@workos/openapi-spec 0.96.0 → 0.97.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.
@@ -2997,6 +2997,40 @@ paths:
2997
2997
  example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
2998
2998
  required:
2999
2999
  - message
3000
+ '429':
3001
+ description: ''
3002
+ content:
3003
+ application/json:
3004
+ schema:
3005
+ oneOf:
3006
+ - type: object
3007
+ properties:
3008
+ code:
3009
+ type: string
3010
+ description: The error code identifying the type of error.
3011
+ example: sms_challenge_rate_limited
3012
+ const: sms_challenge_rate_limited
3013
+ message:
3014
+ type: string
3015
+ description: A human-readable description of the error.
3016
+ example: Request could not be processed.
3017
+ required:
3018
+ - code
3019
+ - message
3020
+ - type: object
3021
+ properties:
3022
+ code:
3023
+ type: string
3024
+ description: The error code identifying the type of error.
3025
+ example: sms_challenge_quota_reached
3026
+ const: sms_challenge_quota_reached
3027
+ message:
3028
+ type: string
3029
+ description: A human-readable description of the error.
3030
+ example: Request could not be processed.
3031
+ required:
3032
+ - code
3033
+ - message
3000
3034
  summary: Challenge Factor
3001
3035
  tags:
3002
3036
  - multi-factor-auth
package/dist/types.d.ts CHANGED
@@ -22550,6 +22550,38 @@ export interface operations {
22550
22550
  };
22551
22551
  };
22552
22552
  };
22553
+ 429: {
22554
+ headers: {
22555
+ [name: string]: unknown;
22556
+ };
22557
+ content: {
22558
+ "application/json": {
22559
+ /**
22560
+ * @description The error code identifying the type of error.
22561
+ * @example sms_challenge_rate_limited
22562
+ * @constant
22563
+ */
22564
+ code: "sms_challenge_rate_limited";
22565
+ /**
22566
+ * @description A human-readable description of the error.
22567
+ * @example Request could not be processed.
22568
+ */
22569
+ message: string;
22570
+ } | {
22571
+ /**
22572
+ * @description The error code identifying the type of error.
22573
+ * @example sms_challenge_quota_reached
22574
+ * @constant
22575
+ */
22576
+ code: "sms_challenge_quota_reached";
22577
+ /**
22578
+ * @description A human-readable description of the error.
22579
+ * @example Request could not be processed.
22580
+ */
22581
+ message: string;
22582
+ };
22583
+ };
22584
+ };
22553
22585
  };
22554
22586
  };
22555
22587
  ExternalAuthController_completeLogin: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.96.0",
3
+ "version": "0.97.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",