@firmenakte/api-client 2.44.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 +32 -74
- package/v2/generated/sdk.gen.d.ts.map +1 -1
- package/v2/generated/sdk.gen.js +50 -150
- package/v2/generated/types.gen.d.ts +441 -985
- package/v2/generated/types.gen.d.ts.map +1 -1
|
@@ -393,13 +393,9 @@ export type BankMatchDto = {
|
|
|
393
393
|
};
|
|
394
394
|
export type BankSettingsDto = {
|
|
395
395
|
/**
|
|
396
|
-
*
|
|
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.
|
|
397
397
|
*/
|
|
398
|
-
|
|
399
|
-
/**
|
|
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.
|
|
401
|
-
*/
|
|
402
|
-
autoAccept: string;
|
|
398
|
+
mode: string;
|
|
403
399
|
};
|
|
404
400
|
export type BankTransactionDto = {
|
|
405
401
|
id: string;
|
|
@@ -512,7 +508,7 @@ export type BillingDocumentDto = {
|
|
|
512
508
|
*/
|
|
513
509
|
via: string;
|
|
514
510
|
/**
|
|
515
|
-
* 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).
|
|
516
512
|
*/
|
|
517
513
|
readStatus: string;
|
|
518
514
|
readError?: null | string;
|
|
@@ -618,7 +614,7 @@ export type BillingEmailDto = {
|
|
|
618
614
|
};
|
|
619
615
|
export type BillingExportDto = {
|
|
620
616
|
/**
|
|
621
|
-
* The period: YYYY-MM or YYYY
|
|
617
|
+
* The period: YYYY-MM, YYYY-Qn or YYYY.
|
|
622
618
|
*/
|
|
623
619
|
period: string;
|
|
624
620
|
/**
|
|
@@ -647,6 +643,14 @@ export type BillingExportDto = {
|
|
|
647
643
|
* When it was first downloaded.
|
|
648
644
|
*/
|
|
649
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;
|
|
650
654
|
};
|
|
651
655
|
export type BillingListsDto = {
|
|
652
656
|
partners: string;
|
|
@@ -657,6 +661,54 @@ export type BillingListsDto = {
|
|
|
657
661
|
*/
|
|
658
662
|
incoming?: null | string;
|
|
659
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
|
+
};
|
|
660
712
|
export type BillingMonthDto = {
|
|
661
713
|
/**
|
|
662
714
|
* The month, YYYY-MM.
|
|
@@ -751,14 +803,14 @@ export type BillingPartnerDto = {
|
|
|
751
803
|
export type BillingSenderDto = {
|
|
752
804
|
id: string;
|
|
753
805
|
/**
|
|
754
|
-
* company (
|
|
806
|
+
* company (the Unternehmen with a register entry) or details (an Unternehmen without one).
|
|
755
807
|
*/
|
|
756
808
|
kind: string;
|
|
757
809
|
name: string;
|
|
758
810
|
address?: null | string;
|
|
759
811
|
uid?: null | string;
|
|
760
812
|
/**
|
|
761
|
-
* details only:
|
|
813
|
+
* details only: the member's verification, none, pending or verified. Sending by e-mail or post needs verified.
|
|
762
814
|
*/
|
|
763
815
|
verification?: null | string;
|
|
764
816
|
/**
|
|
@@ -767,14 +819,32 @@ export type BillingSenderDto = {
|
|
|
767
819
|
iban?: null | string;
|
|
768
820
|
bic?: null | string;
|
|
769
821
|
paymentDays: number;
|
|
822
|
+
/**
|
|
823
|
+
* Superseded by numberPattern: its text before the first variable, RE- of RE-{Jahr}-{Nummer}.
|
|
824
|
+
*/
|
|
770
825
|
prefix: string;
|
|
771
826
|
/**
|
|
772
|
-
* The number the next invoice of this Absender gets.
|
|
827
|
+
* The number the next invoice of this Absender dated today gets.
|
|
773
828
|
*/
|
|
774
829
|
nextNumber: string;
|
|
830
|
+
/**
|
|
831
|
+
* Its running number ({Nummer}) in the current period.
|
|
832
|
+
*/
|
|
775
833
|
nextSequence: number;
|
|
776
834
|
footer?: null | string;
|
|
777
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;
|
|
778
848
|
/**
|
|
779
849
|
* The Konto („Zahlung auf“) its invoices name for payment, a bank account with an IBAN; null for none.
|
|
780
850
|
*/
|
|
@@ -790,6 +860,11 @@ export type BillingSetupDto = {
|
|
|
790
860
|
*/
|
|
791
861
|
acceptDeliveries: boolean;
|
|
792
862
|
email: BillingEmailDto;
|
|
863
|
+
mail?: null | BillingMailDto;
|
|
864
|
+
/**
|
|
865
|
+
* What the Abschluss counts by: invoice (Rechnungsdatum, default) or payment (Zahlungseingang).
|
|
866
|
+
*/
|
|
867
|
+
reportBasis?: string;
|
|
793
868
|
};
|
|
794
869
|
export type BillingSummaryDto = {
|
|
795
870
|
from: string;
|
|
@@ -1805,7 +1880,6 @@ export type CreateListDto = {
|
|
|
1805
1880
|
ownRecordId?: null | string;
|
|
1806
1881
|
ownRecord?: null | CreateOwnRecordDto;
|
|
1807
1882
|
}>;
|
|
1808
|
-
rules?: null | Array<CreateRuleDto>;
|
|
1809
1883
|
};
|
|
1810
1884
|
export type CreateOwnRecordDto = {
|
|
1811
1885
|
name: string;
|
|
@@ -1829,14 +1903,9 @@ export type CreateOwnRecordDto = {
|
|
|
1829
1903
|
};
|
|
1830
1904
|
};
|
|
1831
1905
|
};
|
|
1832
|
-
export type CreateRuleDto = {
|
|
1833
|
-
rule: RuleDefinition;
|
|
1834
|
-
runNow?: boolean;
|
|
1835
|
-
};
|
|
1836
1906
|
export type CreditPrices = {
|
|
1837
|
-
listUpdate: number;
|
|
1838
1907
|
exportRows: number;
|
|
1839
|
-
|
|
1908
|
+
receiptRead: number;
|
|
1840
1909
|
};
|
|
1841
1910
|
export type CursorPageOfAkteRefDto = {
|
|
1842
1911
|
items: Array<AkteRefDto>;
|
|
@@ -1963,11 +2032,6 @@ export type CursorPageOfListEventDto = {
|
|
|
1963
2032
|
nextCursor?: null | string;
|
|
1964
2033
|
total?: null | number;
|
|
1965
2034
|
};
|
|
1966
|
-
export type CursorPageOfListRunDto = {
|
|
1967
|
-
items: Array<ListRunDto>;
|
|
1968
|
-
nextCursor?: null | string;
|
|
1969
|
-
total?: null | number;
|
|
1970
|
-
};
|
|
1971
2035
|
export type CursorPageOfMineSearchRow = {
|
|
1972
2036
|
items: Array<MineSearchRow>;
|
|
1973
2037
|
nextCursor?: null | string;
|
|
@@ -2078,14 +2142,6 @@ export type CursorPageOfRefNamespaceEntry = {
|
|
|
2078
2142
|
nextCursor?: null | string;
|
|
2079
2143
|
total?: null | number;
|
|
2080
2144
|
};
|
|
2081
|
-
export type CursorPageOfRuleDto = {
|
|
2082
|
-
items: Array<RuleDto>;
|
|
2083
|
-
nextCursor?: null | string;
|
|
2084
|
-
total?: null | number;
|
|
2085
|
-
};
|
|
2086
|
-
export type EmptyRuleTrigger = {
|
|
2087
|
-
[key: string]: never;
|
|
2088
|
-
};
|
|
2089
2145
|
export type EntityActivityDto = {
|
|
2090
2146
|
at: string;
|
|
2091
2147
|
kind: string;
|
|
@@ -2183,7 +2239,6 @@ export type EntrySearchDto = {
|
|
|
2183
2239
|
* Opaque nextCursor; keep filters and sort unchanged.
|
|
2184
2240
|
*/
|
|
2185
2241
|
cursor?: null | string;
|
|
2186
|
-
runId?: null | string;
|
|
2187
2242
|
excluded?: null | boolean;
|
|
2188
2243
|
};
|
|
2189
2244
|
export type EntrySubjectDto = {
|
|
@@ -2198,13 +2253,6 @@ export type EntryWriteResultDto = {
|
|
|
2198
2253
|
akte?: null | ListEntryAkteDto;
|
|
2199
2254
|
ownRecord?: null | ListEntryOwnRecordDto;
|
|
2200
2255
|
};
|
|
2201
|
-
export type EvaluationDto = {
|
|
2202
|
-
run?: null | ListRunDto;
|
|
2203
|
-
members?: null | number;
|
|
2204
|
-
wouldAdd?: null | number;
|
|
2205
|
-
wouldRemove?: null | number;
|
|
2206
|
-
sample?: null | Array<ListEventSubject>;
|
|
2207
|
-
};
|
|
2208
2256
|
export type EviChangedFunction = {
|
|
2209
2257
|
personId?: null | string;
|
|
2210
2258
|
code: string;
|
|
@@ -2393,6 +2441,12 @@ export type GeoPoint = {
|
|
|
2393
2441
|
lng: number;
|
|
2394
2442
|
fnr?: null | string;
|
|
2395
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;
|
|
2396
2450
|
};
|
|
2397
2451
|
export type GisaLicenseState = {
|
|
2398
2452
|
status?: null | string;
|
|
@@ -2607,6 +2661,10 @@ export type InvoiceDraftBody = {
|
|
|
2607
2661
|
*/
|
|
2608
2662
|
note?: null | string;
|
|
2609
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;
|
|
2610
2668
|
};
|
|
2611
2669
|
export type InvoiceDraftScope = {
|
|
2612
2670
|
/**
|
|
@@ -2687,6 +2745,10 @@ export type InvoiceDto = {
|
|
|
2687
2745
|
email: InvoiceEmailDto;
|
|
2688
2746
|
scope?: null | InvoiceDraftScope;
|
|
2689
2747
|
defaults?: null | InvoiceDefaultsDto;
|
|
2748
|
+
/**
|
|
2749
|
+
* A draft's Rechnungsnummer typed by hand; empty numbers automatically.
|
|
2750
|
+
*/
|
|
2751
|
+
requestedNumber?: null | string;
|
|
2690
2752
|
};
|
|
2691
2753
|
export type InvoiceEmailDto = {
|
|
2692
2754
|
/**
|
|
@@ -2694,7 +2756,7 @@ export type InvoiceEmailDto = {
|
|
|
2694
2756
|
*/
|
|
2695
2757
|
to?: null | string;
|
|
2696
2758
|
/**
|
|
2697
|
-
* 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).
|
|
2698
2760
|
*/
|
|
2699
2761
|
state: string;
|
|
2700
2762
|
/**
|
|
@@ -2809,7 +2871,7 @@ export type LetterCountDto = {
|
|
|
2809
2871
|
export type LetterDto = {
|
|
2810
2872
|
id: string;
|
|
2811
2873
|
/**
|
|
2812
|
-
* draft (
|
|
2874
|
+
* draft (not started), running (its run books the Zielgruppe's companies without a letter), paused (books nothing until resumed) or sent (fertig).
|
|
2813
2875
|
*/
|
|
2814
2876
|
status: string;
|
|
2815
2877
|
senderCompanyId?: null | string;
|
|
@@ -2837,13 +2899,58 @@ export type LetterDto = {
|
|
|
2837
2899
|
createdAt: string;
|
|
2838
2900
|
changedAt: string;
|
|
2839
2901
|
/**
|
|
2840
|
-
*
|
|
2902
|
+
* Unused since Kampagnen (#3540); always 0.
|
|
2841
2903
|
*/
|
|
2842
2904
|
newRecipients?: number;
|
|
2843
2905
|
/**
|
|
2844
2906
|
* The bold line in the QR field with its variables; null prints „Mehr erfahren“.
|
|
2845
2907
|
*/
|
|
2846
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;
|
|
2847
2954
|
};
|
|
2848
2955
|
export type LetterPlanDto = {
|
|
2849
2956
|
letterId: string;
|
|
@@ -2857,9 +2964,9 @@ export type LetterPlanDto = {
|
|
|
2857
2964
|
sending: number;
|
|
2858
2965
|
creditsPerLetter: number;
|
|
2859
2966
|
credits: number;
|
|
2860
|
-
|
|
2967
|
+
fromIncluded: number;
|
|
2861
2968
|
fromBalance: number;
|
|
2862
|
-
|
|
2969
|
+
monthlyLettersLeft: number;
|
|
2863
2970
|
balance: number;
|
|
2864
2971
|
affordable: boolean;
|
|
2865
2972
|
examples: Array<string>;
|
|
@@ -2903,18 +3010,13 @@ export type LetterPreviewDto = {
|
|
|
2903
3010
|
};
|
|
2904
3011
|
export type LetterPricesDto = {
|
|
2905
3012
|
/**
|
|
2906
|
-
* One letter,
|
|
3013
|
+
* One letter, up to two sheets with its attachments.
|
|
2907
3014
|
*/
|
|
2908
3015
|
letter: number;
|
|
2909
3016
|
/**
|
|
2910
|
-
* Each
|
|
2911
|
-
*/
|
|
2912
|
-
attachment: number;
|
|
2913
|
-
/**
|
|
2914
|
-
* Each sheet from the third (printed duplex).
|
|
3017
|
+
* Each sheet from the third (printed duplex); attachments count only through their sheets.
|
|
2915
3018
|
*/
|
|
2916
3019
|
sheet: number;
|
|
2917
|
-
weeklySharePercent: number;
|
|
2918
3020
|
};
|
|
2919
3021
|
export type LetterRecipientDto = {
|
|
2920
3022
|
kind: string;
|
|
@@ -2925,76 +3027,10 @@ export type LetterRecipientDto = {
|
|
|
2925
3027
|
* A company's address in one line.
|
|
2926
3028
|
*/
|
|
2927
3029
|
address?: null | string;
|
|
2928
|
-
/**
|
|
2929
|
-
* Lists only: once or ongoing.
|
|
2930
|
-
*/
|
|
2931
|
-
mode?: null | string;
|
|
2932
|
-
/**
|
|
2933
|
-
* Lists only: the budget in credits per budgetPeriod; null is none.
|
|
2934
|
-
*/
|
|
2935
|
-
budgetCredits?: null | number;
|
|
2936
|
-
/**
|
|
2937
|
-
* Lists only: day, week or month.
|
|
2938
|
-
*/
|
|
2939
|
-
budgetPeriod?: null | string;
|
|
2940
|
-
/**
|
|
2941
|
-
* Lists only: queue or drop.
|
|
2942
|
-
*/
|
|
2943
|
-
overflow?: null | string;
|
|
2944
|
-
/**
|
|
2945
|
-
* Lists only: the Brief sends to the list's new entries now (an ongoing list after a send).
|
|
2946
|
-
*/
|
|
2947
|
-
running?: boolean;
|
|
2948
|
-
/**
|
|
2949
|
-
* Lists only: why sending to new entries is paused: user (paused in the Brief), sender, member or letter.
|
|
2950
|
-
*/
|
|
2951
|
-
pausedReason?: null | string;
|
|
2952
|
-
/**
|
|
2953
|
-
* Lists only: letters to the list's new entries charged this week.
|
|
2954
|
-
*/
|
|
2955
|
-
sentThisWeek?: number;
|
|
2956
|
-
/**
|
|
2957
|
-
* Lists only: letters to new entries that wait for the budget, the workspace limit or credits.
|
|
2958
|
-
*/
|
|
2959
|
-
waiting?: number;
|
|
2960
|
-
/**
|
|
2961
|
-
* Lists only: credits the budget counted in the current period.
|
|
2962
|
-
*/
|
|
2963
|
-
budgetUsed?: number;
|
|
2964
|
-
/**
|
|
2965
|
-
* Lists only: when the current budget period ends.
|
|
2966
|
-
*/
|
|
2967
|
-
budgetResetsAt?: null | string;
|
|
2968
3030
|
};
|
|
2969
3031
|
export type LetterRecipientRef = {
|
|
2970
3032
|
kind: string;
|
|
2971
3033
|
id: string;
|
|
2972
|
-
/**
|
|
2973
|
-
* once (default) or ongoing (also new entries).
|
|
2974
|
-
*/
|
|
2975
|
-
mode?: null | string;
|
|
2976
|
-
/**
|
|
2977
|
-
* Credits per budgetPeriod.
|
|
2978
|
-
*/
|
|
2979
|
-
budgetCredits?: null | number;
|
|
2980
|
-
/**
|
|
2981
|
-
* day, week or month.
|
|
2982
|
-
*/
|
|
2983
|
-
budgetPeriod?: null | string;
|
|
2984
|
-
/**
|
|
2985
|
-
* queue (default) or drop.
|
|
2986
|
-
*/
|
|
2987
|
-
overflow?: null | string;
|
|
2988
|
-
};
|
|
2989
|
-
export type LetterRulePayload = {
|
|
2990
|
-
/**
|
|
2991
|
-
* ID of a Brief in this workspace, from list_letters.
|
|
2992
|
-
*/
|
|
2993
|
-
letterId: string;
|
|
2994
|
-
/**
|
|
2995
|
-
* Firmenakte-ID of the Absender company, one of get_letter_setup's senders.
|
|
2996
|
-
*/
|
|
2997
|
-
senderCompanyId: string;
|
|
2998
3034
|
};
|
|
2999
3035
|
export type LetterSenderDto = {
|
|
3000
3036
|
companyId: string;
|
|
@@ -3026,14 +3062,14 @@ export type LetterSendingDto = {
|
|
|
3026
3062
|
hasPdf: boolean;
|
|
3027
3063
|
scans: number;
|
|
3028
3064
|
firstScannedAt?: null | string;
|
|
3029
|
-
/**
|
|
3030
|
-
* The list rule (sendLetter) that queued it for a new list entry; null for a send of the Brief.
|
|
3031
|
-
*/
|
|
3032
|
-
ruleId?: null | string;
|
|
3033
3065
|
/**
|
|
3034
3066
|
* Why a waiting letter waits: list_budget, workspace_limit or credits.
|
|
3035
3067
|
*/
|
|
3036
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;
|
|
3037
3073
|
};
|
|
3038
3074
|
export type LetterSendResultDto = {
|
|
3039
3075
|
plan: LetterPlanDto;
|
|
@@ -3046,6 +3082,14 @@ export type LetterSetupDto = {
|
|
|
3046
3082
|
noSenderReason?: null | string;
|
|
3047
3083
|
variables: Array<LetterVariableDto>;
|
|
3048
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;
|
|
3049
3093
|
};
|
|
3050
3094
|
export type LetterSpanDto = {
|
|
3051
3095
|
text: string;
|
|
@@ -3067,24 +3111,27 @@ export type LetterSummaryDto = {
|
|
|
3067
3111
|
scannedCount: number;
|
|
3068
3112
|
changedAt: string;
|
|
3069
3113
|
/**
|
|
3070
|
-
*
|
|
3114
|
+
* The Kampagne's name; null is „Neue Kampagne“.
|
|
3071
3115
|
*/
|
|
3072
|
-
|
|
3116
|
+
name?: null | string;
|
|
3073
3117
|
};
|
|
3074
3118
|
export type LetterVariableDto = {
|
|
3075
3119
|
path: string;
|
|
3076
3120
|
label: string;
|
|
3077
3121
|
group: string;
|
|
3078
3122
|
};
|
|
3123
|
+
export type LetterWeekDto = {
|
|
3124
|
+
week: string;
|
|
3125
|
+
sent: number;
|
|
3126
|
+
credits: number;
|
|
3127
|
+
};
|
|
3079
3128
|
export type ListDto = {
|
|
3080
3129
|
id: string;
|
|
3081
3130
|
name: string;
|
|
3082
3131
|
color?: null | string;
|
|
3083
3132
|
stats: Stats;
|
|
3084
3133
|
revision: string;
|
|
3085
|
-
hasRules?: boolean;
|
|
3086
3134
|
allSelectedPresent?: null | boolean;
|
|
3087
|
-
run?: null | ListRunDto;
|
|
3088
3135
|
system?: null | string;
|
|
3089
3136
|
};
|
|
3090
3137
|
export type ListEntryAkteDto = {
|
|
@@ -3138,7 +3185,6 @@ export type ListEntrySubjectDto = {
|
|
|
3138
3185
|
export type ListEventDto = {
|
|
3139
3186
|
seq: number;
|
|
3140
3187
|
listId: string;
|
|
3141
|
-
runId?: null | string;
|
|
3142
3188
|
type: string;
|
|
3143
3189
|
at: string;
|
|
3144
3190
|
baseline: boolean;
|
|
@@ -3156,41 +3202,6 @@ export type ListEventSubject = {
|
|
|
3156
3202
|
type?: null | string;
|
|
3157
3203
|
name: string;
|
|
3158
3204
|
};
|
|
3159
|
-
export type ListRunDto = {
|
|
3160
|
-
id: string;
|
|
3161
|
-
trigger: string;
|
|
3162
|
-
evaluationDate: string;
|
|
3163
|
-
startedAt: string;
|
|
3164
|
-
finishedAt?: null | string;
|
|
3165
|
-
added: number;
|
|
3166
|
-
status: string;
|
|
3167
|
-
baseline: boolean;
|
|
3168
|
-
credits: number;
|
|
3169
|
-
reason?: null | string;
|
|
3170
|
-
deliveries?: null | Array<RunDeliveryDto>;
|
|
3171
|
-
};
|
|
3172
|
-
export type ListSchedule = {
|
|
3173
|
-
/**
|
|
3174
|
-
* Repeat daily, weekdays (Monday-Friday), weekly, monthly, or manual (no recurrence). Never more often than daily.
|
|
3175
|
-
*/
|
|
3176
|
-
every?: 'daily' | 'weekdays' | 'weekly' | 'monthly' | 'manual';
|
|
3177
|
-
/**
|
|
3178
|
-
* 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.
|
|
3179
|
-
*/
|
|
3180
|
-
at?: null | string;
|
|
3181
|
-
/**
|
|
3182
|
-
* Required only for weekly: 0=Sunday, 1=Monday, 2=Tuesday, 3=Wednesday, 4=Thursday, 5=Friday, 6=Saturday. Otherwise omit or use null.
|
|
3183
|
-
*/
|
|
3184
|
-
weekday?: null | number;
|
|
3185
|
-
/**
|
|
3186
|
-
* Required only for monthly: day of month 1-28. Otherwise omit or use null.
|
|
3187
|
-
*/
|
|
3188
|
-
monthday?: null | number;
|
|
3189
|
-
/**
|
|
3190
|
-
* Always Europe/Vienna; daylight saving time is handled automatically.
|
|
3191
|
-
*/
|
|
3192
|
-
timezone?: 'Europe/Vienna';
|
|
3193
|
-
};
|
|
3194
3205
|
export type ListSubjectProperty = {
|
|
3195
3206
|
path: string;
|
|
3196
3207
|
label: string;
|
|
@@ -3220,17 +3231,30 @@ export type MatchBankTransactionsResult = {
|
|
|
3220
3231
|
};
|
|
3221
3232
|
export type MeClassPricesDto = {
|
|
3222
3233
|
basic: number;
|
|
3223
|
-
|
|
3234
|
+
ai: number;
|
|
3224
3235
|
};
|
|
3225
3236
|
export type MeCreditsDto = {
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
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
|
+
*/
|
|
3230
3244
|
balance: number;
|
|
3245
|
+
/**
|
|
3246
|
+
* When the included amounts are full again: the 1st of the next month, 00:00 Europe/Vienna.
|
|
3247
|
+
*/
|
|
3231
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>;
|
|
3232
3253
|
prices: CreditPrices;
|
|
3233
|
-
|
|
3254
|
+
/**
|
|
3255
|
+
* Credits (euro cents) one Abfrage (basic) costs, and one block of 5,000 AI tokens (ai).
|
|
3256
|
+
*/
|
|
3257
|
+
classes: MeClassPricesDto;
|
|
3234
3258
|
};
|
|
3235
3259
|
export type MeDto = {
|
|
3236
3260
|
workspace: MeWorkspaceDto;
|
|
@@ -3242,6 +3266,11 @@ export type MeDto = {
|
|
|
3242
3266
|
features?: Array<string>;
|
|
3243
3267
|
access?: WorkspaceAccessDto;
|
|
3244
3268
|
};
|
|
3269
|
+
export type MeIncludedDto = {
|
|
3270
|
+
feature: string;
|
|
3271
|
+
included: number;
|
|
3272
|
+
used: number;
|
|
3273
|
+
};
|
|
3245
3274
|
export type MeKeyDto = {
|
|
3246
3275
|
id: string;
|
|
3247
3276
|
name: string;
|
|
@@ -3443,18 +3472,6 @@ export type NoticeCompany = {
|
|
|
3443
3472
|
id: string;
|
|
3444
3473
|
name: string;
|
|
3445
3474
|
};
|
|
3446
|
-
export type NotificationRulePayload = {
|
|
3447
|
-
channel: 'inApp' | 'email';
|
|
3448
|
-
};
|
|
3449
|
-
export type NotificationRulesDto = {
|
|
3450
|
-
inApp: null | RuleDto;
|
|
3451
|
-
email: null | RuleDto;
|
|
3452
|
-
};
|
|
3453
|
-
export type NotificationRuleSetting = {
|
|
3454
|
-
enabled: boolean;
|
|
3455
|
-
id: null | string;
|
|
3456
|
-
revision: null | string;
|
|
3457
|
-
};
|
|
3458
3475
|
export type NumbersSettingsBody = {
|
|
3459
3476
|
customerNumberField?: null | string;
|
|
3460
3477
|
supplierNumberField?: null | string;
|
|
@@ -3462,6 +3479,14 @@ export type NumbersSettingsBody = {
|
|
|
3462
3479
|
ibanField?: null | string;
|
|
3463
3480
|
emailField?: null | string;
|
|
3464
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;
|
|
3465
3490
|
};
|
|
3466
3491
|
export type OwnRecordDto = {
|
|
3467
3492
|
id: string;
|
|
@@ -3545,7 +3570,6 @@ export type Problem = {
|
|
|
3545
3570
|
requestId: string;
|
|
3546
3571
|
errors: Array<V2ValidationError>;
|
|
3547
3572
|
candidates?: null | Array<string>;
|
|
3548
|
-
run?: null | ListRunDto;
|
|
3549
3573
|
};
|
|
3550
3574
|
export type PublicAccountFigure = {
|
|
3551
3575
|
definition?: null | AkteRefLink;
|
|
@@ -4103,19 +4127,6 @@ export type PublicSourceCapabilities = {
|
|
|
4103
4127
|
documents: boolean;
|
|
4104
4128
|
extracts: boolean;
|
|
4105
4129
|
};
|
|
4106
|
-
export type QueryRulePayload = {
|
|
4107
|
-
definition: {
|
|
4108
|
-
/**
|
|
4109
|
-
* Record type: company or person. Automatic list query rules currently support company only.
|
|
4110
|
-
*/
|
|
4111
|
-
subject: 'company' | 'person';
|
|
4112
|
-
where: Filter;
|
|
4113
|
-
/**
|
|
4114
|
-
* Filter language version; use 1.
|
|
4115
|
-
*/
|
|
4116
|
-
filterVersion?: 1;
|
|
4117
|
-
};
|
|
4118
|
-
};
|
|
4119
4130
|
export type RecordChange = {
|
|
4120
4131
|
/**
|
|
4121
4132
|
* Source record change event identity; distinct from an entity change ID.
|
|
@@ -4241,84 +4252,6 @@ export type ResultSlice = {
|
|
|
4241
4252
|
fields: Array<ResultField>;
|
|
4242
4253
|
expiresAt: string;
|
|
4243
4254
|
};
|
|
4244
|
-
export type RuleDefinition = ({
|
|
4245
|
-
operationId: 'applyListQuery';
|
|
4246
|
-
} & RuleDefinitionApplyListQueryDefinition) | ({
|
|
4247
|
-
operationId: 'notifyListEntries';
|
|
4248
|
-
} & RuleDefinitionNotifyListEntriesDefinition) | ({
|
|
4249
|
-
operationId: 'sendLetter';
|
|
4250
|
-
} & RuleDefinitionSendLetterDefinition);
|
|
4251
|
-
export type RuleDefinitionApplyListQueryDefinition = {
|
|
4252
|
-
operationId: 'applyListQuery';
|
|
4253
|
-
payload: QueryRulePayload;
|
|
4254
|
-
triggerPayload?: null | ListSchedule;
|
|
4255
|
-
trigger?: 'manual' | 'schedule';
|
|
4256
|
-
enabled?: boolean;
|
|
4257
|
-
schemaVersion?: 1;
|
|
4258
|
-
};
|
|
4259
|
-
export type RuleDefinitionNotifyListEntriesDefinition = {
|
|
4260
|
-
operationId: 'notifyListEntries';
|
|
4261
|
-
payload: NotificationRulePayload;
|
|
4262
|
-
triggerPayload?: null | EmptyRuleTrigger;
|
|
4263
|
-
trigger?: 'entry.added';
|
|
4264
|
-
enabled?: boolean;
|
|
4265
|
-
schemaVersion?: 1;
|
|
4266
|
-
};
|
|
4267
|
-
export type RuleDefinitionSendLetterDefinition = {
|
|
4268
|
-
operationId: 'sendLetter';
|
|
4269
|
-
payload: LetterRulePayload;
|
|
4270
|
-
triggerPayload?: null | EmptyRuleTrigger;
|
|
4271
|
-
trigger?: 'entry.added';
|
|
4272
|
-
enabled?: boolean;
|
|
4273
|
-
schemaVersion?: 1;
|
|
4274
|
-
};
|
|
4275
|
-
export type RuleDto = {
|
|
4276
|
-
id: string;
|
|
4277
|
-
listId: string;
|
|
4278
|
-
revision: string;
|
|
4279
|
-
rule: RuleDefinition;
|
|
4280
|
-
nextRunAt?: null | string;
|
|
4281
|
-
credits: number;
|
|
4282
|
-
run?: null | ListRunDto;
|
|
4283
|
-
};
|
|
4284
|
-
export type RuleQuoteDto = {
|
|
4285
|
-
credits: number;
|
|
4286
|
-
nextRunAt: null | string;
|
|
4287
|
-
items: Array<RuleQuoteItem>;
|
|
4288
|
-
/**
|
|
4289
|
-
* 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.
|
|
4290
|
-
*/
|
|
4291
|
-
matches: number;
|
|
4292
|
-
/**
|
|
4293
|
-
* True when more than 10000 companies would be added; matches then reads 10000.
|
|
4294
|
-
*/
|
|
4295
|
-
matchesCapped: boolean;
|
|
4296
|
-
};
|
|
4297
|
-
export type RuleQuoteItem = {
|
|
4298
|
-
id: string;
|
|
4299
|
-
type?: null | string;
|
|
4300
|
-
name: string;
|
|
4301
|
-
/**
|
|
4302
|
-
* City of the registered address.
|
|
4303
|
-
*/
|
|
4304
|
-
place?: null | string;
|
|
4305
|
-
/**
|
|
4306
|
-
* Short label of the current legal form, such as GmbH.
|
|
4307
|
-
*/
|
|
4308
|
-
legalFormShortLabel?: null | string;
|
|
4309
|
-
/**
|
|
4310
|
-
* Date of the first Firmenbuch registration.
|
|
4311
|
-
*/
|
|
4312
|
-
registeredDate?: null | string;
|
|
4313
|
-
};
|
|
4314
|
-
export type RunDeliveryDto = {
|
|
4315
|
-
channel: string;
|
|
4316
|
-
status: string;
|
|
4317
|
-
};
|
|
4318
|
-
export type RunRuleDto = {
|
|
4319
|
-
revision: string;
|
|
4320
|
-
dryRun?: boolean;
|
|
4321
|
-
};
|
|
4322
4255
|
export type SaveArticleRequest = {
|
|
4323
4256
|
name: string;
|
|
4324
4257
|
priceCents: number;
|
|
@@ -4360,16 +4293,16 @@ export type SenderSettingsBody = {
|
|
|
4360
4293
|
*/
|
|
4361
4294
|
bic?: null | string;
|
|
4362
4295
|
/**
|
|
4363
|
-
* Overrides the
|
|
4296
|
+
* Overrides the UID of the Unternehmen; an empty string removes the override, omitted keeps it.
|
|
4364
4297
|
*/
|
|
4365
4298
|
uid?: null | string;
|
|
4366
4299
|
paymentDays?: null | number;
|
|
4367
4300
|
/**
|
|
4368
|
-
*
|
|
4301
|
+
* Superseded by numberPattern: replaces the pattern's text before its first variable, RE- of RE-{Jahr}-{Nummer}. Ignored when numberPattern is sent.
|
|
4369
4302
|
*/
|
|
4370
4303
|
prefix?: null | string;
|
|
4371
4304
|
/**
|
|
4372
|
-
* Raise the
|
|
4305
|
+
* Raise the running number of the current period, for example when moving from another tool. Never lower.
|
|
4373
4306
|
*/
|
|
4374
4307
|
nextSequence?: null | number;
|
|
4375
4308
|
/**
|
|
@@ -4384,6 +4317,18 @@ export type SenderSettingsBody = {
|
|
|
4384
4317
|
* The Konto invoices name for payment, one with an IBAN; an empty string removes it. Takes precedence over iban.
|
|
4385
4318
|
*/
|
|
4386
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;
|
|
4387
4332
|
};
|
|
4388
4333
|
export type SendInvoiceBody = {
|
|
4389
4334
|
/**
|
|
@@ -4391,7 +4336,7 @@ export type SendInvoiceBody = {
|
|
|
4391
4336
|
*/
|
|
4392
4337
|
reminder?: boolean;
|
|
4393
4338
|
/**
|
|
4394
|
-
* 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.
|
|
4395
4340
|
*/
|
|
4396
4341
|
note?: null | string;
|
|
4397
4342
|
};
|
|
@@ -4402,6 +4347,45 @@ export type SendLetterBody = {
|
|
|
4402
4347
|
*/
|
|
4403
4348
|
resendReceived?: boolean;
|
|
4404
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
|
+
};
|
|
4405
4389
|
export type SetEntityValuesDto = {
|
|
4406
4390
|
/**
|
|
4407
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.
|
|
@@ -4423,10 +4407,6 @@ export type SetEntityValuesDto = {
|
|
|
4423
4407
|
[key: string]: null | string | number | boolean;
|
|
4424
4408
|
};
|
|
4425
4409
|
};
|
|
4426
|
-
export type SetNotificationRulesDto = {
|
|
4427
|
-
inApp: NotificationRuleSetting;
|
|
4428
|
-
email: NotificationRuleSetting;
|
|
4429
|
-
};
|
|
4430
4410
|
export type SourceKey = 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
|
|
4431
4411
|
export type SourceLicense = {
|
|
4432
4412
|
name: string;
|
|
@@ -4547,11 +4527,10 @@ export type UpdateBankConnectionBody = {
|
|
|
4547
4527
|
payoutAccountId?: null | string;
|
|
4548
4528
|
};
|
|
4549
4529
|
export type UpdateBankSettingsRequest = {
|
|
4550
|
-
aiMatch?: null | boolean;
|
|
4551
4530
|
/**
|
|
4552
|
-
*
|
|
4531
|
+
* aus, pruefen or sicher.
|
|
4553
4532
|
*/
|
|
4554
|
-
|
|
4533
|
+
mode: 'aus' | 'pruefen' | 'sicher';
|
|
4555
4534
|
};
|
|
4556
4535
|
export type UpdateBankTransactionBody = {
|
|
4557
4536
|
bookingDate?: null | string;
|
|
@@ -4608,6 +4587,11 @@ export type UpdateBillingSettingsRequest = {
|
|
|
4608
4587
|
* Take invoices other Firmenakte workspaces issue to this one into the Eingang by themselves; false turns it off.
|
|
4609
4588
|
*/
|
|
4610
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';
|
|
4611
4595
|
};
|
|
4612
4596
|
export type UpdateEntryDto = {
|
|
4613
4597
|
excluded?: null | boolean;
|
|
@@ -4645,13 +4629,25 @@ export type UpdateLetterBody = {
|
|
|
4645
4629
|
advertising?: null | boolean;
|
|
4646
4630
|
recipients?: null | Array<LetterRecipientRef>;
|
|
4647
4631
|
/**
|
|
4648
|
-
*
|
|
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.
|
|
4649
4633
|
*/
|
|
4650
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;
|
|
4651
4648
|
};
|
|
4652
|
-
export type
|
|
4653
|
-
|
|
4654
|
-
rule: RuleDefinition;
|
|
4649
|
+
export type UpdateLetterSetupRequest = {
|
|
4650
|
+
budgetCredits?: null | number;
|
|
4655
4651
|
};
|
|
4656
4652
|
export type V2Problem = {
|
|
4657
4653
|
type: string;
|
|
@@ -4662,7 +4658,6 @@ export type V2Problem = {
|
|
|
4662
4658
|
requestId: string;
|
|
4663
4659
|
errors: Array<V2ValidationError>;
|
|
4664
4660
|
candidates?: null | Array<string>;
|
|
4665
|
-
run?: null | ListRunDto;
|
|
4666
4661
|
};
|
|
4667
4662
|
export type V2ValidationError = {
|
|
4668
4663
|
code: string;
|
|
@@ -5104,524 +5099,18 @@ export type CreateImportData = {
|
|
|
5104
5099
|
/**
|
|
5105
5100
|
* Optional replay key, retained for 24 hours.
|
|
5106
5101
|
*/
|
|
5107
|
-
'Idempotency-Key'?: string;
|
|
5108
|
-
};
|
|
5109
|
-
path: {
|
|
5110
|
-
/**
|
|
5111
|
-
* Workspace resource ID.
|
|
5112
|
-
*/
|
|
5113
|
-
id: string;
|
|
5114
|
-
};
|
|
5115
|
-
query?: never;
|
|
5116
|
-
url: '/api/v2/me/lists/{id}/imports';
|
|
5117
|
-
};
|
|
5118
|
-
export type CreateImportErrors = {
|
|
5119
|
-
/**
|
|
5120
|
-
* Malformed request, or a cursor from another request.
|
|
5121
|
-
*/
|
|
5122
|
-
400: Problem;
|
|
5123
|
-
/**
|
|
5124
|
-
* No valid API key or session.
|
|
5125
|
-
*/
|
|
5126
|
-
401: Problem;
|
|
5127
|
-
/**
|
|
5128
|
-
* Not enough credits for this call.
|
|
5129
|
-
*/
|
|
5130
|
-
402: Problem;
|
|
5131
|
-
/**
|
|
5132
|
-
* This operation needs a dashboard session.
|
|
5133
|
-
*/
|
|
5134
|
-
403: Problem;
|
|
5135
|
-
/**
|
|
5136
|
-
* Not found, or it belongs to another workspace.
|
|
5137
|
-
*/
|
|
5138
|
-
404: Problem;
|
|
5139
|
-
/**
|
|
5140
|
-
* Conflict with the current state; `code` says which.
|
|
5141
|
-
*/
|
|
5142
|
-
409: Problem;
|
|
5143
|
-
/**
|
|
5144
|
-
* Erased or expired.
|
|
5145
|
-
*/
|
|
5146
|
-
410: Problem;
|
|
5147
|
-
/**
|
|
5148
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5149
|
-
*/
|
|
5150
|
-
422: Problem;
|
|
5151
|
-
/**
|
|
5152
|
-
* Too many requests; retry after `Retry-After`.
|
|
5153
|
-
*/
|
|
5154
|
-
429: Problem;
|
|
5155
|
-
/**
|
|
5156
|
-
* Internal error; quote `requestId` to support.
|
|
5157
|
-
*/
|
|
5158
|
-
500: Problem;
|
|
5159
|
-
};
|
|
5160
|
-
export type CreateImportError = CreateImportErrors[keyof CreateImportErrors];
|
|
5161
|
-
export type CreateImportResponses = {
|
|
5162
|
-
/**
|
|
5163
|
-
* Created
|
|
5164
|
-
*/
|
|
5165
|
-
201: ImportDto;
|
|
5166
|
-
};
|
|
5167
|
-
export type CreateImportResponse = CreateImportResponses[keyof CreateImportResponses];
|
|
5168
|
-
export type GetImportData = {
|
|
5169
|
-
body?: never;
|
|
5170
|
-
headers?: {
|
|
5171
|
-
/**
|
|
5172
|
-
* Optional replay key, retained for 24 hours.
|
|
5173
|
-
*/
|
|
5174
|
-
'Idempotency-Key'?: string;
|
|
5175
|
-
};
|
|
5176
|
-
path: {
|
|
5177
|
-
/**
|
|
5178
|
-
* Workspace resource ID.
|
|
5179
|
-
*/
|
|
5180
|
-
id: string;
|
|
5181
|
-
/**
|
|
5182
|
-
* Import ID, as returned when the import was created.
|
|
5183
|
-
*/
|
|
5184
|
-
importId: string;
|
|
5185
|
-
};
|
|
5186
|
-
query?: {
|
|
5187
|
-
/**
|
|
5188
|
-
* Page size, default 25, maximum 100. Zero returns the count.
|
|
5189
|
-
*/
|
|
5190
|
-
limit?: number;
|
|
5191
|
-
/**
|
|
5192
|
-
* Opaque cursor from the previous page; expires after 24 hours.
|
|
5193
|
-
*/
|
|
5194
|
-
cursor?: string;
|
|
5195
|
-
/**
|
|
5196
|
-
* Only rows with this match status: matched, ambiguous or unmatched.
|
|
5197
|
-
*/
|
|
5198
|
-
status?: string;
|
|
5199
|
-
};
|
|
5200
|
-
url: '/api/v2/me/lists/{id}/imports/{importId}';
|
|
5201
|
-
};
|
|
5202
|
-
export type GetImportErrors = {
|
|
5203
|
-
/**
|
|
5204
|
-
* Malformed request, or a cursor from another request.
|
|
5205
|
-
*/
|
|
5206
|
-
400: Problem;
|
|
5207
|
-
/**
|
|
5208
|
-
* No valid API key or session.
|
|
5209
|
-
*/
|
|
5210
|
-
401: Problem;
|
|
5211
|
-
/**
|
|
5212
|
-
* Not enough credits for this call.
|
|
5213
|
-
*/
|
|
5214
|
-
402: Problem;
|
|
5215
|
-
/**
|
|
5216
|
-
* This operation needs a dashboard session.
|
|
5217
|
-
*/
|
|
5218
|
-
403: Problem;
|
|
5219
|
-
/**
|
|
5220
|
-
* Not found, or it belongs to another workspace.
|
|
5221
|
-
*/
|
|
5222
|
-
404: Problem;
|
|
5223
|
-
/**
|
|
5224
|
-
* Conflict with the current state; `code` says which.
|
|
5225
|
-
*/
|
|
5226
|
-
409: Problem;
|
|
5227
|
-
/**
|
|
5228
|
-
* Erased or expired.
|
|
5229
|
-
*/
|
|
5230
|
-
410: Problem;
|
|
5231
|
-
/**
|
|
5232
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5233
|
-
*/
|
|
5234
|
-
422: Problem;
|
|
5235
|
-
/**
|
|
5236
|
-
* Too many requests; retry after `Retry-After`.
|
|
5237
|
-
*/
|
|
5238
|
-
429: Problem;
|
|
5239
|
-
/**
|
|
5240
|
-
* Internal error; quote `requestId` to support.
|
|
5241
|
-
*/
|
|
5242
|
-
500: Problem;
|
|
5243
|
-
};
|
|
5244
|
-
export type GetImportError = GetImportErrors[keyof GetImportErrors];
|
|
5245
|
-
export type GetImportResponses = {
|
|
5246
|
-
/**
|
|
5247
|
-
* OK
|
|
5248
|
-
*/
|
|
5249
|
-
200: ImportDto;
|
|
5250
|
-
};
|
|
5251
|
-
export type GetImportResponse = GetImportResponses[keyof GetImportResponses];
|
|
5252
|
-
export type UpdateImportData = {
|
|
5253
|
-
body: UpdateImportDto;
|
|
5254
|
-
headers?: {
|
|
5255
|
-
/**
|
|
5256
|
-
* Optional replay key, retained for 24 hours.
|
|
5257
|
-
*/
|
|
5258
|
-
'Idempotency-Key'?: string;
|
|
5259
|
-
};
|
|
5260
|
-
path: {
|
|
5261
|
-
/**
|
|
5262
|
-
* Workspace resource ID.
|
|
5263
|
-
*/
|
|
5264
|
-
id: string;
|
|
5265
|
-
/**
|
|
5266
|
-
* Import ID, as returned when the import was created.
|
|
5267
|
-
*/
|
|
5268
|
-
importId: string;
|
|
5269
|
-
};
|
|
5270
|
-
query?: never;
|
|
5271
|
-
url: '/api/v2/me/lists/{id}/imports/{importId}';
|
|
5272
|
-
};
|
|
5273
|
-
export type UpdateImportErrors = {
|
|
5274
|
-
/**
|
|
5275
|
-
* Malformed request, or a cursor from another request.
|
|
5276
|
-
*/
|
|
5277
|
-
400: Problem;
|
|
5278
|
-
/**
|
|
5279
|
-
* No valid API key or session.
|
|
5280
|
-
*/
|
|
5281
|
-
401: Problem;
|
|
5282
|
-
/**
|
|
5283
|
-
* Not enough credits for this call.
|
|
5284
|
-
*/
|
|
5285
|
-
402: Problem;
|
|
5286
|
-
/**
|
|
5287
|
-
* This operation needs a dashboard session.
|
|
5288
|
-
*/
|
|
5289
|
-
403: Problem;
|
|
5290
|
-
/**
|
|
5291
|
-
* Not found, or it belongs to another workspace.
|
|
5292
|
-
*/
|
|
5293
|
-
404: Problem;
|
|
5294
|
-
/**
|
|
5295
|
-
* Conflict with the current state; `code` says which.
|
|
5296
|
-
*/
|
|
5297
|
-
409: Problem;
|
|
5298
|
-
/**
|
|
5299
|
-
* Erased or expired.
|
|
5300
|
-
*/
|
|
5301
|
-
410: Problem;
|
|
5302
|
-
/**
|
|
5303
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5304
|
-
*/
|
|
5305
|
-
422: Problem;
|
|
5306
|
-
/**
|
|
5307
|
-
* Too many requests; retry after `Retry-After`.
|
|
5308
|
-
*/
|
|
5309
|
-
429: Problem;
|
|
5310
|
-
/**
|
|
5311
|
-
* Internal error; quote `requestId` to support.
|
|
5312
|
-
*/
|
|
5313
|
-
500: Problem;
|
|
5314
|
-
};
|
|
5315
|
-
export type UpdateImportError = UpdateImportErrors[keyof UpdateImportErrors];
|
|
5316
|
-
export type UpdateImportResponses = {
|
|
5317
|
-
/**
|
|
5318
|
-
* OK
|
|
5319
|
-
*/
|
|
5320
|
-
200: ImportDto;
|
|
5321
|
-
};
|
|
5322
|
-
export type UpdateImportResponse = UpdateImportResponses[keyof UpdateImportResponses];
|
|
5323
|
-
export type ConfirmImportData = {
|
|
5324
|
-
body?: never;
|
|
5325
|
-
headers?: {
|
|
5326
|
-
/**
|
|
5327
|
-
* Optional replay key, retained for 24 hours.
|
|
5328
|
-
*/
|
|
5329
|
-
'Idempotency-Key'?: string;
|
|
5330
|
-
};
|
|
5331
|
-
path: {
|
|
5332
|
-
/**
|
|
5333
|
-
* Workspace resource ID.
|
|
5334
|
-
*/
|
|
5335
|
-
id: string;
|
|
5336
|
-
/**
|
|
5337
|
-
* Import ID, as returned when the import was created.
|
|
5338
|
-
*/
|
|
5339
|
-
importId: string;
|
|
5340
|
-
};
|
|
5341
|
-
query?: never;
|
|
5342
|
-
url: '/api/v2/me/lists/{id}/imports/{importId}/confirm';
|
|
5343
|
-
};
|
|
5344
|
-
export type ConfirmImportErrors = {
|
|
5345
|
-
/**
|
|
5346
|
-
* Malformed request, or a cursor from another request.
|
|
5347
|
-
*/
|
|
5348
|
-
400: Problem;
|
|
5349
|
-
/**
|
|
5350
|
-
* No valid API key or session.
|
|
5351
|
-
*/
|
|
5352
|
-
401: Problem;
|
|
5353
|
-
/**
|
|
5354
|
-
* Not enough credits for this call.
|
|
5355
|
-
*/
|
|
5356
|
-
402: Problem;
|
|
5357
|
-
/**
|
|
5358
|
-
* This operation needs a dashboard session.
|
|
5359
|
-
*/
|
|
5360
|
-
403: Problem;
|
|
5361
|
-
/**
|
|
5362
|
-
* Not found, or it belongs to another workspace.
|
|
5363
|
-
*/
|
|
5364
|
-
404: Problem;
|
|
5365
|
-
/**
|
|
5366
|
-
* Conflict with the current state; `code` says which.
|
|
5367
|
-
*/
|
|
5368
|
-
409: Problem;
|
|
5369
|
-
/**
|
|
5370
|
-
* Erased or expired.
|
|
5371
|
-
*/
|
|
5372
|
-
410: Problem;
|
|
5373
|
-
/**
|
|
5374
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5375
|
-
*/
|
|
5376
|
-
422: Problem;
|
|
5377
|
-
/**
|
|
5378
|
-
* Too many requests; retry after `Retry-After`.
|
|
5379
|
-
*/
|
|
5380
|
-
429: Problem;
|
|
5381
|
-
/**
|
|
5382
|
-
* Internal error; quote `requestId` to support.
|
|
5383
|
-
*/
|
|
5384
|
-
500: Problem;
|
|
5385
|
-
};
|
|
5386
|
-
export type ConfirmImportError = ConfirmImportErrors[keyof ConfirmImportErrors];
|
|
5387
|
-
export type ConfirmImportResponses = {
|
|
5388
|
-
/**
|
|
5389
|
-
* OK
|
|
5390
|
-
*/
|
|
5391
|
-
200: ConfirmImportDto;
|
|
5392
|
-
/**
|
|
5393
|
-
* Accepted
|
|
5394
|
-
*/
|
|
5395
|
-
202: ConfirmImportDto;
|
|
5396
|
-
};
|
|
5397
|
-
export type ConfirmImportResponse = ConfirmImportResponses[keyof ConfirmImportResponses];
|
|
5398
|
-
export type GetJobData = {
|
|
5399
|
-
body?: never;
|
|
5400
|
-
headers?: {
|
|
5401
|
-
/**
|
|
5402
|
-
* Optional replay key, retained for 24 hours.
|
|
5403
|
-
*/
|
|
5404
|
-
'Idempotency-Key'?: string;
|
|
5405
|
-
};
|
|
5406
|
-
path: {
|
|
5407
|
-
/**
|
|
5408
|
-
* Workspace resource ID.
|
|
5409
|
-
*/
|
|
5410
|
-
id: string;
|
|
5411
|
-
};
|
|
5412
|
-
query?: never;
|
|
5413
|
-
url: '/api/v2/me/jobs/{id}';
|
|
5414
|
-
};
|
|
5415
|
-
export type GetJobErrors = {
|
|
5416
|
-
/**
|
|
5417
|
-
* Malformed request, or a cursor from another request.
|
|
5418
|
-
*/
|
|
5419
|
-
400: Problem;
|
|
5420
|
-
/**
|
|
5421
|
-
* No valid API key or session.
|
|
5422
|
-
*/
|
|
5423
|
-
401: Problem;
|
|
5424
|
-
/**
|
|
5425
|
-
* Not enough credits for this call.
|
|
5426
|
-
*/
|
|
5427
|
-
402: Problem;
|
|
5428
|
-
/**
|
|
5429
|
-
* This operation needs a dashboard session.
|
|
5430
|
-
*/
|
|
5431
|
-
403: Problem;
|
|
5432
|
-
/**
|
|
5433
|
-
* Not found, or it belongs to another workspace.
|
|
5434
|
-
*/
|
|
5435
|
-
404: Problem;
|
|
5436
|
-
/**
|
|
5437
|
-
* Conflict with the current state; `code` says which.
|
|
5438
|
-
*/
|
|
5439
|
-
409: Problem;
|
|
5440
|
-
/**
|
|
5441
|
-
* Erased or expired.
|
|
5442
|
-
*/
|
|
5443
|
-
410: Problem;
|
|
5444
|
-
/**
|
|
5445
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5446
|
-
*/
|
|
5447
|
-
422: Problem;
|
|
5448
|
-
/**
|
|
5449
|
-
* Too many requests; retry after `Retry-After`.
|
|
5450
|
-
*/
|
|
5451
|
-
429: Problem;
|
|
5452
|
-
/**
|
|
5453
|
-
* Internal error; quote `requestId` to support.
|
|
5454
|
-
*/
|
|
5455
|
-
500: Problem;
|
|
5456
|
-
};
|
|
5457
|
-
export type GetJobError = GetJobErrors[keyof GetJobErrors];
|
|
5458
|
-
export type GetJobResponses = {
|
|
5459
|
-
/**
|
|
5460
|
-
* OK
|
|
5461
|
-
*/
|
|
5462
|
-
200: ListWriteJobDto;
|
|
5463
|
-
};
|
|
5464
|
-
export type GetJobResponse = GetJobResponses[keyof GetJobResponses];
|
|
5465
|
-
export type PreviewNewListRuleData = {
|
|
5466
|
-
body: CreateRuleDto;
|
|
5467
|
-
headers?: {
|
|
5468
|
-
/**
|
|
5469
|
-
* Optional replay key, retained for 24 hours.
|
|
5470
|
-
*/
|
|
5471
|
-
'Idempotency-Key'?: string;
|
|
5472
|
-
};
|
|
5473
|
-
path?: never;
|
|
5474
|
-
query?: never;
|
|
5475
|
-
url: '/api/v2/me/lists/rules/preview';
|
|
5476
|
-
};
|
|
5477
|
-
export type PreviewNewListRuleErrors = {
|
|
5478
|
-
/**
|
|
5479
|
-
* Malformed request, or a cursor from another request.
|
|
5480
|
-
*/
|
|
5481
|
-
400: Problem;
|
|
5482
|
-
/**
|
|
5483
|
-
* No valid API key or session.
|
|
5484
|
-
*/
|
|
5485
|
-
401: Problem;
|
|
5486
|
-
/**
|
|
5487
|
-
* Not enough credits for this call.
|
|
5488
|
-
*/
|
|
5489
|
-
402: Problem;
|
|
5490
|
-
/**
|
|
5491
|
-
* This operation needs a dashboard session.
|
|
5492
|
-
*/
|
|
5493
|
-
403: Problem;
|
|
5494
|
-
/**
|
|
5495
|
-
* Not found, or it belongs to another workspace.
|
|
5496
|
-
*/
|
|
5497
|
-
404: Problem;
|
|
5498
|
-
/**
|
|
5499
|
-
* Conflict with the current state; `code` says which.
|
|
5500
|
-
*/
|
|
5501
|
-
409: Problem;
|
|
5502
|
-
/**
|
|
5503
|
-
* Erased or expired.
|
|
5504
|
-
*/
|
|
5505
|
-
410: Problem;
|
|
5506
|
-
/**
|
|
5507
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5508
|
-
*/
|
|
5509
|
-
422: Problem;
|
|
5510
|
-
/**
|
|
5511
|
-
* Too many requests; retry after `Retry-After`.
|
|
5512
|
-
*/
|
|
5513
|
-
429: Problem;
|
|
5514
|
-
/**
|
|
5515
|
-
* Internal error; quote `requestId` to support.
|
|
5516
|
-
*/
|
|
5517
|
-
500: Problem;
|
|
5518
|
-
};
|
|
5519
|
-
export type PreviewNewListRuleError = PreviewNewListRuleErrors[keyof PreviewNewListRuleErrors];
|
|
5520
|
-
export type PreviewNewListRuleResponses = {
|
|
5521
|
-
/**
|
|
5522
|
-
* OK
|
|
5523
|
-
*/
|
|
5524
|
-
200: RuleQuoteDto;
|
|
5525
|
-
};
|
|
5526
|
-
export type PreviewNewListRuleResponse = PreviewNewListRuleResponses[keyof PreviewNewListRuleResponses];
|
|
5527
|
-
export type PreviewRuleData = {
|
|
5528
|
-
body: CreateRuleDto;
|
|
5529
|
-
headers?: {
|
|
5530
|
-
/**
|
|
5531
|
-
* Optional replay key, retained for 24 hours.
|
|
5532
|
-
*/
|
|
5533
|
-
'Idempotency-Key'?: string;
|
|
5534
|
-
};
|
|
5535
|
-
path: {
|
|
5536
|
-
/**
|
|
5537
|
-
* 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.
|
|
5538
|
-
*/
|
|
5539
|
-
id: string;
|
|
5540
|
-
};
|
|
5541
|
-
query?: never;
|
|
5542
|
-
url: '/api/v2/me/lists/{id}/rules/preview';
|
|
5543
|
-
};
|
|
5544
|
-
export type PreviewRuleErrors = {
|
|
5545
|
-
/**
|
|
5546
|
-
* Malformed request, or a cursor from another request.
|
|
5547
|
-
*/
|
|
5548
|
-
400: Problem;
|
|
5549
|
-
/**
|
|
5550
|
-
* No valid API key or session.
|
|
5551
|
-
*/
|
|
5552
|
-
401: Problem;
|
|
5553
|
-
/**
|
|
5554
|
-
* Not enough credits for this call.
|
|
5555
|
-
*/
|
|
5556
|
-
402: Problem;
|
|
5557
|
-
/**
|
|
5558
|
-
* This operation needs a dashboard session.
|
|
5559
|
-
*/
|
|
5560
|
-
403: Problem;
|
|
5561
|
-
/**
|
|
5562
|
-
* Not found, or it belongs to another workspace.
|
|
5563
|
-
*/
|
|
5564
|
-
404: Problem;
|
|
5565
|
-
/**
|
|
5566
|
-
* Conflict with the current state; `code` says which.
|
|
5567
|
-
*/
|
|
5568
|
-
409: Problem;
|
|
5569
|
-
/**
|
|
5570
|
-
* Erased or expired.
|
|
5571
|
-
*/
|
|
5572
|
-
410: Problem;
|
|
5573
|
-
/**
|
|
5574
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5575
|
-
*/
|
|
5576
|
-
422: Problem;
|
|
5577
|
-
/**
|
|
5578
|
-
* Too many requests; retry after `Retry-After`.
|
|
5579
|
-
*/
|
|
5580
|
-
429: Problem;
|
|
5581
|
-
/**
|
|
5582
|
-
* Internal error; quote `requestId` to support.
|
|
5583
|
-
*/
|
|
5584
|
-
500: Problem;
|
|
5585
|
-
};
|
|
5586
|
-
export type PreviewRuleError = PreviewRuleErrors[keyof PreviewRuleErrors];
|
|
5587
|
-
export type PreviewRuleResponses = {
|
|
5588
|
-
/**
|
|
5589
|
-
* OK
|
|
5590
|
-
*/
|
|
5591
|
-
200: RuleQuoteDto;
|
|
5592
|
-
};
|
|
5593
|
-
export type PreviewRuleResponse = PreviewRuleResponses[keyof PreviewRuleResponses];
|
|
5594
|
-
export type ListRulesData = {
|
|
5595
|
-
body?: never;
|
|
5596
|
-
headers?: {
|
|
5597
|
-
/**
|
|
5598
|
-
* Optional replay key, retained for 24 hours.
|
|
5599
|
-
*/
|
|
5600
|
-
'Idempotency-Key'?: string;
|
|
5601
|
-
};
|
|
5602
|
-
path: {
|
|
5603
|
-
/**
|
|
5604
|
-
* Workspace resource ID.
|
|
5605
|
-
*/
|
|
5606
|
-
id: string;
|
|
5607
|
-
};
|
|
5608
|
-
query?: {
|
|
5609
|
-
/**
|
|
5610
|
-
* Page size, default 25, maximum 100. Zero returns the count.
|
|
5611
|
-
*/
|
|
5612
|
-
limit?: number;
|
|
5613
|
-
/**
|
|
5614
|
-
* Opaque cursor from the previous page; expires after 24 hours.
|
|
5615
|
-
*/
|
|
5616
|
-
cursor?: string;
|
|
5102
|
+
'Idempotency-Key'?: string;
|
|
5103
|
+
};
|
|
5104
|
+
path: {
|
|
5617
5105
|
/**
|
|
5618
|
-
*
|
|
5106
|
+
* Workspace resource ID.
|
|
5619
5107
|
*/
|
|
5620
|
-
|
|
5108
|
+
id: string;
|
|
5621
5109
|
};
|
|
5622
|
-
|
|
5110
|
+
query?: never;
|
|
5111
|
+
url: '/api/v2/me/lists/{id}/imports';
|
|
5623
5112
|
};
|
|
5624
|
-
export type
|
|
5113
|
+
export type CreateImportErrors = {
|
|
5625
5114
|
/**
|
|
5626
5115
|
* Malformed request, or a cursor from another request.
|
|
5627
5116
|
*/
|
|
@@ -5663,16 +5152,16 @@ export type ListRulesErrors = {
|
|
|
5663
5152
|
*/
|
|
5664
5153
|
500: Problem;
|
|
5665
5154
|
};
|
|
5666
|
-
export type
|
|
5667
|
-
export type
|
|
5155
|
+
export type CreateImportError = CreateImportErrors[keyof CreateImportErrors];
|
|
5156
|
+
export type CreateImportResponses = {
|
|
5668
5157
|
/**
|
|
5669
|
-
*
|
|
5158
|
+
* Created
|
|
5670
5159
|
*/
|
|
5671
|
-
|
|
5160
|
+
201: ImportDto;
|
|
5672
5161
|
};
|
|
5673
|
-
export type
|
|
5674
|
-
export type
|
|
5675
|
-
body
|
|
5162
|
+
export type CreateImportResponse = CreateImportResponses[keyof CreateImportResponses];
|
|
5163
|
+
export type GetImportData = {
|
|
5164
|
+
body?: never;
|
|
5676
5165
|
headers?: {
|
|
5677
5166
|
/**
|
|
5678
5167
|
* Optional replay key, retained for 24 hours.
|
|
@@ -5681,14 +5170,31 @@ export type CreateRuleData = {
|
|
|
5681
5170
|
};
|
|
5682
5171
|
path: {
|
|
5683
5172
|
/**
|
|
5684
|
-
*
|
|
5173
|
+
* Workspace resource ID.
|
|
5685
5174
|
*/
|
|
5686
5175
|
id: string;
|
|
5176
|
+
/**
|
|
5177
|
+
* Import ID, as returned when the import was created.
|
|
5178
|
+
*/
|
|
5179
|
+
importId: string;
|
|
5687
5180
|
};
|
|
5688
|
-
query?:
|
|
5689
|
-
|
|
5181
|
+
query?: {
|
|
5182
|
+
/**
|
|
5183
|
+
* Page size, default 25, maximum 100. Zero returns the count.
|
|
5184
|
+
*/
|
|
5185
|
+
limit?: number;
|
|
5186
|
+
/**
|
|
5187
|
+
* Opaque cursor from the previous page; expires after 24 hours.
|
|
5188
|
+
*/
|
|
5189
|
+
cursor?: string;
|
|
5190
|
+
/**
|
|
5191
|
+
* Only rows with this match status: matched, ambiguous or unmatched.
|
|
5192
|
+
*/
|
|
5193
|
+
status?: string;
|
|
5194
|
+
};
|
|
5195
|
+
url: '/api/v2/me/lists/{id}/imports/{importId}';
|
|
5690
5196
|
};
|
|
5691
|
-
export type
|
|
5197
|
+
export type GetImportErrors = {
|
|
5692
5198
|
/**
|
|
5693
5199
|
* Malformed request, or a cursor from another request.
|
|
5694
5200
|
*/
|
|
@@ -5730,16 +5236,16 @@ export type CreateRuleErrors = {
|
|
|
5730
5236
|
*/
|
|
5731
5237
|
500: Problem;
|
|
5732
5238
|
};
|
|
5733
|
-
export type
|
|
5734
|
-
export type
|
|
5239
|
+
export type GetImportError = GetImportErrors[keyof GetImportErrors];
|
|
5240
|
+
export type GetImportResponses = {
|
|
5735
5241
|
/**
|
|
5736
|
-
*
|
|
5242
|
+
* OK
|
|
5737
5243
|
*/
|
|
5738
|
-
|
|
5244
|
+
200: ImportDto;
|
|
5739
5245
|
};
|
|
5740
|
-
export type
|
|
5741
|
-
export type
|
|
5742
|
-
body
|
|
5246
|
+
export type GetImportResponse = GetImportResponses[keyof GetImportResponses];
|
|
5247
|
+
export type UpdateImportData = {
|
|
5248
|
+
body: UpdateImportDto;
|
|
5743
5249
|
headers?: {
|
|
5744
5250
|
/**
|
|
5745
5251
|
* Optional replay key, retained for 24 hours.
|
|
@@ -5752,19 +5258,14 @@ export type DeleteRuleData = {
|
|
|
5752
5258
|
*/
|
|
5753
5259
|
id: string;
|
|
5754
5260
|
/**
|
|
5755
|
-
*
|
|
5756
|
-
*/
|
|
5757
|
-
ruleId: string;
|
|
5758
|
-
};
|
|
5759
|
-
query?: {
|
|
5760
|
-
/**
|
|
5761
|
-
* Last reviewed rule revision; a changed rule returns 409 and is not deleted.
|
|
5261
|
+
* Import ID, as returned when the import was created.
|
|
5762
5262
|
*/
|
|
5763
|
-
|
|
5263
|
+
importId: string;
|
|
5764
5264
|
};
|
|
5765
|
-
|
|
5265
|
+
query?: never;
|
|
5266
|
+
url: '/api/v2/me/lists/{id}/imports/{importId}';
|
|
5766
5267
|
};
|
|
5767
|
-
export type
|
|
5268
|
+
export type UpdateImportErrors = {
|
|
5768
5269
|
/**
|
|
5769
5270
|
* Malformed request, or a cursor from another request.
|
|
5770
5271
|
*/
|
|
@@ -5806,15 +5307,16 @@ export type DeleteRuleErrors = {
|
|
|
5806
5307
|
*/
|
|
5807
5308
|
500: Problem;
|
|
5808
5309
|
};
|
|
5809
|
-
export type
|
|
5810
|
-
export type
|
|
5310
|
+
export type UpdateImportError = UpdateImportErrors[keyof UpdateImportErrors];
|
|
5311
|
+
export type UpdateImportResponses = {
|
|
5811
5312
|
/**
|
|
5812
|
-
*
|
|
5313
|
+
* OK
|
|
5813
5314
|
*/
|
|
5814
|
-
|
|
5315
|
+
200: ImportDto;
|
|
5815
5316
|
};
|
|
5816
|
-
export type
|
|
5817
|
-
|
|
5317
|
+
export type UpdateImportResponse = UpdateImportResponses[keyof UpdateImportResponses];
|
|
5318
|
+
export type ConfirmImportData = {
|
|
5319
|
+
body?: never;
|
|
5818
5320
|
headers?: {
|
|
5819
5321
|
/**
|
|
5820
5322
|
* Optional replay key, retained for 24 hours.
|
|
@@ -5827,14 +5329,14 @@ export type UpdateRuleData = {
|
|
|
5827
5329
|
*/
|
|
5828
5330
|
id: string;
|
|
5829
5331
|
/**
|
|
5830
|
-
*
|
|
5332
|
+
* Import ID, as returned when the import was created.
|
|
5831
5333
|
*/
|
|
5832
|
-
|
|
5334
|
+
importId: string;
|
|
5833
5335
|
};
|
|
5834
5336
|
query?: never;
|
|
5835
|
-
url: '/api/v2/me/lists/{id}/
|
|
5337
|
+
url: '/api/v2/me/lists/{id}/imports/{importId}/confirm';
|
|
5836
5338
|
};
|
|
5837
|
-
export type
|
|
5339
|
+
export type ConfirmImportErrors = {
|
|
5838
5340
|
/**
|
|
5839
5341
|
* Malformed request, or a cursor from another request.
|
|
5840
5342
|
*/
|
|
@@ -5876,16 +5378,20 @@ export type UpdateRuleErrors = {
|
|
|
5876
5378
|
*/
|
|
5877
5379
|
500: Problem;
|
|
5878
5380
|
};
|
|
5879
|
-
export type
|
|
5880
|
-
export type
|
|
5381
|
+
export type ConfirmImportError = ConfirmImportErrors[keyof ConfirmImportErrors];
|
|
5382
|
+
export type ConfirmImportResponses = {
|
|
5881
5383
|
/**
|
|
5882
5384
|
* OK
|
|
5883
5385
|
*/
|
|
5884
|
-
200:
|
|
5386
|
+
200: ConfirmImportDto;
|
|
5387
|
+
/**
|
|
5388
|
+
* Accepted
|
|
5389
|
+
*/
|
|
5390
|
+
202: ConfirmImportDto;
|
|
5885
5391
|
};
|
|
5886
|
-
export type
|
|
5887
|
-
export type
|
|
5888
|
-
body
|
|
5392
|
+
export type ConfirmImportResponse = ConfirmImportResponses[keyof ConfirmImportResponses];
|
|
5393
|
+
export type GetJobData = {
|
|
5394
|
+
body?: never;
|
|
5889
5395
|
headers?: {
|
|
5890
5396
|
/**
|
|
5891
5397
|
* Optional replay key, retained for 24 hours.
|
|
@@ -5897,15 +5403,11 @@ export type RunRuleData = {
|
|
|
5897
5403
|
* Workspace resource ID.
|
|
5898
5404
|
*/
|
|
5899
5405
|
id: string;
|
|
5900
|
-
/**
|
|
5901
|
-
* Stable query rule ID within this workspace list.
|
|
5902
|
-
*/
|
|
5903
|
-
ruleId: string;
|
|
5904
5406
|
};
|
|
5905
5407
|
query?: never;
|
|
5906
|
-
url: '/api/v2/me/
|
|
5408
|
+
url: '/api/v2/me/jobs/{id}';
|
|
5907
5409
|
};
|
|
5908
|
-
export type
|
|
5410
|
+
export type GetJobErrors = {
|
|
5909
5411
|
/**
|
|
5910
5412
|
* Malformed request, or a cursor from another request.
|
|
5911
5413
|
*/
|
|
@@ -5947,14 +5449,14 @@ export type RunRuleErrors = {
|
|
|
5947
5449
|
*/
|
|
5948
5450
|
500: Problem;
|
|
5949
5451
|
};
|
|
5950
|
-
export type
|
|
5951
|
-
export type
|
|
5452
|
+
export type GetJobError = GetJobErrors[keyof GetJobErrors];
|
|
5453
|
+
export type GetJobResponses = {
|
|
5952
5454
|
/**
|
|
5953
5455
|
* OK
|
|
5954
5456
|
*/
|
|
5955
|
-
200:
|
|
5457
|
+
200: ListWriteJobDto;
|
|
5956
5458
|
};
|
|
5957
|
-
export type
|
|
5459
|
+
export type GetJobResponse = GetJobResponses[keyof GetJobResponses];
|
|
5958
5460
|
export type ListListsData = {
|
|
5959
5461
|
body?: never;
|
|
5960
5462
|
headers?: {
|
|
@@ -6354,10 +5856,6 @@ export type ListEntriesData = {
|
|
|
6354
5856
|
* Opaque cursor from the previous page; expires after 24 hours.
|
|
6355
5857
|
*/
|
|
6356
5858
|
cursor?: string;
|
|
6357
|
-
/**
|
|
6358
|
-
* Only entries added in this list's run.
|
|
6359
|
-
*/
|
|
6360
|
-
runId?: string;
|
|
6361
5859
|
};
|
|
6362
5860
|
url: '/api/v2/me/lists/{id}/entries';
|
|
6363
5861
|
};
|
|
@@ -6872,90 +6370,6 @@ export type SearchEntriesResponses = {
|
|
|
6872
6370
|
200: CursorPageOfListEntryDto;
|
|
6873
6371
|
};
|
|
6874
6372
|
export type SearchEntriesResponse = SearchEntriesResponses[keyof SearchEntriesResponses];
|
|
6875
|
-
export type ListRunsData = {
|
|
6876
|
-
body?: never;
|
|
6877
|
-
headers?: {
|
|
6878
|
-
/**
|
|
6879
|
-
* Optional replay key, retained for 24 hours.
|
|
6880
|
-
*/
|
|
6881
|
-
'Idempotency-Key'?: string;
|
|
6882
|
-
};
|
|
6883
|
-
path: {
|
|
6884
|
-
/**
|
|
6885
|
-
* Workspace resource ID.
|
|
6886
|
-
*/
|
|
6887
|
-
id: string;
|
|
6888
|
-
};
|
|
6889
|
-
query?: {
|
|
6890
|
-
/**
|
|
6891
|
-
* Page size, default 25, maximum 100. Zero returns the count.
|
|
6892
|
-
*/
|
|
6893
|
-
limit?: number;
|
|
6894
|
-
/**
|
|
6895
|
-
* Opaque cursor from the previous page; expires after 24 hours.
|
|
6896
|
-
*/
|
|
6897
|
-
cursor?: string;
|
|
6898
|
-
/**
|
|
6899
|
-
* Filter by scheduled, manual, created or entriesChanged.
|
|
6900
|
-
*/
|
|
6901
|
-
trigger?: string;
|
|
6902
|
-
/**
|
|
6903
|
-
* Filter by running, succeeded, failed or skipped.
|
|
6904
|
-
*/
|
|
6905
|
-
status?: string;
|
|
6906
|
-
};
|
|
6907
|
-
url: '/api/v2/me/lists/{id}/runs';
|
|
6908
|
-
};
|
|
6909
|
-
export type ListRunsErrors = {
|
|
6910
|
-
/**
|
|
6911
|
-
* Malformed request, or a cursor from another request.
|
|
6912
|
-
*/
|
|
6913
|
-
400: Problem;
|
|
6914
|
-
/**
|
|
6915
|
-
* No valid API key or session.
|
|
6916
|
-
*/
|
|
6917
|
-
401: Problem;
|
|
6918
|
-
/**
|
|
6919
|
-
* Not enough credits for this call.
|
|
6920
|
-
*/
|
|
6921
|
-
402: Problem;
|
|
6922
|
-
/**
|
|
6923
|
-
* This operation needs a dashboard session.
|
|
6924
|
-
*/
|
|
6925
|
-
403: Problem;
|
|
6926
|
-
/**
|
|
6927
|
-
* Not found, or it belongs to another workspace.
|
|
6928
|
-
*/
|
|
6929
|
-
404: Problem;
|
|
6930
|
-
/**
|
|
6931
|
-
* Conflict with the current state; `code` says which.
|
|
6932
|
-
*/
|
|
6933
|
-
409: Problem;
|
|
6934
|
-
/**
|
|
6935
|
-
* Erased or expired.
|
|
6936
|
-
*/
|
|
6937
|
-
410: Problem;
|
|
6938
|
-
/**
|
|
6939
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
6940
|
-
*/
|
|
6941
|
-
422: Problem;
|
|
6942
|
-
/**
|
|
6943
|
-
* Too many requests; retry after `Retry-After`.
|
|
6944
|
-
*/
|
|
6945
|
-
429: Problem;
|
|
6946
|
-
/**
|
|
6947
|
-
* Internal error; quote `requestId` to support.
|
|
6948
|
-
*/
|
|
6949
|
-
500: Problem;
|
|
6950
|
-
};
|
|
6951
|
-
export type ListRunsError = ListRunsErrors[keyof ListRunsErrors];
|
|
6952
|
-
export type ListRunsResponses = {
|
|
6953
|
-
/**
|
|
6954
|
-
* OK
|
|
6955
|
-
*/
|
|
6956
|
-
200: CursorPageOfListRunDto;
|
|
6957
|
-
};
|
|
6958
|
-
export type ListRunsResponse = ListRunsResponses[keyof ListRunsResponses];
|
|
6959
6373
|
export type ListListEventsData = {
|
|
6960
6374
|
body?: never;
|
|
6961
6375
|
headers?: {
|
|
@@ -6976,17 +6390,13 @@ export type ListListEventsData = {
|
|
|
6976
6390
|
*/
|
|
6977
6391
|
after?: number;
|
|
6978
6392
|
/**
|
|
6979
|
-
* Comma-separated entry.added, entry.removed
|
|
6393
|
+
* Comma-separated entry.added, entry.removed or entry.flagged.
|
|
6980
6394
|
*/
|
|
6981
6395
|
type?: string;
|
|
6982
6396
|
/**
|
|
6983
6397
|
* Page size, 1 to 100; default 25.
|
|
6984
6398
|
*/
|
|
6985
6399
|
limit?: number;
|
|
6986
|
-
/**
|
|
6987
|
-
* Only entries added in this list's run.
|
|
6988
|
-
*/
|
|
6989
|
-
runId?: string;
|
|
6990
6400
|
};
|
|
6991
6401
|
url: '/api/v2/me/lists/{id}/events';
|
|
6992
6402
|
};
|
|
@@ -8697,24 +8107,13 @@ export type GetPublicSourceResponses = {
|
|
|
8697
8107
|
200: PublicSource;
|
|
8698
8108
|
};
|
|
8699
8109
|
export type GetPublicSourceResponse = GetPublicSourceResponses[keyof GetPublicSourceResponses];
|
|
8700
|
-
export type
|
|
8701
|
-
body
|
|
8702
|
-
|
|
8703
|
-
/**
|
|
8704
|
-
* Optional replay key, retained for 24 hours.
|
|
8705
|
-
*/
|
|
8706
|
-
'Idempotency-Key'?: string;
|
|
8707
|
-
};
|
|
8708
|
-
path: {
|
|
8709
|
-
/**
|
|
8710
|
-
* Workspace resource ID.
|
|
8711
|
-
*/
|
|
8712
|
-
id: string;
|
|
8713
|
-
};
|
|
8110
|
+
export type GetLetterSetupData = {
|
|
8111
|
+
body?: never;
|
|
8112
|
+
path?: never;
|
|
8714
8113
|
query?: never;
|
|
8715
|
-
url: '/api/v2/me/
|
|
8114
|
+
url: '/api/v2/me/letters/setup';
|
|
8716
8115
|
};
|
|
8717
|
-
export type
|
|
8116
|
+
export type GetLetterSetupErrors = {
|
|
8718
8117
|
/**
|
|
8719
8118
|
* Malformed request, or a cursor from another request.
|
|
8720
8119
|
*/
|
|
@@ -8723,10 +8122,6 @@ export type SetNotificationRulesErrors = {
|
|
|
8723
8122
|
* No valid API key or session.
|
|
8724
8123
|
*/
|
|
8725
8124
|
401: Problem;
|
|
8726
|
-
/**
|
|
8727
|
-
* Not enough credits for this call.
|
|
8728
|
-
*/
|
|
8729
|
-
402: Problem;
|
|
8730
8125
|
/**
|
|
8731
8126
|
* This operation needs a dashboard session.
|
|
8732
8127
|
*/
|
|
@@ -8739,10 +8134,6 @@ export type SetNotificationRulesErrors = {
|
|
|
8739
8134
|
* Conflict with the current state; `code` says which.
|
|
8740
8135
|
*/
|
|
8741
8136
|
409: Problem;
|
|
8742
|
-
/**
|
|
8743
|
-
* Erased or expired.
|
|
8744
|
-
*/
|
|
8745
|
-
410: Problem;
|
|
8746
8137
|
/**
|
|
8747
8138
|
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
8748
8139
|
*/
|
|
@@ -8756,21 +8147,21 @@ export type SetNotificationRulesErrors = {
|
|
|
8756
8147
|
*/
|
|
8757
8148
|
500: Problem;
|
|
8758
8149
|
};
|
|
8759
|
-
export type
|
|
8760
|
-
export type
|
|
8150
|
+
export type GetLetterSetupError = GetLetterSetupErrors[keyof GetLetterSetupErrors];
|
|
8151
|
+
export type GetLetterSetupResponses = {
|
|
8761
8152
|
/**
|
|
8762
8153
|
* OK
|
|
8763
8154
|
*/
|
|
8764
|
-
200:
|
|
8155
|
+
200: LetterSetupDto;
|
|
8765
8156
|
};
|
|
8766
|
-
export type
|
|
8767
|
-
export type
|
|
8768
|
-
body
|
|
8157
|
+
export type GetLetterSetupResponse = GetLetterSetupResponses[keyof GetLetterSetupResponses];
|
|
8158
|
+
export type UpdateLetterSetupData = {
|
|
8159
|
+
body: UpdateLetterSetupRequest;
|
|
8769
8160
|
path?: never;
|
|
8770
8161
|
query?: never;
|
|
8771
8162
|
url: '/api/v2/me/letters/setup';
|
|
8772
8163
|
};
|
|
8773
|
-
export type
|
|
8164
|
+
export type UpdateLetterSetupErrors = {
|
|
8774
8165
|
/**
|
|
8775
8166
|
* Malformed request, or a cursor from another request.
|
|
8776
8167
|
*/
|
|
@@ -8804,14 +8195,14 @@ export type GetLetterSetupErrors = {
|
|
|
8804
8195
|
*/
|
|
8805
8196
|
500: Problem;
|
|
8806
8197
|
};
|
|
8807
|
-
export type
|
|
8808
|
-
export type
|
|
8198
|
+
export type UpdateLetterSetupError = UpdateLetterSetupErrors[keyof UpdateLetterSetupErrors];
|
|
8199
|
+
export type UpdateLetterSetupResponses = {
|
|
8809
8200
|
/**
|
|
8810
8201
|
* OK
|
|
8811
8202
|
*/
|
|
8812
8203
|
200: LetterSetupDto;
|
|
8813
8204
|
};
|
|
8814
|
-
export type
|
|
8205
|
+
export type UpdateLetterSetupResponse = UpdateLetterSetupResponses[keyof UpdateLetterSetupResponses];
|
|
8815
8206
|
export type ListLettersData = {
|
|
8816
8207
|
body?: never;
|
|
8817
8208
|
path?: never;
|
|
@@ -9386,6 +8777,63 @@ export type CreateLetterSendingsResponses = {
|
|
|
9386
8777
|
200: LetterSendResultDto;
|
|
9387
8778
|
};
|
|
9388
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];
|
|
9389
8837
|
export type ListBillingDocumentsData = {
|
|
9390
8838
|
body?: never;
|
|
9391
8839
|
path?: never;
|
|
@@ -9992,9 +9440,9 @@ export type ListBillingExportsData = {
|
|
|
9992
9440
|
path?: never;
|
|
9993
9441
|
query?: {
|
|
9994
9442
|
/**
|
|
9995
|
-
* month (default) or
|
|
9443
|
+
* month (default), quarter or year.
|
|
9996
9444
|
*/
|
|
9997
|
-
kind?: 'month' | 'quarter';
|
|
9445
|
+
kind?: 'month' | 'quarter' | 'year';
|
|
9998
9446
|
/**
|
|
9999
9447
|
* Page size, default 12, maximum 60.
|
|
10000
9448
|
*/
|
|
@@ -10052,7 +9500,7 @@ export type GetBillingExportFileData = {
|
|
|
10052
9500
|
body?: never;
|
|
10053
9501
|
path: {
|
|
10054
9502
|
/**
|
|
10055
|
-
* 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.
|
|
10056
9504
|
*/
|
|
10057
9505
|
period: string;
|
|
10058
9506
|
};
|
|
@@ -11504,6 +10952,14 @@ export type ListBankTransactionsData = {
|
|
|
11504
10952
|
* Searches counterparty and reference.
|
|
11505
10953
|
*/
|
|
11506
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;
|
|
11507
10963
|
/**
|
|
11508
10964
|
* Page size: bookings and Konten default 50, at most 200; candidates default 10, at most 50.
|
|
11509
10965
|
*/
|