@opusdns/api 0.92.0 → 0.93.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 +8 -2
- package/src/openapi.yaml +4 -1
- package/src/schema.d.ts +2 -2
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -155,6 +155,8 @@ export const BILLING_TRANSACTION_ACTION = {
|
|
|
155
155
|
RESTORE: "restore",
|
|
156
156
|
TRADE: "trade",
|
|
157
157
|
APPLICATION: "application",
|
|
158
|
+
SERVICE_FEE: "service_fee",
|
|
159
|
+
WALLET_TOP_UP: "wallet_top_up",
|
|
158
160
|
} as const satisfies Record<string, BillingTransactionAction>;
|
|
159
161
|
|
|
160
162
|
/**
|
|
@@ -184,7 +186,9 @@ export const BILLING_TRANSACTION_ACTION_VALUES = [
|
|
|
184
186
|
'renew',
|
|
185
187
|
'restore',
|
|
186
188
|
'trade',
|
|
187
|
-
'application'
|
|
189
|
+
'application',
|
|
190
|
+
'service_fee',
|
|
191
|
+
'wallet_top_up'
|
|
188
192
|
] as const satisfies [string, ...string[]] | BillingTransactionAction[];
|
|
189
193
|
|
|
190
194
|
/**
|
|
@@ -211,6 +215,7 @@ export const BILLING_TRANSACTION_PRODUCT_TYPE = {
|
|
|
211
215
|
ZONES: "zones",
|
|
212
216
|
EMAIL_FORWARD: "email_forward",
|
|
213
217
|
DOMAIN_FORWARD: "domain_forward",
|
|
218
|
+
ACCOUNT_WALLET: "account_wallet",
|
|
214
219
|
} as const satisfies Record<string, BillingTransactionProductType>;
|
|
215
220
|
|
|
216
221
|
/**
|
|
@@ -238,7 +243,8 @@ export const BILLING_TRANSACTION_PRODUCT_TYPE_VALUES = [
|
|
|
238
243
|
'domain',
|
|
239
244
|
'zones',
|
|
240
245
|
'email_forward',
|
|
241
|
-
'domain_forward'
|
|
246
|
+
'domain_forward',
|
|
247
|
+
'account_wallet'
|
|
242
248
|
] as const satisfies [string, ...string[]] | BillingTransactionProductType[];
|
|
243
249
|
|
|
244
250
|
/**
|
package/src/openapi.yaml
CHANGED
|
@@ -92,6 +92,8 @@ components:
|
|
|
92
92
|
- restore
|
|
93
93
|
- trade
|
|
94
94
|
- application
|
|
95
|
+
- service_fee
|
|
96
|
+
- wallet_top_up
|
|
95
97
|
title: BillingTransactionAction
|
|
96
98
|
type: string
|
|
97
99
|
BillingTransactionProductType:
|
|
@@ -100,6 +102,7 @@ components:
|
|
|
100
102
|
- zones
|
|
101
103
|
- email_forward
|
|
102
104
|
- domain_forward
|
|
105
|
+
- account_wallet
|
|
103
106
|
title: BillingTransactionProductType
|
|
104
107
|
type: string
|
|
105
108
|
BillingTransactionResponse:
|
|
@@ -5108,7 +5111,7 @@ info:
|
|
|
5108
5111
|
'
|
|
5109
5112
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5110
5113
|
title: OpusDNS API
|
|
5111
|
-
version: 2025-
|
|
5114
|
+
version: 2025-11-12-143559
|
|
5112
5115
|
x-logo:
|
|
5113
5116
|
altText: OpusDNS API Reference
|
|
5114
5117
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -1273,12 +1273,12 @@ export interface components {
|
|
|
1273
1273
|
* BillingTransactionAction
|
|
1274
1274
|
* @enum {string}
|
|
1275
1275
|
*/
|
|
1276
|
-
BillingTransactionAction: "create" | "transfer" | "renew" | "restore" | "trade" | "application";
|
|
1276
|
+
BillingTransactionAction: "create" | "transfer" | "renew" | "restore" | "trade" | "application" | "service_fee" | "wallet_top_up";
|
|
1277
1277
|
/**
|
|
1278
1278
|
* BillingTransactionProductType
|
|
1279
1279
|
* @enum {string}
|
|
1280
1280
|
*/
|
|
1281
|
-
BillingTransactionProductType: "domain" | "zones" | "email_forward" | "domain_forward";
|
|
1281
|
+
BillingTransactionProductType: "domain" | "zones" | "email_forward" | "domain_forward" | "account_wallet";
|
|
1282
1282
|
/** BillingTransactionResponse */
|
|
1283
1283
|
BillingTransactionResponse: {
|
|
1284
1284
|
/** @description The action performed in the transaction */
|