@firmenakte/api-client 2.23.0 → 2.24.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 +2 -2
- package/client.js +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 +31 -1
- package/v2/generated/sdk.gen.d.ts.map +1 -1
- package/v2/generated/sdk.gen.js +64 -0
- package/v2/generated/types.gen.d.ts +450 -1
- package/v2/generated/types.gen.d.ts.map +1 -1
|
@@ -22,6 +22,77 @@ export type AccountSubject = {
|
|
|
22
22
|
city?: null | string;
|
|
23
23
|
entryId?: null | string;
|
|
24
24
|
};
|
|
25
|
+
export type AddressCoordinatesResponse = {
|
|
26
|
+
lat: number;
|
|
27
|
+
lng: number;
|
|
28
|
+
source: string;
|
|
29
|
+
transformationAccuracyMetres: number;
|
|
30
|
+
determination: string;
|
|
31
|
+
sourceMethod: string;
|
|
32
|
+
};
|
|
33
|
+
export type AddressGeographyReference = {
|
|
34
|
+
id: string;
|
|
35
|
+
type: string;
|
|
36
|
+
code: string;
|
|
37
|
+
label: string;
|
|
38
|
+
};
|
|
39
|
+
export type AddressProvenance = {
|
|
40
|
+
source: string;
|
|
41
|
+
sourceDate: string;
|
|
42
|
+
importedAt: string;
|
|
43
|
+
datasetVersion: string;
|
|
44
|
+
license: string;
|
|
45
|
+
attribution: string;
|
|
46
|
+
processing: string;
|
|
47
|
+
};
|
|
48
|
+
export type AddressUpdateStatus = {
|
|
49
|
+
status: string;
|
|
50
|
+
sourceDate?: null | string;
|
|
51
|
+
importedAt?: null | string;
|
|
52
|
+
datasetVersion?: null | string;
|
|
53
|
+
lastCheck?: null | string;
|
|
54
|
+
lastError?: null | string;
|
|
55
|
+
revision?: null | string;
|
|
56
|
+
};
|
|
57
|
+
export type AddressValidationRequest = {
|
|
58
|
+
/**
|
|
59
|
+
* Country code/name; required.
|
|
60
|
+
*/
|
|
61
|
+
country: string;
|
|
62
|
+
/**
|
|
63
|
+
* Full address; or supply street fields.
|
|
64
|
+
*/
|
|
65
|
+
text?: null | string;
|
|
66
|
+
/**
|
|
67
|
+
* Street.
|
|
68
|
+
*/
|
|
69
|
+
street?: null | string;
|
|
70
|
+
/**
|
|
71
|
+
* Base house number.
|
|
72
|
+
*/
|
|
73
|
+
houseNumber?: null | string;
|
|
74
|
+
/**
|
|
75
|
+
* Postal code.
|
|
76
|
+
*/
|
|
77
|
+
zip?: null | string;
|
|
78
|
+
/**
|
|
79
|
+
* City.
|
|
80
|
+
*/
|
|
81
|
+
city?: null | string;
|
|
82
|
+
/**
|
|
83
|
+
* Unit; never BEV-verified.
|
|
84
|
+
*/
|
|
85
|
+
unit?: null | string;
|
|
86
|
+
};
|
|
87
|
+
export type AddressValidationResponse = {
|
|
88
|
+
status: string;
|
|
89
|
+
address?: null | ReferenceAddressResponse;
|
|
90
|
+
candidates: Array<ReferenceAddressResponse>;
|
|
91
|
+
changes: Array<string>;
|
|
92
|
+
unitStatus: string;
|
|
93
|
+
coverage: string;
|
|
94
|
+
datasetVersion?: null | string;
|
|
95
|
+
};
|
|
25
96
|
/**
|
|
26
97
|
* A Firmenakte ID or register alias, for example fnr:56247t, resolved to the canonical record.
|
|
27
98
|
*/
|
|
@@ -59,6 +130,10 @@ export type CatalogEntry = {
|
|
|
59
130
|
fieldDetailSince?: null | string;
|
|
60
131
|
detailCoverage?: null | string;
|
|
61
132
|
parentCode?: null | string;
|
|
133
|
+
parentCodes?: null | Array<string>;
|
|
134
|
+
geographyId?: null | string;
|
|
135
|
+
geographyType?: null | string;
|
|
136
|
+
datasetVersion?: null | string;
|
|
62
137
|
childCount?: null | number;
|
|
63
138
|
refCount?: null | number;
|
|
64
139
|
path?: null | Array<CatalogPathEntry>;
|
|
@@ -259,6 +334,11 @@ export type CompanyAddress = {
|
|
|
259
334
|
current: boolean;
|
|
260
335
|
source: string;
|
|
261
336
|
country?: null | string;
|
|
337
|
+
addressId?: null | string;
|
|
338
|
+
matchStatus?: null | string;
|
|
339
|
+
datasetVersion?: null | string;
|
|
340
|
+
unit?: null | string;
|
|
341
|
+
until?: null | string;
|
|
262
342
|
};
|
|
263
343
|
export type CompanyAggregateGroup = {
|
|
264
344
|
groupBy: string;
|
|
@@ -597,6 +677,11 @@ export type CompanySeat = {
|
|
|
597
677
|
state?: null | string;
|
|
598
678
|
country?: null | string;
|
|
599
679
|
location?: null | GeoLocation;
|
|
680
|
+
addressId?: null | string;
|
|
681
|
+
matchStatus?: null | string;
|
|
682
|
+
coordinateSource?: null | string;
|
|
683
|
+
datasetVersion?: null | string;
|
|
684
|
+
role?: null | string;
|
|
600
685
|
};
|
|
601
686
|
export type CompanyTopItem = {
|
|
602
687
|
group: TopGroup;
|
|
@@ -907,6 +992,11 @@ export type CursorPageOfPlaceEntry = {
|
|
|
907
992
|
nextCursor?: null | string;
|
|
908
993
|
total?: null | number;
|
|
909
994
|
};
|
|
995
|
+
export type CursorPageOfReferenceAddressResponse = {
|
|
996
|
+
items: Array<ReferenceAddressResponse>;
|
|
997
|
+
nextCursor?: null | string;
|
|
998
|
+
total?: null | number;
|
|
999
|
+
};
|
|
910
1000
|
export type CursorPageOfRuleDto = {
|
|
911
1001
|
items: Array<RuleDto>;
|
|
912
1002
|
nextCursor?: null | string;
|
|
@@ -1238,6 +1328,16 @@ export type GeoCluster = {
|
|
|
1238
1328
|
count: number;
|
|
1239
1329
|
kind?: null | string;
|
|
1240
1330
|
};
|
|
1331
|
+
export type GeographicPlaceResponse = {
|
|
1332
|
+
id: string;
|
|
1333
|
+
type: string;
|
|
1334
|
+
code: string;
|
|
1335
|
+
name: string;
|
|
1336
|
+
active: boolean;
|
|
1337
|
+
sourceDate: string;
|
|
1338
|
+
datasetVersion: string;
|
|
1339
|
+
parents: Array<AddressGeographyReference>;
|
|
1340
|
+
};
|
|
1241
1341
|
export type GeoLocation = {
|
|
1242
1342
|
lat: number;
|
|
1243
1343
|
lng: number;
|
|
@@ -1732,6 +1832,9 @@ export type PlaceEntry = {
|
|
|
1732
1832
|
aliases?: null | Array<string>;
|
|
1733
1833
|
companyCount?: null | number;
|
|
1734
1834
|
parentCode?: null | string;
|
|
1835
|
+
parentCodes?: null | Array<string>;
|
|
1836
|
+
geographyId?: null | string;
|
|
1837
|
+
datasetVersion?: null | string;
|
|
1735
1838
|
level?: null | number;
|
|
1736
1839
|
childCount?: null | number;
|
|
1737
1840
|
refCount?: null | number;
|
|
@@ -1765,9 +1868,23 @@ export type ReadNotificationsDto = {
|
|
|
1765
1868
|
ids?: null | Array<string>;
|
|
1766
1869
|
all?: boolean;
|
|
1767
1870
|
};
|
|
1871
|
+
export type ReferenceAddressResponse = {
|
|
1872
|
+
id: string;
|
|
1873
|
+
bevCode: string;
|
|
1874
|
+
street: string;
|
|
1875
|
+
houseNumber: string;
|
|
1876
|
+
zip: string;
|
|
1877
|
+
city: string;
|
|
1878
|
+
country: string;
|
|
1879
|
+
active: boolean;
|
|
1880
|
+
geography: Array<AddressGeographyReference>;
|
|
1881
|
+
coordinates: AddressCoordinatesResponse;
|
|
1882
|
+
provenance: AddressProvenance;
|
|
1883
|
+
};
|
|
1768
1884
|
export type RegisterIdentifier = {
|
|
1769
1885
|
scheme: string;
|
|
1770
1886
|
value: string;
|
|
1887
|
+
source?: null | string;
|
|
1771
1888
|
};
|
|
1772
1889
|
export type RegistrationAddress = {
|
|
1773
1890
|
street?: null | string;
|
|
@@ -7769,7 +7886,7 @@ export type ListFieldCatalogData = {
|
|
|
7769
7886
|
*/
|
|
7770
7887
|
filterable?: boolean;
|
|
7771
7888
|
/**
|
|
7772
|
-
* Optional exact group.code from field metadata,
|
|
7889
|
+
* Optional exact group.code from this subject's field metadata: basics, location, activity, status, people, figures or account. Groups describe the field's meaning, independently of its value type.
|
|
7773
7890
|
*/
|
|
7774
7891
|
group?: string;
|
|
7775
7892
|
};
|
|
@@ -8888,6 +9005,338 @@ export type ListSimilarCompaniesResponses = {
|
|
|
8888
9005
|
200: CursorPageOfSimilarCompany;
|
|
8889
9006
|
};
|
|
8890
9007
|
export type ListSimilarCompaniesResponse = ListSimilarCompaniesResponses[keyof ListSimilarCompaniesResponses];
|
|
9008
|
+
export type GetAddressStatusData = {
|
|
9009
|
+
body?: never;
|
|
9010
|
+
headers?: {
|
|
9011
|
+
/**
|
|
9012
|
+
* Optional replay key, retained for 24 hours. Replays are free.
|
|
9013
|
+
*/
|
|
9014
|
+
'Idempotency-Key'?: string;
|
|
9015
|
+
};
|
|
9016
|
+
path?: never;
|
|
9017
|
+
query?: never;
|
|
9018
|
+
url: '/api/v2/addresses/status';
|
|
9019
|
+
};
|
|
9020
|
+
export type GetAddressStatusErrors = {
|
|
9021
|
+
/**
|
|
9022
|
+
* Malformed request, or a cursor from another request.
|
|
9023
|
+
*/
|
|
9024
|
+
400: Problem;
|
|
9025
|
+
/**
|
|
9026
|
+
* No valid API key or session.
|
|
9027
|
+
*/
|
|
9028
|
+
401: Problem;
|
|
9029
|
+
/**
|
|
9030
|
+
* Not enough credits for this call.
|
|
9031
|
+
*/
|
|
9032
|
+
402: Problem;
|
|
9033
|
+
/**
|
|
9034
|
+
* Not found, or it belongs to another workspace.
|
|
9035
|
+
*/
|
|
9036
|
+
404: Problem;
|
|
9037
|
+
/**
|
|
9038
|
+
* Conflict with the current state; `code` says which.
|
|
9039
|
+
*/
|
|
9040
|
+
409: Problem;
|
|
9041
|
+
/**
|
|
9042
|
+
* Erased or expired.
|
|
9043
|
+
*/
|
|
9044
|
+
410: Problem;
|
|
9045
|
+
/**
|
|
9046
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
9047
|
+
*/
|
|
9048
|
+
422: Problem;
|
|
9049
|
+
/**
|
|
9050
|
+
* Too many requests; retry after `Retry-After`.
|
|
9051
|
+
*/
|
|
9052
|
+
429: Problem;
|
|
9053
|
+
/**
|
|
9054
|
+
* Internal error; quote `requestId` to support.
|
|
9055
|
+
*/
|
|
9056
|
+
500: Problem;
|
|
9057
|
+
};
|
|
9058
|
+
export type GetAddressStatusError = GetAddressStatusErrors[keyof GetAddressStatusErrors];
|
|
9059
|
+
export type GetAddressStatusResponses = {
|
|
9060
|
+
/**
|
|
9061
|
+
* Read address snapshot status.
|
|
9062
|
+
*/
|
|
9063
|
+
200: AddressUpdateStatus;
|
|
9064
|
+
};
|
|
9065
|
+
export type GetAddressStatusResponse = GetAddressStatusResponses[keyof GetAddressStatusResponses];
|
|
9066
|
+
export type SearchAddressesData = {
|
|
9067
|
+
body?: never;
|
|
9068
|
+
headers?: {
|
|
9069
|
+
/**
|
|
9070
|
+
* ETag from a previous read. A match returns a free 304.
|
|
9071
|
+
*/
|
|
9072
|
+
'If-None-Match'?: string;
|
|
9073
|
+
/**
|
|
9074
|
+
* Optional replay key, retained for 24 hours. Replays are free.
|
|
9075
|
+
*/
|
|
9076
|
+
'Idempotency-Key'?: string;
|
|
9077
|
+
};
|
|
9078
|
+
path?: never;
|
|
9079
|
+
query?: {
|
|
9080
|
+
/**
|
|
9081
|
+
* Address search text, 2–200 characters.
|
|
9082
|
+
*/
|
|
9083
|
+
q?: string;
|
|
9084
|
+
/**
|
|
9085
|
+
* Page size, 1–100; default 25. Zero is not supported.
|
|
9086
|
+
*/
|
|
9087
|
+
limit?: number;
|
|
9088
|
+
/**
|
|
9089
|
+
* Opaque continuation from nextCursor. Bound to the query, geography, postal code and active snapshot; expires after 24 hours.
|
|
9090
|
+
*/
|
|
9091
|
+
cursor?: string;
|
|
9092
|
+
/**
|
|
9093
|
+
* Optional G-ID restricting geography.
|
|
9094
|
+
*/
|
|
9095
|
+
geographyId?: string;
|
|
9096
|
+
/**
|
|
9097
|
+
* Optional postal code.
|
|
9098
|
+
*/
|
|
9099
|
+
zip?: string;
|
|
9100
|
+
};
|
|
9101
|
+
url: '/api/v2/addresses';
|
|
9102
|
+
};
|
|
9103
|
+
export type SearchAddressesErrors = {
|
|
9104
|
+
/**
|
|
9105
|
+
* Malformed request, or a cursor from another request.
|
|
9106
|
+
*/
|
|
9107
|
+
400: Problem;
|
|
9108
|
+
/**
|
|
9109
|
+
* No valid API key or session.
|
|
9110
|
+
*/
|
|
9111
|
+
401: Problem;
|
|
9112
|
+
/**
|
|
9113
|
+
* Not enough credits for this call.
|
|
9114
|
+
*/
|
|
9115
|
+
402: Problem;
|
|
9116
|
+
/**
|
|
9117
|
+
* Not found, or it belongs to another workspace.
|
|
9118
|
+
*/
|
|
9119
|
+
404: Problem;
|
|
9120
|
+
/**
|
|
9121
|
+
* Conflict with the current state; `code` says which.
|
|
9122
|
+
*/
|
|
9123
|
+
409: Problem;
|
|
9124
|
+
/**
|
|
9125
|
+
* Erased or expired.
|
|
9126
|
+
*/
|
|
9127
|
+
410: Problem;
|
|
9128
|
+
/**
|
|
9129
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
9130
|
+
*/
|
|
9131
|
+
422: Problem;
|
|
9132
|
+
/**
|
|
9133
|
+
* Too many requests; retry after `Retry-After`.
|
|
9134
|
+
*/
|
|
9135
|
+
429: Problem;
|
|
9136
|
+
/**
|
|
9137
|
+
* Internal error; quote `requestId` to support.
|
|
9138
|
+
*/
|
|
9139
|
+
500: Problem;
|
|
9140
|
+
};
|
|
9141
|
+
export type SearchAddressesError = SearchAddressesErrors[keyof SearchAddressesErrors];
|
|
9142
|
+
export type SearchAddressesResponses = {
|
|
9143
|
+
/**
|
|
9144
|
+
* Search Austrian reference addresses.
|
|
9145
|
+
*/
|
|
9146
|
+
200: CursorPageOfReferenceAddressResponse;
|
|
9147
|
+
};
|
|
9148
|
+
export type SearchAddressesResponse = SearchAddressesResponses[keyof SearchAddressesResponses];
|
|
9149
|
+
export type CheckAddressData = {
|
|
9150
|
+
/**
|
|
9151
|
+
* Country is required. Supply full address text or structured street fields. Matching needs a base house number, postal code and city; units remain unverified. The input is never saved.
|
|
9152
|
+
*/
|
|
9153
|
+
body: AddressValidationRequest;
|
|
9154
|
+
headers?: {
|
|
9155
|
+
/**
|
|
9156
|
+
* Optional replay key, retained for 24 hours. Replays are free.
|
|
9157
|
+
*/
|
|
9158
|
+
'Idempotency-Key'?: string;
|
|
9159
|
+
};
|
|
9160
|
+
path?: never;
|
|
9161
|
+
query?: never;
|
|
9162
|
+
url: '/api/v2/addresses/validate';
|
|
9163
|
+
};
|
|
9164
|
+
export type CheckAddressErrors = {
|
|
9165
|
+
/**
|
|
9166
|
+
* Malformed request, or a cursor from another request.
|
|
9167
|
+
*/
|
|
9168
|
+
400: Problem;
|
|
9169
|
+
/**
|
|
9170
|
+
* No valid API key or session.
|
|
9171
|
+
*/
|
|
9172
|
+
401: Problem;
|
|
9173
|
+
/**
|
|
9174
|
+
* Not enough credits for this call.
|
|
9175
|
+
*/
|
|
9176
|
+
402: Problem;
|
|
9177
|
+
/**
|
|
9178
|
+
* Not found, or it belongs to another workspace.
|
|
9179
|
+
*/
|
|
9180
|
+
404: Problem;
|
|
9181
|
+
/**
|
|
9182
|
+
* Conflict with the current state; `code` says which.
|
|
9183
|
+
*/
|
|
9184
|
+
409: Problem;
|
|
9185
|
+
/**
|
|
9186
|
+
* Erased or expired.
|
|
9187
|
+
*/
|
|
9188
|
+
410: Problem;
|
|
9189
|
+
/**
|
|
9190
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
9191
|
+
*/
|
|
9192
|
+
422: Problem;
|
|
9193
|
+
/**
|
|
9194
|
+
* Too many requests; retry after `Retry-After`.
|
|
9195
|
+
*/
|
|
9196
|
+
429: Problem;
|
|
9197
|
+
/**
|
|
9198
|
+
* Internal error; quote `requestId` to support.
|
|
9199
|
+
*/
|
|
9200
|
+
500: Problem;
|
|
9201
|
+
};
|
|
9202
|
+
export type CheckAddressError = CheckAddressErrors[keyof CheckAddressErrors];
|
|
9203
|
+
export type CheckAddressResponses = {
|
|
9204
|
+
/**
|
|
9205
|
+
* Check an address against the Austrian snapshot.
|
|
9206
|
+
*/
|
|
9207
|
+
200: AddressValidationResponse;
|
|
9208
|
+
};
|
|
9209
|
+
export type CheckAddressResponse = CheckAddressResponses[keyof CheckAddressResponses];
|
|
9210
|
+
export type GetAddressData = {
|
|
9211
|
+
body?: never;
|
|
9212
|
+
headers?: {
|
|
9213
|
+
/**
|
|
9214
|
+
* ETag from a previous read. A match returns a free 304.
|
|
9215
|
+
*/
|
|
9216
|
+
'If-None-Match'?: string;
|
|
9217
|
+
/**
|
|
9218
|
+
* Optional replay key, retained for 24 hours. Replays are free.
|
|
9219
|
+
*/
|
|
9220
|
+
'Idempotency-Key'?: string;
|
|
9221
|
+
};
|
|
9222
|
+
path: {
|
|
9223
|
+
/**
|
|
9224
|
+
* Stable A Firmenakte-ID (compact or hyphenated, including merged IDs), or bev:<address-code> alias. Resolves published current or historical addresses.
|
|
9225
|
+
*/
|
|
9226
|
+
id: AkteId;
|
|
9227
|
+
};
|
|
9228
|
+
query?: never;
|
|
9229
|
+
url: '/api/v2/addresses/{id}';
|
|
9230
|
+
};
|
|
9231
|
+
export type GetAddressErrors = {
|
|
9232
|
+
/**
|
|
9233
|
+
* Malformed request, or a cursor from another request.
|
|
9234
|
+
*/
|
|
9235
|
+
400: Problem;
|
|
9236
|
+
/**
|
|
9237
|
+
* No valid API key or session.
|
|
9238
|
+
*/
|
|
9239
|
+
401: Problem;
|
|
9240
|
+
/**
|
|
9241
|
+
* Not enough credits for this call.
|
|
9242
|
+
*/
|
|
9243
|
+
402: Problem;
|
|
9244
|
+
/**
|
|
9245
|
+
* Not found, or it belongs to another workspace.
|
|
9246
|
+
*/
|
|
9247
|
+
404: Problem;
|
|
9248
|
+
/**
|
|
9249
|
+
* Conflict with the current state; `code` says which.
|
|
9250
|
+
*/
|
|
9251
|
+
409: Problem;
|
|
9252
|
+
/**
|
|
9253
|
+
* Erased or expired.
|
|
9254
|
+
*/
|
|
9255
|
+
410: Problem;
|
|
9256
|
+
/**
|
|
9257
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
9258
|
+
*/
|
|
9259
|
+
422: Problem;
|
|
9260
|
+
/**
|
|
9261
|
+
* Too many requests; retry after `Retry-After`.
|
|
9262
|
+
*/
|
|
9263
|
+
429: Problem;
|
|
9264
|
+
/**
|
|
9265
|
+
* Internal error; quote `requestId` to support.
|
|
9266
|
+
*/
|
|
9267
|
+
500: Problem;
|
|
9268
|
+
};
|
|
9269
|
+
export type GetAddressError = GetAddressErrors[keyof GetAddressErrors];
|
|
9270
|
+
export type GetAddressResponses = {
|
|
9271
|
+
/**
|
|
9272
|
+
* Get a reference address.
|
|
9273
|
+
*/
|
|
9274
|
+
200: ReferenceAddressResponse;
|
|
9275
|
+
};
|
|
9276
|
+
export type GetAddressResponse = GetAddressResponses[keyof GetAddressResponses];
|
|
9277
|
+
export type GetPlaceData = {
|
|
9278
|
+
body?: never;
|
|
9279
|
+
headers?: {
|
|
9280
|
+
/**
|
|
9281
|
+
* ETag from a previous read. A match returns a free 304.
|
|
9282
|
+
*/
|
|
9283
|
+
'If-None-Match'?: string;
|
|
9284
|
+
};
|
|
9285
|
+
path: {
|
|
9286
|
+
/**
|
|
9287
|
+
* Stable G Firmenakte-ID (compact or hyphenated, including merged IDs), or geographic source alias such as gkz:10101. Resolves published current or retired geography.
|
|
9288
|
+
*/
|
|
9289
|
+
id: AkteId;
|
|
9290
|
+
};
|
|
9291
|
+
query?: never;
|
|
9292
|
+
url: '/api/v2/places/{id}';
|
|
9293
|
+
};
|
|
9294
|
+
export type GetPlaceErrors = {
|
|
9295
|
+
/**
|
|
9296
|
+
* Malformed request, or a cursor from another request.
|
|
9297
|
+
*/
|
|
9298
|
+
400: Problem;
|
|
9299
|
+
/**
|
|
9300
|
+
* No valid API key or session.
|
|
9301
|
+
*/
|
|
9302
|
+
401: Problem;
|
|
9303
|
+
/**
|
|
9304
|
+
* Not enough credits for this call.
|
|
9305
|
+
*/
|
|
9306
|
+
402: Problem;
|
|
9307
|
+
/**
|
|
9308
|
+
* Not found, or it belongs to another workspace.
|
|
9309
|
+
*/
|
|
9310
|
+
404: Problem;
|
|
9311
|
+
/**
|
|
9312
|
+
* Conflict with the current state; `code` says which.
|
|
9313
|
+
*/
|
|
9314
|
+
409: Problem;
|
|
9315
|
+
/**
|
|
9316
|
+
* Erased or expired.
|
|
9317
|
+
*/
|
|
9318
|
+
410: Problem;
|
|
9319
|
+
/**
|
|
9320
|
+
* Validation failed; `errors[]` names each parameter or JSON pointer.
|
|
9321
|
+
*/
|
|
9322
|
+
422: Problem;
|
|
9323
|
+
/**
|
|
9324
|
+
* Too many requests; retry after `Retry-After`.
|
|
9325
|
+
*/
|
|
9326
|
+
429: Problem;
|
|
9327
|
+
/**
|
|
9328
|
+
* Internal error; quote `requestId` to support.
|
|
9329
|
+
*/
|
|
9330
|
+
500: Problem;
|
|
9331
|
+
};
|
|
9332
|
+
export type GetPlaceError = GetPlaceErrors[keyof GetPlaceErrors];
|
|
9333
|
+
export type GetPlaceResponses = {
|
|
9334
|
+
/**
|
|
9335
|
+
* Get a geographic place.
|
|
9336
|
+
*/
|
|
9337
|
+
200: GeographicPlaceResponse;
|
|
9338
|
+
};
|
|
9339
|
+
export type GetPlaceResponse = GetPlaceResponses[keyof GetPlaceResponses];
|
|
8891
9340
|
export type GetDocumentContentData = {
|
|
8892
9341
|
body?: never;
|
|
8893
9342
|
headers?: {
|