@opusdns/api 0.200.0 → 0.201.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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "@opusdns/api-spec-ts-generator": "^0.19.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "0.200.0",
6
+ "version": "0.201.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -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, ContactAttributeLinkCreate, 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';
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, Pagination_ContactSchema, ContactSchema, ContactAttributeLink, Pagination_ContactAttributeSet, ContactAttributeSet, ContactDetail, 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';
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 Pagination_ContactSchema} - The actual schema type definition
602
+ * @see {@link Pagination_ContactDetail} - The actual schema type definition
603
603
  */
604
- export type GET_Contacts_Response_200 = Pagination_ContactSchema
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, ContactSchema, DnsZone, DomainForwardZone, Domain, EmailForwardLog, EmailForwardZone, EventResponse, Invoice, ObjectLog, Organization, Parking, RequestHistory, UserPublic, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
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
- * ContactSchema
797
+ * ContactDetailResponse
798
798
  *
799
799
  * @remarks
800
- * Array type for ContactSchema objects. Used when the API returns a collection of ContactSchema instances.
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: ContactSchemaArray = await api.getContactSchemas();
804
+ * const items: ContactDetailArray = await api.getContactDetails();
805
805
  * ```
806
806
  *
807
- * @see {@link ContactSchema} - The individual ContactSchema type definition
807
+ * @see {@link ContactDetail} - The individual ContactDetailResponse type definition
808
808
  */
809
- export type ContactSchemaArray = ContactSchema[];
809
+ export type ContactDetailArray = ContactDetail[];
810
810
  /**
811
811
  * DnsZoneResponse
812
812
  *
@@ -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[ContactSchema]
3064
+ * Pagination[ContactDetailResponse]
3081
3065
  *
3082
3066
  * @remarks
3083
- * Type alias for the `Pagination_ContactSchema_` OpenAPI schema.
3084
- * This type represents pagination[contactschema] data structures used in API requests and responses.
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.getPagination_ContactSchema();
3089
- * const item: Pagination_ContactSchema = response.results;
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 Pagination_ContactSchema = components['schemas']['Pagination_ContactSchema_'];
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
- Pagination_ContactSchema_:
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/ContactSchema'
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[ContactSchema]
5122
+ title: Pagination[ContactDetailResponse]
5148
5123
  type: object
5149
5124
  Pagination_DnsZoneResponse_:
5150
5125
  properties:
@@ -7375,7 +7350,7 @@ info:
7375
7350
  '
7376
7351
  summary: OpusDNS - your gateway to a seamless domain management experience.
7377
7352
  title: OpusDNS API
7378
- version: 2026-02-23-085935
7353
+ version: 2026-02-24-090615
7379
7354
  x-logo:
7380
7355
  altText: OpusDNS API Reference
7381
7356
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -8281,7 +8256,7 @@ paths:
8281
8256
  content:
8282
8257
  application/json:
8283
8258
  schema:
8284
- $ref: '#/components/schemas/Pagination_ContactSchema_'
8259
+ $ref: '#/components/schemas/Pagination_ContactDetailResponse_'
8285
8260
  description: Successful Response
8286
8261
  '422':
8287
8262
  content:
@@ -8323,72 +8298,6 @@ paths:
8323
8298
  summary: Create a contact
8324
8299
  tags:
8325
8300
  - 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
8301
  /v1/contacts/attribute-sets:
8393
8302
  get:
8394
8303
  operationId: list_attribute_sets_v1_contacts_attribute_sets_get
@@ -8454,6 +8363,20 @@ paths:
8454
8363
  schema:
8455
8364
  $ref: '#/components/schemas/ContactAttributeSetResponse'
8456
8365
  description: Successful Response
8366
+ '409':
8367
+ content:
8368
+ application/problem+json:
8369
+ example:
8370
+ code: ERROR_CONTACT_ATTRIBUTE_SET_LABEL_ALREADY_EXISTS
8371
+ detail: A contact attribute set with label 'Additional error context.'
8372
+ already exists
8373
+ label: Additional error context.
8374
+ status: 409
8375
+ title: Contact Attribute Set Error
8376
+ type: contact-attribute-set-label-already-exists
8377
+ schema:
8378
+ $ref: '#/components/schemas/Problem'
8379
+ description: Conflict
8457
8380
  '422':
8458
8381
  content:
8459
8382
  application/problem+json:
@@ -8595,6 +8518,20 @@ paths:
8595
8518
  schema:
8596
8519
  $ref: '#/components/schemas/Problem'
8597
8520
  description: Not Found
8521
+ '409':
8522
+ content:
8523
+ application/problem+json:
8524
+ example:
8525
+ code: ERROR_CONTACT_ATTRIBUTE_SET_LABEL_ALREADY_EXISTS
8526
+ detail: A contact attribute set with label 'Additional error context.'
8527
+ already exists
8528
+ label: Additional error context.
8529
+ status: 409
8530
+ title: Contact Attribute Set Error
8531
+ type: contact-attribute-set-label-already-exists
8532
+ schema:
8533
+ $ref: '#/components/schemas/Problem'
8534
+ description: Conflict
8598
8535
  '422':
8599
8536
  content:
8600
8537
  application/problem+json:
@@ -8847,6 +8784,89 @@ paths:
8847
8784
  summary: Retrieve a contact
8848
8785
  tags:
8849
8786
  - contact
8787
+ /v1/contacts/{contact_id}/link/{contact_attribute_set_id}:
8788
+ patch:
8789
+ operationId: create_attribute_link_v1_contacts__contact_id__link__contact_attribute_set_id__patch
8790
+ parameters:
8791
+ - in: path
8792
+ name: contact_id
8793
+ required: true
8794
+ schema:
8795
+ examples:
8796
+ - contact_01h45ytscbebyvny4gc8cr8ma2
8797
+ format: typeid
8798
+ pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
8799
+ title: Contact Id
8800
+ type: string
8801
+ x-typeid-prefix: contact
8802
+ - in: path
8803
+ name: contact_attribute_set_id
8804
+ required: true
8805
+ schema:
8806
+ examples:
8807
+ - contact_attribute_set_01h45ytscbebyvny4gc8cr8ma2
8808
+ format: typeid
8809
+ pattern: ^contact_attribute_set_[0-7][0-9a-hjkmnpq-tv-z]{25}$
8810
+ title: Contact Attribute Set Id
8811
+ type: string
8812
+ x-typeid-prefix: contact_attribute_set
8813
+ responses:
8814
+ '200':
8815
+ content:
8816
+ application/json:
8817
+ schema:
8818
+ $ref: '#/components/schemas/ContactAttributeLinkResponse'
8819
+ description: Successful Response
8820
+ '404':
8821
+ content:
8822
+ application/problem+json:
8823
+ examples:
8824
+ Contact Attribute Set Error:
8825
+ value:
8826
+ code: ERROR_CONTACT_ATTRIBUTE_SET_NOT_FOUND
8827
+ contact_attribute_set_id: Additional error context.
8828
+ detail: Contact attribute set not found
8829
+ status: 404
8830
+ title: Contact Attribute Set Error
8831
+ type: contact-attribute-set-not-found
8832
+ Contact Management Error:
8833
+ value:
8834
+ code: ERROR_CONTACT_NOT_FOUND
8835
+ contact_id: Additional error context.
8836
+ detail: Contact not found
8837
+ status: 404
8838
+ title: Contact Management Error
8839
+ type: contact-not-found
8840
+ schema:
8841
+ $ref: '#/components/schemas/Problem'
8842
+ description: Not Found
8843
+ '409':
8844
+ content:
8845
+ application/problem+json:
8846
+ example:
8847
+ code: ERROR_CONTACT_ATTRIBUTE_LINK_ALREADY_EXISTS
8848
+ contact_id: Additional error context.
8849
+ detail: A contact attribute link already exists for this contact and
8850
+ TLD
8851
+ status: 409
8852
+ title: Contact Attribute Set Error
8853
+ tld: ''
8854
+ type: contact-attribute-link-already-exists
8855
+ schema:
8856
+ $ref: '#/components/schemas/Problem'
8857
+ description: Conflict
8858
+ '422':
8859
+ content:
8860
+ application/problem+json:
8861
+ schema:
8862
+ $ref: '#/components/schemas/HTTPValidationError'
8863
+ description: Validation Error
8864
+ security:
8865
+ - OAuth2PasswordBearer: []
8866
+ - APIKeyHeader: []
8867
+ summary: Link a contact to a contact attribute set
8868
+ tags:
8869
+ - contact
8850
8870
  /v1/contacts/{contact_id}/verification:
8851
8871
  delete:
8852
8872
  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[ContactSchema] */
5373
- Pagination_ContactSchema_: {
5355
+ /** Pagination[ContactDetailResponse] */
5356
+ Pagination_ContactDetailResponse_: {
5374
5357
  pagination: components["schemas"]["PaginationMetadata"];
5375
5358
  /** Results */
5376
- results: components["schemas"]["ContactSchema"][];
5359
+ results: components["schemas"]["ContactDetailResponse"][];
5377
5360
  };
5378
5361
  /** Pagination[DnsZoneResponse] */
5379
5362
  Pagination_DnsZoneResponse_: {
@@ -7211,7 +7194,7 @@ export interface operations {
7211
7194
  [name: string]: unknown;
7212
7195
  };
7213
7196
  content: {
7214
- "application/json": components["schemas"]["Pagination_ContactSchema_"];
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;