@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
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.231
5
+ * The version of the OpenAPI document: 1.0.233
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.231
7
+ * The version of the OpenAPI document: 1.0.233
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.231
5
+ * The version of the OpenAPI document: 1.0.233
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.231
7
+ * The version of the OpenAPI document: 1.0.233
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.231
5
+ * The version of the OpenAPI document: 1.0.233
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.231
7
+ * The version of the OpenAPI document: 1.0.233
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.231
5
+ * The version of the OpenAPI document: 1.0.233
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.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.231
7
+ * The version of the OpenAPI document: 1.0.233
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.231
5
+ * The version of the OpenAPI document: 1.0.233
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.231
8
+ * The version of the OpenAPI document: 1.0.233
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,6 +5,7 @@ All URIs are relative to *http://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**checkInPlayer**](#checkinplayer) | **POST** /api/bookings/{bookingId}/check-in | |
8
+ |[**checkInPlayerWithSumup**](#checkinplayerwithsumup) | **POST** /api/bookings/{bookingId}/check-in/sumup | |
8
9
  |[**createStaffBooking**](#createstaffbooking) | **POST** /api/bookings/staff | |
9
10
  |[**getBookingById**](#getbookingbyid) | **GET** /api/bookings/{bookingId} | |
10
11
  |[**getBookingHistoryStaff**](#getbookinghistorystaff) | **GET** /api/bookings/staff/history{bookingId} | |
@@ -16,7 +17,7 @@ All URIs are relative to *http://localhost*
16
17
  # **checkInPlayer**
17
18
  > CheckInPlayerResponse checkInPlayer(checkInPlayerRequest)
18
19
 
19
- Check-in d\'un joueur (paiement en ligne ou sur place)
20
+ Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
20
21
 
21
22
  ### Example
22
23
 
@@ -68,6 +69,61 @@ const { status, data } = await apiInstance.checkInPlayer(
68
69
 
69
70
  [[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)
70
71
 
72
+ # **checkInPlayerWithSumup**
73
+ > CheckInPlayerSumupResponse checkInPlayerWithSumup(checkInPlayerSumupRequest)
74
+
75
+ Check-in d\'un joueur avec création d\'un checkout SumUp
76
+
77
+ ### Example
78
+
79
+ ```typescript
80
+ import {
81
+ BookingsStaffApi,
82
+ Configuration,
83
+ CheckInPlayerSumupRequest
84
+ } from '@tennac-booking/sdk';
85
+
86
+ const configuration = new Configuration();
87
+ const apiInstance = new BookingsStaffApi(configuration);
88
+
89
+ let bookingId: string; // (default to undefined)
90
+ let checkInPlayerSumupRequest: CheckInPlayerSumupRequest; //
91
+
92
+ const { status, data } = await apiInstance.checkInPlayerWithSumup(
93
+ bookingId,
94
+ checkInPlayerSumupRequest
95
+ );
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ |Name | Type | Description | Notes|
101
+ |------------- | ------------- | ------------- | -------------|
102
+ | **checkInPlayerSumupRequest** | **CheckInPlayerSumupRequest**| | |
103
+ | **bookingId** | [**string**] | | defaults to undefined|
104
+
105
+
106
+ ### Return type
107
+
108
+ **CheckInPlayerSumupResponse**
109
+
110
+ ### Authorization
111
+
112
+ [bearerAuth](../README.md#bearerAuth)
113
+
114
+ ### HTTP request headers
115
+
116
+ - **Content-Type**: application/json
117
+ - **Accept**: application/json
118
+
119
+
120
+ ### HTTP response details
121
+ | Status code | Description | Response headers |
122
+ |-------------|-------------|------------------|
123
+ |**200** | Checkout SumUp déclenché | - |
124
+
125
+ [[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)
126
+
71
127
  # **createStaffBooking**
72
128
  > BookingResponse createStaffBooking(staffCreateBookingRequest)
73
129
 
@@ -0,0 +1,22 @@
1
+ # CheckInPlayerSumupRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **playerId** | **string** | ID du joueur qui a payé/est arrivé | [default to undefined]
9
+ **readerId** | **string** | Reader SumUp ciblé (optionnel) | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { CheckInPlayerSumupRequest } from '@tennac-booking/sdk';
15
+
16
+ const instance: CheckInPlayerSumupRequest = {
17
+ playerId,
18
+ readerId,
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)
@@ -0,0 +1,24 @@
1
+ # CheckInPlayerSumupResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | Message de confirmation | [default to undefined]
9
+ **invoice** | [**CheckedInPlayer**](CheckedInPlayer.md) | | [default to undefined]
10
+ **sumupPayment** | [**CheckInSumupPaymentInfo**](CheckInSumupPaymentInfo.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CheckInPlayerSumupResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: CheckInPlayerSumupResponse = {
18
+ message,
19
+ invoice,
20
+ sumupPayment,
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)
@@ -0,0 +1,26 @@
1
+ # CheckInSumupPaymentInfo
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **paymentId** | **string** | ID du paiement SumUp | [default to undefined]
9
+ **checkoutId** | **string** | ID du checkout SumUp | [optional] [default to undefined]
10
+ **status** | [**PaymentStatus**](PaymentStatus.md) | | [default to undefined]
11
+ **readerId** | **string** | Reader SumUp utilisé | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { CheckInSumupPaymentInfo } from '@tennac-booking/sdk';
17
+
18
+ const instance: CheckInSumupPaymentInfo = {
19
+ paymentId,
20
+ checkoutId,
21
+ status,
22
+ readerId,
23
+ };
24
+ ```
25
+
26
+ [[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/EventsApi.md CHANGED
@@ -17,6 +17,7 @@ All URIs are relative to *http://localhost*
17
17
  |[**joinOpenEventBooking**](#joinopeneventbooking) | **POST** /api/events/{eventBookingId}/open/join | |
18
18
  |[**leaveEvent**](#leaveevent) | **DELETE** /api/events/{eventId}/leave | |
19
19
  |[**leaveOpenEventBooking**](#leaveopeneventbooking) | **DELETE** /api/events/{eventBookingId}/open/leave | |
20
+ |[**respondToEventBookingInvitation**](#respondtoeventbookinginvitation) | **POST** /api/events/{eventBookingId}/respond-invitation | |
20
21
 
21
22
  # **checkTeamNameAvailability**
22
23
  > CheckTeamNameAvailability200Response checkTeamNameAvailability()
@@ -742,3 +743,61 @@ const { status, data } = await apiInstance.leaveOpenEventBooking(
742
743
 
743
744
  [[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)
744
745
 
746
+ # **respondToEventBookingInvitation**
747
+ > RespondToEventBookingInvitation200Response respondToEventBookingInvitation(respondToEventBookingInvitationRequest)
748
+
749
+ Répondre à une invitation d\'EventBooking (accepter ou refuser)
750
+
751
+ ### Example
752
+
753
+ ```typescript
754
+ import {
755
+ EventsApi,
756
+ Configuration,
757
+ RespondToEventBookingInvitationRequest
758
+ } from '@tennac-booking/sdk';
759
+
760
+ const configuration = new Configuration();
761
+ const apiInstance = new EventsApi(configuration);
762
+
763
+ let eventBookingId: string; // (default to undefined)
764
+ let respondToEventBookingInvitationRequest: RespondToEventBookingInvitationRequest; //
765
+
766
+ const { status, data } = await apiInstance.respondToEventBookingInvitation(
767
+ eventBookingId,
768
+ respondToEventBookingInvitationRequest
769
+ );
770
+ ```
771
+
772
+ ### Parameters
773
+
774
+ |Name | Type | Description | Notes|
775
+ |------------- | ------------- | ------------- | -------------|
776
+ | **respondToEventBookingInvitationRequest** | **RespondToEventBookingInvitationRequest**| | |
777
+ | **eventBookingId** | [**string**] | | defaults to undefined|
778
+
779
+
780
+ ### Return type
781
+
782
+ **RespondToEventBookingInvitation200Response**
783
+
784
+ ### Authorization
785
+
786
+ [bearerAuth](../README.md#bearerAuth)
787
+
788
+ ### HTTP request headers
789
+
790
+ - **Content-Type**: application/json
791
+ - **Accept**: application/json
792
+
793
+
794
+ ### HTTP response details
795
+ | Status code | Description | Response headers |
796
+ |-------------|-------------|------------------|
797
+ |**200** | Successfully responded to event booking invitation | - |
798
+ |**400** | Bad Request | - |
799
+ |**404** | Not Found | - |
800
+ |**500** | Server Error | - |
801
+
802
+ [[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)
803
+
@@ -0,0 +1,28 @@
1
+ # PaymentIntentResult
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **paymentId** | **string** | | [default to undefined]
9
+ **externalId** | **string** | | [default to undefined]
10
+ **status** | [**PaymentStatus**](PaymentStatus.md) | | [default to undefined]
11
+ **provider** | [**PaymentProviderType**](PaymentProviderType.md) | | [default to undefined]
12
+ **readerId** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { PaymentIntentResult } from '@tennac-booking/sdk';
18
+
19
+ const instance: PaymentIntentResult = {
20
+ paymentId,
21
+ externalId,
22
+ status,
23
+ provider,
24
+ readerId,
25
+ };
26
+ ```
27
+
28
+ [[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,10 @@
1
+ # PaymentProviderType
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Stripe` (value: `'stripe'`)
7
+
8
+ * `Sumup` (value: `'sumup'`)
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)
@@ -0,0 +1,14 @@
1
+ # PaymentStatus
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Pending` (value: `'pending'`)
7
+
8
+ * `Succeeded` (value: `'succeeded'`)
9
+
10
+ * `Failed` (value: `'failed'`)
11
+
12
+ * `Cancelled` (value: `'cancelled'`)
13
+
14
+ [[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,124 @@
1
+ # PaymentsStaffApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**cancelSumupPayment**](#cancelsumuppayment) | **POST** /api/clubs/{clubId}/payments/sumup/{paymentId}/cancel | |
8
+ |[**createSumupPayment**](#createsumuppayment) | **POST** /api/clubs/{clubId}/payments/sumup | |
9
+
10
+ # **cancelSumupPayment**
11
+ > cancelSumupPayment()
12
+
13
+ Cancel a SumUp reader checkout.
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ PaymentsStaffApi,
20
+ Configuration,
21
+ SumupCancelPaymentRequest
22
+ } from '@tennac-booking/sdk';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new PaymentsStaffApi(configuration);
26
+
27
+ let clubId: string; // (default to undefined)
28
+ let paymentId: string; // (default to undefined)
29
+ let sumupCancelPaymentRequest: SumupCancelPaymentRequest; // (optional)
30
+
31
+ const { status, data } = await apiInstance.cancelSumupPayment(
32
+ clubId,
33
+ paymentId,
34
+ sumupCancelPaymentRequest
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **sumupCancelPaymentRequest** | **SumupCancelPaymentRequest**| | |
43
+ | **clubId** | [**string**] | | defaults to undefined|
44
+ | **paymentId** | [**string**] | | defaults to undefined|
45
+
46
+
47
+ ### Return type
48
+
49
+ void (empty response body)
50
+
51
+ ### Authorization
52
+
53
+ [bearerAuth](../README.md#bearerAuth)
54
+
55
+ ### HTTP request headers
56
+
57
+ - **Content-Type**: application/json
58
+ - **Accept**: Not defined
59
+
60
+
61
+ ### HTTP response details
62
+ | Status code | Description | Response headers |
63
+ |-------------|-------------|------------------|
64
+ |**204** | Paiement annulé | - |
65
+ |**400** | Bad Request | - |
66
+
67
+ [[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)
68
+
69
+ # **createSumupPayment**
70
+ > PaymentIntentResult createSumupPayment(sumupCreatePaymentRequest)
71
+
72
+ Start a SumUp reader checkout (manual payment trigger).
73
+
74
+ ### Example
75
+
76
+ ```typescript
77
+ import {
78
+ PaymentsStaffApi,
79
+ Configuration,
80
+ SumupCreatePaymentRequest
81
+ } from '@tennac-booking/sdk';
82
+
83
+ const configuration = new Configuration();
84
+ const apiInstance = new PaymentsStaffApi(configuration);
85
+
86
+ let clubId: string; // (default to undefined)
87
+ let sumupCreatePaymentRequest: SumupCreatePaymentRequest; //
88
+
89
+ const { status, data } = await apiInstance.createSumupPayment(
90
+ clubId,
91
+ sumupCreatePaymentRequest
92
+ );
93
+ ```
94
+
95
+ ### Parameters
96
+
97
+ |Name | Type | Description | Notes|
98
+ |------------- | ------------- | ------------- | -------------|
99
+ | **sumupCreatePaymentRequest** | **SumupCreatePaymentRequest**| | |
100
+ | **clubId** | [**string**] | | defaults to undefined|
101
+
102
+
103
+ ### Return type
104
+
105
+ **PaymentIntentResult**
106
+
107
+ ### Authorization
108
+
109
+ [bearerAuth](../README.md#bearerAuth)
110
+
111
+ ### HTTP request headers
112
+
113
+ - **Content-Type**: application/json
114
+ - **Accept**: application/json
115
+
116
+
117
+ ### HTTP response details
118
+ | Status code | Description | Response headers |
119
+ |-------------|-------------|------------------|
120
+ |**201** | Paiement SumUp créé | - |
121
+ |**400** | Bad Request | - |
122
+
123
+ [[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)
124
+
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **refundedBookingIds** | **Array<string>** | | [optional] [default to undefined]
10
10
  **userBooking** | [**EventBookingResponse**](EventBookingResponse.md) | | [optional] [default to undefined]
11
11
  **needsToSetupPaymentMethod** | **boolean** | | [optional] [default to undefined]
12
+ **myPaymentLink** | **string** | | [optional] [default to undefined]
12
13
 
13
14
  ## Example
14
15
 
@@ -20,6 +21,7 @@ const instance: PublishEventResponse = {
20
21
  refundedBookingIds,
21
22
  userBooking,
22
23
  needsToSetupPaymentMethod,
24
+ myPaymentLink,
23
25
  };
24
26
  ```
25
27
 
@@ -0,0 +1,24 @@
1
+ # RespondToEventBookingInvitation200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **allPlayersAccepted** | **boolean** | | [default to undefined]
9
+ **eventBookingStatus** | **string** | | [default to undefined]
10
+ **message** | **string** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { RespondToEventBookingInvitation200Response } from '@tennac-booking/sdk';
16
+
17
+ const instance: RespondToEventBookingInvitation200Response = {
18
+ allPlayersAccepted,
19
+ eventBookingStatus,
20
+ message,
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)
@@ -0,0 +1,20 @@
1
+ # RespondToEventBookingInvitationRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **accept** | **boolean** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { RespondToEventBookingInvitationRequest } from '@tennac-booking/sdk';
14
+
15
+ const instance: RespondToEventBookingInvitationRequest = {
16
+ accept,
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,63 @@
1
+ # SumUpApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**sumupOauthCallback**](#sumupoauthcallback) | **GET** /api/sumup/oauth/callback | |
8
+
9
+ # **sumupOauthCallback**
10
+ > SumupOAuthCallbackResponse sumupOauthCallback()
11
+
12
+ OAuth callback for SumUp.
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ SumUpApi,
19
+ Configuration
20
+ } from '@tennac-booking/sdk';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new SumUpApi(configuration);
24
+
25
+ let code: string; // (default to undefined)
26
+ let state: string; // (default to undefined)
27
+
28
+ const { status, data } = await apiInstance.sumupOauthCallback(
29
+ code,
30
+ state
31
+ );
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ |Name | Type | Description | Notes|
37
+ |------------- | ------------- | ------------- | -------------|
38
+ | **code** | [**string**] | | defaults to undefined|
39
+ | **state** | [**string**] | | defaults to undefined|
40
+
41
+
42
+ ### Return type
43
+
44
+ **SumupOAuthCallbackResponse**
45
+
46
+ ### Authorization
47
+
48
+ No authorization required
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: Not defined
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | Connexion SumUp enregistrée | - |
60
+ |**400** | Bad Request | - |
61
+
62
+ [[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)
63
+