@opusdns/api 1.219.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/constants.ts +12 -0
- package/src/helpers/responses.d.ts +2 -1
- package/src/openapi.yaml +24 -3
- package/src/schema.d.ts +22 -3
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -1478,10 +1478,16 @@ export const OBJECT_EVENT_TYPE = {
|
|
|
1478
1478
|
DELETED: "DELETED",
|
|
1479
1479
|
IMPORTED: "IMPORTED",
|
|
1480
1480
|
SYNCED_AFTER_IMPORT: "SYNCED_AFTER_IMPORT",
|
|
1481
|
+
SYNCED: "SYNCED",
|
|
1481
1482
|
TRANSFER_STARTED: "TRANSFER_STARTED",
|
|
1482
1483
|
TRANSFER_COMPLETED: "TRANSFER_COMPLETED",
|
|
1484
|
+
TRANSFER_CANCELLED: "TRANSFER_CANCELLED",
|
|
1485
|
+
TRANSFER_FAILED: "TRANSFER_FAILED",
|
|
1483
1486
|
TRANSFER_OUT_STARTED: "TRANSFER_OUT_STARTED",
|
|
1484
1487
|
TRANSFER_OUT_COMPLETED: "TRANSFER_OUT_COMPLETED",
|
|
1488
|
+
TRANSFER_OUT_CANCELLED: "TRANSFER_OUT_CANCELLED",
|
|
1489
|
+
TRANSFER_OUT_FAILED: "TRANSFER_OUT_FAILED",
|
|
1490
|
+
TRANSFER_OUT_REJECTED: "TRANSFER_OUT_REJECTED",
|
|
1485
1491
|
RENEWED: "RENEWED",
|
|
1486
1492
|
RESTORED: "RESTORED",
|
|
1487
1493
|
BILLING_TRANSACTION_RESERVED: "BILLING_TRANSACTION_RESERVED",
|
|
@@ -1496,10 +1502,16 @@ export const OBJECT_EVENT_TYPE_VALUES = [
|
|
|
1496
1502
|
'DELETED',
|
|
1497
1503
|
'IMPORTED',
|
|
1498
1504
|
'SYNCED_AFTER_IMPORT',
|
|
1505
|
+
'SYNCED',
|
|
1499
1506
|
'TRANSFER_STARTED',
|
|
1500
1507
|
'TRANSFER_COMPLETED',
|
|
1508
|
+
'TRANSFER_CANCELLED',
|
|
1509
|
+
'TRANSFER_FAILED',
|
|
1501
1510
|
'TRANSFER_OUT_STARTED',
|
|
1502
1511
|
'TRANSFER_OUT_COMPLETED',
|
|
1512
|
+
'TRANSFER_OUT_CANCELLED',
|
|
1513
|
+
'TRANSFER_OUT_FAILED',
|
|
1514
|
+
'TRANSFER_OUT_REJECTED',
|
|
1503
1515
|
'RENEWED',
|
|
1504
1516
|
'RESTORED',
|
|
1505
1517
|
'BILLING_TRANSACTION_RESERVED',
|
|
@@ -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
|
@@ -18263,10 +18263,16 @@ components:
|
|
|
18263
18263
|
- DELETED
|
|
18264
18264
|
- IMPORTED
|
|
18265
18265
|
- SYNCED_AFTER_IMPORT
|
|
18266
|
+
- SYNCED
|
|
18266
18267
|
- TRANSFER_STARTED
|
|
18267
18268
|
- TRANSFER_COMPLETED
|
|
18269
|
+
- TRANSFER_CANCELLED
|
|
18270
|
+
- TRANSFER_FAILED
|
|
18268
18271
|
- TRANSFER_OUT_STARTED
|
|
18269
18272
|
- TRANSFER_OUT_COMPLETED
|
|
18273
|
+
- TRANSFER_OUT_CANCELLED
|
|
18274
|
+
- TRANSFER_OUT_FAILED
|
|
18275
|
+
- TRANSFER_OUT_REJECTED
|
|
18270
18276
|
- RENEWED
|
|
18271
18277
|
- RESTORED
|
|
18272
18278
|
- BILLING_TRANSACTION_RESERVED
|
|
@@ -18884,6 +18890,8 @@ components:
|
|
|
18884
18890
|
- $ref: '#/components/schemas/PublicRole'
|
|
18885
18891
|
- $ref: '#/components/schemas/CustomRoleLabel'
|
|
18886
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.'
|
|
18887
18895
|
title: Role
|
|
18888
18896
|
status:
|
|
18889
18897
|
$ref: '#/components/schemas/OrganizationCredentialStatus'
|
|
@@ -24968,7 +24976,7 @@ info:
|
|
|
24968
24976
|
\n\n"
|
|
24969
24977
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
24970
24978
|
title: OpusDNS API
|
|
24971
|
-
version: 2026-10-
|
|
24979
|
+
version: 2026-10-13-123357
|
|
24972
24980
|
x-logo:
|
|
24973
24981
|
altText: OpusDNS API Reference
|
|
24974
24982
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -27004,8 +27012,9 @@ paths:
|
|
|
27004
27012
|
/v1/auth/client_credentials/introspect:
|
|
27005
27013
|
get:
|
|
27006
27014
|
description: Returns the stored record for the API key (or organization token)
|
|
27007
|
-
used to authenticate the request, including its organization
|
|
27008
|
-
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.
|
|
27009
27018
|
operationId: introspect_client_credential_v1_auth_client_credentials_introspect_get
|
|
27010
27019
|
parameters:
|
|
27011
27020
|
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
@@ -27034,6 +27043,18 @@ paths:
|
|
|
27034
27043
|
schema:
|
|
27035
27044
|
$ref: '#/components/schemas/HTTPValidationError'
|
|
27036
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
|
|
27037
27058
|
security:
|
|
27038
27059
|
- OAuth2PasswordBearer: []
|
|
27039
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;
|
|
@@ -16236,7 +16236,7 @@ export interface components {
|
|
|
16236
16236
|
* ObjectEventType
|
|
16237
16237
|
* @enum {string}
|
|
16238
16238
|
*/
|
|
16239
|
-
ObjectEventType: "CREATED" | "UPDATED" | "DELETED" | "IMPORTED" | "SYNCED_AFTER_IMPORT" | "TRANSFER_STARTED" | "TRANSFER_COMPLETED" | "TRANSFER_OUT_STARTED" | "TRANSFER_OUT_COMPLETED" | "RENEWED" | "RESTORED" | "BILLING_TRANSACTION_RESERVED" | "BILLING_TRANSACTION_SUCCEEDED" | "BILLING_TRANSACTION_FAILED" | "BILLING_TRANSACTION_CANCELLED";
|
|
16239
|
+
ObjectEventType: "CREATED" | "UPDATED" | "DELETED" | "IMPORTED" | "SYNCED_AFTER_IMPORT" | "SYNCED" | "TRANSFER_STARTED" | "TRANSFER_COMPLETED" | "TRANSFER_CANCELLED" | "TRANSFER_FAILED" | "TRANSFER_OUT_STARTED" | "TRANSFER_OUT_COMPLETED" | "TRANSFER_OUT_CANCELLED" | "TRANSFER_OUT_FAILED" | "TRANSFER_OUT_REJECTED" | "RENEWED" | "RESTORED" | "BILLING_TRANSACTION_RESERVED" | "BILLING_TRANSACTION_SUCCEEDED" | "BILLING_TRANSACTION_FAILED" | "BILLING_TRANSACTION_CANCELLED";
|
|
16240
16240
|
/** ObjectLog */
|
|
16241
16241
|
ObjectLog: {
|
|
16242
16242
|
/** @description Action performed */
|
|
@@ -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: {
|