@gewis/sudosos-client 0.0.0-develop.b26417f → 0.0.0-develop.b7949f1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -58,19 +58,6 @@ export interface AddRoleRequest {
58
58
  */
59
59
  'roleId': number;
60
60
  }
61
- /**
62
- *
63
- * @export
64
- * @interface AuthenticationEanRequest
65
- */
66
- export interface AuthenticationEanRequest {
67
- /**
68
- *
69
- * @type {string}
70
- * @memberof AuthenticationEanRequest
71
- */
72
- 'eanCode': string;
73
- }
74
61
  /**
75
62
  *
76
63
  * @export
@@ -147,38 +134,6 @@ export interface AuthenticationMockRequest {
147
134
  */
148
135
  'nonce': string;
149
136
  }
150
- /**
151
- *
152
- * @export
153
- * @interface AuthenticationNfcRequest
154
- */
155
- export interface AuthenticationNfcRequest {
156
- /**
157
- *
158
- * @type {string}
159
- * @memberof AuthenticationNfcRequest
160
- */
161
- 'nfcCode': string;
162
- }
163
- /**
164
- *
165
- * @export
166
- * @interface AuthenticationPinRequest
167
- */
168
- export interface AuthenticationPinRequest {
169
- /**
170
- *
171
- * @type {number}
172
- * @memberof AuthenticationPinRequest
173
- */
174
- 'userId': number;
175
- /**
176
- *
177
- * @type {string}
178
- * @memberof AuthenticationPinRequest
179
- */
180
- 'pin': string;
181
- }
182
137
  /**
183
138
  *
184
139
  * @export
@@ -946,6 +901,104 @@ export interface BaseInvoiceResponse {
946
901
  */
947
902
  'totalInclVat': DineroObjectResponse;
948
903
  }
904
+ /**
905
+ * 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.
906
+ * @export
907
+ * @interface BasePaymentRequestResponse
908
+ */
909
+ export interface BasePaymentRequestResponse {
910
+ /**
911
+ * UUID v4 identifier (also the public share-link id).
912
+ * @type {string}
913
+ * @memberof BasePaymentRequestResponse
914
+ */
915
+ 'uuid': string;
916
+ /**
917
+ * ISO-8601 creation timestamp.
918
+ * @type {string}
919
+ * @memberof BasePaymentRequestResponse
920
+ */
921
+ 'createdAt'?: string;
922
+ /**
923
+ * ISO-8601 last update timestamp.
924
+ * @type {string}
925
+ * @memberof BasePaymentRequestResponse
926
+ */
927
+ 'updatedAt'?: string;
928
+ /**
929
+ * Optimistic-locking version.
930
+ * @type {number}
931
+ * @memberof BasePaymentRequestResponse
932
+ */
933
+ 'version'?: number;
934
+ /**
935
+ *
936
+ * @type {BaseUserResponse}
937
+ * @memberof BasePaymentRequestResponse
938
+ */
939
+ 'for': BaseUserResponse;
940
+ /**
941
+ *
942
+ * @type {BaseUserResponse}
943
+ * @memberof BasePaymentRequestResponse
944
+ */
945
+ 'createdBy': BaseUserResponse;
946
+ /**
947
+ *
948
+ * @type {DineroObjectResponse}
949
+ * @memberof BasePaymentRequestResponse
950
+ */
951
+ 'amount': DineroObjectResponse;
952
+ /**
953
+ * ISO-8601 timestamp after which payments stop being accepted.
954
+ * @type {string}
955
+ * @memberof BasePaymentRequestResponse
956
+ */
957
+ 'expiresAt': string;
958
+ /**
959
+ * ISO-8601 timestamp the request was marked paid (null if not paid).
960
+ * @type {string}
961
+ * @memberof BasePaymentRequestResponse
962
+ */
963
+ 'paidAt'?: string;
964
+ /**
965
+ * ISO-8601 timestamp the request was cancelled (null if not cancelled).
966
+ * @type {string}
967
+ * @memberof BasePaymentRequestResponse
968
+ */
969
+ 'cancelledAt'?: string;
970
+ /**
971
+ *
972
+ * @type {BaseUserResponse}
973
+ * @memberof BasePaymentRequestResponse
974
+ */
975
+ 'cancelledBy'?: BaseUserResponse;
976
+ /**
977
+ *
978
+ * @type {BaseUserResponse}
979
+ * @memberof BasePaymentRequestResponse
980
+ */
981
+ 'fulfilledBy'?: BaseUserResponse;
982
+ /**
983
+ * Optional human-readable description.
984
+ * @type {string}
985
+ * @memberof BasePaymentRequestResponse
986
+ */
987
+ 'description'?: string;
988
+ /**
989
+ * Derived lifecycle status.
990
+ * @type {string}
991
+ * @memberof BasePaymentRequestResponse
992
+ */
993
+ 'status': BasePaymentRequestResponseStatusEnum;
994
+ }
995
+ export declare const BasePaymentRequestResponseStatusEnum: {
996
+ readonly Pending: "PENDING";
997
+ readonly Paid: "PAID";
998
+ readonly Expired: "EXPIRED";
999
+ readonly Cancelled: "CANCELLED";
1000
+ };
1001
+ export type BasePaymentRequestResponseStatusEnum = typeof BasePaymentRequestResponseStatusEnum[keyof typeof BasePaymentRequestResponseStatusEnum];
949
1002
  /**
950
1003
  *
951
1004
  * @export
@@ -1186,6 +1239,31 @@ export interface BaseResponse {
1186
1239
  */
1187
1240
  'version'?: number;
1188
1241
  }
1242
+ /**
1243
+ * 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.
1244
+ * @export
1245
+ * @interface BaseResponseWithoutId
1246
+ */
1247
+ export interface BaseResponseWithoutId {
1248
+ /**
1249
+ * The creation Date of the entity.
1250
+ * @type {string}
1251
+ * @memberof BaseResponseWithoutId
1252
+ */
1253
+ 'createdAt'?: string;
1254
+ /**
1255
+ * The last update Date of the entity.
1256
+ * @type {string}
1257
+ * @memberof BaseResponseWithoutId
1258
+ */
1259
+ 'updatedAt'?: string;
1260
+ /**
1261
+ * The version of the entity.
1262
+ * @type {number}
1263
+ * @memberof BaseResponseWithoutId
1264
+ */
1265
+ 'version'?: number;
1266
+ }
1189
1267
  /**
1190
1268
  *
1191
1269
  * @export
@@ -1659,7 +1737,7 @@ export interface ContainerWithProductsResponse {
1659
1737
  'products': Array<ProductResponse>;
1660
1738
  }
1661
1739
  /**
1662
- *
1740
+ * API Request for creating a `container` entity.
1663
1741
  * @export
1664
1742
  * @interface CreateContainerRequest
1665
1743
  */
@@ -1856,7 +1934,7 @@ export interface CreatePermissionParams {
1856
1934
  'attributes': Array<string>;
1857
1935
  }
1858
1936
  /**
1859
- *
1937
+ * API Request for creating a `point of sale` entity.
1860
1938
  * @export
1861
1939
  * @interface CreatePointOfSaleRequest
1862
1940
  */
@@ -1880,7 +1958,7 @@ export interface CreatePointOfSaleRequest {
1880
1958
  */
1881
1959
  'containers': Array<number>;
1882
1960
  /**
1883
- * ID of the user who will own the POS, if undefined it will default to the token ID.
1961
+ * ID of the user who will own the POS.
1884
1962
  * @type {number}
1885
1963
  * @memberof CreatePointOfSaleRequest
1886
1964
  */
@@ -1893,7 +1971,7 @@ export interface CreatePointOfSaleRequest {
1893
1971
  'cashierRoleIds'?: Array<number>;
1894
1972
  }
1895
1973
  /**
1896
- *
1974
+ * API Request for creating a `product` entity.
1897
1975
  * @export
1898
1976
  * @interface CreateProductRequest
1899
1977
  */
@@ -2566,10 +2644,15 @@ export interface FineResponse {
2566
2644
  /**
2567
2645
  *
2568
2646
  * @export
2569
- * @interface GetAllBalanceUserTypesParameterInner
2647
+ * @enum {string}
2570
2648
  */
2571
- export interface GetAllBalanceUserTypesParameterInner {
2572
- }
2649
+ export declare const GetAllInvoicesCurrentStateParameterInner: {
2650
+ readonly Created: "CREATED";
2651
+ readonly Sent: "SENT";
2652
+ readonly Paid: "PAID";
2653
+ readonly Deleted: "DELETED";
2654
+ };
2655
+ export type GetAllInvoicesCurrentStateParameterInner = typeof GetAllInvoicesCurrentStateParameterInner[keyof typeof GetAllInvoicesCurrentStateParameterInner];
2573
2656
  /**
2574
2657
  * @type GetAllPayoutRequestsRequestedByIdParameter
2575
2658
  * @export
@@ -3146,25 +3229,6 @@ export interface InvoiceUserResponse {
3146
3229
  */
3147
3230
  'automatic': boolean;
3148
3231
  }
3149
- /**
3150
- *
3151
- * @export
3152
- * @interface MemberAuthenticationPinRequest
3153
- */
3154
- export interface MemberAuthenticationPinRequest {
3155
- /**
3156
- *
3157
- * @type {number}
3158
- * @memberof MemberAuthenticationPinRequest
3159
- */
3160
- 'memberId': number;
3161
- /**
3162
- *
3163
- * @type {string}
3164
- * @memberof MemberAuthenticationPinRequest
3165
- */
3166
- 'pin': string;
3167
- }
3168
3232
  /**
3169
3233
  *
3170
3234
  * @export
@@ -3214,13 +3278,13 @@ export interface PaginatedBalanceResponse {
3214
3278
  * @type {PaginationResult}
3215
3279
  * @memberof PaginatedBalanceResponse
3216
3280
  */
3217
- '_pagination'?: PaginationResult;
3281
+ '_pagination': PaginationResult;
3218
3282
  /**
3219
3283
  * Returned balance responses
3220
3284
  * @type {Array<BalanceResponse>}
3221
3285
  * @memberof PaginatedBalanceResponse
3222
3286
  */
3223
- 'records'?: Array<BalanceResponse>;
3287
+ 'records': Array<BalanceResponse>;
3224
3288
  }
3225
3289
  /**
3226
3290
  * Paginated API Response for the `banner` entity.
@@ -3233,13 +3297,13 @@ export interface PaginatedBannerResponse {
3233
3297
  * @type {PaginationResult}
3234
3298
  * @memberof PaginatedBannerResponse
3235
3299
  */
3236
- '_pagination'?: PaginationResult;
3300
+ '_pagination': PaginationResult;
3237
3301
  /**
3238
3302
  * Returned banners
3239
3303
  * @type {Array<BannerResponse>}
3240
3304
  * @memberof PaginatedBannerResponse
3241
3305
  */
3242
- 'records'?: Array<BannerResponse>;
3306
+ 'records': Array<BannerResponse>;
3243
3307
  }
3244
3308
  /**
3245
3309
  *
@@ -3260,6 +3324,25 @@ export interface PaginatedBaseEventResponse {
3260
3324
  */
3261
3325
  'records': Array<BaseEventResponse>;
3262
3326
  }
3327
+ /**
3328
+ *
3329
+ * @export
3330
+ * @interface PaginatedBasePaymentRequestResponse
3331
+ */
3332
+ export interface PaginatedBasePaymentRequestResponse {
3333
+ /**
3334
+ *
3335
+ * @type {PaginationResult}
3336
+ * @memberof PaginatedBasePaymentRequestResponse
3337
+ */
3338
+ '_pagination': PaginationResult;
3339
+ /**
3340
+ * Returned payment requests
3341
+ * @type {Array<BasePaymentRequestResponse>}
3342
+ * @memberof PaginatedBasePaymentRequestResponse
3343
+ */
3344
+ 'records': Array<BasePaymentRequestResponse>;
3345
+ }
3263
3346
  /**
3264
3347
  *
3265
3348
  * @export
@@ -3299,7 +3382,7 @@ export interface PaginatedBaseTransactionResponse {
3299
3382
  'records': Array<BaseTransactionResponse>;
3300
3383
  }
3301
3384
  /**
3302
- *
3385
+ * Paginated API Response for the `container` entity.
3303
3386
  * @export
3304
3387
  * @interface PaginatedContainerResponse
3305
3388
  */
@@ -3318,7 +3401,7 @@ export interface PaginatedContainerResponse {
3318
3401
  'records': Array<ContainerResponse>;
3319
3402
  }
3320
3403
  /**
3321
- *
3404
+ * Paginated API Response for the `container` entity, with each container\'s products inlined.
3322
3405
  * @export
3323
3406
  * @interface PaginatedContainerWithProductResponse
3324
3407
  */
@@ -3404,13 +3487,13 @@ export interface PaginatedInactiveAdministrativeCostResponse {
3404
3487
  * @type {PaginationResult}
3405
3488
  * @memberof PaginatedInactiveAdministrativeCostResponse
3406
3489
  */
3407
- '_pagination'?: PaginationResult;
3490
+ '_pagination': PaginationResult;
3408
3491
  /**
3409
3492
  * Returned InactiveAdministrativeCost
3410
3493
  * @type {Array<InactiveAdministrativeCostResponse>}
3411
3494
  * @memberof PaginatedInactiveAdministrativeCostResponse
3412
3495
  */
3413
- 'records'?: Array<InactiveAdministrativeCostResponse>;
3496
+ 'records': Array<InactiveAdministrativeCostResponse>;
3414
3497
  }
3415
3498
  /**
3416
3499
  *
@@ -3432,7 +3515,7 @@ export interface PaginatedInvoiceResponse {
3432
3515
  'records': Array<InvoiceResponseTypes>;
3433
3516
  }
3434
3517
  /**
3435
- *
3518
+ * Paginated API Response for the `point of sale` entity.
3436
3519
  * @export
3437
3520
  * @interface PaginatedPointOfSaleResponse
3438
3521
  */
@@ -3451,7 +3534,7 @@ export interface PaginatedPointOfSaleResponse {
3451
3534
  'records': Array<PointOfSaleResponse>;
3452
3535
  }
3453
3536
  /**
3454
- *
3537
+ * Paginated API Response for the `product category` entity.
3455
3538
  * @export
3456
3539
  * @interface PaginatedProductCategoryResponse
3457
3540
  */
@@ -3470,7 +3553,7 @@ export interface PaginatedProductCategoryResponse {
3470
3553
  'records': Array<ProductCategoryResponse>;
3471
3554
  }
3472
3555
  /**
3473
- *
3556
+ * Paginated API Response for the `product` entity.
3474
3557
  * @export
3475
3558
  * @interface PaginatedProductResponse
3476
3559
  */
@@ -3565,7 +3648,7 @@ export interface PaginatedUserResponse {
3565
3648
  'records': Array<UserResponse>;
3566
3649
  }
3567
3650
  /**
3568
- *
3651
+ * Paginated API Response for the `vat group` entity.
3569
3652
  * @export
3570
3653
  * @interface PaginatedVatGroupResponse
3571
3654
  */
@@ -3690,6 +3773,31 @@ export interface PatchUserTypeRequest {
3690
3773
  */
3691
3774
  'userType': string;
3692
3775
  }
3776
+ /**
3777
+ * Response returned from the \"start payment\" endpoint. Contains just enough to let the browser redirect into the Stripe Payment Element.
3778
+ * @export
3779
+ * @interface PaymentRequestStartResponse
3780
+ */
3781
+ export interface PaymentRequestStartResponse {
3782
+ /**
3783
+ * The PaymentRequest id the intent is linked to.
3784
+ * @type {string}
3785
+ * @memberof PaymentRequestStartResponse
3786
+ */
3787
+ 'paymentRequestId': string;
3788
+ /**
3789
+ * Stripe payment intent id.
3790
+ * @type {string}
3791
+ * @memberof PaymentRequestStartResponse
3792
+ */
3793
+ 'stripeId': string;
3794
+ /**
3795
+ * Stripe client secret for the intent.
3796
+ * @type {string}
3797
+ * @memberof PaymentRequestStartResponse
3798
+ */
3799
+ 'clientSecret': string;
3800
+ }
3693
3801
  /**
3694
3802
  *
3695
3803
  * @export
@@ -3897,7 +4005,7 @@ export interface PermissionResponse {
3897
4005
  'actions': Array<ActionResponse>;
3898
4006
  }
3899
4007
  /**
3900
- *
4008
+ * API Response describing who is associated with a `point of sale`: its owner, the owner\'s organ members, and the cashier users (users holding at least one of the POS\'s cashier roles).
3901
4009
  * @export
3902
4010
  * @interface PointOfSaleAssociateUsersResponse
3903
4011
  */
@@ -4050,7 +4158,7 @@ export interface PointOfSaleWithContainersResponse {
4050
4158
  'containers': Array<ContainerWithProductsResponse>;
4051
4159
  }
4052
4160
  /**
4053
- *
4161
+ * API Request for creating or updating a `product category` entity.
4054
4162
  * @export
4055
4163
  * @interface ProductCategoryRequest
4056
4164
  */
@@ -4214,6 +4322,56 @@ export interface ProductResponse {
4214
4322
  */
4215
4323
  'priceList': boolean;
4216
4324
  }
4325
+ /**
4326
+ * 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.
4327
+ * @export
4328
+ * @interface PublicPaymentRequestResponse
4329
+ */
4330
+ export interface PublicPaymentRequestResponse {
4331
+ /**
4332
+ * UUID v4 identifier.
4333
+ * @type {string}
4334
+ * @memberof PublicPaymentRequestResponse
4335
+ */
4336
+ 'uuid': string;
4337
+ /**
4338
+ * Recipient display name (e.g. \"John D.\").
4339
+ * @type {string}
4340
+ * @memberof PublicPaymentRequestResponse
4341
+ */
4342
+ 'forDisplayName': string;
4343
+ /**
4344
+ *
4345
+ * @type {DineroObjectResponse}
4346
+ * @memberof PublicPaymentRequestResponse
4347
+ */
4348
+ 'amount': DineroObjectResponse;
4349
+ /**
4350
+ * ISO-8601 timestamp after which payments stop being accepted.
4351
+ * @type {string}
4352
+ * @memberof PublicPaymentRequestResponse
4353
+ */
4354
+ 'expiresAt': string;
4355
+ /**
4356
+ * Optional human-readable description.
4357
+ * @type {string}
4358
+ * @memberof PublicPaymentRequestResponse
4359
+ */
4360
+ 'description'?: string;
4361
+ /**
4362
+ * Derived lifecycle status.
4363
+ * @type {string}
4364
+ * @memberof PublicPaymentRequestResponse
4365
+ */
4366
+ 'status': PublicPaymentRequestResponseStatusEnum;
4367
+ }
4368
+ export declare const PublicPaymentRequestResponseStatusEnum: {
4369
+ readonly Pending: "PENDING";
4370
+ readonly Paid: "PAID";
4371
+ readonly Expired: "EXPIRED";
4372
+ readonly Cancelled: "CANCELLED";
4373
+ };
4374
+ export type PublicPaymentRequestResponseStatusEnum = typeof PublicPaymentRequestResponseStatusEnum[keyof typeof PublicPaymentRequestResponseStatusEnum];
4217
4375
  /**
4218
4376
  *
4219
4377
  * @export
@@ -5115,23 +5273,23 @@ export interface TotalBalanceResponse {
5115
5273
  */
5116
5274
  'date': string;
5117
5275
  /**
5118
- * The total amount of positive balance in SudoSOS
5119
- * @type {number}
5276
+ *
5277
+ * @type {DineroObjectResponse}
5120
5278
  * @memberof TotalBalanceResponse
5121
5279
  */
5122
- 'totalPositive': number;
5280
+ 'totalPositive': DineroObjectResponse;
5123
5281
  /**
5124
- * The total amount of negative balance in SudoSOS
5125
- * @type {number}
5282
+ *
5283
+ * @type {DineroObjectResponse}
5126
5284
  * @memberof TotalBalanceResponse
5127
5285
  */
5128
- 'totalNegative': number;
5286
+ 'totalNegative': DineroObjectResponse;
5129
5287
  /**
5130
- *
5131
- * @type {UserTypeTotalBalanceResponse}
5288
+ * The total balances for the different user types
5289
+ * @type {Array<UserTypeTotalBalanceResponse>}
5132
5290
  * @memberof TotalBalanceResponse
5133
5291
  */
5134
- 'userTypeBalances': UserTypeTotalBalanceResponse;
5292
+ 'userTypeBalances': Array<UserTypeTotalBalanceResponse>;
5135
5293
  }
5136
5294
  /**
5137
5295
  *
@@ -5716,7 +5874,7 @@ export interface TransferSummaryResponse {
5716
5874
  'manualDeletions': TransferAggregateResponse;
5717
5875
  }
5718
5876
  /**
5719
- *
5877
+ * API Request for updating a `container` entity.
5720
5878
  * @export
5721
5879
  * @interface UpdateContainerRequest
5722
5880
  */
@@ -5966,7 +6124,7 @@ export interface UpdatePinRequest {
5966
6124
  'pin': string;
5967
6125
  }
5968
6126
  /**
5969
- *
6127
+ * API Request for updating a `point of sale` entity.
5970
6128
  * @export
5971
6129
  * @interface UpdatePointOfSaleRequest
5972
6130
  */
@@ -6003,7 +6161,7 @@ export interface UpdatePointOfSaleRequest {
6003
6161
  'cashierRoleIds'?: Array<number>;
6004
6162
  }
6005
6163
  /**
6006
- *
6164
+ * API Request for updating a `product` entity.
6007
6165
  * @export
6008
6166
  * @interface UpdateProductRequest
6009
6167
  */
@@ -6168,9 +6326,15 @@ export interface UpdateUserRequest {
6168
6326
  * @memberof UpdateUserRequest
6169
6327
  */
6170
6328
  'inactiveNotificationSend'?: boolean;
6329
+ /**
6330
+ * ISO date at which the account expires; pass null to clear
6331
+ * @type {string}
6332
+ * @memberof UpdateUserRequest
6333
+ */
6334
+ 'expiryDate'?: string | null;
6171
6335
  }
6172
6336
  /**
6173
- *
6337
+ * API Request for updating an existing `vat group` entity. Only mutable fields; the rate itself cannot change on an existing group.
6174
6338
  * @export
6175
6339
  * @interface UpdateVatGroupRequest
6176
6340
  */
@@ -6384,6 +6548,12 @@ export interface UserResponse {
6384
6548
  * @memberof UserResponse
6385
6549
  */
6386
6550
  'pos'?: BasePointOfSaleInfoResponse;
6551
+ /**
6552
+ * ISO date at which the account expires (null for accounts without expiry)
6553
+ * @type {string}
6554
+ * @memberof UserResponse
6555
+ */
6556
+ 'expiryDate'?: string | null;
6387
6557
  }
6388
6558
  /**
6389
6559
  *
@@ -6490,6 +6660,22 @@ export interface UserToInactiveAdministrativeCostResponse {
6490
6660
  */
6491
6661
  'nickname'?: string;
6492
6662
  }
6663
+ /**
6664
+ * The type of a user
6665
+ * @export
6666
+ * @enum {string}
6667
+ */
6668
+ export declare const UserType: {
6669
+ readonly Member: "MEMBER";
6670
+ readonly Organ: "ORGAN";
6671
+ readonly Voucher: "VOUCHER";
6672
+ readonly LocalUser: "LOCAL_USER";
6673
+ readonly LocalAdmin: "LOCAL_ADMIN";
6674
+ readonly Invoice: "INVOICE";
6675
+ readonly PointOfSale: "POINT_OF_SALE";
6676
+ readonly Integration: "INTEGRATION";
6677
+ };
6678
+ export type UserType = typeof UserType[keyof typeof UserType];
6493
6679
  /**
6494
6680
  *
6495
6681
  * @export
@@ -6516,7 +6702,7 @@ export interface UserTypeTotalBalanceResponse {
6516
6702
  'totalNegative': DineroObjectResponse;
6517
6703
  }
6518
6704
  /**
6519
- *
6705
+ * A `BaseUserResponse` augmented with a stable position index, used to keep ordered user lists (e.g. POS owner members) rendering in a consistent order across requests.
6520
6706
  * @export
6521
6707
  * @interface UserWithIndex
6522
6708
  */
@@ -6531,6 +6717,25 @@ export interface UserWithIndex {
6531
6717
  /**
6532
6718
  *
6533
6719
  * @export
6720
+ * @interface ValidationResponse
6721
+ */
6722
+ export interface ValidationResponse {
6723
+ /**
6724
+ * Whether the request passed validation.
6725
+ * @type {boolean}
6726
+ * @memberof ValidationResponse
6727
+ */
6728
+ 'valid': boolean;
6729
+ /**
6730
+ * List of validation error messages.
6731
+ * @type {Array<string>}
6732
+ * @memberof ValidationResponse
6733
+ */
6734
+ 'errors': Array<string>;
6735
+ }
6736
+ /**
6737
+ * API Response for a complete VAT declaration — one result table for a given year and period, containing one {@link VatDeclarationRow} per VAT group.
6738
+ * @export
6534
6739
  * @interface VatDeclarationResponse
6535
6740
  */
6536
6741
  export interface VatDeclarationResponse {
@@ -6554,7 +6759,7 @@ export interface VatDeclarationResponse {
6554
6759
  'rows': Array<VatDeclarationRow>;
6555
6760
  }
6556
6761
  /**
6557
- *
6762
+ * One row of a VAT declaration — the VAT collected for a single group, broken down by period.
6558
6763
  * @export
6559
6764
  * @interface VatDeclarationRow
6560
6765
  */
@@ -7020,15 +7225,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7020
7225
  * @throws {RequiredError}
7021
7226
  */
7022
7227
  confirmQRCode: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7023
- /**
7024
- *
7025
- * @summary EAN login and hand out token
7026
- * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login.
7027
- * @param {*} [options] Override http request option.
7028
- * @deprecated
7029
- * @throws {RequiredError}
7030
- */
7031
- eanAuthentication: (authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7032
7228
  /**
7033
7229
  *
7034
7230
  * @summary Generate a QR code for authentication
@@ -7098,15 +7294,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7098
7294
  * @throws {RequiredError}
7099
7295
  */
7100
7296
  localAuthentication: (authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7101
- /**
7102
- *
7103
- * @summary PIN login for members using memberId.
7104
- * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login.
7105
- * @param {*} [options] Override http request option.
7106
- * @deprecated
7107
- * @throws {RequiredError}
7108
- */
7109
- memberPinAuthentication: (memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7110
7297
  /**
7111
7298
  *
7112
7299
  * @summary Mock login and hand out token.
@@ -7115,24 +7302,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
7115
7302
  * @throws {RequiredError}
7116
7303
  */
7117
7304
  mockAuthentication: (authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7118
- /**
7119
- *
7120
- * @summary NFC login and hand out token
7121
- * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login.
7122
- * @param {*} [options] Override http request option.
7123
- * @deprecated
7124
- * @throws {RequiredError}
7125
- */
7126
- nfcAuthentication: (authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7127
- /**
7128
- *
7129
- * @summary PIN login and hand out token
7130
- * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login.
7131
- * @param {*} [options] Override http request option.
7132
- * @deprecated
7133
- * @throws {RequiredError}
7134
- */
7135
- pinAuthentication: (authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7136
7305
  /**
7137
7306
  *
7138
7307
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -7218,15 +7387,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7218
7387
  * @throws {RequiredError}
7219
7388
  */
7220
7389
  confirmQRCode(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7221
- /**
7222
- *
7223
- * @summary EAN login and hand out token
7224
- * @param {AuthenticationEanRequest} authenticationEanRequest The EAN login.
7225
- * @param {*} [options] Override http request option.
7226
- * @deprecated
7227
- * @throws {RequiredError}
7228
- */
7229
- eanAuthentication(authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7230
7390
  /**
7231
7391
  *
7232
7392
  * @summary Generate a QR code for authentication
@@ -7296,15 +7456,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7296
7456
  * @throws {RequiredError}
7297
7457
  */
7298
7458
  localAuthentication(authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7299
- /**
7300
- *
7301
- * @summary PIN login for members using memberId.
7302
- * @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login.
7303
- * @param {*} [options] Override http request option.
7304
- * @deprecated
7305
- * @throws {RequiredError}
7306
- */
7307
- memberPinAuthentication(memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7308
7459
  /**
7309
7460
  *
7310
7461
  * @summary Mock login and hand out token.
@@ -7313,24 +7464,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
7313
7464
  * @throws {RequiredError}
7314
7465
  */
7315
7466
  mockAuthentication(authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7316
- /**
7317
- *
7318
- * @summary NFC login and hand out token
7319
- * @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login.
7320
- * @param {*} [options] Override http request option.
7321
- * @deprecated
7322
- * @throws {RequiredError}
7323
- */
7324
- nfcAuthentication(authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7325
- /**
7326
- *
7327
- * @summary PIN login and hand out token
7328
- * @param {AuthenticationPinRequest} authenticationPinRequest The PIN login.
7329
- * @param {*} [options] Override http request option.
7330
- * @deprecated
7331
- * @throws {RequiredError}
7332
- */
7333
- pinAuthentication(authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
7334
7467
  /**
7335
7468
  *
7336
7469
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -7416,15 +7549,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7416
7549
  * @throws {RequiredError}
7417
7550
  */
7418
7551
  confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
7419
- /**
7420
- *
7421
- * @summary EAN login and hand out token
7422
- * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
7423
- * @param {*} [options] Override http request option.
7424
- * @deprecated
7425
- * @throws {RequiredError}
7426
- */
7427
- eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7428
7552
  /**
7429
7553
  *
7430
7554
  * @summary Generate a QR code for authentication
@@ -7494,15 +7618,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7494
7618
  * @throws {RequiredError}
7495
7619
  */
7496
7620
  localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7497
- /**
7498
- *
7499
- * @summary PIN login for members using memberId.
7500
- * @param {AuthenticateApiMemberPinAuthenticationRequest} requestParameters Request parameters.
7501
- * @param {*} [options] Override http request option.
7502
- * @deprecated
7503
- * @throws {RequiredError}
7504
- */
7505
- memberPinAuthentication(requestParameters: AuthenticateApiMemberPinAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7506
7621
  /**
7507
7622
  *
7508
7623
  * @summary Mock login and hand out token.
@@ -7511,24 +7626,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
7511
7626
  * @throws {RequiredError}
7512
7627
  */
7513
7628
  mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7514
- /**
7515
- *
7516
- * @summary NFC login and hand out token
7517
- * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
7518
- * @param {*} [options] Override http request option.
7519
- * @deprecated
7520
- * @throws {RequiredError}
7521
- */
7522
- nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7523
- /**
7524
- *
7525
- * @summary PIN login and hand out token
7526
- * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
7527
- * @param {*} [options] Override http request option.
7528
- * @deprecated
7529
- * @throws {RequiredError}
7530
- */
7531
- pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
7532
7629
  /**
7533
7630
  *
7534
7631
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -7624,19 +7721,6 @@ export interface AuthenticateApiConfirmQRCodeRequest {
7624
7721
  */
7625
7722
  readonly sessionId: string;
7626
7723
  }
7627
- /**
7628
- * Request parameters for eanAuthentication operation in AuthenticateApi.
7629
- * @export
7630
- * @interface AuthenticateApiEanAuthenticationRequest
7631
- */
7632
- export interface AuthenticateApiEanAuthenticationRequest {
7633
- /**
7634
- * The EAN login.
7635
- * @type {AuthenticationEanRequest}
7636
- * @memberof AuthenticateApiEanAuthentication
7637
- */
7638
- readonly authenticationEanRequest: AuthenticationEanRequest;
7639
- }
7640
7724
  /**
7641
7725
  * Request parameters for getQRStatus operation in AuthenticateApi.
7642
7726
  * @export
@@ -7715,19 +7799,6 @@ export interface AuthenticateApiLocalAuthenticationRequest {
7715
7799
  */
7716
7800
  readonly authenticationLocalRequest: AuthenticationLocalRequest;
7717
7801
  }
7718
- /**
7719
- * Request parameters for memberPinAuthentication operation in AuthenticateApi.
7720
- * @export
7721
- * @interface AuthenticateApiMemberPinAuthenticationRequest
7722
- */
7723
- export interface AuthenticateApiMemberPinAuthenticationRequest {
7724
- /**
7725
- * The PIN login.
7726
- * @type {MemberAuthenticationPinRequest}
7727
- * @memberof AuthenticateApiMemberPinAuthentication
7728
- */
7729
- readonly memberAuthenticationPinRequest: MemberAuthenticationPinRequest;
7730
- }
7731
7802
  /**
7732
7803
  * Request parameters for mockAuthentication operation in AuthenticateApi.
7733
7804
  * @export
@@ -7741,32 +7812,6 @@ export interface AuthenticateApiMockAuthenticationRequest {
7741
7812
  */
7742
7813
  readonly authenticationMockRequest: AuthenticationMockRequest;
7743
7814
  }
7744
- /**
7745
- * Request parameters for nfcAuthentication operation in AuthenticateApi.
7746
- * @export
7747
- * @interface AuthenticateApiNfcAuthenticationRequest
7748
- */
7749
- export interface AuthenticateApiNfcAuthenticationRequest {
7750
- /**
7751
- * The NFC login.
7752
- * @type {AuthenticationNfcRequest}
7753
- * @memberof AuthenticateApiNfcAuthentication
7754
- */
7755
- readonly authenticationNfcRequest: AuthenticationNfcRequest;
7756
- }
7757
- /**
7758
- * Request parameters for pinAuthentication operation in AuthenticateApi.
7759
- * @export
7760
- * @interface AuthenticateApiPinAuthenticationRequest
7761
- */
7762
- export interface AuthenticateApiPinAuthenticationRequest {
7763
- /**
7764
- * The PIN login.
7765
- * @type {AuthenticationPinRequest}
7766
- * @memberof AuthenticateApiPinAuthentication
7767
- */
7768
- readonly authenticationPinRequest: AuthenticationPinRequest;
7769
- }
7770
7815
  /**
7771
7816
  * Request parameters for resetLocal operation in AuthenticateApi.
7772
7817
  * @export
@@ -7879,16 +7924,6 @@ export declare class AuthenticateApi extends BaseAPI {
7879
7924
  * @memberof AuthenticateApi
7880
7925
  */
7881
7926
  confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
7882
- /**
7883
- *
7884
- * @summary EAN login and hand out token
7885
- * @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
7886
- * @param {*} [options] Override http request option.
7887
- * @deprecated
7888
- * @throws {RequiredError}
7889
- * @memberof AuthenticateApi
7890
- */
7891
- eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7892
7927
  /**
7893
7928
  *
7894
7929
  * @summary Generate a QR code for authentication
@@ -7967,16 +8002,6 @@ export declare class AuthenticateApi extends BaseAPI {
7967
8002
  * @memberof AuthenticateApi
7968
8003
  */
7969
8004
  localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7970
- /**
7971
- *
7972
- * @summary PIN login for members using memberId.
7973
- * @param {AuthenticateApiMemberPinAuthenticationRequest} requestParameters Request parameters.
7974
- * @param {*} [options] Override http request option.
7975
- * @deprecated
7976
- * @throws {RequiredError}
7977
- * @memberof AuthenticateApi
7978
- */
7979
- memberPinAuthentication(requestParameters: AuthenticateApiMemberPinAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7980
8005
  /**
7981
8006
  *
7982
8007
  * @summary Mock login and hand out token.
@@ -7986,26 +8011,6 @@ export declare class AuthenticateApi extends BaseAPI {
7986
8011
  * @memberof AuthenticateApi
7987
8012
  */
7988
8013
  mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7989
- /**
7990
- *
7991
- * @summary NFC login and hand out token
7992
- * @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
7993
- * @param {*} [options] Override http request option.
7994
- * @deprecated
7995
- * @throws {RequiredError}
7996
- * @memberof AuthenticateApi
7997
- */
7998
- nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
7999
- /**
8000
- *
8001
- * @summary PIN login and hand out token
8002
- * @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
8003
- * @param {*} [options] Override http request option.
8004
- * @deprecated
8005
- * @throws {RequiredError}
8006
- * @memberof AuthenticateApi
8007
- */
8008
- pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
8009
8014
  /**
8010
8015
  *
8011
8016
  * @summary Get a new JWT token, maintaining the same access level (posId) as the original token
@@ -8092,7 +8097,7 @@ export declare const BalanceApiAxiosParamCreator: (configuration?: Configuration
8092
8097
  * @param {boolean} [hasFine] Only users with(out) fines
8093
8098
  * @param {number} [minFine] Minimum fine
8094
8099
  * @param {number} [maxFine] Maximum fine
8095
- * @param {GetAllBalanceUserTypesEnum} [userTypes] Filter based on user type.
8100
+ * @param {Array<UserType>} [userTypes] Filter based on user type.
8096
8101
  * @param {string} [orderBy] Column to order balance by - eg: id,amount
8097
8102
  * @param {GetAllBalanceOrderDirectionEnum} [orderDirection] Order direction
8098
8103
  * @param {boolean} [allowDeleted] Whether to include deleted users
@@ -8102,7 +8107,7 @@ export declare const BalanceApiAxiosParamCreator: (configuration?: Configuration
8102
8107
  * @param {*} [options] Override http request option.
8103
8108
  * @throws {RequiredError}
8104
8109
  */
8105
- getAllBalance: (date?: string, minBalance?: number, maxBalance?: number, hasFine?: boolean, minFine?: number, maxFine?: number, userTypes?: GetAllBalanceUserTypesEnum, orderBy?: string, orderDirection?: GetAllBalanceOrderDirectionEnum, allowDeleted?: boolean, inactive?: boolean, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8110
+ getAllBalance: (date?: string, minBalance?: number, maxBalance?: number, hasFine?: boolean, minFine?: number, maxFine?: number, userTypes?: Array<UserType>, orderBy?: string, orderDirection?: GetAllBalanceOrderDirectionEnum, allowDeleted?: boolean, inactive?: boolean, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8106
8111
  /**
8107
8112
  *
8108
8113
  * @summary Retrieves the requested balance
@@ -8142,7 +8147,7 @@ export declare const BalanceApiFp: (configuration?: Configuration) => {
8142
8147
  * @param {boolean} [hasFine] Only users with(out) fines
8143
8148
  * @param {number} [minFine] Minimum fine
8144
8149
  * @param {number} [maxFine] Maximum fine
8145
- * @param {GetAllBalanceUserTypesEnum} [userTypes] Filter based on user type.
8150
+ * @param {Array<UserType>} [userTypes] Filter based on user type.
8146
8151
  * @param {string} [orderBy] Column to order balance by - eg: id,amount
8147
8152
  * @param {GetAllBalanceOrderDirectionEnum} [orderDirection] Order direction
8148
8153
  * @param {boolean} [allowDeleted] Whether to include deleted users
@@ -8152,7 +8157,7 @@ export declare const BalanceApiFp: (configuration?: Configuration) => {
8152
8157
  * @param {*} [options] Override http request option.
8153
8158
  * @throws {RequiredError}
8154
8159
  */
8155
- getAllBalance(date?: string, minBalance?: number, maxBalance?: number, hasFine?: boolean, minFine?: number, maxFine?: number, userTypes?: GetAllBalanceUserTypesEnum, orderBy?: string, orderDirection?: GetAllBalanceOrderDirectionEnum, allowDeleted?: boolean, inactive?: boolean, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedBalanceResponse>>;
8160
+ getAllBalance(date?: string, minBalance?: number, maxBalance?: number, hasFine?: boolean, minFine?: number, maxFine?: number, userTypes?: Array<UserType>, orderBy?: string, orderDirection?: GetAllBalanceOrderDirectionEnum, allowDeleted?: boolean, inactive?: boolean, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedBalanceResponse>>;
8156
8161
  /**
8157
8162
  *
8158
8163
  * @summary Retrieves the requested balance
@@ -8269,10 +8274,10 @@ export interface BalanceApiGetAllBalanceRequest {
8269
8274
  readonly maxFine?: number;
8270
8275
  /**
8271
8276
  * Filter based on user type.
8272
- * @type {Array<GetAllBalanceUserTypesParameterInner>}
8277
+ * @type {Array<UserType>}
8273
8278
  * @memberof BalanceApiGetAllBalance
8274
8279
  */
8275
- readonly userTypes?: GetAllBalanceUserTypesEnum;
8280
+ readonly userTypes?: Array<UserType>;
8276
8281
  /**
8277
8282
  * Column to order balance by - eg: id,amount
8278
8283
  * @type {string}
@@ -8366,11 +8371,6 @@ export declare class BalanceApi extends BaseAPI {
8366
8371
  */
8367
8372
  getBalances(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BalanceResponse, any, {}>>;
8368
8373
  }
8369
- /**
8370
- * @export
8371
- */
8372
- export declare const GetAllBalanceUserTypesEnum: {};
8373
- export type GetAllBalanceUserTypesEnum = typeof GetAllBalanceUserTypesEnum[keyof typeof GetAllBalanceUserTypesEnum];
8374
8374
  /**
8375
8375
  * @export
8376
8376
  */
@@ -10791,7 +10791,7 @@ export declare const InactiveAdministrativeCostsApiFp: (configuration?: Configur
10791
10791
  * @param {*} [options] Override http request option.
10792
10792
  * @throws {RequiredError}
10793
10793
  */
10794
- handoutInactiveAdministrativeCostsUsers(handoutInactiveAdministrativeCostsRequest: HandoutInactiveAdministrativeCostsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
10794
+ handoutInactiveAdministrativeCostsUsers(handoutInactiveAdministrativeCostsRequest: HandoutInactiveAdministrativeCostsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InactiveAdministrativeCostResponse>>>;
10795
10795
  /**
10796
10796
  *
10797
10797
  * @summary Notify all users which will pay administrative costs within a year
@@ -10869,7 +10869,7 @@ export declare const InactiveAdministrativeCostsApiFactory: (configuration?: Con
10869
10869
  * @param {*} [options] Override http request option.
10870
10870
  * @throws {RequiredError}
10871
10871
  */
10872
- handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
10872
+ handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InactiveAdministrativeCostResponse>>;
10873
10873
  /**
10874
10874
  *
10875
10875
  * @summary Notify all users which will pay administrative costs within a year
@@ -11092,7 +11092,7 @@ export declare class InactiveAdministrativeCostsApi extends BaseAPI {
11092
11092
  * @throws {RequiredError}
11093
11093
  * @memberof InactiveAdministrativeCostsApi
11094
11094
  */
11095
- handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
11095
+ handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InactiveAdministrativeCostResponse[], any, {}>>;
11096
11096
  /**
11097
11097
  *
11098
11098
  * @summary Notify all users which will pay administrative costs within a year
@@ -11137,7 +11137,7 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
11137
11137
  * @summary Returns all invoices in the system.
11138
11138
  * @param {number} [toId] Filter on Id of the debtor
11139
11139
  * @param {number} [invoiceId] Filter on invoice ID
11140
- * @param {GetAllInvoicesCurrentStateEnum} [currentState] Filter based on Invoice State.
11140
+ * @param {Array<GetAllInvoicesCurrentStateParameterInner>} [currentState] Filter based on Invoice State.
11141
11141
  * @param {boolean} [returnEntries] Boolean if invoice entries should be returned
11142
11142
  * @param {string} [fromDate] Start date for selected invoices (inclusive)
11143
11143
  * @param {string} [tillDate] End date for selected invoices (exclusive)
@@ -11147,7 +11147,7 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
11147
11147
  * @param {*} [options] Override http request option.
11148
11148
  * @throws {RequiredError}
11149
11149
  */
11150
- getAllInvoices: (toId?: number, invoiceId?: number, currentState?: GetAllInvoicesCurrentStateEnum, returnEntries?: boolean, fromDate?: string, tillDate?: string, description?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11150
+ getAllInvoices: (toId?: number, invoiceId?: number, currentState?: Array<GetAllInvoicesCurrentStateParameterInner>, returnEntries?: boolean, fromDate?: string, tillDate?: string, description?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11151
11151
  /**
11152
11152
  *
11153
11153
  * @summary Get eligible transactions for invoice creation.
@@ -11244,7 +11244,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
11244
11244
  * @summary Returns all invoices in the system.
11245
11245
  * @param {number} [toId] Filter on Id of the debtor
11246
11246
  * @param {number} [invoiceId] Filter on invoice ID
11247
- * @param {GetAllInvoicesCurrentStateEnum} [currentState] Filter based on Invoice State.
11247
+ * @param {Array<GetAllInvoicesCurrentStateParameterInner>} [currentState] Filter based on Invoice State.
11248
11248
  * @param {boolean} [returnEntries] Boolean if invoice entries should be returned
11249
11249
  * @param {string} [fromDate] Start date for selected invoices (inclusive)
11250
11250
  * @param {string} [tillDate] End date for selected invoices (exclusive)
@@ -11254,7 +11254,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
11254
11254
  * @param {*} [options] Override http request option.
11255
11255
  * @throws {RequiredError}
11256
11256
  */
11257
- getAllInvoices(toId?: number, invoiceId?: number, currentState?: GetAllInvoicesCurrentStateEnum, returnEntries?: boolean, fromDate?: string, tillDate?: string, description?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedInvoiceResponse>>;
11257
+ getAllInvoices(toId?: number, invoiceId?: number, currentState?: Array<GetAllInvoicesCurrentStateParameterInner>, returnEntries?: boolean, fromDate?: string, tillDate?: string, description?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedInvoiceResponse>>;
11258
11258
  /**
11259
11259
  *
11260
11260
  * @summary Get eligible transactions for invoice creation.
@@ -11264,7 +11264,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
11264
11264
  * @param {*} [options] Override http request option.
11265
11265
  * @throws {RequiredError}
11266
11266
  */
11267
- getEligibleTransactions(forId: number, fromDate: string, tillDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionResponse>>;
11267
+ getEligibleTransactions(forId: number, fromDate: string, tillDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransactionResponse>>>;
11268
11268
  /**
11269
11269
  *
11270
11270
  * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
@@ -11280,7 +11280,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
11280
11280
  * @param {*} [options] Override http request option.
11281
11281
  * @throws {RequiredError}
11282
11282
  */
11283
- getInvoicePdf(id: number, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
11283
+ getInvoicePdf(id: number, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PdfUrlResponse>>;
11284
11284
  /**
11285
11285
  *
11286
11286
  * @summary Returns a single invoice in the system.
@@ -11361,7 +11361,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
11361
11361
  * @param {*} [options] Override http request option.
11362
11362
  * @throws {RequiredError}
11363
11363
  */
11364
- getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransactionResponse>;
11364
+ getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TransactionResponse>>;
11365
11365
  /**
11366
11366
  *
11367
11367
  * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
@@ -11376,7 +11376,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
11376
11376
  * @param {*} [options] Override http request option.
11377
11377
  * @throws {RequiredError}
11378
11378
  */
11379
- getInvoicePdf(requestParameters: InvoicesApiGetInvoicePdfRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
11379
+ getInvoicePdf(requestParameters: InvoicesApiGetInvoicePdfRequest, options?: RawAxiosRequestConfig): AxiosPromise<PdfUrlResponse>;
11380
11380
  /**
11381
11381
  *
11382
11382
  * @summary Returns a single invoice in the system.
@@ -11469,10 +11469,10 @@ export interface InvoicesApiGetAllInvoicesRequest {
11469
11469
  readonly invoiceId?: number;
11470
11470
  /**
11471
11471
  * Filter based on Invoice State.
11472
- * @type {Array<GetAllBalanceUserTypesParameterInner>}
11472
+ * @type {Array<GetAllInvoicesCurrentStateParameterInner>}
11473
11473
  * @memberof InvoicesApiGetAllInvoices
11474
11474
  */
11475
- readonly currentState?: GetAllInvoicesCurrentStateEnum;
11475
+ readonly currentState?: Array<GetAllInvoicesCurrentStateParameterInner>;
11476
11476
  /**
11477
11477
  * Boolean if invoice entries should be returned
11478
11478
  * @type {boolean}
@@ -11675,7 +11675,7 @@ export declare class InvoicesApi extends BaseAPI {
11675
11675
  * @throws {RequiredError}
11676
11676
  * @memberof InvoicesApi
11677
11677
  */
11678
- getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse, any, {}>>;
11678
+ getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse[], any, {}>>;
11679
11679
  /**
11680
11680
  *
11681
11681
  * @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
@@ -11692,7 +11692,7 @@ export declare class InvoicesApi extends BaseAPI {
11692
11692
  * @throws {RequiredError}
11693
11693
  * @memberof InvoicesApi
11694
11694
  */
11695
- getInvoicePdf(requestParameters: InvoicesApiGetInvoicePdfRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
11695
+ getInvoicePdf(requestParameters: InvoicesApiGetInvoicePdfRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PdfUrlResponse, any, {}>>;
11696
11696
  /**
11697
11697
  *
11698
11698
  * @summary Returns a single invoice in the system.
@@ -11730,11 +11730,6 @@ export declare class InvoicesApi extends BaseAPI {
11730
11730
  */
11731
11731
  updateInvoice(requestParameters: InvoicesApiUpdateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseInvoiceResponse, any, {}>>;
11732
11732
  }
11733
- /**
11734
- * @export
11735
- */
11736
- export declare const GetAllInvoicesCurrentStateEnum: {};
11737
- export type GetAllInvoicesCurrentStateEnum = typeof GetAllInvoicesCurrentStateEnum[keyof typeof GetAllInvoicesCurrentStateEnum];
11738
11733
  /**
11739
11734
  * PayoutRequestsApi - axios parameter creator
11740
11735
  * @export
@@ -14289,11 +14284,11 @@ export declare const SyncApiAxiosParamCreator: (configuration?: Configuration) =
14289
14284
  /**
14290
14285
  * Performs a dry-run synchronization of users using the specified services. This endpoint always performs a dry-run and does not apply any actual database changes.
14291
14286
  * @summary Get dry-run sync results for users
14292
- * @param {GetUserSyncResultsServiceEnum} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
14287
+ * @param {Array<GetUserSyncResultsServiceEnum>} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
14293
14288
  * @param {*} [options] Override http request option.
14294
14289
  * @throws {RequiredError}
14295
14290
  */
14296
- getUserSyncResults: (service?: GetUserSyncResultsServiceEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14291
+ getUserSyncResults: (service?: Array<GetUserSyncResultsServiceEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14297
14292
  };
14298
14293
  /**
14299
14294
  * SyncApi - functional programming interface
@@ -14303,11 +14298,11 @@ export declare const SyncApiFp: (configuration?: Configuration) => {
14303
14298
  /**
14304
14299
  * Performs a dry-run synchronization of users using the specified services. This endpoint always performs a dry-run and does not apply any actual database changes.
14305
14300
  * @summary Get dry-run sync results for users
14306
- * @param {GetUserSyncResultsServiceEnum} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
14301
+ * @param {Array<GetUserSyncResultsServiceEnum>} [service] Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
14307
14302
  * @param {*} [options] Override http request option.
14308
14303
  * @throws {RequiredError}
14309
14304
  */
14310
- getUserSyncResults(service?: GetUserSyncResultsServiceEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
14305
+ getUserSyncResults(service?: Array<GetUserSyncResultsServiceEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
14311
14306
  };
14312
14307
  /**
14313
14308
  * SyncApi - factory interface
@@ -14331,10 +14326,10 @@ export declare const SyncApiFactory: (configuration?: Configuration, basePath?:
14331
14326
  export interface SyncApiGetUserSyncResultsRequest {
14332
14327
  /**
14333
14328
  * Array of sync services to use (ldap, gewisdb). If not provided, all available services will be used.
14334
- * @type {Array<string>}
14329
+ * @type {Array<'LDAP' | 'GEWISDB'>}
14335
14330
  * @memberof SyncApiGetUserSyncResults
14336
14331
  */
14337
- readonly service?: GetUserSyncResultsServiceEnum;
14332
+ readonly service?: Array<GetUserSyncResultsServiceEnum>;
14338
14333
  }
14339
14334
  /**
14340
14335
  * SyncApi - object-oriented interface
@@ -14356,7 +14351,10 @@ export declare class SyncApi extends BaseAPI {
14356
14351
  /**
14357
14352
  * @export
14358
14353
  */
14359
- export declare const GetUserSyncResultsServiceEnum: {};
14354
+ export declare const GetUserSyncResultsServiceEnum: {
14355
+ readonly Ldap: "LDAP";
14356
+ readonly Gewisdb: "GEWISDB";
14357
+ };
14360
14358
  export type GetUserSyncResultsServiceEnum = typeof GetUserSyncResultsServiceEnum[keyof typeof GetUserSyncResultsServiceEnum];
14361
14359
  /**
14362
14360
  * TermsOfServiceApi - axios parameter creator
@@ -15106,12 +15104,15 @@ export declare const TransfersApiAxiosParamCreator: (configuration?: Configurati
15106
15104
  * @summary Returns all existing transfers
15107
15105
  * @param {string} [fromDate] Start date for selected transfers (inclusive)
15108
15106
  * @param {string} [tillDate] End date for selected transfers (exclusive)
15107
+ * @param {number} [fromId] Filter transfers from this user ID
15108
+ * @param {number} [toId] Filter transfers to this user ID
15109
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
15109
15110
  * @param {number} [take] How many transfers the endpoint should return
15110
15111
  * @param {number} [skip] How many transfers should be skipped (for pagination)
15111
15112
  * @param {*} [options] Override http request option.
15112
15113
  * @throws {RequiredError}
15113
15114
  */
15114
- getAllTransfers: (fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15115
+ getAllTransfers: (fromDate?: string, tillDate?: string, fromId?: number, toId?: number, category?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15115
15116
  /**
15116
15117
  *
15117
15118
  * @summary Returns the requested transfer
@@ -15178,12 +15179,15 @@ export declare const TransfersApiFp: (configuration?: Configuration) => {
15178
15179
  * @summary Returns all existing transfers
15179
15180
  * @param {string} [fromDate] Start date for selected transfers (inclusive)
15180
15181
  * @param {string} [tillDate] End date for selected transfers (exclusive)
15182
+ * @param {number} [fromId] Filter transfers from this user ID
15183
+ * @param {number} [toId] Filter transfers to this user ID
15184
+ * @param {string} [category] Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
15181
15185
  * @param {number} [take] How many transfers the endpoint should return
15182
15186
  * @param {number} [skip] How many transfers should be skipped (for pagination)
15183
15187
  * @param {*} [options] Override http request option.
15184
15188
  * @throws {RequiredError}
15185
15189
  */
15186
- getAllTransfers(fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransferResponse>>>;
15190
+ getAllTransfers(fromDate?: string, tillDate?: string, fromId?: number, toId?: number, category?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedTransferResponse>>;
15187
15191
  /**
15188
15192
  *
15189
15193
  * @summary Returns the requested transfer
@@ -15252,7 +15256,7 @@ export declare const TransfersApiFactory: (configuration?: Configuration, basePa
15252
15256
  * @param {*} [options] Override http request option.
15253
15257
  * @throws {RequiredError}
15254
15258
  */
15255
- getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TransferResponse>>;
15259
+ getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedTransferResponse>;
15256
15260
  /**
15257
15261
  *
15258
15262
  * @summary Returns the requested transfer
@@ -15330,6 +15334,24 @@ export interface TransfersApiGetAllTransfersRequest {
15330
15334
  * @memberof TransfersApiGetAllTransfers
15331
15335
  */
15332
15336
  readonly tillDate?: string;
15337
+ /**
15338
+ * Filter transfers from this user ID
15339
+ * @type {number}
15340
+ * @memberof TransfersApiGetAllTransfers
15341
+ */
15342
+ readonly fromId?: number;
15343
+ /**
15344
+ * Filter transfers to this user ID
15345
+ * @type {number}
15346
+ * @memberof TransfersApiGetAllTransfers
15347
+ */
15348
+ readonly toId?: number;
15349
+ /**
15350
+ * Restrict to a specific transfer category: deposit, payoutRequest, sellerPayout, invoice, creditInvoice, fine, waivedFines, writeOff, inactiveAdministrativeCost, manualCreation, manualDeletion
15351
+ * @type {string}
15352
+ * @memberof TransfersApiGetAllTransfers
15353
+ */
15354
+ readonly category?: string;
15333
15355
  /**
15334
15356
  * How many transfers the endpoint should return
15335
15357
  * @type {number}
@@ -15470,7 +15492,7 @@ export declare class TransfersApi extends BaseAPI {
15470
15492
  * @throws {RequiredError}
15471
15493
  * @memberof TransfersApi
15472
15494
  */
15473
- getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransferResponse[], any, {}>>;
15495
+ getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedTransferResponse, any, {}>>;
15474
15496
  /**
15475
15497
  *
15476
15498
  * @summary Returns the requested transfer