@opusdns/api 0.142.0 → 0.144.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 -1
- package/src/openapi.yaml +22 -2
- package/src/schema.d.ts +11 -1
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -3618,6 +3618,56 @@ export const KEY_CONTACTS_BASE_SUPPORTED_POSTAL_TYPES: keyof ContactsBase = 'sup
|
|
|
3618
3618
|
* @see {@link KEYS_CONTACTS_BASE} - Array of all keys for this type
|
|
3619
3619
|
*/
|
|
3620
3620
|
export const KEY_CONTACTS_BASE_SUPPORTED_ROLES: keyof ContactsBase = 'supported_roles';
|
|
3621
|
+
/**
|
|
3622
|
+
* Transfer Supported Roles
|
|
3623
|
+
*
|
|
3624
|
+
* Supported contact roles for transfer operations. Falls back to supported_roles if not specified.
|
|
3625
|
+
*
|
|
3626
|
+
*
|
|
3627
|
+
*
|
|
3628
|
+
* @remarks
|
|
3629
|
+
* This key constant provides type-safe access to the `transfer_supported_roles` property of ContactsBase objects.
|
|
3630
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
3631
|
+
*
|
|
3632
|
+
* @example
|
|
3633
|
+
* ```typescript
|
|
3634
|
+
* // Direct property access
|
|
3635
|
+
* const value = contactsbase[KEY_CONTACTS_BASE_TRANSFER_SUPPORTED_ROLES];
|
|
3636
|
+
*
|
|
3637
|
+
* // Dynamic property access
|
|
3638
|
+
* const propertyName = KEY_CONTACTS_BASE_TRANSFER_SUPPORTED_ROLES;
|
|
3639
|
+
* const value = contactsbase[propertyName];
|
|
3640
|
+
* ```
|
|
3641
|
+
*
|
|
3642
|
+
* @see {@link ContactsBase} - The TypeScript type definition
|
|
3643
|
+
* @see {@link KEYS_CONTACTS_BASE} - Array of all keys for this type
|
|
3644
|
+
*/
|
|
3645
|
+
export const KEY_CONTACTS_BASE_TRANSFER_SUPPORTED_ROLES: keyof ContactsBase = 'transfer_supported_roles';
|
|
3646
|
+
/**
|
|
3647
|
+
* Update Supported Roles
|
|
3648
|
+
*
|
|
3649
|
+
* Supported contact roles for update operations. Falls back to supported_roles if not specified.
|
|
3650
|
+
*
|
|
3651
|
+
*
|
|
3652
|
+
*
|
|
3653
|
+
* @remarks
|
|
3654
|
+
* This key constant provides type-safe access to the `update_supported_roles` property of ContactsBase objects.
|
|
3655
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
3656
|
+
*
|
|
3657
|
+
* @example
|
|
3658
|
+
* ```typescript
|
|
3659
|
+
* // Direct property access
|
|
3660
|
+
* const value = contactsbase[KEY_CONTACTS_BASE_UPDATE_SUPPORTED_ROLES];
|
|
3661
|
+
*
|
|
3662
|
+
* // Dynamic property access
|
|
3663
|
+
* const propertyName = KEY_CONTACTS_BASE_UPDATE_SUPPORTED_ROLES;
|
|
3664
|
+
* const value = contactsbase[propertyName];
|
|
3665
|
+
* ```
|
|
3666
|
+
*
|
|
3667
|
+
* @see {@link ContactsBase} - The TypeScript type definition
|
|
3668
|
+
* @see {@link KEYS_CONTACTS_BASE} - Array of all keys for this type
|
|
3669
|
+
*/
|
|
3670
|
+
export const KEY_CONTACTS_BASE_UPDATE_SUPPORTED_ROLES: keyof ContactsBase = 'update_supported_roles';
|
|
3621
3671
|
|
|
3622
3672
|
/**
|
|
3623
3673
|
* Array of all ContactsBase property keys
|
|
@@ -3651,6 +3701,8 @@ export const KEYS_CONTACTS_BASE = [
|
|
|
3651
3701
|
KEY_CONTACTS_BASE_SUPPORT_TRANSFER,
|
|
3652
3702
|
KEY_CONTACTS_BASE_SUPPORTED_POSTAL_TYPES,
|
|
3653
3703
|
KEY_CONTACTS_BASE_SUPPORTED_ROLES,
|
|
3704
|
+
KEY_CONTACTS_BASE_TRANSFER_SUPPORTED_ROLES,
|
|
3705
|
+
KEY_CONTACTS_BASE_UPDATE_SUPPORTED_ROLES,
|
|
3654
3706
|
] as const satisfies (keyof ContactsBase)[];
|
|
3655
3707
|
|
|
3656
3708
|
/**
|
|
@@ -9457,7 +9509,6 @@ export const KEY_DOMAIN_RESTORE_REQUEST_AUTO_RENEW: keyof DomainRestoreRequest =
|
|
|
9457
9509
|
*
|
|
9458
9510
|
* Reason for restoring the domain
|
|
9459
9511
|
*
|
|
9460
|
-
* @type {string}
|
|
9461
9512
|
*
|
|
9462
9513
|
*
|
|
9463
9514
|
* @remarks
|
package/src/openapi.yaml
CHANGED
|
@@ -868,6 +868,24 @@ components:
|
|
|
868
868
|
- type: 'null'
|
|
869
869
|
description: Supported contact roles
|
|
870
870
|
title: Supported Roles
|
|
871
|
+
transfer_supported_roles:
|
|
872
|
+
anyOf:
|
|
873
|
+
- items:
|
|
874
|
+
$ref: '#/components/schemas/ContactConfigBase'
|
|
875
|
+
type: array
|
|
876
|
+
- type: 'null'
|
|
877
|
+
description: Supported contact roles for transfer operations. Falls back
|
|
878
|
+
to supported_roles if not specified.
|
|
879
|
+
title: Transfer Supported Roles
|
|
880
|
+
update_supported_roles:
|
|
881
|
+
anyOf:
|
|
882
|
+
- items:
|
|
883
|
+
$ref: '#/components/schemas/ContactConfigBase'
|
|
884
|
+
type: array
|
|
885
|
+
- type: 'null'
|
|
886
|
+
description: Supported contact roles for update operations. Falls back to
|
|
887
|
+
supported_roles if not specified.
|
|
888
|
+
title: Update Supported Roles
|
|
871
889
|
title: ContactsBase
|
|
872
890
|
type: object
|
|
873
891
|
Currency:
|
|
@@ -2244,9 +2262,11 @@ components:
|
|
|
2244
2262
|
title: Auto Renew
|
|
2245
2263
|
type: boolean
|
|
2246
2264
|
reason:
|
|
2265
|
+
anyOf:
|
|
2266
|
+
- type: string
|
|
2267
|
+
- type: 'null'
|
|
2247
2268
|
description: Reason for restoring the domain
|
|
2248
2269
|
title: Reason
|
|
2249
|
-
type: string
|
|
2250
2270
|
required:
|
|
2251
2271
|
- reason
|
|
2252
2272
|
title: DomainRestoreRequest
|
|
@@ -6484,7 +6504,7 @@ info:
|
|
|
6484
6504
|
'
|
|
6485
6505
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
6486
6506
|
title: OpusDNS API
|
|
6487
|
-
version: 2026-01-08-
|
|
6507
|
+
version: 2026-01-08-220900
|
|
6488
6508
|
x-logo:
|
|
6489
6509
|
altText: OpusDNS API Reference
|
|
6490
6510
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -2387,6 +2387,16 @@ export interface components {
|
|
|
2387
2387
|
* @description Supported contact roles
|
|
2388
2388
|
*/
|
|
2389
2389
|
supported_roles?: components["schemas"]["ContactConfigBase"][] | null;
|
|
2390
|
+
/**
|
|
2391
|
+
* Transfer Supported Roles
|
|
2392
|
+
* @description Supported contact roles for transfer operations. Falls back to supported_roles if not specified.
|
|
2393
|
+
*/
|
|
2394
|
+
transfer_supported_roles?: components["schemas"]["ContactConfigBase"][] | null;
|
|
2395
|
+
/**
|
|
2396
|
+
* Update Supported Roles
|
|
2397
|
+
* @description Supported contact roles for update operations. Falls back to supported_roles if not specified.
|
|
2398
|
+
*/
|
|
2399
|
+
update_supported_roles?: components["schemas"]["ContactConfigBase"][] | null;
|
|
2390
2400
|
};
|
|
2391
2401
|
/**
|
|
2392
2402
|
* Currency
|
|
@@ -3228,7 +3238,7 @@ export interface components {
|
|
|
3228
3238
|
* Reason
|
|
3229
3239
|
* @description Reason for restoring the domain
|
|
3230
3240
|
*/
|
|
3231
|
-
reason: string;
|
|
3241
|
+
reason: string | null;
|
|
3232
3242
|
};
|
|
3233
3243
|
/** DomainRestoreResponse */
|
|
3234
3244
|
DomainRestoreResponse: {
|