@opusdns/api 0.143.0 → 0.145.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/constants.ts +3 -1
- package/src/helpers/keys.ts +52 -0
- package/src/openapi.yaml +20 -1
- package/src/schema.d.ts +11 -1
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -1743,6 +1743,7 @@ export const EVENT_TYPE = {
|
|
|
1743
1743
|
DELETION: "DELETION",
|
|
1744
1744
|
INBOUND_TRANSFER: "INBOUND_TRANSFER",
|
|
1745
1745
|
OUTBOUND_TRANSFER: "OUTBOUND_TRANSFER",
|
|
1746
|
+
VERIFICATION: "VERIFICATION",
|
|
1746
1747
|
} as const satisfies Record<string, EventType>;
|
|
1747
1748
|
|
|
1748
1749
|
/**
|
|
@@ -1772,7 +1773,8 @@ export const EVENT_TYPE_VALUES = [
|
|
|
1772
1773
|
'MODIFICATION',
|
|
1773
1774
|
'DELETION',
|
|
1774
1775
|
'INBOUND_TRANSFER',
|
|
1775
|
-
'OUTBOUND_TRANSFER'
|
|
1776
|
+
'OUTBOUND_TRANSFER',
|
|
1777
|
+
'VERIFICATION'
|
|
1776
1778
|
] as const satisfies [string, ...string[]] | EventType[];
|
|
1777
1779
|
|
|
1778
1780
|
/**
|
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
|
/**
|
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:
|
|
@@ -3106,6 +3124,7 @@ components:
|
|
|
3106
3124
|
- DELETION
|
|
3107
3125
|
- INBOUND_TRANSFER
|
|
3108
3126
|
- OUTBOUND_TRANSFER
|
|
3127
|
+
- VERIFICATION
|
|
3109
3128
|
title: EventType
|
|
3110
3129
|
type: string
|
|
3111
3130
|
GeneralAvailabilityBase:
|
|
@@ -6486,7 +6505,7 @@ info:
|
|
|
6486
6505
|
'
|
|
6487
6506
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
6488
6507
|
title: OpusDNS API
|
|
6489
|
-
version: 2026-01-08-
|
|
6508
|
+
version: 2026-01-08-225132
|
|
6490
6509
|
x-logo:
|
|
6491
6510
|
altText: OpusDNS API Reference
|
|
6492
6511
|
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
|
|
@@ -3818,7 +3828,7 @@ export interface components {
|
|
|
3818
3828
|
* EventType
|
|
3819
3829
|
* @enum {string}
|
|
3820
3830
|
*/
|
|
3821
|
-
EventType: "REGISTRATION" | "RENEWAL" | "MODIFICATION" | "DELETION" | "INBOUND_TRANSFER" | "OUTBOUND_TRANSFER";
|
|
3831
|
+
EventType: "REGISTRATION" | "RENEWAL" | "MODIFICATION" | "DELETION" | "INBOUND_TRANSFER" | "OUTBOUND_TRANSFER" | "VERIFICATION";
|
|
3822
3832
|
/** GeneralAvailabilityBase */
|
|
3823
3833
|
GeneralAvailabilityBase: {
|
|
3824
3834
|
/**
|