@opusdns/api 1.85.0 → 1.87.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": "^1.2.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.85.0",
6
+ "version": "1.87.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -1330,6 +1330,7 @@ export const KEY_DNS_CONFIGURATION_BASE_CZDS_AVAILABLE = 'czds_available' satisf
1330
1330
  export const KEY_DNS_CONFIGURATION_BASE_DNSSEC_ALLOWED = 'dnssec_allowed' satisfies keyof DnsConfigurationBase;
1331
1331
  export const KEY_DNS_CONFIGURATION_BASE_DNSSEC_MANDATORY = 'dnssec_mandatory' satisfies keyof DnsConfigurationBase;
1332
1332
  export const KEY_DNS_CONFIGURATION_BASE_DNSSEC_MODE = 'dnssec_mode' satisfies keyof DnsConfigurationBase;
1333
+ export const KEY_DNS_CONFIGURATION_BASE_DNSSEC_SUBMIT_DIGEST_TYPES = 'dnssec_submit_digest_types' satisfies keyof DnsConfigurationBase;
1333
1334
  export const KEY_DNS_CONFIGURATION_BASE_HOST_OBJECTS = 'host_objects' satisfies keyof DnsConfigurationBase;
1334
1335
  export const KEY_DNS_CONFIGURATION_BASE_HOST_PARENT_CHECK_TLDS = 'host_parent_check_tlds' satisfies keyof DnsConfigurationBase;
1335
1336
  export const KEY_DNS_CONFIGURATION_BASE_REGISTRY_NAMESERVER_CHECK = 'registry_nameserver_check' satisfies keyof DnsConfigurationBase;
@@ -1341,6 +1342,7 @@ export const KEYS_DNS_CONFIGURATION_BASE = [
1341
1342
  KEY_DNS_CONFIGURATION_BASE_DNSSEC_ALLOWED,
1342
1343
  KEY_DNS_CONFIGURATION_BASE_DNSSEC_MANDATORY,
1343
1344
  KEY_DNS_CONFIGURATION_BASE_DNSSEC_MODE,
1345
+ KEY_DNS_CONFIGURATION_BASE_DNSSEC_SUBMIT_DIGEST_TYPES,
1344
1346
  KEY_DNS_CONFIGURATION_BASE_HOST_OBJECTS,
1345
1347
  KEY_DNS_CONFIGURATION_BASE_HOST_PARENT_CHECK_TLDS,
1346
1348
  KEY_DNS_CONFIGURATION_BASE_REGISTRY_NAMESERVER_CHECK,
@@ -1092,11 +1092,12 @@ export type POST_DnsByZoneNameDnssecDisable_Response_200 = DnsChanges;
1092
1092
  export type POST_DnsByZoneNameDnssecDisable_Response_400 = Problem;
1093
1093
  export type POST_DnsByZoneNameDnssecDisable_Response_422 = HTTPValidationError;
1094
1094
 
1095
- export type POST_DnsByZoneNameDnssecEnable_Response = POST_DnsByZoneNameDnssecEnable_Response_200 | POST_DnsByZoneNameDnssecEnable_Response_400 | POST_DnsByZoneNameDnssecEnable_Response_422;
1095
+ export type POST_DnsByZoneNameDnssecEnable_Response = POST_DnsByZoneNameDnssecEnable_Response_200 | POST_DnsByZoneNameDnssecEnable_Response_400 | POST_DnsByZoneNameDnssecEnable_Response_409 | POST_DnsByZoneNameDnssecEnable_Response_422;
1096
1096
 
1097
1097
  export type POST_DnsByZoneNameDnssecEnable_Response_200 = DnsChanges;
1098
1098
  export type POST_DnsByZoneNameDnssecEnable_Response_400 = Problem;
1099
- export type POST_DnsByZoneNameDnssecEnable_Response_422 = HTTPValidationError;
1099
+ export type POST_DnsByZoneNameDnssecEnable_Response_409 = Problem;
1100
+ export type POST_DnsByZoneNameDnssecEnable_Response_422 = Problem;
1100
1101
 
1101
1102
  export type POST_DomainForwards_Response = POST_DomainForwards_Response_201 | POST_DomainForwards_Response_401 | POST_DomainForwards_Response_403 | POST_DomainForwards_Response_404 | POST_DomainForwards_Response_409 | POST_DomainForwards_Response_422;
1102
1103
 
@@ -1130,11 +1131,12 @@ export type POST_DomainsByDomainReferenceDnssecDisable_Response = POST_DomainsBy
1130
1131
  export type POST_DomainsByDomainReferenceDnssecDisable_Response_404 = Problem;
1131
1132
  export type POST_DomainsByDomainReferenceDnssecDisable_Response_422 = HTTPValidationError;
1132
1133
 
1133
- export type POST_DomainsByDomainReferenceDnssecEnable_Response = POST_DomainsByDomainReferenceDnssecEnable_Response_200 | POST_DomainsByDomainReferenceDnssecEnable_Response_404 | POST_DomainsByDomainReferenceDnssecEnable_Response_422;
1134
+ export type POST_DomainsByDomainReferenceDnssecEnable_Response = POST_DomainsByDomainReferenceDnssecEnable_Response_200 | POST_DomainsByDomainReferenceDnssecEnable_Response_404 | POST_DomainsByDomainReferenceDnssecEnable_Response_409 | POST_DomainsByDomainReferenceDnssecEnable_Response_422;
1134
1135
 
1135
1136
  export type POST_DomainsByDomainReferenceDnssecEnable_Response_200 = DomainDnssecData[];
1136
1137
  export type POST_DomainsByDomainReferenceDnssecEnable_Response_404 = Problem;
1137
- export type POST_DomainsByDomainReferenceDnssecEnable_Response_422 = HTTPValidationError;
1138
+ export type POST_DomainsByDomainReferenceDnssecEnable_Response_409 = Problem;
1139
+ export type POST_DomainsByDomainReferenceDnssecEnable_Response_422 = Problem;
1138
1140
 
1139
1141
  export type POST_DomainsByDomainReferenceRenew_Response = POST_DomainsByDomainReferenceRenew_Response_200 | POST_DomainsByDomainReferenceRenew_Response_422;
1140
1142
 
package/src/openapi.yaml CHANGED
@@ -2547,6 +2547,19 @@ components:
2547
2547
  - $ref: '#/components/schemas/DnssecModeType'
2548
2548
  - type: 'null'
2549
2549
  description: DNSSEC mode
2550
+ dnssec_submit_digest_types:
2551
+ anyOf:
2552
+ - items:
2553
+ type: integer
2554
+ minItems: 1
2555
+ type: array
2556
+ - type: 'null'
2557
+ description: 'Which DS digest types we submit to the registry for zones
2558
+ we host, in order of preference: the first listed type the zone has a
2559
+ DS record for is submitted, later entries are fallbacks. Absent means
2560
+ submit every digest type the zone publishes. This is our submission policy,
2561
+ not the set of digest types the registry accepts.'
2562
+ title: Dnssec Submit Digest Types
2550
2563
  host_objects:
2551
2564
  description: Whether the registry supports host objects or use attributes
2552
2565
  title: Host Objects
@@ -14882,7 +14895,7 @@ info:
14882
14895
  \n\n"
14883
14896
  summary: OpusDNS - your gateway to a seamless domain management experience.
14884
14897
  title: OpusDNS API
14885
- version: 2026-07-28-150643
14898
+ version: 2026-07-29-014404
14886
14899
  x-logo:
14887
14900
  altText: OpusDNS API Reference
14888
14901
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -18513,19 +18526,24 @@ paths:
18513
18526
  name: example.com.
18514
18527
  rrsets:
18515
18528
  - name: example.com.
18516
- protected: false
18529
+ protected: true
18530
+ protected_reason: SYSTEM_MANAGED_SOA
18517
18531
  records:
18518
- - protected: false
18532
+ - protected: true
18533
+ protected_reason: SYSTEM_MANAGED_SOA
18519
18534
  rdata: ns1.opusdns.com. hostmaster.opusdns.com. 2025111801
18520
18535
  10800 3600 604800 300
18521
18536
  ttl: 3600
18522
18537
  type: SOA
18523
18538
  - name: example.com.
18524
- protected: false
18539
+ protected: true
18540
+ protected_reason: SYSTEM_MANAGED_NS
18525
18541
  records:
18526
- - protected: false
18542
+ - protected: true
18543
+ protected_reason: SYSTEM_MANAGED_NS
18527
18544
  rdata: ns1.opusdns.com.
18528
- - protected: false
18545
+ - protected: true
18546
+ protected_reason: SYSTEM_MANAGED_NS
18529
18547
  rdata: ns2.opusdns.net.
18530
18548
  ttl: 3600
18531
18549
  type: NS
@@ -19287,12 +19305,35 @@ paths:
19287
19305
  schema:
19288
19306
  $ref: '#/components/schemas/Problem'
19289
19307
  description: Bad Request
19308
+ '409':
19309
+ content:
19310
+ application/problem+json:
19311
+ example:
19312
+ code: ERROR_DOMAIN_DNSSEC_ZONE_RECORDS_UNAVAILABLE
19313
+ detail: DNS zone 'example.com.' is DNSSEC-enabled but has no usable
19314
+ DS records to publish
19315
+ status: 409
19316
+ title: DNSSEC Zone Records Unavailable
19317
+ type: domain-dnssec-zone-records-unavailable
19318
+ zone_name: example.com.
19319
+ schema:
19320
+ $ref: '#/components/schemas/Problem'
19321
+ description: Conflict
19290
19322
  '422':
19291
19323
  content:
19292
19324
  application/problem+json:
19325
+ example:
19326
+ code: ERROR_DOMAIN_DNSSEC_DIGEST_POLICY
19327
+ detail: The DNS zone publishes DS digest type(s) [4], but only digest
19328
+ type(s) [2] can be submitted for TLD 'it'
19329
+ domain_name: example.it
19330
+ status: 422
19331
+ title: DNSSEC Digest Policy Error
19332
+ tld: it
19333
+ type: domain-dnssec-digest-policy
19293
19334
  schema:
19294
- $ref: '#/components/schemas/HTTPValidationError'
19295
- description: Validation Error
19335
+ $ref: '#/components/schemas/Problem'
19336
+ description: Unprocessable Content
19296
19337
  security:
19297
19338
  - OAuth2PasswordBearer: []
19298
19339
  - APIKeyHeader: []
@@ -24248,12 +24289,22 @@ paths:
24248
24289
  '422':
24249
24290
  content:
24250
24291
  application/problem+json:
24251
- example:
24252
- code: ERROR_POLICY_VALIDATION
24253
- detail: Additional error context.
24254
- status: 422
24255
- title: Policy Validation Error
24256
- type: policy-validation-error
24292
+ examples:
24293
+ Domain Management Error:
24294
+ value:
24295
+ code: ERROR_DOMAIN_DNSSEC_NOT_SUPPORTED
24296
+ detail: DNSSEC not supported for this TLD
24297
+ domain_name: Additional error context.
24298
+ status: 422
24299
+ title: Domain Management Error
24300
+ type: domain-dnssec-not-supported
24301
+ Policy Validation Error:
24302
+ value:
24303
+ code: ERROR_POLICY_VALIDATION
24304
+ detail: Additional error context.
24305
+ status: 422
24306
+ title: Policy Validation Error
24307
+ type: policy-validation-error
24257
24308
  schema:
24258
24309
  $ref: '#/components/schemas/Problem'
24259
24310
  description: Unprocessable Content
@@ -24355,12 +24406,45 @@ paths:
24355
24406
  schema:
24356
24407
  $ref: '#/components/schemas/Problem'
24357
24408
  description: Not Found
24409
+ '409':
24410
+ content:
24411
+ application/problem+json:
24412
+ example:
24413
+ code: ERROR_DOMAIN_DNSSEC_ZONE_RECORDS_UNAVAILABLE
24414
+ detail: DNS zone 'example.com.' is DNSSEC-enabled but has no usable
24415
+ DS records to publish
24416
+ status: 409
24417
+ title: DNSSEC Zone Records Unavailable
24418
+ type: domain-dnssec-zone-records-unavailable
24419
+ zone_name: example.com.
24420
+ schema:
24421
+ $ref: '#/components/schemas/Problem'
24422
+ description: Conflict
24358
24423
  '422':
24359
24424
  content:
24360
24425
  application/problem+json:
24426
+ examples:
24427
+ DNSSEC Digest Policy Error:
24428
+ value:
24429
+ code: ERROR_DOMAIN_DNSSEC_DIGEST_POLICY
24430
+ detail: The DNS zone publishes DS digest type(s) [4], but only
24431
+ digest type(s) [2] can be submitted for TLD 'it'
24432
+ domain_name: example.it
24433
+ status: 422
24434
+ title: DNSSEC Digest Policy Error
24435
+ tld: it
24436
+ type: domain-dnssec-digest-policy
24437
+ Domain Management Error:
24438
+ value:
24439
+ code: ERROR_DOMAIN_DNSSEC_NOT_SUPPORTED
24440
+ detail: DNSSEC not supported for this TLD
24441
+ domain_name: Additional error context.
24442
+ status: 422
24443
+ title: Domain Management Error
24444
+ type: domain-dnssec-not-supported
24361
24445
  schema:
24362
- $ref: '#/components/schemas/HTTPValidationError'
24363
- description: Validation Error
24446
+ $ref: '#/components/schemas/Problem'
24447
+ description: Unprocessable Content
24364
24448
  security:
24365
24449
  - OAuth2PasswordBearer: []
24366
24450
  - APIKeyHeader: []
package/src/schema.d.ts CHANGED
@@ -4586,6 +4586,11 @@ export interface components {
4586
4586
  dnssec_mandatory?: boolean | null;
4587
4587
  /** @description DNSSEC mode */
4588
4588
  dnssec_mode?: components["schemas"]["DnssecModeType"] | null;
4589
+ /**
4590
+ * Dnssec Submit Digest Types
4591
+ * @description Which DS digest types we submit to the registry for zones we host, in order of preference: the first listed type the zone has a DS record for is submitted, later entries are fallbacks. Absent means submit every digest type the zone publishes. This is our submission policy, not the set of digest types the registry accepts.
4592
+ */
4593
+ dnssec_submit_digest_types?: number[] | null;
4589
4594
  /**
4590
4595
  * Host Objects
4591
4596
  * @description Whether the registry supports host objects or use attributes
@@ -16266,13 +16271,39 @@ export interface operations {
16266
16271
  "application/problem+json": components["schemas"]["Problem"];
16267
16272
  };
16268
16273
  };
16269
- /** @description Validation Error */
16274
+ /** @description Conflict */
16275
+ 409: {
16276
+ headers: {
16277
+ [name: string]: unknown;
16278
+ };
16279
+ content: {
16280
+ /** @example {
16281
+ * "code": "ERROR_DOMAIN_DNSSEC_ZONE_RECORDS_UNAVAILABLE",
16282
+ * "detail": "DNS zone 'example.com.' is DNSSEC-enabled but has no usable DS records to publish",
16283
+ * "status": 409,
16284
+ * "title": "DNSSEC Zone Records Unavailable",
16285
+ * "type": "domain-dnssec-zone-records-unavailable",
16286
+ * "zone_name": "example.com."
16287
+ * } */
16288
+ "application/problem+json": components["schemas"]["Problem"];
16289
+ };
16290
+ };
16291
+ /** @description Unprocessable Content */
16270
16292
  422: {
16271
16293
  headers: {
16272
16294
  [name: string]: unknown;
16273
16295
  };
16274
16296
  content: {
16275
- "application/problem+json": components["schemas"]["HTTPValidationError"];
16297
+ /** @example {
16298
+ * "code": "ERROR_DOMAIN_DNSSEC_DIGEST_POLICY",
16299
+ * "detail": "The DNS zone publishes DS digest type(s) [4], but only digest type(s) [2] can be submitted for TLD 'it'",
16300
+ * "domain_name": "example.it",
16301
+ * "status": 422,
16302
+ * "title": "DNSSEC Digest Policy Error",
16303
+ * "tld": "it",
16304
+ * "type": "domain-dnssec-digest-policy"
16305
+ * } */
16306
+ "application/problem+json": components["schemas"]["Problem"];
16276
16307
  };
16277
16308
  };
16278
16309
  };
@@ -19978,13 +20009,6 @@ export interface operations {
19978
20009
  [name: string]: unknown;
19979
20010
  };
19980
20011
  content: {
19981
- /** @example {
19982
- * "code": "ERROR_POLICY_VALIDATION",
19983
- * "detail": "Additional error context.",
19984
- * "status": 422,
19985
- * "title": "Policy Validation Error",
19986
- * "type": "policy-validation-error"
19987
- * } */
19988
20012
  "application/problem+json": components["schemas"]["Problem"];
19989
20013
  };
19990
20014
  };
@@ -20137,13 +20161,30 @@ export interface operations {
20137
20161
  "application/problem+json": components["schemas"]["Problem"];
20138
20162
  };
20139
20163
  };
20140
- /** @description Validation Error */
20164
+ /** @description Conflict */
20165
+ 409: {
20166
+ headers: {
20167
+ [name: string]: unknown;
20168
+ };
20169
+ content: {
20170
+ /** @example {
20171
+ * "code": "ERROR_DOMAIN_DNSSEC_ZONE_RECORDS_UNAVAILABLE",
20172
+ * "detail": "DNS zone 'example.com.' is DNSSEC-enabled but has no usable DS records to publish",
20173
+ * "status": 409,
20174
+ * "title": "DNSSEC Zone Records Unavailable",
20175
+ * "type": "domain-dnssec-zone-records-unavailable",
20176
+ * "zone_name": "example.com."
20177
+ * } */
20178
+ "application/problem+json": components["schemas"]["Problem"];
20179
+ };
20180
+ };
20181
+ /** @description Unprocessable Content */
20141
20182
  422: {
20142
20183
  headers: {
20143
20184
  [name: string]: unknown;
20144
20185
  };
20145
20186
  content: {
20146
- "application/problem+json": components["schemas"]["HTTPValidationError"];
20187
+ "application/problem+json": components["schemas"]["Problem"];
20147
20188
  };
20148
20189
  };
20149
20190
  };