@opusdns/api 0.153.0 → 0.154.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 +10 -1
- package/src/schema.d.ts +4 -0
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -8477,6 +8477,31 @@ export const KEY_DOMAIN_LIFECYCLE_BASE_RGP_OPERATIONS: keyof DomainLifecycleBase
|
|
|
8477
8477
|
* @see {@link KEYS_DOMAIN_LIFECYCLE_BASE} - Array of all keys for this type
|
|
8478
8478
|
*/
|
|
8479
8479
|
export const KEY_DOMAIN_LIFECYCLE_BASE_SYNC_AFTER_OPERATIONS: keyof DomainLifecycleBase = 'sync_after_operations';
|
|
8480
|
+
/**
|
|
8481
|
+
* transfer_renewal_periods property
|
|
8482
|
+
*
|
|
8483
|
+
* List of allowed transfer renewal periods (eg. '1y')
|
|
8484
|
+
*
|
|
8485
|
+
*
|
|
8486
|
+
*
|
|
8487
|
+
* @remarks
|
|
8488
|
+
* This key constant provides type-safe access to the `transfer_renewal_periods` property of DomainLifecycleBase objects.
|
|
8489
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
8490
|
+
*
|
|
8491
|
+
* @example
|
|
8492
|
+
* ```typescript
|
|
8493
|
+
* // Direct property access
|
|
8494
|
+
* const value = domainlifecyclebase[KEY_DOMAIN_LIFECYCLE_BASE_TRANSFER_RENEWAL_PERIODS];
|
|
8495
|
+
*
|
|
8496
|
+
* // Dynamic property access
|
|
8497
|
+
* const propertyName = KEY_DOMAIN_LIFECYCLE_BASE_TRANSFER_RENEWAL_PERIODS;
|
|
8498
|
+
* const value = domainlifecyclebase[propertyName];
|
|
8499
|
+
* ```
|
|
8500
|
+
*
|
|
8501
|
+
* @see {@link DomainLifecycleBase} - The TypeScript type definition
|
|
8502
|
+
* @see {@link KEYS_DOMAIN_LIFECYCLE_BASE} - Array of all keys for this type
|
|
8503
|
+
*/
|
|
8504
|
+
export const KEY_DOMAIN_LIFECYCLE_BASE_TRANSFER_RENEWAL_PERIODS: keyof DomainLifecycleBase = 'transfer_renewal_periods';
|
|
8480
8505
|
|
|
8481
8506
|
/**
|
|
8482
8507
|
* Array of all DomainLifecycleBase property keys
|
|
@@ -8512,6 +8537,7 @@ export const KEYS_DOMAIN_LIFECYCLE_BASE = [
|
|
|
8512
8537
|
KEY_DOMAIN_LIFECYCLE_BASE_RENEWAL_PERIODS,
|
|
8513
8538
|
KEY_DOMAIN_LIFECYCLE_BASE_RGP_OPERATIONS,
|
|
8514
8539
|
KEY_DOMAIN_LIFECYCLE_BASE_SYNC_AFTER_OPERATIONS,
|
|
8540
|
+
KEY_DOMAIN_LIFECYCLE_BASE_TRANSFER_RENEWAL_PERIODS,
|
|
8515
8541
|
] as const satisfies (keyof DomainLifecycleBase)[];
|
|
8516
8542
|
|
|
8517
8543
|
/**
|
|
@@ -10582,6 +10608,31 @@ export const KEY_DOMAIN_TRANSFER_IN_NAME: keyof DomainTransferIn = 'name';
|
|
|
10582
10608
|
* @see {@link KEYS_DOMAIN_TRANSFER_IN} - Array of all keys for this type
|
|
10583
10609
|
*/
|
|
10584
10610
|
export const KEY_DOMAIN_TRANSFER_IN_NAMESERVERS: keyof DomainTransferIn = 'nameservers';
|
|
10611
|
+
/**
|
|
10612
|
+
* period property
|
|
10613
|
+
*
|
|
10614
|
+
* Additional registration period to add to the domain upon transfer completion. If omitted, the registry default policy will be applied.
|
|
10615
|
+
*
|
|
10616
|
+
*
|
|
10617
|
+
*
|
|
10618
|
+
* @remarks
|
|
10619
|
+
* This key constant provides type-safe access to the `period` property of DomainTransferIn objects.
|
|
10620
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10621
|
+
*
|
|
10622
|
+
* @example
|
|
10623
|
+
* ```typescript
|
|
10624
|
+
* // Direct property access
|
|
10625
|
+
* const value = domaintransferin[KEY_DOMAIN_TRANSFER_IN_PERIOD];
|
|
10626
|
+
*
|
|
10627
|
+
* // Dynamic property access
|
|
10628
|
+
* const propertyName = KEY_DOMAIN_TRANSFER_IN_PERIOD;
|
|
10629
|
+
* const value = domaintransferin[propertyName];
|
|
10630
|
+
* ```
|
|
10631
|
+
*
|
|
10632
|
+
* @see {@link DomainTransferIn} - The TypeScript type definition
|
|
10633
|
+
* @see {@link KEYS_DOMAIN_TRANSFER_IN} - Array of all keys for this type
|
|
10634
|
+
*/
|
|
10635
|
+
export const KEY_DOMAIN_TRANSFER_IN_PERIOD: keyof DomainTransferIn = 'period';
|
|
10585
10636
|
/**
|
|
10586
10637
|
* renewal_mode property
|
|
10587
10638
|
*
|
|
@@ -10635,6 +10686,7 @@ export const KEYS_DOMAIN_TRANSFER_IN = [
|
|
|
10635
10686
|
KEY_DOMAIN_TRANSFER_IN_CREATE_ZONE,
|
|
10636
10687
|
KEY_DOMAIN_TRANSFER_IN_NAME,
|
|
10637
10688
|
KEY_DOMAIN_TRANSFER_IN_NAMESERVERS,
|
|
10689
|
+
KEY_DOMAIN_TRANSFER_IN_PERIOD,
|
|
10638
10690
|
KEY_DOMAIN_TRANSFER_IN_RENEWAL_MODE,
|
|
10639
10691
|
] as const satisfies (keyof DomainTransferIn)[];
|
|
10640
10692
|
|
package/src/openapi.yaml
CHANGED
|
@@ -2025,6 +2025,9 @@ components:
|
|
|
2025
2025
|
- type: 'null'
|
|
2026
2026
|
description: Operations that trigger a sync with the registry
|
|
2027
2027
|
title: Sync After Operations
|
|
2028
|
+
transfer_renewal_periods:
|
|
2029
|
+
$ref: '#/components/schemas/PeriodList'
|
|
2030
|
+
description: List of allowed transfer renewal periods (eg. '1y')
|
|
2028
2031
|
title: DomainLifecycleBase
|
|
2029
2032
|
type: object
|
|
2030
2033
|
DomainNameParts:
|
|
@@ -2537,6 +2540,12 @@ components:
|
|
|
2537
2540
|
- type: 'null'
|
|
2538
2541
|
description: The name servers for the domain
|
|
2539
2542
|
title: Nameservers
|
|
2543
|
+
period:
|
|
2544
|
+
anyOf:
|
|
2545
|
+
- $ref: '#/components/schemas/DomainPeriod'
|
|
2546
|
+
- type: 'null'
|
|
2547
|
+
description: Additional registration period to add to the domain upon transfer
|
|
2548
|
+
completion. If omitted, the registry default policy will be applied.
|
|
2540
2549
|
renewal_mode:
|
|
2541
2550
|
$ref: '#/components/schemas/RenewalMode'
|
|
2542
2551
|
description: The renewal mode of the domain
|
|
@@ -6528,7 +6537,7 @@ info:
|
|
|
6528
6537
|
'
|
|
6529
6538
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
6530
6539
|
title: OpusDNS API
|
|
6531
|
-
version: 2026-01-12-
|
|
6540
|
+
version: 2026-01-12-195219
|
|
6532
6541
|
x-logo:
|
|
6533
6542
|
altText: OpusDNS API Reference
|
|
6534
6543
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -3047,6 +3047,8 @@ export interface components {
|
|
|
3047
3047
|
* @description Operations that trigger a sync with the registry
|
|
3048
3048
|
*/
|
|
3049
3049
|
sync_after_operations?: components["schemas"]["SyncOperationType"][] | null;
|
|
3050
|
+
/** @description List of allowed transfer renewal periods (eg. '1y') */
|
|
3051
|
+
transfer_renewal_periods?: components["schemas"]["PeriodList"];
|
|
3050
3052
|
};
|
|
3051
3053
|
/** DomainNameParts */
|
|
3052
3054
|
DomainNameParts: {
|
|
@@ -3407,6 +3409,8 @@ export interface components {
|
|
|
3407
3409
|
* @description The name servers for the domain
|
|
3408
3410
|
*/
|
|
3409
3411
|
nameservers?: components["schemas"]["Nameserver"][] | null;
|
|
3412
|
+
/** @description Additional registration period to add to the domain upon transfer completion. If omitted, the registry default policy will be applied. */
|
|
3413
|
+
period?: components["schemas"]["DomainPeriod"] | null;
|
|
3410
3414
|
/** @description The renewal mode of the domain */
|
|
3411
3415
|
renewal_mode: components["schemas"]["RenewalMode"];
|
|
3412
3416
|
};
|