@opusdns/api 1.40.0 → 1.41.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 +0 -37
- package/src/helpers/responses.d.ts +1 -2
- package/src/helpers/schemas.d.ts +0 -1
- package/src/openapi.yaml +6 -126
- package/src/schema.d.ts +4 -95
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -32,7 +32,6 @@ import type {
|
|
|
32
32
|
ContactCreateWorkerResult,
|
|
33
33
|
ContactHandle,
|
|
34
34
|
Contact,
|
|
35
|
-
ContactSchema,
|
|
36
35
|
ContactVerificationApi,
|
|
37
36
|
ContactVerificationEmail,
|
|
38
37
|
ContactVerification,
|
|
@@ -881,42 +880,6 @@ export const KEYS_CONTACT = [
|
|
|
881
880
|
KEY_CONTACT_TITLE,
|
|
882
881
|
] as const satisfies (keyof Contact)[];
|
|
883
882
|
|
|
884
|
-
export const KEY_CONTACT_SCHEMA_CITY = 'city' satisfies keyof ContactSchema;
|
|
885
|
-
export const KEY_CONTACT_SCHEMA_CONTACT_ID = 'contact_id' satisfies keyof ContactSchema;
|
|
886
|
-
export const KEY_CONTACT_SCHEMA_COUNTRY = 'country' satisfies keyof ContactSchema;
|
|
887
|
-
export const KEY_CONTACT_SCHEMA_CREATED_ON = 'created_on' satisfies keyof ContactSchema;
|
|
888
|
-
export const KEY_CONTACT_SCHEMA_DISCLOSE = 'disclose' satisfies keyof ContactSchema;
|
|
889
|
-
export const KEY_CONTACT_SCHEMA_EMAIL = 'email' satisfies keyof ContactSchema;
|
|
890
|
-
export const KEY_CONTACT_SCHEMA_FAX = 'fax' satisfies keyof ContactSchema;
|
|
891
|
-
export const KEY_CONTACT_SCHEMA_FIRST_NAME = 'first_name' satisfies keyof ContactSchema;
|
|
892
|
-
export const KEY_CONTACT_SCHEMA_LAST_NAME = 'last_name' satisfies keyof ContactSchema;
|
|
893
|
-
export const KEY_CONTACT_SCHEMA_ORG = 'org' satisfies keyof ContactSchema;
|
|
894
|
-
export const KEY_CONTACT_SCHEMA_ORGANIZATION_ID = 'organization_id' satisfies keyof ContactSchema;
|
|
895
|
-
export const KEY_CONTACT_SCHEMA_PHONE = 'phone' satisfies keyof ContactSchema;
|
|
896
|
-
export const KEY_CONTACT_SCHEMA_POSTAL_CODE = 'postal_code' satisfies keyof ContactSchema;
|
|
897
|
-
export const KEY_CONTACT_SCHEMA_STATE = 'state' satisfies keyof ContactSchema;
|
|
898
|
-
export const KEY_CONTACT_SCHEMA_STREET = 'street' satisfies keyof ContactSchema;
|
|
899
|
-
export const KEY_CONTACT_SCHEMA_TITLE = 'title' satisfies keyof ContactSchema;
|
|
900
|
-
|
|
901
|
-
export const KEYS_CONTACT_SCHEMA = [
|
|
902
|
-
KEY_CONTACT_SCHEMA_CITY,
|
|
903
|
-
KEY_CONTACT_SCHEMA_CONTACT_ID,
|
|
904
|
-
KEY_CONTACT_SCHEMA_COUNTRY,
|
|
905
|
-
KEY_CONTACT_SCHEMA_CREATED_ON,
|
|
906
|
-
KEY_CONTACT_SCHEMA_DISCLOSE,
|
|
907
|
-
KEY_CONTACT_SCHEMA_EMAIL,
|
|
908
|
-
KEY_CONTACT_SCHEMA_FAX,
|
|
909
|
-
KEY_CONTACT_SCHEMA_FIRST_NAME,
|
|
910
|
-
KEY_CONTACT_SCHEMA_LAST_NAME,
|
|
911
|
-
KEY_CONTACT_SCHEMA_ORG,
|
|
912
|
-
KEY_CONTACT_SCHEMA_ORGANIZATION_ID,
|
|
913
|
-
KEY_CONTACT_SCHEMA_PHONE,
|
|
914
|
-
KEY_CONTACT_SCHEMA_POSTAL_CODE,
|
|
915
|
-
KEY_CONTACT_SCHEMA_STATE,
|
|
916
|
-
KEY_CONTACT_SCHEMA_STREET,
|
|
917
|
-
KEY_CONTACT_SCHEMA_TITLE,
|
|
918
|
-
] as const satisfies (keyof ContactSchema)[];
|
|
919
|
-
|
|
920
883
|
export const KEY_CONTACT_VERIFICATION_API_CANCELED_ON = 'canceled_on' satisfies keyof ContactVerificationApi;
|
|
921
884
|
export const KEY_CONTACT_VERIFICATION_API_CONTACT_ID = 'contact_id' satisfies keyof ContactVerificationApi;
|
|
922
885
|
export const KEY_CONTACT_VERIFICATION_API_CONTACT_VERIFICATION_ID = 'contact_verification_id' satisfies keyof ContactVerificationApi;
|
|
@@ -6,7 +6,6 @@ import type {
|
|
|
6
6
|
ContactAttestRes,
|
|
7
7
|
ContactAttributeLink,
|
|
8
8
|
ContactAttributeSet,
|
|
9
|
-
ContactSchema,
|
|
10
9
|
ContactVerification,
|
|
11
10
|
ContextList,
|
|
12
11
|
Conversation,
|
|
@@ -1009,7 +1008,7 @@ export type POST_AvailabilityStream_Response_422 = HTTPValidationError;
|
|
|
1009
1008
|
|
|
1010
1009
|
export type POST_Contacts_Response = POST_Contacts_Response_201 | POST_Contacts_Response_422;
|
|
1011
1010
|
|
|
1012
|
-
export type POST_Contacts_Response_201 =
|
|
1011
|
+
export type POST_Contacts_Response_201 = Contact;
|
|
1013
1012
|
export type POST_Contacts_Response_422 = HTTPValidationError;
|
|
1014
1013
|
|
|
1015
1014
|
export type POST_ContactsAttributeSets_Response = POST_ContactsAttributeSets_Response_201 | POST_ContactsAttributeSets_Response_409 | POST_ContactsAttributeSets_Response_422;
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -47,7 +47,6 @@ export type ContactHandle = components['schemas']['ContactHandle'];
|
|
|
47
47
|
export type ContactIdList = components['schemas']['ContactIdList'];
|
|
48
48
|
export type ContactIncludeField = components['schemas']['ContactIncludeField'];
|
|
49
49
|
export type Contact = components['schemas']['ContactResponse'];
|
|
50
|
-
export type ContactSchema = components['schemas']['ContactSchema'];
|
|
51
50
|
export type ContactSortField = components['schemas']['ContactSortField'];
|
|
52
51
|
export type ContactType = components['schemas']['ContactType'];
|
|
53
52
|
export type ContactVerificationApi = components['schemas']['ContactVerificationApiResponse'];
|
package/src/openapi.yaml
CHANGED
|
@@ -828,7 +828,7 @@ components:
|
|
|
828
828
|
title: Disclose
|
|
829
829
|
type: boolean
|
|
830
830
|
email:
|
|
831
|
-
description:
|
|
831
|
+
description: Contact email address (as submitted)
|
|
832
832
|
format: email
|
|
833
833
|
title: Email
|
|
834
834
|
type: string
|
|
@@ -1130,7 +1130,7 @@ components:
|
|
|
1130
1130
|
title: Disclose
|
|
1131
1131
|
type: boolean
|
|
1132
1132
|
email:
|
|
1133
|
-
description:
|
|
1133
|
+
description: Contact email address (as submitted)
|
|
1134
1134
|
format: email
|
|
1135
1135
|
title: Email
|
|
1136
1136
|
type: string
|
|
@@ -1324,7 +1324,7 @@ components:
|
|
|
1324
1324
|
title: Disclose
|
|
1325
1325
|
type: boolean
|
|
1326
1326
|
email:
|
|
1327
|
-
description:
|
|
1327
|
+
description: Contact email address (as submitted)
|
|
1328
1328
|
format: email
|
|
1329
1329
|
title: Email
|
|
1330
1330
|
type: string
|
|
@@ -1429,127 +1429,6 @@ components:
|
|
|
1429
1429
|
- disclose
|
|
1430
1430
|
title: ContactResponse
|
|
1431
1431
|
type: object
|
|
1432
|
-
ContactSchema:
|
|
1433
|
-
properties:
|
|
1434
|
-
city:
|
|
1435
|
-
description: The city of the contact
|
|
1436
|
-
maxLength: 255
|
|
1437
|
-
minLength: 1
|
|
1438
|
-
title: City
|
|
1439
|
-
type: string
|
|
1440
|
-
contact_id:
|
|
1441
|
-
examples:
|
|
1442
|
-
- contact_01h45ytscbebyvny4gc8cr8ma2
|
|
1443
|
-
format: typeid
|
|
1444
|
-
pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
1445
|
-
title: Contact Id
|
|
1446
|
-
type: string
|
|
1447
|
-
x-typeid-prefix: contact
|
|
1448
|
-
country:
|
|
1449
|
-
description: The country of the contact
|
|
1450
|
-
pattern: ^\w{2}$
|
|
1451
|
-
title: Country
|
|
1452
|
-
type: string
|
|
1453
|
-
created_on:
|
|
1454
|
-
description: The date/time the entry was created on
|
|
1455
|
-
format: date-time
|
|
1456
|
-
title: Created On
|
|
1457
|
-
type: string
|
|
1458
|
-
disclose:
|
|
1459
|
-
description: Whether the contact details should be disclosed. The Disclose
|
|
1460
|
-
function may not work with all TLDs. Some registries still display the
|
|
1461
|
-
data in Whois if, for example, the organization field is filled in.
|
|
1462
|
-
title: Disclose
|
|
1463
|
-
type: boolean
|
|
1464
|
-
email:
|
|
1465
|
-
description: The email of the contact
|
|
1466
|
-
format: email
|
|
1467
|
-
title: Email
|
|
1468
|
-
type: string
|
|
1469
|
-
fax:
|
|
1470
|
-
anyOf:
|
|
1471
|
-
- format: phone
|
|
1472
|
-
type: string
|
|
1473
|
-
- type: 'null'
|
|
1474
|
-
description: The contacts's fax number
|
|
1475
|
-
title: Fax
|
|
1476
|
-
first_name:
|
|
1477
|
-
description: The first name of the contact
|
|
1478
|
-
maxLength: 255
|
|
1479
|
-
minLength: 1
|
|
1480
|
-
title: First Name
|
|
1481
|
-
type: string
|
|
1482
|
-
last_name:
|
|
1483
|
-
description: The last name of the contact
|
|
1484
|
-
maxLength: 255
|
|
1485
|
-
minLength: 1
|
|
1486
|
-
title: Last Name
|
|
1487
|
-
type: string
|
|
1488
|
-
org:
|
|
1489
|
-
anyOf:
|
|
1490
|
-
- maxLength: 255
|
|
1491
|
-
minLength: 1
|
|
1492
|
-
type: string
|
|
1493
|
-
- type: 'null'
|
|
1494
|
-
description: The organization of the contact
|
|
1495
|
-
title: Org
|
|
1496
|
-
organization_id:
|
|
1497
|
-
default: None
|
|
1498
|
-
description: The organization that owns the domain
|
|
1499
|
-
examples:
|
|
1500
|
-
- organization_01h45ytscbebyvny4gc8cr8ma2
|
|
1501
|
-
format: typeid
|
|
1502
|
-
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
1503
|
-
title: Organization Id
|
|
1504
|
-
type: string
|
|
1505
|
-
x-typeid-prefix: organization
|
|
1506
|
-
phone:
|
|
1507
|
-
description: The contact's phone number
|
|
1508
|
-
examples:
|
|
1509
|
-
- '+1.2125552368'
|
|
1510
|
-
format: phone
|
|
1511
|
-
title: Phone
|
|
1512
|
-
type: string
|
|
1513
|
-
postal_code:
|
|
1514
|
-
description: The postal code of the contact
|
|
1515
|
-
maxLength: 255
|
|
1516
|
-
minLength: 1
|
|
1517
|
-
title: Postal Code
|
|
1518
|
-
type: string
|
|
1519
|
-
state:
|
|
1520
|
-
anyOf:
|
|
1521
|
-
- maxLength: 255
|
|
1522
|
-
minLength: 1
|
|
1523
|
-
type: string
|
|
1524
|
-
- type: 'null'
|
|
1525
|
-
description: The state of the contact
|
|
1526
|
-
title: State
|
|
1527
|
-
street:
|
|
1528
|
-
description: The address of the contact
|
|
1529
|
-
maxLength: 255
|
|
1530
|
-
minLength: 1
|
|
1531
|
-
title: Street
|
|
1532
|
-
type: string
|
|
1533
|
-
title:
|
|
1534
|
-
anyOf:
|
|
1535
|
-
- maxLength: 255
|
|
1536
|
-
minLength: 1
|
|
1537
|
-
type: string
|
|
1538
|
-
- type: 'null'
|
|
1539
|
-
description: The title of the contact
|
|
1540
|
-
title: Title
|
|
1541
|
-
required:
|
|
1542
|
-
- first_name
|
|
1543
|
-
- last_name
|
|
1544
|
-
- email
|
|
1545
|
-
- phone
|
|
1546
|
-
- street
|
|
1547
|
-
- city
|
|
1548
|
-
- postal_code
|
|
1549
|
-
- country
|
|
1550
|
-
- disclose
|
|
1551
|
-
title: ContactSchema
|
|
1552
|
-
type: object
|
|
1553
1432
|
ContactSortField:
|
|
1554
1433
|
enum:
|
|
1555
1434
|
- first_name
|
|
@@ -13926,7 +13805,7 @@ info:
|
|
|
13926
13805
|
\n\n"
|
|
13927
13806
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
13928
13807
|
title: OpusDNS API
|
|
13929
|
-
version: 2026-06-29-
|
|
13808
|
+
version: 2026-06-29-142706
|
|
13930
13809
|
x-logo:
|
|
13931
13810
|
altText: OpusDNS API Reference
|
|
13932
13811
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -16233,7 +16112,7 @@ paths:
|
|
|
16233
16112
|
content:
|
|
16234
16113
|
application/json:
|
|
16235
16114
|
schema:
|
|
16236
|
-
$ref: '#/components/schemas/
|
|
16115
|
+
$ref: '#/components/schemas/ContactResponse'
|
|
16237
16116
|
description: Successful Response
|
|
16238
16117
|
'422':
|
|
16239
16118
|
content:
|
|
@@ -25115,6 +24994,7 @@ paths:
|
|
|
25115
24994
|
country: US
|
|
25116
24995
|
disclose: false
|
|
25117
24996
|
email: john.doe@example.com
|
|
24997
|
+
email_ace: john.doe@example.com
|
|
25118
24998
|
first_name: John
|
|
25119
24999
|
last_name: Doe
|
|
25120
25000
|
phone: +1 212-555-1234
|
package/src/schema.d.ts
CHANGED
|
@@ -3300,7 +3300,7 @@ export interface components {
|
|
|
3300
3300
|
/**
|
|
3301
3301
|
* Email
|
|
3302
3302
|
* Format: email
|
|
3303
|
-
* @description
|
|
3303
|
+
* @description Contact email address (as submitted)
|
|
3304
3304
|
*/
|
|
3305
3305
|
email: string;
|
|
3306
3306
|
/**
|
|
@@ -3521,7 +3521,7 @@ export interface components {
|
|
|
3521
3521
|
/**
|
|
3522
3522
|
* Email
|
|
3523
3523
|
* Format: email
|
|
3524
|
-
* @description
|
|
3524
|
+
* @description Contact email address (as submitted)
|
|
3525
3525
|
*/
|
|
3526
3526
|
email: string;
|
|
3527
3527
|
/**
|
|
@@ -3656,7 +3656,7 @@ export interface components {
|
|
|
3656
3656
|
/**
|
|
3657
3657
|
* Email
|
|
3658
3658
|
* Format: email
|
|
3659
|
-
* @description
|
|
3659
|
+
* @description Contact email address (as submitted)
|
|
3660
3660
|
*/
|
|
3661
3661
|
email: string;
|
|
3662
3662
|
/**
|
|
@@ -3725,97 +3725,6 @@ export interface components {
|
|
|
3725
3725
|
*/
|
|
3726
3726
|
title?: string | null;
|
|
3727
3727
|
};
|
|
3728
|
-
/** ContactSchema */
|
|
3729
|
-
ContactSchema: {
|
|
3730
|
-
/**
|
|
3731
|
-
* City
|
|
3732
|
-
* @description The city of the contact
|
|
3733
|
-
*/
|
|
3734
|
-
city: string;
|
|
3735
|
-
/**
|
|
3736
|
-
* Contact Id
|
|
3737
|
-
* Format: typeid
|
|
3738
|
-
* @example contact_01h45ytscbebyvny4gc8cr8ma2
|
|
3739
|
-
*/
|
|
3740
|
-
contact_id?: TypeId<"contact">;
|
|
3741
|
-
/**
|
|
3742
|
-
* Country
|
|
3743
|
-
* @description The country of the contact
|
|
3744
|
-
*/
|
|
3745
|
-
country: string;
|
|
3746
|
-
/**
|
|
3747
|
-
* Created On
|
|
3748
|
-
* Format: date-time
|
|
3749
|
-
* @description The date/time the entry was created on
|
|
3750
|
-
*/
|
|
3751
|
-
created_on?: Date;
|
|
3752
|
-
/**
|
|
3753
|
-
* Disclose
|
|
3754
|
-
* @description Whether the contact details should be disclosed. The Disclose function may not work with all TLDs. Some registries still display the data in Whois if, for example, the organization field is filled in.
|
|
3755
|
-
*/
|
|
3756
|
-
disclose: boolean;
|
|
3757
|
-
/**
|
|
3758
|
-
* Email
|
|
3759
|
-
* Format: email
|
|
3760
|
-
* @description The email of the contact
|
|
3761
|
-
*/
|
|
3762
|
-
email: string;
|
|
3763
|
-
/**
|
|
3764
|
-
* Fax
|
|
3765
|
-
* @description The contacts's fax number
|
|
3766
|
-
*/
|
|
3767
|
-
fax?: string | null;
|
|
3768
|
-
/**
|
|
3769
|
-
* First Name
|
|
3770
|
-
* @description The first name of the contact
|
|
3771
|
-
*/
|
|
3772
|
-
first_name: string;
|
|
3773
|
-
/**
|
|
3774
|
-
* Last Name
|
|
3775
|
-
* @description The last name of the contact
|
|
3776
|
-
*/
|
|
3777
|
-
last_name: string;
|
|
3778
|
-
/**
|
|
3779
|
-
* Org
|
|
3780
|
-
* @description The organization of the contact
|
|
3781
|
-
*/
|
|
3782
|
-
org?: string | null;
|
|
3783
|
-
/**
|
|
3784
|
-
* Organization Id
|
|
3785
|
-
* Format: typeid
|
|
3786
|
-
* @description The organization that owns the domain
|
|
3787
|
-
* @default None
|
|
3788
|
-
* @example organization_01h45ytscbebyvny4gc8cr8ma2
|
|
3789
|
-
*/
|
|
3790
|
-
organization_id: TypeId<"organization">;
|
|
3791
|
-
/**
|
|
3792
|
-
* Phone
|
|
3793
|
-
* Format: phone
|
|
3794
|
-
* @description The contact's phone number
|
|
3795
|
-
* @example +1.2125552368
|
|
3796
|
-
*/
|
|
3797
|
-
phone: string;
|
|
3798
|
-
/**
|
|
3799
|
-
* Postal Code
|
|
3800
|
-
* @description The postal code of the contact
|
|
3801
|
-
*/
|
|
3802
|
-
postal_code: string;
|
|
3803
|
-
/**
|
|
3804
|
-
* State
|
|
3805
|
-
* @description The state of the contact
|
|
3806
|
-
*/
|
|
3807
|
-
state?: string | null;
|
|
3808
|
-
/**
|
|
3809
|
-
* Street
|
|
3810
|
-
* @description The address of the contact
|
|
3811
|
-
*/
|
|
3812
|
-
street: string;
|
|
3813
|
-
/**
|
|
3814
|
-
* Title
|
|
3815
|
-
* @description The title of the contact
|
|
3816
|
-
*/
|
|
3817
|
-
title?: string | null;
|
|
3818
|
-
};
|
|
3819
3728
|
/**
|
|
3820
3729
|
* ContactSortField
|
|
3821
3730
|
* @enum {string}
|
|
@@ -13714,7 +13623,7 @@ export interface operations {
|
|
|
13714
13623
|
[name: string]: unknown;
|
|
13715
13624
|
};
|
|
13716
13625
|
content: {
|
|
13717
|
-
"application/json": components["schemas"]["
|
|
13626
|
+
"application/json": components["schemas"]["ContactResponse"];
|
|
13718
13627
|
};
|
|
13719
13628
|
};
|
|
13720
13629
|
/** @description Validation Error */
|