@opusdns/api 1.222.0 → 1.224.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.222.0",
6
+ "version": "1.224.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -838,12 +838,14 @@ export const DOMAIN_INCLUDE_FIELD = {
838
838
  TAGS: "tags",
839
839
  RENEWAL_PRICE: "renewal_price",
840
840
  CONNECTED_ACCOUNT: "connected_account",
841
+ REGISTRANT_CHANGE: "registrant_change",
841
842
  } as const satisfies Record<string, DomainIncludeField>;
842
843
 
843
844
  export const DOMAIN_INCLUDE_FIELD_VALUES = [
844
845
  'tags',
845
846
  'renewal_price',
846
847
  'connected_account',
848
+ 'registrant_change',
847
849
  ] as const satisfies ReadonlyArray<DomainIncludeField>;
848
850
 
849
851
  export const DOMAIN_LIST_INCLUDE_FIELD = {
@@ -193,6 +193,7 @@ import type {
193
193
  DomainPeriod,
194
194
  DomainRecommendationsContext,
195
195
  DomainRecommendationsContextCreate,
196
+ DomainRegistrantChange,
196
197
  DomainRegistrarCredential,
197
198
  DomainRenewRequest,
198
199
  DomainRenew,
@@ -2787,6 +2788,32 @@ export const KEYS_DOMAIN_RECOMMENDATIONS_CONTEXT_CREATE = [
2787
2788
  KEY_DOMAIN_RECOMMENDATIONS_CONTEXT_CREATE_PAYLOAD,
2788
2789
  ] as const satisfies (keyof DomainRecommendationsContextCreate)[];
2789
2790
 
2791
+ export const KEY_DOMAIN_REGISTRANT_CHANGE_CONFIRMATION_DEADLINE = 'confirmation_deadline' satisfies keyof DomainRegistrantChange;
2792
+ export const KEY_DOMAIN_REGISTRANT_CHANGE_CONFIRMATION_METHOD = 'confirmation_method' satisfies keyof DomainRegistrantChange;
2793
+ export const KEY_DOMAIN_REGISTRANT_CHANGE_CREATED_ON = 'created_on' satisfies keyof DomainRegistrantChange;
2794
+ export const KEY_DOMAIN_REGISTRANT_CHANGE_DOMAIN_ID = 'domain_id' satisfies keyof DomainRegistrantChange;
2795
+ export const KEY_DOMAIN_REGISTRANT_CHANGE_FAILURE_REASON = 'failure_reason' satisfies keyof DomainRegistrantChange;
2796
+ export const KEY_DOMAIN_REGISTRANT_CHANGE_MATERIAL = 'material' satisfies keyof DomainRegistrantChange;
2797
+ export const KEY_DOMAIN_REGISTRANT_CHANGE_NEW_REGISTRANT = 'new_registrant' satisfies keyof DomainRegistrantChange;
2798
+ export const KEY_DOMAIN_REGISTRANT_CHANGE_PREVIOUS_REGISTRANT = 'previous_registrant' satisfies keyof DomainRegistrantChange;
2799
+ export const KEY_DOMAIN_REGISTRANT_CHANGE_REGISTRANT_CHANGE_ID = 'registrant_change_id' satisfies keyof DomainRegistrantChange;
2800
+ export const KEY_DOMAIN_REGISTRANT_CHANGE_STATUS = 'status' satisfies keyof DomainRegistrantChange;
2801
+ export const KEY_DOMAIN_REGISTRANT_CHANGE_TRANSFER_LOCK_OPT_OUT = 'transfer_lock_opt_out' satisfies keyof DomainRegistrantChange;
2802
+
2803
+ export const KEYS_DOMAIN_REGISTRANT_CHANGE = [
2804
+ KEY_DOMAIN_REGISTRANT_CHANGE_CONFIRMATION_DEADLINE,
2805
+ KEY_DOMAIN_REGISTRANT_CHANGE_CONFIRMATION_METHOD,
2806
+ KEY_DOMAIN_REGISTRANT_CHANGE_CREATED_ON,
2807
+ KEY_DOMAIN_REGISTRANT_CHANGE_DOMAIN_ID,
2808
+ KEY_DOMAIN_REGISTRANT_CHANGE_FAILURE_REASON,
2809
+ KEY_DOMAIN_REGISTRANT_CHANGE_MATERIAL,
2810
+ KEY_DOMAIN_REGISTRANT_CHANGE_NEW_REGISTRANT,
2811
+ KEY_DOMAIN_REGISTRANT_CHANGE_PREVIOUS_REGISTRANT,
2812
+ KEY_DOMAIN_REGISTRANT_CHANGE_REGISTRANT_CHANGE_ID,
2813
+ KEY_DOMAIN_REGISTRANT_CHANGE_STATUS,
2814
+ KEY_DOMAIN_REGISTRANT_CHANGE_TRANSFER_LOCK_OPT_OUT,
2815
+ ] as const satisfies (keyof DomainRegistrantChange)[];
2816
+
2790
2817
  export const KEY_DOMAIN_REGISTRAR_CREDENTIAL_NAME = 'name' satisfies keyof DomainRegistrarCredential;
2791
2818
  export const KEY_DOMAIN_REGISTRAR_CREDENTIAL_REGISTRAR = 'registrar' satisfies keyof DomainRegistrarCredential;
2792
2819
  export const KEY_DOMAIN_REGISTRAR_CREDENTIAL_REGISTRAR_CREDENTIAL_ID = 'registrar_credential_id' satisfies keyof DomainRegistrarCredential;
@@ -2865,6 +2892,7 @@ export const KEY_DOMAIN_NAMESERVERS = 'nameservers' satisfies keyof Domain;
2865
2892
  export const KEY_DOMAIN_OWNER_ID = 'owner_id' satisfies keyof Domain;
2866
2893
  export const KEY_DOMAIN_READ_ONLY = 'read_only' satisfies keyof Domain;
2867
2894
  export const KEY_DOMAIN_REGISTERED_ON = 'registered_on' satisfies keyof Domain;
2895
+ export const KEY_DOMAIN_REGISTRANT_CHANGE = 'registrant_change' satisfies keyof Domain;
2868
2896
  export const KEY_DOMAIN_REGISTRY_ACCOUNT_ID = 'registry_account_id' satisfies keyof Domain;
2869
2897
  export const KEY_DOMAIN_REGISTRY_STATUSES = 'registry_statuses' satisfies keyof Domain;
2870
2898
  export const KEY_DOMAIN_RENEWAL_MODE = 'renewal_mode' satisfies keyof Domain;
@@ -2897,6 +2925,7 @@ export const KEYS_DOMAIN = [
2897
2925
  KEY_DOMAIN_OWNER_ID,
2898
2926
  KEY_DOMAIN_READ_ONLY,
2899
2927
  KEY_DOMAIN_REGISTERED_ON,
2928
+ KEY_DOMAIN_REGISTRANT_CHANGE,
2900
2929
  KEY_DOMAIN_REGISTRY_ACCOUNT_ID,
2901
2930
  KEY_DOMAIN_REGISTRY_STATUSES,
2902
2931
  KEY_DOMAIN_RENEWAL_MODE,
@@ -243,6 +243,7 @@ export type DomainNameParts = components['schemas']['DomainNameParts'];
243
243
  export type DomainPeriod = components['schemas']['DomainPeriod'];
244
244
  export type DomainRecommendationsContext = components['schemas']['DomainRecommendationsContext'];
245
245
  export type DomainRecommendationsContextCreate = components['schemas']['DomainRecommendationsContextCreate'];
246
+ export type DomainRegistrantChange = components['schemas']['DomainRegistrantChangeResponse'];
246
247
  export type DomainRegistrarCredential = components['schemas']['DomainRegistrarCredentialResponse'];
247
248
  export type DomainRenewRequest = components['schemas']['DomainRenewRequest'];
248
249
  export type DomainRenew = components['schemas']['DomainRenewResponse'];
package/src/openapi.yaml CHANGED
@@ -12980,6 +12980,7 @@ components:
12980
12980
  - tags
12981
12981
  - renewal_price
12982
12982
  - connected_account
12983
+ - registrant_change
12983
12984
  title: DomainIncludeField
12984
12985
  type: string
12985
12986
  DomainLifecycleBase:
@@ -13246,6 +13247,92 @@ components:
13246
13247
  - payload
13247
13248
  title: DomainRecommendationsContextCreate
13248
13249
  type: object
13250
+ DomainRegistrantChangeResponse:
13251
+ properties:
13252
+ confirmation_deadline:
13253
+ anyOf:
13254
+ - format: date-time
13255
+ type: string
13256
+ - type: 'null'
13257
+ description: When the request expires if not confirmed
13258
+ title: Confirmation Deadline
13259
+ confirmation_method:
13260
+ anyOf:
13261
+ - $ref: '#/components/schemas/RegistrantChangeConfirmationMethod'
13262
+ - type: 'null'
13263
+ description: How the change was confirmed, null when no confirmation applies
13264
+ created_on:
13265
+ description: When the request was created
13266
+ format: date-time
13267
+ title: Created On
13268
+ type: string
13269
+ domain_id:
13270
+ description: The ID of the domain
13271
+ examples:
13272
+ - domain_01h45ytscbebyvny4gc8cr8ma2
13273
+ format: typeid
13274
+ pattern: ^domain_[0-7][0-9a-hjkmnpq-tv-z]{25}$
13275
+ title: Domain Id
13276
+ type: string
13277
+ x-typeid-prefix: domain
13278
+ failure_reason:
13279
+ anyOf:
13280
+ - type: string
13281
+ - type: 'null'
13282
+ description: Why the registrant change failed
13283
+ title: Failure Reason
13284
+ material:
13285
+ description: Whether the name, organization or email of the registrant changes
13286
+ title: Material
13287
+ type: boolean
13288
+ new_registrant:
13289
+ description: The registrant after the change
13290
+ examples:
13291
+ - contact_01h45ytscbebyvny4gc8cr8ma2
13292
+ format: typeid
13293
+ pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
13294
+ title: New Registrant
13295
+ type: string
13296
+ x-typeid-prefix: contact
13297
+ previous_registrant:
13298
+ description: The registrant before the change
13299
+ examples:
13300
+ - contact_01h45ytscbebyvny4gc8cr8ma2
13301
+ format: typeid
13302
+ pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
13303
+ title: Previous Registrant
13304
+ type: string
13305
+ x-typeid-prefix: contact
13306
+ registrant_change_id:
13307
+ description: The ID of the registrant change
13308
+ examples:
13309
+ - registrant_change_01h45ytscbebyvny4gc8cr8ma2
13310
+ format: typeid
13311
+ pattern: ^registrant_change_[0-7][0-9a-hjkmnpq-tv-z]{25}$
13312
+ title: Registrant Change Id
13313
+ type: string
13314
+ x-typeid-prefix: registrant_change
13315
+ status:
13316
+ $ref: '#/components/schemas/RegistrantChangeStatus'
13317
+ description: The status of the registrant change
13318
+ transfer_lock_opt_out:
13319
+ description: Whether the transfer lock after the change was opted out of
13320
+ title: Transfer Lock Opt Out
13321
+ type: boolean
13322
+ required:
13323
+ - registrant_change_id
13324
+ - domain_id
13325
+ - status
13326
+ - material
13327
+ - previous_registrant
13328
+ - new_registrant
13329
+ - confirmation_method
13330
+ - transfer_lock_opt_out
13331
+ - confirmation_deadline
13332
+ - failure_reason
13333
+ - created_on
13334
+ title: DomainRegistrantChangeResponse
13335
+ type: object
13249
13336
  DomainRegistrarCredentialResponse:
13250
13337
  properties:
13251
13338
  name:
@@ -13511,6 +13598,12 @@ components:
13511
13598
  - type: 'null'
13512
13599
  description: When the domain was registered
13513
13600
  title: Registered On
13601
+ registrant_change:
13602
+ anyOf:
13603
+ - $ref: '#/components/schemas/DomainRegistrantChangeResponse'
13604
+ - type: 'null'
13605
+ description: The change of registrant in progress. Null unless `include=registrant_change`
13606
+ is requested, and null even then when no change of registrant is in progress.
13514
13607
  registry_account_id:
13515
13608
  default: None
13516
13609
  examples:
@@ -20955,7 +21048,9 @@ components:
20955
21048
  - type: 'null'
20956
21049
  title: Confirmation Deadline
20957
21050
  confirmation_method:
20958
- $ref: '#/components/schemas/RegistrantChangeConfirmationMethod'
21051
+ anyOf:
21052
+ - $ref: '#/components/schemas/RegistrantChangeConfirmationMethod'
21053
+ - type: 'null'
20959
21054
  detail_type:
20960
21055
  const: registrant_change
20961
21056
  default: registrant_change
@@ -21007,7 +21102,6 @@ components:
21007
21102
  - status
21008
21103
  - prior_registrant_id
21009
21104
  - new_registrant_id
21010
- - confirmation_method
21011
21105
  title: RegistrantChangeDetails
21012
21106
  type: object
21013
21107
  RegistrantChangeFeeType:
@@ -24977,7 +25071,7 @@ info:
24977
25071
  \n\n"
24978
25072
  summary: OpusDNS - your gateway to a seamless domain management experience.
24979
25073
  title: OpusDNS API
24980
- version: 2026-10-13-132727
25074
+ version: 2026-10-13-152516
24981
25075
  x-logo:
24982
25076
  altText: OpusDNS API Reference
24983
25077
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -35446,7 +35540,8 @@ paths:
35446
35540
  - description: Extra data to include in the response. `tags` populates the `tags`
35447
35541
  and `status_tags` fields, which are otherwise null. `renewal_price` resolves
35448
35542
  the domain's renewal price. `connected_account` populates the `connected_account`
35449
- field for domains held at an external registrar.
35543
+ field for domains held at an external registrar. `registrant_change` populates
35544
+ the `registrant_change` field with the change of registrant in progress.
35450
35545
  in: query
35451
35546
  name: include
35452
35547
  required: false
@@ -35459,7 +35554,9 @@ paths:
35459
35554
  description: Extra data to include in the response. `tags` populates the
35460
35555
  `tags` and `status_tags` fields, which are otherwise null. `renewal_price`
35461
35556
  resolves the domain's renewal price. `connected_account` populates the
35462
- `connected_account` field for domains held at an external registrar.
35557
+ `connected_account` field for domains held at an external registrar. `registrant_change`
35558
+ populates the `registrant_change` field with the change of registrant
35559
+ in progress.
35463
35560
  title: Include
35464
35561
  - $ref: '#/components/parameters/DatetimeFormatHeader'
35465
35562
  responses:
package/src/schema.d.ts CHANGED
@@ -12535,7 +12535,7 @@ export interface components {
12535
12535
  * DomainIncludeField
12536
12536
  * @enum {string}
12537
12537
  */
12538
- DomainIncludeField: "tags" | "renewal_price" | "connected_account";
12538
+ DomainIncludeField: "tags" | "renewal_price" | "connected_account" | "registrant_change";
12539
12539
  /** DomainLifecycleBase */
12540
12540
  DomainLifecycleBase: {
12541
12541
  /**
@@ -12696,6 +12696,67 @@ export interface components {
12696
12696
  kind: "domain_recommendations";
12697
12697
  payload: components["schemas"]["ContextPayload_DomainSearchSuggestionWithPrice_"];
12698
12698
  };
12699
+ /** DomainRegistrantChangeResponse */
12700
+ DomainRegistrantChangeResponse: {
12701
+ /**
12702
+ * Confirmation Deadline
12703
+ * @description When the request expires if not confirmed
12704
+ */
12705
+ confirmation_deadline: Date | null;
12706
+ /** @description How the change was confirmed, null when no confirmation applies */
12707
+ confirmation_method: components["schemas"]["RegistrantChangeConfirmationMethod"] | null;
12708
+ /**
12709
+ * Created On
12710
+ * Format: date-time
12711
+ * @description When the request was created
12712
+ */
12713
+ created_on: Date;
12714
+ /**
12715
+ * Domain Id
12716
+ * Format: typeid
12717
+ * @description The ID of the domain
12718
+ * @example domain_01h45ytscbebyvny4gc8cr8ma2
12719
+ */
12720
+ domain_id: TypeId<"domain">;
12721
+ /**
12722
+ * Failure Reason
12723
+ * @description Why the registrant change failed
12724
+ */
12725
+ failure_reason: string | null;
12726
+ /**
12727
+ * Material
12728
+ * @description Whether the name, organization or email of the registrant changes
12729
+ */
12730
+ material: boolean;
12731
+ /**
12732
+ * New Registrant
12733
+ * Format: typeid
12734
+ * @description The registrant after the change
12735
+ * @example contact_01h45ytscbebyvny4gc8cr8ma2
12736
+ */
12737
+ new_registrant: TypeId<"contact">;
12738
+ /**
12739
+ * Previous Registrant
12740
+ * Format: typeid
12741
+ * @description The registrant before the change
12742
+ * @example contact_01h45ytscbebyvny4gc8cr8ma2
12743
+ */
12744
+ previous_registrant: TypeId<"contact">;
12745
+ /**
12746
+ * Registrant Change Id
12747
+ * Format: typeid
12748
+ * @description The ID of the registrant change
12749
+ * @example registrant_change_01h45ytscbebyvny4gc8cr8ma2
12750
+ */
12751
+ registrant_change_id: TypeId<"registrant_change">;
12752
+ /** @description The status of the registrant change */
12753
+ status: components["schemas"]["RegistrantChangeStatus"];
12754
+ /**
12755
+ * Transfer Lock Opt Out
12756
+ * @description Whether the transfer lock after the change was opted out of
12757
+ */
12758
+ transfer_lock_opt_out: boolean;
12759
+ };
12699
12760
  /** DomainRegistrarCredentialResponse */
12700
12761
  DomainRegistrarCredentialResponse: {
12701
12762
  /**
@@ -12895,6 +12956,8 @@ export interface components {
12895
12956
  * @description When the domain was registered
12896
12957
  */
12897
12958
  registered_on?: Date | null;
12959
+ /** @description The change of registrant in progress. Null unless `include=registrant_change` is requested, and null even then when no change of registrant is in progress. */
12960
+ registrant_change?: components["schemas"]["DomainRegistrantChangeResponse"] | null;
12898
12961
  /**
12899
12962
  * Registry Account Id
12900
12963
  * Format: typeid
@@ -17926,7 +17989,7 @@ export interface components {
17926
17989
  RegistrantChangeDetails: {
17927
17990
  /** Confirmation Deadline */
17928
17991
  confirmation_deadline?: Date | null;
17929
- confirmation_method: components["schemas"]["RegistrantChangeConfirmationMethod"];
17992
+ confirmation_method?: components["schemas"]["RegistrantChangeConfirmationMethod"] | null;
17930
17993
  /**
17931
17994
  * @description discriminator enum property added by openapi-typescript
17932
17995
  * @enum {string}
@@ -28329,7 +28392,7 @@ export interface operations {
28329
28392
  get_domain_v1_domains__domain_reference__get: {
28330
28393
  parameters: {
28331
28394
  query?: {
28332
- /** @description Extra data to include in the response. `tags` populates the `tags` and `status_tags` fields, which are otherwise null. `renewal_price` resolves the domain's renewal price. `connected_account` populates the `connected_account` field for domains held at an external registrar. */
28395
+ /** @description Extra data to include in the response. `tags` populates the `tags` and `status_tags` fields, which are otherwise null. `renewal_price` resolves the domain's renewal price. `connected_account` populates the `connected_account` field for domains held at an external registrar. `registrant_change` populates the `registrant_change` field with the change of registrant in progress. */
28333
28396
  include?: components["schemas"]["DomainIncludeField"][] | null;
28334
28397
  };
28335
28398
  header?: {