@firmenakte/api-client 2.30.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 +4 -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 +5 -29
- package/v2/generated/sdk.gen.d.ts.map +1 -1
- package/v2/generated/sdk.gen.js +4 -60
- package/v2/generated/types.gen.d.ts +19 -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;
|
|
@@ -586,6 +577,14 @@ export type CompanyProfileDto = {
|
|
|
586
577
|
tags: Array<string>;
|
|
587
578
|
sources: Array<CompanyProfileSource>;
|
|
588
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;
|
|
589
588
|
};
|
|
590
589
|
export type CompanyProfileSource = {
|
|
591
590
|
kind: string;
|
|
@@ -819,10 +818,6 @@ export type CreateListDto = {
|
|
|
819
818
|
export type CreateMeApiKeyRequest = {
|
|
820
819
|
name: string;
|
|
821
820
|
};
|
|
822
|
-
export type CreateNoteDto = {
|
|
823
|
-
subject: string;
|
|
824
|
-
text: string;
|
|
825
|
-
};
|
|
826
821
|
export type CreateOwnRecordDto = {
|
|
827
822
|
name: string;
|
|
828
823
|
note?: null | string;
|
|
@@ -979,11 +974,6 @@ export type CursorPageOfMineSearchRow = {
|
|
|
979
974
|
nextCursor?: null | string;
|
|
980
975
|
total?: null | number;
|
|
981
976
|
};
|
|
982
|
-
export type CursorPageOfNoteDto = {
|
|
983
|
-
items: Array<NoteDto>;
|
|
984
|
-
nextCursor?: null | string;
|
|
985
|
-
total?: null | number;
|
|
986
|
-
};
|
|
987
977
|
export type CursorPageOfOwnRecordDto = {
|
|
988
978
|
items: Array<OwnRecordDto>;
|
|
989
979
|
nextCursor?: null | string;
|
|
@@ -1259,16 +1249,27 @@ export type FieldDto = {
|
|
|
1259
1249
|
listCount?: null | number;
|
|
1260
1250
|
valueCount?: null | number;
|
|
1261
1251
|
definition?: FieldDefinition;
|
|
1252
|
+
companyCount?: null | number;
|
|
1253
|
+
optionCounts?: null | Array<FieldOptionCountDto>;
|
|
1254
|
+
lists?: null | Array<FieldListDto>;
|
|
1262
1255
|
};
|
|
1263
1256
|
export type FieldGroup = {
|
|
1264
1257
|
code: string;
|
|
1265
1258
|
label: string;
|
|
1266
1259
|
rank?: null | number;
|
|
1267
1260
|
};
|
|
1261
|
+
export type FieldListDto = {
|
|
1262
|
+
id: string;
|
|
1263
|
+
name: string;
|
|
1264
|
+
};
|
|
1268
1265
|
export type FieldOption = {
|
|
1269
1266
|
code: string;
|
|
1270
1267
|
label: string;
|
|
1271
1268
|
};
|
|
1269
|
+
export type FieldOptionCountDto = {
|
|
1270
|
+
option: string;
|
|
1271
|
+
valueCount: number;
|
|
1272
|
+
};
|
|
1272
1273
|
export type FieldProjection = {
|
|
1273
1274
|
default: string;
|
|
1274
1275
|
reads: Array<string>;
|
|
@@ -1706,7 +1707,6 @@ export type MyEntityDto = {
|
|
|
1706
1707
|
values: {
|
|
1707
1708
|
[key: string]: null | string | number | boolean;
|
|
1708
1709
|
};
|
|
1709
|
-
notes: CursorPageOfNoteDto;
|
|
1710
1710
|
activity: CursorPageOfEntityActivityDto;
|
|
1711
1711
|
/**
|
|
1712
1712
|
* Nonempty own-field values, including zero and false.
|
|
@@ -1725,14 +1725,6 @@ export type NetworkNodeType = 'company' | 'person';
|
|
|
1725
1725
|
* Open enum; ignore unknown values.
|
|
1726
1726
|
*/
|
|
1727
1727
|
export type NetworkRelationship = 'assignment' | 'ownership' | 'address';
|
|
1728
|
-
export type NoteDto = {
|
|
1729
|
-
id: string;
|
|
1730
|
-
subject: AccountSubject;
|
|
1731
|
-
text: string;
|
|
1732
|
-
author?: null | AccountAuthor;
|
|
1733
|
-
at: string;
|
|
1734
|
-
editedAt?: null | string;
|
|
1735
|
-
};
|
|
1736
1728
|
export type NotificationDto = {
|
|
1737
1729
|
id: string;
|
|
1738
1730
|
kind: string;
|
|
@@ -2157,9 +2149,6 @@ export type UpdateEntryDto = {
|
|
|
2157
2149
|
export type UpdateImportDto = {
|
|
2158
2150
|
rows: Array<ImportChoice>;
|
|
2159
2151
|
};
|
|
2160
|
-
export type UpdateNoteDto = {
|
|
2161
|
-
text: string;
|
|
2162
|
-
};
|
|
2163
2152
|
export type UpdateRuleDto = {
|
|
2164
2153
|
revision: string;
|
|
2165
2154
|
rule: RuleDefinition;
|
|
@@ -5149,276 +5138,6 @@ export type ListEntityActivityResponses = {
|
|
|
5149
5138
|
200: CursorPageOfEntityActivityDto;
|
|
5150
5139
|
};
|
|
5151
5140
|
export type ListEntityActivityResponse = ListEntityActivityResponses[keyof ListEntityActivityResponses];
|
|
5152
|
-
export type ListNotesData = {
|
|
5153
|
-
body?: never;
|
|
5154
|
-
headers?: {
|
|
5155
|
-
/**
|
|
5156
|
-
* Optional replay key, retained for 24 hours.
|
|
5157
|
-
*/
|
|
5158
|
-
'Idempotency-Key'?: string;
|
|
5159
|
-
};
|
|
5160
|
-
path?: never;
|
|
5161
|
-
query?: {
|
|
5162
|
-
/**
|
|
5163
|
-
* Optional collection filter.
|
|
5164
|
-
*/
|
|
5165
|
-
subject?: string;
|
|
5166
|
-
/**
|
|
5167
|
-
* Page size, default 25, maximum 100. Zero returns the count.
|
|
5168
|
-
*/
|
|
5169
|
-
limit?: number;
|
|
5170
|
-
/**
|
|
5171
|
-
* Opaque cursor from the previous page; expires after 24 hours.
|
|
5172
|
-
*/
|
|
5173
|
-
cursor?: string;
|
|
5174
|
-
};
|
|
5175
|
-
url: '/api/v2/me/notes';
|
|
5176
|
-
};
|
|
5177
|
-
export type ListNotesErrors = {
|
|
5178
|
-
/**
|
|
5179
|
-
* Malformed request, or a cursor from another request.
|
|
5180
|
-
*/
|
|
5181
|
-
400: Problem;
|
|
5182
|
-
/**
|
|
5183
|
-
* No valid API key or session.
|
|
5184
|
-
*/
|
|
5185
|
-
401: Problem;
|
|
5186
|
-
/**
|
|
5187
|
-
* Not enough credits for this call.
|
|
5188
|
-
*/
|
|
5189
|
-
402: Problem;
|
|
5190
|
-
/**
|
|
5191
|
-
* This operation needs a dashboard session.
|
|
5192
|
-
*/
|
|
5193
|
-
403: Problem;
|
|
5194
|
-
/**
|
|
5195
|
-
* Not found, or it belongs to another workspace.
|
|
5196
|
-
*/
|
|
5197
|
-
404: Problem;
|
|
5198
|
-
/**
|
|
5199
|
-
* Conflict with the current state; `code` says which.
|
|
5200
|
-
*/
|
|
5201
|
-
409: Problem;
|
|
5202
|
-
/**
|
|
5203
|
-
* Erased or expired.
|
|
5204
|
-
*/
|
|
5205
|
-
410: Problem;
|
|
5206
|
-
/**
|
|
5207
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5208
|
-
*/
|
|
5209
|
-
422: Problem;
|
|
5210
|
-
/**
|
|
5211
|
-
* Too many requests; retry after `Retry-After`.
|
|
5212
|
-
*/
|
|
5213
|
-
429: Problem;
|
|
5214
|
-
/**
|
|
5215
|
-
* Internal error; quote `requestId` to support.
|
|
5216
|
-
*/
|
|
5217
|
-
500: Problem;
|
|
5218
|
-
};
|
|
5219
|
-
export type ListNotesError = ListNotesErrors[keyof ListNotesErrors];
|
|
5220
|
-
export type ListNotesResponses = {
|
|
5221
|
-
/**
|
|
5222
|
-
* OK
|
|
5223
|
-
*/
|
|
5224
|
-
200: CursorPageOfNoteDto;
|
|
5225
|
-
};
|
|
5226
|
-
export type ListNotesResponse = ListNotesResponses[keyof ListNotesResponses];
|
|
5227
|
-
export type CreateNoteData = {
|
|
5228
|
-
body: CreateNoteDto;
|
|
5229
|
-
headers?: {
|
|
5230
|
-
/**
|
|
5231
|
-
* Optional replay key, retained for 24 hours.
|
|
5232
|
-
*/
|
|
5233
|
-
'Idempotency-Key'?: string;
|
|
5234
|
-
};
|
|
5235
|
-
path?: never;
|
|
5236
|
-
query?: never;
|
|
5237
|
-
url: '/api/v2/me/notes';
|
|
5238
|
-
};
|
|
5239
|
-
export type CreateNoteErrors = {
|
|
5240
|
-
/**
|
|
5241
|
-
* Malformed request, or a cursor from another request.
|
|
5242
|
-
*/
|
|
5243
|
-
400: Problem;
|
|
5244
|
-
/**
|
|
5245
|
-
* No valid API key or session.
|
|
5246
|
-
*/
|
|
5247
|
-
401: Problem;
|
|
5248
|
-
/**
|
|
5249
|
-
* Not enough credits for this call.
|
|
5250
|
-
*/
|
|
5251
|
-
402: Problem;
|
|
5252
|
-
/**
|
|
5253
|
-
* This operation needs a dashboard session.
|
|
5254
|
-
*/
|
|
5255
|
-
403: Problem;
|
|
5256
|
-
/**
|
|
5257
|
-
* Not found, or it belongs to another workspace.
|
|
5258
|
-
*/
|
|
5259
|
-
404: Problem;
|
|
5260
|
-
/**
|
|
5261
|
-
* Conflict with the current state; `code` says which.
|
|
5262
|
-
*/
|
|
5263
|
-
409: Problem;
|
|
5264
|
-
/**
|
|
5265
|
-
* Erased or expired.
|
|
5266
|
-
*/
|
|
5267
|
-
410: Problem;
|
|
5268
|
-
/**
|
|
5269
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5270
|
-
*/
|
|
5271
|
-
422: Problem;
|
|
5272
|
-
/**
|
|
5273
|
-
* Too many requests; retry after `Retry-After`.
|
|
5274
|
-
*/
|
|
5275
|
-
429: Problem;
|
|
5276
|
-
/**
|
|
5277
|
-
* Internal error; quote `requestId` to support.
|
|
5278
|
-
*/
|
|
5279
|
-
500: Problem;
|
|
5280
|
-
};
|
|
5281
|
-
export type CreateNoteError = CreateNoteErrors[keyof CreateNoteErrors];
|
|
5282
|
-
export type CreateNoteResponses = {
|
|
5283
|
-
/**
|
|
5284
|
-
* Created
|
|
5285
|
-
*/
|
|
5286
|
-
201: NoteDto;
|
|
5287
|
-
};
|
|
5288
|
-
export type CreateNoteResponse = CreateNoteResponses[keyof CreateNoteResponses];
|
|
5289
|
-
export type DeleteNoteData = {
|
|
5290
|
-
body?: never;
|
|
5291
|
-
headers?: {
|
|
5292
|
-
/**
|
|
5293
|
-
* Optional replay key, retained for 24 hours.
|
|
5294
|
-
*/
|
|
5295
|
-
'Idempotency-Key'?: string;
|
|
5296
|
-
};
|
|
5297
|
-
path: {
|
|
5298
|
-
/**
|
|
5299
|
-
* Workspace resource ID.
|
|
5300
|
-
*/
|
|
5301
|
-
id: string;
|
|
5302
|
-
};
|
|
5303
|
-
query?: never;
|
|
5304
|
-
url: '/api/v2/me/notes/{id}';
|
|
5305
|
-
};
|
|
5306
|
-
export type DeleteNoteErrors = {
|
|
5307
|
-
/**
|
|
5308
|
-
* Malformed request, or a cursor from another request.
|
|
5309
|
-
*/
|
|
5310
|
-
400: Problem;
|
|
5311
|
-
/**
|
|
5312
|
-
* No valid API key or session.
|
|
5313
|
-
*/
|
|
5314
|
-
401: Problem;
|
|
5315
|
-
/**
|
|
5316
|
-
* Not enough credits for this call.
|
|
5317
|
-
*/
|
|
5318
|
-
402: Problem;
|
|
5319
|
-
/**
|
|
5320
|
-
* This operation needs a dashboard session.
|
|
5321
|
-
*/
|
|
5322
|
-
403: Problem;
|
|
5323
|
-
/**
|
|
5324
|
-
* Not found, or it belongs to another workspace.
|
|
5325
|
-
*/
|
|
5326
|
-
404: Problem;
|
|
5327
|
-
/**
|
|
5328
|
-
* Conflict with the current state; `code` says which.
|
|
5329
|
-
*/
|
|
5330
|
-
409: Problem;
|
|
5331
|
-
/**
|
|
5332
|
-
* Erased or expired.
|
|
5333
|
-
*/
|
|
5334
|
-
410: Problem;
|
|
5335
|
-
/**
|
|
5336
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5337
|
-
*/
|
|
5338
|
-
422: Problem;
|
|
5339
|
-
/**
|
|
5340
|
-
* Too many requests; retry after `Retry-After`.
|
|
5341
|
-
*/
|
|
5342
|
-
429: Problem;
|
|
5343
|
-
/**
|
|
5344
|
-
* Internal error; quote `requestId` to support.
|
|
5345
|
-
*/
|
|
5346
|
-
500: Problem;
|
|
5347
|
-
};
|
|
5348
|
-
export type DeleteNoteError = DeleteNoteErrors[keyof DeleteNoteErrors];
|
|
5349
|
-
export type DeleteNoteResponses = {
|
|
5350
|
-
/**
|
|
5351
|
-
* No Content
|
|
5352
|
-
*/
|
|
5353
|
-
204: any;
|
|
5354
|
-
};
|
|
5355
|
-
export type UpdateNoteData = {
|
|
5356
|
-
body: UpdateNoteDto;
|
|
5357
|
-
headers?: {
|
|
5358
|
-
/**
|
|
5359
|
-
* Optional replay key, retained for 24 hours.
|
|
5360
|
-
*/
|
|
5361
|
-
'Idempotency-Key'?: string;
|
|
5362
|
-
};
|
|
5363
|
-
path: {
|
|
5364
|
-
/**
|
|
5365
|
-
* Workspace resource ID.
|
|
5366
|
-
*/
|
|
5367
|
-
id: string;
|
|
5368
|
-
};
|
|
5369
|
-
query?: never;
|
|
5370
|
-
url: '/api/v2/me/notes/{id}';
|
|
5371
|
-
};
|
|
5372
|
-
export type UpdateNoteErrors = {
|
|
5373
|
-
/**
|
|
5374
|
-
* Malformed request, or a cursor from another request.
|
|
5375
|
-
*/
|
|
5376
|
-
400: Problem;
|
|
5377
|
-
/**
|
|
5378
|
-
* No valid API key or session.
|
|
5379
|
-
*/
|
|
5380
|
-
401: Problem;
|
|
5381
|
-
/**
|
|
5382
|
-
* Not enough credits for this call.
|
|
5383
|
-
*/
|
|
5384
|
-
402: Problem;
|
|
5385
|
-
/**
|
|
5386
|
-
* This operation needs a dashboard session.
|
|
5387
|
-
*/
|
|
5388
|
-
403: Problem;
|
|
5389
|
-
/**
|
|
5390
|
-
* Not found, or it belongs to another workspace.
|
|
5391
|
-
*/
|
|
5392
|
-
404: Problem;
|
|
5393
|
-
/**
|
|
5394
|
-
* Conflict with the current state; `code` says which.
|
|
5395
|
-
*/
|
|
5396
|
-
409: Problem;
|
|
5397
|
-
/**
|
|
5398
|
-
* Erased or expired.
|
|
5399
|
-
*/
|
|
5400
|
-
410: Problem;
|
|
5401
|
-
/**
|
|
5402
|
-
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
5403
|
-
*/
|
|
5404
|
-
422: Problem;
|
|
5405
|
-
/**
|
|
5406
|
-
* Too many requests; retry after `Retry-After`.
|
|
5407
|
-
*/
|
|
5408
|
-
429: Problem;
|
|
5409
|
-
/**
|
|
5410
|
-
* Internal error; quote `requestId` to support.
|
|
5411
|
-
*/
|
|
5412
|
-
500: Problem;
|
|
5413
|
-
};
|
|
5414
|
-
export type UpdateNoteError = UpdateNoteErrors[keyof UpdateNoteErrors];
|
|
5415
|
-
export type UpdateNoteResponses = {
|
|
5416
|
-
/**
|
|
5417
|
-
* OK
|
|
5418
|
-
*/
|
|
5419
|
-
200: NoteDto;
|
|
5420
|
-
};
|
|
5421
|
-
export type UpdateNoteResponse = UpdateNoteResponses[keyof UpdateNoteResponses];
|
|
5422
5141
|
export type ListOwnRecordsData = {
|
|
5423
5142
|
body?: never;
|
|
5424
5143
|
headers?: {
|