@opusdns/api 0.187.0 → 0.189.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 +53 -0
- package/src/openapi.yaml +14 -1
- package/src/schema.d.ts +11 -0
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -4857,6 +4857,32 @@ export const KEYS_DNS_RRSET_PATCH_OP = [
|
|
|
4857
4857
|
* @see {@link KEYS_DNS_RRSET} - Array of all keys for this type
|
|
4858
4858
|
*/
|
|
4859
4859
|
export const KEY_DNS_RRSET_NAME: keyof DnsRrset = 'name';
|
|
4860
|
+
/**
|
|
4861
|
+
* Protected
|
|
4862
|
+
*
|
|
4863
|
+
* Whether the RRset is protected
|
|
4864
|
+
*
|
|
4865
|
+
* @type {boolean}
|
|
4866
|
+
*
|
|
4867
|
+
*
|
|
4868
|
+
* @remarks
|
|
4869
|
+
* This key constant provides type-safe access to the `protected` property of DnsRrset objects.
|
|
4870
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
4871
|
+
*
|
|
4872
|
+
* @example
|
|
4873
|
+
* ```typescript
|
|
4874
|
+
* // Direct property access
|
|
4875
|
+
* const value = dnsrrset[KEY_DNS_RRSET_PROTECTED];
|
|
4876
|
+
*
|
|
4877
|
+
* // Dynamic property access
|
|
4878
|
+
* const propertyName = KEY_DNS_RRSET_PROTECTED;
|
|
4879
|
+
* const value = dnsrrset[propertyName];
|
|
4880
|
+
* ```
|
|
4881
|
+
*
|
|
4882
|
+
* @see {@link DnsRrset} - The TypeScript type definition
|
|
4883
|
+
* @see {@link KEYS_DNS_RRSET} - Array of all keys for this type
|
|
4884
|
+
*/
|
|
4885
|
+
export const KEY_DNS_RRSET_PROTECTED: keyof DnsRrset = 'protected';
|
|
4860
4886
|
/**
|
|
4861
4887
|
* Records
|
|
4862
4888
|
*
|
|
@@ -4954,6 +4980,7 @@ export const KEY_DNS_RRSET_TYPE: keyof DnsRrset = 'type';
|
|
|
4954
4980
|
*/
|
|
4955
4981
|
export const KEYS_DNS_RRSET = [
|
|
4956
4982
|
KEY_DNS_RRSET_NAME,
|
|
4983
|
+
KEY_DNS_RRSET_PROTECTED,
|
|
4957
4984
|
KEY_DNS_RRSET_RECORDS,
|
|
4958
4985
|
KEY_DNS_RRSET_TTL,
|
|
4959
4986
|
KEY_DNS_RRSET_TYPE,
|
|
@@ -23431,6 +23458,31 @@ export const KEY_TRANSFER_POLICIES_BASE_AUTHINFO_MAX_LENGTH: keyof TransferPolic
|
|
|
23431
23458
|
* @see {@link KEYS_TRANSFER_POLICIES_BASE} - Array of all keys for this type
|
|
23432
23459
|
*/
|
|
23433
23460
|
export const KEY_TRANSFER_POLICIES_BASE_AUTHINFO_MIN_LENGTH: keyof TransferPoliciesBase = 'authinfo_min_length';
|
|
23461
|
+
/**
|
|
23462
|
+
* Authinfo Pattern
|
|
23463
|
+
*
|
|
23464
|
+
* Regex pattern for validating auth info
|
|
23465
|
+
*
|
|
23466
|
+
*
|
|
23467
|
+
*
|
|
23468
|
+
* @remarks
|
|
23469
|
+
* This key constant provides type-safe access to the `authinfo_pattern` property of TransferPoliciesBase objects.
|
|
23470
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
23471
|
+
*
|
|
23472
|
+
* @example
|
|
23473
|
+
* ```typescript
|
|
23474
|
+
* // Direct property access
|
|
23475
|
+
* const value = transferpoliciesbase[KEY_TRANSFER_POLICIES_BASE_AUTHINFO_PATTERN];
|
|
23476
|
+
*
|
|
23477
|
+
* // Dynamic property access
|
|
23478
|
+
* const propertyName = KEY_TRANSFER_POLICIES_BASE_AUTHINFO_PATTERN;
|
|
23479
|
+
* const value = transferpoliciesbase[propertyName];
|
|
23480
|
+
* ```
|
|
23481
|
+
*
|
|
23482
|
+
* @see {@link TransferPoliciesBase} - The TypeScript type definition
|
|
23483
|
+
* @see {@link KEYS_TRANSFER_POLICIES_BASE} - Array of all keys for this type
|
|
23484
|
+
*/
|
|
23485
|
+
export const KEY_TRANSFER_POLICIES_BASE_AUTHINFO_PATTERN: keyof TransferPoliciesBase = 'authinfo_pattern';
|
|
23434
23486
|
/**
|
|
23435
23487
|
* Authinfo Required
|
|
23436
23488
|
*
|
|
@@ -23781,6 +23833,7 @@ export const KEY_TRANSFER_POLICIES_BASE_TRANSFER_TIME: keyof TransferPoliciesBas
|
|
|
23781
23833
|
export const KEYS_TRANSFER_POLICIES_BASE = [
|
|
23782
23834
|
KEY_TRANSFER_POLICIES_BASE_AUTHINFO_MAX_LENGTH,
|
|
23783
23835
|
KEY_TRANSFER_POLICIES_BASE_AUTHINFO_MIN_LENGTH,
|
|
23836
|
+
KEY_TRANSFER_POLICIES_BASE_AUTHINFO_PATTERN,
|
|
23784
23837
|
KEY_TRANSFER_POLICIES_BASE_AUTHINFO_REQUIRED,
|
|
23785
23838
|
KEY_TRANSFER_POLICIES_BASE_AUTHINFO_TIME_LIMITED,
|
|
23786
23839
|
KEY_TRANSFER_POLICIES_BASE_AUTHINFO_VALIDITY_PERIOD,
|
package/src/openapi.yaml
CHANGED
|
@@ -1137,6 +1137,11 @@ components:
|
|
|
1137
1137
|
name:
|
|
1138
1138
|
title: Name
|
|
1139
1139
|
type: string
|
|
1140
|
+
protected:
|
|
1141
|
+
default: false
|
|
1142
|
+
description: Whether the RRset is protected
|
|
1143
|
+
title: Protected
|
|
1144
|
+
type: boolean
|
|
1140
1145
|
records:
|
|
1141
1146
|
items:
|
|
1142
1147
|
$ref: '#/components/schemas/DnsRecordResponse'
|
|
@@ -6045,6 +6050,12 @@ components:
|
|
|
6045
6050
|
- type: 'null'
|
|
6046
6051
|
description: Minimum length of the auth info
|
|
6047
6052
|
title: Authinfo Min Length
|
|
6053
|
+
authinfo_pattern:
|
|
6054
|
+
anyOf:
|
|
6055
|
+
- type: string
|
|
6056
|
+
- type: 'null'
|
|
6057
|
+
description: Regex pattern for validating auth info
|
|
6058
|
+
title: Authinfo Pattern
|
|
6048
6059
|
authinfo_required:
|
|
6049
6060
|
description: Whether an auth info is required for transfers
|
|
6050
6061
|
title: Authinfo Required
|
|
@@ -6984,7 +6995,7 @@ info:
|
|
|
6984
6995
|
'
|
|
6985
6996
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
6986
6997
|
title: OpusDNS API
|
|
6987
|
-
version: 2026-02-
|
|
6998
|
+
version: 2026-02-16-094947
|
|
6988
6999
|
x-logo:
|
|
6989
7000
|
altText: OpusDNS API Reference
|
|
6990
7001
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -8606,6 +8617,7 @@ paths:
|
|
|
8606
8617
|
name: example.com.
|
|
8607
8618
|
rrsets:
|
|
8608
8619
|
- name: example.com.
|
|
8620
|
+
protected: false
|
|
8609
8621
|
records:
|
|
8610
8622
|
- protected: false
|
|
8611
8623
|
rdata: ns1.opusdns.com. hostmaster.opusdns.com. 2025111801
|
|
@@ -8613,6 +8625,7 @@ paths:
|
|
|
8613
8625
|
ttl: 3600
|
|
8614
8626
|
type: SOA
|
|
8615
8627
|
- name: example.com.
|
|
8628
|
+
protected: false
|
|
8616
8629
|
records:
|
|
8617
8630
|
- protected: false
|
|
8618
8631
|
rdata: ns1.opusdns.com.
|
package/src/schema.d.ts
CHANGED
|
@@ -2655,6 +2655,12 @@ export interface components {
|
|
|
2655
2655
|
DnsRrsetResponse: {
|
|
2656
2656
|
/** Name */
|
|
2657
2657
|
name: string;
|
|
2658
|
+
/**
|
|
2659
|
+
* Protected
|
|
2660
|
+
* @description Whether the RRset is protected
|
|
2661
|
+
* @default false
|
|
2662
|
+
*/
|
|
2663
|
+
protected: boolean;
|
|
2658
2664
|
/** Records */
|
|
2659
2665
|
records?: components["schemas"]["DnsRecordResponse"][];
|
|
2660
2666
|
/** Ttl */
|
|
@@ -5828,6 +5834,11 @@ export interface components {
|
|
|
5828
5834
|
* @description Minimum length of the auth info
|
|
5829
5835
|
*/
|
|
5830
5836
|
authinfo_min_length?: number | null;
|
|
5837
|
+
/**
|
|
5838
|
+
* Authinfo Pattern
|
|
5839
|
+
* @description Regex pattern for validating auth info
|
|
5840
|
+
*/
|
|
5841
|
+
authinfo_pattern?: string | null;
|
|
5831
5842
|
/**
|
|
5832
5843
|
* Authinfo Required
|
|
5833
5844
|
* @description Whether an auth info is required for transfers
|