@firmenakte/api-client 2.29.0 → 2.31.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/client.d.ts +26 -0
- package/client.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 +6 -30
- package/v2/generated/sdk.gen.d.ts.map +1 -1
- package/v2/generated/sdk.gen.js +5 -61
- package/v2/generated/types.gen.d.ts +33 -300
- package/v2/generated/types.gen.d.ts.map +1 -1
|
@@ -13,15 +13,6 @@ export type AccountLiability = {
|
|
|
13
13
|
amount: number;
|
|
14
14
|
after: string;
|
|
15
15
|
};
|
|
16
|
-
export type AccountSubject = {
|
|
17
|
-
id: string;
|
|
18
|
-
type?: null | string;
|
|
19
|
-
name: string;
|
|
20
|
-
kind: string;
|
|
21
|
-
resolvedFrom?: null | IdentifierResolution;
|
|
22
|
-
city?: null | string;
|
|
23
|
-
entryId?: null | string;
|
|
24
|
-
};
|
|
25
16
|
export type AddressCoordinatesResponse = {
|
|
26
17
|
lat: number;
|
|
27
18
|
lng: number;
|
|
@@ -325,6 +316,7 @@ export type CompanyAccount = {
|
|
|
325
316
|
document: AccountDocument;
|
|
326
317
|
investmentGrants?: null | number;
|
|
327
318
|
otherLiabilities?: null | Array<AccountLiability>;
|
|
319
|
+
failedChecks?: null | Array<string>;
|
|
328
320
|
};
|
|
329
321
|
export type CompanyAddress = {
|
|
330
322
|
kind: string;
|
|
@@ -580,6 +572,24 @@ export type CompanyPerson = {
|
|
|
580
572
|
representativeCode?: null | string;
|
|
581
573
|
representativeText?: null | string;
|
|
582
574
|
};
|
|
575
|
+
export type CompanyProfileDto = {
|
|
576
|
+
text: string;
|
|
577
|
+
tags: Array<string>;
|
|
578
|
+
sources: Array<CompanyProfileSource>;
|
|
579
|
+
generatedAt: string;
|
|
580
|
+
/**
|
|
581
|
+
* Who buys from the company, read by the AI from its website and general knowledge: b2b (businesses), b2c (consumers), public (the public sector). Any combination; empty when unknown, which never means none.
|
|
582
|
+
*/
|
|
583
|
+
customers?: Array<string>;
|
|
584
|
+
/**
|
|
585
|
+
* The widest area the company serves, read by the AI from its website and general knowledge: local, regional, national (all of Austria) or international. Null when unknown.
|
|
586
|
+
*/
|
|
587
|
+
reach?: null | string;
|
|
588
|
+
};
|
|
589
|
+
export type CompanyProfileSource = {
|
|
590
|
+
kind: string;
|
|
591
|
+
url?: null | string;
|
|
592
|
+
};
|
|
583
593
|
export type CompanyResolveInput = {
|
|
584
594
|
ref: string;
|
|
585
595
|
name: string;
|
|
@@ -620,6 +630,7 @@ export type CompanyResponse = {
|
|
|
620
630
|
purpose?: null | string;
|
|
621
631
|
websites: Array<string>;
|
|
622
632
|
webPresence?: null | Array<CompanyWebsite>;
|
|
633
|
+
profile?: null | CompanyProfileDto;
|
|
623
634
|
uidVerifications?: null | Array<CompanyUidVerification>;
|
|
624
635
|
signerCount?: null | number;
|
|
625
636
|
insolvency: CompanyInsolvency;
|
|
@@ -646,6 +657,7 @@ export type CompanySearchRequest = {
|
|
|
646
657
|
limit?: number;
|
|
647
658
|
cursor?: null | string;
|
|
648
659
|
includeSummary?: boolean;
|
|
660
|
+
activity?: null | string;
|
|
649
661
|
where?: Filter;
|
|
650
662
|
filterVersion?: number;
|
|
651
663
|
q?: null | string;
|
|
@@ -806,10 +818,6 @@ export type CreateListDto = {
|
|
|
806
818
|
export type CreateMeApiKeyRequest = {
|
|
807
819
|
name: string;
|
|
808
820
|
};
|
|
809
|
-
export type CreateNoteDto = {
|
|
810
|
-
subject: string;
|
|
811
|
-
text: string;
|
|
812
|
-
};
|
|
813
821
|
export type CreateOwnRecordDto = {
|
|
814
822
|
name: string;
|
|
815
823
|
note?: null | string;
|
|
@@ -966,11 +974,6 @@ export type CursorPageOfMineSearchRow = {
|
|
|
966
974
|
nextCursor?: null | string;
|
|
967
975
|
total?: null | number;
|
|
968
976
|
};
|
|
969
|
-
export type CursorPageOfNoteDto = {
|
|
970
|
-
items: Array<NoteDto>;
|
|
971
|
-
nextCursor?: null | string;
|
|
972
|
-
total?: null | number;
|
|
973
|
-
};
|
|
974
977
|
export type CursorPageOfOwnRecordDto = {
|
|
975
978
|
items: Array<OwnRecordDto>;
|
|
976
979
|
nextCursor?: null | string;
|
|
@@ -1096,6 +1099,7 @@ export type EntityResponseCompanyResponse = {
|
|
|
1096
1099
|
purpose?: null | string;
|
|
1097
1100
|
websites: Array<string>;
|
|
1098
1101
|
webPresence?: null | Array<CompanyWebsite>;
|
|
1102
|
+
profile?: null | CompanyProfileDto;
|
|
1099
1103
|
uidVerifications?: null | Array<CompanyUidVerification>;
|
|
1100
1104
|
signerCount?: null | number;
|
|
1101
1105
|
insolvency: CompanyInsolvency;
|
|
@@ -1245,16 +1249,27 @@ export type FieldDto = {
|
|
|
1245
1249
|
listCount?: null | number;
|
|
1246
1250
|
valueCount?: null | number;
|
|
1247
1251
|
definition?: FieldDefinition;
|
|
1252
|
+
companyCount?: null | number;
|
|
1253
|
+
optionCounts?: null | Array<FieldOptionCountDto>;
|
|
1254
|
+
lists?: null | Array<FieldListDto>;
|
|
1248
1255
|
};
|
|
1249
1256
|
export type FieldGroup = {
|
|
1250
1257
|
code: string;
|
|
1251
1258
|
label: string;
|
|
1252
1259
|
rank?: null | number;
|
|
1253
1260
|
};
|
|
1261
|
+
export type FieldListDto = {
|
|
1262
|
+
id: string;
|
|
1263
|
+
name: string;
|
|
1264
|
+
};
|
|
1254
1265
|
export type FieldOption = {
|
|
1255
1266
|
code: string;
|
|
1256
1267
|
label: string;
|
|
1257
1268
|
};
|
|
1269
|
+
export type FieldOptionCountDto = {
|
|
1270
|
+
option: string;
|
|
1271
|
+
valueCount: number;
|
|
1272
|
+
};
|
|
1258
1273
|
export type FieldProjection = {
|
|
1259
1274
|
default: string;
|
|
1260
1275
|
reads: Array<string>;
|
|
@@ -1692,7 +1707,6 @@ export type MyEntityDto = {
|
|
|
1692
1707
|
values: {
|
|
1693
1708
|
[key: string]: null | string | number | boolean;
|
|
1694
1709
|
};
|
|
1695
|
-
notes: CursorPageOfNoteDto;
|
|
1696
1710
|
activity: CursorPageOfEntityActivityDto;
|
|
1697
1711
|
/**
|
|
1698
1712
|
* Nonempty own-field values, including zero and false.
|
|
@@ -1711,14 +1725,6 @@ export type NetworkNodeType = 'company' | 'person';
|
|
|
1711
1725
|
* Open enum; ignore unknown values.
|
|
1712
1726
|
*/
|
|
1713
1727
|
export type NetworkRelationship = 'assignment' | 'ownership' | 'address';
|
|
1714
|
-
export type NoteDto = {
|
|
1715
|
-
id: string;
|
|
1716
|
-
subject: AccountSubject;
|
|
1717
|
-
text: string;
|
|
1718
|
-
author?: null | AccountAuthor;
|
|
1719
|
-
at: string;
|
|
1720
|
-
editedAt?: null | string;
|
|
1721
|
-
};
|
|
1722
1728
|
export type NotificationDto = {
|
|
1723
1729
|
id: string;
|
|
1724
1730
|
kind: string;
|
|
@@ -2143,9 +2149,6 @@ export type UpdateEntryDto = {
|
|
|
2143
2149
|
export type UpdateImportDto = {
|
|
2144
2150
|
rows: Array<ImportChoice>;
|
|
2145
2151
|
};
|
|
2146
|
-
export type UpdateNoteDto = {
|
|
2147
|
-
text: string;
|
|
2148
|
-
};
|
|
2149
2152
|
export type UpdateRuleDto = {
|
|
2150
2153
|
revision: string;
|
|
2151
2154
|
rule: RuleDefinition;
|
|
@@ -5135,276 +5138,6 @@ export type ListEntityActivityResponses = {
|
|
|
5135
5138
|
200: CursorPageOfEntityActivityDto;
|
|
5136
5139
|
};
|
|
5137
5140
|
export type ListEntityActivityResponse = ListEntityActivityResponses[keyof ListEntityActivityResponses];
|
|
5138
|
-
export type ListNotesData = {
|
|
5139
|
-
body?: never;
|
|
5140
|
-
headers?: {
|
|
5141
|
-
/**
|
|
5142
|
-
* Optional replay key, retained for 24 hours.
|
|
5143
|
-
*/
|
|
5144
|
-
'Idempotency-Key'?: string;
|
|
5145
|
-
};
|
|
5146
|
-
path?: never;
|
|
5147
|
-
query?: {
|
|
5148
|
-
/**
|
|
5149
|
-
* Optional collection filter.
|
|
5150
|
-
*/
|
|
5151
|
-
subject?: string;
|
|
5152
|
-
/**
|
|
5153
|
-
* Page size, default 25, maximum 100. Zero returns the count.
|
|
5154
|
-
*/
|
|
5155
|
-
limit?: number;
|
|
5156
|
-
/**
|
|
5157
|
-
* Opaque cursor from the previous page; expires after 24 hours.
|
|
5158
|
-
*/
|
|
5159
|
-
cursor?: string;
|
|
5160
|
-
};
|
|
5161
|
-
url: '/api/v2/me/notes';
|
|
5162
|
-
};
|
|
5163
|
-
export type ListNotesErrors = {
|
|
5164
|
-
/**
|
|
5165
|
-
* Malformed request, or a cursor from another request.
|
|
5166
|
-
*/
|
|
5167
|
-
400: Problem;
|
|
5168
|
-
/**
|
|
5169
|
-
* No valid API key or session.
|
|
5170
|
-
*/
|
|
5171
|
-
401: Problem;
|
|
5172
|
-
/**
|
|
5173
|
-
* Not enough credits for this call.
|
|
5174
|
-
*/
|
|
5175
|
-
402: Problem;
|
|
5176
|
-
/**
|
|
5177
|
-
* This operation needs a dashboard session.
|
|
5178
|
-
*/
|
|
5179
|
-
403: Problem;
|
|
5180
|
-
/**
|
|
5181
|
-
* Not found, or it belongs to another workspace.
|
|
5182
|
-
*/
|
|
5183
|
-
404: Problem;
|
|
5184
|
-
/**
|
|
5185
|
-
* Conflict with the current state; `code` says which.
|
|
5186
|
-
*/
|
|
5187
|
-
409: Problem;
|
|
5188
|
-
/**
|
|
5189
|
-
* Erased or expired.
|
|
5190
|
-
*/
|
|
5191
|
-
410: Problem;
|
|
5192
|
-
/**
|
|
5193
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5194
|
-
*/
|
|
5195
|
-
422: Problem;
|
|
5196
|
-
/**
|
|
5197
|
-
* Too many requests; retry after `Retry-After`.
|
|
5198
|
-
*/
|
|
5199
|
-
429: Problem;
|
|
5200
|
-
/**
|
|
5201
|
-
* Internal error; quote `requestId` to support.
|
|
5202
|
-
*/
|
|
5203
|
-
500: Problem;
|
|
5204
|
-
};
|
|
5205
|
-
export type ListNotesError = ListNotesErrors[keyof ListNotesErrors];
|
|
5206
|
-
export type ListNotesResponses = {
|
|
5207
|
-
/**
|
|
5208
|
-
* OK
|
|
5209
|
-
*/
|
|
5210
|
-
200: CursorPageOfNoteDto;
|
|
5211
|
-
};
|
|
5212
|
-
export type ListNotesResponse = ListNotesResponses[keyof ListNotesResponses];
|
|
5213
|
-
export type CreateNoteData = {
|
|
5214
|
-
body: CreateNoteDto;
|
|
5215
|
-
headers?: {
|
|
5216
|
-
/**
|
|
5217
|
-
* Optional replay key, retained for 24 hours.
|
|
5218
|
-
*/
|
|
5219
|
-
'Idempotency-Key'?: string;
|
|
5220
|
-
};
|
|
5221
|
-
path?: never;
|
|
5222
|
-
query?: never;
|
|
5223
|
-
url: '/api/v2/me/notes';
|
|
5224
|
-
};
|
|
5225
|
-
export type CreateNoteErrors = {
|
|
5226
|
-
/**
|
|
5227
|
-
* Malformed request, or a cursor from another request.
|
|
5228
|
-
*/
|
|
5229
|
-
400: Problem;
|
|
5230
|
-
/**
|
|
5231
|
-
* No valid API key or session.
|
|
5232
|
-
*/
|
|
5233
|
-
401: Problem;
|
|
5234
|
-
/**
|
|
5235
|
-
* Not enough credits for this call.
|
|
5236
|
-
*/
|
|
5237
|
-
402: Problem;
|
|
5238
|
-
/**
|
|
5239
|
-
* This operation needs a dashboard session.
|
|
5240
|
-
*/
|
|
5241
|
-
403: Problem;
|
|
5242
|
-
/**
|
|
5243
|
-
* Not found, or it belongs to another workspace.
|
|
5244
|
-
*/
|
|
5245
|
-
404: Problem;
|
|
5246
|
-
/**
|
|
5247
|
-
* Conflict with the current state; `code` says which.
|
|
5248
|
-
*/
|
|
5249
|
-
409: Problem;
|
|
5250
|
-
/**
|
|
5251
|
-
* Erased or expired.
|
|
5252
|
-
*/
|
|
5253
|
-
410: Problem;
|
|
5254
|
-
/**
|
|
5255
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5256
|
-
*/
|
|
5257
|
-
422: Problem;
|
|
5258
|
-
/**
|
|
5259
|
-
* Too many requests; retry after `Retry-After`.
|
|
5260
|
-
*/
|
|
5261
|
-
429: Problem;
|
|
5262
|
-
/**
|
|
5263
|
-
* Internal error; quote `requestId` to support.
|
|
5264
|
-
*/
|
|
5265
|
-
500: Problem;
|
|
5266
|
-
};
|
|
5267
|
-
export type CreateNoteError = CreateNoteErrors[keyof CreateNoteErrors];
|
|
5268
|
-
export type CreateNoteResponses = {
|
|
5269
|
-
/**
|
|
5270
|
-
* Created
|
|
5271
|
-
*/
|
|
5272
|
-
201: NoteDto;
|
|
5273
|
-
};
|
|
5274
|
-
export type CreateNoteResponse = CreateNoteResponses[keyof CreateNoteResponses];
|
|
5275
|
-
export type DeleteNoteData = {
|
|
5276
|
-
body?: never;
|
|
5277
|
-
headers?: {
|
|
5278
|
-
/**
|
|
5279
|
-
* Optional replay key, retained for 24 hours.
|
|
5280
|
-
*/
|
|
5281
|
-
'Idempotency-Key'?: string;
|
|
5282
|
-
};
|
|
5283
|
-
path: {
|
|
5284
|
-
/**
|
|
5285
|
-
* Workspace resource ID.
|
|
5286
|
-
*/
|
|
5287
|
-
id: string;
|
|
5288
|
-
};
|
|
5289
|
-
query?: never;
|
|
5290
|
-
url: '/api/v2/me/notes/{id}';
|
|
5291
|
-
};
|
|
5292
|
-
export type DeleteNoteErrors = {
|
|
5293
|
-
/**
|
|
5294
|
-
* Malformed request, or a cursor from another request.
|
|
5295
|
-
*/
|
|
5296
|
-
400: Problem;
|
|
5297
|
-
/**
|
|
5298
|
-
* No valid API key or session.
|
|
5299
|
-
*/
|
|
5300
|
-
401: Problem;
|
|
5301
|
-
/**
|
|
5302
|
-
* Not enough credits for this call.
|
|
5303
|
-
*/
|
|
5304
|
-
402: Problem;
|
|
5305
|
-
/**
|
|
5306
|
-
* This operation needs a dashboard session.
|
|
5307
|
-
*/
|
|
5308
|
-
403: Problem;
|
|
5309
|
-
/**
|
|
5310
|
-
* Not found, or it belongs to another workspace.
|
|
5311
|
-
*/
|
|
5312
|
-
404: Problem;
|
|
5313
|
-
/**
|
|
5314
|
-
* Conflict with the current state; `code` says which.
|
|
5315
|
-
*/
|
|
5316
|
-
409: Problem;
|
|
5317
|
-
/**
|
|
5318
|
-
* Erased or expired.
|
|
5319
|
-
*/
|
|
5320
|
-
410: Problem;
|
|
5321
|
-
/**
|
|
5322
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5323
|
-
*/
|
|
5324
|
-
422: Problem;
|
|
5325
|
-
/**
|
|
5326
|
-
* Too many requests; retry after `Retry-After`.
|
|
5327
|
-
*/
|
|
5328
|
-
429: Problem;
|
|
5329
|
-
/**
|
|
5330
|
-
* Internal error; quote `requestId` to support.
|
|
5331
|
-
*/
|
|
5332
|
-
500: Problem;
|
|
5333
|
-
};
|
|
5334
|
-
export type DeleteNoteError = DeleteNoteErrors[keyof DeleteNoteErrors];
|
|
5335
|
-
export type DeleteNoteResponses = {
|
|
5336
|
-
/**
|
|
5337
|
-
* No Content
|
|
5338
|
-
*/
|
|
5339
|
-
204: any;
|
|
5340
|
-
};
|
|
5341
|
-
export type UpdateNoteData = {
|
|
5342
|
-
body: UpdateNoteDto;
|
|
5343
|
-
headers?: {
|
|
5344
|
-
/**
|
|
5345
|
-
* Optional replay key, retained for 24 hours.
|
|
5346
|
-
*/
|
|
5347
|
-
'Idempotency-Key'?: string;
|
|
5348
|
-
};
|
|
5349
|
-
path: {
|
|
5350
|
-
/**
|
|
5351
|
-
* Workspace resource ID.
|
|
5352
|
-
*/
|
|
5353
|
-
id: string;
|
|
5354
|
-
};
|
|
5355
|
-
query?: never;
|
|
5356
|
-
url: '/api/v2/me/notes/{id}';
|
|
5357
|
-
};
|
|
5358
|
-
export type UpdateNoteErrors = {
|
|
5359
|
-
/**
|
|
5360
|
-
* Malformed request, or a cursor from another request.
|
|
5361
|
-
*/
|
|
5362
|
-
400: Problem;
|
|
5363
|
-
/**
|
|
5364
|
-
* No valid API key or session.
|
|
5365
|
-
*/
|
|
5366
|
-
401: Problem;
|
|
5367
|
-
/**
|
|
5368
|
-
* Not enough credits for this call.
|
|
5369
|
-
*/
|
|
5370
|
-
402: Problem;
|
|
5371
|
-
/**
|
|
5372
|
-
* This operation needs a dashboard session.
|
|
5373
|
-
*/
|
|
5374
|
-
403: Problem;
|
|
5375
|
-
/**
|
|
5376
|
-
* Not found, or it belongs to another workspace.
|
|
5377
|
-
*/
|
|
5378
|
-
404: Problem;
|
|
5379
|
-
/**
|
|
5380
|
-
* Conflict with the current state; `code` says which.
|
|
5381
|
-
*/
|
|
5382
|
-
409: Problem;
|
|
5383
|
-
/**
|
|
5384
|
-
* Erased or expired.
|
|
5385
|
-
*/
|
|
5386
|
-
410: Problem;
|
|
5387
|
-
/**
|
|
5388
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5389
|
-
*/
|
|
5390
|
-
422: Problem;
|
|
5391
|
-
/**
|
|
5392
|
-
* Too many requests; retry after `Retry-After`.
|
|
5393
|
-
*/
|
|
5394
|
-
429: Problem;
|
|
5395
|
-
/**
|
|
5396
|
-
* Internal error; quote `requestId` to support.
|
|
5397
|
-
*/
|
|
5398
|
-
500: Problem;
|
|
5399
|
-
};
|
|
5400
|
-
export type UpdateNoteError = UpdateNoteErrors[keyof UpdateNoteErrors];
|
|
5401
|
-
export type UpdateNoteResponses = {
|
|
5402
|
-
/**
|
|
5403
|
-
* OK
|
|
5404
|
-
*/
|
|
5405
|
-
200: NoteDto;
|
|
5406
|
-
};
|
|
5407
|
-
export type UpdateNoteResponse = UpdateNoteResponses[keyof UpdateNoteResponses];
|
|
5408
5141
|
export type ListOwnRecordsData = {
|
|
5409
5142
|
body?: never;
|
|
5410
5143
|
headers?: {
|