@opusdns/api 0.35.0 → 0.37.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 +101 -1
- package/src/helpers/keys.ts +237 -3
- package/src/helpers/schemas-arrays.d.ts +29 -1
- package/src/helpers/schemas.d.ts +80 -0
- package/src/openapi.yaml +98 -16
- package/src/schema.d.ts +68 -9
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -21,7 +21,59 @@
|
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
import { AllocationMethodType, BillingTransactionAction, BillingTransactionProductType, ContactRoleType, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainSortField, DomainStatus, EmailVerificationStatus, EventObjectType, EventSubtype, EventType, GrantType, LaunchPhaseType, LocalPresenceRequirementType, OrganizationCredentialStatus, OrganizationStatus, PatchOp, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RegistrantChangeType, Relation, RenewalMode, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType, UserNotificationStatus, UserStatus, VerificationType, ZoneSortField } from './schemas';
|
|
24
|
+
import { AgreementType, AllocationMethodType, BillingTransactionAction, BillingTransactionProductType, ContactRoleType, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainSortField, DomainStatus, EmailVerificationStatus, EventObjectType, EventSubtype, EventType, GrantType, LaunchPhaseType, LocalPresenceRequirementType, OrganizationCredentialStatus, OrganizationStatus, PatchOp, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType, UserNotificationStatus, UserStatus, VerificationType, ZoneSortField } from './schemas';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* AgreementType. Auto-generated enum for AgreementType
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* This constant provides both object and array forms for the AgreementType enum.
|
|
31
|
+
* The object form allows key-value access, while the array form enables iteration and validation.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```typescript
|
|
35
|
+
* // Using the object form for key-value access
|
|
36
|
+
* const status = AGREEMENT_TYPE.SUCCESS;
|
|
37
|
+
*
|
|
38
|
+
* // Using the array form for iteration
|
|
39
|
+
* const allStatuses = AGREEMENT_TYPE_VALUES;
|
|
40
|
+
* console.log(`Available statuses: ${allStatuses.join(', ')}`);
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @see {@link AgreementType} - The TypeScript type definition
|
|
44
|
+
*/
|
|
45
|
+
export const AGREEMENT_TYPE = {
|
|
46
|
+
TERMS_AND_CONDITIONS: "terms_and_conditions",
|
|
47
|
+
MASTER_SERVICE_AGREEMENT: "master_service_agreement",
|
|
48
|
+
ACTING_AS_TRADER: "acting_as_trader",
|
|
49
|
+
} as const satisfies Record<string, AgreementType>;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Array of all AgreementType enum values
|
|
53
|
+
*
|
|
54
|
+
* @remarks
|
|
55
|
+
* This constant provides a array containing all valid AgreementType enum values.
|
|
56
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```typescript
|
|
60
|
+
* // Iterating through all values
|
|
61
|
+
* for (const value of AGREEMENT_TYPE_VALUES) {
|
|
62
|
+
* console.log(`Processing: ${value}`);
|
|
63
|
+
* }
|
|
64
|
+
*
|
|
65
|
+
* // Validation
|
|
66
|
+
* const isValid = AGREEMENT_TYPE_VALUES.includes(someValue);
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @see {@link AgreementType} - The TypeScript type definition
|
|
70
|
+
* @see {@link AGREEMENT_TYPE} - The object form of this enum
|
|
71
|
+
*/
|
|
72
|
+
export const AGREEMENT_TYPE_VALUES = [
|
|
73
|
+
'terms_and_conditions',
|
|
74
|
+
'master_service_agreement',
|
|
75
|
+
'acting_as_trader'
|
|
76
|
+
] as const satisfies [string, ...string[]] | AgreementType[];
|
|
25
77
|
|
|
26
78
|
/**
|
|
27
79
|
* AllocationMethodType. Auto-generated enum for AllocationMethodType
|
|
@@ -2001,6 +2053,54 @@ export const REGISTRANT_CHANGE_TYPE_VALUES = [
|
|
|
2001
2053
|
'trade'
|
|
2002
2054
|
] as const satisfies [string, ...string[]] | RegistrantChangeType[];
|
|
2003
2055
|
|
|
2056
|
+
/**
|
|
2057
|
+
* RegistryHandleAttributeType. Registry handle attribute types for type-safe attribute key access.
|
|
2058
|
+
*
|
|
2059
|
+
* @remarks
|
|
2060
|
+
* This constant provides both object and array forms for the RegistryHandleAttributeType enum.
|
|
2061
|
+
* The object form allows key-value access, while the array form enables iteration and validation.
|
|
2062
|
+
*
|
|
2063
|
+
* @example
|
|
2064
|
+
* ```typescript
|
|
2065
|
+
* // Using the object form for key-value access
|
|
2066
|
+
* const status = REGISTRY_HANDLE_ATTRIBUTE_TYPE.SUCCESS;
|
|
2067
|
+
*
|
|
2068
|
+
* // Using the array form for iteration
|
|
2069
|
+
* const allStatuses = REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES;
|
|
2070
|
+
* console.log(`Available statuses: ${allStatuses.join(', ')}`);
|
|
2071
|
+
* ```
|
|
2072
|
+
*
|
|
2073
|
+
* @see {@link RegistryHandleAttributeType} - The TypeScript type definition
|
|
2074
|
+
*/
|
|
2075
|
+
export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
|
|
2076
|
+
AT-EXT-CONTACT:TYPE: "at-ext-contact:type",
|
|
2077
|
+
} as const satisfies Record<string, RegistryHandleAttributeType>;
|
|
2078
|
+
|
|
2079
|
+
/**
|
|
2080
|
+
* Array of all RegistryHandleAttributeType enum values
|
|
2081
|
+
*
|
|
2082
|
+
* @remarks
|
|
2083
|
+
* This constant provides a array containing all valid RegistryHandleAttributeType enum values.
|
|
2084
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
2085
|
+
*
|
|
2086
|
+
* @example
|
|
2087
|
+
* ```typescript
|
|
2088
|
+
* // Iterating through all values
|
|
2089
|
+
* for (const value of REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES) {
|
|
2090
|
+
* console.log(`Processing: ${value}`);
|
|
2091
|
+
* }
|
|
2092
|
+
*
|
|
2093
|
+
* // Validation
|
|
2094
|
+
* const isValid = REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES.includes(someValue);
|
|
2095
|
+
* ```
|
|
2096
|
+
*
|
|
2097
|
+
* @see {@link RegistryHandleAttributeType} - The TypeScript type definition
|
|
2098
|
+
* @see {@link REGISTRY_HANDLE_ATTRIBUTE_TYPE} - The object form of this enum
|
|
2099
|
+
*/
|
|
2100
|
+
export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
|
|
2101
|
+
'at-ext-contact:type'
|
|
2102
|
+
] as const satisfies [string, ...string[]] | RegistryHandleAttributeType[];
|
|
2103
|
+
|
|
2004
2104
|
/**
|
|
2005
2105
|
* Relation. Auto-generated enum for Relation
|
|
2006
2106
|
*
|
package/src/helpers/keys.ts
CHANGED
|
@@ -35,6 +35,7 @@ import { BillingPlan } from './schemas';
|
|
|
35
35
|
import { Body_issue_organization_token_v1_auth_token_post } from './schemas';
|
|
36
36
|
import { ContactConfigBase } from './schemas';
|
|
37
37
|
import { ContactCreate } from './schemas';
|
|
38
|
+
import { ContactHandle } from './schemas';
|
|
38
39
|
import { Contact } from './schemas';
|
|
39
40
|
import { ContactSchema } from './schemas';
|
|
40
41
|
import { ContactVerificationApi } from './schemas';
|
|
@@ -137,6 +138,7 @@ import { TldSpecification } from './schemas';
|
|
|
137
138
|
import { TrademarkClaimsBase } from './schemas';
|
|
138
139
|
import { TransferPoliciesBase } from './schemas';
|
|
139
140
|
import { User } from './schemas';
|
|
141
|
+
import { UserAgreementAcceptance } from './schemas';
|
|
140
142
|
import { UserAttributeBase } from './schemas';
|
|
141
143
|
import { UserCreate } from './schemas';
|
|
142
144
|
import { UserNotification } from './schemas';
|
|
@@ -1092,6 +1094,83 @@ export const KEYS_CONTACT_CREATE = [
|
|
|
1092
1094
|
KEY_CONTACT_CREATE_TITLE,
|
|
1093
1095
|
] as const satisfies (keyof ContactCreate)[];
|
|
1094
1096
|
|
|
1097
|
+
/**
|
|
1098
|
+
* Attributes
|
|
1099
|
+
*
|
|
1100
|
+
* Additional attributes related to the contact
|
|
1101
|
+
*
|
|
1102
|
+
*
|
|
1103
|
+
*
|
|
1104
|
+
* @remarks
|
|
1105
|
+
* This key constant provides type-safe access to the `attributes` property of ContactHandle objects.
|
|
1106
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1107
|
+
*
|
|
1108
|
+
* @example
|
|
1109
|
+
* ```typescript
|
|
1110
|
+
* // Direct property access
|
|
1111
|
+
* const value = contacthandle[KEY_CONTACT_HANDLE_ATTRIBUTES];
|
|
1112
|
+
*
|
|
1113
|
+
* // Dynamic property access
|
|
1114
|
+
* const propertyName = KEY_CONTACT_HANDLE_ATTRIBUTES;
|
|
1115
|
+
* const value = contacthandle[propertyName];
|
|
1116
|
+
* ```
|
|
1117
|
+
*
|
|
1118
|
+
* @see {@link ContactHandle} - The TypeScript type definition
|
|
1119
|
+
* @see {@link KEYS_CONTACT_HANDLE} - Array of all keys for this type
|
|
1120
|
+
*/
|
|
1121
|
+
export const KEY_CONTACT_HANDLE_ATTRIBUTES = 'attributes' as keyof ContactHandle;
|
|
1122
|
+
/**
|
|
1123
|
+
* Contact Id
|
|
1124
|
+
*
|
|
1125
|
+
* The contact id of the contact
|
|
1126
|
+
*
|
|
1127
|
+
* @type {string}
|
|
1128
|
+
*
|
|
1129
|
+
*
|
|
1130
|
+
* @remarks
|
|
1131
|
+
* This key constant provides type-safe access to the `contact_id` property of ContactHandle objects.
|
|
1132
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1133
|
+
*
|
|
1134
|
+
* @example
|
|
1135
|
+
* ```typescript
|
|
1136
|
+
* // Direct property access
|
|
1137
|
+
* const value = contacthandle[KEY_CONTACT_HANDLE_CONTACT_ID];
|
|
1138
|
+
*
|
|
1139
|
+
* // Dynamic property access
|
|
1140
|
+
* const propertyName = KEY_CONTACT_HANDLE_CONTACT_ID;
|
|
1141
|
+
* const value = contacthandle[propertyName];
|
|
1142
|
+
* ```
|
|
1143
|
+
*
|
|
1144
|
+
* @see {@link ContactHandle} - The TypeScript type definition
|
|
1145
|
+
* @see {@link KEYS_CONTACT_HANDLE} - Array of all keys for this type
|
|
1146
|
+
*/
|
|
1147
|
+
export const KEY_CONTACT_HANDLE_CONTACT_ID = 'contact_id' as keyof ContactHandle;
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* Array of all ContactHandle property keys
|
|
1151
|
+
*
|
|
1152
|
+
* @remarks
|
|
1153
|
+
* This constant provides a readonly array containing all valid property keys for ContactHandle objects.
|
|
1154
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
1155
|
+
*
|
|
1156
|
+
* @example
|
|
1157
|
+
* ```typescript
|
|
1158
|
+
* // Iterating through all keys
|
|
1159
|
+
* for (const key of KEYS_CONTACT_HANDLE) {
|
|
1160
|
+
* console.log(`Property: ${key}, Value: ${contacthandle[key]}`);
|
|
1161
|
+
* }
|
|
1162
|
+
*
|
|
1163
|
+
* // Validation
|
|
1164
|
+
* const isValidKey = KEYS_CONTACT_HANDLE.includes(someKey);
|
|
1165
|
+
* ```
|
|
1166
|
+
*
|
|
1167
|
+
* @see {@link ContactHandle} - The TypeScript type definition
|
|
1168
|
+
*/
|
|
1169
|
+
export const KEYS_CONTACT_HANDLE = [
|
|
1170
|
+
KEY_CONTACT_HANDLE_ATTRIBUTES,
|
|
1171
|
+
KEY_CONTACT_HANDLE_CONTACT_ID,
|
|
1172
|
+
] as const satisfies (keyof ContactHandle)[];
|
|
1173
|
+
|
|
1095
1174
|
/**
|
|
1096
1175
|
* City
|
|
1097
1176
|
*
|
|
@@ -4982,7 +5061,7 @@ export const KEYS_DOMAIN_CONTACT = [
|
|
|
4982
5061
|
*/
|
|
4983
5062
|
export const KEY_DOMAIN_CREATE_AUTH_CODE = 'auth_code' as keyof DomainCreate;
|
|
4984
5063
|
/**
|
|
4985
|
-
*
|
|
5064
|
+
* Contacts
|
|
4986
5065
|
*
|
|
4987
5066
|
* The contacts of the domain
|
|
4988
5067
|
*
|
|
@@ -7699,7 +7778,7 @@ export const KEYS_DOMAIN_SUMMARY = [
|
|
|
7699
7778
|
*/
|
|
7700
7779
|
export const KEY_DOMAIN_TRANSFER_IN_AUTH_CODE = 'auth_code' as keyof DomainTransferIn;
|
|
7701
7780
|
/**
|
|
7702
|
-
*
|
|
7781
|
+
* Contacts
|
|
7703
7782
|
*
|
|
7704
7783
|
* The contacts of the domain
|
|
7705
7784
|
*
|
|
@@ -15502,6 +15581,31 @@ export const KEYS_RGP_OPERATIONS = [
|
|
|
15502
15581
|
KEY_RGP_OPERATIONS_REQUEST,
|
|
15503
15582
|
] as const satisfies (keyof RgpOperations)[];
|
|
15504
15583
|
|
|
15584
|
+
/**
|
|
15585
|
+
* Agreements
|
|
15586
|
+
*
|
|
15587
|
+
* User agreement acceptances.
|
|
15588
|
+
*
|
|
15589
|
+
*
|
|
15590
|
+
*
|
|
15591
|
+
* @remarks
|
|
15592
|
+
* This key constant provides type-safe access to the `agreements` property of SignupCreate objects.
|
|
15593
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
15594
|
+
*
|
|
15595
|
+
* @example
|
|
15596
|
+
* ```typescript
|
|
15597
|
+
* // Direct property access
|
|
15598
|
+
* const value = signupcreate[KEY_SIGNUP_CREATE_AGREEMENTS];
|
|
15599
|
+
*
|
|
15600
|
+
* // Dynamic property access
|
|
15601
|
+
* const propertyName = KEY_SIGNUP_CREATE_AGREEMENTS;
|
|
15602
|
+
* const value = signupcreate[propertyName];
|
|
15603
|
+
* ```
|
|
15604
|
+
*
|
|
15605
|
+
* @see {@link SignupCreate} - The TypeScript type definition
|
|
15606
|
+
* @see {@link KEYS_SIGNUP_CREATE} - Array of all keys for this type
|
|
15607
|
+
*/
|
|
15608
|
+
export const KEY_SIGNUP_CREATE_AGREEMENTS = 'agreements' as keyof SignupCreate;
|
|
15505
15609
|
/**
|
|
15506
15610
|
* organization property
|
|
15507
15611
|
*
|
|
@@ -15530,7 +15634,7 @@ export const KEY_SIGNUP_CREATE_ORGANIZATION = 'organization' as keyof SignupCrea
|
|
|
15530
15634
|
/**
|
|
15531
15635
|
* terms_of_service property
|
|
15532
15636
|
*
|
|
15533
|
-
* Terms of service acceptance.
|
|
15637
|
+
* Terms of service acceptance (legacy).
|
|
15534
15638
|
*
|
|
15535
15639
|
*
|
|
15536
15640
|
*
|
|
@@ -15599,6 +15703,7 @@ export const KEY_SIGNUP_CREATE_USER = 'user' as keyof SignupCreate;
|
|
|
15599
15703
|
* @see {@link SignupCreate} - The TypeScript type definition
|
|
15600
15704
|
*/
|
|
15601
15705
|
export const KEYS_SIGNUP_CREATE = [
|
|
15706
|
+
KEY_SIGNUP_CREATE_AGREEMENTS,
|
|
15602
15707
|
KEY_SIGNUP_CREATE_ORGANIZATION,
|
|
15603
15708
|
KEY_SIGNUP_CREATE_TERMS_OF_SERVICE,
|
|
15604
15709
|
KEY_SIGNUP_CREATE_USER,
|
|
@@ -17311,6 +17416,135 @@ export const KEYS_USER = [
|
|
|
17311
17416
|
KEY_USER_USERNAME,
|
|
17312
17417
|
] as const satisfies (keyof User)[];
|
|
17313
17418
|
|
|
17419
|
+
/**
|
|
17420
|
+
* Accepted
|
|
17421
|
+
*
|
|
17422
|
+
* Whether the agreement has been accepted.
|
|
17423
|
+
*
|
|
17424
|
+
* @type {boolean}
|
|
17425
|
+
*
|
|
17426
|
+
*
|
|
17427
|
+
* @remarks
|
|
17428
|
+
* This key constant provides type-safe access to the `accepted` property of UserAgreementAcceptance objects.
|
|
17429
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17430
|
+
*
|
|
17431
|
+
* @example
|
|
17432
|
+
* ```typescript
|
|
17433
|
+
* // Direct property access
|
|
17434
|
+
* const value = useragreementacceptance[KEY_USER_AGREEMENT_ACCEPTANCE_ACCEPTED];
|
|
17435
|
+
*
|
|
17436
|
+
* // Dynamic property access
|
|
17437
|
+
* const propertyName = KEY_USER_AGREEMENT_ACCEPTANCE_ACCEPTED;
|
|
17438
|
+
* const value = useragreementacceptance[propertyName];
|
|
17439
|
+
* ```
|
|
17440
|
+
*
|
|
17441
|
+
* @see {@link UserAgreementAcceptance} - The TypeScript type definition
|
|
17442
|
+
* @see {@link KEYS_USER_AGREEMENT_ACCEPTANCE} - Array of all keys for this type
|
|
17443
|
+
*/
|
|
17444
|
+
export const KEY_USER_AGREEMENT_ACCEPTANCE_ACCEPTED = 'accepted' as keyof UserAgreementAcceptance;
|
|
17445
|
+
/**
|
|
17446
|
+
* type property
|
|
17447
|
+
*
|
|
17448
|
+
* Type of agreement being accepted.
|
|
17449
|
+
*
|
|
17450
|
+
*
|
|
17451
|
+
*
|
|
17452
|
+
* @remarks
|
|
17453
|
+
* This key constant provides type-safe access to the `type` property of UserAgreementAcceptance objects.
|
|
17454
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17455
|
+
*
|
|
17456
|
+
* @example
|
|
17457
|
+
* ```typescript
|
|
17458
|
+
* // Direct property access
|
|
17459
|
+
* const value = useragreementacceptance[KEY_USER_AGREEMENT_ACCEPTANCE_TYPE];
|
|
17460
|
+
*
|
|
17461
|
+
* // Dynamic property access
|
|
17462
|
+
* const propertyName = KEY_USER_AGREEMENT_ACCEPTANCE_TYPE;
|
|
17463
|
+
* const value = useragreementacceptance[propertyName];
|
|
17464
|
+
* ```
|
|
17465
|
+
*
|
|
17466
|
+
* @see {@link UserAgreementAcceptance} - The TypeScript type definition
|
|
17467
|
+
* @see {@link KEYS_USER_AGREEMENT_ACCEPTANCE} - Array of all keys for this type
|
|
17468
|
+
*/
|
|
17469
|
+
export const KEY_USER_AGREEMENT_ACCEPTANCE_TYPE = 'type' as keyof UserAgreementAcceptance;
|
|
17470
|
+
/**
|
|
17471
|
+
* Url
|
|
17472
|
+
*
|
|
17473
|
+
* URL where the agreement can be found.
|
|
17474
|
+
*
|
|
17475
|
+
*
|
|
17476
|
+
*
|
|
17477
|
+
* @remarks
|
|
17478
|
+
* This key constant provides type-safe access to the `url` property of UserAgreementAcceptance objects.
|
|
17479
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17480
|
+
*
|
|
17481
|
+
* @example
|
|
17482
|
+
* ```typescript
|
|
17483
|
+
* // Direct property access
|
|
17484
|
+
* const value = useragreementacceptance[KEY_USER_AGREEMENT_ACCEPTANCE_URL];
|
|
17485
|
+
*
|
|
17486
|
+
* // Dynamic property access
|
|
17487
|
+
* const propertyName = KEY_USER_AGREEMENT_ACCEPTANCE_URL;
|
|
17488
|
+
* const value = useragreementacceptance[propertyName];
|
|
17489
|
+
* ```
|
|
17490
|
+
*
|
|
17491
|
+
* @see {@link UserAgreementAcceptance} - The TypeScript type definition
|
|
17492
|
+
* @see {@link KEYS_USER_AGREEMENT_ACCEPTANCE} - Array of all keys for this type
|
|
17493
|
+
*/
|
|
17494
|
+
export const KEY_USER_AGREEMENT_ACCEPTANCE_URL = 'url' as keyof UserAgreementAcceptance;
|
|
17495
|
+
/**
|
|
17496
|
+
* Version
|
|
17497
|
+
*
|
|
17498
|
+
* Version of the agreement being accepted.
|
|
17499
|
+
*
|
|
17500
|
+
*
|
|
17501
|
+
*
|
|
17502
|
+
* @remarks
|
|
17503
|
+
* This key constant provides type-safe access to the `version` property of UserAgreementAcceptance objects.
|
|
17504
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
17505
|
+
*
|
|
17506
|
+
* @example
|
|
17507
|
+
* ```typescript
|
|
17508
|
+
* // Direct property access
|
|
17509
|
+
* const value = useragreementacceptance[KEY_USER_AGREEMENT_ACCEPTANCE_VERSION];
|
|
17510
|
+
*
|
|
17511
|
+
* // Dynamic property access
|
|
17512
|
+
* const propertyName = KEY_USER_AGREEMENT_ACCEPTANCE_VERSION;
|
|
17513
|
+
* const value = useragreementacceptance[propertyName];
|
|
17514
|
+
* ```
|
|
17515
|
+
*
|
|
17516
|
+
* @see {@link UserAgreementAcceptance} - The TypeScript type definition
|
|
17517
|
+
* @see {@link KEYS_USER_AGREEMENT_ACCEPTANCE} - Array of all keys for this type
|
|
17518
|
+
*/
|
|
17519
|
+
export const KEY_USER_AGREEMENT_ACCEPTANCE_VERSION = 'version' as keyof UserAgreementAcceptance;
|
|
17520
|
+
|
|
17521
|
+
/**
|
|
17522
|
+
* Array of all UserAgreementAcceptance property keys
|
|
17523
|
+
*
|
|
17524
|
+
* @remarks
|
|
17525
|
+
* This constant provides a readonly array containing all valid property keys for UserAgreementAcceptance objects.
|
|
17526
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
17527
|
+
*
|
|
17528
|
+
* @example
|
|
17529
|
+
* ```typescript
|
|
17530
|
+
* // Iterating through all keys
|
|
17531
|
+
* for (const key of KEYS_USER_AGREEMENT_ACCEPTANCE) {
|
|
17532
|
+
* console.log(`Property: ${key}, Value: ${useragreementacceptance[key]}`);
|
|
17533
|
+
* }
|
|
17534
|
+
*
|
|
17535
|
+
* // Validation
|
|
17536
|
+
* const isValidKey = KEYS_USER_AGREEMENT_ACCEPTANCE.includes(someKey);
|
|
17537
|
+
* ```
|
|
17538
|
+
*
|
|
17539
|
+
* @see {@link UserAgreementAcceptance} - The TypeScript type definition
|
|
17540
|
+
*/
|
|
17541
|
+
export const KEYS_USER_AGREEMENT_ACCEPTANCE = [
|
|
17542
|
+
KEY_USER_AGREEMENT_ACCEPTANCE_ACCEPTED,
|
|
17543
|
+
KEY_USER_AGREEMENT_ACCEPTANCE_TYPE,
|
|
17544
|
+
KEY_USER_AGREEMENT_ACCEPTANCE_URL,
|
|
17545
|
+
KEY_USER_AGREEMENT_ACCEPTANCE_VERSION,
|
|
17546
|
+
] as const satisfies (keyof UserAgreementAcceptance)[];
|
|
17547
|
+
|
|
17314
17548
|
/**
|
|
17315
17549
|
* Key
|
|
17316
17550
|
*
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* This file is auto-generated from the OpenAPI specification.
|
|
22
22
|
* Do not edit manually.
|
|
23
23
|
*/
|
|
24
|
-
import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, Nameserver, DeletePolicyType, SyncOperationType, DomainContact, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, PlanInfo, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, ContactRoleType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, ContactSchema, DnsZone, Domain, EmailForwardAlias, EventResponse, OrganizationCredential, Organization, UserNotificationSummary, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
|
|
24
|
+
import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, DeletePolicyType, SyncOperationType, DomainContact, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, PlanInfo, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, ContactRoleType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, ContactSchema, DnsZone, Domain, EmailForwardAlias, EventResponse, OrganizationCredential, Organization, UserNotificationSummary, Period, Permission, PremiumAffectsType, Relation, UserAgreementAcceptance, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* DomainDnssecDataResponse
|
|
@@ -247,6 +247,20 @@ export type DnsRrsetPatchOpArray = DnsRrsetPatchOp[];
|
|
|
247
247
|
* @see {@link DomainAvailabilityCheck} - The individual DomainAvailabilityResponse type definition
|
|
248
248
|
*/
|
|
249
249
|
export type DomainAvailabilityCheckArray = DomainAvailabilityCheck[];
|
|
250
|
+
/**
|
|
251
|
+
* ContactHandle
|
|
252
|
+
*
|
|
253
|
+
* @remarks
|
|
254
|
+
* Array type for ContactHandle objects. Used when the API returns a collection of ContactHandle instances.
|
|
255
|
+
*
|
|
256
|
+
* @example
|
|
257
|
+
* ```typescript
|
|
258
|
+
* const items: ContactHandleArray = await api.getContactHandles();
|
|
259
|
+
* ```
|
|
260
|
+
*
|
|
261
|
+
* @see {@link ContactHandle} - The individual ContactHandle type definition
|
|
262
|
+
*/
|
|
263
|
+
export type ContactHandleArray = ContactHandle[];
|
|
250
264
|
/**
|
|
251
265
|
* Nameserver
|
|
252
266
|
*
|
|
@@ -653,6 +667,20 @@ export type PremiumAffectsTypeArray = PremiumAffectsType[];
|
|
|
653
667
|
* @see {@link Relation} - The individual Relation type definition
|
|
654
668
|
*/
|
|
655
669
|
export type RelationArray = Relation[];
|
|
670
|
+
/**
|
|
671
|
+
* UserAgreementAcceptance
|
|
672
|
+
*
|
|
673
|
+
* @remarks
|
|
674
|
+
* Array type for UserAgreementAcceptance objects. Used when the API returns a collection of UserAgreementAcceptance instances.
|
|
675
|
+
*
|
|
676
|
+
* @example
|
|
677
|
+
* ```typescript
|
|
678
|
+
* const items: UserAgreementAcceptanceArray = await api.getUserAgreementAcceptances();
|
|
679
|
+
* ```
|
|
680
|
+
*
|
|
681
|
+
* @see {@link UserAgreementAcceptance} - The individual UserAgreementAcceptance type definition
|
|
682
|
+
*/
|
|
683
|
+
export type UserAgreementAcceptanceArray = UserAgreementAcceptance[];
|
|
656
684
|
/**
|
|
657
685
|
* TldBase
|
|
658
686
|
*
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -26,6 +26,22 @@
|
|
|
26
26
|
*/
|
|
27
27
|
import { components } from '../schema';
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* AgreementType
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Type alias for the `AgreementType` OpenAPI schema.
|
|
34
|
+
* This type represents agreementtype data structures used in API requests and responses.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```typescript
|
|
38
|
+
* const response = await api.getAgreementType();
|
|
39
|
+
* const item: AgreementType = response.results;
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
43
|
+
*/
|
|
44
|
+
export type AgreementType = components['schemas']['AgreementType'];
|
|
29
45
|
/**
|
|
30
46
|
* AllocationMethodType
|
|
31
47
|
*
|
|
@@ -170,6 +186,22 @@ export type ContactConfigBase = components['schemas']['ContactConfigBase'];
|
|
|
170
186
|
* @see {@link components} - The OpenAPI components schema definition
|
|
171
187
|
*/
|
|
172
188
|
export type ContactCreate = components['schemas']['ContactCreate'];
|
|
189
|
+
/**
|
|
190
|
+
* ContactHandle
|
|
191
|
+
*
|
|
192
|
+
* @remarks
|
|
193
|
+
* Type alias for the `ContactHandle` OpenAPI schema.
|
|
194
|
+
* This type represents contacthandle data structures used in API requests and responses.
|
|
195
|
+
*
|
|
196
|
+
* @example
|
|
197
|
+
* ```typescript
|
|
198
|
+
* const response = await api.getContactHandle();
|
|
199
|
+
* const item: ContactHandle = response.results;
|
|
200
|
+
* ```
|
|
201
|
+
*
|
|
202
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
203
|
+
*/
|
|
204
|
+
export type ContactHandle = components['schemas']['ContactHandle'];
|
|
173
205
|
/**
|
|
174
206
|
* ContactIdList
|
|
175
207
|
*
|
|
@@ -810,6 +842,22 @@ export type DomainCheck = components['schemas']['DomainCheckResponse'];
|
|
|
810
842
|
* @see {@link components} - The OpenAPI components schema definition
|
|
811
843
|
*/
|
|
812
844
|
export type DomainClientStatus = components['schemas']['DomainClientStatus'];
|
|
845
|
+
/**
|
|
846
|
+
* DomainContactHandles
|
|
847
|
+
*
|
|
848
|
+
* @remarks
|
|
849
|
+
* Type alias for the `DomainContactHandles` OpenAPI schema.
|
|
850
|
+
* This type represents domaincontacthandles data structures used in API requests and responses.
|
|
851
|
+
*
|
|
852
|
+
* @example
|
|
853
|
+
* ```typescript
|
|
854
|
+
* const response = await api.getDomainContactHandles();
|
|
855
|
+
* const item: DomainContactHandles = response.results;
|
|
856
|
+
* ```
|
|
857
|
+
*
|
|
858
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
859
|
+
*/
|
|
860
|
+
export type DomainContactHandles = components['schemas']['DomainContactHandles'];
|
|
813
861
|
/**
|
|
814
862
|
* DomainContactResponse
|
|
815
863
|
*
|
|
@@ -2298,6 +2346,22 @@ export type RdapBase = components['schemas']['RdapBase'];
|
|
|
2298
2346
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2299
2347
|
*/
|
|
2300
2348
|
export type RegistrantChangeType = components['schemas']['RegistrantChangeType'];
|
|
2349
|
+
/**
|
|
2350
|
+
* RegistryHandleAttributeType. Registry handle attribute types for type-safe attribute key access.
|
|
2351
|
+
*
|
|
2352
|
+
* @remarks
|
|
2353
|
+
* Type alias for the `RegistryHandleAttributeType` OpenAPI schema.
|
|
2354
|
+
* This type represents registryhandleattributetype data structures used in API requests and responses.
|
|
2355
|
+
*
|
|
2356
|
+
* @example
|
|
2357
|
+
* ```typescript
|
|
2358
|
+
* const response = await api.getRegistryHandleAttributeType();
|
|
2359
|
+
* const item: RegistryHandleAttributeType = response.results;
|
|
2360
|
+
* ```
|
|
2361
|
+
*
|
|
2362
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
2363
|
+
*/
|
|
2364
|
+
export type RegistryHandleAttributeType = components['schemas']['RegistryHandleAttributeType'];
|
|
2301
2365
|
/**
|
|
2302
2366
|
* RegistryLockBase
|
|
2303
2367
|
*
|
|
@@ -2650,6 +2714,22 @@ export type TransferPoliciesBase = components['schemas']['TransferPoliciesBase']
|
|
|
2650
2714
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2651
2715
|
*/
|
|
2652
2716
|
export type User = components['schemas']['User'];
|
|
2717
|
+
/**
|
|
2718
|
+
* UserAgreementAcceptance
|
|
2719
|
+
*
|
|
2720
|
+
* @remarks
|
|
2721
|
+
* Type alias for the `UserAgreementAcceptance` OpenAPI schema.
|
|
2722
|
+
* This type represents useragreementacceptance data structures used in API requests and responses.
|
|
2723
|
+
*
|
|
2724
|
+
* @example
|
|
2725
|
+
* ```typescript
|
|
2726
|
+
* const response = await api.getUserAgreementAcceptance();
|
|
2727
|
+
* const item: UserAgreementAcceptance = response.results;
|
|
2728
|
+
* ```
|
|
2729
|
+
*
|
|
2730
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
2731
|
+
*/
|
|
2732
|
+
export type UserAgreementAcceptance = components['schemas']['UserAgreementAcceptance'];
|
|
2653
2733
|
/**
|
|
2654
2734
|
* UserAttributeBase
|
|
2655
2735
|
*
|
package/src/openapi.yaml
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
components:
|
|
2
2
|
schemas:
|
|
3
|
+
AgreementType:
|
|
4
|
+
enum:
|
|
5
|
+
- terms_and_conditions
|
|
6
|
+
- master_service_agreement
|
|
7
|
+
- acting_as_trader
|
|
8
|
+
title: AgreementType
|
|
9
|
+
type: string
|
|
3
10
|
AllocationMethodType:
|
|
4
11
|
enum:
|
|
5
12
|
- fcfs
|
|
@@ -234,6 +241,31 @@ components:
|
|
|
234
241
|
- disclose
|
|
235
242
|
title: ContactCreate
|
|
236
243
|
type: object
|
|
244
|
+
ContactHandle:
|
|
245
|
+
properties:
|
|
246
|
+
attributes:
|
|
247
|
+
anyOf:
|
|
248
|
+
- additionalProperties:
|
|
249
|
+
$ref: '#/components/schemas/JsonValue'
|
|
250
|
+
propertyNames:
|
|
251
|
+
$ref: '#/components/schemas/RegistryHandleAttributeType'
|
|
252
|
+
type: object
|
|
253
|
+
- type: 'null'
|
|
254
|
+
description: Additional attributes related to the contact
|
|
255
|
+
title: Attributes
|
|
256
|
+
contact_id:
|
|
257
|
+
description: The contact id of the contact
|
|
258
|
+
examples:
|
|
259
|
+
- contact_01h45ytscbebyvny4gc8cr8ma2
|
|
260
|
+
format: typeid
|
|
261
|
+
pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
262
|
+
title: Contact Id
|
|
263
|
+
type: string
|
|
264
|
+
x-typeid-prefix: contact
|
|
265
|
+
required:
|
|
266
|
+
- contact_id
|
|
267
|
+
title: ContactHandle
|
|
268
|
+
type: object
|
|
237
269
|
ContactIdList:
|
|
238
270
|
additionalProperties:
|
|
239
271
|
examples:
|
|
@@ -1165,6 +1197,14 @@ components:
|
|
|
1165
1197
|
- clientHold
|
|
1166
1198
|
title: DomainClientStatus
|
|
1167
1199
|
type: string
|
|
1200
|
+
DomainContactHandles:
|
|
1201
|
+
additionalProperties:
|
|
1202
|
+
items:
|
|
1203
|
+
$ref: '#/components/schemas/ContactHandle'
|
|
1204
|
+
type: array
|
|
1205
|
+
propertyNames:
|
|
1206
|
+
$ref: '#/components/schemas/DomainContactType'
|
|
1207
|
+
type: object
|
|
1168
1208
|
DomainContactResponse:
|
|
1169
1209
|
properties:
|
|
1170
1210
|
contact_id:
|
|
@@ -1203,8 +1243,11 @@ components:
|
|
|
1203
1243
|
description: The auth code used for the domain
|
|
1204
1244
|
title: Auth Code
|
|
1205
1245
|
contacts:
|
|
1206
|
-
|
|
1246
|
+
anyOf:
|
|
1247
|
+
- $ref: '#/components/schemas/DomainContactHandles'
|
|
1248
|
+
- $ref: '#/components/schemas/ContactIdList'
|
|
1207
1249
|
description: The contacts of the domain
|
|
1250
|
+
title: Contacts
|
|
1208
1251
|
name:
|
|
1209
1252
|
description: The domain to be created
|
|
1210
1253
|
title: Name
|
|
@@ -1874,8 +1917,11 @@ components:
|
|
|
1874
1917
|
title: Auth Code
|
|
1875
1918
|
type: string
|
|
1876
1919
|
contacts:
|
|
1877
|
-
|
|
1920
|
+
anyOf:
|
|
1921
|
+
- $ref: '#/components/schemas/DomainContactHandles'
|
|
1922
|
+
- $ref: '#/components/schemas/ContactIdList'
|
|
1878
1923
|
description: The contacts of the domain
|
|
1924
|
+
title: Contacts
|
|
1879
1925
|
name:
|
|
1880
1926
|
description: The domain to be created
|
|
1881
1927
|
title: Name
|
|
@@ -1909,16 +1955,8 @@ components:
|
|
|
1909
1955
|
title: Auth Code
|
|
1910
1956
|
contacts:
|
|
1911
1957
|
anyOf:
|
|
1912
|
-
-
|
|
1913
|
-
|
|
1914
|
-
- contact_01h45ytscbebyvny4gc8cr8ma2
|
|
1915
|
-
format: typeid
|
|
1916
|
-
pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
1917
|
-
type: string
|
|
1918
|
-
x-typeid-prefix: contact
|
|
1919
|
-
propertyNames:
|
|
1920
|
-
$ref: '#/components/schemas/DomainContactType'
|
|
1921
|
-
type: object
|
|
1958
|
+
- $ref: '#/components/schemas/DomainContactHandles'
|
|
1959
|
+
- $ref: '#/components/schemas/ContactIdList'
|
|
1922
1960
|
- type: 'null'
|
|
1923
1961
|
description: The new contacts of the domain
|
|
1924
1962
|
examples:
|
|
@@ -3871,6 +3909,12 @@ components:
|
|
|
3871
3909
|
- trade
|
|
3872
3910
|
title: RegistrantChangeType
|
|
3873
3911
|
type: string
|
|
3912
|
+
RegistryHandleAttributeType:
|
|
3913
|
+
description: Registry handle attribute types for type-safe attribute key access.
|
|
3914
|
+
enum:
|
|
3915
|
+
- at-ext-contact:type
|
|
3916
|
+
title: RegistryHandleAttributeType
|
|
3917
|
+
type: string
|
|
3874
3918
|
RegistryLockBase:
|
|
3875
3919
|
properties:
|
|
3876
3920
|
prevents:
|
|
@@ -3987,19 +4031,28 @@ components:
|
|
|
3987
4031
|
type: object
|
|
3988
4032
|
SignupCreate:
|
|
3989
4033
|
properties:
|
|
4034
|
+
agreements:
|
|
4035
|
+
anyOf:
|
|
4036
|
+
- items:
|
|
4037
|
+
$ref: '#/components/schemas/UserAgreementAcceptance'
|
|
4038
|
+
type: array
|
|
4039
|
+
- type: 'null'
|
|
4040
|
+
description: User agreement acceptances.
|
|
4041
|
+
title: Agreements
|
|
3990
4042
|
organization:
|
|
3991
4043
|
$ref: '#/components/schemas/OrganizationCreate'
|
|
3992
4044
|
description: Organization signup.
|
|
3993
4045
|
terms_of_service:
|
|
3994
|
-
|
|
3995
|
-
|
|
4046
|
+
anyOf:
|
|
4047
|
+
- $ref: '#/components/schemas/TermsOfServiceAccept'
|
|
4048
|
+
- type: 'null'
|
|
4049
|
+
description: Terms of service acceptance (legacy).
|
|
3996
4050
|
user:
|
|
3997
4051
|
$ref: '#/components/schemas/UserCreate'
|
|
3998
4052
|
description: User signup to platform.
|
|
3999
4053
|
required:
|
|
4000
4054
|
- user
|
|
4001
4055
|
- organization
|
|
4002
|
-
- terms_of_service
|
|
4003
4056
|
title: SignupCreate
|
|
4004
4057
|
type: object
|
|
4005
4058
|
SldLength:
|
|
@@ -4416,6 +4469,35 @@ components:
|
|
|
4416
4469
|
- status
|
|
4417
4470
|
title: User
|
|
4418
4471
|
type: object
|
|
4472
|
+
UserAgreementAcceptance:
|
|
4473
|
+
properties:
|
|
4474
|
+
accepted:
|
|
4475
|
+
description: Whether the agreement has been accepted.
|
|
4476
|
+
title: Accepted
|
|
4477
|
+
type: boolean
|
|
4478
|
+
type:
|
|
4479
|
+
$ref: '#/components/schemas/AgreementType'
|
|
4480
|
+
description: Type of agreement being accepted.
|
|
4481
|
+
url:
|
|
4482
|
+
anyOf:
|
|
4483
|
+
- format: uri
|
|
4484
|
+
maxLength: 2083
|
|
4485
|
+
minLength: 1
|
|
4486
|
+
type: string
|
|
4487
|
+
- type: 'null'
|
|
4488
|
+
description: URL where the agreement can be found.
|
|
4489
|
+
title: Url
|
|
4490
|
+
version:
|
|
4491
|
+
anyOf:
|
|
4492
|
+
- type: string
|
|
4493
|
+
- type: 'null'
|
|
4494
|
+
description: Version of the agreement being accepted.
|
|
4495
|
+
title: Version
|
|
4496
|
+
required:
|
|
4497
|
+
- type
|
|
4498
|
+
- accepted
|
|
4499
|
+
title: UserAgreementAcceptance
|
|
4500
|
+
type: object
|
|
4419
4501
|
UserAttributeBase:
|
|
4420
4502
|
properties:
|
|
4421
4503
|
key:
|
|
@@ -5177,7 +5259,7 @@ info:
|
|
|
5177
5259
|
'
|
|
5178
5260
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5179
5261
|
title: OpusDNS API
|
|
5180
|
-
version: 2025-09-
|
|
5262
|
+
version: 2025-09-11-192549
|
|
5181
5263
|
x-logo:
|
|
5182
5264
|
altText: OpusDNS API Reference
|
|
5183
5265
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -1191,6 +1191,11 @@ export interface paths {
|
|
|
1191
1191
|
export type webhooks = Record<string, never>;
|
|
1192
1192
|
export interface components {
|
|
1193
1193
|
schemas: {
|
|
1194
|
+
/**
|
|
1195
|
+
* AgreementType
|
|
1196
|
+
* @enum {string}
|
|
1197
|
+
*/
|
|
1198
|
+
AgreementType: "terms_and_conditions" | "master_service_agreement" | "acting_as_trader";
|
|
1194
1199
|
/**
|
|
1195
1200
|
* AllocationMethodType
|
|
1196
1201
|
* @enum {string}
|
|
@@ -1368,6 +1373,22 @@ export interface components {
|
|
|
1368
1373
|
*/
|
|
1369
1374
|
title?: string | null;
|
|
1370
1375
|
};
|
|
1376
|
+
/** ContactHandle */
|
|
1377
|
+
ContactHandle: {
|
|
1378
|
+
/**
|
|
1379
|
+
* Attributes
|
|
1380
|
+
* @description Additional attributes related to the contact
|
|
1381
|
+
*/
|
|
1382
|
+
attributes?: {
|
|
1383
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
1384
|
+
} | null;
|
|
1385
|
+
/**
|
|
1386
|
+
* Contact Id
|
|
1387
|
+
* Format: typeid
|
|
1388
|
+
* @description The contact id of the contact
|
|
1389
|
+
*/
|
|
1390
|
+
contact_id: TypeID<"contact">;
|
|
1391
|
+
};
|
|
1371
1392
|
ContactIdList: {
|
|
1372
1393
|
[key: string]: TypeID<"contact">;
|
|
1373
1394
|
};
|
|
@@ -1971,6 +1992,9 @@ export interface components {
|
|
|
1971
1992
|
* @enum {string}
|
|
1972
1993
|
*/
|
|
1973
1994
|
DomainClientStatus: "clientTransferProhibited" | "clientUpdateProhibited" | "clientDeleteProhibited" | "clientRenewProhibited" | "clientHold";
|
|
1995
|
+
DomainContactHandles: {
|
|
1996
|
+
[key: string]: components["schemas"]["ContactHandle"][];
|
|
1997
|
+
};
|
|
1974
1998
|
/** DomainContactResponse */
|
|
1975
1999
|
DomainContactResponse: {
|
|
1976
2000
|
/**
|
|
@@ -1994,8 +2018,11 @@ export interface components {
|
|
|
1994
2018
|
* @description The auth code used for the domain
|
|
1995
2019
|
*/
|
|
1996
2020
|
auth_code?: string | null;
|
|
1997
|
-
/**
|
|
1998
|
-
|
|
2021
|
+
/**
|
|
2022
|
+
* Contacts
|
|
2023
|
+
* @description The contacts of the domain
|
|
2024
|
+
*/
|
|
2025
|
+
contacts: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
|
|
1999
2026
|
/**
|
|
2000
2027
|
* Name
|
|
2001
2028
|
* @description The domain to be created
|
|
@@ -2417,8 +2444,11 @@ export interface components {
|
|
|
2417
2444
|
* @description The auth code for the domain
|
|
2418
2445
|
*/
|
|
2419
2446
|
auth_code: string;
|
|
2420
|
-
/**
|
|
2421
|
-
|
|
2447
|
+
/**
|
|
2448
|
+
* Contacts
|
|
2449
|
+
* @description The contacts of the domain
|
|
2450
|
+
*/
|
|
2451
|
+
contacts: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
|
|
2422
2452
|
/**
|
|
2423
2453
|
* Name
|
|
2424
2454
|
* @description The domain to be created
|
|
@@ -2443,9 +2473,7 @@ export interface components {
|
|
|
2443
2473
|
* Contacts
|
|
2444
2474
|
* @description The new contacts of the domain
|
|
2445
2475
|
*/
|
|
2446
|
-
contacts?:
|
|
2447
|
-
[key: string]: TypeID<"contact">;
|
|
2448
|
-
} | null;
|
|
2476
|
+
contacts?: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"] | null;
|
|
2449
2477
|
/**
|
|
2450
2478
|
* Nameservers
|
|
2451
2479
|
* @description The new name servers for the domain
|
|
@@ -3749,6 +3777,12 @@ export interface components {
|
|
|
3749
3777
|
* @enum {string}
|
|
3750
3778
|
*/
|
|
3751
3779
|
RegistrantChangeType: "update" | "trade";
|
|
3780
|
+
/**
|
|
3781
|
+
* RegistryHandleAttributeType
|
|
3782
|
+
* @description Registry handle attribute types for type-safe attribute key access.
|
|
3783
|
+
* @enum {string}
|
|
3784
|
+
*/
|
|
3785
|
+
RegistryHandleAttributeType: "at-ext-contact:type";
|
|
3752
3786
|
/** RegistryLockBase */
|
|
3753
3787
|
RegistryLockBase: {
|
|
3754
3788
|
/**
|
|
@@ -3824,10 +3858,15 @@ export interface components {
|
|
|
3824
3858
|
};
|
|
3825
3859
|
/** SignupCreate */
|
|
3826
3860
|
SignupCreate: {
|
|
3861
|
+
/**
|
|
3862
|
+
* Agreements
|
|
3863
|
+
* @description User agreement acceptances.
|
|
3864
|
+
*/
|
|
3865
|
+
agreements?: components["schemas"]["UserAgreementAcceptance"][] | null;
|
|
3827
3866
|
/** @description Organization signup. */
|
|
3828
3867
|
organization: components["schemas"]["OrganizationCreate"];
|
|
3829
|
-
/** @description Terms of service acceptance. */
|
|
3830
|
-
terms_of_service
|
|
3868
|
+
/** @description Terms of service acceptance (legacy). */
|
|
3869
|
+
terms_of_service?: components["schemas"]["TermsOfServiceAccept"] | null;
|
|
3831
3870
|
/** @description User signup to platform. */
|
|
3832
3871
|
user: components["schemas"]["UserCreate"];
|
|
3833
3872
|
};
|
|
@@ -4095,6 +4134,26 @@ export interface components {
|
|
|
4095
4134
|
*/
|
|
4096
4135
|
username: string;
|
|
4097
4136
|
};
|
|
4137
|
+
/** UserAgreementAcceptance */
|
|
4138
|
+
UserAgreementAcceptance: {
|
|
4139
|
+
/**
|
|
4140
|
+
* Accepted
|
|
4141
|
+
* @description Whether the agreement has been accepted.
|
|
4142
|
+
*/
|
|
4143
|
+
accepted: boolean;
|
|
4144
|
+
/** @description Type of agreement being accepted. */
|
|
4145
|
+
type: components["schemas"]["AgreementType"];
|
|
4146
|
+
/**
|
|
4147
|
+
* Url
|
|
4148
|
+
* @description URL where the agreement can be found.
|
|
4149
|
+
*/
|
|
4150
|
+
url?: string | null;
|
|
4151
|
+
/**
|
|
4152
|
+
* Version
|
|
4153
|
+
* @description Version of the agreement being accepted.
|
|
4154
|
+
*/
|
|
4155
|
+
version?: string | null;
|
|
4156
|
+
};
|
|
4098
4157
|
/** UserAttributeBase */
|
|
4099
4158
|
UserAttributeBase: {
|
|
4100
4159
|
/**
|