@firmenakte/api-client 2.42.0 → 2.44.0
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/package.json +1 -1
- package/v2/generated/index.d.ts +1 -1
- package/v2/generated/index.d.ts.map +1 -1
- package/v2/generated/sdk.gen.d.ts +47 -5
- package/v2/generated/sdk.gen.d.ts.map +1 -1
- package/v2/generated/sdk.gen.js +100 -4
- package/v2/generated/types.gen.d.ts +730 -53
- package/v2/generated/types.gen.d.ts.map +1 -1
|
@@ -219,6 +219,18 @@ export type BankAccountDto = {
|
|
|
219
219
|
* The list of its bookings.
|
|
220
220
|
*/
|
|
221
221
|
listId?: null | string;
|
|
222
|
+
/**
|
|
223
|
+
* bank, cash, card or provider. It only names the Konto: every kind takes statements, bookings by hand and a connection.
|
|
224
|
+
*/
|
|
225
|
+
kind: string;
|
|
226
|
+
/**
|
|
227
|
+
* The last day a Kontoauszug read into this Konto covers; null before the first.
|
|
228
|
+
*/
|
|
229
|
+
statementUntil?: null | string;
|
|
230
|
+
/**
|
|
231
|
+
* Optional BIC; an invoice naming this Konto prints it beside the IBAN.
|
|
232
|
+
*/
|
|
233
|
+
bic?: null | string;
|
|
222
234
|
};
|
|
223
235
|
export type BankAssignInput = {
|
|
224
236
|
/**
|
|
@@ -234,6 +246,109 @@ export type BankAssignInput = {
|
|
|
234
246
|
*/
|
|
235
247
|
reason?: null | string;
|
|
236
248
|
};
|
|
249
|
+
export type BankBookingInput = {
|
|
250
|
+
/**
|
|
251
|
+
* The row's ID, unique per Konto: a statement line's externalId, else a key of your own. A repeat is skipped, so a retry creates nothing twice.
|
|
252
|
+
*/
|
|
253
|
+
externalId: string;
|
|
254
|
+
bookingDate: string;
|
|
255
|
+
/**
|
|
256
|
+
* Signed, in cents: money in is positive.
|
|
257
|
+
*/
|
|
258
|
+
amountCents: number;
|
|
259
|
+
counterparty?: null | BankCounterpartyDto;
|
|
260
|
+
/**
|
|
261
|
+
* Verwendungszweck.
|
|
262
|
+
*/
|
|
263
|
+
reference?: null | string;
|
|
264
|
+
/**
|
|
265
|
+
* Valuta; the booking date if omitted.
|
|
266
|
+
*/
|
|
267
|
+
valueDate?: null | string;
|
|
268
|
+
endToEndId?: null | string;
|
|
269
|
+
/**
|
|
270
|
+
* The number of the statement in statements the line is from; without it the row is a booking by hand.
|
|
271
|
+
*/
|
|
272
|
+
statement?: null | string;
|
|
273
|
+
};
|
|
274
|
+
export type BankCandidateDto = {
|
|
275
|
+
/**
|
|
276
|
+
* invoice or receipt.
|
|
277
|
+
*/
|
|
278
|
+
kind: string;
|
|
279
|
+
id: string;
|
|
280
|
+
/**
|
|
281
|
+
* What it is: Rechnung or Beleg with its number.
|
|
282
|
+
*/
|
|
283
|
+
label: string;
|
|
284
|
+
number?: null | string;
|
|
285
|
+
/**
|
|
286
|
+
* The customer of an invoice, the supplier of a receipt.
|
|
287
|
+
*/
|
|
288
|
+
partnerName?: null | string;
|
|
289
|
+
/**
|
|
290
|
+
* What is still open, in cents, signed like a booking: an invoice expects money in.
|
|
291
|
+
*/
|
|
292
|
+
openCents: number;
|
|
293
|
+
currency: string;
|
|
294
|
+
date: string;
|
|
295
|
+
/**
|
|
296
|
+
* What fits: amount (the open amount exactly), number (its number in the reference), numberPart (the number's last digits in the reference), partner (the counterparty's name), iban (the partner's IBAN), date (booked within days of it), account (on the own Konto the invoice asks to be paid to).
|
|
297
|
+
*/
|
|
298
|
+
reasons: Array<string>;
|
|
299
|
+
/**
|
|
300
|
+
* The text of the booking's reference that names it, to highlight.
|
|
301
|
+
*/
|
|
302
|
+
mark?: null | string;
|
|
303
|
+
/**
|
|
304
|
+
* A part payment: what stays open after this booking, in cents.
|
|
305
|
+
*/
|
|
306
|
+
remainderCents?: null | number;
|
|
307
|
+
};
|
|
308
|
+
export type BankConnectionDto = {
|
|
309
|
+
accountId: string;
|
|
310
|
+
/**
|
|
311
|
+
* stripe, or null while the Konto is not connected.
|
|
312
|
+
*/
|
|
313
|
+
provider?: null | string;
|
|
314
|
+
/**
|
|
315
|
+
* none (not connected), connected, or error (only a person can fix it: see error).
|
|
316
|
+
*/
|
|
317
|
+
status: string;
|
|
318
|
+
/**
|
|
319
|
+
* key (a restricted Stripe key) or oauth (Stripe's read_only consent).
|
|
320
|
+
*/
|
|
321
|
+
method?: null | string;
|
|
322
|
+
/**
|
|
323
|
+
* The connected Stripe account (acct_…) of an oauth connection.
|
|
324
|
+
*/
|
|
325
|
+
externalAccountId?: null | string;
|
|
326
|
+
/**
|
|
327
|
+
* The own Konto payouts go to: a payout is a transfer there and its statement line is matched to it.
|
|
328
|
+
*/
|
|
329
|
+
payoutAccountId?: null | string;
|
|
330
|
+
/**
|
|
331
|
+
* When bookings were last pulled, successful or not.
|
|
332
|
+
*/
|
|
333
|
+
lastSyncAt?: null | string;
|
|
334
|
+
/**
|
|
335
|
+
* When the last pull succeeded.
|
|
336
|
+
*/
|
|
337
|
+
lastSuccessAt?: null | string;
|
|
338
|
+
/**
|
|
339
|
+
* The last pull's failure: invalid_key, missing_permission, revoked or unavailable.
|
|
340
|
+
*/
|
|
341
|
+
error?: null | string;
|
|
342
|
+
/**
|
|
343
|
+
* What failed and the next step, in German.
|
|
344
|
+
*/
|
|
345
|
+
errorMessage?: null | string;
|
|
346
|
+
/**
|
|
347
|
+
* Whether this server offers connecting through Stripe's consent page (startBankStripeOAuth).
|
|
348
|
+
*/
|
|
349
|
+
oauthAvailable: boolean;
|
|
350
|
+
connectedAt?: null | string;
|
|
351
|
+
};
|
|
237
352
|
export type BankCounterpartyDto = {
|
|
238
353
|
name: null | string;
|
|
239
354
|
iban: null | string;
|
|
@@ -264,13 +379,17 @@ export type BankMatchDto = {
|
|
|
264
379
|
*/
|
|
265
380
|
by: string;
|
|
266
381
|
/**
|
|
267
|
-
*
|
|
382
|
+
* How sure: sicher or eventuell. A rule's hit is sicher, its weaker proposal eventuell.
|
|
268
383
|
*/
|
|
269
384
|
confidence?: null | string;
|
|
270
385
|
/**
|
|
271
|
-
* A sure
|
|
386
|
+
* A sure hit taken over without a person: cancelBankAutoMatch turns it back into a proposal.
|
|
272
387
|
*/
|
|
273
388
|
auto: boolean;
|
|
389
|
+
/**
|
|
390
|
+
* What fits an invoice or receipt, as in BankCandidateDto.reasons; a transfer by IBAN is iban.
|
|
391
|
+
*/
|
|
392
|
+
reasons: Array<string>;
|
|
274
393
|
};
|
|
275
394
|
export type BankSettingsDto = {
|
|
276
395
|
/**
|
|
@@ -278,7 +397,7 @@ export type BankSettingsDto = {
|
|
|
278
397
|
*/
|
|
279
398
|
aiMatch: boolean;
|
|
280
399
|
/**
|
|
281
|
-
* sicher: a sure AI
|
|
400
|
+
* sicher: a sure hit of a rule or the AI is taken over (and can be undone); nie: every hit waits for a person.
|
|
282
401
|
*/
|
|
283
402
|
autoAccept: string;
|
|
284
403
|
};
|
|
@@ -286,7 +405,7 @@ export type BankTransactionDto = {
|
|
|
286
405
|
id: string;
|
|
287
406
|
accountId: string;
|
|
288
407
|
/**
|
|
289
|
-
* How it came in: api, camt or
|
|
408
|
+
* How it came in: api, camt, manual or stripe (a connected Stripe account).
|
|
290
409
|
*/
|
|
291
410
|
via: string;
|
|
292
411
|
/**
|
|
@@ -304,7 +423,7 @@ export type BankTransactionDto = {
|
|
|
304
423
|
reference?: null | string;
|
|
305
424
|
endToEndId?: null | string;
|
|
306
425
|
/**
|
|
307
|
-
* charge, refund, fee, payout or
|
|
426
|
+
* charge, refund, fee, payout, transfer or dispute.
|
|
308
427
|
*/
|
|
309
428
|
kind: string;
|
|
310
429
|
/**
|
|
@@ -326,6 +445,10 @@ export type BankTransactionDto = {
|
|
|
326
445
|
editable: boolean;
|
|
327
446
|
match?: null | BankMatchDto;
|
|
328
447
|
createdAt: string;
|
|
448
|
+
/**
|
|
449
|
+
* While nothing is assigned: the invoices and receipts it can pay, best first, at most four; a proposal's target first. Empty once assigned.
|
|
450
|
+
*/
|
|
451
|
+
candidates: Array<BankCandidateDto>;
|
|
329
452
|
};
|
|
330
453
|
export type BankTransactionInput = {
|
|
331
454
|
/**
|
|
@@ -352,7 +475,7 @@ export type BankTransactionInput = {
|
|
|
352
475
|
reference?: null | string;
|
|
353
476
|
endToEndId?: null | string;
|
|
354
477
|
/**
|
|
355
|
-
* charge (default), refund, fee or
|
|
478
|
+
* charge (default), refund, fee, payout or dispute.
|
|
356
479
|
*/
|
|
357
480
|
kind?: null | string;
|
|
358
481
|
/**
|
|
@@ -566,7 +689,7 @@ export type BillingNumbersDto = {
|
|
|
566
689
|
*/
|
|
567
690
|
paymentDaysField?: null | string;
|
|
568
691
|
/**
|
|
569
|
-
* Field key of a text field
|
|
692
|
+
* Field key of a text field once read as the partner's IBAN; no longer read since an invoice names the Absender's Konto or its own IBAN (#3397).
|
|
570
693
|
*/
|
|
571
694
|
ibanField?: null | string;
|
|
572
695
|
/**
|
|
@@ -638,6 +761,9 @@ export type BillingSenderDto = {
|
|
|
638
761
|
* details only: none, pending, verified, rejected or revoked. Sending by e-mail or post needs verified.
|
|
639
762
|
*/
|
|
640
763
|
verification?: null | string;
|
|
764
|
+
/**
|
|
765
|
+
* The IBAN its invoices print: the one of the Konto in accountId.
|
|
766
|
+
*/
|
|
641
767
|
iban?: null | string;
|
|
642
768
|
bic?: null | string;
|
|
643
769
|
paymentDays: number;
|
|
@@ -649,6 +775,10 @@ export type BillingSenderDto = {
|
|
|
649
775
|
nextSequence: number;
|
|
650
776
|
footer?: null | string;
|
|
651
777
|
smallBusiness: boolean;
|
|
778
|
+
/**
|
|
779
|
+
* The Konto („Zahlung auf“) its invoices name for payment, a bank account with an IBAN; null for none.
|
|
780
|
+
*/
|
|
781
|
+
accountId?: null | string;
|
|
652
782
|
};
|
|
653
783
|
export type BillingSetupDto = {
|
|
654
784
|
senders: Array<BillingSenderDto>;
|
|
@@ -750,6 +880,59 @@ export type CamtImportResultDto = {
|
|
|
750
880
|
*/
|
|
751
881
|
gaps: Array<string>;
|
|
752
882
|
warnings: Array<string>;
|
|
883
|
+
/**
|
|
884
|
+
* New bookings assigned without a person; the rest of created waits.
|
|
885
|
+
*/
|
|
886
|
+
assigned: number;
|
|
887
|
+
};
|
|
888
|
+
export type CamtPreviewDto = {
|
|
889
|
+
/**
|
|
890
|
+
* The IBAN the file is for; null when it names none.
|
|
891
|
+
*/
|
|
892
|
+
iban?: null | string;
|
|
893
|
+
/**
|
|
894
|
+
* The Konto with that IBAN, else the one asked for; null when no Konto has the IBAN: create one with it.
|
|
895
|
+
*/
|
|
896
|
+
accountId?: null | string;
|
|
897
|
+
statements: Array<CamtStatementDto>;
|
|
898
|
+
lines: Array<CamtPreviewLineDto>;
|
|
899
|
+
/**
|
|
900
|
+
* Statement numbers missing between those of the Konto and the file's.
|
|
901
|
+
*/
|
|
902
|
+
gaps: Array<string>;
|
|
903
|
+
warnings: Array<string>;
|
|
904
|
+
};
|
|
905
|
+
export type CamtPreviewLineDto = {
|
|
906
|
+
/**
|
|
907
|
+
* The bank's reference (AcctSvcrRef), the line's externalId.
|
|
908
|
+
*/
|
|
909
|
+
externalId: string;
|
|
910
|
+
/**
|
|
911
|
+
* The number of the statement it is on.
|
|
912
|
+
*/
|
|
913
|
+
statement: string;
|
|
914
|
+
bookingDate: string;
|
|
915
|
+
valueDate: string;
|
|
916
|
+
/**
|
|
917
|
+
* Signed, in cents: money in is positive.
|
|
918
|
+
*/
|
|
919
|
+
amountCents: number;
|
|
920
|
+
currency: string;
|
|
921
|
+
counterparty: BankCounterpartyDto;
|
|
922
|
+
reference?: null | string;
|
|
923
|
+
endToEndId?: null | string;
|
|
924
|
+
/**
|
|
925
|
+
* The Konto has this line already (same bank reference, as addBankStatement skips it); it is not booked again.
|
|
926
|
+
*/
|
|
927
|
+
duplicate: boolean;
|
|
928
|
+
};
|
|
929
|
+
export type CamtStatementDto = {
|
|
930
|
+
/**
|
|
931
|
+
* LglSeqNb, such as 007/2026.
|
|
932
|
+
*/
|
|
933
|
+
number: string;
|
|
934
|
+
periodFrom: string;
|
|
935
|
+
periodTo: string;
|
|
753
936
|
};
|
|
754
937
|
export type CancelInvoiceBody = {
|
|
755
938
|
/**
|
|
@@ -944,6 +1127,7 @@ export type ChangeEntry = {
|
|
|
944
1127
|
detail: string;
|
|
945
1128
|
fieldsChanged: Array<string>;
|
|
946
1129
|
data: ChangeData;
|
|
1130
|
+
source?: null | SourceKey;
|
|
947
1131
|
};
|
|
948
1132
|
export type ChangeSubject = {
|
|
949
1133
|
id: string;
|
|
@@ -1447,6 +1631,14 @@ export type CreateBankAccountRequest = {
|
|
|
1447
1631
|
* The balance before the first booking, in cents.
|
|
1448
1632
|
*/
|
|
1449
1633
|
openingBalanceCents?: number;
|
|
1634
|
+
/**
|
|
1635
|
+
* bank (default), cash, card or provider.
|
|
1636
|
+
*/
|
|
1637
|
+
kind?: null | string;
|
|
1638
|
+
/**
|
|
1639
|
+
* Optional, 8 or 11 characters such as GIBAATWW.
|
|
1640
|
+
*/
|
|
1641
|
+
bic?: null | string;
|
|
1450
1642
|
};
|
|
1451
1643
|
export type CreateBankTransactionRequest = {
|
|
1452
1644
|
accountId: string;
|
|
@@ -1464,6 +1656,43 @@ export type CreateBankTransactionRequest = {
|
|
|
1464
1656
|
transferTo?: null | string;
|
|
1465
1657
|
assign?: null | BankAssignInput;
|
|
1466
1658
|
};
|
|
1659
|
+
export type CreateBankTransactionsRequest = {
|
|
1660
|
+
accountId: string;
|
|
1661
|
+
/**
|
|
1662
|
+
* 1 to 500 rows.
|
|
1663
|
+
*/
|
|
1664
|
+
bookings: Array<BankBookingInput>;
|
|
1665
|
+
/**
|
|
1666
|
+
* The statements the rows come from, as previewBankStatement read them; each one is recorded on the Konto.
|
|
1667
|
+
*/
|
|
1668
|
+
statements?: null | Array<CamtStatementDto>;
|
|
1669
|
+
/**
|
|
1670
|
+
* The IBAN of the statement; refused when the Konto has another.
|
|
1671
|
+
*/
|
|
1672
|
+
iban?: null | string;
|
|
1673
|
+
};
|
|
1674
|
+
export type CreateBankTransactionsResult = {
|
|
1675
|
+
/**
|
|
1676
|
+
* Bookings created.
|
|
1677
|
+
*/
|
|
1678
|
+
created: number;
|
|
1679
|
+
/**
|
|
1680
|
+
* externalIds the Konto had, skipped.
|
|
1681
|
+
*/
|
|
1682
|
+
skipped: Array<string>;
|
|
1683
|
+
/**
|
|
1684
|
+
* New bookings the Abgleich assigned or proposed something for.
|
|
1685
|
+
*/
|
|
1686
|
+
matched: number;
|
|
1687
|
+
/**
|
|
1688
|
+
* New bookings assigned without a person.
|
|
1689
|
+
*/
|
|
1690
|
+
assigned: number;
|
|
1691
|
+
/**
|
|
1692
|
+
* Statement numbers missing between those read so far.
|
|
1693
|
+
*/
|
|
1694
|
+
gaps: Array<string>;
|
|
1695
|
+
};
|
|
1467
1696
|
export type CreateBillingDocumentRequest = {
|
|
1468
1697
|
/**
|
|
1469
1698
|
* One PDF or image, or several photos of one receipt (pages in order), which become one PDF.
|
|
@@ -1624,6 +1853,11 @@ export type CursorPageOfBankAccountDto = {
|
|
|
1624
1853
|
nextCursor?: null | string;
|
|
1625
1854
|
total?: null | number;
|
|
1626
1855
|
};
|
|
1856
|
+
export type CursorPageOfBankCandidateDto = {
|
|
1857
|
+
items: Array<BankCandidateDto>;
|
|
1858
|
+
nextCursor?: null | string;
|
|
1859
|
+
total?: null | number;
|
|
1860
|
+
};
|
|
1627
1861
|
export type CursorPageOfBankTransactionDto = {
|
|
1628
1862
|
items: Array<BankTransactionDto>;
|
|
1629
1863
|
nextCursor?: null | string;
|
|
@@ -2197,6 +2431,10 @@ export type ImportBankTransactionsResult = {
|
|
|
2197
2431
|
* New bookings the matching assigned or proposed something for.
|
|
2198
2432
|
*/
|
|
2199
2433
|
matched: number;
|
|
2434
|
+
/**
|
|
2435
|
+
* New bookings assigned without a person: nothing left to do for them.
|
|
2436
|
+
*/
|
|
2437
|
+
assigned: number;
|
|
2200
2438
|
};
|
|
2201
2439
|
export type ImportCamtRequest = {
|
|
2202
2440
|
accountId: string;
|
|
@@ -2664,8 +2902,17 @@ export type LetterPreviewDto = {
|
|
|
2664
2902
|
qrText?: null | string;
|
|
2665
2903
|
};
|
|
2666
2904
|
export type LetterPricesDto = {
|
|
2905
|
+
/**
|
|
2906
|
+
* One letter, with up to one attachment.
|
|
2907
|
+
*/
|
|
2667
2908
|
letter: number;
|
|
2909
|
+
/**
|
|
2910
|
+
* Each attachment after the first.
|
|
2911
|
+
*/
|
|
2668
2912
|
attachment: number;
|
|
2913
|
+
/**
|
|
2914
|
+
* Each sheet from the third (printed duplex).
|
|
2915
|
+
*/
|
|
2669
2916
|
sheet: number;
|
|
2670
2917
|
weeklySharePercent: number;
|
|
2671
2918
|
};
|
|
@@ -2971,6 +3218,10 @@ export type MatchBankTransactionsRequest = {
|
|
|
2971
3218
|
export type MatchBankTransactionsResult = {
|
|
2972
3219
|
matched: number;
|
|
2973
3220
|
};
|
|
3221
|
+
export type MeClassPricesDto = {
|
|
3222
|
+
basic: number;
|
|
3223
|
+
expensive: number;
|
|
3224
|
+
};
|
|
2974
3225
|
export type MeCreditsDto = {
|
|
2975
3226
|
week: string;
|
|
2976
3227
|
allowance: number;
|
|
@@ -2979,6 +3230,7 @@ export type MeCreditsDto = {
|
|
|
2979
3230
|
balance: number;
|
|
2980
3231
|
resetsAt: string;
|
|
2981
3232
|
prices: CreditPrices;
|
|
3233
|
+
classes?: null | MeClassPricesDto;
|
|
2982
3234
|
};
|
|
2983
3235
|
export type MeDto = {
|
|
2984
3236
|
workspace: MeWorkspaceDto;
|
|
@@ -3274,6 +3526,16 @@ export type PersonSearchSort = {
|
|
|
3274
3526
|
by?: string;
|
|
3275
3527
|
direction?: string;
|
|
3276
3528
|
};
|
|
3529
|
+
export type PreviewCamtRequest = {
|
|
3530
|
+
/**
|
|
3531
|
+
* The CAMT.053 XML file, base64, at most 10 MB.
|
|
3532
|
+
*/
|
|
3533
|
+
contentBase64: string;
|
|
3534
|
+
/**
|
|
3535
|
+
* The Konto chosen on the page. The file's IBAN decides; this counts where the file names none, or this Konto has none.
|
|
3536
|
+
*/
|
|
3537
|
+
accountId?: null | string;
|
|
3538
|
+
};
|
|
3277
3539
|
export type Problem = {
|
|
3278
3540
|
type: string;
|
|
3279
3541
|
title: string;
|
|
@@ -4089,8 +4351,17 @@ export type SelectionHandle = {
|
|
|
4089
4351
|
};
|
|
4090
4352
|
export type SenderSettingsBody = {
|
|
4091
4353
|
senderId: string;
|
|
4354
|
+
/**
|
|
4355
|
+
* Used when accountId is not sent: the Konto with this IBAN becomes „Zahlung auf“, created as a bank account if there is none; empty or null removes it.
|
|
4356
|
+
*/
|
|
4092
4357
|
iban?: null | string;
|
|
4358
|
+
/**
|
|
4359
|
+
* Used with iban when accountId is not sent: it becomes that Konto's BIC.
|
|
4360
|
+
*/
|
|
4093
4361
|
bic?: null | string;
|
|
4362
|
+
/**
|
|
4363
|
+
* Overrides the Absender's UID from the Firmenbuch or the Rechnungsdaten ohne Firma; an empty string removes the override, omitted keeps it.
|
|
4364
|
+
*/
|
|
4094
4365
|
uid?: null | string;
|
|
4095
4366
|
paymentDays?: null | number;
|
|
4096
4367
|
/**
|
|
@@ -4109,6 +4380,10 @@ export type SenderSettingsBody = {
|
|
|
4109
4380
|
* Kleinunternehmer (§ 6 Abs. 1 Z 27 UStG): no VAT, and the note on the invoice.
|
|
4110
4381
|
*/
|
|
4111
4382
|
smallBusiness?: null | boolean;
|
|
4383
|
+
/**
|
|
4384
|
+
* The Konto invoices name for payment, one with an IBAN; an empty string removes it. Takes precedence over iban.
|
|
4385
|
+
*/
|
|
4386
|
+
accountId?: null | string;
|
|
4112
4387
|
};
|
|
4113
4388
|
export type SendInvoiceBody = {
|
|
4114
4389
|
/**
|
|
@@ -4169,6 +4444,20 @@ export type StoredResultReference = {
|
|
|
4169
4444
|
bytes: number;
|
|
4170
4445
|
expiresAt: string;
|
|
4171
4446
|
};
|
|
4447
|
+
export type SyncBankConnectionResult = {
|
|
4448
|
+
/**
|
|
4449
|
+
* Bookings created; one already there is skipped.
|
|
4450
|
+
*/
|
|
4451
|
+
created: number;
|
|
4452
|
+
/**
|
|
4453
|
+
* New bookings assigned or proposed, fees and payouts included.
|
|
4454
|
+
*/
|
|
4455
|
+
matched: number;
|
|
4456
|
+
/**
|
|
4457
|
+
* The connection after the pull; error says why a pull failed.
|
|
4458
|
+
*/
|
|
4459
|
+
connection: BankConnectionDto;
|
|
4460
|
+
};
|
|
4172
4461
|
export type SyncedCell = {
|
|
4173
4462
|
value: any;
|
|
4174
4463
|
asOf?: null | string;
|
|
@@ -4242,6 +4531,20 @@ export type UpdateBankAccountBody = {
|
|
|
4242
4531
|
*/
|
|
4243
4532
|
iban?: null | string;
|
|
4244
4533
|
openingBalanceCents?: null | number;
|
|
4534
|
+
/**
|
|
4535
|
+
* bank, cash, card or provider.
|
|
4536
|
+
*/
|
|
4537
|
+
kind?: null | string;
|
|
4538
|
+
/**
|
|
4539
|
+
* 8 or 11 characters; an empty string removes it.
|
|
4540
|
+
*/
|
|
4541
|
+
bic?: null | string;
|
|
4542
|
+
};
|
|
4543
|
+
export type UpdateBankConnectionBody = {
|
|
4544
|
+
/**
|
|
4545
|
+
* The own Konto payouts go to; an empty string removes it.
|
|
4546
|
+
*/
|
|
4547
|
+
payoutAccountId?: null | string;
|
|
4245
4548
|
};
|
|
4246
4549
|
export type UpdateBankSettingsRequest = {
|
|
4247
4550
|
aiMatch?: null | boolean;
|
|
@@ -10696,22 +10999,18 @@ export type GetInvoicePdfResponses = {
|
|
|
10696
10999
|
*/
|
|
10697
11000
|
200: any;
|
|
10698
11001
|
};
|
|
10699
|
-
export type
|
|
11002
|
+
export type DeleteBankConnectionData = {
|
|
10700
11003
|
body?: never;
|
|
10701
|
-
path
|
|
10702
|
-
query?: {
|
|
10703
|
-
/**
|
|
10704
|
-
* Page size, default 50, maximum 200.
|
|
10705
|
-
*/
|
|
10706
|
-
limit?: number;
|
|
11004
|
+
path: {
|
|
10707
11005
|
/**
|
|
10708
|
-
*
|
|
11006
|
+
* The Konto's or booking's ID.
|
|
10709
11007
|
*/
|
|
10710
|
-
|
|
11008
|
+
id: string;
|
|
10711
11009
|
};
|
|
10712
|
-
|
|
11010
|
+
query?: never;
|
|
11011
|
+
url: '/api/v2/me/billing/accounts/{id}/connection';
|
|
10713
11012
|
};
|
|
10714
|
-
export type
|
|
11013
|
+
export type DeleteBankConnectionErrors = {
|
|
10715
11014
|
/**
|
|
10716
11015
|
* Malformed request, or a cursor from another request.
|
|
10717
11016
|
*/
|
|
@@ -10745,21 +11044,26 @@ export type ListBankAccountsErrors = {
|
|
|
10745
11044
|
*/
|
|
10746
11045
|
500: Problem;
|
|
10747
11046
|
};
|
|
10748
|
-
export type
|
|
10749
|
-
export type
|
|
11047
|
+
export type DeleteBankConnectionError = DeleteBankConnectionErrors[keyof DeleteBankConnectionErrors];
|
|
11048
|
+
export type DeleteBankConnectionResponses = {
|
|
10750
11049
|
/**
|
|
10751
11050
|
* OK
|
|
10752
11051
|
*/
|
|
10753
|
-
200:
|
|
11052
|
+
200: BankConnectionDto;
|
|
10754
11053
|
};
|
|
10755
|
-
export type
|
|
10756
|
-
export type
|
|
10757
|
-
body
|
|
10758
|
-
path
|
|
11054
|
+
export type DeleteBankConnectionResponse = DeleteBankConnectionResponses[keyof DeleteBankConnectionResponses];
|
|
11055
|
+
export type GetBankConnectionData = {
|
|
11056
|
+
body?: never;
|
|
11057
|
+
path: {
|
|
11058
|
+
/**
|
|
11059
|
+
* The Konto's or booking's ID.
|
|
11060
|
+
*/
|
|
11061
|
+
id: string;
|
|
11062
|
+
};
|
|
10759
11063
|
query?: never;
|
|
10760
|
-
url: '/api/v2/me/billing/accounts';
|
|
11064
|
+
url: '/api/v2/me/billing/accounts/{id}/connection';
|
|
10761
11065
|
};
|
|
10762
|
-
export type
|
|
11066
|
+
export type GetBankConnectionErrors = {
|
|
10763
11067
|
/**
|
|
10764
11068
|
* Malformed request, or a cursor from another request.
|
|
10765
11069
|
*/
|
|
@@ -10793,16 +11097,16 @@ export type CreateBankAccountErrors = {
|
|
|
10793
11097
|
*/
|
|
10794
11098
|
500: Problem;
|
|
10795
11099
|
};
|
|
10796
|
-
export type
|
|
10797
|
-
export type
|
|
11100
|
+
export type GetBankConnectionError = GetBankConnectionErrors[keyof GetBankConnectionErrors];
|
|
11101
|
+
export type GetBankConnectionResponses = {
|
|
10798
11102
|
/**
|
|
10799
11103
|
* OK
|
|
10800
11104
|
*/
|
|
10801
|
-
200:
|
|
11105
|
+
200: BankConnectionDto;
|
|
10802
11106
|
};
|
|
10803
|
-
export type
|
|
10804
|
-
export type
|
|
10805
|
-
body
|
|
11107
|
+
export type GetBankConnectionResponse = GetBankConnectionResponses[keyof GetBankConnectionResponses];
|
|
11108
|
+
export type UpdateBankConnectionData = {
|
|
11109
|
+
body: UpdateBankConnectionBody;
|
|
10806
11110
|
path: {
|
|
10807
11111
|
/**
|
|
10808
11112
|
* The Konto's or booking's ID.
|
|
@@ -10810,9 +11114,9 @@ export type DeleteBankAccountData = {
|
|
|
10810
11114
|
id: string;
|
|
10811
11115
|
};
|
|
10812
11116
|
query?: never;
|
|
10813
|
-
url: '/api/v2/me/billing/accounts/{id}';
|
|
11117
|
+
url: '/api/v2/me/billing/accounts/{id}/connection';
|
|
10814
11118
|
};
|
|
10815
|
-
export type
|
|
11119
|
+
export type UpdateBankConnectionErrors = {
|
|
10816
11120
|
/**
|
|
10817
11121
|
* Malformed request, or a cursor from another request.
|
|
10818
11122
|
*/
|
|
@@ -10846,16 +11150,16 @@ export type DeleteBankAccountErrors = {
|
|
|
10846
11150
|
*/
|
|
10847
11151
|
500: Problem;
|
|
10848
11152
|
};
|
|
10849
|
-
export type
|
|
10850
|
-
export type
|
|
11153
|
+
export type UpdateBankConnectionError = UpdateBankConnectionErrors[keyof UpdateBankConnectionErrors];
|
|
11154
|
+
export type UpdateBankConnectionResponses = {
|
|
10851
11155
|
/**
|
|
10852
11156
|
* OK
|
|
10853
11157
|
*/
|
|
10854
|
-
200:
|
|
11158
|
+
200: BankConnectionDto;
|
|
10855
11159
|
};
|
|
10856
|
-
export type
|
|
10857
|
-
export type
|
|
10858
|
-
body
|
|
11160
|
+
export type UpdateBankConnectionResponse = UpdateBankConnectionResponses[keyof UpdateBankConnectionResponses];
|
|
11161
|
+
export type RunBankSyncData = {
|
|
11162
|
+
body?: never;
|
|
10859
11163
|
path: {
|
|
10860
11164
|
/**
|
|
10861
11165
|
* The Konto's or booking's ID.
|
|
@@ -10863,9 +11167,9 @@ export type UpdateBankAccountData = {
|
|
|
10863
11167
|
id: string;
|
|
10864
11168
|
};
|
|
10865
11169
|
query?: never;
|
|
10866
|
-
url: '/api/v2/me/billing/accounts/{id}';
|
|
11170
|
+
url: '/api/v2/me/billing/accounts/{id}/connection/sync';
|
|
10867
11171
|
};
|
|
10868
|
-
export type
|
|
11172
|
+
export type RunBankSyncErrors = {
|
|
10869
11173
|
/**
|
|
10870
11174
|
* Malformed request, or a cursor from another request.
|
|
10871
11175
|
*/
|
|
@@ -10899,24 +11203,301 @@ export type UpdateBankAccountErrors = {
|
|
|
10899
11203
|
*/
|
|
10900
11204
|
500: Problem;
|
|
10901
11205
|
};
|
|
10902
|
-
export type
|
|
10903
|
-
export type
|
|
11206
|
+
export type RunBankSyncError = RunBankSyncErrors[keyof RunBankSyncErrors];
|
|
11207
|
+
export type RunBankSyncResponses = {
|
|
10904
11208
|
/**
|
|
10905
11209
|
* OK
|
|
10906
11210
|
*/
|
|
10907
|
-
200:
|
|
11211
|
+
200: SyncBankConnectionResult;
|
|
10908
11212
|
};
|
|
10909
|
-
export type
|
|
10910
|
-
export type
|
|
11213
|
+
export type RunBankSyncResponse = RunBankSyncResponses[keyof RunBankSyncResponses];
|
|
11214
|
+
export type ListBankMatchCandidatesData = {
|
|
10911
11215
|
body?: never;
|
|
10912
|
-
path
|
|
10913
|
-
query?: {
|
|
11216
|
+
path: {
|
|
10914
11217
|
/**
|
|
10915
|
-
*
|
|
11218
|
+
* The Konto's or booking's ID.
|
|
11219
|
+
*/
|
|
11220
|
+
id: string;
|
|
11221
|
+
};
|
|
11222
|
+
query?: {
|
|
11223
|
+
/**
|
|
11224
|
+
* A number, a name or an amount such as 59,90.
|
|
11225
|
+
*/
|
|
11226
|
+
q?: string;
|
|
11227
|
+
/**
|
|
11228
|
+
* Page size: bookings and Konten default 50, at most 200; candidates default 10, at most 50.
|
|
11229
|
+
*/
|
|
11230
|
+
limit?: number;
|
|
11231
|
+
/**
|
|
11232
|
+
* Opaque cursor from the previous page.
|
|
11233
|
+
*/
|
|
11234
|
+
cursor?: string;
|
|
11235
|
+
};
|
|
11236
|
+
url: '/api/v2/me/billing/transactions/{id}/candidates';
|
|
11237
|
+
};
|
|
11238
|
+
export type ListBankMatchCandidatesErrors = {
|
|
11239
|
+
/**
|
|
11240
|
+
* Malformed request, or a cursor from another request.
|
|
11241
|
+
*/
|
|
11242
|
+
400: Problem;
|
|
11243
|
+
/**
|
|
11244
|
+
* No valid API key or session.
|
|
11245
|
+
*/
|
|
11246
|
+
401: Problem;
|
|
11247
|
+
/**
|
|
11248
|
+
* This operation needs a dashboard session.
|
|
11249
|
+
*/
|
|
11250
|
+
403: Problem;
|
|
11251
|
+
/**
|
|
11252
|
+
* Not found, or it belongs to another workspace.
|
|
11253
|
+
*/
|
|
11254
|
+
404: Problem;
|
|
11255
|
+
/**
|
|
11256
|
+
* Conflict with the current state; `code` says which.
|
|
11257
|
+
*/
|
|
11258
|
+
409: Problem;
|
|
11259
|
+
/**
|
|
11260
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
11261
|
+
*/
|
|
11262
|
+
422: Problem;
|
|
11263
|
+
/**
|
|
11264
|
+
* Too many requests; retry after `Retry-After`.
|
|
11265
|
+
*/
|
|
11266
|
+
429: Problem;
|
|
11267
|
+
/**
|
|
11268
|
+
* Internal error; quote `requestId` to support.
|
|
11269
|
+
*/
|
|
11270
|
+
500: Problem;
|
|
11271
|
+
};
|
|
11272
|
+
export type ListBankMatchCandidatesError = ListBankMatchCandidatesErrors[keyof ListBankMatchCandidatesErrors];
|
|
11273
|
+
export type ListBankMatchCandidatesResponses = {
|
|
11274
|
+
/**
|
|
11275
|
+
* OK
|
|
11276
|
+
*/
|
|
11277
|
+
200: CursorPageOfBankCandidateDto;
|
|
11278
|
+
};
|
|
11279
|
+
export type ListBankMatchCandidatesResponse = ListBankMatchCandidatesResponses[keyof ListBankMatchCandidatesResponses];
|
|
11280
|
+
export type ListBankAccountsData = {
|
|
11281
|
+
body?: never;
|
|
11282
|
+
path?: never;
|
|
11283
|
+
query?: {
|
|
11284
|
+
/**
|
|
11285
|
+
* Page size: bookings and Konten default 50, at most 200; candidates default 10, at most 50.
|
|
11286
|
+
*/
|
|
11287
|
+
limit?: number;
|
|
11288
|
+
/**
|
|
11289
|
+
* Opaque cursor from the previous page.
|
|
11290
|
+
*/
|
|
11291
|
+
cursor?: string;
|
|
11292
|
+
};
|
|
11293
|
+
url: '/api/v2/me/billing/accounts';
|
|
11294
|
+
};
|
|
11295
|
+
export type ListBankAccountsErrors = {
|
|
11296
|
+
/**
|
|
11297
|
+
* Malformed request, or a cursor from another request.
|
|
11298
|
+
*/
|
|
11299
|
+
400: Problem;
|
|
11300
|
+
/**
|
|
11301
|
+
* No valid API key or session.
|
|
11302
|
+
*/
|
|
11303
|
+
401: Problem;
|
|
11304
|
+
/**
|
|
11305
|
+
* This operation needs a dashboard session.
|
|
11306
|
+
*/
|
|
11307
|
+
403: Problem;
|
|
11308
|
+
/**
|
|
11309
|
+
* Not found, or it belongs to another workspace.
|
|
11310
|
+
*/
|
|
11311
|
+
404: Problem;
|
|
11312
|
+
/**
|
|
11313
|
+
* Conflict with the current state; `code` says which.
|
|
11314
|
+
*/
|
|
11315
|
+
409: Problem;
|
|
11316
|
+
/**
|
|
11317
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
11318
|
+
*/
|
|
11319
|
+
422: Problem;
|
|
11320
|
+
/**
|
|
11321
|
+
* Too many requests; retry after `Retry-After`.
|
|
11322
|
+
*/
|
|
11323
|
+
429: Problem;
|
|
11324
|
+
/**
|
|
11325
|
+
* Internal error; quote `requestId` to support.
|
|
11326
|
+
*/
|
|
11327
|
+
500: Problem;
|
|
11328
|
+
};
|
|
11329
|
+
export type ListBankAccountsError = ListBankAccountsErrors[keyof ListBankAccountsErrors];
|
|
11330
|
+
export type ListBankAccountsResponses = {
|
|
11331
|
+
/**
|
|
11332
|
+
* OK
|
|
11333
|
+
*/
|
|
11334
|
+
200: CursorPageOfBankAccountDto;
|
|
11335
|
+
};
|
|
11336
|
+
export type ListBankAccountsResponse = ListBankAccountsResponses[keyof ListBankAccountsResponses];
|
|
11337
|
+
export type CreateBankAccountData = {
|
|
11338
|
+
body: CreateBankAccountRequest;
|
|
11339
|
+
path?: never;
|
|
11340
|
+
query?: never;
|
|
11341
|
+
url: '/api/v2/me/billing/accounts';
|
|
11342
|
+
};
|
|
11343
|
+
export type CreateBankAccountErrors = {
|
|
11344
|
+
/**
|
|
11345
|
+
* Malformed request, or a cursor from another request.
|
|
11346
|
+
*/
|
|
11347
|
+
400: Problem;
|
|
11348
|
+
/**
|
|
11349
|
+
* No valid API key or session.
|
|
11350
|
+
*/
|
|
11351
|
+
401: Problem;
|
|
11352
|
+
/**
|
|
11353
|
+
* This operation needs a dashboard session.
|
|
11354
|
+
*/
|
|
11355
|
+
403: Problem;
|
|
11356
|
+
/**
|
|
11357
|
+
* Not found, or it belongs to another workspace.
|
|
11358
|
+
*/
|
|
11359
|
+
404: Problem;
|
|
11360
|
+
/**
|
|
11361
|
+
* Conflict with the current state; `code` says which.
|
|
11362
|
+
*/
|
|
11363
|
+
409: Problem;
|
|
11364
|
+
/**
|
|
11365
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
11366
|
+
*/
|
|
11367
|
+
422: Problem;
|
|
11368
|
+
/**
|
|
11369
|
+
* Too many requests; retry after `Retry-After`.
|
|
11370
|
+
*/
|
|
11371
|
+
429: Problem;
|
|
11372
|
+
/**
|
|
11373
|
+
* Internal error; quote `requestId` to support.
|
|
11374
|
+
*/
|
|
11375
|
+
500: Problem;
|
|
11376
|
+
};
|
|
11377
|
+
export type CreateBankAccountError = CreateBankAccountErrors[keyof CreateBankAccountErrors];
|
|
11378
|
+
export type CreateBankAccountResponses = {
|
|
11379
|
+
/**
|
|
11380
|
+
* OK
|
|
11381
|
+
*/
|
|
11382
|
+
200: BankAccountDto;
|
|
11383
|
+
};
|
|
11384
|
+
export type CreateBankAccountResponse = CreateBankAccountResponses[keyof CreateBankAccountResponses];
|
|
11385
|
+
export type DeleteBankAccountData = {
|
|
11386
|
+
body?: never;
|
|
11387
|
+
path: {
|
|
11388
|
+
/**
|
|
11389
|
+
* The Konto's or booking's ID.
|
|
11390
|
+
*/
|
|
11391
|
+
id: string;
|
|
11392
|
+
};
|
|
11393
|
+
query?: never;
|
|
11394
|
+
url: '/api/v2/me/billing/accounts/{id}';
|
|
11395
|
+
};
|
|
11396
|
+
export type DeleteBankAccountErrors = {
|
|
11397
|
+
/**
|
|
11398
|
+
* Malformed request, or a cursor from another request.
|
|
11399
|
+
*/
|
|
11400
|
+
400: Problem;
|
|
11401
|
+
/**
|
|
11402
|
+
* No valid API key or session.
|
|
11403
|
+
*/
|
|
11404
|
+
401: Problem;
|
|
11405
|
+
/**
|
|
11406
|
+
* This operation needs a dashboard session.
|
|
11407
|
+
*/
|
|
11408
|
+
403: Problem;
|
|
11409
|
+
/**
|
|
11410
|
+
* Not found, or it belongs to another workspace.
|
|
11411
|
+
*/
|
|
11412
|
+
404: Problem;
|
|
11413
|
+
/**
|
|
11414
|
+
* Conflict with the current state; `code` says which.
|
|
11415
|
+
*/
|
|
11416
|
+
409: Problem;
|
|
11417
|
+
/**
|
|
11418
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
11419
|
+
*/
|
|
11420
|
+
422: Problem;
|
|
11421
|
+
/**
|
|
11422
|
+
* Too many requests; retry after `Retry-After`.
|
|
11423
|
+
*/
|
|
11424
|
+
429: Problem;
|
|
11425
|
+
/**
|
|
11426
|
+
* Internal error; quote `requestId` to support.
|
|
11427
|
+
*/
|
|
11428
|
+
500: Problem;
|
|
11429
|
+
};
|
|
11430
|
+
export type DeleteBankAccountError = DeleteBankAccountErrors[keyof DeleteBankAccountErrors];
|
|
11431
|
+
export type DeleteBankAccountResponses = {
|
|
11432
|
+
/**
|
|
11433
|
+
* OK
|
|
11434
|
+
*/
|
|
11435
|
+
200: BankAccountDto;
|
|
11436
|
+
};
|
|
11437
|
+
export type DeleteBankAccountResponse = DeleteBankAccountResponses[keyof DeleteBankAccountResponses];
|
|
11438
|
+
export type UpdateBankAccountData = {
|
|
11439
|
+
body: UpdateBankAccountBody;
|
|
11440
|
+
path: {
|
|
11441
|
+
/**
|
|
11442
|
+
* The Konto's or booking's ID.
|
|
11443
|
+
*/
|
|
11444
|
+
id: string;
|
|
11445
|
+
};
|
|
11446
|
+
query?: never;
|
|
11447
|
+
url: '/api/v2/me/billing/accounts/{id}';
|
|
11448
|
+
};
|
|
11449
|
+
export type UpdateBankAccountErrors = {
|
|
11450
|
+
/**
|
|
11451
|
+
* Malformed request, or a cursor from another request.
|
|
11452
|
+
*/
|
|
11453
|
+
400: Problem;
|
|
11454
|
+
/**
|
|
11455
|
+
* No valid API key or session.
|
|
11456
|
+
*/
|
|
11457
|
+
401: Problem;
|
|
11458
|
+
/**
|
|
11459
|
+
* This operation needs a dashboard session.
|
|
11460
|
+
*/
|
|
11461
|
+
403: Problem;
|
|
11462
|
+
/**
|
|
11463
|
+
* Not found, or it belongs to another workspace.
|
|
11464
|
+
*/
|
|
11465
|
+
404: Problem;
|
|
11466
|
+
/**
|
|
11467
|
+
* Conflict with the current state; `code` says which.
|
|
11468
|
+
*/
|
|
11469
|
+
409: Problem;
|
|
11470
|
+
/**
|
|
11471
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
11472
|
+
*/
|
|
11473
|
+
422: Problem;
|
|
11474
|
+
/**
|
|
11475
|
+
* Too many requests; retry after `Retry-After`.
|
|
11476
|
+
*/
|
|
11477
|
+
429: Problem;
|
|
11478
|
+
/**
|
|
11479
|
+
* Internal error; quote `requestId` to support.
|
|
11480
|
+
*/
|
|
11481
|
+
500: Problem;
|
|
11482
|
+
};
|
|
11483
|
+
export type UpdateBankAccountError = UpdateBankAccountErrors[keyof UpdateBankAccountErrors];
|
|
11484
|
+
export type UpdateBankAccountResponses = {
|
|
11485
|
+
/**
|
|
11486
|
+
* OK
|
|
11487
|
+
*/
|
|
11488
|
+
200: BankAccountDto;
|
|
11489
|
+
};
|
|
11490
|
+
export type UpdateBankAccountResponse = UpdateBankAccountResponses[keyof UpdateBankAccountResponses];
|
|
11491
|
+
export type ListBankTransactionsData = {
|
|
11492
|
+
body?: never;
|
|
11493
|
+
path?: never;
|
|
11494
|
+
query?: {
|
|
11495
|
+
/**
|
|
11496
|
+
* Only this Konto's bookings.
|
|
10916
11497
|
*/
|
|
10917
11498
|
accountId?: string;
|
|
10918
11499
|
/**
|
|
10919
|
-
* open, suggested or assigned.
|
|
11500
|
+
* open, suggested, todo (open or suggested) or assigned.
|
|
10920
11501
|
*/
|
|
10921
11502
|
status?: string;
|
|
10922
11503
|
/**
|
|
@@ -10924,7 +11505,7 @@ export type ListBankTransactionsData = {
|
|
|
10924
11505
|
*/
|
|
10925
11506
|
q?: string;
|
|
10926
11507
|
/**
|
|
10927
|
-
* Page size
|
|
11508
|
+
* Page size: bookings and Konten default 50, at most 200; candidates default 10, at most 50.
|
|
10928
11509
|
*/
|
|
10929
11510
|
limit?: number;
|
|
10930
11511
|
/**
|
|
@@ -11539,6 +12120,102 @@ export type AddBankStatementResponses = {
|
|
|
11539
12120
|
200: CamtImportResultDto;
|
|
11540
12121
|
};
|
|
11541
12122
|
export type AddBankStatementResponse = AddBankStatementResponses[keyof AddBankStatementResponses];
|
|
12123
|
+
export type PreviewBankStatementData = {
|
|
12124
|
+
body: PreviewCamtRequest;
|
|
12125
|
+
path?: never;
|
|
12126
|
+
query?: never;
|
|
12127
|
+
url: '/api/v2/me/billing/statements/preview';
|
|
12128
|
+
};
|
|
12129
|
+
export type PreviewBankStatementErrors = {
|
|
12130
|
+
/**
|
|
12131
|
+
* Malformed request, or a cursor from another request.
|
|
12132
|
+
*/
|
|
12133
|
+
400: Problem;
|
|
12134
|
+
/**
|
|
12135
|
+
* No valid API key or session.
|
|
12136
|
+
*/
|
|
12137
|
+
401: Problem;
|
|
12138
|
+
/**
|
|
12139
|
+
* This operation needs a dashboard session.
|
|
12140
|
+
*/
|
|
12141
|
+
403: Problem;
|
|
12142
|
+
/**
|
|
12143
|
+
* Not found, or it belongs to another workspace.
|
|
12144
|
+
*/
|
|
12145
|
+
404: Problem;
|
|
12146
|
+
/**
|
|
12147
|
+
* Conflict with the current state; `code` says which.
|
|
12148
|
+
*/
|
|
12149
|
+
409: Problem;
|
|
12150
|
+
/**
|
|
12151
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
12152
|
+
*/
|
|
12153
|
+
422: Problem;
|
|
12154
|
+
/**
|
|
12155
|
+
* Too many requests; retry after `Retry-After`.
|
|
12156
|
+
*/
|
|
12157
|
+
429: Problem;
|
|
12158
|
+
/**
|
|
12159
|
+
* Internal error; quote `requestId` to support.
|
|
12160
|
+
*/
|
|
12161
|
+
500: Problem;
|
|
12162
|
+
};
|
|
12163
|
+
export type PreviewBankStatementError = PreviewBankStatementErrors[keyof PreviewBankStatementErrors];
|
|
12164
|
+
export type PreviewBankStatementResponses = {
|
|
12165
|
+
/**
|
|
12166
|
+
* OK
|
|
12167
|
+
*/
|
|
12168
|
+
200: CamtPreviewDto;
|
|
12169
|
+
};
|
|
12170
|
+
export type PreviewBankStatementResponse = PreviewBankStatementResponses[keyof PreviewBankStatementResponses];
|
|
12171
|
+
export type CreateBankTransactionsData = {
|
|
12172
|
+
body: CreateBankTransactionsRequest;
|
|
12173
|
+
path?: never;
|
|
12174
|
+
query?: never;
|
|
12175
|
+
url: '/api/v2/me/billing/transactions/batch';
|
|
12176
|
+
};
|
|
12177
|
+
export type CreateBankTransactionsErrors = {
|
|
12178
|
+
/**
|
|
12179
|
+
* Malformed request, or a cursor from another request.
|
|
12180
|
+
*/
|
|
12181
|
+
400: Problem;
|
|
12182
|
+
/**
|
|
12183
|
+
* No valid API key or session.
|
|
12184
|
+
*/
|
|
12185
|
+
401: Problem;
|
|
12186
|
+
/**
|
|
12187
|
+
* This operation needs a dashboard session.
|
|
12188
|
+
*/
|
|
12189
|
+
403: Problem;
|
|
12190
|
+
/**
|
|
12191
|
+
* Not found, or it belongs to another workspace.
|
|
12192
|
+
*/
|
|
12193
|
+
404: Problem;
|
|
12194
|
+
/**
|
|
12195
|
+
* Conflict with the current state; `code` says which.
|
|
12196
|
+
*/
|
|
12197
|
+
409: Problem;
|
|
12198
|
+
/**
|
|
12199
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
12200
|
+
*/
|
|
12201
|
+
422: Problem;
|
|
12202
|
+
/**
|
|
12203
|
+
* Too many requests; retry after `Retry-After`.
|
|
12204
|
+
*/
|
|
12205
|
+
429: Problem;
|
|
12206
|
+
/**
|
|
12207
|
+
* Internal error; quote `requestId` to support.
|
|
12208
|
+
*/
|
|
12209
|
+
500: Problem;
|
|
12210
|
+
};
|
|
12211
|
+
export type CreateBankTransactionsError = CreateBankTransactionsErrors[keyof CreateBankTransactionsErrors];
|
|
12212
|
+
export type CreateBankTransactionsResponses = {
|
|
12213
|
+
/**
|
|
12214
|
+
* OK
|
|
12215
|
+
*/
|
|
12216
|
+
200: CreateBankTransactionsResult;
|
|
12217
|
+
};
|
|
12218
|
+
export type CreateBankTransactionsResponse = CreateBankTransactionsResponses[keyof CreateBankTransactionsResponses];
|
|
11542
12219
|
export type GetBankSettingsData = {
|
|
11543
12220
|
body?: never;
|
|
11544
12221
|
path?: never;
|