@opusdns/api 0.64.0 → 0.65.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/keys.ts +54 -0
- package/src/openapi.yaml +11 -1
- package/src/schema.d.ts +12 -0
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -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
|
|
@@ -5118,7 +5128,7 @@ info:
|
|
|
5118
5128
|
'
|
|
5119
5129
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5120
5130
|
title: OpusDNS API
|
|
5121
|
-
version: 2025-09-
|
|
5131
|
+
version: 2025-09-25-064650
|
|
5122
5132
|
x-logo:
|
|
5123
5133
|
altText: OpusDNS API Reference
|
|
5124
5134
|
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
|