@firmenakte/api-client 2.41.0 → 2.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/v2/generated/index.d.ts +1 -1
- package/v2/generated/index.d.ts.map +1 -1
- package/v2/generated/sdk.gen.d.ts +44 -8
- package/v2/generated/sdk.gen.d.ts.map +1 -1
- package/v2/generated/sdk.gen.js +98 -14
- package/v2/generated/types.gen.d.ts +526 -33
- package/v2/generated/types.gen.d.ts.map +1 -1
|
@@ -13,6 +13,20 @@ export type AccountLiability = {
|
|
|
13
13
|
amount: number;
|
|
14
14
|
after: string;
|
|
15
15
|
};
|
|
16
|
+
export type AddBillingPartnerRequest = {
|
|
17
|
+
/**
|
|
18
|
+
* customer or supplier: the role the partner takes on. A supplier who becomes a customer is Kunde und Lieferant.
|
|
19
|
+
*/
|
|
20
|
+
role: string;
|
|
21
|
+
/**
|
|
22
|
+
* A company of the register by Firmenakte-ID or FN; leave out to create an own entry from name.
|
|
23
|
+
*/
|
|
24
|
+
companyId?: null | string;
|
|
25
|
+
/**
|
|
26
|
+
* The name of a partner outside the register (a private person, a company abroad).
|
|
27
|
+
*/
|
|
28
|
+
name?: null | string;
|
|
29
|
+
};
|
|
16
30
|
export type AddLetterAttachmentBody = {
|
|
17
31
|
fileName: string;
|
|
18
32
|
contentBase64: string;
|
|
@@ -167,6 +181,14 @@ export type ArticleDto = {
|
|
|
167
181
|
unit?: null | string;
|
|
168
182
|
priceCents: number;
|
|
169
183
|
vatRate: number;
|
|
184
|
+
/**
|
|
185
|
+
* The Artikelnummer, if it has one.
|
|
186
|
+
*/
|
|
187
|
+
number?: null | string;
|
|
188
|
+
/**
|
|
189
|
+
* Archived: kept in the list Artikel under „Archiviert“, no longer offered on invoices.
|
|
190
|
+
*/
|
|
191
|
+
archived?: boolean;
|
|
170
192
|
};
|
|
171
193
|
export type BankAccountDto = {
|
|
172
194
|
id: string;
|
|
@@ -507,6 +529,10 @@ export type BillingListsDto = {
|
|
|
507
529
|
partners: string;
|
|
508
530
|
articles: string;
|
|
509
531
|
outgoing: string;
|
|
532
|
+
/**
|
|
533
|
+
* The system list Eingang: receipts from outside.
|
|
534
|
+
*/
|
|
535
|
+
incoming?: null | string;
|
|
510
536
|
};
|
|
511
537
|
export type BillingMonthDto = {
|
|
512
538
|
/**
|
|
@@ -549,6 +575,55 @@ export type BillingNumbersDto = {
|
|
|
549
575
|
emailField?: null | string;
|
|
550
576
|
nextCustomerNumber?: null | string;
|
|
551
577
|
nextSupplierNumber?: null | string;
|
|
578
|
+
/**
|
|
579
|
+
* Field key of the Rechnungsanschrift, a text field: name, street, postal code and city, country and UID line by line.
|
|
580
|
+
*/
|
|
581
|
+
addressField?: null | string;
|
|
582
|
+
};
|
|
583
|
+
export type BillingPartnerDto = {
|
|
584
|
+
/**
|
|
585
|
+
* company, person or ownRecord.
|
|
586
|
+
*/
|
|
587
|
+
kind: string;
|
|
588
|
+
/**
|
|
589
|
+
* A company's or person's Firmenakte-ID, or an own entry's ID.
|
|
590
|
+
*/
|
|
591
|
+
id: string;
|
|
592
|
+
name: string;
|
|
593
|
+
/**
|
|
594
|
+
* Kunde, Lieferant or Kunde und Lieferant.
|
|
595
|
+
*/
|
|
596
|
+
role?: null | string;
|
|
597
|
+
/**
|
|
598
|
+
* Kundennummer, once the partner is a customer.
|
|
599
|
+
*/
|
|
600
|
+
customerNumber?: null | string;
|
|
601
|
+
/**
|
|
602
|
+
* Lieferantennummer, once the partner is a supplier.
|
|
603
|
+
*/
|
|
604
|
+
supplierNumber?: null | string;
|
|
605
|
+
/**
|
|
606
|
+
* What the partner still owes on issued invoices, in cents.
|
|
607
|
+
*/
|
|
608
|
+
receivableCents: number;
|
|
609
|
+
/**
|
|
610
|
+
* What is still owed to the partner on his receipts in the Eingang, in cents.
|
|
611
|
+
*/
|
|
612
|
+
payableCents: number;
|
|
613
|
+
/**
|
|
614
|
+
* Net revenue of the invoices issued to him this calendar year, in cents.
|
|
615
|
+
*/
|
|
616
|
+
revenueCents: number;
|
|
617
|
+
/**
|
|
618
|
+
* Net amount of his receipts in the Eingang dated this calendar year, in cents.
|
|
619
|
+
*/
|
|
620
|
+
expensesCents: number;
|
|
621
|
+
invoices: number;
|
|
622
|
+
receipts: number;
|
|
623
|
+
/**
|
|
624
|
+
* Archived: left out of Kunden, Lieferanten and the customer search of the invoice editor.
|
|
625
|
+
*/
|
|
626
|
+
archived: boolean;
|
|
552
627
|
};
|
|
553
628
|
export type BillingSenderDto = {
|
|
554
629
|
id: string;
|
|
@@ -875,6 +950,17 @@ export type ChangeSubject = {
|
|
|
875
950
|
type: string;
|
|
876
951
|
name?: null | string;
|
|
877
952
|
};
|
|
953
|
+
export type CheckInvoiceUidRequest = {
|
|
954
|
+
/**
|
|
955
|
+
* The UID, such as ATU12345678: the customer's UID of the draft invoiceId names, as last saved.
|
|
956
|
+
*/
|
|
957
|
+
uid: string;
|
|
958
|
+
customerRef?: null | InvoiceCustomerRef;
|
|
959
|
+
/**
|
|
960
|
+
* Required: the draft whose customer has this UID. Other UIDs go through checkUid.
|
|
961
|
+
*/
|
|
962
|
+
invoiceId?: null | string;
|
|
963
|
+
};
|
|
878
964
|
export type CheckUidRequest = {
|
|
879
965
|
/**
|
|
880
966
|
* Complete EU or XI VAT number including country prefix, for example ATU14490102. Spaces and letter case are normalized; leading zeros are retained.
|
|
@@ -1302,7 +1388,7 @@ export type CompanySearchRequest = {
|
|
|
1302
1388
|
*/
|
|
1303
1389
|
court?: string | Array<string>;
|
|
1304
1390
|
/**
|
|
1305
|
-
* Key-figure ranges, for example [{"figure":"revenue","min":1000000}]; each requires min, max or both.
|
|
1391
|
+
* Key-figure ranges, for example [{"figure":"revenue","min":1000000}]; each requires min, max or both. Growth in % p.a. (CAGR) over 1, 3 or 5 years: <figure>Growth<n>y for totalAssets, equity, employees, revenue, netIncome, e.g. {"figure":"revenueGrowth3y","min":20}; no value without both accounts.
|
|
1306
1392
|
*/
|
|
1307
1393
|
figures?: null | Array<FigureRange>;
|
|
1308
1394
|
};
|
|
@@ -1520,7 +1606,6 @@ export type CreateRuleDto = {
|
|
|
1520
1606
|
};
|
|
1521
1607
|
export type CreditPrices = {
|
|
1522
1608
|
listUpdate: number;
|
|
1523
|
-
digestEmail: number;
|
|
1524
1609
|
exportRows: number;
|
|
1525
1610
|
exportMinimum: number;
|
|
1526
1611
|
};
|
|
@@ -1529,6 +1614,11 @@ export type CursorPageOfAkteRefDto = {
|
|
|
1529
1614
|
nextCursor?: null | string;
|
|
1530
1615
|
total?: null | number;
|
|
1531
1616
|
};
|
|
1617
|
+
export type CursorPageOfArticleDto = {
|
|
1618
|
+
items: Array<ArticleDto>;
|
|
1619
|
+
nextCursor?: null | string;
|
|
1620
|
+
total?: null | number;
|
|
1621
|
+
};
|
|
1532
1622
|
export type CursorPageOfBankAccountDto = {
|
|
1533
1623
|
items: Array<BankAccountDto>;
|
|
1534
1624
|
nextCursor?: null | string;
|
|
@@ -1549,6 +1639,11 @@ export type CursorPageOfBillingExportDto = {
|
|
|
1549
1639
|
nextCursor?: null | string;
|
|
1550
1640
|
total?: null | number;
|
|
1551
1641
|
};
|
|
1642
|
+
export type CursorPageOfBillingPartnerDto = {
|
|
1643
|
+
items: Array<BillingPartnerDto>;
|
|
1644
|
+
nextCursor?: null | string;
|
|
1645
|
+
total?: null | number;
|
|
1646
|
+
};
|
|
1552
1647
|
export type CursorPageOfChangeEntry = {
|
|
1553
1648
|
items: Array<ChangeEntry>;
|
|
1554
1649
|
nextCursor?: null | string;
|
|
@@ -1924,6 +2019,7 @@ export type FieldDefinition = {
|
|
|
1924
2019
|
filterVia?: null | string;
|
|
1925
2020
|
searchTerms?: null | Array<string>;
|
|
1926
2021
|
searchable?: null | boolean;
|
|
2022
|
+
growth?: null | FieldGrowth;
|
|
1927
2023
|
};
|
|
1928
2024
|
export type FieldDto = {
|
|
1929
2025
|
id: string;
|
|
@@ -1950,6 +2046,10 @@ export type FieldGroup = {
|
|
|
1950
2046
|
label: string;
|
|
1951
2047
|
rank?: null | number;
|
|
1952
2048
|
};
|
|
2049
|
+
export type FieldGrowth = {
|
|
2050
|
+
of: string;
|
|
2051
|
+
years: number;
|
|
2052
|
+
};
|
|
1953
2053
|
export type FieldListDto = {
|
|
1954
2054
|
id: string;
|
|
1955
2055
|
name: string;
|
|
@@ -2210,6 +2310,7 @@ export type InvoiceCustomerDto = {
|
|
|
2210
2310
|
* The Rechnungs-E-Mail: the invoice's, else the Geschäftspartner's field.
|
|
2211
2311
|
*/
|
|
2212
2312
|
email?: null | string;
|
|
2313
|
+
uidCheck?: null | InvoiceUidDto;
|
|
2213
2314
|
};
|
|
2214
2315
|
export type InvoiceCustomerRef = {
|
|
2215
2316
|
/**
|
|
@@ -2218,6 +2319,23 @@ export type InvoiceCustomerRef = {
|
|
|
2218
2319
|
kind: string;
|
|
2219
2320
|
id: string;
|
|
2220
2321
|
};
|
|
2322
|
+
export type InvoiceDefaultsDto = {
|
|
2323
|
+
customer: InvoiceCustomer;
|
|
2324
|
+
/**
|
|
2325
|
+
* rechnungsanschrift, register, ownRecord or none.
|
|
2326
|
+
*/
|
|
2327
|
+
customerSource: string;
|
|
2328
|
+
paymentDays: number;
|
|
2329
|
+
/**
|
|
2330
|
+
* partner or sender.
|
|
2331
|
+
*/
|
|
2332
|
+
paymentDaysSource: string;
|
|
2333
|
+
iban?: null | string;
|
|
2334
|
+
/**
|
|
2335
|
+
* partner or sender.
|
|
2336
|
+
*/
|
|
2337
|
+
ibanSource: string;
|
|
2338
|
+
};
|
|
2221
2339
|
export type InvoiceDraftBody = {
|
|
2222
2340
|
/**
|
|
2223
2341
|
* Absender: one of get_billing_setup's senders (a company's Firmenakte-ID or user:<id>). Default: the only one, or the one of the workspace's latest invoice.
|
|
@@ -2250,6 +2368,21 @@ export type InvoiceDraftBody = {
|
|
|
2250
2368
|
* A line above the positions.
|
|
2251
2369
|
*/
|
|
2252
2370
|
note?: null | string;
|
|
2371
|
+
scope?: null | InvoiceDraftScope;
|
|
2372
|
+
};
|
|
2373
|
+
export type InvoiceDraftScope = {
|
|
2374
|
+
/**
|
|
2375
|
+
* partner (the default: issuing makes the customer a Geschäftspartner) or invoice (no Geschäftspartner is created or changed).
|
|
2376
|
+
*/
|
|
2377
|
+
customer?: null | string;
|
|
2378
|
+
/**
|
|
2379
|
+
* invoice (the default) or partner: issuing saves name, address and UID as the Geschäftspartner's Rechnungsanschrift.
|
|
2380
|
+
*/
|
|
2381
|
+
address?: null | string;
|
|
2382
|
+
/**
|
|
2383
|
+
* invoice (the default), partner (payment days and IBAN become the Geschäftspartner's) or all (the Absender's Rechnungsdaten).
|
|
2384
|
+
*/
|
|
2385
|
+
payment?: null | string;
|
|
2253
2386
|
};
|
|
2254
2387
|
export type InvoiceDto = {
|
|
2255
2388
|
id: string;
|
|
@@ -2314,6 +2447,8 @@ export type InvoiceDto = {
|
|
|
2314
2447
|
* Sending by e-mail: whether it can go now, to where, and the mails sent so far.
|
|
2315
2448
|
*/
|
|
2316
2449
|
email: InvoiceEmailDto;
|
|
2450
|
+
scope?: null | InvoiceDraftScope;
|
|
2451
|
+
defaults?: null | InvoiceDefaultsDto;
|
|
2317
2452
|
};
|
|
2318
2453
|
export type InvoiceEmailDto = {
|
|
2319
2454
|
/**
|
|
@@ -2366,6 +2501,10 @@ export type InvoiceLine = {
|
|
|
2366
2501
|
* The Artikel the position was copied from; the copy does not change with it.
|
|
2367
2502
|
*/
|
|
2368
2503
|
articleId?: null | string;
|
|
2504
|
+
/**
|
|
2505
|
+
* What issuing does beyond this invoice: invoice (nothing, the default), article (also change the Artikel articleId names) or newArticle (save it as a new Artikel).
|
|
2506
|
+
*/
|
|
2507
|
+
scope?: null | string;
|
|
2369
2508
|
};
|
|
2370
2509
|
export type InvoiceMailDto = {
|
|
2371
2510
|
/**
|
|
@@ -2392,6 +2531,23 @@ export type InvoiceSummaryDto = {
|
|
|
2392
2531
|
dueDate?: null | string;
|
|
2393
2532
|
originalNumber?: null | string;
|
|
2394
2533
|
};
|
|
2534
|
+
export type InvoiceUidCompanyDto = {
|
|
2535
|
+
id: string;
|
|
2536
|
+
name: string;
|
|
2537
|
+
};
|
|
2538
|
+
export type InvoiceUidDto = {
|
|
2539
|
+
uid: string;
|
|
2540
|
+
/**
|
|
2541
|
+
* valid, invalid (issuing is refused), otherCompany (valid but another company's: it stays on this invoice), unchecked, unavailable (VIES did not answer) or rateLimited.
|
|
2542
|
+
*/
|
|
2543
|
+
status: string;
|
|
2544
|
+
verifiedAt?: null | string;
|
|
2545
|
+
/**
|
|
2546
|
+
* The name VIES gives for the UID.
|
|
2547
|
+
*/
|
|
2548
|
+
name?: null | string;
|
|
2549
|
+
company?: null | InvoiceUidCompanyDto;
|
|
2550
|
+
};
|
|
2395
2551
|
export type InvoiceVatDto = {
|
|
2396
2552
|
rate: number;
|
|
2397
2553
|
netCents: number;
|
|
@@ -2682,6 +2838,7 @@ export type ListDto = {
|
|
|
2682
2838
|
hasRules?: boolean;
|
|
2683
2839
|
allSelectedPresent?: null | boolean;
|
|
2684
2840
|
run?: null | ListRunDto;
|
|
2841
|
+
system?: null | string;
|
|
2685
2842
|
};
|
|
2686
2843
|
export type ListEntryAkteDto = {
|
|
2687
2844
|
id: string;
|
|
@@ -2791,6 +2948,7 @@ export type ListSubjectProperty = {
|
|
|
2791
2948
|
path: string;
|
|
2792
2949
|
label: string;
|
|
2793
2950
|
type: string;
|
|
2951
|
+
options?: null | Array<string>;
|
|
2794
2952
|
};
|
|
2795
2953
|
export type ListWriteJobDto = {
|
|
2796
2954
|
id: string;
|
|
@@ -3051,6 +3209,7 @@ export type NumbersSettingsBody = {
|
|
|
3051
3209
|
paymentDaysField?: null | string;
|
|
3052
3210
|
ibanField?: null | string;
|
|
3053
3211
|
emailField?: null | string;
|
|
3212
|
+
addressField?: null | string;
|
|
3054
3213
|
};
|
|
3055
3214
|
export type OwnRecordDto = {
|
|
3056
3215
|
id: string;
|
|
@@ -3907,6 +4066,14 @@ export type SaveArticleRequest = {
|
|
|
3907
4066
|
* An Artikel to change; empty creates one.
|
|
3908
4067
|
*/
|
|
3909
4068
|
id?: null | string;
|
|
4069
|
+
/**
|
|
4070
|
+
* Artikelnummer, at most 30 characters.
|
|
4071
|
+
*/
|
|
4072
|
+
number?: null | string;
|
|
4073
|
+
/**
|
|
4074
|
+
* True archives the Artikel (no longer offered on invoices), false takes it back; leave out to keep it.
|
|
4075
|
+
*/
|
|
4076
|
+
archived?: null | boolean;
|
|
3910
4077
|
};
|
|
3911
4078
|
export type SearchMatch = {
|
|
3912
4079
|
field: string;
|
|
@@ -4125,6 +4292,12 @@ export type UpdateBillingDocumentBody = {
|
|
|
4125
4292
|
*/
|
|
4126
4293
|
archived?: null | boolean;
|
|
4127
4294
|
};
|
|
4295
|
+
export type UpdateBillingPartnerBody = {
|
|
4296
|
+
/**
|
|
4297
|
+
* True archives the partner, false takes him back.
|
|
4298
|
+
*/
|
|
4299
|
+
archived: boolean;
|
|
4300
|
+
};
|
|
4128
4301
|
export type UpdateBillingSettingsRequest = {
|
|
4129
4302
|
sender?: null | SenderSettingsBody;
|
|
4130
4303
|
numbers?: null | NumbersSettingsBody;
|
|
@@ -9239,6 +9412,217 @@ export type ReadBillingDocumentResponses = {
|
|
|
9239
9412
|
200: BillingDocumentDto;
|
|
9240
9413
|
};
|
|
9241
9414
|
export type ReadBillingDocumentResponse = ReadBillingDocumentResponses[keyof ReadBillingDocumentResponses];
|
|
9415
|
+
export type ListBillingPartnersData = {
|
|
9416
|
+
body?: never;
|
|
9417
|
+
path?: never;
|
|
9418
|
+
query?: {
|
|
9419
|
+
/**
|
|
9420
|
+
* Page size, default 50, maximum 200.
|
|
9421
|
+
*/
|
|
9422
|
+
limit?: number;
|
|
9423
|
+
/**
|
|
9424
|
+
* Opaque cursor from the previous page.
|
|
9425
|
+
*/
|
|
9426
|
+
cursor?: string;
|
|
9427
|
+
};
|
|
9428
|
+
url: '/api/v2/me/billing/partners';
|
|
9429
|
+
};
|
|
9430
|
+
export type ListBillingPartnersErrors = {
|
|
9431
|
+
/**
|
|
9432
|
+
* Malformed request, or a cursor from another request.
|
|
9433
|
+
*/
|
|
9434
|
+
400: Problem;
|
|
9435
|
+
/**
|
|
9436
|
+
* No valid API key or session.
|
|
9437
|
+
*/
|
|
9438
|
+
401: Problem;
|
|
9439
|
+
/**
|
|
9440
|
+
* This operation needs a dashboard session.
|
|
9441
|
+
*/
|
|
9442
|
+
403: Problem;
|
|
9443
|
+
/**
|
|
9444
|
+
* Not found, or it belongs to another workspace.
|
|
9445
|
+
*/
|
|
9446
|
+
404: Problem;
|
|
9447
|
+
/**
|
|
9448
|
+
* Conflict with the current state; `code` says which.
|
|
9449
|
+
*/
|
|
9450
|
+
409: Problem;
|
|
9451
|
+
/**
|
|
9452
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
9453
|
+
*/
|
|
9454
|
+
422: Problem;
|
|
9455
|
+
/**
|
|
9456
|
+
* Too many requests; retry after `Retry-After`.
|
|
9457
|
+
*/
|
|
9458
|
+
429: Problem;
|
|
9459
|
+
/**
|
|
9460
|
+
* Internal error; quote `requestId` to support.
|
|
9461
|
+
*/
|
|
9462
|
+
500: Problem;
|
|
9463
|
+
};
|
|
9464
|
+
export type ListBillingPartnersError = ListBillingPartnersErrors[keyof ListBillingPartnersErrors];
|
|
9465
|
+
export type ListBillingPartnersResponses = {
|
|
9466
|
+
/**
|
|
9467
|
+
* OK
|
|
9468
|
+
*/
|
|
9469
|
+
200: CursorPageOfBillingPartnerDto;
|
|
9470
|
+
};
|
|
9471
|
+
export type ListBillingPartnersResponse = ListBillingPartnersResponses[keyof ListBillingPartnersResponses];
|
|
9472
|
+
export type AddBillingPartnerData = {
|
|
9473
|
+
body: AddBillingPartnerRequest;
|
|
9474
|
+
path?: never;
|
|
9475
|
+
query?: never;
|
|
9476
|
+
url: '/api/v2/me/billing/partners';
|
|
9477
|
+
};
|
|
9478
|
+
export type AddBillingPartnerErrors = {
|
|
9479
|
+
/**
|
|
9480
|
+
* Malformed request, or a cursor from another request.
|
|
9481
|
+
*/
|
|
9482
|
+
400: Problem;
|
|
9483
|
+
/**
|
|
9484
|
+
* No valid API key or session.
|
|
9485
|
+
*/
|
|
9486
|
+
401: Problem;
|
|
9487
|
+
/**
|
|
9488
|
+
* This operation needs a dashboard session.
|
|
9489
|
+
*/
|
|
9490
|
+
403: Problem;
|
|
9491
|
+
/**
|
|
9492
|
+
* Not found, or it belongs to another workspace.
|
|
9493
|
+
*/
|
|
9494
|
+
404: Problem;
|
|
9495
|
+
/**
|
|
9496
|
+
* Conflict with the current state; `code` says which.
|
|
9497
|
+
*/
|
|
9498
|
+
409: Problem;
|
|
9499
|
+
/**
|
|
9500
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
9501
|
+
*/
|
|
9502
|
+
422: Problem;
|
|
9503
|
+
/**
|
|
9504
|
+
* Too many requests; retry after `Retry-After`.
|
|
9505
|
+
*/
|
|
9506
|
+
429: Problem;
|
|
9507
|
+
/**
|
|
9508
|
+
* Internal error; quote `requestId` to support.
|
|
9509
|
+
*/
|
|
9510
|
+
500: Problem;
|
|
9511
|
+
};
|
|
9512
|
+
export type AddBillingPartnerError = AddBillingPartnerErrors[keyof AddBillingPartnerErrors];
|
|
9513
|
+
export type AddBillingPartnerResponses = {
|
|
9514
|
+
/**
|
|
9515
|
+
* Created
|
|
9516
|
+
*/
|
|
9517
|
+
201: BillingPartnerDto;
|
|
9518
|
+
};
|
|
9519
|
+
export type AddBillingPartnerResponse = AddBillingPartnerResponses[keyof AddBillingPartnerResponses];
|
|
9520
|
+
export type DeleteBillingPartnerData = {
|
|
9521
|
+
body?: never;
|
|
9522
|
+
path: {
|
|
9523
|
+
/**
|
|
9524
|
+
* The invoice's or article's ID, or a Geschäftspartner's Firmenakte-ID or own entry ID.
|
|
9525
|
+
*/
|
|
9526
|
+
id: string;
|
|
9527
|
+
};
|
|
9528
|
+
query?: never;
|
|
9529
|
+
url: '/api/v2/me/billing/partners/{id}';
|
|
9530
|
+
};
|
|
9531
|
+
export type DeleteBillingPartnerErrors = {
|
|
9532
|
+
/**
|
|
9533
|
+
* Malformed request, or a cursor from another request.
|
|
9534
|
+
*/
|
|
9535
|
+
400: Problem;
|
|
9536
|
+
/**
|
|
9537
|
+
* No valid API key or session.
|
|
9538
|
+
*/
|
|
9539
|
+
401: Problem;
|
|
9540
|
+
/**
|
|
9541
|
+
* This operation needs a dashboard session.
|
|
9542
|
+
*/
|
|
9543
|
+
403: Problem;
|
|
9544
|
+
/**
|
|
9545
|
+
* Not found, or it belongs to another workspace.
|
|
9546
|
+
*/
|
|
9547
|
+
404: Problem;
|
|
9548
|
+
/**
|
|
9549
|
+
* Conflict with the current state; `code` says which.
|
|
9550
|
+
*/
|
|
9551
|
+
409: Problem;
|
|
9552
|
+
/**
|
|
9553
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
9554
|
+
*/
|
|
9555
|
+
422: Problem;
|
|
9556
|
+
/**
|
|
9557
|
+
* Too many requests; retry after `Retry-After`.
|
|
9558
|
+
*/
|
|
9559
|
+
429: Problem;
|
|
9560
|
+
/**
|
|
9561
|
+
* Internal error; quote `requestId` to support.
|
|
9562
|
+
*/
|
|
9563
|
+
500: Problem;
|
|
9564
|
+
};
|
|
9565
|
+
export type DeleteBillingPartnerError = DeleteBillingPartnerErrors[keyof DeleteBillingPartnerErrors];
|
|
9566
|
+
export type DeleteBillingPartnerResponses = {
|
|
9567
|
+
/**
|
|
9568
|
+
* OK
|
|
9569
|
+
*/
|
|
9570
|
+
200: BillingPartnerDto;
|
|
9571
|
+
};
|
|
9572
|
+
export type DeleteBillingPartnerResponse = DeleteBillingPartnerResponses[keyof DeleteBillingPartnerResponses];
|
|
9573
|
+
export type UpdateBillingPartnerData = {
|
|
9574
|
+
body: UpdateBillingPartnerBody;
|
|
9575
|
+
path: {
|
|
9576
|
+
/**
|
|
9577
|
+
* A company's Firmenakte-ID or an own entry's ID.
|
|
9578
|
+
*/
|
|
9579
|
+
id: string;
|
|
9580
|
+
};
|
|
9581
|
+
query?: never;
|
|
9582
|
+
url: '/api/v2/me/billing/partners/{id}';
|
|
9583
|
+
};
|
|
9584
|
+
export type UpdateBillingPartnerErrors = {
|
|
9585
|
+
/**
|
|
9586
|
+
* Malformed request, or a cursor from another request.
|
|
9587
|
+
*/
|
|
9588
|
+
400: Problem;
|
|
9589
|
+
/**
|
|
9590
|
+
* No valid API key or session.
|
|
9591
|
+
*/
|
|
9592
|
+
401: Problem;
|
|
9593
|
+
/**
|
|
9594
|
+
* This operation needs a dashboard session.
|
|
9595
|
+
*/
|
|
9596
|
+
403: Problem;
|
|
9597
|
+
/**
|
|
9598
|
+
* Not found, or it belongs to another workspace.
|
|
9599
|
+
*/
|
|
9600
|
+
404: Problem;
|
|
9601
|
+
/**
|
|
9602
|
+
* Conflict with the current state; `code` says which.
|
|
9603
|
+
*/
|
|
9604
|
+
409: Problem;
|
|
9605
|
+
/**
|
|
9606
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
9607
|
+
*/
|
|
9608
|
+
422: Problem;
|
|
9609
|
+
/**
|
|
9610
|
+
* Too many requests; retry after `Retry-After`.
|
|
9611
|
+
*/
|
|
9612
|
+
429: Problem;
|
|
9613
|
+
/**
|
|
9614
|
+
* Internal error; quote `requestId` to support.
|
|
9615
|
+
*/
|
|
9616
|
+
500: Problem;
|
|
9617
|
+
};
|
|
9618
|
+
export type UpdateBillingPartnerError = UpdateBillingPartnerErrors[keyof UpdateBillingPartnerErrors];
|
|
9619
|
+
export type UpdateBillingPartnerResponses = {
|
|
9620
|
+
/**
|
|
9621
|
+
* OK
|
|
9622
|
+
*/
|
|
9623
|
+
200: BillingPartnerDto;
|
|
9624
|
+
};
|
|
9625
|
+
export type UpdateBillingPartnerResponse = UpdateBillingPartnerResponses[keyof UpdateBillingPartnerResponses];
|
|
9242
9626
|
export type GetBillingSummaryData = {
|
|
9243
9627
|
body?: never;
|
|
9244
9628
|
path?: never;
|
|
@@ -9413,13 +9797,74 @@ export type GetBillingExportFileResponses = {
|
|
|
9413
9797
|
*/
|
|
9414
9798
|
200: any;
|
|
9415
9799
|
};
|
|
9416
|
-
export type
|
|
9800
|
+
export type ListArticlesData = {
|
|
9417
9801
|
body?: never;
|
|
9418
9802
|
path?: never;
|
|
9803
|
+
query?: {
|
|
9804
|
+
/**
|
|
9805
|
+
* Searches name and Artikelnummer.
|
|
9806
|
+
*/
|
|
9807
|
+
q?: string;
|
|
9808
|
+
/**
|
|
9809
|
+
* Page size, default 20, maximum 100.
|
|
9810
|
+
*/
|
|
9811
|
+
limit?: number;
|
|
9812
|
+
/**
|
|
9813
|
+
* Opaque cursor from the previous page.
|
|
9814
|
+
*/
|
|
9815
|
+
cursor?: string;
|
|
9816
|
+
};
|
|
9817
|
+
url: '/api/v2/me/billing/articles';
|
|
9818
|
+
};
|
|
9819
|
+
export type ListArticlesErrors = {
|
|
9820
|
+
/**
|
|
9821
|
+
* Malformed request, or a cursor from another request.
|
|
9822
|
+
*/
|
|
9823
|
+
400: Problem;
|
|
9824
|
+
/**
|
|
9825
|
+
* No valid API key or session.
|
|
9826
|
+
*/
|
|
9827
|
+
401: Problem;
|
|
9828
|
+
/**
|
|
9829
|
+
* This operation needs a dashboard session.
|
|
9830
|
+
*/
|
|
9831
|
+
403: Problem;
|
|
9832
|
+
/**
|
|
9833
|
+
* Not found, or it belongs to another workspace.
|
|
9834
|
+
*/
|
|
9835
|
+
404: Problem;
|
|
9836
|
+
/**
|
|
9837
|
+
* Conflict with the current state; `code` says which.
|
|
9838
|
+
*/
|
|
9839
|
+
409: Problem;
|
|
9840
|
+
/**
|
|
9841
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
9842
|
+
*/
|
|
9843
|
+
422: Problem;
|
|
9844
|
+
/**
|
|
9845
|
+
* Too many requests; retry after `Retry-After`.
|
|
9846
|
+
*/
|
|
9847
|
+
429: Problem;
|
|
9848
|
+
/**
|
|
9849
|
+
* Internal error; quote `requestId` to support.
|
|
9850
|
+
*/
|
|
9851
|
+
500: Problem;
|
|
9852
|
+
};
|
|
9853
|
+
export type ListArticlesError = ListArticlesErrors[keyof ListArticlesErrors];
|
|
9854
|
+
export type ListArticlesResponses = {
|
|
9855
|
+
/**
|
|
9856
|
+
* OK
|
|
9857
|
+
*/
|
|
9858
|
+
200: CursorPageOfArticleDto;
|
|
9859
|
+
};
|
|
9860
|
+
export type ListArticlesResponse = ListArticlesResponses[keyof ListArticlesResponses];
|
|
9861
|
+
export type SetArticleData = {
|
|
9862
|
+
body: SaveArticleRequest;
|
|
9863
|
+
path?: never;
|
|
9419
9864
|
query?: never;
|
|
9420
|
-
url: '/api/v2/me/billing/
|
|
9865
|
+
url: '/api/v2/me/billing/articles';
|
|
9421
9866
|
};
|
|
9422
|
-
export type
|
|
9867
|
+
export type SetArticleErrors = {
|
|
9423
9868
|
/**
|
|
9424
9869
|
* Malformed request, or a cursor from another request.
|
|
9425
9870
|
*/
|
|
@@ -9453,21 +9898,69 @@ export type GetBillingSetupErrors = {
|
|
|
9453
9898
|
*/
|
|
9454
9899
|
500: Problem;
|
|
9455
9900
|
};
|
|
9456
|
-
export type
|
|
9457
|
-
export type
|
|
9901
|
+
export type SetArticleError = SetArticleErrors[keyof SetArticleErrors];
|
|
9902
|
+
export type SetArticleResponses = {
|
|
9458
9903
|
/**
|
|
9459
9904
|
* OK
|
|
9460
9905
|
*/
|
|
9461
|
-
200:
|
|
9906
|
+
200: ArticleDto;
|
|
9462
9907
|
};
|
|
9463
|
-
export type
|
|
9464
|
-
export type
|
|
9465
|
-
body:
|
|
9908
|
+
export type SetArticleResponse = SetArticleResponses[keyof SetArticleResponses];
|
|
9909
|
+
export type CheckInvoiceUidData = {
|
|
9910
|
+
body: CheckInvoiceUidRequest;
|
|
9911
|
+
path?: never;
|
|
9912
|
+
query?: never;
|
|
9913
|
+
url: '/api/v2/me/billing/invoices/uid-checks';
|
|
9914
|
+
};
|
|
9915
|
+
export type CheckInvoiceUidErrors = {
|
|
9916
|
+
/**
|
|
9917
|
+
* Malformed request, or a cursor from another request.
|
|
9918
|
+
*/
|
|
9919
|
+
400: Problem;
|
|
9920
|
+
/**
|
|
9921
|
+
* No valid API key or session.
|
|
9922
|
+
*/
|
|
9923
|
+
401: Problem;
|
|
9924
|
+
/**
|
|
9925
|
+
* This operation needs a dashboard session.
|
|
9926
|
+
*/
|
|
9927
|
+
403: Problem;
|
|
9928
|
+
/**
|
|
9929
|
+
* Not found, or it belongs to another workspace.
|
|
9930
|
+
*/
|
|
9931
|
+
404: Problem;
|
|
9932
|
+
/**
|
|
9933
|
+
* Conflict with the current state; `code` says which.
|
|
9934
|
+
*/
|
|
9935
|
+
409: Problem;
|
|
9936
|
+
/**
|
|
9937
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
9938
|
+
*/
|
|
9939
|
+
422: Problem;
|
|
9940
|
+
/**
|
|
9941
|
+
* Too many requests; retry after `Retry-After`.
|
|
9942
|
+
*/
|
|
9943
|
+
429: Problem;
|
|
9944
|
+
/**
|
|
9945
|
+
* Internal error; quote `requestId` to support.
|
|
9946
|
+
*/
|
|
9947
|
+
500: Problem;
|
|
9948
|
+
};
|
|
9949
|
+
export type CheckInvoiceUidError = CheckInvoiceUidErrors[keyof CheckInvoiceUidErrors];
|
|
9950
|
+
export type CheckInvoiceUidResponses = {
|
|
9951
|
+
/**
|
|
9952
|
+
* OK
|
|
9953
|
+
*/
|
|
9954
|
+
200: InvoiceUidDto;
|
|
9955
|
+
};
|
|
9956
|
+
export type CheckInvoiceUidResponse = CheckInvoiceUidResponses[keyof CheckInvoiceUidResponses];
|
|
9957
|
+
export type GetBillingSetupData = {
|
|
9958
|
+
body?: never;
|
|
9466
9959
|
path?: never;
|
|
9467
9960
|
query?: never;
|
|
9468
9961
|
url: '/api/v2/me/billing/settings/invoices';
|
|
9469
9962
|
};
|
|
9470
|
-
export type
|
|
9963
|
+
export type GetBillingSetupErrors = {
|
|
9471
9964
|
/**
|
|
9472
9965
|
* Malformed request, or a cursor from another request.
|
|
9473
9966
|
*/
|
|
@@ -9501,21 +9994,21 @@ export type UpdateBillingSettingsErrors = {
|
|
|
9501
9994
|
*/
|
|
9502
9995
|
500: Problem;
|
|
9503
9996
|
};
|
|
9504
|
-
export type
|
|
9505
|
-
export type
|
|
9997
|
+
export type GetBillingSetupError = GetBillingSetupErrors[keyof GetBillingSetupErrors];
|
|
9998
|
+
export type GetBillingSetupResponses = {
|
|
9506
9999
|
/**
|
|
9507
10000
|
* OK
|
|
9508
10001
|
*/
|
|
9509
10002
|
200: BillingSetupDto;
|
|
9510
10003
|
};
|
|
9511
|
-
export type
|
|
9512
|
-
export type
|
|
9513
|
-
body:
|
|
10004
|
+
export type GetBillingSetupResponse = GetBillingSetupResponses[keyof GetBillingSetupResponses];
|
|
10005
|
+
export type UpdateBillingSettingsData = {
|
|
10006
|
+
body: UpdateBillingSettingsRequest;
|
|
9514
10007
|
path?: never;
|
|
9515
10008
|
query?: never;
|
|
9516
|
-
url: '/api/v2/me/billing/
|
|
10009
|
+
url: '/api/v2/me/billing/settings/invoices';
|
|
9517
10010
|
};
|
|
9518
|
-
export type
|
|
10011
|
+
export type UpdateBillingSettingsErrors = {
|
|
9519
10012
|
/**
|
|
9520
10013
|
* Malformed request, or a cursor from another request.
|
|
9521
10014
|
*/
|
|
@@ -9549,19 +10042,19 @@ export type SetArticleErrors = {
|
|
|
9549
10042
|
*/
|
|
9550
10043
|
500: Problem;
|
|
9551
10044
|
};
|
|
9552
|
-
export type
|
|
9553
|
-
export type
|
|
10045
|
+
export type UpdateBillingSettingsError = UpdateBillingSettingsErrors[keyof UpdateBillingSettingsErrors];
|
|
10046
|
+
export type UpdateBillingSettingsResponses = {
|
|
9554
10047
|
/**
|
|
9555
10048
|
* OK
|
|
9556
10049
|
*/
|
|
9557
|
-
200:
|
|
10050
|
+
200: BillingSetupDto;
|
|
9558
10051
|
};
|
|
9559
|
-
export type
|
|
10052
|
+
export type UpdateBillingSettingsResponse = UpdateBillingSettingsResponses[keyof UpdateBillingSettingsResponses];
|
|
9560
10053
|
export type DeleteArticleData = {
|
|
9561
10054
|
body?: never;
|
|
9562
10055
|
path: {
|
|
9563
10056
|
/**
|
|
9564
|
-
* The invoice's or article's ID.
|
|
10057
|
+
* The invoice's or article's ID, or a Geschäftspartner's Firmenakte-ID or own entry ID.
|
|
9565
10058
|
*/
|
|
9566
10059
|
id: string;
|
|
9567
10060
|
};
|
|
@@ -9731,7 +10224,7 @@ export type DeleteInvoiceData = {
|
|
|
9731
10224
|
body?: never;
|
|
9732
10225
|
path: {
|
|
9733
10226
|
/**
|
|
9734
|
-
* The invoice's or article's ID.
|
|
10227
|
+
* The invoice's or article's ID, or a Geschäftspartner's Firmenakte-ID or own entry ID.
|
|
9735
10228
|
*/
|
|
9736
10229
|
id: string;
|
|
9737
10230
|
};
|
|
@@ -9784,7 +10277,7 @@ export type GetInvoiceData = {
|
|
|
9784
10277
|
body?: never;
|
|
9785
10278
|
path: {
|
|
9786
10279
|
/**
|
|
9787
|
-
* The invoice's or article's ID.
|
|
10280
|
+
* The invoice's or article's ID, or a Geschäftspartner's Firmenakte-ID or own entry ID.
|
|
9788
10281
|
*/
|
|
9789
10282
|
id: string;
|
|
9790
10283
|
};
|
|
@@ -9837,7 +10330,7 @@ export type UpdateInvoiceData = {
|
|
|
9837
10330
|
body: InvoiceDraftBody;
|
|
9838
10331
|
path: {
|
|
9839
10332
|
/**
|
|
9840
|
-
* The invoice's or article's ID.
|
|
10333
|
+
* The invoice's or article's ID, or a Geschäftspartner's Firmenakte-ID or own entry ID.
|
|
9841
10334
|
*/
|
|
9842
10335
|
id: string;
|
|
9843
10336
|
};
|
|
@@ -9890,7 +10383,7 @@ export type IssueInvoiceData = {
|
|
|
9890
10383
|
body?: never;
|
|
9891
10384
|
path: {
|
|
9892
10385
|
/**
|
|
9893
|
-
* The invoice's or article's ID.
|
|
10386
|
+
* The invoice's or article's ID, or a Geschäftspartner's Firmenakte-ID or own entry ID.
|
|
9894
10387
|
*/
|
|
9895
10388
|
id: string;
|
|
9896
10389
|
};
|
|
@@ -9943,7 +10436,7 @@ export type CancelInvoiceData = {
|
|
|
9943
10436
|
body: CancelInvoiceBody;
|
|
9944
10437
|
path: {
|
|
9945
10438
|
/**
|
|
9946
|
-
* The invoice's or article's ID.
|
|
10439
|
+
* The invoice's or article's ID, or a Geschäftspartner's Firmenakte-ID or own entry ID.
|
|
9947
10440
|
*/
|
|
9948
10441
|
id: string;
|
|
9949
10442
|
};
|
|
@@ -9996,7 +10489,7 @@ export type DuplicateInvoiceData = {
|
|
|
9996
10489
|
body?: never;
|
|
9997
10490
|
path: {
|
|
9998
10491
|
/**
|
|
9999
|
-
* The invoice's or article's ID.
|
|
10492
|
+
* The invoice's or article's ID, or a Geschäftspartner's Firmenakte-ID or own entry ID.
|
|
10000
10493
|
*/
|
|
10001
10494
|
id: string;
|
|
10002
10495
|
};
|
|
@@ -10049,7 +10542,7 @@ export type SendInvoiceData = {
|
|
|
10049
10542
|
body: SendInvoiceBody;
|
|
10050
10543
|
path: {
|
|
10051
10544
|
/**
|
|
10052
|
-
* The invoice's or article's ID.
|
|
10545
|
+
* The invoice's or article's ID, or a Geschäftspartner's Firmenakte-ID or own entry ID.
|
|
10053
10546
|
*/
|
|
10054
10547
|
id: string;
|
|
10055
10548
|
};
|
|
@@ -10102,7 +10595,7 @@ export type RevokeInvoiceLinksData = {
|
|
|
10102
10595
|
body?: never;
|
|
10103
10596
|
path: {
|
|
10104
10597
|
/**
|
|
10105
|
-
* The invoice's or article's ID.
|
|
10598
|
+
* The invoice's or article's ID, or a Geschäftspartner's Firmenakte-ID or own entry ID.
|
|
10106
10599
|
*/
|
|
10107
10600
|
id: string;
|
|
10108
10601
|
};
|
|
@@ -10155,7 +10648,7 @@ export type GetInvoicePdfData = {
|
|
|
10155
10648
|
body?: never;
|
|
10156
10649
|
path: {
|
|
10157
10650
|
/**
|
|
10158
|
-
* The invoice's or article's ID.
|
|
10651
|
+
* The invoice's or article's ID, or a Geschäftspartner's Firmenakte-ID or own entry ID.
|
|
10159
10652
|
*/
|
|
10160
10653
|
id: string;
|
|
10161
10654
|
};
|