@tennac-booking/sdk 1.0.230 → 1.0.232
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 +481 -455
- package/README.md +40 -2
- package/api.ts +2262 -33
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +7696 -6240
- package/dist/api.js +4531 -2528
- package/dist/base.d.ts +1 -1
- package/dist/base.js +3 -6
- package/dist/common.d.ts +1 -1
- package/dist/common.js +39 -23
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +3 -63
- package/dist/esm/api.d.ts +7696 -6240
- package/dist/esm/api.js +4513 -2522
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +3 -6
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +39 -23
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +3 -63
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AcceptBookingInvitationRequest.md +20 -0
- package/docs/AcceptBookingInvitationResponse.md +24 -0
- package/docs/BookingClubInfo.md +2 -0
- package/docs/BookingSummary.md +2 -0
- package/docs/BookingsStaffApi.md +57 -1
- package/docs/BookingsUserApi.md +56 -0
- package/docs/CheckInPlayerSumupRequest.md +22 -0
- package/docs/CheckInPlayerSumupResponse.md +24 -0
- package/docs/CheckInSumupPaymentInfo.md +26 -0
- package/docs/JobsApi.md +7 -7
- package/docs/PaymentByPlayerInfo.md +2 -0
- package/docs/PaymentIntentResult.md +28 -0
- package/docs/PaymentProviderType.md +10 -0
- package/docs/PaymentStatus.md +14 -0
- package/docs/PaymentsStaffApi.md +124 -0
- package/docs/SumUpApi.md +63 -0
- package/docs/SumUpManagerApi.md +617 -0
- package/docs/SumupAccountStatusResponse.md +32 -0
- package/docs/SumupCancelPaymentRequest.md +20 -0
- package/docs/SumupConnectUrlResponse.md +20 -0
- package/docs/SumupCreatePaymentRequest.md +32 -0
- package/docs/SumupOAuthCallbackResponse.md +24 -0
- package/docs/SumupPairReaderRequest.md +24 -0
- package/docs/SumupPairReaderResponse.md +20 -0
- package/docs/SumupReaderInfo.md +42 -0
- package/docs/SumupReaderInfoDevice.md +22 -0
- package/docs/SumupReaderResponse.md +20 -0
- package/docs/SumupReaderStatusInfo.md +32 -0
- package/docs/SumupReaderStatusResponse.md +20 -0
- package/docs/SumupReadersResponse.md +20 -0
- package/docs/SumupUpdateReaderRequest.md +22 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/tsconfig.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.231
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,6 +23,44 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @interface AcceptBookingInvitationRequest
|
|
30
|
+
*/
|
|
31
|
+
export interface AcceptBookingInvitationRequest {
|
|
32
|
+
/**
|
|
33
|
+
* Si le joueur accepte (true) ou refuse (false)
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof AcceptBookingInvitationRequest
|
|
36
|
+
*/
|
|
37
|
+
'accept': boolean;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @export
|
|
42
|
+
* @interface AcceptBookingInvitationResponse
|
|
43
|
+
*/
|
|
44
|
+
export interface AcceptBookingInvitationResponse {
|
|
45
|
+
/**
|
|
46
|
+
* Message de confirmation
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof AcceptBookingInvitationResponse
|
|
49
|
+
*/
|
|
50
|
+
'message': string;
|
|
51
|
+
/**
|
|
52
|
+
* Statut du booking après acceptation/refus
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof AcceptBookingInvitationResponse
|
|
55
|
+
*/
|
|
56
|
+
'bookingStatus': string;
|
|
57
|
+
/**
|
|
58
|
+
* Si tous les joueurs ont accepté
|
|
59
|
+
* @type {boolean}
|
|
60
|
+
* @memberof AcceptBookingInvitationResponse
|
|
61
|
+
*/
|
|
62
|
+
'allPlayersAccepted'?: boolean;
|
|
63
|
+
}
|
|
26
64
|
/**
|
|
27
65
|
*
|
|
28
66
|
* @export
|
|
@@ -333,6 +371,12 @@ export interface BookingClubInfo {
|
|
|
333
371
|
* @memberof BookingClubInfo
|
|
334
372
|
*/
|
|
335
373
|
'picture'?: string | null;
|
|
374
|
+
/**
|
|
375
|
+
*
|
|
376
|
+
* @type {string}
|
|
377
|
+
* @memberof BookingClubInfo
|
|
378
|
+
*/
|
|
379
|
+
'bannerPicture'?: string | null;
|
|
336
380
|
/**
|
|
337
381
|
*
|
|
338
382
|
* @type {string}
|
|
@@ -1261,6 +1305,12 @@ export interface BookingSummary {
|
|
|
1261
1305
|
* @memberof BookingSummary
|
|
1262
1306
|
*/
|
|
1263
1307
|
'clubPicture'?: string;
|
|
1308
|
+
/**
|
|
1309
|
+
*
|
|
1310
|
+
* @type {string}
|
|
1311
|
+
* @memberof BookingSummary
|
|
1312
|
+
*/
|
|
1313
|
+
'clubBanner'?: string | null;
|
|
1264
1314
|
/**
|
|
1265
1315
|
*
|
|
1266
1316
|
* @type {string}
|
|
@@ -1711,6 +1761,83 @@ export interface CheckInPlayerResponse {
|
|
|
1711
1761
|
*/
|
|
1712
1762
|
'invoice': CheckedInPlayer;
|
|
1713
1763
|
}
|
|
1764
|
+
/**
|
|
1765
|
+
*
|
|
1766
|
+
* @export
|
|
1767
|
+
* @interface CheckInPlayerSumupRequest
|
|
1768
|
+
*/
|
|
1769
|
+
export interface CheckInPlayerSumupRequest {
|
|
1770
|
+
/**
|
|
1771
|
+
* ID du joueur qui a payé/est arrivé
|
|
1772
|
+
* @type {string}
|
|
1773
|
+
* @memberof CheckInPlayerSumupRequest
|
|
1774
|
+
*/
|
|
1775
|
+
'playerId': string;
|
|
1776
|
+
/**
|
|
1777
|
+
* Reader SumUp ciblé (optionnel)
|
|
1778
|
+
* @type {string}
|
|
1779
|
+
* @memberof CheckInPlayerSumupRequest
|
|
1780
|
+
*/
|
|
1781
|
+
'readerId'?: string;
|
|
1782
|
+
}
|
|
1783
|
+
/**
|
|
1784
|
+
*
|
|
1785
|
+
* @export
|
|
1786
|
+
* @interface CheckInPlayerSumupResponse
|
|
1787
|
+
*/
|
|
1788
|
+
export interface CheckInPlayerSumupResponse {
|
|
1789
|
+
/**
|
|
1790
|
+
* Message de confirmation
|
|
1791
|
+
* @type {string}
|
|
1792
|
+
* @memberof CheckInPlayerSumupResponse
|
|
1793
|
+
*/
|
|
1794
|
+
'message': string;
|
|
1795
|
+
/**
|
|
1796
|
+
*
|
|
1797
|
+
* @type {CheckedInPlayer}
|
|
1798
|
+
* @memberof CheckInPlayerSumupResponse
|
|
1799
|
+
*/
|
|
1800
|
+
'invoice': CheckedInPlayer;
|
|
1801
|
+
/**
|
|
1802
|
+
*
|
|
1803
|
+
* @type {CheckInSumupPaymentInfo}
|
|
1804
|
+
* @memberof CheckInPlayerSumupResponse
|
|
1805
|
+
*/
|
|
1806
|
+
'sumupPayment'?: CheckInSumupPaymentInfo;
|
|
1807
|
+
}
|
|
1808
|
+
/**
|
|
1809
|
+
*
|
|
1810
|
+
* @export
|
|
1811
|
+
* @interface CheckInSumupPaymentInfo
|
|
1812
|
+
*/
|
|
1813
|
+
export interface CheckInSumupPaymentInfo {
|
|
1814
|
+
/**
|
|
1815
|
+
* ID du paiement SumUp
|
|
1816
|
+
* @type {string}
|
|
1817
|
+
* @memberof CheckInSumupPaymentInfo
|
|
1818
|
+
*/
|
|
1819
|
+
'paymentId': string;
|
|
1820
|
+
/**
|
|
1821
|
+
* ID du checkout SumUp
|
|
1822
|
+
* @type {string}
|
|
1823
|
+
* @memberof CheckInSumupPaymentInfo
|
|
1824
|
+
*/
|
|
1825
|
+
'checkoutId'?: string;
|
|
1826
|
+
/**
|
|
1827
|
+
*
|
|
1828
|
+
* @type {PaymentStatus}
|
|
1829
|
+
* @memberof CheckInSumupPaymentInfo
|
|
1830
|
+
*/
|
|
1831
|
+
'status': PaymentStatus;
|
|
1832
|
+
/**
|
|
1833
|
+
* Reader SumUp utilisé
|
|
1834
|
+
* @type {string}
|
|
1835
|
+
* @memberof CheckInSumupPaymentInfo
|
|
1836
|
+
*/
|
|
1837
|
+
'readerId'?: string;
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
|
|
1714
1841
|
/**
|
|
1715
1842
|
*
|
|
1716
1843
|
* @export
|
|
@@ -9858,7 +9985,52 @@ export interface PaymentByPlayerInfo {
|
|
|
9858
9985
|
* @memberof PaymentByPlayerInfo
|
|
9859
9986
|
*/
|
|
9860
9987
|
'invoices': Array<InvoiceInfo>;
|
|
9988
|
+
/**
|
|
9989
|
+
* Si le joueur a accepté l\'invitation
|
|
9990
|
+
* @type {boolean}
|
|
9991
|
+
* @memberof PaymentByPlayerInfo
|
|
9992
|
+
*/
|
|
9993
|
+
'accepted': boolean;
|
|
9861
9994
|
}
|
|
9995
|
+
/**
|
|
9996
|
+
*
|
|
9997
|
+
* @export
|
|
9998
|
+
* @interface PaymentIntentResult
|
|
9999
|
+
*/
|
|
10000
|
+
export interface PaymentIntentResult {
|
|
10001
|
+
/**
|
|
10002
|
+
*
|
|
10003
|
+
* @type {string}
|
|
10004
|
+
* @memberof PaymentIntentResult
|
|
10005
|
+
*/
|
|
10006
|
+
'paymentId': string;
|
|
10007
|
+
/**
|
|
10008
|
+
*
|
|
10009
|
+
* @type {string}
|
|
10010
|
+
* @memberof PaymentIntentResult
|
|
10011
|
+
*/
|
|
10012
|
+
'externalId': string;
|
|
10013
|
+
/**
|
|
10014
|
+
*
|
|
10015
|
+
* @type {PaymentStatus}
|
|
10016
|
+
* @memberof PaymentIntentResult
|
|
10017
|
+
*/
|
|
10018
|
+
'status': PaymentStatus;
|
|
10019
|
+
/**
|
|
10020
|
+
*
|
|
10021
|
+
* @type {PaymentProviderType}
|
|
10022
|
+
* @memberof PaymentIntentResult
|
|
10023
|
+
*/
|
|
10024
|
+
'provider': PaymentProviderType;
|
|
10025
|
+
/**
|
|
10026
|
+
*
|
|
10027
|
+
* @type {string}
|
|
10028
|
+
* @memberof PaymentIntentResult
|
|
10029
|
+
*/
|
|
10030
|
+
'readerId'?: string;
|
|
10031
|
+
}
|
|
10032
|
+
|
|
10033
|
+
|
|
9862
10034
|
/**
|
|
9863
10035
|
*
|
|
9864
10036
|
* @export
|
|
@@ -9876,6 +10048,20 @@ export const PaymentMethod = {
|
|
|
9876
10048
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
9877
10049
|
|
|
9878
10050
|
|
|
10051
|
+
/**
|
|
10052
|
+
*
|
|
10053
|
+
* @export
|
|
10054
|
+
* @enum {string}
|
|
10055
|
+
*/
|
|
10056
|
+
|
|
10057
|
+
export const PaymentProviderType = {
|
|
10058
|
+
Stripe: 'stripe',
|
|
10059
|
+
Sumup: 'sumup'
|
|
10060
|
+
} as const;
|
|
10061
|
+
|
|
10062
|
+
export type PaymentProviderType = typeof PaymentProviderType[keyof typeof PaymentProviderType];
|
|
10063
|
+
|
|
10064
|
+
|
|
9879
10065
|
/**
|
|
9880
10066
|
*
|
|
9881
10067
|
* @export
|
|
@@ -9895,6 +10081,22 @@ export interface PaymentRequirementsSettings {
|
|
|
9895
10081
|
*/
|
|
9896
10082
|
'requireOnlinePayment': boolean;
|
|
9897
10083
|
}
|
|
10084
|
+
/**
|
|
10085
|
+
*
|
|
10086
|
+
* @export
|
|
10087
|
+
* @enum {string}
|
|
10088
|
+
*/
|
|
10089
|
+
|
|
10090
|
+
export const PaymentStatus = {
|
|
10091
|
+
Pending: 'pending',
|
|
10092
|
+
Succeeded: 'succeeded',
|
|
10093
|
+
Failed: 'failed',
|
|
10094
|
+
Cancelled: 'cancelled'
|
|
10095
|
+
} as const;
|
|
10096
|
+
|
|
10097
|
+
export type PaymentStatus = typeof PaymentStatus[keyof typeof PaymentStatus];
|
|
10098
|
+
|
|
10099
|
+
|
|
9898
10100
|
/**
|
|
9899
10101
|
* From T, pick a set of properties whose keys are in the union K
|
|
9900
10102
|
* @export
|
|
@@ -12956,6 +13158,406 @@ export interface SubscriptionPlanResponse {
|
|
|
12956
13158
|
}
|
|
12957
13159
|
|
|
12958
13160
|
|
|
13161
|
+
/**
|
|
13162
|
+
*
|
|
13163
|
+
* @export
|
|
13164
|
+
* @interface SumupAccountStatusResponse
|
|
13165
|
+
*/
|
|
13166
|
+
export interface SumupAccountStatusResponse {
|
|
13167
|
+
/**
|
|
13168
|
+
*
|
|
13169
|
+
* @type {boolean}
|
|
13170
|
+
* @memberof SumupAccountStatusResponse
|
|
13171
|
+
*/
|
|
13172
|
+
'connected': boolean;
|
|
13173
|
+
/**
|
|
13174
|
+
*
|
|
13175
|
+
* @type {string}
|
|
13176
|
+
* @memberof SumupAccountStatusResponse
|
|
13177
|
+
*/
|
|
13178
|
+
'merchantCode'?: string;
|
|
13179
|
+
/**
|
|
13180
|
+
*
|
|
13181
|
+
* @type {string}
|
|
13182
|
+
* @memberof SumupAccountStatusResponse
|
|
13183
|
+
*/
|
|
13184
|
+
'readerId'?: string;
|
|
13185
|
+
/**
|
|
13186
|
+
*
|
|
13187
|
+
* @type {string}
|
|
13188
|
+
* @memberof SumupAccountStatusResponse
|
|
13189
|
+
*/
|
|
13190
|
+
'readerName'?: string;
|
|
13191
|
+
/**
|
|
13192
|
+
*
|
|
13193
|
+
* @type {string}
|
|
13194
|
+
* @memberof SumupAccountStatusResponse
|
|
13195
|
+
*/
|
|
13196
|
+
'readerPairedAt'?: string;
|
|
13197
|
+
/**
|
|
13198
|
+
*
|
|
13199
|
+
* @type {string}
|
|
13200
|
+
* @memberof SumupAccountStatusResponse
|
|
13201
|
+
*/
|
|
13202
|
+
'scope'?: string;
|
|
13203
|
+
/**
|
|
13204
|
+
*
|
|
13205
|
+
* @type {string}
|
|
13206
|
+
* @memberof SumupAccountStatusResponse
|
|
13207
|
+
*/
|
|
13208
|
+
'connectedAt'?: string;
|
|
13209
|
+
}
|
|
13210
|
+
/**
|
|
13211
|
+
*
|
|
13212
|
+
* @export
|
|
13213
|
+
* @interface SumupCancelPaymentRequest
|
|
13214
|
+
*/
|
|
13215
|
+
export interface SumupCancelPaymentRequest {
|
|
13216
|
+
/**
|
|
13217
|
+
*
|
|
13218
|
+
* @type {string}
|
|
13219
|
+
* @memberof SumupCancelPaymentRequest
|
|
13220
|
+
*/
|
|
13221
|
+
'checkoutId'?: string;
|
|
13222
|
+
}
|
|
13223
|
+
/**
|
|
13224
|
+
*
|
|
13225
|
+
* @export
|
|
13226
|
+
* @interface SumupConnectUrlResponse
|
|
13227
|
+
*/
|
|
13228
|
+
export interface SumupConnectUrlResponse {
|
|
13229
|
+
/**
|
|
13230
|
+
*
|
|
13231
|
+
* @type {string}
|
|
13232
|
+
* @memberof SumupConnectUrlResponse
|
|
13233
|
+
*/
|
|
13234
|
+
'url': string;
|
|
13235
|
+
}
|
|
13236
|
+
/**
|
|
13237
|
+
*
|
|
13238
|
+
* @export
|
|
13239
|
+
* @interface SumupCreatePaymentRequest
|
|
13240
|
+
*/
|
|
13241
|
+
export interface SumupCreatePaymentRequest {
|
|
13242
|
+
/**
|
|
13243
|
+
*
|
|
13244
|
+
* @type {number}
|
|
13245
|
+
* @memberof SumupCreatePaymentRequest
|
|
13246
|
+
*/
|
|
13247
|
+
'amountInCents': number;
|
|
13248
|
+
/**
|
|
13249
|
+
*
|
|
13250
|
+
* @type {string}
|
|
13251
|
+
* @memberof SumupCreatePaymentRequest
|
|
13252
|
+
*/
|
|
13253
|
+
'currency': string;
|
|
13254
|
+
/**
|
|
13255
|
+
*
|
|
13256
|
+
* @type {string}
|
|
13257
|
+
* @memberof SumupCreatePaymentRequest
|
|
13258
|
+
*/
|
|
13259
|
+
'readerId'?: string;
|
|
13260
|
+
/**
|
|
13261
|
+
*
|
|
13262
|
+
* @type {string}
|
|
13263
|
+
* @memberof SumupCreatePaymentRequest
|
|
13264
|
+
*/
|
|
13265
|
+
'description'?: string;
|
|
13266
|
+
/**
|
|
13267
|
+
*
|
|
13268
|
+
* @type {string}
|
|
13269
|
+
* @memberof SumupCreatePaymentRequest
|
|
13270
|
+
*/
|
|
13271
|
+
'reference'?: string;
|
|
13272
|
+
/**
|
|
13273
|
+
* Construct a type with a set of properties K of type T
|
|
13274
|
+
* @type {{ [key: string]: string; }}
|
|
13275
|
+
* @memberof SumupCreatePaymentRequest
|
|
13276
|
+
*/
|
|
13277
|
+
'metadata'?: { [key: string]: string; };
|
|
13278
|
+
/**
|
|
13279
|
+
*
|
|
13280
|
+
* @type {string}
|
|
13281
|
+
* @memberof SumupCreatePaymentRequest
|
|
13282
|
+
*/
|
|
13283
|
+
'userId'?: string;
|
|
13284
|
+
}
|
|
13285
|
+
/**
|
|
13286
|
+
*
|
|
13287
|
+
* @export
|
|
13288
|
+
* @interface SumupOAuthCallbackResponse
|
|
13289
|
+
*/
|
|
13290
|
+
export interface SumupOAuthCallbackResponse {
|
|
13291
|
+
/**
|
|
13292
|
+
*
|
|
13293
|
+
* @type {string}
|
|
13294
|
+
* @memberof SumupOAuthCallbackResponse
|
|
13295
|
+
*/
|
|
13296
|
+
'clubId': string;
|
|
13297
|
+
/**
|
|
13298
|
+
*
|
|
13299
|
+
* @type {string}
|
|
13300
|
+
* @memberof SumupOAuthCallbackResponse
|
|
13301
|
+
*/
|
|
13302
|
+
'merchantCode': string;
|
|
13303
|
+
/**
|
|
13304
|
+
*
|
|
13305
|
+
* @type {string}
|
|
13306
|
+
* @memberof SumupOAuthCallbackResponse
|
|
13307
|
+
*/
|
|
13308
|
+
'scope'?: string;
|
|
13309
|
+
}
|
|
13310
|
+
/**
|
|
13311
|
+
*
|
|
13312
|
+
* @export
|
|
13313
|
+
* @interface SumupPairReaderRequest
|
|
13314
|
+
*/
|
|
13315
|
+
export interface SumupPairReaderRequest {
|
|
13316
|
+
/**
|
|
13317
|
+
*
|
|
13318
|
+
* @type {string}
|
|
13319
|
+
* @memberof SumupPairReaderRequest
|
|
13320
|
+
*/
|
|
13321
|
+
'pairingCode': string;
|
|
13322
|
+
/**
|
|
13323
|
+
*
|
|
13324
|
+
* @type {string}
|
|
13325
|
+
* @memberof SumupPairReaderRequest
|
|
13326
|
+
*/
|
|
13327
|
+
'name': string;
|
|
13328
|
+
/**
|
|
13329
|
+
* Construct a type with a set of properties K of type T
|
|
13330
|
+
* @type {{ [key: string]: any; }}
|
|
13331
|
+
* @memberof SumupPairReaderRequest
|
|
13332
|
+
*/
|
|
13333
|
+
'metadata'?: { [key: string]: any; };
|
|
13334
|
+
}
|
|
13335
|
+
/**
|
|
13336
|
+
*
|
|
13337
|
+
* @export
|
|
13338
|
+
* @interface SumupPairReaderResponse
|
|
13339
|
+
*/
|
|
13340
|
+
export interface SumupPairReaderResponse {
|
|
13341
|
+
/**
|
|
13342
|
+
*
|
|
13343
|
+
* @type {SumupReaderInfo}
|
|
13344
|
+
* @memberof SumupPairReaderResponse
|
|
13345
|
+
*/
|
|
13346
|
+
'reader': SumupReaderInfo;
|
|
13347
|
+
}
|
|
13348
|
+
/**
|
|
13349
|
+
*
|
|
13350
|
+
* @export
|
|
13351
|
+
* @interface SumupReaderInfo
|
|
13352
|
+
*/
|
|
13353
|
+
export interface SumupReaderInfo {
|
|
13354
|
+
[key: string]: any;
|
|
13355
|
+
|
|
13356
|
+
/**
|
|
13357
|
+
*
|
|
13358
|
+
* @type {string}
|
|
13359
|
+
* @memberof SumupReaderInfo
|
|
13360
|
+
*/
|
|
13361
|
+
'id'?: string;
|
|
13362
|
+
/**
|
|
13363
|
+
*
|
|
13364
|
+
* @type {string}
|
|
13365
|
+
* @memberof SumupReaderInfo
|
|
13366
|
+
*/
|
|
13367
|
+
'reader_id'?: string;
|
|
13368
|
+
/**
|
|
13369
|
+
*
|
|
13370
|
+
* @type {string}
|
|
13371
|
+
* @memberof SumupReaderInfo
|
|
13372
|
+
*/
|
|
13373
|
+
'serial_number'?: string;
|
|
13374
|
+
/**
|
|
13375
|
+
*
|
|
13376
|
+
* @type {string}
|
|
13377
|
+
* @memberof SumupReaderInfo
|
|
13378
|
+
*/
|
|
13379
|
+
'name'?: string;
|
|
13380
|
+
/**
|
|
13381
|
+
*
|
|
13382
|
+
* @type {string}
|
|
13383
|
+
* @memberof SumupReaderInfo
|
|
13384
|
+
*/
|
|
13385
|
+
'status'?: string;
|
|
13386
|
+
/**
|
|
13387
|
+
*
|
|
13388
|
+
* @type {SumupReaderInfoDevice}
|
|
13389
|
+
* @memberof SumupReaderInfo
|
|
13390
|
+
*/
|
|
13391
|
+
'device'?: SumupReaderInfoDevice;
|
|
13392
|
+
/**
|
|
13393
|
+
* Construct a type with a set of properties K of type T
|
|
13394
|
+
* @type {{ [key: string]: any; }}
|
|
13395
|
+
* @memberof SumupReaderInfo
|
|
13396
|
+
*/
|
|
13397
|
+
'metadata'?: { [key: string]: any; };
|
|
13398
|
+
/**
|
|
13399
|
+
*
|
|
13400
|
+
* @type {string}
|
|
13401
|
+
* @memberof SumupReaderInfo
|
|
13402
|
+
*/
|
|
13403
|
+
'created_at'?: string;
|
|
13404
|
+
/**
|
|
13405
|
+
*
|
|
13406
|
+
* @type {string}
|
|
13407
|
+
* @memberof SumupReaderInfo
|
|
13408
|
+
*/
|
|
13409
|
+
'updated_at'?: string;
|
|
13410
|
+
/**
|
|
13411
|
+
*
|
|
13412
|
+
* @type {string}
|
|
13413
|
+
* @memberof SumupReaderInfo
|
|
13414
|
+
*/
|
|
13415
|
+
'model'?: string;
|
|
13416
|
+
/**
|
|
13417
|
+
*
|
|
13418
|
+
* @type {string}
|
|
13419
|
+
* @memberof SumupReaderInfo
|
|
13420
|
+
*/
|
|
13421
|
+
'device_type'?: string;
|
|
13422
|
+
/**
|
|
13423
|
+
*
|
|
13424
|
+
* @type {string}
|
|
13425
|
+
* @memberof SumupReaderInfo
|
|
13426
|
+
*/
|
|
13427
|
+
'last_seen_at'?: string;
|
|
13428
|
+
}
|
|
13429
|
+
/**
|
|
13430
|
+
*
|
|
13431
|
+
* @export
|
|
13432
|
+
* @interface SumupReaderInfoDevice
|
|
13433
|
+
*/
|
|
13434
|
+
export interface SumupReaderInfoDevice {
|
|
13435
|
+
[key: string]: any;
|
|
13436
|
+
|
|
13437
|
+
/**
|
|
13438
|
+
*
|
|
13439
|
+
* @type {string}
|
|
13440
|
+
* @memberof SumupReaderInfoDevice
|
|
13441
|
+
*/
|
|
13442
|
+
'model'?: string;
|
|
13443
|
+
/**
|
|
13444
|
+
*
|
|
13445
|
+
* @type {string}
|
|
13446
|
+
* @memberof SumupReaderInfoDevice
|
|
13447
|
+
*/
|
|
13448
|
+
'identifier'?: string;
|
|
13449
|
+
}
|
|
13450
|
+
/**
|
|
13451
|
+
*
|
|
13452
|
+
* @export
|
|
13453
|
+
* @interface SumupReaderResponse
|
|
13454
|
+
*/
|
|
13455
|
+
export interface SumupReaderResponse {
|
|
13456
|
+
/**
|
|
13457
|
+
*
|
|
13458
|
+
* @type {SumupReaderInfo}
|
|
13459
|
+
* @memberof SumupReaderResponse
|
|
13460
|
+
*/
|
|
13461
|
+
'reader': SumupReaderInfo;
|
|
13462
|
+
}
|
|
13463
|
+
/**
|
|
13464
|
+
*
|
|
13465
|
+
* @export
|
|
13466
|
+
* @interface SumupReaderStatusInfo
|
|
13467
|
+
*/
|
|
13468
|
+
export interface SumupReaderStatusInfo {
|
|
13469
|
+
[key: string]: any;
|
|
13470
|
+
|
|
13471
|
+
/**
|
|
13472
|
+
*
|
|
13473
|
+
* @type {number}
|
|
13474
|
+
* @memberof SumupReaderStatusInfo
|
|
13475
|
+
*/
|
|
13476
|
+
'battery_level'?: number;
|
|
13477
|
+
/**
|
|
13478
|
+
*
|
|
13479
|
+
* @type {number}
|
|
13480
|
+
* @memberof SumupReaderStatusInfo
|
|
13481
|
+
*/
|
|
13482
|
+
'battery_temperature'?: number;
|
|
13483
|
+
/**
|
|
13484
|
+
*
|
|
13485
|
+
* @type {string}
|
|
13486
|
+
* @memberof SumupReaderStatusInfo
|
|
13487
|
+
*/
|
|
13488
|
+
'connection_type'?: string;
|
|
13489
|
+
/**
|
|
13490
|
+
*
|
|
13491
|
+
* @type {string}
|
|
13492
|
+
* @memberof SumupReaderStatusInfo
|
|
13493
|
+
*/
|
|
13494
|
+
'firmware_version'?: string;
|
|
13495
|
+
/**
|
|
13496
|
+
*
|
|
13497
|
+
* @type {string}
|
|
13498
|
+
* @memberof SumupReaderStatusInfo
|
|
13499
|
+
*/
|
|
13500
|
+
'last_activity'?: string;
|
|
13501
|
+
/**
|
|
13502
|
+
*
|
|
13503
|
+
* @type {string}
|
|
13504
|
+
* @memberof SumupReaderStatusInfo
|
|
13505
|
+
*/
|
|
13506
|
+
'state'?: string;
|
|
13507
|
+
/**
|
|
13508
|
+
*
|
|
13509
|
+
* @type {string}
|
|
13510
|
+
* @memberof SumupReaderStatusInfo
|
|
13511
|
+
*/
|
|
13512
|
+
'status'?: string;
|
|
13513
|
+
}
|
|
13514
|
+
/**
|
|
13515
|
+
*
|
|
13516
|
+
* @export
|
|
13517
|
+
* @interface SumupReaderStatusResponse
|
|
13518
|
+
*/
|
|
13519
|
+
export interface SumupReaderStatusResponse {
|
|
13520
|
+
[key: string]: any;
|
|
13521
|
+
|
|
13522
|
+
/**
|
|
13523
|
+
*
|
|
13524
|
+
* @type {SumupReaderStatusInfo}
|
|
13525
|
+
* @memberof SumupReaderStatusResponse
|
|
13526
|
+
*/
|
|
13527
|
+
'data'?: SumupReaderStatusInfo;
|
|
13528
|
+
}
|
|
13529
|
+
/**
|
|
13530
|
+
*
|
|
13531
|
+
* @export
|
|
13532
|
+
* @interface SumupReadersResponse
|
|
13533
|
+
*/
|
|
13534
|
+
export interface SumupReadersResponse {
|
|
13535
|
+
/**
|
|
13536
|
+
*
|
|
13537
|
+
* @type {Array<SumupReaderInfo>}
|
|
13538
|
+
* @memberof SumupReadersResponse
|
|
13539
|
+
*/
|
|
13540
|
+
'readers': Array<SumupReaderInfo>;
|
|
13541
|
+
}
|
|
13542
|
+
/**
|
|
13543
|
+
*
|
|
13544
|
+
* @export
|
|
13545
|
+
* @interface SumupUpdateReaderRequest
|
|
13546
|
+
*/
|
|
13547
|
+
export interface SumupUpdateReaderRequest {
|
|
13548
|
+
/**
|
|
13549
|
+
*
|
|
13550
|
+
* @type {string}
|
|
13551
|
+
* @memberof SumupUpdateReaderRequest
|
|
13552
|
+
*/
|
|
13553
|
+
'name'?: string;
|
|
13554
|
+
/**
|
|
13555
|
+
* Construct a type with a set of properties K of type T
|
|
13556
|
+
* @type {{ [key: string]: any; }}
|
|
13557
|
+
* @memberof SumupUpdateReaderRequest
|
|
13558
|
+
*/
|
|
13559
|
+
'metadata'?: { [key: string]: any; };
|
|
13560
|
+
}
|
|
12959
13561
|
/**
|
|
12960
13562
|
*
|
|
12961
13563
|
* @export
|
|
@@ -17027,7 +17629,7 @@ export class BookingsManagerApi extends BaseAPI {
|
|
|
17027
17629
|
export const BookingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
17028
17630
|
return {
|
|
17029
17631
|
/**
|
|
17030
|
-
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
17632
|
+
* Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
|
|
17031
17633
|
* @param {string} bookingId
|
|
17032
17634
|
* @param {CheckInPlayerRequest} checkInPlayerRequest
|
|
17033
17635
|
* @param {*} [options] Override http request option.
|
|
@@ -17069,6 +17671,49 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration?: Confi
|
|
|
17069
17671
|
options: localVarRequestOptions,
|
|
17070
17672
|
};
|
|
17071
17673
|
},
|
|
17674
|
+
/**
|
|
17675
|
+
* Check-in d\'un joueur avec création d\'un checkout SumUp
|
|
17676
|
+
* @param {string} bookingId
|
|
17677
|
+
* @param {CheckInPlayerSumupRequest} checkInPlayerSumupRequest
|
|
17678
|
+
* @param {*} [options] Override http request option.
|
|
17679
|
+
* @throws {RequiredError}
|
|
17680
|
+
*/
|
|
17681
|
+
checkInPlayerWithSumup: async (bookingId: string, checkInPlayerSumupRequest: CheckInPlayerSumupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17682
|
+
// verify required parameter 'bookingId' is not null or undefined
|
|
17683
|
+
assertParamExists('checkInPlayerWithSumup', 'bookingId', bookingId)
|
|
17684
|
+
// verify required parameter 'checkInPlayerSumupRequest' is not null or undefined
|
|
17685
|
+
assertParamExists('checkInPlayerWithSumup', 'checkInPlayerSumupRequest', checkInPlayerSumupRequest)
|
|
17686
|
+
const localVarPath = `/api/bookings/{bookingId}/check-in/sumup`
|
|
17687
|
+
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
17688
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17689
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17690
|
+
let baseOptions;
|
|
17691
|
+
if (configuration) {
|
|
17692
|
+
baseOptions = configuration.baseOptions;
|
|
17693
|
+
}
|
|
17694
|
+
|
|
17695
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
17696
|
+
const localVarHeaderParameter = {} as any;
|
|
17697
|
+
const localVarQueryParameter = {} as any;
|
|
17698
|
+
|
|
17699
|
+
// authentication bearerAuth required
|
|
17700
|
+
// http bearer authentication required
|
|
17701
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17702
|
+
|
|
17703
|
+
|
|
17704
|
+
|
|
17705
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17706
|
+
|
|
17707
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17708
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17709
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17710
|
+
localVarRequestOptions.data = serializeDataIfNeeded(checkInPlayerSumupRequest, localVarRequestOptions, configuration)
|
|
17711
|
+
|
|
17712
|
+
return {
|
|
17713
|
+
url: toPathString(localVarUrlObj),
|
|
17714
|
+
options: localVarRequestOptions,
|
|
17715
|
+
};
|
|
17716
|
+
},
|
|
17072
17717
|
/**
|
|
17073
17718
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
17074
17719
|
* @param {StaffCreateBookingRequest} staffCreateBookingRequest
|
|
@@ -17362,7 +18007,7 @@ export const BookingsStaffApiFp = function(configuration?: Configuration) {
|
|
|
17362
18007
|
const localVarAxiosParamCreator = BookingsStaffApiAxiosParamCreator(configuration)
|
|
17363
18008
|
return {
|
|
17364
18009
|
/**
|
|
17365
|
-
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
18010
|
+
* Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
|
|
17366
18011
|
* @param {string} bookingId
|
|
17367
18012
|
* @param {CheckInPlayerRequest} checkInPlayerRequest
|
|
17368
18013
|
* @param {*} [options] Override http request option.
|
|
@@ -17374,6 +18019,19 @@ export const BookingsStaffApiFp = function(configuration?: Configuration) {
|
|
|
17374
18019
|
const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.checkInPlayer']?.[localVarOperationServerIndex]?.url;
|
|
17375
18020
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17376
18021
|
},
|
|
18022
|
+
/**
|
|
18023
|
+
* Check-in d\'un joueur avec création d\'un checkout SumUp
|
|
18024
|
+
* @param {string} bookingId
|
|
18025
|
+
* @param {CheckInPlayerSumupRequest} checkInPlayerSumupRequest
|
|
18026
|
+
* @param {*} [options] Override http request option.
|
|
18027
|
+
* @throws {RequiredError}
|
|
18028
|
+
*/
|
|
18029
|
+
async checkInPlayerWithSumup(bookingId: string, checkInPlayerSumupRequest: CheckInPlayerSumupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayerSumupResponse>> {
|
|
18030
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkInPlayerWithSumup(bookingId, checkInPlayerSumupRequest, options);
|
|
18031
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18032
|
+
const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.checkInPlayerWithSumup']?.[localVarOperationServerIndex]?.url;
|
|
18033
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18034
|
+
},
|
|
17377
18035
|
/**
|
|
17378
18036
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
17379
18037
|
* @param {StaffCreateBookingRequest} staffCreateBookingRequest
|
|
@@ -17473,7 +18131,7 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
|
|
|
17473
18131
|
const localVarFp = BookingsStaffApiFp(configuration)
|
|
17474
18132
|
return {
|
|
17475
18133
|
/**
|
|
17476
|
-
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
18134
|
+
* Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
|
|
17477
18135
|
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
17478
18136
|
* @param {*} [options] Override http request option.
|
|
17479
18137
|
* @throws {RequiredError}
|
|
@@ -17481,6 +18139,15 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
|
|
|
17481
18139
|
checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerResponse> {
|
|
17482
18140
|
return localVarFp.checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(axios, basePath));
|
|
17483
18141
|
},
|
|
18142
|
+
/**
|
|
18143
|
+
* Check-in d\'un joueur avec création d\'un checkout SumUp
|
|
18144
|
+
* @param {BookingsStaffApiCheckInPlayerWithSumupRequest} requestParameters Request parameters.
|
|
18145
|
+
* @param {*} [options] Override http request option.
|
|
18146
|
+
* @throws {RequiredError}
|
|
18147
|
+
*/
|
|
18148
|
+
checkInPlayerWithSumup(requestParameters: BookingsStaffApiCheckInPlayerWithSumupRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerSumupResponse> {
|
|
18149
|
+
return localVarFp.checkInPlayerWithSumup(requestParameters.bookingId, requestParameters.checkInPlayerSumupRequest, options).then((request) => request(axios, basePath));
|
|
18150
|
+
},
|
|
17484
18151
|
/**
|
|
17485
18152
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
17486
18153
|
* @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
|
|
@@ -17568,6 +18235,27 @@ export interface BookingsStaffApiCheckInPlayerRequest {
|
|
|
17568
18235
|
readonly checkInPlayerRequest: CheckInPlayerRequest
|
|
17569
18236
|
}
|
|
17570
18237
|
|
|
18238
|
+
/**
|
|
18239
|
+
* Request parameters for checkInPlayerWithSumup operation in BookingsStaffApi.
|
|
18240
|
+
* @export
|
|
18241
|
+
* @interface BookingsStaffApiCheckInPlayerWithSumupRequest
|
|
18242
|
+
*/
|
|
18243
|
+
export interface BookingsStaffApiCheckInPlayerWithSumupRequest {
|
|
18244
|
+
/**
|
|
18245
|
+
*
|
|
18246
|
+
* @type {string}
|
|
18247
|
+
* @memberof BookingsStaffApiCheckInPlayerWithSumup
|
|
18248
|
+
*/
|
|
18249
|
+
readonly bookingId: string
|
|
18250
|
+
|
|
18251
|
+
/**
|
|
18252
|
+
*
|
|
18253
|
+
* @type {CheckInPlayerSumupRequest}
|
|
18254
|
+
* @memberof BookingsStaffApiCheckInPlayerWithSumup
|
|
18255
|
+
*/
|
|
18256
|
+
readonly checkInPlayerSumupRequest: CheckInPlayerSumupRequest
|
|
18257
|
+
}
|
|
18258
|
+
|
|
17571
18259
|
/**
|
|
17572
18260
|
* Request parameters for createStaffBooking operation in BookingsStaffApi.
|
|
17573
18261
|
* @export
|
|
@@ -17702,7 +18390,7 @@ export interface BookingsStaffApiListClubBookingsRequest {
|
|
|
17702
18390
|
*/
|
|
17703
18391
|
export class BookingsStaffApi extends BaseAPI {
|
|
17704
18392
|
/**
|
|
17705
|
-
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
18393
|
+
* Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
|
|
17706
18394
|
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
17707
18395
|
* @param {*} [options] Override http request option.
|
|
17708
18396
|
* @throws {RequiredError}
|
|
@@ -17712,6 +18400,17 @@ export class BookingsStaffApi extends BaseAPI {
|
|
|
17712
18400
|
return BookingsStaffApiFp(this.configuration).checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17713
18401
|
}
|
|
17714
18402
|
|
|
18403
|
+
/**
|
|
18404
|
+
* Check-in d\'un joueur avec création d\'un checkout SumUp
|
|
18405
|
+
* @param {BookingsStaffApiCheckInPlayerWithSumupRequest} requestParameters Request parameters.
|
|
18406
|
+
* @param {*} [options] Override http request option.
|
|
18407
|
+
* @throws {RequiredError}
|
|
18408
|
+
* @memberof BookingsStaffApi
|
|
18409
|
+
*/
|
|
18410
|
+
public checkInPlayerWithSumup(requestParameters: BookingsStaffApiCheckInPlayerWithSumupRequest, options?: RawAxiosRequestConfig) {
|
|
18411
|
+
return BookingsStaffApiFp(this.configuration).checkInPlayerWithSumup(requestParameters.bookingId, requestParameters.checkInPlayerSumupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18412
|
+
}
|
|
18413
|
+
|
|
17715
18414
|
/**
|
|
17716
18415
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
17717
18416
|
* @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
|
|
@@ -17989,6 +18688,49 @@ export const BookingsUserApiAxiosParamCreator = function (configuration?: Config
|
|
|
17989
18688
|
options: localVarRequestOptions,
|
|
17990
18689
|
};
|
|
17991
18690
|
},
|
|
18691
|
+
/**
|
|
18692
|
+
* Accepter ou refuser une invitation à une réservation
|
|
18693
|
+
* @param {string} bookingId
|
|
18694
|
+
* @param {AcceptBookingInvitationRequest} acceptBookingInvitationRequest
|
|
18695
|
+
* @param {*} [options] Override http request option.
|
|
18696
|
+
* @throws {RequiredError}
|
|
18697
|
+
*/
|
|
18698
|
+
respondToBookingInvitation: async (bookingId: string, acceptBookingInvitationRequest: AcceptBookingInvitationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18699
|
+
// verify required parameter 'bookingId' is not null or undefined
|
|
18700
|
+
assertParamExists('respondToBookingInvitation', 'bookingId', bookingId)
|
|
18701
|
+
// verify required parameter 'acceptBookingInvitationRequest' is not null or undefined
|
|
18702
|
+
assertParamExists('respondToBookingInvitation', 'acceptBookingInvitationRequest', acceptBookingInvitationRequest)
|
|
18703
|
+
const localVarPath = `/api/bookings/{bookingId}/respond-invitation`
|
|
18704
|
+
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
18705
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18706
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18707
|
+
let baseOptions;
|
|
18708
|
+
if (configuration) {
|
|
18709
|
+
baseOptions = configuration.baseOptions;
|
|
18710
|
+
}
|
|
18711
|
+
|
|
18712
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18713
|
+
const localVarHeaderParameter = {} as any;
|
|
18714
|
+
const localVarQueryParameter = {} as any;
|
|
18715
|
+
|
|
18716
|
+
// authentication bearerAuth required
|
|
18717
|
+
// http bearer authentication required
|
|
18718
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18719
|
+
|
|
18720
|
+
|
|
18721
|
+
|
|
18722
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18723
|
+
|
|
18724
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18725
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18726
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18727
|
+
localVarRequestOptions.data = serializeDataIfNeeded(acceptBookingInvitationRequest, localVarRequestOptions, configuration)
|
|
18728
|
+
|
|
18729
|
+
return {
|
|
18730
|
+
url: toPathString(localVarUrlObj),
|
|
18731
|
+
options: localVarRequestOptions,
|
|
18732
|
+
};
|
|
18733
|
+
},
|
|
17992
18734
|
/**
|
|
17993
18735
|
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
17994
18736
|
* @param {string} bookingId
|
|
@@ -18102,6 +18844,19 @@ export const BookingsUserApiFp = function(configuration?: Configuration) {
|
|
|
18102
18844
|
const localVarOperationServerBasePath = operationServerMap['BookingsUserApi.getOpenBookingPrice']?.[localVarOperationServerIndex]?.url;
|
|
18103
18845
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18104
18846
|
},
|
|
18847
|
+
/**
|
|
18848
|
+
* Accepter ou refuser une invitation à une réservation
|
|
18849
|
+
* @param {string} bookingId
|
|
18850
|
+
* @param {AcceptBookingInvitationRequest} acceptBookingInvitationRequest
|
|
18851
|
+
* @param {*} [options] Override http request option.
|
|
18852
|
+
* @throws {RequiredError}
|
|
18853
|
+
*/
|
|
18854
|
+
async respondToBookingInvitation(bookingId: string, acceptBookingInvitationRequest: AcceptBookingInvitationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AcceptBookingInvitationResponse>> {
|
|
18855
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.respondToBookingInvitation(bookingId, acceptBookingInvitationRequest, options);
|
|
18856
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18857
|
+
const localVarOperationServerBasePath = operationServerMap['BookingsUserApi.respondToBookingInvitation']?.[localVarOperationServerIndex]?.url;
|
|
18858
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18859
|
+
},
|
|
18105
18860
|
/**
|
|
18106
18861
|
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
18107
18862
|
* @param {string} bookingId
|
|
@@ -18170,6 +18925,15 @@ export const BookingsUserApiFactory = function (configuration?: Configuration, b
|
|
|
18170
18925
|
getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPriceResponse> {
|
|
18171
18926
|
return localVarFp.getOpenBookingPrice(requestParameters.openBookingPriceBody, options).then((request) => request(axios, basePath));
|
|
18172
18927
|
},
|
|
18928
|
+
/**
|
|
18929
|
+
* Accepter ou refuser une invitation à une réservation
|
|
18930
|
+
* @param {BookingsUserApiRespondToBookingInvitationRequest} requestParameters Request parameters.
|
|
18931
|
+
* @param {*} [options] Override http request option.
|
|
18932
|
+
* @throws {RequiredError}
|
|
18933
|
+
*/
|
|
18934
|
+
respondToBookingInvitation(requestParameters: BookingsUserApiRespondToBookingInvitationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AcceptBookingInvitationResponse> {
|
|
18935
|
+
return localVarFp.respondToBookingInvitation(requestParameters.bookingId, requestParameters.acceptBookingInvitationRequest, options).then((request) => request(axios, basePath));
|
|
18936
|
+
},
|
|
18173
18937
|
/**
|
|
18174
18938
|
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
18175
18939
|
* @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
|
|
@@ -18252,6 +19016,27 @@ export interface BookingsUserApiGetOpenBookingPriceRequest {
|
|
|
18252
19016
|
readonly openBookingPriceBody: OpenBookingPriceBody
|
|
18253
19017
|
}
|
|
18254
19018
|
|
|
19019
|
+
/**
|
|
19020
|
+
* Request parameters for respondToBookingInvitation operation in BookingsUserApi.
|
|
19021
|
+
* @export
|
|
19022
|
+
* @interface BookingsUserApiRespondToBookingInvitationRequest
|
|
19023
|
+
*/
|
|
19024
|
+
export interface BookingsUserApiRespondToBookingInvitationRequest {
|
|
19025
|
+
/**
|
|
19026
|
+
*
|
|
19027
|
+
* @type {string}
|
|
19028
|
+
* @memberof BookingsUserApiRespondToBookingInvitation
|
|
19029
|
+
*/
|
|
19030
|
+
readonly bookingId: string
|
|
19031
|
+
|
|
19032
|
+
/**
|
|
19033
|
+
*
|
|
19034
|
+
* @type {AcceptBookingInvitationRequest}
|
|
19035
|
+
* @memberof BookingsUserApiRespondToBookingInvitation
|
|
19036
|
+
*/
|
|
19037
|
+
readonly acceptBookingInvitationRequest: AcceptBookingInvitationRequest
|
|
19038
|
+
}
|
|
19039
|
+
|
|
18255
19040
|
/**
|
|
18256
19041
|
* Request parameters for updateOpenBooking operation in BookingsUserApi.
|
|
18257
19042
|
* @export
|
|
@@ -18335,6 +19120,17 @@ export class BookingsUserApi extends BaseAPI {
|
|
|
18335
19120
|
return BookingsUserApiFp(this.configuration).getOpenBookingPrice(requestParameters.openBookingPriceBody, options).then((request) => request(this.axios, this.basePath));
|
|
18336
19121
|
}
|
|
18337
19122
|
|
|
19123
|
+
/**
|
|
19124
|
+
* Accepter ou refuser une invitation à une réservation
|
|
19125
|
+
* @param {BookingsUserApiRespondToBookingInvitationRequest} requestParameters Request parameters.
|
|
19126
|
+
* @param {*} [options] Override http request option.
|
|
19127
|
+
* @throws {RequiredError}
|
|
19128
|
+
* @memberof BookingsUserApi
|
|
19129
|
+
*/
|
|
19130
|
+
public respondToBookingInvitation(requestParameters: BookingsUserApiRespondToBookingInvitationRequest, options?: RawAxiosRequestConfig) {
|
|
19131
|
+
return BookingsUserApiFp(this.configuration).respondToBookingInvitation(requestParameters.bookingId, requestParameters.acceptBookingInvitationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19132
|
+
}
|
|
19133
|
+
|
|
18338
19134
|
/**
|
|
18339
19135
|
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
18340
19136
|
* @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
|
|
@@ -30078,7 +30874,7 @@ export class ImagesApi extends BaseAPI {
|
|
|
30078
30874
|
export const JobsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30079
30875
|
return {
|
|
30080
30876
|
/**
|
|
30081
|
-
* Job: Capturer les autorisations de paiement qui expirent bientôt
|
|
30877
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
30082
30878
|
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
30083
30879
|
* @param {*} [options] Override http request option.
|
|
30084
30880
|
* @throws {RequiredError}
|
|
@@ -30108,7 +30904,7 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
30108
30904
|
};
|
|
30109
30905
|
},
|
|
30110
30906
|
/**
|
|
30111
|
-
* Job: Capturer les paiements pour les réservations passées
|
|
30907
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
30112
30908
|
* @summary Capture les paiements autorisés pour les réservations passées
|
|
30113
30909
|
* @param {*} [options] Override http request option.
|
|
30114
30910
|
* @throws {RequiredError}
|
|
@@ -30138,7 +30934,7 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
30138
30934
|
};
|
|
30139
30935
|
},
|
|
30140
30936
|
/**
|
|
30141
|
-
* Job: Expirer les réservations en attente de paiement
|
|
30937
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
30142
30938
|
* @summary Expire les réservations en attente de paiement
|
|
30143
30939
|
* @param {*} [options] Override http request option.
|
|
30144
30940
|
* @throws {RequiredError}
|
|
@@ -30168,7 +30964,7 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
30168
30964
|
};
|
|
30169
30965
|
},
|
|
30170
30966
|
/**
|
|
30171
|
-
* Job: Expirer les paiements en attente sur la waitlist
|
|
30967
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
30172
30968
|
* @summary Expire les paiements en attente sur la waitlist
|
|
30173
30969
|
* @param {*} [options] Override http request option.
|
|
30174
30970
|
* @throws {RequiredError}
|
|
@@ -30228,7 +31024,7 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
30228
31024
|
};
|
|
30229
31025
|
},
|
|
30230
31026
|
/**
|
|
30231
|
-
* Job: Maintenir les créneaux (slots)
|
|
31027
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
30232
31028
|
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
30233
31029
|
* @param {*} [options] Override http request option.
|
|
30234
31030
|
* @throws {RequiredError}
|
|
@@ -30258,7 +31054,7 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
30258
31054
|
};
|
|
30259
31055
|
},
|
|
30260
31056
|
/**
|
|
30261
|
-
* Job: Libérer les anciennes réservations
|
|
31057
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
30262
31058
|
* @summary Libère les anciennes réservations terminées
|
|
30263
31059
|
* @param {*} [options] Override http request option.
|
|
30264
31060
|
* @throws {RequiredError}
|
|
@@ -30288,7 +31084,7 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
30288
31084
|
};
|
|
30289
31085
|
},
|
|
30290
31086
|
/**
|
|
30291
|
-
* Job: Envoyer les rappels de réservation et d\'événements
|
|
31087
|
+
* Job: Envoyer les rappels de réservation et d\'événements Fréquence recommandée: Toutes les heures
|
|
30292
31088
|
* @summary Envoie des emails de rappel 24h avant les réservations et événements
|
|
30293
31089
|
* @param {*} [options] Override http request option.
|
|
30294
31090
|
* @throws {RequiredError}
|
|
@@ -30328,7 +31124,7 @@ export const JobsApiFp = function(configuration?: Configuration) {
|
|
|
30328
31124
|
const localVarAxiosParamCreator = JobsApiAxiosParamCreator(configuration)
|
|
30329
31125
|
return {
|
|
30330
31126
|
/**
|
|
30331
|
-
* Job: Capturer les autorisations de paiement qui expirent bientôt
|
|
31127
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
30332
31128
|
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
30333
31129
|
* @param {*} [options] Override http request option.
|
|
30334
31130
|
* @throws {RequiredError}
|
|
@@ -30340,7 +31136,7 @@ export const JobsApiFp = function(configuration?: Configuration) {
|
|
|
30340
31136
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30341
31137
|
},
|
|
30342
31138
|
/**
|
|
30343
|
-
* Job: Capturer les paiements pour les réservations passées
|
|
31139
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
30344
31140
|
* @summary Capture les paiements autorisés pour les réservations passées
|
|
30345
31141
|
* @param {*} [options] Override http request option.
|
|
30346
31142
|
* @throws {RequiredError}
|
|
@@ -30352,7 +31148,7 @@ export const JobsApiFp = function(configuration?: Configuration) {
|
|
|
30352
31148
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30353
31149
|
},
|
|
30354
31150
|
/**
|
|
30355
|
-
* Job: Expirer les réservations en attente de paiement
|
|
31151
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
30356
31152
|
* @summary Expire les réservations en attente de paiement
|
|
30357
31153
|
* @param {*} [options] Override http request option.
|
|
30358
31154
|
* @throws {RequiredError}
|
|
@@ -30364,7 +31160,7 @@ export const JobsApiFp = function(configuration?: Configuration) {
|
|
|
30364
31160
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30365
31161
|
},
|
|
30366
31162
|
/**
|
|
30367
|
-
* Job: Expirer les paiements en attente sur la waitlist
|
|
31163
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
30368
31164
|
* @summary Expire les paiements en attente sur la waitlist
|
|
30369
31165
|
* @param {*} [options] Override http request option.
|
|
30370
31166
|
* @throws {RequiredError}
|
|
@@ -30388,7 +31184,7 @@ export const JobsApiFp = function(configuration?: Configuration) {
|
|
|
30388
31184
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30389
31185
|
},
|
|
30390
31186
|
/**
|
|
30391
|
-
* Job: Maintenir les créneaux (slots)
|
|
31187
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
30392
31188
|
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
30393
31189
|
* @param {*} [options] Override http request option.
|
|
30394
31190
|
* @throws {RequiredError}
|
|
@@ -30400,7 +31196,7 @@ export const JobsApiFp = function(configuration?: Configuration) {
|
|
|
30400
31196
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30401
31197
|
},
|
|
30402
31198
|
/**
|
|
30403
|
-
* Job: Libérer les anciennes réservations
|
|
31199
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
30404
31200
|
* @summary Libère les anciennes réservations terminées
|
|
30405
31201
|
* @param {*} [options] Override http request option.
|
|
30406
31202
|
* @throws {RequiredError}
|
|
@@ -30412,7 +31208,7 @@ export const JobsApiFp = function(configuration?: Configuration) {
|
|
|
30412
31208
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30413
31209
|
},
|
|
30414
31210
|
/**
|
|
30415
|
-
* Job: Envoyer les rappels de réservation et d\'événements
|
|
31211
|
+
* Job: Envoyer les rappels de réservation et d\'événements Fréquence recommandée: Toutes les heures
|
|
30416
31212
|
* @summary Envoie des emails de rappel 24h avant les réservations et événements
|
|
30417
31213
|
* @param {*} [options] Override http request option.
|
|
30418
31214
|
* @throws {RequiredError}
|
|
@@ -30434,7 +31230,7 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
30434
31230
|
const localVarFp = JobsApiFp(configuration)
|
|
30435
31231
|
return {
|
|
30436
31232
|
/**
|
|
30437
|
-
* Job: Capturer les autorisations de paiement qui expirent bientôt
|
|
31233
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
30438
31234
|
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
30439
31235
|
* @param {*} [options] Override http request option.
|
|
30440
31236
|
* @throws {RequiredError}
|
|
@@ -30443,7 +31239,7 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
30443
31239
|
return localVarFp.captureExpiringAuthorizations(options).then((request) => request(axios, basePath));
|
|
30444
31240
|
},
|
|
30445
31241
|
/**
|
|
30446
|
-
* Job: Capturer les paiements pour les réservations passées
|
|
31242
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
30447
31243
|
* @summary Capture les paiements autorisés pour les réservations passées
|
|
30448
31244
|
* @param {*} [options] Override http request option.
|
|
30449
31245
|
* @throws {RequiredError}
|
|
@@ -30452,7 +31248,7 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
30452
31248
|
return localVarFp.capturePastReservations(options).then((request) => request(axios, basePath));
|
|
30453
31249
|
},
|
|
30454
31250
|
/**
|
|
30455
|
-
* Job: Expirer les réservations en attente de paiement
|
|
31251
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
30456
31252
|
* @summary Expire les réservations en attente de paiement
|
|
30457
31253
|
* @param {*} [options] Override http request option.
|
|
30458
31254
|
* @throws {RequiredError}
|
|
@@ -30461,7 +31257,7 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
30461
31257
|
return localVarFp.expireBookingWaitingPayments(options).then((request) => request(axios, basePath));
|
|
30462
31258
|
},
|
|
30463
31259
|
/**
|
|
30464
|
-
* Job: Expirer les paiements en attente sur la waitlist
|
|
31260
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
30465
31261
|
* @summary Expire les paiements en attente sur la waitlist
|
|
30466
31262
|
* @param {*} [options] Override http request option.
|
|
30467
31263
|
* @throws {RequiredError}
|
|
@@ -30479,7 +31275,7 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
30479
31275
|
return localVarFp.health(options).then((request) => request(axios, basePath));
|
|
30480
31276
|
},
|
|
30481
31277
|
/**
|
|
30482
|
-
* Job: Maintenir les créneaux (slots)
|
|
31278
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
30483
31279
|
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
30484
31280
|
* @param {*} [options] Override http request option.
|
|
30485
31281
|
* @throws {RequiredError}
|
|
@@ -30488,7 +31284,7 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
30488
31284
|
return localVarFp.maintainSlots(options).then((request) => request(axios, basePath));
|
|
30489
31285
|
},
|
|
30490
31286
|
/**
|
|
30491
|
-
* Job: Libérer les anciennes réservations
|
|
31287
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
30492
31288
|
* @summary Libère les anciennes réservations terminées
|
|
30493
31289
|
* @param {*} [options] Override http request option.
|
|
30494
31290
|
* @throws {RequiredError}
|
|
@@ -30497,7 +31293,7 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
30497
31293
|
return localVarFp.releaseOldBookings(options).then((request) => request(axios, basePath));
|
|
30498
31294
|
},
|
|
30499
31295
|
/**
|
|
30500
|
-
* Job: Envoyer les rappels de réservation et d\'événements
|
|
31296
|
+
* Job: Envoyer les rappels de réservation et d\'événements Fréquence recommandée: Toutes les heures
|
|
30501
31297
|
* @summary Envoie des emails de rappel 24h avant les réservations et événements
|
|
30502
31298
|
* @param {*} [options] Override http request option.
|
|
30503
31299
|
* @throws {RequiredError}
|
|
@@ -30516,7 +31312,7 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
30516
31312
|
*/
|
|
30517
31313
|
export class JobsApi extends BaseAPI {
|
|
30518
31314
|
/**
|
|
30519
|
-
* Job: Capturer les autorisations de paiement qui expirent bientôt
|
|
31315
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
30520
31316
|
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
30521
31317
|
* @param {*} [options] Override http request option.
|
|
30522
31318
|
* @throws {RequiredError}
|
|
@@ -30527,7 +31323,7 @@ export class JobsApi extends BaseAPI {
|
|
|
30527
31323
|
}
|
|
30528
31324
|
|
|
30529
31325
|
/**
|
|
30530
|
-
* Job: Capturer les paiements pour les réservations passées
|
|
31326
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
30531
31327
|
* @summary Capture les paiements autorisés pour les réservations passées
|
|
30532
31328
|
* @param {*} [options] Override http request option.
|
|
30533
31329
|
* @throws {RequiredError}
|
|
@@ -30538,7 +31334,7 @@ export class JobsApi extends BaseAPI {
|
|
|
30538
31334
|
}
|
|
30539
31335
|
|
|
30540
31336
|
/**
|
|
30541
|
-
* Job: Expirer les réservations en attente de paiement
|
|
31337
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
30542
31338
|
* @summary Expire les réservations en attente de paiement
|
|
30543
31339
|
* @param {*} [options] Override http request option.
|
|
30544
31340
|
* @throws {RequiredError}
|
|
@@ -30549,7 +31345,7 @@ export class JobsApi extends BaseAPI {
|
|
|
30549
31345
|
}
|
|
30550
31346
|
|
|
30551
31347
|
/**
|
|
30552
|
-
* Job: Expirer les paiements en attente sur la waitlist
|
|
31348
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
30553
31349
|
* @summary Expire les paiements en attente sur la waitlist
|
|
30554
31350
|
* @param {*} [options] Override http request option.
|
|
30555
31351
|
* @throws {RequiredError}
|
|
@@ -30571,7 +31367,7 @@ export class JobsApi extends BaseAPI {
|
|
|
30571
31367
|
}
|
|
30572
31368
|
|
|
30573
31369
|
/**
|
|
30574
|
-
* Job: Maintenir les créneaux (slots)
|
|
31370
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
30575
31371
|
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
30576
31372
|
* @param {*} [options] Override http request option.
|
|
30577
31373
|
* @throws {RequiredError}
|
|
@@ -30582,7 +31378,7 @@ export class JobsApi extends BaseAPI {
|
|
|
30582
31378
|
}
|
|
30583
31379
|
|
|
30584
31380
|
/**
|
|
30585
|
-
* Job: Libérer les anciennes réservations
|
|
31381
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
30586
31382
|
* @summary Libère les anciennes réservations terminées
|
|
30587
31383
|
* @param {*} [options] Override http request option.
|
|
30588
31384
|
* @throws {RequiredError}
|
|
@@ -30593,7 +31389,7 @@ export class JobsApi extends BaseAPI {
|
|
|
30593
31389
|
}
|
|
30594
31390
|
|
|
30595
31391
|
/**
|
|
30596
|
-
* Job: Envoyer les rappels de réservation et d\'événements
|
|
31392
|
+
* Job: Envoyer les rappels de réservation et d\'événements Fréquence recommandée: Toutes les heures
|
|
30597
31393
|
* @summary Envoie des emails de rappel 24h avant les réservations et événements
|
|
30598
31394
|
* @param {*} [options] Override http request option.
|
|
30599
31395
|
* @throws {RequiredError}
|
|
@@ -30606,6 +31402,249 @@ export class JobsApi extends BaseAPI {
|
|
|
30606
31402
|
|
|
30607
31403
|
|
|
30608
31404
|
|
|
31405
|
+
/**
|
|
31406
|
+
* PaymentsStaffApi - axios parameter creator
|
|
31407
|
+
* @export
|
|
31408
|
+
*/
|
|
31409
|
+
export const PaymentsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
31410
|
+
return {
|
|
31411
|
+
/**
|
|
31412
|
+
* Cancel a SumUp reader checkout.
|
|
31413
|
+
* @param {string} clubId
|
|
31414
|
+
* @param {string} paymentId
|
|
31415
|
+
* @param {SumupCancelPaymentRequest} [sumupCancelPaymentRequest]
|
|
31416
|
+
* @param {*} [options] Override http request option.
|
|
31417
|
+
* @throws {RequiredError}
|
|
31418
|
+
*/
|
|
31419
|
+
cancelSumupPayment: async (clubId: string, paymentId: string, sumupCancelPaymentRequest?: SumupCancelPaymentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31420
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
31421
|
+
assertParamExists('cancelSumupPayment', 'clubId', clubId)
|
|
31422
|
+
// verify required parameter 'paymentId' is not null or undefined
|
|
31423
|
+
assertParamExists('cancelSumupPayment', 'paymentId', paymentId)
|
|
31424
|
+
const localVarPath = `/api/clubs/{clubId}/payments/sumup/{paymentId}/cancel`
|
|
31425
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)))
|
|
31426
|
+
.replace(`{${"paymentId"}}`, encodeURIComponent(String(paymentId)));
|
|
31427
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31428
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31429
|
+
let baseOptions;
|
|
31430
|
+
if (configuration) {
|
|
31431
|
+
baseOptions = configuration.baseOptions;
|
|
31432
|
+
}
|
|
31433
|
+
|
|
31434
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31435
|
+
const localVarHeaderParameter = {} as any;
|
|
31436
|
+
const localVarQueryParameter = {} as any;
|
|
31437
|
+
|
|
31438
|
+
// authentication bearerAuth required
|
|
31439
|
+
// http bearer authentication required
|
|
31440
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31441
|
+
|
|
31442
|
+
|
|
31443
|
+
|
|
31444
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31445
|
+
|
|
31446
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31447
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31448
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31449
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sumupCancelPaymentRequest, localVarRequestOptions, configuration)
|
|
31450
|
+
|
|
31451
|
+
return {
|
|
31452
|
+
url: toPathString(localVarUrlObj),
|
|
31453
|
+
options: localVarRequestOptions,
|
|
31454
|
+
};
|
|
31455
|
+
},
|
|
31456
|
+
/**
|
|
31457
|
+
* Start a SumUp reader checkout (manual payment trigger).
|
|
31458
|
+
* @param {string} clubId
|
|
31459
|
+
* @param {SumupCreatePaymentRequest} sumupCreatePaymentRequest
|
|
31460
|
+
* @param {*} [options] Override http request option.
|
|
31461
|
+
* @throws {RequiredError}
|
|
31462
|
+
*/
|
|
31463
|
+
createSumupPayment: async (clubId: string, sumupCreatePaymentRequest: SumupCreatePaymentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31464
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
31465
|
+
assertParamExists('createSumupPayment', 'clubId', clubId)
|
|
31466
|
+
// verify required parameter 'sumupCreatePaymentRequest' is not null or undefined
|
|
31467
|
+
assertParamExists('createSumupPayment', 'sumupCreatePaymentRequest', sumupCreatePaymentRequest)
|
|
31468
|
+
const localVarPath = `/api/clubs/{clubId}/payments/sumup`
|
|
31469
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
31470
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31471
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31472
|
+
let baseOptions;
|
|
31473
|
+
if (configuration) {
|
|
31474
|
+
baseOptions = configuration.baseOptions;
|
|
31475
|
+
}
|
|
31476
|
+
|
|
31477
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31478
|
+
const localVarHeaderParameter = {} as any;
|
|
31479
|
+
const localVarQueryParameter = {} as any;
|
|
31480
|
+
|
|
31481
|
+
// authentication bearerAuth required
|
|
31482
|
+
// http bearer authentication required
|
|
31483
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31484
|
+
|
|
31485
|
+
|
|
31486
|
+
|
|
31487
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31488
|
+
|
|
31489
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31490
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31491
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31492
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sumupCreatePaymentRequest, localVarRequestOptions, configuration)
|
|
31493
|
+
|
|
31494
|
+
return {
|
|
31495
|
+
url: toPathString(localVarUrlObj),
|
|
31496
|
+
options: localVarRequestOptions,
|
|
31497
|
+
};
|
|
31498
|
+
},
|
|
31499
|
+
}
|
|
31500
|
+
};
|
|
31501
|
+
|
|
31502
|
+
/**
|
|
31503
|
+
* PaymentsStaffApi - functional programming interface
|
|
31504
|
+
* @export
|
|
31505
|
+
*/
|
|
31506
|
+
export const PaymentsStaffApiFp = function(configuration?: Configuration) {
|
|
31507
|
+
const localVarAxiosParamCreator = PaymentsStaffApiAxiosParamCreator(configuration)
|
|
31508
|
+
return {
|
|
31509
|
+
/**
|
|
31510
|
+
* Cancel a SumUp reader checkout.
|
|
31511
|
+
* @param {string} clubId
|
|
31512
|
+
* @param {string} paymentId
|
|
31513
|
+
* @param {SumupCancelPaymentRequest} [sumupCancelPaymentRequest]
|
|
31514
|
+
* @param {*} [options] Override http request option.
|
|
31515
|
+
* @throws {RequiredError}
|
|
31516
|
+
*/
|
|
31517
|
+
async cancelSumupPayment(clubId: string, paymentId: string, sumupCancelPaymentRequest?: SumupCancelPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
31518
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelSumupPayment(clubId, paymentId, sumupCancelPaymentRequest, options);
|
|
31519
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31520
|
+
const localVarOperationServerBasePath = operationServerMap['PaymentsStaffApi.cancelSumupPayment']?.[localVarOperationServerIndex]?.url;
|
|
31521
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
31522
|
+
},
|
|
31523
|
+
/**
|
|
31524
|
+
* Start a SumUp reader checkout (manual payment trigger).
|
|
31525
|
+
* @param {string} clubId
|
|
31526
|
+
* @param {SumupCreatePaymentRequest} sumupCreatePaymentRequest
|
|
31527
|
+
* @param {*} [options] Override http request option.
|
|
31528
|
+
* @throws {RequiredError}
|
|
31529
|
+
*/
|
|
31530
|
+
async createSumupPayment(clubId: string, sumupCreatePaymentRequest: SumupCreatePaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentIntentResult>> {
|
|
31531
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSumupPayment(clubId, sumupCreatePaymentRequest, options);
|
|
31532
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31533
|
+
const localVarOperationServerBasePath = operationServerMap['PaymentsStaffApi.createSumupPayment']?.[localVarOperationServerIndex]?.url;
|
|
31534
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
31535
|
+
},
|
|
31536
|
+
}
|
|
31537
|
+
};
|
|
31538
|
+
|
|
31539
|
+
/**
|
|
31540
|
+
* PaymentsStaffApi - factory interface
|
|
31541
|
+
* @export
|
|
31542
|
+
*/
|
|
31543
|
+
export const PaymentsStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
31544
|
+
const localVarFp = PaymentsStaffApiFp(configuration)
|
|
31545
|
+
return {
|
|
31546
|
+
/**
|
|
31547
|
+
* Cancel a SumUp reader checkout.
|
|
31548
|
+
* @param {PaymentsStaffApiCancelSumupPaymentRequest} requestParameters Request parameters.
|
|
31549
|
+
* @param {*} [options] Override http request option.
|
|
31550
|
+
* @throws {RequiredError}
|
|
31551
|
+
*/
|
|
31552
|
+
cancelSumupPayment(requestParameters: PaymentsStaffApiCancelSumupPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
31553
|
+
return localVarFp.cancelSumupPayment(requestParameters.clubId, requestParameters.paymentId, requestParameters.sumupCancelPaymentRequest, options).then((request) => request(axios, basePath));
|
|
31554
|
+
},
|
|
31555
|
+
/**
|
|
31556
|
+
* Start a SumUp reader checkout (manual payment trigger).
|
|
31557
|
+
* @param {PaymentsStaffApiCreateSumupPaymentRequest} requestParameters Request parameters.
|
|
31558
|
+
* @param {*} [options] Override http request option.
|
|
31559
|
+
* @throws {RequiredError}
|
|
31560
|
+
*/
|
|
31561
|
+
createSumupPayment(requestParameters: PaymentsStaffApiCreateSumupPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentIntentResult> {
|
|
31562
|
+
return localVarFp.createSumupPayment(requestParameters.clubId, requestParameters.sumupCreatePaymentRequest, options).then((request) => request(axios, basePath));
|
|
31563
|
+
},
|
|
31564
|
+
};
|
|
31565
|
+
};
|
|
31566
|
+
|
|
31567
|
+
/**
|
|
31568
|
+
* Request parameters for cancelSumupPayment operation in PaymentsStaffApi.
|
|
31569
|
+
* @export
|
|
31570
|
+
* @interface PaymentsStaffApiCancelSumupPaymentRequest
|
|
31571
|
+
*/
|
|
31572
|
+
export interface PaymentsStaffApiCancelSumupPaymentRequest {
|
|
31573
|
+
/**
|
|
31574
|
+
*
|
|
31575
|
+
* @type {string}
|
|
31576
|
+
* @memberof PaymentsStaffApiCancelSumupPayment
|
|
31577
|
+
*/
|
|
31578
|
+
readonly clubId: string
|
|
31579
|
+
|
|
31580
|
+
/**
|
|
31581
|
+
*
|
|
31582
|
+
* @type {string}
|
|
31583
|
+
* @memberof PaymentsStaffApiCancelSumupPayment
|
|
31584
|
+
*/
|
|
31585
|
+
readonly paymentId: string
|
|
31586
|
+
|
|
31587
|
+
/**
|
|
31588
|
+
*
|
|
31589
|
+
* @type {SumupCancelPaymentRequest}
|
|
31590
|
+
* @memberof PaymentsStaffApiCancelSumupPayment
|
|
31591
|
+
*/
|
|
31592
|
+
readonly sumupCancelPaymentRequest?: SumupCancelPaymentRequest
|
|
31593
|
+
}
|
|
31594
|
+
|
|
31595
|
+
/**
|
|
31596
|
+
* Request parameters for createSumupPayment operation in PaymentsStaffApi.
|
|
31597
|
+
* @export
|
|
31598
|
+
* @interface PaymentsStaffApiCreateSumupPaymentRequest
|
|
31599
|
+
*/
|
|
31600
|
+
export interface PaymentsStaffApiCreateSumupPaymentRequest {
|
|
31601
|
+
/**
|
|
31602
|
+
*
|
|
31603
|
+
* @type {string}
|
|
31604
|
+
* @memberof PaymentsStaffApiCreateSumupPayment
|
|
31605
|
+
*/
|
|
31606
|
+
readonly clubId: string
|
|
31607
|
+
|
|
31608
|
+
/**
|
|
31609
|
+
*
|
|
31610
|
+
* @type {SumupCreatePaymentRequest}
|
|
31611
|
+
* @memberof PaymentsStaffApiCreateSumupPayment
|
|
31612
|
+
*/
|
|
31613
|
+
readonly sumupCreatePaymentRequest: SumupCreatePaymentRequest
|
|
31614
|
+
}
|
|
31615
|
+
|
|
31616
|
+
/**
|
|
31617
|
+
* PaymentsStaffApi - object-oriented interface
|
|
31618
|
+
* @export
|
|
31619
|
+
* @class PaymentsStaffApi
|
|
31620
|
+
* @extends {BaseAPI}
|
|
31621
|
+
*/
|
|
31622
|
+
export class PaymentsStaffApi extends BaseAPI {
|
|
31623
|
+
/**
|
|
31624
|
+
* Cancel a SumUp reader checkout.
|
|
31625
|
+
* @param {PaymentsStaffApiCancelSumupPaymentRequest} requestParameters Request parameters.
|
|
31626
|
+
* @param {*} [options] Override http request option.
|
|
31627
|
+
* @throws {RequiredError}
|
|
31628
|
+
* @memberof PaymentsStaffApi
|
|
31629
|
+
*/
|
|
31630
|
+
public cancelSumupPayment(requestParameters: PaymentsStaffApiCancelSumupPaymentRequest, options?: RawAxiosRequestConfig) {
|
|
31631
|
+
return PaymentsStaffApiFp(this.configuration).cancelSumupPayment(requestParameters.clubId, requestParameters.paymentId, requestParameters.sumupCancelPaymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31632
|
+
}
|
|
31633
|
+
|
|
31634
|
+
/**
|
|
31635
|
+
* Start a SumUp reader checkout (manual payment trigger).
|
|
31636
|
+
* @param {PaymentsStaffApiCreateSumupPaymentRequest} requestParameters Request parameters.
|
|
31637
|
+
* @param {*} [options] Override http request option.
|
|
31638
|
+
* @throws {RequiredError}
|
|
31639
|
+
* @memberof PaymentsStaffApi
|
|
31640
|
+
*/
|
|
31641
|
+
public createSumupPayment(requestParameters: PaymentsStaffApiCreateSumupPaymentRequest, options?: RawAxiosRequestConfig) {
|
|
31642
|
+
return PaymentsStaffApiFp(this.configuration).createSumupPayment(requestParameters.clubId, requestParameters.sumupCreatePaymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31643
|
+
}
|
|
31644
|
+
}
|
|
31645
|
+
|
|
31646
|
+
|
|
31647
|
+
|
|
30609
31648
|
/**
|
|
30610
31649
|
* PublicEmailApi - axios parameter creator
|
|
30611
31650
|
* @export
|
|
@@ -32344,6 +33383,1196 @@ export class SubscriptionsUserApi extends BaseAPI {
|
|
|
32344
33383
|
|
|
32345
33384
|
|
|
32346
33385
|
|
|
33386
|
+
/**
|
|
33387
|
+
* SumUpApi - axios parameter creator
|
|
33388
|
+
* @export
|
|
33389
|
+
*/
|
|
33390
|
+
export const SumUpApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33391
|
+
return {
|
|
33392
|
+
/**
|
|
33393
|
+
* OAuth callback for SumUp.
|
|
33394
|
+
* @param {string} code
|
|
33395
|
+
* @param {string} state
|
|
33396
|
+
* @param {*} [options] Override http request option.
|
|
33397
|
+
* @throws {RequiredError}
|
|
33398
|
+
*/
|
|
33399
|
+
sumupOauthCallback: async (code: string, state: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33400
|
+
// verify required parameter 'code' is not null or undefined
|
|
33401
|
+
assertParamExists('sumupOauthCallback', 'code', code)
|
|
33402
|
+
// verify required parameter 'state' is not null or undefined
|
|
33403
|
+
assertParamExists('sumupOauthCallback', 'state', state)
|
|
33404
|
+
const localVarPath = `/api/sumup/oauth/callback`;
|
|
33405
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33406
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33407
|
+
let baseOptions;
|
|
33408
|
+
if (configuration) {
|
|
33409
|
+
baseOptions = configuration.baseOptions;
|
|
33410
|
+
}
|
|
33411
|
+
|
|
33412
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33413
|
+
const localVarHeaderParameter = {} as any;
|
|
33414
|
+
const localVarQueryParameter = {} as any;
|
|
33415
|
+
|
|
33416
|
+
if (code !== undefined) {
|
|
33417
|
+
localVarQueryParameter['code'] = code;
|
|
33418
|
+
}
|
|
33419
|
+
|
|
33420
|
+
if (state !== undefined) {
|
|
33421
|
+
localVarQueryParameter['state'] = state;
|
|
33422
|
+
}
|
|
33423
|
+
|
|
33424
|
+
|
|
33425
|
+
|
|
33426
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33427
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33428
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33429
|
+
|
|
33430
|
+
return {
|
|
33431
|
+
url: toPathString(localVarUrlObj),
|
|
33432
|
+
options: localVarRequestOptions,
|
|
33433
|
+
};
|
|
33434
|
+
},
|
|
33435
|
+
}
|
|
33436
|
+
};
|
|
33437
|
+
|
|
33438
|
+
/**
|
|
33439
|
+
* SumUpApi - functional programming interface
|
|
33440
|
+
* @export
|
|
33441
|
+
*/
|
|
33442
|
+
export const SumUpApiFp = function(configuration?: Configuration) {
|
|
33443
|
+
const localVarAxiosParamCreator = SumUpApiAxiosParamCreator(configuration)
|
|
33444
|
+
return {
|
|
33445
|
+
/**
|
|
33446
|
+
* OAuth callback for SumUp.
|
|
33447
|
+
* @param {string} code
|
|
33448
|
+
* @param {string} state
|
|
33449
|
+
* @param {*} [options] Override http request option.
|
|
33450
|
+
* @throws {RequiredError}
|
|
33451
|
+
*/
|
|
33452
|
+
async sumupOauthCallback(code: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupOAuthCallbackResponse>> {
|
|
33453
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sumupOauthCallback(code, state, options);
|
|
33454
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33455
|
+
const localVarOperationServerBasePath = operationServerMap['SumUpApi.sumupOauthCallback']?.[localVarOperationServerIndex]?.url;
|
|
33456
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33457
|
+
},
|
|
33458
|
+
}
|
|
33459
|
+
};
|
|
33460
|
+
|
|
33461
|
+
/**
|
|
33462
|
+
* SumUpApi - factory interface
|
|
33463
|
+
* @export
|
|
33464
|
+
*/
|
|
33465
|
+
export const SumUpApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
33466
|
+
const localVarFp = SumUpApiFp(configuration)
|
|
33467
|
+
return {
|
|
33468
|
+
/**
|
|
33469
|
+
* OAuth callback for SumUp.
|
|
33470
|
+
* @param {SumUpApiSumupOauthCallbackRequest} requestParameters Request parameters.
|
|
33471
|
+
* @param {*} [options] Override http request option.
|
|
33472
|
+
* @throws {RequiredError}
|
|
33473
|
+
*/
|
|
33474
|
+
sumupOauthCallback(requestParameters: SumUpApiSumupOauthCallbackRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupOAuthCallbackResponse> {
|
|
33475
|
+
return localVarFp.sumupOauthCallback(requestParameters.code, requestParameters.state, options).then((request) => request(axios, basePath));
|
|
33476
|
+
},
|
|
33477
|
+
};
|
|
33478
|
+
};
|
|
33479
|
+
|
|
33480
|
+
/**
|
|
33481
|
+
* Request parameters for sumupOauthCallback operation in SumUpApi.
|
|
33482
|
+
* @export
|
|
33483
|
+
* @interface SumUpApiSumupOauthCallbackRequest
|
|
33484
|
+
*/
|
|
33485
|
+
export interface SumUpApiSumupOauthCallbackRequest {
|
|
33486
|
+
/**
|
|
33487
|
+
*
|
|
33488
|
+
* @type {string}
|
|
33489
|
+
* @memberof SumUpApiSumupOauthCallback
|
|
33490
|
+
*/
|
|
33491
|
+
readonly code: string
|
|
33492
|
+
|
|
33493
|
+
/**
|
|
33494
|
+
*
|
|
33495
|
+
* @type {string}
|
|
33496
|
+
* @memberof SumUpApiSumupOauthCallback
|
|
33497
|
+
*/
|
|
33498
|
+
readonly state: string
|
|
33499
|
+
}
|
|
33500
|
+
|
|
33501
|
+
/**
|
|
33502
|
+
* SumUpApi - object-oriented interface
|
|
33503
|
+
* @export
|
|
33504
|
+
* @class SumUpApi
|
|
33505
|
+
* @extends {BaseAPI}
|
|
33506
|
+
*/
|
|
33507
|
+
export class SumUpApi extends BaseAPI {
|
|
33508
|
+
/**
|
|
33509
|
+
* OAuth callback for SumUp.
|
|
33510
|
+
* @param {SumUpApiSumupOauthCallbackRequest} requestParameters Request parameters.
|
|
33511
|
+
* @param {*} [options] Override http request option.
|
|
33512
|
+
* @throws {RequiredError}
|
|
33513
|
+
* @memberof SumUpApi
|
|
33514
|
+
*/
|
|
33515
|
+
public sumupOauthCallback(requestParameters: SumUpApiSumupOauthCallbackRequest, options?: RawAxiosRequestConfig) {
|
|
33516
|
+
return SumUpApiFp(this.configuration).sumupOauthCallback(requestParameters.code, requestParameters.state, options).then((request) => request(this.axios, this.basePath));
|
|
33517
|
+
}
|
|
33518
|
+
}
|
|
33519
|
+
|
|
33520
|
+
|
|
33521
|
+
|
|
33522
|
+
/**
|
|
33523
|
+
* SumUpManagerApi - axios parameter creator
|
|
33524
|
+
* @export
|
|
33525
|
+
*/
|
|
33526
|
+
export const SumUpManagerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33527
|
+
return {
|
|
33528
|
+
/**
|
|
33529
|
+
* Pair a SumUp reader with a club.
|
|
33530
|
+
* @param {string} clubId
|
|
33531
|
+
* @param {SumupPairReaderRequest} sumupPairReaderRequest
|
|
33532
|
+
* @param {*} [options] Override http request option.
|
|
33533
|
+
* @throws {RequiredError}
|
|
33534
|
+
*/
|
|
33535
|
+
createSumupReader: async (clubId: string, sumupPairReaderRequest: SumupPairReaderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33536
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
33537
|
+
assertParamExists('createSumupReader', 'clubId', clubId)
|
|
33538
|
+
// verify required parameter 'sumupPairReaderRequest' is not null or undefined
|
|
33539
|
+
assertParamExists('createSumupReader', 'sumupPairReaderRequest', sumupPairReaderRequest)
|
|
33540
|
+
const localVarPath = `/api/clubs/{clubId}/sumup/readers`
|
|
33541
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
33542
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33543
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33544
|
+
let baseOptions;
|
|
33545
|
+
if (configuration) {
|
|
33546
|
+
baseOptions = configuration.baseOptions;
|
|
33547
|
+
}
|
|
33548
|
+
|
|
33549
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
33550
|
+
const localVarHeaderParameter = {} as any;
|
|
33551
|
+
const localVarQueryParameter = {} as any;
|
|
33552
|
+
|
|
33553
|
+
// authentication bearerAuth required
|
|
33554
|
+
// http bearer authentication required
|
|
33555
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33556
|
+
|
|
33557
|
+
|
|
33558
|
+
|
|
33559
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33560
|
+
|
|
33561
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33562
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33563
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33564
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sumupPairReaderRequest, localVarRequestOptions, configuration)
|
|
33565
|
+
|
|
33566
|
+
return {
|
|
33567
|
+
url: toPathString(localVarUrlObj),
|
|
33568
|
+
options: localVarRequestOptions,
|
|
33569
|
+
};
|
|
33570
|
+
},
|
|
33571
|
+
/**
|
|
33572
|
+
* Delete a SumUp reader.
|
|
33573
|
+
* @param {string} clubId
|
|
33574
|
+
* @param {string} readerId
|
|
33575
|
+
* @param {*} [options] Override http request option.
|
|
33576
|
+
* @throws {RequiredError}
|
|
33577
|
+
*/
|
|
33578
|
+
deleteSumupReader: async (clubId: string, readerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33579
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
33580
|
+
assertParamExists('deleteSumupReader', 'clubId', clubId)
|
|
33581
|
+
// verify required parameter 'readerId' is not null or undefined
|
|
33582
|
+
assertParamExists('deleteSumupReader', 'readerId', readerId)
|
|
33583
|
+
const localVarPath = `/api/clubs/{clubId}/sumup/readers/{readerId}`
|
|
33584
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)))
|
|
33585
|
+
.replace(`{${"readerId"}}`, encodeURIComponent(String(readerId)));
|
|
33586
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33587
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33588
|
+
let baseOptions;
|
|
33589
|
+
if (configuration) {
|
|
33590
|
+
baseOptions = configuration.baseOptions;
|
|
33591
|
+
}
|
|
33592
|
+
|
|
33593
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
33594
|
+
const localVarHeaderParameter = {} as any;
|
|
33595
|
+
const localVarQueryParameter = {} as any;
|
|
33596
|
+
|
|
33597
|
+
// authentication bearerAuth required
|
|
33598
|
+
// http bearer authentication required
|
|
33599
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33600
|
+
|
|
33601
|
+
|
|
33602
|
+
|
|
33603
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33604
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33605
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33606
|
+
|
|
33607
|
+
return {
|
|
33608
|
+
url: toPathString(localVarUrlObj),
|
|
33609
|
+
options: localVarRequestOptions,
|
|
33610
|
+
};
|
|
33611
|
+
},
|
|
33612
|
+
/**
|
|
33613
|
+
* Disconnect SumUp account for a club.
|
|
33614
|
+
* @param {string} clubId
|
|
33615
|
+
* @param {*} [options] Override http request option.
|
|
33616
|
+
* @throws {RequiredError}
|
|
33617
|
+
*/
|
|
33618
|
+
disconnectSumup: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33619
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
33620
|
+
assertParamExists('disconnectSumup', 'clubId', clubId)
|
|
33621
|
+
const localVarPath = `/api/clubs/{clubId}/sumup/disconnect`
|
|
33622
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
33623
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33624
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33625
|
+
let baseOptions;
|
|
33626
|
+
if (configuration) {
|
|
33627
|
+
baseOptions = configuration.baseOptions;
|
|
33628
|
+
}
|
|
33629
|
+
|
|
33630
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
33631
|
+
const localVarHeaderParameter = {} as any;
|
|
33632
|
+
const localVarQueryParameter = {} as any;
|
|
33633
|
+
|
|
33634
|
+
// authentication bearerAuth required
|
|
33635
|
+
// http bearer authentication required
|
|
33636
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33637
|
+
|
|
33638
|
+
|
|
33639
|
+
|
|
33640
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33641
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33642
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33643
|
+
|
|
33644
|
+
return {
|
|
33645
|
+
url: toPathString(localVarUrlObj),
|
|
33646
|
+
options: localVarRequestOptions,
|
|
33647
|
+
};
|
|
33648
|
+
},
|
|
33649
|
+
/**
|
|
33650
|
+
* Start SumUp OAuth connection for a club.
|
|
33651
|
+
* @param {string} clubId
|
|
33652
|
+
* @param {*} [options] Override http request option.
|
|
33653
|
+
* @throws {RequiredError}
|
|
33654
|
+
*/
|
|
33655
|
+
getSumupConnectUrl: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33656
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
33657
|
+
assertParamExists('getSumupConnectUrl', 'clubId', clubId)
|
|
33658
|
+
const localVarPath = `/api/clubs/{clubId}/sumup/connect`
|
|
33659
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
33660
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33661
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33662
|
+
let baseOptions;
|
|
33663
|
+
if (configuration) {
|
|
33664
|
+
baseOptions = configuration.baseOptions;
|
|
33665
|
+
}
|
|
33666
|
+
|
|
33667
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33668
|
+
const localVarHeaderParameter = {} as any;
|
|
33669
|
+
const localVarQueryParameter = {} as any;
|
|
33670
|
+
|
|
33671
|
+
// authentication bearerAuth required
|
|
33672
|
+
// http bearer authentication required
|
|
33673
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33674
|
+
|
|
33675
|
+
|
|
33676
|
+
|
|
33677
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33678
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33679
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33680
|
+
|
|
33681
|
+
return {
|
|
33682
|
+
url: toPathString(localVarUrlObj),
|
|
33683
|
+
options: localVarRequestOptions,
|
|
33684
|
+
};
|
|
33685
|
+
},
|
|
33686
|
+
/**
|
|
33687
|
+
* Retrieve a SumUp reader.
|
|
33688
|
+
* @param {string} clubId
|
|
33689
|
+
* @param {string} readerId
|
|
33690
|
+
* @param {*} [options] Override http request option.
|
|
33691
|
+
* @throws {RequiredError}
|
|
33692
|
+
*/
|
|
33693
|
+
getSumupReader: async (clubId: string, readerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33694
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
33695
|
+
assertParamExists('getSumupReader', 'clubId', clubId)
|
|
33696
|
+
// verify required parameter 'readerId' is not null or undefined
|
|
33697
|
+
assertParamExists('getSumupReader', 'readerId', readerId)
|
|
33698
|
+
const localVarPath = `/api/clubs/{clubId}/sumup/readers/{readerId}`
|
|
33699
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)))
|
|
33700
|
+
.replace(`{${"readerId"}}`, encodeURIComponent(String(readerId)));
|
|
33701
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33702
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33703
|
+
let baseOptions;
|
|
33704
|
+
if (configuration) {
|
|
33705
|
+
baseOptions = configuration.baseOptions;
|
|
33706
|
+
}
|
|
33707
|
+
|
|
33708
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33709
|
+
const localVarHeaderParameter = {} as any;
|
|
33710
|
+
const localVarQueryParameter = {} as any;
|
|
33711
|
+
|
|
33712
|
+
// authentication bearerAuth required
|
|
33713
|
+
// http bearer authentication required
|
|
33714
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33715
|
+
|
|
33716
|
+
|
|
33717
|
+
|
|
33718
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33719
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33720
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33721
|
+
|
|
33722
|
+
return {
|
|
33723
|
+
url: toPathString(localVarUrlObj),
|
|
33724
|
+
options: localVarRequestOptions,
|
|
33725
|
+
};
|
|
33726
|
+
},
|
|
33727
|
+
/**
|
|
33728
|
+
* Get SumUp reader status.
|
|
33729
|
+
* @param {string} clubId
|
|
33730
|
+
* @param {string} readerId
|
|
33731
|
+
* @param {*} [options] Override http request option.
|
|
33732
|
+
* @throws {RequiredError}
|
|
33733
|
+
*/
|
|
33734
|
+
getSumupReaderStatus: async (clubId: string, readerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33735
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
33736
|
+
assertParamExists('getSumupReaderStatus', 'clubId', clubId)
|
|
33737
|
+
// verify required parameter 'readerId' is not null or undefined
|
|
33738
|
+
assertParamExists('getSumupReaderStatus', 'readerId', readerId)
|
|
33739
|
+
const localVarPath = `/api/clubs/{clubId}/sumup/readers/{readerId}/status`
|
|
33740
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)))
|
|
33741
|
+
.replace(`{${"readerId"}}`, encodeURIComponent(String(readerId)));
|
|
33742
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33743
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33744
|
+
let baseOptions;
|
|
33745
|
+
if (configuration) {
|
|
33746
|
+
baseOptions = configuration.baseOptions;
|
|
33747
|
+
}
|
|
33748
|
+
|
|
33749
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33750
|
+
const localVarHeaderParameter = {} as any;
|
|
33751
|
+
const localVarQueryParameter = {} as any;
|
|
33752
|
+
|
|
33753
|
+
// authentication bearerAuth required
|
|
33754
|
+
// http bearer authentication required
|
|
33755
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33756
|
+
|
|
33757
|
+
|
|
33758
|
+
|
|
33759
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33760
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33761
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33762
|
+
|
|
33763
|
+
return {
|
|
33764
|
+
url: toPathString(localVarUrlObj),
|
|
33765
|
+
options: localVarRequestOptions,
|
|
33766
|
+
};
|
|
33767
|
+
},
|
|
33768
|
+
/**
|
|
33769
|
+
* Get SumUp connection status for a club.
|
|
33770
|
+
* @param {string} clubId
|
|
33771
|
+
* @param {*} [options] Override http request option.
|
|
33772
|
+
* @throws {RequiredError}
|
|
33773
|
+
*/
|
|
33774
|
+
getSumupStatus: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33775
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
33776
|
+
assertParamExists('getSumupStatus', 'clubId', clubId)
|
|
33777
|
+
const localVarPath = `/api/clubs/{clubId}/sumup/status`
|
|
33778
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
33779
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33780
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33781
|
+
let baseOptions;
|
|
33782
|
+
if (configuration) {
|
|
33783
|
+
baseOptions = configuration.baseOptions;
|
|
33784
|
+
}
|
|
33785
|
+
|
|
33786
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33787
|
+
const localVarHeaderParameter = {} as any;
|
|
33788
|
+
const localVarQueryParameter = {} as any;
|
|
33789
|
+
|
|
33790
|
+
// authentication bearerAuth required
|
|
33791
|
+
// http bearer authentication required
|
|
33792
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33793
|
+
|
|
33794
|
+
|
|
33795
|
+
|
|
33796
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33797
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33798
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33799
|
+
|
|
33800
|
+
return {
|
|
33801
|
+
url: toPathString(localVarUrlObj),
|
|
33802
|
+
options: localVarRequestOptions,
|
|
33803
|
+
};
|
|
33804
|
+
},
|
|
33805
|
+
/**
|
|
33806
|
+
* List SumUp readers for a club.
|
|
33807
|
+
* @param {string} clubId
|
|
33808
|
+
* @param {*} [options] Override http request option.
|
|
33809
|
+
* @throws {RequiredError}
|
|
33810
|
+
*/
|
|
33811
|
+
listSumupReaders: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33812
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
33813
|
+
assertParamExists('listSumupReaders', 'clubId', clubId)
|
|
33814
|
+
const localVarPath = `/api/clubs/{clubId}/sumup/readers`
|
|
33815
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
33816
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33817
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33818
|
+
let baseOptions;
|
|
33819
|
+
if (configuration) {
|
|
33820
|
+
baseOptions = configuration.baseOptions;
|
|
33821
|
+
}
|
|
33822
|
+
|
|
33823
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33824
|
+
const localVarHeaderParameter = {} as any;
|
|
33825
|
+
const localVarQueryParameter = {} as any;
|
|
33826
|
+
|
|
33827
|
+
// authentication bearerAuth required
|
|
33828
|
+
// http bearer authentication required
|
|
33829
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33830
|
+
|
|
33831
|
+
|
|
33832
|
+
|
|
33833
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33834
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33835
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33836
|
+
|
|
33837
|
+
return {
|
|
33838
|
+
url: toPathString(localVarUrlObj),
|
|
33839
|
+
options: localVarRequestOptions,
|
|
33840
|
+
};
|
|
33841
|
+
},
|
|
33842
|
+
/**
|
|
33843
|
+
* Pair a SumUp reader with a club.
|
|
33844
|
+
* @param {string} clubId
|
|
33845
|
+
* @param {SumupPairReaderRequest} sumupPairReaderRequest
|
|
33846
|
+
* @param {*} [options] Override http request option.
|
|
33847
|
+
* @throws {RequiredError}
|
|
33848
|
+
*/
|
|
33849
|
+
pairSumupReader: async (clubId: string, sumupPairReaderRequest: SumupPairReaderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33850
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
33851
|
+
assertParamExists('pairSumupReader', 'clubId', clubId)
|
|
33852
|
+
// verify required parameter 'sumupPairReaderRequest' is not null or undefined
|
|
33853
|
+
assertParamExists('pairSumupReader', 'sumupPairReaderRequest', sumupPairReaderRequest)
|
|
33854
|
+
const localVarPath = `/api/clubs/{clubId}/sumup/readers/pair`
|
|
33855
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
33856
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33857
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33858
|
+
let baseOptions;
|
|
33859
|
+
if (configuration) {
|
|
33860
|
+
baseOptions = configuration.baseOptions;
|
|
33861
|
+
}
|
|
33862
|
+
|
|
33863
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
33864
|
+
const localVarHeaderParameter = {} as any;
|
|
33865
|
+
const localVarQueryParameter = {} as any;
|
|
33866
|
+
|
|
33867
|
+
// authentication bearerAuth required
|
|
33868
|
+
// http bearer authentication required
|
|
33869
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33870
|
+
|
|
33871
|
+
|
|
33872
|
+
|
|
33873
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33874
|
+
|
|
33875
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33876
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33877
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33878
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sumupPairReaderRequest, localVarRequestOptions, configuration)
|
|
33879
|
+
|
|
33880
|
+
return {
|
|
33881
|
+
url: toPathString(localVarUrlObj),
|
|
33882
|
+
options: localVarRequestOptions,
|
|
33883
|
+
};
|
|
33884
|
+
},
|
|
33885
|
+
/**
|
|
33886
|
+
* Select a SumUp reader for a club.
|
|
33887
|
+
* @param {string} clubId
|
|
33888
|
+
* @param {string} readerId
|
|
33889
|
+
* @param {*} [options] Override http request option.
|
|
33890
|
+
* @throws {RequiredError}
|
|
33891
|
+
*/
|
|
33892
|
+
selectSumupReader: async (clubId: string, readerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33893
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
33894
|
+
assertParamExists('selectSumupReader', 'clubId', clubId)
|
|
33895
|
+
// verify required parameter 'readerId' is not null or undefined
|
|
33896
|
+
assertParamExists('selectSumupReader', 'readerId', readerId)
|
|
33897
|
+
const localVarPath = `/api/clubs/{clubId}/sumup/readers/{readerId}/select`
|
|
33898
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)))
|
|
33899
|
+
.replace(`{${"readerId"}}`, encodeURIComponent(String(readerId)));
|
|
33900
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33901
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33902
|
+
let baseOptions;
|
|
33903
|
+
if (configuration) {
|
|
33904
|
+
baseOptions = configuration.baseOptions;
|
|
33905
|
+
}
|
|
33906
|
+
|
|
33907
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
33908
|
+
const localVarHeaderParameter = {} as any;
|
|
33909
|
+
const localVarQueryParameter = {} as any;
|
|
33910
|
+
|
|
33911
|
+
// authentication bearerAuth required
|
|
33912
|
+
// http bearer authentication required
|
|
33913
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33914
|
+
|
|
33915
|
+
|
|
33916
|
+
|
|
33917
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33918
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33919
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33920
|
+
|
|
33921
|
+
return {
|
|
33922
|
+
url: toPathString(localVarUrlObj),
|
|
33923
|
+
options: localVarRequestOptions,
|
|
33924
|
+
};
|
|
33925
|
+
},
|
|
33926
|
+
/**
|
|
33927
|
+
* Update a SumUp reader.
|
|
33928
|
+
* @param {string} clubId
|
|
33929
|
+
* @param {string} readerId
|
|
33930
|
+
* @param {SumupUpdateReaderRequest} sumupUpdateReaderRequest
|
|
33931
|
+
* @param {*} [options] Override http request option.
|
|
33932
|
+
* @throws {RequiredError}
|
|
33933
|
+
*/
|
|
33934
|
+
updateSumupReader: async (clubId: string, readerId: string, sumupUpdateReaderRequest: SumupUpdateReaderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33935
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
33936
|
+
assertParamExists('updateSumupReader', 'clubId', clubId)
|
|
33937
|
+
// verify required parameter 'readerId' is not null or undefined
|
|
33938
|
+
assertParamExists('updateSumupReader', 'readerId', readerId)
|
|
33939
|
+
// verify required parameter 'sumupUpdateReaderRequest' is not null or undefined
|
|
33940
|
+
assertParamExists('updateSumupReader', 'sumupUpdateReaderRequest', sumupUpdateReaderRequest)
|
|
33941
|
+
const localVarPath = `/api/clubs/{clubId}/sumup/readers/{readerId}`
|
|
33942
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)))
|
|
33943
|
+
.replace(`{${"readerId"}}`, encodeURIComponent(String(readerId)));
|
|
33944
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33945
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33946
|
+
let baseOptions;
|
|
33947
|
+
if (configuration) {
|
|
33948
|
+
baseOptions = configuration.baseOptions;
|
|
33949
|
+
}
|
|
33950
|
+
|
|
33951
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
33952
|
+
const localVarHeaderParameter = {} as any;
|
|
33953
|
+
const localVarQueryParameter = {} as any;
|
|
33954
|
+
|
|
33955
|
+
// authentication bearerAuth required
|
|
33956
|
+
// http bearer authentication required
|
|
33957
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33958
|
+
|
|
33959
|
+
|
|
33960
|
+
|
|
33961
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33962
|
+
|
|
33963
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33964
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33965
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33966
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sumupUpdateReaderRequest, localVarRequestOptions, configuration)
|
|
33967
|
+
|
|
33968
|
+
return {
|
|
33969
|
+
url: toPathString(localVarUrlObj),
|
|
33970
|
+
options: localVarRequestOptions,
|
|
33971
|
+
};
|
|
33972
|
+
},
|
|
33973
|
+
}
|
|
33974
|
+
};
|
|
33975
|
+
|
|
33976
|
+
/**
|
|
33977
|
+
* SumUpManagerApi - functional programming interface
|
|
33978
|
+
* @export
|
|
33979
|
+
*/
|
|
33980
|
+
export const SumUpManagerApiFp = function(configuration?: Configuration) {
|
|
33981
|
+
const localVarAxiosParamCreator = SumUpManagerApiAxiosParamCreator(configuration)
|
|
33982
|
+
return {
|
|
33983
|
+
/**
|
|
33984
|
+
* Pair a SumUp reader with a club.
|
|
33985
|
+
* @param {string} clubId
|
|
33986
|
+
* @param {SumupPairReaderRequest} sumupPairReaderRequest
|
|
33987
|
+
* @param {*} [options] Override http request option.
|
|
33988
|
+
* @throws {RequiredError}
|
|
33989
|
+
*/
|
|
33990
|
+
async createSumupReader(clubId: string, sumupPairReaderRequest: SumupPairReaderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupPairReaderResponse>> {
|
|
33991
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSumupReader(clubId, sumupPairReaderRequest, options);
|
|
33992
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33993
|
+
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.createSumupReader']?.[localVarOperationServerIndex]?.url;
|
|
33994
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33995
|
+
},
|
|
33996
|
+
/**
|
|
33997
|
+
* Delete a SumUp reader.
|
|
33998
|
+
* @param {string} clubId
|
|
33999
|
+
* @param {string} readerId
|
|
34000
|
+
* @param {*} [options] Override http request option.
|
|
34001
|
+
* @throws {RequiredError}
|
|
34002
|
+
*/
|
|
34003
|
+
async deleteSumupReader(clubId: string, readerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
34004
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSumupReader(clubId, readerId, options);
|
|
34005
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34006
|
+
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.deleteSumupReader']?.[localVarOperationServerIndex]?.url;
|
|
34007
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34008
|
+
},
|
|
34009
|
+
/**
|
|
34010
|
+
* Disconnect SumUp account for a club.
|
|
34011
|
+
* @param {string} clubId
|
|
34012
|
+
* @param {*} [options] Override http request option.
|
|
34013
|
+
* @throws {RequiredError}
|
|
34014
|
+
*/
|
|
34015
|
+
async disconnectSumup(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
34016
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disconnectSumup(clubId, options);
|
|
34017
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34018
|
+
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.disconnectSumup']?.[localVarOperationServerIndex]?.url;
|
|
34019
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34020
|
+
},
|
|
34021
|
+
/**
|
|
34022
|
+
* Start SumUp OAuth connection for a club.
|
|
34023
|
+
* @param {string} clubId
|
|
34024
|
+
* @param {*} [options] Override http request option.
|
|
34025
|
+
* @throws {RequiredError}
|
|
34026
|
+
*/
|
|
34027
|
+
async getSumupConnectUrl(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupConnectUrlResponse>> {
|
|
34028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSumupConnectUrl(clubId, options);
|
|
34029
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34030
|
+
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.getSumupConnectUrl']?.[localVarOperationServerIndex]?.url;
|
|
34031
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34032
|
+
},
|
|
34033
|
+
/**
|
|
34034
|
+
* Retrieve a SumUp reader.
|
|
34035
|
+
* @param {string} clubId
|
|
34036
|
+
* @param {string} readerId
|
|
34037
|
+
* @param {*} [options] Override http request option.
|
|
34038
|
+
* @throws {RequiredError}
|
|
34039
|
+
*/
|
|
34040
|
+
async getSumupReader(clubId: string, readerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupReaderResponse>> {
|
|
34041
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSumupReader(clubId, readerId, options);
|
|
34042
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34043
|
+
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.getSumupReader']?.[localVarOperationServerIndex]?.url;
|
|
34044
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34045
|
+
},
|
|
34046
|
+
/**
|
|
34047
|
+
* Get SumUp reader status.
|
|
34048
|
+
* @param {string} clubId
|
|
34049
|
+
* @param {string} readerId
|
|
34050
|
+
* @param {*} [options] Override http request option.
|
|
34051
|
+
* @throws {RequiredError}
|
|
34052
|
+
*/
|
|
34053
|
+
async getSumupReaderStatus(clubId: string, readerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupReaderStatusResponse>> {
|
|
34054
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSumupReaderStatus(clubId, readerId, options);
|
|
34055
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34056
|
+
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.getSumupReaderStatus']?.[localVarOperationServerIndex]?.url;
|
|
34057
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34058
|
+
},
|
|
34059
|
+
/**
|
|
34060
|
+
* Get SumUp connection status for a club.
|
|
34061
|
+
* @param {string} clubId
|
|
34062
|
+
* @param {*} [options] Override http request option.
|
|
34063
|
+
* @throws {RequiredError}
|
|
34064
|
+
*/
|
|
34065
|
+
async getSumupStatus(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupAccountStatusResponse>> {
|
|
34066
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSumupStatus(clubId, options);
|
|
34067
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34068
|
+
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.getSumupStatus']?.[localVarOperationServerIndex]?.url;
|
|
34069
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34070
|
+
},
|
|
34071
|
+
/**
|
|
34072
|
+
* List SumUp readers for a club.
|
|
34073
|
+
* @param {string} clubId
|
|
34074
|
+
* @param {*} [options] Override http request option.
|
|
34075
|
+
* @throws {RequiredError}
|
|
34076
|
+
*/
|
|
34077
|
+
async listSumupReaders(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupReadersResponse>> {
|
|
34078
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSumupReaders(clubId, options);
|
|
34079
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34080
|
+
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.listSumupReaders']?.[localVarOperationServerIndex]?.url;
|
|
34081
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34082
|
+
},
|
|
34083
|
+
/**
|
|
34084
|
+
* Pair a SumUp reader with a club.
|
|
34085
|
+
* @param {string} clubId
|
|
34086
|
+
* @param {SumupPairReaderRequest} sumupPairReaderRequest
|
|
34087
|
+
* @param {*} [options] Override http request option.
|
|
34088
|
+
* @throws {RequiredError}
|
|
34089
|
+
*/
|
|
34090
|
+
async pairSumupReader(clubId: string, sumupPairReaderRequest: SumupPairReaderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupPairReaderResponse>> {
|
|
34091
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.pairSumupReader(clubId, sumupPairReaderRequest, options);
|
|
34092
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34093
|
+
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.pairSumupReader']?.[localVarOperationServerIndex]?.url;
|
|
34094
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34095
|
+
},
|
|
34096
|
+
/**
|
|
34097
|
+
* Select a SumUp reader for a club.
|
|
34098
|
+
* @param {string} clubId
|
|
34099
|
+
* @param {string} readerId
|
|
34100
|
+
* @param {*} [options] Override http request option.
|
|
34101
|
+
* @throws {RequiredError}
|
|
34102
|
+
*/
|
|
34103
|
+
async selectSumupReader(clubId: string, readerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
34104
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.selectSumupReader(clubId, readerId, options);
|
|
34105
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34106
|
+
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.selectSumupReader']?.[localVarOperationServerIndex]?.url;
|
|
34107
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34108
|
+
},
|
|
34109
|
+
/**
|
|
34110
|
+
* Update a SumUp reader.
|
|
34111
|
+
* @param {string} clubId
|
|
34112
|
+
* @param {string} readerId
|
|
34113
|
+
* @param {SumupUpdateReaderRequest} sumupUpdateReaderRequest
|
|
34114
|
+
* @param {*} [options] Override http request option.
|
|
34115
|
+
* @throws {RequiredError}
|
|
34116
|
+
*/
|
|
34117
|
+
async updateSumupReader(clubId: string, readerId: string, sumupUpdateReaderRequest: SumupUpdateReaderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupReaderResponse>> {
|
|
34118
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSumupReader(clubId, readerId, sumupUpdateReaderRequest, options);
|
|
34119
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34120
|
+
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.updateSumupReader']?.[localVarOperationServerIndex]?.url;
|
|
34121
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34122
|
+
},
|
|
34123
|
+
}
|
|
34124
|
+
};
|
|
34125
|
+
|
|
34126
|
+
/**
|
|
34127
|
+
* SumUpManagerApi - factory interface
|
|
34128
|
+
* @export
|
|
34129
|
+
*/
|
|
34130
|
+
export const SumUpManagerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
34131
|
+
const localVarFp = SumUpManagerApiFp(configuration)
|
|
34132
|
+
return {
|
|
34133
|
+
/**
|
|
34134
|
+
* Pair a SumUp reader with a club.
|
|
34135
|
+
* @param {SumUpManagerApiCreateSumupReaderRequest} requestParameters Request parameters.
|
|
34136
|
+
* @param {*} [options] Override http request option.
|
|
34137
|
+
* @throws {RequiredError}
|
|
34138
|
+
*/
|
|
34139
|
+
createSumupReader(requestParameters: SumUpManagerApiCreateSumupReaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupPairReaderResponse> {
|
|
34140
|
+
return localVarFp.createSumupReader(requestParameters.clubId, requestParameters.sumupPairReaderRequest, options).then((request) => request(axios, basePath));
|
|
34141
|
+
},
|
|
34142
|
+
/**
|
|
34143
|
+
* Delete a SumUp reader.
|
|
34144
|
+
* @param {SumUpManagerApiDeleteSumupReaderRequest} requestParameters Request parameters.
|
|
34145
|
+
* @param {*} [options] Override http request option.
|
|
34146
|
+
* @throws {RequiredError}
|
|
34147
|
+
*/
|
|
34148
|
+
deleteSumupReader(requestParameters: SumUpManagerApiDeleteSumupReaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
34149
|
+
return localVarFp.deleteSumupReader(requestParameters.clubId, requestParameters.readerId, options).then((request) => request(axios, basePath));
|
|
34150
|
+
},
|
|
34151
|
+
/**
|
|
34152
|
+
* Disconnect SumUp account for a club.
|
|
34153
|
+
* @param {SumUpManagerApiDisconnectSumupRequest} requestParameters Request parameters.
|
|
34154
|
+
* @param {*} [options] Override http request option.
|
|
34155
|
+
* @throws {RequiredError}
|
|
34156
|
+
*/
|
|
34157
|
+
disconnectSumup(requestParameters: SumUpManagerApiDisconnectSumupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
34158
|
+
return localVarFp.disconnectSumup(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
34159
|
+
},
|
|
34160
|
+
/**
|
|
34161
|
+
* Start SumUp OAuth connection for a club.
|
|
34162
|
+
* @param {SumUpManagerApiGetSumupConnectUrlRequest} requestParameters Request parameters.
|
|
34163
|
+
* @param {*} [options] Override http request option.
|
|
34164
|
+
* @throws {RequiredError}
|
|
34165
|
+
*/
|
|
34166
|
+
getSumupConnectUrl(requestParameters: SumUpManagerApiGetSumupConnectUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupConnectUrlResponse> {
|
|
34167
|
+
return localVarFp.getSumupConnectUrl(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
34168
|
+
},
|
|
34169
|
+
/**
|
|
34170
|
+
* Retrieve a SumUp reader.
|
|
34171
|
+
* @param {SumUpManagerApiGetSumupReaderRequest} requestParameters Request parameters.
|
|
34172
|
+
* @param {*} [options] Override http request option.
|
|
34173
|
+
* @throws {RequiredError}
|
|
34174
|
+
*/
|
|
34175
|
+
getSumupReader(requestParameters: SumUpManagerApiGetSumupReaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupReaderResponse> {
|
|
34176
|
+
return localVarFp.getSumupReader(requestParameters.clubId, requestParameters.readerId, options).then((request) => request(axios, basePath));
|
|
34177
|
+
},
|
|
34178
|
+
/**
|
|
34179
|
+
* Get SumUp reader status.
|
|
34180
|
+
* @param {SumUpManagerApiGetSumupReaderStatusRequest} requestParameters Request parameters.
|
|
34181
|
+
* @param {*} [options] Override http request option.
|
|
34182
|
+
* @throws {RequiredError}
|
|
34183
|
+
*/
|
|
34184
|
+
getSumupReaderStatus(requestParameters: SumUpManagerApiGetSumupReaderStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupReaderStatusResponse> {
|
|
34185
|
+
return localVarFp.getSumupReaderStatus(requestParameters.clubId, requestParameters.readerId, options).then((request) => request(axios, basePath));
|
|
34186
|
+
},
|
|
34187
|
+
/**
|
|
34188
|
+
* Get SumUp connection status for a club.
|
|
34189
|
+
* @param {SumUpManagerApiGetSumupStatusRequest} requestParameters Request parameters.
|
|
34190
|
+
* @param {*} [options] Override http request option.
|
|
34191
|
+
* @throws {RequiredError}
|
|
34192
|
+
*/
|
|
34193
|
+
getSumupStatus(requestParameters: SumUpManagerApiGetSumupStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupAccountStatusResponse> {
|
|
34194
|
+
return localVarFp.getSumupStatus(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
34195
|
+
},
|
|
34196
|
+
/**
|
|
34197
|
+
* List SumUp readers for a club.
|
|
34198
|
+
* @param {SumUpManagerApiListSumupReadersRequest} requestParameters Request parameters.
|
|
34199
|
+
* @param {*} [options] Override http request option.
|
|
34200
|
+
* @throws {RequiredError}
|
|
34201
|
+
*/
|
|
34202
|
+
listSumupReaders(requestParameters: SumUpManagerApiListSumupReadersRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupReadersResponse> {
|
|
34203
|
+
return localVarFp.listSumupReaders(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
34204
|
+
},
|
|
34205
|
+
/**
|
|
34206
|
+
* Pair a SumUp reader with a club.
|
|
34207
|
+
* @param {SumUpManagerApiPairSumupReaderRequest} requestParameters Request parameters.
|
|
34208
|
+
* @param {*} [options] Override http request option.
|
|
34209
|
+
* @throws {RequiredError}
|
|
34210
|
+
*/
|
|
34211
|
+
pairSumupReader(requestParameters: SumUpManagerApiPairSumupReaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupPairReaderResponse> {
|
|
34212
|
+
return localVarFp.pairSumupReader(requestParameters.clubId, requestParameters.sumupPairReaderRequest, options).then((request) => request(axios, basePath));
|
|
34213
|
+
},
|
|
34214
|
+
/**
|
|
34215
|
+
* Select a SumUp reader for a club.
|
|
34216
|
+
* @param {SumUpManagerApiSelectSumupReaderRequest} requestParameters Request parameters.
|
|
34217
|
+
* @param {*} [options] Override http request option.
|
|
34218
|
+
* @throws {RequiredError}
|
|
34219
|
+
*/
|
|
34220
|
+
selectSumupReader(requestParameters: SumUpManagerApiSelectSumupReaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
34221
|
+
return localVarFp.selectSumupReader(requestParameters.clubId, requestParameters.readerId, options).then((request) => request(axios, basePath));
|
|
34222
|
+
},
|
|
34223
|
+
/**
|
|
34224
|
+
* Update a SumUp reader.
|
|
34225
|
+
* @param {SumUpManagerApiUpdateSumupReaderRequest} requestParameters Request parameters.
|
|
34226
|
+
* @param {*} [options] Override http request option.
|
|
34227
|
+
* @throws {RequiredError}
|
|
34228
|
+
*/
|
|
34229
|
+
updateSumupReader(requestParameters: SumUpManagerApiUpdateSumupReaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupReaderResponse> {
|
|
34230
|
+
return localVarFp.updateSumupReader(requestParameters.clubId, requestParameters.readerId, requestParameters.sumupUpdateReaderRequest, options).then((request) => request(axios, basePath));
|
|
34231
|
+
},
|
|
34232
|
+
};
|
|
34233
|
+
};
|
|
34234
|
+
|
|
34235
|
+
/**
|
|
34236
|
+
* Request parameters for createSumupReader operation in SumUpManagerApi.
|
|
34237
|
+
* @export
|
|
34238
|
+
* @interface SumUpManagerApiCreateSumupReaderRequest
|
|
34239
|
+
*/
|
|
34240
|
+
export interface SumUpManagerApiCreateSumupReaderRequest {
|
|
34241
|
+
/**
|
|
34242
|
+
*
|
|
34243
|
+
* @type {string}
|
|
34244
|
+
* @memberof SumUpManagerApiCreateSumupReader
|
|
34245
|
+
*/
|
|
34246
|
+
readonly clubId: string
|
|
34247
|
+
|
|
34248
|
+
/**
|
|
34249
|
+
*
|
|
34250
|
+
* @type {SumupPairReaderRequest}
|
|
34251
|
+
* @memberof SumUpManagerApiCreateSumupReader
|
|
34252
|
+
*/
|
|
34253
|
+
readonly sumupPairReaderRequest: SumupPairReaderRequest
|
|
34254
|
+
}
|
|
34255
|
+
|
|
34256
|
+
/**
|
|
34257
|
+
* Request parameters for deleteSumupReader operation in SumUpManagerApi.
|
|
34258
|
+
* @export
|
|
34259
|
+
* @interface SumUpManagerApiDeleteSumupReaderRequest
|
|
34260
|
+
*/
|
|
34261
|
+
export interface SumUpManagerApiDeleteSumupReaderRequest {
|
|
34262
|
+
/**
|
|
34263
|
+
*
|
|
34264
|
+
* @type {string}
|
|
34265
|
+
* @memberof SumUpManagerApiDeleteSumupReader
|
|
34266
|
+
*/
|
|
34267
|
+
readonly clubId: string
|
|
34268
|
+
|
|
34269
|
+
/**
|
|
34270
|
+
*
|
|
34271
|
+
* @type {string}
|
|
34272
|
+
* @memberof SumUpManagerApiDeleteSumupReader
|
|
34273
|
+
*/
|
|
34274
|
+
readonly readerId: string
|
|
34275
|
+
}
|
|
34276
|
+
|
|
34277
|
+
/**
|
|
34278
|
+
* Request parameters for disconnectSumup operation in SumUpManagerApi.
|
|
34279
|
+
* @export
|
|
34280
|
+
* @interface SumUpManagerApiDisconnectSumupRequest
|
|
34281
|
+
*/
|
|
34282
|
+
export interface SumUpManagerApiDisconnectSumupRequest {
|
|
34283
|
+
/**
|
|
34284
|
+
*
|
|
34285
|
+
* @type {string}
|
|
34286
|
+
* @memberof SumUpManagerApiDisconnectSumup
|
|
34287
|
+
*/
|
|
34288
|
+
readonly clubId: string
|
|
34289
|
+
}
|
|
34290
|
+
|
|
34291
|
+
/**
|
|
34292
|
+
* Request parameters for getSumupConnectUrl operation in SumUpManagerApi.
|
|
34293
|
+
* @export
|
|
34294
|
+
* @interface SumUpManagerApiGetSumupConnectUrlRequest
|
|
34295
|
+
*/
|
|
34296
|
+
export interface SumUpManagerApiGetSumupConnectUrlRequest {
|
|
34297
|
+
/**
|
|
34298
|
+
*
|
|
34299
|
+
* @type {string}
|
|
34300
|
+
* @memberof SumUpManagerApiGetSumupConnectUrl
|
|
34301
|
+
*/
|
|
34302
|
+
readonly clubId: string
|
|
34303
|
+
}
|
|
34304
|
+
|
|
34305
|
+
/**
|
|
34306
|
+
* Request parameters for getSumupReader operation in SumUpManagerApi.
|
|
34307
|
+
* @export
|
|
34308
|
+
* @interface SumUpManagerApiGetSumupReaderRequest
|
|
34309
|
+
*/
|
|
34310
|
+
export interface SumUpManagerApiGetSumupReaderRequest {
|
|
34311
|
+
/**
|
|
34312
|
+
*
|
|
34313
|
+
* @type {string}
|
|
34314
|
+
* @memberof SumUpManagerApiGetSumupReader
|
|
34315
|
+
*/
|
|
34316
|
+
readonly clubId: string
|
|
34317
|
+
|
|
34318
|
+
/**
|
|
34319
|
+
*
|
|
34320
|
+
* @type {string}
|
|
34321
|
+
* @memberof SumUpManagerApiGetSumupReader
|
|
34322
|
+
*/
|
|
34323
|
+
readonly readerId: string
|
|
34324
|
+
}
|
|
34325
|
+
|
|
34326
|
+
/**
|
|
34327
|
+
* Request parameters for getSumupReaderStatus operation in SumUpManagerApi.
|
|
34328
|
+
* @export
|
|
34329
|
+
* @interface SumUpManagerApiGetSumupReaderStatusRequest
|
|
34330
|
+
*/
|
|
34331
|
+
export interface SumUpManagerApiGetSumupReaderStatusRequest {
|
|
34332
|
+
/**
|
|
34333
|
+
*
|
|
34334
|
+
* @type {string}
|
|
34335
|
+
* @memberof SumUpManagerApiGetSumupReaderStatus
|
|
34336
|
+
*/
|
|
34337
|
+
readonly clubId: string
|
|
34338
|
+
|
|
34339
|
+
/**
|
|
34340
|
+
*
|
|
34341
|
+
* @type {string}
|
|
34342
|
+
* @memberof SumUpManagerApiGetSumupReaderStatus
|
|
34343
|
+
*/
|
|
34344
|
+
readonly readerId: string
|
|
34345
|
+
}
|
|
34346
|
+
|
|
34347
|
+
/**
|
|
34348
|
+
* Request parameters for getSumupStatus operation in SumUpManagerApi.
|
|
34349
|
+
* @export
|
|
34350
|
+
* @interface SumUpManagerApiGetSumupStatusRequest
|
|
34351
|
+
*/
|
|
34352
|
+
export interface SumUpManagerApiGetSumupStatusRequest {
|
|
34353
|
+
/**
|
|
34354
|
+
*
|
|
34355
|
+
* @type {string}
|
|
34356
|
+
* @memberof SumUpManagerApiGetSumupStatus
|
|
34357
|
+
*/
|
|
34358
|
+
readonly clubId: string
|
|
34359
|
+
}
|
|
34360
|
+
|
|
34361
|
+
/**
|
|
34362
|
+
* Request parameters for listSumupReaders operation in SumUpManagerApi.
|
|
34363
|
+
* @export
|
|
34364
|
+
* @interface SumUpManagerApiListSumupReadersRequest
|
|
34365
|
+
*/
|
|
34366
|
+
export interface SumUpManagerApiListSumupReadersRequest {
|
|
34367
|
+
/**
|
|
34368
|
+
*
|
|
34369
|
+
* @type {string}
|
|
34370
|
+
* @memberof SumUpManagerApiListSumupReaders
|
|
34371
|
+
*/
|
|
34372
|
+
readonly clubId: string
|
|
34373
|
+
}
|
|
34374
|
+
|
|
34375
|
+
/**
|
|
34376
|
+
* Request parameters for pairSumupReader operation in SumUpManagerApi.
|
|
34377
|
+
* @export
|
|
34378
|
+
* @interface SumUpManagerApiPairSumupReaderRequest
|
|
34379
|
+
*/
|
|
34380
|
+
export interface SumUpManagerApiPairSumupReaderRequest {
|
|
34381
|
+
/**
|
|
34382
|
+
*
|
|
34383
|
+
* @type {string}
|
|
34384
|
+
* @memberof SumUpManagerApiPairSumupReader
|
|
34385
|
+
*/
|
|
34386
|
+
readonly clubId: string
|
|
34387
|
+
|
|
34388
|
+
/**
|
|
34389
|
+
*
|
|
34390
|
+
* @type {SumupPairReaderRequest}
|
|
34391
|
+
* @memberof SumUpManagerApiPairSumupReader
|
|
34392
|
+
*/
|
|
34393
|
+
readonly sumupPairReaderRequest: SumupPairReaderRequest
|
|
34394
|
+
}
|
|
34395
|
+
|
|
34396
|
+
/**
|
|
34397
|
+
* Request parameters for selectSumupReader operation in SumUpManagerApi.
|
|
34398
|
+
* @export
|
|
34399
|
+
* @interface SumUpManagerApiSelectSumupReaderRequest
|
|
34400
|
+
*/
|
|
34401
|
+
export interface SumUpManagerApiSelectSumupReaderRequest {
|
|
34402
|
+
/**
|
|
34403
|
+
*
|
|
34404
|
+
* @type {string}
|
|
34405
|
+
* @memberof SumUpManagerApiSelectSumupReader
|
|
34406
|
+
*/
|
|
34407
|
+
readonly clubId: string
|
|
34408
|
+
|
|
34409
|
+
/**
|
|
34410
|
+
*
|
|
34411
|
+
* @type {string}
|
|
34412
|
+
* @memberof SumUpManagerApiSelectSumupReader
|
|
34413
|
+
*/
|
|
34414
|
+
readonly readerId: string
|
|
34415
|
+
}
|
|
34416
|
+
|
|
34417
|
+
/**
|
|
34418
|
+
* Request parameters for updateSumupReader operation in SumUpManagerApi.
|
|
34419
|
+
* @export
|
|
34420
|
+
* @interface SumUpManagerApiUpdateSumupReaderRequest
|
|
34421
|
+
*/
|
|
34422
|
+
export interface SumUpManagerApiUpdateSumupReaderRequest {
|
|
34423
|
+
/**
|
|
34424
|
+
*
|
|
34425
|
+
* @type {string}
|
|
34426
|
+
* @memberof SumUpManagerApiUpdateSumupReader
|
|
34427
|
+
*/
|
|
34428
|
+
readonly clubId: string
|
|
34429
|
+
|
|
34430
|
+
/**
|
|
34431
|
+
*
|
|
34432
|
+
* @type {string}
|
|
34433
|
+
* @memberof SumUpManagerApiUpdateSumupReader
|
|
34434
|
+
*/
|
|
34435
|
+
readonly readerId: string
|
|
34436
|
+
|
|
34437
|
+
/**
|
|
34438
|
+
*
|
|
34439
|
+
* @type {SumupUpdateReaderRequest}
|
|
34440
|
+
* @memberof SumUpManagerApiUpdateSumupReader
|
|
34441
|
+
*/
|
|
34442
|
+
readonly sumupUpdateReaderRequest: SumupUpdateReaderRequest
|
|
34443
|
+
}
|
|
34444
|
+
|
|
34445
|
+
/**
|
|
34446
|
+
* SumUpManagerApi - object-oriented interface
|
|
34447
|
+
* @export
|
|
34448
|
+
* @class SumUpManagerApi
|
|
34449
|
+
* @extends {BaseAPI}
|
|
34450
|
+
*/
|
|
34451
|
+
export class SumUpManagerApi extends BaseAPI {
|
|
34452
|
+
/**
|
|
34453
|
+
* Pair a SumUp reader with a club.
|
|
34454
|
+
* @param {SumUpManagerApiCreateSumupReaderRequest} requestParameters Request parameters.
|
|
34455
|
+
* @param {*} [options] Override http request option.
|
|
34456
|
+
* @throws {RequiredError}
|
|
34457
|
+
* @memberof SumUpManagerApi
|
|
34458
|
+
*/
|
|
34459
|
+
public createSumupReader(requestParameters: SumUpManagerApiCreateSumupReaderRequest, options?: RawAxiosRequestConfig) {
|
|
34460
|
+
return SumUpManagerApiFp(this.configuration).createSumupReader(requestParameters.clubId, requestParameters.sumupPairReaderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34461
|
+
}
|
|
34462
|
+
|
|
34463
|
+
/**
|
|
34464
|
+
* Delete a SumUp reader.
|
|
34465
|
+
* @param {SumUpManagerApiDeleteSumupReaderRequest} requestParameters Request parameters.
|
|
34466
|
+
* @param {*} [options] Override http request option.
|
|
34467
|
+
* @throws {RequiredError}
|
|
34468
|
+
* @memberof SumUpManagerApi
|
|
34469
|
+
*/
|
|
34470
|
+
public deleteSumupReader(requestParameters: SumUpManagerApiDeleteSumupReaderRequest, options?: RawAxiosRequestConfig) {
|
|
34471
|
+
return SumUpManagerApiFp(this.configuration).deleteSumupReader(requestParameters.clubId, requestParameters.readerId, options).then((request) => request(this.axios, this.basePath));
|
|
34472
|
+
}
|
|
34473
|
+
|
|
34474
|
+
/**
|
|
34475
|
+
* Disconnect SumUp account for a club.
|
|
34476
|
+
* @param {SumUpManagerApiDisconnectSumupRequest} requestParameters Request parameters.
|
|
34477
|
+
* @param {*} [options] Override http request option.
|
|
34478
|
+
* @throws {RequiredError}
|
|
34479
|
+
* @memberof SumUpManagerApi
|
|
34480
|
+
*/
|
|
34481
|
+
public disconnectSumup(requestParameters: SumUpManagerApiDisconnectSumupRequest, options?: RawAxiosRequestConfig) {
|
|
34482
|
+
return SumUpManagerApiFp(this.configuration).disconnectSumup(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
34483
|
+
}
|
|
34484
|
+
|
|
34485
|
+
/**
|
|
34486
|
+
* Start SumUp OAuth connection for a club.
|
|
34487
|
+
* @param {SumUpManagerApiGetSumupConnectUrlRequest} requestParameters Request parameters.
|
|
34488
|
+
* @param {*} [options] Override http request option.
|
|
34489
|
+
* @throws {RequiredError}
|
|
34490
|
+
* @memberof SumUpManagerApi
|
|
34491
|
+
*/
|
|
34492
|
+
public getSumupConnectUrl(requestParameters: SumUpManagerApiGetSumupConnectUrlRequest, options?: RawAxiosRequestConfig) {
|
|
34493
|
+
return SumUpManagerApiFp(this.configuration).getSumupConnectUrl(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
34494
|
+
}
|
|
34495
|
+
|
|
34496
|
+
/**
|
|
34497
|
+
* Retrieve a SumUp reader.
|
|
34498
|
+
* @param {SumUpManagerApiGetSumupReaderRequest} requestParameters Request parameters.
|
|
34499
|
+
* @param {*} [options] Override http request option.
|
|
34500
|
+
* @throws {RequiredError}
|
|
34501
|
+
* @memberof SumUpManagerApi
|
|
34502
|
+
*/
|
|
34503
|
+
public getSumupReader(requestParameters: SumUpManagerApiGetSumupReaderRequest, options?: RawAxiosRequestConfig) {
|
|
34504
|
+
return SumUpManagerApiFp(this.configuration).getSumupReader(requestParameters.clubId, requestParameters.readerId, options).then((request) => request(this.axios, this.basePath));
|
|
34505
|
+
}
|
|
34506
|
+
|
|
34507
|
+
/**
|
|
34508
|
+
* Get SumUp reader status.
|
|
34509
|
+
* @param {SumUpManagerApiGetSumupReaderStatusRequest} requestParameters Request parameters.
|
|
34510
|
+
* @param {*} [options] Override http request option.
|
|
34511
|
+
* @throws {RequiredError}
|
|
34512
|
+
* @memberof SumUpManagerApi
|
|
34513
|
+
*/
|
|
34514
|
+
public getSumupReaderStatus(requestParameters: SumUpManagerApiGetSumupReaderStatusRequest, options?: RawAxiosRequestConfig) {
|
|
34515
|
+
return SumUpManagerApiFp(this.configuration).getSumupReaderStatus(requestParameters.clubId, requestParameters.readerId, options).then((request) => request(this.axios, this.basePath));
|
|
34516
|
+
}
|
|
34517
|
+
|
|
34518
|
+
/**
|
|
34519
|
+
* Get SumUp connection status for a club.
|
|
34520
|
+
* @param {SumUpManagerApiGetSumupStatusRequest} requestParameters Request parameters.
|
|
34521
|
+
* @param {*} [options] Override http request option.
|
|
34522
|
+
* @throws {RequiredError}
|
|
34523
|
+
* @memberof SumUpManagerApi
|
|
34524
|
+
*/
|
|
34525
|
+
public getSumupStatus(requestParameters: SumUpManagerApiGetSumupStatusRequest, options?: RawAxiosRequestConfig) {
|
|
34526
|
+
return SumUpManagerApiFp(this.configuration).getSumupStatus(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
34527
|
+
}
|
|
34528
|
+
|
|
34529
|
+
/**
|
|
34530
|
+
* List SumUp readers for a club.
|
|
34531
|
+
* @param {SumUpManagerApiListSumupReadersRequest} requestParameters Request parameters.
|
|
34532
|
+
* @param {*} [options] Override http request option.
|
|
34533
|
+
* @throws {RequiredError}
|
|
34534
|
+
* @memberof SumUpManagerApi
|
|
34535
|
+
*/
|
|
34536
|
+
public listSumupReaders(requestParameters: SumUpManagerApiListSumupReadersRequest, options?: RawAxiosRequestConfig) {
|
|
34537
|
+
return SumUpManagerApiFp(this.configuration).listSumupReaders(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
34538
|
+
}
|
|
34539
|
+
|
|
34540
|
+
/**
|
|
34541
|
+
* Pair a SumUp reader with a club.
|
|
34542
|
+
* @param {SumUpManagerApiPairSumupReaderRequest} requestParameters Request parameters.
|
|
34543
|
+
* @param {*} [options] Override http request option.
|
|
34544
|
+
* @throws {RequiredError}
|
|
34545
|
+
* @memberof SumUpManagerApi
|
|
34546
|
+
*/
|
|
34547
|
+
public pairSumupReader(requestParameters: SumUpManagerApiPairSumupReaderRequest, options?: RawAxiosRequestConfig) {
|
|
34548
|
+
return SumUpManagerApiFp(this.configuration).pairSumupReader(requestParameters.clubId, requestParameters.sumupPairReaderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34549
|
+
}
|
|
34550
|
+
|
|
34551
|
+
/**
|
|
34552
|
+
* Select a SumUp reader for a club.
|
|
34553
|
+
* @param {SumUpManagerApiSelectSumupReaderRequest} requestParameters Request parameters.
|
|
34554
|
+
* @param {*} [options] Override http request option.
|
|
34555
|
+
* @throws {RequiredError}
|
|
34556
|
+
* @memberof SumUpManagerApi
|
|
34557
|
+
*/
|
|
34558
|
+
public selectSumupReader(requestParameters: SumUpManagerApiSelectSumupReaderRequest, options?: RawAxiosRequestConfig) {
|
|
34559
|
+
return SumUpManagerApiFp(this.configuration).selectSumupReader(requestParameters.clubId, requestParameters.readerId, options).then((request) => request(this.axios, this.basePath));
|
|
34560
|
+
}
|
|
34561
|
+
|
|
34562
|
+
/**
|
|
34563
|
+
* Update a SumUp reader.
|
|
34564
|
+
* @param {SumUpManagerApiUpdateSumupReaderRequest} requestParameters Request parameters.
|
|
34565
|
+
* @param {*} [options] Override http request option.
|
|
34566
|
+
* @throws {RequiredError}
|
|
34567
|
+
* @memberof SumUpManagerApi
|
|
34568
|
+
*/
|
|
34569
|
+
public updateSumupReader(requestParameters: SumUpManagerApiUpdateSumupReaderRequest, options?: RawAxiosRequestConfig) {
|
|
34570
|
+
return SumUpManagerApiFp(this.configuration).updateSumupReader(requestParameters.clubId, requestParameters.readerId, requestParameters.sumupUpdateReaderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34571
|
+
}
|
|
34572
|
+
}
|
|
34573
|
+
|
|
34574
|
+
|
|
34575
|
+
|
|
32347
34576
|
/**
|
|
32348
34577
|
* UserApi - axios parameter creator
|
|
32349
34578
|
* @export
|