@gewis/sudosos-client 0.0.0-develop.5e0c322 → 0.0.0-develop.6710133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/api.d.ts +1442 -301
  2. package/dist/api.js +1509 -260
  3. package/package.json +3 -3
package/dist/api.d.ts CHANGED
@@ -25,6 +25,12 @@ export interface AcceptTosRequest {
25
25
  * @memberof AcceptTosRequest
26
26
  */
27
27
  'extensiveDataProcessing': boolean;
28
+ /**
29
+ * The TOS version being accepted.
30
+ * @type {string}
31
+ * @memberof AcceptTosRequest
32
+ */
33
+ 'version': string;
28
34
  }
29
35
  /**
30
36
  *
@@ -58,6 +64,25 @@ export interface AddRoleRequest {
58
64
  */
59
65
  'roleId': number;
60
66
  }
67
+ /**
68
+ *
69
+ * @export
70
+ * @interface AuthenticationEanRequest
71
+ */
72
+ export interface AuthenticationEanRequest {
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof AuthenticationEanRequest
77
+ */
78
+ 'eanCode': string;
79
+ /**
80
+ * POS identifier
81
+ * @type {number}
82
+ * @memberof AuthenticationEanRequest
83
+ */
84
+ 'posId': number;
85
+ }
61
86
  /**
62
87
  *
63
88
  * @export
@@ -134,6 +159,50 @@ export interface AuthenticationMockRequest {
134
159
  */
135
160
  'nonce': string;
136
161
  }
162
+ /**
163
+ *
164
+ * @export
165
+ * @interface AuthenticationNfcRequest
166
+ */
167
+ export interface AuthenticationNfcRequest {
168
+ /**
169
+ *
170
+ * @type {string}
171
+ * @memberof AuthenticationNfcRequest
172
+ */
173
+ 'nfcCode': string;
174
+ /**
175
+ * POS identifier
176
+ * @type {number}
177
+ * @memberof AuthenticationNfcRequest
178
+ */
179
+ 'posId': number;
180
+ }
181
+ /**
182
+ *
183
+ * @export
184
+ * @interface AuthenticationPinRequest
185
+ */
186
+ export interface AuthenticationPinRequest {
187
+ /**
188
+ *
189
+ * @type {number}
190
+ * @memberof AuthenticationPinRequest
191
+ */
192
+ 'userId': number;
193
+ /**
194
+ *
195
+ * @type {string}
196
+ * @memberof AuthenticationPinRequest
197
+ */
198
+ 'pin': string;
199
+ /**
200
+ * POS identifier
201
+ * @type {number}
202
+ * @memberof AuthenticationPinRequest
203
+ */
204
+ 'posId': number;
205
+ }
137
206
  /**
138
207
  *
139
208
  * @export
@@ -215,69 +284,6 @@ export interface AuthenticationResponse {
215
284
  */
216
285
  'rolesWithPermissions': Array<RoleWithPermissionsResponse>;
217
286
  }
218
- /**
219
- *
220
- * @export
221
- * @interface AuthenticationSecureEanRequest
222
- */
223
- export interface AuthenticationSecureEanRequest {
224
- /**
225
- *
226
- * @type {string}
227
- * @memberof AuthenticationSecureEanRequest
228
- */
229
- 'eanCode': string;
230
- /**
231
- * POS identifier
232
- * @type {number}
233
- * @memberof AuthenticationSecureEanRequest
234
- */
235
- 'posId': number;
236
- }
237
- /**
238
- *
239
- * @export
240
- * @interface AuthenticationSecureNfcRequest
241
- */
242
- export interface AuthenticationSecureNfcRequest {
243
- /**
244
- *
245
- * @type {string}
246
- * @memberof AuthenticationSecureNfcRequest
247
- */
248
- 'nfcCode': string;
249
- /**
250
- * POS identifier
251
- * @type {number}
252
- * @memberof AuthenticationSecureNfcRequest
253
- */
254
- 'posId': number;
255
- }
256
- /**
257
- *
258
- * @export
259
- * @interface AuthenticationSecurePinRequest
260
- */
261
- export interface AuthenticationSecurePinRequest {
262
- /**
263
- *
264
- * @type {number}
265
- * @memberof AuthenticationSecurePinRequest
266
- */
267
- 'userId': number;
268
- /**
269
- *
270
- * @type {string}
271
- * @memberof AuthenticationSecurePinRequest
272
- */
273
- 'pin': string;
274
- /**
275
- * POS identifier (required for secure authentication)
276
- * @type {number}
277
- * @memberof AuthenticationSecurePinRequest
278
- */
279
- 'posId': number;
280
- }
281
287
  /**
282
288
  *
283
289
  * @export
@@ -1902,6 +1908,37 @@ export interface CreateInvoiceRequest {
1902
1908
  */
1903
1909
  'amount': DineroObjectRequest;
1904
1910
  }
1911
+ /**
1912
+ *
1913
+ * @export
1914
+ * @interface CreatePaymentRequestRequest
1915
+ */
1916
+ export interface CreatePaymentRequestRequest {
1917
+ /**
1918
+ * The ID of the user whose balance will be credited on payment.
1919
+ * @type {number}
1920
+ * @memberof CreatePaymentRequestRequest
1921
+ */
1922
+ 'forId': number;
1923
+ /**
1924
+ *
1925
+ * @type {DineroObjectRequest}
1926
+ * @memberof CreatePaymentRequestRequest
1927
+ */
1928
+ 'amount': DineroObjectRequest;
1929
+ /**
1930
+ * ISO-8601 timestamp after which the request stops accepting payments.
1931
+ * @type {string}
1932
+ * @memberof CreatePaymentRequestRequest
1933
+ */
1934
+ 'expiresAt': string;
1935
+ /**
1936
+ * Optional human-readable description (e.g. invoice reference).
1937
+ * @type {string}
1938
+ * @memberof CreatePaymentRequestRequest
1939
+ */
1940
+ 'description'?: string;
1941
+ }
1905
1942
  /**
1906
1943
  *
1907
1944
  * @export
@@ -2081,6 +2118,19 @@ export interface CreateShiftRequest {
2081
2118
  */
2082
2119
  'roles': Array<string>;
2083
2120
  }
2121
+ /**
2122
+ *
2123
+ * @export
2124
+ * @interface CreateTerminalPaymentRequest
2125
+ */
2126
+ export interface CreateTerminalPaymentRequest {
2127
+ /**
2128
+ *
2129
+ * @type {TransactionRequest}
2130
+ * @memberof CreateTerminalPaymentRequest
2131
+ */
2132
+ 'transaction': TransactionRequest;
2133
+ }
2084
2134
  /**
2085
2135
  *
2086
2136
  * @export
@@ -3232,25 +3282,38 @@ export interface InvoiceUserResponse {
3232
3282
  /**
3233
3283
  *
3234
3284
  * @export
3235
- * @interface MemberAuthenticationSecurePinRequest
3285
+ * @interface MarkFulfilledExternallyRequest
3286
+ */
3287
+ export interface MarkFulfilledExternallyRequest {
3288
+ /**
3289
+ * Why this request is being marked paid out-of-band (audit trail).
3290
+ * @type {string}
3291
+ * @memberof MarkFulfilledExternallyRequest
3292
+ */
3293
+ 'reason': string;
3294
+ }
3295
+ /**
3296
+ *
3297
+ * @export
3298
+ * @interface MemberAuthenticationPinRequest
3236
3299
  */
3237
- export interface MemberAuthenticationSecurePinRequest {
3300
+ export interface MemberAuthenticationPinRequest {
3238
3301
  /**
3239
3302
  *
3240
3303
  * @type {number}
3241
- * @memberof MemberAuthenticationSecurePinRequest
3304
+ * @memberof MemberAuthenticationPinRequest
3242
3305
  */
3243
3306
  'memberId': number;
3244
3307
  /**
3245
3308
  *
3246
3309
  * @type {string}
3247
- * @memberof MemberAuthenticationSecurePinRequest
3310
+ * @memberof MemberAuthenticationPinRequest
3248
3311
  */
3249
3312
  'pin': string;
3250
3313
  /**
3251
3314
  * POS identifier
3252
3315
  * @type {number}
3253
- * @memberof MemberAuthenticationSecurePinRequest
3316
+ * @memberof MemberAuthenticationPinRequest
3254
3317
  */
3255
3318
  'posId': number;
3256
3319
  }
@@ -4157,6 +4220,19 @@ export interface PointOfSaleWithContainersResponse {
4157
4220
  */
4158
4221
  'containers': Array<ContainerWithProductsResponse>;
4159
4222
  }
4223
+ /**
4224
+ *
4225
+ * @export
4226
+ * @interface ProcessTerminalPaymentRequest
4227
+ */
4228
+ export interface ProcessTerminalPaymentRequest {
4229
+ /**
4230
+ * The ID of the Stripe terminal to perform the payment with
4231
+ * @type {string}
4232
+ * @memberof ProcessTerminalPaymentRequest
4233
+ */
4234
+ 'stripeTerminalId': string;
4235
+ }
4160
4236
  /**
4161
4237
  * API Request for creating or updating a `product category` entity.
4162
4238
  * @export
@@ -5049,6 +5125,37 @@ export interface StripePaymentIntentStatusResponse {
5049
5125
  */
5050
5126
  'state': number;
5051
5127
  }
5128
+ /**
5129
+ *
5130
+ * @export
5131
+ * @interface StripePaymentTerminalResponse
5132
+ */
5133
+ export interface StripePaymentTerminalResponse {
5134
+ /**
5135
+ * The ID of the payment terminal
5136
+ * @type {string}
5137
+ * @memberof StripePaymentTerminalResponse
5138
+ */
5139
+ 'id': string;
5140
+ /**
5141
+ * The name of the payment terminal
5142
+ * @type {string}
5143
+ * @memberof StripePaymentTerminalResponse
5144
+ */
5145
+ 'name': string;
5146
+ /**
5147
+ * When the terminal was last seen. If more than 1 minute ago, the terminal might be offline. If more than 5 minutes ago, it is definitely offline.
5148
+ * @type {string}
5149
+ * @memberof StripePaymentTerminalResponse
5150
+ */
5151
+ 'lastSeenAt': string;
5152
+ /**
5153
+ * Whether the terminal is available to start processing a payment
5154
+ * @type {boolean}
5155
+ * @memberof StripePaymentTerminalResponse
5156
+ */
5157
+ 'available': boolean;
5158
+ }
5052
5159
  /**
5053
5160
  *
5054
5161
  * @export
@@ -5241,6 +5348,67 @@ export interface SubTransactionRowResponse {
5241
5348
  */
5242
5349
  'totalPriceInclVat': DineroObjectResponse;
5243
5350
  }
5351
+ /**
5352
+ *
5353
+ * @export
5354
+ * @interface TerminalPaymentResponse
5355
+ */
5356
+ export interface TerminalPaymentResponse {
5357
+ /**
5358
+ * The unique id of the entity.
5359
+ * @type {number}
5360
+ * @memberof TerminalPaymentResponse
5361
+ */
5362
+ 'id': number;
5363
+ /**
5364
+ * The creation Date of the entity.
5365
+ * @type {string}
5366
+ * @memberof TerminalPaymentResponse
5367
+ */
5368
+ 'createdAt'?: string;
5369
+ /**
5370
+ * The last update Date of the entity.
5371
+ * @type {string}
5372
+ * @memberof TerminalPaymentResponse
5373
+ */
5374
+ 'updatedAt'?: string;
5375
+ /**
5376
+ * The version of the entity.
5377
+ * @type {number}
5378
+ * @memberof TerminalPaymentResponse
5379
+ */
5380
+ 'version'?: number;
5381
+ /**
5382
+ *
5383
+ * @type {TransactionResponse}
5384
+ * @memberof TerminalPaymentResponse
5385
+ */
5386
+ 'transaction'?: TransactionResponse;
5387
+ /**
5388
+ *
5389
+ * @type {TransferResponse}
5390
+ * @memberof TerminalPaymentResponse
5391
+ */
5392
+ 'transfer'?: TransferResponse;
5393
+ /**
5394
+ *
5395
+ * @type {BaseUserResponse}
5396
+ * @memberof TerminalPaymentResponse
5397
+ */
5398
+ 'createdBy': BaseUserResponse;
5399
+ /**
5400
+ * The state of the terminal payment. One of \'created\', \'processing\', \'paid\' or \'cancelled\'.
5401
+ * @type {string}
5402
+ * @memberof TerminalPaymentResponse
5403
+ */
5404
+ 'state': string;
5405
+ /**
5406
+ *
5407
+ * @type {DineroObjectResponse}
5408
+ * @memberof TerminalPaymentResponse
5409
+ */
5410
+ 'amount': DineroObjectResponse;
5411
+ }
5244
5412
  /**
5245
5413
  *
5246
5414
  * @export
@@ -5253,6 +5421,12 @@ export interface TermsOfServiceResponse {
5253
5421
  * @memberof TermsOfServiceResponse
5254
5422
  */
5255
5423
  'versionNumber': string;
5424
+ /**
5425
+ * The date this version took effect.
5426
+ * @type {string}
5427
+ * @memberof TermsOfServiceResponse
5428
+ */
5429
+ 'date': string;
5256
5430
  /**
5257
5431
  * The terms of service content.
5258
5432
  * @type {string}
@@ -5260,6 +5434,17 @@ export interface TermsOfServiceResponse {
5260
5434
  */
5261
5435
  'content': string;
5262
5436
  }
5437
+ /**
5438
+ * The terms of service status of a user
5439
+ * @export
5440
+ * @enum {string}
5441
+ */
5442
+ export declare const TermsOfServiceStatus: {
5443
+ readonly Accepted: "ACCEPTED";
5444
+ readonly NotAccepted: "NOT_ACCEPTED";
5445
+ readonly NotRequired: "NOT_REQUIRED";
5446
+ };
5447
+ export type TermsOfServiceStatus = typeof TermsOfServiceStatus[keyof typeof TermsOfServiceStatus];
5263
5448
  /**
5264
5449
  *
5265
5450
  * @export
@@ -6507,11 +6692,11 @@ export interface UserResponse {
6507
6692
  */
6508
6693
  'email'?: string;
6509
6694
  /**
6510
- * Whether this user has accepted the TOS
6511
- * @type {string}
6695
+ * Whether this user is required to accept the TOS
6696
+ * @type {boolean}
6512
6697
  * @memberof UserResponse
6513
6698
  */
6514
- 'acceptedToS'?: string;
6699
+ 'tosRequired'?: boolean;
6515
6700
  /**
6516
6701
  * Whether data about this user can be used (non-anonymously) for more data science!
6517
6702
  * @type {boolean}
@@ -6660,6 +6845,50 @@ export interface UserToInactiveAdministrativeCostResponse {
6660
6845
  */
6661
6846
  'nickname'?: string;
6662
6847
  }
6848
+ /**
6849
+ *
6850
+ * @export
6851
+ * @interface UserTosAcceptanceResponse
6852
+ */
6853
+ export interface UserTosAcceptanceResponse {
6854
+ /**
6855
+ * The accepted terms of service version number.
6856
+ * @type {string}
6857
+ * @memberof UserTosAcceptanceResponse
6858
+ */
6859
+ 'versionNumber': string;
6860
+ /**
6861
+ * The date at which this version was accepted.
6862
+ * @type {string}
6863
+ * @memberof UserTosAcceptanceResponse
6864
+ */
6865
+ 'acceptedAt': string;
6866
+ }
6867
+ /**
6868
+ *
6869
+ * @export
6870
+ * @interface UserTosResponse
6871
+ */
6872
+ export interface UserTosResponse {
6873
+ /**
6874
+ *
6875
+ * @type {TermsOfServiceStatus}
6876
+ * @memberof UserTosResponse
6877
+ */
6878
+ 'status': TermsOfServiceStatus;
6879
+ /**
6880
+ * The current terms of service version number.
6881
+ * @type {string}
6882
+ * @memberof UserTosResponse
6883
+ */
6884
+ 'currentVersion': string;
6885
+ /**
6886
+ * All TOS versions the user has accepted.
6887
+ * @type {Array<UserTosAcceptanceResponse>}
6888
+ * @memberof UserTosResponse
6889
+ */
6890
+ 'acceptances': Array<UserTosAcceptanceResponse>;
6891
+ }
6663
6892
  /**
6664
6893
  * The type of a user
6665
6894
  * @export
@@ -7227,14 +7456,22 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7227
7456
  confirmQRCode: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7228
7457
  /**
7229
7458
  *
7230
- * @summary Generate a QR code for authentication
7459
+ * @summary EAN authentication that requires POS user authentication
7460
+ * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login request with posId
7231
7461
  * @param {*} [options] Override http request option.
7232
7462
  * @throws {RequiredError}
7233
7463
  */
7234
- generateQRCode: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7464
+ eanAuthentication: (authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7235
7465
  /**
7236
7466
  *
7237
- * @summary Get the GEWISWeb public token used by SudoSOS
7467
+ * @summary Generate a QR code for authentication
7468
+ * @param {*} [options] Override http request option.
7469
+ * @throws {RequiredError}
7470
+ */
7471
+ generateQRCode: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7472
+ /**
7473
+ *
7474
+ * @summary Get the GEWISWeb public token used by SudoSOS
7238
7475
  * @param {*} [options] Override http request option.
7239
7476
  * @throws {RequiredError}
7240
7477
  */
@@ -7296,67 +7533,59 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7296
7533
  localAuthentication: (authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7297
7534
  /**
7298
7535
  *
7299
- * @summary Mock login and hand out token.
7300
- * @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
7301
- * @param {*} [options] Override http request option.
7302
- * @throws {RequiredError}
7303
- */
7304
- mockAuthentication: (authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7305
- /**
7306
- *
7307
- * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7536
+ * @summary Member PIN authentication that requires POS user authentication
7537
+ * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login request with posId
7308
7538
  * @param {*} [options] Override http request option.
7309
7539
  * @throws {RequiredError}
7310
7540
  */
7311
- refreshToken: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7541
+ memberPINAuthentication: (memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7312
7542
  /**
7313
7543
  *
7314
- * @summary Creates a reset token for the local authentication
7315
- * @param {ResetLocalRequest} resetLocalRequest The reset info.
7544
+ * @summary Mock login and hand out token.
7545
+ * @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
7316
7546
  * @param {*} [options] Override http request option.
7317
7547
  * @throws {RequiredError}
7318
7548
  */
7319
- resetLocal: (resetLocalRequest: ResetLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7549
+ mockAuthentication: (authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7320
7550
  /**
7321
7551
  *
7322
- * @summary Reset local authentication using the provided token
7323
- * @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
7552
+ * @summary NFC authentication that requires POS user authentication
7553
+ * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login request with posId
7324
7554
  * @param {*} [options] Override http request option.
7325
7555
  * @throws {RequiredError}
7326
7556
  */
7327
- resetLocalWithToken: (authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7557
+ nfcAuthentication: (authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7328
7558
  /**
7329
7559
  *
7330
- * @summary Secure EAN authentication that requires POS user authentication
7331
- * @param {AuthenticationSecureEanRequest} authenticationSecureEanRequest The EAN login request with posId
7560
+ * @summary PIN authentication that requires POS user authentication
7561
+ * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login request with posId
7332
7562
  * @param {*} [options] Override http request option.
7333
7563
  * @throws {RequiredError}
7334
7564
  */
7335
- secureEanAuthentication: (authenticationSecureEanRequest: AuthenticationSecureEanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7565
+ pinAuthentication: (authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7336
7566
  /**
7337
7567
  *
7338
- * @summary Secure member PIN authentication that requires POS user authentication
7339
- * @param {MemberAuthenticationSecurePinRequest} memberAuthenticationSecurePinRequest The PIN login request with posId
7568
+ * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7340
7569
  * @param {*} [options] Override http request option.
7341
7570
  * @throws {RequiredError}
7342
7571
  */
7343
- secureMemberPINAuthentication: (memberAuthenticationSecurePinRequest: MemberAuthenticationSecurePinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7572
+ refreshToken: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7344
7573
  /**
7345
7574
  *
7346
- * @summary Secure NFC authentication that requires POS user authentication
7347
- * @param {AuthenticationSecureNfcRequest} authenticationSecureNfcRequest The NFC login request with posId
7575
+ * @summary Creates a reset token for the local authentication
7576
+ * @param {ResetLocalRequest} resetLocalRequest The reset info.
7348
7577
  * @param {*} [options] Override http request option.
7349
7578
  * @throws {RequiredError}
7350
7579
  */
7351
- secureNfcAuthentication: (authenticationSecureNfcRequest: AuthenticationSecureNfcRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7580
+ resetLocal: (resetLocalRequest: ResetLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7352
7581
  /**
7353
7582
  *
7354
- * @summary Secure PIN authentication that requires POS user authentication
7355
- * @param {AuthenticationSecurePinRequest} authenticationSecurePinRequest The PIN login request with posId
7583
+ * @summary Reset local authentication using the provided token
7584
+ * @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
7356
7585
  * @param {*} [options] Override http request option.
7357
7586
  * @throws {RequiredError}
7358
7587
  */
7359
- securePINAuthentication: (authenticationSecurePinRequest: AuthenticationSecurePinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7588
+ resetLocalWithToken: (authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7360
7589
  };
7361
7590
  /**
7362
7591
  * AuthenticateApi - functional programming interface
@@ -7387,6 +7616,14 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7387
7616
  * @throws {RequiredError}
7388
7617
  */
7389
7618
  confirmQRCode(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7619
+ /**
7620
+ *
7621
+ * @summary EAN authentication that requires POS user authentication
7622
+ * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login request with posId
7623
+ * @param {*} [options] Override http request option.
7624
+ * @throws {RequiredError}
7625
+ */
7626
+ eanAuthentication(authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7390
7627
  /**
7391
7628
  *
7392
7629
  * @summary Generate a QR code for authentication
@@ -7458,67 +7695,59 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7458
7695
  localAuthentication(authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7459
7696
  /**
7460
7697
  *
7461
- * @summary Mock login and hand out token.
7462
- * @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
7463
- * @param {*} [options] Override http request option.
7464
- * @throws {RequiredError}
7465
- */
7466
- mockAuthentication(authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7467
- /**
7468
- *
7469
- * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7698
+ * @summary Member PIN authentication that requires POS user authentication
7699
+ * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login request with posId
7470
7700
  * @param {*} [options] Override http request option.
7471
7701
  * @throws {RequiredError}
7472
7702
  */
7473
- refreshToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7703
+ memberPINAuthentication(memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7474
7704
  /**
7475
7705
  *
7476
- * @summary Creates a reset token for the local authentication
7477
- * @param {ResetLocalRequest} resetLocalRequest The reset info.
7706
+ * @summary Mock login and hand out token.
7707
+ * @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
7478
7708
  * @param {*} [options] Override http request option.
7479
7709
  * @throws {RequiredError}
7480
7710
  */
7481
- resetLocal(resetLocalRequest: ResetLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7711
+ mockAuthentication(authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7482
7712
  /**
7483
7713
  *
7484
- * @summary Reset local authentication using the provided token
7485
- * @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
7714
+ * @summary NFC authentication that requires POS user authentication
7715
+ * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login request with posId
7486
7716
  * @param {*} [options] Override http request option.
7487
7717
  * @throws {RequiredError}
7488
7718
  */
7489
- resetLocalWithToken(authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7719
+ nfcAuthentication(authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7490
7720
  /**
7491
7721
  *
7492
- * @summary Secure EAN authentication that requires POS user authentication
7493
- * @param {AuthenticationSecureEanRequest} authenticationSecureEanRequest The EAN login request with posId
7722
+ * @summary PIN authentication that requires POS user authentication
7723
+ * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login request with posId
7494
7724
  * @param {*} [options] Override http request option.
7495
7725
  * @throws {RequiredError}
7496
7726
  */
7497
- secureEanAuthentication(authenticationSecureEanRequest: AuthenticationSecureEanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7727
+ pinAuthentication(authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7498
7728
  /**
7499
7729
  *
7500
- * @summary Secure member PIN authentication that requires POS user authentication
7501
- * @param {MemberAuthenticationSecurePinRequest} memberAuthenticationSecurePinRequest The PIN login request with posId
7730
+ * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7502
7731
  * @param {*} [options] Override http request option.
7503
7732
  * @throws {RequiredError}
7504
7733
  */
7505
- secureMemberPINAuthentication(memberAuthenticationSecurePinRequest: MemberAuthenticationSecurePinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7734
+ refreshToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7506
7735
  /**
7507
7736
  *
7508
- * @summary Secure NFC authentication that requires POS user authentication
7509
- * @param {AuthenticationSecureNfcRequest} authenticationSecureNfcRequest The NFC login request with posId
7737
+ * @summary Creates a reset token for the local authentication
7738
+ * @param {ResetLocalRequest} resetLocalRequest The reset info.
7510
7739
  * @param {*} [options] Override http request option.
7511
7740
  * @throws {RequiredError}
7512
7741
  */
7513
- secureNfcAuthentication(authenticationSecureNfcRequest: AuthenticationSecureNfcRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7742
+ resetLocal(resetLocalRequest: ResetLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7514
7743
  /**
7515
7744
  *
7516
- * @summary Secure PIN authentication that requires POS user authentication
7517
- * @param {AuthenticationSecurePinRequest} authenticationSecurePinRequest The PIN login request with posId
7745
+ * @summary Reset local authentication using the provided token
7746
+ * @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
7518
7747
  * @param {*} [options] Override http request option.
7519
7748
  * @throws {RequiredError}
7520
7749
  */
7521
- securePINAuthentication(authenticationSecurePinRequest: AuthenticationSecurePinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7750
+ resetLocalWithToken(authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7522
7751
  };
7523
7752
  /**
7524
7753
  * AuthenticateApi - factory interface
@@ -7549,6 +7778,14 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7549
7778
  * @throws {RequiredError}
7550
7779
  */
7551
7780
  confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7781
+ /**
7782
+ *
7783
+ * @summary EAN authentication that requires POS user authentication
7784
+ * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
7785
+ * @param {*} [options] Override http request option.
7786
+ * @throws {RequiredError}
7787
+ */
7788
+ eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7552
7789
  /**
7553
7790
  *
7554
7791
  * @summary Generate a QR code for authentication
@@ -7620,67 +7857,59 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7620
7857
  localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7621
7858
  /**
7622
7859
  *
7623
- * @summary Mock login and hand out token.
7624
- * @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
7625
- * @param {*} [options] Override http request option.
7626
- * @throws {RequiredError}
7627
- */
7628
- mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7629
- /**
7630
- *
7631
- * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7860
+ * @summary Member PIN authentication that requires POS user authentication
7861
+ * @param {AuthenticateApiMemberPINAuthenticationRequest} requestParameters Request parameters.
7632
7862
  * @param {*} [options] Override http request option.
7633
7863
  * @throws {RequiredError}
7634
7864
  */
7635
- refreshToken(options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7865
+ memberPINAuthentication(requestParameters: AuthenticateApiMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7636
7866
  /**
7637
7867
  *
7638
- * @summary Creates a reset token for the local authentication
7639
- * @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
7868
+ * @summary Mock login and hand out token.
7869
+ * @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
7640
7870
  * @param {*} [options] Override http request option.
7641
7871
  * @throws {RequiredError}
7642
7872
  */
7643
- resetLocal(requestParameters: AuthenticateApiResetLocalRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7873
+ mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7644
7874
  /**
7645
7875
  *
7646
- * @summary Reset local authentication using the provided token
7647
- * @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
7876
+ * @summary NFC authentication that requires POS user authentication
7877
+ * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
7648
7878
  * @param {*} [options] Override http request option.
7649
7879
  * @throws {RequiredError}
7650
7880
  */
7651
- resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7881
+ nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7652
7882
  /**
7653
7883
  *
7654
- * @summary Secure EAN authentication that requires POS user authentication
7655
- * @param {AuthenticateApiSecureEanAuthenticationRequest} requestParameters Request parameters.
7884
+ * @summary PIN authentication that requires POS user authentication
7885
+ * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
7656
7886
  * @param {*} [options] Override http request option.
7657
7887
  * @throws {RequiredError}
7658
7888
  */
7659
- secureEanAuthentication(requestParameters: AuthenticateApiSecureEanAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7889
+ pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7660
7890
  /**
7661
7891
  *
7662
- * @summary Secure member PIN authentication that requires POS user authentication
7663
- * @param {AuthenticateApiSecureMemberPINAuthenticationRequest} requestParameters Request parameters.
7892
+ * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7664
7893
  * @param {*} [options] Override http request option.
7665
7894
  * @throws {RequiredError}
7666
7895
  */
7667
- secureMemberPINAuthentication(requestParameters: AuthenticateApiSecureMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7896
+ refreshToken(options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7668
7897
  /**
7669
7898
  *
7670
- * @summary Secure NFC authentication that requires POS user authentication
7671
- * @param {AuthenticateApiSecureNfcAuthenticationRequest} requestParameters Request parameters.
7899
+ * @summary Creates a reset token for the local authentication
7900
+ * @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
7672
7901
  * @param {*} [options] Override http request option.
7673
7902
  * @throws {RequiredError}
7674
7903
  */
7675
- secureNfcAuthentication(requestParameters: AuthenticateApiSecureNfcAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7904
+ resetLocal(requestParameters: AuthenticateApiResetLocalRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7676
7905
  /**
7677
7906
  *
7678
- * @summary Secure PIN authentication that requires POS user authentication
7679
- * @param {AuthenticateApiSecurePINAuthenticationRequest} requestParameters Request parameters.
7907
+ * @summary Reset local authentication using the provided token
7908
+ * @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
7680
7909
  * @param {*} [options] Override http request option.
7681
7910
  * @throws {RequiredError}
7682
7911
  */
7683
- securePINAuthentication(requestParameters: AuthenticateApiSecurePINAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7912
+ resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7684
7913
  };
7685
7914
  /**
7686
7915
  * Request parameters for authenticatePointOfSale operation in AuthenticateApi.
@@ -7721,6 +7950,19 @@ export interface AuthenticateApiConfirmQRCodeRequest {
7721
7950
  */
7722
7951
  readonly sessionId: string;
7723
7952
  }
7953
+ /**
7954
+ * Request parameters for eanAuthentication operation in AuthenticateApi.
7955
+ * @export
7956
+ * @interface AuthenticateApiEanAuthenticationRequest
7957
+ */
7958
+ export interface AuthenticateApiEanAuthenticationRequest {
7959
+ /**
7960
+ * The EAN login request with posId
7961
+ * @type {AuthenticationEanRequest}
7962
+ * @memberof AuthenticateApiEanAuthentication
7963
+ */
7964
+ readonly authenticationEanRequest: AuthenticationEanRequest;
7965
+ }
7724
7966
  /**
7725
7967
  * Request parameters for getQRStatus operation in AuthenticateApi.
7726
7968
  * @export
@@ -7799,6 +8041,19 @@ export interface AuthenticateApiLocalAuthenticationRequest {
7799
8041
  */
7800
8042
  readonly authenticationLocalRequest: AuthenticationLocalRequest;
7801
8043
  }
8044
+ /**
8045
+ * Request parameters for memberPINAuthentication operation in AuthenticateApi.
8046
+ * @export
8047
+ * @interface AuthenticateApiMemberPINAuthenticationRequest
8048
+ */
8049
+ export interface AuthenticateApiMemberPINAuthenticationRequest {
8050
+ /**
8051
+ * The PIN login request with posId
8052
+ * @type {MemberAuthenticationPinRequest}
8053
+ * @memberof AuthenticateApiMemberPINAuthentication
8054
+ */
8055
+ readonly memberAuthenticationPinRequest: MemberAuthenticationPinRequest;
8056
+ }
7802
8057
  /**
7803
8058
  * Request parameters for mockAuthentication operation in AuthenticateApi.
7804
8059
  * @export
@@ -7812,6 +8067,32 @@ export interface AuthenticateApiMockAuthenticationRequest {
7812
8067
  */
7813
8068
  readonly authenticationMockRequest: AuthenticationMockRequest;
7814
8069
  }
8070
+ /**
8071
+ * Request parameters for nfcAuthentication operation in AuthenticateApi.
8072
+ * @export
8073
+ * @interface AuthenticateApiNfcAuthenticationRequest
8074
+ */
8075
+ export interface AuthenticateApiNfcAuthenticationRequest {
8076
+ /**
8077
+ * The NFC login request with posId
8078
+ * @type {AuthenticationNfcRequest}
8079
+ * @memberof AuthenticateApiNfcAuthentication
8080
+ */
8081
+ readonly authenticationNfcRequest: AuthenticationNfcRequest;
8082
+ }
8083
+ /**
8084
+ * Request parameters for pinAuthentication operation in AuthenticateApi.
8085
+ * @export
8086
+ * @interface AuthenticateApiPinAuthenticationRequest
8087
+ */
8088
+ export interface AuthenticateApiPinAuthenticationRequest {
8089
+ /**
8090
+ * The PIN login request with posId
8091
+ * @type {AuthenticationPinRequest}
8092
+ * @memberof AuthenticateApiPinAuthentication
8093
+ */
8094
+ readonly authenticationPinRequest: AuthenticationPinRequest;
8095
+ }
7815
8096
  /**
7816
8097
  * Request parameters for resetLocal operation in AuthenticateApi.
7817
8098
  * @export
@@ -7838,58 +8119,6 @@ export interface AuthenticateApiResetLocalWithTokenRequest {
7838
8119
  */
7839
8120
  readonly authenticationResetTokenRequest: AuthenticationResetTokenRequest;
7840
8121
  }
7841
- /**
7842
- * Request parameters for secureEanAuthentication operation in AuthenticateApi.
7843
- * @export
7844
- * @interface AuthenticateApiSecureEanAuthenticationRequest
7845
- */
7846
- export interface AuthenticateApiSecureEanAuthenticationRequest {
7847
- /**
7848
- * The EAN login request with posId
7849
- * @type {AuthenticationSecureEanRequest}
7850
- * @memberof AuthenticateApiSecureEanAuthentication
7851
- */
7852
- readonly authenticationSecureEanRequest: AuthenticationSecureEanRequest;
7853
- }
7854
- /**
7855
- * Request parameters for secureMemberPINAuthentication operation in AuthenticateApi.
7856
- * @export
7857
- * @interface AuthenticateApiSecureMemberPINAuthenticationRequest
7858
- */
7859
- export interface AuthenticateApiSecureMemberPINAuthenticationRequest {
7860
- /**
7861
- * The PIN login request with posId
7862
- * @type {MemberAuthenticationSecurePinRequest}
7863
- * @memberof AuthenticateApiSecureMemberPINAuthentication
7864
- */
7865
- readonly memberAuthenticationSecurePinRequest: MemberAuthenticationSecurePinRequest;
7866
- }
7867
- /**
7868
- * Request parameters for secureNfcAuthentication operation in AuthenticateApi.
7869
- * @export
7870
- * @interface AuthenticateApiSecureNfcAuthenticationRequest
7871
- */
7872
- export interface AuthenticateApiSecureNfcAuthenticationRequest {
7873
- /**
7874
- * The NFC login request with posId
7875
- * @type {AuthenticationSecureNfcRequest}
7876
- * @memberof AuthenticateApiSecureNfcAuthentication
7877
- */
7878
- readonly authenticationSecureNfcRequest: AuthenticationSecureNfcRequest;
7879
- }
7880
- /**
7881
- * Request parameters for securePINAuthentication operation in AuthenticateApi.
7882
- * @export
7883
- * @interface AuthenticateApiSecurePINAuthenticationRequest
7884
- */
7885
- export interface AuthenticateApiSecurePINAuthenticationRequest {
7886
- /**
7887
- * The PIN login request with posId
7888
- * @type {AuthenticationSecurePinRequest}
7889
- * @memberof AuthenticateApiSecurePINAuthentication
7890
- */
7891
- readonly authenticationSecurePinRequest: AuthenticationSecurePinRequest;
7892
- }
7893
8122
  /**
7894
8123
  * AuthenticateApi - object-oriented interface
7895
8124
  * @export
@@ -7924,6 +8153,15 @@ export declare class AuthenticateApi extends BaseAPI {
7924
8153
  * @memberof AuthenticateApi
7925
8154
  */
7926
8155
  confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8156
+ /**
8157
+ *
8158
+ * @summary EAN authentication that requires POS user authentication
8159
+ * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
8160
+ * @param {*} [options] Override http request option.
8161
+ * @throws {RequiredError}
8162
+ * @memberof AuthenticateApi
8163
+ */
8164
+ eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7927
8165
  /**
7928
8166
  *
7929
8167
  * @summary Generate a QR code for authentication
@@ -8004,75 +8242,66 @@ export declare class AuthenticateApi extends BaseAPI {
8004
8242
  localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8005
8243
  /**
8006
8244
  *
8007
- * @summary Mock login and hand out token.
8008
- * @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
8009
- * @param {*} [options] Override http request option.
8010
- * @throws {RequiredError}
8011
- * @memberof AuthenticateApi
8012
- */
8013
- mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8014
- /**
8015
- *
8016
- * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
8245
+ * @summary Member PIN authentication that requires POS user authentication
8246
+ * @param {AuthenticateApiMemberPINAuthenticationRequest} requestParameters Request parameters.
8017
8247
  * @param {*} [options] Override http request option.
8018
8248
  * @throws {RequiredError}
8019
8249
  * @memberof AuthenticateApi
8020
8250
  */
8021
- refreshToken(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8251
+ memberPINAuthentication(requestParameters: AuthenticateApiMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8022
8252
  /**
8023
8253
  *
8024
- * @summary Creates a reset token for the local authentication
8025
- * @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
8254
+ * @summary Mock login and hand out token.
8255
+ * @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
8026
8256
  * @param {*} [options] Override http request option.
8027
8257
  * @throws {RequiredError}
8028
8258
  * @memberof AuthenticateApi
8029
8259
  */
8030
- resetLocal(requestParameters: AuthenticateApiResetLocalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8260
+ mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8031
8261
  /**
8032
8262
  *
8033
- * @summary Reset local authentication using the provided token
8034
- * @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
8263
+ * @summary NFC authentication that requires POS user authentication
8264
+ * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
8035
8265
  * @param {*} [options] Override http request option.
8036
8266
  * @throws {RequiredError}
8037
8267
  * @memberof AuthenticateApi
8038
8268
  */
8039
- resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8269
+ nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8040
8270
  /**
8041
8271
  *
8042
- * @summary Secure EAN authentication that requires POS user authentication
8043
- * @param {AuthenticateApiSecureEanAuthenticationRequest} requestParameters Request parameters.
8272
+ * @summary PIN authentication that requires POS user authentication
8273
+ * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
8044
8274
  * @param {*} [options] Override http request option.
8045
8275
  * @throws {RequiredError}
8046
8276
  * @memberof AuthenticateApi
8047
8277
  */
8048
- secureEanAuthentication(requestParameters: AuthenticateApiSecureEanAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8278
+ pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8049
8279
  /**
8050
8280
  *
8051
- * @summary Secure member PIN authentication that requires POS user authentication
8052
- * @param {AuthenticateApiSecureMemberPINAuthenticationRequest} requestParameters Request parameters.
8281
+ * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
8053
8282
  * @param {*} [options] Override http request option.
8054
8283
  * @throws {RequiredError}
8055
8284
  * @memberof AuthenticateApi
8056
8285
  */
8057
- secureMemberPINAuthentication(requestParameters: AuthenticateApiSecureMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8286
+ refreshToken(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8058
8287
  /**
8059
8288
  *
8060
- * @summary Secure NFC authentication that requires POS user authentication
8061
- * @param {AuthenticateApiSecureNfcAuthenticationRequest} requestParameters Request parameters.
8289
+ * @summary Creates a reset token for the local authentication
8290
+ * @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
8062
8291
  * @param {*} [options] Override http request option.
8063
8292
  * @throws {RequiredError}
8064
8293
  * @memberof AuthenticateApi
8065
8294
  */
8066
- secureNfcAuthentication(requestParameters: AuthenticateApiSecureNfcAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8295
+ resetLocal(requestParameters: AuthenticateApiResetLocalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8067
8296
  /**
8068
8297
  *
8069
- * @summary Secure PIN authentication that requires POS user authentication
8070
- * @param {AuthenticateApiSecurePINAuthenticationRequest} requestParameters Request parameters.
8298
+ * @summary Reset local authentication using the provided token
8299
+ * @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
8071
8300
  * @param {*} [options] Override http request option.
8072
8301
  * @throws {RequiredError}
8073
8302
  * @memberof AuthenticateApi
8074
8303
  */
8075
- securePINAuthentication(requestParameters: AuthenticateApiSecurePINAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8304
+ resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8076
8305
  }
8077
8306
  /**
8078
8307
  * BalanceApi - axios parameter creator
@@ -11731,134 +11960,620 @@ export declare class InvoicesApi extends BaseAPI {
11731
11960
  updateInvoice(requestParameters: InvoicesApiUpdateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseInvoiceResponse, any, {}>>;
11732
11961
  }
11733
11962
  /**
11734
- * PayoutRequestsApi - axios parameter creator
11963
+ * PaymentRequestsApi - axios parameter creator
11735
11964
  * @export
11736
11965
  */
11737
- export declare const PayoutRequestsApiAxiosParamCreator: (configuration?: Configuration) => {
11966
+ export declare const PaymentRequestsApiAxiosParamCreator: (configuration?: Configuration) => {
11738
11967
  /**
11739
11968
  *
11740
- * @summary Create a new payout request
11741
- * @param {PayoutRequestRequest} payoutRequestRequest New payout request
11969
+ * @summary Cancel a PENDING PaymentRequest.
11970
+ * @param {string} id UUID v4 of the payment request.
11742
11971
  * @param {*} [options] Override http request option.
11743
11972
  * @throws {RequiredError}
11744
11973
  */
11745
- createPayoutRequest: (payoutRequestRequest: PayoutRequestRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11974
+ cancelPaymentRequest: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11746
11975
  /**
11747
11976
  *
11748
- * @summary Returns all payout requests given the filter parameters
11749
- * @param {GetAllPayoutRequestsRequestedByIdParameter} [requestedById] ID of user(s) who requested a payout
11750
- * @param {GetAllPayoutRequestsRequestedByIdParameter} [approvedById] ID of user(s) who approved a payout
11751
- * @param {string} [fromDate] Start date for selected transactions (inclusive)
11752
- * @param {string} [tillDate] End date for selected transactions (exclusive)
11753
- * @param {string} [status] Status of the payout requests (OR relation)
11754
- * @param {number} [take] How many payout requests the endpoint should return
11755
- * @param {number} [skip] How many payout requests should be skipped (for pagination)
11977
+ * @summary Create a new PaymentRequest.
11978
+ * @param {CreatePaymentRequestRequest} createPaymentRequestRequest The request to create
11756
11979
  * @param {*} [options] Override http request option.
11757
11980
  * @throws {RequiredError}
11758
11981
  */
11759
- getAllPayoutRequests: (requestedById?: GetAllPayoutRequestsRequestedByIdParameter, approvedById?: GetAllPayoutRequestsRequestedByIdParameter, fromDate?: string, tillDate?: string, status?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11982
+ createPaymentRequest: (createPaymentRequestRequest: CreatePaymentRequestRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11760
11983
  /**
11761
11984
  *
11762
- * @summary Get a payout request pdf
11763
- * @param {number} id The ID of the payout request object that should be returned
11764
- * @param {boolean} [force] Whether to force regeneration of the pdf
11985
+ * @summary List PaymentRequests (paginated, with filtering by beneficiary, creator, and status)
11986
+ * @param {number} [forId] Filter by beneficiary user id.
11987
+ * @param {number} [createdById] Filter by creator user id.
11988
+ * @param {GetAllPaymentRequestsStatusEnum} [status] Comma-separated list of derived statuses.
11989
+ * @param {string} [fromDate] Filter requests created on or after this ISO date (inclusive).
11990
+ * @param {string} [tillDate] Filter requests created strictly before this ISO date (exclusive).
11991
+ * @param {number} [take] How many rows the endpoint should return
11992
+ * @param {number} [skip] How many rows to skip (for pagination)
11765
11993
  * @param {*} [options] Override http request option.
11766
11994
  * @throws {RequiredError}
11767
11995
  */
11768
- getPayoutRequestPdf: (id: number, force?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11996
+ getAllPaymentRequests: (forId?: number, createdById?: number, status?: GetAllPaymentRequestsStatusEnum, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11769
11997
  /**
11770
11998
  *
11771
- * @summary Get a single payout request
11772
- * @param {number} id The ID of the payout request object that should be returned
11999
+ * @summary Fetch a single PaymentRequest by id.
12000
+ * @param {string} id UUID v4 of the payment request.
11773
12001
  * @param {*} [options] Override http request option.
11774
12002
  * @throws {RequiredError}
11775
12003
  */
11776
- getSinglePayoutRequest: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12004
+ getSinglePaymentRequest: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11777
12005
  /**
11778
12006
  *
11779
- * @summary Create a new status for a payout request
11780
- * @param {number} id The ID of the payout request object that should be returned
11781
- * @param {PayoutRequestStatusRequest} payoutRequestStatusRequest New state of payout request
12007
+ * @summary Admin escape hatch: mark a PaymentRequest paid out-of-band (e.g. bank transfer). Creates a void->user credit Transfer manually.
12008
+ * @param {string} id UUID v4 of the payment request.
12009
+ * @param {MarkFulfilledExternallyRequest} markFulfilledExternallyRequest The audit reason
11782
12010
  * @param {*} [options] Override http request option.
11783
12011
  * @throws {RequiredError}
11784
12012
  */
11785
- setPayoutRequestStatus: (id: number, payoutRequestStatusRequest: PayoutRequestStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12013
+ markPaymentRequestFulfilledExternally: (id: string, markFulfilledExternallyRequest: MarkFulfilledExternallyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12014
+ /**
12015
+ *
12016
+ * @summary Start a Stripe payment session for the given PaymentRequest while authenticated.
12017
+ * @param {string} id UUID v4 of the payment request.
12018
+ * @param {*} [options] Override http request option.
12019
+ * @throws {RequiredError}
12020
+ */
12021
+ startPaymentRequestAuthenticated: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11786
12022
  };
11787
12023
  /**
11788
- * PayoutRequestsApi - functional programming interface
12024
+ * PaymentRequestsApi - functional programming interface
11789
12025
  * @export
11790
12026
  */
11791
- export declare const PayoutRequestsApiFp: (configuration?: Configuration) => {
12027
+ export declare const PaymentRequestsApiFp: (configuration?: Configuration) => {
11792
12028
  /**
11793
12029
  *
11794
- * @summary Create a new payout request
11795
- * @param {PayoutRequestRequest} payoutRequestRequest New payout request
12030
+ * @summary Cancel a PENDING PaymentRequest.
12031
+ * @param {string} id UUID v4 of the payment request.
11796
12032
  * @param {*} [options] Override http request option.
11797
12033
  * @throws {RequiredError}
11798
12034
  */
11799
- createPayoutRequest(payoutRequestRequest: PayoutRequestRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutRequestResponse>>;
12035
+ cancelPaymentRequest(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BasePaymentRequestResponse>>;
11800
12036
  /**
11801
12037
  *
11802
- * @summary Returns all payout requests given the filter parameters
11803
- * @param {GetAllPayoutRequestsRequestedByIdParameter} [requestedById] ID of user(s) who requested a payout
11804
- * @param {GetAllPayoutRequestsRequestedByIdParameter} [approvedById] ID of user(s) who approved a payout
11805
- * @param {string} [fromDate] Start date for selected transactions (inclusive)
11806
- * @param {string} [tillDate] End date for selected transactions (exclusive)
11807
- * @param {string} [status] Status of the payout requests (OR relation)
11808
- * @param {number} [take] How many payout requests the endpoint should return
11809
- * @param {number} [skip] How many payout requests should be skipped (for pagination)
12038
+ * @summary Create a new PaymentRequest.
12039
+ * @param {CreatePaymentRequestRequest} createPaymentRequestRequest The request to create
11810
12040
  * @param {*} [options] Override http request option.
11811
12041
  * @throws {RequiredError}
11812
12042
  */
11813
- getAllPayoutRequests(requestedById?: GetAllPayoutRequestsRequestedByIdParameter, approvedById?: GetAllPayoutRequestsRequestedByIdParameter, fromDate?: string, tillDate?: string, status?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedBasePayoutRequestResponse>>;
12043
+ createPaymentRequest(createPaymentRequestRequest: CreatePaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BasePaymentRequestResponse>>;
11814
12044
  /**
11815
12045
  *
11816
- * @summary Get a payout request pdf
11817
- * @param {number} id The ID of the payout request object that should be returned
11818
- * @param {boolean} [force] Whether to force regeneration of the pdf
12046
+ * @summary List PaymentRequests (paginated, with filtering by beneficiary, creator, and status)
12047
+ * @param {number} [forId] Filter by beneficiary user id.
12048
+ * @param {number} [createdById] Filter by creator user id.
12049
+ * @param {GetAllPaymentRequestsStatusEnum} [status] Comma-separated list of derived statuses.
12050
+ * @param {string} [fromDate] Filter requests created on or after this ISO date (inclusive).
12051
+ * @param {string} [tillDate] Filter requests created strictly before this ISO date (exclusive).
12052
+ * @param {number} [take] How many rows the endpoint should return
12053
+ * @param {number} [skip] How many rows to skip (for pagination)
11819
12054
  * @param {*} [options] Override http request option.
11820
12055
  * @throws {RequiredError}
11821
12056
  */
11822
- getPayoutRequestPdf(id: number, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PdfUrlResponse>>;
12057
+ getAllPaymentRequests(forId?: number, createdById?: number, status?: GetAllPaymentRequestsStatusEnum, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedBasePaymentRequestResponse>>;
11823
12058
  /**
11824
12059
  *
11825
- * @summary Get a single payout request
11826
- * @param {number} id The ID of the payout request object that should be returned
12060
+ * @summary Fetch a single PaymentRequest by id.
12061
+ * @param {string} id UUID v4 of the payment request.
11827
12062
  * @param {*} [options] Override http request option.
11828
12063
  * @throws {RequiredError}
11829
12064
  */
11830
- getSinglePayoutRequest(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutRequestResponse>>;
12065
+ getSinglePaymentRequest(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BasePaymentRequestResponse>>;
11831
12066
  /**
11832
12067
  *
11833
- * @summary Create a new status for a payout request
11834
- * @param {number} id The ID of the payout request object that should be returned
11835
- * @param {PayoutRequestStatusRequest} payoutRequestStatusRequest New state of payout request
12068
+ * @summary Admin escape hatch: mark a PaymentRequest paid out-of-band (e.g. bank transfer). Creates a void->user credit Transfer manually.
12069
+ * @param {string} id UUID v4 of the payment request.
12070
+ * @param {MarkFulfilledExternallyRequest} markFulfilledExternallyRequest The audit reason
11836
12071
  * @param {*} [options] Override http request option.
11837
12072
  * @throws {RequiredError}
11838
12073
  */
11839
- setPayoutRequestStatus(id: number, payoutRequestStatusRequest: PayoutRequestStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutRequestResponse>>;
12074
+ markPaymentRequestFulfilledExternally(id: string, markFulfilledExternallyRequest: MarkFulfilledExternallyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BasePaymentRequestResponse>>;
12075
+ /**
12076
+ *
12077
+ * @summary Start a Stripe payment session for the given PaymentRequest while authenticated.
12078
+ * @param {string} id UUID v4 of the payment request.
12079
+ * @param {*} [options] Override http request option.
12080
+ * @throws {RequiredError}
12081
+ */
12082
+ startPaymentRequestAuthenticated(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentRequestStartResponse>>;
11840
12083
  };
11841
12084
  /**
11842
- * PayoutRequestsApi - factory interface
12085
+ * PaymentRequestsApi - factory interface
11843
12086
  * @export
11844
12087
  */
11845
- export declare const PayoutRequestsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12088
+ export declare const PaymentRequestsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11846
12089
  /**
11847
12090
  *
11848
- * @summary Create a new payout request
11849
- * @param {PayoutRequestsApiCreatePayoutRequestRequest} requestParameters Request parameters.
12091
+ * @summary Cancel a PENDING PaymentRequest.
12092
+ * @param {PaymentRequestsApiCancelPaymentRequestRequest} requestParameters Request parameters.
11850
12093
  * @param {*} [options] Override http request option.
11851
12094
  * @throws {RequiredError}
11852
12095
  */
11853
- createPayoutRequest(requestParameters: PayoutRequestsApiCreatePayoutRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutRequestResponse>;
12096
+ cancelPaymentRequest(requestParameters: PaymentRequestsApiCancelPaymentRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<BasePaymentRequestResponse>;
11854
12097
  /**
11855
12098
  *
11856
- * @summary Returns all payout requests given the filter parameters
11857
- * @param {PayoutRequestsApiGetAllPayoutRequestsRequest} requestParameters Request parameters.
12099
+ * @summary Create a new PaymentRequest.
12100
+ * @param {PaymentRequestsApiCreatePaymentRequestRequest} requestParameters Request parameters.
11858
12101
  * @param {*} [options] Override http request option.
11859
12102
  * @throws {RequiredError}
11860
12103
  */
11861
- getAllPayoutRequests(requestParameters?: PayoutRequestsApiGetAllPayoutRequestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedBasePayoutRequestResponse>;
12104
+ createPaymentRequest(requestParameters: PaymentRequestsApiCreatePaymentRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<BasePaymentRequestResponse>;
12105
+ /**
12106
+ *
12107
+ * @summary List PaymentRequests (paginated, with filtering by beneficiary, creator, and status)
12108
+ * @param {PaymentRequestsApiGetAllPaymentRequestsRequest} requestParameters Request parameters.
12109
+ * @param {*} [options] Override http request option.
12110
+ * @throws {RequiredError}
12111
+ */
12112
+ getAllPaymentRequests(requestParameters?: PaymentRequestsApiGetAllPaymentRequestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedBasePaymentRequestResponse>;
12113
+ /**
12114
+ *
12115
+ * @summary Fetch a single PaymentRequest by id.
12116
+ * @param {PaymentRequestsApiGetSinglePaymentRequestRequest} requestParameters Request parameters.
12117
+ * @param {*} [options] Override http request option.
12118
+ * @throws {RequiredError}
12119
+ */
12120
+ getSinglePaymentRequest(requestParameters: PaymentRequestsApiGetSinglePaymentRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<BasePaymentRequestResponse>;
12121
+ /**
12122
+ *
12123
+ * @summary Admin escape hatch: mark a PaymentRequest paid out-of-band (e.g. bank transfer). Creates a void->user credit Transfer manually.
12124
+ * @param {PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest} requestParameters Request parameters.
12125
+ * @param {*} [options] Override http request option.
12126
+ * @throws {RequiredError}
12127
+ */
12128
+ markPaymentRequestFulfilledExternally(requestParameters: PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest, options?: RawAxiosRequestConfig): AxiosPromise<BasePaymentRequestResponse>;
12129
+ /**
12130
+ *
12131
+ * @summary Start a Stripe payment session for the given PaymentRequest while authenticated.
12132
+ * @param {PaymentRequestsApiStartPaymentRequestAuthenticatedRequest} requestParameters Request parameters.
12133
+ * @param {*} [options] Override http request option.
12134
+ * @throws {RequiredError}
12135
+ */
12136
+ startPaymentRequestAuthenticated(requestParameters: PaymentRequestsApiStartPaymentRequestAuthenticatedRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentRequestStartResponse>;
12137
+ };
12138
+ /**
12139
+ * Request parameters for cancelPaymentRequest operation in PaymentRequestsApi.
12140
+ * @export
12141
+ * @interface PaymentRequestsApiCancelPaymentRequestRequest
12142
+ */
12143
+ export interface PaymentRequestsApiCancelPaymentRequestRequest {
12144
+ /**
12145
+ * UUID v4 of the payment request.
12146
+ * @type {string}
12147
+ * @memberof PaymentRequestsApiCancelPaymentRequest
12148
+ */
12149
+ readonly id: string;
12150
+ }
12151
+ /**
12152
+ * Request parameters for createPaymentRequest operation in PaymentRequestsApi.
12153
+ * @export
12154
+ * @interface PaymentRequestsApiCreatePaymentRequestRequest
12155
+ */
12156
+ export interface PaymentRequestsApiCreatePaymentRequestRequest {
12157
+ /**
12158
+ * The request to create
12159
+ * @type {CreatePaymentRequestRequest}
12160
+ * @memberof PaymentRequestsApiCreatePaymentRequest
12161
+ */
12162
+ readonly createPaymentRequestRequest: CreatePaymentRequestRequest;
12163
+ }
12164
+ /**
12165
+ * Request parameters for getAllPaymentRequests operation in PaymentRequestsApi.
12166
+ * @export
12167
+ * @interface PaymentRequestsApiGetAllPaymentRequestsRequest
12168
+ */
12169
+ export interface PaymentRequestsApiGetAllPaymentRequestsRequest {
12170
+ /**
12171
+ * Filter by beneficiary user id.
12172
+ * @type {number}
12173
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12174
+ */
12175
+ readonly forId?: number;
12176
+ /**
12177
+ * Filter by creator user id.
12178
+ * @type {number}
12179
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12180
+ */
12181
+ readonly createdById?: number;
12182
+ /**
12183
+ * Comma-separated list of derived statuses.
12184
+ * @type {'PENDING' | 'PAID' | 'EXPIRED' | 'CANCELLED'}
12185
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12186
+ */
12187
+ readonly status?: GetAllPaymentRequestsStatusEnum;
12188
+ /**
12189
+ * Filter requests created on or after this ISO date (inclusive).
12190
+ * @type {string}
12191
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12192
+ */
12193
+ readonly fromDate?: string;
12194
+ /**
12195
+ * Filter requests created strictly before this ISO date (exclusive).
12196
+ * @type {string}
12197
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12198
+ */
12199
+ readonly tillDate?: string;
12200
+ /**
12201
+ * How many rows the endpoint should return
12202
+ * @type {number}
12203
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12204
+ */
12205
+ readonly take?: number;
12206
+ /**
12207
+ * How many rows to skip (for pagination)
12208
+ * @type {number}
12209
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12210
+ */
12211
+ readonly skip?: number;
12212
+ }
12213
+ /**
12214
+ * Request parameters for getSinglePaymentRequest operation in PaymentRequestsApi.
12215
+ * @export
12216
+ * @interface PaymentRequestsApiGetSinglePaymentRequestRequest
12217
+ */
12218
+ export interface PaymentRequestsApiGetSinglePaymentRequestRequest {
12219
+ /**
12220
+ * UUID v4 of the payment request.
12221
+ * @type {string}
12222
+ * @memberof PaymentRequestsApiGetSinglePaymentRequest
12223
+ */
12224
+ readonly id: string;
12225
+ }
12226
+ /**
12227
+ * Request parameters for markPaymentRequestFulfilledExternally operation in PaymentRequestsApi.
12228
+ * @export
12229
+ * @interface PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest
12230
+ */
12231
+ export interface PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest {
12232
+ /**
12233
+ * UUID v4 of the payment request.
12234
+ * @type {string}
12235
+ * @memberof PaymentRequestsApiMarkPaymentRequestFulfilledExternally
12236
+ */
12237
+ readonly id: string;
12238
+ /**
12239
+ * The audit reason
12240
+ * @type {MarkFulfilledExternallyRequest}
12241
+ * @memberof PaymentRequestsApiMarkPaymentRequestFulfilledExternally
12242
+ */
12243
+ readonly markFulfilledExternallyRequest: MarkFulfilledExternallyRequest;
12244
+ }
12245
+ /**
12246
+ * Request parameters for startPaymentRequestAuthenticated operation in PaymentRequestsApi.
12247
+ * @export
12248
+ * @interface PaymentRequestsApiStartPaymentRequestAuthenticatedRequest
12249
+ */
12250
+ export interface PaymentRequestsApiStartPaymentRequestAuthenticatedRequest {
12251
+ /**
12252
+ * UUID v4 of the payment request.
12253
+ * @type {string}
12254
+ * @memberof PaymentRequestsApiStartPaymentRequestAuthenticated
12255
+ */
12256
+ readonly id: string;
12257
+ }
12258
+ /**
12259
+ * PaymentRequestsApi - object-oriented interface
12260
+ * @export
12261
+ * @class PaymentRequestsApi
12262
+ * @extends {BaseAPI}
12263
+ */
12264
+ export declare class PaymentRequestsApi extends BaseAPI {
12265
+ /**
12266
+ *
12267
+ * @summary Cancel a PENDING PaymentRequest.
12268
+ * @param {PaymentRequestsApiCancelPaymentRequestRequest} requestParameters Request parameters.
12269
+ * @param {*} [options] Override http request option.
12270
+ * @throws {RequiredError}
12271
+ * @memberof PaymentRequestsApi
12272
+ */
12273
+ cancelPaymentRequest(requestParameters: PaymentRequestsApiCancelPaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BasePaymentRequestResponse, any, {}>>;
12274
+ /**
12275
+ *
12276
+ * @summary Create a new PaymentRequest.
12277
+ * @param {PaymentRequestsApiCreatePaymentRequestRequest} requestParameters Request parameters.
12278
+ * @param {*} [options] Override http request option.
12279
+ * @throws {RequiredError}
12280
+ * @memberof PaymentRequestsApi
12281
+ */
12282
+ createPaymentRequest(requestParameters: PaymentRequestsApiCreatePaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BasePaymentRequestResponse, any, {}>>;
12283
+ /**
12284
+ *
12285
+ * @summary List PaymentRequests (paginated, with filtering by beneficiary, creator, and status)
12286
+ * @param {PaymentRequestsApiGetAllPaymentRequestsRequest} requestParameters Request parameters.
12287
+ * @param {*} [options] Override http request option.
12288
+ * @throws {RequiredError}
12289
+ * @memberof PaymentRequestsApi
12290
+ */
12291
+ getAllPaymentRequests(requestParameters?: PaymentRequestsApiGetAllPaymentRequestsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedBasePaymentRequestResponse, any, {}>>;
12292
+ /**
12293
+ *
12294
+ * @summary Fetch a single PaymentRequest by id.
12295
+ * @param {PaymentRequestsApiGetSinglePaymentRequestRequest} requestParameters Request parameters.
12296
+ * @param {*} [options] Override http request option.
12297
+ * @throws {RequiredError}
12298
+ * @memberof PaymentRequestsApi
12299
+ */
12300
+ getSinglePaymentRequest(requestParameters: PaymentRequestsApiGetSinglePaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BasePaymentRequestResponse, any, {}>>;
12301
+ /**
12302
+ *
12303
+ * @summary Admin escape hatch: mark a PaymentRequest paid out-of-band (e.g. bank transfer). Creates a void->user credit Transfer manually.
12304
+ * @param {PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest} requestParameters Request parameters.
12305
+ * @param {*} [options] Override http request option.
12306
+ * @throws {RequiredError}
12307
+ * @memberof PaymentRequestsApi
12308
+ */
12309
+ markPaymentRequestFulfilledExternally(requestParameters: PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BasePaymentRequestResponse, any, {}>>;
12310
+ /**
12311
+ *
12312
+ * @summary Start a Stripe payment session for the given PaymentRequest while authenticated.
12313
+ * @param {PaymentRequestsApiStartPaymentRequestAuthenticatedRequest} requestParameters Request parameters.
12314
+ * @param {*} [options] Override http request option.
12315
+ * @throws {RequiredError}
12316
+ * @memberof PaymentRequestsApi
12317
+ */
12318
+ startPaymentRequestAuthenticated(requestParameters: PaymentRequestsApiStartPaymentRequestAuthenticatedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentRequestStartResponse, any, {}>>;
12319
+ }
12320
+ /**
12321
+ * @export
12322
+ */
12323
+ export declare const GetAllPaymentRequestsStatusEnum: {
12324
+ readonly Pending: "PENDING";
12325
+ readonly Paid: "PAID";
12326
+ readonly Expired: "EXPIRED";
12327
+ readonly Cancelled: "CANCELLED";
12328
+ };
12329
+ export type GetAllPaymentRequestsStatusEnum = typeof GetAllPaymentRequestsStatusEnum[keyof typeof GetAllPaymentRequestsStatusEnum];
12330
+ /**
12331
+ * PaymentRequestsPublicApi - axios parameter creator
12332
+ * @export
12333
+ */
12334
+ export declare const PaymentRequestsPublicApiAxiosParamCreator: (configuration?: Configuration) => {
12335
+ /**
12336
+ *
12337
+ * @summary Fetch a PaymentRequest via the public share link. Returns a trimmed response that omits internal audit fields.
12338
+ * @param {string} id UUID v4 of the payment request.
12339
+ * @param {*} [options] Override http request option.
12340
+ * @throws {RequiredError}
12341
+ */
12342
+ getPublicPaymentRequest: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12343
+ /**
12344
+ *
12345
+ * @summary Start a Stripe payment session for the given PaymentRequest without authentication — the share link IS the credential.
12346
+ * @param {string} id UUID v4 of the payment request.
12347
+ * @param {*} [options] Override http request option.
12348
+ * @throws {RequiredError}
12349
+ */
12350
+ startPaymentRequestPublic: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12351
+ };
12352
+ /**
12353
+ * PaymentRequestsPublicApi - functional programming interface
12354
+ * @export
12355
+ */
12356
+ export declare const PaymentRequestsPublicApiFp: (configuration?: Configuration) => {
12357
+ /**
12358
+ *
12359
+ * @summary Fetch a PaymentRequest via the public share link. Returns a trimmed response that omits internal audit fields.
12360
+ * @param {string} id UUID v4 of the payment request.
12361
+ * @param {*} [options] Override http request option.
12362
+ * @throws {RequiredError}
12363
+ */
12364
+ getPublicPaymentRequest(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicPaymentRequestResponse>>;
12365
+ /**
12366
+ *
12367
+ * @summary Start a Stripe payment session for the given PaymentRequest without authentication — the share link IS the credential.
12368
+ * @param {string} id UUID v4 of the payment request.
12369
+ * @param {*} [options] Override http request option.
12370
+ * @throws {RequiredError}
12371
+ */
12372
+ startPaymentRequestPublic(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentRequestStartResponse>>;
12373
+ };
12374
+ /**
12375
+ * PaymentRequestsPublicApi - factory interface
12376
+ * @export
12377
+ */
12378
+ export declare const PaymentRequestsPublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12379
+ /**
12380
+ *
12381
+ * @summary Fetch a PaymentRequest via the public share link. Returns a trimmed response that omits internal audit fields.
12382
+ * @param {PaymentRequestsPublicApiGetPublicPaymentRequestRequest} requestParameters Request parameters.
12383
+ * @param {*} [options] Override http request option.
12384
+ * @throws {RequiredError}
12385
+ */
12386
+ getPublicPaymentRequest(requestParameters: PaymentRequestsPublicApiGetPublicPaymentRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublicPaymentRequestResponse>;
12387
+ /**
12388
+ *
12389
+ * @summary Start a Stripe payment session for the given PaymentRequest without authentication — the share link IS the credential.
12390
+ * @param {PaymentRequestsPublicApiStartPaymentRequestPublicRequest} requestParameters Request parameters.
12391
+ * @param {*} [options] Override http request option.
12392
+ * @throws {RequiredError}
12393
+ */
12394
+ startPaymentRequestPublic(requestParameters: PaymentRequestsPublicApiStartPaymentRequestPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentRequestStartResponse>;
12395
+ };
12396
+ /**
12397
+ * Request parameters for getPublicPaymentRequest operation in PaymentRequestsPublicApi.
12398
+ * @export
12399
+ * @interface PaymentRequestsPublicApiGetPublicPaymentRequestRequest
12400
+ */
12401
+ export interface PaymentRequestsPublicApiGetPublicPaymentRequestRequest {
12402
+ /**
12403
+ * UUID v4 of the payment request.
12404
+ * @type {string}
12405
+ * @memberof PaymentRequestsPublicApiGetPublicPaymentRequest
12406
+ */
12407
+ readonly id: string;
12408
+ }
12409
+ /**
12410
+ * Request parameters for startPaymentRequestPublic operation in PaymentRequestsPublicApi.
12411
+ * @export
12412
+ * @interface PaymentRequestsPublicApiStartPaymentRequestPublicRequest
12413
+ */
12414
+ export interface PaymentRequestsPublicApiStartPaymentRequestPublicRequest {
12415
+ /**
12416
+ * UUID v4 of the payment request.
12417
+ * @type {string}
12418
+ * @memberof PaymentRequestsPublicApiStartPaymentRequestPublic
12419
+ */
12420
+ readonly id: string;
12421
+ }
12422
+ /**
12423
+ * PaymentRequestsPublicApi - object-oriented interface
12424
+ * @export
12425
+ * @class PaymentRequestsPublicApi
12426
+ * @extends {BaseAPI}
12427
+ */
12428
+ export declare class PaymentRequestsPublicApi extends BaseAPI {
12429
+ /**
12430
+ *
12431
+ * @summary Fetch a PaymentRequest via the public share link. Returns a trimmed response that omits internal audit fields.
12432
+ * @param {PaymentRequestsPublicApiGetPublicPaymentRequestRequest} requestParameters Request parameters.
12433
+ * @param {*} [options] Override http request option.
12434
+ * @throws {RequiredError}
12435
+ * @memberof PaymentRequestsPublicApi
12436
+ */
12437
+ getPublicPaymentRequest(requestParameters: PaymentRequestsPublicApiGetPublicPaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicPaymentRequestResponse, any, {}>>;
12438
+ /**
12439
+ *
12440
+ * @summary Start a Stripe payment session for the given PaymentRequest without authentication — the share link IS the credential.
12441
+ * @param {PaymentRequestsPublicApiStartPaymentRequestPublicRequest} requestParameters Request parameters.
12442
+ * @param {*} [options] Override http request option.
12443
+ * @throws {RequiredError}
12444
+ * @memberof PaymentRequestsPublicApi
12445
+ */
12446
+ startPaymentRequestPublic(requestParameters: PaymentRequestsPublicApiStartPaymentRequestPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentRequestStartResponse, any, {}>>;
12447
+ }
12448
+ /**
12449
+ * PayoutRequestsApi - axios parameter creator
12450
+ * @export
12451
+ */
12452
+ export declare const PayoutRequestsApiAxiosParamCreator: (configuration?: Configuration) => {
12453
+ /**
12454
+ *
12455
+ * @summary Create a new payout request
12456
+ * @param {PayoutRequestRequest} payoutRequestRequest New payout request
12457
+ * @param {*} [options] Override http request option.
12458
+ * @throws {RequiredError}
12459
+ */
12460
+ createPayoutRequest: (payoutRequestRequest: PayoutRequestRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12461
+ /**
12462
+ *
12463
+ * @summary Returns all payout requests given the filter parameters
12464
+ * @param {GetAllPayoutRequestsRequestedByIdParameter} [requestedById] ID of user(s) who requested a payout
12465
+ * @param {GetAllPayoutRequestsRequestedByIdParameter} [approvedById] ID of user(s) who approved a payout
12466
+ * @param {string} [fromDate] Start date for selected transactions (inclusive)
12467
+ * @param {string} [tillDate] End date for selected transactions (exclusive)
12468
+ * @param {string} [status] Status of the payout requests (OR relation)
12469
+ * @param {number} [take] How many payout requests the endpoint should return
12470
+ * @param {number} [skip] How many payout requests should be skipped (for pagination)
12471
+ * @param {*} [options] Override http request option.
12472
+ * @throws {RequiredError}
12473
+ */
12474
+ getAllPayoutRequests: (requestedById?: GetAllPayoutRequestsRequestedByIdParameter, approvedById?: GetAllPayoutRequestsRequestedByIdParameter, fromDate?: string, tillDate?: string, status?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12475
+ /**
12476
+ *
12477
+ * @summary Get a payout request pdf
12478
+ * @param {number} id The ID of the payout request object that should be returned
12479
+ * @param {boolean} [force] Whether to force regeneration of the pdf
12480
+ * @param {*} [options] Override http request option.
12481
+ * @throws {RequiredError}
12482
+ */
12483
+ getPayoutRequestPdf: (id: number, force?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12484
+ /**
12485
+ *
12486
+ * @summary Get a single payout request
12487
+ * @param {number} id The ID of the payout request object that should be returned
12488
+ * @param {*} [options] Override http request option.
12489
+ * @throws {RequiredError}
12490
+ */
12491
+ getSinglePayoutRequest: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12492
+ /**
12493
+ *
12494
+ * @summary Create a new status for a payout request
12495
+ * @param {number} id The ID of the payout request object that should be returned
12496
+ * @param {PayoutRequestStatusRequest} payoutRequestStatusRequest New state of payout request
12497
+ * @param {*} [options] Override http request option.
12498
+ * @throws {RequiredError}
12499
+ */
12500
+ setPayoutRequestStatus: (id: number, payoutRequestStatusRequest: PayoutRequestStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12501
+ };
12502
+ /**
12503
+ * PayoutRequestsApi - functional programming interface
12504
+ * @export
12505
+ */
12506
+ export declare const PayoutRequestsApiFp: (configuration?: Configuration) => {
12507
+ /**
12508
+ *
12509
+ * @summary Create a new payout request
12510
+ * @param {PayoutRequestRequest} payoutRequestRequest New payout request
12511
+ * @param {*} [options] Override http request option.
12512
+ * @throws {RequiredError}
12513
+ */
12514
+ createPayoutRequest(payoutRequestRequest: PayoutRequestRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutRequestResponse>>;
12515
+ /**
12516
+ *
12517
+ * @summary Returns all payout requests given the filter parameters
12518
+ * @param {GetAllPayoutRequestsRequestedByIdParameter} [requestedById] ID of user(s) who requested a payout
12519
+ * @param {GetAllPayoutRequestsRequestedByIdParameter} [approvedById] ID of user(s) who approved a payout
12520
+ * @param {string} [fromDate] Start date for selected transactions (inclusive)
12521
+ * @param {string} [tillDate] End date for selected transactions (exclusive)
12522
+ * @param {string} [status] Status of the payout requests (OR relation)
12523
+ * @param {number} [take] How many payout requests the endpoint should return
12524
+ * @param {number} [skip] How many payout requests should be skipped (for pagination)
12525
+ * @param {*} [options] Override http request option.
12526
+ * @throws {RequiredError}
12527
+ */
12528
+ getAllPayoutRequests(requestedById?: GetAllPayoutRequestsRequestedByIdParameter, approvedById?: GetAllPayoutRequestsRequestedByIdParameter, fromDate?: string, tillDate?: string, status?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedBasePayoutRequestResponse>>;
12529
+ /**
12530
+ *
12531
+ * @summary Get a payout request pdf
12532
+ * @param {number} id The ID of the payout request object that should be returned
12533
+ * @param {boolean} [force] Whether to force regeneration of the pdf
12534
+ * @param {*} [options] Override http request option.
12535
+ * @throws {RequiredError}
12536
+ */
12537
+ getPayoutRequestPdf(id: number, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PdfUrlResponse>>;
12538
+ /**
12539
+ *
12540
+ * @summary Get a single payout request
12541
+ * @param {number} id The ID of the payout request object that should be returned
12542
+ * @param {*} [options] Override http request option.
12543
+ * @throws {RequiredError}
12544
+ */
12545
+ getSinglePayoutRequest(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutRequestResponse>>;
12546
+ /**
12547
+ *
12548
+ * @summary Create a new status for a payout request
12549
+ * @param {number} id The ID of the payout request object that should be returned
12550
+ * @param {PayoutRequestStatusRequest} payoutRequestStatusRequest New state of payout request
12551
+ * @param {*} [options] Override http request option.
12552
+ * @throws {RequiredError}
12553
+ */
12554
+ setPayoutRequestStatus(id: number, payoutRequestStatusRequest: PayoutRequestStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutRequestResponse>>;
12555
+ };
12556
+ /**
12557
+ * PayoutRequestsApi - factory interface
12558
+ * @export
12559
+ */
12560
+ export declare const PayoutRequestsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12561
+ /**
12562
+ *
12563
+ * @summary Create a new payout request
12564
+ * @param {PayoutRequestsApiCreatePayoutRequestRequest} requestParameters Request parameters.
12565
+ * @param {*} [options] Override http request option.
12566
+ * @throws {RequiredError}
12567
+ */
12568
+ createPayoutRequest(requestParameters: PayoutRequestsApiCreatePayoutRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutRequestResponse>;
12569
+ /**
12570
+ *
12571
+ * @summary Returns all payout requests given the filter parameters
12572
+ * @param {PayoutRequestsApiGetAllPayoutRequestsRequest} requestParameters Request parameters.
12573
+ * @param {*} [options] Override http request option.
12574
+ * @throws {RequiredError}
12575
+ */
12576
+ getAllPayoutRequests(requestParameters?: PayoutRequestsApiGetAllPayoutRequestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedBasePayoutRequestResponse>;
11862
12577
  /**
11863
12578
  *
11864
12579
  * @summary Get a payout request pdf
@@ -14195,6 +14910,13 @@ export declare const StripeApiAxiosParamCreator: (configuration?: Configuration)
14195
14910
  * @throws {RequiredError}
14196
14911
  */
14197
14912
  getStripePublicKey: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14913
+ /**
14914
+ *
14915
+ * @summary Webhook for Stripe event updates
14916
+ * @param {*} [options] Override http request option.
14917
+ * @throws {RequiredError}
14918
+ */
14919
+ webhook: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14198
14920
  };
14199
14921
  /**
14200
14922
  * StripeApi - functional programming interface
@@ -14216,6 +14938,13 @@ export declare const StripeApiFp: (configuration?: Configuration) => {
14216
14938
  * @throws {RequiredError}
14217
14939
  */
14218
14940
  getStripePublicKey(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
14941
+ /**
14942
+ *
14943
+ * @summary Webhook for Stripe event updates
14944
+ * @param {*} [options] Override http request option.
14945
+ * @throws {RequiredError}
14946
+ */
14947
+ webhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
14219
14948
  };
14220
14949
  /**
14221
14950
  * StripeApi - factory interface
@@ -14237,6 +14966,13 @@ export declare const StripeApiFactory: (configuration?: Configuration, basePath?
14237
14966
  * @throws {RequiredError}
14238
14967
  */
14239
14968
  getStripePublicKey(options?: RawAxiosRequestConfig): AxiosPromise<string>;
14969
+ /**
14970
+ *
14971
+ * @summary Webhook for Stripe event updates
14972
+ * @param {*} [options] Override http request option.
14973
+ * @throws {RequiredError}
14974
+ */
14975
+ webhook(options?: RawAxiosRequestConfig): AxiosPromise<void>;
14240
14976
  };
14241
14977
  /**
14242
14978
  * Request parameters for deposit operation in StripeApi.
@@ -14275,6 +15011,14 @@ export declare class StripeApi extends BaseAPI {
14275
15011
  * @memberof StripeApi
14276
15012
  */
14277
15013
  getStripePublicKey(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
15014
+ /**
15015
+ *
15016
+ * @summary Webhook for Stripe event updates
15017
+ * @param {*} [options] Override http request option.
15018
+ * @throws {RequiredError}
15019
+ * @memberof StripeApi
15020
+ */
15021
+ webhook(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
14278
15022
  }
14279
15023
  /**
14280
15024
  * SyncApi - axios parameter creator
@@ -14356,6 +15100,253 @@ export declare const GetUserSyncResultsServiceEnum: {
14356
15100
  readonly Gewisdb: "GEWISDB";
14357
15101
  };
14358
15102
  export type GetUserSyncResultsServiceEnum = typeof GetUserSyncResultsServiceEnum[keyof typeof GetUserSyncResultsServiceEnum];
15103
+ /**
15104
+ * TerminalPaymentsApi - axios parameter creator
15105
+ * @export
15106
+ */
15107
+ export declare const TerminalPaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
15108
+ /**
15109
+ *
15110
+ * @summary Cancel a Terminal Payment that is created/processing
15111
+ * @param {number} id The ID of the terminal payment
15112
+ * @param {*} [options] Override http request option.
15113
+ * @throws {RequiredError}
15114
+ */
15115
+ cancelTerminalPayment: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15116
+ /**
15117
+ *
15118
+ * @summary Create a terminal payment before executing.
15119
+ * @param {CreateTerminalPaymentRequest} createTerminalPaymentRequest The terminal payment that should be created.
15120
+ * @param {*} [options] Override http request option.
15121
+ * @throws {RequiredError}
15122
+ */
15123
+ createTerminalPayment: (createTerminalPaymentRequest: CreateTerminalPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15124
+ /**
15125
+ *
15126
+ * @summary Get single terminal payment by ID
15127
+ * @param {number} id The ID of the terminal payment
15128
+ * @param {*} [options] Override http request option.
15129
+ * @throws {RequiredError}
15130
+ */
15131
+ getSingleTerminalPayment: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15132
+ /**
15133
+ *
15134
+ * @summary Get all Stripe terminals
15135
+ * @param {*} [options] Override http request option.
15136
+ * @throws {RequiredError}
15137
+ */
15138
+ getStripeTerminals: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15139
+ /**
15140
+ *
15141
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15142
+ * @param {number} id The ID of the terminal payment
15143
+ * @param {ProcessTerminalPaymentRequest} processTerminalPaymentRequest Payment options
15144
+ * @param {*} [options] Override http request option.
15145
+ * @throws {RequiredError}
15146
+ */
15147
+ startTerminalPayment: (id: number, processTerminalPaymentRequest: ProcessTerminalPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15148
+ };
15149
+ /**
15150
+ * TerminalPaymentsApi - functional programming interface
15151
+ * @export
15152
+ */
15153
+ export declare const TerminalPaymentsApiFp: (configuration?: Configuration) => {
15154
+ /**
15155
+ *
15156
+ * @summary Cancel a Terminal Payment that is created/processing
15157
+ * @param {number} id The ID of the terminal payment
15158
+ * @param {*} [options] Override http request option.
15159
+ * @throws {RequiredError}
15160
+ */
15161
+ cancelTerminalPayment(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentResponse>>;
15162
+ /**
15163
+ *
15164
+ * @summary Create a terminal payment before executing.
15165
+ * @param {CreateTerminalPaymentRequest} createTerminalPaymentRequest The terminal payment that should be created.
15166
+ * @param {*} [options] Override http request option.
15167
+ * @throws {RequiredError}
15168
+ */
15169
+ createTerminalPayment(createTerminalPaymentRequest: CreateTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentResponse>>;
15170
+ /**
15171
+ *
15172
+ * @summary Get single terminal payment by ID
15173
+ * @param {number} id The ID of the terminal payment
15174
+ * @param {*} [options] Override http request option.
15175
+ * @throws {RequiredError}
15176
+ */
15177
+ getSingleTerminalPayment(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentResponse>>;
15178
+ /**
15179
+ *
15180
+ * @summary Get all Stripe terminals
15181
+ * @param {*} [options] Override http request option.
15182
+ * @throws {RequiredError}
15183
+ */
15184
+ getStripeTerminals(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StripePaymentTerminalResponse>>>;
15185
+ /**
15186
+ *
15187
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15188
+ * @param {number} id The ID of the terminal payment
15189
+ * @param {ProcessTerminalPaymentRequest} processTerminalPaymentRequest Payment options
15190
+ * @param {*} [options] Override http request option.
15191
+ * @throws {RequiredError}
15192
+ */
15193
+ startTerminalPayment(id: number, processTerminalPaymentRequest: ProcessTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
15194
+ };
15195
+ /**
15196
+ * TerminalPaymentsApi - factory interface
15197
+ * @export
15198
+ */
15199
+ export declare const TerminalPaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15200
+ /**
15201
+ *
15202
+ * @summary Cancel a Terminal Payment that is created/processing
15203
+ * @param {TerminalPaymentsApiCancelTerminalPaymentRequest} requestParameters Request parameters.
15204
+ * @param {*} [options] Override http request option.
15205
+ * @throws {RequiredError}
15206
+ */
15207
+ cancelTerminalPayment(requestParameters: TerminalPaymentsApiCancelTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerminalPaymentResponse>;
15208
+ /**
15209
+ *
15210
+ * @summary Create a terminal payment before executing.
15211
+ * @param {TerminalPaymentsApiCreateTerminalPaymentRequest} requestParameters Request parameters.
15212
+ * @param {*} [options] Override http request option.
15213
+ * @throws {RequiredError}
15214
+ */
15215
+ createTerminalPayment(requestParameters: TerminalPaymentsApiCreateTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerminalPaymentResponse>;
15216
+ /**
15217
+ *
15218
+ * @summary Get single terminal payment by ID
15219
+ * @param {TerminalPaymentsApiGetSingleTerminalPaymentRequest} requestParameters Request parameters.
15220
+ * @param {*} [options] Override http request option.
15221
+ * @throws {RequiredError}
15222
+ */
15223
+ getSingleTerminalPayment(requestParameters: TerminalPaymentsApiGetSingleTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerminalPaymentResponse>;
15224
+ /**
15225
+ *
15226
+ * @summary Get all Stripe terminals
15227
+ * @param {*} [options] Override http request option.
15228
+ * @throws {RequiredError}
15229
+ */
15230
+ getStripeTerminals(options?: RawAxiosRequestConfig): AxiosPromise<Array<StripePaymentTerminalResponse>>;
15231
+ /**
15232
+ *
15233
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15234
+ * @param {TerminalPaymentsApiStartTerminalPaymentRequest} requestParameters Request parameters.
15235
+ * @param {*} [options] Override http request option.
15236
+ * @throws {RequiredError}
15237
+ */
15238
+ startTerminalPayment(requestParameters: TerminalPaymentsApiStartTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15239
+ };
15240
+ /**
15241
+ * Request parameters for cancelTerminalPayment operation in TerminalPaymentsApi.
15242
+ * @export
15243
+ * @interface TerminalPaymentsApiCancelTerminalPaymentRequest
15244
+ */
15245
+ export interface TerminalPaymentsApiCancelTerminalPaymentRequest {
15246
+ /**
15247
+ * The ID of the terminal payment
15248
+ * @type {number}
15249
+ * @memberof TerminalPaymentsApiCancelTerminalPayment
15250
+ */
15251
+ readonly id: number;
15252
+ }
15253
+ /**
15254
+ * Request parameters for createTerminalPayment operation in TerminalPaymentsApi.
15255
+ * @export
15256
+ * @interface TerminalPaymentsApiCreateTerminalPaymentRequest
15257
+ */
15258
+ export interface TerminalPaymentsApiCreateTerminalPaymentRequest {
15259
+ /**
15260
+ * The terminal payment that should be created.
15261
+ * @type {CreateTerminalPaymentRequest}
15262
+ * @memberof TerminalPaymentsApiCreateTerminalPayment
15263
+ */
15264
+ readonly createTerminalPaymentRequest: CreateTerminalPaymentRequest;
15265
+ }
15266
+ /**
15267
+ * Request parameters for getSingleTerminalPayment operation in TerminalPaymentsApi.
15268
+ * @export
15269
+ * @interface TerminalPaymentsApiGetSingleTerminalPaymentRequest
15270
+ */
15271
+ export interface TerminalPaymentsApiGetSingleTerminalPaymentRequest {
15272
+ /**
15273
+ * The ID of the terminal payment
15274
+ * @type {number}
15275
+ * @memberof TerminalPaymentsApiGetSingleTerminalPayment
15276
+ */
15277
+ readonly id: number;
15278
+ }
15279
+ /**
15280
+ * Request parameters for startTerminalPayment operation in TerminalPaymentsApi.
15281
+ * @export
15282
+ * @interface TerminalPaymentsApiStartTerminalPaymentRequest
15283
+ */
15284
+ export interface TerminalPaymentsApiStartTerminalPaymentRequest {
15285
+ /**
15286
+ * The ID of the terminal payment
15287
+ * @type {number}
15288
+ * @memberof TerminalPaymentsApiStartTerminalPayment
15289
+ */
15290
+ readonly id: number;
15291
+ /**
15292
+ * Payment options
15293
+ * @type {ProcessTerminalPaymentRequest}
15294
+ * @memberof TerminalPaymentsApiStartTerminalPayment
15295
+ */
15296
+ readonly processTerminalPaymentRequest: ProcessTerminalPaymentRequest;
15297
+ }
15298
+ /**
15299
+ * TerminalPaymentsApi - object-oriented interface
15300
+ * @export
15301
+ * @class TerminalPaymentsApi
15302
+ * @extends {BaseAPI}
15303
+ */
15304
+ export declare class TerminalPaymentsApi extends BaseAPI {
15305
+ /**
15306
+ *
15307
+ * @summary Cancel a Terminal Payment that is created/processing
15308
+ * @param {TerminalPaymentsApiCancelTerminalPaymentRequest} requestParameters Request parameters.
15309
+ * @param {*} [options] Override http request option.
15310
+ * @throws {RequiredError}
15311
+ * @memberof TerminalPaymentsApi
15312
+ */
15313
+ cancelTerminalPayment(requestParameters: TerminalPaymentsApiCancelTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminalPaymentResponse, any, {}>>;
15314
+ /**
15315
+ *
15316
+ * @summary Create a terminal payment before executing.
15317
+ * @param {TerminalPaymentsApiCreateTerminalPaymentRequest} requestParameters Request parameters.
15318
+ * @param {*} [options] Override http request option.
15319
+ * @throws {RequiredError}
15320
+ * @memberof TerminalPaymentsApi
15321
+ */
15322
+ createTerminalPayment(requestParameters: TerminalPaymentsApiCreateTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminalPaymentResponse, any, {}>>;
15323
+ /**
15324
+ *
15325
+ * @summary Get single terminal payment by ID
15326
+ * @param {TerminalPaymentsApiGetSingleTerminalPaymentRequest} requestParameters Request parameters.
15327
+ * @param {*} [options] Override http request option.
15328
+ * @throws {RequiredError}
15329
+ * @memberof TerminalPaymentsApi
15330
+ */
15331
+ getSingleTerminalPayment(requestParameters: TerminalPaymentsApiGetSingleTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminalPaymentResponse, any, {}>>;
15332
+ /**
15333
+ *
15334
+ * @summary Get all Stripe terminals
15335
+ * @param {*} [options] Override http request option.
15336
+ * @throws {RequiredError}
15337
+ * @memberof TerminalPaymentsApi
15338
+ */
15339
+ getStripeTerminals(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StripePaymentTerminalResponse[], any, {}>>;
15340
+ /**
15341
+ *
15342
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15343
+ * @param {TerminalPaymentsApiStartTerminalPaymentRequest} requestParameters Request parameters.
15344
+ * @param {*} [options] Override http request option.
15345
+ * @throws {RequiredError}
15346
+ * @memberof TerminalPaymentsApi
15347
+ */
15348
+ startTerminalPayment(requestParameters: TerminalPaymentsApiStartTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15349
+ }
14359
15350
  /**
14360
15351
  * TermsOfServiceApi - axios parameter creator
14361
15352
  * @export
@@ -15741,7 +16732,7 @@ export declare class UserNotificationPreferencesApi extends BaseAPI {
15741
16732
  export declare const UsersApiAxiosParamCreator: (configuration?: Configuration) => {
15742
16733
  /**
15743
16734
  *
15744
- * @summary Accept the Terms of Service if you have not accepted it yet
16735
+ * @summary Accept the current Terms of Service version
15745
16736
  * @param {AcceptTosRequest} acceptTosRequest \&quot;Tosrequest body\&quot;
15746
16737
  * @param {*} [options] Override http request option.
15747
16738
  * @throws {RequiredError}
@@ -15871,6 +16862,14 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
15871
16862
  * @throws {RequiredError}
15872
16863
  */
15873
16864
  getUserSettings: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16865
+ /**
16866
+ *
16867
+ * @summary Get a user\'s terms of service status and acceptance history
16868
+ * @param {number} id The id of the user
16869
+ * @param {*} [options] Override http request option.
16870
+ * @throws {RequiredError}
16871
+ */
16872
+ getUserTos: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15874
16873
  /**
15875
16874
  *
15876
16875
  * @summary Returns the user\'s containers
@@ -15893,6 +16892,20 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
15893
16892
  * @throws {RequiredError}
15894
16893
  */
15895
16894
  getUsersFinancialMutations: (id: number, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16895
+ /**
16896
+ *
16897
+ * @summary Get the PaymentRequests where the given user is the beneficiary. Regular users can hit this for their own id; admins can hit it for any user.
16898
+ * @param {number} id The id of the beneficiary user.
16899
+ * @param {number} [createdById] Filter by creator user id.
16900
+ * @param {GetUsersPaymentRequestsStatusEnum} [status] Comma-separated list of derived statuses.
16901
+ * @param {string} [fromDate] Filter requests created on or after this ISO date (inclusive).
16902
+ * @param {string} [tillDate] Filter requests created strictly before this ISO date (exclusive).
16903
+ * @param {number} [take] How many rows the endpoint should return
16904
+ * @param {number} [skip] How many rows to skip (for pagination)
16905
+ * @param {*} [options] Override http request option.
16906
+ * @throws {RequiredError}
16907
+ */
16908
+ getUsersPaymentRequests: (id: number, createdById?: number, status?: GetUsersPaymentRequestsStatusEnum, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15896
16909
  /**
15897
16910
  *
15898
16911
  * @summary Returns the user\'s Points of Sale
@@ -16103,7 +17116,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
16103
17116
  export declare const UsersApiFp: (configuration?: Configuration) => {
16104
17117
  /**
16105
17118
  *
16106
- * @summary Accept the Terms of Service if you have not accepted it yet
17119
+ * @summary Accept the current Terms of Service version
16107
17120
  * @param {AcceptTosRequest} acceptTosRequest \&quot;Tosrequest body\&quot;
16108
17121
  * @param {*} [options] Override http request option.
16109
17122
  * @throws {RequiredError}
@@ -16233,6 +17246,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
16233
17246
  * @throws {RequiredError}
16234
17247
  */
16235
17248
  getUserSettings(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserSettingsResponse>>;
17249
+ /**
17250
+ *
17251
+ * @summary Get a user\'s terms of service status and acceptance history
17252
+ * @param {number} id The id of the user
17253
+ * @param {*} [options] Override http request option.
17254
+ * @throws {RequiredError}
17255
+ */
17256
+ getUserTos(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserTosResponse>>;
16236
17257
  /**
16237
17258
  *
16238
17259
  * @summary Returns the user\'s containers
@@ -16255,6 +17276,20 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
16255
17276
  * @throws {RequiredError}
16256
17277
  */
16257
17278
  getUsersFinancialMutations(id: number, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedFinancialMutationResponse>>;
17279
+ /**
17280
+ *
17281
+ * @summary Get the PaymentRequests where the given user is the beneficiary. Regular users can hit this for their own id; admins can hit it for any user.
17282
+ * @param {number} id The id of the beneficiary user.
17283
+ * @param {number} [createdById] Filter by creator user id.
17284
+ * @param {GetUsersPaymentRequestsStatusEnum} [status] Comma-separated list of derived statuses.
17285
+ * @param {string} [fromDate] Filter requests created on or after this ISO date (inclusive).
17286
+ * @param {string} [tillDate] Filter requests created strictly before this ISO date (exclusive).
17287
+ * @param {number} [take] How many rows the endpoint should return
17288
+ * @param {number} [skip] How many rows to skip (for pagination)
17289
+ * @param {*} [options] Override http request option.
17290
+ * @throws {RequiredError}
17291
+ */
17292
+ getUsersPaymentRequests(id: number, createdById?: number, status?: GetUsersPaymentRequestsStatusEnum, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedBasePaymentRequestResponse>>;
16258
17293
  /**
16259
17294
  *
16260
17295
  * @summary Returns the user\'s Points of Sale
@@ -16465,7 +17500,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
16465
17500
  export declare const UsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
16466
17501
  /**
16467
17502
  *
16468
- * @summary Accept the Terms of Service if you have not accepted it yet
17503
+ * @summary Accept the current Terms of Service version
16469
17504
  * @param {UsersApiAcceptTosRequest} requestParameters Request parameters.
16470
17505
  * @param {*} [options] Override http request option.
16471
17506
  * @throws {RequiredError}
@@ -16583,6 +17618,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
16583
17618
  * @throws {RequiredError}
16584
17619
  */
16585
17620
  getUserSettings(requestParameters: UsersApiGetUserSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserSettingsResponse>;
17621
+ /**
17622
+ *
17623
+ * @summary Get a user\'s terms of service status and acceptance history
17624
+ * @param {UsersApiGetUserTosRequest} requestParameters Request parameters.
17625
+ * @param {*} [options] Override http request option.
17626
+ * @throws {RequiredError}
17627
+ */
17628
+ getUserTos(requestParameters: UsersApiGetUserTosRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserTosResponse>;
16586
17629
  /**
16587
17630
  *
16588
17631
  * @summary Returns the user\'s containers
@@ -16599,6 +17642,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
16599
17642
  * @throws {RequiredError}
16600
17643
  */
16601
17644
  getUsersFinancialMutations(requestParameters: UsersApiGetUsersFinancialMutationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedFinancialMutationResponse>;
17645
+ /**
17646
+ *
17647
+ * @summary Get the PaymentRequests where the given user is the beneficiary. Regular users can hit this for their own id; admins can hit it for any user.
17648
+ * @param {UsersApiGetUsersPaymentRequestsRequest} requestParameters Request parameters.
17649
+ * @param {*} [options] Override http request option.
17650
+ * @throws {RequiredError}
17651
+ */
17652
+ getUsersPaymentRequests(requestParameters: UsersApiGetUsersPaymentRequestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedBasePaymentRequestResponse>;
16602
17653
  /**
16603
17654
  *
16604
17655
  * @summary Returns the user\'s Points of Sale
@@ -17028,6 +18079,19 @@ export interface UsersApiGetUserSettingsRequest {
17028
18079
  */
17029
18080
  readonly id: number;
17030
18081
  }
18082
+ /**
18083
+ * Request parameters for getUserTos operation in UsersApi.
18084
+ * @export
18085
+ * @interface UsersApiGetUserTosRequest
18086
+ */
18087
+ export interface UsersApiGetUserTosRequest {
18088
+ /**
18089
+ * The id of the user
18090
+ * @type {number}
18091
+ * @memberof UsersApiGetUserTos
18092
+ */
18093
+ readonly id: number;
18094
+ }
17031
18095
  /**
17032
18096
  * Request parameters for getUsersContainers operation in UsersApi.
17033
18097
  * @export
@@ -17090,6 +18154,55 @@ export interface UsersApiGetUsersFinancialMutationsRequest {
17090
18154
  */
17091
18155
  readonly skip?: number;
17092
18156
  }
18157
+ /**
18158
+ * Request parameters for getUsersPaymentRequests operation in UsersApi.
18159
+ * @export
18160
+ * @interface UsersApiGetUsersPaymentRequestsRequest
18161
+ */
18162
+ export interface UsersApiGetUsersPaymentRequestsRequest {
18163
+ /**
18164
+ * The id of the beneficiary user.
18165
+ * @type {number}
18166
+ * @memberof UsersApiGetUsersPaymentRequests
18167
+ */
18168
+ readonly id: number;
18169
+ /**
18170
+ * Filter by creator user id.
18171
+ * @type {number}
18172
+ * @memberof UsersApiGetUsersPaymentRequests
18173
+ */
18174
+ readonly createdById?: number;
18175
+ /**
18176
+ * Comma-separated list of derived statuses.
18177
+ * @type {'PENDING' | 'PAID' | 'EXPIRED' | 'CANCELLED'}
18178
+ * @memberof UsersApiGetUsersPaymentRequests
18179
+ */
18180
+ readonly status?: GetUsersPaymentRequestsStatusEnum;
18181
+ /**
18182
+ * Filter requests created on or after this ISO date (inclusive).
18183
+ * @type {string}
18184
+ * @memberof UsersApiGetUsersPaymentRequests
18185
+ */
18186
+ readonly fromDate?: string;
18187
+ /**
18188
+ * Filter requests created strictly before this ISO date (exclusive).
18189
+ * @type {string}
18190
+ * @memberof UsersApiGetUsersPaymentRequests
18191
+ */
18192
+ readonly tillDate?: string;
18193
+ /**
18194
+ * How many rows the endpoint should return
18195
+ * @type {number}
18196
+ * @memberof UsersApiGetUsersPaymentRequests
18197
+ */
18198
+ readonly take?: number;
18199
+ /**
18200
+ * How many rows to skip (for pagination)
18201
+ * @type {number}
18202
+ * @memberof UsersApiGetUsersPaymentRequests
18203
+ */
18204
+ readonly skip?: number;
18205
+ }
17093
18206
  /**
17094
18207
  * Request parameters for getUsersPointsOfSale operation in UsersApi.
17095
18208
  * @export
@@ -17605,7 +18718,7 @@ export interface UsersApiWaiveUserFinesRequest {
17605
18718
  export declare class UsersApi extends BaseAPI {
17606
18719
  /**
17607
18720
  *
17608
- * @summary Accept the Terms of Service if you have not accepted it yet
18721
+ * @summary Accept the current Terms of Service version
17609
18722
  * @param {UsersApiAcceptTosRequest} requestParameters Request parameters.
17610
18723
  * @param {*} [options] Override http request option.
17611
18724
  * @throws {RequiredError}
@@ -17738,6 +18851,15 @@ export declare class UsersApi extends BaseAPI {
17738
18851
  * @memberof UsersApi
17739
18852
  */
17740
18853
  getUserSettings(requestParameters: UsersApiGetUserSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserSettingsResponse, any, {}>>;
18854
+ /**
18855
+ *
18856
+ * @summary Get a user\'s terms of service status and acceptance history
18857
+ * @param {UsersApiGetUserTosRequest} requestParameters Request parameters.
18858
+ * @param {*} [options] Override http request option.
18859
+ * @throws {RequiredError}
18860
+ * @memberof UsersApi
18861
+ */
18862
+ getUserTos(requestParameters: UsersApiGetUserTosRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserTosResponse, any, {}>>;
17741
18863
  /**
17742
18864
  *
17743
18865
  * @summary Returns the user\'s containers
@@ -17756,6 +18878,15 @@ export declare class UsersApi extends BaseAPI {
17756
18878
  * @memberof UsersApi
17757
18879
  */
17758
18880
  getUsersFinancialMutations(requestParameters: UsersApiGetUsersFinancialMutationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedFinancialMutationResponse, any, {}>>;
18881
+ /**
18882
+ *
18883
+ * @summary Get the PaymentRequests where the given user is the beneficiary. Regular users can hit this for their own id; admins can hit it for any user.
18884
+ * @param {UsersApiGetUsersPaymentRequestsRequest} requestParameters Request parameters.
18885
+ * @param {*} [options] Override http request option.
18886
+ * @throws {RequiredError}
18887
+ * @memberof UsersApi
18888
+ */
18889
+ getUsersPaymentRequests(requestParameters: UsersApiGetUsersPaymentRequestsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedBasePaymentRequestResponse, any, {}>>;
17759
18890
  /**
17760
18891
  *
17761
18892
  * @summary Returns the user\'s Points of Sale
@@ -17951,6 +19082,16 @@ export declare const GetAllUsersTypeEnum: {
17951
19082
  readonly AutomaticInvoice: "AUTOMATIC_INVOICE";
17952
19083
  };
17953
19084
  export type GetAllUsersTypeEnum = typeof GetAllUsersTypeEnum[keyof typeof GetAllUsersTypeEnum];
19085
+ /**
19086
+ * @export
19087
+ */
19088
+ export declare const GetUsersPaymentRequestsStatusEnum: {
19089
+ readonly Pending: "PENDING";
19090
+ readonly Paid: "PAID";
19091
+ readonly Expired: "EXPIRED";
19092
+ readonly Cancelled: "CANCELLED";
19093
+ };
19094
+ export type GetUsersPaymentRequestsStatusEnum = typeof GetUsersPaymentRequestsStatusEnum[keyof typeof GetUsersPaymentRequestsStatusEnum];
17954
19095
  /**
17955
19096
  * @export
17956
19097
  */