@opusdns/api 0.155.0 → 0.157.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 +0 -54
- package/src/openapi.yaml +1 -12
- package/src/schema.d.ts +0 -12
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -9504,32 +9504,6 @@ export const KEYS_DOMAIN = [
|
|
|
9504
9504
|
* @see {@link KEYS_DOMAIN_RESTORE_REQUEST} - Array of all keys for this type
|
|
9505
9505
|
*/
|
|
9506
9506
|
export const KEY_DOMAIN_RESTORE_REQUEST_ADDITIONAL_INFO: keyof DomainRestoreRequest = 'additional_info';
|
|
9507
|
-
/**
|
|
9508
|
-
* Auto Renew
|
|
9509
|
-
*
|
|
9510
|
-
* Whether to automatically renew the domain after restore
|
|
9511
|
-
*
|
|
9512
|
-
* @type {boolean}
|
|
9513
|
-
*
|
|
9514
|
-
*
|
|
9515
|
-
* @remarks
|
|
9516
|
-
* This key constant provides type-safe access to the `auto_renew` property of DomainRestoreRequest objects.
|
|
9517
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
9518
|
-
*
|
|
9519
|
-
* @example
|
|
9520
|
-
* ```typescript
|
|
9521
|
-
* // Direct property access
|
|
9522
|
-
* const value = domainrestorerequest[KEY_DOMAIN_RESTORE_REQUEST_AUTO_RENEW];
|
|
9523
|
-
*
|
|
9524
|
-
* // Dynamic property access
|
|
9525
|
-
* const propertyName = KEY_DOMAIN_RESTORE_REQUEST_AUTO_RENEW;
|
|
9526
|
-
* const value = domainrestorerequest[propertyName];
|
|
9527
|
-
* ```
|
|
9528
|
-
*
|
|
9529
|
-
* @see {@link DomainRestoreRequest} - The TypeScript type definition
|
|
9530
|
-
* @see {@link KEYS_DOMAIN_RESTORE_REQUEST} - Array of all keys for this type
|
|
9531
|
-
*/
|
|
9532
|
-
export const KEY_DOMAIN_RESTORE_REQUEST_AUTO_RENEW: keyof DomainRestoreRequest = 'auto_renew';
|
|
9533
9507
|
/**
|
|
9534
9508
|
* Reason
|
|
9535
9509
|
*
|
|
@@ -9578,7 +9552,6 @@ export const KEY_DOMAIN_RESTORE_REQUEST_REASON: keyof DomainRestoreRequest = 're
|
|
|
9578
9552
|
*/
|
|
9579
9553
|
export const KEYS_DOMAIN_RESTORE_REQUEST = [
|
|
9580
9554
|
KEY_DOMAIN_RESTORE_REQUEST_ADDITIONAL_INFO,
|
|
9581
|
-
KEY_DOMAIN_RESTORE_REQUEST_AUTO_RENEW,
|
|
9582
9555
|
KEY_DOMAIN_RESTORE_REQUEST_REASON,
|
|
9583
9556
|
] as const satisfies (keyof DomainRestoreRequest)[];
|
|
9584
9557
|
|
|
@@ -9608,32 +9581,6 @@ export const KEYS_DOMAIN_RESTORE_REQUEST = [
|
|
|
9608
9581
|
* @see {@link KEYS_DOMAIN_RESTORE} - Array of all keys for this type
|
|
9609
9582
|
*/
|
|
9610
9583
|
export const KEY_DOMAIN_RESTORE_DOMAIN_ID: keyof DomainRestore = 'domain_id';
|
|
9611
|
-
/**
|
|
9612
|
-
* Expiration Date
|
|
9613
|
-
*
|
|
9614
|
-
* The new expiration date after restore
|
|
9615
|
-
*
|
|
9616
|
-
* @type {string}
|
|
9617
|
-
*
|
|
9618
|
-
*
|
|
9619
|
-
* @remarks
|
|
9620
|
-
* This key constant provides type-safe access to the `expiration_date` property of DomainRestore objects.
|
|
9621
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
9622
|
-
*
|
|
9623
|
-
* @example
|
|
9624
|
-
* ```typescript
|
|
9625
|
-
* // Direct property access
|
|
9626
|
-
* const value = domainrestore[KEY_DOMAIN_RESTORE_EXPIRATION_DATE];
|
|
9627
|
-
*
|
|
9628
|
-
* // Dynamic property access
|
|
9629
|
-
* const propertyName = KEY_DOMAIN_RESTORE_EXPIRATION_DATE;
|
|
9630
|
-
* const value = domainrestore[propertyName];
|
|
9631
|
-
* ```
|
|
9632
|
-
*
|
|
9633
|
-
* @see {@link DomainRestore} - The TypeScript type definition
|
|
9634
|
-
* @see {@link KEYS_DOMAIN_RESTORE} - Array of all keys for this type
|
|
9635
|
-
*/
|
|
9636
|
-
export const KEY_DOMAIN_RESTORE_EXPIRATION_DATE: keyof DomainRestore = 'expiration_date';
|
|
9637
9584
|
/**
|
|
9638
9585
|
* Name
|
|
9639
9586
|
*
|
|
@@ -9709,7 +9656,6 @@ export const KEY_DOMAIN_RESTORE_RESTORED_AT: keyof DomainRestore = 'restored_at'
|
|
|
9709
9656
|
*/
|
|
9710
9657
|
export const KEYS_DOMAIN_RESTORE = [
|
|
9711
9658
|
KEY_DOMAIN_RESTORE_DOMAIN_ID,
|
|
9712
|
-
KEY_DOMAIN_RESTORE_EXPIRATION_DATE,
|
|
9713
9659
|
KEY_DOMAIN_RESTORE_NAME,
|
|
9714
9660
|
KEY_DOMAIN_RESTORE_RESTORED_AT,
|
|
9715
9661
|
] as const satisfies (keyof DomainRestore)[];
|
package/src/openapi.yaml
CHANGED
|
@@ -2259,11 +2259,6 @@ components:
|
|
|
2259
2259
|
- type: 'null'
|
|
2260
2260
|
description: Additional information to include in the restore operation
|
|
2261
2261
|
title: Additional Info
|
|
2262
|
-
auto_renew:
|
|
2263
|
-
default: true
|
|
2264
|
-
description: Whether to automatically renew the domain after restore
|
|
2265
|
-
title: Auto Renew
|
|
2266
|
-
type: boolean
|
|
2267
2262
|
reason:
|
|
2268
2263
|
anyOf:
|
|
2269
2264
|
- type: string
|
|
@@ -2283,11 +2278,6 @@ components:
|
|
|
2283
2278
|
title: Domain Id
|
|
2284
2279
|
type: string
|
|
2285
2280
|
x-typeid-prefix: domain
|
|
2286
|
-
expiration_date:
|
|
2287
|
-
description: The new expiration date after restore
|
|
2288
|
-
format: date-time
|
|
2289
|
-
title: Expiration Date
|
|
2290
|
-
type: string
|
|
2291
2281
|
name:
|
|
2292
2282
|
description: The name of the restored domain
|
|
2293
2283
|
title: Name
|
|
@@ -2300,7 +2290,6 @@ components:
|
|
|
2300
2290
|
required:
|
|
2301
2291
|
- domain_id
|
|
2302
2292
|
- name
|
|
2303
|
-
- expiration_date
|
|
2304
2293
|
- restored_at
|
|
2305
2294
|
title: DomainRestoreResponse
|
|
2306
2295
|
type: object
|
|
@@ -6550,7 +6539,7 @@ info:
|
|
|
6550
6539
|
'
|
|
6551
6540
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
6552
6541
|
title: OpusDNS API
|
|
6553
|
-
version: 2026-01-
|
|
6542
|
+
version: 2026-01-14-103335
|
|
6554
6543
|
x-logo:
|
|
6555
6544
|
altText: OpusDNS API Reference
|
|
6556
6545
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -3230,12 +3230,6 @@ export interface components {
|
|
|
3230
3230
|
* @description Additional information to include in the restore operation
|
|
3231
3231
|
*/
|
|
3232
3232
|
additional_info?: string | null;
|
|
3233
|
-
/**
|
|
3234
|
-
* Auto Renew
|
|
3235
|
-
* @description Whether to automatically renew the domain after restore
|
|
3236
|
-
* @default true
|
|
3237
|
-
*/
|
|
3238
|
-
auto_renew: boolean;
|
|
3239
3233
|
/**
|
|
3240
3234
|
* Reason
|
|
3241
3235
|
* @description Reason for restoring the domain
|
|
@@ -3251,12 +3245,6 @@ export interface components {
|
|
|
3251
3245
|
* @example domain_01h45ytscbebyvny4gc8cr8ma2
|
|
3252
3246
|
*/
|
|
3253
3247
|
domain_id: TypeId<"domain">;
|
|
3254
|
-
/**
|
|
3255
|
-
* Expiration Date
|
|
3256
|
-
* Format: date-time
|
|
3257
|
-
* @description The new expiration date after restore
|
|
3258
|
-
*/
|
|
3259
|
-
expiration_date: Date;
|
|
3260
3248
|
/**
|
|
3261
3249
|
* Name
|
|
3262
3250
|
* @description The name of the restored domain
|