@opusdns/api 1.207.0 → 1.209.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 +9 -0
- package/src/helpers/keys.ts +13 -0
- package/src/helpers/schemas.d.ts +2 -0
- package/src/openapi.yaml +639 -172
- package/src/schema.d.ts +192 -3
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -15,6 +15,7 @@ import type {
|
|
|
15
15
|
ContactAttributeSetSortField,
|
|
16
16
|
ContactIncludeField,
|
|
17
17
|
ContactSortField,
|
|
18
|
+
ContactStatusTagType,
|
|
18
19
|
ContactType,
|
|
19
20
|
ContactVerificationClaim,
|
|
20
21
|
ContactVerificationMethod,
|
|
@@ -384,6 +385,14 @@ export const CONTACT_SORT_FIELD_VALUES = [
|
|
|
384
385
|
'created_on',
|
|
385
386
|
] as const satisfies ReadonlyArray<ContactSortField>;
|
|
386
387
|
|
|
388
|
+
export const CONTACT_STATUS_TAG_TYPE = {
|
|
389
|
+
VERIFICATION_REQUIRED: "VERIFICATION_REQUIRED",
|
|
390
|
+
} as const satisfies Record<string, ContactStatusTagType>;
|
|
391
|
+
|
|
392
|
+
export const CONTACT_STATUS_TAG_TYPE_VALUES = [
|
|
393
|
+
'VERIFICATION_REQUIRED',
|
|
394
|
+
] as const satisfies ReadonlyArray<ContactStatusTagType>;
|
|
395
|
+
|
|
387
396
|
export const CONTACT_TYPE = {
|
|
388
397
|
OWNER: "owner",
|
|
389
398
|
AGENT: "agent",
|
package/src/helpers/keys.ts
CHANGED
|
@@ -60,6 +60,7 @@ import type {
|
|
|
60
60
|
ContactCreateWorkerResult,
|
|
61
61
|
ContactHandle,
|
|
62
62
|
Contact,
|
|
63
|
+
ContactStatusTag,
|
|
63
64
|
ContactVerificationApi,
|
|
64
65
|
ContactVerificationEidInformation,
|
|
65
66
|
ContactVerificationEmail,
|
|
@@ -1332,6 +1333,18 @@ export const KEYS_CONTACT = [
|
|
|
1332
1333
|
KEY_CONTACT_TITLE,
|
|
1333
1334
|
] as const satisfies (keyof Contact)[];
|
|
1334
1335
|
|
|
1336
|
+
export const KEY_CONTACT_STATUS_TAG_COLOR = 'color' satisfies keyof ContactStatusTag;
|
|
1337
|
+
export const KEY_CONTACT_STATUS_TAG_DESCRIPTION = 'description' satisfies keyof ContactStatusTag;
|
|
1338
|
+
export const KEY_CONTACT_STATUS_TAG_LABEL = 'label' satisfies keyof ContactStatusTag;
|
|
1339
|
+
export const KEY_CONTACT_STATUS_TAG_TAG_TYPE = 'tag_type' satisfies keyof ContactStatusTag;
|
|
1340
|
+
|
|
1341
|
+
export const KEYS_CONTACT_STATUS_TAG = [
|
|
1342
|
+
KEY_CONTACT_STATUS_TAG_COLOR,
|
|
1343
|
+
KEY_CONTACT_STATUS_TAG_DESCRIPTION,
|
|
1344
|
+
KEY_CONTACT_STATUS_TAG_LABEL,
|
|
1345
|
+
KEY_CONTACT_STATUS_TAG_TAG_TYPE,
|
|
1346
|
+
] as const satisfies (keyof ContactStatusTag)[];
|
|
1347
|
+
|
|
1335
1348
|
export const KEY_CONTACT_VERIFICATION_API_CANCELED_ON = 'canceled_on' satisfies keyof ContactVerificationApi;
|
|
1336
1349
|
export const KEY_CONTACT_VERIFICATION_API_CONTACT_ID = 'contact_id' satisfies keyof ContactVerificationApi;
|
|
1337
1350
|
export const KEY_CONTACT_VERIFICATION_API_CONTACT_VERIFICATION_ID = 'contact_verification_id' satisfies keyof ContactVerificationApi;
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -80,6 +80,8 @@ export type ContactIdList = components['schemas']['ContactIdList'];
|
|
|
80
80
|
export type ContactIncludeField = components['schemas']['ContactIncludeField'];
|
|
81
81
|
export type Contact = components['schemas']['ContactResponse'];
|
|
82
82
|
export type ContactSortField = components['schemas']['ContactSortField'];
|
|
83
|
+
export type ContactStatusTag = components['schemas']['ContactStatusTagResponse'];
|
|
84
|
+
export type ContactStatusTagType = components['schemas']['ContactStatusTagType'];
|
|
83
85
|
export type ContactType = components['schemas']['ContactType'];
|
|
84
86
|
export type ContactVerificationApi = components['schemas']['ContactVerificationApiResponse'];
|
|
85
87
|
export type ContactVerificationClaim = components['schemas']['ContactVerificationClaim'];
|