@opusdns/api 0.268.0 → 0.270.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.268.0",
6
+ "version": "0.270.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -1214,6 +1214,7 @@ export const DNSSEC_STATUS_VALUES = [
1214
1214
  */
1215
1215
  export const DOMAIN_ATTRIBUTE_KEY = {
1216
1216
  AUTO_RENEW_PERIOD: "auto_renew_period",
1217
+ MUSIC_REGISTRANT_ATTESTATION: "music_registrant_attestation",
1217
1218
  } as const satisfies Record<string, DomainAttributeKey>;
1218
1219
 
1219
1220
  /**
@@ -1238,7 +1239,8 @@ export const DOMAIN_ATTRIBUTE_KEY = {
1238
1239
  * @see {@link DOMAIN_ATTRIBUTE_KEY} - The object form of this enum
1239
1240
  */
1240
1241
  export const DOMAIN_ATTRIBUTE_KEY_VALUES = [
1241
- 'auto_renew_period'
1242
+ 'auto_renew_period',
1243
+ 'music_registrant_attestation'
1242
1244
  ] as const satisfies [string, ...string[]] | DomainAttributeKey[];
1243
1245
 
1244
1246
  /**
@@ -10894,6 +10894,31 @@ export const KEYS_DOMAIN_CONTACT = [
10894
10894
  KEY_DOMAIN_CONTACT_CONTACT_TYPE,
10895
10895
  ] as const satisfies (keyof DomainContact)[];
10896
10896
 
10897
+ /**
10898
+ * Attributes
10899
+ *
10900
+ * Additional attributes of the domain
10901
+ *
10902
+ *
10903
+ *
10904
+ * @remarks
10905
+ * This key constant provides type-safe access to the `attributes` property of DomainCreate objects.
10906
+ * Use this constant when you need to access properties dynamically or ensure type safety.
10907
+ *
10908
+ * @example
10909
+ * ```typescript
10910
+ * // Direct property access
10911
+ * const value = domaincreate[KEY_DOMAIN_CREATE_ATTRIBUTES];
10912
+ *
10913
+ * // Dynamic property access
10914
+ * const propertyName = KEY_DOMAIN_CREATE_ATTRIBUTES;
10915
+ * const value = domaincreate[propertyName];
10916
+ * ```
10917
+ *
10918
+ * @see {@link DomainCreate} - The TypeScript type definition
10919
+ * @see {@link KEYS_DOMAIN_CREATE} - Array of all keys for this type
10920
+ */
10921
+ export const KEY_DOMAIN_CREATE_ATTRIBUTES: keyof DomainCreate = 'attributes';
10897
10922
  /**
10898
10923
  * Auth Code
10899
10924
  *
@@ -11118,6 +11143,7 @@ export const KEY_DOMAIN_CREATE_RENEWAL_MODE: keyof DomainCreate = 'renewal_mode'
11118
11143
  * @see {@link DomainCreate} - The TypeScript type definition
11119
11144
  */
11120
11145
  export const KEYS_DOMAIN_CREATE = [
11146
+ KEY_DOMAIN_CREATE_ATTRIBUTES,
11121
11147
  KEY_DOMAIN_CREATE_AUTH_CODE,
11122
11148
  KEY_DOMAIN_CREATE_CONTACTS,
11123
11149
  KEY_DOMAIN_CREATE_CREATE_ZONE,
@@ -11851,6 +11877,31 @@ export const KEYS_DOMAIN_CREATE_COMMAND = [
11851
11877
  KEY_DOMAIN_CREATE_COMMAND_VERSION,
11852
11878
  ] as const satisfies (keyof DomainCreateCommand)[];
11853
11879
 
11880
+ /**
11881
+ * Attributes
11882
+ *
11883
+ * Additional attributes of the domain
11884
+ *
11885
+ *
11886
+ *
11887
+ * @remarks
11888
+ * This key constant provides type-safe access to the `attributes` property of DomainCreatePayloadData objects.
11889
+ * Use this constant when you need to access properties dynamically or ensure type safety.
11890
+ *
11891
+ * @example
11892
+ * ```typescript
11893
+ * // Direct property access
11894
+ * const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_ATTRIBUTES];
11895
+ *
11896
+ * // Dynamic property access
11897
+ * const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_ATTRIBUTES;
11898
+ * const value = domaincreatepayloaddata[propertyName];
11899
+ * ```
11900
+ *
11901
+ * @see {@link DomainCreatePayloadData} - The TypeScript type definition
11902
+ * @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
11903
+ */
11904
+ export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_ATTRIBUTES: keyof DomainCreatePayloadData = 'attributes';
11854
11905
  /**
11855
11906
  * Auth Code
11856
11907
  *
@@ -12075,6 +12126,7 @@ export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_RENEWAL_MODE: keyof DomainCreatePayl
12075
12126
  * @see {@link DomainCreatePayloadData} - The TypeScript type definition
12076
12127
  */
12077
12128
  export const KEYS_DOMAIN_CREATE_PAYLOAD_DATA = [
12129
+ KEY_DOMAIN_CREATE_PAYLOAD_DATA_ATTRIBUTES,
12078
12130
  KEY_DOMAIN_CREATE_PAYLOAD_DATA_AUTH_CODE,
12079
12131
  KEY_DOMAIN_CREATE_PAYLOAD_DATA_CONTACTS,
12080
12132
  KEY_DOMAIN_CREATE_PAYLOAD_DATA_CREATE_ZONE,
package/src/openapi.yaml CHANGED
@@ -2497,6 +2497,7 @@ components:
2497
2497
  DomainAttributeKey:
2498
2498
  enum:
2499
2499
  - auto_renew_period
2500
+ - music_registrant_attestation
2500
2501
  title: DomainAttributeKey
2501
2502
  type: string
2502
2503
  DomainAvailability:
@@ -2604,6 +2605,16 @@ components:
2604
2605
  type: string
2605
2606
  DomainCreate:
2606
2607
  properties:
2608
+ attributes:
2609
+ anyOf:
2610
+ - additionalProperties:
2611
+ type: string
2612
+ propertyNames:
2613
+ $ref: '#/components/schemas/DomainAttributeKey'
2614
+ type: object
2615
+ - type: 'null'
2616
+ description: Additional attributes of the domain
2617
+ title: Attributes
2607
2618
  auth_code:
2608
2619
  anyOf:
2609
2620
  - maxLength: 32
@@ -2814,6 +2825,16 @@ components:
2814
2825
  type: object
2815
2826
  DomainCreatePayloadData:
2816
2827
  properties:
2828
+ attributes:
2829
+ anyOf:
2830
+ - additionalProperties:
2831
+ type: string
2832
+ propertyNames:
2833
+ $ref: '#/components/schemas/DomainAttributeKey'
2834
+ type: object
2835
+ - type: 'null'
2836
+ description: Additional attributes of the domain
2837
+ title: Attributes
2817
2838
  auth_code:
2818
2839
  anyOf:
2819
2840
  - maxLength: 32
@@ -10126,7 +10147,7 @@ info:
10126
10147
  \n\n"
10127
10148
  summary: OpusDNS - your gateway to a seamless domain management experience.
10128
10149
  title: OpusDNS API
10129
- version: 2026-04-24-152800
10150
+ version: 2026-04-24-174932
10130
10151
  x-logo:
10131
10152
  altText: OpusDNS API Reference
10132
10153
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -3942,7 +3942,7 @@ export interface components {
3942
3942
  * DomainAttributeKey
3943
3943
  * @enum {string}
3944
3944
  */
3945
- DomainAttributeKey: "auto_renew_period";
3945
+ DomainAttributeKey: "auto_renew_period" | "music_registrant_attestation";
3946
3946
  /** DomainAvailability */
3947
3947
  DomainAvailability: {
3948
3948
  /** Domain */
@@ -3999,6 +3999,13 @@ export interface components {
3999
3999
  DomainContactType: "registrant" | "admin" | "tech" | "billing";
4000
4000
  /** DomainCreate */
4001
4001
  DomainCreate: {
4002
+ /**
4003
+ * Attributes
4004
+ * @description Additional attributes of the domain
4005
+ */
4006
+ attributes?: {
4007
+ [key: string]: string;
4008
+ } | null;
4002
4009
  /**
4003
4010
  * Auth Code
4004
4011
  * @description The auth code used for the domain
@@ -4149,6 +4156,13 @@ export interface components {
4149
4156
  };
4150
4157
  /** DomainCreatePayloadData */
4151
4158
  DomainCreatePayloadData: {
4159
+ /**
4160
+ * Attributes
4161
+ * @description Additional attributes of the domain
4162
+ */
4163
+ attributes?: {
4164
+ [key: string]: string;
4165
+ } | null;
4152
4166
  /**
4153
4167
  * Auth Code
4154
4168
  * @description The auth code used for the domain