@opusdns/api 1.21.0 → 1.23.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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "@opusdns/api-spec-ts-generator": "^1.2.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.21.0",
6
+ "version": "1.23.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -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-152327
12737
+ version: 2026-06-20-135648
12722
12738
  x-logo:
12723
12739
  altText: OpusDNS API Reference
12724
12740
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -16105,6 +16121,19 @@ paths:
16105
16121
  - type: string
16106
16122
  - type: 'null'
16107
16123
  title: Suffix
16124
+ - in: query
16125
+ name: vanity_nameserver_set_id
16126
+ required: false
16127
+ schema:
16128
+ anyOf:
16129
+ - examples:
16130
+ - vns_01h45ytscbebyvny4gc8cr8ma2
16131
+ format: typeid
16132
+ pattern: ^vns_[0-7][0-9a-hjkmnpq-tv-z]{25}$
16133
+ type: string
16134
+ x-typeid-prefix: vns
16135
+ - type: 'null'
16136
+ title: Vanity Nameserver Set Id
16108
16137
  - in: query
16109
16138
  name: created_after
16110
16139
  required: false
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
@@ -13883,6 +13893,7 @@ export interface operations {
13883
13893
  name?: string | null;
13884
13894
  search?: string | null;
13885
13895
  suffix?: string | null;
13896
+ vanity_nameserver_set_id?: TypeId<"vns"> | null;
13886
13897
  created_after?: Date | null;
13887
13898
  created_before?: Date | null;
13888
13899
  updated_after?: Date | null;