@opusdns/api 0.256.0 → 0.258.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 +26 -0
- package/src/openapi.yaml +8 -1
- package/src/schema.d.ts +6 -1
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -4178,6 +4178,7 @@ export const REPORT_TYPE = {
|
|
|
4178
4178
|
DOMAIN_INVENTORY: "domain_inventory",
|
|
4179
4179
|
DNS_ZONE_SUMMARY: "dns_zone_summary",
|
|
4180
4180
|
DNS_ZONE_RECORDS: "dns_zone_records",
|
|
4181
|
+
DOMAIN_FORWARDS: "domain_forwards",
|
|
4181
4182
|
BILLING_TRANSACTIONS: "billing_transactions",
|
|
4182
4183
|
BILLING_TRANSACTIONS_MONTHLY: "billing_transactions_monthly",
|
|
4183
4184
|
} as const satisfies Record<string, ReportType>;
|
|
@@ -4207,6 +4208,7 @@ export const REPORT_TYPE_VALUES = [
|
|
|
4207
4208
|
'domain_inventory',
|
|
4208
4209
|
'dns_zone_summary',
|
|
4209
4210
|
'dns_zone_records',
|
|
4211
|
+
'domain_forwards',
|
|
4210
4212
|
'billing_transactions',
|
|
4211
4213
|
'billing_transactions_monthly'
|
|
4212
4214
|
] as const satisfies [string, ...string[]] | ReportType[];
|
package/src/helpers/keys.ts
CHANGED
|
@@ -38842,6 +38842,31 @@ export const KEYS_DOMAIN_AVAILABILITY_LIST = [
|
|
|
38842
38842
|
* @see {@link KEYS_DOMAIN_AVAILABILITY_CHECK} - Array of all keys for this type
|
|
38843
38843
|
*/
|
|
38844
38844
|
export const KEY_DOMAIN_AVAILABILITY_CHECK_AVAILABLE: keyof DomainAvailabilityCheck = 'available';
|
|
38845
|
+
/**
|
|
38846
|
+
* Claim Key
|
|
38847
|
+
*
|
|
38848
|
+
* Claim key, if trademark notice acceptance is required
|
|
38849
|
+
*
|
|
38850
|
+
*
|
|
38851
|
+
*
|
|
38852
|
+
* @remarks
|
|
38853
|
+
* This key constant provides type-safe access to the `claim_key` property of DomainAvailabilityCheck objects.
|
|
38854
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
38855
|
+
*
|
|
38856
|
+
* @example
|
|
38857
|
+
* ```typescript
|
|
38858
|
+
* // Direct property access
|
|
38859
|
+
* const value = domainavailabilitycheck[KEY_DOMAIN_AVAILABILITY_CHECK_CLAIM_KEY];
|
|
38860
|
+
*
|
|
38861
|
+
* // Dynamic property access
|
|
38862
|
+
* const propertyName = KEY_DOMAIN_AVAILABILITY_CHECK_CLAIM_KEY;
|
|
38863
|
+
* const value = domainavailabilitycheck[propertyName];
|
|
38864
|
+
* ```
|
|
38865
|
+
*
|
|
38866
|
+
* @see {@link DomainAvailabilityCheck} - The TypeScript type definition
|
|
38867
|
+
* @see {@link KEYS_DOMAIN_AVAILABILITY_CHECK} - Array of all keys for this type
|
|
38868
|
+
*/
|
|
38869
|
+
export const KEY_DOMAIN_AVAILABILITY_CHECK_CLAIM_KEY: keyof DomainAvailabilityCheck = 'claim_key';
|
|
38845
38870
|
/**
|
|
38846
38871
|
* Domain
|
|
38847
38872
|
*
|
|
@@ -38966,6 +38991,7 @@ export const KEY_DOMAIN_AVAILABILITY_CHECK_REASON: keyof DomainAvailabilityCheck
|
|
|
38966
38991
|
*/
|
|
38967
38992
|
export const KEYS_DOMAIN_AVAILABILITY_CHECK = [
|
|
38968
38993
|
KEY_DOMAIN_AVAILABILITY_CHECK_AVAILABLE,
|
|
38994
|
+
KEY_DOMAIN_AVAILABILITY_CHECK_CLAIM_KEY,
|
|
38969
38995
|
KEY_DOMAIN_AVAILABILITY_CHECK_DOMAIN,
|
|
38970
38996
|
KEY_DOMAIN_AVAILABILITY_CHECK_IS_PREMIUM,
|
|
38971
38997
|
KEY_DOMAIN_AVAILABILITY_CHECK_PREMIUM_PRICING,
|
package/src/openapi.yaml
CHANGED
|
@@ -8431,6 +8431,7 @@ components:
|
|
|
8431
8431
|
- domain_inventory
|
|
8432
8432
|
- dns_zone_summary
|
|
8433
8433
|
- dns_zone_records
|
|
8434
|
+
- domain_forwards
|
|
8434
8435
|
- billing_transactions
|
|
8435
8436
|
- billing_transactions_monthly
|
|
8436
8437
|
title: ReportType
|
|
@@ -9764,6 +9765,12 @@ components:
|
|
|
9764
9765
|
available:
|
|
9765
9766
|
title: Available
|
|
9766
9767
|
type: boolean
|
|
9768
|
+
claim_key:
|
|
9769
|
+
anyOf:
|
|
9770
|
+
- type: string
|
|
9771
|
+
- type: 'null'
|
|
9772
|
+
description: Claim key, if trademark notice acceptance is required
|
|
9773
|
+
title: Claim Key
|
|
9767
9774
|
domain:
|
|
9768
9775
|
description: The domain name
|
|
9769
9776
|
examples:
|
|
@@ -9862,7 +9869,7 @@ info:
|
|
|
9862
9869
|
\n\n"
|
|
9863
9870
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
9864
9871
|
title: OpusDNS API
|
|
9865
|
-
version: 2026-04-
|
|
9872
|
+
version: 2026-04-21-115243
|
|
9866
9873
|
x-logo:
|
|
9867
9874
|
altText: OpusDNS API Reference
|
|
9868
9875
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -7770,7 +7770,7 @@ export interface components {
|
|
|
7770
7770
|
* ReportType
|
|
7771
7771
|
* @enum {string}
|
|
7772
7772
|
*/
|
|
7773
|
-
ReportType: "domain_inventory" | "dns_zone_summary" | "dns_zone_records" | "billing_transactions" | "billing_transactions_monthly";
|
|
7773
|
+
ReportType: "domain_inventory" | "dns_zone_summary" | "dns_zone_records" | "domain_forwards" | "billing_transactions" | "billing_transactions_monthly";
|
|
7774
7774
|
/** RequestHistory */
|
|
7775
7775
|
RequestHistory: {
|
|
7776
7776
|
/**
|
|
@@ -8721,6 +8721,11 @@ export interface components {
|
|
|
8721
8721
|
common__models__domain__domain__DomainAvailabilityResponse: {
|
|
8722
8722
|
/** Available */
|
|
8723
8723
|
available: boolean;
|
|
8724
|
+
/**
|
|
8725
|
+
* Claim Key
|
|
8726
|
+
* @description Claim key, if trademark notice acceptance is required
|
|
8727
|
+
*/
|
|
8728
|
+
claim_key?: string | null;
|
|
8724
8729
|
/**
|
|
8725
8730
|
* Domain
|
|
8726
8731
|
* @description The domain name
|