@opusdns/api 1.220.0 → 1.221.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/responses.d.ts +2 -1
- package/src/openapi.yaml +18 -3
- package/src/schema.d.ts +21 -2
package/package.json
CHANGED
|
@@ -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'
|
|
@@ -24974,7 +24976,7 @@ info:
|
|
|
24974
24976
|
\n\n"
|
|
24975
24977
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
24976
24978
|
title: OpusDNS API
|
|
24977
|
-
version: 2026-10-
|
|
24979
|
+
version: 2026-10-13-123357
|
|
24978
24980
|
x-logo:
|
|
24979
24981
|
altText: OpusDNS API Reference
|
|
24980
24982
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -27010,8 +27012,9 @@ paths:
|
|
|
27010
27012
|
/v1/auth/client_credentials/introspect:
|
|
27011
27013
|
get:
|
|
27012
27014
|
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
|
|
27015
|
+
used to authenticate the request, including its organization and the role
|
|
27016
|
+
bound to the key. Requires API-key or organization-token authentication; user
|
|
27017
|
+
tokens are rejected.
|
|
27015
27018
|
operationId: introspect_client_credential_v1_auth_client_credentials_introspect_get
|
|
27016
27019
|
parameters:
|
|
27017
27020
|
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
@@ -27040,6 +27043,18 @@ paths:
|
|
|
27040
27043
|
schema:
|
|
27041
27044
|
$ref: '#/components/schemas/HTTPValidationError'
|
|
27042
27045
|
description: Validation Error
|
|
27046
|
+
'503':
|
|
27047
|
+
content:
|
|
27048
|
+
application/problem+json:
|
|
27049
|
+
example:
|
|
27050
|
+
code: ERROR_AUTHORIZATION_UNAVAILABLE
|
|
27051
|
+
detail: Additional error context.
|
|
27052
|
+
status: 503
|
|
27053
|
+
title: Authorization service unavailable.
|
|
27054
|
+
type: authorization-unavailable
|
|
27055
|
+
schema:
|
|
27056
|
+
$ref: '#/components/schemas/Problem'
|
|
27057
|
+
description: Service Unavailable
|
|
27043
27058
|
security:
|
|
27044
27059
|
- OAuth2PasswordBearer: []
|
|
27045
27060
|
- 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"];
|
|
@@ -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: {
|