@opusdns/api 1.21.0 → 1.22.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 +4 -0
- package/src/openapi.yaml +17 -1
- package/src/schema.d.ts +10 -0
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -417,7 +417,9 @@ export const KEY_BILLING_TRANSACTION_PRODUCT_TYPE = 'product_type' satisfies key
|
|
|
417
417
|
export const KEY_BILLING_TRANSACTION_STATUS = 'status' satisfies keyof BillingTransaction;
|
|
418
418
|
export const KEY_BILLING_TRANSACTION_TAX_AMOUNT = 'tax_amount' satisfies keyof BillingTransaction;
|
|
419
419
|
export const KEY_BILLING_TRANSACTION_TAX_RATE = 'tax_rate' satisfies keyof BillingTransaction;
|
|
420
|
+
export const KEY_BILLING_TRANSACTION_UNIT = 'unit' satisfies keyof BillingTransaction;
|
|
420
421
|
export const KEY_BILLING_TRANSACTION_UPDATED_ON = 'updated_on' satisfies keyof BillingTransaction;
|
|
422
|
+
export const KEY_BILLING_TRANSACTION_VOLUME = 'volume' satisfies keyof BillingTransaction;
|
|
421
423
|
|
|
422
424
|
export const KEYS_BILLING_TRANSACTION = [
|
|
423
425
|
KEY_BILLING_TRANSACTION_ACTION,
|
|
@@ -432,7 +434,9 @@ export const KEYS_BILLING_TRANSACTION = [
|
|
|
432
434
|
KEY_BILLING_TRANSACTION_STATUS,
|
|
433
435
|
KEY_BILLING_TRANSACTION_TAX_AMOUNT,
|
|
434
436
|
KEY_BILLING_TRANSACTION_TAX_RATE,
|
|
437
|
+
KEY_BILLING_TRANSACTION_UNIT,
|
|
435
438
|
KEY_BILLING_TRANSACTION_UPDATED_ON,
|
|
439
|
+
KEY_BILLING_TRANSACTION_VOLUME,
|
|
436
440
|
] as const satisfies (keyof BillingTransaction)[];
|
|
437
441
|
|
|
438
442
|
export const KEY_BROWSER_STATS_BUCKET_KEY = 'key' satisfies keyof BrowserStatsBucket;
|
package/src/openapi.yaml
CHANGED
|
@@ -221,15 +221,31 @@ components:
|
|
|
221
221
|
pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
|
|
222
222
|
title: Tax Rate
|
|
223
223
|
type: string
|
|
224
|
+
unit:
|
|
225
|
+
anyOf:
|
|
226
|
+
- maxLength: 255
|
|
227
|
+
minLength: 1
|
|
228
|
+
type: string
|
|
229
|
+
- type: 'null'
|
|
230
|
+
description: The unit for `volume` (e.g. 'y' for years when renewing a domain);
|
|
231
|
+
null when not applicable
|
|
232
|
+
title: Unit
|
|
224
233
|
updated_on:
|
|
225
234
|
description: The date/time the transaction was updated
|
|
226
235
|
format: date-time
|
|
227
236
|
title: Updated On
|
|
228
237
|
type: string
|
|
238
|
+
volume:
|
|
239
|
+
description: The quantity the transaction covers, expressed in `unit` (e.g.
|
|
240
|
+
1 for a one-year domain renewal)
|
|
241
|
+
pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
|
|
242
|
+
title: Volume
|
|
243
|
+
type: string
|
|
229
244
|
required:
|
|
230
245
|
- product_type
|
|
231
246
|
- product_reference
|
|
232
247
|
- action
|
|
248
|
+
- volume
|
|
233
249
|
- amount
|
|
234
250
|
- price
|
|
235
251
|
- tax_rate
|
|
@@ -12718,7 +12734,7 @@ info:
|
|
|
12718
12734
|
\n\n"
|
|
12719
12735
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
12720
12736
|
title: OpusDNS API
|
|
12721
|
-
version: 2026-06-18-
|
|
12737
|
+
version: 2026-06-18-184808
|
|
12722
12738
|
x-logo:
|
|
12723
12739
|
altText: OpusDNS API Reference
|
|
12724
12740
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -2747,12 +2747,22 @@ export interface components {
|
|
|
2747
2747
|
* @description The tax rate of the transaction
|
|
2748
2748
|
*/
|
|
2749
2749
|
tax_rate: string;
|
|
2750
|
+
/**
|
|
2751
|
+
* Unit
|
|
2752
|
+
* @description The unit for `volume` (e.g. 'y' for years when renewing a domain); null when not applicable
|
|
2753
|
+
*/
|
|
2754
|
+
unit?: string | null;
|
|
2750
2755
|
/**
|
|
2751
2756
|
* Updated On
|
|
2752
2757
|
* Format: date-time
|
|
2753
2758
|
* @description The date/time the transaction was updated
|
|
2754
2759
|
*/
|
|
2755
2760
|
updated_on?: Date;
|
|
2761
|
+
/**
|
|
2762
|
+
* Volume
|
|
2763
|
+
* @description The quantity the transaction covers, expressed in `unit` (e.g. 1 for a one-year domain renewal)
|
|
2764
|
+
*/
|
|
2765
|
+
volume: string;
|
|
2756
2766
|
};
|
|
2757
2767
|
/**
|
|
2758
2768
|
* BillingTransactionSortField
|