@opusdns/api 1.129.0 → 1.130.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.129.0",
6
+ "version": "1.130.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -968,7 +968,7 @@ export type PATCH_OrganizationsAttributes_Response = PATCH_OrganizationsAttribut
968
968
  export type PATCH_OrganizationsAttributes_Response_200 = OrganizationAttribute2[];
969
969
  export type PATCH_OrganizationsAttributes_Response_401 = Problem;
970
970
  export type PATCH_OrganizationsAttributes_Response_403 = Problem;
971
- export type PATCH_OrganizationsAttributes_Response_422 = HTTPValidationError;
971
+ export type PATCH_OrganizationsAttributes_Response_422 = Problem;
972
972
 
973
973
  export type PATCH_OrganizationsByOrganizationId_Response = PATCH_OrganizationsByOrganizationId_Response_200 | PATCH_OrganizationsByOrganizationId_Response_401 | PATCH_OrganizationsByOrganizationId_Response_403 | PATCH_OrganizationsByOrganizationId_Response_422;
974
974
 
@@ -982,7 +982,7 @@ export type PATCH_OrganizationsByOrganizationIdAttributes_Response = PATCH_Organ
982
982
  export type PATCH_OrganizationsByOrganizationIdAttributes_Response_200 = OrganizationAttribute2[];
983
983
  export type PATCH_OrganizationsByOrganizationIdAttributes_Response_401 = Problem;
984
984
  export type PATCH_OrganizationsByOrganizationIdAttributes_Response_403 = Problem;
985
- export type PATCH_OrganizationsByOrganizationIdAttributes_Response_422 = HTTPValidationError;
985
+ export type PATCH_OrganizationsByOrganizationIdAttributes_Response_422 = Problem;
986
986
 
987
987
  export type PATCH_OrganizationsIpRestrictionsByIpRestrictionId_Response = PATCH_OrganizationsIpRestrictionsByIpRestrictionId_Response_200 | PATCH_OrganizationsIpRestrictionsByIpRestrictionId_Response_401 | PATCH_OrganizationsIpRestrictionsByIpRestrictionId_Response_403 | PATCH_OrganizationsIpRestrictionsByIpRestrictionId_Response_422;
988
988
 
package/src/openapi.yaml CHANGED
@@ -15699,7 +15699,7 @@ info:
15699
15699
  \n\n"
15700
15700
  summary: OpusDNS - your gateway to a seamless domain management experience.
15701
15701
  title: OpusDNS API
15702
- version: 2026-08-24-085051
15702
+ version: 2026-08-24-112237
15703
15703
  x-logo:
15704
15704
  altText: OpusDNS API Reference
15705
15705
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -26081,15 +26081,32 @@ paths:
26081
26081
  '409':
26082
26082
  content:
26083
26083
  application/problem+json:
26084
- example:
26085
- code: ERROR_EMAIL_FORWARD_ALREADY_EXISTS
26086
- detail: 'Email forward already exists for hostname: mail.example.com'
26087
- status: 409
26088
- title: Email Forward Error
26089
- type: email-forward-already-exists
26084
+ examples:
26085
+ email_forward_already_exists:
26086
+ summary: A forward already exists for the hostname
26087
+ value:
26088
+ code: ERROR_EMAIL_FORWARD_ALREADY_EXISTS
26089
+ detail: 'Email forward already exists for hostname: mail.example.com'
26090
+ status: 409
26091
+ title: Email Forward Error
26092
+ type: email-forward-already-exists
26093
+ email_forward_limit_exceeded:
26094
+ description: The limit defaults to a per-environment value and can
26095
+ be raised or lowered per organization by support.
26096
+ summary: The organization is at its email forward limit
26097
+ value:
26098
+ code: ERROR_EMAIL_FORWARD_LIMIT_EXCEEDED
26099
+ detail: Email forward limit of 250 reached for this organization.
26100
+ Delete an existing email forward or contact support to raise
26101
+ the limit.
26102
+ limit: 250
26103
+ status: 409
26104
+ title: Email Forward Error
26105
+ type: email-forward-limit-exceeded
26090
26106
  schema:
26091
26107
  $ref: '#/components/schemas/Problem'
26092
- description: Email forwarding configuration already exists
26108
+ description: Email forwarding configuration already exists, or the organization
26109
+ is at its email forward limit
26093
26110
  '422':
26094
26111
  content:
26095
26112
  application/problem+json:
@@ -29086,9 +29103,17 @@ paths:
29086
29103
  '422':
29087
29104
  content:
29088
29105
  application/problem+json:
29106
+ example:
29107
+ attribute_key: email_forward_limit
29108
+ code: ERROR_ORGANIZATION_ATTRIBUTE_VALUE_INVALID
29109
+ detail: Organization attribute 'email_forward_limit' must be a positive
29110
+ integer, got 'not-a-number'.
29111
+ status: 422
29112
+ title: Organization Management Error
29113
+ type: organization-attribute-value-invalid
29089
29114
  schema:
29090
- $ref: '#/components/schemas/HTTPValidationError'
29091
- description: Validation Error
29115
+ $ref: '#/components/schemas/Problem'
29116
+ description: Unprocessable Content
29092
29117
  security:
29093
29118
  - OAuth2PasswordBearer: []
29094
29119
  - APIKeyHeader: []
@@ -30222,9 +30247,17 @@ paths:
30222
30247
  '422':
30223
30248
  content:
30224
30249
  application/problem+json:
30250
+ example:
30251
+ attribute_key: email_forward_limit
30252
+ code: ERROR_ORGANIZATION_ATTRIBUTE_VALUE_INVALID
30253
+ detail: Organization attribute 'email_forward_limit' must be a positive
30254
+ integer, got 'not-a-number'.
30255
+ status: 422
30256
+ title: Organization Management Error
30257
+ type: organization-attribute-value-invalid
30225
30258
  schema:
30226
- $ref: '#/components/schemas/HTTPValidationError'
30227
- description: Validation Error
30259
+ $ref: '#/components/schemas/Problem'
30260
+ description: Unprocessable Content
30228
30261
  security:
30229
30262
  - OAuth2PasswordBearer: []
30230
30263
  - APIKeyHeader: []
package/src/schema.d.ts CHANGED
@@ -21353,19 +21353,12 @@ export interface operations {
21353
21353
  "application/problem+json": components["schemas"]["Problem"];
21354
21354
  };
21355
21355
  };
21356
- /** @description Email forwarding configuration already exists */
21356
+ /** @description Email forwarding configuration already exists, or the organization is at its email forward limit */
21357
21357
  409: {
21358
21358
  headers: {
21359
21359
  [name: string]: unknown;
21360
21360
  };
21361
21361
  content: {
21362
- /** @example {
21363
- * "code": "ERROR_EMAIL_FORWARD_ALREADY_EXISTS",
21364
- * "detail": "Email forward already exists for hostname: mail.example.com",
21365
- * "status": 409,
21366
- * "title": "Email Forward Error",
21367
- * "type": "email-forward-already-exists"
21368
- * } */
21369
21362
  "application/problem+json": components["schemas"]["Problem"];
21370
21363
  };
21371
21364
  };
@@ -23692,13 +23685,21 @@ export interface operations {
23692
23685
  "application/problem+json": components["schemas"]["Problem"];
23693
23686
  };
23694
23687
  };
23695
- /** @description Validation Error */
23688
+ /** @description Unprocessable Content */
23696
23689
  422: {
23697
23690
  headers: {
23698
23691
  [name: string]: unknown;
23699
23692
  };
23700
23693
  content: {
23701
- "application/problem+json": components["schemas"]["HTTPValidationError"];
23694
+ /** @example {
23695
+ * "attribute_key": "email_forward_limit",
23696
+ * "code": "ERROR_ORGANIZATION_ATTRIBUTE_VALUE_INVALID",
23697
+ * "detail": "Organization attribute 'email_forward_limit' must be a positive integer, got 'not-a-number'.",
23698
+ * "status": 422,
23699
+ * "title": "Organization Management Error",
23700
+ * "type": "organization-attribute-value-invalid"
23701
+ * } */
23702
+ "application/problem+json": components["schemas"]["Problem"];
23702
23703
  };
23703
23704
  };
23704
23705
  };
@@ -24982,13 +24983,21 @@ export interface operations {
24982
24983
  "application/problem+json": components["schemas"]["Problem"];
24983
24984
  };
24984
24985
  };
24985
- /** @description Validation Error */
24986
+ /** @description Unprocessable Content */
24986
24987
  422: {
24987
24988
  headers: {
24988
24989
  [name: string]: unknown;
24989
24990
  };
24990
24991
  content: {
24991
- "application/problem+json": components["schemas"]["HTTPValidationError"];
24992
+ /** @example {
24993
+ * "attribute_key": "email_forward_limit",
24994
+ * "code": "ERROR_ORGANIZATION_ATTRIBUTE_VALUE_INVALID",
24995
+ * "detail": "Organization attribute 'email_forward_limit' must be a positive integer, got 'not-a-number'.",
24996
+ * "status": 422,
24997
+ * "title": "Organization Management Error",
24998
+ * "type": "organization-attribute-value-invalid"
24999
+ * } */
25000
+ "application/problem+json": components["schemas"]["Problem"];
24992
25001
  };
24993
25002
  };
24994
25003
  };