@opusdns/api 0.200.0 → 0.202.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 +4 -2
- package/src/helpers/keys.ts +0 -79
- package/src/helpers/requests.d.ts +39 -37
- package/src/helpers/responses.d.ts +132 -96
- package/src/helpers/schemas-arrays.d.ts +6 -6
- package/src/helpers/schemas.d.ts +6 -22
- package/src/openapi.yaml +118 -97
- package/src/schema.d.ts +115 -99
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -3383,7 +3383,8 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
|
|
|
3383
3383
|
AFNIC_REACHABLE_STATUS: "AFNIC_REACHABLE_STATUS",
|
|
3384
3384
|
AFNIC_RESTRICTED_PUBLICATION: "AFNIC_RESTRICTED_PUBLICATION",
|
|
3385
3385
|
ROTLD_CONTACT_TYPE: "ROTLD_CONTACT_TYPE",
|
|
3386
|
-
|
|
3386
|
+
ROTLD_CNP_FISCAL_CODE: "ROTLD_CNP_FISCAL_CODE",
|
|
3387
|
+
ROTLD_ID_NUMBER: "ROTLD_ID_NUMBER",
|
|
3387
3388
|
ROTLD_REGISTRATION_NUMBER: "ROTLD_REGISTRATION_NUMBER",
|
|
3388
3389
|
ROTLD_DOMAIN_NAME: "ROTLD_DOMAIN_NAME",
|
|
3389
3390
|
NOMINET_CONTACT_TYPE: "NOMINET_CONTACT_TYPE",
|
|
@@ -3437,7 +3438,8 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
|
|
|
3437
3438
|
'AFNIC_REACHABLE_STATUS',
|
|
3438
3439
|
'AFNIC_RESTRICTED_PUBLICATION',
|
|
3439
3440
|
'ROTLD_CONTACT_TYPE',
|
|
3440
|
-
'
|
|
3441
|
+
'ROTLD_CNP_FISCAL_CODE',
|
|
3442
|
+
'ROTLD_ID_NUMBER',
|
|
3441
3443
|
'ROTLD_REGISTRATION_NUMBER',
|
|
3442
3444
|
'ROTLD_DOMAIN_NAME',
|
|
3443
3445
|
'NOMINET_CONTACT_TYPE',
|
package/src/helpers/keys.ts
CHANGED
|
@@ -36,7 +36,6 @@ import { BillingPlan } from './schemas';
|
|
|
36
36
|
import { BillingTransaction } from './schemas';
|
|
37
37
|
import { BrowserStatsBucket } from './schemas';
|
|
38
38
|
import { ContactAttributeDefinition } from './schemas';
|
|
39
|
-
import { ContactAttributeLinkCreate } from './schemas';
|
|
40
39
|
import { ContactAttributeLinkDetail } from './schemas';
|
|
41
40
|
import { ContactAttributeLink } from './schemas';
|
|
42
41
|
import { ContactAttributeSetCreate } from './schemas';
|
|
@@ -1332,84 +1331,6 @@ export const KEYS_CONTACT_ATTRIBUTE_DEFINITION = [
|
|
|
1332
1331
|
KEY_CONTACT_ATTRIBUTE_DEFINITION_VALUES,
|
|
1333
1332
|
] as const satisfies (keyof ContactAttributeDefinition)[];
|
|
1334
1333
|
|
|
1335
|
-
/**
|
|
1336
|
-
* Contact Attribute Set Id
|
|
1337
|
-
*
|
|
1338
|
-
* The attribute set to link to the contact
|
|
1339
|
-
*
|
|
1340
|
-
* @type {string}
|
|
1341
|
-
*
|
|
1342
|
-
*
|
|
1343
|
-
* @remarks
|
|
1344
|
-
* This key constant provides type-safe access to the `contact_attribute_set_id` property of ContactAttributeLinkCreate objects.
|
|
1345
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1346
|
-
*
|
|
1347
|
-
* @example
|
|
1348
|
-
* ```typescript
|
|
1349
|
-
* // Direct property access
|
|
1350
|
-
* const value = contactattributelinkcreate[KEY_CONTACT_ATTRIBUTE_LINK_CREATE_CONTACT_ATTRIBUTE_SET_ID];
|
|
1351
|
-
*
|
|
1352
|
-
* // Dynamic property access
|
|
1353
|
-
* const propertyName = KEY_CONTACT_ATTRIBUTE_LINK_CREATE_CONTACT_ATTRIBUTE_SET_ID;
|
|
1354
|
-
* const value = contactattributelinkcreate[propertyName];
|
|
1355
|
-
* ```
|
|
1356
|
-
*
|
|
1357
|
-
* @see {@link ContactAttributeLinkCreate} - The TypeScript type definition
|
|
1358
|
-
* @see {@link KEYS_CONTACT_ATTRIBUTE_LINK_CREATE} - Array of all keys for this type
|
|
1359
|
-
*/
|
|
1360
|
-
export const KEY_CONTACT_ATTRIBUTE_LINK_CREATE_CONTACT_ATTRIBUTE_SET_ID: keyof ContactAttributeLinkCreate = 'contact_attribute_set_id';
|
|
1361
|
-
/**
|
|
1362
|
-
* Contact Id
|
|
1363
|
-
*
|
|
1364
|
-
* The contact to link
|
|
1365
|
-
*
|
|
1366
|
-
* @type {string}
|
|
1367
|
-
*
|
|
1368
|
-
*
|
|
1369
|
-
* @remarks
|
|
1370
|
-
* This key constant provides type-safe access to the `contact_id` property of ContactAttributeLinkCreate objects.
|
|
1371
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1372
|
-
*
|
|
1373
|
-
* @example
|
|
1374
|
-
* ```typescript
|
|
1375
|
-
* // Direct property access
|
|
1376
|
-
* const value = contactattributelinkcreate[KEY_CONTACT_ATTRIBUTE_LINK_CREATE_CONTACT_ID];
|
|
1377
|
-
*
|
|
1378
|
-
* // Dynamic property access
|
|
1379
|
-
* const propertyName = KEY_CONTACT_ATTRIBUTE_LINK_CREATE_CONTACT_ID;
|
|
1380
|
-
* const value = contactattributelinkcreate[propertyName];
|
|
1381
|
-
* ```
|
|
1382
|
-
*
|
|
1383
|
-
* @see {@link ContactAttributeLinkCreate} - The TypeScript type definition
|
|
1384
|
-
* @see {@link KEYS_CONTACT_ATTRIBUTE_LINK_CREATE} - Array of all keys for this type
|
|
1385
|
-
*/
|
|
1386
|
-
export const KEY_CONTACT_ATTRIBUTE_LINK_CREATE_CONTACT_ID: keyof ContactAttributeLinkCreate = 'contact_id';
|
|
1387
|
-
|
|
1388
|
-
/**
|
|
1389
|
-
* Array of all ContactAttributeLinkCreate property keys
|
|
1390
|
-
*
|
|
1391
|
-
* @remarks
|
|
1392
|
-
* This constant provides a readonly array containing all valid property keys for ContactAttributeLinkCreate objects.
|
|
1393
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
1394
|
-
*
|
|
1395
|
-
* @example
|
|
1396
|
-
* ```typescript
|
|
1397
|
-
* // Iterating through all keys
|
|
1398
|
-
* for (const key of KEYS_CONTACT_ATTRIBUTE_LINK_CREATE) {
|
|
1399
|
-
* console.log(`Property: ${key}, Value: ${contactattributelinkcreate[key]}`);
|
|
1400
|
-
* }
|
|
1401
|
-
*
|
|
1402
|
-
* // Validation
|
|
1403
|
-
* const isValidKey = KEYS_CONTACT_ATTRIBUTE_LINK_CREATE.includes(someKey);
|
|
1404
|
-
* ```
|
|
1405
|
-
*
|
|
1406
|
-
* @see {@link ContactAttributeLinkCreate} - The TypeScript type definition
|
|
1407
|
-
*/
|
|
1408
|
-
export const KEYS_CONTACT_ATTRIBUTE_LINK_CREATE = [
|
|
1409
|
-
KEY_CONTACT_ATTRIBUTE_LINK_CREATE_CONTACT_ATTRIBUTE_SET_ID,
|
|
1410
|
-
KEY_CONTACT_ATTRIBUTE_LINK_CREATE_CONTACT_ID,
|
|
1411
|
-
] as const satisfies (keyof ContactAttributeLinkCreate)[];
|
|
1412
|
-
|
|
1413
1334
|
/**
|
|
1414
1335
|
* Attributes
|
|
1415
1336
|
*
|
|
@@ -34,7 +34,7 @@ import { operations } from '../schema';
|
|
|
34
34
|
|
|
35
35
|
import { DomainDnssecDataCreateArray, OrganizationAttributeUpdateArray } from './schemas-arrays.d';
|
|
36
36
|
|
|
37
|
-
import { ContactCreate,
|
|
37
|
+
import { ContactCreate, ContactAttributeSetCreate, ContactAttributeSetUpdate, DnsZoneCreate, DnsZoneRecordsPatchOps, DnsZoneRrsetsPatchOps, DnsZoneRrsetsCreate, DomainForwardPatchOps, DomainForwardCreateRequest, DomainForwardSetCreateRequest, DomainForwardSetRequest, DomainCreate, DomainUpdate, DomainRenewRequest, DomainRestoreRequest, DomainWithdrawRequest, DomainTransitRequest, DomainTransferIn, EmailForwardCreate, EmailForwardAliasCreate, EmailForwardAliasUpdate, OrganizationCreate, IpRestrictionCreate, IpRestrictionUpdate, OrganizationUpdate, ParkingSignupRequest, UserCreate, PasswordUpdate, UserUpdate, SpiceDbRelationshipUpdate } from './schemas.d';
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Request type for GET ArchiveEmailForwardLogsAliasesEmailForwardAliasId endpoint
|
|
@@ -461,42 +461,6 @@ export type POST_Contacts_Request = {
|
|
|
461
461
|
*/
|
|
462
462
|
export type POST_Contacts_Request_Body = POST_Contacts_Request['requestBody'];
|
|
463
463
|
|
|
464
|
-
/**
|
|
465
|
-
* Request type for POST ContactsAttributeLinks endpoint
|
|
466
|
-
*
|
|
467
|
-
* Link a contact to a contact attribute set
|
|
468
|
-
*
|
|
469
|
-
* @remarks
|
|
470
|
-
* This type defines the complete request structure for the POST ContactsAttributeLinks endpoint.
|
|
471
|
-
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
472
|
-
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
473
|
-
*
|
|
474
|
-
* @example
|
|
475
|
-
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
476
|
-
*
|
|
477
|
-
* @path /v1/contacts/attribute-links
|
|
478
|
-
*
|
|
479
|
-
* @see {@link POST_ContactsAttributeLinks_Request_Query} - Query parameters type
|
|
480
|
-
* @see {@link POST_ContactsAttributeLinks_Request_Path} - Path parameters type
|
|
481
|
-
* @see {@link POST_ContactsAttributeLinks_Request_Body} - Request body type
|
|
482
|
-
*/
|
|
483
|
-
export type POST_ContactsAttributeLinks_Request = {
|
|
484
|
-
requestBody: ContactAttributeLinkCreate;
|
|
485
|
-
}
|
|
486
|
-
/**
|
|
487
|
-
* Request body for POST /v1/contacts/attribute-links
|
|
488
|
-
*
|
|
489
|
-
* @remarks
|
|
490
|
-
* This type defines the request body structure for the POST /v1/contacts/attribute-links endpoint.
|
|
491
|
-
* It provides type safety for the request body as defined in the OpenAPI specification.
|
|
492
|
-
*
|
|
493
|
-
* @example
|
|
494
|
-
* Use this type to ensure type safety for request body structure.
|
|
495
|
-
*
|
|
496
|
-
* @path /v1/contacts/attribute-links
|
|
497
|
-
*/
|
|
498
|
-
export type POST_ContactsAttributeLinks_Request_Body = POST_ContactsAttributeLinks_Request['requestBody'];
|
|
499
|
-
|
|
500
464
|
/**
|
|
501
465
|
* Request type for GET ContactsAttributeSets endpoint
|
|
502
466
|
*
|
|
@@ -778,6 +742,44 @@ export type GET_ContactsContactId_Request = {
|
|
|
778
742
|
*/
|
|
779
743
|
export type GET_ContactsContactId_Request_Path = GET_ContactsContactId_Request['parameters']['path'];
|
|
780
744
|
|
|
745
|
+
/**
|
|
746
|
+
* Request type for PATCH ContactsContactIdLinkContactAttributeSetId endpoint
|
|
747
|
+
*
|
|
748
|
+
* Link a contact to a contact attribute set
|
|
749
|
+
*
|
|
750
|
+
* @remarks
|
|
751
|
+
* This type defines the complete request structure for the PATCH ContactsContactIdLinkContactAttributeSetId endpoint.
|
|
752
|
+
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
753
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
754
|
+
*
|
|
755
|
+
* @example
|
|
756
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
757
|
+
*
|
|
758
|
+
* @path /v1/contacts/{contact_id}/link/{contact_attribute_set_id}
|
|
759
|
+
*
|
|
760
|
+
* @see {@link PATCH_ContactsContactIdLinkContactAttributeSetId_Request_Query} - Query parameters type
|
|
761
|
+
* @see {@link PATCH_ContactsContactIdLinkContactAttributeSetId_Request_Path} - Path parameters type
|
|
762
|
+
* @see {@link PATCH_ContactsContactIdLinkContactAttributeSetId_Request_Body} - Request body type
|
|
763
|
+
*/
|
|
764
|
+
export type PATCH_ContactsContactIdLinkContactAttributeSetId_Request = {
|
|
765
|
+
parameters: {
|
|
766
|
+
path: operations['create_attribute_link_v1_contacts__contact_id__link__contact_attribute_set_id__patch']['parameters']['path'];
|
|
767
|
+
};
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* Path parameters for PATCH /v1/contacts/{contact_id}/link/{contact_attribute_set_id}
|
|
771
|
+
*
|
|
772
|
+
* @remarks
|
|
773
|
+
* This type defines the path parameters for the PATCH /v1/contacts/{contact_id}/link/{contact_attribute_set_id} endpoint.
|
|
774
|
+
* It provides type safety for all path parameters as defined in the OpenAPI specification.
|
|
775
|
+
*
|
|
776
|
+
* @example
|
|
777
|
+
* Use this type to ensure type safety for path parameters.
|
|
778
|
+
*
|
|
779
|
+
* @path /v1/contacts/{contact_id}/link/{contact_attribute_set_id}
|
|
780
|
+
*/
|
|
781
|
+
export type PATCH_ContactsContactIdLinkContactAttributeSetId_Request_Path = PATCH_ContactsContactIdLinkContactAttributeSetId_Request['parameters']['path'];
|
|
782
|
+
|
|
781
783
|
/**
|
|
782
784
|
* Request type for DELETE ContactsContactIdVerification endpoint
|
|
783
785
|
*
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
import { DomainDnssecDataArray, OrganizationAttribute2Array, IpRestrictionArray, TldResponseShortArray } from './schemas-arrays.d';
|
|
36
36
|
|
|
37
|
-
import { Pagination_EmailForwardLog, HTTPValidationError, Pagination_ObjectLog, Pagination_RequestHistory, Problem, DomainAvailabilityList,
|
|
37
|
+
import { Pagination_EmailForwardLog, HTTPValidationError, Pagination_ObjectLog, Pagination_RequestHistory, Problem, DomainAvailabilityList, Pagination_ContactDetail, ContactSchema, Pagination_ContactAttributeSet, ContactAttributeSet, ContactDetail, ContactAttributeLink, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DomainForwardZone, EmailForwardZone, Pagination_DomainForwardZone, Pagination_EmailForwardZone, DnsZoneSummary, Pagination_DomainForward, DomainForward, DomainForwardSet, DomainForwardMetrics, DomainForwardBrowserStats, DomainForwardGeoStats, DomainForwardPlatformStats, DomainForwardReferrerStats, DomainForwardStatusCodeStats, DomainForwardMetricsTimeSeries, DomainForwardUserAgentStats, DomainForwardVisitsByKey, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainRestore, DomainCheck, DomainSummary, DomainWithdraw, RequestAuthcode, DomainTransit, RequestAuthcode2, Pagination_EmailForward, EmailForward, EmailForwardAlias, EmailForwardMetrics, Pagination_Event, EventSchema, Pagination_Organization, Organization, OrganizationWithBillingData, Pagination_Invoice, GetPrices, Pagination_BillingTransaction, BillingTransaction, IpRestriction, Pagination_UserPublic, Pagination_Parking, ParkingMetrics, ParkingTotalMetrics, ParkingSignup, ParkingSignupStatus, TldSpecification, UserPublic, UserPublicWithAttributes, PermissionSet, RelationSet, UserWithRelationPermissions } from './schemas.d';
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Response types for GET ArchiveEmailForwardLogsAliasesByEmailForwardAliasId endpoint
|
|
@@ -599,9 +599,9 @@ export type GET_Contacts_Response = GET_Contacts_Response_200 | GET_Contacts_Res
|
|
|
599
599
|
* @path /v1/contacts
|
|
600
600
|
*
|
|
601
601
|
* @see {@link GET_Contacts_Response} - The main response type definition
|
|
602
|
-
* @see {@link
|
|
602
|
+
* @see {@link Pagination_ContactDetail} - The actual schema type definition
|
|
603
603
|
*/
|
|
604
|
-
export type GET_Contacts_Response_200 =
|
|
604
|
+
export type GET_Contacts_Response_200 = Pagination_ContactDetail
|
|
605
605
|
|
|
606
606
|
/**
|
|
607
607
|
* 422 response for GET Contacts endpoint
|
|
@@ -676,97 +676,6 @@ export type POST_Contacts_Response_201 = ContactSchema
|
|
|
676
676
|
*/
|
|
677
677
|
export type POST_Contacts_Response_422 = HTTPValidationError
|
|
678
678
|
|
|
679
|
-
/**
|
|
680
|
-
* Response types for POST ContactsAttributeLinks endpoint
|
|
681
|
-
*
|
|
682
|
-
* Link a contact to a contact attribute set
|
|
683
|
-
*
|
|
684
|
-
* @remarks
|
|
685
|
-
* This type defines all possible response structures for the POST ContactsAttributeLinks endpoint.
|
|
686
|
-
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
687
|
-
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
688
|
-
*
|
|
689
|
-
|
|
690
|
-
*
|
|
691
|
-
* @path /v1/contacts/attribute-links
|
|
692
|
-
*
|
|
693
|
-
* @see {@link POST_ContactsAttributeLinks_Response_201} - 201 response type
|
|
694
|
-
* @see {@link POST_ContactsAttributeLinks_Response_404} - 404 response type
|
|
695
|
-
* @see {@link POST_ContactsAttributeLinks_Response_409} - 409 response type
|
|
696
|
-
* @see {@link POST_ContactsAttributeLinks_Response_422} - 422 response type
|
|
697
|
-
*
|
|
698
|
-
|
|
699
|
-
*/
|
|
700
|
-
export type POST_ContactsAttributeLinks_Response = POST_ContactsAttributeLinks_Response_201 | POST_ContactsAttributeLinks_Response_404 | POST_ContactsAttributeLinks_Response_409 | POST_ContactsAttributeLinks_Response_422;
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* 201 response for POST ContactsAttributeLinks endpoint
|
|
704
|
-
*
|
|
705
|
-
* @remarks
|
|
706
|
-
* This type defines the response structure for the 201 status code
|
|
707
|
-
* of the POST ContactsAttributeLinks endpoint.
|
|
708
|
-
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
709
|
-
*
|
|
710
|
-
|
|
711
|
-
*
|
|
712
|
-
* @path /v1/contacts/attribute-links
|
|
713
|
-
*
|
|
714
|
-
* @see {@link POST_ContactsAttributeLinks_Response} - The main response type definition
|
|
715
|
-
* @see {@link ContactAttributeLink} - The actual schema type definition
|
|
716
|
-
*/
|
|
717
|
-
export type POST_ContactsAttributeLinks_Response_201 = ContactAttributeLink
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
* 404 response for POST ContactsAttributeLinks endpoint
|
|
721
|
-
*
|
|
722
|
-
* @remarks
|
|
723
|
-
* This type defines the response structure for the 404 status code
|
|
724
|
-
* of the POST ContactsAttributeLinks endpoint.
|
|
725
|
-
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
726
|
-
*
|
|
727
|
-
|
|
728
|
-
*
|
|
729
|
-
* @path /v1/contacts/attribute-links
|
|
730
|
-
*
|
|
731
|
-
* @see {@link POST_ContactsAttributeLinks_Response} - The main response type definition
|
|
732
|
-
* @see {@link Problem} - The actual schema type definition
|
|
733
|
-
*/
|
|
734
|
-
export type POST_ContactsAttributeLinks_Response_404 = Problem
|
|
735
|
-
|
|
736
|
-
/**
|
|
737
|
-
* 409 response for POST ContactsAttributeLinks endpoint
|
|
738
|
-
*
|
|
739
|
-
* @remarks
|
|
740
|
-
* This type defines the response structure for the 409 status code
|
|
741
|
-
* of the POST ContactsAttributeLinks endpoint.
|
|
742
|
-
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
743
|
-
*
|
|
744
|
-
|
|
745
|
-
*
|
|
746
|
-
* @path /v1/contacts/attribute-links
|
|
747
|
-
*
|
|
748
|
-
* @see {@link POST_ContactsAttributeLinks_Response} - The main response type definition
|
|
749
|
-
* @see {@link Problem} - The actual schema type definition
|
|
750
|
-
*/
|
|
751
|
-
export type POST_ContactsAttributeLinks_Response_409 = Problem
|
|
752
|
-
|
|
753
|
-
/**
|
|
754
|
-
* 422 response for POST ContactsAttributeLinks endpoint
|
|
755
|
-
*
|
|
756
|
-
* @remarks
|
|
757
|
-
* This type defines the response structure for the 422 status code
|
|
758
|
-
* of the POST ContactsAttributeLinks endpoint.
|
|
759
|
-
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
760
|
-
*
|
|
761
|
-
|
|
762
|
-
*
|
|
763
|
-
* @path /v1/contacts/attribute-links
|
|
764
|
-
*
|
|
765
|
-
* @see {@link POST_ContactsAttributeLinks_Response} - The main response type definition
|
|
766
|
-
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
767
|
-
*/
|
|
768
|
-
export type POST_ContactsAttributeLinks_Response_422 = HTTPValidationError
|
|
769
|
-
|
|
770
679
|
/**
|
|
771
680
|
* Response types for GET ContactsAttributeSets endpoint
|
|
772
681
|
*
|
|
@@ -840,11 +749,12 @@ export type GET_ContactsAttributeSets_Response_422 = HTTPValidationError
|
|
|
840
749
|
* @path /v1/contacts/attribute-sets
|
|
841
750
|
*
|
|
842
751
|
* @see {@link POST_ContactsAttributeSets_Response_201} - 201 response type
|
|
752
|
+
* @see {@link POST_ContactsAttributeSets_Response_409} - 409 response type
|
|
843
753
|
* @see {@link POST_ContactsAttributeSets_Response_422} - 422 response type
|
|
844
754
|
*
|
|
845
755
|
|
|
846
756
|
*/
|
|
847
|
-
export type POST_ContactsAttributeSets_Response = POST_ContactsAttributeSets_Response_201 | POST_ContactsAttributeSets_Response_422;
|
|
757
|
+
export type POST_ContactsAttributeSets_Response = POST_ContactsAttributeSets_Response_201 | POST_ContactsAttributeSets_Response_409 | POST_ContactsAttributeSets_Response_422;
|
|
848
758
|
|
|
849
759
|
/**
|
|
850
760
|
* 201 response for POST ContactsAttributeSets endpoint
|
|
@@ -863,6 +773,23 @@ export type POST_ContactsAttributeSets_Response = POST_ContactsAttributeSets_Res
|
|
|
863
773
|
*/
|
|
864
774
|
export type POST_ContactsAttributeSets_Response_201 = ContactAttributeSet
|
|
865
775
|
|
|
776
|
+
/**
|
|
777
|
+
* 409 response for POST ContactsAttributeSets endpoint
|
|
778
|
+
*
|
|
779
|
+
* @remarks
|
|
780
|
+
* This type defines the response structure for the 409 status code
|
|
781
|
+
* of the POST ContactsAttributeSets endpoint.
|
|
782
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
783
|
+
*
|
|
784
|
+
|
|
785
|
+
*
|
|
786
|
+
* @path /v1/contacts/attribute-sets
|
|
787
|
+
*
|
|
788
|
+
* @see {@link POST_ContactsAttributeSets_Response} - The main response type definition
|
|
789
|
+
* @see {@link Problem} - The actual schema type definition
|
|
790
|
+
*/
|
|
791
|
+
export type POST_ContactsAttributeSets_Response_409 = Problem
|
|
792
|
+
|
|
866
793
|
/**
|
|
867
794
|
* 422 response for POST ContactsAttributeSets endpoint
|
|
868
795
|
*
|
|
@@ -1024,11 +951,12 @@ export type GET_ContactsAttributeSetsByContactAttributeSetId_Response_422 = HTTP
|
|
|
1024
951
|
*
|
|
1025
952
|
* @see {@link PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_200} - 200 response type
|
|
1026
953
|
* @see {@link PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_404} - 404 response type
|
|
954
|
+
* @see {@link PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_409} - 409 response type
|
|
1027
955
|
* @see {@link PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_422} - 422 response type
|
|
1028
956
|
*
|
|
1029
957
|
|
|
1030
958
|
*/
|
|
1031
|
-
export type PATCH_ContactsAttributeSetsByContactAttributeSetId_Response = PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_200 | PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_404 | PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_422;
|
|
959
|
+
export type PATCH_ContactsAttributeSetsByContactAttributeSetId_Response = PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_200 | PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_404 | PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_409 | PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_422;
|
|
1032
960
|
|
|
1033
961
|
/**
|
|
1034
962
|
* 200 response for PATCH ContactsAttributeSetsByContactAttributeSetId endpoint
|
|
@@ -1064,6 +992,23 @@ export type PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_200 = Co
|
|
|
1064
992
|
*/
|
|
1065
993
|
export type PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_404 = Problem
|
|
1066
994
|
|
|
995
|
+
/**
|
|
996
|
+
* 409 response for PATCH ContactsAttributeSetsByContactAttributeSetId endpoint
|
|
997
|
+
*
|
|
998
|
+
* @remarks
|
|
999
|
+
* This type defines the response structure for the 409 status code
|
|
1000
|
+
* of the PATCH ContactsAttributeSetsByContactAttributeSetId endpoint.
|
|
1001
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1002
|
+
*
|
|
1003
|
+
|
|
1004
|
+
*
|
|
1005
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
1006
|
+
*
|
|
1007
|
+
* @see {@link PATCH_ContactsAttributeSetsByContactAttributeSetId_Response} - The main response type definition
|
|
1008
|
+
* @see {@link Problem} - The actual schema type definition
|
|
1009
|
+
*/
|
|
1010
|
+
export type PATCH_ContactsAttributeSetsByContactAttributeSetId_Response_409 = Problem
|
|
1011
|
+
|
|
1067
1012
|
/**
|
|
1068
1013
|
* 422 response for PATCH ContactsAttributeSetsByContactAttributeSetId endpoint
|
|
1069
1014
|
*
|
|
@@ -1228,6 +1173,97 @@ export type GET_ContactsByContactId_Response_404 = Problem
|
|
|
1228
1173
|
*/
|
|
1229
1174
|
export type GET_ContactsByContactId_Response_422 = HTTPValidationError
|
|
1230
1175
|
|
|
1176
|
+
/**
|
|
1177
|
+
* Response types for PATCH ContactsByContactIdLinkByContactAttributeSetId endpoint
|
|
1178
|
+
*
|
|
1179
|
+
* Link a contact to a contact attribute set
|
|
1180
|
+
*
|
|
1181
|
+
* @remarks
|
|
1182
|
+
* This type defines all possible response structures for the PATCH ContactsByContactIdLinkByContactAttributeSetId endpoint.
|
|
1183
|
+
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
1184
|
+
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
1185
|
+
*
|
|
1186
|
+
|
|
1187
|
+
*
|
|
1188
|
+
* @path /v1/contacts/{contact_id}/link/{contact_attribute_set_id}
|
|
1189
|
+
*
|
|
1190
|
+
* @see {@link PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_200} - 200 response type
|
|
1191
|
+
* @see {@link PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_404} - 404 response type
|
|
1192
|
+
* @see {@link PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_409} - 409 response type
|
|
1193
|
+
* @see {@link PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_422} - 422 response type
|
|
1194
|
+
*
|
|
1195
|
+
|
|
1196
|
+
*/
|
|
1197
|
+
export type PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response = PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_200 | PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_404 | PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_409 | PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_422;
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* 200 response for PATCH ContactsByContactIdLinkByContactAttributeSetId endpoint
|
|
1201
|
+
*
|
|
1202
|
+
* @remarks
|
|
1203
|
+
* This type defines the response structure for the 200 status code
|
|
1204
|
+
* of the PATCH ContactsByContactIdLinkByContactAttributeSetId endpoint.
|
|
1205
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1206
|
+
*
|
|
1207
|
+
|
|
1208
|
+
*
|
|
1209
|
+
* @path /v1/contacts/{contact_id}/link/{contact_attribute_set_id}
|
|
1210
|
+
*
|
|
1211
|
+
* @see {@link PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response} - The main response type definition
|
|
1212
|
+
* @see {@link ContactAttributeLink} - The actual schema type definition
|
|
1213
|
+
*/
|
|
1214
|
+
export type PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_200 = ContactAttributeLink
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* 404 response for PATCH ContactsByContactIdLinkByContactAttributeSetId endpoint
|
|
1218
|
+
*
|
|
1219
|
+
* @remarks
|
|
1220
|
+
* This type defines the response structure for the 404 status code
|
|
1221
|
+
* of the PATCH ContactsByContactIdLinkByContactAttributeSetId endpoint.
|
|
1222
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1223
|
+
*
|
|
1224
|
+
|
|
1225
|
+
*
|
|
1226
|
+
* @path /v1/contacts/{contact_id}/link/{contact_attribute_set_id}
|
|
1227
|
+
*
|
|
1228
|
+
* @see {@link PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response} - The main response type definition
|
|
1229
|
+
* @see {@link Problem} - The actual schema type definition
|
|
1230
|
+
*/
|
|
1231
|
+
export type PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_404 = Problem
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* 409 response for PATCH ContactsByContactIdLinkByContactAttributeSetId endpoint
|
|
1235
|
+
*
|
|
1236
|
+
* @remarks
|
|
1237
|
+
* This type defines the response structure for the 409 status code
|
|
1238
|
+
* of the PATCH ContactsByContactIdLinkByContactAttributeSetId endpoint.
|
|
1239
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1240
|
+
*
|
|
1241
|
+
|
|
1242
|
+
*
|
|
1243
|
+
* @path /v1/contacts/{contact_id}/link/{contact_attribute_set_id}
|
|
1244
|
+
*
|
|
1245
|
+
* @see {@link PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response} - The main response type definition
|
|
1246
|
+
* @see {@link Problem} - The actual schema type definition
|
|
1247
|
+
*/
|
|
1248
|
+
export type PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_409 = Problem
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* 422 response for PATCH ContactsByContactIdLinkByContactAttributeSetId endpoint
|
|
1252
|
+
*
|
|
1253
|
+
* @remarks
|
|
1254
|
+
* This type defines the response structure for the 422 status code
|
|
1255
|
+
* of the PATCH ContactsByContactIdLinkByContactAttributeSetId endpoint.
|
|
1256
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1257
|
+
*
|
|
1258
|
+
|
|
1259
|
+
*
|
|
1260
|
+
* @path /v1/contacts/{contact_id}/link/{contact_attribute_set_id}
|
|
1261
|
+
*
|
|
1262
|
+
* @see {@link PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response} - The main response type definition
|
|
1263
|
+
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
1264
|
+
*/
|
|
1265
|
+
export type PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_422 = HTTPValidationError
|
|
1266
|
+
|
|
1231
1267
|
/**
|
|
1232
1268
|
* Response types for DELETE ContactsByContactIdVerification endpoint
|
|
1233
1269
|
*
|
|
@@ -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, AttributeCondition, DomainContactType, ContactAttributeLinkDetail, ContactAttributeDefinition, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, BrowserStatsBucket, GeoStatsBucket, TimeSeriesBucket, DomainForwardPatchOp, PlatformStatsBucket, HttpRedirectList, ReferrerStatsBucket, StatusCodeStatsBucket, UserAgentStatsBucket, VisitsByKeyBucket, DomainForward, DeletePolicyType, SyncOperationType, DomainContact, DomainHost, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, EmailForwardAliasCreate, EmailForwardLogEvent, EmailForwardAliasMetrics, EmailForwardAlias, EmailForward, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactAttributeSet,
|
|
24
|
+
import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, AttributeCondition, DomainContactType, ContactAttributeLinkDetail, ContactAttributeDefinition, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, BrowserStatsBucket, GeoStatsBucket, TimeSeriesBucket, DomainForwardPatchOp, PlatformStatsBucket, HttpRedirectList, ReferrerStatsBucket, StatusCodeStatsBucket, UserAgentStatsBucket, VisitsByKeyBucket, DomainForward, DeletePolicyType, SyncOperationType, DomainContact, DomainHost, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, EmailForwardAliasCreate, EmailForwardLogEvent, EmailForwardAliasMetrics, EmailForwardAlias, EmailForward, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactAttributeSet, ContactDetail, DnsZone, DomainForwardZone, Domain, EmailForwardLog, EmailForwardZone, EventResponse, Invoice, ObjectLog, Organization, Parking, RequestHistory, UserPublic, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* DomainDnssecDataResponse
|
|
@@ -794,19 +794,19 @@ export type BillingTransactionArray = BillingTransaction[];
|
|
|
794
794
|
*/
|
|
795
795
|
export type ContactAttributeSetArray = ContactAttributeSet[];
|
|
796
796
|
/**
|
|
797
|
-
*
|
|
797
|
+
* ContactDetailResponse
|
|
798
798
|
*
|
|
799
799
|
* @remarks
|
|
800
|
-
* Array type for
|
|
800
|
+
* Array type for ContactDetailResponse objects. Used when the API returns a collection of ContactDetailResponse instances.
|
|
801
801
|
*
|
|
802
802
|
* @example
|
|
803
803
|
* ```typescript
|
|
804
|
-
* const items:
|
|
804
|
+
* const items: ContactDetailArray = await api.getContactDetails();
|
|
805
805
|
* ```
|
|
806
806
|
*
|
|
807
|
-
* @see {@link
|
|
807
|
+
* @see {@link ContactDetail} - The individual ContactDetailResponse type definition
|
|
808
808
|
*/
|
|
809
|
-
export type
|
|
809
|
+
export type ContactDetailArray = ContactDetail[];
|
|
810
810
|
/**
|
|
811
811
|
* DnsZoneResponse
|
|
812
812
|
*
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -266,22 +266,6 @@ export type ConditionOperator = components['schemas']['ConditionOperator'];
|
|
|
266
266
|
* @see {@link components} - The OpenAPI components schema definition
|
|
267
267
|
*/
|
|
268
268
|
export type ContactAttributeDefinition = components['schemas']['ContactAttributeDefinition'];
|
|
269
|
-
/**
|
|
270
|
-
* ContactAttributeLinkCreate
|
|
271
|
-
*
|
|
272
|
-
* @remarks
|
|
273
|
-
* Type alias for the `ContactAttributeLinkCreate` OpenAPI schema.
|
|
274
|
-
* This type represents contactattributelinkcreate data structures used in API requests and responses.
|
|
275
|
-
*
|
|
276
|
-
* @example
|
|
277
|
-
* ```typescript
|
|
278
|
-
* const response = await api.getContactAttributeLinkCreate();
|
|
279
|
-
* const item: ContactAttributeLinkCreate = response.results;
|
|
280
|
-
* ```
|
|
281
|
-
*
|
|
282
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
283
|
-
*/
|
|
284
|
-
export type ContactAttributeLinkCreate = components['schemas']['ContactAttributeLinkCreate'];
|
|
285
269
|
/**
|
|
286
270
|
* ContactAttributeLinkDetail
|
|
287
271
|
*
|
|
@@ -3077,21 +3061,21 @@ export type Pagination_BillingTransaction = components['schemas']['Pagination_Bi
|
|
|
3077
3061
|
*/
|
|
3078
3062
|
export type Pagination_ContactAttributeSet = components['schemas']['Pagination_ContactAttributeSetResponse_'];
|
|
3079
3063
|
/**
|
|
3080
|
-
* Pagination[
|
|
3064
|
+
* Pagination[ContactDetailResponse]
|
|
3081
3065
|
*
|
|
3082
3066
|
* @remarks
|
|
3083
|
-
* Type alias for the `
|
|
3084
|
-
* This type represents pagination[
|
|
3067
|
+
* Type alias for the `Pagination_ContactDetailResponse_` OpenAPI schema.
|
|
3068
|
+
* This type represents pagination[contactdetailresponse] data structures used in API requests and responses.
|
|
3085
3069
|
*
|
|
3086
3070
|
* @example
|
|
3087
3071
|
* ```typescript
|
|
3088
|
-
* const response = await api.
|
|
3089
|
-
* const item:
|
|
3072
|
+
* const response = await api.getPagination_ContactDetail();
|
|
3073
|
+
* const item: Pagination_ContactDetail = response.results;
|
|
3090
3074
|
* ```
|
|
3091
3075
|
*
|
|
3092
3076
|
* @see {@link components} - The OpenAPI components schema definition
|
|
3093
3077
|
*/
|
|
3094
|
-
export type
|
|
3078
|
+
export type Pagination_ContactDetail = components['schemas']['Pagination_ContactDetailResponse_'];
|
|
3095
3079
|
/**
|
|
3096
3080
|
* Pagination[DnsZoneResponse]
|
|
3097
3081
|
*
|
package/src/openapi.yaml
CHANGED
|
@@ -306,31 +306,6 @@ components:
|
|
|
306
306
|
- type
|
|
307
307
|
title: ContactAttributeDefinition
|
|
308
308
|
type: object
|
|
309
|
-
ContactAttributeLinkCreate:
|
|
310
|
-
properties:
|
|
311
|
-
contact_attribute_set_id:
|
|
312
|
-
description: The attribute set to link to the contact
|
|
313
|
-
examples:
|
|
314
|
-
- contact_attribute_set_01h45ytscbebyvny4gc8cr8ma2
|
|
315
|
-
format: typeid
|
|
316
|
-
pattern: ^contact_attribute_set_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
317
|
-
title: Contact Attribute Set Id
|
|
318
|
-
type: string
|
|
319
|
-
x-typeid-prefix: contact_attribute_set
|
|
320
|
-
contact_id:
|
|
321
|
-
description: The contact to link
|
|
322
|
-
examples:
|
|
323
|
-
- contact_01h45ytscbebyvny4gc8cr8ma2
|
|
324
|
-
format: typeid
|
|
325
|
-
pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
326
|
-
title: Contact Id
|
|
327
|
-
type: string
|
|
328
|
-
x-typeid-prefix: contact
|
|
329
|
-
required:
|
|
330
|
-
- contact_id
|
|
331
|
-
- contact_attribute_set_id
|
|
332
|
-
title: ContactAttributeLinkCreate
|
|
333
|
-
type: object
|
|
334
309
|
ContactAttributeLinkDetail:
|
|
335
310
|
properties:
|
|
336
311
|
attributes:
|
|
@@ -5132,19 +5107,19 @@ components:
|
|
|
5132
5107
|
- pagination
|
|
5133
5108
|
title: Pagination[ContactAttributeSetResponse]
|
|
5134
5109
|
type: object
|
|
5135
|
-
|
|
5110
|
+
Pagination_ContactDetailResponse_:
|
|
5136
5111
|
properties:
|
|
5137
5112
|
pagination:
|
|
5138
5113
|
$ref: '#/components/schemas/PaginationMetadata'
|
|
5139
5114
|
results:
|
|
5140
5115
|
items:
|
|
5141
|
-
$ref: '#/components/schemas/
|
|
5116
|
+
$ref: '#/components/schemas/ContactDetailResponse'
|
|
5142
5117
|
title: Results
|
|
5143
5118
|
type: array
|
|
5144
5119
|
required:
|
|
5145
5120
|
- results
|
|
5146
5121
|
- pagination
|
|
5147
|
-
title: Pagination[
|
|
5122
|
+
title: Pagination[ContactDetailResponse]
|
|
5148
5123
|
type: object
|
|
5149
5124
|
Pagination_DnsZoneResponse_:
|
|
5150
5125
|
properties:
|
|
@@ -5900,7 +5875,8 @@ components:
|
|
|
5900
5875
|
- AFNIC_REACHABLE_STATUS
|
|
5901
5876
|
- AFNIC_RESTRICTED_PUBLICATION
|
|
5902
5877
|
- ROTLD_CONTACT_TYPE
|
|
5903
|
-
-
|
|
5878
|
+
- ROTLD_CNP_FISCAL_CODE
|
|
5879
|
+
- ROTLD_ID_NUMBER
|
|
5904
5880
|
- ROTLD_REGISTRATION_NUMBER
|
|
5905
5881
|
- ROTLD_DOMAIN_NAME
|
|
5906
5882
|
- NOMINET_CONTACT_TYPE
|
|
@@ -7375,7 +7351,7 @@ info:
|
|
|
7375
7351
|
'
|
|
7376
7352
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
7377
7353
|
title: OpusDNS API
|
|
7378
|
-
version: 2026-02-
|
|
7354
|
+
version: 2026-02-24-091419
|
|
7379
7355
|
x-logo:
|
|
7380
7356
|
altText: OpusDNS API Reference
|
|
7381
7357
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -8281,7 +8257,7 @@ paths:
|
|
|
8281
8257
|
content:
|
|
8282
8258
|
application/json:
|
|
8283
8259
|
schema:
|
|
8284
|
-
$ref: '#/components/schemas/
|
|
8260
|
+
$ref: '#/components/schemas/Pagination_ContactDetailResponse_'
|
|
8285
8261
|
description: Successful Response
|
|
8286
8262
|
'422':
|
|
8287
8263
|
content:
|
|
@@ -8323,72 +8299,6 @@ paths:
|
|
|
8323
8299
|
summary: Create a contact
|
|
8324
8300
|
tags:
|
|
8325
8301
|
- contact
|
|
8326
|
-
/v1/contacts/attribute-links:
|
|
8327
|
-
post:
|
|
8328
|
-
operationId: create_attribute_link_v1_contacts_attribute_links_post
|
|
8329
|
-
requestBody:
|
|
8330
|
-
content:
|
|
8331
|
-
application/json:
|
|
8332
|
-
schema:
|
|
8333
|
-
$ref: '#/components/schemas/ContactAttributeLinkCreate'
|
|
8334
|
-
required: true
|
|
8335
|
-
responses:
|
|
8336
|
-
'201':
|
|
8337
|
-
content:
|
|
8338
|
-
application/json:
|
|
8339
|
-
schema:
|
|
8340
|
-
$ref: '#/components/schemas/ContactAttributeLinkResponse'
|
|
8341
|
-
description: Successful Response
|
|
8342
|
-
'404':
|
|
8343
|
-
content:
|
|
8344
|
-
application/problem+json:
|
|
8345
|
-
examples:
|
|
8346
|
-
Contact Attribute Set Error:
|
|
8347
|
-
value:
|
|
8348
|
-
code: ERROR_CONTACT_ATTRIBUTE_SET_NOT_FOUND
|
|
8349
|
-
contact_attribute_set_id: Additional error context.
|
|
8350
|
-
detail: Contact attribute set not found
|
|
8351
|
-
status: 404
|
|
8352
|
-
title: Contact Attribute Set Error
|
|
8353
|
-
type: contact-attribute-set-not-found
|
|
8354
|
-
Contact Management Error:
|
|
8355
|
-
value:
|
|
8356
|
-
code: ERROR_CONTACT_NOT_FOUND
|
|
8357
|
-
contact_id: Additional error context.
|
|
8358
|
-
detail: Contact not found
|
|
8359
|
-
status: 404
|
|
8360
|
-
title: Contact Management Error
|
|
8361
|
-
type: contact-not-found
|
|
8362
|
-
schema:
|
|
8363
|
-
$ref: '#/components/schemas/Problem'
|
|
8364
|
-
description: Not Found
|
|
8365
|
-
'409':
|
|
8366
|
-
content:
|
|
8367
|
-
application/problem+json:
|
|
8368
|
-
example:
|
|
8369
|
-
code: ERROR_CONTACT_ATTRIBUTE_LINK_ALREADY_EXISTS
|
|
8370
|
-
contact_id: Additional error context.
|
|
8371
|
-
detail: A contact attribute link already exists for this contact and
|
|
8372
|
-
TLD
|
|
8373
|
-
status: 409
|
|
8374
|
-
title: Contact Attribute Set Error
|
|
8375
|
-
tld: ''
|
|
8376
|
-
type: contact-attribute-link-already-exists
|
|
8377
|
-
schema:
|
|
8378
|
-
$ref: '#/components/schemas/Problem'
|
|
8379
|
-
description: Conflict
|
|
8380
|
-
'422':
|
|
8381
|
-
content:
|
|
8382
|
-
application/problem+json:
|
|
8383
|
-
schema:
|
|
8384
|
-
$ref: '#/components/schemas/HTTPValidationError'
|
|
8385
|
-
description: Validation Error
|
|
8386
|
-
security:
|
|
8387
|
-
- OAuth2PasswordBearer: []
|
|
8388
|
-
- APIKeyHeader: []
|
|
8389
|
-
summary: Link a contact to a contact attribute set
|
|
8390
|
-
tags:
|
|
8391
|
-
- contact
|
|
8392
8302
|
/v1/contacts/attribute-sets:
|
|
8393
8303
|
get:
|
|
8394
8304
|
operationId: list_attribute_sets_v1_contacts_attribute_sets_get
|
|
@@ -8454,6 +8364,20 @@ paths:
|
|
|
8454
8364
|
schema:
|
|
8455
8365
|
$ref: '#/components/schemas/ContactAttributeSetResponse'
|
|
8456
8366
|
description: Successful Response
|
|
8367
|
+
'409':
|
|
8368
|
+
content:
|
|
8369
|
+
application/problem+json:
|
|
8370
|
+
example:
|
|
8371
|
+
code: ERROR_CONTACT_ATTRIBUTE_SET_LABEL_ALREADY_EXISTS
|
|
8372
|
+
detail: A contact attribute set with label 'Additional error context.'
|
|
8373
|
+
already exists
|
|
8374
|
+
label: Additional error context.
|
|
8375
|
+
status: 409
|
|
8376
|
+
title: Contact Attribute Set Error
|
|
8377
|
+
type: contact-attribute-set-label-already-exists
|
|
8378
|
+
schema:
|
|
8379
|
+
$ref: '#/components/schemas/Problem'
|
|
8380
|
+
description: Conflict
|
|
8457
8381
|
'422':
|
|
8458
8382
|
content:
|
|
8459
8383
|
application/problem+json:
|
|
@@ -8595,6 +8519,20 @@ paths:
|
|
|
8595
8519
|
schema:
|
|
8596
8520
|
$ref: '#/components/schemas/Problem'
|
|
8597
8521
|
description: Not Found
|
|
8522
|
+
'409':
|
|
8523
|
+
content:
|
|
8524
|
+
application/problem+json:
|
|
8525
|
+
example:
|
|
8526
|
+
code: ERROR_CONTACT_ATTRIBUTE_SET_LABEL_ALREADY_EXISTS
|
|
8527
|
+
detail: A contact attribute set with label 'Additional error context.'
|
|
8528
|
+
already exists
|
|
8529
|
+
label: Additional error context.
|
|
8530
|
+
status: 409
|
|
8531
|
+
title: Contact Attribute Set Error
|
|
8532
|
+
type: contact-attribute-set-label-already-exists
|
|
8533
|
+
schema:
|
|
8534
|
+
$ref: '#/components/schemas/Problem'
|
|
8535
|
+
description: Conflict
|
|
8598
8536
|
'422':
|
|
8599
8537
|
content:
|
|
8600
8538
|
application/problem+json:
|
|
@@ -8847,6 +8785,89 @@ paths:
|
|
|
8847
8785
|
summary: Retrieve a contact
|
|
8848
8786
|
tags:
|
|
8849
8787
|
- contact
|
|
8788
|
+
/v1/contacts/{contact_id}/link/{contact_attribute_set_id}:
|
|
8789
|
+
patch:
|
|
8790
|
+
operationId: create_attribute_link_v1_contacts__contact_id__link__contact_attribute_set_id__patch
|
|
8791
|
+
parameters:
|
|
8792
|
+
- in: path
|
|
8793
|
+
name: contact_id
|
|
8794
|
+
required: true
|
|
8795
|
+
schema:
|
|
8796
|
+
examples:
|
|
8797
|
+
- contact_01h45ytscbebyvny4gc8cr8ma2
|
|
8798
|
+
format: typeid
|
|
8799
|
+
pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
8800
|
+
title: Contact Id
|
|
8801
|
+
type: string
|
|
8802
|
+
x-typeid-prefix: contact
|
|
8803
|
+
- in: path
|
|
8804
|
+
name: contact_attribute_set_id
|
|
8805
|
+
required: true
|
|
8806
|
+
schema:
|
|
8807
|
+
examples:
|
|
8808
|
+
- contact_attribute_set_01h45ytscbebyvny4gc8cr8ma2
|
|
8809
|
+
format: typeid
|
|
8810
|
+
pattern: ^contact_attribute_set_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
8811
|
+
title: Contact Attribute Set Id
|
|
8812
|
+
type: string
|
|
8813
|
+
x-typeid-prefix: contact_attribute_set
|
|
8814
|
+
responses:
|
|
8815
|
+
'200':
|
|
8816
|
+
content:
|
|
8817
|
+
application/json:
|
|
8818
|
+
schema:
|
|
8819
|
+
$ref: '#/components/schemas/ContactAttributeLinkResponse'
|
|
8820
|
+
description: Successful Response
|
|
8821
|
+
'404':
|
|
8822
|
+
content:
|
|
8823
|
+
application/problem+json:
|
|
8824
|
+
examples:
|
|
8825
|
+
Contact Attribute Set Error:
|
|
8826
|
+
value:
|
|
8827
|
+
code: ERROR_CONTACT_ATTRIBUTE_SET_NOT_FOUND
|
|
8828
|
+
contact_attribute_set_id: Additional error context.
|
|
8829
|
+
detail: Contact attribute set not found
|
|
8830
|
+
status: 404
|
|
8831
|
+
title: Contact Attribute Set Error
|
|
8832
|
+
type: contact-attribute-set-not-found
|
|
8833
|
+
Contact Management Error:
|
|
8834
|
+
value:
|
|
8835
|
+
code: ERROR_CONTACT_NOT_FOUND
|
|
8836
|
+
contact_id: Additional error context.
|
|
8837
|
+
detail: Contact not found
|
|
8838
|
+
status: 404
|
|
8839
|
+
title: Contact Management Error
|
|
8840
|
+
type: contact-not-found
|
|
8841
|
+
schema:
|
|
8842
|
+
$ref: '#/components/schemas/Problem'
|
|
8843
|
+
description: Not Found
|
|
8844
|
+
'409':
|
|
8845
|
+
content:
|
|
8846
|
+
application/problem+json:
|
|
8847
|
+
example:
|
|
8848
|
+
code: ERROR_CONTACT_ATTRIBUTE_LINK_ALREADY_EXISTS
|
|
8849
|
+
contact_id: Additional error context.
|
|
8850
|
+
detail: A contact attribute link already exists for this contact and
|
|
8851
|
+
TLD
|
|
8852
|
+
status: 409
|
|
8853
|
+
title: Contact Attribute Set Error
|
|
8854
|
+
tld: ''
|
|
8855
|
+
type: contact-attribute-link-already-exists
|
|
8856
|
+
schema:
|
|
8857
|
+
$ref: '#/components/schemas/Problem'
|
|
8858
|
+
description: Conflict
|
|
8859
|
+
'422':
|
|
8860
|
+
content:
|
|
8861
|
+
application/problem+json:
|
|
8862
|
+
schema:
|
|
8863
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
8864
|
+
description: Validation Error
|
|
8865
|
+
security:
|
|
8866
|
+
- OAuth2PasswordBearer: []
|
|
8867
|
+
- APIKeyHeader: []
|
|
8868
|
+
summary: Link a contact to a contact attribute set
|
|
8869
|
+
tags:
|
|
8870
|
+
- contact
|
|
8850
8871
|
/v1/contacts/{contact_id}/verification:
|
|
8851
8872
|
delete:
|
|
8852
8873
|
operationId: cancel_verification_v1_contacts__contact_id__verification_delete
|
package/src/schema.d.ts
CHANGED
|
@@ -181,23 +181,6 @@ export interface paths {
|
|
|
181
181
|
patch?: never;
|
|
182
182
|
trace?: never;
|
|
183
183
|
};
|
|
184
|
-
"/v1/contacts/attribute-links": {
|
|
185
|
-
parameters: {
|
|
186
|
-
query?: never;
|
|
187
|
-
header?: never;
|
|
188
|
-
path?: never;
|
|
189
|
-
cookie?: never;
|
|
190
|
-
};
|
|
191
|
-
get?: never;
|
|
192
|
-
put?: never;
|
|
193
|
-
/** Link a contact to a contact attribute set */
|
|
194
|
-
post: operations["create_attribute_link_v1_contacts_attribute_links_post"];
|
|
195
|
-
delete?: never;
|
|
196
|
-
options?: never;
|
|
197
|
-
head?: never;
|
|
198
|
-
patch?: never;
|
|
199
|
-
trace?: never;
|
|
200
|
-
};
|
|
201
184
|
"/v1/contacts/attribute-sets": {
|
|
202
185
|
parameters: {
|
|
203
186
|
query?: never;
|
|
@@ -291,6 +274,23 @@ export interface paths {
|
|
|
291
274
|
patch?: never;
|
|
292
275
|
trace?: never;
|
|
293
276
|
};
|
|
277
|
+
"/v1/contacts/{contact_id}/link/{contact_attribute_set_id}": {
|
|
278
|
+
parameters: {
|
|
279
|
+
query?: never;
|
|
280
|
+
header?: never;
|
|
281
|
+
path?: never;
|
|
282
|
+
cookie?: never;
|
|
283
|
+
};
|
|
284
|
+
get?: never;
|
|
285
|
+
put?: never;
|
|
286
|
+
post?: never;
|
|
287
|
+
delete?: never;
|
|
288
|
+
options?: never;
|
|
289
|
+
head?: never;
|
|
290
|
+
/** Link a contact to a contact attribute set */
|
|
291
|
+
patch: operations["create_attribute_link_v1_contacts__contact_id__link__contact_attribute_set_id__patch"];
|
|
292
|
+
trace?: never;
|
|
293
|
+
};
|
|
294
294
|
"/v1/contacts/{contact_id}/verification": {
|
|
295
295
|
parameters: {
|
|
296
296
|
query?: never;
|
|
@@ -2107,23 +2107,6 @@ export interface components {
|
|
|
2107
2107
|
*/
|
|
2108
2108
|
values?: string[] | null;
|
|
2109
2109
|
};
|
|
2110
|
-
/** ContactAttributeLinkCreate */
|
|
2111
|
-
ContactAttributeLinkCreate: {
|
|
2112
|
-
/**
|
|
2113
|
-
* Contact Attribute Set Id
|
|
2114
|
-
* Format: typeid
|
|
2115
|
-
* @description The attribute set to link to the contact
|
|
2116
|
-
* @example contact_attribute_set_01h45ytscbebyvny4gc8cr8ma2
|
|
2117
|
-
*/
|
|
2118
|
-
contact_attribute_set_id: TypeId<"contact_attribute_set">;
|
|
2119
|
-
/**
|
|
2120
|
-
* Contact Id
|
|
2121
|
-
* Format: typeid
|
|
2122
|
-
* @description The contact to link
|
|
2123
|
-
* @example contact_01h45ytscbebyvny4gc8cr8ma2
|
|
2124
|
-
*/
|
|
2125
|
-
contact_id: TypeId<"contact">;
|
|
2126
|
-
};
|
|
2127
2110
|
/** ContactAttributeLinkDetail */
|
|
2128
2111
|
ContactAttributeLinkDetail: {
|
|
2129
2112
|
/**
|
|
@@ -5369,11 +5352,11 @@ export interface components {
|
|
|
5369
5352
|
/** Results */
|
|
5370
5353
|
results: components["schemas"]["ContactAttributeSetResponse"][];
|
|
5371
5354
|
};
|
|
5372
|
-
/** Pagination[
|
|
5373
|
-
|
|
5355
|
+
/** Pagination[ContactDetailResponse] */
|
|
5356
|
+
Pagination_ContactDetailResponse_: {
|
|
5374
5357
|
pagination: components["schemas"]["PaginationMetadata"];
|
|
5375
5358
|
/** Results */
|
|
5376
|
-
results: components["schemas"]["
|
|
5359
|
+
results: components["schemas"]["ContactDetailResponse"][];
|
|
5377
5360
|
};
|
|
5378
5361
|
/** Pagination[DnsZoneResponse] */
|
|
5379
5362
|
Pagination_DnsZoneResponse_: {
|
|
@@ -5814,7 +5797,7 @@ export interface components {
|
|
|
5814
5797
|
* @description Registry handle attribute types for type-safe attribute key access.
|
|
5815
5798
|
* @enum {string}
|
|
5816
5799
|
*/
|
|
5817
|
-
RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "dnsbe:type" | "eurid:type" | "AFNIC_CONTACT_TYPE" | "AFNIC_PP_FIRST_NAME" | "AFNIC_PM_LEGAL_STATUS" | "AFNIC_PM_SIREN" | "AFNIC_PM_VAT" | "AFNIC_PM_TRADEMARK" | "AFNIC_PM_ASSOC_WALDEC" | "AFNIC_PM_ASSOC_PUBL_DATE" | "AFNIC_PM_ASSOC_PUBL_ANNOUNCE" | "AFNIC_PM_ASSOC_PUBL_PAGE" | "AFNIC_PM_ASSOC_DECL" | "AFNIC_PM_DUNS" | "AFNIC_PM_LOCAL" | "AFNIC_ID_STATUS" | "AFNIC_REACHABLE_MEDIA" | "AFNIC_REACHABLE_STATUS" | "AFNIC_RESTRICTED_PUBLICATION" | "ROTLD_CONTACT_TYPE" | "
|
|
5800
|
+
RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "dnsbe:type" | "eurid:type" | "AFNIC_CONTACT_TYPE" | "AFNIC_PP_FIRST_NAME" | "AFNIC_PM_LEGAL_STATUS" | "AFNIC_PM_SIREN" | "AFNIC_PM_VAT" | "AFNIC_PM_TRADEMARK" | "AFNIC_PM_ASSOC_WALDEC" | "AFNIC_PM_ASSOC_PUBL_DATE" | "AFNIC_PM_ASSOC_PUBL_ANNOUNCE" | "AFNIC_PM_ASSOC_PUBL_PAGE" | "AFNIC_PM_ASSOC_DECL" | "AFNIC_PM_DUNS" | "AFNIC_PM_LOCAL" | "AFNIC_ID_STATUS" | "AFNIC_REACHABLE_MEDIA" | "AFNIC_REACHABLE_STATUS" | "AFNIC_RESTRICTED_PUBLICATION" | "ROTLD_CONTACT_TYPE" | "ROTLD_CNP_FISCAL_CODE" | "ROTLD_ID_NUMBER" | "ROTLD_REGISTRATION_NUMBER" | "ROTLD_DOMAIN_NAME" | "NOMINET_CONTACT_TYPE" | "NOMINET_CO_NO" | "NOMINET_TRAD_NAME" | "CIRA_CPR" | "CIRA_CONTACT_TYPE";
|
|
5818
5801
|
/** RegistryLockBase */
|
|
5819
5802
|
RegistryLockBase: {
|
|
5820
5803
|
/**
|
|
@@ -7211,7 +7194,7 @@ export interface operations {
|
|
|
7211
7194
|
[name: string]: unknown;
|
|
7212
7195
|
};
|
|
7213
7196
|
content: {
|
|
7214
|
-
"application/json": components["schemas"]["
|
|
7197
|
+
"application/json": components["schemas"]["Pagination_ContactDetailResponse_"];
|
|
7215
7198
|
};
|
|
7216
7199
|
};
|
|
7217
7200
|
/** @description Validation Error */
|
|
@@ -7258,66 +7241,6 @@ export interface operations {
|
|
|
7258
7241
|
};
|
|
7259
7242
|
};
|
|
7260
7243
|
};
|
|
7261
|
-
create_attribute_link_v1_contacts_attribute_links_post: {
|
|
7262
|
-
parameters: {
|
|
7263
|
-
query?: never;
|
|
7264
|
-
header?: never;
|
|
7265
|
-
path?: never;
|
|
7266
|
-
cookie?: never;
|
|
7267
|
-
};
|
|
7268
|
-
requestBody: {
|
|
7269
|
-
content: {
|
|
7270
|
-
"application/json": components["schemas"]["ContactAttributeLinkCreate"];
|
|
7271
|
-
};
|
|
7272
|
-
};
|
|
7273
|
-
responses: {
|
|
7274
|
-
/** @description Successful Response */
|
|
7275
|
-
201: {
|
|
7276
|
-
headers: {
|
|
7277
|
-
[name: string]: unknown;
|
|
7278
|
-
};
|
|
7279
|
-
content: {
|
|
7280
|
-
"application/json": components["schemas"]["ContactAttributeLinkResponse"];
|
|
7281
|
-
};
|
|
7282
|
-
};
|
|
7283
|
-
/** @description Not Found */
|
|
7284
|
-
404: {
|
|
7285
|
-
headers: {
|
|
7286
|
-
[name: string]: unknown;
|
|
7287
|
-
};
|
|
7288
|
-
content: {
|
|
7289
|
-
"application/problem+json": components["schemas"]["Problem"];
|
|
7290
|
-
};
|
|
7291
|
-
};
|
|
7292
|
-
/** @description Conflict */
|
|
7293
|
-
409: {
|
|
7294
|
-
headers: {
|
|
7295
|
-
[name: string]: unknown;
|
|
7296
|
-
};
|
|
7297
|
-
content: {
|
|
7298
|
-
/** @example {
|
|
7299
|
-
* "code": "ERROR_CONTACT_ATTRIBUTE_LINK_ALREADY_EXISTS",
|
|
7300
|
-
* "contact_id": "Additional error context.",
|
|
7301
|
-
* "detail": "A contact attribute link already exists for this contact and TLD",
|
|
7302
|
-
* "status": 409,
|
|
7303
|
-
* "title": "Contact Attribute Set Error",
|
|
7304
|
-
* "tld": "",
|
|
7305
|
-
* "type": "contact-attribute-link-already-exists"
|
|
7306
|
-
* } */
|
|
7307
|
-
"application/problem+json": components["schemas"]["Problem"];
|
|
7308
|
-
};
|
|
7309
|
-
};
|
|
7310
|
-
/** @description Validation Error */
|
|
7311
|
-
422: {
|
|
7312
|
-
headers: {
|
|
7313
|
-
[name: string]: unknown;
|
|
7314
|
-
};
|
|
7315
|
-
content: {
|
|
7316
|
-
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
7317
|
-
};
|
|
7318
|
-
};
|
|
7319
|
-
};
|
|
7320
|
-
};
|
|
7321
7244
|
list_attribute_sets_v1_contacts_attribute_sets_get: {
|
|
7322
7245
|
parameters: {
|
|
7323
7246
|
query?: {
|
|
@@ -7374,6 +7297,23 @@ export interface operations {
|
|
|
7374
7297
|
"application/json": components["schemas"]["ContactAttributeSetResponse"];
|
|
7375
7298
|
};
|
|
7376
7299
|
};
|
|
7300
|
+
/** @description Conflict */
|
|
7301
|
+
409: {
|
|
7302
|
+
headers: {
|
|
7303
|
+
[name: string]: unknown;
|
|
7304
|
+
};
|
|
7305
|
+
content: {
|
|
7306
|
+
/** @example {
|
|
7307
|
+
* "code": "ERROR_CONTACT_ATTRIBUTE_SET_LABEL_ALREADY_EXISTS",
|
|
7308
|
+
* "detail": "A contact attribute set with label 'Additional error context.' already exists",
|
|
7309
|
+
* "label": "Additional error context.",
|
|
7310
|
+
* "status": 409,
|
|
7311
|
+
* "title": "Contact Attribute Set Error",
|
|
7312
|
+
* "type": "contact-attribute-set-label-already-exists"
|
|
7313
|
+
* } */
|
|
7314
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7315
|
+
};
|
|
7316
|
+
};
|
|
7377
7317
|
/** @description Validation Error */
|
|
7378
7318
|
422: {
|
|
7379
7319
|
headers: {
|
|
@@ -7520,6 +7460,23 @@ export interface operations {
|
|
|
7520
7460
|
"application/problem+json": components["schemas"]["Problem"];
|
|
7521
7461
|
};
|
|
7522
7462
|
};
|
|
7463
|
+
/** @description Conflict */
|
|
7464
|
+
409: {
|
|
7465
|
+
headers: {
|
|
7466
|
+
[name: string]: unknown;
|
|
7467
|
+
};
|
|
7468
|
+
content: {
|
|
7469
|
+
/** @example {
|
|
7470
|
+
* "code": "ERROR_CONTACT_ATTRIBUTE_SET_LABEL_ALREADY_EXISTS",
|
|
7471
|
+
* "detail": "A contact attribute set with label 'Additional error context.' already exists",
|
|
7472
|
+
* "label": "Additional error context.",
|
|
7473
|
+
* "status": 409,
|
|
7474
|
+
* "title": "Contact Attribute Set Error",
|
|
7475
|
+
* "type": "contact-attribute-set-label-already-exists"
|
|
7476
|
+
* } */
|
|
7477
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7478
|
+
};
|
|
7479
|
+
};
|
|
7523
7480
|
/** @description Validation Error */
|
|
7524
7481
|
422: {
|
|
7525
7482
|
headers: {
|
|
@@ -7807,6 +7764,65 @@ export interface operations {
|
|
|
7807
7764
|
};
|
|
7808
7765
|
};
|
|
7809
7766
|
};
|
|
7767
|
+
create_attribute_link_v1_contacts__contact_id__link__contact_attribute_set_id__patch: {
|
|
7768
|
+
parameters: {
|
|
7769
|
+
query?: never;
|
|
7770
|
+
header?: never;
|
|
7771
|
+
path: {
|
|
7772
|
+
contact_id: TypeId<"contact">;
|
|
7773
|
+
contact_attribute_set_id: TypeId<"contact_attribute_set">;
|
|
7774
|
+
};
|
|
7775
|
+
cookie?: never;
|
|
7776
|
+
};
|
|
7777
|
+
requestBody?: never;
|
|
7778
|
+
responses: {
|
|
7779
|
+
/** @description Successful Response */
|
|
7780
|
+
200: {
|
|
7781
|
+
headers: {
|
|
7782
|
+
[name: string]: unknown;
|
|
7783
|
+
};
|
|
7784
|
+
content: {
|
|
7785
|
+
"application/json": components["schemas"]["ContactAttributeLinkResponse"];
|
|
7786
|
+
};
|
|
7787
|
+
};
|
|
7788
|
+
/** @description Not Found */
|
|
7789
|
+
404: {
|
|
7790
|
+
headers: {
|
|
7791
|
+
[name: string]: unknown;
|
|
7792
|
+
};
|
|
7793
|
+
content: {
|
|
7794
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7795
|
+
};
|
|
7796
|
+
};
|
|
7797
|
+
/** @description Conflict */
|
|
7798
|
+
409: {
|
|
7799
|
+
headers: {
|
|
7800
|
+
[name: string]: unknown;
|
|
7801
|
+
};
|
|
7802
|
+
content: {
|
|
7803
|
+
/** @example {
|
|
7804
|
+
* "code": "ERROR_CONTACT_ATTRIBUTE_LINK_ALREADY_EXISTS",
|
|
7805
|
+
* "contact_id": "Additional error context.",
|
|
7806
|
+
* "detail": "A contact attribute link already exists for this contact and TLD",
|
|
7807
|
+
* "status": 409,
|
|
7808
|
+
* "title": "Contact Attribute Set Error",
|
|
7809
|
+
* "tld": "",
|
|
7810
|
+
* "type": "contact-attribute-link-already-exists"
|
|
7811
|
+
* } */
|
|
7812
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7813
|
+
};
|
|
7814
|
+
};
|
|
7815
|
+
/** @description Validation Error */
|
|
7816
|
+
422: {
|
|
7817
|
+
headers: {
|
|
7818
|
+
[name: string]: unknown;
|
|
7819
|
+
};
|
|
7820
|
+
content: {
|
|
7821
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
7822
|
+
};
|
|
7823
|
+
};
|
|
7824
|
+
};
|
|
7825
|
+
};
|
|
7810
7826
|
get_verification_status_v1_contacts__contact_id__verification_get: {
|
|
7811
7827
|
parameters: {
|
|
7812
7828
|
query?: never;
|