@gewis/sudosos-client 0.0.0-develop.f7cceb2 → 0.0.0-develop.fcdff9b
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 +282 -293
- package/dist/api.js +35 -280
- package/package.json +3 -3
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
|
|
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
|
*/
|
|
@@ -3151,25 +3229,6 @@ export interface InvoiceUserResponse {
|
|
|
3151
3229
|
*/
|
|
3152
3230
|
'automatic': boolean;
|
|
3153
3231
|
}
|
|
3154
|
-
/**
|
|
3155
|
-
*
|
|
3156
|
-
* @export
|
|
3157
|
-
* @interface MemberAuthenticationPinRequest
|
|
3158
|
-
*/
|
|
3159
|
-
export interface MemberAuthenticationPinRequest {
|
|
3160
|
-
/**
|
|
3161
|
-
*
|
|
3162
|
-
* @type {number}
|
|
3163
|
-
* @memberof MemberAuthenticationPinRequest
|
|
3164
|
-
*/
|
|
3165
|
-
'memberId': number;
|
|
3166
|
-
/**
|
|
3167
|
-
*
|
|
3168
|
-
* @type {string}
|
|
3169
|
-
* @memberof MemberAuthenticationPinRequest
|
|
3170
|
-
*/
|
|
3171
|
-
'pin': string;
|
|
3172
|
-
}
|
|
3173
3232
|
/**
|
|
3174
3233
|
*
|
|
3175
3234
|
* @export
|
|
@@ -3265,6 +3324,25 @@ export interface PaginatedBaseEventResponse {
|
|
|
3265
3324
|
*/
|
|
3266
3325
|
'records': Array<BaseEventResponse>;
|
|
3267
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
|
+
}
|
|
3268
3346
|
/**
|
|
3269
3347
|
*
|
|
3270
3348
|
* @export
|
|
@@ -3304,7 +3382,7 @@ export interface PaginatedBaseTransactionResponse {
|
|
|
3304
3382
|
'records': Array<BaseTransactionResponse>;
|
|
3305
3383
|
}
|
|
3306
3384
|
/**
|
|
3307
|
-
*
|
|
3385
|
+
* Paginated API Response for the `container` entity.
|
|
3308
3386
|
* @export
|
|
3309
3387
|
* @interface PaginatedContainerResponse
|
|
3310
3388
|
*/
|
|
@@ -3323,7 +3401,7 @@ export interface PaginatedContainerResponse {
|
|
|
3323
3401
|
'records': Array<ContainerResponse>;
|
|
3324
3402
|
}
|
|
3325
3403
|
/**
|
|
3326
|
-
*
|
|
3404
|
+
* Paginated API Response for the `container` entity, with each container\'s products inlined.
|
|
3327
3405
|
* @export
|
|
3328
3406
|
* @interface PaginatedContainerWithProductResponse
|
|
3329
3407
|
*/
|
|
@@ -3437,7 +3515,7 @@ export interface PaginatedInvoiceResponse {
|
|
|
3437
3515
|
'records': Array<InvoiceResponseTypes>;
|
|
3438
3516
|
}
|
|
3439
3517
|
/**
|
|
3440
|
-
*
|
|
3518
|
+
* Paginated API Response for the `point of sale` entity.
|
|
3441
3519
|
* @export
|
|
3442
3520
|
* @interface PaginatedPointOfSaleResponse
|
|
3443
3521
|
*/
|
|
@@ -3456,7 +3534,7 @@ export interface PaginatedPointOfSaleResponse {
|
|
|
3456
3534
|
'records': Array<PointOfSaleResponse>;
|
|
3457
3535
|
}
|
|
3458
3536
|
/**
|
|
3459
|
-
*
|
|
3537
|
+
* Paginated API Response for the `product category` entity.
|
|
3460
3538
|
* @export
|
|
3461
3539
|
* @interface PaginatedProductCategoryResponse
|
|
3462
3540
|
*/
|
|
@@ -3475,7 +3553,7 @@ export interface PaginatedProductCategoryResponse {
|
|
|
3475
3553
|
'records': Array<ProductCategoryResponse>;
|
|
3476
3554
|
}
|
|
3477
3555
|
/**
|
|
3478
|
-
*
|
|
3556
|
+
* Paginated API Response for the `product` entity.
|
|
3479
3557
|
* @export
|
|
3480
3558
|
* @interface PaginatedProductResponse
|
|
3481
3559
|
*/
|
|
@@ -3570,7 +3648,7 @@ export interface PaginatedUserResponse {
|
|
|
3570
3648
|
'records': Array<UserResponse>;
|
|
3571
3649
|
}
|
|
3572
3650
|
/**
|
|
3573
|
-
*
|
|
3651
|
+
* Paginated API Response for the `vat group` entity.
|
|
3574
3652
|
* @export
|
|
3575
3653
|
* @interface PaginatedVatGroupResponse
|
|
3576
3654
|
*/
|
|
@@ -3695,6 +3773,31 @@ export interface PatchUserTypeRequest {
|
|
|
3695
3773
|
*/
|
|
3696
3774
|
'userType': string;
|
|
3697
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
|
+
}
|
|
3698
3801
|
/**
|
|
3699
3802
|
*
|
|
3700
3803
|
* @export
|
|
@@ -3902,7 +4005,7 @@ export interface PermissionResponse {
|
|
|
3902
4005
|
'actions': Array<ActionResponse>;
|
|
3903
4006
|
}
|
|
3904
4007
|
/**
|
|
3905
|
-
*
|
|
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).
|
|
3906
4009
|
* @export
|
|
3907
4010
|
* @interface PointOfSaleAssociateUsersResponse
|
|
3908
4011
|
*/
|
|
@@ -4055,7 +4158,7 @@ export interface PointOfSaleWithContainersResponse {
|
|
|
4055
4158
|
'containers': Array<ContainerWithProductsResponse>;
|
|
4056
4159
|
}
|
|
4057
4160
|
/**
|
|
4058
|
-
*
|
|
4161
|
+
* API Request for creating or updating a `product category` entity.
|
|
4059
4162
|
* @export
|
|
4060
4163
|
* @interface ProductCategoryRequest
|
|
4061
4164
|
*/
|
|
@@ -4219,6 +4322,56 @@ export interface ProductResponse {
|
|
|
4219
4322
|
*/
|
|
4220
4323
|
'priceList': boolean;
|
|
4221
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];
|
|
4222
4375
|
/**
|
|
4223
4376
|
*
|
|
4224
4377
|
* @export
|
|
@@ -5721,7 +5874,7 @@ export interface TransferSummaryResponse {
|
|
|
5721
5874
|
'manualDeletions': TransferAggregateResponse;
|
|
5722
5875
|
}
|
|
5723
5876
|
/**
|
|
5724
|
-
*
|
|
5877
|
+
* API Request for updating a `container` entity.
|
|
5725
5878
|
* @export
|
|
5726
5879
|
* @interface UpdateContainerRequest
|
|
5727
5880
|
*/
|
|
@@ -5971,7 +6124,7 @@ export interface UpdatePinRequest {
|
|
|
5971
6124
|
'pin': string;
|
|
5972
6125
|
}
|
|
5973
6126
|
/**
|
|
5974
|
-
*
|
|
6127
|
+
* API Request for updating a `point of sale` entity.
|
|
5975
6128
|
* @export
|
|
5976
6129
|
* @interface UpdatePointOfSaleRequest
|
|
5977
6130
|
*/
|
|
@@ -6008,7 +6161,7 @@ export interface UpdatePointOfSaleRequest {
|
|
|
6008
6161
|
'cashierRoleIds'?: Array<number>;
|
|
6009
6162
|
}
|
|
6010
6163
|
/**
|
|
6011
|
-
*
|
|
6164
|
+
* API Request for updating a `product` entity.
|
|
6012
6165
|
* @export
|
|
6013
6166
|
* @interface UpdateProductRequest
|
|
6014
6167
|
*/
|
|
@@ -6173,9 +6326,15 @@ export interface UpdateUserRequest {
|
|
|
6173
6326
|
* @memberof UpdateUserRequest
|
|
6174
6327
|
*/
|
|
6175
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;
|
|
6176
6335
|
}
|
|
6177
6336
|
/**
|
|
6178
|
-
*
|
|
6337
|
+
* API Request for updating an existing `vat group` entity. Only mutable fields; the rate itself cannot change on an existing group.
|
|
6179
6338
|
* @export
|
|
6180
6339
|
* @interface UpdateVatGroupRequest
|
|
6181
6340
|
*/
|
|
@@ -6389,6 +6548,12 @@ export interface UserResponse {
|
|
|
6389
6548
|
* @memberof UserResponse
|
|
6390
6549
|
*/
|
|
6391
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;
|
|
6392
6557
|
}
|
|
6393
6558
|
/**
|
|
6394
6559
|
*
|
|
@@ -6537,7 +6702,7 @@ export interface UserTypeTotalBalanceResponse {
|
|
|
6537
6702
|
'totalNegative': DineroObjectResponse;
|
|
6538
6703
|
}
|
|
6539
6704
|
/**
|
|
6540
|
-
*
|
|
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.
|
|
6541
6706
|
* @export
|
|
6542
6707
|
* @interface UserWithIndex
|
|
6543
6708
|
*/
|
|
@@ -6569,7 +6734,7 @@ export interface ValidationResponse {
|
|
|
6569
6734
|
'errors': Array<string>;
|
|
6570
6735
|
}
|
|
6571
6736
|
/**
|
|
6572
|
-
*
|
|
6737
|
+
* API Response for a complete VAT declaration — one result table for a given year and period, containing one {@link VatDeclarationRow} per VAT group.
|
|
6573
6738
|
* @export
|
|
6574
6739
|
* @interface VatDeclarationResponse
|
|
6575
6740
|
*/
|
|
@@ -6594,7 +6759,7 @@ export interface VatDeclarationResponse {
|
|
|
6594
6759
|
'rows': Array<VatDeclarationRow>;
|
|
6595
6760
|
}
|
|
6596
6761
|
/**
|
|
6597
|
-
*
|
|
6762
|
+
* One row of a VAT declaration — the VAT collected for a single group, broken down by period.
|
|
6598
6763
|
* @export
|
|
6599
6764
|
* @interface VatDeclarationRow
|
|
6600
6765
|
*/
|
|
@@ -7060,15 +7225,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
|
|
|
7060
7225
|
* @throws {RequiredError}
|
|
7061
7226
|
*/
|
|
7062
7227
|
confirmQRCode: (sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7063
|
-
/**
|
|
7064
|
-
*
|
|
7065
|
-
* @summary EAN login and hand out token
|
|
7066
|
-
* @param {AuthenticationEanRequest} authenticationEanRequest The EAN login.
|
|
7067
|
-
* @param {*} [options] Override http request option.
|
|
7068
|
-
* @deprecated
|
|
7069
|
-
* @throws {RequiredError}
|
|
7070
|
-
*/
|
|
7071
|
-
eanAuthentication: (authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7072
7228
|
/**
|
|
7073
7229
|
*
|
|
7074
7230
|
* @summary Generate a QR code for authentication
|
|
@@ -7138,15 +7294,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
|
|
|
7138
7294
|
* @throws {RequiredError}
|
|
7139
7295
|
*/
|
|
7140
7296
|
localAuthentication: (authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7141
|
-
/**
|
|
7142
|
-
*
|
|
7143
|
-
* @summary PIN login for members using memberId.
|
|
7144
|
-
* @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login.
|
|
7145
|
-
* @param {*} [options] Override http request option.
|
|
7146
|
-
* @deprecated
|
|
7147
|
-
* @throws {RequiredError}
|
|
7148
|
-
*/
|
|
7149
|
-
memberPinAuthentication: (memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7150
7297
|
/**
|
|
7151
7298
|
*
|
|
7152
7299
|
* @summary Mock login and hand out token.
|
|
@@ -7155,24 +7302,6 @@ export declare const AuthenticateApiAxiosParamCreator: (configuration?: Configur
|
|
|
7155
7302
|
* @throws {RequiredError}
|
|
7156
7303
|
*/
|
|
7157
7304
|
mockAuthentication: (authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7158
|
-
/**
|
|
7159
|
-
*
|
|
7160
|
-
* @summary NFC login and hand out token
|
|
7161
|
-
* @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login.
|
|
7162
|
-
* @param {*} [options] Override http request option.
|
|
7163
|
-
* @deprecated
|
|
7164
|
-
* @throws {RequiredError}
|
|
7165
|
-
*/
|
|
7166
|
-
nfcAuthentication: (authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7167
|
-
/**
|
|
7168
|
-
*
|
|
7169
|
-
* @summary PIN login and hand out token
|
|
7170
|
-
* @param {AuthenticationPinRequest} authenticationPinRequest The PIN login.
|
|
7171
|
-
* @param {*} [options] Override http request option.
|
|
7172
|
-
* @deprecated
|
|
7173
|
-
* @throws {RequiredError}
|
|
7174
|
-
*/
|
|
7175
|
-
pinAuthentication: (authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7176
7305
|
/**
|
|
7177
7306
|
*
|
|
7178
7307
|
* @summary Get a new JWT token, maintaining the same access level (posId) as the original token
|
|
@@ -7258,15 +7387,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
|
|
|
7258
7387
|
* @throws {RequiredError}
|
|
7259
7388
|
*/
|
|
7260
7389
|
confirmQRCode(sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
7261
|
-
/**
|
|
7262
|
-
*
|
|
7263
|
-
* @summary EAN login and hand out token
|
|
7264
|
-
* @param {AuthenticationEanRequest} authenticationEanRequest The EAN login.
|
|
7265
|
-
* @param {*} [options] Override http request option.
|
|
7266
|
-
* @deprecated
|
|
7267
|
-
* @throws {RequiredError}
|
|
7268
|
-
*/
|
|
7269
|
-
eanAuthentication(authenticationEanRequest: AuthenticationEanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
|
|
7270
7390
|
/**
|
|
7271
7391
|
*
|
|
7272
7392
|
* @summary Generate a QR code for authentication
|
|
@@ -7336,15 +7456,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
|
|
|
7336
7456
|
* @throws {RequiredError}
|
|
7337
7457
|
*/
|
|
7338
7458
|
localAuthentication(authenticationLocalRequest: AuthenticationLocalRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
|
|
7339
|
-
/**
|
|
7340
|
-
*
|
|
7341
|
-
* @summary PIN login for members using memberId.
|
|
7342
|
-
* @param {MemberAuthenticationPinRequest} memberAuthenticationPinRequest The PIN login.
|
|
7343
|
-
* @param {*} [options] Override http request option.
|
|
7344
|
-
* @deprecated
|
|
7345
|
-
* @throws {RequiredError}
|
|
7346
|
-
*/
|
|
7347
|
-
memberPinAuthentication(memberAuthenticationPinRequest: MemberAuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
|
|
7348
7459
|
/**
|
|
7349
7460
|
*
|
|
7350
7461
|
* @summary Mock login and hand out token.
|
|
@@ -7353,24 +7464,6 @@ export declare const AuthenticateApiFp: (configuration?: Configuration) => {
|
|
|
7353
7464
|
* @throws {RequiredError}
|
|
7354
7465
|
*/
|
|
7355
7466
|
mockAuthentication(authenticationMockRequest: AuthenticationMockRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
|
|
7356
|
-
/**
|
|
7357
|
-
*
|
|
7358
|
-
* @summary NFC login and hand out token
|
|
7359
|
-
* @param {AuthenticationNfcRequest} authenticationNfcRequest The NFC login.
|
|
7360
|
-
* @param {*} [options] Override http request option.
|
|
7361
|
-
* @deprecated
|
|
7362
|
-
* @throws {RequiredError}
|
|
7363
|
-
*/
|
|
7364
|
-
nfcAuthentication(authenticationNfcRequest: AuthenticationNfcRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
|
|
7365
|
-
/**
|
|
7366
|
-
*
|
|
7367
|
-
* @summary PIN login and hand out token
|
|
7368
|
-
* @param {AuthenticationPinRequest} authenticationPinRequest The PIN login.
|
|
7369
|
-
* @param {*} [options] Override http request option.
|
|
7370
|
-
* @deprecated
|
|
7371
|
-
* @throws {RequiredError}
|
|
7372
|
-
*/
|
|
7373
|
-
pinAuthentication(authenticationPinRequest: AuthenticationPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResponse>>;
|
|
7374
7467
|
/**
|
|
7375
7468
|
*
|
|
7376
7469
|
* @summary Get a new JWT token, maintaining the same access level (posId) as the original token
|
|
@@ -7456,15 +7549,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
|
|
|
7456
7549
|
* @throws {RequiredError}
|
|
7457
7550
|
*/
|
|
7458
7551
|
confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
7459
|
-
/**
|
|
7460
|
-
*
|
|
7461
|
-
* @summary EAN login and hand out token
|
|
7462
|
-
* @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
|
|
7463
|
-
* @param {*} [options] Override http request option.
|
|
7464
|
-
* @deprecated
|
|
7465
|
-
* @throws {RequiredError}
|
|
7466
|
-
*/
|
|
7467
|
-
eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
|
|
7468
7552
|
/**
|
|
7469
7553
|
*
|
|
7470
7554
|
* @summary Generate a QR code for authentication
|
|
@@ -7534,15 +7618,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
|
|
|
7534
7618
|
* @throws {RequiredError}
|
|
7535
7619
|
*/
|
|
7536
7620
|
localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
|
|
7537
|
-
/**
|
|
7538
|
-
*
|
|
7539
|
-
* @summary PIN login for members using memberId.
|
|
7540
|
-
* @param {AuthenticateApiMemberPinAuthenticationRequest} requestParameters Request parameters.
|
|
7541
|
-
* @param {*} [options] Override http request option.
|
|
7542
|
-
* @deprecated
|
|
7543
|
-
* @throws {RequiredError}
|
|
7544
|
-
*/
|
|
7545
|
-
memberPinAuthentication(requestParameters: AuthenticateApiMemberPinAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
|
|
7546
7621
|
/**
|
|
7547
7622
|
*
|
|
7548
7623
|
* @summary Mock login and hand out token.
|
|
@@ -7551,24 +7626,6 @@ export declare const AuthenticateApiFactory: (configuration?: Configuration, bas
|
|
|
7551
7626
|
* @throws {RequiredError}
|
|
7552
7627
|
*/
|
|
7553
7628
|
mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
|
|
7554
|
-
/**
|
|
7555
|
-
*
|
|
7556
|
-
* @summary NFC login and hand out token
|
|
7557
|
-
* @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
|
|
7558
|
-
* @param {*} [options] Override http request option.
|
|
7559
|
-
* @deprecated
|
|
7560
|
-
* @throws {RequiredError}
|
|
7561
|
-
*/
|
|
7562
|
-
nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
|
|
7563
|
-
/**
|
|
7564
|
-
*
|
|
7565
|
-
* @summary PIN login and hand out token
|
|
7566
|
-
* @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
|
|
7567
|
-
* @param {*} [options] Override http request option.
|
|
7568
|
-
* @deprecated
|
|
7569
|
-
* @throws {RequiredError}
|
|
7570
|
-
*/
|
|
7571
|
-
pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticationResponse>;
|
|
7572
7629
|
/**
|
|
7573
7630
|
*
|
|
7574
7631
|
* @summary Get a new JWT token, maintaining the same access level (posId) as the original token
|
|
@@ -7664,19 +7721,6 @@ export interface AuthenticateApiConfirmQRCodeRequest {
|
|
|
7664
7721
|
*/
|
|
7665
7722
|
readonly sessionId: string;
|
|
7666
7723
|
}
|
|
7667
|
-
/**
|
|
7668
|
-
* Request parameters for eanAuthentication operation in AuthenticateApi.
|
|
7669
|
-
* @export
|
|
7670
|
-
* @interface AuthenticateApiEanAuthenticationRequest
|
|
7671
|
-
*/
|
|
7672
|
-
export interface AuthenticateApiEanAuthenticationRequest {
|
|
7673
|
-
/**
|
|
7674
|
-
* The EAN login.
|
|
7675
|
-
* @type {AuthenticationEanRequest}
|
|
7676
|
-
* @memberof AuthenticateApiEanAuthentication
|
|
7677
|
-
*/
|
|
7678
|
-
readonly authenticationEanRequest: AuthenticationEanRequest;
|
|
7679
|
-
}
|
|
7680
7724
|
/**
|
|
7681
7725
|
* Request parameters for getQRStatus operation in AuthenticateApi.
|
|
7682
7726
|
* @export
|
|
@@ -7755,19 +7799,6 @@ export interface AuthenticateApiLocalAuthenticationRequest {
|
|
|
7755
7799
|
*/
|
|
7756
7800
|
readonly authenticationLocalRequest: AuthenticationLocalRequest;
|
|
7757
7801
|
}
|
|
7758
|
-
/**
|
|
7759
|
-
* Request parameters for memberPinAuthentication operation in AuthenticateApi.
|
|
7760
|
-
* @export
|
|
7761
|
-
* @interface AuthenticateApiMemberPinAuthenticationRequest
|
|
7762
|
-
*/
|
|
7763
|
-
export interface AuthenticateApiMemberPinAuthenticationRequest {
|
|
7764
|
-
/**
|
|
7765
|
-
* The PIN login.
|
|
7766
|
-
* @type {MemberAuthenticationPinRequest}
|
|
7767
|
-
* @memberof AuthenticateApiMemberPinAuthentication
|
|
7768
|
-
*/
|
|
7769
|
-
readonly memberAuthenticationPinRequest: MemberAuthenticationPinRequest;
|
|
7770
|
-
}
|
|
7771
7802
|
/**
|
|
7772
7803
|
* Request parameters for mockAuthentication operation in AuthenticateApi.
|
|
7773
7804
|
* @export
|
|
@@ -7781,32 +7812,6 @@ export interface AuthenticateApiMockAuthenticationRequest {
|
|
|
7781
7812
|
*/
|
|
7782
7813
|
readonly authenticationMockRequest: AuthenticationMockRequest;
|
|
7783
7814
|
}
|
|
7784
|
-
/**
|
|
7785
|
-
* Request parameters for nfcAuthentication operation in AuthenticateApi.
|
|
7786
|
-
* @export
|
|
7787
|
-
* @interface AuthenticateApiNfcAuthenticationRequest
|
|
7788
|
-
*/
|
|
7789
|
-
export interface AuthenticateApiNfcAuthenticationRequest {
|
|
7790
|
-
/**
|
|
7791
|
-
* The NFC login.
|
|
7792
|
-
* @type {AuthenticationNfcRequest}
|
|
7793
|
-
* @memberof AuthenticateApiNfcAuthentication
|
|
7794
|
-
*/
|
|
7795
|
-
readonly authenticationNfcRequest: AuthenticationNfcRequest;
|
|
7796
|
-
}
|
|
7797
|
-
/**
|
|
7798
|
-
* Request parameters for pinAuthentication operation in AuthenticateApi.
|
|
7799
|
-
* @export
|
|
7800
|
-
* @interface AuthenticateApiPinAuthenticationRequest
|
|
7801
|
-
*/
|
|
7802
|
-
export interface AuthenticateApiPinAuthenticationRequest {
|
|
7803
|
-
/**
|
|
7804
|
-
* The PIN login.
|
|
7805
|
-
* @type {AuthenticationPinRequest}
|
|
7806
|
-
* @memberof AuthenticateApiPinAuthentication
|
|
7807
|
-
*/
|
|
7808
|
-
readonly authenticationPinRequest: AuthenticationPinRequest;
|
|
7809
|
-
}
|
|
7810
7815
|
/**
|
|
7811
7816
|
* Request parameters for resetLocal operation in AuthenticateApi.
|
|
7812
7817
|
* @export
|
|
@@ -7919,16 +7924,6 @@ export declare class AuthenticateApi extends BaseAPI {
|
|
|
7919
7924
|
* @memberof AuthenticateApi
|
|
7920
7925
|
*/
|
|
7921
7926
|
confirmQRCode(requestParameters: AuthenticateApiConfirmQRCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
7922
|
-
/**
|
|
7923
|
-
*
|
|
7924
|
-
* @summary EAN login and hand out token
|
|
7925
|
-
* @param {AuthenticateApiEanAuthenticationRequest} requestParameters Request parameters.
|
|
7926
|
-
* @param {*} [options] Override http request option.
|
|
7927
|
-
* @deprecated
|
|
7928
|
-
* @throws {RequiredError}
|
|
7929
|
-
* @memberof AuthenticateApi
|
|
7930
|
-
*/
|
|
7931
|
-
eanAuthentication(requestParameters: AuthenticateApiEanAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
|
|
7932
7927
|
/**
|
|
7933
7928
|
*
|
|
7934
7929
|
* @summary Generate a QR code for authentication
|
|
@@ -8007,16 +8002,6 @@ export declare class AuthenticateApi extends BaseAPI {
|
|
|
8007
8002
|
* @memberof AuthenticateApi
|
|
8008
8003
|
*/
|
|
8009
8004
|
localAuthentication(requestParameters: AuthenticateApiLocalAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
|
|
8010
|
-
/**
|
|
8011
|
-
*
|
|
8012
|
-
* @summary PIN login for members using memberId.
|
|
8013
|
-
* @param {AuthenticateApiMemberPinAuthenticationRequest} requestParameters Request parameters.
|
|
8014
|
-
* @param {*} [options] Override http request option.
|
|
8015
|
-
* @deprecated
|
|
8016
|
-
* @throws {RequiredError}
|
|
8017
|
-
* @memberof AuthenticateApi
|
|
8018
|
-
*/
|
|
8019
|
-
memberPinAuthentication(requestParameters: AuthenticateApiMemberPinAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
|
|
8020
8005
|
/**
|
|
8021
8006
|
*
|
|
8022
8007
|
* @summary Mock login and hand out token.
|
|
@@ -8026,26 +8011,6 @@ export declare class AuthenticateApi extends BaseAPI {
|
|
|
8026
8011
|
* @memberof AuthenticateApi
|
|
8027
8012
|
*/
|
|
8028
8013
|
mockAuthentication(requestParameters: AuthenticateApiMockAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
|
|
8029
|
-
/**
|
|
8030
|
-
*
|
|
8031
|
-
* @summary NFC login and hand out token
|
|
8032
|
-
* @param {AuthenticateApiNfcAuthenticationRequest} requestParameters Request parameters.
|
|
8033
|
-
* @param {*} [options] Override http request option.
|
|
8034
|
-
* @deprecated
|
|
8035
|
-
* @throws {RequiredError}
|
|
8036
|
-
* @memberof AuthenticateApi
|
|
8037
|
-
*/
|
|
8038
|
-
nfcAuthentication(requestParameters: AuthenticateApiNfcAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
|
|
8039
|
-
/**
|
|
8040
|
-
*
|
|
8041
|
-
* @summary PIN login and hand out token
|
|
8042
|
-
* @param {AuthenticateApiPinAuthenticationRequest} requestParameters Request parameters.
|
|
8043
|
-
* @param {*} [options] Override http request option.
|
|
8044
|
-
* @deprecated
|
|
8045
|
-
* @throws {RequiredError}
|
|
8046
|
-
* @memberof AuthenticateApi
|
|
8047
|
-
*/
|
|
8048
|
-
pinAuthentication(requestParameters: AuthenticateApiPinAuthenticationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResponse, any, {}>>;
|
|
8049
8014
|
/**
|
|
8050
8015
|
*
|
|
8051
8016
|
* @summary Get a new JWT token, maintaining the same access level (posId) as the original token
|
|
@@ -10826,7 +10791,7 @@ export declare const InactiveAdministrativeCostsApiFp: (configuration?: Configur
|
|
|
10826
10791
|
* @param {*} [options] Override http request option.
|
|
10827
10792
|
* @throws {RequiredError}
|
|
10828
10793
|
*/
|
|
10829
|
-
handoutInactiveAdministrativeCostsUsers(handoutInactiveAdministrativeCostsRequest: HandoutInactiveAdministrativeCostsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
10794
|
+
handoutInactiveAdministrativeCostsUsers(handoutInactiveAdministrativeCostsRequest: HandoutInactiveAdministrativeCostsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InactiveAdministrativeCostResponse>>>;
|
|
10830
10795
|
/**
|
|
10831
10796
|
*
|
|
10832
10797
|
* @summary Notify all users which will pay administrative costs within a year
|
|
@@ -10904,7 +10869,7 @@ export declare const InactiveAdministrativeCostsApiFactory: (configuration?: Con
|
|
|
10904
10869
|
* @param {*} [options] Override http request option.
|
|
10905
10870
|
* @throws {RequiredError}
|
|
10906
10871
|
*/
|
|
10907
|
-
handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
10872
|
+
handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InactiveAdministrativeCostResponse>>;
|
|
10908
10873
|
/**
|
|
10909
10874
|
*
|
|
10910
10875
|
* @summary Notify all users which will pay administrative costs within a year
|
|
@@ -11127,7 +11092,7 @@ export declare class InactiveAdministrativeCostsApi extends BaseAPI {
|
|
|
11127
11092
|
* @throws {RequiredError}
|
|
11128
11093
|
* @memberof InactiveAdministrativeCostsApi
|
|
11129
11094
|
*/
|
|
11130
|
-
handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
11095
|
+
handoutInactiveAdministrativeCostsUsers(requestParameters: InactiveAdministrativeCostsApiHandoutInactiveAdministrativeCostsUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InactiveAdministrativeCostResponse[], any, {}>>;
|
|
11131
11096
|
/**
|
|
11132
11097
|
*
|
|
11133
11098
|
* @summary Notify all users which will pay administrative costs within a year
|
|
@@ -11299,7 +11264,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
11299
11264
|
* @param {*} [options] Override http request option.
|
|
11300
11265
|
* @throws {RequiredError}
|
|
11301
11266
|
*/
|
|
11302
|
-
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>>>;
|
|
11303
11268
|
/**
|
|
11304
11269
|
*
|
|
11305
11270
|
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
@@ -11396,7 +11361,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
11396
11361
|
* @param {*} [options] Override http request option.
|
|
11397
11362
|
* @throws {RequiredError}
|
|
11398
11363
|
*/
|
|
11399
|
-
getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TransactionResponse
|
|
11364
|
+
getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TransactionResponse>>;
|
|
11400
11365
|
/**
|
|
11401
11366
|
*
|
|
11402
11367
|
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
@@ -11710,7 +11675,7 @@ export declare class InvoicesApi extends BaseAPI {
|
|
|
11710
11675
|
* @throws {RequiredError}
|
|
11711
11676
|
* @memberof InvoicesApi
|
|
11712
11677
|
*/
|
|
11713
|
-
getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse, any, {}>>;
|
|
11678
|
+
getEligibleTransactions(requestParameters: InvoicesApiGetEligibleTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionResponse[], any, {}>>;
|
|
11714
11679
|
/**
|
|
11715
11680
|
*
|
|
11716
11681
|
* @summary Returns all invoices with transfer amount drift: for active invoices transfer != row sum; for deleted invoices transfer != credit transfer.
|
|
@@ -15139,12 +15104,15 @@ export declare const TransfersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
15139
15104
|
* @summary Returns all existing transfers
|
|
15140
15105
|
* @param {string} [fromDate] Start date for selected transfers (inclusive)
|
|
15141
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
|
|
15142
15110
|
* @param {number} [take] How many transfers the endpoint should return
|
|
15143
15111
|
* @param {number} [skip] How many transfers should be skipped (for pagination)
|
|
15144
15112
|
* @param {*} [options] Override http request option.
|
|
15145
15113
|
* @throws {RequiredError}
|
|
15146
15114
|
*/
|
|
15147
|
-
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>;
|
|
15148
15116
|
/**
|
|
15149
15117
|
*
|
|
15150
15118
|
* @summary Returns the requested transfer
|
|
@@ -15211,12 +15179,15 @@ export declare const TransfersApiFp: (configuration?: Configuration) => {
|
|
|
15211
15179
|
* @summary Returns all existing transfers
|
|
15212
15180
|
* @param {string} [fromDate] Start date for selected transfers (inclusive)
|
|
15213
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
|
|
15214
15185
|
* @param {number} [take] How many transfers the endpoint should return
|
|
15215
15186
|
* @param {number} [skip] How many transfers should be skipped (for pagination)
|
|
15216
15187
|
* @param {*} [options] Override http request option.
|
|
15217
15188
|
* @throws {RequiredError}
|
|
15218
15189
|
*/
|
|
15219
|
-
getAllTransfers(fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
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>>;
|
|
15220
15191
|
/**
|
|
15221
15192
|
*
|
|
15222
15193
|
* @summary Returns the requested transfer
|
|
@@ -15285,7 +15256,7 @@ export declare const TransfersApiFactory: (configuration?: Configuration, basePa
|
|
|
15285
15256
|
* @param {*} [options] Override http request option.
|
|
15286
15257
|
* @throws {RequiredError}
|
|
15287
15258
|
*/
|
|
15288
|
-
getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
15259
|
+
getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedTransferResponse>;
|
|
15289
15260
|
/**
|
|
15290
15261
|
*
|
|
15291
15262
|
* @summary Returns the requested transfer
|
|
@@ -15363,6 +15334,24 @@ export interface TransfersApiGetAllTransfersRequest {
|
|
|
15363
15334
|
* @memberof TransfersApiGetAllTransfers
|
|
15364
15335
|
*/
|
|
15365
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;
|
|
15366
15355
|
/**
|
|
15367
15356
|
* How many transfers the endpoint should return
|
|
15368
15357
|
* @type {number}
|
|
@@ -15503,7 +15492,7 @@ export declare class TransfersApi extends BaseAPI {
|
|
|
15503
15492
|
* @throws {RequiredError}
|
|
15504
15493
|
* @memberof TransfersApi
|
|
15505
15494
|
*/
|
|
15506
|
-
getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
15495
|
+
getAllTransfers(requestParameters?: TransfersApiGetAllTransfersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedTransferResponse, any, {}>>;
|
|
15507
15496
|
/**
|
|
15508
15497
|
*
|
|
15509
15498
|
* @summary Returns the requested transfer
|