@opusdns/api 1.49.0 → 1.51.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 +1 -1
- package/src/helpers/constants.ts +4 -0
- package/src/helpers/keys.ts +0 -19
- package/src/helpers/schemas.d.ts +0 -1
- package/src/openapi.yaml +3 -40
- package/src/schema.d.ts +1 -32
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -1510,6 +1510,8 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
|
|
|
1510
1510
|
SK_NIC_IDENT_VALUE: "SK_NIC_IDENT_VALUE",
|
|
1511
1511
|
NIC_LV_REG_NR: "NIC_LV_REG_NR",
|
|
1512
1512
|
NIC_LV_VAT_NR: "NIC_LV_VAT_NR",
|
|
1513
|
+
DOMREG_LT_CONTACT_ROLE: "DOMREG_LT_CONTACT_ROLE",
|
|
1514
|
+
DOMREG_LT_ORG_CODE: "DOMREG_LT_ORG_CODE",
|
|
1513
1515
|
} as const satisfies Record<string, RegistryHandleAttributeType>;
|
|
1514
1516
|
|
|
1515
1517
|
export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
|
|
@@ -1561,6 +1563,8 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
|
|
|
1561
1563
|
'SK_NIC_IDENT_VALUE',
|
|
1562
1564
|
'NIC_LV_REG_NR',
|
|
1563
1565
|
'NIC_LV_VAT_NR',
|
|
1566
|
+
'DOMREG_LT_CONTACT_ROLE',
|
|
1567
|
+
'DOMREG_LT_ORG_CODE',
|
|
1564
1568
|
] as const satisfies ReadonlyArray<RegistryHandleAttributeType>;
|
|
1565
1569
|
|
|
1566
1570
|
export const RENEWAL_MODE = {
|
package/src/helpers/keys.ts
CHANGED
|
@@ -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,
|
|
@@ -433,22 +432,6 @@ export const KEYS_BILLING_METADATA = [
|
|
|
433
432
|
KEY_BILLING_METADATA_CUSTOMER_NUMBER,
|
|
434
433
|
] as const satisfies (keyof BillingMetadata)[];
|
|
435
434
|
|
|
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
435
|
export const KEY_BILLING_TRANSACTION_ACTION = 'action' satisfies keyof BillingTransaction;
|
|
453
436
|
export const KEY_BILLING_TRANSACTION_AMOUNT = 'amount' satisfies keyof BillingTransaction;
|
|
454
437
|
export const KEY_BILLING_TRANSACTION_BILLING_TRANSACTION_ID = 'billing_transaction_id' satisfies keyof BillingTransaction;
|
|
@@ -4002,7 +3985,6 @@ export const KEYS_ORGANIZATION_UPDATE = [
|
|
|
4002
3985
|
] as const satisfies (keyof OrganizationUpdate)[];
|
|
4003
3986
|
|
|
4004
3987
|
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
3988
|
export const KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_1 = 'address_1' satisfies keyof OrganizationWithBillingData;
|
|
4007
3989
|
export const KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_2 = 'address_2' satisfies keyof OrganizationWithBillingData;
|
|
4008
3990
|
export const KEY_ORGANIZATION_WITH_BILLING_DATA_ATTRIBUTES = 'attributes' satisfies keyof OrganizationWithBillingData;
|
|
@@ -4029,7 +4011,6 @@ export const KEY_ORGANIZATION_WITH_BILLING_DATA_USERS = 'users' satisfies keyof
|
|
|
4029
4011
|
|
|
4030
4012
|
export const KEYS_ORGANIZATION_WITH_BILLING_DATA = [
|
|
4031
4013
|
KEY_ORGANIZATION_WITH_BILLING_DATA_ACCOUNT_BALANCE,
|
|
4032
|
-
KEY_ORGANIZATION_WITH_BILLING_DATA_ACTIVE_PLAN,
|
|
4033
4014
|
KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_1,
|
|
4034
4015
|
KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_2,
|
|
4035
4016
|
KEY_ORGANIZATION_WITH_BILLING_DATA_ATTRIBUTES,
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -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'];
|
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
|
|
@@ -11411,6 +11372,8 @@ components:
|
|
|
11411
11372
|
- SK_NIC_IDENT_VALUE
|
|
11412
11373
|
- NIC_LV_REG_NR
|
|
11413
11374
|
- NIC_LV_VAT_NR
|
|
11375
|
+
- DOMREG_LT_CONTACT_ROLE
|
|
11376
|
+
- DOMREG_LT_ORG_CODE
|
|
11414
11377
|
title: RegistryHandleAttributeType
|
|
11415
11378
|
type: string
|
|
11416
11379
|
RegistryLockBase:
|
|
@@ -13855,7 +13818,7 @@ info:
|
|
|
13855
13818
|
\n\n"
|
|
13856
13819
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
13857
13820
|
title: OpusDNS API
|
|
13858
|
-
version: 2026-07-
|
|
13821
|
+
version: 2026-07-10-171816
|
|
13859
13822
|
x-logo:
|
|
13860
13823
|
altText: OpusDNS API Reference
|
|
13861
13824
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -2795,36 +2795,6 @@ export interface components {
|
|
|
2795
2795
|
* @enum {string}
|
|
2796
2796
|
*/
|
|
2797
2797
|
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
2798
|
/**
|
|
2829
2799
|
* BillingTransactionAction
|
|
2830
2800
|
* @enum {string}
|
|
@@ -9098,7 +9068,6 @@ export interface components {
|
|
|
9098
9068
|
OrganizationWithBillingData: {
|
|
9099
9069
|
/** Account Balance */
|
|
9100
9070
|
account_balance?: string | null;
|
|
9101
|
-
active_plan?: components["schemas"]["BillingPlan"];
|
|
9102
9071
|
/**
|
|
9103
9072
|
* Address 1
|
|
9104
9073
|
* @description First line of the organization's address.
|
|
@@ -10205,7 +10174,7 @@ export interface components {
|
|
|
10205
10174
|
* @description Registry handle attribute types for type-safe attribute key access.
|
|
10206
10175
|
* @enum {string}
|
|
10207
10176
|
*/
|
|
10208
|
-
RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "DE_GENERAL_REQUEST_URI_TEMPLATE" | "DE_ABUSE_URI_TEMPLATE" | "dnsbe:type" | "eurid:type" | "AFNIC_CONTACT_TYPE" | "AFNIC_PP_FIRST_NAME" | "AFNIC_PM_LEGAL_STATUS" | "AFNIC_PM_SIREN" | "AFNIC_PM_VAT" | "AFNIC_PM_TRADEMARK" | "AFNIC_PM_ASSOC_WALDEC" | "AFNIC_PM_ASSOC_PUBL_DATE" | "AFNIC_PM_ASSOC_PUBL_ANNOUNCE" | "AFNIC_PM_ASSOC_PUBL_PAGE" | "AFNIC_PM_ASSOC_DECL" | "AFNIC_PM_DUNS" | "AFNIC_PM_LOCAL" | "AFNIC_ID_STATUS" | "AFNIC_REACHABLE_MEDIA" | "AFNIC_REACHABLE_STATUS" | "AFNIC_RESTRICTED_PUBLICATION" | "ROTLD_CONTACT_TYPE" | "ROTLD_CNP_FISCAL_CODE" | "ROTLD_ID_NUMBER" | "ROTLD_REGISTRATION_NUMBER" | "ROTLD_DOMAIN_NAME" | "NOMINET_CONTACT_TYPE" | "NOMINET_CO_NO" | "NOMINET_TRAD_NAME" | "CIRA_CPR" | "SIDN_LEGAL_FORM" | "SIDN_LEGAL_REG_NO" | "US_NEXUS_CATEGORY" | "US_NEXUS_COUNTRY_CODE" | "US_APP_PURPOSE" | "NIC_IT_ENTITY_TYPE" | "NIC_IT_REG_CODE" | "CZ_NIC_IDENT_TYPE" | "CZ_NIC_IDENT_VALUE" | "CZ_NIC_VAT" | "CZ_NIC_NOTIFY_EMAIL" | "DNS_LU_CONTACT_ROLE" | "SK_NIC_LEGAL_FORM" | "SK_NIC_IDENT_VALUE" | "NIC_LV_REG_NR" | "NIC_LV_VAT_NR";
|
|
10177
|
+
RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "DE_GENERAL_REQUEST_URI_TEMPLATE" | "DE_ABUSE_URI_TEMPLATE" | "dnsbe:type" | "eurid:type" | "AFNIC_CONTACT_TYPE" | "AFNIC_PP_FIRST_NAME" | "AFNIC_PM_LEGAL_STATUS" | "AFNIC_PM_SIREN" | "AFNIC_PM_VAT" | "AFNIC_PM_TRADEMARK" | "AFNIC_PM_ASSOC_WALDEC" | "AFNIC_PM_ASSOC_PUBL_DATE" | "AFNIC_PM_ASSOC_PUBL_ANNOUNCE" | "AFNIC_PM_ASSOC_PUBL_PAGE" | "AFNIC_PM_ASSOC_DECL" | "AFNIC_PM_DUNS" | "AFNIC_PM_LOCAL" | "AFNIC_ID_STATUS" | "AFNIC_REACHABLE_MEDIA" | "AFNIC_REACHABLE_STATUS" | "AFNIC_RESTRICTED_PUBLICATION" | "ROTLD_CONTACT_TYPE" | "ROTLD_CNP_FISCAL_CODE" | "ROTLD_ID_NUMBER" | "ROTLD_REGISTRATION_NUMBER" | "ROTLD_DOMAIN_NAME" | "NOMINET_CONTACT_TYPE" | "NOMINET_CO_NO" | "NOMINET_TRAD_NAME" | "CIRA_CPR" | "SIDN_LEGAL_FORM" | "SIDN_LEGAL_REG_NO" | "US_NEXUS_CATEGORY" | "US_NEXUS_COUNTRY_CODE" | "US_APP_PURPOSE" | "NIC_IT_ENTITY_TYPE" | "NIC_IT_REG_CODE" | "CZ_NIC_IDENT_TYPE" | "CZ_NIC_IDENT_VALUE" | "CZ_NIC_VAT" | "CZ_NIC_NOTIFY_EMAIL" | "DNS_LU_CONTACT_ROLE" | "SK_NIC_LEGAL_FORM" | "SK_NIC_IDENT_VALUE" | "NIC_LV_REG_NR" | "NIC_LV_VAT_NR" | "DOMREG_LT_CONTACT_ROLE" | "DOMREG_LT_ORG_CODE";
|
|
10209
10178
|
/** RegistryLockBase */
|
|
10210
10179
|
RegistryLockBase: {
|
|
10211
10180
|
/**
|