@gewis/sudosos-client 0.0.0-develop.c36a01f → 0.0.0-develop.c63332b

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 +1629 -247
  2. package/dist/api.js +1527 -266
  3. package/package.json +3 -3
package/dist/api.d.ts CHANGED
@@ -25,6 +25,12 @@ export interface AcceptTosRequest {
25
25
  * @memberof AcceptTosRequest
26
26
  */
27
27
  'extensiveDataProcessing': boolean;
28
+ /**
29
+ * The TOS version being accepted.
30
+ * @type {string}
31
+ * @memberof AcceptTosRequest
32
+ */
33
+ 'version': string;
28
34
  }
29
35
  /**
30
36
  *
@@ -58,6 +64,25 @@ export interface AddRoleRequest {
58
64
  */
59
65
  'roleId': number;
60
66
  }
67
+ /**
68
+ *
69
+ * @export
70
+ * @interface AuthenticationEanRequest
71
+ */
72
+ export interface AuthenticationEanRequest {
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof AuthenticationEanRequest
77
+ */
78
+ 'eanCode': string;
79
+ /**
80
+ * POS identifier
81
+ * @type {number}
82
+ * @memberof AuthenticationEanRequest
83
+ */
84
+ 'posId': number;
85
+ }
61
86
  /**
62
87
  *
63
88
  * @export
@@ -134,6 +159,50 @@ export interface AuthenticationMockRequest {
134
159
  */
135
160
  'nonce': string;
136
161
  }
162
+ /**
163
+ *
164
+ * @export
165
+ * @interface AuthenticationNfcRequest
166
+ */
167
+ export interface AuthenticationNfcRequest {
168
+ /**
169
+ *
170
+ * @type {string}
171
+ * @memberof AuthenticationNfcRequest
172
+ */
173
+ 'nfcCode': string;
174
+ /**
175
+ * POS identifier
176
+ * @type {number}
177
+ * @memberof AuthenticationNfcRequest
178
+ */
179
+ 'posId': number;
180
+ }
181
+ /**
182
+ *
183
+ * @export
184
+ * @interface AuthenticationPinRequest
185
+ */
186
+ export interface AuthenticationPinRequest {
187
+ /**
188
+ *
189
+ * @type {number}
190
+ * @memberof AuthenticationPinRequest
191
+ */
192
+ 'userId': number;
193
+ /**
194
+ *
195
+ * @type {string}
196
+ * @memberof AuthenticationPinRequest
197
+ */
198
+ 'pin': string;
199
+ /**
200
+ * POS identifier
201
+ * @type {number}
202
+ * @memberof AuthenticationPinRequest
203
+ */
204
+ 'posId': number;
205
+ }
137
206
  /**
138
207
  *
139
208
  * @export
@@ -215,69 +284,6 @@ export interface AuthenticationResponse {
215
284
  */
216
285
  'rolesWithPermissions': Array<RoleWithPermissionsResponse>;
217
286
  }
218
- /**
219
- *
220
- * @export
221
- * @interface AuthenticationSecureEanRequest
222
- */
223
- export interface AuthenticationSecureEanRequest {
224
- /**
225
- *
226
- * @type {string}
227
- * @memberof AuthenticationSecureEanRequest
228
- */
229
- 'eanCode': string;
230
- /**
231
- * POS identifier
232
- * @type {number}
233
- * @memberof AuthenticationSecureEanRequest
234
- */
235
- 'posId': number;
236
- }
237
- /**
238
- *
239
- * @export
240
- * @interface AuthenticationSecureNfcRequest
241
- */
242
- export interface AuthenticationSecureNfcRequest {
243
- /**
244
- *
245
- * @type {string}
246
- * @memberof AuthenticationSecureNfcRequest
247
- */
248
- 'nfcCode': string;
249
- /**
250
- * POS identifier
251
- * @type {number}
252
- * @memberof AuthenticationSecureNfcRequest
253
- */
254
- 'posId': number;
255
- }
256
- /**
257
- *
258
- * @export
259
- * @interface AuthenticationSecurePinRequest
260
- */
261
- export interface AuthenticationSecurePinRequest {
262
- /**
263
- *
264
- * @type {number}
265
- * @memberof AuthenticationSecurePinRequest
266
- */
267
- 'userId': number;
268
- /**
269
- *
270
- * @type {string}
271
- * @memberof AuthenticationSecurePinRequest
272
- */
273
- 'pin': string;
274
- /**
275
- * POS identifier (required for secure authentication)
276
- * @type {number}
277
- * @memberof AuthenticationSecurePinRequest
278
- */
279
- 'posId': number;
280
- }
281
287
  /**
282
288
  *
283
289
  * @export
@@ -901,6 +907,104 @@ export interface BaseInvoiceResponse {
901
907
  */
902
908
  'totalInclVat': DineroObjectResponse;
903
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];
904
1008
  /**
905
1009
  *
906
1010
  * @export
@@ -1141,6 +1245,31 @@ export interface BaseResponse {
1141
1245
  */
1142
1246
  'version'?: number;
1143
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
+ }
1144
1273
  /**
1145
1274
  *
1146
1275
  * @export
@@ -1779,6 +1908,37 @@ export interface CreateInvoiceRequest {
1779
1908
  */
1780
1909
  'amount': DineroObjectRequest;
1781
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
+ }
1782
1942
  /**
1783
1943
  *
1784
1944
  * @export
@@ -1958,6 +2118,19 @@ export interface CreateShiftRequest {
1958
2118
  */
1959
2119
  'roles': Array<string>;
1960
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
+ }
1961
2134
  /**
1962
2135
  *
1963
2136
  * @export
@@ -3109,25 +3282,38 @@ export interface InvoiceUserResponse {
3109
3282
  /**
3110
3283
  *
3111
3284
  * @export
3112
- * @interface MemberAuthenticationSecurePinRequest
3285
+ * @interface MarkFulfilledExternallyRequest
3286
+ */
3287
+ export interface MarkFulfilledExternallyRequest {
3288
+ /**
3289
+ * Why this request is being marked paid out-of-band (audit trail).
3290
+ * @type {string}
3291
+ * @memberof MarkFulfilledExternallyRequest
3292
+ */
3293
+ 'reason': string;
3294
+ }
3295
+ /**
3296
+ *
3297
+ * @export
3298
+ * @interface MemberAuthenticationPinRequest
3113
3299
  */
3114
- export interface MemberAuthenticationSecurePinRequest {
3300
+ export interface MemberAuthenticationPinRequest {
3115
3301
  /**
3116
3302
  *
3117
3303
  * @type {number}
3118
- * @memberof MemberAuthenticationSecurePinRequest
3304
+ * @memberof MemberAuthenticationPinRequest
3119
3305
  */
3120
3306
  'memberId': number;
3121
3307
  /**
3122
3308
  *
3123
3309
  * @type {string}
3124
- * @memberof MemberAuthenticationSecurePinRequest
3310
+ * @memberof MemberAuthenticationPinRequest
3125
3311
  */
3126
3312
  'pin': string;
3127
3313
  /**
3128
3314
  * POS identifier
3129
3315
  * @type {number}
3130
- * @memberof MemberAuthenticationSecurePinRequest
3316
+ * @memberof MemberAuthenticationPinRequest
3131
3317
  */
3132
3318
  'posId': number;
3133
3319
  }
@@ -3201,6 +3387,25 @@ export interface PaginatedBaseEventResponse {
3201
3387
  */
3202
3388
  'records': Array<BaseEventResponse>;
3203
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
+ }
3204
3409
  /**
3205
3410
  *
3206
3411
  * @export
@@ -3631,6 +3836,31 @@ export interface PatchUserTypeRequest {
3631
3836
  */
3632
3837
  'userType': string;
3633
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
+ }
3634
3864
  /**
3635
3865
  *
3636
3866
  * @export
@@ -3991,13 +4221,26 @@ export interface PointOfSaleWithContainersResponse {
3991
4221
  'containers': Array<ContainerWithProductsResponse>;
3992
4222
  }
3993
4223
  /**
3994
- * API Request for creating or updating a `product category` entity.
4224
+ *
3995
4225
  * @export
3996
- * @interface ProductCategoryRequest
4226
+ * @interface ProcessTerminalPaymentRequest
3997
4227
  */
3998
- export interface ProductCategoryRequest {
4228
+ export interface ProcessTerminalPaymentRequest {
3999
4229
  /**
4000
- * Name/label of the productCategory
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
4239
+ * @interface ProductCategoryRequest
4240
+ */
4241
+ export interface ProductCategoryRequest {
4242
+ /**
4243
+ * Name/label of the productCategory
4001
4244
  * @type {string}
4002
4245
  * @memberof ProductCategoryRequest
4003
4246
  */
@@ -4155,6 +4398,56 @@ export interface ProductResponse {
4155
4398
  */
4156
4399
  'priceList': boolean;
4157
4400
  }
4401
+ /**
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.
4403
+ * @export
4404
+ * @interface PublicPaymentRequestResponse
4405
+ */
4406
+ export interface PublicPaymentRequestResponse {
4407
+ /**
4408
+ * UUID v4 identifier.
4409
+ * @type {string}
4410
+ * @memberof PublicPaymentRequestResponse
4411
+ */
4412
+ 'uuid': string;
4413
+ /**
4414
+ * Recipient display name (e.g. \"John D.\").
4415
+ * @type {string}
4416
+ * @memberof PublicPaymentRequestResponse
4417
+ */
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];
4158
4451
  /**
4159
4452
  *
4160
4453
  * @export
@@ -4832,6 +5125,37 @@ export interface StripePaymentIntentStatusResponse {
4832
5125
  */
4833
5126
  'state': number;
4834
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
+ }
4835
5159
  /**
4836
5160
  *
4837
5161
  * @export
@@ -5024,6 +5348,67 @@ export interface SubTransactionRowResponse {
5024
5348
  */
5025
5349
  'totalPriceInclVat': DineroObjectResponse;
5026
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
+ }
5027
5412
  /**
5028
5413
  *
5029
5414
  * @export
@@ -5036,6 +5421,12 @@ export interface TermsOfServiceResponse {
5036
5421
  * @memberof TermsOfServiceResponse
5037
5422
  */
5038
5423
  'versionNumber': string;
5424
+ /**
5425
+ * The date this version took effect.
5426
+ * @type {string}
5427
+ * @memberof TermsOfServiceResponse
5428
+ */
5429
+ 'date': string;
5039
5430
  /**
5040
5431
  * The terms of service content.
5041
5432
  * @type {string}
@@ -5043,6 +5434,17 @@ export interface TermsOfServiceResponse {
5043
5434
  */
5044
5435
  'content': string;
5045
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];
5046
5448
  /**
5047
5449
  *
5048
5450
  * @export
@@ -6109,6 +6511,18 @@ export interface UpdateUserRequest {
6109
6511
  * @memberof UpdateUserRequest
6110
6512
  */
6111
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;
6520
+ /**
6521
+ * Whether organ members can manage this organ\'s products and containers without BAC/GEWIS PM. Only meaningful for organ users.
6522
+ * @type {boolean}
6523
+ * @memberof UpdateUserRequest
6524
+ */
6525
+ 'productSelfService'?: boolean;
6112
6526
  }
6113
6527
  /**
6114
6528
  * API Request for updating an existing `vat group` entity. Only mutable fields; the rate itself cannot change on an existing group.
@@ -6284,11 +6698,17 @@ export interface UserResponse {
6284
6698
  */
6285
6699
  'email'?: string;
6286
6700
  /**
6287
- * Whether this user has accepted the TOS
6288
- * @type {string}
6701
+ * Whether this user is required to accept the TOS
6702
+ * @type {boolean}
6703
+ * @memberof UserResponse
6704
+ */
6705
+ 'tosRequired'?: boolean;
6706
+ /**
6707
+ *
6708
+ * @type {TermsOfServiceStatus}
6289
6709
  * @memberof UserResponse
6290
6710
  */
6291
- 'acceptedToS'?: string;
6711
+ 'acceptedToS'?: TermsOfServiceStatus;
6292
6712
  /**
6293
6713
  * Whether data about this user can be used (non-anonymously) for more data science!
6294
6714
  * @type {boolean}
@@ -6325,6 +6745,12 @@ export interface UserResponse {
6325
6745
  * @memberof UserResponse
6326
6746
  */
6327
6747
  'pos'?: BasePointOfSaleInfoResponse;
6748
+ /**
6749
+ * ISO date at which the account expires (null for accounts without expiry)
6750
+ * @type {string}
6751
+ * @memberof UserResponse
6752
+ */
6753
+ 'expiryDate'?: string | null;
6328
6754
  }
6329
6755
  /**
6330
6756
  *
@@ -6431,6 +6857,50 @@ export interface UserToInactiveAdministrativeCostResponse {
6431
6857
  */
6432
6858
  'nickname'?: string;
6433
6859
  }
6860
+ /**
6861
+ *
6862
+ * @export
6863
+ * @interface UserTosAcceptanceResponse
6864
+ */
6865
+ export interface UserTosAcceptanceResponse {
6866
+ /**
6867
+ * The accepted terms of service version number.
6868
+ * @type {string}
6869
+ * @memberof UserTosAcceptanceResponse
6870
+ */
6871
+ 'versionNumber': string;
6872
+ /**
6873
+ * The date at which this version was accepted.
6874
+ * @type {string}
6875
+ * @memberof UserTosAcceptanceResponse
6876
+ */
6877
+ 'acceptedAt': string;
6878
+ }
6879
+ /**
6880
+ *
6881
+ * @export
6882
+ * @interface UserTosResponse
6883
+ */
6884
+ export interface UserTosResponse {
6885
+ /**
6886
+ *
6887
+ * @type {TermsOfServiceStatus}
6888
+ * @memberof UserTosResponse
6889
+ */
6890
+ 'status': TermsOfServiceStatus;
6891
+ /**
6892
+ * The current terms of service version number.
6893
+ * @type {string}
6894
+ * @memberof UserTosResponse
6895
+ */
6896
+ 'currentVersion': string;
6897
+ /**
6898
+ * All TOS versions the user has accepted.
6899
+ * @type {Array<UserTosAcceptanceResponse>}
6900
+ * @memberof UserTosResponse
6901
+ */
6902
+ 'acceptances': Array<UserTosAcceptanceResponse>;
6903
+ }
6434
6904
  /**
6435
6905
  * The type of a user
6436
6906
  * @export
@@ -6996,6 +7466,14 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
6996
7466
  * @throws {RequiredError}
6997
7467
  */
6998
7468
  confirmQRCode: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7469
+ /**
7470
+ *
7471
+ * @summary EAN authentication that requires POS user authentication
7472
+ * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login request with posId
7473
+ * @param {*} [options] Override http request option.
7474
+ * @throws {RequiredError}
7475
+ */
7476
+ eanAuthentication: (authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6999
7477
  /**
7000
7478
  *
7001
7479
  * @summary Generate a QR code for authentication
@@ -7067,67 +7545,59 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7067
7545
  localAuthentication: (authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7068
7546
  /**
7069
7547
  *
7070
- * @summary Mock login and hand out token.
7071
- * @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
7072
- * @param {*} [options] Override http request option.
7073
- * @throws {RequiredError}
7074
- */
7075
- mockAuthentication: (authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7076
- /**
7077
- *
7078
- * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7548
+ * @summary Member PIN authentication that requires POS user authentication
7549
+ * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login request with posId
7079
7550
  * @param {*} [options] Override http request option.
7080
7551
  * @throws {RequiredError}
7081
7552
  */
7082
- refreshToken: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7553
+ memberPINAuthentication: (memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7083
7554
  /**
7084
7555
  *
7085
- * @summary Creates a reset token for the local authentication
7086
- * @param {ResetLocalRequest} resetLocalRequest The reset info.
7556
+ * @summary Mock login and hand out token.
7557
+ * @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
7087
7558
  * @param {*} [options] Override http request option.
7088
7559
  * @throws {RequiredError}
7089
7560
  */
7090
- resetLocal: (resetLocalRequest: ResetLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7561
+ mockAuthentication: (authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7091
7562
  /**
7092
7563
  *
7093
- * @summary Reset local authentication using the provided token
7094
- * @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
7564
+ * @summary NFC authentication that requires POS user authentication
7565
+ * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login request with posId
7095
7566
  * @param {*} [options] Override http request option.
7096
7567
  * @throws {RequiredError}
7097
7568
  */
7098
- resetLocalWithToken: (authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7569
+ nfcAuthentication: (authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7099
7570
  /**
7100
7571
  *
7101
- * @summary Secure EAN authentication that requires POS user authentication
7102
- * @param {AuthenticationSecureEanRequest} authenticationSecureEanRequest The EAN login request with posId
7572
+ * @summary PIN authentication that requires POS user authentication
7573
+ * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login request with posId
7103
7574
  * @param {*} [options] Override http request option.
7104
7575
  * @throws {RequiredError}
7105
7576
  */
7106
- secureEanAuthentication: (authenticationSecureEanRequest: AuthenticationSecureEanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7577
+ pinAuthentication: (authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7107
7578
  /**
7108
7579
  *
7109
- * @summary Secure member PIN authentication that requires POS user authentication
7110
- * @param {MemberAuthenticationSecurePinRequest} memberAuthenticationSecurePinRequest The PIN login request with posId
7580
+ * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7111
7581
  * @param {*} [options] Override http request option.
7112
7582
  * @throws {RequiredError}
7113
7583
  */
7114
- secureMemberPINAuthentication: (memberAuthenticationSecurePinRequest: MemberAuthenticationSecurePinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7584
+ refreshToken: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7115
7585
  /**
7116
7586
  *
7117
- * @summary Secure NFC authentication that requires POS user authentication
7118
- * @param {AuthenticationSecureNfcRequest} authenticationSecureNfcRequest The NFC login request with posId
7587
+ * @summary Creates a reset token for the local authentication
7588
+ * @param {ResetLocalRequest} resetLocalRequest The reset info.
7119
7589
  * @param {*} [options] Override http request option.
7120
7590
  * @throws {RequiredError}
7121
7591
  */
7122
- secureNfcAuthentication: (authenticationSecureNfcRequest: AuthenticationSecureNfcRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7592
+ resetLocal: (resetLocalRequest: ResetLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7123
7593
  /**
7124
7594
  *
7125
- * @summary Secure PIN authentication that requires POS user authentication
7126
- * @param {AuthenticationSecurePinRequest} authenticationSecurePinRequest The PIN login request with posId
7595
+ * @summary Reset local authentication using the provided token
7596
+ * @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
7127
7597
  * @param {*} [options] Override http request option.
7128
7598
  * @throws {RequiredError}
7129
7599
  */
7130
- securePINAuthentication: (authenticationSecurePinRequest: AuthenticationSecurePinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7600
+ resetLocalWithToken: (authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7131
7601
  };
7132
7602
  /**
7133
7603
  * AuthenticateApi - functional programming interface
@@ -7158,6 +7628,14 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7158
7628
  * @throws {RequiredError}
7159
7629
  */
7160
7630
  confirmQRCode(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7631
+ /**
7632
+ *
7633
+ * @summary EAN authentication that requires POS user authentication
7634
+ * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login request with posId
7635
+ * @param {*} [options] Override http request option.
7636
+ * @throws {RequiredError}
7637
+ */
7638
+ eanAuthentication(authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7161
7639
  /**
7162
7640
  *
7163
7641
  * @summary Generate a QR code for authentication
@@ -7229,67 +7707,59 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7229
7707
  localAuthentication(authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7230
7708
  /**
7231
7709
  *
7232
- * @summary Mock login and hand out token.
7233
- * @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
7234
- * @param {*} [options] Override http request option.
7235
- * @throws {RequiredError}
7236
- */
7237
- mockAuthentication(authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7238
- /**
7239
- *
7240
- * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7710
+ * @summary Member PIN authentication that requires POS user authentication
7711
+ * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login request with posId
7241
7712
  * @param {*} [options] Override http request option.
7242
7713
  * @throws {RequiredError}
7243
7714
  */
7244
- refreshToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7715
+ memberPINAuthentication(memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7245
7716
  /**
7246
7717
  *
7247
- * @summary Creates a reset token for the local authentication
7248
- * @param {ResetLocalRequest} resetLocalRequest The reset info.
7718
+ * @summary Mock login and hand out token.
7719
+ * @param {AuthenticationMockRequest} authenticationMockRequest The mock login.
7249
7720
  * @param {*} [options] Override http request option.
7250
7721
  * @throws {RequiredError}
7251
7722
  */
7252
- resetLocal(resetLocalRequest: ResetLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7723
+ mockAuthentication(authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7253
7724
  /**
7254
7725
  *
7255
- * @summary Reset local authentication using the provided token
7256
- * @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
7726
+ * @summary NFC authentication that requires POS user authentication
7727
+ * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login request with posId
7257
7728
  * @param {*} [options] Override http request option.
7258
7729
  * @throws {RequiredError}
7259
7730
  */
7260
- resetLocalWithToken(authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7731
+ nfcAuthentication(authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7261
7732
  /**
7262
7733
  *
7263
- * @summary Secure EAN authentication that requires POS user authentication
7264
- * @param {AuthenticationSecureEanRequest} authenticationSecureEanRequest The EAN login request with posId
7734
+ * @summary PIN authentication that requires POS user authentication
7735
+ * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login request with posId
7265
7736
  * @param {*} [options] Override http request option.
7266
7737
  * @throws {RequiredError}
7267
7738
  */
7268
- secureEanAuthentication(authenticationSecureEanRequest: AuthenticationSecureEanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7739
+ pinAuthentication(authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7269
7740
  /**
7270
7741
  *
7271
- * @summary Secure member PIN authentication that requires POS user authentication
7272
- * @param {MemberAuthenticationSecurePinRequest} memberAuthenticationSecurePinRequest The PIN login request with posId
7742
+ * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7273
7743
  * @param {*} [options] Override http request option.
7274
7744
  * @throws {RequiredError}
7275
7745
  */
7276
- secureMemberPINAuthentication(memberAuthenticationSecurePinRequest: MemberAuthenticationSecurePinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7746
+ refreshToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7277
7747
  /**
7278
7748
  *
7279
- * @summary Secure NFC authentication that requires POS user authentication
7280
- * @param {AuthenticationSecureNfcRequest} authenticationSecureNfcRequest The NFC login request with posId
7749
+ * @summary Creates a reset token for the local authentication
7750
+ * @param {ResetLocalRequest} resetLocalRequest The reset info.
7281
7751
  * @param {*} [options] Override http request option.
7282
7752
  * @throws {RequiredError}
7283
7753
  */
7284
- secureNfcAuthentication(authenticationSecureNfcRequest: AuthenticationSecureNfcRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7754
+ resetLocal(resetLocalRequest: ResetLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7285
7755
  /**
7286
7756
  *
7287
- * @summary Secure PIN authentication that requires POS user authentication
7288
- * @param {AuthenticationSecurePinRequest} authenticationSecurePinRequest The PIN login request with posId
7757
+ * @summary Reset local authentication using the provided token
7758
+ * @param {AuthenticationResetTokenRequest} authenticationResetTokenRequest The reset token.
7289
7759
  * @param {*} [options] Override http request option.
7290
7760
  * @throws {RequiredError}
7291
7761
  */
7292
- securePINAuthentication(authenticationSecurePinRequest: AuthenticationSecurePinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7762
+ resetLocalWithToken(authenticationResetTokenRequest: AuthenticationResetTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7293
7763
  };
7294
7764
  /**
7295
7765
  * AuthenticateApi - factory interface
@@ -7320,6 +7790,14 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7320
7790
  * @throws {RequiredError}
7321
7791
  */
7322
7792
  confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7793
+ /**
7794
+ *
7795
+ * @summary EAN authentication that requires POS user authentication
7796
+ * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
7797
+ * @param {*} [options] Override http request option.
7798
+ * @throws {RequiredError}
7799
+ */
7800
+ eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7323
7801
  /**
7324
7802
  *
7325
7803
  * @summary Generate a QR code for authentication
@@ -7391,67 +7869,59 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7391
7869
  localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7392
7870
  /**
7393
7871
  *
7394
- * @summary Mock login and hand out token.
7395
- * @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
7396
- * @param {*} [options] Override http request option.
7397
- * @throws {RequiredError}
7398
- */
7399
- mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7400
- /**
7401
- *
7402
- * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7872
+ * @summary Member PIN authentication that requires POS user authentication
7873
+ * @param {AuthenticateApiMemberPINAuthenticationRequest} requestParameters Request parameters.
7403
7874
  * @param {*} [options] Override http request option.
7404
7875
  * @throws {RequiredError}
7405
7876
  */
7406
- refreshToken(options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7877
+ memberPINAuthentication(requestParameters: AuthenticateApiMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7407
7878
  /**
7408
7879
  *
7409
- * @summary Creates a reset token for the local authentication
7410
- * @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
7880
+ * @summary Mock login and hand out token.
7881
+ * @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
7411
7882
  * @param {*} [options] Override http request option.
7412
7883
  * @throws {RequiredError}
7413
7884
  */
7414
- resetLocal(requestParameters: AuthenticateApiResetLocalRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7885
+ mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7415
7886
  /**
7416
7887
  *
7417
- * @summary Reset local authentication using the provided token
7418
- * @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
7888
+ * @summary NFC authentication that requires POS user authentication
7889
+ * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
7419
7890
  * @param {*} [options] Override http request option.
7420
7891
  * @throws {RequiredError}
7421
7892
  */
7422
- resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7893
+ nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7423
7894
  /**
7424
7895
  *
7425
- * @summary Secure EAN authentication that requires POS user authentication
7426
- * @param {AuthenticateApiSecureEanAuthenticationRequest} requestParameters Request parameters.
7896
+ * @summary PIN authentication that requires POS user authentication
7897
+ * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
7427
7898
  * @param {*} [options] Override http request option.
7428
7899
  * @throws {RequiredError}
7429
7900
  */
7430
- secureEanAuthentication(requestParameters: AuthenticateApiSecureEanAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7901
+ pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7431
7902
  /**
7432
7903
  *
7433
- * @summary Secure member PIN authentication that requires POS user authentication
7434
- * @param {AuthenticateApiSecureMemberPINAuthenticationRequest} requestParameters Request parameters.
7904
+ * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7435
7905
  * @param {*} [options] Override http request option.
7436
7906
  * @throws {RequiredError}
7437
7907
  */
7438
- secureMemberPINAuthentication(requestParameters: AuthenticateApiSecureMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7908
+ refreshToken(options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7439
7909
  /**
7440
7910
  *
7441
- * @summary Secure NFC authentication that requires POS user authentication
7442
- * @param {AuthenticateApiSecureNfcAuthenticationRequest} requestParameters Request parameters.
7911
+ * @summary Creates a reset token for the local authentication
7912
+ * @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
7443
7913
  * @param {*} [options] Override http request option.
7444
7914
  * @throws {RequiredError}
7445
7915
  */
7446
- secureNfcAuthentication(requestParameters: AuthenticateApiSecureNfcAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7916
+ resetLocal(requestParameters: AuthenticateApiResetLocalRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7447
7917
  /**
7448
7918
  *
7449
- * @summary Secure PIN authentication that requires POS user authentication
7450
- * @param {AuthenticateApiSecurePINAuthenticationRequest} requestParameters Request parameters.
7919
+ * @summary Reset local authentication using the provided token
7920
+ * @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
7451
7921
  * @param {*} [options] Override http request option.
7452
7922
  * @throws {RequiredError}
7453
7923
  */
7454
- securePINAuthentication(requestParameters: AuthenticateApiSecurePINAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7924
+ resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7455
7925
  };
7456
7926
  /**
7457
7927
  * Request parameters for authenticatePointOfSale operation in AuthenticateApi.
@@ -7492,6 +7962,19 @@ export interface AuthenticateApiConfirmQRCodeRequest {
7492
7962
  */
7493
7963
  readonly sessionId: string;
7494
7964
  }
7965
+ /**
7966
+ * Request parameters for eanAuthentication operation in AuthenticateApi.
7967
+ * @export
7968
+ * @interface AuthenticateApiEanAuthenticationRequest
7969
+ */
7970
+ export interface AuthenticateApiEanAuthenticationRequest {
7971
+ /**
7972
+ * The EAN login request with posId
7973
+ * @type {AuthenticationEanRequest}
7974
+ * @memberof AuthenticateApiEanAuthentication
7975
+ */
7976
+ readonly authenticationEanRequest: AuthenticationEanRequest;
7977
+ }
7495
7978
  /**
7496
7979
  * Request parameters for getQRStatus operation in AuthenticateApi.
7497
7980
  * @export
@@ -7570,6 +8053,19 @@ export interface AuthenticateApiLocalAuthenticationRequest {
7570
8053
  */
7571
8054
  readonly authenticationLocalRequest: AuthenticationLocalRequest;
7572
8055
  }
8056
+ /**
8057
+ * Request parameters for memberPINAuthentication operation in AuthenticateApi.
8058
+ * @export
8059
+ * @interface AuthenticateApiMemberPINAuthenticationRequest
8060
+ */
8061
+ export interface AuthenticateApiMemberPINAuthenticationRequest {
8062
+ /**
8063
+ * The PIN login request with posId
8064
+ * @type {MemberAuthenticationPinRequest}
8065
+ * @memberof AuthenticateApiMemberPINAuthentication
8066
+ */
8067
+ readonly memberAuthenticationPinRequest: MemberAuthenticationPinRequest;
8068
+ }
7573
8069
  /**
7574
8070
  * Request parameters for mockAuthentication operation in AuthenticateApi.
7575
8071
  * @export
@@ -7583,6 +8079,32 @@ export interface AuthenticateApiMockAuthenticationRequest {
7583
8079
  */
7584
8080
  readonly authenticationMockRequest: AuthenticationMockRequest;
7585
8081
  }
8082
+ /**
8083
+ * Request parameters for nfcAuthentication operation in AuthenticateApi.
8084
+ * @export
8085
+ * @interface AuthenticateApiNfcAuthenticationRequest
8086
+ */
8087
+ export interface AuthenticateApiNfcAuthenticationRequest {
8088
+ /**
8089
+ * The NFC login request with posId
8090
+ * @type {AuthenticationNfcRequest}
8091
+ * @memberof AuthenticateApiNfcAuthentication
8092
+ */
8093
+ readonly authenticationNfcRequest: AuthenticationNfcRequest;
8094
+ }
8095
+ /**
8096
+ * Request parameters for pinAuthentication operation in AuthenticateApi.
8097
+ * @export
8098
+ * @interface AuthenticateApiPinAuthenticationRequest
8099
+ */
8100
+ export interface AuthenticateApiPinAuthenticationRequest {
8101
+ /**
8102
+ * The PIN login request with posId
8103
+ * @type {AuthenticationPinRequest}
8104
+ * @memberof AuthenticateApiPinAuthentication
8105
+ */
8106
+ readonly authenticationPinRequest: AuthenticationPinRequest;
8107
+ }
7586
8108
  /**
7587
8109
  * Request parameters for resetLocal operation in AuthenticateApi.
7588
8110
  * @export
@@ -7609,58 +8131,6 @@ export interface AuthenticateApiResetLocalWithTokenRequest {
7609
8131
  */
7610
8132
  readonly authenticationResetTokenRequest: AuthenticationResetTokenRequest;
7611
8133
  }
7612
- /**
7613
- * Request parameters for secureEanAuthentication operation in AuthenticateApi.
7614
- * @export
7615
- * @interface AuthenticateApiSecureEanAuthenticationRequest
7616
- */
7617
- export interface AuthenticateApiSecureEanAuthenticationRequest {
7618
- /**
7619
- * The EAN login request with posId
7620
- * @type {AuthenticationSecureEanRequest}
7621
- * @memberof AuthenticateApiSecureEanAuthentication
7622
- */
7623
- readonly authenticationSecureEanRequest: AuthenticationSecureEanRequest;
7624
- }
7625
- /**
7626
- * Request parameters for secureMemberPINAuthentication operation in AuthenticateApi.
7627
- * @export
7628
- * @interface AuthenticateApiSecureMemberPINAuthenticationRequest
7629
- */
7630
- export interface AuthenticateApiSecureMemberPINAuthenticationRequest {
7631
- /**
7632
- * The PIN login request with posId
7633
- * @type {MemberAuthenticationSecurePinRequest}
7634
- * @memberof AuthenticateApiSecureMemberPINAuthentication
7635
- */
7636
- readonly memberAuthenticationSecurePinRequest: MemberAuthenticationSecurePinRequest;
7637
- }
7638
- /**
7639
- * Request parameters for secureNfcAuthentication operation in AuthenticateApi.
7640
- * @export
7641
- * @interface AuthenticateApiSecureNfcAuthenticationRequest
7642
- */
7643
- export interface AuthenticateApiSecureNfcAuthenticationRequest {
7644
- /**
7645
- * The NFC login request with posId
7646
- * @type {AuthenticationSecureNfcRequest}
7647
- * @memberof AuthenticateApiSecureNfcAuthentication
7648
- */
7649
- readonly authenticationSecureNfcRequest: AuthenticationSecureNfcRequest;
7650
- }
7651
- /**
7652
- * Request parameters for securePINAuthentication operation in AuthenticateApi.
7653
- * @export
7654
- * @interface AuthenticateApiSecurePINAuthenticationRequest
7655
- */
7656
- export interface AuthenticateApiSecurePINAuthenticationRequest {
7657
- /**
7658
- * The PIN login request with posId
7659
- * @type {AuthenticationSecurePinRequest}
7660
- * @memberof AuthenticateApiSecurePINAuthentication
7661
- */
7662
- readonly authenticationSecurePinRequest: AuthenticationSecurePinRequest;
7663
- }
7664
8134
  /**
7665
8135
  * AuthenticateApi - object-oriented interface
7666
8136
  * @export
@@ -7695,6 +8165,15 @@ export declare class AuthenticateApi extends BaseAPI {
7695
8165
  * @memberof AuthenticateApi
7696
8166
  */
7697
8167
  confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8168
+ /**
8169
+ *
8170
+ * @summary EAN authentication that requires POS user authentication
8171
+ * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
8172
+ * @param {*} [options] Override http request option.
8173
+ * @throws {RequiredError}
8174
+ * @memberof AuthenticateApi
8175
+ */
8176
+ eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7698
8177
  /**
7699
8178
  *
7700
8179
  * @summary Generate a QR code for authentication
@@ -7775,75 +8254,66 @@ export declare class AuthenticateApi extends BaseAPI {
7775
8254
  localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7776
8255
  /**
7777
8256
  *
7778
- * @summary Mock login and hand out token.
7779
- * @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
8257
+ * @summary Member PIN authentication that requires POS user authentication
8258
+ * @param {AuthenticateApiMemberPINAuthenticationRequest} requestParameters Request parameters.
7780
8259
  * @param {*} [options] Override http request option.
7781
8260
  * @throws {RequiredError}
7782
8261
  * @memberof AuthenticateApi
7783
8262
  */
7784
- mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8263
+ memberPINAuthentication(requestParameters: AuthenticateApiMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7785
8264
  /**
7786
8265
  *
7787
- * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7788
- * @param {*} [options] Override http request option.
7789
- * @throws {RequiredError}
7790
- * @memberof AuthenticateApi
7791
- */
7792
- refreshToken(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7793
- /**
7794
- *
7795
- * @summary Creates a reset token for the local authentication
7796
- * @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
8266
+ * @summary Mock login and hand out token.
8267
+ * @param {AuthenticateApiMockAuthenticationRequest} requestParameters Request parameters.
7797
8268
  * @param {*} [options] Override http request option.
7798
8269
  * @throws {RequiredError}
7799
8270
  * @memberof AuthenticateApi
7800
8271
  */
7801
- resetLocal(requestParameters: AuthenticateApiResetLocalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8272
+ mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7802
8273
  /**
7803
8274
  *
7804
- * @summary Reset local authentication using the provided token
7805
- * @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
8275
+ * @summary NFC authentication that requires POS user authentication
8276
+ * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
7806
8277
  * @param {*} [options] Override http request option.
7807
8278
  * @throws {RequiredError}
7808
8279
  * @memberof AuthenticateApi
7809
8280
  */
7810
- resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
8281
+ nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7811
8282
  /**
7812
8283
  *
7813
- * @summary Secure EAN authentication that requires POS user authentication
7814
- * @param {AuthenticateApiSecureEanAuthenticationRequest} requestParameters Request parameters.
8284
+ * @summary PIN authentication that requires POS user authentication
8285
+ * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
7815
8286
  * @param {*} [options] Override http request option.
7816
8287
  * @throws {RequiredError}
7817
8288
  * @memberof AuthenticateApi
7818
8289
  */
7819
- secureEanAuthentication(requestParameters: AuthenticateApiSecureEanAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8290
+ pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7820
8291
  /**
7821
8292
  *
7822
- * @summary Secure member PIN authentication that requires POS user authentication
7823
- * @param {AuthenticateApiSecureMemberPINAuthenticationRequest} requestParameters Request parameters.
8293
+ * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
7824
8294
  * @param {*} [options] Override http request option.
7825
8295
  * @throws {RequiredError}
7826
8296
  * @memberof AuthenticateApi
7827
8297
  */
7828
- secureMemberPINAuthentication(requestParameters: AuthenticateApiSecureMemberPINAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8298
+ refreshToken(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7829
8299
  /**
7830
8300
  *
7831
- * @summary Secure NFC authentication that requires POS user authentication
7832
- * @param {AuthenticateApiSecureNfcAuthenticationRequest} requestParameters Request parameters.
8301
+ * @summary Creates a reset token for the local authentication
8302
+ * @param {AuthenticateApiResetLocalRequest} requestParameters Request parameters.
7833
8303
  * @param {*} [options] Override http request option.
7834
8304
  * @throws {RequiredError}
7835
8305
  * @memberof AuthenticateApi
7836
8306
  */
7837
- secureNfcAuthentication(requestParameters: AuthenticateApiSecureNfcAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8307
+ resetLocal(requestParameters: AuthenticateApiResetLocalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
7838
8308
  /**
7839
8309
  *
7840
- * @summary Secure PIN authentication that requires POS user authentication
7841
- * @param {AuthenticateApiSecurePINAuthenticationRequest} requestParameters Request parameters.
8310
+ * @summary Reset local authentication using the provided token
8311
+ * @param {AuthenticateApiResetLocalWithTokenRequest} requestParameters Request parameters.
7842
8312
  * @param {*} [options] Override http request option.
7843
8313
  * @throws {RequiredError}
7844
8314
  * @memberof AuthenticateApi
7845
8315
  */
7846
- securePINAuthentication(requestParameters: AuthenticateApiSecurePINAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8316
+ resetLocalWithToken(requestParameters: AuthenticateApiResetLocalWithTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
7847
8317
  }
7848
8318
  /**
7849
8319
  * BalanceApi - axios parameter creator
@@ -11035,7 +11505,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
11035
11505
  * @param {*} [options] Override http request option.
11036
11506
  * @throws {RequiredError}
11037
11507
  */
11038
- getEligibleTransactions(forId: number, fromDate: string, tillDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionResponse>>;
11508
+ getEligibleTransactions(forId: number, fromDate: string, tillDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransactionResponse>>>;
11039
11509
  /**
11040
11510
  *
11041
11511
  * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
@@ -11132,7 +11602,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
11132
11602
  * @param {*} [options] Override http request option.
11133
11603
  * @throws {RequiredError}
11134
11604
  */
11135
- getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransactionResponse>;
11605
+ getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TransactionResponse>>;
11136
11606
  /**
11137
11607
  *
11138
11608
  * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
@@ -11446,7 +11916,7 @@ export declare class InvoicesApi extends BaseAPI {
11446
11916
  * @throws {RequiredError}
11447
11917
  * @memberof InvoicesApi
11448
11918
  */
11449
- getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse, any, {}>>;
11919
+ getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse[], any, {}>>;
11450
11920
  /**
11451
11921
  *
11452
11922
  * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
@@ -11501,6 +11971,492 @@ export declare class InvoicesApi extends BaseAPI {
11501
11971
  */
11502
11972
  updateInvoice(requestParameters: InvoicesApiUpdateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseInvoiceResponse, any, {}>>;
11503
11973
  }
11974
+ /**
11975
+ * PaymentRequestsApi - axios parameter creator
11976
+ * @export
11977
+ */
11978
+ export declare const PaymentRequestsApiAxiosParamCreator: (configuration?: Configuration) => {
11979
+ /**
11980
+ *
11981
+ * @summary Cancel a PENDING PaymentRequest.
11982
+ * @param {string} id UUID v4 of the payment request.
11983
+ * @param {*} [options] Override http request option.
11984
+ * @throws {RequiredError}
11985
+ */
11986
+ cancelPaymentRequest: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11987
+ /**
11988
+ *
11989
+ * @summary Create a new PaymentRequest.
11990
+ * @param {CreatePaymentRequestRequest} createPaymentRequestRequest The request to create
11991
+ * @param {*} [options] Override http request option.
11992
+ * @throws {RequiredError}
11993
+ */
11994
+ createPaymentRequest: (createPaymentRequestRequest: CreatePaymentRequestRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11995
+ /**
11996
+ *
11997
+ * @summary List PaymentRequests (paginated, with filtering by beneficiary, creator, and status)
11998
+ * @param {number} [forId] Filter by beneficiary user id.
11999
+ * @param {number} [createdById] Filter by creator user id.
12000
+ * @param {GetAllPaymentRequestsStatusEnum} [status] Comma-separated list of derived statuses.
12001
+ * @param {string} [fromDate] Filter requests created on or after this ISO date (inclusive).
12002
+ * @param {string} [tillDate] Filter requests created strictly before this ISO date (exclusive).
12003
+ * @param {number} [take] How many rows the endpoint should return
12004
+ * @param {number} [skip] How many rows to skip (for pagination)
12005
+ * @param {*} [options] Override http request option.
12006
+ * @throws {RequiredError}
12007
+ */
12008
+ getAllPaymentRequests: (forId?: number, createdById?: number, status?: GetAllPaymentRequestsStatusEnum, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12009
+ /**
12010
+ *
12011
+ * @summary Fetch a single PaymentRequest by id.
12012
+ * @param {string} id UUID v4 of the payment request.
12013
+ * @param {*} [options] Override http request option.
12014
+ * @throws {RequiredError}
12015
+ */
12016
+ getSinglePaymentRequest: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12017
+ /**
12018
+ *
12019
+ * @summary Admin escape hatch: mark a PaymentRequest paid out-of-band (e.g. bank transfer). Creates a void->user credit Transfer manually.
12020
+ * @param {string} id UUID v4 of the payment request.
12021
+ * @param {MarkFulfilledExternallyRequest} markFulfilledExternallyRequest The audit reason
12022
+ * @param {*} [options] Override http request option.
12023
+ * @throws {RequiredError}
12024
+ */
12025
+ markPaymentRequestFulfilledExternally: (id: string, markFulfilledExternallyRequest: MarkFulfilledExternallyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12026
+ /**
12027
+ *
12028
+ * @summary Start a Stripe payment session for the given PaymentRequest while authenticated.
12029
+ * @param {string} id UUID v4 of the payment request.
12030
+ * @param {*} [options] Override http request option.
12031
+ * @throws {RequiredError}
12032
+ */
12033
+ startPaymentRequestAuthenticated: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12034
+ };
12035
+ /**
12036
+ * PaymentRequestsApi - functional programming interface
12037
+ * @export
12038
+ */
12039
+ export declare const PaymentRequestsApiFp: (configuration?: Configuration) => {
12040
+ /**
12041
+ *
12042
+ * @summary Cancel a PENDING PaymentRequest.
12043
+ * @param {string} id UUID v4 of the payment request.
12044
+ * @param {*} [options] Override http request option.
12045
+ * @throws {RequiredError}
12046
+ */
12047
+ cancelPaymentRequest(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BasePaymentRequestResponse>>;
12048
+ /**
12049
+ *
12050
+ * @summary Create a new PaymentRequest.
12051
+ * @param {CreatePaymentRequestRequest} createPaymentRequestRequest The request to create
12052
+ * @param {*} [options] Override http request option.
12053
+ * @throws {RequiredError}
12054
+ */
12055
+ createPaymentRequest(createPaymentRequestRequest: CreatePaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BasePaymentRequestResponse>>;
12056
+ /**
12057
+ *
12058
+ * @summary List PaymentRequests (paginated, with filtering by beneficiary, creator, and status)
12059
+ * @param {number} [forId] Filter by beneficiary user id.
12060
+ * @param {number} [createdById] Filter by creator user id.
12061
+ * @param {GetAllPaymentRequestsStatusEnum} [status] Comma-separated list of derived statuses.
12062
+ * @param {string} [fromDate] Filter requests created on or after this ISO date (inclusive).
12063
+ * @param {string} [tillDate] Filter requests created strictly before this ISO date (exclusive).
12064
+ * @param {number} [take] How many rows the endpoint should return
12065
+ * @param {number} [skip] How many rows to skip (for pagination)
12066
+ * @param {*} [options] Override http request option.
12067
+ * @throws {RequiredError}
12068
+ */
12069
+ getAllPaymentRequests(forId?: number, createdById?: number, status?: GetAllPaymentRequestsStatusEnum, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedBasePaymentRequestResponse>>;
12070
+ /**
12071
+ *
12072
+ * @summary Fetch a single PaymentRequest by id.
12073
+ * @param {string} id UUID v4 of the payment request.
12074
+ * @param {*} [options] Override http request option.
12075
+ * @throws {RequiredError}
12076
+ */
12077
+ getSinglePaymentRequest(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BasePaymentRequestResponse>>;
12078
+ /**
12079
+ *
12080
+ * @summary Admin escape hatch: mark a PaymentRequest paid out-of-band (e.g. bank transfer). Creates a void->user credit Transfer manually.
12081
+ * @param {string} id UUID v4 of the payment request.
12082
+ * @param {MarkFulfilledExternallyRequest} markFulfilledExternallyRequest The audit reason
12083
+ * @param {*} [options] Override http request option.
12084
+ * @throws {RequiredError}
12085
+ */
12086
+ markPaymentRequestFulfilledExternally(id: string, markFulfilledExternallyRequest: MarkFulfilledExternallyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BasePaymentRequestResponse>>;
12087
+ /**
12088
+ *
12089
+ * @summary Start a Stripe payment session for the given PaymentRequest while authenticated.
12090
+ * @param {string} id UUID v4 of the payment request.
12091
+ * @param {*} [options] Override http request option.
12092
+ * @throws {RequiredError}
12093
+ */
12094
+ startPaymentRequestAuthenticated(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentRequestStartResponse>>;
12095
+ };
12096
+ /**
12097
+ * PaymentRequestsApi - factory interface
12098
+ * @export
12099
+ */
12100
+ export declare const PaymentRequestsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12101
+ /**
12102
+ *
12103
+ * @summary Cancel a PENDING PaymentRequest.
12104
+ * @param {PaymentRequestsApiCancelPaymentRequestRequest} requestParameters Request parameters.
12105
+ * @param {*} [options] Override http request option.
12106
+ * @throws {RequiredError}
12107
+ */
12108
+ cancelPaymentRequest(requestParameters: PaymentRequestsApiCancelPaymentRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<BasePaymentRequestResponse>;
12109
+ /**
12110
+ *
12111
+ * @summary Create a new PaymentRequest.
12112
+ * @param {PaymentRequestsApiCreatePaymentRequestRequest} requestParameters Request parameters.
12113
+ * @param {*} [options] Override http request option.
12114
+ * @throws {RequiredError}
12115
+ */
12116
+ createPaymentRequest(requestParameters: PaymentRequestsApiCreatePaymentRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<BasePaymentRequestResponse>;
12117
+ /**
12118
+ *
12119
+ * @summary List PaymentRequests (paginated, with filtering by beneficiary, creator, and status)
12120
+ * @param {PaymentRequestsApiGetAllPaymentRequestsRequest} requestParameters Request parameters.
12121
+ * @param {*} [options] Override http request option.
12122
+ * @throws {RequiredError}
12123
+ */
12124
+ getAllPaymentRequests(requestParameters?: PaymentRequestsApiGetAllPaymentRequestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedBasePaymentRequestResponse>;
12125
+ /**
12126
+ *
12127
+ * @summary Fetch a single PaymentRequest by id.
12128
+ * @param {PaymentRequestsApiGetSinglePaymentRequestRequest} requestParameters Request parameters.
12129
+ * @param {*} [options] Override http request option.
12130
+ * @throws {RequiredError}
12131
+ */
12132
+ getSinglePaymentRequest(requestParameters: PaymentRequestsApiGetSinglePaymentRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<BasePaymentRequestResponse>;
12133
+ /**
12134
+ *
12135
+ * @summary Admin escape hatch: mark a PaymentRequest paid out-of-band (e.g. bank transfer). Creates a void->user credit Transfer manually.
12136
+ * @param {PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest} requestParameters Request parameters.
12137
+ * @param {*} [options] Override http request option.
12138
+ * @throws {RequiredError}
12139
+ */
12140
+ markPaymentRequestFulfilledExternally(requestParameters: PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest, options?: RawAxiosRequestConfig): AxiosPromise<BasePaymentRequestResponse>;
12141
+ /**
12142
+ *
12143
+ * @summary Start a Stripe payment session for the given PaymentRequest while authenticated.
12144
+ * @param {PaymentRequestsApiStartPaymentRequestAuthenticatedRequest} requestParameters Request parameters.
12145
+ * @param {*} [options] Override http request option.
12146
+ * @throws {RequiredError}
12147
+ */
12148
+ startPaymentRequestAuthenticated(requestParameters: PaymentRequestsApiStartPaymentRequestAuthenticatedRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentRequestStartResponse>;
12149
+ };
12150
+ /**
12151
+ * Request parameters for cancelPaymentRequest operation in PaymentRequestsApi.
12152
+ * @export
12153
+ * @interface PaymentRequestsApiCancelPaymentRequestRequest
12154
+ */
12155
+ export interface PaymentRequestsApiCancelPaymentRequestRequest {
12156
+ /**
12157
+ * UUID v4 of the payment request.
12158
+ * @type {string}
12159
+ * @memberof PaymentRequestsApiCancelPaymentRequest
12160
+ */
12161
+ readonly id: string;
12162
+ }
12163
+ /**
12164
+ * Request parameters for createPaymentRequest operation in PaymentRequestsApi.
12165
+ * @export
12166
+ * @interface PaymentRequestsApiCreatePaymentRequestRequest
12167
+ */
12168
+ export interface PaymentRequestsApiCreatePaymentRequestRequest {
12169
+ /**
12170
+ * The request to create
12171
+ * @type {CreatePaymentRequestRequest}
12172
+ * @memberof PaymentRequestsApiCreatePaymentRequest
12173
+ */
12174
+ readonly createPaymentRequestRequest: CreatePaymentRequestRequest;
12175
+ }
12176
+ /**
12177
+ * Request parameters for getAllPaymentRequests operation in PaymentRequestsApi.
12178
+ * @export
12179
+ * @interface PaymentRequestsApiGetAllPaymentRequestsRequest
12180
+ */
12181
+ export interface PaymentRequestsApiGetAllPaymentRequestsRequest {
12182
+ /**
12183
+ * Filter by beneficiary user id.
12184
+ * @type {number}
12185
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12186
+ */
12187
+ readonly forId?: number;
12188
+ /**
12189
+ * Filter by creator user id.
12190
+ * @type {number}
12191
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12192
+ */
12193
+ readonly createdById?: number;
12194
+ /**
12195
+ * Comma-separated list of derived statuses.
12196
+ * @type {'PENDING' | 'PAID' | 'EXPIRED' | 'CANCELLED'}
12197
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12198
+ */
12199
+ readonly status?: GetAllPaymentRequestsStatusEnum;
12200
+ /**
12201
+ * Filter requests created on or after this ISO date (inclusive).
12202
+ * @type {string}
12203
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12204
+ */
12205
+ readonly fromDate?: string;
12206
+ /**
12207
+ * Filter requests created strictly before this ISO date (exclusive).
12208
+ * @type {string}
12209
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12210
+ */
12211
+ readonly tillDate?: string;
12212
+ /**
12213
+ * How many rows the endpoint should return
12214
+ * @type {number}
12215
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12216
+ */
12217
+ readonly take?: number;
12218
+ /**
12219
+ * How many rows to skip (for pagination)
12220
+ * @type {number}
12221
+ * @memberof PaymentRequestsApiGetAllPaymentRequests
12222
+ */
12223
+ readonly skip?: number;
12224
+ }
12225
+ /**
12226
+ * Request parameters for getSinglePaymentRequest operation in PaymentRequestsApi.
12227
+ * @export
12228
+ * @interface PaymentRequestsApiGetSinglePaymentRequestRequest
12229
+ */
12230
+ export interface PaymentRequestsApiGetSinglePaymentRequestRequest {
12231
+ /**
12232
+ * UUID v4 of the payment request.
12233
+ * @type {string}
12234
+ * @memberof PaymentRequestsApiGetSinglePaymentRequest
12235
+ */
12236
+ readonly id: string;
12237
+ }
12238
+ /**
12239
+ * Request parameters for markPaymentRequestFulfilledExternally operation in PaymentRequestsApi.
12240
+ * @export
12241
+ * @interface PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest
12242
+ */
12243
+ export interface PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest {
12244
+ /**
12245
+ * UUID v4 of the payment request.
12246
+ * @type {string}
12247
+ * @memberof PaymentRequestsApiMarkPaymentRequestFulfilledExternally
12248
+ */
12249
+ readonly id: string;
12250
+ /**
12251
+ * The audit reason
12252
+ * @type {MarkFulfilledExternallyRequest}
12253
+ * @memberof PaymentRequestsApiMarkPaymentRequestFulfilledExternally
12254
+ */
12255
+ readonly markFulfilledExternallyRequest: MarkFulfilledExternallyRequest;
12256
+ }
12257
+ /**
12258
+ * Request parameters for startPaymentRequestAuthenticated operation in PaymentRequestsApi.
12259
+ * @export
12260
+ * @interface PaymentRequestsApiStartPaymentRequestAuthenticatedRequest
12261
+ */
12262
+ export interface PaymentRequestsApiStartPaymentRequestAuthenticatedRequest {
12263
+ /**
12264
+ * UUID v4 of the payment request.
12265
+ * @type {string}
12266
+ * @memberof PaymentRequestsApiStartPaymentRequestAuthenticated
12267
+ */
12268
+ readonly id: string;
12269
+ }
12270
+ /**
12271
+ * PaymentRequestsApi - object-oriented interface
12272
+ * @export
12273
+ * @class PaymentRequestsApi
12274
+ * @extends {BaseAPI}
12275
+ */
12276
+ export declare class PaymentRequestsApi extends BaseAPI {
12277
+ /**
12278
+ *
12279
+ * @summary Cancel a PENDING PaymentRequest.
12280
+ * @param {PaymentRequestsApiCancelPaymentRequestRequest} requestParameters Request parameters.
12281
+ * @param {*} [options] Override http request option.
12282
+ * @throws {RequiredError}
12283
+ * @memberof PaymentRequestsApi
12284
+ */
12285
+ cancelPaymentRequest(requestParameters: PaymentRequestsApiCancelPaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BasePaymentRequestResponse, any, {}>>;
12286
+ /**
12287
+ *
12288
+ * @summary Create a new PaymentRequest.
12289
+ * @param {PaymentRequestsApiCreatePaymentRequestRequest} requestParameters Request parameters.
12290
+ * @param {*} [options] Override http request option.
12291
+ * @throws {RequiredError}
12292
+ * @memberof PaymentRequestsApi
12293
+ */
12294
+ createPaymentRequest(requestParameters: PaymentRequestsApiCreatePaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BasePaymentRequestResponse, any, {}>>;
12295
+ /**
12296
+ *
12297
+ * @summary List PaymentRequests (paginated, with filtering by beneficiary, creator, and status)
12298
+ * @param {PaymentRequestsApiGetAllPaymentRequestsRequest} requestParameters Request parameters.
12299
+ * @param {*} [options] Override http request option.
12300
+ * @throws {RequiredError}
12301
+ * @memberof PaymentRequestsApi
12302
+ */
12303
+ getAllPaymentRequests(requestParameters?: PaymentRequestsApiGetAllPaymentRequestsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedBasePaymentRequestResponse, any, {}>>;
12304
+ /**
12305
+ *
12306
+ * @summary Fetch a single PaymentRequest by id.
12307
+ * @param {PaymentRequestsApiGetSinglePaymentRequestRequest} requestParameters Request parameters.
12308
+ * @param {*} [options] Override http request option.
12309
+ * @throws {RequiredError}
12310
+ * @memberof PaymentRequestsApi
12311
+ */
12312
+ getSinglePaymentRequest(requestParameters: PaymentRequestsApiGetSinglePaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BasePaymentRequestResponse, any, {}>>;
12313
+ /**
12314
+ *
12315
+ * @summary Admin escape hatch: mark a PaymentRequest paid out-of-band (e.g. bank transfer). Creates a void->user credit Transfer manually.
12316
+ * @param {PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest} requestParameters Request parameters.
12317
+ * @param {*} [options] Override http request option.
12318
+ * @throws {RequiredError}
12319
+ * @memberof PaymentRequestsApi
12320
+ */
12321
+ markPaymentRequestFulfilledExternally(requestParameters: PaymentRequestsApiMarkPaymentRequestFulfilledExternallyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BasePaymentRequestResponse, any, {}>>;
12322
+ /**
12323
+ *
12324
+ * @summary Start a Stripe payment session for the given PaymentRequest while authenticated.
12325
+ * @param {PaymentRequestsApiStartPaymentRequestAuthenticatedRequest} requestParameters Request parameters.
12326
+ * @param {*} [options] Override http request option.
12327
+ * @throws {RequiredError}
12328
+ * @memberof PaymentRequestsApi
12329
+ */
12330
+ startPaymentRequestAuthenticated(requestParameters: PaymentRequestsApiStartPaymentRequestAuthenticatedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentRequestStartResponse, any, {}>>;
12331
+ }
12332
+ /**
12333
+ * @export
12334
+ */
12335
+ export declare const GetAllPaymentRequestsStatusEnum: {
12336
+ readonly Pending: "PENDING";
12337
+ readonly Paid: "PAID";
12338
+ readonly Expired: "EXPIRED";
12339
+ readonly Cancelled: "CANCELLED";
12340
+ };
12341
+ export type GetAllPaymentRequestsStatusEnum = typeof GetAllPaymentRequestsStatusEnum[keyof typeof GetAllPaymentRequestsStatusEnum];
12342
+ /**
12343
+ * PaymentRequestsPublicApi - axios parameter creator
12344
+ * @export
12345
+ */
12346
+ export declare const PaymentRequestsPublicApiAxiosParamCreator: (configuration?: Configuration) => {
12347
+ /**
12348
+ *
12349
+ * @summary Fetch a PaymentRequest via the public share link. Returns a trimmed response that omits internal audit fields.
12350
+ * @param {string} id UUID v4 of the payment request.
12351
+ * @param {*} [options] Override http request option.
12352
+ * @throws {RequiredError}
12353
+ */
12354
+ getPublicPaymentRequest: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12355
+ /**
12356
+ *
12357
+ * @summary Start a Stripe payment session for the given PaymentRequest without authentication — the share link IS the credential.
12358
+ * @param {string} id UUID v4 of the payment request.
12359
+ * @param {*} [options] Override http request option.
12360
+ * @throws {RequiredError}
12361
+ */
12362
+ startPaymentRequestPublic: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12363
+ };
12364
+ /**
12365
+ * PaymentRequestsPublicApi - functional programming interface
12366
+ * @export
12367
+ */
12368
+ export declare const PaymentRequestsPublicApiFp: (configuration?: Configuration) => {
12369
+ /**
12370
+ *
12371
+ * @summary Fetch a PaymentRequest via the public share link. Returns a trimmed response that omits internal audit fields.
12372
+ * @param {string} id UUID v4 of the payment request.
12373
+ * @param {*} [options] Override http request option.
12374
+ * @throws {RequiredError}
12375
+ */
12376
+ getPublicPaymentRequest(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicPaymentRequestResponse>>;
12377
+ /**
12378
+ *
12379
+ * @summary Start a Stripe payment session for the given PaymentRequest without authentication — the share link IS the credential.
12380
+ * @param {string} id UUID v4 of the payment request.
12381
+ * @param {*} [options] Override http request option.
12382
+ * @throws {RequiredError}
12383
+ */
12384
+ startPaymentRequestPublic(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentRequestStartResponse>>;
12385
+ };
12386
+ /**
12387
+ * PaymentRequestsPublicApi - factory interface
12388
+ * @export
12389
+ */
12390
+ export declare const PaymentRequestsPublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12391
+ /**
12392
+ *
12393
+ * @summary Fetch a PaymentRequest via the public share link. Returns a trimmed response that omits internal audit fields.
12394
+ * @param {PaymentRequestsPublicApiGetPublicPaymentRequestRequest} requestParameters Request parameters.
12395
+ * @param {*} [options] Override http request option.
12396
+ * @throws {RequiredError}
12397
+ */
12398
+ getPublicPaymentRequest(requestParameters: PaymentRequestsPublicApiGetPublicPaymentRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublicPaymentRequestResponse>;
12399
+ /**
12400
+ *
12401
+ * @summary Start a Stripe payment session for the given PaymentRequest without authentication — the share link IS the credential.
12402
+ * @param {PaymentRequestsPublicApiStartPaymentRequestPublicRequest} requestParameters Request parameters.
12403
+ * @param {*} [options] Override http request option.
12404
+ * @throws {RequiredError}
12405
+ */
12406
+ startPaymentRequestPublic(requestParameters: PaymentRequestsPublicApiStartPaymentRequestPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentRequestStartResponse>;
12407
+ };
12408
+ /**
12409
+ * Request parameters for getPublicPaymentRequest operation in PaymentRequestsPublicApi.
12410
+ * @export
12411
+ * @interface PaymentRequestsPublicApiGetPublicPaymentRequestRequest
12412
+ */
12413
+ export interface PaymentRequestsPublicApiGetPublicPaymentRequestRequest {
12414
+ /**
12415
+ * UUID v4 of the payment request.
12416
+ * @type {string}
12417
+ * @memberof PaymentRequestsPublicApiGetPublicPaymentRequest
12418
+ */
12419
+ readonly id: string;
12420
+ }
12421
+ /**
12422
+ * Request parameters for startPaymentRequestPublic operation in PaymentRequestsPublicApi.
12423
+ * @export
12424
+ * @interface PaymentRequestsPublicApiStartPaymentRequestPublicRequest
12425
+ */
12426
+ export interface PaymentRequestsPublicApiStartPaymentRequestPublicRequest {
12427
+ /**
12428
+ * UUID v4 of the payment request.
12429
+ * @type {string}
12430
+ * @memberof PaymentRequestsPublicApiStartPaymentRequestPublic
12431
+ */
12432
+ readonly id: string;
12433
+ }
12434
+ /**
12435
+ * PaymentRequestsPublicApi - object-oriented interface
12436
+ * @export
12437
+ * @class PaymentRequestsPublicApi
12438
+ * @extends {BaseAPI}
12439
+ */
12440
+ export declare class PaymentRequestsPublicApi extends BaseAPI {
12441
+ /**
12442
+ *
12443
+ * @summary Fetch a PaymentRequest via the public share link. Returns a trimmed response that omits internal audit fields.
12444
+ * @param {PaymentRequestsPublicApiGetPublicPaymentRequestRequest} requestParameters Request parameters.
12445
+ * @param {*} [options] Override http request option.
12446
+ * @throws {RequiredError}
12447
+ * @memberof PaymentRequestsPublicApi
12448
+ */
12449
+ getPublicPaymentRequest(requestParameters: PaymentRequestsPublicApiGetPublicPaymentRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicPaymentRequestResponse, any, {}>>;
12450
+ /**
12451
+ *
12452
+ * @summary Start a Stripe payment session for the given PaymentRequest without authentication — the share link IS the credential.
12453
+ * @param {PaymentRequestsPublicApiStartPaymentRequestPublicRequest} requestParameters Request parameters.
12454
+ * @param {*} [options] Override http request option.
12455
+ * @throws {RequiredError}
12456
+ * @memberof PaymentRequestsPublicApi
12457
+ */
12458
+ startPaymentRequestPublic(requestParameters: PaymentRequestsPublicApiStartPaymentRequestPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentRequestStartResponse, any, {}>>;
12459
+ }
11504
12460
  /**
11505
12461
  * PayoutRequestsApi - axios parameter creator
11506
12462
  * @export
@@ -13966,6 +14922,13 @@ export declare const StripeApiAxiosParamCreator: (configuration?: Configuration)
13966
14922
  * @throws {RequiredError}
13967
14923
  */
13968
14924
  getStripePublicKey: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14925
+ /**
14926
+ *
14927
+ * @summary Webhook for Stripe event updates
14928
+ * @param {*} [options] Override http request option.
14929
+ * @throws {RequiredError}
14930
+ */
14931
+ webhook: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13969
14932
  };
13970
14933
  /**
13971
14934
  * StripeApi - functional programming interface
@@ -13987,6 +14950,13 @@ export declare const StripeApiFp: (configuration?: Configuration) => {
13987
14950
  * @throws {RequiredError}
13988
14951
  */
13989
14952
  getStripePublicKey(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
14953
+ /**
14954
+ *
14955
+ * @summary Webhook for Stripe event updates
14956
+ * @param {*} [options] Override http request option.
14957
+ * @throws {RequiredError}
14958
+ */
14959
+ webhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
13990
14960
  };
13991
14961
  /**
13992
14962
  * StripeApi - factory interface
@@ -14008,6 +14978,13 @@ export declare const StripeApiFactory: (configuration?: Configuration, basePath?
14008
14978
  * @throws {RequiredError}
14009
14979
  */
14010
14980
  getStripePublicKey(options?: RawAxiosRequestConfig): AxiosPromise<string>;
14981
+ /**
14982
+ *
14983
+ * @summary Webhook for Stripe event updates
14984
+ * @param {*} [options] Override http request option.
14985
+ * @throws {RequiredError}
14986
+ */
14987
+ webhook(options?: RawAxiosRequestConfig): AxiosPromise<void>;
14011
14988
  };
14012
14989
  /**
14013
14990
  * Request parameters for deposit operation in StripeApi.
@@ -14046,6 +15023,14 @@ export declare class StripeApi extends BaseAPI {
14046
15023
  * @memberof StripeApi
14047
15024
  */
14048
15025
  getStripePublicKey(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
15026
+ /**
15027
+ *
15028
+ * @summary Webhook for Stripe event updates
15029
+ * @param {*} [options] Override http request option.
15030
+ * @throws {RequiredError}
15031
+ * @memberof StripeApi
15032
+ */
15033
+ webhook(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
14049
15034
  }
14050
15035
  /**
14051
15036
  * SyncApi - axios parameter creator
@@ -14127,6 +15112,253 @@ export declare const GetUserSyncResultsServiceEnum: {
14127
15112
  readonly Gewisdb: "GEWISDB";
14128
15113
  };
14129
15114
  export type GetUserSyncResultsServiceEnum = typeof GetUserSyncResultsServiceEnum[keyof typeof GetUserSyncResultsServiceEnum];
15115
+ /**
15116
+ * TerminalPaymentsApi - axios parameter creator
15117
+ * @export
15118
+ */
15119
+ export declare const TerminalPaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
15120
+ /**
15121
+ *
15122
+ * @summary Cancel a Terminal Payment that is created/processing
15123
+ * @param {number} id The ID of the terminal payment
15124
+ * @param {*} [options] Override http request option.
15125
+ * @throws {RequiredError}
15126
+ */
15127
+ cancelTerminalPayment: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15128
+ /**
15129
+ *
15130
+ * @summary Create a terminal payment before executing.
15131
+ * @param {CreateTerminalPaymentRequest} createTerminalPaymentRequest The terminal payment that should be created.
15132
+ * @param {*} [options] Override http request option.
15133
+ * @throws {RequiredError}
15134
+ */
15135
+ createTerminalPayment: (createTerminalPaymentRequest: CreateTerminalPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15136
+ /**
15137
+ *
15138
+ * @summary Get single terminal payment by ID
15139
+ * @param {number} id The ID of the terminal payment
15140
+ * @param {*} [options] Override http request option.
15141
+ * @throws {RequiredError}
15142
+ */
15143
+ getSingleTerminalPayment: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15144
+ /**
15145
+ *
15146
+ * @summary Get all Stripe terminals
15147
+ * @param {*} [options] Override http request option.
15148
+ * @throws {RequiredError}
15149
+ */
15150
+ getStripeTerminals: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15151
+ /**
15152
+ *
15153
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15154
+ * @param {number} id The ID of the terminal payment
15155
+ * @param {ProcessTerminalPaymentRequest} processTerminalPaymentRequest Payment options
15156
+ * @param {*} [options] Override http request option.
15157
+ * @throws {RequiredError}
15158
+ */
15159
+ startTerminalPayment: (id: number, processTerminalPaymentRequest: ProcessTerminalPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15160
+ };
15161
+ /**
15162
+ * TerminalPaymentsApi - functional programming interface
15163
+ * @export
15164
+ */
15165
+ export declare const TerminalPaymentsApiFp: (configuration?: Configuration) => {
15166
+ /**
15167
+ *
15168
+ * @summary Cancel a Terminal Payment that is created/processing
15169
+ * @param {number} id The ID of the terminal payment
15170
+ * @param {*} [options] Override http request option.
15171
+ * @throws {RequiredError}
15172
+ */
15173
+ cancelTerminalPayment(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentResponse>>;
15174
+ /**
15175
+ *
15176
+ * @summary Create a terminal payment before executing.
15177
+ * @param {CreateTerminalPaymentRequest} createTerminalPaymentRequest The terminal payment that should be created.
15178
+ * @param {*} [options] Override http request option.
15179
+ * @throws {RequiredError}
15180
+ */
15181
+ createTerminalPayment(createTerminalPaymentRequest: CreateTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentResponse>>;
15182
+ /**
15183
+ *
15184
+ * @summary Get single terminal payment by ID
15185
+ * @param {number} id The ID of the terminal payment
15186
+ * @param {*} [options] Override http request option.
15187
+ * @throws {RequiredError}
15188
+ */
15189
+ getSingleTerminalPayment(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentResponse>>;
15190
+ /**
15191
+ *
15192
+ * @summary Get all Stripe terminals
15193
+ * @param {*} [options] Override http request option.
15194
+ * @throws {RequiredError}
15195
+ */
15196
+ getStripeTerminals(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StripePaymentTerminalResponse>>>;
15197
+ /**
15198
+ *
15199
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15200
+ * @param {number} id The ID of the terminal payment
15201
+ * @param {ProcessTerminalPaymentRequest} processTerminalPaymentRequest Payment options
15202
+ * @param {*} [options] Override http request option.
15203
+ * @throws {RequiredError}
15204
+ */
15205
+ startTerminalPayment(id: number, processTerminalPaymentRequest: ProcessTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
15206
+ };
15207
+ /**
15208
+ * TerminalPaymentsApi - factory interface
15209
+ * @export
15210
+ */
15211
+ export declare const TerminalPaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15212
+ /**
15213
+ *
15214
+ * @summary Cancel a Terminal Payment that is created/processing
15215
+ * @param {TerminalPaymentsApiCancelTerminalPaymentRequest} requestParameters Request parameters.
15216
+ * @param {*} [options] Override http request option.
15217
+ * @throws {RequiredError}
15218
+ */
15219
+ cancelTerminalPayment(requestParameters: TerminalPaymentsApiCancelTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerminalPaymentResponse>;
15220
+ /**
15221
+ *
15222
+ * @summary Create a terminal payment before executing.
15223
+ * @param {TerminalPaymentsApiCreateTerminalPaymentRequest} requestParameters Request parameters.
15224
+ * @param {*} [options] Override http request option.
15225
+ * @throws {RequiredError}
15226
+ */
15227
+ createTerminalPayment(requestParameters: TerminalPaymentsApiCreateTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerminalPaymentResponse>;
15228
+ /**
15229
+ *
15230
+ * @summary Get single terminal payment by ID
15231
+ * @param {TerminalPaymentsApiGetSingleTerminalPaymentRequest} requestParameters Request parameters.
15232
+ * @param {*} [options] Override http request option.
15233
+ * @throws {RequiredError}
15234
+ */
15235
+ getSingleTerminalPayment(requestParameters: TerminalPaymentsApiGetSingleTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerminalPaymentResponse>;
15236
+ /**
15237
+ *
15238
+ * @summary Get all Stripe terminals
15239
+ * @param {*} [options] Override http request option.
15240
+ * @throws {RequiredError}
15241
+ */
15242
+ getStripeTerminals(options?: RawAxiosRequestConfig): AxiosPromise<Array<StripePaymentTerminalResponse>>;
15243
+ /**
15244
+ *
15245
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15246
+ * @param {TerminalPaymentsApiStartTerminalPaymentRequest} requestParameters Request parameters.
15247
+ * @param {*} [options] Override http request option.
15248
+ * @throws {RequiredError}
15249
+ */
15250
+ startTerminalPayment(requestParameters: TerminalPaymentsApiStartTerminalPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15251
+ };
15252
+ /**
15253
+ * Request parameters for cancelTerminalPayment operation in TerminalPaymentsApi.
15254
+ * @export
15255
+ * @interface TerminalPaymentsApiCancelTerminalPaymentRequest
15256
+ */
15257
+ export interface TerminalPaymentsApiCancelTerminalPaymentRequest {
15258
+ /**
15259
+ * The ID of the terminal payment
15260
+ * @type {number}
15261
+ * @memberof TerminalPaymentsApiCancelTerminalPayment
15262
+ */
15263
+ readonly id: number;
15264
+ }
15265
+ /**
15266
+ * Request parameters for createTerminalPayment operation in TerminalPaymentsApi.
15267
+ * @export
15268
+ * @interface TerminalPaymentsApiCreateTerminalPaymentRequest
15269
+ */
15270
+ export interface TerminalPaymentsApiCreateTerminalPaymentRequest {
15271
+ /**
15272
+ * The terminal payment that should be created.
15273
+ * @type {CreateTerminalPaymentRequest}
15274
+ * @memberof TerminalPaymentsApiCreateTerminalPayment
15275
+ */
15276
+ readonly createTerminalPaymentRequest: CreateTerminalPaymentRequest;
15277
+ }
15278
+ /**
15279
+ * Request parameters for getSingleTerminalPayment operation in TerminalPaymentsApi.
15280
+ * @export
15281
+ * @interface TerminalPaymentsApiGetSingleTerminalPaymentRequest
15282
+ */
15283
+ export interface TerminalPaymentsApiGetSingleTerminalPaymentRequest {
15284
+ /**
15285
+ * The ID of the terminal payment
15286
+ * @type {number}
15287
+ * @memberof TerminalPaymentsApiGetSingleTerminalPayment
15288
+ */
15289
+ readonly id: number;
15290
+ }
15291
+ /**
15292
+ * Request parameters for startTerminalPayment operation in TerminalPaymentsApi.
15293
+ * @export
15294
+ * @interface TerminalPaymentsApiStartTerminalPaymentRequest
15295
+ */
15296
+ export interface TerminalPaymentsApiStartTerminalPaymentRequest {
15297
+ /**
15298
+ * The ID of the terminal payment
15299
+ * @type {number}
15300
+ * @memberof TerminalPaymentsApiStartTerminalPayment
15301
+ */
15302
+ readonly id: number;
15303
+ /**
15304
+ * Payment options
15305
+ * @type {ProcessTerminalPaymentRequest}
15306
+ * @memberof TerminalPaymentsApiStartTerminalPayment
15307
+ */
15308
+ readonly processTerminalPaymentRequest: ProcessTerminalPaymentRequest;
15309
+ }
15310
+ /**
15311
+ * TerminalPaymentsApi - object-oriented interface
15312
+ * @export
15313
+ * @class TerminalPaymentsApi
15314
+ * @extends {BaseAPI}
15315
+ */
15316
+ export declare class TerminalPaymentsApi extends BaseAPI {
15317
+ /**
15318
+ *
15319
+ * @summary Cancel a Terminal Payment that is created/processing
15320
+ * @param {TerminalPaymentsApiCancelTerminalPaymentRequest} requestParameters Request parameters.
15321
+ * @param {*} [options] Override http request option.
15322
+ * @throws {RequiredError}
15323
+ * @memberof TerminalPaymentsApi
15324
+ */
15325
+ cancelTerminalPayment(requestParameters: TerminalPaymentsApiCancelTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminalPaymentResponse, any, {}>>;
15326
+ /**
15327
+ *
15328
+ * @summary Create a terminal payment before executing.
15329
+ * @param {TerminalPaymentsApiCreateTerminalPaymentRequest} requestParameters Request parameters.
15330
+ * @param {*} [options] Override http request option.
15331
+ * @throws {RequiredError}
15332
+ * @memberof TerminalPaymentsApi
15333
+ */
15334
+ createTerminalPayment(requestParameters: TerminalPaymentsApiCreateTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminalPaymentResponse, any, {}>>;
15335
+ /**
15336
+ *
15337
+ * @summary Get single terminal payment by ID
15338
+ * @param {TerminalPaymentsApiGetSingleTerminalPaymentRequest} requestParameters Request parameters.
15339
+ * @param {*} [options] Override http request option.
15340
+ * @throws {RequiredError}
15341
+ * @memberof TerminalPaymentsApi
15342
+ */
15343
+ getSingleTerminalPayment(requestParameters: TerminalPaymentsApiGetSingleTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminalPaymentResponse, any, {}>>;
15344
+ /**
15345
+ *
15346
+ * @summary Get all Stripe terminals
15347
+ * @param {*} [options] Override http request option.
15348
+ * @throws {RequiredError}
15349
+ * @memberof TerminalPaymentsApi
15350
+ */
15351
+ getStripeTerminals(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StripePaymentTerminalResponse[], any, {}>>;
15352
+ /**
15353
+ *
15354
+ * @summary Start the payment process on the terminal for the TerminalPayment with the given ID
15355
+ * @param {TerminalPaymentsApiStartTerminalPaymentRequest} requestParameters Request parameters.
15356
+ * @param {*} [options] Override http request option.
15357
+ * @throws {RequiredError}
15358
+ * @memberof TerminalPaymentsApi
15359
+ */
15360
+ startTerminalPayment(requestParameters: TerminalPaymentsApiStartTerminalPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15361
+ }
14130
15362
  /**
14131
15363
  * TermsOfServiceApi - axios parameter creator
14132
15364
  * @export
@@ -15512,7 +16744,7 @@ export declare class UserNotificationPreferencesApi extends BaseAPI {
15512
16744
  export declare const UsersApiAxiosParamCreator: (configuration?: Configuration) => {
15513
16745
  /**
15514
16746
  *
15515
- * @summary Accept the Terms of Service if you have not accepted it yet
16747
+ * @summary Accept the current Terms of Service version
15516
16748
  * @param {AcceptTosRequest} acceptTosRequest \&quot;Tosrequest body\&quot;
15517
16749
  * @param {*} [options] Override http request option.
15518
16750
  * @throws {RequiredError}
@@ -15642,6 +16874,14 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
15642
16874
  * @throws {RequiredError}
15643
16875
  */
15644
16876
  getUserSettings: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16877
+ /**
16878
+ *
16879
+ * @summary Get a user\'s terms of service status and acceptance history
16880
+ * @param {number} id The id of the user
16881
+ * @param {*} [options] Override http request option.
16882
+ * @throws {RequiredError}
16883
+ */
16884
+ getUserTos: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15645
16885
  /**
15646
16886
  *
15647
16887
  * @summary Returns the user\'s containers
@@ -15664,6 +16904,20 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
15664
16904
  * @throws {RequiredError}
15665
16905
  */
15666
16906
  getUsersFinancialMutations: (id: number, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16907
+ /**
16908
+ *
16909
+ * @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.
16910
+ * @param {number} id The id of the beneficiary user.
16911
+ * @param {number} [createdById] Filter by creator user id.
16912
+ * @param {GetUsersPaymentRequestsStatusEnum} [status] Comma-separated list of derived statuses.
16913
+ * @param {string} [fromDate] Filter requests created on or after this ISO date (inclusive).
16914
+ * @param {string} [tillDate] Filter requests created strictly before this ISO date (exclusive).
16915
+ * @param {number} [take] How many rows the endpoint should return
16916
+ * @param {number} [skip] How many rows to skip (for pagination)
16917
+ * @param {*} [options] Override http request option.
16918
+ * @throws {RequiredError}
16919
+ */
16920
+ getUsersPaymentRequests: (id: number, createdById?: number, status?: GetUsersPaymentRequestsStatusEnum, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15667
16921
  /**
15668
16922
  *
15669
16923
  * @summary Returns the user\'s Points of Sale
@@ -15874,7 +17128,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
15874
17128
  export declare const UsersApiFp: (configuration?: Configuration) => {
15875
17129
  /**
15876
17130
  *
15877
- * @summary Accept the Terms of Service if you have not accepted it yet
17131
+ * @summary Accept the current Terms of Service version
15878
17132
  * @param {AcceptTosRequest} acceptTosRequest \&quot;Tosrequest body\&quot;
15879
17133
  * @param {*} [options] Override http request option.
15880
17134
  * @throws {RequiredError}
@@ -16004,6 +17258,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
16004
17258
  * @throws {RequiredError}
16005
17259
  */
16006
17260
  getUserSettings(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserSettingsResponse>>;
17261
+ /**
17262
+ *
17263
+ * @summary Get a user\'s terms of service status and acceptance history
17264
+ * @param {number} id The id of the user
17265
+ * @param {*} [options] Override http request option.
17266
+ * @throws {RequiredError}
17267
+ */
17268
+ getUserTos(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserTosResponse>>;
16007
17269
  /**
16008
17270
  *
16009
17271
  * @summary Returns the user\'s containers
@@ -16026,6 +17288,20 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
16026
17288
  * @throws {RequiredError}
16027
17289
  */
16028
17290
  getUsersFinancialMutations(id: number, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedFinancialMutationResponse>>;
17291
+ /**
17292
+ *
17293
+ * @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.
17294
+ * @param {number} id The id of the beneficiary user.
17295
+ * @param {number} [createdById] Filter by creator user id.
17296
+ * @param {GetUsersPaymentRequestsStatusEnum} [status] Comma-separated list of derived statuses.
17297
+ * @param {string} [fromDate] Filter requests created on or after this ISO date (inclusive).
17298
+ * @param {string} [tillDate] Filter requests created strictly before this ISO date (exclusive).
17299
+ * @param {number} [take] How many rows the endpoint should return
17300
+ * @param {number} [skip] How many rows to skip (for pagination)
17301
+ * @param {*} [options] Override http request option.
17302
+ * @throws {RequiredError}
17303
+ */
17304
+ getUsersPaymentRequests(id: number, createdById?: number, status?: GetUsersPaymentRequestsStatusEnum, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedBasePaymentRequestResponse>>;
16029
17305
  /**
16030
17306
  *
16031
17307
  * @summary Returns the user\'s Points of Sale
@@ -16236,7 +17512,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
16236
17512
  export declare const UsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
16237
17513
  /**
16238
17514
  *
16239
- * @summary Accept the Terms of Service if you have not accepted it yet
17515
+ * @summary Accept the current Terms of Service version
16240
17516
  * @param {UsersApiAcceptTosRequest} requestParameters Request parameters.
16241
17517
  * @param {*} [options] Override http request option.
16242
17518
  * @throws {RequiredError}
@@ -16354,6 +17630,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
16354
17630
  * @throws {RequiredError}
16355
17631
  */
16356
17632
  getUserSettings(requestParameters: UsersApiGetUserSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserSettingsResponse>;
17633
+ /**
17634
+ *
17635
+ * @summary Get a user\'s terms of service status and acceptance history
17636
+ * @param {UsersApiGetUserTosRequest} requestParameters Request parameters.
17637
+ * @param {*} [options] Override http request option.
17638
+ * @throws {RequiredError}
17639
+ */
17640
+ getUserTos(requestParameters: UsersApiGetUserTosRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserTosResponse>;
16357
17641
  /**
16358
17642
  *
16359
17643
  * @summary Returns the user\'s containers
@@ -16370,6 +17654,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
16370
17654
  * @throws {RequiredError}
16371
17655
  */
16372
17656
  getUsersFinancialMutations(requestParameters: UsersApiGetUsersFinancialMutationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedFinancialMutationResponse>;
17657
+ /**
17658
+ *
17659
+ * @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.
17660
+ * @param {UsersApiGetUsersPaymentRequestsRequest} requestParameters Request parameters.
17661
+ * @param {*} [options] Override http request option.
17662
+ * @throws {RequiredError}
17663
+ */
17664
+ getUsersPaymentRequests(requestParameters: UsersApiGetUsersPaymentRequestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedBasePaymentRequestResponse>;
16373
17665
  /**
16374
17666
  *
16375
17667
  * @summary Returns the user\'s Points of Sale
@@ -16799,6 +18091,19 @@ export interface UsersApiGetUserSettingsRequest {
16799
18091
  */
16800
18092
  readonly id: number;
16801
18093
  }
18094
+ /**
18095
+ * Request parameters for getUserTos operation in UsersApi.
18096
+ * @export
18097
+ * @interface UsersApiGetUserTosRequest
18098
+ */
18099
+ export interface UsersApiGetUserTosRequest {
18100
+ /**
18101
+ * The id of the user
18102
+ * @type {number}
18103
+ * @memberof UsersApiGetUserTos
18104
+ */
18105
+ readonly id: number;
18106
+ }
16802
18107
  /**
16803
18108
  * Request parameters for getUsersContainers operation in UsersApi.
16804
18109
  * @export
@@ -16861,6 +18166,55 @@ export interface UsersApiGetUsersFinancialMutationsRequest {
16861
18166
  */
16862
18167
  readonly skip?: number;
16863
18168
  }
18169
+ /**
18170
+ * Request parameters for getUsersPaymentRequests operation in UsersApi.
18171
+ * @export
18172
+ * @interface UsersApiGetUsersPaymentRequestsRequest
18173
+ */
18174
+ export interface UsersApiGetUsersPaymentRequestsRequest {
18175
+ /**
18176
+ * The id of the beneficiary user.
18177
+ * @type {number}
18178
+ * @memberof UsersApiGetUsersPaymentRequests
18179
+ */
18180
+ readonly id: number;
18181
+ /**
18182
+ * Filter by creator user id.
18183
+ * @type {number}
18184
+ * @memberof UsersApiGetUsersPaymentRequests
18185
+ */
18186
+ readonly createdById?: number;
18187
+ /**
18188
+ * Comma-separated list of derived statuses.
18189
+ * @type {'PENDING' | 'PAID' | 'EXPIRED' | 'CANCELLED'}
18190
+ * @memberof UsersApiGetUsersPaymentRequests
18191
+ */
18192
+ readonly status?: GetUsersPaymentRequestsStatusEnum;
18193
+ /**
18194
+ * Filter requests created on or after this ISO date (inclusive).
18195
+ * @type {string}
18196
+ * @memberof UsersApiGetUsersPaymentRequests
18197
+ */
18198
+ readonly fromDate?: string;
18199
+ /**
18200
+ * Filter requests created strictly before this ISO date (exclusive).
18201
+ * @type {string}
18202
+ * @memberof UsersApiGetUsersPaymentRequests
18203
+ */
18204
+ readonly tillDate?: string;
18205
+ /**
18206
+ * How many rows the endpoint should return
18207
+ * @type {number}
18208
+ * @memberof UsersApiGetUsersPaymentRequests
18209
+ */
18210
+ readonly take?: number;
18211
+ /**
18212
+ * How many rows to skip (for pagination)
18213
+ * @type {number}
18214
+ * @memberof UsersApiGetUsersPaymentRequests
18215
+ */
18216
+ readonly skip?: number;
18217
+ }
16864
18218
  /**
16865
18219
  * Request parameters for getUsersPointsOfSale operation in UsersApi.
16866
18220
  * @export
@@ -17376,7 +18730,7 @@ export interface UsersApiWaiveUserFinesRequest {
17376
18730
  export declare class UsersApi extends BaseAPI {
17377
18731
  /**
17378
18732
  *
17379
- * @summary Accept the Terms of Service if you have not accepted it yet
18733
+ * @summary Accept the current Terms of Service version
17380
18734
  * @param {UsersApiAcceptTosRequest} requestParameters Request parameters.
17381
18735
  * @param {*} [options] Override http request option.
17382
18736
  * @throws {RequiredError}
@@ -17509,6 +18863,15 @@ export declare class UsersApi extends BaseAPI {
17509
18863
  * @memberof UsersApi
17510
18864
  */
17511
18865
  getUserSettings(requestParameters: UsersApiGetUserSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserSettingsResponse, any, {}>>;
18866
+ /**
18867
+ *
18868
+ * @summary Get a user\'s terms of service status and acceptance history
18869
+ * @param {UsersApiGetUserTosRequest} requestParameters Request parameters.
18870
+ * @param {*} [options] Override http request option.
18871
+ * @throws {RequiredError}
18872
+ * @memberof UsersApi
18873
+ */
18874
+ getUserTos(requestParameters: UsersApiGetUserTosRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserTosResponse, any, {}>>;
17512
18875
  /**
17513
18876
  *
17514
18877
  * @summary Returns the user\'s containers
@@ -17527,6 +18890,15 @@ export declare class UsersApi extends BaseAPI {
17527
18890
  * @memberof UsersApi
17528
18891
  */
17529
18892
  getUsersFinancialMutations(requestParameters: UsersApiGetUsersFinancialMutationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedFinancialMutationResponse, any, {}>>;
18893
+ /**
18894
+ *
18895
+ * @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.
18896
+ * @param {UsersApiGetUsersPaymentRequestsRequest} requestParameters Request parameters.
18897
+ * @param {*} [options] Override http request option.
18898
+ * @throws {RequiredError}
18899
+ * @memberof UsersApi
18900
+ */
18901
+ getUsersPaymentRequests(requestParameters: UsersApiGetUsersPaymentRequestsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedBasePaymentRequestResponse, any, {}>>;
17530
18902
  /**
17531
18903
  *
17532
18904
  * @summary Returns the user\'s Points of Sale
@@ -17722,6 +19094,16 @@ export declare const GetAllUsersTypeEnum: {
17722
19094
  readonly AutomaticInvoice: "AUTOMATIC_INVOICE";
17723
19095
  };
17724
19096
  export type GetAllUsersTypeEnum = typeof GetAllUsersTypeEnum[keyof typeof GetAllUsersTypeEnum];
19097
+ /**
19098
+ * @export
19099
+ */
19100
+ export declare const GetUsersPaymentRequestsStatusEnum: {
19101
+ readonly Pending: "PENDING";
19102
+ readonly Paid: "PAID";
19103
+ readonly Expired: "EXPIRED";
19104
+ readonly Cancelled: "CANCELLED";
19105
+ };
19106
+ export type GetUsersPaymentRequestsStatusEnum = typeof GetUsersPaymentRequestsStatusEnum[keyof typeof GetUsersPaymentRequestsStatusEnum];
17725
19107
  /**
17726
19108
  * @export
17727
19109
  */