@firmenakte/api-client 2.43.0 → 2.45.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/README.md +2 -2
- package/client.d.ts +10 -170
- package/client.d.ts.map +1 -1
- package/client.js +5 -85
- package/index.d.ts +0 -5
- package/index.d.ts.map +1 -1
- 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 +45 -75
- package/v2/generated/sdk.gen.d.ts.map +1 -1
- package/v2/generated/sdk.gen.js +83 -151
- package/v2/generated/types.gen.d.ts +643 -923
- package/v2/generated/types.gen.d.ts.map +1 -1
|
@@ -227,6 +227,10 @@ export type BankAccountDto = {
|
|
|
227
227
|
* The last day a Kontoauszug read into this Konto covers; null before the first.
|
|
228
228
|
*/
|
|
229
229
|
statementUntil?: null | string;
|
|
230
|
+
/**
|
|
231
|
+
* Optional BIC; an invoice naming this Konto prints it beside the IBAN.
|
|
232
|
+
*/
|
|
233
|
+
bic?: null | string;
|
|
230
234
|
};
|
|
231
235
|
export type BankAssignInput = {
|
|
232
236
|
/**
|
|
@@ -242,6 +246,31 @@ export type BankAssignInput = {
|
|
|
242
246
|
*/
|
|
243
247
|
reason?: null | string;
|
|
244
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
|
+
};
|
|
245
274
|
export type BankCandidateDto = {
|
|
246
275
|
/**
|
|
247
276
|
* invoice or receipt.
|
|
@@ -264,7 +293,7 @@ export type BankCandidateDto = {
|
|
|
264
293
|
currency: string;
|
|
265
294
|
date: string;
|
|
266
295
|
/**
|
|
267
|
-
* 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).
|
|
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).
|
|
268
297
|
*/
|
|
269
298
|
reasons: Array<string>;
|
|
270
299
|
/**
|
|
@@ -364,13 +393,9 @@ export type BankMatchDto = {
|
|
|
364
393
|
};
|
|
365
394
|
export type BankSettingsDto = {
|
|
366
395
|
/**
|
|
367
|
-
*
|
|
396
|
+
* The KI-Abgleich. aus: no AI, nothing taken over; pruefen: the AI proposes too, every hit waits for a person; sicher: a sure hit of a rule or the AI is taken over (and can be undone). The rules propose in every mode.
|
|
368
397
|
*/
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* sicher: a sure hit of a rule or the AI is taken over (and can be undone); nie: every hit waits for a person.
|
|
372
|
-
*/
|
|
373
|
-
autoAccept: string;
|
|
398
|
+
mode: string;
|
|
374
399
|
};
|
|
375
400
|
export type BankTransactionDto = {
|
|
376
401
|
id: string;
|
|
@@ -483,7 +508,7 @@ export type BillingDocumentDto = {
|
|
|
483
508
|
*/
|
|
484
509
|
via: string;
|
|
485
510
|
/**
|
|
486
|
-
* pending, read, unread (
|
|
511
|
+
* pending, read, unread (the Buchhaltung was off; read again later), failed, given (came with its data), or waiting (the month's Belege are read and the Guthaben does not pay one more; read on the 1st, after an upgrade or a top-up, oldest first).
|
|
487
512
|
*/
|
|
488
513
|
readStatus: string;
|
|
489
514
|
readError?: null | string;
|
|
@@ -589,7 +614,7 @@ export type BillingEmailDto = {
|
|
|
589
614
|
};
|
|
590
615
|
export type BillingExportDto = {
|
|
591
616
|
/**
|
|
592
|
-
* The period: YYYY-MM or YYYY
|
|
617
|
+
* The period: YYYY-MM, YYYY-Qn or YYYY.
|
|
593
618
|
*/
|
|
594
619
|
period: string;
|
|
595
620
|
/**
|
|
@@ -618,6 +643,14 @@ export type BillingExportDto = {
|
|
|
618
643
|
* When it was first downloaded.
|
|
619
644
|
*/
|
|
620
645
|
downloadedAt?: null | string;
|
|
646
|
+
/**
|
|
647
|
+
* Issued invoices and receipts in it without a Sachkonto: missing from the DATEV Buchungsstapel.
|
|
648
|
+
*/
|
|
649
|
+
unaccountedCount?: number;
|
|
650
|
+
/**
|
|
651
|
+
* Of the documents, the invoices the workspace issued; the rest are receipts.
|
|
652
|
+
*/
|
|
653
|
+
invoiceCount?: number;
|
|
621
654
|
};
|
|
622
655
|
export type BillingListsDto = {
|
|
623
656
|
partners: string;
|
|
@@ -628,6 +661,54 @@ export type BillingListsDto = {
|
|
|
628
661
|
*/
|
|
629
662
|
incoming?: null | string;
|
|
630
663
|
};
|
|
664
|
+
export type BillingMailAddressDto = {
|
|
665
|
+
/**
|
|
666
|
+
* receipts (the Belege-Adresse).
|
|
667
|
+
*/
|
|
668
|
+
kind: string;
|
|
669
|
+
label: string;
|
|
670
|
+
/**
|
|
671
|
+
* The address; null for a Belege-Adresse not made yet.
|
|
672
|
+
*/
|
|
673
|
+
address?: null | string;
|
|
674
|
+
description: string;
|
|
675
|
+
/**
|
|
676
|
+
* Belege are taken from its mail.
|
|
677
|
+
*/
|
|
678
|
+
checked?: boolean;
|
|
679
|
+
};
|
|
680
|
+
export type BillingMailBody = {
|
|
681
|
+
/**
|
|
682
|
+
* member or address (with invoiceReplyAddress).
|
|
683
|
+
*/
|
|
684
|
+
invoiceReplyTo?: null | string;
|
|
685
|
+
/**
|
|
686
|
+
* The address replies go to, with invoiceReplyTo address.
|
|
687
|
+
*/
|
|
688
|
+
invoiceReplyAddress?: null | string;
|
|
689
|
+
/**
|
|
690
|
+
* The kinds of the addresses Belege are taken from: receipts (the Belege-Adresse); empty takes none.
|
|
691
|
+
*/
|
|
692
|
+
receiptSources?: null | Array<string>;
|
|
693
|
+
};
|
|
694
|
+
export type BillingMailDto = {
|
|
695
|
+
/**
|
|
696
|
+
* Where replies to invoice mails go (their Reply-To; they are always sent by Firmenakte): member (the sending member's own address, the default) or address (invoiceReplyAddress). Null where this server sends no invoice mails.
|
|
697
|
+
*/
|
|
698
|
+
invoiceReplyTo?: null | string;
|
|
699
|
+
/**
|
|
700
|
+
* The address replies go to with invoiceReplyTo address.
|
|
701
|
+
*/
|
|
702
|
+
invoiceReplyAddress?: null | string;
|
|
703
|
+
/**
|
|
704
|
+
* The addresses Belege may be taken from, those ticked with checked; by default the Belege-Adresse.
|
|
705
|
+
*/
|
|
706
|
+
receiptSources: Array<BillingMailAddressDto>;
|
|
707
|
+
/**
|
|
708
|
+
* Whether the plan allows an own address (invoiceReplyTo address); the free plan does not.
|
|
709
|
+
*/
|
|
710
|
+
ownAddresses?: boolean;
|
|
711
|
+
};
|
|
631
712
|
export type BillingMonthDto = {
|
|
632
713
|
/**
|
|
633
714
|
* The month, YYYY-MM.
|
|
@@ -660,7 +741,7 @@ export type BillingNumbersDto = {
|
|
|
660
741
|
*/
|
|
661
742
|
paymentDaysField?: null | string;
|
|
662
743
|
/**
|
|
663
|
-
* Field key of a text field
|
|
744
|
+
* 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).
|
|
664
745
|
*/
|
|
665
746
|
ibanField?: null | string;
|
|
666
747
|
/**
|
|
@@ -722,27 +803,52 @@ export type BillingPartnerDto = {
|
|
|
722
803
|
export type BillingSenderDto = {
|
|
723
804
|
id: string;
|
|
724
805
|
/**
|
|
725
|
-
* company (
|
|
806
|
+
* company (the Unternehmen with a register entry) or details (an Unternehmen without one).
|
|
726
807
|
*/
|
|
727
808
|
kind: string;
|
|
728
809
|
name: string;
|
|
729
810
|
address?: null | string;
|
|
730
811
|
uid?: null | string;
|
|
731
812
|
/**
|
|
732
|
-
* details only:
|
|
813
|
+
* details only: the member's verification, none, pending or verified. Sending by e-mail or post needs verified.
|
|
733
814
|
*/
|
|
734
815
|
verification?: null | string;
|
|
816
|
+
/**
|
|
817
|
+
* The IBAN its invoices print: the one of the Konto in accountId.
|
|
818
|
+
*/
|
|
735
819
|
iban?: null | string;
|
|
736
820
|
bic?: null | string;
|
|
737
821
|
paymentDays: number;
|
|
822
|
+
/**
|
|
823
|
+
* Superseded by numberPattern: its text before the first variable, RE- of RE-{Jahr}-{Nummer}.
|
|
824
|
+
*/
|
|
738
825
|
prefix: string;
|
|
739
826
|
/**
|
|
740
|
-
* The number the next invoice of this Absender gets.
|
|
827
|
+
* The number the next invoice of this Absender dated today gets.
|
|
741
828
|
*/
|
|
742
829
|
nextNumber: string;
|
|
830
|
+
/**
|
|
831
|
+
* Its running number ({Nummer}) in the current period.
|
|
832
|
+
*/
|
|
743
833
|
nextSequence: number;
|
|
744
834
|
footer?: null | string;
|
|
745
835
|
smallBusiness: boolean;
|
|
836
|
+
/**
|
|
837
|
+
* The Nummernkreis: text with {Jahr} (2026), {Jahr2} (26), {Monat} (03) and {Nummer}, such as RE-{Jahr}-{Nummer}.
|
|
838
|
+
*/
|
|
839
|
+
numberPattern: string;
|
|
840
|
+
/**
|
|
841
|
+
* The digits {Nummer} has at least, padded with zeros.
|
|
842
|
+
*/
|
|
843
|
+
numberDigits: number;
|
|
844
|
+
/**
|
|
845
|
+
* When {Nummer} starts at 1 again, by the invoice date: yearly, monthly or never.
|
|
846
|
+
*/
|
|
847
|
+
numberReset: string;
|
|
848
|
+
/**
|
|
849
|
+
* The Konto („Zahlung auf“) its invoices name for payment, a bank account with an IBAN; null for none.
|
|
850
|
+
*/
|
|
851
|
+
accountId?: null | string;
|
|
746
852
|
};
|
|
747
853
|
export type BillingSetupDto = {
|
|
748
854
|
senders: Array<BillingSenderDto>;
|
|
@@ -754,6 +860,11 @@ export type BillingSetupDto = {
|
|
|
754
860
|
*/
|
|
755
861
|
acceptDeliveries: boolean;
|
|
756
862
|
email: BillingEmailDto;
|
|
863
|
+
mail?: null | BillingMailDto;
|
|
864
|
+
/**
|
|
865
|
+
* What the Abschluss counts by: invoice (Rechnungsdatum, default) or payment (Zahlungseingang).
|
|
866
|
+
*/
|
|
867
|
+
reportBasis?: string;
|
|
757
868
|
};
|
|
758
869
|
export type BillingSummaryDto = {
|
|
759
870
|
from: string;
|
|
@@ -849,6 +960,55 @@ export type CamtImportResultDto = {
|
|
|
849
960
|
*/
|
|
850
961
|
assigned: number;
|
|
851
962
|
};
|
|
963
|
+
export type CamtPreviewDto = {
|
|
964
|
+
/**
|
|
965
|
+
* The IBAN the file is for; null when it names none.
|
|
966
|
+
*/
|
|
967
|
+
iban?: null | string;
|
|
968
|
+
/**
|
|
969
|
+
* The Konto with that IBAN, else the one asked for; null when no Konto has the IBAN: create one with it.
|
|
970
|
+
*/
|
|
971
|
+
accountId?: null | string;
|
|
972
|
+
statements: Array<CamtStatementDto>;
|
|
973
|
+
lines: Array<CamtPreviewLineDto>;
|
|
974
|
+
/**
|
|
975
|
+
* Statement numbers missing between those of the Konto and the file's.
|
|
976
|
+
*/
|
|
977
|
+
gaps: Array<string>;
|
|
978
|
+
warnings: Array<string>;
|
|
979
|
+
};
|
|
980
|
+
export type CamtPreviewLineDto = {
|
|
981
|
+
/**
|
|
982
|
+
* The bank's reference (AcctSvcrRef), the line's externalId.
|
|
983
|
+
*/
|
|
984
|
+
externalId: string;
|
|
985
|
+
/**
|
|
986
|
+
* The number of the statement it is on.
|
|
987
|
+
*/
|
|
988
|
+
statement: string;
|
|
989
|
+
bookingDate: string;
|
|
990
|
+
valueDate: string;
|
|
991
|
+
/**
|
|
992
|
+
* Signed, in cents: money in is positive.
|
|
993
|
+
*/
|
|
994
|
+
amountCents: number;
|
|
995
|
+
currency: string;
|
|
996
|
+
counterparty: BankCounterpartyDto;
|
|
997
|
+
reference?: null | string;
|
|
998
|
+
endToEndId?: null | string;
|
|
999
|
+
/**
|
|
1000
|
+
* The Konto has this line already (same bank reference, as addBankStatement skips it); it is not booked again.
|
|
1001
|
+
*/
|
|
1002
|
+
duplicate: boolean;
|
|
1003
|
+
};
|
|
1004
|
+
export type CamtStatementDto = {
|
|
1005
|
+
/**
|
|
1006
|
+
* LglSeqNb, such as 007/2026.
|
|
1007
|
+
*/
|
|
1008
|
+
number: string;
|
|
1009
|
+
periodFrom: string;
|
|
1010
|
+
periodTo: string;
|
|
1011
|
+
};
|
|
852
1012
|
export type CancelInvoiceBody = {
|
|
853
1013
|
/**
|
|
854
1014
|
* Also open a new draft with the original's positions.
|
|
@@ -1042,6 +1202,7 @@ export type ChangeEntry = {
|
|
|
1042
1202
|
detail: string;
|
|
1043
1203
|
fieldsChanged: Array<string>;
|
|
1044
1204
|
data: ChangeData;
|
|
1205
|
+
source?: null | SourceKey;
|
|
1045
1206
|
};
|
|
1046
1207
|
export type ChangeSubject = {
|
|
1047
1208
|
id: string;
|
|
@@ -1549,6 +1710,10 @@ export type CreateBankAccountRequest = {
|
|
|
1549
1710
|
* bank (default), cash, card or provider.
|
|
1550
1711
|
*/
|
|
1551
1712
|
kind?: null | string;
|
|
1713
|
+
/**
|
|
1714
|
+
* Optional, 8 or 11 characters such as GIBAATWW.
|
|
1715
|
+
*/
|
|
1716
|
+
bic?: null | string;
|
|
1552
1717
|
};
|
|
1553
1718
|
export type CreateBankTransactionRequest = {
|
|
1554
1719
|
accountId: string;
|
|
@@ -1566,6 +1731,43 @@ export type CreateBankTransactionRequest = {
|
|
|
1566
1731
|
transferTo?: null | string;
|
|
1567
1732
|
assign?: null | BankAssignInput;
|
|
1568
1733
|
};
|
|
1734
|
+
export type CreateBankTransactionsRequest = {
|
|
1735
|
+
accountId: string;
|
|
1736
|
+
/**
|
|
1737
|
+
* 1 to 500 rows.
|
|
1738
|
+
*/
|
|
1739
|
+
bookings: Array<BankBookingInput>;
|
|
1740
|
+
/**
|
|
1741
|
+
* The statements the rows come from, as previewBankStatement read them; each one is recorded on the Konto.
|
|
1742
|
+
*/
|
|
1743
|
+
statements?: null | Array<CamtStatementDto>;
|
|
1744
|
+
/**
|
|
1745
|
+
* The IBAN of the statement; refused when the Konto has another.
|
|
1746
|
+
*/
|
|
1747
|
+
iban?: null | string;
|
|
1748
|
+
};
|
|
1749
|
+
export type CreateBankTransactionsResult = {
|
|
1750
|
+
/**
|
|
1751
|
+
* Bookings created.
|
|
1752
|
+
*/
|
|
1753
|
+
created: number;
|
|
1754
|
+
/**
|
|
1755
|
+
* externalIds the Konto had, skipped.
|
|
1756
|
+
*/
|
|
1757
|
+
skipped: Array<string>;
|
|
1758
|
+
/**
|
|
1759
|
+
* New bookings the Abgleich assigned or proposed something for.
|
|
1760
|
+
*/
|
|
1761
|
+
matched: number;
|
|
1762
|
+
/**
|
|
1763
|
+
* New bookings assigned without a person.
|
|
1764
|
+
*/
|
|
1765
|
+
assigned: number;
|
|
1766
|
+
/**
|
|
1767
|
+
* Statement numbers missing between those read so far.
|
|
1768
|
+
*/
|
|
1769
|
+
gaps: Array<string>;
|
|
1770
|
+
};
|
|
1569
1771
|
export type CreateBillingDocumentRequest = {
|
|
1570
1772
|
/**
|
|
1571
1773
|
* One PDF or image, or several photos of one receipt (pages in order), which become one PDF.
|
|
@@ -1678,7 +1880,6 @@ export type CreateListDto = {
|
|
|
1678
1880
|
ownRecordId?: null | string;
|
|
1679
1881
|
ownRecord?: null | CreateOwnRecordDto;
|
|
1680
1882
|
}>;
|
|
1681
|
-
rules?: null | Array<CreateRuleDto>;
|
|
1682
1883
|
};
|
|
1683
1884
|
export type CreateOwnRecordDto = {
|
|
1684
1885
|
name: string;
|
|
@@ -1702,14 +1903,9 @@ export type CreateOwnRecordDto = {
|
|
|
1702
1903
|
};
|
|
1703
1904
|
};
|
|
1704
1905
|
};
|
|
1705
|
-
export type CreateRuleDto = {
|
|
1706
|
-
rule: RuleDefinition;
|
|
1707
|
-
runNow?: boolean;
|
|
1708
|
-
};
|
|
1709
1906
|
export type CreditPrices = {
|
|
1710
|
-
listUpdate: number;
|
|
1711
1907
|
exportRows: number;
|
|
1712
|
-
|
|
1908
|
+
receiptRead: number;
|
|
1713
1909
|
};
|
|
1714
1910
|
export type CursorPageOfAkteRefDto = {
|
|
1715
1911
|
items: Array<AkteRefDto>;
|
|
@@ -1836,11 +2032,6 @@ export type CursorPageOfListEventDto = {
|
|
|
1836
2032
|
nextCursor?: null | string;
|
|
1837
2033
|
total?: null | number;
|
|
1838
2034
|
};
|
|
1839
|
-
export type CursorPageOfListRunDto = {
|
|
1840
|
-
items: Array<ListRunDto>;
|
|
1841
|
-
nextCursor?: null | string;
|
|
1842
|
-
total?: null | number;
|
|
1843
|
-
};
|
|
1844
2035
|
export type CursorPageOfMineSearchRow = {
|
|
1845
2036
|
items: Array<MineSearchRow>;
|
|
1846
2037
|
nextCursor?: null | string;
|
|
@@ -1951,14 +2142,6 @@ export type CursorPageOfRefNamespaceEntry = {
|
|
|
1951
2142
|
nextCursor?: null | string;
|
|
1952
2143
|
total?: null | number;
|
|
1953
2144
|
};
|
|
1954
|
-
export type CursorPageOfRuleDto = {
|
|
1955
|
-
items: Array<RuleDto>;
|
|
1956
|
-
nextCursor?: null | string;
|
|
1957
|
-
total?: null | number;
|
|
1958
|
-
};
|
|
1959
|
-
export type EmptyRuleTrigger = {
|
|
1960
|
-
[key: string]: never;
|
|
1961
|
-
};
|
|
1962
2145
|
export type EntityActivityDto = {
|
|
1963
2146
|
at: string;
|
|
1964
2147
|
kind: string;
|
|
@@ -2056,7 +2239,6 @@ export type EntrySearchDto = {
|
|
|
2056
2239
|
* Opaque nextCursor; keep filters and sort unchanged.
|
|
2057
2240
|
*/
|
|
2058
2241
|
cursor?: null | string;
|
|
2059
|
-
runId?: null | string;
|
|
2060
2242
|
excluded?: null | boolean;
|
|
2061
2243
|
};
|
|
2062
2244
|
export type EntrySubjectDto = {
|
|
@@ -2071,13 +2253,6 @@ export type EntryWriteResultDto = {
|
|
|
2071
2253
|
akte?: null | ListEntryAkteDto;
|
|
2072
2254
|
ownRecord?: null | ListEntryOwnRecordDto;
|
|
2073
2255
|
};
|
|
2074
|
-
export type EvaluationDto = {
|
|
2075
|
-
run?: null | ListRunDto;
|
|
2076
|
-
members?: null | number;
|
|
2077
|
-
wouldAdd?: null | number;
|
|
2078
|
-
wouldRemove?: null | number;
|
|
2079
|
-
sample?: null | Array<ListEventSubject>;
|
|
2080
|
-
};
|
|
2081
2256
|
export type EviChangedFunction = {
|
|
2082
2257
|
personId?: null | string;
|
|
2083
2258
|
code: string;
|
|
@@ -2266,6 +2441,12 @@ export type GeoPoint = {
|
|
|
2266
2441
|
lng: number;
|
|
2267
2442
|
fnr?: null | string;
|
|
2268
2443
|
kind?: null | string;
|
|
2444
|
+
legalForm?: null | string;
|
|
2445
|
+
place?: null | string;
|
|
2446
|
+
industryLabel?: null | string;
|
|
2447
|
+
employees?: null | number;
|
|
2448
|
+
assets?: null | number;
|
|
2449
|
+
logoUrl?: null | string;
|
|
2269
2450
|
};
|
|
2270
2451
|
export type GisaLicenseState = {
|
|
2271
2452
|
status?: null | string;
|
|
@@ -2480,6 +2661,10 @@ export type InvoiceDraftBody = {
|
|
|
2480
2661
|
*/
|
|
2481
2662
|
note?: null | string;
|
|
2482
2663
|
scope?: null | InvoiceDraftScope;
|
|
2664
|
+
/**
|
|
2665
|
+
* Rechnungsnummer typed by hand; empty takes the Absender's next number. Given as typed when issued: a number already given by the Absender is refused (409), one of the range's own numbers past its counter moves the counter on.
|
|
2666
|
+
*/
|
|
2667
|
+
number?: null | string;
|
|
2483
2668
|
};
|
|
2484
2669
|
export type InvoiceDraftScope = {
|
|
2485
2670
|
/**
|
|
@@ -2560,6 +2745,10 @@ export type InvoiceDto = {
|
|
|
2560
2745
|
email: InvoiceEmailDto;
|
|
2561
2746
|
scope?: null | InvoiceDraftScope;
|
|
2562
2747
|
defaults?: null | InvoiceDefaultsDto;
|
|
2748
|
+
/**
|
|
2749
|
+
* A draft's Rechnungsnummer typed by hand; empty numbers automatically.
|
|
2750
|
+
*/
|
|
2751
|
+
requestedNumber?: null | string;
|
|
2563
2752
|
};
|
|
2564
2753
|
export type InvoiceEmailDto = {
|
|
2565
2754
|
/**
|
|
@@ -2567,7 +2756,7 @@ export type InvoiceEmailDto = {
|
|
|
2567
2756
|
*/
|
|
2568
2757
|
to?: null | string;
|
|
2569
2758
|
/**
|
|
2570
|
-
* ready, notIssued, noAddress,
|
|
2759
|
+
* ready, notIssued, noAddress, notVerified (the member is not verified; Du → Profil → Verifizierung), pending (their verification is in review: „Wird geprüft“), notAllowed, suppressed (an earlier mail there bounced) or unavailable (sending is not set up).
|
|
2571
2760
|
*/
|
|
2572
2761
|
state: string;
|
|
2573
2762
|
/**
|
|
@@ -2682,7 +2871,7 @@ export type LetterCountDto = {
|
|
|
2682
2871
|
export type LetterDto = {
|
|
2683
2872
|
id: string;
|
|
2684
2873
|
/**
|
|
2685
|
-
* draft (
|
|
2874
|
+
* draft (not started), running (its run books the Zielgruppe's companies without a letter), paused (books nothing until resumed) or sent (fertig).
|
|
2686
2875
|
*/
|
|
2687
2876
|
status: string;
|
|
2688
2877
|
senderCompanyId?: null | string;
|
|
@@ -2710,13 +2899,58 @@ export type LetterDto = {
|
|
|
2710
2899
|
createdAt: string;
|
|
2711
2900
|
changedAt: string;
|
|
2712
2901
|
/**
|
|
2713
|
-
*
|
|
2902
|
+
* Unused since Kampagnen (#3540); always 0.
|
|
2714
2903
|
*/
|
|
2715
2904
|
newRecipients?: number;
|
|
2716
2905
|
/**
|
|
2717
2906
|
* The bold line in the QR field with its variables; null prints „Mehr erfahren“.
|
|
2718
2907
|
*/
|
|
2719
2908
|
qrText?: null | string;
|
|
2909
|
+
/**
|
|
2910
|
+
* The Kampagne's name; null is „Neue Kampagne“.
|
|
2911
|
+
*/
|
|
2912
|
+
name?: null | string;
|
|
2913
|
+
audience?: Filter;
|
|
2914
|
+
/**
|
|
2915
|
+
* Laufend: every company that newly matches the Zielgruppe gets the Brief, each once. Else einmalig.
|
|
2916
|
+
*/
|
|
2917
|
+
ongoing?: boolean;
|
|
2918
|
+
/**
|
|
2919
|
+
* The budget in credits per calendar month (Europe/Vienna); null is none.
|
|
2920
|
+
*/
|
|
2921
|
+
budgetCredits?: null | number;
|
|
2922
|
+
/**
|
|
2923
|
+
* Why it is paused: user, sender, member, verification or letter.
|
|
2924
|
+
*/
|
|
2925
|
+
pausedReason?: null | string;
|
|
2926
|
+
/**
|
|
2927
|
+
* Letters that wait for the budget, the workspace limit or credits.
|
|
2928
|
+
*/
|
|
2929
|
+
waitingCount?: number;
|
|
2930
|
+
/**
|
|
2931
|
+
* Letters Pingen could not deliver (Rückläufer).
|
|
2932
|
+
*/
|
|
2933
|
+
undeliverableCount?: number;
|
|
2934
|
+
/**
|
|
2935
|
+
* Credits its letters were charged.
|
|
2936
|
+
*/
|
|
2937
|
+
creditsSpent?: number;
|
|
2938
|
+
/**
|
|
2939
|
+
* Credits the budget counted in the current period.
|
|
2940
|
+
*/
|
|
2941
|
+
budgetUsed?: number;
|
|
2942
|
+
/**
|
|
2943
|
+
* Letters charged per ISO week, oldest first.
|
|
2944
|
+
*/
|
|
2945
|
+
weeks?: null | Array<LetterWeekDto>;
|
|
2946
|
+
/**
|
|
2947
|
+
* Letters that waited 14 days without budget or credits and expired (verfallen).
|
|
2948
|
+
*/
|
|
2949
|
+
expiredCount?: number;
|
|
2950
|
+
/**
|
|
2951
|
+
* The Kampagne's Kontaktliste, the companies it sent to; null until its first letter.
|
|
2952
|
+
*/
|
|
2953
|
+
contactListId?: null | string;
|
|
2720
2954
|
};
|
|
2721
2955
|
export type LetterPlanDto = {
|
|
2722
2956
|
letterId: string;
|
|
@@ -2730,9 +2964,9 @@ export type LetterPlanDto = {
|
|
|
2730
2964
|
sending: number;
|
|
2731
2965
|
creditsPerLetter: number;
|
|
2732
2966
|
credits: number;
|
|
2733
|
-
|
|
2967
|
+
fromIncluded: number;
|
|
2734
2968
|
fromBalance: number;
|
|
2735
|
-
|
|
2969
|
+
monthlyLettersLeft: number;
|
|
2736
2970
|
balance: number;
|
|
2737
2971
|
affordable: boolean;
|
|
2738
2972
|
examples: Array<string>;
|
|
@@ -2775,10 +3009,14 @@ export type LetterPreviewDto = {
|
|
|
2775
3009
|
qrText?: null | string;
|
|
2776
3010
|
};
|
|
2777
3011
|
export type LetterPricesDto = {
|
|
3012
|
+
/**
|
|
3013
|
+
* One letter, up to two sheets with its attachments.
|
|
3014
|
+
*/
|
|
2778
3015
|
letter: number;
|
|
2779
|
-
|
|
3016
|
+
/**
|
|
3017
|
+
* Each sheet from the third (printed duplex); attachments count only through their sheets.
|
|
3018
|
+
*/
|
|
2780
3019
|
sheet: number;
|
|
2781
|
-
weeklySharePercent: number;
|
|
2782
3020
|
};
|
|
2783
3021
|
export type LetterRecipientDto = {
|
|
2784
3022
|
kind: string;
|
|
@@ -2789,76 +3027,10 @@ export type LetterRecipientDto = {
|
|
|
2789
3027
|
* A company's address in one line.
|
|
2790
3028
|
*/
|
|
2791
3029
|
address?: null | string;
|
|
2792
|
-
/**
|
|
2793
|
-
* Lists only: once or ongoing.
|
|
2794
|
-
*/
|
|
2795
|
-
mode?: null | string;
|
|
2796
|
-
/**
|
|
2797
|
-
* Lists only: the budget in credits per budgetPeriod; null is none.
|
|
2798
|
-
*/
|
|
2799
|
-
budgetCredits?: null | number;
|
|
2800
|
-
/**
|
|
2801
|
-
* Lists only: day, week or month.
|
|
2802
|
-
*/
|
|
2803
|
-
budgetPeriod?: null | string;
|
|
2804
|
-
/**
|
|
2805
|
-
* Lists only: queue or drop.
|
|
2806
|
-
*/
|
|
2807
|
-
overflow?: null | string;
|
|
2808
|
-
/**
|
|
2809
|
-
* Lists only: the Brief sends to the list's new entries now (an ongoing list after a send).
|
|
2810
|
-
*/
|
|
2811
|
-
running?: boolean;
|
|
2812
|
-
/**
|
|
2813
|
-
* Lists only: why sending to new entries is paused: user (paused in the Brief), sender, member or letter.
|
|
2814
|
-
*/
|
|
2815
|
-
pausedReason?: null | string;
|
|
2816
|
-
/**
|
|
2817
|
-
* Lists only: letters to the list's new entries charged this week.
|
|
2818
|
-
*/
|
|
2819
|
-
sentThisWeek?: number;
|
|
2820
|
-
/**
|
|
2821
|
-
* Lists only: letters to new entries that wait for the budget, the workspace limit or credits.
|
|
2822
|
-
*/
|
|
2823
|
-
waiting?: number;
|
|
2824
|
-
/**
|
|
2825
|
-
* Lists only: credits the budget counted in the current period.
|
|
2826
|
-
*/
|
|
2827
|
-
budgetUsed?: number;
|
|
2828
|
-
/**
|
|
2829
|
-
* Lists only: when the current budget period ends.
|
|
2830
|
-
*/
|
|
2831
|
-
budgetResetsAt?: null | string;
|
|
2832
3030
|
};
|
|
2833
3031
|
export type LetterRecipientRef = {
|
|
2834
3032
|
kind: string;
|
|
2835
3033
|
id: string;
|
|
2836
|
-
/**
|
|
2837
|
-
* once (default) or ongoing (also new entries).
|
|
2838
|
-
*/
|
|
2839
|
-
mode?: null | string;
|
|
2840
|
-
/**
|
|
2841
|
-
* Credits per budgetPeriod.
|
|
2842
|
-
*/
|
|
2843
|
-
budgetCredits?: null | number;
|
|
2844
|
-
/**
|
|
2845
|
-
* day, week or month.
|
|
2846
|
-
*/
|
|
2847
|
-
budgetPeriod?: null | string;
|
|
2848
|
-
/**
|
|
2849
|
-
* queue (default) or drop.
|
|
2850
|
-
*/
|
|
2851
|
-
overflow?: null | string;
|
|
2852
|
-
};
|
|
2853
|
-
export type LetterRulePayload = {
|
|
2854
|
-
/**
|
|
2855
|
-
* ID of a Brief in this workspace, from list_letters.
|
|
2856
|
-
*/
|
|
2857
|
-
letterId: string;
|
|
2858
|
-
/**
|
|
2859
|
-
* Firmenakte-ID of the Absender company, one of get_letter_setup's senders.
|
|
2860
|
-
*/
|
|
2861
|
-
senderCompanyId: string;
|
|
2862
3034
|
};
|
|
2863
3035
|
export type LetterSenderDto = {
|
|
2864
3036
|
companyId: string;
|
|
@@ -2890,14 +3062,14 @@ export type LetterSendingDto = {
|
|
|
2890
3062
|
hasPdf: boolean;
|
|
2891
3063
|
scans: number;
|
|
2892
3064
|
firstScannedAt?: null | string;
|
|
2893
|
-
/**
|
|
2894
|
-
* The list rule (sendLetter) that queued it for a new list entry; null for a send of the Brief.
|
|
2895
|
-
*/
|
|
2896
|
-
ruleId?: null | string;
|
|
2897
3065
|
/**
|
|
2898
3066
|
* Why a waiting letter waits: list_budget, workspace_limit or credits.
|
|
2899
3067
|
*/
|
|
2900
3068
|
waitReason?: null | string;
|
|
3069
|
+
/**
|
|
3070
|
+
* The company's postcode and place, as „1140 Wien“; null without a current address.
|
|
3071
|
+
*/
|
|
3072
|
+
companyPlace?: null | string;
|
|
2901
3073
|
};
|
|
2902
3074
|
export type LetterSendResultDto = {
|
|
2903
3075
|
plan: LetterPlanDto;
|
|
@@ -2910,6 +3082,14 @@ export type LetterSetupDto = {
|
|
|
2910
3082
|
noSenderReason?: null | string;
|
|
2911
3083
|
variables: Array<LetterVariableDto>;
|
|
2912
3084
|
prices: LetterPricesDto;
|
|
3085
|
+
/**
|
|
3086
|
+
* Why the caller cannot send Briefe now, as a sentence: they are not verified (Du → Profil → Verifizierung) or their verification is in review. Null when they may send.
|
|
3087
|
+
*/
|
|
3088
|
+
sendRefusal?: null | string;
|
|
3089
|
+
/**
|
|
3090
|
+
* The budget a new Kampagne starts with, credits per month; null is none.
|
|
3091
|
+
*/
|
|
3092
|
+
budgetCredits?: null | number;
|
|
2913
3093
|
};
|
|
2914
3094
|
export type LetterSpanDto = {
|
|
2915
3095
|
text: string;
|
|
@@ -2931,24 +3111,27 @@ export type LetterSummaryDto = {
|
|
|
2931
3111
|
scannedCount: number;
|
|
2932
3112
|
changedAt: string;
|
|
2933
3113
|
/**
|
|
2934
|
-
*
|
|
3114
|
+
* The Kampagne's name; null is „Neue Kampagne“.
|
|
2935
3115
|
*/
|
|
2936
|
-
|
|
3116
|
+
name?: null | string;
|
|
2937
3117
|
};
|
|
2938
3118
|
export type LetterVariableDto = {
|
|
2939
3119
|
path: string;
|
|
2940
3120
|
label: string;
|
|
2941
3121
|
group: string;
|
|
2942
3122
|
};
|
|
3123
|
+
export type LetterWeekDto = {
|
|
3124
|
+
week: string;
|
|
3125
|
+
sent: number;
|
|
3126
|
+
credits: number;
|
|
3127
|
+
};
|
|
2943
3128
|
export type ListDto = {
|
|
2944
3129
|
id: string;
|
|
2945
3130
|
name: string;
|
|
2946
3131
|
color?: null | string;
|
|
2947
3132
|
stats: Stats;
|
|
2948
3133
|
revision: string;
|
|
2949
|
-
hasRules?: boolean;
|
|
2950
3134
|
allSelectedPresent?: null | boolean;
|
|
2951
|
-
run?: null | ListRunDto;
|
|
2952
3135
|
system?: null | string;
|
|
2953
3136
|
};
|
|
2954
3137
|
export type ListEntryAkteDto = {
|
|
@@ -3002,7 +3185,6 @@ export type ListEntrySubjectDto = {
|
|
|
3002
3185
|
export type ListEventDto = {
|
|
3003
3186
|
seq: number;
|
|
3004
3187
|
listId: string;
|
|
3005
|
-
runId?: null | string;
|
|
3006
3188
|
type: string;
|
|
3007
3189
|
at: string;
|
|
3008
3190
|
baseline: boolean;
|
|
@@ -3020,55 +3202,20 @@ export type ListEventSubject = {
|
|
|
3020
3202
|
type?: null | string;
|
|
3021
3203
|
name: string;
|
|
3022
3204
|
};
|
|
3023
|
-
export type
|
|
3205
|
+
export type ListSubjectProperty = {
|
|
3206
|
+
path: string;
|
|
3207
|
+
label: string;
|
|
3208
|
+
type: string;
|
|
3209
|
+
options?: null | Array<string>;
|
|
3210
|
+
};
|
|
3211
|
+
export type ListWriteJobDto = {
|
|
3024
3212
|
id: string;
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
baseline: boolean;
|
|
3032
|
-
credits: number;
|
|
3033
|
-
reason?: null | string;
|
|
3034
|
-
deliveries?: null | Array<RunDeliveryDto>;
|
|
3035
|
-
};
|
|
3036
|
-
export type ListSchedule = {
|
|
3037
|
-
/**
|
|
3038
|
-
* Repeat daily, weekdays (Monday-Friday), weekly, monthly, or manual (no recurrence). Never more often than daily.
|
|
3039
|
-
*/
|
|
3040
|
-
every?: 'daily' | 'weekdays' | 'weekly' | 'monthly' | 'manual';
|
|
3041
|
-
/**
|
|
3042
|
-
* Required for recurrence: a full hour HH:00 from 00:00 to 23:00 in Europe/Vienna. This schedule belongs to an independent query rule. Omit or use null for manual (no recurrence); an initial run is selected separately with runNow. Each query run uses the current listUpdate price.
|
|
3043
|
-
*/
|
|
3044
|
-
at?: null | string;
|
|
3045
|
-
/**
|
|
3046
|
-
* Required only for weekly: 0=Sunday, 1=Monday, 2=Tuesday, 3=Wednesday, 4=Thursday, 5=Friday, 6=Saturday. Otherwise omit or use null.
|
|
3047
|
-
*/
|
|
3048
|
-
weekday?: null | number;
|
|
3049
|
-
/**
|
|
3050
|
-
* Required only for monthly: day of month 1-28. Otherwise omit or use null.
|
|
3051
|
-
*/
|
|
3052
|
-
monthday?: null | number;
|
|
3053
|
-
/**
|
|
3054
|
-
* Always Europe/Vienna; daylight saving time is handled automatically.
|
|
3055
|
-
*/
|
|
3056
|
-
timezone?: 'Europe/Vienna';
|
|
3057
|
-
};
|
|
3058
|
-
export type ListSubjectProperty = {
|
|
3059
|
-
path: string;
|
|
3060
|
-
label: string;
|
|
3061
|
-
type: string;
|
|
3062
|
-
options?: null | Array<string>;
|
|
3063
|
-
};
|
|
3064
|
-
export type ListWriteJobDto = {
|
|
3065
|
-
id: string;
|
|
3066
|
-
kind: string;
|
|
3067
|
-
listId: string;
|
|
3068
|
-
status: string;
|
|
3069
|
-
total: number;
|
|
3070
|
-
done: number;
|
|
3071
|
-
failed: number;
|
|
3213
|
+
kind: string;
|
|
3214
|
+
listId: string;
|
|
3215
|
+
status: string;
|
|
3216
|
+
total: number;
|
|
3217
|
+
done: number;
|
|
3218
|
+
failed: number;
|
|
3072
3219
|
startedAt: string;
|
|
3073
3220
|
finishedAt?: null | string;
|
|
3074
3221
|
errorCode?: null | string;
|
|
@@ -3082,14 +3229,32 @@ export type MatchBankTransactionsRequest = {
|
|
|
3082
3229
|
export type MatchBankTransactionsResult = {
|
|
3083
3230
|
matched: number;
|
|
3084
3231
|
};
|
|
3232
|
+
export type MeClassPricesDto = {
|
|
3233
|
+
basic: number;
|
|
3234
|
+
ai: number;
|
|
3235
|
+
};
|
|
3085
3236
|
export type MeCreditsDto = {
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3237
|
+
/**
|
|
3238
|
+
* The calendar month (Europe/Vienna) the included amounts belong to, "yyyy-MM".
|
|
3239
|
+
*/
|
|
3240
|
+
month: string;
|
|
3241
|
+
/**
|
|
3242
|
+
* The Guthaben in credits (euro cents). It pays once a feature's included amount of the month is used up.
|
|
3243
|
+
*/
|
|
3090
3244
|
balance: number;
|
|
3245
|
+
/**
|
|
3246
|
+
* When the included amounts are full again: the 1st of the next month, 00:00 Europe/Vienna.
|
|
3247
|
+
*/
|
|
3091
3248
|
resetsAt: string;
|
|
3249
|
+
/**
|
|
3250
|
+
* What the plan includes this month per feature, in the feature's unit, and what of it is used.
|
|
3251
|
+
*/
|
|
3252
|
+
included: Array<MeIncludedDto>;
|
|
3092
3253
|
prices: CreditPrices;
|
|
3254
|
+
/**
|
|
3255
|
+
* Credits (euro cents) one Abfrage (basic) costs, and one block of 5,000 AI tokens (ai).
|
|
3256
|
+
*/
|
|
3257
|
+
classes: MeClassPricesDto;
|
|
3093
3258
|
};
|
|
3094
3259
|
export type MeDto = {
|
|
3095
3260
|
workspace: MeWorkspaceDto;
|
|
@@ -3101,6 +3266,11 @@ export type MeDto = {
|
|
|
3101
3266
|
features?: Array<string>;
|
|
3102
3267
|
access?: WorkspaceAccessDto;
|
|
3103
3268
|
};
|
|
3269
|
+
export type MeIncludedDto = {
|
|
3270
|
+
feature: string;
|
|
3271
|
+
included: number;
|
|
3272
|
+
used: number;
|
|
3273
|
+
};
|
|
3104
3274
|
export type MeKeyDto = {
|
|
3105
3275
|
id: string;
|
|
3106
3276
|
name: string;
|
|
@@ -3302,18 +3472,6 @@ export type NoticeCompany = {
|
|
|
3302
3472
|
id: string;
|
|
3303
3473
|
name: string;
|
|
3304
3474
|
};
|
|
3305
|
-
export type NotificationRulePayload = {
|
|
3306
|
-
channel: 'inApp' | 'email';
|
|
3307
|
-
};
|
|
3308
|
-
export type NotificationRulesDto = {
|
|
3309
|
-
inApp: null | RuleDto;
|
|
3310
|
-
email: null | RuleDto;
|
|
3311
|
-
};
|
|
3312
|
-
export type NotificationRuleSetting = {
|
|
3313
|
-
enabled: boolean;
|
|
3314
|
-
id: null | string;
|
|
3315
|
-
revision: null | string;
|
|
3316
|
-
};
|
|
3317
3475
|
export type NumbersSettingsBody = {
|
|
3318
3476
|
customerNumberField?: null | string;
|
|
3319
3477
|
supplierNumberField?: null | string;
|
|
@@ -3321,6 +3479,14 @@ export type NumbersSettingsBody = {
|
|
|
3321
3479
|
ibanField?: null | string;
|
|
3322
3480
|
emailField?: null | string;
|
|
3323
3481
|
addressField?: null | string;
|
|
3482
|
+
/**
|
|
3483
|
+
* Raise the number the next Kunde gets (without Vorsatz). Never lower: a number is given once.
|
|
3484
|
+
*/
|
|
3485
|
+
nextCustomerNumber?: null | number;
|
|
3486
|
+
/**
|
|
3487
|
+
* Raise the number the next Lieferant gets (without Vorsatz). Never lower: a number is given once.
|
|
3488
|
+
*/
|
|
3489
|
+
nextSupplierNumber?: null | number;
|
|
3324
3490
|
};
|
|
3325
3491
|
export type OwnRecordDto = {
|
|
3326
3492
|
id: string;
|
|
@@ -3385,6 +3551,16 @@ export type PersonSearchSort = {
|
|
|
3385
3551
|
by?: string;
|
|
3386
3552
|
direction?: string;
|
|
3387
3553
|
};
|
|
3554
|
+
export type PreviewCamtRequest = {
|
|
3555
|
+
/**
|
|
3556
|
+
* The CAMT.053 XML file, base64, at most 10 MB.
|
|
3557
|
+
*/
|
|
3558
|
+
contentBase64: string;
|
|
3559
|
+
/**
|
|
3560
|
+
* The Konto chosen on the page. The file's IBAN decides; this counts where the file names none, or this Konto has none.
|
|
3561
|
+
*/
|
|
3562
|
+
accountId?: null | string;
|
|
3563
|
+
};
|
|
3388
3564
|
export type Problem = {
|
|
3389
3565
|
type: string;
|
|
3390
3566
|
title: string;
|
|
@@ -3394,7 +3570,6 @@ export type Problem = {
|
|
|
3394
3570
|
requestId: string;
|
|
3395
3571
|
errors: Array<V2ValidationError>;
|
|
3396
3572
|
candidates?: null | Array<string>;
|
|
3397
|
-
run?: null | ListRunDto;
|
|
3398
3573
|
};
|
|
3399
3574
|
export type PublicAccountFigure = {
|
|
3400
3575
|
definition?: null | AkteRefLink;
|
|
@@ -3952,19 +4127,6 @@ export type PublicSourceCapabilities = {
|
|
|
3952
4127
|
documents: boolean;
|
|
3953
4128
|
extracts: boolean;
|
|
3954
4129
|
};
|
|
3955
|
-
export type QueryRulePayload = {
|
|
3956
|
-
definition: {
|
|
3957
|
-
/**
|
|
3958
|
-
* Record type: company or person. Automatic list query rules currently support company only.
|
|
3959
|
-
*/
|
|
3960
|
-
subject: 'company' | 'person';
|
|
3961
|
-
where: Filter;
|
|
3962
|
-
/**
|
|
3963
|
-
* Filter language version; use 1.
|
|
3964
|
-
*/
|
|
3965
|
-
filterVersion?: 1;
|
|
3966
|
-
};
|
|
3967
|
-
};
|
|
3968
4130
|
export type RecordChange = {
|
|
3969
4131
|
/**
|
|
3970
4132
|
* Source record change event identity; distinct from an entity change ID.
|
|
@@ -4090,84 +4252,6 @@ export type ResultSlice = {
|
|
|
4090
4252
|
fields: Array<ResultField>;
|
|
4091
4253
|
expiresAt: string;
|
|
4092
4254
|
};
|
|
4093
|
-
export type RuleDefinition = ({
|
|
4094
|
-
operationId: 'applyListQuery';
|
|
4095
|
-
} & RuleDefinitionApplyListQueryDefinition) | ({
|
|
4096
|
-
operationId: 'notifyListEntries';
|
|
4097
|
-
} & RuleDefinitionNotifyListEntriesDefinition) | ({
|
|
4098
|
-
operationId: 'sendLetter';
|
|
4099
|
-
} & RuleDefinitionSendLetterDefinition);
|
|
4100
|
-
export type RuleDefinitionApplyListQueryDefinition = {
|
|
4101
|
-
operationId: 'applyListQuery';
|
|
4102
|
-
payload: QueryRulePayload;
|
|
4103
|
-
triggerPayload?: null | ListSchedule;
|
|
4104
|
-
trigger?: 'manual' | 'schedule';
|
|
4105
|
-
enabled?: boolean;
|
|
4106
|
-
schemaVersion?: 1;
|
|
4107
|
-
};
|
|
4108
|
-
export type RuleDefinitionNotifyListEntriesDefinition = {
|
|
4109
|
-
operationId: 'notifyListEntries';
|
|
4110
|
-
payload: NotificationRulePayload;
|
|
4111
|
-
triggerPayload?: null | EmptyRuleTrigger;
|
|
4112
|
-
trigger?: 'entry.added';
|
|
4113
|
-
enabled?: boolean;
|
|
4114
|
-
schemaVersion?: 1;
|
|
4115
|
-
};
|
|
4116
|
-
export type RuleDefinitionSendLetterDefinition = {
|
|
4117
|
-
operationId: 'sendLetter';
|
|
4118
|
-
payload: LetterRulePayload;
|
|
4119
|
-
triggerPayload?: null | EmptyRuleTrigger;
|
|
4120
|
-
trigger?: 'entry.added';
|
|
4121
|
-
enabled?: boolean;
|
|
4122
|
-
schemaVersion?: 1;
|
|
4123
|
-
};
|
|
4124
|
-
export type RuleDto = {
|
|
4125
|
-
id: string;
|
|
4126
|
-
listId: string;
|
|
4127
|
-
revision: string;
|
|
4128
|
-
rule: RuleDefinition;
|
|
4129
|
-
nextRunAt?: null | string;
|
|
4130
|
-
credits: number;
|
|
4131
|
-
run?: null | ListRunDto;
|
|
4132
|
-
};
|
|
4133
|
-
export type RuleQuoteDto = {
|
|
4134
|
-
credits: number;
|
|
4135
|
-
nextRunAt: null | string;
|
|
4136
|
-
items: Array<RuleQuoteItem>;
|
|
4137
|
-
/**
|
|
4138
|
-
* Companies a run would newly add to the list now: matches that are neither members nor excluded, as wouldAdd of a dry run counts them. Counted up to 10000; matchesCapped is true when there are more.
|
|
4139
|
-
*/
|
|
4140
|
-
matches: number;
|
|
4141
|
-
/**
|
|
4142
|
-
* True when more than 10000 companies would be added; matches then reads 10000.
|
|
4143
|
-
*/
|
|
4144
|
-
matchesCapped: boolean;
|
|
4145
|
-
};
|
|
4146
|
-
export type RuleQuoteItem = {
|
|
4147
|
-
id: string;
|
|
4148
|
-
type?: null | string;
|
|
4149
|
-
name: string;
|
|
4150
|
-
/**
|
|
4151
|
-
* City of the registered address.
|
|
4152
|
-
*/
|
|
4153
|
-
place?: null | string;
|
|
4154
|
-
/**
|
|
4155
|
-
* Short label of the current legal form, such as GmbH.
|
|
4156
|
-
*/
|
|
4157
|
-
legalFormShortLabel?: null | string;
|
|
4158
|
-
/**
|
|
4159
|
-
* Date of the first Firmenbuch registration.
|
|
4160
|
-
*/
|
|
4161
|
-
registeredDate?: null | string;
|
|
4162
|
-
};
|
|
4163
|
-
export type RunDeliveryDto = {
|
|
4164
|
-
channel: string;
|
|
4165
|
-
status: string;
|
|
4166
|
-
};
|
|
4167
|
-
export type RunRuleDto = {
|
|
4168
|
-
revision: string;
|
|
4169
|
-
dryRun?: boolean;
|
|
4170
|
-
};
|
|
4171
4255
|
export type SaveArticleRequest = {
|
|
4172
4256
|
name: string;
|
|
4173
4257
|
priceCents: number;
|
|
@@ -4200,16 +4284,25 @@ export type SelectionHandle = {
|
|
|
4200
4284
|
};
|
|
4201
4285
|
export type SenderSettingsBody = {
|
|
4202
4286
|
senderId: string;
|
|
4287
|
+
/**
|
|
4288
|
+
* 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.
|
|
4289
|
+
*/
|
|
4203
4290
|
iban?: null | string;
|
|
4291
|
+
/**
|
|
4292
|
+
* Used with iban when accountId is not sent: it becomes that Konto's BIC.
|
|
4293
|
+
*/
|
|
4204
4294
|
bic?: null | string;
|
|
4295
|
+
/**
|
|
4296
|
+
* Overrides the UID of the Unternehmen; an empty string removes the override, omitted keeps it.
|
|
4297
|
+
*/
|
|
4205
4298
|
uid?: null | string;
|
|
4206
4299
|
paymentDays?: null | number;
|
|
4207
4300
|
/**
|
|
4208
|
-
*
|
|
4301
|
+
* Superseded by numberPattern: replaces the pattern's text before its first variable, RE- of RE-{Jahr}-{Nummer}. Ignored when numberPattern is sent.
|
|
4209
4302
|
*/
|
|
4210
4303
|
prefix?: null | string;
|
|
4211
4304
|
/**
|
|
4212
|
-
* Raise the
|
|
4305
|
+
* Raise the running number of the current period, for example when moving from another tool. Never lower.
|
|
4213
4306
|
*/
|
|
4214
4307
|
nextSequence?: null | number;
|
|
4215
4308
|
/**
|
|
@@ -4220,6 +4313,22 @@ export type SenderSettingsBody = {
|
|
|
4220
4313
|
* Kleinunternehmer (§ 6 Abs. 1 Z 27 UStG): no VAT, and the note on the invoice.
|
|
4221
4314
|
*/
|
|
4222
4315
|
smallBusiness?: null | boolean;
|
|
4316
|
+
/**
|
|
4317
|
+
* The Konto invoices name for payment, one with an IBAN; an empty string removes it. Takes precedence over iban.
|
|
4318
|
+
*/
|
|
4319
|
+
accountId?: null | string;
|
|
4320
|
+
/**
|
|
4321
|
+
* The Nummernkreis, at most 40 characters: text with {Jahr} (2026), {Jahr2} (26), {Monat} (03) and {Nummer} once, such as RE-{Jahr}-{Nummer}.
|
|
4322
|
+
*/
|
|
4323
|
+
numberPattern?: null | string;
|
|
4324
|
+
/**
|
|
4325
|
+
* The digits {Nummer} has at least, 1 to 12.
|
|
4326
|
+
*/
|
|
4327
|
+
numberDigits?: null | number;
|
|
4328
|
+
/**
|
|
4329
|
+
* When {Nummer} starts at 1 again, by the invoice date: yearly (needs {Jahr} or {Jahr2}), monthly (needs {Monat} and a year) or never. Omitted with a numberPattern, it follows the pattern: with {Monat} and a year monthly, with a year yearly, else never.
|
|
4330
|
+
*/
|
|
4331
|
+
numberReset?: null | string;
|
|
4223
4332
|
};
|
|
4224
4333
|
export type SendInvoiceBody = {
|
|
4225
4334
|
/**
|
|
@@ -4227,7 +4336,7 @@ export type SendInvoiceBody = {
|
|
|
4227
4336
|
*/
|
|
4228
4337
|
reminder?: boolean;
|
|
4229
4338
|
/**
|
|
4230
|
-
* One short sentence from the sender
|
|
4339
|
+
* One short sentence from the sender in the mail, under the amount; no links. At most 300 characters.
|
|
4231
4340
|
*/
|
|
4232
4341
|
note?: null | string;
|
|
4233
4342
|
};
|
|
@@ -4238,6 +4347,45 @@ export type SendLetterBody = {
|
|
|
4238
4347
|
*/
|
|
4239
4348
|
resendReceived?: boolean;
|
|
4240
4349
|
};
|
|
4350
|
+
export type SendTemplateBody = {
|
|
4351
|
+
/**
|
|
4352
|
+
* Companies by Firmenakte-ID.
|
|
4353
|
+
*/
|
|
4354
|
+
companies?: null | Array<string>;
|
|
4355
|
+
/**
|
|
4356
|
+
* A table (list ID): all its entries, or with entryIds only those.
|
|
4357
|
+
*/
|
|
4358
|
+
listId?: null | string;
|
|
4359
|
+
/**
|
|
4360
|
+
* Entries of listId by entry ID: the ticked rows.
|
|
4361
|
+
*/
|
|
4362
|
+
entryIds?: null | Array<string>;
|
|
4363
|
+
/**
|
|
4364
|
+
* The Absender key (the workspace's Unternehmen); without, the Brief's.
|
|
4365
|
+
*/
|
|
4366
|
+
senderCompanyId?: null | string;
|
|
4367
|
+
/**
|
|
4368
|
+
* Also send to those that already received this Brief; skipped as already_sent otherwise.
|
|
4369
|
+
*/
|
|
4370
|
+
resendReceived?: boolean;
|
|
4371
|
+
/**
|
|
4372
|
+
* Only count and price; nothing is sent or charged.
|
|
4373
|
+
*/
|
|
4374
|
+
dryRun?: boolean;
|
|
4375
|
+
};
|
|
4376
|
+
export type SendTemplateResultDto = {
|
|
4377
|
+
dryRun: boolean;
|
|
4378
|
+
/**
|
|
4379
|
+
* Letters queued.
|
|
4380
|
+
*/
|
|
4381
|
+
sent: number;
|
|
4382
|
+
skipped: number;
|
|
4383
|
+
letter: LetterPlanDto;
|
|
4384
|
+
/**
|
|
4385
|
+
* Credits the send cost.
|
|
4386
|
+
*/
|
|
4387
|
+
credits?: number;
|
|
4388
|
+
};
|
|
4241
4389
|
export type SetEntityValuesDto = {
|
|
4242
4390
|
/**
|
|
4243
4391
|
* Workspace field key to a value of its configured type (string, one option, number, ISO date, boolean, an amount {cents, currency}, an ID for file, reference and member, or a sequence number {number, label} read back, "next" to give one); null clears.
|
|
@@ -4259,10 +4407,6 @@ export type SetEntityValuesDto = {
|
|
|
4259
4407
|
[key: string]: null | string | number | boolean;
|
|
4260
4408
|
};
|
|
4261
4409
|
};
|
|
4262
|
-
export type SetNotificationRulesDto = {
|
|
4263
|
-
inApp: NotificationRuleSetting;
|
|
4264
|
-
email: NotificationRuleSetting;
|
|
4265
|
-
};
|
|
4266
4410
|
export type SourceKey = 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
|
|
4267
4411
|
export type SourceLicense = {
|
|
4268
4412
|
name: string;
|
|
@@ -4371,6 +4515,10 @@ export type UpdateBankAccountBody = {
|
|
|
4371
4515
|
* bank, cash, card or provider.
|
|
4372
4516
|
*/
|
|
4373
4517
|
kind?: null | string;
|
|
4518
|
+
/**
|
|
4519
|
+
* 8 or 11 characters; an empty string removes it.
|
|
4520
|
+
*/
|
|
4521
|
+
bic?: null | string;
|
|
4374
4522
|
};
|
|
4375
4523
|
export type UpdateBankConnectionBody = {
|
|
4376
4524
|
/**
|
|
@@ -4379,11 +4527,10 @@ export type UpdateBankConnectionBody = {
|
|
|
4379
4527
|
payoutAccountId?: null | string;
|
|
4380
4528
|
};
|
|
4381
4529
|
export type UpdateBankSettingsRequest = {
|
|
4382
|
-
aiMatch?: null | boolean;
|
|
4383
4530
|
/**
|
|
4384
|
-
*
|
|
4531
|
+
* aus, pruefen or sicher.
|
|
4385
4532
|
*/
|
|
4386
|
-
|
|
4533
|
+
mode: 'aus' | 'pruefen' | 'sicher';
|
|
4387
4534
|
};
|
|
4388
4535
|
export type UpdateBankTransactionBody = {
|
|
4389
4536
|
bookingDate?: null | string;
|
|
@@ -4440,6 +4587,11 @@ export type UpdateBillingSettingsRequest = {
|
|
|
4440
4587
|
* Take invoices other Firmenakte workspaces issue to this one into the Eingang by themselves; false turns it off.
|
|
4441
4588
|
*/
|
|
4442
4589
|
acceptDeliveries?: null | boolean;
|
|
4590
|
+
mail?: null | BillingMailBody;
|
|
4591
|
+
/**
|
|
4592
|
+
* What the Abschluss counts by: invoice (Rechnungsdatum) or payment (Zahlungseingang).
|
|
4593
|
+
*/
|
|
4594
|
+
reportBasis?: 'invoice' | 'payment';
|
|
4443
4595
|
};
|
|
4444
4596
|
export type UpdateEntryDto = {
|
|
4445
4597
|
excluded?: null | boolean;
|
|
@@ -4477,13 +4629,25 @@ export type UpdateLetterBody = {
|
|
|
4477
4629
|
advertising?: null | boolean;
|
|
4478
4630
|
recipients?: null | Array<LetterRecipientRef>;
|
|
4479
4631
|
/**
|
|
4480
|
-
*
|
|
4632
|
+
* true pauses a running Kampagne (it books nothing, waiting letters wait); false starts a draft or resumes a paused one, as the caller: its Zielgruppe's companies without a letter get one.
|
|
4481
4633
|
*/
|
|
4482
4634
|
paused?: null | boolean;
|
|
4635
|
+
/**
|
|
4636
|
+
* The Kampagne's name; empty removes it, so it is „Neue Kampagne“.
|
|
4637
|
+
*/
|
|
4638
|
+
name?: null | string;
|
|
4639
|
+
audience?: Filter;
|
|
4640
|
+
/**
|
|
4641
|
+
* true: laufend, every new match gets the Brief; false: einmalig.
|
|
4642
|
+
*/
|
|
4643
|
+
ongoing?: null | boolean;
|
|
4644
|
+
/**
|
|
4645
|
+
* The budget in credits per calendar month, at least one letter's price; 0 removes it.
|
|
4646
|
+
*/
|
|
4647
|
+
budgetCredits?: null | number;
|
|
4483
4648
|
};
|
|
4484
|
-
export type
|
|
4485
|
-
|
|
4486
|
-
rule: RuleDefinition;
|
|
4649
|
+
export type UpdateLetterSetupRequest = {
|
|
4650
|
+
budgetCredits?: null | number;
|
|
4487
4651
|
};
|
|
4488
4652
|
export type V2Problem = {
|
|
4489
4653
|
type: string;
|
|
@@ -4494,7 +4658,6 @@ export type V2Problem = {
|
|
|
4494
4658
|
requestId: string;
|
|
4495
4659
|
errors: Array<V2ValidationError>;
|
|
4496
4660
|
candidates?: null | Array<string>;
|
|
4497
|
-
run?: null | ListRunDto;
|
|
4498
4661
|
};
|
|
4499
4662
|
export type V2ValidationError = {
|
|
4500
4663
|
code: string;
|
|
@@ -5242,502 +5405,9 @@ export type GetJobData = {
|
|
|
5242
5405
|
id: string;
|
|
5243
5406
|
};
|
|
5244
5407
|
query?: never;
|
|
5245
|
-
url: '/api/v2/me/jobs/{id}';
|
|
5246
|
-
};
|
|
5247
|
-
export type GetJobErrors = {
|
|
5248
|
-
/**
|
|
5249
|
-
* Malformed request, or a cursor from another request.
|
|
5250
|
-
*/
|
|
5251
|
-
400: Problem;
|
|
5252
|
-
/**
|
|
5253
|
-
* No valid API key or session.
|
|
5254
|
-
*/
|
|
5255
|
-
401: Problem;
|
|
5256
|
-
/**
|
|
5257
|
-
* Not enough credits for this call.
|
|
5258
|
-
*/
|
|
5259
|
-
402: Problem;
|
|
5260
|
-
/**
|
|
5261
|
-
* This operation needs a dashboard session.
|
|
5262
|
-
*/
|
|
5263
|
-
403: Problem;
|
|
5264
|
-
/**
|
|
5265
|
-
* Not found, or it belongs to another workspace.
|
|
5266
|
-
*/
|
|
5267
|
-
404: Problem;
|
|
5268
|
-
/**
|
|
5269
|
-
* Conflict with the current state; `code` says which.
|
|
5270
|
-
*/
|
|
5271
|
-
409: Problem;
|
|
5272
|
-
/**
|
|
5273
|
-
* Erased or expired.
|
|
5274
|
-
*/
|
|
5275
|
-
410: Problem;
|
|
5276
|
-
/**
|
|
5277
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5278
|
-
*/
|
|
5279
|
-
422: Problem;
|
|
5280
|
-
/**
|
|
5281
|
-
* Too many requests; retry after `Retry-After`.
|
|
5282
|
-
*/
|
|
5283
|
-
429: Problem;
|
|
5284
|
-
/**
|
|
5285
|
-
* Internal error; quote `requestId` to support.
|
|
5286
|
-
*/
|
|
5287
|
-
500: Problem;
|
|
5288
|
-
};
|
|
5289
|
-
export type GetJobError = GetJobErrors[keyof GetJobErrors];
|
|
5290
|
-
export type GetJobResponses = {
|
|
5291
|
-
/**
|
|
5292
|
-
* OK
|
|
5293
|
-
*/
|
|
5294
|
-
200: ListWriteJobDto;
|
|
5295
|
-
};
|
|
5296
|
-
export type GetJobResponse = GetJobResponses[keyof GetJobResponses];
|
|
5297
|
-
export type PreviewNewListRuleData = {
|
|
5298
|
-
body: CreateRuleDto;
|
|
5299
|
-
headers?: {
|
|
5300
|
-
/**
|
|
5301
|
-
* Optional replay key, retained for 24 hours.
|
|
5302
|
-
*/
|
|
5303
|
-
'Idempotency-Key'?: string;
|
|
5304
|
-
};
|
|
5305
|
-
path?: never;
|
|
5306
|
-
query?: never;
|
|
5307
|
-
url: '/api/v2/me/lists/rules/preview';
|
|
5308
|
-
};
|
|
5309
|
-
export type PreviewNewListRuleErrors = {
|
|
5310
|
-
/**
|
|
5311
|
-
* Malformed request, or a cursor from another request.
|
|
5312
|
-
*/
|
|
5313
|
-
400: Problem;
|
|
5314
|
-
/**
|
|
5315
|
-
* No valid API key or session.
|
|
5316
|
-
*/
|
|
5317
|
-
401: Problem;
|
|
5318
|
-
/**
|
|
5319
|
-
* Not enough credits for this call.
|
|
5320
|
-
*/
|
|
5321
|
-
402: Problem;
|
|
5322
|
-
/**
|
|
5323
|
-
* This operation needs a dashboard session.
|
|
5324
|
-
*/
|
|
5325
|
-
403: Problem;
|
|
5326
|
-
/**
|
|
5327
|
-
* Not found, or it belongs to another workspace.
|
|
5328
|
-
*/
|
|
5329
|
-
404: Problem;
|
|
5330
|
-
/**
|
|
5331
|
-
* Conflict with the current state; `code` says which.
|
|
5332
|
-
*/
|
|
5333
|
-
409: Problem;
|
|
5334
|
-
/**
|
|
5335
|
-
* Erased or expired.
|
|
5336
|
-
*/
|
|
5337
|
-
410: Problem;
|
|
5338
|
-
/**
|
|
5339
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5340
|
-
*/
|
|
5341
|
-
422: Problem;
|
|
5342
|
-
/**
|
|
5343
|
-
* Too many requests; retry after `Retry-After`.
|
|
5344
|
-
*/
|
|
5345
|
-
429: Problem;
|
|
5346
|
-
/**
|
|
5347
|
-
* Internal error; quote `requestId` to support.
|
|
5348
|
-
*/
|
|
5349
|
-
500: Problem;
|
|
5350
|
-
};
|
|
5351
|
-
export type PreviewNewListRuleError = PreviewNewListRuleErrors[keyof PreviewNewListRuleErrors];
|
|
5352
|
-
export type PreviewNewListRuleResponses = {
|
|
5353
|
-
/**
|
|
5354
|
-
* OK
|
|
5355
|
-
*/
|
|
5356
|
-
200: RuleQuoteDto;
|
|
5357
|
-
};
|
|
5358
|
-
export type PreviewNewListRuleResponse = PreviewNewListRuleResponses[keyof PreviewNewListRuleResponses];
|
|
5359
|
-
export type PreviewRuleData = {
|
|
5360
|
-
body: CreateRuleDto;
|
|
5361
|
-
headers?: {
|
|
5362
|
-
/**
|
|
5363
|
-
* Optional replay key, retained for 24 hours.
|
|
5364
|
-
*/
|
|
5365
|
-
'Idempotency-Key'?: string;
|
|
5366
|
-
};
|
|
5367
|
-
path: {
|
|
5368
|
-
/**
|
|
5369
|
-
* ID of an existing list in the authorized workspace, returned by listLists or createList. A new list has no ID until creation; createList accepts its initial rules directly.
|
|
5370
|
-
*/
|
|
5371
|
-
id: string;
|
|
5372
|
-
};
|
|
5373
|
-
query?: never;
|
|
5374
|
-
url: '/api/v2/me/lists/{id}/rules/preview';
|
|
5375
|
-
};
|
|
5376
|
-
export type PreviewRuleErrors = {
|
|
5377
|
-
/**
|
|
5378
|
-
* Malformed request, or a cursor from another request.
|
|
5379
|
-
*/
|
|
5380
|
-
400: Problem;
|
|
5381
|
-
/**
|
|
5382
|
-
* No valid API key or session.
|
|
5383
|
-
*/
|
|
5384
|
-
401: Problem;
|
|
5385
|
-
/**
|
|
5386
|
-
* Not enough credits for this call.
|
|
5387
|
-
*/
|
|
5388
|
-
402: Problem;
|
|
5389
|
-
/**
|
|
5390
|
-
* This operation needs a dashboard session.
|
|
5391
|
-
*/
|
|
5392
|
-
403: Problem;
|
|
5393
|
-
/**
|
|
5394
|
-
* Not found, or it belongs to another workspace.
|
|
5395
|
-
*/
|
|
5396
|
-
404: Problem;
|
|
5397
|
-
/**
|
|
5398
|
-
* Conflict with the current state; `code` says which.
|
|
5399
|
-
*/
|
|
5400
|
-
409: Problem;
|
|
5401
|
-
/**
|
|
5402
|
-
* Erased or expired.
|
|
5403
|
-
*/
|
|
5404
|
-
410: Problem;
|
|
5405
|
-
/**
|
|
5406
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5407
|
-
*/
|
|
5408
|
-
422: Problem;
|
|
5409
|
-
/**
|
|
5410
|
-
* Too many requests; retry after `Retry-After`.
|
|
5411
|
-
*/
|
|
5412
|
-
429: Problem;
|
|
5413
|
-
/**
|
|
5414
|
-
* Internal error; quote `requestId` to support.
|
|
5415
|
-
*/
|
|
5416
|
-
500: Problem;
|
|
5417
|
-
};
|
|
5418
|
-
export type PreviewRuleError = PreviewRuleErrors[keyof PreviewRuleErrors];
|
|
5419
|
-
export type PreviewRuleResponses = {
|
|
5420
|
-
/**
|
|
5421
|
-
* OK
|
|
5422
|
-
*/
|
|
5423
|
-
200: RuleQuoteDto;
|
|
5424
|
-
};
|
|
5425
|
-
export type PreviewRuleResponse = PreviewRuleResponses[keyof PreviewRuleResponses];
|
|
5426
|
-
export type ListRulesData = {
|
|
5427
|
-
body?: never;
|
|
5428
|
-
headers?: {
|
|
5429
|
-
/**
|
|
5430
|
-
* Optional replay key, retained for 24 hours.
|
|
5431
|
-
*/
|
|
5432
|
-
'Idempotency-Key'?: string;
|
|
5433
|
-
};
|
|
5434
|
-
path: {
|
|
5435
|
-
/**
|
|
5436
|
-
* Workspace resource ID.
|
|
5437
|
-
*/
|
|
5438
|
-
id: string;
|
|
5439
|
-
};
|
|
5440
|
-
query?: {
|
|
5441
|
-
/**
|
|
5442
|
-
* Page size, default 25, maximum 100. Zero returns the count.
|
|
5443
|
-
*/
|
|
5444
|
-
limit?: number;
|
|
5445
|
-
/**
|
|
5446
|
-
* Opaque cursor from the previous page; expires after 24 hours.
|
|
5447
|
-
*/
|
|
5448
|
-
cursor?: string;
|
|
5449
|
-
/**
|
|
5450
|
-
* The rule function: applyListQuery, notifyListEntries or sendLetter.
|
|
5451
|
-
*/
|
|
5452
|
-
operationId?: string;
|
|
5453
|
-
};
|
|
5454
|
-
url: '/api/v2/me/lists/{id}/rules';
|
|
5455
|
-
};
|
|
5456
|
-
export type ListRulesErrors = {
|
|
5457
|
-
/**
|
|
5458
|
-
* Malformed request, or a cursor from another request.
|
|
5459
|
-
*/
|
|
5460
|
-
400: Problem;
|
|
5461
|
-
/**
|
|
5462
|
-
* No valid API key or session.
|
|
5463
|
-
*/
|
|
5464
|
-
401: Problem;
|
|
5465
|
-
/**
|
|
5466
|
-
* Not enough credits for this call.
|
|
5467
|
-
*/
|
|
5468
|
-
402: Problem;
|
|
5469
|
-
/**
|
|
5470
|
-
* This operation needs a dashboard session.
|
|
5471
|
-
*/
|
|
5472
|
-
403: Problem;
|
|
5473
|
-
/**
|
|
5474
|
-
* Not found, or it belongs to another workspace.
|
|
5475
|
-
*/
|
|
5476
|
-
404: Problem;
|
|
5477
|
-
/**
|
|
5478
|
-
* Conflict with the current state; `code` says which.
|
|
5479
|
-
*/
|
|
5480
|
-
409: Problem;
|
|
5481
|
-
/**
|
|
5482
|
-
* Erased or expired.
|
|
5483
|
-
*/
|
|
5484
|
-
410: Problem;
|
|
5485
|
-
/**
|
|
5486
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5487
|
-
*/
|
|
5488
|
-
422: Problem;
|
|
5489
|
-
/**
|
|
5490
|
-
* Too many requests; retry after `Retry-After`.
|
|
5491
|
-
*/
|
|
5492
|
-
429: Problem;
|
|
5493
|
-
/**
|
|
5494
|
-
* Internal error; quote `requestId` to support.
|
|
5495
|
-
*/
|
|
5496
|
-
500: Problem;
|
|
5497
|
-
};
|
|
5498
|
-
export type ListRulesError = ListRulesErrors[keyof ListRulesErrors];
|
|
5499
|
-
export type ListRulesResponses = {
|
|
5500
|
-
/**
|
|
5501
|
-
* OK
|
|
5502
|
-
*/
|
|
5503
|
-
200: CursorPageOfRuleDto;
|
|
5504
|
-
};
|
|
5505
|
-
export type ListRulesResponse = ListRulesResponses[keyof ListRulesResponses];
|
|
5506
|
-
export type CreateRuleData = {
|
|
5507
|
-
body: CreateRuleDto;
|
|
5508
|
-
headers?: {
|
|
5509
|
-
/**
|
|
5510
|
-
* Optional replay key, retained for 24 hours.
|
|
5511
|
-
*/
|
|
5512
|
-
'Idempotency-Key'?: string;
|
|
5513
|
-
};
|
|
5514
|
-
path: {
|
|
5515
|
-
/**
|
|
5516
|
-
* ID of an existing list in the authorized workspace, returned by listLists or createList. A new list has no ID until creation; createList accepts its initial rules directly.
|
|
5517
|
-
*/
|
|
5518
|
-
id: string;
|
|
5519
|
-
};
|
|
5520
|
-
query?: never;
|
|
5521
|
-
url: '/api/v2/me/lists/{id}/rules';
|
|
5522
|
-
};
|
|
5523
|
-
export type CreateRuleErrors = {
|
|
5524
|
-
/**
|
|
5525
|
-
* Malformed request, or a cursor from another request.
|
|
5526
|
-
*/
|
|
5527
|
-
400: Problem;
|
|
5528
|
-
/**
|
|
5529
|
-
* No valid API key or session.
|
|
5530
|
-
*/
|
|
5531
|
-
401: Problem;
|
|
5532
|
-
/**
|
|
5533
|
-
* Not enough credits for this call.
|
|
5534
|
-
*/
|
|
5535
|
-
402: Problem;
|
|
5536
|
-
/**
|
|
5537
|
-
* This operation needs a dashboard session.
|
|
5538
|
-
*/
|
|
5539
|
-
403: Problem;
|
|
5540
|
-
/**
|
|
5541
|
-
* Not found, or it belongs to another workspace.
|
|
5542
|
-
*/
|
|
5543
|
-
404: Problem;
|
|
5544
|
-
/**
|
|
5545
|
-
* Conflict with the current state; `code` says which.
|
|
5546
|
-
*/
|
|
5547
|
-
409: Problem;
|
|
5548
|
-
/**
|
|
5549
|
-
* Erased or expired.
|
|
5550
|
-
*/
|
|
5551
|
-
410: Problem;
|
|
5552
|
-
/**
|
|
5553
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5554
|
-
*/
|
|
5555
|
-
422: Problem;
|
|
5556
|
-
/**
|
|
5557
|
-
* Too many requests; retry after `Retry-After`.
|
|
5558
|
-
*/
|
|
5559
|
-
429: Problem;
|
|
5560
|
-
/**
|
|
5561
|
-
* Internal error; quote `requestId` to support.
|
|
5562
|
-
*/
|
|
5563
|
-
500: Problem;
|
|
5564
|
-
};
|
|
5565
|
-
export type CreateRuleError = CreateRuleErrors[keyof CreateRuleErrors];
|
|
5566
|
-
export type CreateRuleResponses = {
|
|
5567
|
-
/**
|
|
5568
|
-
* Created
|
|
5569
|
-
*/
|
|
5570
|
-
201: RuleDto;
|
|
5571
|
-
};
|
|
5572
|
-
export type CreateRuleResponse = CreateRuleResponses[keyof CreateRuleResponses];
|
|
5573
|
-
export type DeleteRuleData = {
|
|
5574
|
-
body?: never;
|
|
5575
|
-
headers?: {
|
|
5576
|
-
/**
|
|
5577
|
-
* Optional replay key, retained for 24 hours.
|
|
5578
|
-
*/
|
|
5579
|
-
'Idempotency-Key'?: string;
|
|
5580
|
-
};
|
|
5581
|
-
path: {
|
|
5582
|
-
/**
|
|
5583
|
-
* Workspace resource ID.
|
|
5584
|
-
*/
|
|
5585
|
-
id: string;
|
|
5586
|
-
/**
|
|
5587
|
-
* Stable query rule ID within this workspace list.
|
|
5588
|
-
*/
|
|
5589
|
-
ruleId: string;
|
|
5590
|
-
};
|
|
5591
|
-
query?: {
|
|
5592
|
-
/**
|
|
5593
|
-
* Last reviewed rule revision; a changed rule returns 409 and is not deleted.
|
|
5594
|
-
*/
|
|
5595
|
-
revision?: string;
|
|
5596
|
-
};
|
|
5597
|
-
url: '/api/v2/me/lists/{id}/rules/{ruleId}';
|
|
5598
|
-
};
|
|
5599
|
-
export type DeleteRuleErrors = {
|
|
5600
|
-
/**
|
|
5601
|
-
* Malformed request, or a cursor from another request.
|
|
5602
|
-
*/
|
|
5603
|
-
400: Problem;
|
|
5604
|
-
/**
|
|
5605
|
-
* No valid API key or session.
|
|
5606
|
-
*/
|
|
5607
|
-
401: Problem;
|
|
5608
|
-
/**
|
|
5609
|
-
* Not enough credits for this call.
|
|
5610
|
-
*/
|
|
5611
|
-
402: Problem;
|
|
5612
|
-
/**
|
|
5613
|
-
* This operation needs a dashboard session.
|
|
5614
|
-
*/
|
|
5615
|
-
403: Problem;
|
|
5616
|
-
/**
|
|
5617
|
-
* Not found, or it belongs to another workspace.
|
|
5618
|
-
*/
|
|
5619
|
-
404: Problem;
|
|
5620
|
-
/**
|
|
5621
|
-
* Conflict with the current state; `code` says which.
|
|
5622
|
-
*/
|
|
5623
|
-
409: Problem;
|
|
5624
|
-
/**
|
|
5625
|
-
* Erased or expired.
|
|
5626
|
-
*/
|
|
5627
|
-
410: Problem;
|
|
5628
|
-
/**
|
|
5629
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5630
|
-
*/
|
|
5631
|
-
422: Problem;
|
|
5632
|
-
/**
|
|
5633
|
-
* Too many requests; retry after `Retry-After`.
|
|
5634
|
-
*/
|
|
5635
|
-
429: Problem;
|
|
5636
|
-
/**
|
|
5637
|
-
* Internal error; quote `requestId` to support.
|
|
5638
|
-
*/
|
|
5639
|
-
500: Problem;
|
|
5640
|
-
};
|
|
5641
|
-
export type DeleteRuleError = DeleteRuleErrors[keyof DeleteRuleErrors];
|
|
5642
|
-
export type DeleteRuleResponses = {
|
|
5643
|
-
/**
|
|
5644
|
-
* No Content
|
|
5645
|
-
*/
|
|
5646
|
-
204: any;
|
|
5647
|
-
};
|
|
5648
|
-
export type UpdateRuleData = {
|
|
5649
|
-
body: UpdateRuleDto;
|
|
5650
|
-
headers?: {
|
|
5651
|
-
/**
|
|
5652
|
-
* Optional replay key, retained for 24 hours.
|
|
5653
|
-
*/
|
|
5654
|
-
'Idempotency-Key'?: string;
|
|
5655
|
-
};
|
|
5656
|
-
path: {
|
|
5657
|
-
/**
|
|
5658
|
-
* Workspace resource ID.
|
|
5659
|
-
*/
|
|
5660
|
-
id: string;
|
|
5661
|
-
/**
|
|
5662
|
-
* Stable query rule ID within this workspace list.
|
|
5663
|
-
*/
|
|
5664
|
-
ruleId: string;
|
|
5665
|
-
};
|
|
5666
|
-
query?: never;
|
|
5667
|
-
url: '/api/v2/me/lists/{id}/rules/{ruleId}';
|
|
5668
|
-
};
|
|
5669
|
-
export type UpdateRuleErrors = {
|
|
5670
|
-
/**
|
|
5671
|
-
* Malformed request, or a cursor from another request.
|
|
5672
|
-
*/
|
|
5673
|
-
400: Problem;
|
|
5674
|
-
/**
|
|
5675
|
-
* No valid API key or session.
|
|
5676
|
-
*/
|
|
5677
|
-
401: Problem;
|
|
5678
|
-
/**
|
|
5679
|
-
* Not enough credits for this call.
|
|
5680
|
-
*/
|
|
5681
|
-
402: Problem;
|
|
5682
|
-
/**
|
|
5683
|
-
* This operation needs a dashboard session.
|
|
5684
|
-
*/
|
|
5685
|
-
403: Problem;
|
|
5686
|
-
/**
|
|
5687
|
-
* Not found, or it belongs to another workspace.
|
|
5688
|
-
*/
|
|
5689
|
-
404: Problem;
|
|
5690
|
-
/**
|
|
5691
|
-
* Conflict with the current state; `code` says which.
|
|
5692
|
-
*/
|
|
5693
|
-
409: Problem;
|
|
5694
|
-
/**
|
|
5695
|
-
* Erased or expired.
|
|
5696
|
-
*/
|
|
5697
|
-
410: Problem;
|
|
5698
|
-
/**
|
|
5699
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5700
|
-
*/
|
|
5701
|
-
422: Problem;
|
|
5702
|
-
/**
|
|
5703
|
-
* Too many requests; retry after `Retry-After`.
|
|
5704
|
-
*/
|
|
5705
|
-
429: Problem;
|
|
5706
|
-
/**
|
|
5707
|
-
* Internal error; quote `requestId` to support.
|
|
5708
|
-
*/
|
|
5709
|
-
500: Problem;
|
|
5710
|
-
};
|
|
5711
|
-
export type UpdateRuleError = UpdateRuleErrors[keyof UpdateRuleErrors];
|
|
5712
|
-
export type UpdateRuleResponses = {
|
|
5713
|
-
/**
|
|
5714
|
-
* OK
|
|
5715
|
-
*/
|
|
5716
|
-
200: RuleDto;
|
|
5717
|
-
};
|
|
5718
|
-
export type UpdateRuleResponse = UpdateRuleResponses[keyof UpdateRuleResponses];
|
|
5719
|
-
export type RunRuleData = {
|
|
5720
|
-
body: RunRuleDto;
|
|
5721
|
-
headers?: {
|
|
5722
|
-
/**
|
|
5723
|
-
* Optional replay key, retained for 24 hours.
|
|
5724
|
-
*/
|
|
5725
|
-
'Idempotency-Key'?: string;
|
|
5726
|
-
};
|
|
5727
|
-
path: {
|
|
5728
|
-
/**
|
|
5729
|
-
* Workspace resource ID.
|
|
5730
|
-
*/
|
|
5731
|
-
id: string;
|
|
5732
|
-
/**
|
|
5733
|
-
* Stable query rule ID within this workspace list.
|
|
5734
|
-
*/
|
|
5735
|
-
ruleId: string;
|
|
5736
|
-
};
|
|
5737
|
-
query?: never;
|
|
5738
|
-
url: '/api/v2/me/lists/{id}/rules/{ruleId}/run';
|
|
5408
|
+
url: '/api/v2/me/jobs/{id}';
|
|
5739
5409
|
};
|
|
5740
|
-
export type
|
|
5410
|
+
export type GetJobErrors = {
|
|
5741
5411
|
/**
|
|
5742
5412
|
* Malformed request, or a cursor from another request.
|
|
5743
5413
|
*/
|
|
@@ -5779,14 +5449,14 @@ export type RunRuleErrors = {
|
|
|
5779
5449
|
*/
|
|
5780
5450
|
500: Problem;
|
|
5781
5451
|
};
|
|
5782
|
-
export type
|
|
5783
|
-
export type
|
|
5452
|
+
export type GetJobError = GetJobErrors[keyof GetJobErrors];
|
|
5453
|
+
export type GetJobResponses = {
|
|
5784
5454
|
/**
|
|
5785
5455
|
* OK
|
|
5786
5456
|
*/
|
|
5787
|
-
200:
|
|
5457
|
+
200: ListWriteJobDto;
|
|
5788
5458
|
};
|
|
5789
|
-
export type
|
|
5459
|
+
export type GetJobResponse = GetJobResponses[keyof GetJobResponses];
|
|
5790
5460
|
export type ListListsData = {
|
|
5791
5461
|
body?: never;
|
|
5792
5462
|
headers?: {
|
|
@@ -6186,10 +5856,6 @@ export type ListEntriesData = {
|
|
|
6186
5856
|
* Opaque cursor from the previous page; expires after 24 hours.
|
|
6187
5857
|
*/
|
|
6188
5858
|
cursor?: string;
|
|
6189
|
-
/**
|
|
6190
|
-
* Only entries added in this list's run.
|
|
6191
|
-
*/
|
|
6192
|
-
runId?: string;
|
|
6193
5859
|
};
|
|
6194
5860
|
url: '/api/v2/me/lists/{id}/entries';
|
|
6195
5861
|
};
|
|
@@ -6704,90 +6370,6 @@ export type SearchEntriesResponses = {
|
|
|
6704
6370
|
200: CursorPageOfListEntryDto;
|
|
6705
6371
|
};
|
|
6706
6372
|
export type SearchEntriesResponse = SearchEntriesResponses[keyof SearchEntriesResponses];
|
|
6707
|
-
export type ListRunsData = {
|
|
6708
|
-
body?: never;
|
|
6709
|
-
headers?: {
|
|
6710
|
-
/**
|
|
6711
|
-
* Optional replay key, retained for 24 hours.
|
|
6712
|
-
*/
|
|
6713
|
-
'Idempotency-Key'?: string;
|
|
6714
|
-
};
|
|
6715
|
-
path: {
|
|
6716
|
-
/**
|
|
6717
|
-
* Workspace resource ID.
|
|
6718
|
-
*/
|
|
6719
|
-
id: string;
|
|
6720
|
-
};
|
|
6721
|
-
query?: {
|
|
6722
|
-
/**
|
|
6723
|
-
* Page size, default 25, maximum 100. Zero returns the count.
|
|
6724
|
-
*/
|
|
6725
|
-
limit?: number;
|
|
6726
|
-
/**
|
|
6727
|
-
* Opaque cursor from the previous page; expires after 24 hours.
|
|
6728
|
-
*/
|
|
6729
|
-
cursor?: string;
|
|
6730
|
-
/**
|
|
6731
|
-
* Filter by scheduled, manual, created or entriesChanged.
|
|
6732
|
-
*/
|
|
6733
|
-
trigger?: string;
|
|
6734
|
-
/**
|
|
6735
|
-
* Filter by running, succeeded, failed or skipped.
|
|
6736
|
-
*/
|
|
6737
|
-
status?: string;
|
|
6738
|
-
};
|
|
6739
|
-
url: '/api/v2/me/lists/{id}/runs';
|
|
6740
|
-
};
|
|
6741
|
-
export type ListRunsErrors = {
|
|
6742
|
-
/**
|
|
6743
|
-
* Malformed request, or a cursor from another request.
|
|
6744
|
-
*/
|
|
6745
|
-
400: Problem;
|
|
6746
|
-
/**
|
|
6747
|
-
* No valid API key or session.
|
|
6748
|
-
*/
|
|
6749
|
-
401: Problem;
|
|
6750
|
-
/**
|
|
6751
|
-
* Not enough credits for this call.
|
|
6752
|
-
*/
|
|
6753
|
-
402: Problem;
|
|
6754
|
-
/**
|
|
6755
|
-
* This operation needs a dashboard session.
|
|
6756
|
-
*/
|
|
6757
|
-
403: Problem;
|
|
6758
|
-
/**
|
|
6759
|
-
* Not found, or it belongs to another workspace.
|
|
6760
|
-
*/
|
|
6761
|
-
404: Problem;
|
|
6762
|
-
/**
|
|
6763
|
-
* Conflict with the current state; `code` says which.
|
|
6764
|
-
*/
|
|
6765
|
-
409: Problem;
|
|
6766
|
-
/**
|
|
6767
|
-
* Erased or expired.
|
|
6768
|
-
*/
|
|
6769
|
-
410: Problem;
|
|
6770
|
-
/**
|
|
6771
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
6772
|
-
*/
|
|
6773
|
-
422: Problem;
|
|
6774
|
-
/**
|
|
6775
|
-
* Too many requests; retry after `Retry-After`.
|
|
6776
|
-
*/
|
|
6777
|
-
429: Problem;
|
|
6778
|
-
/**
|
|
6779
|
-
* Internal error; quote `requestId` to support.
|
|
6780
|
-
*/
|
|
6781
|
-
500: Problem;
|
|
6782
|
-
};
|
|
6783
|
-
export type ListRunsError = ListRunsErrors[keyof ListRunsErrors];
|
|
6784
|
-
export type ListRunsResponses = {
|
|
6785
|
-
/**
|
|
6786
|
-
* OK
|
|
6787
|
-
*/
|
|
6788
|
-
200: CursorPageOfListRunDto;
|
|
6789
|
-
};
|
|
6790
|
-
export type ListRunsResponse = ListRunsResponses[keyof ListRunsResponses];
|
|
6791
6373
|
export type ListListEventsData = {
|
|
6792
6374
|
body?: never;
|
|
6793
6375
|
headers?: {
|
|
@@ -6808,17 +6390,13 @@ export type ListListEventsData = {
|
|
|
6808
6390
|
*/
|
|
6809
6391
|
after?: number;
|
|
6810
6392
|
/**
|
|
6811
|
-
* Comma-separated entry.added, entry.removed
|
|
6393
|
+
* Comma-separated entry.added, entry.removed or entry.flagged.
|
|
6812
6394
|
*/
|
|
6813
6395
|
type?: string;
|
|
6814
6396
|
/**
|
|
6815
6397
|
* Page size, 1 to 100; default 25.
|
|
6816
6398
|
*/
|
|
6817
6399
|
limit?: number;
|
|
6818
|
-
/**
|
|
6819
|
-
* Only entries added in this list's run.
|
|
6820
|
-
*/
|
|
6821
|
-
runId?: string;
|
|
6822
6400
|
};
|
|
6823
6401
|
url: '/api/v2/me/lists/{id}/events';
|
|
6824
6402
|
};
|
|
@@ -8529,24 +8107,13 @@ export type GetPublicSourceResponses = {
|
|
|
8529
8107
|
200: PublicSource;
|
|
8530
8108
|
};
|
|
8531
8109
|
export type GetPublicSourceResponse = GetPublicSourceResponses[keyof GetPublicSourceResponses];
|
|
8532
|
-
export type
|
|
8533
|
-
body
|
|
8534
|
-
|
|
8535
|
-
/**
|
|
8536
|
-
* Optional replay key, retained for 24 hours.
|
|
8537
|
-
*/
|
|
8538
|
-
'Idempotency-Key'?: string;
|
|
8539
|
-
};
|
|
8540
|
-
path: {
|
|
8541
|
-
/**
|
|
8542
|
-
* Workspace resource ID.
|
|
8543
|
-
*/
|
|
8544
|
-
id: string;
|
|
8545
|
-
};
|
|
8110
|
+
export type GetLetterSetupData = {
|
|
8111
|
+
body?: never;
|
|
8112
|
+
path?: never;
|
|
8546
8113
|
query?: never;
|
|
8547
|
-
url: '/api/v2/me/
|
|
8114
|
+
url: '/api/v2/me/letters/setup';
|
|
8548
8115
|
};
|
|
8549
|
-
export type
|
|
8116
|
+
export type GetLetterSetupErrors = {
|
|
8550
8117
|
/**
|
|
8551
8118
|
* Malformed request, or a cursor from another request.
|
|
8552
8119
|
*/
|
|
@@ -8555,10 +8122,6 @@ export type SetNotificationRulesErrors = {
|
|
|
8555
8122
|
* No valid API key or session.
|
|
8556
8123
|
*/
|
|
8557
8124
|
401: Problem;
|
|
8558
|
-
/**
|
|
8559
|
-
* Not enough credits for this call.
|
|
8560
|
-
*/
|
|
8561
|
-
402: Problem;
|
|
8562
8125
|
/**
|
|
8563
8126
|
* This operation needs a dashboard session.
|
|
8564
8127
|
*/
|
|
@@ -8571,10 +8134,6 @@ export type SetNotificationRulesErrors = {
|
|
|
8571
8134
|
* Conflict with the current state; `code` says which.
|
|
8572
8135
|
*/
|
|
8573
8136
|
409: Problem;
|
|
8574
|
-
/**
|
|
8575
|
-
* Erased or expired.
|
|
8576
|
-
*/
|
|
8577
|
-
410: Problem;
|
|
8578
8137
|
/**
|
|
8579
8138
|
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
8580
8139
|
*/
|
|
@@ -8588,21 +8147,21 @@ export type SetNotificationRulesErrors = {
|
|
|
8588
8147
|
*/
|
|
8589
8148
|
500: Problem;
|
|
8590
8149
|
};
|
|
8591
|
-
export type
|
|
8592
|
-
export type
|
|
8150
|
+
export type GetLetterSetupError = GetLetterSetupErrors[keyof GetLetterSetupErrors];
|
|
8151
|
+
export type GetLetterSetupResponses = {
|
|
8593
8152
|
/**
|
|
8594
8153
|
* OK
|
|
8595
8154
|
*/
|
|
8596
|
-
200:
|
|
8155
|
+
200: LetterSetupDto;
|
|
8597
8156
|
};
|
|
8598
|
-
export type
|
|
8599
|
-
export type
|
|
8600
|
-
body
|
|
8157
|
+
export type GetLetterSetupResponse = GetLetterSetupResponses[keyof GetLetterSetupResponses];
|
|
8158
|
+
export type UpdateLetterSetupData = {
|
|
8159
|
+
body: UpdateLetterSetupRequest;
|
|
8601
8160
|
path?: never;
|
|
8602
8161
|
query?: never;
|
|
8603
8162
|
url: '/api/v2/me/letters/setup';
|
|
8604
8163
|
};
|
|
8605
|
-
export type
|
|
8164
|
+
export type UpdateLetterSetupErrors = {
|
|
8606
8165
|
/**
|
|
8607
8166
|
* Malformed request, or a cursor from another request.
|
|
8608
8167
|
*/
|
|
@@ -8636,14 +8195,14 @@ export type GetLetterSetupErrors = {
|
|
|
8636
8195
|
*/
|
|
8637
8196
|
500: Problem;
|
|
8638
8197
|
};
|
|
8639
|
-
export type
|
|
8640
|
-
export type
|
|
8198
|
+
export type UpdateLetterSetupError = UpdateLetterSetupErrors[keyof UpdateLetterSetupErrors];
|
|
8199
|
+
export type UpdateLetterSetupResponses = {
|
|
8641
8200
|
/**
|
|
8642
8201
|
* OK
|
|
8643
8202
|
*/
|
|
8644
8203
|
200: LetterSetupDto;
|
|
8645
8204
|
};
|
|
8646
|
-
export type
|
|
8205
|
+
export type UpdateLetterSetupResponse = UpdateLetterSetupResponses[keyof UpdateLetterSetupResponses];
|
|
8647
8206
|
export type ListLettersData = {
|
|
8648
8207
|
body?: never;
|
|
8649
8208
|
path?: never;
|
|
@@ -9218,6 +8777,63 @@ export type CreateLetterSendingsResponses = {
|
|
|
9218
8777
|
200: LetterSendResultDto;
|
|
9219
8778
|
};
|
|
9220
8779
|
export type CreateLetterSendingsResponse = CreateLetterSendingsResponses[keyof CreateLetterSendingsResponses];
|
|
8780
|
+
export type SendTemplateData = {
|
|
8781
|
+
body: SendTemplateBody;
|
|
8782
|
+
path: {
|
|
8783
|
+
/**
|
|
8784
|
+
* The Brief's ID.
|
|
8785
|
+
*/
|
|
8786
|
+
id: string;
|
|
8787
|
+
};
|
|
8788
|
+
query?: never;
|
|
8789
|
+
url: '/api/v2/me/letters/{id}/dispatch';
|
|
8790
|
+
};
|
|
8791
|
+
export type SendTemplateErrors = {
|
|
8792
|
+
/**
|
|
8793
|
+
* Malformed request, or a cursor from another request.
|
|
8794
|
+
*/
|
|
8795
|
+
400: Problem;
|
|
8796
|
+
/**
|
|
8797
|
+
* No valid API key or session.
|
|
8798
|
+
*/
|
|
8799
|
+
401: Problem;
|
|
8800
|
+
/**
|
|
8801
|
+
* Not enough credits for this call.
|
|
8802
|
+
*/
|
|
8803
|
+
402: Problem;
|
|
8804
|
+
/**
|
|
8805
|
+
* This operation needs a dashboard session.
|
|
8806
|
+
*/
|
|
8807
|
+
403: Problem;
|
|
8808
|
+
/**
|
|
8809
|
+
* Not found, or it belongs to another workspace.
|
|
8810
|
+
*/
|
|
8811
|
+
404: Problem;
|
|
8812
|
+
/**
|
|
8813
|
+
* Conflict with the current state; `code` says which.
|
|
8814
|
+
*/
|
|
8815
|
+
409: Problem;
|
|
8816
|
+
/**
|
|
8817
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
8818
|
+
*/
|
|
8819
|
+
422: Problem;
|
|
8820
|
+
/**
|
|
8821
|
+
* Too many requests; retry after `Retry-After`.
|
|
8822
|
+
*/
|
|
8823
|
+
429: Problem;
|
|
8824
|
+
/**
|
|
8825
|
+
* Internal error; quote `requestId` to support.
|
|
8826
|
+
*/
|
|
8827
|
+
500: Problem;
|
|
8828
|
+
};
|
|
8829
|
+
export type SendTemplateError = SendTemplateErrors[keyof SendTemplateErrors];
|
|
8830
|
+
export type SendTemplateResponses = {
|
|
8831
|
+
/**
|
|
8832
|
+
* OK
|
|
8833
|
+
*/
|
|
8834
|
+
200: SendTemplateResultDto;
|
|
8835
|
+
};
|
|
8836
|
+
export type SendTemplateResponse = SendTemplateResponses[keyof SendTemplateResponses];
|
|
9221
8837
|
export type ListBillingDocumentsData = {
|
|
9222
8838
|
body?: never;
|
|
9223
8839
|
path?: never;
|
|
@@ -9824,9 +9440,9 @@ export type ListBillingExportsData = {
|
|
|
9824
9440
|
path?: never;
|
|
9825
9441
|
query?: {
|
|
9826
9442
|
/**
|
|
9827
|
-
* month (default) or
|
|
9443
|
+
* month (default), quarter or year.
|
|
9828
9444
|
*/
|
|
9829
|
-
kind?: 'month' | 'quarter';
|
|
9445
|
+
kind?: 'month' | 'quarter' | 'year';
|
|
9830
9446
|
/**
|
|
9831
9447
|
* Page size, default 12, maximum 60.
|
|
9832
9448
|
*/
|
|
@@ -9884,7 +9500,7 @@ export type GetBillingExportFileData = {
|
|
|
9884
9500
|
body?: never;
|
|
9885
9501
|
path: {
|
|
9886
9502
|
/**
|
|
9887
|
-
* The period: YYYY-MM for a month, YYYY-Qn for a quarter.
|
|
9503
|
+
* The period: YYYY-MM for a month, YYYY-Qn for a quarter, YYYY for a year.
|
|
9888
9504
|
*/
|
|
9889
9505
|
period: string;
|
|
9890
9506
|
};
|
|
@@ -11336,6 +10952,14 @@ export type ListBankTransactionsData = {
|
|
|
11336
10952
|
* Searches counterparty and reference.
|
|
11337
10953
|
*/
|
|
11338
10954
|
q?: string;
|
|
10955
|
+
/**
|
|
10956
|
+
* Booked on or after this day, YYYY-MM-DD.
|
|
10957
|
+
*/
|
|
10958
|
+
from?: string;
|
|
10959
|
+
/**
|
|
10960
|
+
* Booked on or before this day, YYYY-MM-DD.
|
|
10961
|
+
*/
|
|
10962
|
+
to?: string;
|
|
11339
10963
|
/**
|
|
11340
10964
|
* Page size: bookings and Konten default 50, at most 200; candidates default 10, at most 50.
|
|
11341
10965
|
*/
|
|
@@ -11952,6 +11576,102 @@ export type AddBankStatementResponses = {
|
|
|
11952
11576
|
200: CamtImportResultDto;
|
|
11953
11577
|
};
|
|
11954
11578
|
export type AddBankStatementResponse = AddBankStatementResponses[keyof AddBankStatementResponses];
|
|
11579
|
+
export type PreviewBankStatementData = {
|
|
11580
|
+
body: PreviewCamtRequest;
|
|
11581
|
+
path?: never;
|
|
11582
|
+
query?: never;
|
|
11583
|
+
url: '/api/v2/me/billing/statements/preview';
|
|
11584
|
+
};
|
|
11585
|
+
export type PreviewBankStatementErrors = {
|
|
11586
|
+
/**
|
|
11587
|
+
* Malformed request, or a cursor from another request.
|
|
11588
|
+
*/
|
|
11589
|
+
400: Problem;
|
|
11590
|
+
/**
|
|
11591
|
+
* No valid API key or session.
|
|
11592
|
+
*/
|
|
11593
|
+
401: Problem;
|
|
11594
|
+
/**
|
|
11595
|
+
* This operation needs a dashboard session.
|
|
11596
|
+
*/
|
|
11597
|
+
403: Problem;
|
|
11598
|
+
/**
|
|
11599
|
+
* Not found, or it belongs to another workspace.
|
|
11600
|
+
*/
|
|
11601
|
+
404: Problem;
|
|
11602
|
+
/**
|
|
11603
|
+
* Conflict with the current state; `code` says which.
|
|
11604
|
+
*/
|
|
11605
|
+
409: Problem;
|
|
11606
|
+
/**
|
|
11607
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
11608
|
+
*/
|
|
11609
|
+
422: Problem;
|
|
11610
|
+
/**
|
|
11611
|
+
* Too many requests; retry after `Retry-After`.
|
|
11612
|
+
*/
|
|
11613
|
+
429: Problem;
|
|
11614
|
+
/**
|
|
11615
|
+
* Internal error; quote `requestId` to support.
|
|
11616
|
+
*/
|
|
11617
|
+
500: Problem;
|
|
11618
|
+
};
|
|
11619
|
+
export type PreviewBankStatementError = PreviewBankStatementErrors[keyof PreviewBankStatementErrors];
|
|
11620
|
+
export type PreviewBankStatementResponses = {
|
|
11621
|
+
/**
|
|
11622
|
+
* OK
|
|
11623
|
+
*/
|
|
11624
|
+
200: CamtPreviewDto;
|
|
11625
|
+
};
|
|
11626
|
+
export type PreviewBankStatementResponse = PreviewBankStatementResponses[keyof PreviewBankStatementResponses];
|
|
11627
|
+
export type CreateBankTransactionsData = {
|
|
11628
|
+
body: CreateBankTransactionsRequest;
|
|
11629
|
+
path?: never;
|
|
11630
|
+
query?: never;
|
|
11631
|
+
url: '/api/v2/me/billing/transactions/batch';
|
|
11632
|
+
};
|
|
11633
|
+
export type CreateBankTransactionsErrors = {
|
|
11634
|
+
/**
|
|
11635
|
+
* Malformed request, or a cursor from another request.
|
|
11636
|
+
*/
|
|
11637
|
+
400: Problem;
|
|
11638
|
+
/**
|
|
11639
|
+
* No valid API key or session.
|
|
11640
|
+
*/
|
|
11641
|
+
401: Problem;
|
|
11642
|
+
/**
|
|
11643
|
+
* This operation needs a dashboard session.
|
|
11644
|
+
*/
|
|
11645
|
+
403: Problem;
|
|
11646
|
+
/**
|
|
11647
|
+
* Not found, or it belongs to another workspace.
|
|
11648
|
+
*/
|
|
11649
|
+
404: Problem;
|
|
11650
|
+
/**
|
|
11651
|
+
* Conflict with the current state; `code` says which.
|
|
11652
|
+
*/
|
|
11653
|
+
409: Problem;
|
|
11654
|
+
/**
|
|
11655
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
11656
|
+
*/
|
|
11657
|
+
422: Problem;
|
|
11658
|
+
/**
|
|
11659
|
+
* Too many requests; retry after `Retry-After`.
|
|
11660
|
+
*/
|
|
11661
|
+
429: Problem;
|
|
11662
|
+
/**
|
|
11663
|
+
* Internal error; quote `requestId` to support.
|
|
11664
|
+
*/
|
|
11665
|
+
500: Problem;
|
|
11666
|
+
};
|
|
11667
|
+
export type CreateBankTransactionsError = CreateBankTransactionsErrors[keyof CreateBankTransactionsErrors];
|
|
11668
|
+
export type CreateBankTransactionsResponses = {
|
|
11669
|
+
/**
|
|
11670
|
+
* OK
|
|
11671
|
+
*/
|
|
11672
|
+
200: CreateBankTransactionsResult;
|
|
11673
|
+
};
|
|
11674
|
+
export type CreateBankTransactionsResponse = CreateBankTransactionsResponses[keyof CreateBankTransactionsResponses];
|
|
11955
11675
|
export type GetBankSettingsData = {
|
|
11956
11676
|
body?: never;
|
|
11957
11677
|
path?: never;
|