@opusdns/api 0.45.0 → 0.46.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 +27 -0
- package/src/openapi.yaml +8 -1
- package/src/schema.d.ts +6 -0
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -16280,6 +16280,32 @@ export const KEYS_TERMS_OF_SERVICE_ACCEPT = [
|
|
|
16280
16280
|
* @see {@link KEYS_TLD_BASE} - Array of all keys for this type
|
|
16281
16281
|
*/
|
|
16282
16282
|
export const KEY_TLD_BASE_NAME = 'name' as keyof TldBase;
|
|
16283
|
+
/**
|
|
16284
|
+
* Third Level Structure
|
|
16285
|
+
*
|
|
16286
|
+
* Name of the third levels (name and overrides)
|
|
16287
|
+
*
|
|
16288
|
+
* @type {array}
|
|
16289
|
+
*
|
|
16290
|
+
*
|
|
16291
|
+
* @remarks
|
|
16292
|
+
* This key constant provides type-safe access to the `third_level_structure` property of TldBase objects.
|
|
16293
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
16294
|
+
*
|
|
16295
|
+
* @example
|
|
16296
|
+
* ```typescript
|
|
16297
|
+
* // Direct property access
|
|
16298
|
+
* const value = tldbase[KEY_TLD_BASE_THIRD_LEVEL_STRUCTURE];
|
|
16299
|
+
*
|
|
16300
|
+
* // Dynamic property access
|
|
16301
|
+
* const propertyName = KEY_TLD_BASE_THIRD_LEVEL_STRUCTURE;
|
|
16302
|
+
* const value = tldbase[propertyName];
|
|
16303
|
+
* ```
|
|
16304
|
+
*
|
|
16305
|
+
* @see {@link TldBase} - The TypeScript type definition
|
|
16306
|
+
* @see {@link KEYS_TLD_BASE} - Array of all keys for this type
|
|
16307
|
+
*/
|
|
16308
|
+
export const KEY_TLD_BASE_THIRD_LEVEL_STRUCTURE = 'third_level_structure' as keyof TldBase;
|
|
16283
16309
|
/**
|
|
16284
16310
|
* type property
|
|
16285
16311
|
*
|
|
@@ -16328,6 +16354,7 @@ export const KEY_TLD_BASE_TYPE = 'type' as keyof TldBase;
|
|
|
16328
16354
|
*/
|
|
16329
16355
|
export const KEYS_TLD_BASE = [
|
|
16330
16356
|
KEY_TLD_BASE_NAME,
|
|
16357
|
+
KEY_TLD_BASE_THIRD_LEVEL_STRUCTURE,
|
|
16331
16358
|
KEY_TLD_BASE_TYPE,
|
|
16332
16359
|
] as const satisfies (keyof TldBase)[];
|
|
16333
16360
|
|
package/src/openapi.yaml
CHANGED
|
@@ -4200,6 +4200,13 @@ components:
|
|
|
4200
4200
|
description: The TLD being configured
|
|
4201
4201
|
title: Name
|
|
4202
4202
|
type: string
|
|
4203
|
+
third_level_structure:
|
|
4204
|
+
default: []
|
|
4205
|
+
description: Name of the third levels (name and overrides)
|
|
4206
|
+
items:
|
|
4207
|
+
type: string
|
|
4208
|
+
title: Third Level Structure
|
|
4209
|
+
type: array
|
|
4203
4210
|
type:
|
|
4204
4211
|
$ref: '#/components/schemas/TLDType'
|
|
4205
4212
|
description: The type of the TLD (e.g., gTLD, ccTLD)
|
|
@@ -5324,7 +5331,7 @@ info:
|
|
|
5324
5331
|
'
|
|
5325
5332
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5326
5333
|
title: OpusDNS API
|
|
5327
|
-
version: 2025-09-16-
|
|
5334
|
+
version: 2025-09-16-220632
|
|
5328
5335
|
x-logo:
|
|
5329
5336
|
altText: OpusDNS API Reference
|
|
5330
5337
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -4001,6 +4001,12 @@ export interface components {
|
|
|
4001
4001
|
* @description The TLD being configured
|
|
4002
4002
|
*/
|
|
4003
4003
|
name: string;
|
|
4004
|
+
/**
|
|
4005
|
+
* Third Level Structure
|
|
4006
|
+
* @description Name of the third levels (name and overrides)
|
|
4007
|
+
* @default []
|
|
4008
|
+
*/
|
|
4009
|
+
third_level_structure: string[];
|
|
4004
4010
|
/** @description The type of the TLD (e.g., gTLD, ccTLD) */
|
|
4005
4011
|
type: components["schemas"]["TLDType"];
|
|
4006
4012
|
};
|