@opusdns/api 1.154.0 → 1.156.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.5.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.154.0",
6
+ "version": "1.156.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -5530,6 +5530,7 @@ export const KEY_TRANSFER_POLICIES_BASE_AUTHINFO_REQUIRED = 'authinfo_required'
5530
5530
  export const KEY_TRANSFER_POLICIES_BASE_AUTHINFO_SET_BY_REGISTRAR = 'authinfo_set_by_registrar' satisfies keyof TransferPoliciesBase;
5531
5531
  export const KEY_TRANSFER_POLICIES_BASE_AUTHINFO_TIME_LIMITED = 'authinfo_time_limited' satisfies keyof TransferPoliciesBase;
5532
5532
  export const KEY_TRANSFER_POLICIES_BASE_AUTHINFO_VALIDITY_PERIOD = 'authinfo_validity_period' satisfies keyof TransferPoliciesBase;
5533
+ export const KEY_TRANSFER_POLICIES_BASE_CONTACTS_IN_TRANSFER_COMMAND = 'contacts_in_transfer_command' satisfies keyof TransferPoliciesBase;
5533
5534
  export const KEY_TRANSFER_POLICIES_BASE_INFO_CONTACT_AUTHINFO = 'info_contact_authinfo' satisfies keyof TransferPoliciesBase;
5534
5535
  export const KEY_TRANSFER_POLICIES_BASE_INFO_DOMAIN_AUTHINFO = 'info_domain_authinfo' satisfies keyof TransferPoliciesBase;
5535
5536
  export const KEY_TRANSFER_POLICIES_BASE_POST_TRANSFER_REQUIREMENTS = 'post_transfer_requirements' satisfies keyof TransferPoliciesBase;
@@ -5549,6 +5550,7 @@ export const KEYS_TRANSFER_POLICIES_BASE = [
5549
5550
  KEY_TRANSFER_POLICIES_BASE_AUTHINFO_SET_BY_REGISTRAR,
5550
5551
  KEY_TRANSFER_POLICIES_BASE_AUTHINFO_TIME_LIMITED,
5551
5552
  KEY_TRANSFER_POLICIES_BASE_AUTHINFO_VALIDITY_PERIOD,
5553
+ KEY_TRANSFER_POLICIES_BASE_CONTACTS_IN_TRANSFER_COMMAND,
5552
5554
  KEY_TRANSFER_POLICIES_BASE_INFO_CONTACT_AUTHINFO,
5553
5555
  KEY_TRANSFER_POLICIES_BASE_INFO_DOMAIN_AUTHINFO,
5554
5556
  KEY_TRANSFER_POLICIES_BASE_POST_TRANSFER_REQUIREMENTS,
@@ -913,12 +913,12 @@ export type PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_422 =
913
913
  export type PATCH_DnsByZoneNameRecords_Response = PATCH_DnsByZoneNameRecords_Response_400 | PATCH_DnsByZoneNameRecords_Response_422;
914
914
 
915
915
  export type PATCH_DnsByZoneNameRecords_Response_400 = Problem;
916
- export type PATCH_DnsByZoneNameRecords_Response_422 = HTTPValidationError;
916
+ export type PATCH_DnsByZoneNameRecords_Response_422 = Problem;
917
917
 
918
918
  export type PATCH_DnsByZoneNameRrsets_Response = PATCH_DnsByZoneNameRrsets_Response_400 | PATCH_DnsByZoneNameRrsets_Response_422;
919
919
 
920
920
  export type PATCH_DnsByZoneNameRrsets_Response_400 = Problem;
921
- export type PATCH_DnsByZoneNameRrsets_Response_422 = HTTPValidationError;
921
+ export type PATCH_DnsByZoneNameRrsets_Response_422 = Problem;
922
922
 
923
923
  export type PATCH_DnsByZoneNameVanitySet_Response = PATCH_DnsByZoneNameVanitySet_Response_200 | PATCH_DnsByZoneNameVanitySet_Response_400 | PATCH_DnsByZoneNameVanitySet_Response_422;
924
924
 
@@ -1484,7 +1484,7 @@ export type PUT_ContactsVerification_Response_422 = HTTPValidationError;
1484
1484
  export type PUT_DnsByZoneNameRrsets_Response = PUT_DnsByZoneNameRrsets_Response_400 | PUT_DnsByZoneNameRrsets_Response_422;
1485
1485
 
1486
1486
  export type PUT_DnsByZoneNameRrsets_Response_400 = Problem;
1487
- export type PUT_DnsByZoneNameRrsets_Response_422 = HTTPValidationError;
1487
+ export type PUT_DnsByZoneNameRrsets_Response_422 = Problem;
1488
1488
 
1489
1489
  export type PUT_DomainForwardsByHostnameByProtocol_Response = PUT_DomainForwardsByHostnameByProtocol_Response_200 | PUT_DomainForwardsByHostnameByProtocol_Response_401 | PUT_DomainForwardsByHostnameByProtocol_Response_403 | PUT_DomainForwardsByHostnameByProtocol_Response_404 | PUT_DomainForwardsByHostnameByProtocol_Response_422;
1490
1490
 
package/src/openapi.yaml CHANGED
@@ -13964,6 +13964,12 @@ components:
13964
13964
  - type: 'null'
13965
13965
  description: Validity period of the auth info (e.g., '5D' for 5 days)
13966
13966
  title: Authinfo Validity Period
13967
+ contacts_in_transfer_command:
13968
+ default: false
13969
+ description: Whether the registry takes the domain contacts on the transfer
13970
+ command itself
13971
+ title: Contacts In Transfer Command
13972
+ type: boolean
13967
13973
  info_contact_authinfo:
13968
13974
  anyOf:
13969
13975
  - type: boolean
@@ -16170,7 +16176,7 @@ info:
16170
16176
  \n\n"
16171
16177
  summary: OpusDNS - your gateway to a seamless domain management experience.
16172
16178
  title: OpusDNS API
16173
- version: 2026-09-03-201425
16179
+ version: 2026-09-07-084158
16174
16180
  x-logo:
16175
16181
  altText: OpusDNS API Reference
16176
16182
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -20197,6 +20203,32 @@ paths:
20197
20203
  status: 422
20198
20204
  title: Request validation error.
20199
20205
  type: request-validation-failed
20206
+ zone_validation_failed:
20207
+ description: The payload parsed but describes a zone that cannot
20208
+ be served; each entry names the offending element via `loc` and
20209
+ echoes it in `input`
20210
+ summary: Zone rules rejected the rrsets
20211
+ value:
20212
+ code: ERROR_ZONE_VALIDATION_FAILED
20213
+ detail: Zone validation failed
20214
+ errors:
20215
+ - input:
20216
+ name: www.example.com.
20217
+ records:
20218
+ - rdata: example.com.
20219
+ ttl: 3600
20220
+ type: CNAME
20221
+ loc:
20222
+ - body
20223
+ - rrsets
20224
+ - 0
20225
+ msg: 'CNAME record cannot coexist with other record types at
20226
+ ''www.example.com.''. Found: CNAME and A'
20227
+ type: cname_conflict
20228
+ status: 422
20229
+ title: DNS Error
20230
+ type: dns-zone-validation
20231
+ zone_name: example.com.
20200
20232
  schema:
20201
20233
  $ref: '#/components/schemas/HTTPValidationError'
20202
20234
  description: Invalid request parameters
@@ -21028,9 +21060,30 @@ paths:
21028
21060
  '422':
21029
21061
  content:
21030
21062
  application/problem+json:
21063
+ example:
21064
+ code: ERROR_ZONE_VALIDATION_FAILED
21065
+ detail: Zone validation failed
21066
+ errors:
21067
+ - input:
21068
+ op: upsert
21069
+ record:
21070
+ name: www.example.com.
21071
+ rdata: target.invalid-tld.
21072
+ ttl: 3600
21073
+ type: CNAME
21074
+ loc:
21075
+ - body
21076
+ - ops
21077
+ - 0
21078
+ msg: Unrecognized TLD
21079
+ type: invalid_rdata
21080
+ status: 422
21081
+ title: DNS Error
21082
+ type: dns-zone-validation
21083
+ zone_name: example.com.
21031
21084
  schema:
21032
- $ref: '#/components/schemas/HTTPValidationError'
21033
- description: Validation Error
21085
+ $ref: '#/components/schemas/Problem'
21086
+ description: Unprocessable Content
21034
21087
  security:
21035
21088
  - OAuth2PasswordBearer: []
21036
21089
  - APIKeyHeader: []
@@ -21192,9 +21245,31 @@ paths:
21192
21245
  '422':
21193
21246
  content:
21194
21247
  application/problem+json:
21248
+ example:
21249
+ code: ERROR_ZONE_VALIDATION_FAILED
21250
+ detail: Zone validation failed
21251
+ errors:
21252
+ - input:
21253
+ op: upsert
21254
+ rrset:
21255
+ name: www.example.com.
21256
+ records:
21257
+ - rdata: target.invalid-tld.
21258
+ ttl: 3600
21259
+ type: CNAME
21260
+ loc:
21261
+ - body
21262
+ - ops
21263
+ - 0
21264
+ msg: Unrecognized TLD
21265
+ type: invalid_rdata
21266
+ status: 422
21267
+ title: DNS Error
21268
+ type: dns-zone-validation
21269
+ zone_name: example.com.
21195
21270
  schema:
21196
- $ref: '#/components/schemas/HTTPValidationError'
21197
- description: Validation Error
21271
+ $ref: '#/components/schemas/Problem'
21272
+ description: Unprocessable Content
21198
21273
  security:
21199
21274
  - OAuth2PasswordBearer: []
21200
21275
  - APIKeyHeader: []
@@ -21327,9 +21402,30 @@ paths:
21327
21402
  '422':
21328
21403
  content:
21329
21404
  application/problem+json:
21405
+ example:
21406
+ code: ERROR_ZONE_VALIDATION_FAILED
21407
+ detail: Zone validation failed
21408
+ errors:
21409
+ - input:
21410
+ name: www.example.com.
21411
+ records:
21412
+ - rdata: example.com.
21413
+ ttl: 3600
21414
+ type: CNAME
21415
+ loc:
21416
+ - body
21417
+ - rrsets
21418
+ - 0
21419
+ msg: 'CNAME record cannot coexist with other record types at ''www.example.com.''.
21420
+ Found: CNAME and A'
21421
+ type: cname_conflict
21422
+ status: 422
21423
+ title: DNS Error
21424
+ type: dns-zone-validation
21425
+ zone_name: example.com.
21330
21426
  schema:
21331
- $ref: '#/components/schemas/HTTPValidationError'
21332
- description: Validation Error
21427
+ $ref: '#/components/schemas/Problem'
21428
+ description: Unprocessable Content
21333
21429
  security:
21334
21430
  - OAuth2PasswordBearer: []
21335
21431
  - APIKeyHeader: []
package/src/schema.d.ts CHANGED
@@ -12296,6 +12296,12 @@ export interface components {
12296
12296
  * @description Validity period of the auth info (e.g., '5D' for 5 days)
12297
12297
  */
12298
12298
  authinfo_validity_period?: string | null;
12299
+ /**
12300
+ * Contacts In Transfer Command
12301
+ * @description Whether the registry takes the domain contacts on the transfer command itself
12302
+ * @default false
12303
+ */
12304
+ contacts_in_transfer_command: boolean;
12299
12305
  /**
12300
12306
  * Info Contact Authinfo
12301
12307
  * @description Whether querying a foreign contact with authinfo is possible
@@ -17684,13 +17690,41 @@ export interface operations {
17684
17690
  "application/problem+json": components["schemas"]["Problem"];
17685
17691
  };
17686
17692
  };
17687
- /** @description Validation Error */
17693
+ /** @description Unprocessable Content */
17688
17694
  422: {
17689
17695
  headers: {
17690
17696
  [name: string]: unknown;
17691
17697
  };
17692
17698
  content: {
17693
- "application/problem+json": components["schemas"]["HTTPValidationError"];
17699
+ /** @example {
17700
+ * "code": "ERROR_ZONE_VALIDATION_FAILED",
17701
+ * "detail": "Zone validation failed",
17702
+ * "errors": [
17703
+ * {
17704
+ * "input": {
17705
+ * "op": "upsert",
17706
+ * "record": {
17707
+ * "name": "www.example.com.",
17708
+ * "rdata": "target.invalid-tld.",
17709
+ * "ttl": 3600,
17710
+ * "type": "CNAME"
17711
+ * }
17712
+ * },
17713
+ * "loc": [
17714
+ * "body",
17715
+ * "ops",
17716
+ * 0
17717
+ * ],
17718
+ * "msg": "Unrecognized TLD",
17719
+ * "type": "invalid_rdata"
17720
+ * }
17721
+ * ],
17722
+ * "status": 422,
17723
+ * "title": "DNS Error",
17724
+ * "type": "dns-zone-validation",
17725
+ * "zone_name": "example.com."
17726
+ * } */
17727
+ "application/problem+json": components["schemas"]["Problem"];
17694
17728
  };
17695
17729
  };
17696
17730
  };
@@ -17740,13 +17774,42 @@ export interface operations {
17740
17774
  "application/problem+json": components["schemas"]["Problem"];
17741
17775
  };
17742
17776
  };
17743
- /** @description Validation Error */
17777
+ /** @description Unprocessable Content */
17744
17778
  422: {
17745
17779
  headers: {
17746
17780
  [name: string]: unknown;
17747
17781
  };
17748
17782
  content: {
17749
- "application/problem+json": components["schemas"]["HTTPValidationError"];
17783
+ /** @example {
17784
+ * "code": "ERROR_ZONE_VALIDATION_FAILED",
17785
+ * "detail": "Zone validation failed",
17786
+ * "errors": [
17787
+ * {
17788
+ * "input": {
17789
+ * "name": "www.example.com.",
17790
+ * "records": [
17791
+ * {
17792
+ * "rdata": "example.com."
17793
+ * }
17794
+ * ],
17795
+ * "ttl": 3600,
17796
+ * "type": "CNAME"
17797
+ * },
17798
+ * "loc": [
17799
+ * "body",
17800
+ * "rrsets",
17801
+ * 0
17802
+ * ],
17803
+ * "msg": "CNAME record cannot coexist with other record types at 'www.example.com.'. Found: CNAME and A",
17804
+ * "type": "cname_conflict"
17805
+ * }
17806
+ * ],
17807
+ * "status": 422,
17808
+ * "title": "DNS Error",
17809
+ * "type": "dns-zone-validation",
17810
+ * "zone_name": "example.com."
17811
+ * } */
17812
+ "application/problem+json": components["schemas"]["Problem"];
17750
17813
  };
17751
17814
  };
17752
17815
  };
@@ -17796,13 +17859,45 @@ export interface operations {
17796
17859
  "application/problem+json": components["schemas"]["Problem"];
17797
17860
  };
17798
17861
  };
17799
- /** @description Validation Error */
17862
+ /** @description Unprocessable Content */
17800
17863
  422: {
17801
17864
  headers: {
17802
17865
  [name: string]: unknown;
17803
17866
  };
17804
17867
  content: {
17805
- "application/problem+json": components["schemas"]["HTTPValidationError"];
17868
+ /** @example {
17869
+ * "code": "ERROR_ZONE_VALIDATION_FAILED",
17870
+ * "detail": "Zone validation failed",
17871
+ * "errors": [
17872
+ * {
17873
+ * "input": {
17874
+ * "op": "upsert",
17875
+ * "rrset": {
17876
+ * "name": "www.example.com.",
17877
+ * "records": [
17878
+ * {
17879
+ * "rdata": "target.invalid-tld."
17880
+ * }
17881
+ * ],
17882
+ * "ttl": 3600,
17883
+ * "type": "CNAME"
17884
+ * }
17885
+ * },
17886
+ * "loc": [
17887
+ * "body",
17888
+ * "ops",
17889
+ * 0
17890
+ * ],
17891
+ * "msg": "Unrecognized TLD",
17892
+ * "type": "invalid_rdata"
17893
+ * }
17894
+ * ],
17895
+ * "status": 422,
17896
+ * "title": "DNS Error",
17897
+ * "type": "dns-zone-validation",
17898
+ * "zone_name": "example.com."
17899
+ * } */
17900
+ "application/problem+json": components["schemas"]["Problem"];
17806
17901
  };
17807
17902
  };
17808
17903
  };