@opusdns/api 1.129.0 → 1.131.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.131.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -2023,11 +2023,13 @@ export const TAG_COLOR_VALUES = [
2023
2023
  export const TAG_FILTER_MODE = {
2024
2024
  MATCH_ANY: "match_any",
2025
2025
  MATCH_ALL: "match_all",
2026
+ MATCH_NONE: "match_none",
2026
2027
  } as const satisfies Record<string, TagFilterMode>;
2027
2028
 
2028
2029
  export const TAG_FILTER_MODE_VALUES = [
2029
2030
  'match_any',
2030
2031
  'match_all',
2032
+ 'match_none',
2031
2033
  ] as const satisfies ReadonlyArray<TagFilterMode>;
2032
2034
 
2033
2035
  export const TAG_SORT_FIELD = {
@@ -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
@@ -12981,6 +12981,7 @@ components:
12981
12981
  enum:
12982
12982
  - match_any
12983
12983
  - match_all
12984
+ - match_none
12984
12985
  title: TagFilterMode
12985
12986
  type: string
12986
12987
  TagResponse:
@@ -15699,7 +15700,7 @@ info:
15699
15700
  \n\n"
15700
15701
  summary: OpusDNS - your gateway to a seamless domain management experience.
15701
15702
  title: OpusDNS API
15702
- version: 2026-08-24-085051
15703
+ version: 2026-08-25-003145
15703
15704
  x-logo:
15704
15705
  altText: OpusDNS API Reference
15705
15706
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -26081,15 +26082,32 @@ paths:
26081
26082
  '409':
26082
26083
  content:
26083
26084
  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
26085
+ examples:
26086
+ email_forward_already_exists:
26087
+ summary: A forward already exists for the hostname
26088
+ value:
26089
+ code: ERROR_EMAIL_FORWARD_ALREADY_EXISTS
26090
+ detail: 'Email forward already exists for hostname: mail.example.com'
26091
+ status: 409
26092
+ title: Email Forward Error
26093
+ type: email-forward-already-exists
26094
+ email_forward_limit_exceeded:
26095
+ description: The limit defaults to a per-environment value and can
26096
+ be raised or lowered per organization by support.
26097
+ summary: The organization is at its email forward limit
26098
+ value:
26099
+ code: ERROR_EMAIL_FORWARD_LIMIT_EXCEEDED
26100
+ detail: Email forward limit of 250 reached for this organization.
26101
+ Delete an existing email forward or contact support to raise
26102
+ the limit.
26103
+ limit: 250
26104
+ status: 409
26105
+ title: Email Forward Error
26106
+ type: email-forward-limit-exceeded
26090
26107
  schema:
26091
26108
  $ref: '#/components/schemas/Problem'
26092
- description: Email forwarding configuration already exists
26109
+ description: Email forwarding configuration already exists, or the organization
26110
+ is at its email forward limit
26093
26111
  '422':
26094
26112
  content:
26095
26113
  application/problem+json:
@@ -29086,9 +29104,17 @@ paths:
29086
29104
  '422':
29087
29105
  content:
29088
29106
  application/problem+json:
29107
+ example:
29108
+ attribute_key: email_forward_limit
29109
+ code: ERROR_ORGANIZATION_ATTRIBUTE_VALUE_INVALID
29110
+ detail: Organization attribute 'email_forward_limit' must be a positive
29111
+ integer, got 'not-a-number'.
29112
+ status: 422
29113
+ title: Organization Management Error
29114
+ type: organization-attribute-value-invalid
29089
29115
  schema:
29090
- $ref: '#/components/schemas/HTTPValidationError'
29091
- description: Validation Error
29116
+ $ref: '#/components/schemas/Problem'
29117
+ description: Unprocessable Content
29092
29118
  security:
29093
29119
  - OAuth2PasswordBearer: []
29094
29120
  - APIKeyHeader: []
@@ -30222,9 +30248,17 @@ paths:
30222
30248
  '422':
30223
30249
  content:
30224
30250
  application/problem+json:
30251
+ example:
30252
+ attribute_key: email_forward_limit
30253
+ code: ERROR_ORGANIZATION_ATTRIBUTE_VALUE_INVALID
30254
+ detail: Organization attribute 'email_forward_limit' must be a positive
30255
+ integer, got 'not-a-number'.
30256
+ status: 422
30257
+ title: Organization Management Error
30258
+ type: organization-attribute-value-invalid
30225
30259
  schema:
30226
- $ref: '#/components/schemas/HTTPValidationError'
30227
- description: Validation Error
30260
+ $ref: '#/components/schemas/Problem'
30261
+ description: Unprocessable Content
30228
30262
  security:
30229
30263
  - OAuth2PasswordBearer: []
30230
30264
  - APIKeyHeader: []
package/src/schema.d.ts CHANGED
@@ -11417,7 +11417,7 @@ export interface components {
11417
11417
  * TagFilterMode
11418
11418
  * @enum {string}
11419
11419
  */
11420
- TagFilterMode: "match_any" | "match_all";
11420
+ TagFilterMode: "match_any" | "match_all" | "match_none";
11421
11421
  /** TagResponse */
11422
11422
  TagResponse: {
11423
11423
  /** @description The color of the tag */
@@ -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
  };