@opusdns/api 0.73.0 → 0.74.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 +26 -0
- package/src/openapi.yaml +4 -1
- package/src/schema.d.ts +2 -0
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -619,6 +619,31 @@ export const KEY_BILLING_TRANSACTION_COMPLETED_ON = 'completed_on' as keyof Bill
|
|
|
619
619
|
* @see {@link KEYS_BILLING_TRANSACTION} - Array of all keys for this type
|
|
620
620
|
*/
|
|
621
621
|
export const KEY_BILLING_TRANSACTION_CREATED_ON = 'created_on' as keyof BillingTransaction;
|
|
622
|
+
/**
|
|
623
|
+
* currency property
|
|
624
|
+
*
|
|
625
|
+
* The currency of the transaction
|
|
626
|
+
*
|
|
627
|
+
*
|
|
628
|
+
*
|
|
629
|
+
* @remarks
|
|
630
|
+
* This key constant provides type-safe access to the `currency` property of BillingTransaction objects.
|
|
631
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
632
|
+
*
|
|
633
|
+
* @example
|
|
634
|
+
* ```typescript
|
|
635
|
+
* // Direct property access
|
|
636
|
+
* const value = billingtransaction[KEY_BILLING_TRANSACTION_CURRENCY];
|
|
637
|
+
*
|
|
638
|
+
* // Dynamic property access
|
|
639
|
+
* const propertyName = KEY_BILLING_TRANSACTION_CURRENCY;
|
|
640
|
+
* const value = billingtransaction[propertyName];
|
|
641
|
+
* ```
|
|
642
|
+
*
|
|
643
|
+
* @see {@link BillingTransaction} - The TypeScript type definition
|
|
644
|
+
* @see {@link KEYS_BILLING_TRANSACTION} - Array of all keys for this type
|
|
645
|
+
*/
|
|
646
|
+
export const KEY_BILLING_TRANSACTION_CURRENCY = 'currency' as keyof BillingTransaction;
|
|
622
647
|
/**
|
|
623
648
|
* Price
|
|
624
649
|
*
|
|
@@ -825,6 +850,7 @@ export const KEYS_BILLING_TRANSACTION = [
|
|
|
825
850
|
KEY_BILLING_TRANSACTION_BILLING_TRANSACTION_ID,
|
|
826
851
|
KEY_BILLING_TRANSACTION_COMPLETED_ON,
|
|
827
852
|
KEY_BILLING_TRANSACTION_CREATED_ON,
|
|
853
|
+
KEY_BILLING_TRANSACTION_CURRENCY,
|
|
828
854
|
KEY_BILLING_TRANSACTION_PRICE,
|
|
829
855
|
KEY_BILLING_TRANSACTION_PRODUCT_REFERENCE,
|
|
830
856
|
KEY_BILLING_TRANSACTION_PRODUCT_TYPE,
|
package/src/openapi.yaml
CHANGED
|
@@ -138,6 +138,9 @@ components:
|
|
|
138
138
|
format: date-time
|
|
139
139
|
title: Created On
|
|
140
140
|
type: string
|
|
141
|
+
currency:
|
|
142
|
+
$ref: '#/components/schemas/Currency'
|
|
143
|
+
description: The currency of the transaction
|
|
141
144
|
price:
|
|
142
145
|
description: The price of the product without sales tax
|
|
143
146
|
title: Price
|
|
@@ -5210,7 +5213,7 @@ info:
|
|
|
5210
5213
|
'
|
|
5211
5214
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5212
5215
|
title: OpusDNS API
|
|
5213
|
-
version: 2025-09-29-
|
|
5216
|
+
version: 2025-09-29-135930
|
|
5214
5217
|
x-logo:
|
|
5215
5218
|
altText: OpusDNS API Reference
|
|
5216
5219
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -1406,6 +1406,8 @@ export interface components {
|
|
|
1406
1406
|
* @description The date/time the transaction was created
|
|
1407
1407
|
*/
|
|
1408
1408
|
created_on?: Date;
|
|
1409
|
+
/** @description The currency of the transaction */
|
|
1410
|
+
currency?: components["schemas"]["Currency"];
|
|
1409
1411
|
/**
|
|
1410
1412
|
* Price
|
|
1411
1413
|
* @description The price of the product without sales tax
|