@opusdns/api 0.211.0 → 0.213.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.211.0",
6
+ "version": "0.213.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -21,7 +21,7 @@
21
21
  * ```
22
22
  */
23
23
 
24
- import { AllocationMethodType, AttributeType, BillingTransactionAction, BillingTransactionProductType, BillingTransactionSortField, BillingTransactionStatus, ComplianceStatus, ConditionOperator, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAttributeKey, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainForwardSortField, DomainForwardZoneSortField, DomainSortField, DomainStatus, EmailForwardLogSortField, EmailForwardLogStatus, EmailForwardSortField, EmailForwardZoneSortField, EmailVerificationStatus, EventObjectType, EventSortField, EventSubtype, EventType, ExecutingEntity, GrantType, HTTPMethod, HostStatus, HttpProtocol, InvoiceResponsePaymentStatus, InvoiceResponseStatus, InvoiceResponseType, LaunchPhaseType, LocalPresenceRequirementType, MetricsGrouping, ObjectEventType, ObjectLogSortField, OrganizationStatus, ParkingSortField, PatchOp, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, Protocol, RedirectCode, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, RequestHistorySortField, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TimeRange, TransferAckType, UserStatus, VerificationType, ZoneSortField } from './schemas';
24
+ import { AllocationMethodType, AttributeType, BillingTransactionAction, BillingTransactionProductType, BillingTransactionSortField, BillingTransactionStatus, ComplianceStatus, ConditionOperator, ContactAttributeSetSortField, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAttributeKey, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainForwardSortField, DomainForwardZoneSortField, DomainSortField, DomainStatus, EmailForwardLogSortField, EmailForwardLogStatus, EmailForwardSortField, EmailForwardZoneSortField, EmailVerificationStatus, EventObjectType, EventSortField, EventSubtype, EventType, ExecutingEntity, GrantType, HTTPMethod, HostStatus, HttpProtocol, InvoiceResponsePaymentStatus, InvoiceResponseStatus, InvoiceResponseType, LaunchPhaseType, LegalRequirementOperationType, LegalRequirementType, LocalPresenceRequirementType, MetricsGrouping, ObjectEventType, ObjectLogSortField, OrganizationStatus, ParkingSortField, PatchOp, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, Protocol, RedirectCode, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, RequestHistorySortField, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TimeRange, TransferAckType, UserStatus, VerificationType, ZoneSortField } from './schemas';
25
25
 
26
26
  /**
27
27
  * AllocationMethodType. Auto-generated enum for AllocationMethodType
@@ -467,6 +467,60 @@ export const CONDITION_OPERATOR_VALUES = [
467
467
  'not_in'
468
468
  ] as const satisfies [string, ...string[]] | ConditionOperator[];
469
469
 
470
+ /**
471
+ * ContactAttributeSetSortField. Auto-generated enum for ContactAttributeSetSortField
472
+ *
473
+ * @remarks
474
+ * This constant provides both object and array forms for the ContactAttributeSetSortField enum.
475
+ * The object form allows key-value access, while the array form enables iteration and validation.
476
+ *
477
+ * @example
478
+ * ```typescript
479
+ * // Using the object form for key-value access
480
+ * const status = CONTACT_ATTRIBUTE_SET_SORT_FIELD.SUCCESS;
481
+ *
482
+ * // Using the array form for iteration
483
+ * const allStatuses = CONTACT_ATTRIBUTE_SET_SORT_FIELD_VALUES;
484
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
485
+ * ```
486
+ *
487
+ * @see {@link ContactAttributeSetSortField} - The TypeScript type definition
488
+ */
489
+ export const CONTACT_ATTRIBUTE_SET_SORT_FIELD = {
490
+ LABEL: "label",
491
+ TLD: "tld",
492
+ CREATED_ON: "created_on",
493
+ UPDATED_ON: "updated_on",
494
+ } as const satisfies Record<string, ContactAttributeSetSortField>;
495
+
496
+ /**
497
+ * Array of all ContactAttributeSetSortField enum values
498
+ *
499
+ * @remarks
500
+ * This constant provides a array containing all valid ContactAttributeSetSortField enum values.
501
+ * Useful for iteration, validation, and generating dynamic UI components.
502
+ *
503
+ * @example
504
+ * ```typescript
505
+ * // Iterating through all values
506
+ * for (const value of CONTACT_ATTRIBUTE_SET_SORT_FIELD_VALUES) {
507
+ * console.log(`Processing: ${value}`);
508
+ * }
509
+ *
510
+ * // Validation
511
+ * const isValid = CONTACT_ATTRIBUTE_SET_SORT_FIELD_VALUES.includes(someValue);
512
+ * ```
513
+ *
514
+ * @see {@link ContactAttributeSetSortField} - The TypeScript type definition
515
+ * @see {@link CONTACT_ATTRIBUTE_SET_SORT_FIELD} - The object form of this enum
516
+ */
517
+ export const CONTACT_ATTRIBUTE_SET_SORT_FIELD_VALUES = [
518
+ 'label',
519
+ 'tld',
520
+ 'created_on',
521
+ 'updated_on'
522
+ ] as const satisfies [string, ...string[]] | ContactAttributeSetSortField[];
523
+
470
524
  /**
471
525
  * ContactSortField. Auto-generated enum for ContactSortField
472
526
  *
@@ -2440,6 +2494,110 @@ export const LAUNCH_PHASE_TYPE_VALUES = [
2440
2494
  'eap'
2441
2495
  ] as const satisfies [string, ...string[]] | LaunchPhaseType[];
2442
2496
 
2497
+ /**
2498
+ * LegalRequirementOperationType. Auto-generated enum for LegalRequirementOperationType
2499
+ *
2500
+ * @remarks
2501
+ * This constant provides both object and array forms for the LegalRequirementOperationType enum.
2502
+ * The object form allows key-value access, while the array form enables iteration and validation.
2503
+ *
2504
+ * @example
2505
+ * ```typescript
2506
+ * // Using the object form for key-value access
2507
+ * const status = LEGAL_REQUIREMENT_OPERATION_TYPE.SUCCESS;
2508
+ *
2509
+ * // Using the array form for iteration
2510
+ * const allStatuses = LEGAL_REQUIREMENT_OPERATION_TYPE_VALUES;
2511
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2512
+ * ```
2513
+ *
2514
+ * @see {@link LegalRequirementOperationType} - The TypeScript type definition
2515
+ */
2516
+ export const LEGAL_REQUIREMENT_OPERATION_TYPE = {
2517
+ REGISTRATION: "registration",
2518
+ TRANSFER: "transfer",
2519
+ RENEWAL: "renewal",
2520
+ REGISTRANT_CHANGE: "registrant_change",
2521
+ } as const satisfies Record<string, LegalRequirementOperationType>;
2522
+
2523
+ /**
2524
+ * Array of all LegalRequirementOperationType enum values
2525
+ *
2526
+ * @remarks
2527
+ * This constant provides a array containing all valid LegalRequirementOperationType enum values.
2528
+ * Useful for iteration, validation, and generating dynamic UI components.
2529
+ *
2530
+ * @example
2531
+ * ```typescript
2532
+ * // Iterating through all values
2533
+ * for (const value of LEGAL_REQUIREMENT_OPERATION_TYPE_VALUES) {
2534
+ * console.log(`Processing: ${value}`);
2535
+ * }
2536
+ *
2537
+ * // Validation
2538
+ * const isValid = LEGAL_REQUIREMENT_OPERATION_TYPE_VALUES.includes(someValue);
2539
+ * ```
2540
+ *
2541
+ * @see {@link LegalRequirementOperationType} - The TypeScript type definition
2542
+ * @see {@link LEGAL_REQUIREMENT_OPERATION_TYPE} - The object form of this enum
2543
+ */
2544
+ export const LEGAL_REQUIREMENT_OPERATION_TYPE_VALUES = [
2545
+ 'registration',
2546
+ 'transfer',
2547
+ 'renewal',
2548
+ 'registrant_change'
2549
+ ] as const satisfies [string, ...string[]] | LegalRequirementOperationType[];
2550
+
2551
+ /**
2552
+ * LegalRequirementType. Auto-generated enum for LegalRequirementType
2553
+ *
2554
+ * @remarks
2555
+ * This constant provides both object and array forms for the LegalRequirementType enum.
2556
+ * The object form allows key-value access, while the array form enables iteration and validation.
2557
+ *
2558
+ * @example
2559
+ * ```typescript
2560
+ * // Using the object form for key-value access
2561
+ * const status = LEGAL_REQUIREMENT_TYPE.SUCCESS;
2562
+ *
2563
+ * // Using the array form for iteration
2564
+ * const allStatuses = LEGAL_REQUIREMENT_TYPE_VALUES;
2565
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2566
+ * ```
2567
+ *
2568
+ * @see {@link LegalRequirementType} - The TypeScript type definition
2569
+ */
2570
+ export const LEGAL_REQUIREMENT_TYPE = {
2571
+ NOTICE: "notice",
2572
+ CONFIRMATION: "confirmation",
2573
+ } as const satisfies Record<string, LegalRequirementType>;
2574
+
2575
+ /**
2576
+ * Array of all LegalRequirementType enum values
2577
+ *
2578
+ * @remarks
2579
+ * This constant provides a array containing all valid LegalRequirementType enum values.
2580
+ * Useful for iteration, validation, and generating dynamic UI components.
2581
+ *
2582
+ * @example
2583
+ * ```typescript
2584
+ * // Iterating through all values
2585
+ * for (const value of LEGAL_REQUIREMENT_TYPE_VALUES) {
2586
+ * console.log(`Processing: ${value}`);
2587
+ * }
2588
+ *
2589
+ * // Validation
2590
+ * const isValid = LEGAL_REQUIREMENT_TYPE_VALUES.includes(someValue);
2591
+ * ```
2592
+ *
2593
+ * @see {@link LegalRequirementType} - The TypeScript type definition
2594
+ * @see {@link LEGAL_REQUIREMENT_TYPE} - The object form of this enum
2595
+ */
2596
+ export const LEGAL_REQUIREMENT_TYPE_VALUES = [
2597
+ 'notice',
2598
+ 'confirmation'
2599
+ ] as const satisfies [string, ...string[]] | LegalRequirementType[];
2600
+
2443
2601
  /**
2444
2602
  * LocalPresenceRequirementType. Auto-generated enum for LocalPresenceRequirementType
2445
2603
  *
@@ -148,6 +148,7 @@ import { IpRestriction } from './schemas';
148
148
  import { IpRestrictionUpdate } from './schemas';
149
149
  import { LaunchPhaseBase } from './schemas';
150
150
  import { LaunchPhasesBase } from './schemas';
151
+ import { LegalRequirementBase } from './schemas';
151
152
  import { LocalPresenceBase } from './schemas';
152
153
  import { Nameserver } from './schemas';
153
154
  import { ObjectLog } from './schemas';
@@ -16851,6 +16852,136 @@ export const KEYS_LAUNCH_PHASES_BASE = [
16851
16852
  KEY_LAUNCH_PHASES_BASE_TRADEMARK_CLAIMS,
16852
16853
  ] as const satisfies (keyof LaunchPhasesBase)[];
16853
16854
 
16855
+ /**
16856
+ * Key
16857
+ *
16858
+ * Unique identifier for the legal requirement
16859
+ *
16860
+ * @type {string}
16861
+ *
16862
+ *
16863
+ * @remarks
16864
+ * This key constant provides type-safe access to the `key` property of LegalRequirementBase objects.
16865
+ * Use this constant when you need to access properties dynamically or ensure type safety.
16866
+ *
16867
+ * @example
16868
+ * ```typescript
16869
+ * // Direct property access
16870
+ * const value = legalrequirementbase[KEY_LEGAL_REQUIREMENT_BASE_KEY];
16871
+ *
16872
+ * // Dynamic property access
16873
+ * const propertyName = KEY_LEGAL_REQUIREMENT_BASE_KEY;
16874
+ * const value = legalrequirementbase[propertyName];
16875
+ * ```
16876
+ *
16877
+ * @see {@link LegalRequirementBase} - The TypeScript type definition
16878
+ * @see {@link KEYS_LEGAL_REQUIREMENT_BASE} - Array of all keys for this type
16879
+ */
16880
+ export const KEY_LEGAL_REQUIREMENT_BASE_KEY: keyof LegalRequirementBase = 'key';
16881
+ /**
16882
+ * Operations
16883
+ *
16884
+ * Operations this requirement applies to
16885
+ *
16886
+ * @type {array}
16887
+ *
16888
+ *
16889
+ * @remarks
16890
+ * This key constant provides type-safe access to the `operations` property of LegalRequirementBase objects.
16891
+ * Use this constant when you need to access properties dynamically or ensure type safety.
16892
+ *
16893
+ * @example
16894
+ * ```typescript
16895
+ * // Direct property access
16896
+ * const value = legalrequirementbase[KEY_LEGAL_REQUIREMENT_BASE_OPERATIONS];
16897
+ *
16898
+ * // Dynamic property access
16899
+ * const propertyName = KEY_LEGAL_REQUIREMENT_BASE_OPERATIONS;
16900
+ * const value = legalrequirementbase[propertyName];
16901
+ * ```
16902
+ *
16903
+ * @see {@link LegalRequirementBase} - The TypeScript type definition
16904
+ * @see {@link KEYS_LEGAL_REQUIREMENT_BASE} - Array of all keys for this type
16905
+ */
16906
+ export const KEY_LEGAL_REQUIREMENT_BASE_OPERATIONS: keyof LegalRequirementBase = 'operations';
16907
+ /**
16908
+ * type property
16909
+ *
16910
+ * Whether this is an informational notice or requires explicit confirmation
16911
+ *
16912
+ *
16913
+ *
16914
+ * @remarks
16915
+ * This key constant provides type-safe access to the `type` property of LegalRequirementBase objects.
16916
+ * Use this constant when you need to access properties dynamically or ensure type safety.
16917
+ *
16918
+ * @example
16919
+ * ```typescript
16920
+ * // Direct property access
16921
+ * const value = legalrequirementbase[KEY_LEGAL_REQUIREMENT_BASE_TYPE];
16922
+ *
16923
+ * // Dynamic property access
16924
+ * const propertyName = KEY_LEGAL_REQUIREMENT_BASE_TYPE;
16925
+ * const value = legalrequirementbase[propertyName];
16926
+ * ```
16927
+ *
16928
+ * @see {@link LegalRequirementBase} - The TypeScript type definition
16929
+ * @see {@link KEYS_LEGAL_REQUIREMENT_BASE} - Array of all keys for this type
16930
+ */
16931
+ export const KEY_LEGAL_REQUIREMENT_BASE_TYPE: keyof LegalRequirementBase = 'type';
16932
+ /**
16933
+ * Url
16934
+ *
16935
+ * Link to the legal document
16936
+ *
16937
+ *
16938
+ *
16939
+ * @remarks
16940
+ * This key constant provides type-safe access to the `url` property of LegalRequirementBase objects.
16941
+ * Use this constant when you need to access properties dynamically or ensure type safety.
16942
+ *
16943
+ * @example
16944
+ * ```typescript
16945
+ * // Direct property access
16946
+ * const value = legalrequirementbase[KEY_LEGAL_REQUIREMENT_BASE_URL];
16947
+ *
16948
+ * // Dynamic property access
16949
+ * const propertyName = KEY_LEGAL_REQUIREMENT_BASE_URL;
16950
+ * const value = legalrequirementbase[propertyName];
16951
+ * ```
16952
+ *
16953
+ * @see {@link LegalRequirementBase} - The TypeScript type definition
16954
+ * @see {@link KEYS_LEGAL_REQUIREMENT_BASE} - Array of all keys for this type
16955
+ */
16956
+ export const KEY_LEGAL_REQUIREMENT_BASE_URL: keyof LegalRequirementBase = 'url';
16957
+
16958
+ /**
16959
+ * Array of all LegalRequirementBase property keys
16960
+ *
16961
+ * @remarks
16962
+ * This constant provides a readonly array containing all valid property keys for LegalRequirementBase objects.
16963
+ * Useful for iteration, validation, and generating dynamic UI components.
16964
+ *
16965
+ * @example
16966
+ * ```typescript
16967
+ * // Iterating through all keys
16968
+ * for (const key of KEYS_LEGAL_REQUIREMENT_BASE) {
16969
+ * console.log(`Property: ${key}, Value: ${legalrequirementbase[key]}`);
16970
+ * }
16971
+ *
16972
+ * // Validation
16973
+ * const isValidKey = KEYS_LEGAL_REQUIREMENT_BASE.includes(someKey);
16974
+ * ```
16975
+ *
16976
+ * @see {@link LegalRequirementBase} - The TypeScript type definition
16977
+ */
16978
+ export const KEYS_LEGAL_REQUIREMENT_BASE = [
16979
+ KEY_LEGAL_REQUIREMENT_BASE_KEY,
16980
+ KEY_LEGAL_REQUIREMENT_BASE_OPERATIONS,
16981
+ KEY_LEGAL_REQUIREMENT_BASE_TYPE,
16982
+ KEY_LEGAL_REQUIREMENT_BASE_URL,
16983
+ ] as const satisfies (keyof LegalRequirementBase)[];
16984
+
16854
16985
  /**
16855
16986
  * Eligible Countries
16856
16987
  *
@@ -23630,6 +23761,32 @@ export const KEY_TLD_SPECIFICATION_IDN: keyof TldSpecification = 'idn';
23630
23761
  * @see {@link KEYS_TLD_SPECIFICATION} - Array of all keys for this type
23631
23762
  */
23632
23763
  export const KEY_TLD_SPECIFICATION_LAUNCH_PHASES: keyof TldSpecification = 'launch_phases';
23764
+ /**
23765
+ * Legal Requirements
23766
+ *
23767
+ * Legal requirements that must be met for this TLD
23768
+ *
23769
+ * @type {array}
23770
+ *
23771
+ *
23772
+ * @remarks
23773
+ * This key constant provides type-safe access to the `legal_requirements` property of TldSpecification objects.
23774
+ * Use this constant when you need to access properties dynamically or ensure type safety.
23775
+ *
23776
+ * @example
23777
+ * ```typescript
23778
+ * // Direct property access
23779
+ * const value = tldspecification[KEY_TLD_SPECIFICATION_LEGAL_REQUIREMENTS];
23780
+ *
23781
+ * // Dynamic property access
23782
+ * const propertyName = KEY_TLD_SPECIFICATION_LEGAL_REQUIREMENTS;
23783
+ * const value = tldspecification[propertyName];
23784
+ * ```
23785
+ *
23786
+ * @see {@link TldSpecification} - The TypeScript type definition
23787
+ * @see {@link KEYS_TLD_SPECIFICATION} - Array of all keys for this type
23788
+ */
23789
+ export const KEY_TLD_SPECIFICATION_LEGAL_REQUIREMENTS: keyof TldSpecification = 'legal_requirements';
23633
23790
  /**
23634
23791
  * local_presence property
23635
23792
  *
@@ -23886,6 +24043,7 @@ export const KEYS_TLD_SPECIFICATION = [
23886
24043
  KEY_TLD_SPECIFICATION_DOMAIN_STATUSES,
23887
24044
  KEY_TLD_SPECIFICATION_IDN,
23888
24045
  KEY_TLD_SPECIFICATION_LAUNCH_PHASES,
24046
+ KEY_TLD_SPECIFICATION_LEGAL_REQUIREMENTS,
23889
24047
  KEY_TLD_SPECIFICATION_LOCAL_PRESENCE,
23890
24048
  KEY_TLD_SPECIFICATION_PARKING_ENABLED,
23891
24049
  KEY_TLD_SPECIFICATION_PREMIUM_DOMAINS,
@@ -475,7 +475,6 @@ export type POST_Contacts_Request_Body = POST_Contacts_Request['requestBody'];
475
475
  * Use this type to ensure type safety when making API requests to this endpoint.
476
476
  *
477
477
  * @path /v1/contacts/attribute-sets
478
- * @param tld (query) - Filter by TLD (e.g. 'de', '.de', 'DE')
479
478
  *
480
479
  * @see {@link GET_ContactsAttributeSets_Request_Query} - Query parameters type
481
480
  * @see {@link GET_ContactsAttributeSets_Request_Path} - Path parameters type
@@ -497,7 +496,6 @@ export type GET_ContactsAttributeSets_Request = {
497
496
  * Use this type to ensure type safety for query parameters.
498
497
  *
499
498
  * @path /v1/contacts/attribute-sets
500
- * @param tld (query) - Filter by TLD (e.g. 'de', '.de', 'DE')
501
499
  */
502
500
  export type GET_ContactsAttributeSets_Request_Query = GET_ContactsAttributeSets_Request['parameters']['query'];
503
501
 
@@ -689,7 +689,6 @@ export type POST_Contacts_Response_422 = HTTPValidationError
689
689
 
690
690
  *
691
691
  * @path /v1/contacts/attribute-sets
692
- * @param tld (query) - Filter by TLD (e.g. 'de', '.de', 'DE')
693
692
  *
694
693
  * @see {@link GET_ContactsAttributeSets_Response_200} - 200 response type
695
694
  * @see {@link GET_ContactsAttributeSets_Response_422} - 422 response type
@@ -709,7 +708,6 @@ export type GET_ContactsAttributeSets_Response = GET_ContactsAttributeSets_Respo
709
708
 
710
709
  *
711
710
  * @path /v1/contacts/attribute-sets
712
- * @param tld (query) - Filter by TLD (e.g. 'de', '.de', 'DE')
713
711
  *
714
712
  * @see {@link GET_ContactsAttributeSets_Response} - The main response type definition
715
713
  * @see {@link Pagination_ContactAttributeSet} - The actual schema type definition
@@ -727,7 +725,6 @@ export type GET_ContactsAttributeSets_Response_200 = Pagination_ContactAttribute
727
725
 
728
726
  *
729
727
  * @path /v1/contacts/attribute-sets
730
- * @param tld (query) - Filter by TLD (e.g. 'de', '.de', 'DE')
731
728
  *
732
729
  * @see {@link GET_ContactsAttributeSets_Response} - The main response type definition
733
730
  * @see {@link HTTPValidationError} - The actual schema type definition
@@ -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, HttpRedirectRequest, 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, Contact, 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, HttpRedirectRequest, HttpRedirectList, ReferrerStatsBucket, StatusCodeStatsBucket, UserAgentStatsBucket, VisitsByKeyBucket, DomainForward, DeletePolicyType, SyncOperationType, DomainContact, DomainHost, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, EmailForwardAliasCreate, EmailForwardLogEvent, EmailForwardAliasMetrics, EmailForwardAlias, EmailForward, PriceInfo, ValidationError, LaunchPhaseBase, LegalRequirementOperationType, LocalPresenceRequirementType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactAttributeSet, Contact, DnsZone, DomainForwardZone, Domain, EmailForwardLog, EmailForwardZone, EventResponse, Invoice, ObjectLog, Organization, Parking, RequestHistory, UserPublic, Period, Permission, PremiumAffectsType, Relation, LegalRequirementBase, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
25
25
 
26
26
  /**
27
27
  * DomainDnssecDataResponse
@@ -709,6 +709,20 @@ export type ValidationErrorArray = ValidationError[];
709
709
  * @see {@link LaunchPhaseBase} - The individual LaunchPhaseBase type definition
710
710
  */
711
711
  export type LaunchPhaseBaseArray = LaunchPhaseBase[];
712
+ /**
713
+ * LegalRequirementOperationType
714
+ *
715
+ * @remarks
716
+ * Array type for LegalRequirementOperationType objects. Used when the API returns a collection of LegalRequirementOperationType instances.
717
+ *
718
+ * @example
719
+ * ```typescript
720
+ * const items: LegalRequirementOperationTypeArray = await api.getLegalRequirementOperationTypes();
721
+ * ```
722
+ *
723
+ * @see {@link LegalRequirementOperationType} - The individual LegalRequirementOperationType type definition
724
+ */
725
+ export type LegalRequirementOperationTypeArray = LegalRequirementOperationType[];
712
726
  /**
713
727
  * LocalPresenceRequirementType
714
728
  *
@@ -1045,6 +1059,20 @@ export type PremiumAffectsTypeArray = PremiumAffectsType[];
1045
1059
  * @see {@link Relation} - The individual Relation type definition
1046
1060
  */
1047
1061
  export type RelationArray = Relation[];
1062
+ /**
1063
+ * LegalRequirementBase
1064
+ *
1065
+ * @remarks
1066
+ * Array type for LegalRequirementBase objects. Used when the API returns a collection of LegalRequirementBase instances.
1067
+ *
1068
+ * @example
1069
+ * ```typescript
1070
+ * const items: LegalRequirementBaseArray = await api.getLegalRequirementBases();
1071
+ * ```
1072
+ *
1073
+ * @see {@link LegalRequirementBase} - The individual LegalRequirementBase type definition
1074
+ */
1075
+ export type LegalRequirementBaseArray = LegalRequirementBase[];
1048
1076
  /**
1049
1077
  * TldBase
1050
1078
  *
@@ -330,6 +330,22 @@ export type ContactAttributeSetCreate = components['schemas']['ContactAttributeS
330
330
  * @see {@link components} - The OpenAPI components schema definition
331
331
  */
332
332
  export type ContactAttributeSet = components['schemas']['ContactAttributeSetResponse'];
333
+ /**
334
+ * ContactAttributeSetSortField
335
+ *
336
+ * @remarks
337
+ * Type alias for the `ContactAttributeSetSortField` OpenAPI schema.
338
+ * This type represents contactattributesetsortfield data structures used in API requests and responses.
339
+ *
340
+ * @example
341
+ * ```typescript
342
+ * const response = await api.getContactAttributeSetSortField();
343
+ * const item: ContactAttributeSetSortField = response.results;
344
+ * ```
345
+ *
346
+ * @see {@link components} - The OpenAPI components schema definition
347
+ */
348
+ export type ContactAttributeSetSortField = components['schemas']['ContactAttributeSetSortField'];
333
349
  /**
334
350
  * ContactAttributeSetUpdate
335
351
  *
@@ -2724,6 +2740,54 @@ export type LaunchPhaseType = components['schemas']['LaunchPhaseType'];
2724
2740
  * @see {@link components} - The OpenAPI components schema definition
2725
2741
  */
2726
2742
  export type LaunchPhasesBase = components['schemas']['LaunchPhasesBase'];
2743
+ /**
2744
+ * LegalRequirementBase
2745
+ *
2746
+ * @remarks
2747
+ * Type alias for the `LegalRequirementBase` OpenAPI schema.
2748
+ * This type represents legalrequirementbase data structures used in API requests and responses.
2749
+ *
2750
+ * @example
2751
+ * ```typescript
2752
+ * const response = await api.getLegalRequirementBase();
2753
+ * const item: LegalRequirementBase = response.results;
2754
+ * ```
2755
+ *
2756
+ * @see {@link components} - The OpenAPI components schema definition
2757
+ */
2758
+ export type LegalRequirementBase = components['schemas']['LegalRequirementBase'];
2759
+ /**
2760
+ * LegalRequirementOperationType
2761
+ *
2762
+ * @remarks
2763
+ * Type alias for the `LegalRequirementOperationType` OpenAPI schema.
2764
+ * This type represents legalrequirementoperationtype data structures used in API requests and responses.
2765
+ *
2766
+ * @example
2767
+ * ```typescript
2768
+ * const response = await api.getLegalRequirementOperationType();
2769
+ * const item: LegalRequirementOperationType = response.results;
2770
+ * ```
2771
+ *
2772
+ * @see {@link components} - The OpenAPI components schema definition
2773
+ */
2774
+ export type LegalRequirementOperationType = components['schemas']['LegalRequirementOperationType'];
2775
+ /**
2776
+ * LegalRequirementType
2777
+ *
2778
+ * @remarks
2779
+ * Type alias for the `LegalRequirementType` OpenAPI schema.
2780
+ * This type represents legalrequirementtype data structures used in API requests and responses.
2781
+ *
2782
+ * @example
2783
+ * ```typescript
2784
+ * const response = await api.getLegalRequirementType();
2785
+ * const item: LegalRequirementType = response.results;
2786
+ * ```
2787
+ *
2788
+ * @see {@link components} - The OpenAPI components schema definition
2789
+ */
2790
+ export type LegalRequirementType = components['schemas']['LegalRequirementType'];
2727
2791
  /**
2728
2792
  * LocalPresenceBase
2729
2793
  *
package/src/openapi.yaml CHANGED
@@ -477,6 +477,14 @@ components:
477
477
  - updated_on
478
478
  title: ContactAttributeSetResponse
479
479
  type: object
480
+ ContactAttributeSetSortField:
481
+ enum:
482
+ - label
483
+ - tld
484
+ - created_on
485
+ - updated_on
486
+ title: ContactAttributeSetSortField
487
+ type: string
480
488
  ContactAttributeSetUpdate:
481
489
  properties:
482
490
  label:
@@ -4114,6 +4122,51 @@ components:
4114
4122
  - general_availability
4115
4123
  title: LaunchPhasesBase
4116
4124
  type: object
4125
+ LegalRequirementBase:
4126
+ properties:
4127
+ key:
4128
+ description: Unique identifier for the legal requirement
4129
+ title: Key
4130
+ type: string
4131
+ operations:
4132
+ description: Operations this requirement applies to
4133
+ items:
4134
+ $ref: '#/components/schemas/LegalRequirementOperationType'
4135
+ title: Operations
4136
+ type: array
4137
+ type:
4138
+ $ref: '#/components/schemas/LegalRequirementType'
4139
+ description: Whether this is an informational notice or requires explicit
4140
+ confirmation
4141
+ url:
4142
+ anyOf:
4143
+ - format: uri
4144
+ maxLength: 2083
4145
+ minLength: 1
4146
+ type: string
4147
+ - type: 'null'
4148
+ description: Link to the legal document
4149
+ title: Url
4150
+ required:
4151
+ - key
4152
+ - type
4153
+ - operations
4154
+ title: LegalRequirementBase
4155
+ type: object
4156
+ LegalRequirementOperationType:
4157
+ enum:
4158
+ - registration
4159
+ - transfer
4160
+ - renewal
4161
+ - registrant_change
4162
+ title: LegalRequirementOperationType
4163
+ type: string
4164
+ LegalRequirementType:
4165
+ enum:
4166
+ - notice
4167
+ - confirmation
4168
+ title: LegalRequirementType
4169
+ type: string
4117
4170
  LocalPresenceBase:
4118
4171
  properties:
4119
4172
  eligible_countries:
@@ -6152,6 +6205,12 @@ components:
6152
6205
  - $ref: '#/components/schemas/LaunchPhasesBase'
6153
6206
  - type: 'null'
6154
6207
  description: Launch phases configuration
6208
+ legal_requirements:
6209
+ description: Legal requirements that must be met for this TLD
6210
+ items:
6211
+ $ref: '#/components/schemas/LegalRequirementBase'
6212
+ title: Legal Requirements
6213
+ type: array
6155
6214
  local_presence:
6156
6215
  anyOf:
6157
6216
  - $ref: '#/components/schemas/LocalPresenceBase'
@@ -7218,7 +7277,7 @@ info:
7218
7277
  '
7219
7278
  summary: OpusDNS - your gateway to a seamless domain management experience.
7220
7279
  title: OpusDNS API
7221
- version: 2026-03-02-094551
7280
+ version: 2026-03-03-135652
7222
7281
  x-logo:
7223
7282
  altText: OpusDNS API Reference
7224
7283
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -8170,16 +8229,34 @@ paths:
8170
8229
  get:
8171
8230
  operationId: list_attribute_sets_v1_contacts_attribute_sets_get
8172
8231
  parameters:
8173
- - description: Filter by TLD (e.g. 'de', '.de', 'DE')
8174
- in: query
8232
+ - in: query
8233
+ name: sort_by
8234
+ required: false
8235
+ schema:
8236
+ $ref: '#/components/schemas/ContactAttributeSetSortField'
8237
+ default: created_on
8238
+ - in: query
8239
+ name: sort_order
8240
+ required: false
8241
+ schema:
8242
+ $ref: '#/components/schemas/SortOrder'
8243
+ default: desc
8244
+ - in: query
8175
8245
  name: tld
8176
8246
  required: false
8177
8247
  schema:
8178
8248
  anyOf:
8179
8249
  - type: string
8180
8250
  - type: 'null'
8181
- description: Filter by TLD (e.g. 'de', '.de', 'DE')
8182
8251
  title: Tld
8252
+ - in: query
8253
+ name: label
8254
+ required: false
8255
+ schema:
8256
+ anyOf:
8257
+ - type: string
8258
+ - type: 'null'
8259
+ title: Label
8183
8260
  - in: query
8184
8261
  name: page
8185
8262
  required: false
package/src/schema.d.ts CHANGED
@@ -2263,6 +2263,11 @@ export interface components {
2263
2263
  */
2264
2264
  updated_on: Date;
2265
2265
  };
2266
+ /**
2267
+ * ContactAttributeSetSortField
2268
+ * @enum {string}
2269
+ */
2270
+ ContactAttributeSetSortField: "label" | "tld" | "created_on" | "updated_on";
2266
2271
  /** ContactAttributeSetUpdate */
2267
2272
  ContactAttributeSetUpdate: {
2268
2273
  /**
@@ -4697,6 +4702,36 @@ export interface components {
4697
4702
  phases: components["schemas"]["LaunchPhaseBase"][];
4698
4703
  trademark_claims?: components["schemas"]["TrademarkClaimsBase"] | null;
4699
4704
  };
4705
+ /** LegalRequirementBase */
4706
+ LegalRequirementBase: {
4707
+ /**
4708
+ * Key
4709
+ * @description Unique identifier for the legal requirement
4710
+ */
4711
+ key: string;
4712
+ /**
4713
+ * Operations
4714
+ * @description Operations this requirement applies to
4715
+ */
4716
+ operations: components["schemas"]["LegalRequirementOperationType"][];
4717
+ /** @description Whether this is an informational notice or requires explicit confirmation */
4718
+ type: components["schemas"]["LegalRequirementType"];
4719
+ /**
4720
+ * Url
4721
+ * @description Link to the legal document
4722
+ */
4723
+ url?: string | null;
4724
+ };
4725
+ /**
4726
+ * LegalRequirementOperationType
4727
+ * @enum {string}
4728
+ */
4729
+ LegalRequirementOperationType: "registration" | "transfer" | "renewal" | "registrant_change";
4730
+ /**
4731
+ * LegalRequirementType
4732
+ * @enum {string}
4733
+ */
4734
+ LegalRequirementType: "notice" | "confirmation";
4700
4735
  /** LocalPresenceBase */
4701
4736
  LocalPresenceBase: {
4702
4737
  /**
@@ -6000,6 +6035,11 @@ export interface components {
6000
6035
  idn: components["schemas"]["IdnBase"];
6001
6036
  /** @description Launch phases configuration */
6002
6037
  launch_phases?: components["schemas"]["LaunchPhasesBase"] | null;
6038
+ /**
6039
+ * Legal Requirements
6040
+ * @description Legal requirements that must be met for this TLD
6041
+ */
6042
+ legal_requirements?: components["schemas"]["LegalRequirementBase"][];
6003
6043
  /** @description Local presence requirements */
6004
6044
  local_presence?: components["schemas"]["LocalPresenceBase"] | null;
6005
6045
  /**
@@ -7178,8 +7218,10 @@ export interface operations {
7178
7218
  list_attribute_sets_v1_contacts_attribute_sets_get: {
7179
7219
  parameters: {
7180
7220
  query?: {
7181
- /** @description Filter by TLD (e.g. 'de', '.de', 'DE') */
7221
+ sort_by?: components["schemas"]["ContactAttributeSetSortField"];
7222
+ sort_order?: components["schemas"]["SortOrder"];
7182
7223
  tld?: string | null;
7224
+ label?: string | null;
7183
7225
  page?: number;
7184
7226
  page_size?: number;
7185
7227
  };