@workos/openapi-spec 0.99.0 → 0.100.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.
@@ -3003,6 +3003,25 @@ paths:
3003
3003
  application/json:
3004
3004
  schema:
3005
3005
  oneOf:
3006
+ - type: object
3007
+ properties:
3008
+ code:
3009
+ type: string
3010
+ description: The error code identifying the type of error.
3011
+ example: rate_limit_exceeded
3012
+ const: rate_limit_exceeded
3013
+ message:
3014
+ type: string
3015
+ description: A human-readable description of the error.
3016
+ example: Request could not be processed.
3017
+ retry_after:
3018
+ type: number
3019
+ description: Seconds to wait before retrying.
3020
+ example: 60
3021
+ required:
3022
+ - code
3023
+ - message
3024
+ - retry_after
3006
3025
  - type: object
3007
3026
  properties:
3008
3027
  code:
package/dist/types.d.ts CHANGED
@@ -22563,6 +22563,23 @@ export interface operations {
22563
22563
  };
22564
22564
  content: {
22565
22565
  "application/json": {
22566
+ /**
22567
+ * @description The error code identifying the type of error.
22568
+ * @example rate_limit_exceeded
22569
+ * @constant
22570
+ */
22571
+ code: "rate_limit_exceeded";
22572
+ /**
22573
+ * @description A human-readable description of the error.
22574
+ * @example Request could not be processed.
22575
+ */
22576
+ message: string;
22577
+ /**
22578
+ * @description Seconds to wait before retrying.
22579
+ * @example 60
22580
+ */
22581
+ retry_after: number;
22582
+ } | {
22566
22583
  /**
22567
22584
  * @description The error code identifying the type of error.
22568
22585
  * @example sms_challenge_rate_limited
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.99.0",
3
+ "version": "0.100.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",
@@ -58,7 +58,7 @@
58
58
  "devDependencies": {
59
59
  "@types/node": "^26.6.0",
60
60
  "@workos/oagen": "^0.30.2",
61
- "@workos/oagen-emitters": "^0.24.14",
61
+ "@workos/oagen-emitters": "^0.24.15",
62
62
  "diff2html": "^3.4.56",
63
63
  "husky": "^9.1.7",
64
64
  "js-yaml": "^5.4.2",