@opusdns/api 1.220.0 → 1.222.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 +2 -0
- package/src/helpers/responses.d.ts +2 -1
- package/src/openapi.yaml +19 -3
- package/src/schema.d.ts +22 -3
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -1850,6 +1850,7 @@ export const REGISTRAR = {
|
|
|
1850
1850
|
OPENSRS: "OPENSRS",
|
|
1851
1851
|
NIC_DIRECT: "NIC_DIRECT",
|
|
1852
1852
|
OPENPROVIDER: "OPENPROVIDER",
|
|
1853
|
+
REALTIMEREGISTER: "REALTIMEREGISTER",
|
|
1853
1854
|
} as const satisfies Record<string, Registrar>;
|
|
1854
1855
|
|
|
1855
1856
|
export const REGISTRAR_VALUES = [
|
|
@@ -1863,6 +1864,7 @@ export const REGISTRAR_VALUES = [
|
|
|
1863
1864
|
'OPENSRS',
|
|
1864
1865
|
'NIC_DIRECT',
|
|
1865
1866
|
'OPENPROVIDER',
|
|
1867
|
+
'REALTIMEREGISTER',
|
|
1866
1868
|
] as const satisfies ReadonlyArray<Registrar>;
|
|
1867
1869
|
|
|
1868
1870
|
export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
|
|
@@ -348,11 +348,12 @@ export type GET_ArchiveRequestHistory_Response = GET_ArchiveRequestHistory_Respo
|
|
|
348
348
|
export type GET_ArchiveRequestHistory_Response_200 = PageResponse_RequestHistory;
|
|
349
349
|
export type GET_ArchiveRequestHistory_Response_422 = HTTPValidationError;
|
|
350
350
|
|
|
351
|
-
export type GET_AuthClientCredentialsIntrospect_Response = GET_AuthClientCredentialsIntrospect_Response_200 | GET_AuthClientCredentialsIntrospect_Response_401 | GET_AuthClientCredentialsIntrospect_Response_422;
|
|
351
|
+
export type GET_AuthClientCredentialsIntrospect_Response = GET_AuthClientCredentialsIntrospect_Response_200 | GET_AuthClientCredentialsIntrospect_Response_401 | GET_AuthClientCredentialsIntrospect_Response_422 | GET_AuthClientCredentialsIntrospect_Response_503;
|
|
352
352
|
|
|
353
353
|
export type GET_AuthClientCredentialsIntrospect_Response_200 = OrganizationCredential;
|
|
354
354
|
export type GET_AuthClientCredentialsIntrospect_Response_401 = Problem;
|
|
355
355
|
export type GET_AuthClientCredentialsIntrospect_Response_422 = HTTPValidationError;
|
|
356
|
+
export type GET_AuthClientCredentialsIntrospect_Response_503 = Problem;
|
|
356
357
|
|
|
357
358
|
export type GET_Availability_Response = GET_Availability_Response_200 | GET_Availability_Response_401 | GET_Availability_Response_422;
|
|
358
359
|
|
package/src/openapi.yaml
CHANGED
|
@@ -18890,6 +18890,8 @@ components:
|
|
|
18890
18890
|
- $ref: '#/components/schemas/PublicRole'
|
|
18891
18891
|
- $ref: '#/components/schemas/CustomRoleLabel'
|
|
18892
18892
|
- type: 'null'
|
|
18893
|
+
description: 'Role bound to the API key: a built-in role name or the label
|
|
18894
|
+
of a custom role. null when the key holds no role, which grants no permissions.'
|
|
18893
18895
|
title: Role
|
|
18894
18896
|
status:
|
|
18895
18897
|
$ref: '#/components/schemas/OrganizationCredentialStatus'
|
|
@@ -21096,6 +21098,7 @@ components:
|
|
|
21096
21098
|
- OPENSRS
|
|
21097
21099
|
- NIC_DIRECT
|
|
21098
21100
|
- OPENPROVIDER
|
|
21101
|
+
- REALTIMEREGISTER
|
|
21099
21102
|
title: Registrar
|
|
21100
21103
|
type: string
|
|
21101
21104
|
RegistrarContact:
|
|
@@ -24974,7 +24977,7 @@ info:
|
|
|
24974
24977
|
\n\n"
|
|
24975
24978
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
24976
24979
|
title: OpusDNS API
|
|
24977
|
-
version: 2026-10-
|
|
24980
|
+
version: 2026-10-13-132727
|
|
24978
24981
|
x-logo:
|
|
24979
24982
|
altText: OpusDNS API Reference
|
|
24980
24983
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -27010,8 +27013,9 @@ paths:
|
|
|
27010
27013
|
/v1/auth/client_credentials/introspect:
|
|
27011
27014
|
get:
|
|
27012
27015
|
description: Returns the stored record for the API key (or organization token)
|
|
27013
|
-
used to authenticate the request, including its organization
|
|
27014
|
-
or organization-token authentication; user
|
|
27016
|
+
used to authenticate the request, including its organization and the role
|
|
27017
|
+
bound to the key. Requires API-key or organization-token authentication; user
|
|
27018
|
+
tokens are rejected.
|
|
27015
27019
|
operationId: introspect_client_credential_v1_auth_client_credentials_introspect_get
|
|
27016
27020
|
parameters:
|
|
27017
27021
|
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
@@ -27040,6 +27044,18 @@ paths:
|
|
|
27040
27044
|
schema:
|
|
27041
27045
|
$ref: '#/components/schemas/HTTPValidationError'
|
|
27042
27046
|
description: Validation Error
|
|
27047
|
+
'503':
|
|
27048
|
+
content:
|
|
27049
|
+
application/problem+json:
|
|
27050
|
+
example:
|
|
27051
|
+
code: ERROR_AUTHORIZATION_UNAVAILABLE
|
|
27052
|
+
detail: Additional error context.
|
|
27053
|
+
status: 503
|
|
27054
|
+
title: Authorization service unavailable.
|
|
27055
|
+
type: authorization-unavailable
|
|
27056
|
+
schema:
|
|
27057
|
+
$ref: '#/components/schemas/Problem'
|
|
27058
|
+
description: Service Unavailable
|
|
27043
27059
|
security:
|
|
27044
27060
|
- OAuth2PasswordBearer: []
|
|
27045
27061
|
- APIKeyHeader: []
|
package/src/schema.d.ts
CHANGED
|
@@ -264,7 +264,7 @@ export interface paths {
|
|
|
264
264
|
};
|
|
265
265
|
/**
|
|
266
266
|
* Introspect the current API key
|
|
267
|
-
* @description Returns the stored record for the API key (or organization token) used to authenticate the request, including its organization. Requires API-key or organization-token authentication; user tokens are rejected.
|
|
267
|
+
* @description Returns the stored record for the API key (or organization token) used to authenticate the request, including its organization and the role bound to the key. Requires API-key or organization-token authentication; user tokens are rejected.
|
|
268
268
|
*/
|
|
269
269
|
get: operations["introspect_client_credential_v1_auth_client_credentials_introspect_get"];
|
|
270
270
|
put?: never;
|
|
@@ -16667,7 +16667,10 @@ export interface components {
|
|
|
16667
16667
|
* @example organization_01h45ytscbebyvny4gc8cr8ma2
|
|
16668
16668
|
*/
|
|
16669
16669
|
organization_id: TypeId<"organization">;
|
|
16670
|
-
/**
|
|
16670
|
+
/**
|
|
16671
|
+
* Role
|
|
16672
|
+
* @description Role bound to the API key: a built-in role name or the label of a custom role. null when the key holds no role, which grants no permissions.
|
|
16673
|
+
*/
|
|
16671
16674
|
role?: components["schemas"]["PublicRole"] | components["schemas"]["CustomRoleLabel"] | null;
|
|
16672
16675
|
/** @description The status of the organization credential. */
|
|
16673
16676
|
readonly status: components["schemas"]["OrganizationCredentialStatus"];
|
|
@@ -18011,7 +18014,7 @@ export interface components {
|
|
|
18011
18014
|
* Registrar
|
|
18012
18015
|
* @enum {string}
|
|
18013
18016
|
*/
|
|
18014
|
-
Registrar: "INTERNETX" | "MONIKER" | "DOMAIN_BESTELLSYSTEM" | "CENTRALNIC" | "NICMANAGER" | "OPUSDNS" | "ENOM" | "OPENSRS" | "NIC_DIRECT" | "OPENPROVIDER";
|
|
18017
|
+
Registrar: "INTERNETX" | "MONIKER" | "DOMAIN_BESTELLSYSTEM" | "CENTRALNIC" | "NICMANAGER" | "OPUSDNS" | "ENOM" | "OPENSRS" | "NIC_DIRECT" | "OPENPROVIDER" | "REALTIMEREGISTER";
|
|
18015
18018
|
/** RegistrarContact */
|
|
18016
18019
|
RegistrarContact: {
|
|
18017
18020
|
/** City */
|
|
@@ -22229,6 +22232,22 @@ export interface operations {
|
|
|
22229
22232
|
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
22230
22233
|
};
|
|
22231
22234
|
};
|
|
22235
|
+
/** @description Service Unavailable */
|
|
22236
|
+
503: {
|
|
22237
|
+
headers: {
|
|
22238
|
+
[name: string]: unknown;
|
|
22239
|
+
};
|
|
22240
|
+
content: {
|
|
22241
|
+
/** @example {
|
|
22242
|
+
* "code": "ERROR_AUTHORIZATION_UNAVAILABLE",
|
|
22243
|
+
* "detail": "Additional error context.",
|
|
22244
|
+
* "status": 503,
|
|
22245
|
+
* "title": "Authorization service unavailable.",
|
|
22246
|
+
* "type": "authorization-unavailable"
|
|
22247
|
+
* } */
|
|
22248
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
22249
|
+
};
|
|
22250
|
+
};
|
|
22232
22251
|
};
|
|
22233
22252
|
};
|
|
22234
22253
|
signup_v1_auth_signup_post: {
|