@opusdns/api 1.51.0 → 1.52.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.52.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -400,6 +400,7 @@ import type {
400
400
  ZonesContextCreate,
401
401
  RequestAuthcode,
402
402
  RequestAuthcode2,
403
+ RequestAuthcode3,
403
404
  DomainAvailabilityList,
404
405
  DomainAvailabilityCheck,
405
406
  } from './schemas';
@@ -5412,6 +5413,20 @@ export const KEYS_REQUEST_AUTHCODE2 = [
5412
5413
  KEY_REQUEST_AUTHCODE2_SUCCESS,
5413
5414
  ] as const satisfies (keyof RequestAuthcode2)[];
5414
5415
 
5416
+ export const KEY_REQUEST_AUTHCODE3_AUTH_CODE = 'auth_code' satisfies keyof RequestAuthcode3;
5417
+ export const KEY_REQUEST_AUTHCODE3_AUTH_CODE_EXPIRES_ON = 'auth_code_expires_on' satisfies keyof RequestAuthcode3;
5418
+ export const KEY_REQUEST_AUTHCODE3_DETAIL = 'detail' satisfies keyof RequestAuthcode3;
5419
+ export const KEY_REQUEST_AUTHCODE3_NAME = 'name' satisfies keyof RequestAuthcode3;
5420
+ export const KEY_REQUEST_AUTHCODE3_SUCCESS = 'success' satisfies keyof RequestAuthcode3;
5421
+
5422
+ export const KEYS_REQUEST_AUTHCODE3 = [
5423
+ KEY_REQUEST_AUTHCODE3_AUTH_CODE,
5424
+ KEY_REQUEST_AUTHCODE3_AUTH_CODE_EXPIRES_ON,
5425
+ KEY_REQUEST_AUTHCODE3_DETAIL,
5426
+ KEY_REQUEST_AUTHCODE3_NAME,
5427
+ KEY_REQUEST_AUTHCODE3_SUCCESS,
5428
+ ] as const satisfies (keyof RequestAuthcode3)[];
5429
+
5415
5430
  export const KEY_DOMAIN_AVAILABILITY_LIST_META = 'meta' satisfies keyof DomainAvailabilityList;
5416
5431
  export const KEY_DOMAIN_AVAILABILITY_LIST_RESULTS = 'results' satisfies keyof DomainAvailabilityList;
5417
5432
 
@@ -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;
@@ -542,5 +542,6 @@ export type ZonesContext = components['schemas']['ZonesContext'];
542
542
  export type ZonesContextCreate = components['schemas']['ZonesContextCreate'];
543
543
  export type RequestAuthcode = components['schemas']['api__domain__tld_specific__be__models__RequestAuthcodeResponse'];
544
544
  export type RequestAuthcode2 = components['schemas']['api__domain__tld_specific__eu__models__RequestAuthcodeResponse'];
545
+ export type RequestAuthcode3 = components['schemas']['api__domain__tld_specific__lt__models__RequestAuthcodeResponse'];
545
546
  export type DomainAvailabilityList = components['schemas']['common__models__availability__datasource__DomainAvailabilityResponse'];
546
547
  export type DomainAvailabilityCheck = components['schemas']['common__models__domain__domain__DomainAvailabilityResponse'];
package/src/openapi.yaml CHANGED
@@ -13683,6 +13683,40 @@ components:
13683
13683
  - success
13684
13684
  title: RequestAuthcodeResponse
13685
13685
  type: object
13686
+ api__domain__tld_specific__lt__models__RequestAuthcodeResponse:
13687
+ properties:
13688
+ auth_code:
13689
+ anyOf:
13690
+ - type: string
13691
+ - type: 'null'
13692
+ description: The auth code returned by DOMREG
13693
+ title: Auth Code
13694
+ auth_code_expires_on:
13695
+ anyOf:
13696
+ - format: date-time
13697
+ type: string
13698
+ - type: 'null'
13699
+ description: The expiry date of the auth code
13700
+ title: Auth Code Expires On
13701
+ detail:
13702
+ anyOf:
13703
+ - type: string
13704
+ - type: 'null'
13705
+ description: Additional information about the result in case of failure
13706
+ title: Detail
13707
+ name:
13708
+ description: The domain name that had the auth code requested
13709
+ title: Name
13710
+ type: string
13711
+ success:
13712
+ description: Whether the request had a successful result from DOMREG
13713
+ title: Success
13714
+ type: boolean
13715
+ required:
13716
+ - name
13717
+ - success
13718
+ title: RequestAuthcodeResponse
13719
+ type: object
13686
13720
  common__models__availability__datasource__DomainAvailabilityResponse:
13687
13721
  properties:
13688
13722
  meta:
@@ -13818,7 +13852,7 @@ info:
13818
13852
  \n\n"
13819
13853
  summary: OpusDNS - your gateway to a seamless domain management experience.
13820
13854
  title: OpusDNS API
13821
- version: 2026-07-10-171816
13855
+ version: 2026-07-10-174839
13822
13856
  x-logo:
13823
13857
  altText: OpusDNS API Reference
13824
13858
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -22041,6 +22075,72 @@ paths:
22041
22075
  - domain_tld_specific
22042
22076
  x-required-permissions:
22043
22077
  - domains:manage
22078
+ /v1/domains/tld-specific/lt/{domain_reference}/auth_code/request:
22079
+ post:
22080
+ operationId: request_auth_code_v1_domains_tld_specific_lt__domain_reference__auth_code_request_post
22081
+ parameters:
22082
+ - in: path
22083
+ name: domain_reference
22084
+ required: true
22085
+ schema:
22086
+ anyOf:
22087
+ - examples:
22088
+ - domain_01h45ytscbebyvny4gc8cr8ma2
22089
+ format: typeid
22090
+ pattern: ^domain_[0-7][0-9a-hjkmnpq-tv-z]{25}$
22091
+ type: string
22092
+ x-typeid-prefix: domain
22093
+ - type: string
22094
+ title: Domain Reference
22095
+ responses:
22096
+ '200':
22097
+ content:
22098
+ application/json:
22099
+ schema:
22100
+ $ref: '#/components/schemas/api__domain__tld_specific__lt__models__RequestAuthcodeResponse'
22101
+ description: Successful Response
22102
+ '400':
22103
+ content:
22104
+ application/problem+json:
22105
+ example:
22106
+ code: ERROR_DOMAIN_TRANSFER
22107
+ detail: There was an error transferring the domain
22108
+ domain_name: Additional error context.
22109
+ reason: An unspecified error occurred
22110
+ status: 400
22111
+ title: Domain Transfer Error
22112
+ type: domain-transfer
22113
+ schema:
22114
+ $ref: '#/components/schemas/Problem'
22115
+ description: Bad Request
22116
+ '404':
22117
+ content:
22118
+ application/problem+json:
22119
+ example:
22120
+ code: ERROR_DOMAIN_NOT_FOUND
22121
+ detail: Domain not found
22122
+ domain_name: Additional error context.
22123
+ status: 404
22124
+ title: Domain Management Error
22125
+ type: domain-not-found
22126
+ schema:
22127
+ $ref: '#/components/schemas/Problem'
22128
+ description: Not Found
22129
+ '422':
22130
+ content:
22131
+ application/problem+json:
22132
+ schema:
22133
+ $ref: '#/components/schemas/HTTPValidationError'
22134
+ description: Validation Error
22135
+ security:
22136
+ - OAuth2PasswordBearer: []
22137
+ - APIKeyHeader: []
22138
+ summary: Requests your auth code directly from DOMREG (registry)
22139
+ tags:
22140
+ - domain
22141
+ - domain_tld_specific
22142
+ x-required-permissions:
22143
+ - domains:manage
22044
22144
  /v1/domains/transfer:
22045
22145
  post:
22046
22146
  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;
@@ -11838,6 +11855,34 @@ export interface components {
11838
11855
  */
11839
11856
  success: boolean;
11840
11857
  };
11858
+ /** RequestAuthcodeResponse */
11859
+ api__domain__tld_specific__lt__models__RequestAuthcodeResponse: {
11860
+ /**
11861
+ * Auth Code
11862
+ * @description The auth code returned by DOMREG
11863
+ */
11864
+ auth_code?: string | null;
11865
+ /**
11866
+ * Auth Code Expires On
11867
+ * @description The expiry date of the auth code
11868
+ */
11869
+ auth_code_expires_on?: Date | null;
11870
+ /**
11871
+ * Detail
11872
+ * @description Additional information about the result in case of failure
11873
+ */
11874
+ detail?: string | null;
11875
+ /**
11876
+ * Name
11877
+ * @description The domain name that had the auth code requested
11878
+ */
11879
+ name: string;
11880
+ /**
11881
+ * Success
11882
+ * @description Whether the request had a successful result from DOMREG
11883
+ */
11884
+ success: boolean;
11885
+ };
11841
11886
  /** DomainAvailabilityResponse */
11842
11887
  common__models__availability__datasource__DomainAvailabilityResponse: {
11843
11888
  meta: components["schemas"]["DomainAvailabilityMeta"];
@@ -17647,6 +17692,72 @@ export interface operations {
17647
17692
  };
17648
17693
  };
17649
17694
  };
17695
+ request_auth_code_v1_domains_tld_specific_lt__domain_reference__auth_code_request_post: {
17696
+ parameters: {
17697
+ query?: never;
17698
+ header?: never;
17699
+ path: {
17700
+ domain_reference: TypeId<"domain"> | string;
17701
+ };
17702
+ cookie?: never;
17703
+ };
17704
+ requestBody?: never;
17705
+ responses: {
17706
+ /** @description Successful Response */
17707
+ 200: {
17708
+ headers: {
17709
+ [name: string]: unknown;
17710
+ };
17711
+ content: {
17712
+ "application/json": components["schemas"]["api__domain__tld_specific__lt__models__RequestAuthcodeResponse"];
17713
+ };
17714
+ };
17715
+ /** @description Bad Request */
17716
+ 400: {
17717
+ headers: {
17718
+ [name: string]: unknown;
17719
+ };
17720
+ content: {
17721
+ /** @example {
17722
+ * "code": "ERROR_DOMAIN_TRANSFER",
17723
+ * "detail": "There was an error transferring the domain",
17724
+ * "domain_name": "Additional error context.",
17725
+ * "reason": "An unspecified error occurred",
17726
+ * "status": 400,
17727
+ * "title": "Domain Transfer Error",
17728
+ * "type": "domain-transfer"
17729
+ * } */
17730
+ "application/problem+json": components["schemas"]["Problem"];
17731
+ };
17732
+ };
17733
+ /** @description Not Found */
17734
+ 404: {
17735
+ headers: {
17736
+ [name: string]: unknown;
17737
+ };
17738
+ content: {
17739
+ /** @example {
17740
+ * "code": "ERROR_DOMAIN_NOT_FOUND",
17741
+ * "detail": "Domain not found",
17742
+ * "domain_name": "Additional error context.",
17743
+ * "status": 404,
17744
+ * "title": "Domain Management Error",
17745
+ * "type": "domain-not-found"
17746
+ * } */
17747
+ "application/problem+json": components["schemas"]["Problem"];
17748
+ };
17749
+ };
17750
+ /** @description Validation Error */
17751
+ 422: {
17752
+ headers: {
17753
+ [name: string]: unknown;
17754
+ };
17755
+ content: {
17756
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
17757
+ };
17758
+ };
17759
+ };
17760
+ };
17650
17761
  transfer_domain_v1_domains_transfer_post: {
17651
17762
  parameters: {
17652
17763
  query?: never;