@opusdns/api 1.204.0 → 1.205.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.204.0",
6
+ "version": "1.205.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -93,6 +93,8 @@ import type {
93
93
  PublicRole,
94
94
  PublicScope,
95
95
  RedirectCode,
96
+ RegistrantChangeConfirmationMethod,
97
+ RegistrantChangeStatus,
96
98
  RegistrantChangeType,
97
99
  Registrar,
98
100
  RegistryHandleAttributeType,
@@ -1036,6 +1038,7 @@ export const EVENT_TYPE = {
1036
1038
  VANITY_NS_RESTORATION: "VANITY_NS_RESTORATION",
1037
1039
  VANITY_NS_TERMINATION: "VANITY_NS_TERMINATION",
1038
1040
  CLONE: "CLONE",
1041
+ REGISTRANT_CHANGE: "REGISTRANT_CHANGE",
1039
1042
  } as const satisfies Record<string, EventType>;
1040
1043
 
1041
1044
  export const EVENT_TYPE_VALUES = [
@@ -1054,6 +1057,7 @@ export const EVENT_TYPE_VALUES = [
1054
1057
  'VANITY_NS_RESTORATION',
1055
1058
  'VANITY_NS_TERMINATION',
1056
1059
  'CLONE',
1060
+ 'REGISTRANT_CHANGE',
1057
1061
  ] as const satisfies ReadonlyArray<EventType>;
1058
1062
 
1059
1063
  export const EVENT_VERSION = {
@@ -1705,6 +1709,44 @@ export const REDIRECT_CODE = [
1705
1709
  308,
1706
1710
  ] as const satisfies ReadonlyArray<RedirectCode>;
1707
1711
 
1712
+ export const REGISTRANT_CHANGE_CONFIRMATION_METHOD = {
1713
+ DESIGNATED_AGENT: "designated_agent",
1714
+ EMAIL: "email",
1715
+ API: "api",
1716
+ } as const satisfies Record<string, RegistrantChangeConfirmationMethod>;
1717
+
1718
+ export const REGISTRANT_CHANGE_CONFIRMATION_METHOD_VALUES = [
1719
+ 'designated_agent',
1720
+ 'email',
1721
+ 'api',
1722
+ ] as const satisfies ReadonlyArray<RegistrantChangeConfirmationMethod>;
1723
+
1724
+ export const REGISTRANT_CHANGE_STATUS = {
1725
+ PENDING_CONFIRMATION: "pending_confirmation",
1726
+ CONFIRMED: "confirmed",
1727
+ EXECUTING: "executing",
1728
+ REGISTRY_PENDING: "registry_pending",
1729
+ COMPLETED: "completed",
1730
+ NOT_MATERIAL: "not_material",
1731
+ EXPIRED: "expired",
1732
+ CANCELED: "canceled",
1733
+ REJECTED: "rejected",
1734
+ FAILED: "failed",
1735
+ } as const satisfies Record<string, RegistrantChangeStatus>;
1736
+
1737
+ export const REGISTRANT_CHANGE_STATUS_VALUES = [
1738
+ 'pending_confirmation',
1739
+ 'confirmed',
1740
+ 'executing',
1741
+ 'registry_pending',
1742
+ 'completed',
1743
+ 'not_material',
1744
+ 'expired',
1745
+ 'canceled',
1746
+ 'rejected',
1747
+ 'failed',
1748
+ ] as const satisfies ReadonlyArray<RegistrantChangeStatus>;
1749
+
1708
1750
  export const REGISTRANT_CHANGE_TYPE = {
1709
1751
  UPDATE: "update",
1710
1752
  TRADE: "trade",
@@ -397,6 +397,7 @@ import type {
397
397
  PublicRoleDefinition,
398
398
  RdapBase,
399
399
  ReferrerStatsBucket,
400
+ RegistrantChangeDetails,
400
401
  RegistrarContact,
401
402
  RegistrarDomain,
402
403
  RegistrarNameserver,
@@ -5470,6 +5471,30 @@ export const KEYS_REFERRER_STATS_BUCKET = [
5470
5471
  KEY_REFERRER_STATS_BUCKET_UNIQUE,
5471
5472
  ] as const satisfies (keyof ReferrerStatsBucket)[];
5472
5473
 
5474
+ export const KEY_REGISTRANT_CHANGE_DETAILS_CONFIRMATION_DEADLINE = 'confirmation_deadline' satisfies keyof RegistrantChangeDetails;
5475
+ export const KEY_REGISTRANT_CHANGE_DETAILS_CONFIRMATION_METHOD = 'confirmation_method' satisfies keyof RegistrantChangeDetails;
5476
+ export const KEY_REGISTRANT_CHANGE_DETAILS_DETAIL_TYPE = 'detail_type' satisfies keyof RegistrantChangeDetails;
5477
+ export const KEY_REGISTRANT_CHANGE_DETAILS_NEW_REGISTRANT_ID = 'new_registrant_id' satisfies keyof RegistrantChangeDetails;
5478
+ export const KEY_REGISTRANT_CHANGE_DETAILS_NOTIFICATION_TYPE = 'notification_type' satisfies keyof RegistrantChangeDetails;
5479
+ export const KEY_REGISTRANT_CHANGE_DETAILS_PRIOR_REGISTRANT_ID = 'prior_registrant_id' satisfies keyof RegistrantChangeDetails;
5480
+ export const KEY_REGISTRANT_CHANGE_DETAILS_REGISTRANT_CHANGE_ID = 'registrant_change_id' satisfies keyof RegistrantChangeDetails;
5481
+ export const KEY_REGISTRANT_CHANGE_DETAILS_STATUS = 'status' satisfies keyof RegistrantChangeDetails;
5482
+ export const KEY_REGISTRANT_CHANGE_DETAILS_TRANSFER_LOCK_OPT_OUT = 'transfer_lock_opt_out' satisfies keyof RegistrantChangeDetails;
5483
+ export const KEY_REGISTRANT_CHANGE_DETAILS_TRANSFER_LOCK_UNTIL = 'transfer_lock_until' satisfies keyof RegistrantChangeDetails;
5484
+
5485
+ export const KEYS_REGISTRANT_CHANGE_DETAILS = [
5486
+ KEY_REGISTRANT_CHANGE_DETAILS_CONFIRMATION_DEADLINE,
5487
+ KEY_REGISTRANT_CHANGE_DETAILS_CONFIRMATION_METHOD,
5488
+ KEY_REGISTRANT_CHANGE_DETAILS_DETAIL_TYPE,
5489
+ KEY_REGISTRANT_CHANGE_DETAILS_NEW_REGISTRANT_ID,
5490
+ KEY_REGISTRANT_CHANGE_DETAILS_NOTIFICATION_TYPE,
5491
+ KEY_REGISTRANT_CHANGE_DETAILS_PRIOR_REGISTRANT_ID,
5492
+ KEY_REGISTRANT_CHANGE_DETAILS_REGISTRANT_CHANGE_ID,
5493
+ KEY_REGISTRANT_CHANGE_DETAILS_STATUS,
5494
+ KEY_REGISTRANT_CHANGE_DETAILS_TRANSFER_LOCK_OPT_OUT,
5495
+ KEY_REGISTRANT_CHANGE_DETAILS_TRANSFER_LOCK_UNTIL,
5496
+ ] as const satisfies (keyof RegistrantChangeDetails)[];
5497
+
5473
5498
  export const KEY_REGISTRAR_CONTACT_CITY = 'city' satisfies keyof RegistrarContact;
5474
5499
  export const KEY_REGISTRAR_CONTACT_COUNTRY = 'country' satisfies keyof RegistrarContact;
5475
5500
  export const KEY_REGISTRAR_CONTACT_EMAIL = 'email' satisfies keyof RegistrarContact;
@@ -516,6 +516,9 @@ export type PublicScope = components['schemas']['PublicScope'];
516
516
  export type RdapBase = components['schemas']['RdapBase'];
517
517
  export type RedirectCode = components['schemas']['RedirectCode'];
518
518
  export type ReferrerStatsBucket = components['schemas']['ReferrerStatsBucket'];
519
+ export type RegistrantChangeConfirmationMethod = components['schemas']['RegistrantChangeConfirmationMethod'];
520
+ export type RegistrantChangeDetails = components['schemas']['RegistrantChangeDetails'];
521
+ export type RegistrantChangeStatus = components['schemas']['RegistrantChangeStatus'];
519
522
  export type RegistrantChangeType = components['schemas']['RegistrantChangeType'];
520
523
  export type Registrar = components['schemas']['Registrar'];
521
524
  export type RegistrarContact = components['schemas']['RegistrarContact'];
package/src/openapi.yaml CHANGED
@@ -16185,10 +16185,12 @@ components:
16185
16185
  mapping:
16186
16186
  domain_renewal: '#/components/schemas/DomainRenewalDetails'
16187
16187
  domain_verification: '#/components/schemas/DomainVerificationDetails'
16188
+ registrant_change: '#/components/schemas/RegistrantChangeDetails'
16188
16189
  propertyName: detail_type
16189
16190
  oneOf:
16190
16191
  - $ref: '#/components/schemas/DomainRenewalDetails'
16191
16192
  - $ref: '#/components/schemas/DomainVerificationDetails'
16193
+ - $ref: '#/components/schemas/RegistrantChangeDetails'
16192
16194
  - type: 'null'
16193
16195
  title: Details
16194
16196
  error:
@@ -16312,6 +16314,7 @@ components:
16312
16314
  - VANITY_NS_RESTORATION
16313
16315
  - VANITY_NS_TERMINATION
16314
16316
  - CLONE
16317
+ - REGISTRANT_CHANGE
16315
16318
  title: EventType
16316
16319
  type: string
16317
16320
  EventVersion:
@@ -20919,6 +20922,91 @@ components:
20919
20922
  - unique
20920
20923
  title: ReferrerStatsBucket
20921
20924
  type: object
20925
+ RegistrantChangeConfirmationMethod:
20926
+ enum:
20927
+ - designated_agent
20928
+ - email
20929
+ - api
20930
+ title: RegistrantChangeConfirmationMethod
20931
+ type: string
20932
+ RegistrantChangeDetails:
20933
+ properties:
20934
+ confirmation_deadline:
20935
+ anyOf:
20936
+ - format: date-time
20937
+ type: string
20938
+ - type: 'null'
20939
+ title: Confirmation Deadline
20940
+ confirmation_method:
20941
+ $ref: '#/components/schemas/RegistrantChangeConfirmationMethod'
20942
+ detail_type:
20943
+ const: registrant_change
20944
+ default: registrant_change
20945
+ title: Detail Type
20946
+ type: string
20947
+ new_registrant_id:
20948
+ examples:
20949
+ - contact_01h45ytscbebyvny4gc8cr8ma2
20950
+ format: typeid
20951
+ pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
20952
+ title: New Registrant Id
20953
+ type: string
20954
+ x-typeid-prefix: contact
20955
+ notification_type:
20956
+ anyOf:
20957
+ - type: string
20958
+ - type: 'null'
20959
+ title: Notification Type
20960
+ prior_registrant_id:
20961
+ examples:
20962
+ - contact_01h45ytscbebyvny4gc8cr8ma2
20963
+ format: typeid
20964
+ pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
20965
+ title: Prior Registrant Id
20966
+ type: string
20967
+ x-typeid-prefix: contact
20968
+ registrant_change_id:
20969
+ examples:
20970
+ - registrant_change_01h45ytscbebyvny4gc8cr8ma2
20971
+ format: typeid
20972
+ pattern: ^registrant_change_[0-7][0-9a-hjkmnpq-tv-z]{25}$
20973
+ title: Registrant Change Id
20974
+ type: string
20975
+ x-typeid-prefix: registrant_change
20976
+ status:
20977
+ $ref: '#/components/schemas/RegistrantChangeStatus'
20978
+ transfer_lock_opt_out:
20979
+ default: false
20980
+ title: Transfer Lock Opt Out
20981
+ type: boolean
20982
+ transfer_lock_until:
20983
+ anyOf:
20984
+ - format: date-time
20985
+ type: string
20986
+ - type: 'null'
20987
+ title: Transfer Lock Until
20988
+ required:
20989
+ - registrant_change_id
20990
+ - status
20991
+ - prior_registrant_id
20992
+ - new_registrant_id
20993
+ - confirmation_method
20994
+ title: RegistrantChangeDetails
20995
+ type: object
20996
+ RegistrantChangeStatus:
20997
+ enum:
20998
+ - pending_confirmation
20999
+ - confirmed
21000
+ - executing
21001
+ - registry_pending
21002
+ - completed
21003
+ - not_material
21004
+ - expired
21005
+ - canceled
21006
+ - rejected
21007
+ - failed
21008
+ title: RegistrantChangeStatus
21009
+ type: string
20922
21010
  RegistrantChangeType:
20923
21011
  enum:
20924
21012
  - update
@@ -24812,7 +24900,7 @@ info:
24812
24900
  \n\n"
24813
24901
  summary: OpusDNS - your gateway to a seamless domain management experience.
24814
24902
  title: OpusDNS API
24815
- version: 2026-09-29-104327
24903
+ version: 2026-09-30-211013
24816
24904
  x-logo:
24817
24905
  altText: OpusDNS API Reference
24818
24906
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -14768,7 +14768,7 @@ export interface components {
14768
14768
  /** EventData */
14769
14769
  EventData: {
14770
14770
  /** Details */
14771
- details?: (components["schemas"]["DomainRenewalDetails"] | components["schemas"]["DomainVerificationDetails"]) | null;
14771
+ details?: (components["schemas"]["DomainRenewalDetails"] | components["schemas"]["DomainVerificationDetails"] | components["schemas"]["RegistrantChangeDetails"]) | null;
14772
14772
  error?: components["schemas"]["EventError"] | null;
14773
14773
  /** Message */
14774
14774
  message: string;
@@ -14836,7 +14836,7 @@ export interface components {
14836
14836
  * EventType
14837
14837
  * @enum {string}
14838
14838
  */
14839
- EventType: "REGISTRATION" | "RENEWAL" | "MODIFICATION" | "DELETION" | "INBOUND_TRANSFER" | "OUTBOUND_TRANSFER" | "TRANSIT" | "WITHDRAW" | "VERIFICATION" | "BALANCE" | "VANITY_NS_PROVISION" | "VANITY_NS_SUSPENSION" | "VANITY_NS_RESTORATION" | "VANITY_NS_TERMINATION" | "CLONE";
14839
+ EventType: "REGISTRATION" | "RENEWAL" | "MODIFICATION" | "DELETION" | "INBOUND_TRANSFER" | "OUTBOUND_TRANSFER" | "TRANSIT" | "WITHDRAW" | "VERIFICATION" | "BALANCE" | "VANITY_NS_PROVISION" | "VANITY_NS_SUSPENSION" | "VANITY_NS_RESTORATION" | "VANITY_NS_TERMINATION" | "CLONE" | "REGISTRANT_CHANGE";
14840
14840
  /**
14841
14841
  * EventVersion
14842
14842
  * @enum {string}
@@ -17825,6 +17825,55 @@ export interface components {
17825
17825
  /** Unique */
17826
17826
  unique: number;
17827
17827
  };
17828
+ /**
17829
+ * RegistrantChangeConfirmationMethod
17830
+ * @enum {string}
17831
+ */
17832
+ RegistrantChangeConfirmationMethod: "designated_agent" | "email" | "api";
17833
+ /** RegistrantChangeDetails */
17834
+ RegistrantChangeDetails: {
17835
+ /** Confirmation Deadline */
17836
+ confirmation_deadline?: Date | null;
17837
+ confirmation_method: components["schemas"]["RegistrantChangeConfirmationMethod"];
17838
+ /**
17839
+ * @description discriminator enum property added by openapi-typescript
17840
+ * @enum {string}
17841
+ */
17842
+ detail_type: "registrant_change";
17843
+ /**
17844
+ * New Registrant Id
17845
+ * Format: typeid
17846
+ * @example contact_01h45ytscbebyvny4gc8cr8ma2
17847
+ */
17848
+ new_registrant_id: TypeId<"contact">;
17849
+ /** Notification Type */
17850
+ notification_type?: string | null;
17851
+ /**
17852
+ * Prior Registrant Id
17853
+ * Format: typeid
17854
+ * @example contact_01h45ytscbebyvny4gc8cr8ma2
17855
+ */
17856
+ prior_registrant_id: TypeId<"contact">;
17857
+ /**
17858
+ * Registrant Change Id
17859
+ * Format: typeid
17860
+ * @example registrant_change_01h45ytscbebyvny4gc8cr8ma2
17861
+ */
17862
+ registrant_change_id: TypeId<"registrant_change">;
17863
+ status: components["schemas"]["RegistrantChangeStatus"];
17864
+ /**
17865
+ * Transfer Lock Opt Out
17866
+ * @default false
17867
+ */
17868
+ transfer_lock_opt_out: boolean;
17869
+ /** Transfer Lock Until */
17870
+ transfer_lock_until?: Date | null;
17871
+ };
17872
+ /**
17873
+ * RegistrantChangeStatus
17874
+ * @enum {string}
17875
+ */
17876
+ RegistrantChangeStatus: "pending_confirmation" | "confirmed" | "executing" | "registry_pending" | "completed" | "not_material" | "expired" | "canceled" | "rejected" | "failed";
17828
17877
  /**
17829
17878
  * RegistrantChangeType
17830
17879
  * @enum {string}