@opusdns/api 1.1.0 → 1.3.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 +6 -0
- package/src/openapi.yaml +14 -9
- package/src/schema.d.ts +3 -3
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -1259,6 +1259,7 @@ export const PERMISSION = {
|
|
|
1259
1259
|
BULK_UPDATE: "bulk_update",
|
|
1260
1260
|
CORPORATE_PLAN: "corporate_plan",
|
|
1261
1261
|
CREATE: "create",
|
|
1262
|
+
CREATE_VANITY_NS: "create_vanity_ns",
|
|
1262
1263
|
DELETE: "delete",
|
|
1263
1264
|
DELETE_DOMAIN_FORWARDS: "delete_domain_forwards",
|
|
1264
1265
|
ENTERPRISE_PLAN: "enterprise_plan",
|
|
@@ -1284,6 +1285,7 @@ export const PERMISSION = {
|
|
|
1284
1285
|
MANAGE_TAGS: "manage_tags",
|
|
1285
1286
|
MANAGE_USERS: "manage_users",
|
|
1286
1287
|
MANAGE_USER_RELATIONS: "manage_user_relations",
|
|
1288
|
+
MANAGE_VANITY_NS: "manage_vanity_ns",
|
|
1287
1289
|
PLAN_MANAGER: "plan_manager",
|
|
1288
1290
|
PREMIUM_PLAN: "premium_plan",
|
|
1289
1291
|
RENEW_EXPIRE: "renew_expire",
|
|
@@ -1298,6 +1300,7 @@ export const PERMISSION = {
|
|
|
1298
1300
|
VIEW_EMAIL_FORWARDS: "view_email_forwards",
|
|
1299
1301
|
VIEW_EVENTS: "view_events",
|
|
1300
1302
|
VIEW_PARKING: "view_parking",
|
|
1303
|
+
VIEW_VANITY_NS: "view_vanity_ns",
|
|
1301
1304
|
} as const satisfies Record<string, Permission>;
|
|
1302
1305
|
|
|
1303
1306
|
export const PERMISSION_VALUES = [
|
|
@@ -1308,6 +1311,7 @@ export const PERMISSION_VALUES = [
|
|
|
1308
1311
|
'bulk_update',
|
|
1309
1312
|
'corporate_plan',
|
|
1310
1313
|
'create',
|
|
1314
|
+
'create_vanity_ns',
|
|
1311
1315
|
'delete',
|
|
1312
1316
|
'delete_domain_forwards',
|
|
1313
1317
|
'enterprise_plan',
|
|
@@ -1333,6 +1337,7 @@ export const PERMISSION_VALUES = [
|
|
|
1333
1337
|
'manage_tags',
|
|
1334
1338
|
'manage_users',
|
|
1335
1339
|
'manage_user_relations',
|
|
1340
|
+
'manage_vanity_ns',
|
|
1336
1341
|
'plan_manager',
|
|
1337
1342
|
'premium_plan',
|
|
1338
1343
|
'renew_expire',
|
|
@@ -1347,6 +1352,7 @@ export const PERMISSION_VALUES = [
|
|
|
1347
1352
|
'view_email_forwards',
|
|
1348
1353
|
'view_events',
|
|
1349
1354
|
'view_parking',
|
|
1355
|
+
'view_vanity_ns',
|
|
1350
1356
|
] as const satisfies ReadonlyArray<Permission>;
|
|
1351
1357
|
|
|
1352
1358
|
export const POST_TRANSFER_REQUIREMENTS = {
|
package/src/openapi.yaml
CHANGED
|
@@ -4859,11 +4859,13 @@ components:
|
|
|
4859
4859
|
description: Additional attributes of the domain
|
|
4860
4860
|
title: Attributes
|
|
4861
4861
|
auth_code:
|
|
4862
|
+
anyOf:
|
|
4863
|
+
- maxLength: 32
|
|
4864
|
+
minLength: 6
|
|
4865
|
+
type: string
|
|
4866
|
+
- type: 'null'
|
|
4862
4867
|
description: The auth code for the domain
|
|
4863
|
-
maxLength: 32
|
|
4864
|
-
minLength: 6
|
|
4865
4868
|
title: Auth Code
|
|
4866
|
-
type: string
|
|
4867
4869
|
contacts:
|
|
4868
4870
|
anyOf:
|
|
4869
4871
|
- $ref: '#/components/schemas/DomainContactHandles'
|
|
@@ -4906,7 +4908,6 @@ components:
|
|
|
4906
4908
|
- name
|
|
4907
4909
|
- contacts
|
|
4908
4910
|
- renewal_mode
|
|
4909
|
-
- auth_code
|
|
4910
4911
|
title: DomainTransferIn
|
|
4911
4912
|
type: object
|
|
4912
4913
|
DomainTransferPayloadData:
|
|
@@ -4922,11 +4923,13 @@ components:
|
|
|
4922
4923
|
description: Additional attributes of the domain
|
|
4923
4924
|
title: Attributes
|
|
4924
4925
|
auth_code:
|
|
4926
|
+
anyOf:
|
|
4927
|
+
- maxLength: 32
|
|
4928
|
+
minLength: 6
|
|
4929
|
+
type: string
|
|
4930
|
+
- type: 'null'
|
|
4925
4931
|
description: The auth code for the domain
|
|
4926
|
-
maxLength: 32
|
|
4927
|
-
minLength: 6
|
|
4928
4932
|
title: Auth Code
|
|
4929
|
-
type: string
|
|
4930
4933
|
contacts:
|
|
4931
4934
|
anyOf:
|
|
4932
4935
|
- $ref: '#/components/schemas/DomainContactHandles'
|
|
@@ -4969,7 +4972,6 @@ components:
|
|
|
4969
4972
|
- name
|
|
4970
4973
|
- contacts
|
|
4971
4974
|
- renewal_mode
|
|
4972
|
-
- auth_code
|
|
4973
4975
|
title: DomainTransferPayloadData
|
|
4974
4976
|
type: object
|
|
4975
4977
|
DomainTransferWorkerPayload:
|
|
@@ -9097,6 +9099,7 @@ components:
|
|
|
9097
9099
|
- bulk_update
|
|
9098
9100
|
- corporate_plan
|
|
9099
9101
|
- create
|
|
9102
|
+
- create_vanity_ns
|
|
9100
9103
|
- delete
|
|
9101
9104
|
- delete_domain_forwards
|
|
9102
9105
|
- enterprise_plan
|
|
@@ -9122,6 +9125,7 @@ components:
|
|
|
9122
9125
|
- manage_tags
|
|
9123
9126
|
- manage_users
|
|
9124
9127
|
- manage_user_relations
|
|
9128
|
+
- manage_vanity_ns
|
|
9125
9129
|
- plan_manager
|
|
9126
9130
|
- premium_plan
|
|
9127
9131
|
- renew_expire
|
|
@@ -9136,6 +9140,7 @@ components:
|
|
|
9136
9140
|
- view_email_forwards
|
|
9137
9141
|
- view_events
|
|
9138
9142
|
- view_parking
|
|
9143
|
+
- view_vanity_ns
|
|
9139
9144
|
title: Permission
|
|
9140
9145
|
type: string
|
|
9141
9146
|
PermissionSet:
|
|
@@ -11596,7 +11601,7 @@ info:
|
|
|
11596
11601
|
\n\n"
|
|
11597
11602
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
11598
11603
|
title: OpusDNS API
|
|
11599
|
-
version: 2026-06-
|
|
11604
|
+
version: 2026-06-06-214907
|
|
11600
11605
|
x-logo:
|
|
11601
11606
|
altText: OpusDNS API Reference
|
|
11602
11607
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -5669,7 +5669,7 @@ export interface components {
|
|
|
5669
5669
|
* Auth Code
|
|
5670
5670
|
* @description The auth code for the domain
|
|
5671
5671
|
*/
|
|
5672
|
-
auth_code
|
|
5672
|
+
auth_code?: string | null;
|
|
5673
5673
|
/**
|
|
5674
5674
|
* Contacts
|
|
5675
5675
|
* @description The contacts of the domain
|
|
@@ -5714,7 +5714,7 @@ export interface components {
|
|
|
5714
5714
|
* Auth Code
|
|
5715
5715
|
* @description The auth code for the domain
|
|
5716
5716
|
*/
|
|
5717
|
-
auth_code
|
|
5717
|
+
auth_code?: string | null;
|
|
5718
5718
|
/**
|
|
5719
5719
|
* Contacts
|
|
5720
5720
|
* @description The contacts of the domain
|
|
@@ -8469,7 +8469,7 @@ export interface components {
|
|
|
8469
8469
|
* Permission
|
|
8470
8470
|
* @enum {string}
|
|
8471
8471
|
*/
|
|
8472
|
-
Permission: "bulk_create" | "bulk_delete" | "bulk_renew_expire" | "bulk_transfer_trade" | "bulk_update" | "corporate_plan" | "create" | "delete" | "delete_domain_forwards" | "enterprise_plan" | "has_accepted_tos" | "manage_api_keys" | "manage_billing" | "manage_chats" | "manage_cms_content" | "manage_contacts" | "manage_dns_zones" | "manage_domains" | "manage_domain_forwards" | "manage_email_forwards" | "manage_events" | "manage_hosts" | "manage_jobs" | "manage_opusdns_api_keys" | "manage_parking" | "manage_products" | "manage_registrar_credentials" | "manage_reseller" | "manage_sub_zones" | "manage_tags" | "manage_users" | "manage_user_relations" | "plan_manager" | "premium_plan" | "renew_expire" | "starter_plan" | "transfer_trade" | "update" | "update_domain_forwards" | "verify" | "view" | "view_audit_logs" | "view_domain_forwards" | "view_email_forwards" | "view_events" | "view_parking";
|
|
8472
|
+
Permission: "bulk_create" | "bulk_delete" | "bulk_renew_expire" | "bulk_transfer_trade" | "bulk_update" | "corporate_plan" | "create" | "create_vanity_ns" | "delete" | "delete_domain_forwards" | "enterprise_plan" | "has_accepted_tos" | "manage_api_keys" | "manage_billing" | "manage_chats" | "manage_cms_content" | "manage_contacts" | "manage_dns_zones" | "manage_domains" | "manage_domain_forwards" | "manage_email_forwards" | "manage_events" | "manage_hosts" | "manage_jobs" | "manage_opusdns_api_keys" | "manage_parking" | "manage_products" | "manage_registrar_credentials" | "manage_reseller" | "manage_sub_zones" | "manage_tags" | "manage_users" | "manage_user_relations" | "manage_vanity_ns" | "plan_manager" | "premium_plan" | "renew_expire" | "starter_plan" | "transfer_trade" | "update" | "update_domain_forwards" | "verify" | "view" | "view_audit_logs" | "view_domain_forwards" | "view_email_forwards" | "view_events" | "view_parking" | "view_vanity_ns";
|
|
8473
8473
|
/** PermissionSet */
|
|
8474
8474
|
PermissionSet: {
|
|
8475
8475
|
/** Permissions */
|