@opusdns/api 0.293.0 → 0.295.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.293.0",
6
+ "version": "0.295.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -12964,7 +12964,7 @@ export const KEYS_DOMAIN_CREATE_BULK_COMMAND = [
12964
12964
  */
12965
12965
  export const KEY_DOMAIN_CREATE_BULK_INSTANCE_AUTH_CODE: keyof DomainCreateBulkInstance = 'auth_code';
12966
12966
  /**
12967
- * Contacts
12967
+ * contacts property
12968
12968
  *
12969
12969
  * Override contacts for this domain
12970
12970
  *
@@ -13013,6 +13013,31 @@ export const KEY_DOMAIN_CREATE_BULK_INSTANCE_CONTACTS: keyof DomainCreateBulkIns
13013
13013
  * @see {@link KEYS_DOMAIN_CREATE_BULK_INSTANCE} - Array of all keys for this type
13014
13014
  */
13015
13015
  export const KEY_DOMAIN_CREATE_BULK_INSTANCE_CREATE_ZONE: keyof DomainCreateBulkInstance = 'create_zone';
13016
+ /**
13017
+ * expected_price property
13018
+ *
13019
+ * Expected price for premium domain confirmation. Required only for premium domains; must be set per-instance because each premium domain has its own price.
13020
+ *
13021
+ *
13022
+ *
13023
+ * @remarks
13024
+ * This key constant provides type-safe access to the `expected_price` property of DomainCreateBulkInstance objects.
13025
+ * Use this constant when you need to access properties dynamically or ensure type safety.
13026
+ *
13027
+ * @example
13028
+ * ```typescript
13029
+ * // Direct property access
13030
+ * const value = domaincreatebulkinstance[KEY_DOMAIN_CREATE_BULK_INSTANCE_EXPECTED_PRICE];
13031
+ *
13032
+ * // Dynamic property access
13033
+ * const propertyName = KEY_DOMAIN_CREATE_BULK_INSTANCE_EXPECTED_PRICE;
13034
+ * const value = domaincreatebulkinstance[propertyName];
13035
+ * ```
13036
+ *
13037
+ * @see {@link DomainCreateBulkInstance} - The TypeScript type definition
13038
+ * @see {@link KEYS_DOMAIN_CREATE_BULK_INSTANCE} - Array of all keys for this type
13039
+ */
13040
+ export const KEY_DOMAIN_CREATE_BULK_INSTANCE_EXPECTED_PRICE: keyof DomainCreateBulkInstance = 'expected_price';
13016
13041
  /**
13017
13042
  * Name
13018
13043
  *
@@ -13139,6 +13164,7 @@ export const KEYS_DOMAIN_CREATE_BULK_INSTANCE = [
13139
13164
  KEY_DOMAIN_CREATE_BULK_INSTANCE_AUTH_CODE,
13140
13165
  KEY_DOMAIN_CREATE_BULK_INSTANCE_CONTACTS,
13141
13166
  KEY_DOMAIN_CREATE_BULK_INSTANCE_CREATE_ZONE,
13167
+ KEY_DOMAIN_CREATE_BULK_INSTANCE_EXPECTED_PRICE,
13142
13168
  KEY_DOMAIN_CREATE_BULK_INSTANCE_NAME,
13143
13169
  KEY_DOMAIN_CREATE_BULK_INSTANCE_NAMESERVERS,
13144
13170
  KEY_DOMAIN_CREATE_BULK_INSTANCE_PERIOD,
@@ -13248,9 +13274,8 @@ export const KEYS_DOMAIN_CREATE_BULK_PAYLOAD = [
13248
13274
  */
13249
13275
  export const KEY_DOMAIN_CREATE_BULK_TEMPLATE_AUTH_CODE: keyof DomainCreateBulkTemplate = 'auth_code';
13250
13276
  /**
13251
- * Contacts
13277
+ * contacts property
13252
13278
  *
13253
- * The contacts of the domain
13254
13279
  *
13255
13280
  *
13256
13281
  *
@@ -18844,7 +18869,7 @@ export const KEY_DOMAIN_TRANSFER_BULK_INSTANCE_ATTRIBUTES: keyof DomainTransferB
18844
18869
  */
18845
18870
  export const KEY_DOMAIN_TRANSFER_BULK_INSTANCE_AUTH_CODE: keyof DomainTransferBulkInstance = 'auth_code';
18846
18871
  /**
18847
- * Contacts
18872
+ * contacts property
18848
18873
  *
18849
18874
  * Override contacts for this domain
18850
18875
  *
@@ -18893,6 +18918,31 @@ export const KEY_DOMAIN_TRANSFER_BULK_INSTANCE_CONTACTS: keyof DomainTransferBul
18893
18918
  * @see {@link KEYS_DOMAIN_TRANSFER_BULK_INSTANCE} - Array of all keys for this type
18894
18919
  */
18895
18920
  export const KEY_DOMAIN_TRANSFER_BULK_INSTANCE_CREATE_ZONE: keyof DomainTransferBulkInstance = 'create_zone';
18921
+ /**
18922
+ * expected_price property
18923
+ *
18924
+ * Expected price for premium domain confirmation. Required only for premium domains; must be set per-instance because each premium domain has its own price.
18925
+ *
18926
+ *
18927
+ *
18928
+ * @remarks
18929
+ * This key constant provides type-safe access to the `expected_price` property of DomainTransferBulkInstance objects.
18930
+ * Use this constant when you need to access properties dynamically or ensure type safety.
18931
+ *
18932
+ * @example
18933
+ * ```typescript
18934
+ * // Direct property access
18935
+ * const value = domaintransferbulkinstance[KEY_DOMAIN_TRANSFER_BULK_INSTANCE_EXPECTED_PRICE];
18936
+ *
18937
+ * // Dynamic property access
18938
+ * const propertyName = KEY_DOMAIN_TRANSFER_BULK_INSTANCE_EXPECTED_PRICE;
18939
+ * const value = domaintransferbulkinstance[propertyName];
18940
+ * ```
18941
+ *
18942
+ * @see {@link DomainTransferBulkInstance} - The TypeScript type definition
18943
+ * @see {@link KEYS_DOMAIN_TRANSFER_BULK_INSTANCE} - Array of all keys for this type
18944
+ */
18945
+ export const KEY_DOMAIN_TRANSFER_BULK_INSTANCE_EXPECTED_PRICE: keyof DomainTransferBulkInstance = 'expected_price';
18896
18946
  /**
18897
18947
  * Name
18898
18948
  *
@@ -19020,6 +19070,7 @@ export const KEYS_DOMAIN_TRANSFER_BULK_INSTANCE = [
19020
19070
  KEY_DOMAIN_TRANSFER_BULK_INSTANCE_AUTH_CODE,
19021
19071
  KEY_DOMAIN_TRANSFER_BULK_INSTANCE_CONTACTS,
19022
19072
  KEY_DOMAIN_TRANSFER_BULK_INSTANCE_CREATE_ZONE,
19073
+ KEY_DOMAIN_TRANSFER_BULK_INSTANCE_EXPECTED_PRICE,
19023
19074
  KEY_DOMAIN_TRANSFER_BULK_INSTANCE_NAME,
19024
19075
  KEY_DOMAIN_TRANSFER_BULK_INSTANCE_NAMESERVERS,
19025
19076
  KEY_DOMAIN_TRANSFER_BULK_INSTANCE_PERIOD,
@@ -19129,9 +19180,8 @@ export const KEYS_DOMAIN_TRANSFER_BULK_PAYLOAD = [
19129
19180
  */
19130
19181
  export const KEY_DOMAIN_TRANSFER_BULK_TEMPLATE_ATTRIBUTES: keyof DomainTransferBulkTemplate = 'attributes';
19131
19182
  /**
19132
- * Contacts
19183
+ * contacts property
19133
19184
  *
19134
- * The contacts of the domain
19135
19185
  *
19136
19186
  *
19137
19187
  *
@@ -20500,7 +20550,7 @@ export const KEYS_DOMAIN_UPDATE_BULK_COMMAND = [
20500
20550
  */
20501
20551
  export const KEY_DOMAIN_UPDATE_BULK_INSTANCE_AUTH_CODE: keyof DomainUpdateBulkInstance = 'auth_code';
20502
20552
  /**
20503
- * Contacts
20553
+ * contacts property
20504
20554
  *
20505
20555
  * Override contacts for this domain
20506
20556
  *
@@ -20784,7 +20834,7 @@ export const KEYS_DOMAIN_UPDATE_BULK_PAYLOAD = [
20784
20834
  ] as const satisfies (keyof DomainUpdateBulkPayload)[];
20785
20835
 
20786
20836
  /**
20787
- * Contacts
20837
+ * contacts property
20788
20838
  *
20789
20839
  * The new contacts of the domain
20790
20840
  *
package/src/openapi.yaml CHANGED
@@ -3080,16 +3080,21 @@ components:
3080
3080
  contacts:
3081
3081
  anyOf:
3082
3082
  - $ref: '#/components/schemas/DomainContactHandles'
3083
- - $ref: '#/components/schemas/ContactIdList'
3084
3083
  - type: 'null'
3085
3084
  description: Override contacts for this domain
3086
- title: Contacts
3087
3085
  create_zone:
3088
3086
  anyOf:
3089
3087
  - type: boolean
3090
3088
  - type: 'null'
3091
3089
  description: Override create_zone for this domain
3092
3090
  title: Create Zone
3091
+ expected_price:
3092
+ anyOf:
3093
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
3094
+ - type: 'null'
3095
+ description: Expected price for premium domain confirmation. Required only
3096
+ for premium domains; must be set per-instance because each premium domain
3097
+ has its own price.
3093
3098
  name:
3094
3099
  description: The domain to be created
3095
3100
  title: Name
@@ -3145,11 +3150,7 @@ components:
3145
3150
  description: The auth code used for the domain
3146
3151
  title: Auth Code
3147
3152
  contacts:
3148
- anyOf:
3149
- - $ref: '#/components/schemas/DomainContactHandles'
3150
- - $ref: '#/components/schemas/ContactIdList'
3151
- description: The contacts of the domain
3152
- title: Contacts
3153
+ $ref: '#/components/schemas/DomainContactHandles'
3153
3154
  create_zone:
3154
3155
  default: false
3155
3156
  description: Create a zone on OpusDNS nameserver infrastructure
@@ -4458,16 +4459,21 @@ components:
4458
4459
  contacts:
4459
4460
  anyOf:
4460
4461
  - $ref: '#/components/schemas/DomainContactHandles'
4461
- - $ref: '#/components/schemas/ContactIdList'
4462
4462
  - type: 'null'
4463
4463
  description: Override contacts for this domain
4464
- title: Contacts
4465
4464
  create_zone:
4466
4465
  anyOf:
4467
4466
  - type: boolean
4468
4467
  - type: 'null'
4469
4468
  description: Override create_zone for this domain
4470
4469
  title: Create Zone
4470
+ expected_price:
4471
+ anyOf:
4472
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
4473
+ - type: 'null'
4474
+ description: Expected price for premium domain confirmation. Required only
4475
+ for premium domains; must be set per-instance because each premium domain
4476
+ has its own price.
4471
4477
  name:
4472
4478
  description: The domain to transfer
4473
4479
  title: Name
@@ -4526,11 +4532,7 @@ components:
4526
4532
  description: Additional attributes of the domain
4527
4533
  title: Attributes
4528
4534
  contacts:
4529
- anyOf:
4530
- - $ref: '#/components/schemas/DomainContactHandles'
4531
- - $ref: '#/components/schemas/ContactIdList'
4532
- description: The contacts of the domain
4533
- title: Contacts
4535
+ $ref: '#/components/schemas/DomainContactHandles'
4534
4536
  create_zone:
4535
4537
  default: false
4536
4538
  description: Create a zone on OpusDNS nameserver infrastructure
@@ -4839,10 +4841,8 @@ components:
4839
4841
  contacts:
4840
4842
  anyOf:
4841
4843
  - $ref: '#/components/schemas/DomainContactHandles'
4842
- - $ref: '#/components/schemas/ContactIdList'
4843
4844
  - type: 'null'
4844
4845
  description: Override contacts for this domain
4845
- title: Contacts
4846
4846
  domain_id:
4847
4847
  anyOf:
4848
4848
  - type: string
@@ -4906,10 +4906,8 @@ components:
4906
4906
  contacts:
4907
4907
  anyOf:
4908
4908
  - $ref: '#/components/schemas/DomainContactHandles'
4909
- - $ref: '#/components/schemas/ContactIdList'
4910
4909
  - type: 'null'
4911
4910
  description: The new contacts of the domain
4912
- title: Contacts
4913
4911
  nameservers:
4914
4912
  anyOf:
4915
4913
  - items:
@@ -11206,7 +11204,7 @@ info:
11206
11204
  \n\n"
11207
11205
  summary: OpusDNS - your gateway to a seamless domain management experience.
11208
11206
  title: OpusDNS API
11209
- version: 2026-05-11-075637
11207
+ version: 2026-05-11-205618
11210
11208
  x-logo:
11211
11209
  altText: OpusDNS API Reference
11212
11210
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -21170,12 +21168,22 @@ paths:
21170
21168
  period:
21171
21169
  unit: y
21172
21170
  value: 2
21171
+ - expected_price: '2500.00'
21172
+ name: premium-domain.com
21173
21173
  template:
21174
21174
  contacts:
21175
- admin: contact_01kc433yvre99af2wasxhtpswf
21176
- billing: contact_01kc433yvre99af2wasxhtpswf
21177
- registrant: contact_01kc433yvre99af2wasxhtpswf
21178
- tech: contact_01kc433yvre99af2wasxhtpswf
21175
+ admin:
21176
+ - attributes: {}
21177
+ contact_id: contact_01kc433yvre99af2wasxhtpswf
21178
+ billing:
21179
+ - attributes: {}
21180
+ contact_id: contact_01kc433yvre99af2wasxhtpswf
21181
+ registrant:
21182
+ - attributes: {}
21183
+ contact_id: contact_01kc433yvre99af2wasxhtpswf
21184
+ tech:
21185
+ - attributes: {}
21186
+ contact_id: contact_01kc433yvre99af2wasxhtpswf
21179
21187
  create_zone: true
21180
21188
  nameservers:
21181
21189
  - hostname: ns1.example.com
@@ -21204,12 +21212,23 @@ paths:
21204
21212
  name: transfer2.com
21205
21213
  - auth_code: AUTH789GHI
21206
21214
  name: transfer3.com
21215
+ - auth_code: AUTHPREM1
21216
+ expected_price: '1750.00'
21217
+ name: premium-transfer.com
21207
21218
  template:
21208
21219
  contacts:
21209
- admin: contact_01kc433yvre99af2wasxhtpswf
21210
- billing: contact_01kc433yvre99af2wasxhtpswf
21211
- registrant: contact_01kc433yvre99af2wasxhtpswf
21212
- tech: contact_01kc433yvre99af2wasxhtpswf
21220
+ admin:
21221
+ - attributes: {}
21222
+ contact_id: contact_01kc433yvre99af2wasxhtpswf
21223
+ billing:
21224
+ - attributes: {}
21225
+ contact_id: contact_01kc433yvre99af2wasxhtpswf
21226
+ registrant:
21227
+ - attributes: {}
21228
+ contact_id: contact_01kc433yvre99af2wasxhtpswf
21229
+ tech:
21230
+ - attributes: {}
21231
+ contact_id: contact_01kc433yvre99af2wasxhtpswf
21213
21232
  create_zone: false
21214
21233
  nameservers:
21215
21234
  - hostname: ns1.example.com
package/src/schema.d.ts CHANGED
@@ -4523,16 +4523,15 @@ export interface components {
4523
4523
  * @description Override auth code for this domain
4524
4524
  */
4525
4525
  auth_code?: string | null;
4526
- /**
4527
- * Contacts
4528
- * @description Override contacts for this domain
4529
- */
4530
- contacts?: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"] | null;
4526
+ /** @description Override contacts for this domain */
4527
+ contacts?: components["schemas"]["DomainContactHandles"] | null;
4531
4528
  /**
4532
4529
  * Create Zone
4533
4530
  * @description Override create_zone for this domain
4534
4531
  */
4535
4532
  create_zone?: boolean | null;
4533
+ /** @description Expected price for premium domain confirmation. Required only for premium domains; must be set per-instance because each premium domain has its own price. */
4534
+ expected_price?: components["schemas"]["StrictMoneyDecimal"] | null;
4536
4535
  /**
4537
4536
  * Name
4538
4537
  * @description The domain to be created
@@ -4565,11 +4564,7 @@ export interface components {
4565
4564
  * @description The auth code used for the domain
4566
4565
  */
4567
4566
  auth_code?: string | null;
4568
- /**
4569
- * Contacts
4570
- * @description The contacts of the domain
4571
- */
4572
- contacts: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
4567
+ contacts: components["schemas"]["DomainContactHandles"];
4573
4568
  /**
4574
4569
  * Create Zone
4575
4570
  * @description Create a zone on OpusDNS nameserver infrastructure
@@ -5412,16 +5407,15 @@ export interface components {
5412
5407
  * @description The auth code for this domain (required)
5413
5408
  */
5414
5409
  auth_code: string;
5415
- /**
5416
- * Contacts
5417
- * @description Override contacts for this domain
5418
- */
5419
- contacts?: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"] | null;
5410
+ /** @description Override contacts for this domain */
5411
+ contacts?: components["schemas"]["DomainContactHandles"] | null;
5420
5412
  /**
5421
5413
  * Create Zone
5422
5414
  * @description Override create_zone for this domain
5423
5415
  */
5424
5416
  create_zone?: boolean | null;
5417
+ /** @description Expected price for premium domain confirmation. Required only for premium domains; must be set per-instance because each premium domain has its own price. */
5418
+ expected_price?: components["schemas"]["StrictMoneyDecimal"] | null;
5425
5419
  /**
5426
5420
  * Name
5427
5421
  * @description The domain to transfer
@@ -5456,11 +5450,7 @@ export interface components {
5456
5450
  attributes?: {
5457
5451
  [key: string]: string;
5458
5452
  } | null;
5459
- /**
5460
- * Contacts
5461
- * @description The contacts of the domain
5462
- */
5463
- contacts: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"];
5453
+ contacts: components["schemas"]["DomainContactHandles"];
5464
5454
  /**
5465
5455
  * Create Zone
5466
5456
  * @description Create a zone on OpusDNS nameserver infrastructure
@@ -5681,11 +5671,8 @@ export interface components {
5681
5671
  * @description Override auth code for this domain
5682
5672
  */
5683
5673
  auth_code?: string | null;
5684
- /**
5685
- * Contacts
5686
- * @description Override contacts for this domain
5687
- */
5688
- contacts?: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"] | null;
5674
+ /** @description Override contacts for this domain */
5675
+ contacts?: components["schemas"]["DomainContactHandles"] | null;
5689
5676
  /**
5690
5677
  * Domain Id
5691
5678
  * @description The domain ID to update
@@ -5723,11 +5710,8 @@ export interface components {
5723
5710
  };
5724
5711
  /** DomainUpdateBulkTemplate */
5725
5712
  DomainUpdateBulkTemplate: {
5726
- /**
5727
- * Contacts
5728
- * @description The new contacts of the domain
5729
- */
5730
- contacts?: components["schemas"]["DomainContactHandles"] | components["schemas"]["ContactIdList"] | null;
5713
+ /** @description The new contacts of the domain */
5714
+ contacts?: components["schemas"]["DomainContactHandles"] | null;
5731
5715
  /**
5732
5716
  * Nameservers
5733
5717
  * @description The new name servers for the domain