@opusdns/api 0.315.0 → 0.317.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.315.0",
6
+ "version": "0.317.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -322,6 +322,7 @@ export const BILLING_TRANSACTION_PRODUCT_TYPE = {
322
322
  EMAIL_FORWARD: "email_forward",
323
323
  DOMAIN_FORWARD: "domain_forward",
324
324
  ACCOUNT_WALLET: "account_wallet",
325
+ VANITY_NAMESERVER: "vanity_nameserver",
325
326
  } as const satisfies Record<string, BillingTransactionProductType>;
326
327
 
327
328
  /**
@@ -350,7 +351,8 @@ export const BILLING_TRANSACTION_PRODUCT_TYPE_VALUES = [
350
351
  'zones',
351
352
  'email_forward',
352
353
  'domain_forward',
353
- 'account_wallet'
354
+ 'account_wallet',
355
+ 'vanity_nameserver'
354
356
  ] as const satisfies [string, ...string[]] | BillingTransactionProductType[];
355
357
 
356
358
  /**
@@ -28848,6 +28848,30 @@ export const KEYS_LEGAL_REQUIREMENT_BASE = [
28848
28848
  * @see {@link KEYS_LOCAL_PRESENCE_BASE} - Array of all keys for this type
28849
28849
  */
28850
28850
  export const KEY_LOCAL_PRESENCE_BASE_ELIGIBLE_COUNTRIES: keyof LocalPresenceBase = 'eligible_countries';
28851
+ /**
28852
+ * Exemptions
28853
+ *
28854
+ *
28855
+ *
28856
+ *
28857
+ * @remarks
28858
+ * This key constant provides type-safe access to the `exemptions` property of LocalPresenceBase objects.
28859
+ * Use this constant when you need to access properties dynamically or ensure type safety.
28860
+ *
28861
+ * @example
28862
+ * ```typescript
28863
+ * // Direct property access
28864
+ * const value = localpresencebase[KEY_LOCAL_PRESENCE_BASE_EXEMPTIONS];
28865
+ *
28866
+ * // Dynamic property access
28867
+ * const propertyName = KEY_LOCAL_PRESENCE_BASE_EXEMPTIONS;
28868
+ * const value = localpresencebase[propertyName];
28869
+ * ```
28870
+ *
28871
+ * @see {@link LocalPresenceBase} - The TypeScript type definition
28872
+ * @see {@link KEYS_LOCAL_PRESENCE_BASE} - Array of all keys for this type
28873
+ */
28874
+ export const KEY_LOCAL_PRESENCE_BASE_EXEMPTIONS: keyof LocalPresenceBase = 'exemptions';
28851
28875
  /**
28852
28876
  * Required
28853
28877
  *
@@ -28947,6 +28971,7 @@ export const KEY_LOCAL_PRESENCE_BASE_TYPE: keyof LocalPresenceBase = 'type';
28947
28971
  */
28948
28972
  export const KEYS_LOCAL_PRESENCE_BASE = [
28949
28973
  KEY_LOCAL_PRESENCE_BASE_ELIGIBLE_COUNTRIES,
28974
+ KEY_LOCAL_PRESENCE_BASE_EXEMPTIONS,
28950
28975
  KEY_LOCAL_PRESENCE_BASE_REQUIRED,
28951
28976
  KEY_LOCAL_PRESENCE_BASE_REQUIREMENT,
28952
28977
  KEY_LOCAL_PRESENCE_BASE_TYPE,
package/src/openapi.yaml CHANGED
@@ -146,6 +146,7 @@ components:
146
146
  - email_forward
147
147
  - domain_forward
148
148
  - account_wallet
149
+ - vanity_nameserver
149
150
  title: BillingTransactionProductType
150
151
  type: string
151
152
  BillingTransactionResponse:
@@ -7047,6 +7048,13 @@ components:
7047
7048
  - type: 'null'
7048
7049
  description: ISO 3166-1 Alpha-2 country code
7049
7050
  title: Eligible Countries
7051
+ exemptions:
7052
+ anyOf:
7053
+ - items:
7054
+ $ref: '#/components/schemas/AttributeCondition'
7055
+ type: array
7056
+ - type: 'null'
7057
+ title: Exemptions
7050
7058
  required:
7051
7059
  description: Whether a local presence is required to register and maintain
7052
7060
  a domain name
@@ -11582,7 +11590,7 @@ info:
11582
11590
  \n\n"
11583
11591
  summary: OpusDNS - your gateway to a seamless domain management experience.
11584
11592
  title: OpusDNS API
11585
- version: 2026-05-27-202702
11593
+ version: 2026-06-01-184117
11586
11594
  x-logo:
11587
11595
  altText: OpusDNS API Reference
11588
11596
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -2566,7 +2566,7 @@ export interface components {
2566
2566
  * BillingTransactionProductType
2567
2567
  * @enum {string}
2568
2568
  */
2569
- BillingTransactionProductType: "domain" | "zones" | "email_forward" | "domain_forward" | "account_wallet";
2569
+ BillingTransactionProductType: "domain" | "zones" | "email_forward" | "domain_forward" | "account_wallet" | "vanity_nameserver";
2570
2570
  /** BillingTransactionResponse */
2571
2571
  BillingTransactionResponse: {
2572
2572
  /** @description The action performed in the transaction */
@@ -7147,6 +7147,8 @@ export interface components {
7147
7147
  * @description ISO 3166-1 Alpha-2 country code
7148
7148
  */
7149
7149
  eligible_countries?: string[] | null;
7150
+ /** Exemptions */
7151
+ exemptions?: components["schemas"]["AttributeCondition"][] | null;
7150
7152
  /**
7151
7153
  * Required
7152
7154
  * @description Whether a local presence is required to register and maintain a domain name