@opusdns/api 0.257.0 → 0.259.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/src/helpers/constants.ts +105 -1
- package/src/helpers/keys.ts +840 -0
- package/src/helpers/requests.d.ts +300 -1
- package/src/helpers/responses.d.ts +649 -1
- package/src/helpers/schemas-arrays.d.ts +29 -1
- package/src/helpers/schemas.d.ts +144 -0
- package/src/openapi.yaml +722 -1
- package/src/schema.d.ts +727 -0
package/src/schema.d.ts
CHANGED
|
@@ -1917,6 +1917,98 @@ export interface paths {
|
|
|
1917
1917
|
patch?: never;
|
|
1918
1918
|
trace?: never;
|
|
1919
1919
|
};
|
|
1920
|
+
"/v1/tags": {
|
|
1921
|
+
parameters: {
|
|
1922
|
+
query?: never;
|
|
1923
|
+
header?: never;
|
|
1924
|
+
path?: never;
|
|
1925
|
+
cookie?: never;
|
|
1926
|
+
};
|
|
1927
|
+
/**
|
|
1928
|
+
* List tags
|
|
1929
|
+
* @description Retrieves a paginated list of tags
|
|
1930
|
+
*/
|
|
1931
|
+
get: operations["list_tags_v1_tags_get"];
|
|
1932
|
+
put?: never;
|
|
1933
|
+
/**
|
|
1934
|
+
* Create a tag
|
|
1935
|
+
* @description Create a new tag
|
|
1936
|
+
*/
|
|
1937
|
+
post: operations["create_tag_v1_tags_post"];
|
|
1938
|
+
delete?: never;
|
|
1939
|
+
options?: never;
|
|
1940
|
+
head?: never;
|
|
1941
|
+
patch?: never;
|
|
1942
|
+
trace?: never;
|
|
1943
|
+
};
|
|
1944
|
+
"/v1/tags/objects": {
|
|
1945
|
+
parameters: {
|
|
1946
|
+
query?: never;
|
|
1947
|
+
header?: never;
|
|
1948
|
+
path?: never;
|
|
1949
|
+
cookie?: never;
|
|
1950
|
+
};
|
|
1951
|
+
get?: never;
|
|
1952
|
+
put?: never;
|
|
1953
|
+
/**
|
|
1954
|
+
* Bulk tag or untag objects
|
|
1955
|
+
* @description Add, remove, or replace tags on multiple objects at once. 'replace' is mutually exclusive with 'add' and 'remove'.
|
|
1956
|
+
*/
|
|
1957
|
+
post: operations["bulk_update_object_tags_v1_tags_objects_post"];
|
|
1958
|
+
delete?: never;
|
|
1959
|
+
options?: never;
|
|
1960
|
+
head?: never;
|
|
1961
|
+
patch?: never;
|
|
1962
|
+
trace?: never;
|
|
1963
|
+
};
|
|
1964
|
+
"/v1/tags/{tag_id}": {
|
|
1965
|
+
parameters: {
|
|
1966
|
+
query?: never;
|
|
1967
|
+
header?: never;
|
|
1968
|
+
path?: never;
|
|
1969
|
+
cookie?: never;
|
|
1970
|
+
};
|
|
1971
|
+
/**
|
|
1972
|
+
* Get a tag
|
|
1973
|
+
* @description Retrieve a single tag by its ID
|
|
1974
|
+
*/
|
|
1975
|
+
get: operations["get_tag_v1_tags__tag_id__get"];
|
|
1976
|
+
put?: never;
|
|
1977
|
+
post?: never;
|
|
1978
|
+
/**
|
|
1979
|
+
* Delete a tag
|
|
1980
|
+
* @description Delete a tag
|
|
1981
|
+
*/
|
|
1982
|
+
delete: operations["delete_tag_v1_tags__tag_id__delete"];
|
|
1983
|
+
options?: never;
|
|
1984
|
+
head?: never;
|
|
1985
|
+
/**
|
|
1986
|
+
* Update a tag
|
|
1987
|
+
* @description Update a tag's label, description, or color
|
|
1988
|
+
*/
|
|
1989
|
+
patch: operations["update_tag_v1_tags__tag_id__patch"];
|
|
1990
|
+
trace?: never;
|
|
1991
|
+
};
|
|
1992
|
+
"/v1/tags/{tag_id}/objects": {
|
|
1993
|
+
parameters: {
|
|
1994
|
+
query?: never;
|
|
1995
|
+
header?: never;
|
|
1996
|
+
path?: never;
|
|
1997
|
+
cookie?: never;
|
|
1998
|
+
};
|
|
1999
|
+
get?: never;
|
|
2000
|
+
put?: never;
|
|
2001
|
+
/**
|
|
2002
|
+
* Tag or untag objects
|
|
2003
|
+
* @description Add or remove objects from a tag. Objects are matched by the tag's type (e.g. a DOMAIN tag only accepts domain IDs).
|
|
2004
|
+
*/
|
|
2005
|
+
post: operations["update_tag_objects_v1_tags__tag_id__objects_post"];
|
|
2006
|
+
delete?: never;
|
|
2007
|
+
options?: never;
|
|
2008
|
+
head?: never;
|
|
2009
|
+
patch?: never;
|
|
2010
|
+
trace?: never;
|
|
2011
|
+
};
|
|
1920
2012
|
"/v1/tlds/": {
|
|
1921
2013
|
parameters: {
|
|
1922
2014
|
query?: never;
|
|
@@ -2294,6 +2386,31 @@ export interface components {
|
|
|
2294
2386
|
/** Unique */
|
|
2295
2387
|
unique: number;
|
|
2296
2388
|
};
|
|
2389
|
+
/** BulkObjectTagChanges */
|
|
2390
|
+
BulkObjectTagChanges: {
|
|
2391
|
+
/**
|
|
2392
|
+
* Add
|
|
2393
|
+
* @description Tag IDs to add to the objects.
|
|
2394
|
+
*/
|
|
2395
|
+
add?: TypeId<"tag">[];
|
|
2396
|
+
/**
|
|
2397
|
+
* Objects
|
|
2398
|
+
* @description Object references to operate on. TypeIDs and resource names may be mixed.
|
|
2399
|
+
*/
|
|
2400
|
+
objects: string[];
|
|
2401
|
+
/**
|
|
2402
|
+
* Remove
|
|
2403
|
+
* @description Tag IDs to remove from the objects.
|
|
2404
|
+
*/
|
|
2405
|
+
remove?: TypeId<"tag">[];
|
|
2406
|
+
/**
|
|
2407
|
+
* Replace
|
|
2408
|
+
* @description Tag IDs to set as the complete tag set for the objects, replacing any existing tags. Mutually exclusive with 'add' and 'remove'. An empty list removes all tags.
|
|
2409
|
+
*/
|
|
2410
|
+
replace?: TypeId<"tag">[] | null;
|
|
2411
|
+
/** @description The object/tag type (e.g. DOMAIN, CONTACT, ZONE) */
|
|
2412
|
+
type: components["schemas"]["TagType"];
|
|
2413
|
+
};
|
|
2297
2414
|
/** CommandError */
|
|
2298
2415
|
CommandError: {
|
|
2299
2416
|
/**
|
|
@@ -6440,6 +6557,37 @@ export interface components {
|
|
|
6440
6557
|
* @enum {string}
|
|
6441
6558
|
*/
|
|
6442
6559
|
ObjectLogSortField: "object_log_id" | "object_id" | "object_type" | "action" | "created_on" | "server_request_id" | "performed_by_type" | "performed_by_id";
|
|
6560
|
+
/** ObjectTagChanges */
|
|
6561
|
+
ObjectTagChanges: {
|
|
6562
|
+
/**
|
|
6563
|
+
* Add
|
|
6564
|
+
* @description Object TypeIDs or resource names to tag. TypeIDs and names may be mixed.
|
|
6565
|
+
*/
|
|
6566
|
+
add?: string[];
|
|
6567
|
+
/**
|
|
6568
|
+
* Remove
|
|
6569
|
+
* @description Object TypeIDs or resource names to untag. TypeIDs and names may be mixed.
|
|
6570
|
+
*/
|
|
6571
|
+
remove?: string[];
|
|
6572
|
+
};
|
|
6573
|
+
/** ObjectTagChangesResponse */
|
|
6574
|
+
ObjectTagChangesResponse: {
|
|
6575
|
+
/**
|
|
6576
|
+
* Added
|
|
6577
|
+
* @description Number of objects tagged
|
|
6578
|
+
*/
|
|
6579
|
+
added: number;
|
|
6580
|
+
/**
|
|
6581
|
+
* Removed
|
|
6582
|
+
* @description Number of objects untagged
|
|
6583
|
+
*/
|
|
6584
|
+
removed: number;
|
|
6585
|
+
/**
|
|
6586
|
+
* Unresolved
|
|
6587
|
+
* @description References that could not be resolved
|
|
6588
|
+
*/
|
|
6589
|
+
unresolved?: string[];
|
|
6590
|
+
};
|
|
6443
6591
|
/** Organization */
|
|
6444
6592
|
Organization: {
|
|
6445
6593
|
/**
|
|
@@ -7050,6 +7198,12 @@ export interface components {
|
|
|
7050
7198
|
/** Results */
|
|
7051
7199
|
results: components["schemas"]["RequestHistory"][];
|
|
7052
7200
|
};
|
|
7201
|
+
/** Pagination[TagResponse] */
|
|
7202
|
+
Pagination_TagResponse_: {
|
|
7203
|
+
pagination: components["schemas"]["PaginationMetadata"];
|
|
7204
|
+
/** Results */
|
|
7205
|
+
results: components["schemas"]["TagResponse"][];
|
|
7206
|
+
};
|
|
7053
7207
|
/** Pagination[UserPublic] */
|
|
7054
7208
|
Pagination_UserPublic_: {
|
|
7055
7209
|
pagination: components["schemas"]["PaginationMetadata"];
|
|
@@ -7937,11 +8091,98 @@ export interface components {
|
|
|
7937
8091
|
* @enum {string}
|
|
7938
8092
|
*/
|
|
7939
8093
|
TagColor: "color-1" | "color-2" | "color-3" | "color-4" | "color-5" | "color-6" | "color-7" | "color-8" | "color-9" | "color-10";
|
|
8094
|
+
/** TagCreate */
|
|
8095
|
+
TagCreate: {
|
|
8096
|
+
/**
|
|
8097
|
+
* @description The color of the tag
|
|
8098
|
+
* @default color-1
|
|
8099
|
+
*/
|
|
8100
|
+
color: components["schemas"]["TagColor"] | null;
|
|
8101
|
+
/**
|
|
8102
|
+
* Description
|
|
8103
|
+
* @description Optional description of the tag
|
|
8104
|
+
*/
|
|
8105
|
+
description?: string | null;
|
|
8106
|
+
/**
|
|
8107
|
+
* Label
|
|
8108
|
+
* @description A human-readable label for the tag
|
|
8109
|
+
*/
|
|
8110
|
+
label: string;
|
|
8111
|
+
/** @description Which category a tag applies to, cannot be changed once created */
|
|
8112
|
+
type: components["schemas"]["TagType"];
|
|
8113
|
+
};
|
|
7940
8114
|
/**
|
|
7941
8115
|
* TagFilterMode
|
|
7942
8116
|
* @enum {string}
|
|
7943
8117
|
*/
|
|
7944
8118
|
TagFilterMode: "match_any" | "match_all";
|
|
8119
|
+
/** TagResponse */
|
|
8120
|
+
TagResponse: {
|
|
8121
|
+
/** @description The color of the tag */
|
|
8122
|
+
color: components["schemas"]["TagColor"];
|
|
8123
|
+
/**
|
|
8124
|
+
* Created On
|
|
8125
|
+
* Format: date-time
|
|
8126
|
+
* @description The date/time the tag was created on
|
|
8127
|
+
*/
|
|
8128
|
+
created_on: Date;
|
|
8129
|
+
/**
|
|
8130
|
+
* Description
|
|
8131
|
+
* @description Optional description of the tag
|
|
8132
|
+
*/
|
|
8133
|
+
description?: string | null;
|
|
8134
|
+
/**
|
|
8135
|
+
* Label
|
|
8136
|
+
* @description The label of the tag
|
|
8137
|
+
*/
|
|
8138
|
+
label: string;
|
|
8139
|
+
/**
|
|
8140
|
+
* Object Count
|
|
8141
|
+
* @description Number of objects tagged with this tag
|
|
8142
|
+
* @default 0
|
|
8143
|
+
*/
|
|
8144
|
+
object_count: number;
|
|
8145
|
+
/**
|
|
8146
|
+
* Tag Id
|
|
8147
|
+
* Format: typeid
|
|
8148
|
+
* @description The unique identifier of the tag
|
|
8149
|
+
* @example tag_01h45ytscbebyvny4gc8cr8ma2
|
|
8150
|
+
*/
|
|
8151
|
+
tag_id: TypeId<"tag">;
|
|
8152
|
+
/** @description Which category a tag applies to, cannot be changed once created */
|
|
8153
|
+
type: components["schemas"]["TagType"];
|
|
8154
|
+
/**
|
|
8155
|
+
* Updated On
|
|
8156
|
+
* Format: date-time
|
|
8157
|
+
* @description The date/time the tag was last updated on
|
|
8158
|
+
*/
|
|
8159
|
+
updated_on: Date;
|
|
8160
|
+
};
|
|
8161
|
+
/**
|
|
8162
|
+
* TagSortField
|
|
8163
|
+
* @enum {string}
|
|
8164
|
+
*/
|
|
8165
|
+
TagSortField: "label" | "created_on" | "updated_on";
|
|
8166
|
+
/**
|
|
8167
|
+
* TagType
|
|
8168
|
+
* @enum {string}
|
|
8169
|
+
*/
|
|
8170
|
+
TagType: "DOMAIN" | "CONTACT" | "ZONE";
|
|
8171
|
+
/** TagUpdate */
|
|
8172
|
+
TagUpdate: {
|
|
8173
|
+
/** @description The color of the tag */
|
|
8174
|
+
color?: components["schemas"]["TagColor"] | null;
|
|
8175
|
+
/**
|
|
8176
|
+
* Description
|
|
8177
|
+
* @description Optional description of the tag
|
|
8178
|
+
*/
|
|
8179
|
+
description?: string | null;
|
|
8180
|
+
/**
|
|
8181
|
+
* Label
|
|
8182
|
+
* @description A human-readable label for the tag
|
|
8183
|
+
*/
|
|
8184
|
+
label?: string | null;
|
|
8185
|
+
};
|
|
7945
8186
|
/**
|
|
7946
8187
|
* TimeRange
|
|
7947
8188
|
* @enum {string}
|
|
@@ -8721,6 +8962,11 @@ export interface components {
|
|
|
8721
8962
|
common__models__domain__domain__DomainAvailabilityResponse: {
|
|
8722
8963
|
/** Available */
|
|
8723
8964
|
available: boolean;
|
|
8965
|
+
/**
|
|
8966
|
+
* Claim Key
|
|
8967
|
+
* @description Claim key, if trademark notice acceptance is required
|
|
8968
|
+
*/
|
|
8969
|
+
claim_key?: string | null;
|
|
8724
8970
|
/**
|
|
8725
8971
|
* Domain
|
|
8726
8972
|
* @description The domain name
|
|
@@ -16851,6 +17097,487 @@ export interface operations {
|
|
|
16851
17097
|
};
|
|
16852
17098
|
};
|
|
16853
17099
|
};
|
|
17100
|
+
list_tags_v1_tags_get: {
|
|
17101
|
+
parameters: {
|
|
17102
|
+
query?: {
|
|
17103
|
+
sort_by?: components["schemas"]["TagSortField"];
|
|
17104
|
+
sort_order?: components["schemas"]["SortOrder"];
|
|
17105
|
+
/** @description Filter by tag types (OR semantics) */
|
|
17106
|
+
tag_types?: components["schemas"]["TagType"][] | null;
|
|
17107
|
+
search?: string | null;
|
|
17108
|
+
page?: number;
|
|
17109
|
+
page_size?: number;
|
|
17110
|
+
};
|
|
17111
|
+
header?: never;
|
|
17112
|
+
path?: never;
|
|
17113
|
+
cookie?: never;
|
|
17114
|
+
};
|
|
17115
|
+
requestBody?: never;
|
|
17116
|
+
responses: {
|
|
17117
|
+
/** @description Successful Response */
|
|
17118
|
+
200: {
|
|
17119
|
+
headers: {
|
|
17120
|
+
[name: string]: unknown;
|
|
17121
|
+
};
|
|
17122
|
+
content: {
|
|
17123
|
+
"application/json": components["schemas"]["Pagination_TagResponse_"];
|
|
17124
|
+
};
|
|
17125
|
+
};
|
|
17126
|
+
/** @description Unauthorized */
|
|
17127
|
+
401: {
|
|
17128
|
+
headers: {
|
|
17129
|
+
[name: string]: unknown;
|
|
17130
|
+
};
|
|
17131
|
+
content: {
|
|
17132
|
+
/** @example {
|
|
17133
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
17134
|
+
* "detail": "Additional error context.",
|
|
17135
|
+
* "status": 401,
|
|
17136
|
+
* "title": "Authentication Error",
|
|
17137
|
+
* "type": "authentication"
|
|
17138
|
+
* } */
|
|
17139
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17140
|
+
};
|
|
17141
|
+
};
|
|
17142
|
+
/** @description Validation Error */
|
|
17143
|
+
422: {
|
|
17144
|
+
headers: {
|
|
17145
|
+
[name: string]: unknown;
|
|
17146
|
+
};
|
|
17147
|
+
content: {
|
|
17148
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
17149
|
+
};
|
|
17150
|
+
};
|
|
17151
|
+
};
|
|
17152
|
+
};
|
|
17153
|
+
create_tag_v1_tags_post: {
|
|
17154
|
+
parameters: {
|
|
17155
|
+
query?: never;
|
|
17156
|
+
header?: never;
|
|
17157
|
+
path?: never;
|
|
17158
|
+
cookie?: never;
|
|
17159
|
+
};
|
|
17160
|
+
requestBody: {
|
|
17161
|
+
content: {
|
|
17162
|
+
"application/json": components["schemas"]["TagCreate"];
|
|
17163
|
+
};
|
|
17164
|
+
};
|
|
17165
|
+
responses: {
|
|
17166
|
+
/** @description Successful Response */
|
|
17167
|
+
201: {
|
|
17168
|
+
headers: {
|
|
17169
|
+
[name: string]: unknown;
|
|
17170
|
+
};
|
|
17171
|
+
content: {
|
|
17172
|
+
"application/json": components["schemas"]["TagResponse"];
|
|
17173
|
+
};
|
|
17174
|
+
};
|
|
17175
|
+
/** @description Unauthorized */
|
|
17176
|
+
401: {
|
|
17177
|
+
headers: {
|
|
17178
|
+
[name: string]: unknown;
|
|
17179
|
+
};
|
|
17180
|
+
content: {
|
|
17181
|
+
/** @example {
|
|
17182
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
17183
|
+
* "detail": "Additional error context.",
|
|
17184
|
+
* "status": 401,
|
|
17185
|
+
* "title": "Authentication Error",
|
|
17186
|
+
* "type": "authentication"
|
|
17187
|
+
* } */
|
|
17188
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17189
|
+
};
|
|
17190
|
+
};
|
|
17191
|
+
/** @description Conflict */
|
|
17192
|
+
409: {
|
|
17193
|
+
headers: {
|
|
17194
|
+
[name: string]: unknown;
|
|
17195
|
+
};
|
|
17196
|
+
content: {
|
|
17197
|
+
/** @example {
|
|
17198
|
+
* "code": "ERROR_TAG_LABEL_ALREADY_EXISTS",
|
|
17199
|
+
* "detail": "A tag with label 'Additional error context.' already exists",
|
|
17200
|
+
* "label": "Additional error context.",
|
|
17201
|
+
* "status": 409,
|
|
17202
|
+
* "title": "Tag Management Error",
|
|
17203
|
+
* "type": "tag-label-already-exists"
|
|
17204
|
+
* } */
|
|
17205
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17206
|
+
};
|
|
17207
|
+
};
|
|
17208
|
+
/** @description Validation Error */
|
|
17209
|
+
422: {
|
|
17210
|
+
headers: {
|
|
17211
|
+
[name: string]: unknown;
|
|
17212
|
+
};
|
|
17213
|
+
content: {
|
|
17214
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
17215
|
+
};
|
|
17216
|
+
};
|
|
17217
|
+
};
|
|
17218
|
+
};
|
|
17219
|
+
bulk_update_object_tags_v1_tags_objects_post: {
|
|
17220
|
+
parameters: {
|
|
17221
|
+
query?: never;
|
|
17222
|
+
header?: never;
|
|
17223
|
+
path?: never;
|
|
17224
|
+
cookie?: never;
|
|
17225
|
+
};
|
|
17226
|
+
requestBody: {
|
|
17227
|
+
content: {
|
|
17228
|
+
"application/json": components["schemas"]["BulkObjectTagChanges"];
|
|
17229
|
+
};
|
|
17230
|
+
};
|
|
17231
|
+
responses: {
|
|
17232
|
+
/** @description Successful Response */
|
|
17233
|
+
200: {
|
|
17234
|
+
headers: {
|
|
17235
|
+
[name: string]: unknown;
|
|
17236
|
+
};
|
|
17237
|
+
content: {
|
|
17238
|
+
"application/json": components["schemas"]["ObjectTagChangesResponse"];
|
|
17239
|
+
};
|
|
17240
|
+
};
|
|
17241
|
+
/** @description Bad Request */
|
|
17242
|
+
400: {
|
|
17243
|
+
headers: {
|
|
17244
|
+
[name: string]: unknown;
|
|
17245
|
+
};
|
|
17246
|
+
content: {
|
|
17247
|
+
/** @example {
|
|
17248
|
+
* "code": "ERROR_ILLEGAL_OBJECT_TYPE_FOR_TAG",
|
|
17249
|
+
* "detail": "One or more provided object ids are not valid for this tag",
|
|
17250
|
+
* "object_ids": "Additional error context.",
|
|
17251
|
+
* "status": 400,
|
|
17252
|
+
* "title": "Tag Management Error",
|
|
17253
|
+
* "type": "illegal-object-type-tag"
|
|
17254
|
+
* } */
|
|
17255
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17256
|
+
};
|
|
17257
|
+
};
|
|
17258
|
+
/** @description Unauthorized */
|
|
17259
|
+
401: {
|
|
17260
|
+
headers: {
|
|
17261
|
+
[name: string]: unknown;
|
|
17262
|
+
};
|
|
17263
|
+
content: {
|
|
17264
|
+
/** @example {
|
|
17265
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
17266
|
+
* "detail": "Additional error context.",
|
|
17267
|
+
* "status": 401,
|
|
17268
|
+
* "title": "Authentication Error",
|
|
17269
|
+
* "type": "authentication"
|
|
17270
|
+
* } */
|
|
17271
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17272
|
+
};
|
|
17273
|
+
};
|
|
17274
|
+
/** @description Not Found */
|
|
17275
|
+
404: {
|
|
17276
|
+
headers: {
|
|
17277
|
+
[name: string]: unknown;
|
|
17278
|
+
};
|
|
17279
|
+
content: {
|
|
17280
|
+
/** @example {
|
|
17281
|
+
* "code": "ERROR_TAG_NOT_FOUND",
|
|
17282
|
+
* "detail": "Tag not found",
|
|
17283
|
+
* "status": 404,
|
|
17284
|
+
* "tag_id": "Additional error context.",
|
|
17285
|
+
* "title": "Tag Management Error",
|
|
17286
|
+
* "type": "tag-not-found"
|
|
17287
|
+
* } */
|
|
17288
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17289
|
+
};
|
|
17290
|
+
};
|
|
17291
|
+
/** @description Validation Error */
|
|
17292
|
+
422: {
|
|
17293
|
+
headers: {
|
|
17294
|
+
[name: string]: unknown;
|
|
17295
|
+
};
|
|
17296
|
+
content: {
|
|
17297
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
17298
|
+
};
|
|
17299
|
+
};
|
|
17300
|
+
};
|
|
17301
|
+
};
|
|
17302
|
+
get_tag_v1_tags__tag_id__get: {
|
|
17303
|
+
parameters: {
|
|
17304
|
+
query?: never;
|
|
17305
|
+
header?: never;
|
|
17306
|
+
path: {
|
|
17307
|
+
tag_id: TypeId<"tag">;
|
|
17308
|
+
};
|
|
17309
|
+
cookie?: never;
|
|
17310
|
+
};
|
|
17311
|
+
requestBody?: never;
|
|
17312
|
+
responses: {
|
|
17313
|
+
/** @description Successful Response */
|
|
17314
|
+
200: {
|
|
17315
|
+
headers: {
|
|
17316
|
+
[name: string]: unknown;
|
|
17317
|
+
};
|
|
17318
|
+
content: {
|
|
17319
|
+
"application/json": components["schemas"]["TagResponse"];
|
|
17320
|
+
};
|
|
17321
|
+
};
|
|
17322
|
+
/** @description Unauthorized */
|
|
17323
|
+
401: {
|
|
17324
|
+
headers: {
|
|
17325
|
+
[name: string]: unknown;
|
|
17326
|
+
};
|
|
17327
|
+
content: {
|
|
17328
|
+
/** @example {
|
|
17329
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
17330
|
+
* "detail": "Additional error context.",
|
|
17331
|
+
* "status": 401,
|
|
17332
|
+
* "title": "Authentication Error",
|
|
17333
|
+
* "type": "authentication"
|
|
17334
|
+
* } */
|
|
17335
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17336
|
+
};
|
|
17337
|
+
};
|
|
17338
|
+
/** @description Not Found */
|
|
17339
|
+
404: {
|
|
17340
|
+
headers: {
|
|
17341
|
+
[name: string]: unknown;
|
|
17342
|
+
};
|
|
17343
|
+
content: {
|
|
17344
|
+
/** @example {
|
|
17345
|
+
* "code": "ERROR_TAG_NOT_FOUND",
|
|
17346
|
+
* "detail": "Tag not found",
|
|
17347
|
+
* "status": 404,
|
|
17348
|
+
* "tag_id": "Additional error context.",
|
|
17349
|
+
* "title": "Tag Management Error",
|
|
17350
|
+
* "type": "tag-not-found"
|
|
17351
|
+
* } */
|
|
17352
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17353
|
+
};
|
|
17354
|
+
};
|
|
17355
|
+
/** @description Validation Error */
|
|
17356
|
+
422: {
|
|
17357
|
+
headers: {
|
|
17358
|
+
[name: string]: unknown;
|
|
17359
|
+
};
|
|
17360
|
+
content: {
|
|
17361
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
17362
|
+
};
|
|
17363
|
+
};
|
|
17364
|
+
};
|
|
17365
|
+
};
|
|
17366
|
+
delete_tag_v1_tags__tag_id__delete: {
|
|
17367
|
+
parameters: {
|
|
17368
|
+
query?: never;
|
|
17369
|
+
header?: never;
|
|
17370
|
+
path: {
|
|
17371
|
+
tag_id: TypeId<"tag">;
|
|
17372
|
+
};
|
|
17373
|
+
cookie?: never;
|
|
17374
|
+
};
|
|
17375
|
+
requestBody?: never;
|
|
17376
|
+
responses: {
|
|
17377
|
+
/** @description Successful Response */
|
|
17378
|
+
204: {
|
|
17379
|
+
headers: {
|
|
17380
|
+
[name: string]: unknown;
|
|
17381
|
+
};
|
|
17382
|
+
content?: never;
|
|
17383
|
+
};
|
|
17384
|
+
/** @description Unauthorized */
|
|
17385
|
+
401: {
|
|
17386
|
+
headers: {
|
|
17387
|
+
[name: string]: unknown;
|
|
17388
|
+
};
|
|
17389
|
+
content: {
|
|
17390
|
+
/** @example {
|
|
17391
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
17392
|
+
* "detail": "Additional error context.",
|
|
17393
|
+
* "status": 401,
|
|
17394
|
+
* "title": "Authentication Error",
|
|
17395
|
+
* "type": "authentication"
|
|
17396
|
+
* } */
|
|
17397
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17398
|
+
};
|
|
17399
|
+
};
|
|
17400
|
+
/** @description Not Found */
|
|
17401
|
+
404: {
|
|
17402
|
+
headers: {
|
|
17403
|
+
[name: string]: unknown;
|
|
17404
|
+
};
|
|
17405
|
+
content: {
|
|
17406
|
+
/** @example {
|
|
17407
|
+
* "code": "ERROR_TAG_NOT_FOUND",
|
|
17408
|
+
* "detail": "Tag not found",
|
|
17409
|
+
* "status": 404,
|
|
17410
|
+
* "tag_id": "Additional error context.",
|
|
17411
|
+
* "title": "Tag Management Error",
|
|
17412
|
+
* "type": "tag-not-found"
|
|
17413
|
+
* } */
|
|
17414
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17415
|
+
};
|
|
17416
|
+
};
|
|
17417
|
+
/** @description Validation Error */
|
|
17418
|
+
422: {
|
|
17419
|
+
headers: {
|
|
17420
|
+
[name: string]: unknown;
|
|
17421
|
+
};
|
|
17422
|
+
content: {
|
|
17423
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
17424
|
+
};
|
|
17425
|
+
};
|
|
17426
|
+
};
|
|
17427
|
+
};
|
|
17428
|
+
update_tag_v1_tags__tag_id__patch: {
|
|
17429
|
+
parameters: {
|
|
17430
|
+
query?: never;
|
|
17431
|
+
header?: never;
|
|
17432
|
+
path: {
|
|
17433
|
+
tag_id: TypeId<"tag">;
|
|
17434
|
+
};
|
|
17435
|
+
cookie?: never;
|
|
17436
|
+
};
|
|
17437
|
+
requestBody: {
|
|
17438
|
+
content: {
|
|
17439
|
+
"application/json": components["schemas"]["TagUpdate"];
|
|
17440
|
+
};
|
|
17441
|
+
};
|
|
17442
|
+
responses: {
|
|
17443
|
+
/** @description Successful Response */
|
|
17444
|
+
200: {
|
|
17445
|
+
headers: {
|
|
17446
|
+
[name: string]: unknown;
|
|
17447
|
+
};
|
|
17448
|
+
content: {
|
|
17449
|
+
"application/json": components["schemas"]["TagResponse"];
|
|
17450
|
+
};
|
|
17451
|
+
};
|
|
17452
|
+
/** @description Unauthorized */
|
|
17453
|
+
401: {
|
|
17454
|
+
headers: {
|
|
17455
|
+
[name: string]: unknown;
|
|
17456
|
+
};
|
|
17457
|
+
content: {
|
|
17458
|
+
/** @example {
|
|
17459
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
17460
|
+
* "detail": "Additional error context.",
|
|
17461
|
+
* "status": 401,
|
|
17462
|
+
* "title": "Authentication Error",
|
|
17463
|
+
* "type": "authentication"
|
|
17464
|
+
* } */
|
|
17465
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17466
|
+
};
|
|
17467
|
+
};
|
|
17468
|
+
/** @description Not Found */
|
|
17469
|
+
404: {
|
|
17470
|
+
headers: {
|
|
17471
|
+
[name: string]: unknown;
|
|
17472
|
+
};
|
|
17473
|
+
content: {
|
|
17474
|
+
/** @example {
|
|
17475
|
+
* "code": "ERROR_TAG_NOT_FOUND",
|
|
17476
|
+
* "detail": "Tag not found",
|
|
17477
|
+
* "status": 404,
|
|
17478
|
+
* "tag_id": "Additional error context.",
|
|
17479
|
+
* "title": "Tag Management Error",
|
|
17480
|
+
* "type": "tag-not-found"
|
|
17481
|
+
* } */
|
|
17482
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17483
|
+
};
|
|
17484
|
+
};
|
|
17485
|
+
/** @description Conflict */
|
|
17486
|
+
409: {
|
|
17487
|
+
headers: {
|
|
17488
|
+
[name: string]: unknown;
|
|
17489
|
+
};
|
|
17490
|
+
content: {
|
|
17491
|
+
/** @example {
|
|
17492
|
+
* "code": "ERROR_TAG_LABEL_ALREADY_EXISTS",
|
|
17493
|
+
* "detail": "A tag with label 'Additional error context.' already exists",
|
|
17494
|
+
* "label": "Additional error context.",
|
|
17495
|
+
* "status": 409,
|
|
17496
|
+
* "title": "Tag Management Error",
|
|
17497
|
+
* "type": "tag-label-already-exists"
|
|
17498
|
+
* } */
|
|
17499
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17500
|
+
};
|
|
17501
|
+
};
|
|
17502
|
+
/** @description Validation Error */
|
|
17503
|
+
422: {
|
|
17504
|
+
headers: {
|
|
17505
|
+
[name: string]: unknown;
|
|
17506
|
+
};
|
|
17507
|
+
content: {
|
|
17508
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
17509
|
+
};
|
|
17510
|
+
};
|
|
17511
|
+
};
|
|
17512
|
+
};
|
|
17513
|
+
update_tag_objects_v1_tags__tag_id__objects_post: {
|
|
17514
|
+
parameters: {
|
|
17515
|
+
query?: never;
|
|
17516
|
+
header?: never;
|
|
17517
|
+
path: {
|
|
17518
|
+
tag_id: TypeId<"tag">;
|
|
17519
|
+
};
|
|
17520
|
+
cookie?: never;
|
|
17521
|
+
};
|
|
17522
|
+
requestBody: {
|
|
17523
|
+
content: {
|
|
17524
|
+
"application/json": components["schemas"]["ObjectTagChanges"];
|
|
17525
|
+
};
|
|
17526
|
+
};
|
|
17527
|
+
responses: {
|
|
17528
|
+
/** @description Successful Response */
|
|
17529
|
+
200: {
|
|
17530
|
+
headers: {
|
|
17531
|
+
[name: string]: unknown;
|
|
17532
|
+
};
|
|
17533
|
+
content: {
|
|
17534
|
+
"application/json": components["schemas"]["ObjectTagChangesResponse"];
|
|
17535
|
+
};
|
|
17536
|
+
};
|
|
17537
|
+
/** @description Unauthorized */
|
|
17538
|
+
401: {
|
|
17539
|
+
headers: {
|
|
17540
|
+
[name: string]: unknown;
|
|
17541
|
+
};
|
|
17542
|
+
content: {
|
|
17543
|
+
/** @example {
|
|
17544
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
17545
|
+
* "detail": "Additional error context.",
|
|
17546
|
+
* "status": 401,
|
|
17547
|
+
* "title": "Authentication Error",
|
|
17548
|
+
* "type": "authentication"
|
|
17549
|
+
* } */
|
|
17550
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17551
|
+
};
|
|
17552
|
+
};
|
|
17553
|
+
/** @description Not Found */
|
|
17554
|
+
404: {
|
|
17555
|
+
headers: {
|
|
17556
|
+
[name: string]: unknown;
|
|
17557
|
+
};
|
|
17558
|
+
content: {
|
|
17559
|
+
/** @example {
|
|
17560
|
+
* "code": "ERROR_TAG_NOT_FOUND",
|
|
17561
|
+
* "detail": "Tag not found",
|
|
17562
|
+
* "status": 404,
|
|
17563
|
+
* "tag_id": "Additional error context.",
|
|
17564
|
+
* "title": "Tag Management Error",
|
|
17565
|
+
* "type": "tag-not-found"
|
|
17566
|
+
* } */
|
|
17567
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17568
|
+
};
|
|
17569
|
+
};
|
|
17570
|
+
/** @description Validation Error */
|
|
17571
|
+
422: {
|
|
17572
|
+
headers: {
|
|
17573
|
+
[name: string]: unknown;
|
|
17574
|
+
};
|
|
17575
|
+
content: {
|
|
17576
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
17577
|
+
};
|
|
17578
|
+
};
|
|
17579
|
+
};
|
|
17580
|
+
};
|
|
16854
17581
|
get_tld_specifications_v1_tlds__get: {
|
|
16855
17582
|
parameters: {
|
|
16856
17583
|
query?: {
|