@gewis/sudosos-client 0.0.0-develop.68f4f22 → 0.0.0-develop.6d841fc

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 +1778 -648
  2. package/dist/api.js +1393 -389
  3. package/package.json +4 -4
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
  *
@@ -70,6 +76,12 @@ export interface AuthenticationEanRequest {
70
76
  * @memberof AuthenticationEanRequest
71
77
  */
72
78
  'eanCode': string;
79
+ /**
80
+ * POS identifier
81
+ * @type {number}
82
+ * @memberof AuthenticationEanRequest
83
+ */
84
+ 'posId': number;
73
85
  }
74
86
  /**
75
87
  *
@@ -159,6 +171,12 @@ export interface AuthenticationNfcRequest {
159
171
  * @memberof AuthenticationNfcRequest
160
172
  */
161
173
  'nfcCode': string;
174
+ /**
175
+ * POS identifier
176
+ * @type {number}
177
+ * @memberof AuthenticationNfcRequest
178
+ */
179
+ 'posId': number;
162
180
  }
163
181
  /**
164
182
  *
@@ -178,6 +196,12 @@ export interface AuthenticationPinRequest {
178
196
  * @memberof AuthenticationPinRequest
179
197
  */
180
198
  'pin': string;
199
+ /**
200
+ * POS identifier
201
+ * @type {number}
202
+ * @memberof AuthenticationPinRequest
203
+ */
204
+ 'posId': number;
181
205
  }
182
206
  /**
183
207
  *
@@ -260,69 +284,6 @@ export interface AuthenticationResponse {
260
284
  */
261
285
  'rolesWithPermissions': Array<RoleWithPermissionsResponse>;
262
286
  }
263
- /**
264
- *
265
- * @export
266
- * @interface AuthenticationSecureEanRequest
267
- */
268
- export interface AuthenticationSecureEanRequest {
269
- /**
270
- *
271
- * @type {string}
272
- * @memberof AuthenticationSecureEanRequest
273
- */
274
- 'eanCode': string;
275
- /**
276
- * POS identifier
277
- * @type {number}
278
- * @memberof AuthenticationSecureEanRequest
279
- */
280
- 'posId': number;
281
- }
282
- /**
283
- *
284
- * @export
285
- * @interface AuthenticationSecureNfcRequest
286
- */
287
- export interface AuthenticationSecureNfcRequest {
288
- /**
289
- *
290
- * @type {string}
291
- * @memberof AuthenticationSecureNfcRequest
292
- */
293
- 'nfcCode': string;
294
- /**
295
- * POS identifier
296
- * @type {number}
297
- * @memberof AuthenticationSecureNfcRequest
298
- */
299
- 'posId': number;
300
- }
301
- /**
302
- *
303
- * @export
304
- * @interface AuthenticationSecurePinRequest
305
- */
306
- export interface AuthenticationSecurePinRequest {
307
- /**
308
- *
309
- * @type {number}
310
- * @memberof AuthenticationSecurePinRequest
311
- */
312
- 'userId': number;
313
- /**
314
- *
315
- * @type {string}
316
- * @memberof AuthenticationSecurePinRequest
317
- */
318
- 'pin': string;
319
- /**
320
- * POS identifier (required for secure authentication)
321
- * @type {number}
322
- * @memberof AuthenticationSecurePinRequest
323
- */
324
- 'posId': number;
325
- }
326
287
  /**
327
288
  *
328
289
  * @export
@@ -946,6 +907,104 @@ export interface BaseInvoiceResponse {
946
907
  */
947
908
  'totalInclVat': DineroObjectResponse;
948
909
  }
910
+ /**
911
+ * PaymentRequest is UUID-keyed. To avoid overloading the `id` slot (which on other responses is the numeric DB id), the UUID is exposed under a semantically named field, mirroring how `QRAuthenticator` exposes its UUID as `sessionId`. The response therefore extends `BaseResponseWithoutId` (timestamps + version, no `id`) and declares a `uuid` of its own.
912
+ * @export
913
+ * @interface BasePaymentRequestResponse
914
+ */
915
+ export interface BasePaymentRequestResponse {
916
+ /**
917
+ * UUID v4 identifier (also the public share-link id).
918
+ * @type {string}
919
+ * @memberof BasePaymentRequestResponse
920
+ */
921
+ 'uuid': string;
922
+ /**
923
+ * ISO-8601 creation timestamp.
924
+ * @type {string}
925
+ * @memberof BasePaymentRequestResponse
926
+ */
927
+ 'createdAt'?: string;
928
+ /**
929
+ * ISO-8601 last update timestamp.
930
+ * @type {string}
931
+ * @memberof BasePaymentRequestResponse
932
+ */
933
+ 'updatedAt'?: string;
934
+ /**
935
+ * Optimistic-locking version.
936
+ * @type {number}
937
+ * @memberof BasePaymentRequestResponse
938
+ */
939
+ 'version'?: number;
940
+ /**
941
+ *
942
+ * @type {BaseUserResponse}
943
+ * @memberof BasePaymentRequestResponse
944
+ */
945
+ 'for': BaseUserResponse;
946
+ /**
947
+ *
948
+ * @type {BaseUserResponse}
949
+ * @memberof BasePaymentRequestResponse
950
+ */
951
+ 'createdBy': BaseUserResponse;
952
+ /**
953
+ *
954
+ * @type {DineroObjectResponse}
955
+ * @memberof BasePaymentRequestResponse
956
+ */
957
+ 'amount': DineroObjectResponse;
958
+ /**
959
+ * ISO-8601 timestamp after which payments stop being accepted.
960
+ * @type {string}
961
+ * @memberof BasePaymentRequestResponse
962
+ */
963
+ 'expiresAt': string;
964
+ /**
965
+ * ISO-8601 timestamp the request was marked paid (null if not paid).
966
+ * @type {string}
967
+ * @memberof BasePaymentRequestResponse
968
+ */
969
+ 'paidAt'?: string;
970
+ /**
971
+ * ISO-8601 timestamp the request was cancelled (null if not cancelled).
972
+ * @type {string}
973
+ * @memberof BasePaymentRequestResponse
974
+ */
975
+ 'cancelledAt'?: string;
976
+ /**
977
+ *
978
+ * @type {BaseUserResponse}
979
+ * @memberof BasePaymentRequestResponse
980
+ */
981
+ 'cancelledBy'?: BaseUserResponse;
982
+ /**
983
+ *
984
+ * @type {BaseUserResponse}
985
+ * @memberof BasePaymentRequestResponse
986
+ */
987
+ 'fulfilledBy'?: BaseUserResponse;
988
+ /**
989
+ * Optional human-readable description.
990
+ * @type {string}
991
+ * @memberof BasePaymentRequestResponse
992
+ */
993
+ 'description'?: string;
994
+ /**
995
+ * Derived lifecycle status.
996
+ * @type {string}
997
+ * @memberof BasePaymentRequestResponse
998
+ */
999
+ 'status': BasePaymentRequestResponseStatusEnum;
1000
+ }
1001
+ export declare const BasePaymentRequestResponseStatusEnum: {
1002
+ readonly Pending: "PENDING";
1003
+ readonly Paid: "PAID";
1004
+ readonly Expired: "EXPIRED";
1005
+ readonly Cancelled: "CANCELLED";
1006
+ };
1007
+ export type BasePaymentRequestResponseStatusEnum = typeof BasePaymentRequestResponseStatusEnum[keyof typeof BasePaymentRequestResponseStatusEnum];
949
1008
  /**
950
1009
  *
951
1010
  * @export
@@ -1186,6 +1245,31 @@ export interface BaseResponse {
1186
1245
  */
1187
1246
  'version'?: number;
1188
1247
  }
1248
+ /**
1249
+ * Standard timestamp/version fields every response shares, without an `id`. Responses that key on a UUID (or any non-integer identifier) extend this and add their own `id` field. Responses keyed on an integer id extend `BaseResponse` instead, which adds `id: number`. Parallel to `BaseEntityWithoutId` on the entity side.
1250
+ * @export
1251
+ * @interface BaseResponseWithoutId
1252
+ */
1253
+ export interface BaseResponseWithoutId {
1254
+ /**
1255
+ * The creation Date of the entity.
1256
+ * @type {string}
1257
+ * @memberof BaseResponseWithoutId
1258
+ */
1259
+ 'createdAt'?: string;
1260
+ /**
1261
+ * The last update Date of the entity.
1262
+ * @type {string}
1263
+ * @memberof BaseResponseWithoutId
1264
+ */
1265
+ 'updatedAt'?: string;
1266
+ /**
1267
+ * The version of the entity.
1268
+ * @type {number}
1269
+ * @memberof BaseResponseWithoutId
1270
+ */
1271
+ 'version'?: number;
1272
+ }
1189
1273
  /**
1190
1274
  *
1191
1275
  * @export
@@ -1659,7 +1743,7 @@ export interface ContainerWithProductsResponse {
1659
1743
  'products': Array<ProductResponse>;
1660
1744
  }
1661
1745
  /**
1662
- *
1746
+ * API Request for creating a `container` entity.
1663
1747
  * @export
1664
1748
  * @interface CreateContainerRequest
1665
1749
  */
@@ -1824,6 +1908,37 @@ export interface CreateInvoiceRequest {
1824
1908
  */
1825
1909
  'amount': DineroObjectRequest;
1826
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
+ }
1827
1942
  /**
1828
1943
  *
1829
1944
  * @export
@@ -1856,7 +1971,7 @@ export interface CreatePermissionParams {
1856
1971
  'attributes': Array<string>;
1857
1972
  }
1858
1973
  /**
1859
- *
1974
+ * API Request for creating a `point of sale` entity.
1860
1975
  * @export
1861
1976
  * @interface CreatePointOfSaleRequest
1862
1977
  */
@@ -1880,7 +1995,7 @@ export interface CreatePointOfSaleRequest {
1880
1995
  */
1881
1996
  'containers': Array<number>;
1882
1997
  /**
1883
- * ID of the user who will own the POS, if undefined it will default to the token ID.
1998
+ * ID of the user who will own the POS.
1884
1999
  * @type {number}
1885
2000
  * @memberof CreatePointOfSaleRequest
1886
2001
  */
@@ -1893,7 +2008,7 @@ export interface CreatePointOfSaleRequest {
1893
2008
  'cashierRoleIds'?: Array<number>;
1894
2009
  }
1895
2010
  /**
1896
- *
2011
+ * API Request for creating a `product` entity.
1897
2012
  * @export
1898
2013
  * @interface CreateProductRequest
1899
2014
  */
@@ -2003,6 +2118,19 @@ export interface CreateShiftRequest {
2003
2118
  */
2004
2119
  'roles': Array<string>;
2005
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
+ }
2006
2134
  /**
2007
2135
  *
2008
2136
  * @export
@@ -3154,44 +3282,38 @@ export interface InvoiceUserResponse {
3154
3282
  /**
3155
3283
  *
3156
3284
  * @export
3157
- * @interface MemberAuthenticationPinRequest
3285
+ * @interface MarkFulfilledExternallyRequest
3158
3286
  */
3159
- export interface MemberAuthenticationPinRequest {
3160
- /**
3161
- *
3162
- * @type {number}
3163
- * @memberof MemberAuthenticationPinRequest
3164
- */
3165
- 'memberId': number;
3287
+ export interface MarkFulfilledExternallyRequest {
3166
3288
  /**
3167
- *
3289
+ * Why this request is being marked paid out-of-band (audit trail).
3168
3290
  * @type {string}
3169
- * @memberof MemberAuthenticationPinRequest
3291
+ * @memberof MarkFulfilledExternallyRequest
3170
3292
  */
3171
- 'pin': string;
3293
+ 'reason': string;
3172
3294
  }
3173
3295
  /**
3174
3296
  *
3175
3297
  * @export
3176
- * @interface MemberAuthenticationSecurePinRequest
3298
+ * @interface MemberAuthenticationPinRequest
3177
3299
  */
3178
- export interface MemberAuthenticationSecurePinRequest {
3300
+ export interface MemberAuthenticationPinRequest {
3179
3301
  /**
3180
3302
  *
3181
3303
  * @type {number}
3182
- * @memberof MemberAuthenticationSecurePinRequest
3304
+ * @memberof MemberAuthenticationPinRequest
3183
3305
  */
3184
3306
  'memberId': number;
3185
3307
  /**
3186
3308
  *
3187
3309
  * @type {string}
3188
- * @memberof MemberAuthenticationSecurePinRequest
3310
+ * @memberof MemberAuthenticationPinRequest
3189
3311
  */
3190
3312
  'pin': string;
3191
3313
  /**
3192
3314
  * POS identifier
3193
3315
  * @type {number}
3194
- * @memberof MemberAuthenticationSecurePinRequest
3316
+ * @memberof MemberAuthenticationPinRequest
3195
3317
  */
3196
3318
  'posId': number;
3197
3319
  }
@@ -3219,13 +3341,13 @@ export interface PaginatedBalanceResponse {
3219
3341
  * @type {PaginationResult}
3220
3342
  * @memberof PaginatedBalanceResponse
3221
3343
  */
3222
- '_pagination'?: PaginationResult;
3344
+ '_pagination': PaginationResult;
3223
3345
  /**
3224
3346
  * Returned balance responses
3225
3347
  * @type {Array<BalanceResponse>}
3226
3348
  * @memberof PaginatedBalanceResponse
3227
3349
  */
3228
- 'records'?: Array<BalanceResponse>;
3350
+ 'records': Array<BalanceResponse>;
3229
3351
  }
3230
3352
  /**
3231
3353
  * Paginated API Response for the `banner` entity.
@@ -3238,13 +3360,13 @@ export interface PaginatedBannerResponse {
3238
3360
  * @type {PaginationResult}
3239
3361
  * @memberof PaginatedBannerResponse
3240
3362
  */
3241
- '_pagination'?: PaginationResult;
3363
+ '_pagination': PaginationResult;
3242
3364
  /**
3243
3365
  * Returned banners
3244
3366
  * @type {Array<BannerResponse>}
3245
3367
  * @memberof PaginatedBannerResponse
3246
3368
  */
3247
- 'records'?: Array<BannerResponse>;
3369
+ 'records': Array<BannerResponse>;
3248
3370
  }
3249
3371
  /**
3250
3372
  *
@@ -3265,6 +3387,25 @@ export interface PaginatedBaseEventResponse {
3265
3387
  */
3266
3388
  'records': Array<BaseEventResponse>;
3267
3389
  }
3390
+ /**
3391
+ *
3392
+ * @export
3393
+ * @interface PaginatedBasePaymentRequestResponse
3394
+ */
3395
+ export interface PaginatedBasePaymentRequestResponse {
3396
+ /**
3397
+ *
3398
+ * @type {PaginationResult}
3399
+ * @memberof PaginatedBasePaymentRequestResponse
3400
+ */
3401
+ '_pagination': PaginationResult;
3402
+ /**
3403
+ * Returned payment requests
3404
+ * @type {Array<BasePaymentRequestResponse>}
3405
+ * @memberof PaginatedBasePaymentRequestResponse
3406
+ */
3407
+ 'records': Array<BasePaymentRequestResponse>;
3408
+ }
3268
3409
  /**
3269
3410
  *
3270
3411
  * @export
@@ -3304,7 +3445,7 @@ export interface PaginatedBaseTransactionResponse {
3304
3445
  'records': Array<BaseTransactionResponse>;
3305
3446
  }
3306
3447
  /**
3307
- *
3448
+ * Paginated API Response for the `container` entity.
3308
3449
  * @export
3309
3450
  * @interface PaginatedContainerResponse
3310
3451
  */
@@ -3323,7 +3464,7 @@ export interface PaginatedContainerResponse {
3323
3464
  'records': Array<ContainerResponse>;
3324
3465
  }
3325
3466
  /**
3326
- *
3467
+ * Paginated API Response for the `container` entity, with each container\'s products inlined.
3327
3468
  * @export
3328
3469
  * @interface PaginatedContainerWithProductResponse
3329
3470
  */
@@ -3409,13 +3550,13 @@ export interface PaginatedInactiveAdministrativeCostResponse {
3409
3550
  * @type {PaginationResult}
3410
3551
  * @memberof PaginatedInactiveAdministrativeCostResponse
3411
3552
  */
3412
- '_pagination'?: PaginationResult;
3553
+ '_pagination': PaginationResult;
3413
3554
  /**
3414
3555
  * Returned InactiveAdministrativeCost
3415
3556
  * @type {Array<InactiveAdministrativeCostResponse>}
3416
3557
  * @memberof PaginatedInactiveAdministrativeCostResponse
3417
3558
  */
3418
- 'records'?: Array<InactiveAdministrativeCostResponse>;
3559
+ 'records': Array<InactiveAdministrativeCostResponse>;
3419
3560
  }
3420
3561
  /**
3421
3562
  *
@@ -3437,7 +3578,7 @@ export interface PaginatedInvoiceResponse {
3437
3578
  'records': Array<InvoiceResponseTypes>;
3438
3579
  }
3439
3580
  /**
3440
- *
3581
+ * Paginated API Response for the `point of sale` entity.
3441
3582
  * @export
3442
3583
  * @interface PaginatedPointOfSaleResponse
3443
3584
  */
@@ -3456,7 +3597,7 @@ export interface PaginatedPointOfSaleResponse {
3456
3597
  'records': Array<PointOfSaleResponse>;
3457
3598
  }
3458
3599
  /**
3459
- *
3600
+ * Paginated API Response for the `product category` entity.
3460
3601
  * @export
3461
3602
  * @interface PaginatedProductCategoryResponse
3462
3603
  */
@@ -3475,7 +3616,7 @@ export interface PaginatedProductCategoryResponse {
3475
3616
  'records': Array<ProductCategoryResponse>;
3476
3617
  }
3477
3618
  /**
3478
- *
3619
+ * Paginated API Response for the `product` entity.
3479
3620
  * @export
3480
3621
  * @interface PaginatedProductResponse
3481
3622
  */
@@ -3570,7 +3711,7 @@ export interface PaginatedUserResponse {
3570
3711
  'records': Array<UserResponse>;
3571
3712
  }
3572
3713
  /**
3573
- *
3714
+ * Paginated API Response for the `vat group` entity.
3574
3715
  * @export
3575
3716
  * @interface PaginatedVatGroupResponse
3576
3717
  */
@@ -3695,6 +3836,31 @@ export interface PatchUserTypeRequest {
3695
3836
  */
3696
3837
  'userType': string;
3697
3838
  }
3839
+ /**
3840
+ * Response returned from the \"start payment\" endpoint. Contains just enough to let the browser redirect into the Stripe Payment Element.
3841
+ * @export
3842
+ * @interface PaymentRequestStartResponse
3843
+ */
3844
+ export interface PaymentRequestStartResponse {
3845
+ /**
3846
+ * The PaymentRequest id the intent is linked to.
3847
+ * @type {string}
3848
+ * @memberof PaymentRequestStartResponse
3849
+ */
3850
+ 'paymentRequestId': string;
3851
+ /**
3852
+ * Stripe payment intent id.
3853
+ * @type {string}
3854
+ * @memberof PaymentRequestStartResponse
3855
+ */
3856
+ 'stripeId': string;
3857
+ /**
3858
+ * Stripe client secret for the intent.
3859
+ * @type {string}
3860
+ * @memberof PaymentRequestStartResponse
3861
+ */
3862
+ 'clientSecret': string;
3863
+ }
3698
3864
  /**
3699
3865
  *
3700
3866
  * @export
@@ -3902,7 +4068,7 @@ export interface PermissionResponse {
3902
4068
  'actions': Array<ActionResponse>;
3903
4069
  }
3904
4070
  /**
3905
- *
4071
+ * API Response describing who is associated with a `point of sale`: its owner, the owner\'s organ members, and the cashier users (users holding at least one of the POS\'s cashier roles).
3906
4072
  * @export
3907
4073
  * @interface PointOfSaleAssociateUsersResponse
3908
4074
  */
@@ -4057,6 +4223,19 @@ export interface PointOfSaleWithContainersResponse {
4057
4223
  /**
4058
4224
  *
4059
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
+ }
4236
+ /**
4237
+ * API Request for creating or updating a `product category` entity.
4238
+ * @export
4060
4239
  * @interface ProductCategoryRequest
4061
4240
  */
4062
4241
  export interface ProductCategoryRequest {
@@ -4220,23 +4399,73 @@ export interface ProductResponse {
4220
4399
  'priceList': boolean;
4221
4400
  }
4222
4401
  /**
4223
- *
4402
+ * Minimal response returned to unauthenticated callers of the public share link endpoint. It deliberately omits `createdBy`, `cancelledBy`, and other internal audit fields — anyone with the link can see it, so we leak as little user info as possible.
4224
4403
  * @export
4225
- * @interface QRCodeResponse
4404
+ * @interface PublicPaymentRequestResponse
4226
4405
  */
4227
- export interface QRCodeResponse {
4406
+ export interface PublicPaymentRequestResponse {
4228
4407
  /**
4229
- * The session ID
4408
+ * UUID v4 identifier.
4230
4409
  * @type {string}
4231
- * @memberof QRCodeResponse
4410
+ * @memberof PublicPaymentRequestResponse
4232
4411
  */
4233
- 'sessionId': string;
4412
+ 'uuid': string;
4234
4413
  /**
4235
- * The QR code URL
4414
+ * Recipient display name (e.g. \"John D.\").
4236
4415
  * @type {string}
4237
- * @memberof QRCodeResponse
4416
+ * @memberof PublicPaymentRequestResponse
4238
4417
  */
4239
- 'qrCodeUrl': string;
4418
+ 'forDisplayName': string;
4419
+ /**
4420
+ *
4421
+ * @type {DineroObjectResponse}
4422
+ * @memberof PublicPaymentRequestResponse
4423
+ */
4424
+ 'amount': DineroObjectResponse;
4425
+ /**
4426
+ * ISO-8601 timestamp after which payments stop being accepted.
4427
+ * @type {string}
4428
+ * @memberof PublicPaymentRequestResponse
4429
+ */
4430
+ 'expiresAt': string;
4431
+ /**
4432
+ * Optional human-readable description.
4433
+ * @type {string}
4434
+ * @memberof PublicPaymentRequestResponse
4435
+ */
4436
+ 'description'?: string;
4437
+ /**
4438
+ * Derived lifecycle status.
4439
+ * @type {string}
4440
+ * @memberof PublicPaymentRequestResponse
4441
+ */
4442
+ 'status': PublicPaymentRequestResponseStatusEnum;
4443
+ }
4444
+ export declare const PublicPaymentRequestResponseStatusEnum: {
4445
+ readonly Pending: "PENDING";
4446
+ readonly Paid: "PAID";
4447
+ readonly Expired: "EXPIRED";
4448
+ readonly Cancelled: "CANCELLED";
4449
+ };
4450
+ export type PublicPaymentRequestResponseStatusEnum = typeof PublicPaymentRequestResponseStatusEnum[keyof typeof PublicPaymentRequestResponseStatusEnum];
4451
+ /**
4452
+ *
4453
+ * @export
4454
+ * @interface QRCodeResponse
4455
+ */
4456
+ export interface QRCodeResponse {
4457
+ /**
4458
+ * The session ID
4459
+ * @type {string}
4460
+ * @memberof QRCodeResponse
4461
+ */
4462
+ 'sessionId': string;
4463
+ /**
4464
+ * The QR code URL
4465
+ * @type {string}
4466
+ * @memberof QRCodeResponse
4467
+ */
4468
+ 'qrCodeUrl': string;
4240
4469
  /**
4241
4470
  * The expiry date of the QR code
4242
4471
  * @type {string}
@@ -4896,6 +5125,37 @@ export interface StripePaymentIntentStatusResponse {
4896
5125
  */
4897
5126
  'state': number;
4898
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
+ }
4899
5159
  /**
4900
5160
  *
4901
5161
  * @export
@@ -5088,6 +5348,67 @@ export interface SubTransactionRowResponse {
5088
5348
  */
5089
5349
  'totalPriceInclVat': DineroObjectResponse;
5090
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
+ }
5091
5412
  /**
5092
5413
  *
5093
5414
  * @export
@@ -5100,6 +5421,12 @@ export interface TermsOfServiceResponse {
5100
5421
  * @memberof TermsOfServiceResponse
5101
5422
  */
5102
5423
  'versionNumber': string;
5424
+ /**
5425
+ * The date this version took effect.
5426
+ * @type {string}
5427
+ * @memberof TermsOfServiceResponse
5428
+ */
5429
+ 'date': string;
5103
5430
  /**
5104
5431
  * The terms of service content.
5105
5432
  * @type {string}
@@ -5107,6 +5434,17 @@ export interface TermsOfServiceResponse {
5107
5434
  */
5108
5435
  'content': string;
5109
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];
5110
5448
  /**
5111
5449
  *
5112
5450
  * @export
@@ -5120,23 +5458,23 @@ export interface TotalBalanceResponse {
5120
5458
  */
5121
5459
  'date': string;
5122
5460
  /**
5123
- * The total amount of positive balance in SudoSOS
5124
- * @type {number}
5461
+ *
5462
+ * @type {DineroObjectResponse}
5125
5463
  * @memberof TotalBalanceResponse
5126
5464
  */
5127
- 'totalPositive': number;
5465
+ 'totalPositive': DineroObjectResponse;
5128
5466
  /**
5129
- * The total amount of negative balance in SudoSOS
5130
- * @type {number}
5467
+ *
5468
+ * @type {DineroObjectResponse}
5131
5469
  * @memberof TotalBalanceResponse
5132
5470
  */
5133
- 'totalNegative': number;
5471
+ 'totalNegative': DineroObjectResponse;
5134
5472
  /**
5135
- *
5136
- * @type {UserTypeTotalBalanceResponse}
5473
+ * The total balances for the different user types
5474
+ * @type {Array<UserTypeTotalBalanceResponse>}
5137
5475
  * @memberof TotalBalanceResponse
5138
5476
  */
5139
- 'userTypeBalances': UserTypeTotalBalanceResponse;
5477
+ 'userTypeBalances': Array<UserTypeTotalBalanceResponse>;
5140
5478
  }
5141
5479
  /**
5142
5480
  *
@@ -5721,7 +6059,7 @@ export interface TransferSummaryResponse {
5721
6059
  'manualDeletions': TransferAggregateResponse;
5722
6060
  }
5723
6061
  /**
5724
- *
6062
+ * API Request for updating a `container` entity.
5725
6063
  * @export
5726
6064
  * @interface UpdateContainerRequest
5727
6065
  */
@@ -5971,7 +6309,7 @@ export interface UpdatePinRequest {
5971
6309
  'pin': string;
5972
6310
  }
5973
6311
  /**
5974
- *
6312
+ * API Request for updating a `point of sale` entity.
5975
6313
  * @export
5976
6314
  * @interface UpdatePointOfSaleRequest
5977
6315
  */
@@ -6008,7 +6346,7 @@ export interface UpdatePointOfSaleRequest {
6008
6346
  'cashierRoleIds'?: Array<number>;
6009
6347
  }
6010
6348
  /**
6011
- *
6349
+ * API Request for updating a `product` entity.
6012
6350
  * @export
6013
6351
  * @interface UpdateProductRequest
6014
6352
  */
@@ -6173,9 +6511,15 @@ export interface UpdateUserRequest {
6173
6511
  * @memberof UpdateUserRequest
6174
6512
  */
6175
6513
  'inactiveNotificationSend'?: boolean;
6514
+ /**
6515
+ * ISO date at which the account expires; pass null to clear
6516
+ * @type {string}
6517
+ * @memberof UpdateUserRequest
6518
+ */
6519
+ 'expiryDate'?: string | null;
6176
6520
  }
6177
6521
  /**
6178
- *
6522
+ * API Request for updating an existing `vat group` entity. Only mutable fields; the rate itself cannot change on an existing group.
6179
6523
  * @export
6180
6524
  * @interface UpdateVatGroupRequest
6181
6525
  */
@@ -6348,11 +6692,11 @@ export interface UserResponse {
6348
6692
  */
6349
6693
  'email'?: string;
6350
6694
  /**
6351
- * Whether this user has accepted the TOS
6352
- * @type {string}
6695
+ * Whether this user is required to accept the TOS
6696
+ * @type {boolean}
6353
6697
  * @memberof UserResponse
6354
6698
  */
6355
- 'acceptedToS'?: string;
6699
+ 'tosRequired'?: boolean;
6356
6700
  /**
6357
6701
  * Whether data about this user can be used (non-anonymously) for more data science!
6358
6702
  * @type {boolean}
@@ -6389,6 +6733,12 @@ export interface UserResponse {
6389
6733
  * @memberof UserResponse
6390
6734
  */
6391
6735
  'pos'?: BasePointOfSaleInfoResponse;
6736
+ /**
6737
+ * ISO date at which the account expires (null for accounts without expiry)
6738
+ * @type {string}
6739
+ * @memberof UserResponse
6740
+ */
6741
+ 'expiryDate'?: string | null;
6392
6742
  }
6393
6743
  /**
6394
6744
  *
@@ -6495,6 +6845,50 @@ export interface UserToInactiveAdministrativeCostResponse {
6495
6845
  */
6496
6846
  'nickname'?: string;
6497
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
+ }
6498
6892
  /**
6499
6893
  * The type of a user
6500
6894
  * @export
@@ -6537,7 +6931,7 @@ export interface UserTypeTotalBalanceResponse {
6537
6931
  'totalNegative': DineroObjectResponse;
6538
6932
  }
6539
6933
  /**
6540
- *
6934
+ * A `BaseUserResponse` augmented with a stable position index, used to keep ordered user lists (e.g. POS owner members) rendering in a consistent order across requests.
6541
6935
  * @export
6542
6936
  * @interface UserWithIndex
6543
6937
  */
@@ -6569,7 +6963,7 @@ export interface ValidationResponse {
6569
6963
  'errors': Array<string>;
6570
6964
  }
6571
6965
  /**
6572
- *
6966
+ * API Response for a complete VAT declaration — one result table for a given year and period, containing one {@link VatDeclarationRow} per VAT group.
6573
6967
  * @export
6574
6968
  * @interface VatDeclarationResponse
6575
6969
  */
@@ -6594,7 +6988,7 @@ export interface VatDeclarationResponse {
6594
6988
  'rows': Array<VatDeclarationRow>;
6595
6989
  }
6596
6990
  /**
6597
- *
6991
+ * One row of a VAT declaration — the VAT collected for a single group, broken down by period.
6598
6992
  * @export
6599
6993
  * @interface VatDeclarationRow
6600
6994
  */
@@ -7062,10 +7456,9 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7062
7456
  confirmQRCode: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7063
7457
  /**
7064
7458
  *
7065
- * @summary EAN login and hand out token
7066
- * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login.
7459
+ * @summary EAN authentication that requires POS user authentication
7460
+ * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login request with posId
7067
7461
  * @param {*} [options] Override http request option.
7068
- * @deprecated
7069
7462
  * @throws {RequiredError}
7070
7463
  */
7071
7464
  eanAuthentication: (authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
@@ -7140,13 +7533,12 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7140
7533
  localAuthentication: (authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7141
7534
  /**
7142
7535
  *
7143
- * @summary PIN login for members using memberId.
7144
- * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login.
7536
+ * @summary Member PIN authentication that requires POS user authentication
7537
+ * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login request with posId
7145
7538
  * @param {*} [options] Override http request option.
7146
- * @deprecated
7147
7539
  * @throws {RequiredError}
7148
7540
  */
7149
- memberPinAuthentication: (memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7541
+ memberPINAuthentication: (memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7150
7542
  /**
7151
7543
  *
7152
7544
  * @summary Mock login and hand out token.
@@ -7157,19 +7549,17 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7157
7549
  mockAuthentication: (authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7158
7550
  /**
7159
7551
  *
7160
- * @summary NFC login and hand out token
7161
- * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login.
7552
+ * @summary NFC authentication that requires POS user authentication
7553
+ * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login request with posId
7162
7554
  * @param {*} [options] Override http request option.
7163
- * @deprecated
7164
7555
  * @throws {RequiredError}
7165
7556
  */
7166
7557
  nfcAuthentication: (authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7167
7558
  /**
7168
7559
  *
7169
- * @summary PIN login and hand out token
7170
- * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login.
7560
+ * @summary PIN authentication that requires POS user authentication
7561
+ * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login request with posId
7171
7562
  * @param {*} [options] Override http request option.
7172
- * @deprecated
7173
7563
  * @throws {RequiredError}
7174
7564
  */
7175
7565
  pinAuthentication: (authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
@@ -7196,38 +7586,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7196
7586
  * @throws {RequiredError}
7197
7587
  */
7198
7588
  resetLocalWithToken: (authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7199
- /**
7200
- *
7201
- * @summary Secure EAN authentication that requires POS user authentication
7202
- * @param {AuthenticationSecureEanRequest} authenticationSecureEanRequest The EAN login request with posId
7203
- * @param {*} [options] Override http request option.
7204
- * @throws {RequiredError}
7205
- */
7206
- secureEanAuthentication: (authenticationSecureEanRequest: AuthenticationSecureEanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7207
- /**
7208
- *
7209
- * @summary Secure member PIN authentication that requires POS user authentication
7210
- * @param {MemberAuthenticationSecurePinRequest} memberAuthenticationSecurePinRequest The PIN login request with posId
7211
- * @param {*} [options] Override http request option.
7212
- * @throws {RequiredError}
7213
- */
7214
- secureMemberPINAuthentication: (memberAuthenticationSecurePinRequest: MemberAuthenticationSecurePinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7215
- /**
7216
- *
7217
- * @summary Secure NFC authentication that requires POS user authentication
7218
- * @param {AuthenticationSecureNfcRequest} authenticationSecureNfcRequest The NFC login request with posId
7219
- * @param {*} [options] Override http request option.
7220
- * @throws {RequiredError}
7221
- */
7222
- secureNfcAuthentication: (authenticationSecureNfcRequest: AuthenticationSecureNfcRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7223
- /**
7224
- *
7225
- * @summary Secure PIN authentication that requires POS user authentication
7226
- * @param {AuthenticationSecurePinRequest} authenticationSecurePinRequest The PIN login request with posId
7227
- * @param {*} [options] Override http request option.
7228
- * @throws {RequiredError}
7229
- */
7230
- securePINAuthentication: (authenticationSecurePinRequest: AuthenticationSecurePinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7231
7589
  };
7232
7590
  /**
7233
7591
  * AuthenticateApi - functional programming interface
@@ -7260,10 +7618,9 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7260
7618
  confirmQRCode(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7261
7619
  /**
7262
7620
  *
7263
- * @summary EAN login and hand out token
7264
- * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login.
7621
+ * @summary EAN authentication that requires POS user authentication
7622
+ * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login request with posId
7265
7623
  * @param {*} [options] Override http request option.
7266
- * @deprecated
7267
7624
  * @throws {RequiredError}
7268
7625
  */
7269
7626
  eanAuthentication(authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
@@ -7338,13 +7695,12 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7338
7695
  localAuthentication(authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7339
7696
  /**
7340
7697
  *
7341
- * @summary PIN login for members using memberId.
7342
- * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login.
7698
+ * @summary Member PIN authentication that requires POS user authentication
7699
+ * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login request with posId
7343
7700
  * @param {*} [options] Override http request option.
7344
- * @deprecated
7345
7701
  * @throws {RequiredError}
7346
7702
  */
7347
- memberPinAuthentication(memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7703
+ memberPINAuthentication(memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7348
7704
  /**
7349
7705
  *
7350
7706
  * @summary Mock login and hand out token.
@@ -7355,19 +7711,17 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7355
7711
  mockAuthentication(authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7356
7712
  /**
7357
7713
  *
7358
- * @summary NFC login and hand out token
7359
- * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login.
7714
+ * @summary NFC authentication that requires POS user authentication
7715
+ * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login request with posId
7360
7716
  * @param {*} [options] Override http request option.
7361
- * @deprecated
7362
7717
  * @throws {RequiredError}
7363
7718
  */
7364
7719
  nfcAuthentication(authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7365
7720
  /**
7366
7721
  *
7367
- * @summary PIN login and hand out token
7368
- * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login.
7722
+ * @summary PIN authentication that requires POS user authentication
7723
+ * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login request with posId
7369
7724
  * @param {*} [options] Override http request option.
7370
- * @deprecated
7371
7725
  * @throws {RequiredError}
7372
7726
  */
7373
7727
  pinAuthentication(authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
@@ -7394,38 +7748,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7394
7748
  * @throws {RequiredError}
7395
7749
  */
7396
7750
  resetLocalWithToken(authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7397
- /**
7398
- *
7399
- * @summary Secure EAN authentication that requires POS user authentication
7400
- * @param {AuthenticationSecureEanRequest} authenticationSecureEanRequest The EAN login request with posId
7401
- * @param {*} [options] Override http request option.
7402
- * @throws {RequiredError}
7403
- */
7404
- secureEanAuthentication(authenticationSecureEanRequest: AuthenticationSecureEanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7405
- /**
7406
- *
7407
- * @summary Secure member PIN authentication that requires POS user authentication
7408
- * @param {MemberAuthenticationSecurePinRequest} memberAuthenticationSecurePinRequest The PIN login request with posId
7409
- * @param {*} [options] Override http request option.
7410
- * @throws {RequiredError}
7411
- */
7412
- secureMemberPINAuthentication(memberAuthenticationSecurePinRequest: MemberAuthenticationSecurePinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7413
- /**
7414
- *
7415
- * @summary Secure NFC authentication that requires POS user authentication
7416
- * @param {AuthenticationSecureNfcRequest} authenticationSecureNfcRequest The NFC login request with posId
7417
- * @param {*} [options] Override http request option.
7418
- * @throws {RequiredError}
7419
- */
7420
- secureNfcAuthentication(authenticationSecureNfcRequest: AuthenticationSecureNfcRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7421
- /**
7422
- *
7423
- * @summary Secure PIN authentication that requires POS user authentication
7424
- * @param {AuthenticationSecurePinRequest} authenticationSecurePinRequest The PIN login request with posId
7425
- * @param {*} [options] Override http request option.
7426
- * @throws {RequiredError}
7427
- */
7428
- securePINAuthentication(authenticationSecurePinRequest: AuthenticationSecurePinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7429
7751
  };
7430
7752
  /**
7431
7753
  * AuthenticateApi - factory interface
@@ -7458,10 +7780,9 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7458
7780
  confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7459
7781
  /**
7460
7782
  *
7461
- * @summary EAN login and hand out token
7783
+ * @summary EAN authentication that requires POS user authentication
7462
7784
  * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
7463
7785
  * @param {*} [options] Override http request option.
7464
- * @deprecated
7465
7786
  * @throws {RequiredError}
7466
7787
  */
7467
7788
  eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
@@ -7536,13 +7857,12 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7536
7857
  localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7537
7858
  /**
7538
7859
  *
7539
- * @summary PIN login for members using memberId.
7540
- * @param {AuthenticateApiMemberPinAuthenticationRequest} requestParameters Request parameters.
7860
+ * @summary Member PIN authentication that requires POS user authentication
7861
+ * @param {AuthenticateApiMemberPINAuthenticationRequest} requestParameters Request parameters.
7541
7862
  * @param {*} [options] Override http request option.
7542
- * @deprecated
7543
7863
  * @throws {RequiredError}
7544
7864
  */
7545
- memberPinAuthentication(requestParameters: AuthenticateApiMemberPinAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7865
+ memberPINAuthentication(requestParameters: AuthenticateApiMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7546
7866
  /**
7547
7867
  *
7548
7868
  * @summary Mock login and hand out token.
@@ -7553,19 +7873,17 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7553
7873
  mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7554
7874
  /**
7555
7875
  *
7556
- * @summary NFC login and hand out token
7876
+ * @summary NFC authentication that requires POS user authentication
7557
7877
  * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
7558
7878
  * @param {*} [options] Override http request option.
7559
- * @deprecated
7560
7879
  * @throws {RequiredError}
7561
7880
  */
7562
7881
  nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7563
7882
  /**
7564
7883
  *
7565
- * @summary PIN login and hand out token
7884
+ * @summary PIN authentication that requires POS user authentication
7566
7885
  * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
7567
7886
  * @param {*} [options] Override http request option.
7568
- * @deprecated
7569
7887
  * @throws {RequiredError}
7570
7888
  */
7571
7889
  pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
@@ -7592,38 +7910,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7592
7910
  * @throws {RequiredError}
7593
7911
  */
7594
7912
  resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7595
- /**
7596
- *
7597
- * @summary Secure EAN authentication that requires POS user authentication
7598
- * @param {AuthenticateApiSecureEanAuthenticationRequest} requestParameters Request parameters.
7599
- * @param {*} [options] Override http request option.
7600
- * @throws {RequiredError}
7601
- */
7602
- secureEanAuthentication(requestParameters: AuthenticateApiSecureEanAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7603
- /**
7604
- *
7605
- * @summary Secure member PIN authentication that requires POS user authentication
7606
- * @param {AuthenticateApiSecureMemberPINAuthenticationRequest} requestParameters Request parameters.
7607
- * @param {*} [options] Override http request option.
7608
- * @throws {RequiredError}
7609
- */
7610
- secureMemberPINAuthentication(requestParameters: AuthenticateApiSecureMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7611
- /**
7612
- *
7613
- * @summary Secure NFC authentication that requires POS user authentication
7614
- * @param {AuthenticateApiSecureNfcAuthenticationRequest} requestParameters Request parameters.
7615
- * @param {*} [options] Override http request option.
7616
- * @throws {RequiredError}
7617
- */
7618
- secureNfcAuthentication(requestParameters: AuthenticateApiSecureNfcAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7619
- /**
7620
- *
7621
- * @summary Secure PIN authentication that requires POS user authentication
7622
- * @param {AuthenticateApiSecurePINAuthenticationRequest} requestParameters Request parameters.
7623
- * @param {*} [options] Override http request option.
7624
- * @throws {RequiredError}
7625
- */
7626
- securePINAuthentication(requestParameters: AuthenticateApiSecurePINAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7627
7913
  };
7628
7914
  /**
7629
7915
  * Request parameters for authenticatePointOfSale operation in AuthenticateApi.
@@ -7671,7 +7957,7 @@ export interface AuthenticateApiConfirmQRCodeRequest {
7671
7957
  */
7672
7958
  export interface AuthenticateApiEanAuthenticationRequest {
7673
7959
  /**
7674
- * The EAN login.
7960
+ * The EAN login request with posId
7675
7961
  * @type {AuthenticationEanRequest}
7676
7962
  * @memberof AuthenticateApiEanAuthentication
7677
7963
  */
@@ -7756,15 +8042,15 @@ export interface AuthenticateApiLocalAuthenticationRequest {
7756
8042
  readonly authenticationLocalRequest: AuthenticationLocalRequest;
7757
8043
  }
7758
8044
  /**
7759
- * Request parameters for memberPinAuthentication operation in AuthenticateApi.
8045
+ * Request parameters for memberPINAuthentication operation in AuthenticateApi.
7760
8046
  * @export
7761
- * @interface AuthenticateApiMemberPinAuthenticationRequest
8047
+ * @interface AuthenticateApiMemberPINAuthenticationRequest
7762
8048
  */
7763
- export interface AuthenticateApiMemberPinAuthenticationRequest {
8049
+ export interface AuthenticateApiMemberPINAuthenticationRequest {
7764
8050
  /**
7765
- * The PIN login.
8051
+ * The PIN login request with posId
7766
8052
  * @type {MemberAuthenticationPinRequest}
7767
- * @memberof AuthenticateApiMemberPinAuthentication
8053
+ * @memberof AuthenticateApiMemberPINAuthentication
7768
8054
  */
7769
8055
  readonly memberAuthenticationPinRequest: MemberAuthenticationPinRequest;
7770
8056
  }
@@ -7788,7 +8074,7 @@ export interface AuthenticateApiMockAuthenticationRequest {
7788
8074
  */
7789
8075
  export interface AuthenticateApiNfcAuthenticationRequest {
7790
8076
  /**
7791
- * The NFC login.
8077
+ * The NFC login request with posId
7792
8078
  * @type {AuthenticationNfcRequest}
7793
8079
  * @memberof AuthenticateApiNfcAuthentication
7794
8080
  */
@@ -7801,7 +8087,7 @@ export interface AuthenticateApiNfcAuthenticationRequest {
7801
8087
  */
7802
8088
  export interface AuthenticateApiPinAuthenticationRequest {
7803
8089
  /**
7804
- * The PIN login.
8090
+ * The PIN login request with posId
7805
8091
  * @type {AuthenticationPinRequest}
7806
8092
  * @memberof AuthenticateApiPinAuthentication
7807
8093
  */
@@ -7834,71 +8120,19 @@ export interface AuthenticateApiResetLocalWithTokenRequest {
7834
8120
  readonly authenticationResetTokenRequest: AuthenticationResetTokenRequest;
7835
8121
  }
7836
8122
  /**
7837
- * Request parameters for secureEanAuthentication operation in AuthenticateApi.
8123
+ * AuthenticateApi - object-oriented interface
7838
8124
  * @export
7839
- * @interface AuthenticateApiSecureEanAuthenticationRequest
8125
+ * @class AuthenticateApi
8126
+ * @extends {BaseAPI}
7840
8127
  */
7841
- export interface AuthenticateApiSecureEanAuthenticationRequest {
8128
+ export declare class AuthenticateApi extends BaseAPI {
7842
8129
  /**
7843
- * The EAN login request with posId
7844
- * @type {AuthenticationSecureEanRequest}
7845
- * @memberof AuthenticateApiSecureEanAuthentication
7846
- */
7847
- readonly authenticationSecureEanRequest: AuthenticationSecureEanRequest;
7848
- }
7849
- /**
7850
- * Request parameters for secureMemberPINAuthentication operation in AuthenticateApi.
7851
- * @export
7852
- * @interface AuthenticateApiSecureMemberPINAuthenticationRequest
7853
- */
7854
- export interface AuthenticateApiSecureMemberPINAuthenticationRequest {
7855
- /**
7856
- * The PIN login request with posId
7857
- * @type {MemberAuthenticationSecurePinRequest}
7858
- * @memberof AuthenticateApiSecureMemberPINAuthentication
7859
- */
7860
- readonly memberAuthenticationSecurePinRequest: MemberAuthenticationSecurePinRequest;
7861
- }
7862
- /**
7863
- * Request parameters for secureNfcAuthentication operation in AuthenticateApi.
7864
- * @export
7865
- * @interface AuthenticateApiSecureNfcAuthenticationRequest
7866
- */
7867
- export interface AuthenticateApiSecureNfcAuthenticationRequest {
7868
- /**
7869
- * The NFC login request with posId
7870
- * @type {AuthenticationSecureNfcRequest}
7871
- * @memberof AuthenticateApiSecureNfcAuthentication
7872
- */
7873
- readonly authenticationSecureNfcRequest: AuthenticationSecureNfcRequest;
7874
- }
7875
- /**
7876
- * Request parameters for securePINAuthentication operation in AuthenticateApi.
7877
- * @export
7878
- * @interface AuthenticateApiSecurePINAuthenticationRequest
7879
- */
7880
- export interface AuthenticateApiSecurePINAuthenticationRequest {
7881
- /**
7882
- * The PIN login request with posId
7883
- * @type {AuthenticationSecurePinRequest}
7884
- * @memberof AuthenticateApiSecurePINAuthentication
7885
- */
7886
- readonly authenticationSecurePinRequest: AuthenticationSecurePinRequest;
7887
- }
7888
- /**
7889
- * AuthenticateApi - object-oriented interface
7890
- * @export
7891
- * @class AuthenticateApi
7892
- * @extends {BaseAPI}
7893
- */
7894
- export declare class AuthenticateApi extends BaseAPI {
7895
- /**
7896
- *
7897
- * @summary Get a JWT token for the given POS
7898
- * @param {AuthenticateApiAuthenticatePointOfSaleRequest} requestParameters Request parameters.
7899
- * @param {*} [options] Override http request option.
7900
- * @throws {RequiredError}
7901
- * @memberof AuthenticateApi
8130
+ *
8131
+ * @summary Get a JWT token for the given POS
8132
+ * @param {AuthenticateApiAuthenticatePointOfSaleRequest} requestParameters Request parameters.
8133
+ * @param {*} [options] Override http request option.
8134
+ * @throws {RequiredError}
8135
+ * @memberof AuthenticateApi
7902
8136
  */
7903
8137
  authenticatePointOfSale(requestParameters: AuthenticateApiAuthenticatePointOfSaleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7904
8138
  /**
@@ -7921,10 +8155,9 @@ export declare class AuthenticateApi extends BaseAPI {
7921
8155
  confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
7922
8156
  /**
7923
8157
  *
7924
- * @summary EAN login and hand out token
8158
+ * @summary EAN authentication that requires POS user authentication
7925
8159
  * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
7926
8160
  * @param {*} [options] Override http request option.
7927
- * @deprecated
7928
8161
  * @throws {RequiredError}
7929
8162
  * @memberof AuthenticateApi
7930
8163
  */
@@ -8009,14 +8242,13 @@ export declare class AuthenticateApi extends BaseAPI {
8009
8242
  localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8010
8243
  /**
8011
8244
  *
8012
- * @summary PIN login for members using memberId.
8013
- * @param {AuthenticateApiMemberPinAuthenticationRequest} requestParameters Request parameters.
8245
+ * @summary Member PIN authentication that requires POS user authentication
8246
+ * @param {AuthenticateApiMemberPINAuthenticationRequest} requestParameters Request parameters.
8014
8247
  * @param {*} [options] Override http request option.
8015
- * @deprecated
8016
8248
  * @throws {RequiredError}
8017
8249
  * @memberof AuthenticateApi
8018
8250
  */
8019
- memberPinAuthentication(requestParameters: AuthenticateApiMemberPinAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8251
+ memberPINAuthentication(requestParameters: AuthenticateApiMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8020
8252
  /**
8021
8253
  *
8022
8254
  * @summary Mock login and hand out token.
@@ -8028,20 +8260,18 @@ export declare class AuthenticateApi extends BaseAPI {
8028
8260
  mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8029
8261
  /**
8030
8262
  *
8031
- * @summary NFC login and hand out token
8263
+ * @summary NFC authentication that requires POS user authentication
8032
8264
  * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
8033
8265
  * @param {*} [options] Override http request option.
8034
- * @deprecated
8035
8266
  * @throws {RequiredError}
8036
8267
  * @memberof AuthenticateApi
8037
8268
  */
8038
8269
  nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8039
8270
  /**
8040
8271
  *
8041
- * @summary PIN login and hand out token
8272
+ * @summary PIN authentication that requires POS user authentication
8042
8273
  * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
8043
8274
  * @param {*} [options] Override http request option.
8044
- * @deprecated
8045
8275
  * @throws {RequiredError}
8046
8276
  * @memberof AuthenticateApi
8047
8277
  */
@@ -8072,42 +8302,6 @@ export declare class AuthenticateApi extends BaseAPI {
8072
8302
  * @memberof AuthenticateApi
8073
8303
  */
8074
8304
  resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8075
- /**
8076
- *
8077
- * @summary Secure EAN authentication that requires POS user authentication
8078
- * @param {AuthenticateApiSecureEanAuthenticationRequest} requestParameters Request parameters.
8079
- * @param {*} [options] Override http request option.
8080
- * @throws {RequiredError}
8081
- * @memberof AuthenticateApi
8082
- */
8083
- secureEanAuthentication(requestParameters: AuthenticateApiSecureEanAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8084
- /**
8085
- *
8086
- * @summary Secure member PIN authentication that requires POS user authentication
8087
- * @param {AuthenticateApiSecureMemberPINAuthenticationRequest} requestParameters Request parameters.
8088
- * @param {*} [options] Override http request option.
8089
- * @throws {RequiredError}
8090
- * @memberof AuthenticateApi
8091
- */
8092
- secureMemberPINAuthentication(requestParameters: AuthenticateApiSecureMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8093
- /**
8094
- *
8095
- * @summary Secure NFC authentication that requires POS user authentication
8096
- * @param {AuthenticateApiSecureNfcAuthenticationRequest} requestParameters Request parameters.
8097
- * @param {*} [options] Override http request option.
8098
- * @throws {RequiredError}
8099
- * @memberof AuthenticateApi
8100
- */
8101
- secureNfcAuthentication(requestParameters: AuthenticateApiSecureNfcAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8102
- /**
8103
- *
8104
- * @summary Secure PIN authentication that requires POS user authentication
8105
- * @param {AuthenticateApiSecurePINAuthenticationRequest} requestParameters Request parameters.
8106
- * @param {*} [options] Override http request option.
8107
- * @throws {RequiredError}
8108
- * @memberof AuthenticateApi
8109
- */
8110
- securePINAuthentication(requestParameters: AuthenticateApiSecurePINAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8111
8305
  }
8112
8306
  /**
8113
8307
  * BalanceApi - axios parameter creator
@@ -10826,7 +11020,7 @@ export declare const InactiveAdministrativeCostsApiFp: (configuration?: Configur
10826
11020
  * @param {*} [options] Override http request option.
10827
11021
  * @throws {RequiredError}
10828
11022
  */
10829
- handoutInactiveAdministrativeCostsUsers(handoutInactiveAdministrativeCostsRequest: HandoutInactiveAdministrativeCostsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
11023
+ handoutInactiveAdministrativeCostsUsers(handoutInactiveAdministrativeCostsRequest: HandoutInactiveAdministrativeCostsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InactiveAdministrativeCostResponse>>>;
10830
11024
  /**
10831
11025
  *
10832
11026
  * @summary Notify all users which will pay administrative costs within a year
@@ -10904,7 +11098,7 @@ export declare const InactiveAdministrativeCostsApiFactory: (configuration?: Con
10904
11098
  * @param {*} [options] Override http request option.
10905
11099
  * @throws {RequiredError}
10906
11100
  */
10907
- handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11101
+ handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InactiveAdministrativeCostResponse>>;
10908
11102
  /**
10909
11103
  *
10910
11104
  * @summary Notify all users which will pay administrative costs within a year
@@ -11127,7 +11321,7 @@ export declare class InactiveAdministrativeCostsApi extends BaseAPI {
11127
11321
  * @throws {RequiredError}
11128
11322
  * @memberof InactiveAdministrativeCostsApi
11129
11323
  */
11130
- handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
11324
+ handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InactiveAdministrativeCostResponse[], any, {}>>;
11131
11325
  /**
11132
11326
  *
11133
11327
  * @summary Notify all users which will pay administrative costs within a year
@@ -11299,7 +11493,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
11299
11493
  * @param {*} [options] Override http request option.
11300
11494
  * @throws {RequiredError}
11301
11495
  */
11302
- getEligibleTransactions(forId: number, fromDate: string, tillDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionResponse>>;
11496
+ getEligibleTransactions(forId: number, fromDate: string, tillDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransactionResponse>>>;
11303
11497
  /**
11304
11498
  *
11305
11499
  * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
@@ -11315,7 +11509,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
11315
11509
  * @param {*} [options] Override http request option.
11316
11510
  * @throws {RequiredError}
11317
11511
  */
11318
- getInvoicePdf(id: number, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
11512
+ getInvoicePdf(id: number, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PdfUrlResponse>>;
11319
11513
  /**
11320
11514
  *
11321
11515
  * @summary Returns a single invoice in the system.
@@ -11396,7 +11590,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
11396
11590
  * @param {*} [options] Override http request option.
11397
11591
  * @throws {RequiredError}
11398
11592
  */
11399
- getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransactionResponse>;
11593
+ getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TransactionResponse>>;
11400
11594
  /**
11401
11595
  *
11402
11596
  * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
@@ -11411,7 +11605,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
11411
11605
  * @param {*} [options] Override http request option.
11412
11606
  * @throws {RequiredError}
11413
11607
  */
11414
- getInvoicePdf(requestParameters: InvoicesApiGetInvoicePdfRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
11608
+ getInvoicePdf(requestParameters: InvoicesApiGetInvoicePdfRequest, options?: RawAxiosRequestConfig): AxiosPromise<PdfUrlResponse>;
11415
11609
  /**
11416
11610
  *
11417
11611
  * @summary Returns a single invoice in the system.
@@ -11710,7 +11904,7 @@ export declare class InvoicesApi extends BaseAPI {
11710
11904
  * @throws {RequiredError}
11711
11905
  * @memberof InvoicesApi
11712
11906
  */
11713
- getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse, any, {}>>;
11907
+ getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse[], any, {}>>;
11714
11908
  /**
11715
11909
  *
11716
11910
  * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
@@ -11727,7 +11921,7 @@ export declare class InvoicesApi extends BaseAPI {
11727
11921
  * @throws {RequiredError}
11728
11922
  * @memberof InvoicesApi
11729
11923
  */
11730
- getInvoicePdf(requestParameters: InvoicesApiGetInvoicePdfRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
11924
+ getInvoicePdf(requestParameters: InvoicesApiGetInvoicePdfRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PdfUrlResponse, any, {}>>;
11731
11925
  /**
11732
11926
  *
11733
11927
  * @summary Returns a single invoice in the system.
@@ -11766,330 +11960,816 @@ export declare class InvoicesApi extends BaseAPI {
11766
11960
  updateInvoice(requestParameters: InvoicesApiUpdateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseInvoiceResponse, any, {}>>;
11767
11961
  }
11768
11962
  /**
11769
- * PayoutRequestsApi - axios parameter creator
11963
+ * PaymentRequestsApi - axios parameter creator
11770
11964
  * @export
11771
11965
  */
11772
- export declare const PayoutRequestsApiAxiosParamCreator: (configuration?: Configuration) => {
11966
+ export declare const PaymentRequestsApiAxiosParamCreator: (configuration?: Configuration) => {
11773
11967
  /**
11774
11968
  *
11775
- * @summary Create a new payout request
11776
- * @param {PayoutRequestRequest} payoutRequestRequest New payout request
11969
+ * @summary Cancel a PENDING PaymentRequest.
11970
+ * @param {string} id UUID v4 of the payment request.
11777
11971
  * @param {*} [options] Override http request option.
11778
11972
  * @throws {RequiredError}
11779
11973
  */
11780
- createPayoutRequest: (payoutRequestRequest: PayoutRequestRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11974
+ cancelPaymentRequest: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11781
11975
  /**
11782
11976
  *
11783
- * @summary Returns all payout requests given the filter parameters
11784
- * @param {GetAllPayoutRequestsRequestedByIdParameter} [requestedById] ID of user(s) who requested a payout
11785
- * @param {GetAllPayoutRequestsRequestedByIdParameter} [approvedById] ID of user(s) who approved a payout
11786
- * @param {string} [fromDate] Start date for selected transactions (inclusive)
11787
- * @param {string} [tillDate] End date for selected transactions (exclusive)
11788
- * @param {string} [status] Status of the payout requests (OR relation)
11789
- * @param {number} [take] How many payout requests the endpoint should return
11790
- * @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
11791
11979
  * @param {*} [options] Override http request option.
11792
11980
  * @throws {RequiredError}
11793
11981
  */
11794
- 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>;
11795
11983
  /**
11796
11984
  *
11797
- * @summary Get a payout request pdf
11798
- * @param {number} id The ID of the payout request object that should be returned
11799
- * @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)
11800
11993
  * @param {*} [options] Override http request option.
11801
11994
  * @throws {RequiredError}
11802
11995
  */
11803
- 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>;
11804
11997
  /**
11805
11998
  *
11806
- * @summary Get a single payout request
11807
- * @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.
11808
12001
  * @param {*} [options] Override http request option.
11809
12002
  * @throws {RequiredError}
11810
12003
  */
11811
- getSinglePayoutRequest: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12004
+ getSinglePaymentRequest: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11812
12005
  /**
11813
12006
  *
11814
- * @summary Create a new status for a payout request
11815
- * @param {number} id The ID of the payout request object that should be returned
11816
- * @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
11817
12010
  * @param {*} [options] Override http request option.
11818
12011
  * @throws {RequiredError}
11819
12012
  */
11820
- 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>;
11821
12022
  };
11822
12023
  /**
11823
- * PayoutRequestsApi - functional programming interface
12024
+ * PaymentRequestsApi - functional programming interface
11824
12025
  * @export
11825
12026
  */
11826
- export declare const PayoutRequestsApiFp: (configuration?: Configuration) => {
12027
+ export declare const PaymentRequestsApiFp: (configuration?: Configuration) => {
11827
12028
  /**
11828
12029
  *
11829
- * @summary Create a new payout request
11830
- * @param {PayoutRequestRequest} payoutRequestRequest New payout request
12030
+ * @summary Cancel a PENDING PaymentRequest.
12031
+ * @param {string} id UUID v4 of the payment request.
11831
12032
  * @param {*} [options] Override http request option.
11832
12033
  * @throws {RequiredError}
11833
12034
  */
11834
- 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>>;
11835
12036
  /**
11836
12037
  *
11837
- * @summary Returns all payout requests given the filter parameters
11838
- * @param {GetAllPayoutRequestsRequestedByIdParameter} [requestedById] ID of user(s) who requested a payout
11839
- * @param {GetAllPayoutRequestsRequestedByIdParameter} [approvedById] ID of user(s) who approved a payout
11840
- * @param {string} [fromDate] Start date for selected transactions (inclusive)
11841
- * @param {string} [tillDate] End date for selected transactions (exclusive)
11842
- * @param {string} [status] Status of the payout requests (OR relation)
11843
- * @param {number} [take] How many payout requests the endpoint should return
11844
- * @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
11845
12040
  * @param {*} [options] Override http request option.
11846
12041
  * @throws {RequiredError}
11847
12042
  */
11848
- 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>>;
11849
12044
  /**
11850
12045
  *
11851
- * @summary Get a payout request pdf
11852
- * @param {number} id The ID of the payout request object that should be returned
11853
- * @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)
11854
12054
  * @param {*} [options] Override http request option.
11855
12055
  * @throws {RequiredError}
11856
12056
  */
11857
- 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>>;
11858
12058
  /**
11859
12059
  *
11860
- * @summary Get a single payout request
11861
- * @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.
11862
12062
  * @param {*} [options] Override http request option.
11863
12063
  * @throws {RequiredError}
11864
12064
  */
11865
- 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>>;
11866
12066
  /**
11867
12067
  *
11868
- * @summary Create a new status for a payout request
11869
- * @param {number} id The ID of the payout request object that should be returned
11870
- * @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
11871
12071
  * @param {*} [options] Override http request option.
11872
12072
  * @throws {RequiredError}
11873
12073
  */
11874
- 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>>;
11875
12083
  };
11876
12084
  /**
11877
- * PayoutRequestsApi - factory interface
12085
+ * PaymentRequestsApi - factory interface
11878
12086
  * @export
11879
12087
  */
11880
- export declare const PayoutRequestsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12088
+ export declare const PaymentRequestsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11881
12089
  /**
11882
12090
  *
11883
- * @summary Create a new payout request
11884
- * @param {PayoutRequestsApiCreatePayoutRequestRequest} requestParameters Request parameters.
12091
+ * @summary Cancel a PENDING PaymentRequest.
12092
+ * @param {PaymentRequestsApiCancelPaymentRequestRequest} requestParameters Request parameters.
11885
12093
  * @param {*} [options] Override http request option.
11886
12094
  * @throws {RequiredError}
11887
12095
  */
11888
- createPayoutRequest(requestParameters: PayoutRequestsApiCreatePayoutRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutRequestResponse>;
12096
+ cancelPaymentRequest(requestParameters: PaymentRequestsApiCancelPaymentRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<BasePaymentRequestResponse>;
11889
12097
  /**
11890
12098
  *
11891
- * @summary Returns all payout requests given the filter parameters
11892
- * @param {PayoutRequestsApiGetAllPayoutRequestsRequest} requestParameters Request parameters.
12099
+ * @summary Create a new PaymentRequest.
12100
+ * @param {PaymentRequestsApiCreatePaymentRequestRequest} requestParameters Request parameters.
11893
12101
  * @param {*} [options] Override http request option.
11894
12102
  * @throws {RequiredError}
11895
12103
  */
11896
- getAllPayoutRequests(requestParameters?: PayoutRequestsApiGetAllPayoutRequestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedBasePayoutRequestResponse>;
12104
+ createPaymentRequest(requestParameters: PaymentRequestsApiCreatePaymentRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<BasePaymentRequestResponse>;
11897
12105
  /**
11898
12106
  *
11899
- * @summary Get a payout request pdf
11900
- * @param {PayoutRequestsApiGetPayoutRequestPdfRequest} requestParameters Request parameters.
12107
+ * @summary List PaymentRequests (paginated, with filtering by beneficiary, creator, and status)
12108
+ * @param {PaymentRequestsApiGetAllPaymentRequestsRequest} requestParameters Request parameters.
11901
12109
  * @param {*} [options] Override http request option.
11902
12110
  * @throws {RequiredError}
11903
12111
  */
11904
- getPayoutRequestPdf(requestParameters: PayoutRequestsApiGetPayoutRequestPdfRequest, options?: RawAxiosRequestConfig): AxiosPromise<PdfUrlResponse>;
12112
+ getAllPaymentRequests(requestParameters?: PaymentRequestsApiGetAllPaymentRequestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedBasePaymentRequestResponse>;
11905
12113
  /**
11906
12114
  *
11907
- * @summary Get a single payout request
11908
- * @param {PayoutRequestsApiGetSinglePayoutRequestRequest} requestParameters Request parameters.
12115
+ * @summary Fetch a single PaymentRequest by id.
12116
+ * @param {PaymentRequestsApiGetSinglePaymentRequestRequest} requestParameters Request parameters.
11909
12117
  * @param {*} [options] Override http request option.
11910
12118
  * @throws {RequiredError}
11911
12119
  */
11912
- getSinglePayoutRequest(requestParameters: PayoutRequestsApiGetSinglePayoutRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutRequestResponse>;
12120
+ getSinglePaymentRequest(requestParameters: PaymentRequestsApiGetSinglePaymentRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<BasePaymentRequestResponse>;
11913
12121
  /**
11914
12122
  *
11915
- * @summary Create a new status for a payout request
11916
- * @param {PayoutRequestsApiSetPayoutRequestStatusRequest} requestParameters Request parameters.
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.
11917
12125
  * @param {*} [options] Override http request option.
11918
12126
  * @throws {RequiredError}
11919
12127
  */
11920
- setPayoutRequestStatus(requestParameters: PayoutRequestsApiSetPayoutRequestStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutRequestResponse>;
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>;
11921
12137
  };
11922
12138
  /**
11923
- * Request parameters for createPayoutRequest operation in PayoutRequestsApi.
12139
+ * Request parameters for cancelPaymentRequest operation in PaymentRequestsApi.
11924
12140
  * @export
11925
- * @interface PayoutRequestsApiCreatePayoutRequestRequest
12141
+ * @interface PaymentRequestsApiCancelPaymentRequestRequest
11926
12142
  */
11927
- export interface PayoutRequestsApiCreatePayoutRequestRequest {
12143
+ export interface PaymentRequestsApiCancelPaymentRequestRequest {
11928
12144
  /**
11929
- * New payout request
11930
- * @type {PayoutRequestRequest}
11931
- * @memberof PayoutRequestsApiCreatePayoutRequest
12145
+ * UUID v4 of the payment request.
12146
+ * @type {string}
12147
+ * @memberof PaymentRequestsApiCancelPaymentRequest
11932
12148
  */
11933
- readonly payoutRequestRequest: PayoutRequestRequest;
12149
+ readonly id: string;
11934
12150
  }
11935
12151
  /**
11936
- * Request parameters for getAllPayoutRequests operation in PayoutRequestsApi.
12152
+ * Request parameters for createPaymentRequest operation in PaymentRequestsApi.
11937
12153
  * @export
11938
- * @interface PayoutRequestsApiGetAllPayoutRequestsRequest
12154
+ * @interface PaymentRequestsApiCreatePaymentRequestRequest
11939
12155
  */
11940
- export interface PayoutRequestsApiGetAllPayoutRequestsRequest {
12156
+ export interface PaymentRequestsApiCreatePaymentRequestRequest {
11941
12157
  /**
11942
- * ID of user(s) who requested a payout
11943
- * @type {GetAllPayoutRequestsRequestedByIdParameter}
11944
- * @memberof PayoutRequestsApiGetAllPayoutRequests
12158
+ * The request to create
12159
+ * @type {CreatePaymentRequestRequest}
12160
+ * @memberof PaymentRequestsApiCreatePaymentRequest
11945
12161
  */
11946
- readonly requestedById?: GetAllPayoutRequestsRequestedByIdParameter;
12162
+ readonly createPaymentRequestRequest: CreatePaymentRequestRequest;
12163
+ }
12164
+ /**
12165
+ * Request parameters for getAllPaymentRequests operation in PaymentRequestsApi.
12166
+ * @export
12167
+ * @interface PaymentRequestsApiGetAllPaymentRequestsRequest
12168
+ */
12169
+ export interface PaymentRequestsApiGetAllPaymentRequestsRequest {
11947
12170
  /**
11948
- * ID of user(s) who approved a payout
11949
- * @type {GetAllPayoutRequestsRequestedByIdParameter}
11950
- * @memberof PayoutRequestsApiGetAllPayoutRequests
12171
+ * Filter by beneficiary user id.
12172
+ * @type {number}
12173
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
11951
12174
  */
11952
- readonly approvedById?: GetAllPayoutRequestsRequestedByIdParameter;
12175
+ readonly forId?: number;
11953
12176
  /**
11954
- * Start date for selected transactions (inclusive)
11955
- * @type {string}
11956
- * @memberof PayoutRequestsApiGetAllPayoutRequests
12177
+ * Filter by creator user id.
12178
+ * @type {number}
12179
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
11957
12180
  */
11958
- readonly fromDate?: string;
12181
+ readonly createdById?: number;
11959
12182
  /**
11960
- * End date for selected transactions (exclusive)
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).
11961
12190
  * @type {string}
11962
- * @memberof PayoutRequestsApiGetAllPayoutRequests
12191
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
11963
12192
  */
11964
- readonly tillDate?: string;
12193
+ readonly fromDate?: string;
11965
12194
  /**
11966
- * Status of the payout requests (OR relation)
12195
+ * Filter requests created strictly before this ISO date (exclusive).
11967
12196
  * @type {string}
11968
- * @memberof PayoutRequestsApiGetAllPayoutRequests
12197
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
11969
12198
  */
11970
- readonly status?: string;
12199
+ readonly tillDate?: string;
11971
12200
  /**
11972
- * How many payout requests the endpoint should return
12201
+ * How many rows the endpoint should return
11973
12202
  * @type {number}
11974
- * @memberof PayoutRequestsApiGetAllPayoutRequests
12203
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
11975
12204
  */
11976
12205
  readonly take?: number;
11977
12206
  /**
11978
- * How many payout requests should be skipped (for pagination)
12207
+ * How many rows to skip (for pagination)
11979
12208
  * @type {number}
11980
- * @memberof PayoutRequestsApiGetAllPayoutRequests
12209
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
11981
12210
  */
11982
12211
  readonly skip?: number;
11983
12212
  }
11984
12213
  /**
11985
- * Request parameters for getPayoutRequestPdf operation in PayoutRequestsApi.
12214
+ * Request parameters for getSinglePaymentRequest operation in PaymentRequestsApi.
11986
12215
  * @export
11987
- * @interface PayoutRequestsApiGetPayoutRequestPdfRequest
12216
+ * @interface PaymentRequestsApiGetSinglePaymentRequestRequest
11988
12217
  */
11989
- export interface PayoutRequestsApiGetPayoutRequestPdfRequest {
11990
- /**
11991
- * The ID of the payout request object that should be returned
11992
- * @type {number}
11993
- * @memberof PayoutRequestsApiGetPayoutRequestPdf
11994
- */
11995
- readonly id: number;
12218
+ export interface PaymentRequestsApiGetSinglePaymentRequestRequest {
11996
12219
  /**
11997
- * Whether to force regeneration of the pdf
11998
- * @type {boolean}
11999
- * @memberof PayoutRequestsApiGetPayoutRequestPdf
12220
+ * UUID v4 of the payment request.
12221
+ * @type {string}
12222
+ * @memberof PaymentRequestsApiGetSinglePaymentRequest
12000
12223
  */
12001
- readonly force?: boolean;
12224
+ readonly id: string;
12002
12225
  }
12003
12226
  /**
12004
- * Request parameters for getSinglePayoutRequest operation in PayoutRequestsApi.
12227
+ * Request parameters for markPaymentRequestFulfilledExternally operation in PaymentRequestsApi.
12005
12228
  * @export
12006
- * @interface PayoutRequestsApiGetSinglePayoutRequestRequest
12229
+ * @interface PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest
12007
12230
  */
12008
- export interface PayoutRequestsApiGetSinglePayoutRequestRequest {
12231
+ export interface PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest {
12009
12232
  /**
12010
- * The ID of the payout request object that should be returned
12011
- * @type {number}
12012
- * @memberof PayoutRequestsApiGetSinglePayoutRequest
12233
+ * UUID v4 of the payment request.
12234
+ * @type {string}
12235
+ * @memberof PaymentRequestsApiMarkPaymentRequestFulfilledExternally
12013
12236
  */
12014
- readonly id: number;
12237
+ readonly id: string;
12238
+ /**
12239
+ * The audit reason
12240
+ * @type {MarkFulfilledExternallyRequest}
12241
+ * @memberof PaymentRequestsApiMarkPaymentRequestFulfilledExternally
12242
+ */
12243
+ readonly markFulfilledExternallyRequest: MarkFulfilledExternallyRequest;
12015
12244
  }
12016
12245
  /**
12017
- * Request parameters for setPayoutRequestStatus operation in PayoutRequestsApi.
12246
+ * Request parameters for startPaymentRequestAuthenticated operation in PaymentRequestsApi.
12018
12247
  * @export
12019
- * @interface PayoutRequestsApiSetPayoutRequestStatusRequest
12248
+ * @interface PaymentRequestsApiStartPaymentRequestAuthenticatedRequest
12020
12249
  */
12021
- export interface PayoutRequestsApiSetPayoutRequestStatusRequest {
12022
- /**
12023
- * The ID of the payout request object that should be returned
12024
- * @type {number}
12025
- * @memberof PayoutRequestsApiSetPayoutRequestStatus
12026
- */
12027
- readonly id: number;
12250
+ export interface PaymentRequestsApiStartPaymentRequestAuthenticatedRequest {
12028
12251
  /**
12029
- * New state of payout request
12030
- * @type {PayoutRequestStatusRequest}
12031
- * @memberof PayoutRequestsApiSetPayoutRequestStatus
12252
+ * UUID v4 of the payment request.
12253
+ * @type {string}
12254
+ * @memberof PaymentRequestsApiStartPaymentRequestAuthenticated
12032
12255
  */
12033
- readonly payoutRequestStatusRequest: PayoutRequestStatusRequest;
12256
+ readonly id: string;
12034
12257
  }
12035
12258
  /**
12036
- * PayoutRequestsApi - object-oriented interface
12259
+ * PaymentRequestsApi - object-oriented interface
12037
12260
  * @export
12038
- * @class PayoutRequestsApi
12261
+ * @class PaymentRequestsApi
12039
12262
  * @extends {BaseAPI}
12040
12263
  */
12041
- export declare class PayoutRequestsApi extends BaseAPI {
12264
+ export declare class PaymentRequestsApi extends BaseAPI {
12042
12265
  /**
12043
12266
  *
12044
- * @summary Create a new payout request
12045
- * @param {PayoutRequestsApiCreatePayoutRequestRequest} requestParameters Request parameters.
12267
+ * @summary Cancel a PENDING PaymentRequest.
12268
+ * @param {PaymentRequestsApiCancelPaymentRequestRequest} requestParameters Request parameters.
12046
12269
  * @param {*} [options] Override http request option.
12047
12270
  * @throws {RequiredError}
12048
- * @memberof PayoutRequestsApi
12271
+ * @memberof PaymentRequestsApi
12049
12272
  */
12050
- createPayoutRequest(requestParameters: PayoutRequestsApiCreatePayoutRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutRequestResponse, any, {}>>;
12273
+ cancelPaymentRequest(requestParameters: PaymentRequestsApiCancelPaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BasePaymentRequestResponse, any, {}>>;
12051
12274
  /**
12052
12275
  *
12053
- * @summary Returns all payout requests given the filter parameters
12054
- * @param {PayoutRequestsApiGetAllPayoutRequestsRequest} requestParameters Request parameters.
12276
+ * @summary Create a new PaymentRequest.
12277
+ * @param {PaymentRequestsApiCreatePaymentRequestRequest} requestParameters Request parameters.
12055
12278
  * @param {*} [options] Override http request option.
12056
12279
  * @throws {RequiredError}
12057
- * @memberof PayoutRequestsApi
12280
+ * @memberof PaymentRequestsApi
12058
12281
  */
12059
- getAllPayoutRequests(requestParameters?: PayoutRequestsApiGetAllPayoutRequestsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedBasePayoutRequestResponse, any, {}>>;
12282
+ createPaymentRequest(requestParameters: PaymentRequestsApiCreatePaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BasePaymentRequestResponse, any, {}>>;
12060
12283
  /**
12061
12284
  *
12062
- * @summary Get a payout request pdf
12063
- * @param {PayoutRequestsApiGetPayoutRequestPdfRequest} requestParameters Request parameters.
12285
+ * @summary List PaymentRequests (paginated, with filtering by beneficiary, creator, and status)
12286
+ * @param {PaymentRequestsApiGetAllPaymentRequestsRequest} requestParameters Request parameters.
12064
12287
  * @param {*} [options] Override http request option.
12065
12288
  * @throws {RequiredError}
12066
- * @memberof PayoutRequestsApi
12289
+ * @memberof PaymentRequestsApi
12067
12290
  */
12068
- getPayoutRequestPdf(requestParameters: PayoutRequestsApiGetPayoutRequestPdfRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PdfUrlResponse, any, {}>>;
12291
+ getAllPaymentRequests(requestParameters?: PaymentRequestsApiGetAllPaymentRequestsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedBasePaymentRequestResponse, any, {}>>;
12069
12292
  /**
12070
12293
  *
12071
- * @summary Get a single payout request
12072
- * @param {PayoutRequestsApiGetSinglePayoutRequestRequest} requestParameters Request parameters.
12294
+ * @summary Fetch a single PaymentRequest by id.
12295
+ * @param {PaymentRequestsApiGetSinglePaymentRequestRequest} requestParameters Request parameters.
12073
12296
  * @param {*} [options] Override http request option.
12074
12297
  * @throws {RequiredError}
12075
- * @memberof PayoutRequestsApi
12298
+ * @memberof PaymentRequestsApi
12076
12299
  */
12077
- getSinglePayoutRequest(requestParameters: PayoutRequestsApiGetSinglePayoutRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutRequestResponse, any, {}>>;
12300
+ getSinglePaymentRequest(requestParameters: PaymentRequestsApiGetSinglePaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BasePaymentRequestResponse, any, {}>>;
12078
12301
  /**
12079
12302
  *
12080
- * @summary Create a new status for a payout request
12081
- * @param {PayoutRequestsApiSetPayoutRequestStatusRequest} requestParameters Request parameters.
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.
12082
12305
  * @param {*} [options] Override http request option.
12083
12306
  * @throws {RequiredError}
12084
- * @memberof PayoutRequestsApi
12307
+ * @memberof PaymentRequestsApi
12085
12308
  */
12086
- setPayoutRequestStatus(requestParameters: PayoutRequestsApiSetPayoutRequestStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutRequestResponse, any, {}>>;
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, {}>>;
12087
12319
  }
12088
12320
  /**
12089
- * PointofsaleApi - axios parameter creator
12090
12321
  * @export
12091
12322
  */
12092
- export declare const PointofsaleApiAxiosParamCreator: (configuration?: Configuration) => {
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>;
12577
+ /**
12578
+ *
12579
+ * @summary Get a payout request pdf
12580
+ * @param {PayoutRequestsApiGetPayoutRequestPdfRequest} requestParameters Request parameters.
12581
+ * @param {*} [options] Override http request option.
12582
+ * @throws {RequiredError}
12583
+ */
12584
+ getPayoutRequestPdf(requestParameters: PayoutRequestsApiGetPayoutRequestPdfRequest, options?: RawAxiosRequestConfig): AxiosPromise<PdfUrlResponse>;
12585
+ /**
12586
+ *
12587
+ * @summary Get a single payout request
12588
+ * @param {PayoutRequestsApiGetSinglePayoutRequestRequest} requestParameters Request parameters.
12589
+ * @param {*} [options] Override http request option.
12590
+ * @throws {RequiredError}
12591
+ */
12592
+ getSinglePayoutRequest(requestParameters: PayoutRequestsApiGetSinglePayoutRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutRequestResponse>;
12593
+ /**
12594
+ *
12595
+ * @summary Create a new status for a payout request
12596
+ * @param {PayoutRequestsApiSetPayoutRequestStatusRequest} requestParameters Request parameters.
12597
+ * @param {*} [options] Override http request option.
12598
+ * @throws {RequiredError}
12599
+ */
12600
+ setPayoutRequestStatus(requestParameters: PayoutRequestsApiSetPayoutRequestStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutRequestResponse>;
12601
+ };
12602
+ /**
12603
+ * Request parameters for createPayoutRequest operation in PayoutRequestsApi.
12604
+ * @export
12605
+ * @interface PayoutRequestsApiCreatePayoutRequestRequest
12606
+ */
12607
+ export interface PayoutRequestsApiCreatePayoutRequestRequest {
12608
+ /**
12609
+ * New payout request
12610
+ * @type {PayoutRequestRequest}
12611
+ * @memberof PayoutRequestsApiCreatePayoutRequest
12612
+ */
12613
+ readonly payoutRequestRequest: PayoutRequestRequest;
12614
+ }
12615
+ /**
12616
+ * Request parameters for getAllPayoutRequests operation in PayoutRequestsApi.
12617
+ * @export
12618
+ * @interface PayoutRequestsApiGetAllPayoutRequestsRequest
12619
+ */
12620
+ export interface PayoutRequestsApiGetAllPayoutRequestsRequest {
12621
+ /**
12622
+ * ID of user(s) who requested a payout
12623
+ * @type {GetAllPayoutRequestsRequestedByIdParameter}
12624
+ * @memberof PayoutRequestsApiGetAllPayoutRequests
12625
+ */
12626
+ readonly requestedById?: GetAllPayoutRequestsRequestedByIdParameter;
12627
+ /**
12628
+ * ID of user(s) who approved a payout
12629
+ * @type {GetAllPayoutRequestsRequestedByIdParameter}
12630
+ * @memberof PayoutRequestsApiGetAllPayoutRequests
12631
+ */
12632
+ readonly approvedById?: GetAllPayoutRequestsRequestedByIdParameter;
12633
+ /**
12634
+ * Start date for selected transactions (inclusive)
12635
+ * @type {string}
12636
+ * @memberof PayoutRequestsApiGetAllPayoutRequests
12637
+ */
12638
+ readonly fromDate?: string;
12639
+ /**
12640
+ * End date for selected transactions (exclusive)
12641
+ * @type {string}
12642
+ * @memberof PayoutRequestsApiGetAllPayoutRequests
12643
+ */
12644
+ readonly tillDate?: string;
12645
+ /**
12646
+ * Status of the payout requests (OR relation)
12647
+ * @type {string}
12648
+ * @memberof PayoutRequestsApiGetAllPayoutRequests
12649
+ */
12650
+ readonly status?: string;
12651
+ /**
12652
+ * How many payout requests the endpoint should return
12653
+ * @type {number}
12654
+ * @memberof PayoutRequestsApiGetAllPayoutRequests
12655
+ */
12656
+ readonly take?: number;
12657
+ /**
12658
+ * How many payout requests should be skipped (for pagination)
12659
+ * @type {number}
12660
+ * @memberof PayoutRequestsApiGetAllPayoutRequests
12661
+ */
12662
+ readonly skip?: number;
12663
+ }
12664
+ /**
12665
+ * Request parameters for getPayoutRequestPdf operation in PayoutRequestsApi.
12666
+ * @export
12667
+ * @interface PayoutRequestsApiGetPayoutRequestPdfRequest
12668
+ */
12669
+ export interface PayoutRequestsApiGetPayoutRequestPdfRequest {
12670
+ /**
12671
+ * The ID of the payout request object that should be returned
12672
+ * @type {number}
12673
+ * @memberof PayoutRequestsApiGetPayoutRequestPdf
12674
+ */
12675
+ readonly id: number;
12676
+ /**
12677
+ * Whether to force regeneration of the pdf
12678
+ * @type {boolean}
12679
+ * @memberof PayoutRequestsApiGetPayoutRequestPdf
12680
+ */
12681
+ readonly force?: boolean;
12682
+ }
12683
+ /**
12684
+ * Request parameters for getSinglePayoutRequest operation in PayoutRequestsApi.
12685
+ * @export
12686
+ * @interface PayoutRequestsApiGetSinglePayoutRequestRequest
12687
+ */
12688
+ export interface PayoutRequestsApiGetSinglePayoutRequestRequest {
12689
+ /**
12690
+ * The ID of the payout request object that should be returned
12691
+ * @type {number}
12692
+ * @memberof PayoutRequestsApiGetSinglePayoutRequest
12693
+ */
12694
+ readonly id: number;
12695
+ }
12696
+ /**
12697
+ * Request parameters for setPayoutRequestStatus operation in PayoutRequestsApi.
12698
+ * @export
12699
+ * @interface PayoutRequestsApiSetPayoutRequestStatusRequest
12700
+ */
12701
+ export interface PayoutRequestsApiSetPayoutRequestStatusRequest {
12702
+ /**
12703
+ * The ID of the payout request object that should be returned
12704
+ * @type {number}
12705
+ * @memberof PayoutRequestsApiSetPayoutRequestStatus
12706
+ */
12707
+ readonly id: number;
12708
+ /**
12709
+ * New state of payout request
12710
+ * @type {PayoutRequestStatusRequest}
12711
+ * @memberof PayoutRequestsApiSetPayoutRequestStatus
12712
+ */
12713
+ readonly payoutRequestStatusRequest: PayoutRequestStatusRequest;
12714
+ }
12715
+ /**
12716
+ * PayoutRequestsApi - object-oriented interface
12717
+ * @export
12718
+ * @class PayoutRequestsApi
12719
+ * @extends {BaseAPI}
12720
+ */
12721
+ export declare class PayoutRequestsApi extends BaseAPI {
12722
+ /**
12723
+ *
12724
+ * @summary Create a new payout request
12725
+ * @param {PayoutRequestsApiCreatePayoutRequestRequest} requestParameters Request parameters.
12726
+ * @param {*} [options] Override http request option.
12727
+ * @throws {RequiredError}
12728
+ * @memberof PayoutRequestsApi
12729
+ */
12730
+ createPayoutRequest(requestParameters: PayoutRequestsApiCreatePayoutRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutRequestResponse, any, {}>>;
12731
+ /**
12732
+ *
12733
+ * @summary Returns all payout requests given the filter parameters
12734
+ * @param {PayoutRequestsApiGetAllPayoutRequestsRequest} requestParameters Request parameters.
12735
+ * @param {*} [options] Override http request option.
12736
+ * @throws {RequiredError}
12737
+ * @memberof PayoutRequestsApi
12738
+ */
12739
+ getAllPayoutRequests(requestParameters?: PayoutRequestsApiGetAllPayoutRequestsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedBasePayoutRequestResponse, any, {}>>;
12740
+ /**
12741
+ *
12742
+ * @summary Get a payout request pdf
12743
+ * @param {PayoutRequestsApiGetPayoutRequestPdfRequest} requestParameters Request parameters.
12744
+ * @param {*} [options] Override http request option.
12745
+ * @throws {RequiredError}
12746
+ * @memberof PayoutRequestsApi
12747
+ */
12748
+ getPayoutRequestPdf(requestParameters: PayoutRequestsApiGetPayoutRequestPdfRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PdfUrlResponse, any, {}>>;
12749
+ /**
12750
+ *
12751
+ * @summary Get a single payout request
12752
+ * @param {PayoutRequestsApiGetSinglePayoutRequestRequest} requestParameters Request parameters.
12753
+ * @param {*} [options] Override http request option.
12754
+ * @throws {RequiredError}
12755
+ * @memberof PayoutRequestsApi
12756
+ */
12757
+ getSinglePayoutRequest(requestParameters: PayoutRequestsApiGetSinglePayoutRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutRequestResponse, any, {}>>;
12758
+ /**
12759
+ *
12760
+ * @summary Create a new status for a payout request
12761
+ * @param {PayoutRequestsApiSetPayoutRequestStatusRequest} requestParameters Request parameters.
12762
+ * @param {*} [options] Override http request option.
12763
+ * @throws {RequiredError}
12764
+ * @memberof PayoutRequestsApi
12765
+ */
12766
+ setPayoutRequestStatus(requestParameters: PayoutRequestsApiSetPayoutRequestStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutRequestResponse, any, {}>>;
12767
+ }
12768
+ /**
12769
+ * PointofsaleApi - axios parameter creator
12770
+ * @export
12771
+ */
12772
+ export declare const PointofsaleApiAxiosParamCreator: (configuration?: Configuration) => {
12093
12773
  /**
12094
12774
  *
12095
12775
  * @summary Create a new Point of Sale.
@@ -14211,186 +14891,462 @@ export declare class ServerSettingsApi extends BaseAPI {
14211
14891
  setWrappedEnabled(requestParameters: ServerSettingsApiSetWrappedEnabledRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
14212
14892
  }
14213
14893
  /**
14214
- * StripeApi - axios parameter creator
14894
+ * StripeApi - axios parameter creator
14895
+ * @export
14896
+ */
14897
+ export declare const StripeApiAxiosParamCreator: (configuration?: Configuration) => {
14898
+ /**
14899
+ *
14900
+ * @summary Start the stripe deposit flow
14901
+ * @param {StripeRequest} stripeRequest The deposit that should be created
14902
+ * @param {*} [options] Override http request option.
14903
+ * @throws {RequiredError}
14904
+ */
14905
+ deposit: (stripeRequest: StripeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14906
+ /**
14907
+ *
14908
+ * @summary Get the Stripe public key
14909
+ * @param {*} [options] Override http request option.
14910
+ * @throws {RequiredError}
14911
+ */
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>;
14920
+ };
14921
+ /**
14922
+ * StripeApi - functional programming interface
14923
+ * @export
14924
+ */
14925
+ export declare const StripeApiFp: (configuration?: Configuration) => {
14926
+ /**
14927
+ *
14928
+ * @summary Start the stripe deposit flow
14929
+ * @param {StripeRequest} stripeRequest The deposit that should be created
14930
+ * @param {*} [options] Override http request option.
14931
+ * @throws {RequiredError}
14932
+ */
14933
+ deposit(stripeRequest: StripeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePaymentIntentResponse>>;
14934
+ /**
14935
+ *
14936
+ * @summary Get the Stripe public key
14937
+ * @param {*} [options] Override http request option.
14938
+ * @throws {RequiredError}
14939
+ */
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>>;
14948
+ };
14949
+ /**
14950
+ * StripeApi - factory interface
14951
+ * @export
14952
+ */
14953
+ export declare const StripeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14954
+ /**
14955
+ *
14956
+ * @summary Start the stripe deposit flow
14957
+ * @param {StripeApiDepositRequest} requestParameters Request parameters.
14958
+ * @param {*} [options] Override http request option.
14959
+ * @throws {RequiredError}
14960
+ */
14961
+ deposit(requestParameters: StripeApiDepositRequest, options?: RawAxiosRequestConfig): AxiosPromise<StripePaymentIntentResponse>;
14962
+ /**
14963
+ *
14964
+ * @summary Get the Stripe public key
14965
+ * @param {*} [options] Override http request option.
14966
+ * @throws {RequiredError}
14967
+ */
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>;
14976
+ };
14977
+ /**
14978
+ * Request parameters for deposit operation in StripeApi.
14979
+ * @export
14980
+ * @interface StripeApiDepositRequest
14981
+ */
14982
+ export interface StripeApiDepositRequest {
14983
+ /**
14984
+ * The deposit that should be created
14985
+ * @type {StripeRequest}
14986
+ * @memberof StripeApiDeposit
14987
+ */
14988
+ readonly stripeRequest: StripeRequest;
14989
+ }
14990
+ /**
14991
+ * StripeApi - object-oriented interface
14992
+ * @export
14993
+ * @class StripeApi
14994
+ * @extends {BaseAPI}
14995
+ */
14996
+ export declare class StripeApi extends BaseAPI {
14997
+ /**
14998
+ *
14999
+ * @summary Start the stripe deposit flow
15000
+ * @param {StripeApiDepositRequest} requestParameters Request parameters.
15001
+ * @param {*} [options] Override http request option.
15002
+ * @throws {RequiredError}
15003
+ * @memberof StripeApi
15004
+ */
15005
+ deposit(requestParameters: StripeApiDepositRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StripePaymentIntentResponse, any, {}>>;
15006
+ /**
15007
+ *
15008
+ * @summary Get the Stripe public key
15009
+ * @param {*} [options] Override http request option.
15010
+ * @throws {RequiredError}
15011
+ * @memberof StripeApi
15012
+ */
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, {}>>;
15022
+ }
15023
+ /**
15024
+ * SyncApi - axios parameter creator
15025
+ * @export
15026
+ */
15027
+ export declare const SyncApiAxiosParamCreator: (configuration?: Configuration) => {
15028
+ /**
15029
+ * Performs a dry-run synchronization of users using the specified services. This endpoint always performs a dry-run and does not apply any actual database changes.
15030
+ * @summary Get dry-run sync results for users
15031
+ * @param {Array<GetUserSyncResultsServiceEnum>} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
15032
+ * @param {*} [options] Override http request option.
15033
+ * @throws {RequiredError}
15034
+ */
15035
+ getUserSyncResults: (service?: Array<GetUserSyncResultsServiceEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15036
+ };
15037
+ /**
15038
+ * SyncApi - functional programming interface
15039
+ * @export
15040
+ */
15041
+ export declare const SyncApiFp: (configuration?: Configuration) => {
15042
+ /**
15043
+ * Performs a dry-run synchronization of users using the specified services. This endpoint always performs a dry-run and does not apply any actual database changes.
15044
+ * @summary Get dry-run sync results for users
15045
+ * @param {Array<GetUserSyncResultsServiceEnum>} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
15046
+ * @param {*} [options] Override http request option.
15047
+ * @throws {RequiredError}
15048
+ */
15049
+ getUserSyncResults(service?: Array<GetUserSyncResultsServiceEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
15050
+ };
15051
+ /**
15052
+ * SyncApi - factory interface
15053
+ * @export
15054
+ */
15055
+ export declare const SyncApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15056
+ /**
15057
+ * Performs a dry-run synchronization of users using the specified services. This endpoint always performs a dry-run and does not apply any actual database changes.
15058
+ * @summary Get dry-run sync results for users
15059
+ * @param {SyncApiGetUserSyncResultsRequest} requestParameters Request parameters.
15060
+ * @param {*} [options] Override http request option.
15061
+ * @throws {RequiredError}
15062
+ */
15063
+ getUserSyncResults(requestParameters?: SyncApiGetUserSyncResultsRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
15064
+ };
15065
+ /**
15066
+ * Request parameters for getUserSyncResults operation in SyncApi.
15067
+ * @export
15068
+ * @interface SyncApiGetUserSyncResultsRequest
15069
+ */
15070
+ export interface SyncApiGetUserSyncResultsRequest {
15071
+ /**
15072
+ * Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
15073
+ * @type {Array<'LDAP' | 'GEWISDB'>}
15074
+ * @memberof SyncApiGetUserSyncResults
15075
+ */
15076
+ readonly service?: Array<GetUserSyncResultsServiceEnum>;
15077
+ }
15078
+ /**
15079
+ * SyncApi - object-oriented interface
15080
+ * @export
15081
+ * @class SyncApi
15082
+ * @extends {BaseAPI}
15083
+ */
15084
+ export declare class SyncApi extends BaseAPI {
15085
+ /**
15086
+ * Performs a dry-run synchronization of users using the specified services. This endpoint always performs a dry-run and does not apply any actual database changes.
15087
+ * @summary Get dry-run sync results for users
15088
+ * @param {SyncApiGetUserSyncResultsRequest} requestParameters Request parameters.
15089
+ * @param {*} [options] Override http request option.
15090
+ * @throws {RequiredError}
15091
+ * @memberof SyncApi
15092
+ */
15093
+ getUserSyncResults(requestParameters?: SyncApiGetUserSyncResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
15094
+ }
15095
+ /**
15096
+ * @export
15097
+ */
15098
+ export declare const GetUserSyncResultsServiceEnum: {
15099
+ readonly Ldap: "LDAP";
15100
+ readonly Gewisdb: "GEWISDB";
15101
+ };
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
14215
15151
  * @export
14216
15152
  */
14217
- export declare const StripeApiAxiosParamCreator: (configuration?: Configuration) => {
15153
+ export declare const TerminalPaymentsApiFp: (configuration?: Configuration) => {
14218
15154
  /**
14219
15155
  *
14220
- * @summary Start the stripe deposit flow
14221
- * @param {StripeRequest} stripeRequest The deposit that should be created
15156
+ * @summary Cancel a Terminal Payment that is created/processing
15157
+ * @param {number} id The ID of the terminal payment
14222
15158
  * @param {*} [options] Override http request option.
14223
15159
  * @throws {RequiredError}
14224
15160
  */
14225
- deposit: (stripeRequest: StripeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15161
+ cancelTerminalPayment(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentResponse>>;
14226
15162
  /**
14227
15163
  *
14228
- * @summary Get the Stripe public key
15164
+ * @summary Create a terminal payment before executing.
15165
+ * @param {CreateTerminalPaymentRequest} createTerminalPaymentRequest The terminal payment that should be created.
14229
15166
  * @param {*} [options] Override http request option.
14230
15167
  * @throws {RequiredError}
14231
15168
  */
14232
- getStripePublicKey: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14233
- };
14234
- /**
14235
- * StripeApi - functional programming interface
14236
- * @export
14237
- */
14238
- export declare const StripeApiFp: (configuration?: Configuration) => {
15169
+ createTerminalPayment(createTerminalPaymentRequest: CreateTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentResponse>>;
14239
15170
  /**
14240
15171
  *
14241
- * @summary Start the stripe deposit flow
14242
- * @param {StripeRequest} stripeRequest The deposit that should be created
15172
+ * @summary Get single terminal payment by ID
15173
+ * @param {number} id The ID of the terminal payment
14243
15174
  * @param {*} [options] Override http request option.
14244
15175
  * @throws {RequiredError}
14245
15176
  */
14246
- deposit(stripeRequest: StripeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePaymentIntentResponse>>;
15177
+ getSingleTerminalPayment(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentResponse>>;
14247
15178
  /**
14248
15179
  *
14249
- * @summary Get the Stripe public key
15180
+ * @summary Get all Stripe terminals
14250
15181
  * @param {*} [options] Override http request option.
14251
15182
  * @throws {RequiredError}
14252
15183
  */
14253
- getStripePublicKey(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
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>>;
14254
15194
  };
14255
15195
  /**
14256
- * StripeApi - factory interface
15196
+ * TerminalPaymentsApi - factory interface
14257
15197
  * @export
14258
15198
  */
14259
- export declare const StripeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15199
+ export declare const TerminalPaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14260
15200
  /**
14261
15201
  *
14262
- * @summary Start the stripe deposit flow
14263
- * @param {StripeApiDepositRequest} requestParameters Request parameters.
15202
+ * @summary Cancel a Terminal Payment that is created/processing
15203
+ * @param {TerminalPaymentsApiCancelTerminalPaymentRequest} requestParameters Request parameters.
14264
15204
  * @param {*} [options] Override http request option.
14265
15205
  * @throws {RequiredError}
14266
15206
  */
14267
- deposit(requestParameters: StripeApiDepositRequest, options?: RawAxiosRequestConfig): AxiosPromise<StripePaymentIntentResponse>;
15207
+ cancelTerminalPayment(requestParameters: TerminalPaymentsApiCancelTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerminalPaymentResponse>;
14268
15208
  /**
14269
15209
  *
14270
- * @summary Get the Stripe public key
15210
+ * @summary Create a terminal payment before executing.
15211
+ * @param {TerminalPaymentsApiCreateTerminalPaymentRequest} requestParameters Request parameters.
14271
15212
  * @param {*} [options] Override http request option.
14272
15213
  * @throws {RequiredError}
14273
15214
  */
14274
- getStripePublicKey(options?: RawAxiosRequestConfig): AxiosPromise<string>;
14275
- };
14276
- /**
14277
- * Request parameters for deposit operation in StripeApi.
14278
- * @export
14279
- * @interface StripeApiDepositRequest
14280
- */
14281
- export interface StripeApiDepositRequest {
15215
+ createTerminalPayment(requestParameters: TerminalPaymentsApiCreateTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerminalPaymentResponse>;
14282
15216
  /**
14283
- * The deposit that should be created
14284
- * @type {StripeRequest}
14285
- * @memberof StripeApiDeposit
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}
14286
15222
  */
14287
- readonly stripeRequest: StripeRequest;
14288
- }
14289
- /**
14290
- * StripeApi - object-oriented interface
14291
- * @export
14292
- * @class StripeApi
14293
- * @extends {BaseAPI}
14294
- */
14295
- export declare class StripeApi extends BaseAPI {
15223
+ getSingleTerminalPayment(requestParameters: TerminalPaymentsApiGetSingleTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerminalPaymentResponse>;
14296
15224
  /**
14297
15225
  *
14298
- * @summary Start the stripe deposit flow
14299
- * @param {StripeApiDepositRequest} requestParameters Request parameters.
15226
+ * @summary Get all Stripe terminals
14300
15227
  * @param {*} [options] Override http request option.
14301
15228
  * @throws {RequiredError}
14302
- * @memberof StripeApi
14303
15229
  */
14304
- deposit(requestParameters: StripeApiDepositRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StripePaymentIntentResponse, any, {}>>;
15230
+ getStripeTerminals(options?: RawAxiosRequestConfig): AxiosPromise<Array<StripePaymentTerminalResponse>>;
14305
15231
  /**
14306
15232
  *
14307
- * @summary Get the Stripe public key
15233
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15234
+ * @param {TerminalPaymentsApiStartTerminalPaymentRequest} requestParameters Request parameters.
14308
15235
  * @param {*} [options] Override http request option.
14309
15236
  * @throws {RequiredError}
14310
- * @memberof StripeApi
14311
15237
  */
14312
- getStripePublicKey(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
14313
- }
15238
+ startTerminalPayment(requestParameters: TerminalPaymentsApiStartTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15239
+ };
14314
15240
  /**
14315
- * SyncApi - axios parameter creator
15241
+ * Request parameters for cancelTerminalPayment operation in TerminalPaymentsApi.
14316
15242
  * @export
15243
+ * @interface TerminalPaymentsApiCancelTerminalPaymentRequest
14317
15244
  */
14318
- export declare const SyncApiAxiosParamCreator: (configuration?: Configuration) => {
15245
+ export interface TerminalPaymentsApiCancelTerminalPaymentRequest {
14319
15246
  /**
14320
- * Performs a dry-run synchronization of users using the specified services. This endpoint always performs a dry-run and does not apply any actual database changes.
14321
- * @summary Get dry-run sync results for users
14322
- * @param {Array<GetUserSyncResultsServiceEnum>} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
14323
- * @param {*} [options] Override http request option.
14324
- * @throws {RequiredError}
15247
+ * The ID of the terminal payment
15248
+ * @type {number}
15249
+ * @memberof TerminalPaymentsApiCancelTerminalPayment
14325
15250
  */
14326
- getUserSyncResults: (service?: Array<GetUserSyncResultsServiceEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14327
- };
15251
+ readonly id: number;
15252
+ }
14328
15253
  /**
14329
- * SyncApi - functional programming interface
15254
+ * Request parameters for createTerminalPayment operation in TerminalPaymentsApi.
14330
15255
  * @export
15256
+ * @interface TerminalPaymentsApiCreateTerminalPaymentRequest
14331
15257
  */
14332
- export declare const SyncApiFp: (configuration?: Configuration) => {
15258
+ export interface TerminalPaymentsApiCreateTerminalPaymentRequest {
14333
15259
  /**
14334
- * Performs a dry-run synchronization of users using the specified services. This endpoint always performs a dry-run and does not apply any actual database changes.
14335
- * @summary Get dry-run sync results for users
14336
- * @param {Array<GetUserSyncResultsServiceEnum>} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
14337
- * @param {*} [options] Override http request option.
14338
- * @throws {RequiredError}
15260
+ * The terminal payment that should be created.
15261
+ * @type {CreateTerminalPaymentRequest}
15262
+ * @memberof TerminalPaymentsApiCreateTerminalPayment
14339
15263
  */
14340
- getUserSyncResults(service?: Array<GetUserSyncResultsServiceEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
14341
- };
15264
+ readonly createTerminalPaymentRequest: CreateTerminalPaymentRequest;
15265
+ }
14342
15266
  /**
14343
- * SyncApi - factory interface
15267
+ * Request parameters for getSingleTerminalPayment operation in TerminalPaymentsApi.
14344
15268
  * @export
15269
+ * @interface TerminalPaymentsApiGetSingleTerminalPaymentRequest
14345
15270
  */
14346
- export declare const SyncApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15271
+ export interface TerminalPaymentsApiGetSingleTerminalPaymentRequest {
14347
15272
  /**
14348
- * Performs a dry-run synchronization of users using the specified services. This endpoint always performs a dry-run and does not apply any actual database changes.
14349
- * @summary Get dry-run sync results for users
14350
- * @param {SyncApiGetUserSyncResultsRequest} requestParameters Request parameters.
14351
- * @param {*} [options] Override http request option.
14352
- * @throws {RequiredError}
15273
+ * The ID of the terminal payment
15274
+ * @type {number}
15275
+ * @memberof TerminalPaymentsApiGetSingleTerminalPayment
14353
15276
  */
14354
- getUserSyncResults(requestParameters?: SyncApiGetUserSyncResultsRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
14355
- };
15277
+ readonly id: number;
15278
+ }
14356
15279
  /**
14357
- * Request parameters for getUserSyncResults operation in SyncApi.
15280
+ * Request parameters for startTerminalPayment operation in TerminalPaymentsApi.
14358
15281
  * @export
14359
- * @interface SyncApiGetUserSyncResultsRequest
15282
+ * @interface TerminalPaymentsApiStartTerminalPaymentRequest
14360
15283
  */
14361
- export interface SyncApiGetUserSyncResultsRequest {
15284
+ export interface TerminalPaymentsApiStartTerminalPaymentRequest {
14362
15285
  /**
14363
- * Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
14364
- * @type {Array<'LDAP' | 'GEWISDB'>}
14365
- * @memberof SyncApiGetUserSyncResults
15286
+ * The ID of the terminal payment
15287
+ * @type {number}
15288
+ * @memberof TerminalPaymentsApiStartTerminalPayment
14366
15289
  */
14367
- readonly service?: Array<GetUserSyncResultsServiceEnum>;
15290
+ readonly id: number;
15291
+ /**
15292
+ * Payment options
15293
+ * @type {ProcessTerminalPaymentRequest}
15294
+ * @memberof TerminalPaymentsApiStartTerminalPayment
15295
+ */
15296
+ readonly processTerminalPaymentRequest: ProcessTerminalPaymentRequest;
14368
15297
  }
14369
15298
  /**
14370
- * SyncApi - object-oriented interface
15299
+ * TerminalPaymentsApi - object-oriented interface
14371
15300
  * @export
14372
- * @class SyncApi
15301
+ * @class TerminalPaymentsApi
14373
15302
  * @extends {BaseAPI}
14374
15303
  */
14375
- export declare class SyncApi extends BaseAPI {
15304
+ export declare class TerminalPaymentsApi extends BaseAPI {
14376
15305
  /**
14377
- * Performs a dry-run synchronization of users using the specified services. This endpoint always performs a dry-run and does not apply any actual database changes.
14378
- * @summary Get dry-run sync results for users
14379
- * @param {SyncApiGetUserSyncResultsRequest} requestParameters Request parameters.
15306
+ *
15307
+ * @summary Cancel a Terminal Payment that is created/processing
15308
+ * @param {TerminalPaymentsApiCancelTerminalPaymentRequest} requestParameters Request parameters.
14380
15309
  * @param {*} [options] Override http request option.
14381
15310
  * @throws {RequiredError}
14382
- * @memberof SyncApi
15311
+ * @memberof TerminalPaymentsApi
14383
15312
  */
14384
- getUserSyncResults(requestParameters?: SyncApiGetUserSyncResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
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, {}>>;
14385
15349
  }
14386
- /**
14387
- * @export
14388
- */
14389
- export declare const GetUserSyncResultsServiceEnum: {
14390
- readonly Ldap: "LDAP";
14391
- readonly Gewisdb: "GEWISDB";
14392
- };
14393
- export type GetUserSyncResultsServiceEnum = typeof GetUserSyncResultsServiceEnum[keyof typeof GetUserSyncResultsServiceEnum];
14394
15350
  /**
14395
15351
  * TermsOfServiceApi - axios parameter creator
14396
15352
  * @export
@@ -15139,12 +16095,15 @@ export declare const TransfersApiAxiosParamCreator: (configuration?: Configurati
15139
16095
  * @summary Returns all existing transfers
15140
16096
  * @param {string} [fromDate] Start date for selected transfers (inclusive)
15141
16097
  * @param {string} [tillDate] End date for selected transfers (exclusive)
16098
+ * @param {number} [fromId] Filter transfers from this user ID
16099
+ * @param {number} [toId] Filter transfers to this user ID
16100
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
15142
16101
  * @param {number} [take] How many transfers the endpoint should return
15143
16102
  * @param {number} [skip] How many transfers should be skipped (for pagination)
15144
16103
  * @param {*} [options] Override http request option.
15145
16104
  * @throws {RequiredError}
15146
16105
  */
15147
- getAllTransfers: (fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16106
+ getAllTransfers: (fromDate?: string, tillDate?: string, fromId?: number, toId?: number, category?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15148
16107
  /**
15149
16108
  *
15150
16109
  * @summary Returns the requested transfer
@@ -15211,12 +16170,15 @@ export declare const TransfersApiFp: (configuration?: Configuration) => {
15211
16170
  * @summary Returns all existing transfers
15212
16171
  * @param {string} [fromDate] Start date for selected transfers (inclusive)
15213
16172
  * @param {string} [tillDate] End date for selected transfers (exclusive)
16173
+ * @param {number} [fromId] Filter transfers from this user ID
16174
+ * @param {number} [toId] Filter transfers to this user ID
16175
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
15214
16176
  * @param {number} [take] How many transfers the endpoint should return
15215
16177
  * @param {number} [skip] How many transfers should be skipped (for pagination)
15216
16178
  * @param {*} [options] Override http request option.
15217
16179
  * @throws {RequiredError}
15218
16180
  */
15219
- getAllTransfers(fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransferResponse>>>;
16181
+ getAllTransfers(fromDate?: string, tillDate?: string, fromId?: number, toId?: number, category?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedTransferResponse>>;
15220
16182
  /**
15221
16183
  *
15222
16184
  * @summary Returns the requested transfer
@@ -15285,7 +16247,7 @@ export declare const TransfersApiFactory: (configuration?: Configuration, basePa
15285
16247
  * @param {*} [options] Override http request option.
15286
16248
  * @throws {RequiredError}
15287
16249
  */
15288
- getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TransferResponse>>;
16250
+ getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedTransferResponse>;
15289
16251
  /**
15290
16252
  *
15291
16253
  * @summary Returns the requested transfer
@@ -15363,6 +16325,24 @@ export interface TransfersApiGetAllTransfersRequest {
15363
16325
  * @memberof TransfersApiGetAllTransfers
15364
16326
  */
15365
16327
  readonly tillDate?: string;
16328
+ /**
16329
+ * Filter transfers from this user ID
16330
+ * @type {number}
16331
+ * @memberof TransfersApiGetAllTransfers
16332
+ */
16333
+ readonly fromId?: number;
16334
+ /**
16335
+ * Filter transfers to this user ID
16336
+ * @type {number}
16337
+ * @memberof TransfersApiGetAllTransfers
16338
+ */
16339
+ readonly toId?: number;
16340
+ /**
16341
+ * Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
16342
+ * @type {string}
16343
+ * @memberof TransfersApiGetAllTransfers
16344
+ */
16345
+ readonly category?: string;
15366
16346
  /**
15367
16347
  * How many transfers the endpoint should return
15368
16348
  * @type {number}
@@ -15503,7 +16483,7 @@ export declare class TransfersApi extends BaseAPI {
15503
16483
  * @throws {RequiredError}
15504
16484
  * @memberof TransfersApi
15505
16485
  */
15506
- getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransferResponse[], any, {}>>;
16486
+ getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedTransferResponse, any, {}>>;
15507
16487
  /**
15508
16488
  *
15509
16489
  * @summary Returns the requested transfer
@@ -15752,7 +16732,7 @@ export declare class UserNotificationPreferencesApi extends BaseAPI {
15752
16732
  export declare const UsersApiAxiosParamCreator: (configuration?: Configuration) => {
15753
16733
  /**
15754
16734
  *
15755
- * @summary Accept the Terms of Service if you have not accepted it yet
16735
+ * @summary Accept the current Terms of Service version
15756
16736
  * @param {AcceptTosRequest} acceptTosRequest \&quot;Tosrequest body\&quot;
15757
16737
  * @param {*} [options] Override http request option.
15758
16738
  * @throws {RequiredError}
@@ -15882,6 +16862,14 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
15882
16862
  * @throws {RequiredError}
15883
16863
  */
15884
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>;
15885
16873
  /**
15886
16874
  *
15887
16875
  * @summary Returns the user\'s containers
@@ -15904,6 +16892,20 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
15904
16892
  * @throws {RequiredError}
15905
16893
  */
15906
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>;
15907
16909
  /**
15908
16910
  *
15909
16911
  * @summary Returns the user\'s Points of Sale
@@ -16114,7 +17116,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
16114
17116
  export declare const UsersApiFp: (configuration?: Configuration) => {
16115
17117
  /**
16116
17118
  *
16117
- * @summary Accept the Terms of Service if you have not accepted it yet
17119
+ * @summary Accept the current Terms of Service version
16118
17120
  * @param {AcceptTosRequest} acceptTosRequest \&quot;Tosrequest body\&quot;
16119
17121
  * @param {*} [options] Override http request option.
16120
17122
  * @throws {RequiredError}
@@ -16244,6 +17246,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
16244
17246
  * @throws {RequiredError}
16245
17247
  */
16246
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>>;
16247
17257
  /**
16248
17258
  *
16249
17259
  * @summary Returns the user\'s containers
@@ -16266,6 +17276,20 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
16266
17276
  * @throws {RequiredError}
16267
17277
  */
16268
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>>;
16269
17293
  /**
16270
17294
  *
16271
17295
  * @summary Returns the user\'s Points of Sale
@@ -16476,7 +17500,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
16476
17500
  export declare const UsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
16477
17501
  /**
16478
17502
  *
16479
- * @summary Accept the Terms of Service if you have not accepted it yet
17503
+ * @summary Accept the current Terms of Service version
16480
17504
  * @param {UsersApiAcceptTosRequest} requestParameters Request parameters.
16481
17505
  * @param {*} [options] Override http request option.
16482
17506
  * @throws {RequiredError}
@@ -16594,6 +17618,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
16594
17618
  * @throws {RequiredError}
16595
17619
  */
16596
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>;
16597
17629
  /**
16598
17630
  *
16599
17631
  * @summary Returns the user\'s containers
@@ -16610,6 +17642,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
16610
17642
  * @throws {RequiredError}
16611
17643
  */
16612
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>;
16613
17653
  /**
16614
17654
  *
16615
17655
  * @summary Returns the user\'s Points of Sale
@@ -17039,6 +18079,19 @@ export interface UsersApiGetUserSettingsRequest {
17039
18079
  */
17040
18080
  readonly id: number;
17041
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
+ }
17042
18095
  /**
17043
18096
  * Request parameters for getUsersContainers operation in UsersApi.
17044
18097
  * @export
@@ -17101,6 +18154,55 @@ export interface UsersApiGetUsersFinancialMutationsRequest {
17101
18154
  */
17102
18155
  readonly skip?: number;
17103
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
+ }
17104
18206
  /**
17105
18207
  * Request parameters for getUsersPointsOfSale operation in UsersApi.
17106
18208
  * @export
@@ -17616,7 +18718,7 @@ export interface UsersApiWaiveUserFinesRequest {
17616
18718
  export declare class UsersApi extends BaseAPI {
17617
18719
  /**
17618
18720
  *
17619
- * @summary Accept the Terms of Service if you have not accepted it yet
18721
+ * @summary Accept the current Terms of Service version
17620
18722
  * @param {UsersApiAcceptTosRequest} requestParameters Request parameters.
17621
18723
  * @param {*} [options] Override http request option.
17622
18724
  * @throws {RequiredError}
@@ -17749,6 +18851,15 @@ export declare class UsersApi extends BaseAPI {
17749
18851
  * @memberof UsersApi
17750
18852
  */
17751
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, {}>>;
17752
18863
  /**
17753
18864
  *
17754
18865
  * @summary Returns the user\'s containers
@@ -17767,6 +18878,15 @@ export declare class UsersApi extends BaseAPI {
17767
18878
  * @memberof UsersApi
17768
18879
  */
17769
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, {}>>;
17770
18890
  /**
17771
18891
  *
17772
18892
  * @summary Returns the user\'s Points of Sale
@@ -17962,6 +19082,16 @@ export declare const GetAllUsersTypeEnum: {
17962
19082
  readonly AutomaticInvoice: "AUTOMATIC_INVOICE";
17963
19083
  };
17964
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];
17965
19095
  /**
17966
19096
  * @export
17967
19097
  */