@opusdns/api 1.146.0 → 1.147.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.146.0",
6
+ "version": "1.147.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -1291,14 +1291,16 @@ export type POST_DomainsTransfer_Response_404 = Problem;
1291
1291
  export type POST_DomainsTransfer_Response_409 = Problem;
1292
1292
  export type POST_DomainsTransfer_Response_422 = Problem;
1293
1293
 
1294
- export type POST_EmailForwards_Response = POST_EmailForwards_Response_201 | POST_EmailForwards_Response_401 | POST_EmailForwards_Response_403 | POST_EmailForwards_Response_404 | POST_EmailForwards_Response_409 | POST_EmailForwards_Response_422;
1294
+ export type POST_EmailForwards_Response = POST_EmailForwards_Response_201 | POST_EmailForwards_Response_400 | POST_EmailForwards_Response_401 | POST_EmailForwards_Response_403 | POST_EmailForwards_Response_404 | POST_EmailForwards_Response_409 | POST_EmailForwards_Response_422 | POST_EmailForwards_Response_503;
1295
1295
 
1296
1296
  export type POST_EmailForwards_Response_201 = EmailForward;
1297
+ export type POST_EmailForwards_Response_400 = Problem;
1297
1298
  export type POST_EmailForwards_Response_401 = Problem;
1298
1299
  export type POST_EmailForwards_Response_403 = Problem;
1299
1300
  export type POST_EmailForwards_Response_404 = Problem;
1300
1301
  export type POST_EmailForwards_Response_409 = Problem;
1301
1302
  export type POST_EmailForwards_Response_422 = HTTPValidationError;
1303
+ export type POST_EmailForwards_Response_503 = Problem;
1302
1304
 
1303
1305
  export type POST_EmailForwardsByEmailForwardIdAliases_Response = POST_EmailForwardsByEmailForwardIdAliases_Response_201 | POST_EmailForwardsByEmailForwardIdAliases_Response_401 | POST_EmailForwardsByEmailForwardIdAliases_Response_403 | POST_EmailForwardsByEmailForwardIdAliases_Response_404 | POST_EmailForwardsByEmailForwardIdAliases_Response_409 | POST_EmailForwardsByEmailForwardIdAliases_Response_422;
1304
1306
 
package/src/openapi.yaml CHANGED
@@ -15898,7 +15898,7 @@ info:
15898
15898
  \n\n"
15899
15899
  summary: OpusDNS - your gateway to a seamless domain management experience.
15900
15900
  title: OpusDNS API
15901
- version: 2026-09-01-125121
15901
+ version: 2026-09-01-130544
15902
15902
  x-logo:
15903
15903
  altText: OpusDNS API Reference
15904
15904
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -26475,6 +26475,37 @@ paths:
26475
26475
  schema:
26476
26476
  $ref: '#/components/schemas/EmailForwardResponse'
26477
26477
  description: Email forwarding created successfully
26478
+ '400':
26479
+ content:
26480
+ application/problem+json:
26481
+ examples:
26482
+ email_forward_alias_rejected:
26483
+ description: The detail states what is wrong with the alias. Correct
26484
+ it and retry.
26485
+ summary: An alias in the request was rejected
26486
+ value:
26487
+ code: ERROR_EMAIL_FORWARD_VALIDATION
26488
+ detail: Alias cannot contain @
26489
+ status: 400
26490
+ title: Email Forward Error
26491
+ type: email-forward-validation
26492
+ email_forward_domain_rejected:
26493
+ description: Check that the domain is registered and resolves in
26494
+ public DNS, then retry.
26495
+ summary: Email forwarding could not be set up for the hostname
26496
+ value:
26497
+ code: ERROR_EMAIL_FORWARD_VALIDATION
26498
+ detail: Email forwarding could not be set up for this domain.
26499
+ This usually means the domain is not yet registered or does
26500
+ not resolve in public DNS; a recently registered or transferred
26501
+ domain may need time to propagate. Retry once it resolves, or
26502
+ contact support if the problem persists.
26503
+ status: 400
26504
+ title: Email Forward Error
26505
+ type: email-forward-validation
26506
+ schema:
26507
+ $ref: '#/components/schemas/Problem'
26508
+ description: The hostname, or one of the aliases in the request, was rejected
26478
26509
  '401':
26479
26510
  content:
26480
26511
  application/problem+json:
@@ -26547,6 +26578,36 @@ paths:
26547
26578
  schema:
26548
26579
  $ref: '#/components/schemas/HTTPValidationError'
26549
26580
  description: Validation Error
26581
+ '503':
26582
+ content:
26583
+ application/problem+json:
26584
+ examples:
26585
+ email_forward_capacity:
26586
+ description: Nothing in the request needs changing. Contact support,
26587
+ then retry.
26588
+ summary: Email forwarding capacity is temporarily exhausted
26589
+ value:
26590
+ code: ERROR_EMAIL_FORWARD_CAPACITY
26591
+ detail: Email forward management is temporarily unavailable. Existing
26592
+ email forwards are not affected. Please contact support.
26593
+ status: 503
26594
+ title: Email Forward Error
26595
+ type: email-forward-capacity
26596
+ email_forward_configuration:
26597
+ description: The requested hostname was not the reason and needs
26598
+ no change. Contact support, then retry.
26599
+ summary: Email forwarding is temporarily misconfigured
26600
+ value:
26601
+ code: ERROR_EMAIL_FORWARD_CONFIGURATION
26602
+ detail: Email forward management is temporarily unavailable. Existing
26603
+ email forwards are not affected. Please contact support.
26604
+ status: 503
26605
+ title: Email Forward Error
26606
+ type: email-forward-configuration
26607
+ schema:
26608
+ $ref: '#/components/schemas/Problem'
26609
+ description: Email forwarding is temporarily unavailable; the request itself
26610
+ is valid
26550
26611
  security:
26551
26612
  - OAuth2PasswordBearer: []
26552
26613
  - APIKeyHeader: []
package/src/schema.d.ts CHANGED
@@ -21765,6 +21765,15 @@ export interface operations {
21765
21765
  "application/json": components["schemas"]["EmailForwardResponse"];
21766
21766
  };
21767
21767
  };
21768
+ /** @description The hostname, or one of the aliases in the request, was rejected */
21769
+ 400: {
21770
+ headers: {
21771
+ [name: string]: unknown;
21772
+ };
21773
+ content: {
21774
+ "application/problem+json": components["schemas"]["Problem"];
21775
+ };
21776
+ };
21768
21777
  /** @description Unauthorized */
21769
21778
  401: {
21770
21779
  headers: {
@@ -21832,6 +21841,15 @@ export interface operations {
21832
21841
  "application/problem+json": components["schemas"]["HTTPValidationError"];
21833
21842
  };
21834
21843
  };
21844
+ /** @description Email forwarding is temporarily unavailable; the request itself is valid */
21845
+ 503: {
21846
+ headers: {
21847
+ [name: string]: unknown;
21848
+ };
21849
+ content: {
21850
+ "application/problem+json": components["schemas"]["Problem"];
21851
+ };
21852
+ };
21835
21853
  };
21836
21854
  };
21837
21855
  get_email_forward_v1_email_forwards__email_forward_id__get: {