@opusdns/api 1.51.0 → 1.53.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.2.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.51.0",
6
+ "version": "1.53.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -337,6 +337,7 @@ import type {
337
337
  ReferrerStatsBucket,
338
338
  RegistrarContact,
339
339
  RegistrarDomain,
340
+ RegistrarNameserver,
340
341
  RegistrarRRSet,
341
342
  RegistrarRecord,
342
343
  RegistrarZone,
@@ -400,6 +401,7 @@ import type {
400
401
  ZonesContextCreate,
401
402
  RequestAuthcode,
402
403
  RequestAuthcode2,
404
+ RequestAuthcode3,
403
405
  DomainAvailabilityList,
404
406
  DomainAvailabilityCheck,
405
407
  } from './schemas';
@@ -4560,6 +4562,14 @@ export const KEYS_REGISTRAR_DOMAIN = [
4560
4562
  KEY_REGISTRAR_DOMAIN_ZONE,
4561
4563
  ] as const satisfies (keyof RegistrarDomain)[];
4562
4564
 
4565
+ export const KEY_REGISTRAR_NAMESERVER_HOSTNAME = 'hostname' satisfies keyof RegistrarNameserver;
4566
+ export const KEY_REGISTRAR_NAMESERVER_IP_ADDRESSES = 'ip_addresses' satisfies keyof RegistrarNameserver;
4567
+
4568
+ export const KEYS_REGISTRAR_NAMESERVER = [
4569
+ KEY_REGISTRAR_NAMESERVER_HOSTNAME,
4570
+ KEY_REGISTRAR_NAMESERVER_IP_ADDRESSES,
4571
+ ] as const satisfies (keyof RegistrarNameserver)[];
4572
+
4563
4573
  export const KEY_REGISTRAR_RR_SET_NAME = 'name' satisfies keyof RegistrarRRSet;
4564
4574
  export const KEY_REGISTRAR_RR_SET_PRIORITY = 'priority' satisfies keyof RegistrarRRSet;
4565
4575
  export const KEY_REGISTRAR_RR_SET_RECORD = 'record' satisfies keyof RegistrarRRSet;
@@ -5412,6 +5422,20 @@ export const KEYS_REQUEST_AUTHCODE2 = [
5412
5422
  KEY_REQUEST_AUTHCODE2_SUCCESS,
5413
5423
  ] as const satisfies (keyof RequestAuthcode2)[];
5414
5424
 
5425
+ export const KEY_REQUEST_AUTHCODE3_AUTH_CODE = 'auth_code' satisfies keyof RequestAuthcode3;
5426
+ export const KEY_REQUEST_AUTHCODE3_AUTH_CODE_EXPIRES_ON = 'auth_code_expires_on' satisfies keyof RequestAuthcode3;
5427
+ export const KEY_REQUEST_AUTHCODE3_DETAIL = 'detail' satisfies keyof RequestAuthcode3;
5428
+ export const KEY_REQUEST_AUTHCODE3_NAME = 'name' satisfies keyof RequestAuthcode3;
5429
+ export const KEY_REQUEST_AUTHCODE3_SUCCESS = 'success' satisfies keyof RequestAuthcode3;
5430
+
5431
+ export const KEYS_REQUEST_AUTHCODE3 = [
5432
+ KEY_REQUEST_AUTHCODE3_AUTH_CODE,
5433
+ KEY_REQUEST_AUTHCODE3_AUTH_CODE_EXPIRES_ON,
5434
+ KEY_REQUEST_AUTHCODE3_DETAIL,
5435
+ KEY_REQUEST_AUTHCODE3_NAME,
5436
+ KEY_REQUEST_AUTHCODE3_SUCCESS,
5437
+ ] as const satisfies (keyof RequestAuthcode3)[];
5438
+
5415
5439
  export const KEY_DOMAIN_AVAILABILITY_LIST_META = 'meta' satisfies keyof DomainAvailabilityList;
5416
5440
  export const KEY_DOMAIN_AVAILABILITY_LIST_RESULTS = 'results' satisfies keyof DomainAvailabilityList;
5417
5441
 
@@ -592,6 +592,11 @@ export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Request =
592
592
  };
593
593
  export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Request_Path = POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Request['parameters']['path'];
594
594
 
595
+ export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Request = {
596
+ parameters: operations['request_auth_code_v1_domains_tld_specific_lt__domain_reference__auth_code_request_post']['parameters'];
597
+ };
598
+ export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Request_Path = POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Request['parameters']['path'];
599
+
595
600
  export type POST_DomainsTransfer_Request = {
596
601
  requestBody: DomainTransferIn;
597
602
  };
@@ -92,6 +92,7 @@ import type {
92
92
  PublicRoleDefinition,
93
93
  RequestAuthcode,
94
94
  RequestAuthcode2,
95
+ RequestAuthcode3,
95
96
  SetVanityNameserverSetDefaultRes,
96
97
  Tag,
97
98
  TldResponseShort,
@@ -1131,6 +1132,13 @@ export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_4
1131
1132
  export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_404 = Problem;
1132
1133
  export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
1133
1134
 
1135
+ export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_422;
1136
+
1137
+ export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode3;
1138
+ export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_400 = Problem;
1139
+ export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_404 = Problem;
1140
+ export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
1141
+
1134
1142
  export type POST_DomainsTransfer_Response = POST_DomainsTransfer_Response_201 | POST_DomainsTransfer_Response_400 | POST_DomainsTransfer_Response_403 | POST_DomainsTransfer_Response_404 | POST_DomainsTransfer_Response_409 | POST_DomainsTransfer_Response_422;
1135
1143
 
1136
1144
  export type POST_DomainsTransfer_Response_201 = Domain;
@@ -449,6 +449,7 @@ export type ReferrerStatsBucket = components['schemas']['ReferrerStatsBucket'];
449
449
  export type RegistrantChangeType = components['schemas']['RegistrantChangeType'];
450
450
  export type RegistrarContact = components['schemas']['RegistrarContact'];
451
451
  export type RegistrarDomain = components['schemas']['RegistrarDomain'];
452
+ export type RegistrarNameserver = components['schemas']['RegistrarNameserver'];
452
453
  export type RegistrarRRSet = components['schemas']['RegistrarRRSet'];
453
454
  export type RegistrarRecord = components['schemas']['RegistrarRecord'];
454
455
  export type RegistrarZone = components['schemas']['RegistrarZone'];
@@ -542,5 +543,6 @@ export type ZonesContext = components['schemas']['ZonesContext'];
542
543
  export type ZonesContextCreate = components['schemas']['ZonesContextCreate'];
543
544
  export type RequestAuthcode = components['schemas']['api__domain__tld_specific__be__models__RequestAuthcodeResponse'];
544
545
  export type RequestAuthcode2 = components['schemas']['api__domain__tld_specific__eu__models__RequestAuthcodeResponse'];
546
+ export type RequestAuthcode3 = components['schemas']['api__domain__tld_specific__lt__models__RequestAuthcodeResponse'];
545
547
  export type DomainAvailabilityList = components['schemas']['common__models__availability__datasource__DomainAvailabilityResponse'];
546
548
  export type DomainAvailabilityCheck = components['schemas']['common__models__domain__domain__DomainAvailabilityResponse'];
package/src/openapi.yaml CHANGED
@@ -11247,7 +11247,7 @@ components:
11247
11247
  nameservers:
11248
11248
  default: []
11249
11249
  items:
11250
- type: string
11250
+ $ref: '#/components/schemas/RegistrarNameserver'
11251
11251
  title: Nameservers
11252
11252
  type: array
11253
11253
  registrar:
@@ -11269,6 +11269,20 @@ components:
11269
11269
  - name
11270
11270
  title: RegistrarDomain
11271
11271
  type: object
11272
+ RegistrarNameserver:
11273
+ properties:
11274
+ hostname:
11275
+ default: ''
11276
+ title: Hostname
11277
+ type: string
11278
+ ip_addresses:
11279
+ default: []
11280
+ items:
11281
+ type: string
11282
+ title: Ip Addresses
11283
+ type: array
11284
+ title: RegistrarNameserver
11285
+ type: object
11272
11286
  RegistrarRRSet:
11273
11287
  properties:
11274
11288
  name:
@@ -13683,6 +13697,40 @@ components:
13683
13697
  - success
13684
13698
  title: RequestAuthcodeResponse
13685
13699
  type: object
13700
+ api__domain__tld_specific__lt__models__RequestAuthcodeResponse:
13701
+ properties:
13702
+ auth_code:
13703
+ anyOf:
13704
+ - type: string
13705
+ - type: 'null'
13706
+ description: The auth code returned by DOMREG
13707
+ title: Auth Code
13708
+ auth_code_expires_on:
13709
+ anyOf:
13710
+ - format: date-time
13711
+ type: string
13712
+ - type: 'null'
13713
+ description: The expiry date of the auth code
13714
+ title: Auth Code Expires On
13715
+ detail:
13716
+ anyOf:
13717
+ - type: string
13718
+ - type: 'null'
13719
+ description: Additional information about the result in case of failure
13720
+ title: Detail
13721
+ name:
13722
+ description: The domain name that had the auth code requested
13723
+ title: Name
13724
+ type: string
13725
+ success:
13726
+ description: Whether the request had a successful result from DOMREG
13727
+ title: Success
13728
+ type: boolean
13729
+ required:
13730
+ - name
13731
+ - success
13732
+ title: RequestAuthcodeResponse
13733
+ type: object
13686
13734
  common__models__availability__datasource__DomainAvailabilityResponse:
13687
13735
  properties:
13688
13736
  meta:
@@ -13818,7 +13866,7 @@ info:
13818
13866
  \n\n"
13819
13867
  summary: OpusDNS - your gateway to a seamless domain management experience.
13820
13868
  title: OpusDNS API
13821
- version: 2026-07-10-171816
13869
+ version: 2026-07-14-104145
13822
13870
  x-logo:
13823
13871
  altText: OpusDNS API Reference
13824
13872
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -22041,6 +22089,72 @@ paths:
22041
22089
  - domain_tld_specific
22042
22090
  x-required-permissions:
22043
22091
  - domains:manage
22092
+ /v1/domains/tld-specific/lt/{domain_reference}/auth_code/request:
22093
+ post:
22094
+ operationId: request_auth_code_v1_domains_tld_specific_lt__domain_reference__auth_code_request_post
22095
+ parameters:
22096
+ - in: path
22097
+ name: domain_reference
22098
+ required: true
22099
+ schema:
22100
+ anyOf:
22101
+ - examples:
22102
+ - domain_01h45ytscbebyvny4gc8cr8ma2
22103
+ format: typeid
22104
+ pattern: ^domain_[0-7][0-9a-hjkmnpq-tv-z]{25}$
22105
+ type: string
22106
+ x-typeid-prefix: domain
22107
+ - type: string
22108
+ title: Domain Reference
22109
+ responses:
22110
+ '200':
22111
+ content:
22112
+ application/json:
22113
+ schema:
22114
+ $ref: '#/components/schemas/api__domain__tld_specific__lt__models__RequestAuthcodeResponse'
22115
+ description: Successful Response
22116
+ '400':
22117
+ content:
22118
+ application/problem+json:
22119
+ example:
22120
+ code: ERROR_DOMAIN_TRANSFER
22121
+ detail: There was an error transferring the domain
22122
+ domain_name: Additional error context.
22123
+ reason: An unspecified error occurred
22124
+ status: 400
22125
+ title: Domain Transfer Error
22126
+ type: domain-transfer
22127
+ schema:
22128
+ $ref: '#/components/schemas/Problem'
22129
+ description: Bad Request
22130
+ '404':
22131
+ content:
22132
+ application/problem+json:
22133
+ example:
22134
+ code: ERROR_DOMAIN_NOT_FOUND
22135
+ detail: Domain not found
22136
+ domain_name: Additional error context.
22137
+ status: 404
22138
+ title: Domain Management Error
22139
+ type: domain-not-found
22140
+ schema:
22141
+ $ref: '#/components/schemas/Problem'
22142
+ description: Not Found
22143
+ '422':
22144
+ content:
22145
+ application/problem+json:
22146
+ schema:
22147
+ $ref: '#/components/schemas/HTTPValidationError'
22148
+ description: Validation Error
22149
+ security:
22150
+ - OAuth2PasswordBearer: []
22151
+ - APIKeyHeader: []
22152
+ summary: Requests your auth code directly from DOMREG (registry)
22153
+ tags:
22154
+ - domain
22155
+ - domain_tld_specific
22156
+ x-required-permissions:
22157
+ - domains:manage
22044
22158
  /v1/domains/transfer:
22045
22159
  post:
22046
22160
  description: 'Start the transfer process for a domain <br>
package/src/schema.d.ts CHANGED
@@ -1236,6 +1236,23 @@ export interface paths {
1236
1236
  patch?: never;
1237
1237
  trace?: never;
1238
1238
  };
1239
+ "/v1/domains/tld-specific/lt/{domain_reference}/auth_code/request": {
1240
+ parameters: {
1241
+ query?: never;
1242
+ header?: never;
1243
+ path?: never;
1244
+ cookie?: never;
1245
+ };
1246
+ get?: never;
1247
+ put?: never;
1248
+ /** Requests your auth code directly from DOMREG (registry) */
1249
+ post: operations["request_auth_code_v1_domains_tld_specific_lt__domain_reference__auth_code_request_post"];
1250
+ delete?: never;
1251
+ options?: never;
1252
+ head?: never;
1253
+ patch?: never;
1254
+ trace?: never;
1255
+ };
1239
1256
  "/v1/domains/transfer": {
1240
1257
  parameters: {
1241
1258
  query?: never;
@@ -10128,7 +10145,7 @@ export interface components {
10128
10145
  * Nameservers
10129
10146
  * @default []
10130
10147
  */
10131
- nameservers: string[];
10148
+ nameservers: components["schemas"]["RegistrarNameserver"][];
10132
10149
  /** Registrar */
10133
10150
  registrar?: string | null;
10134
10151
  /**
@@ -10138,6 +10155,19 @@ export interface components {
10138
10155
  statuses: string[];
10139
10156
  zone?: components["schemas"]["RegistrarZone"] | null;
10140
10157
  };
10158
+ /** RegistrarNameserver */
10159
+ RegistrarNameserver: {
10160
+ /**
10161
+ * Hostname
10162
+ * @default
10163
+ */
10164
+ hostname: string;
10165
+ /**
10166
+ * Ip Addresses
10167
+ * @default []
10168
+ */
10169
+ ip_addresses: string[];
10170
+ };
10141
10171
  /** RegistrarRRSet */
10142
10172
  RegistrarRRSet: {
10143
10173
  /** Name */
@@ -11838,6 +11868,34 @@ export interface components {
11838
11868
  */
11839
11869
  success: boolean;
11840
11870
  };
11871
+ /** RequestAuthcodeResponse */
11872
+ api__domain__tld_specific__lt__models__RequestAuthcodeResponse: {
11873
+ /**
11874
+ * Auth Code
11875
+ * @description The auth code returned by DOMREG
11876
+ */
11877
+ auth_code?: string | null;
11878
+ /**
11879
+ * Auth Code Expires On
11880
+ * @description The expiry date of the auth code
11881
+ */
11882
+ auth_code_expires_on?: Date | null;
11883
+ /**
11884
+ * Detail
11885
+ * @description Additional information about the result in case of failure
11886
+ */
11887
+ detail?: string | null;
11888
+ /**
11889
+ * Name
11890
+ * @description The domain name that had the auth code requested
11891
+ */
11892
+ name: string;
11893
+ /**
11894
+ * Success
11895
+ * @description Whether the request had a successful result from DOMREG
11896
+ */
11897
+ success: boolean;
11898
+ };
11841
11899
  /** DomainAvailabilityResponse */
11842
11900
  common__models__availability__datasource__DomainAvailabilityResponse: {
11843
11901
  meta: components["schemas"]["DomainAvailabilityMeta"];
@@ -17647,6 +17705,72 @@ export interface operations {
17647
17705
  };
17648
17706
  };
17649
17707
  };
17708
+ request_auth_code_v1_domains_tld_specific_lt__domain_reference__auth_code_request_post: {
17709
+ parameters: {
17710
+ query?: never;
17711
+ header?: never;
17712
+ path: {
17713
+ domain_reference: TypeId<"domain"> | string;
17714
+ };
17715
+ cookie?: never;
17716
+ };
17717
+ requestBody?: never;
17718
+ responses: {
17719
+ /** @description Successful Response */
17720
+ 200: {
17721
+ headers: {
17722
+ [name: string]: unknown;
17723
+ };
17724
+ content: {
17725
+ "application/json": components["schemas"]["api__domain__tld_specific__lt__models__RequestAuthcodeResponse"];
17726
+ };
17727
+ };
17728
+ /** @description Bad Request */
17729
+ 400: {
17730
+ headers: {
17731
+ [name: string]: unknown;
17732
+ };
17733
+ content: {
17734
+ /** @example {
17735
+ * "code": "ERROR_DOMAIN_TRANSFER",
17736
+ * "detail": "There was an error transferring the domain",
17737
+ * "domain_name": "Additional error context.",
17738
+ * "reason": "An unspecified error occurred",
17739
+ * "status": 400,
17740
+ * "title": "Domain Transfer Error",
17741
+ * "type": "domain-transfer"
17742
+ * } */
17743
+ "application/problem+json": components["schemas"]["Problem"];
17744
+ };
17745
+ };
17746
+ /** @description Not Found */
17747
+ 404: {
17748
+ headers: {
17749
+ [name: string]: unknown;
17750
+ };
17751
+ content: {
17752
+ /** @example {
17753
+ * "code": "ERROR_DOMAIN_NOT_FOUND",
17754
+ * "detail": "Domain not found",
17755
+ * "domain_name": "Additional error context.",
17756
+ * "status": 404,
17757
+ * "title": "Domain Management Error",
17758
+ * "type": "domain-not-found"
17759
+ * } */
17760
+ "application/problem+json": components["schemas"]["Problem"];
17761
+ };
17762
+ };
17763
+ /** @description Validation Error */
17764
+ 422: {
17765
+ headers: {
17766
+ [name: string]: unknown;
17767
+ };
17768
+ content: {
17769
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
17770
+ };
17771
+ };
17772
+ };
17773
+ };
17650
17774
  transfer_domain_v1_domains_transfer_post: {
17651
17775
  parameters: {
17652
17776
  query?: never;