@opusdns/api 0.181.0 → 0.182.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": "^0.19.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "0.181.0",
6
+ "version": "0.182.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -19461,6 +19461,31 @@ export const KEY_PARKING_METRICS_METRICS: keyof ParkingMetrics = 'metrics';
19461
19461
  * @see {@link KEYS_PARKING_METRICS} - Array of all keys for this type
19462
19462
  */
19463
19463
  export const KEY_PARKING_METRICS_RENEWAL_COST: keyof ParkingMetrics = 'renewal_cost';
19464
+ /**
19465
+ * renewal_cost_currency property
19466
+ *
19467
+ * Currency code for renewal cost (e.g., USD, EUR)
19468
+ *
19469
+ *
19470
+ *
19471
+ * @remarks
19472
+ * This key constant provides type-safe access to the `renewal_cost_currency` property of ParkingMetrics objects.
19473
+ * Use this constant when you need to access properties dynamically or ensure type safety.
19474
+ *
19475
+ * @example
19476
+ * ```typescript
19477
+ * // Direct property access
19478
+ * const value = parkingmetrics[KEY_PARKING_METRICS_RENEWAL_COST_CURRENCY];
19479
+ *
19480
+ * // Dynamic property access
19481
+ * const propertyName = KEY_PARKING_METRICS_RENEWAL_COST_CURRENCY;
19482
+ * const value = parkingmetrics[propertyName];
19483
+ * ```
19484
+ *
19485
+ * @see {@link ParkingMetrics} - The TypeScript type definition
19486
+ * @see {@link KEYS_PARKING_METRICS} - Array of all keys for this type
19487
+ */
19488
+ export const KEY_PARKING_METRICS_RENEWAL_COST_CURRENCY: keyof ParkingMetrics = 'renewal_cost_currency';
19464
19489
  /**
19465
19490
  * Revenue Progress
19466
19491
  *
@@ -19511,6 +19536,7 @@ export const KEY_PARKING_METRICS_REVENUE_PROGRESS: keyof ParkingMetrics = 'reven
19511
19536
  export const KEYS_PARKING_METRICS = [
19512
19537
  KEY_PARKING_METRICS_METRICS,
19513
19538
  KEY_PARKING_METRICS_RENEWAL_COST,
19539
+ KEY_PARKING_METRICS_RENEWAL_COST_CURRENCY,
19514
19540
  KEY_PARKING_METRICS_REVENUE_PROGRESS,
19515
19541
  ] as const satisfies (keyof ParkingMetrics)[];
19516
19542
 
@@ -20060,6 +20086,31 @@ export const KEY_PARKING_STATISTICS_CONVERSIONS: keyof ParkingStatistics = 'conv
20060
20086
  * @see {@link KEYS_PARKING_STATISTICS} - Array of all keys for this type
20061
20087
  */
20062
20088
  export const KEY_PARKING_STATISTICS_REVENUE: keyof ParkingStatistics = 'revenue';
20089
+ /**
20090
+ * revenue_currency property
20091
+ *
20092
+ * Currency code for revenue (e.g., USD, EUR)
20093
+ *
20094
+ *
20095
+ *
20096
+ * @remarks
20097
+ * This key constant provides type-safe access to the `revenue_currency` property of ParkingStatistics objects.
20098
+ * Use this constant when you need to access properties dynamically or ensure type safety.
20099
+ *
20100
+ * @example
20101
+ * ```typescript
20102
+ * // Direct property access
20103
+ * const value = parkingstatistics[KEY_PARKING_STATISTICS_REVENUE_CURRENCY];
20104
+ *
20105
+ * // Dynamic property access
20106
+ * const propertyName = KEY_PARKING_STATISTICS_REVENUE_CURRENCY;
20107
+ * const value = parkingstatistics[propertyName];
20108
+ * ```
20109
+ *
20110
+ * @see {@link ParkingStatistics} - The TypeScript type definition
20111
+ * @see {@link KEYS_PARKING_STATISTICS} - Array of all keys for this type
20112
+ */
20113
+ export const KEY_PARKING_STATISTICS_REVENUE_CURRENCY: keyof ParkingStatistics = 'revenue_currency';
20063
20114
  /**
20064
20115
  * Rpc
20065
20116
  *
@@ -20162,6 +20213,7 @@ export const KEY_PARKING_STATISTICS_VIEWS: keyof ParkingStatistics = 'views';
20162
20213
  export const KEYS_PARKING_STATISTICS = [
20163
20214
  KEY_PARKING_STATISTICS_CONVERSIONS,
20164
20215
  KEY_PARKING_STATISTICS_REVENUE,
20216
+ KEY_PARKING_STATISTICS_REVENUE_CURRENCY,
20165
20217
  KEY_PARKING_STATISTICS_RPC,
20166
20218
  KEY_PARKING_STATISTICS_RPM,
20167
20219
  KEY_PARKING_STATISTICS_VIEWS,
package/src/openapi.yaml CHANGED
@@ -4993,6 +4993,9 @@ components:
4993
4993
  pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
4994
4994
  title: Renewal Cost
4995
4995
  type: string
4996
+ renewal_cost_currency:
4997
+ $ref: '#/components/schemas/Currency'
4998
+ description: Currency code for renewal cost (e.g., USD, EUR)
4996
4999
  revenue_progress:
4997
5000
  description: Revenue progress percentage towards covering renewal cost
4998
5001
  pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
@@ -5001,6 +5004,7 @@ components:
5001
5004
  required:
5002
5005
  - metrics
5003
5006
  - renewal_cost
5007
+ - renewal_cost_currency
5004
5008
  - revenue_progress
5005
5009
  title: ParkingMetricsResponse
5006
5010
  type: object
@@ -5132,6 +5136,9 @@ components:
5132
5136
  pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
5133
5137
  title: Revenue
5134
5138
  type: string
5139
+ revenue_currency:
5140
+ $ref: '#/components/schemas/Currency'
5141
+ description: Currency code for revenue (e.g., USD, EUR)
5135
5142
  rpc:
5136
5143
  description: Revenue per click
5137
5144
  pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
@@ -5152,6 +5159,7 @@ components:
5152
5159
  - rpc
5153
5160
  - rpm
5154
5161
  - revenue
5162
+ - revenue_currency
5155
5163
  title: ParkingStatistics
5156
5164
  type: object
5157
5165
  ParkingTotalMetricsResponse:
@@ -6969,7 +6977,7 @@ info:
6969
6977
  '
6970
6978
  summary: OpusDNS - your gateway to a seamless domain management experience.
6971
6979
  title: OpusDNS API
6972
- version: 2026-01-30-145433
6980
+ version: 2026-01-31-195140
6973
6981
  x-logo:
6974
6982
  altText: OpusDNS API Reference
6975
6983
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -5153,6 +5153,8 @@ export interface components {
5153
5153
  * @description Yearly renewal cost for the parked domain
5154
5154
  */
5155
5155
  renewal_cost: string;
5156
+ /** @description Currency code for renewal cost (e.g., USD, EUR) */
5157
+ renewal_cost_currency: components["schemas"]["Currency"];
5156
5158
  /**
5157
5159
  * Revenue Progress
5158
5160
  * @description Revenue progress percentage towards covering renewal cost
@@ -5270,6 +5272,8 @@ export interface components {
5270
5272
  * @description Total revenue
5271
5273
  */
5272
5274
  revenue: string;
5275
+ /** @description Currency code for revenue (e.g., USD, EUR) */
5276
+ revenue_currency: components["schemas"]["Currency"];
5273
5277
  /**
5274
5278
  * Rpc
5275
5279
  * @description Revenue per click