@workos/openapi-spec 0.114.0 → 0.115.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.
@@ -8968,20 +8968,49 @@ paths:
8968
8968
  content:
8969
8969
  application/json:
8970
8970
  schema:
8971
- type: object
8972
- properties:
8973
- code:
8974
- type: string
8975
- description: The error code identifying the type of error.
8976
- example: connection_deletion_in_progress
8977
- const: connection_deletion_in_progress
8978
- message:
8979
- type: string
8980
- description: A human-readable description of the error.
8981
- example: Request could not be processed.
8982
- required:
8983
- - code
8984
- - message
8971
+ oneOf:
8972
+ - type: object
8973
+ properties:
8974
+ code:
8975
+ type: string
8976
+ description: The error code identifying the type of error.
8977
+ example: connection_deletion_in_progress
8978
+ const: connection_deletion_in_progress
8979
+ message:
8980
+ type: string
8981
+ description: A human-readable description of the error.
8982
+ example: Request could not be processed.
8983
+ required:
8984
+ - code
8985
+ - message
8986
+ - type: object
8987
+ properties:
8988
+ code:
8989
+ type: string
8990
+ description: The error code identifying the type of error.
8991
+ example: resource_limit_exceeded
8992
+ const: resource_limit_exceeded
8993
+ message:
8994
+ type: string
8995
+ description: A human-readable description of the error.
8996
+ example: Request could not be processed.
8997
+ required:
8998
+ - code
8999
+ - message
9000
+ - type: object
9001
+ properties:
9002
+ code:
9003
+ type: string
9004
+ description: The error code identifying the type of error.
9005
+ example: too_many_sp_encryption_certs
9006
+ const: too_many_sp_encryption_certs
9007
+ message:
9008
+ type: string
9009
+ description: A human-readable description of the error.
9010
+ example: Request could not be processed.
9011
+ required:
9012
+ - code
9013
+ - message
8985
9014
  '422':
8986
9015
  description: Unprocessable Entity
8987
9016
  content:
package/dist/types.d.ts CHANGED
@@ -28129,6 +28129,30 @@ export interface operations {
28129
28129
  * @example Request could not be processed.
28130
28130
  */
28131
28131
  message: string;
28132
+ } | {
28133
+ /**
28134
+ * @description The error code identifying the type of error.
28135
+ * @example resource_limit_exceeded
28136
+ * @constant
28137
+ */
28138
+ code: "resource_limit_exceeded";
28139
+ /**
28140
+ * @description A human-readable description of the error.
28141
+ * @example Request could not be processed.
28142
+ */
28143
+ message: string;
28144
+ } | {
28145
+ /**
28146
+ * @description The error code identifying the type of error.
28147
+ * @example too_many_sp_encryption_certs
28148
+ * @constant
28149
+ */
28150
+ code: "too_many_sp_encryption_certs";
28151
+ /**
28152
+ * @description A human-readable description of the error.
28153
+ * @example Request could not be processed.
28154
+ */
28155
+ message: string;
28132
28156
  };
28133
28157
  };
28134
28158
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.114.0",
3
+ "version": "0.115.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",