@tennac-booking/sdk 1.0.226 → 1.0.228

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 (138) hide show
  1. package/.openapi-generator/FILES +30 -51
  2. package/README.md +48 -76
  3. package/api.ts +3556 -4764
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +2615 -3712
  8. package/dist/api.js +9856 -15757
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +11 -32
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +41 -133
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +8 -21
  15. package/dist/esm/api.d.ts +25620 -0
  16. package/dist/esm/api.js +17756 -0
  17. package/dist/esm/base.d.ts +66 -0
  18. package/dist/esm/base.js +60 -0
  19. package/dist/esm/common.d.ts +65 -0
  20. package/dist/esm/common.js +149 -0
  21. package/dist/esm/configuration.d.ts +91 -0
  22. package/dist/esm/configuration.js +40 -0
  23. package/dist/esm/index.d.ts +13 -0
  24. package/dist/esm/index.js +15 -0
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/AgendaBooking.md +0 -2
  28. package/docs/BookingPopulated.md +1 -9
  29. package/docs/BookingSummary.md +4 -4
  30. package/docs/BookingsApi.md +80 -29
  31. package/docs/BookingsStaffApi.md +57 -1
  32. package/docs/BookingsUserApi.md +6 -58
  33. package/docs/CheckInPlayerSumupRequest.md +22 -0
  34. package/docs/{CloseOpenBookingResponse.md → CheckInPlayerSumupResponse.md} +7 -5
  35. package/docs/CheckInSumupPaymentInfo.md +26 -0
  36. package/docs/ClubPageResponse.md +0 -16
  37. package/docs/ClubPricingPeriodResponse.md +6 -6
  38. package/docs/ClubReservationSettingsResponse.md +2 -2
  39. package/docs/ClubResponse.md +2 -12
  40. package/docs/ClubSummary.md +0 -6
  41. package/docs/CreateBookingRequest.md +2 -0
  42. package/docs/CreateOpenBookingRequest.md +4 -6
  43. package/docs/CreateSubscriptionPlanRequestDiscount.md +0 -4
  44. package/docs/EventBookingDetailSummary.md +0 -2
  45. package/docs/EventBookingResponse.md +0 -2
  46. package/docs/EventResponse.md +0 -2
  47. package/docs/EventsApi.md +0 -113
  48. package/docs/EventsStaffApi.md +25 -119
  49. package/docs/GetClubsWithVerificationDomains200ResponseInner.md +0 -2
  50. package/docs/GetOpenBookingPrice200Response.md +24 -0
  51. package/docs/GetOpenBookingPriceRequest.md +26 -0
  52. package/docs/IUserAttributes.md +0 -4
  53. package/docs/JoinPriceEstimateResponse.md +38 -0
  54. package/docs/JoinPriceEstimateResponseSubscriptionInfo.md +25 -0
  55. package/docs/MyClubInfosResponse.md +2 -0
  56. package/docs/OpenBookingInfo.md +5 -7
  57. package/docs/OpenBookingSlotInfo.md +24 -0
  58. package/docs/PaymentIntentResult.md +28 -0
  59. package/docs/{SupportedLanguage.md → PaymentProviderType.md} +3 -3
  60. package/docs/{NotificationActorType.md → PaymentStatus.md} +6 -4
  61. package/docs/PaymentsStaffApi.md +124 -0
  62. package/docs/PlayerPrice.md +1 -3
  63. package/docs/PublicEmailApi.md +4 -4
  64. package/docs/QuickReservationClubSummary.md +0 -12
  65. package/docs/SportResponse.md +0 -2
  66. package/docs/StaffEventBookingResponse.md +0 -2
  67. package/docs/StaffEventsPaginatedResponse.md +26 -0
  68. package/docs/StaffUserProfileResponse.md +0 -4
  69. package/docs/SubscriptionPlanDiscountResponse.md +0 -2
  70. package/docs/SubscriptionPlanDiscountUpdateRequest.md +0 -2
  71. package/docs/SumUpApi.md +63 -0
  72. package/docs/SumUpManagerApi.md +617 -0
  73. package/docs/SumupAccountStatusResponse.md +32 -0
  74. package/docs/{VerifyVerificationCodeResponse.md → SumupCancelPaymentRequest.md} +5 -5
  75. package/docs/{RequestVerificationCodeResponse.md → SumupConnectUrlResponse.md} +5 -5
  76. package/docs/SumupCreatePaymentRequest.md +32 -0
  77. package/docs/SumupOAuthCallbackResponse.md +24 -0
  78. package/docs/SumupPairReaderRequest.md +24 -0
  79. package/docs/{Health200Response.md → SumupPairReaderResponse.md} +5 -7
  80. package/docs/SumupReaderInfo.md +42 -0
  81. package/docs/{NotificationTargetPreview.md → SumupReaderInfoDevice.md} +7 -7
  82. package/docs/{MarkNotificationsReadResponse.md → SumupReaderResponse.md} +5 -5
  83. package/docs/SumupReaderStatusInfo.md +32 -0
  84. package/docs/SumupReaderStatusResponse.md +20 -0
  85. package/docs/SumupReadersResponse.md +20 -0
  86. package/docs/{NotificationResponseClub.md → SumupUpdateReaderRequest.md} +5 -7
  87. package/docs/UpdateClubHoursSettingsRequest.md +1 -1
  88. package/docs/UpdateClubReservationSettingsRequest.md +2 -2
  89. package/docs/UserClubMembership.md +0 -2
  90. package/docs/UserProfileResponse.md +0 -12
  91. package/docs/UsersApi.md +0 -273
  92. package/docs/WaitListStaffApi.md +0 -55
  93. package/index.ts +1 -1
  94. package/package.json +4 -2
  95. package/tsconfig.esm.json +7 -0
  96. package/tsconfig.json +2 -5
  97. package/docs/AuthApi.md +0 -113
  98. package/docs/ClubPageResponseClubCustomerStatus.md +0 -27
  99. package/docs/ClubPageResponseSportsIdsLookup.md +0 -23
  100. package/docs/ClubPricingPeriodPayload.md +0 -32
  101. package/docs/ComingEventsPageResponse.md +0 -22
  102. package/docs/CourtEnvironment.md +0 -10
  103. package/docs/EstimateOpenBookingJoinRequest.md +0 -24
  104. package/docs/GetOpenEventBookingsBySport200Response.md +0 -20
  105. package/docs/GetOpenEventBookingsBySport200ResponseEventBookingsInner.md +0 -46
  106. package/docs/JobResult.md +0 -24
  107. package/docs/JobsApi.md +0 -367
  108. package/docs/JoinOpenBookingRequest.md +0 -28
  109. package/docs/MarkNotificationsReadRequest.md +0 -22
  110. package/docs/NotificationData.md +0 -22
  111. package/docs/NotificationInitiator.md +0 -28
  112. package/docs/NotificationParticipantPreview.md +0 -24
  113. package/docs/NotificationPreview.md +0 -78
  114. package/docs/NotificationResponse.md +0 -46
  115. package/docs/NotificationSlotPreview.md +0 -24
  116. package/docs/NotificationSportPreview.md +0 -24
  117. package/docs/NotificationType.md +0 -26
  118. package/docs/OpenBookingBasePriceResponse.md +0 -24
  119. package/docs/OpenBookingJoinEstimateResponse.md +0 -26
  120. package/docs/OpenBookingPriceBody.md +0 -26
  121. package/docs/PartnerSearchItem.md +0 -28
  122. package/docs/PartnerSearchResponse.md +0 -22
  123. package/docs/PartnerSearchResponseMeta.md +0 -26
  124. package/docs/PricingPeriodDiscount.md +0 -24
  125. package/docs/QuickReservationCourtType.md +0 -10
  126. package/docs/RequestOrganizationEmailCodeBody.md +0 -22
  127. package/docs/RequestOrganizationEmailCodeResponse.md +0 -22
  128. package/docs/RequestVerificationCodeBody.md +0 -26
  129. package/docs/StaffEventsPageResponse.md +0 -22
  130. package/docs/UserNextBookingSummary.md +0 -26
  131. package/docs/UserNotificationsResponse.md +0 -22
  132. package/docs/UserNotificationsResponseMeta.md +0 -28
  133. package/docs/VerifyOrganizationEmailCodeBody.md +0 -24
  134. package/docs/VerifyOrganizationEmailCodeResponse.md +0 -22
  135. package/docs/VerifyVerificationCodeBody.md +0 -24
  136. package/docs/WaitListEntryWithPlayer.md +0 -44
  137. package/docs/WaitListPlayer.md +0 -28
  138. package/docs/WaitListPlayersListResponse.md +0 -22
@@ -0,0 +1,24 @@
1
+ # OpenBookingSlotInfo
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | ID du slot | [default to undefined]
9
+ **startDate** | **string** | Date de début ISO | [default to undefined]
10
+ **endDate** | **string** | Date de fin ISO | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { OpenBookingSlotInfo } from '@tennac-booking/sdk';
16
+
17
+ const instance: OpenBookingSlotInfo = {
18
+ id,
19
+ startDate,
20
+ endDate,
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,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)
@@ -1,10 +1,10 @@
1
- # SupportedLanguage
1
+ # PaymentProviderType
2
2
 
3
3
 
4
4
  ## Enum
5
5
 
6
- * `Fr` (value: `'fr'`)
6
+ * `Stripe` (value: `'stripe'`)
7
7
 
8
- * `En` (value: `'en'`)
8
+ * `Sumup` (value: `'sumup'`)
9
9
 
10
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)
@@ -1,12 +1,14 @@
1
- # NotificationActorType
1
+ # PaymentStatus
2
2
 
3
3
 
4
4
  ## Enum
5
5
 
6
- * `User` (value: `'user'`)
6
+ * `Pending` (value: `'pending'`)
7
7
 
8
- * `Club` (value: `'club'`)
8
+ * `Succeeded` (value: `'succeeded'`)
9
9
 
10
- * `System` (value: `'system'`)
10
+ * `Failed` (value: `'failed'`)
11
+
12
+ * `Cancelled` (value: `'cancelled'`)
11
13
 
12
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
+
@@ -8,11 +8,10 @@ Name | Type | Description | Notes
8
8
  **playerId** | **string** | | [default to undefined]
9
9
  **firstName** | **string** | | [optional] [default to undefined]
10
10
  **lastName** | **string** | | [optional] [default to undefined]
11
- **subscriptions** | [**Array<SubscriptionInfo>**](SubscriptionInfo.md) | | [optional] [default to undefined]
11
+ **subscriptions** | [**Array<SubscriptionInfo>**](SubscriptionInfo.md) | | [default to undefined]
12
12
  **creditAvailablesInCents** | **number** | | [optional] [default to undefined]
13
13
  **creditUsedInCents** | **number** | | [optional] [default to undefined]
14
14
  **price** | **number** | | [default to undefined]
15
- **paysAlsoFor** | **Array<string>** | | [optional] [default to undefined]
16
15
 
17
16
  ## Example
18
17
 
@@ -27,7 +26,6 @@ const instance: PlayerPrice = {
27
26
  creditAvailablesInCents,
28
27
  creditUsedInCents,
29
28
  price,
30
- paysAlsoFor,
31
29
  };
32
30
  ```
33
31
 
@@ -5,7 +5,7 @@ All URIs are relative to *http://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**authEmailExists**](#authemailexists) | **POST** /api/public-email/auth-email-exists | |
8
- |[**requestPublicEmailVerificationCode**](#requestpublicemailverificationcode) | **POST** /api/public-email/request-verification-code | |
8
+ |[**requestVerificationCode**](#requestverificationcode) | **POST** /api/public-email/request-verification-code | |
9
9
  |[**verifyCode**](#verifycode) | **POST** /api/public-email/verify-code | |
10
10
 
11
11
  # **authEmailExists**
@@ -60,8 +60,8 @@ No authorization required
60
60
 
61
61
  [[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)
62
62
 
63
- # **requestPublicEmailVerificationCode**
64
- > RequestEmailCodeResponse requestPublicEmailVerificationCode(requestEmailCodeBody)
63
+ # **requestVerificationCode**
64
+ > RequestEmailCodeResponse requestVerificationCode(requestEmailCodeBody)
65
65
 
66
66
 
67
67
  ### Example
@@ -78,7 +78,7 @@ const apiInstance = new PublicEmailApi(configuration);
78
78
 
79
79
  let requestEmailCodeBody: RequestEmailCodeBody; //
80
80
 
81
- const { status, data } = await apiInstance.requestPublicEmailVerificationCode(
81
+ const { status, data } = await apiInstance.requestVerificationCode(
82
82
  requestEmailCodeBody
83
83
  );
84
84
  ```
@@ -8,12 +8,6 @@ Name | Type | Description | Notes
8
8
  **clubId** | **string** | ID du club | [default to undefined]
9
9
  **clubName** | **string** | Nom du club | [default to undefined]
10
10
  **description** | **string** | Description du club | [optional] [default to undefined]
11
- **bannerPictures** | **Array<string>** | Images de bannière du club | [optional] [default to undefined]
12
- **surfaces** | **Array<string>** | Surfaces des terrains des créneaux retournés | [optional] [default to undefined]
13
- **courtTypes** | [**Array<QuickReservationCourtType>**](QuickReservationCourtType.md) | Types de terrains (indoor/outdoor) présents dans les créneaux retournés | [optional] [default to undefined]
14
- **hasIndoor** | **boolean** | Indique si au moins un créneau est en intérieur | [optional] [default to undefined]
15
- **hasOutdoor** | **boolean** | Indique si au moins un créneau est en extérieur | [optional] [default to undefined]
16
- **durationsMinutes** | **Array<number>** | Durées de créneaux présentes (en minutes) | [optional] [default to undefined]
17
11
  **distanceInMeters** | **number** | Distance par rapport à la recherche, en mètres | [default to undefined]
18
12
  **location** | [**QuickReservationClubSummaryLocation**](QuickReservationClubSummaryLocation.md) | | [optional] [default to undefined]
19
13
  **slots** | [**Array<QuickReservationSlotSummary>**](QuickReservationSlotSummary.md) | Créneaux disponibles correspondant aux filtres | [default to undefined]
@@ -28,12 +22,6 @@ const instance: QuickReservationClubSummary = {
28
22
  clubId,
29
23
  clubName,
30
24
  description,
31
- bannerPictures,
32
- surfaces,
33
- courtTypes,
34
- hasIndoor,
35
- hasOutdoor,
36
- durationsMinutes,
37
25
  distanceInMeters,
38
26
  location,
39
27
  slots,
@@ -12,7 +12,6 @@ Name | Type | Description | Notes
12
12
  **levels** | [**Array<SportLevel>**](SportLevel.md) | Niveaux associés au sport | [optional] [default to undefined]
13
13
  **logos** | **Array<string>** | URLs de logos/images pour le sport | [optional] [default to undefined]
14
14
  **maxPlayers** | **number** | | [optional] [default to undefined]
15
- **slotDurations** | **Array<number>** | Durées de créneaux disponibles sur les terrains de ce sport (en minutes) | [optional] [default to undefined]
16
15
  **surface** | **Array<string>** | Types de surface pour le sport | [optional] [default to undefined]
17
16
  **createdBy** | **string** | ID du club créateur | [optional] [default to undefined]
18
17
  **verified** | **boolean** | Sport vérifié/officiel (non modifiable) | [default to undefined]
@@ -32,7 +31,6 @@ const instance: SportResponse = {
32
31
  levels,
33
32
  logos,
34
33
  maxPlayers,
35
- slotDurations,
36
34
  surface,
37
35
  createdBy,
38
36
  verified,
@@ -14,7 +14,6 @@ Name | Type | Description | Notes
14
14
  **invoices** | [**Array<StaffEventBookingInvoiceResponse>**](StaffEventBookingInvoiceResponse.md) | | [default to undefined]
15
15
  **limitSetupDate** | **string** | | [optional] [default to undefined]
16
16
  **limitCancellationDate** | **string** | | [optional] [default to undefined]
17
- **amount** | **number** | | [optional] [default to undefined]
18
17
  **createdAt** | **string** | | [default to undefined]
19
18
  **updatedAt** | **string** | | [default to undefined]
20
19
 
@@ -33,7 +32,6 @@ const instance: StaffEventBookingResponse = {
33
32
  invoices,
34
33
  limitSetupDate,
35
34
  limitCancellationDate,
36
- amount,
37
35
  createdAt,
38
36
  updatedAt,
39
37
  };
@@ -0,0 +1,26 @@
1
+ # StaffEventsPaginatedResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **upcoming** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
9
+ **past** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
10
+ **upcomingPagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
11
+ **pastPagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { StaffEventsPaginatedResponse } from '@tennac-booking/sdk';
17
+
18
+ const instance: StaffEventsPaginatedResponse = {
19
+ upcoming,
20
+ past,
21
+ upcomingPagination,
22
+ pastPagination,
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)
@@ -9,8 +9,6 @@ Name | Type | Description | Notes
9
9
  **googleId** | **string** | | [optional] [default to undefined]
10
10
  **firstName** | **string** | | [default to undefined]
11
11
  **lastName** | **string** | | [default to undefined]
12
- **firstNameNormalized** | **string** | | [optional] [default to undefined]
13
- **lastNameNormalized** | **string** | | [optional] [default to undefined]
14
12
  **email** | **string** | | [default to undefined]
15
13
  **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
16
14
  **location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
@@ -53,8 +51,6 @@ const instance: StaffUserProfileResponse = {
53
51
  googleId,
54
52
  firstName,
55
53
  lastName,
56
- firstNameNormalized,
57
- lastNameNormalized,
58
54
  email,
59
55
  gender,
60
56
  location,
@@ -12,7 +12,6 @@ Name | Type | Description | Notes
12
12
  **validTo** | **string** | | [optional] [default to undefined]
13
13
  **offPeakRuleNames** | **Array<string>** | | [optional] [default to undefined]
14
14
  **offPeakRules** | [**Array<OffPeakRule>**](OffPeakRule.md) | | [optional] [default to undefined]
15
- **pricingPeriodDiscounts** | [**Array<PricingPeriodDiscount>**](PricingPeriodDiscount.md) | | [optional] [default to undefined]
16
15
  **bookingFree** | **boolean** | | [optional] [default to undefined]
17
16
 
18
17
  ## Example
@@ -28,7 +27,6 @@ const instance: SubscriptionPlanDiscountResponse = {
28
27
  validTo,
29
28
  offPeakRuleNames,
30
29
  offPeakRules,
31
- pricingPeriodDiscounts,
32
30
  bookingFree,
33
31
  };
34
32
  ```
@@ -13,7 +13,6 @@ Name | Type | Description | Notes
13
13
  **offPeakRuleNames** | **Array<string>** | | [optional] [default to undefined]
14
14
  **offPeakRules** | [**Array<OffPeakRule>**](OffPeakRule.md) | | [optional] [default to undefined]
15
15
  **pricingPeriodIds** | **Array<string>** | | [optional] [default to undefined]
16
- **pricingPeriodDiscounts** | [**Array<PricingPeriodDiscount>**](PricingPeriodDiscount.md) | | [optional] [default to undefined]
17
16
  **bookingFree** | **boolean** | | [optional] [default to undefined]
18
17
 
19
18
  ## Example
@@ -30,7 +29,6 @@ const instance: SubscriptionPlanDiscountUpdateRequest = {
30
29
  offPeakRuleNames,
31
30
  offPeakRules,
32
31
  pricingPeriodIds,
33
- pricingPeriodDiscounts,
34
32
  bookingFree,
35
33
  };
36
34
  ```
@@ -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
+