@opusdns/api 1.50.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.50.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",
@@ -2,7 +2,6 @@ import type {
2
2
  AllowedNumberOfNameserverBase,
3
3
  AttributeCondition,
4
4
  BillingMetadata,
5
- BillingPlan,
6
5
  BillingTransaction,
7
6
  BrowserStatsBucket,
8
7
  BulkObjectTagChanges,
@@ -401,6 +400,7 @@ import type {
401
400
  ZonesContextCreate,
402
401
  RequestAuthcode,
403
402
  RequestAuthcode2,
403
+ RequestAuthcode3,
404
404
  DomainAvailabilityList,
405
405
  DomainAvailabilityCheck,
406
406
  } from './schemas';
@@ -433,22 +433,6 @@ export const KEYS_BILLING_METADATA = [
433
433
  KEY_BILLING_METADATA_CUSTOMER_NUMBER,
434
434
  ] as const satisfies (keyof BillingMetadata)[];
435
435
 
436
- export const KEY_BILLING_PLAN_AMOUNT = 'amount' satisfies keyof BillingPlan;
437
- export const KEY_BILLING_PLAN_CURRENCY = 'currency' satisfies keyof BillingPlan;
438
- export const KEY_BILLING_PLAN_NAME = 'name' satisfies keyof BillingPlan;
439
- export const KEY_BILLING_PLAN_PLAN_ID = 'plan_id' satisfies keyof BillingPlan;
440
- export const KEY_BILLING_PLAN_PLAN_LEVEL = 'plan_level' satisfies keyof BillingPlan;
441
- export const KEY_BILLING_PLAN_TYPE = 'type' satisfies keyof BillingPlan;
442
-
443
- export const KEYS_BILLING_PLAN = [
444
- KEY_BILLING_PLAN_AMOUNT,
445
- KEY_BILLING_PLAN_CURRENCY,
446
- KEY_BILLING_PLAN_NAME,
447
- KEY_BILLING_PLAN_PLAN_ID,
448
- KEY_BILLING_PLAN_PLAN_LEVEL,
449
- KEY_BILLING_PLAN_TYPE,
450
- ] as const satisfies (keyof BillingPlan)[];
451
-
452
436
  export const KEY_BILLING_TRANSACTION_ACTION = 'action' satisfies keyof BillingTransaction;
453
437
  export const KEY_BILLING_TRANSACTION_AMOUNT = 'amount' satisfies keyof BillingTransaction;
454
438
  export const KEY_BILLING_TRANSACTION_BILLING_TRANSACTION_ID = 'billing_transaction_id' satisfies keyof BillingTransaction;
@@ -4002,7 +3986,6 @@ export const KEYS_ORGANIZATION_UPDATE = [
4002
3986
  ] as const satisfies (keyof OrganizationUpdate)[];
4003
3987
 
4004
3988
  export const KEY_ORGANIZATION_WITH_BILLING_DATA_ACCOUNT_BALANCE = 'account_balance' satisfies keyof OrganizationWithBillingData;
4005
- export const KEY_ORGANIZATION_WITH_BILLING_DATA_ACTIVE_PLAN = 'active_plan' satisfies keyof OrganizationWithBillingData;
4006
3989
  export const KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_1 = 'address_1' satisfies keyof OrganizationWithBillingData;
4007
3990
  export const KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_2 = 'address_2' satisfies keyof OrganizationWithBillingData;
4008
3991
  export const KEY_ORGANIZATION_WITH_BILLING_DATA_ATTRIBUTES = 'attributes' satisfies keyof OrganizationWithBillingData;
@@ -4029,7 +4012,6 @@ export const KEY_ORGANIZATION_WITH_BILLING_DATA_USERS = 'users' satisfies keyof
4029
4012
 
4030
4013
  export const KEYS_ORGANIZATION_WITH_BILLING_DATA = [
4031
4014
  KEY_ORGANIZATION_WITH_BILLING_DATA_ACCOUNT_BALANCE,
4032
- KEY_ORGANIZATION_WITH_BILLING_DATA_ACTIVE_PLAN,
4033
4015
  KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_1,
4034
4016
  KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_2,
4035
4017
  KEY_ORGANIZATION_WITH_BILLING_DATA_ATTRIBUTES,
@@ -5431,6 +5413,20 @@ export const KEYS_REQUEST_AUTHCODE2 = [
5431
5413
  KEY_REQUEST_AUTHCODE2_SUCCESS,
5432
5414
  ] as const satisfies (keyof RequestAuthcode2)[];
5433
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
+
5434
5430
  export const KEY_DOMAIN_AVAILABILITY_LIST_META = 'meta' satisfies keyof DomainAvailabilityList;
5435
5431
  export const KEY_DOMAIN_AVAILABILITY_LIST_RESULTS = 'results' satisfies keyof DomainAvailabilityList;
5436
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;
@@ -9,7 +9,6 @@ export type BatchSortField = components['schemas']['BatchSortField'];
9
9
  export type BatchStatus = components['schemas']['BatchStatus'];
10
10
  export type BillingMetadata = components['schemas']['BillingMetadata'];
11
11
  export type BillingMode = components['schemas']['BillingMode'];
12
- export type BillingPlan = components['schemas']['BillingPlan'];
13
12
  export type BillingTransactionAction = components['schemas']['BillingTransactionAction'];
14
13
  export type BillingTransactionProductType = components['schemas']['BillingTransactionProductType'];
15
14
  export type BillingTransaction = components['schemas']['BillingTransactionResponse'];
@@ -543,5 +542,6 @@ export type ZonesContext = components['schemas']['ZonesContext'];
543
542
  export type ZonesContextCreate = components['schemas']['ZonesContextCreate'];
544
543
  export type RequestAuthcode = components['schemas']['api__domain__tld_specific__be__models__RequestAuthcodeResponse'];
545
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'];
546
546
  export type DomainAvailabilityList = components['schemas']['common__models__availability__datasource__DomainAvailabilityResponse'];
547
547
  export type DomainAvailabilityCheck = components['schemas']['common__models__domain__domain__DomainAvailabilityResponse'];
package/src/openapi.yaml CHANGED
@@ -106,43 +106,6 @@ components:
106
106
  - independent
107
107
  title: BillingMode
108
108
  type: string
109
- BillingPlan:
110
- properties:
111
- amount:
112
- description: Price of the billing plan.
113
- title: Amount
114
- type: string
115
- currency:
116
- anyOf:
117
- - $ref: '#/components/schemas/Currency'
118
- - type: 'null'
119
- description: Currency of the billing plan.
120
- name:
121
- anyOf:
122
- - type: string
123
- - type: 'null'
124
- description: Name of the billing plan.
125
- title: Name
126
- plan_id:
127
- anyOf:
128
- - type: string
129
- - type: 'null'
130
- description: Billing plan ID for the organization.
131
- title: Plan Id
132
- plan_level:
133
- anyOf:
134
- - type: string
135
- - type: 'null'
136
- description: Plan level such as 'basic', 'premium' or 'enterprise'.
137
- title: Plan Level
138
- type:
139
- anyOf:
140
- - type: string
141
- - type: 'null'
142
- description: Plan type or billing interval.
143
- title: Type
144
- title: BillingPlan
145
- type: object
146
109
  BillingTransactionAction:
147
110
  enum:
148
111
  - create
@@ -9611,8 +9574,6 @@ components:
9611
9574
  type: string
9612
9575
  - type: 'null'
9613
9576
  title: Account Balance
9614
- active_plan:
9615
- $ref: '#/components/schemas/BillingPlan'
9616
9577
  address_1:
9617
9578
  anyOf:
9618
9579
  - maxLength: 255
@@ -13722,6 +13683,40 @@ components:
13722
13683
  - success
13723
13684
  title: RequestAuthcodeResponse
13724
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
13725
13720
  common__models__availability__datasource__DomainAvailabilityResponse:
13726
13721
  properties:
13727
13722
  meta:
@@ -13857,7 +13852,7 @@ info:
13857
13852
  \n\n"
13858
13853
  summary: OpusDNS - your gateway to a seamless domain management experience.
13859
13854
  title: OpusDNS API
13860
- version: 2026-07-10-154828
13855
+ version: 2026-07-10-174839
13861
13856
  x-logo:
13862
13857
  altText: OpusDNS API Reference
13863
13858
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -22080,6 +22075,72 @@ paths:
22080
22075
  - domain_tld_specific
22081
22076
  x-required-permissions:
22082
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
22083
22144
  /v1/domains/transfer:
22084
22145
  post:
22085
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;
@@ -2795,36 +2812,6 @@ export interface components {
2795
2812
  * @enum {string}
2796
2813
  */
2797
2814
  BillingMode: "consolidated" | "independent";
2798
- /** BillingPlan */
2799
- BillingPlan: {
2800
- /**
2801
- * Amount
2802
- * @description Price of the billing plan.
2803
- */
2804
- amount?: string;
2805
- /** @description Currency of the billing plan. */
2806
- currency?: components["schemas"]["Currency"] | null;
2807
- /**
2808
- * Name
2809
- * @description Name of the billing plan.
2810
- */
2811
- name?: string | null;
2812
- /**
2813
- * Plan Id
2814
- * @description Billing plan ID for the organization.
2815
- */
2816
- plan_id?: string | null;
2817
- /**
2818
- * Plan Level
2819
- * @description Plan level such as 'basic', 'premium' or 'enterprise'.
2820
- */
2821
- plan_level?: string | null;
2822
- /**
2823
- * Type
2824
- * @description Plan type or billing interval.
2825
- */
2826
- type?: string | null;
2827
- };
2828
2815
  /**
2829
2816
  * BillingTransactionAction
2830
2817
  * @enum {string}
@@ -9098,7 +9085,6 @@ export interface components {
9098
9085
  OrganizationWithBillingData: {
9099
9086
  /** Account Balance */
9100
9087
  account_balance?: string | null;
9101
- active_plan?: components["schemas"]["BillingPlan"];
9102
9088
  /**
9103
9089
  * Address 1
9104
9090
  * @description First line of the organization's address.
@@ -11869,6 +11855,34 @@ export interface components {
11869
11855
  */
11870
11856
  success: boolean;
11871
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
+ };
11872
11886
  /** DomainAvailabilityResponse */
11873
11887
  common__models__availability__datasource__DomainAvailabilityResponse: {
11874
11888
  meta: components["schemas"]["DomainAvailabilityMeta"];
@@ -17678,6 +17692,72 @@ export interface operations {
17678
17692
  };
17679
17693
  };
17680
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
+ };
17681
17761
  transfer_domain_v1_domains_transfer_post: {
17682
17762
  parameters: {
17683
17763
  query?: never;