@opusdns/api 0.301.0 → 0.302.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 +52 -0
- package/src/openapi.yaml +21 -1
- package/src/schema.d.ts +14 -0
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -12939,6 +12939,31 @@ export const KEYS_DOMAIN_CREATE_BULK_COMMAND = [
|
|
|
12939
12939
|
KEY_DOMAIN_CREATE_BULK_COMMAND_VERSION,
|
|
12940
12940
|
] as const satisfies (keyof DomainCreateBulkCommand)[];
|
|
12941
12941
|
|
|
12942
|
+
/**
|
|
12943
|
+
* Attributes
|
|
12944
|
+
*
|
|
12945
|
+
* Override attributes for this domain
|
|
12946
|
+
*
|
|
12947
|
+
*
|
|
12948
|
+
*
|
|
12949
|
+
* @remarks
|
|
12950
|
+
* This key constant provides type-safe access to the `attributes` property of DomainCreateBulkInstance objects.
|
|
12951
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
12952
|
+
*
|
|
12953
|
+
* @example
|
|
12954
|
+
* ```typescript
|
|
12955
|
+
* // Direct property access
|
|
12956
|
+
* const value = domaincreatebulkinstance[KEY_DOMAIN_CREATE_BULK_INSTANCE_ATTRIBUTES];
|
|
12957
|
+
*
|
|
12958
|
+
* // Dynamic property access
|
|
12959
|
+
* const propertyName = KEY_DOMAIN_CREATE_BULK_INSTANCE_ATTRIBUTES;
|
|
12960
|
+
* const value = domaincreatebulkinstance[propertyName];
|
|
12961
|
+
* ```
|
|
12962
|
+
*
|
|
12963
|
+
* @see {@link DomainCreateBulkInstance} - The TypeScript type definition
|
|
12964
|
+
* @see {@link KEYS_DOMAIN_CREATE_BULK_INSTANCE} - Array of all keys for this type
|
|
12965
|
+
*/
|
|
12966
|
+
export const KEY_DOMAIN_CREATE_BULK_INSTANCE_ATTRIBUTES: keyof DomainCreateBulkInstance = 'attributes';
|
|
12942
12967
|
/**
|
|
12943
12968
|
* Auth Code
|
|
12944
12969
|
*
|
|
@@ -13162,6 +13187,7 @@ export const KEY_DOMAIN_CREATE_BULK_INSTANCE_RENEWAL_MODE: keyof DomainCreateBul
|
|
|
13162
13187
|
* @see {@link DomainCreateBulkInstance} - The TypeScript type definition
|
|
13163
13188
|
*/
|
|
13164
13189
|
export const KEYS_DOMAIN_CREATE_BULK_INSTANCE = [
|
|
13190
|
+
KEY_DOMAIN_CREATE_BULK_INSTANCE_ATTRIBUTES,
|
|
13165
13191
|
KEY_DOMAIN_CREATE_BULK_INSTANCE_AUTH_CODE,
|
|
13166
13192
|
KEY_DOMAIN_CREATE_BULK_INSTANCE_CONTACTS,
|
|
13167
13193
|
KEY_DOMAIN_CREATE_BULK_INSTANCE_CREATE_ZONE,
|
|
@@ -13249,6 +13275,31 @@ export const KEYS_DOMAIN_CREATE_BULK_PAYLOAD = [
|
|
|
13249
13275
|
KEY_DOMAIN_CREATE_BULK_PAYLOAD_TEMPLATE,
|
|
13250
13276
|
] as const satisfies (keyof DomainCreateBulkPayload)[];
|
|
13251
13277
|
|
|
13278
|
+
/**
|
|
13279
|
+
* Attributes
|
|
13280
|
+
*
|
|
13281
|
+
* Additional attributes of the domain
|
|
13282
|
+
*
|
|
13283
|
+
*
|
|
13284
|
+
*
|
|
13285
|
+
* @remarks
|
|
13286
|
+
* This key constant provides type-safe access to the `attributes` property of DomainCreateBulkTemplate objects.
|
|
13287
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
13288
|
+
*
|
|
13289
|
+
* @example
|
|
13290
|
+
* ```typescript
|
|
13291
|
+
* // Direct property access
|
|
13292
|
+
* const value = domaincreatebulktemplate[KEY_DOMAIN_CREATE_BULK_TEMPLATE_ATTRIBUTES];
|
|
13293
|
+
*
|
|
13294
|
+
* // Dynamic property access
|
|
13295
|
+
* const propertyName = KEY_DOMAIN_CREATE_BULK_TEMPLATE_ATTRIBUTES;
|
|
13296
|
+
* const value = domaincreatebulktemplate[propertyName];
|
|
13297
|
+
* ```
|
|
13298
|
+
*
|
|
13299
|
+
* @see {@link DomainCreateBulkTemplate} - The TypeScript type definition
|
|
13300
|
+
* @see {@link KEYS_DOMAIN_CREATE_BULK_TEMPLATE} - Array of all keys for this type
|
|
13301
|
+
*/
|
|
13302
|
+
export const KEY_DOMAIN_CREATE_BULK_TEMPLATE_ATTRIBUTES: keyof DomainCreateBulkTemplate = 'attributes';
|
|
13252
13303
|
/**
|
|
13253
13304
|
* Auth Code
|
|
13254
13305
|
*
|
|
@@ -13421,6 +13472,7 @@ export const KEY_DOMAIN_CREATE_BULK_TEMPLATE_RENEWAL_MODE: keyof DomainCreateBul
|
|
|
13421
13472
|
* @see {@link DomainCreateBulkTemplate} - The TypeScript type definition
|
|
13422
13473
|
*/
|
|
13423
13474
|
export const KEYS_DOMAIN_CREATE_BULK_TEMPLATE = [
|
|
13475
|
+
KEY_DOMAIN_CREATE_BULK_TEMPLATE_ATTRIBUTES,
|
|
13424
13476
|
KEY_DOMAIN_CREATE_BULK_TEMPLATE_AUTH_CODE,
|
|
13425
13477
|
KEY_DOMAIN_CREATE_BULK_TEMPLATE_CONTACTS,
|
|
13426
13478
|
KEY_DOMAIN_CREATE_BULK_TEMPLATE_CREATE_ZONE,
|
package/src/openapi.yaml
CHANGED
|
@@ -3113,6 +3113,16 @@ components:
|
|
|
3113
3113
|
type: object
|
|
3114
3114
|
DomainCreateBulkInstance:
|
|
3115
3115
|
properties:
|
|
3116
|
+
attributes:
|
|
3117
|
+
anyOf:
|
|
3118
|
+
- additionalProperties:
|
|
3119
|
+
type: string
|
|
3120
|
+
propertyNames:
|
|
3121
|
+
$ref: '#/components/schemas/DomainAttributeKey'
|
|
3122
|
+
type: object
|
|
3123
|
+
- type: 'null'
|
|
3124
|
+
description: Override attributes for this domain
|
|
3125
|
+
title: Attributes
|
|
3116
3126
|
auth_code:
|
|
3117
3127
|
anyOf:
|
|
3118
3128
|
- maxLength: 32
|
|
@@ -3185,6 +3195,16 @@ components:
|
|
|
3185
3195
|
type: object
|
|
3186
3196
|
DomainCreateBulkTemplate:
|
|
3187
3197
|
properties:
|
|
3198
|
+
attributes:
|
|
3199
|
+
anyOf:
|
|
3200
|
+
- additionalProperties:
|
|
3201
|
+
type: string
|
|
3202
|
+
propertyNames:
|
|
3203
|
+
$ref: '#/components/schemas/DomainAttributeKey'
|
|
3204
|
+
type: object
|
|
3205
|
+
- type: 'null'
|
|
3206
|
+
description: Additional attributes of the domain
|
|
3207
|
+
title: Attributes
|
|
3188
3208
|
auth_code:
|
|
3189
3209
|
anyOf:
|
|
3190
3210
|
- maxLength: 32
|
|
@@ -11327,7 +11347,7 @@ info:
|
|
|
11327
11347
|
\n\n"
|
|
11328
11348
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
11329
11349
|
title: OpusDNS API
|
|
11330
|
-
version: 2026-05-
|
|
11350
|
+
version: 2026-05-15-120103
|
|
11331
11351
|
x-logo:
|
|
11332
11352
|
altText: OpusDNS API Reference
|
|
11333
11353
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -4552,6 +4552,13 @@ export interface components {
|
|
|
4552
4552
|
};
|
|
4553
4553
|
/** DomainCreateBulkInstance */
|
|
4554
4554
|
DomainCreateBulkInstance: {
|
|
4555
|
+
/**
|
|
4556
|
+
* Attributes
|
|
4557
|
+
* @description Override attributes for this domain
|
|
4558
|
+
*/
|
|
4559
|
+
attributes?: {
|
|
4560
|
+
[key: string]: string;
|
|
4561
|
+
} | null;
|
|
4555
4562
|
/**
|
|
4556
4563
|
* Auth Code
|
|
4557
4564
|
* @description Override auth code for this domain
|
|
@@ -4593,6 +4600,13 @@ export interface components {
|
|
|
4593
4600
|
};
|
|
4594
4601
|
/** DomainCreateBulkTemplate */
|
|
4595
4602
|
DomainCreateBulkTemplate: {
|
|
4603
|
+
/**
|
|
4604
|
+
* Attributes
|
|
4605
|
+
* @description Additional attributes of the domain
|
|
4606
|
+
*/
|
|
4607
|
+
attributes?: {
|
|
4608
|
+
[key: string]: string;
|
|
4609
|
+
} | null;
|
|
4596
4610
|
/**
|
|
4597
4611
|
* Auth Code
|
|
4598
4612
|
* @description The auth code used for the domain
|