@opusdns/api 0.181.0 → 0.183.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 +2 -0
- package/src/helpers/keys.ts +52 -0
- package/src/openapi.yaml +10 -1
- package/src/schema.d.ts +5 -1
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -1473,6 +1473,7 @@ export const EMAIL_FORWARD_LOG_SORT_FIELD_VALUES = [
|
|
|
1473
1473
|
* @see {@link EmailForwardLogStatus} - The TypeScript type definition
|
|
1474
1474
|
*/
|
|
1475
1475
|
export const EMAIL_FORWARD_LOG_STATUS = {
|
|
1476
|
+
UNKNOWN: "UNKNOWN",
|
|
1476
1477
|
QUEUED: "QUEUED",
|
|
1477
1478
|
DELIVERED: "DELIVERED",
|
|
1478
1479
|
REFUSED: "REFUSED",
|
|
@@ -1502,6 +1503,7 @@ export const EMAIL_FORWARD_LOG_STATUS = {
|
|
|
1502
1503
|
* @see {@link EMAIL_FORWARD_LOG_STATUS} - The object form of this enum
|
|
1503
1504
|
*/
|
|
1504
1505
|
export const EMAIL_FORWARD_LOG_STATUS_VALUES = [
|
|
1506
|
+
'UNKNOWN',
|
|
1505
1507
|
'QUEUED',
|
|
1506
1508
|
'DELIVERED',
|
|
1507
1509
|
'REFUSED',
|
package/src/helpers/keys.ts
CHANGED
|
@@ -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
|
@@ -2951,6 +2951,7 @@ components:
|
|
|
2951
2951
|
type: string
|
|
2952
2952
|
EmailForwardLogStatus:
|
|
2953
2953
|
enum:
|
|
2954
|
+
- UNKNOWN
|
|
2954
2955
|
- QUEUED
|
|
2955
2956
|
- DELIVERED
|
|
2956
2957
|
- REFUSED
|
|
@@ -4993,6 +4994,9 @@ components:
|
|
|
4993
4994
|
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
|
|
4994
4995
|
title: Renewal Cost
|
|
4995
4996
|
type: string
|
|
4997
|
+
renewal_cost_currency:
|
|
4998
|
+
$ref: '#/components/schemas/Currency'
|
|
4999
|
+
description: Currency code for renewal cost (e.g., USD, EUR)
|
|
4996
5000
|
revenue_progress:
|
|
4997
5001
|
description: Revenue progress percentage towards covering renewal cost
|
|
4998
5002
|
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
|
|
@@ -5001,6 +5005,7 @@ components:
|
|
|
5001
5005
|
required:
|
|
5002
5006
|
- metrics
|
|
5003
5007
|
- renewal_cost
|
|
5008
|
+
- renewal_cost_currency
|
|
5004
5009
|
- revenue_progress
|
|
5005
5010
|
title: ParkingMetricsResponse
|
|
5006
5011
|
type: object
|
|
@@ -5132,6 +5137,9 @@ components:
|
|
|
5132
5137
|
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
|
|
5133
5138
|
title: Revenue
|
|
5134
5139
|
type: string
|
|
5140
|
+
revenue_currency:
|
|
5141
|
+
$ref: '#/components/schemas/Currency'
|
|
5142
|
+
description: Currency code for revenue (e.g., USD, EUR)
|
|
5135
5143
|
rpc:
|
|
5136
5144
|
description: Revenue per click
|
|
5137
5145
|
pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
|
|
@@ -5152,6 +5160,7 @@ components:
|
|
|
5152
5160
|
- rpc
|
|
5153
5161
|
- rpm
|
|
5154
5162
|
- revenue
|
|
5163
|
+
- revenue_currency
|
|
5155
5164
|
title: ParkingStatistics
|
|
5156
5165
|
type: object
|
|
5157
5166
|
ParkingTotalMetricsResponse:
|
|
@@ -6969,7 +6978,7 @@ info:
|
|
|
6969
6978
|
'
|
|
6970
6979
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
6971
6980
|
title: OpusDNS API
|
|
6972
|
-
version: 2026-
|
|
6981
|
+
version: 2026-02-04-121336
|
|
6973
6982
|
x-logo:
|
|
6974
6983
|
altText: OpusDNS API Reference
|
|
6975
6984
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -3824,7 +3824,7 @@ export interface components {
|
|
|
3824
3824
|
* EmailForwardLogStatus
|
|
3825
3825
|
* @enum {string}
|
|
3826
3826
|
*/
|
|
3827
|
-
EmailForwardLogStatus: "QUEUED" | "DELIVERED" | "REFUSED" | "SOFT-BOUNCE" | "HARD-BOUNCE";
|
|
3827
|
+
EmailForwardLogStatus: "UNKNOWN" | "QUEUED" | "DELIVERED" | "REFUSED" | "SOFT-BOUNCE" | "HARD-BOUNCE";
|
|
3828
3828
|
/** EmailForwardMetrics */
|
|
3829
3829
|
EmailForwardMetrics: {
|
|
3830
3830
|
/**
|
|
@@ -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
|