@opusdns/api 1.50.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/keys.ts +0 -19
- package/src/helpers/schemas.d.ts +0 -1
- package/src/openapi.yaml +1 -40
- package/src/schema.d.ts +0 -31
package/package.json
CHANGED
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
|
|
@@ -13857,7 +13818,7 @@ info:
|
|
|
13857
13818
|
\n\n"
|
|
13858
13819
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
13859
13820
|
title: OpusDNS API
|
|
13860
|
-
version: 2026-07-10-
|
|
13821
|
+
version: 2026-07-10-171816
|
|
13861
13822
|
x-logo:
|
|
13862
13823
|
altText: OpusDNS API Reference
|
|
13863
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.
|