@workos/openapi-spec 0.146.0 → 0.147.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/dist/open-api-spec.yaml +14 -0
- package/dist/types.d.ts +12 -0
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -20300,6 +20300,20 @@ paths:
|
|
|
20300
20300
|
required:
|
|
20301
20301
|
- code
|
|
20302
20302
|
- message
|
|
20303
|
+
- type: object
|
|
20304
|
+
properties:
|
|
20305
|
+
code:
|
|
20306
|
+
type: string
|
|
20307
|
+
description: The error code identifying the type of error.
|
|
20308
|
+
example: action_denied
|
|
20309
|
+
const: action_denied
|
|
20310
|
+
message:
|
|
20311
|
+
type: string
|
|
20312
|
+
description: A human-readable description of the error.
|
|
20313
|
+
example: Request could not be processed.
|
|
20314
|
+
required:
|
|
20315
|
+
- code
|
|
20316
|
+
- message
|
|
20303
20317
|
'404':
|
|
20304
20318
|
description: Not Found
|
|
20305
20319
|
content:
|
package/dist/types.d.ts
CHANGED
|
@@ -38670,6 +38670,18 @@ export interface operations {
|
|
|
38670
38670
|
* @example Request could not be processed.
|
|
38671
38671
|
*/
|
|
38672
38672
|
message: string;
|
|
38673
|
+
} | {
|
|
38674
|
+
/**
|
|
38675
|
+
* @description The error code identifying the type of error.
|
|
38676
|
+
* @example action_denied
|
|
38677
|
+
* @constant
|
|
38678
|
+
*/
|
|
38679
|
+
code: "action_denied";
|
|
38680
|
+
/**
|
|
38681
|
+
* @description A human-readable description of the error.
|
|
38682
|
+
* @example Request could not be processed.
|
|
38683
|
+
*/
|
|
38684
|
+
message: string;
|
|
38673
38685
|
};
|
|
38674
38686
|
};
|
|
38675
38687
|
};
|