@opusdns/api 1.205.0 → 1.207.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": "^1.6.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.205.0",
6
+ "version": "1.207.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -94,6 +94,8 @@ import type {
94
94
  PublicScope,
95
95
  RedirectCode,
96
96
  RegistrantChangeConfirmationMethod,
97
+ RegistrantChangeConfirmationType,
98
+ RegistrantChangeFeeType,
97
99
  RegistrantChangeStatus,
98
100
  RegistrantChangeType,
99
101
  Registrar,
@@ -1721,6 +1723,28 @@ export const REGISTRANT_CHANGE_CONFIRMATION_METHOD_VALUES = [
1721
1723
  'api',
1722
1724
  ] as const satisfies ReadonlyArray<RegistrantChangeConfirmationMethod>;
1723
1725
 
1726
+ export const REGISTRANT_CHANGE_CONFIRMATION_TYPE = {
1727
+ REGISTRAR: "registrar",
1728
+ REGISTRY: "registry",
1729
+ NONE: "none",
1730
+ } as const satisfies Record<string, RegistrantChangeConfirmationType>;
1731
+
1732
+ export const REGISTRANT_CHANGE_CONFIRMATION_TYPE_VALUES = [
1733
+ 'registrar',
1734
+ 'registry',
1735
+ 'none',
1736
+ ] as const satisfies ReadonlyArray<RegistrantChangeConfirmationType>;
1737
+
1738
+ export const REGISTRANT_CHANGE_FEE_TYPE = {
1739
+ NONE: "none",
1740
+ TRADE: "trade",
1741
+ } as const satisfies Record<string, RegistrantChangeFeeType>;
1742
+
1743
+ export const REGISTRANT_CHANGE_FEE_TYPE_VALUES = [
1744
+ 'none',
1745
+ 'trade',
1746
+ ] as const satisfies ReadonlyArray<RegistrantChangeFeeType>;
1747
+
1724
1748
  export const REGISTRANT_CHANGE_STATUS = {
1725
1749
  PENDING_CONFIRMATION: "pending_confirmation",
1726
1750
  CONFIRMED: "confirmed",
@@ -398,6 +398,7 @@ import type {
398
398
  RdapBase,
399
399
  ReferrerStatsBucket,
400
400
  RegistrantChangeDetails,
401
+ RegistrantChangePolicyBase,
401
402
  RegistrarContact,
402
403
  RegistrarDomain,
403
404
  RegistrarNameserver,
@@ -1427,6 +1428,7 @@ export const KEY_CONTACTS_BASE_IS_THICK = 'is_thick' satisfies keyof ContactsBas
1427
1428
  export const KEY_CONTACTS_BASE_POSSIBLE_ATTRIBUTES = 'possible_attributes' satisfies keyof ContactsBase;
1428
1429
  export const KEY_CONTACTS_BASE_PRIVACY_PROXY = 'privacy_proxy' satisfies keyof ContactsBase;
1429
1430
  export const KEY_CONTACTS_BASE_REGISTRANT_CHANGE = 'registrant_change' satisfies keyof ContactsBase;
1431
+ export const KEY_CONTACTS_BASE_REGISTRANT_CHANGE_POLICY = 'registrant_change_policy' satisfies keyof ContactsBase;
1430
1432
  export const KEY_CONTACTS_BASE_SUPPORT_CHECK = 'support_check' satisfies keyof ContactsBase;
1431
1433
  export const KEY_CONTACTS_BASE_SUPPORT_CLIENT_CONTACT_ID = 'support_client_contact_id' satisfies keyof ContactsBase;
1432
1434
  export const KEY_CONTACTS_BASE_SUPPORT_TRANSFER = 'support_transfer' satisfies keyof ContactsBase;
@@ -1442,6 +1444,7 @@ export const KEYS_CONTACTS_BASE = [
1442
1444
  KEY_CONTACTS_BASE_POSSIBLE_ATTRIBUTES,
1443
1445
  KEY_CONTACTS_BASE_PRIVACY_PROXY,
1444
1446
  KEY_CONTACTS_BASE_REGISTRANT_CHANGE,
1447
+ KEY_CONTACTS_BASE_REGISTRANT_CHANGE_POLICY,
1445
1448
  KEY_CONTACTS_BASE_SUPPORT_CHECK,
1446
1449
  KEY_CONTACTS_BASE_SUPPORT_CLIENT_CONTACT_ID,
1447
1450
  KEY_CONTACTS_BASE_SUPPORT_TRANSFER,
@@ -5495,6 +5498,24 @@ export const KEYS_REGISTRANT_CHANGE_DETAILS = [
5495
5498
  KEY_REGISTRANT_CHANGE_DETAILS_TRANSFER_LOCK_UNTIL,
5496
5499
  ] as const satisfies (keyof RegistrantChangeDetails)[];
5497
5500
 
5501
+ export const KEY_REGISTRANT_CHANGE_POLICY_BASE_CONFIRMATION = 'confirmation' satisfies keyof RegistrantChangePolicyBase;
5502
+ export const KEY_REGISTRANT_CHANGE_POLICY_BASE_CONFIRMATION_WINDOW = 'confirmation_window' satisfies keyof RegistrantChangePolicyBase;
5503
+ export const KEY_REGISTRANT_CHANGE_POLICY_BASE_DESIGNATED_AGENT_ALLOWED = 'designated_agent_allowed' satisfies keyof RegistrantChangePolicyBase;
5504
+ export const KEY_REGISTRANT_CHANGE_POLICY_BASE_FEE = 'fee' satisfies keyof RegistrantChangePolicyBase;
5505
+ export const KEY_REGISTRANT_CHANGE_POLICY_BASE_PRIOR_REGISTRANT_NOTICE = 'prior_registrant_notice' satisfies keyof RegistrantChangePolicyBase;
5506
+ export const KEY_REGISTRANT_CHANGE_POLICY_BASE_RENEWS_DOMAIN = 'renews_domain' satisfies keyof RegistrantChangePolicyBase;
5507
+ export const KEY_REGISTRANT_CHANGE_POLICY_BASE_TRANSFER_LOCK_AFTER_CHANGE = 'transfer_lock_after_change' satisfies keyof RegistrantChangePolicyBase;
5508
+
5509
+ export const KEYS_REGISTRANT_CHANGE_POLICY_BASE = [
5510
+ KEY_REGISTRANT_CHANGE_POLICY_BASE_CONFIRMATION,
5511
+ KEY_REGISTRANT_CHANGE_POLICY_BASE_CONFIRMATION_WINDOW,
5512
+ KEY_REGISTRANT_CHANGE_POLICY_BASE_DESIGNATED_AGENT_ALLOWED,
5513
+ KEY_REGISTRANT_CHANGE_POLICY_BASE_FEE,
5514
+ KEY_REGISTRANT_CHANGE_POLICY_BASE_PRIOR_REGISTRANT_NOTICE,
5515
+ KEY_REGISTRANT_CHANGE_POLICY_BASE_RENEWS_DOMAIN,
5516
+ KEY_REGISTRANT_CHANGE_POLICY_BASE_TRANSFER_LOCK_AFTER_CHANGE,
5517
+ ] as const satisfies (keyof RegistrantChangePolicyBase)[];
5518
+
5498
5519
  export const KEY_REGISTRAR_CONTACT_CITY = 'city' satisfies keyof RegistrarContact;
5499
5520
  export const KEY_REGISTRAR_CONTACT_COUNTRY = 'country' satisfies keyof RegistrarContact;
5500
5521
  export const KEY_REGISTRAR_CONTACT_EMAIL = 'email' satisfies keyof RegistrarContact;
@@ -517,7 +517,10 @@ export type RdapBase = components['schemas']['RdapBase'];
517
517
  export type RedirectCode = components['schemas']['RedirectCode'];
518
518
  export type ReferrerStatsBucket = components['schemas']['ReferrerStatsBucket'];
519
519
  export type RegistrantChangeConfirmationMethod = components['schemas']['RegistrantChangeConfirmationMethod'];
520
+ export type RegistrantChangeConfirmationType = components['schemas']['RegistrantChangeConfirmationType'];
520
521
  export type RegistrantChangeDetails = components['schemas']['RegistrantChangeDetails'];
522
+ export type RegistrantChangeFeeType = components['schemas']['RegistrantChangeFeeType'];
523
+ export type RegistrantChangePolicyBase = components['schemas']['RegistrantChangePolicyBase'];
521
524
  export type RegistrantChangeStatus = components['schemas']['RegistrantChangeStatus'];
522
525
  export type RegistrantChangeType = components['schemas']['RegistrantChangeType'];
523
526
  export type Registrar = components['schemas']['Registrar'];
package/src/openapi.yaml CHANGED
@@ -9697,6 +9697,12 @@ components:
9697
9697
  - $ref: '#/components/schemas/RegistrantChangeType'
9698
9698
  - type: 'null'
9699
9699
  description: Whether the registrant can change through update or trade
9700
+ registrant_change_policy:
9701
+ anyOf:
9702
+ - $ref: '#/components/schemas/RegistrantChangePolicyBase'
9703
+ - type: 'null'
9704
+ description: Change of registrant policy. When absent, the defaults of the
9705
+ TLD type apply.
9700
9706
  support_check:
9701
9707
  anyOf:
9702
9708
  - type: boolean
@@ -20929,6 +20935,13 @@ components:
20929
20935
  - api
20930
20936
  title: RegistrantChangeConfirmationMethod
20931
20937
  type: string
20938
+ RegistrantChangeConfirmationType:
20939
+ enum:
20940
+ - registrar
20941
+ - registry
20942
+ - none
20943
+ title: RegistrantChangeConfirmationType
20944
+ type: string
20932
20945
  RegistrantChangeDetails:
20933
20946
  properties:
20934
20947
  confirmation_deadline:
@@ -20993,6 +21006,62 @@ components:
20993
21006
  - confirmation_method
20994
21007
  title: RegistrantChangeDetails
20995
21008
  type: object
21009
+ RegistrantChangeFeeType:
21010
+ enum:
21011
+ - none
21012
+ - trade
21013
+ title: RegistrantChangeFeeType
21014
+ type: string
21015
+ RegistrantChangePolicyBase:
21016
+ properties:
21017
+ confirmation:
21018
+ $ref: '#/components/schemas/RegistrantChangeConfirmationType'
21019
+ description: Who confirms a change of registrant before it is executed
21020
+ confirmation_window:
21021
+ anyOf:
21022
+ - examples:
21023
+ - P5D
21024
+ - P1Y
21025
+ pattern: ^\-?P?(\d+Y)?(\d+M)?(\d+D)?T?(\d+H)?(\d+M)?(\d+S)?$
21026
+ type: string
21027
+ - type: 'null'
21028
+ description: How long the parties have to confirm the change (e.g., '14D'),
21029
+ at most 60 days
21030
+ title: Confirmation Window
21031
+ designated_agent_allowed:
21032
+ description: Whether a Designated Agent may confirm the change on behalf
21033
+ of a registrant
21034
+ title: Designated Agent Allowed
21035
+ type: boolean
21036
+ fee:
21037
+ $ref: '#/components/schemas/RegistrantChangeFeeType'
21038
+ description: Whether the change is charged as a trade
21039
+ prior_registrant_notice:
21040
+ description: Whether the prior registrant is notified of the change
21041
+ title: Prior Registrant Notice
21042
+ type: boolean
21043
+ renews_domain:
21044
+ description: Whether the change renews the domain
21045
+ title: Renews Domain
21046
+ type: boolean
21047
+ transfer_lock_after_change:
21048
+ description: Inter-registrar transfer lock applied after the change (e.g.,
21049
+ '60D'), '0D' disables it
21050
+ examples:
21051
+ - P5D
21052
+ - P1Y
21053
+ pattern: ^\-?P?(\d+Y)?(\d+M)?(\d+D)?T?(\d+H)?(\d+M)?(\d+S)?$
21054
+ title: Transfer Lock After Change
21055
+ type: string
21056
+ required:
21057
+ - confirmation
21058
+ - prior_registrant_notice
21059
+ - designated_agent_allowed
21060
+ - transfer_lock_after_change
21061
+ - fee
21062
+ - renews_domain
21063
+ title: RegistrantChangePolicyBase
21064
+ type: object
20996
21065
  RegistrantChangeStatus:
20997
21066
  enum:
20998
21067
  - pending_confirmation
@@ -24900,7 +24969,7 @@ info:
24900
24969
  \n\n"
24901
24970
  summary: OpusDNS - your gateway to a seamless domain management experience.
24902
24971
  title: OpusDNS API
24903
- version: 2026-09-30-211013
24972
+ version: 2026-10-01-020708
24904
24973
  x-logo:
24905
24974
  altText: OpusDNS API Reference
24906
24975
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -27224,6 +27293,14 @@ paths:
27224
27293
  schema:
27225
27294
  $ref: '#/components/schemas/TagFilterMode'
27226
27295
  default: match_any
27296
+ - in: query
27297
+ name: has_tags
27298
+ required: false
27299
+ schema:
27300
+ anyOf:
27301
+ - type: boolean
27302
+ - type: 'null'
27303
+ title: Has Tags
27227
27304
  - in: query
27228
27305
  name: first_name
27229
27306
  required: false
@@ -28547,6 +28624,14 @@ paths:
28547
28624
  schema:
28548
28625
  $ref: '#/components/schemas/TagFilterMode'
28549
28626
  default: match_any
28627
+ - in: query
28628
+ name: has_tags
28629
+ required: false
28630
+ schema:
28631
+ anyOf:
28632
+ - type: boolean
28633
+ - type: 'null'
28634
+ title: Has Tags
28550
28635
  - in: query
28551
28636
  name: dnssec_status
28552
28637
  required: false
@@ -32945,6 +33030,14 @@ paths:
32945
33030
  schema:
32946
33031
  $ref: '#/components/schemas/TagFilterMode'
32947
33032
  default: match_any
33033
+ - in: query
33034
+ name: has_tags
33035
+ required: false
33036
+ schema:
33037
+ anyOf:
33038
+ - type: boolean
33039
+ - type: 'null'
33040
+ title: Has Tags
32948
33041
  - in: query
32949
33042
  name: name
32950
33043
  required: false
package/src/schema.d.ts CHANGED
@@ -10391,6 +10391,8 @@ export interface components {
10391
10391
  privacy_proxy?: boolean | null;
10392
10392
  /** @description Whether the registrant can change through update or trade */
10393
10393
  registrant_change?: components["schemas"]["RegistrantChangeType"] | null;
10394
+ /** @description Change of registrant policy. When absent, the defaults of the TLD type apply. */
10395
+ registrant_change_policy?: components["schemas"]["RegistrantChangePolicyBase"] | null;
10394
10396
  /**
10395
10397
  * Support Check
10396
10398
  * @description Whether the registry supports contact checks
@@ -17830,6 +17832,11 @@ export interface components {
17830
17832
  * @enum {string}
17831
17833
  */
17832
17834
  RegistrantChangeConfirmationMethod: "designated_agent" | "email" | "api";
17835
+ /**
17836
+ * RegistrantChangeConfirmationType
17837
+ * @enum {string}
17838
+ */
17839
+ RegistrantChangeConfirmationType: "registrar" | "registry" | "none";
17833
17840
  /** RegistrantChangeDetails */
17834
17841
  RegistrantChangeDetails: {
17835
17842
  /** Confirmation Deadline */
@@ -17869,6 +17876,45 @@ export interface components {
17869
17876
  /** Transfer Lock Until */
17870
17877
  transfer_lock_until?: Date | null;
17871
17878
  };
17879
+ /**
17880
+ * RegistrantChangeFeeType
17881
+ * @enum {string}
17882
+ */
17883
+ RegistrantChangeFeeType: "none" | "trade";
17884
+ /** RegistrantChangePolicyBase */
17885
+ RegistrantChangePolicyBase: {
17886
+ /** @description Who confirms a change of registrant before it is executed */
17887
+ confirmation: components["schemas"]["RegistrantChangeConfirmationType"];
17888
+ /**
17889
+ * Confirmation Window
17890
+ * @description How long the parties have to confirm the change (e.g., '14D'), at most 60 days
17891
+ */
17892
+ confirmation_window?: string | null;
17893
+ /**
17894
+ * Designated Agent Allowed
17895
+ * @description Whether a Designated Agent may confirm the change on behalf of a registrant
17896
+ */
17897
+ designated_agent_allowed: boolean;
17898
+ /** @description Whether the change is charged as a trade */
17899
+ fee: components["schemas"]["RegistrantChangeFeeType"];
17900
+ /**
17901
+ * Prior Registrant Notice
17902
+ * @description Whether the prior registrant is notified of the change
17903
+ */
17904
+ prior_registrant_notice: boolean;
17905
+ /**
17906
+ * Renews Domain
17907
+ * @description Whether the change renews the domain
17908
+ */
17909
+ renews_domain: boolean;
17910
+ /**
17911
+ * Transfer Lock After Change
17912
+ * @description Inter-registrar transfer lock applied after the change (e.g., '60D'), '0D' disables it
17913
+ * @example P5D
17914
+ * @example P1Y
17915
+ */
17916
+ transfer_lock_after_change: string;
17917
+ };
17872
17918
  /**
17873
17919
  * RegistrantChangeStatus
17874
17920
  * @enum {string}
@@ -22371,6 +22417,7 @@ export interface operations {
22371
22417
  /** @description Filter by user tag IDs. Can be specified multiple times. */
22372
22418
  tag_ids?: TypeId<"tag">[] | null;
22373
22419
  tag_mode?: components["schemas"]["TagFilterMode"];
22420
+ has_tags?: boolean | null;
22374
22421
  first_name?: string | null;
22375
22422
  last_name?: string | null;
22376
22423
  email?: string | null;
@@ -23636,6 +23683,7 @@ export interface operations {
23636
23683
  /** @description Filter by user tag IDs. Can be specified multiple times. */
23637
23684
  tag_ids?: TypeId<"tag">[] | null;
23638
23685
  tag_mode?: components["schemas"]["TagFilterMode"];
23686
+ has_tags?: boolean | null;
23639
23687
  dnssec_status?: components["schemas"]["DnssecStatus"] | null;
23640
23688
  name?: string | null;
23641
23689
  search?: string | null;
@@ -26546,6 +26594,7 @@ export interface operations {
26546
26594
  /** @description Filter by user tag IDs. Can be specified multiple times. */
26547
26595
  tag_ids?: TypeId<"tag">[] | null;
26548
26596
  tag_mode?: components["schemas"]["TagFilterMode"];
26597
+ has_tags?: boolean | null;
26549
26598
  name?: string | null;
26550
26599
  search?: string | null;
26551
26600
  /** @description Filter by top-level domain (e.g., 'com', 'org'). Can be specified multiple times (union of all provided values). */