@opusdns/api 0.64.0 → 0.66.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 CHANGED
@@ -8,7 +8,7 @@
8
8
  "typescript": "^5.8.2"
9
9
  },
10
10
  "name": "@opusdns/api",
11
- "version": "0.64.0",
11
+ "version": "0.66.0",
12
12
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
13
13
  "main": "./src/index.ts",
14
14
  "module": "./src/index.ts",
@@ -1825,7 +1825,6 @@ export const PERIOD_UNIT_VALUES = [
1825
1825
  * @see {@link Permission} - The TypeScript type definition
1826
1826
  */
1827
1827
  export const PERMISSION = {
1828
- ACKNOWLEDGE: "acknowledge",
1829
1828
  BULK_CREATE: "bulk_create",
1830
1829
  BULK_DELETE: "bulk_delete",
1831
1830
  BULK_RENEW_EXPIRE: "bulk_renew_expire",
@@ -1883,7 +1882,6 @@ export const PERMISSION = {
1883
1882
  * @see {@link PERMISSION} - The object form of this enum
1884
1883
  */
1885
1884
  export const PERMISSION_VALUES = [
1886
- 'acknowledge',
1887
1885
  'bulk_create',
1888
1886
  'bulk_delete',
1889
1887
  'bulk_renew_expire',
@@ -2259,7 +2257,6 @@ export const RELATION = {
2259
2257
  OWNER: "owner",
2260
2258
  PARENT: "parent",
2261
2259
  PRODUCT_MANAGER: "product_manager",
2262
- RECIPIENT: "recipient",
2263
2260
  RESELLER_MANAGER: "reseller_manager",
2264
2261
  ROOT_ADMIN: "root_admin",
2265
2262
  SELF: "self",
@@ -2303,7 +2300,6 @@ export const RELATION_VALUES = [
2303
2300
  'owner',
2304
2301
  'parent',
2305
2302
  'product_manager',
2306
- 'recipient',
2307
2303
  'reseller_manager',
2308
2304
  'root_admin',
2309
2305
  'self'
@@ -5712,6 +5712,32 @@ export const KEY_DOMAIN_CREATE_AUTH_CODE = 'auth_code' as keyof DomainCreate;
5712
5712
  * @see {@link KEYS_DOMAIN_CREATE} - Array of all keys for this type
5713
5713
  */
5714
5714
  export const KEY_DOMAIN_CREATE_CONTACTS = 'contacts' as keyof DomainCreate;
5715
+ /**
5716
+ * Create Zone
5717
+ *
5718
+ * Create a zone for the domain on OpusDNS nameserver infrastructure
5719
+ *
5720
+ * @type {boolean}
5721
+ *
5722
+ *
5723
+ * @remarks
5724
+ * This key constant provides type-safe access to the `create_zone` property of DomainCreate objects.
5725
+ * Use this constant when you need to access properties dynamically or ensure type safety.
5726
+ *
5727
+ * @example
5728
+ * ```typescript
5729
+ * // Direct property access
5730
+ * const value = domaincreate[KEY_DOMAIN_CREATE_CREATE_ZONE];
5731
+ *
5732
+ * // Dynamic property access
5733
+ * const propertyName = KEY_DOMAIN_CREATE_CREATE_ZONE;
5734
+ * const value = domaincreate[propertyName];
5735
+ * ```
5736
+ *
5737
+ * @see {@link DomainCreate} - The TypeScript type definition
5738
+ * @see {@link KEYS_DOMAIN_CREATE} - Array of all keys for this type
5739
+ */
5740
+ export const KEY_DOMAIN_CREATE_CREATE_ZONE = 'create_zone' as keyof DomainCreate;
5715
5741
  /**
5716
5742
  * Name
5717
5743
  *
@@ -5837,6 +5863,7 @@ export const KEY_DOMAIN_CREATE_RENEWAL_MODE = 'renewal_mode' as keyof DomainCrea
5837
5863
  export const KEYS_DOMAIN_CREATE = [
5838
5864
  KEY_DOMAIN_CREATE_AUTH_CODE,
5839
5865
  KEY_DOMAIN_CREATE_CONTACTS,
5866
+ KEY_DOMAIN_CREATE_CREATE_ZONE,
5840
5867
  KEY_DOMAIN_CREATE_NAME,
5841
5868
  KEY_DOMAIN_CREATE_NAMESERVERS,
5842
5869
  KEY_DOMAIN_CREATE_PERIOD,
@@ -8665,6 +8692,32 @@ export const KEY_DOMAIN_TRANSFER_IN_AUTH_CODE = 'auth_code' as keyof DomainTrans
8665
8692
  * @see {@link KEYS_DOMAIN_TRANSFER_IN} - Array of all keys for this type
8666
8693
  */
8667
8694
  export const KEY_DOMAIN_TRANSFER_IN_CONTACTS = 'contacts' as keyof DomainTransferIn;
8695
+ /**
8696
+ * Create Zone
8697
+ *
8698
+ * Create a zone for the domain on OpusDNS nameserver infrastructure
8699
+ *
8700
+ * @type {boolean}
8701
+ *
8702
+ *
8703
+ * @remarks
8704
+ * This key constant provides type-safe access to the `create_zone` property of DomainTransferIn objects.
8705
+ * Use this constant when you need to access properties dynamically or ensure type safety.
8706
+ *
8707
+ * @example
8708
+ * ```typescript
8709
+ * // Direct property access
8710
+ * const value = domaintransferin[KEY_DOMAIN_TRANSFER_IN_CREATE_ZONE];
8711
+ *
8712
+ * // Dynamic property access
8713
+ * const propertyName = KEY_DOMAIN_TRANSFER_IN_CREATE_ZONE;
8714
+ * const value = domaintransferin[propertyName];
8715
+ * ```
8716
+ *
8717
+ * @see {@link DomainTransferIn} - The TypeScript type definition
8718
+ * @see {@link KEYS_DOMAIN_TRANSFER_IN} - Array of all keys for this type
8719
+ */
8720
+ export const KEY_DOMAIN_TRANSFER_IN_CREATE_ZONE = 'create_zone' as keyof DomainTransferIn;
8668
8721
  /**
8669
8722
  * Name
8670
8723
  *
@@ -8765,6 +8818,7 @@ export const KEY_DOMAIN_TRANSFER_IN_RENEWAL_MODE = 'renewal_mode' as keyof Domai
8765
8818
  export const KEYS_DOMAIN_TRANSFER_IN = [
8766
8819
  KEY_DOMAIN_TRANSFER_IN_AUTH_CODE,
8767
8820
  KEY_DOMAIN_TRANSFER_IN_CONTACTS,
8821
+ KEY_DOMAIN_TRANSFER_IN_CREATE_ZONE,
8768
8822
  KEY_DOMAIN_TRANSFER_IN_NAME,
8769
8823
  KEY_DOMAIN_TRANSFER_IN_NAMESERVERS,
8770
8824
  KEY_DOMAIN_TRANSFER_IN_RENEWAL_MODE,
package/src/openapi.yaml CHANGED
@@ -1395,6 +1395,11 @@ components:
1395
1395
  - $ref: '#/components/schemas/ContactIdList'
1396
1396
  description: The contacts of the domain
1397
1397
  title: Contacts
1398
+ create_zone:
1399
+ default: false
1400
+ description: Create a zone for the domain on OpusDNS nameserver infrastructure
1401
+ title: Create Zone
1402
+ type: boolean
1398
1403
  name:
1399
1404
  description: The domain to be created
1400
1405
  title: Name
@@ -2122,6 +2127,11 @@ components:
2122
2127
  - $ref: '#/components/schemas/ContactIdList'
2123
2128
  description: The contacts of the domain
2124
2129
  title: Contacts
2130
+ create_zone:
2131
+ default: false
2132
+ description: Create a zone for the domain on OpusDNS nameserver infrastructure
2133
+ title: Create Zone
2134
+ type: boolean
2125
2135
  name:
2126
2136
  description: The domain to be created
2127
2137
  title: Name
@@ -3746,7 +3756,6 @@ components:
3746
3756
  type: string
3747
3757
  Permission:
3748
3758
  enum:
3749
- - acknowledge
3750
3759
  - bulk_create
3751
3760
  - bulk_delete
3752
3761
  - bulk_renew_expire
@@ -4032,7 +4041,6 @@ components:
4032
4041
  - owner
4033
4042
  - parent
4034
4043
  - product_manager
4035
- - recipient
4036
4044
  - reseller_manager
4037
4045
  - root_admin
4038
4046
  - self
@@ -5118,7 +5126,7 @@ info:
5118
5126
  '
5119
5127
  summary: OpusDNS - your gateway to a seamless domain management experience.
5120
5128
  title: OpusDNS API
5121
- version: 2025-09-24-220429
5129
+ version: 2025-09-25-223241
5122
5130
  x-logo:
5123
5131
  altText: OpusDNS API Reference
5124
5132
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -2164,6 +2164,12 @@ export interface components {
2164
2164
  * @description The contacts of the domain
2165
2165
  */
2166
2166
  contacts: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
2167
+ /**
2168
+ * Create Zone
2169
+ * @description Create a zone for the domain on OpusDNS nameserver infrastructure
2170
+ * @default false
2171
+ */
2172
+ create_zone: boolean;
2167
2173
  /**
2168
2174
  * Name
2169
2175
  * @description The domain to be created
@@ -2635,6 +2641,12 @@ export interface components {
2635
2641
  * @description The contacts of the domain
2636
2642
  */
2637
2643
  contacts: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
2644
+ /**
2645
+ * Create Zone
2646
+ * @description Create a zone for the domain on OpusDNS nameserver infrastructure
2647
+ * @default false
2648
+ */
2649
+ create_zone: boolean;
2638
2650
  /**
2639
2651
  * Name
2640
2652
  * @description The domain to be created
@@ -3685,7 +3697,7 @@ export interface components {
3685
3697
  * Permission
3686
3698
  * @enum {string}
3687
3699
  */
3688
- Permission: "acknowledge" | "bulk_create" | "bulk_delete" | "bulk_renew_expire" | "bulk_transfer_trade" | "bulk_update" | "corporate_plan" | "create" | "delete" | "enterprise_plan" | "has_accepted_tos" | "manage_api_keys" | "manage_billing" | "manage_cms_content" | "manage_contacts" | "manage_dns_zones" | "manage_domains" | "manage_email_forwards" | "manage_events" | "manage_opusdns_api_keys" | "manage_products" | "manage_reseller" | "manage_users" | "manage_user_relations" | "plan_manager" | "premium_plan" | "renew_expire" | "starter_plan" | "transfer_trade" | "update" | "verify" | "view" | "view_audit_logs" | "view_events";
3700
+ Permission: "bulk_create" | "bulk_delete" | "bulk_renew_expire" | "bulk_transfer_trade" | "bulk_update" | "corporate_plan" | "create" | "delete" | "enterprise_plan" | "has_accepted_tos" | "manage_api_keys" | "manage_billing" | "manage_cms_content" | "manage_contacts" | "manage_dns_zones" | "manage_domains" | "manage_email_forwards" | "manage_events" | "manage_opusdns_api_keys" | "manage_products" | "manage_reseller" | "manage_users" | "manage_user_relations" | "plan_manager" | "premium_plan" | "renew_expire" | "starter_plan" | "transfer_trade" | "update" | "verify" | "view" | "view_audit_logs" | "view_events";
3689
3701
  /** PermissionSet */
3690
3702
  PermissionSet: {
3691
3703
  /** Permissions */
@@ -3849,7 +3861,7 @@ export interface components {
3849
3861
  * Relation
3850
3862
  * @enum {string}
3851
3863
  */
3852
- Relation: "accepted_tos" | "admin" | "api_admin" | "billing_manager" | "client_api_key" | "cms_content_editor" | "contact_manager" | "domain_manager" | "email_forward_manager" | "events_manager" | "member" | "opusdns_internal_api_key" | "organization_manager" | "owner" | "parent" | "product_manager" | "recipient" | "reseller_manager" | "root_admin" | "self";
3864
+ Relation: "accepted_tos" | "admin" | "api_admin" | "billing_manager" | "client_api_key" | "cms_content_editor" | "contact_manager" | "domain_manager" | "email_forward_manager" | "events_manager" | "member" | "opusdns_internal_api_key" | "organization_manager" | "owner" | "parent" | "product_manager" | "reseller_manager" | "root_admin" | "self";
3853
3865
  /** RelationSet */
3854
3866
  RelationSet: {
3855
3867
  /** Relations */