@opusdns/api 0.92.0 → 0.94.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/helpers/keys.ts +2715 -1822
- package/src/helpers/requests.d.ts +255 -108
- package/src/helpers/responses.d.ts +833 -128
- package/src/helpers/schemas-arrays.d.ts +16 -16
- package/src/helpers/schemas.d.ts +104 -40
- package/src/openapi.yaml +733 -122
- package/src/schema.d.ts +792 -118
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
|
/**
|