@workos/openapi-spec 0.124.0 → 0.125.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 +52 -0
- package/dist/types.d.ts +54 -0
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -20290,6 +20290,20 @@ paths:
|
|
|
20290
20290
|
required:
|
|
20291
20291
|
- code
|
|
20292
20292
|
- message
|
|
20293
|
+
- type: object
|
|
20294
|
+
properties:
|
|
20295
|
+
code:
|
|
20296
|
+
type: string
|
|
20297
|
+
description: The error code identifying the type of error.
|
|
20298
|
+
example: policy_denied
|
|
20299
|
+
const: policy_denied
|
|
20300
|
+
message:
|
|
20301
|
+
type: string
|
|
20302
|
+
description: A human-readable description of the error.
|
|
20303
|
+
example: Request could not be processed.
|
|
20304
|
+
required:
|
|
20305
|
+
- code
|
|
20306
|
+
- message
|
|
20293
20307
|
'404':
|
|
20294
20308
|
description: Not Found
|
|
20295
20309
|
content:
|
|
@@ -22068,6 +22082,25 @@ paths:
|
|
|
22068
22082
|
required:
|
|
22069
22083
|
- code
|
|
22070
22084
|
- message
|
|
22085
|
+
'403':
|
|
22086
|
+
description: Forbidden
|
|
22087
|
+
content:
|
|
22088
|
+
application/json:
|
|
22089
|
+
schema:
|
|
22090
|
+
type: object
|
|
22091
|
+
properties:
|
|
22092
|
+
code:
|
|
22093
|
+
type: string
|
|
22094
|
+
description: The error code identifying the type of error.
|
|
22095
|
+
example: policy_denied
|
|
22096
|
+
const: policy_denied
|
|
22097
|
+
message:
|
|
22098
|
+
type: string
|
|
22099
|
+
description: A human-readable description of the error.
|
|
22100
|
+
example: Request could not be processed.
|
|
22101
|
+
required:
|
|
22102
|
+
- code
|
|
22103
|
+
- message
|
|
22071
22104
|
'422':
|
|
22072
22105
|
description: Unprocessable Entity
|
|
22073
22106
|
content:
|
|
@@ -24012,6 +24045,25 @@ paths:
|
|
|
24012
24045
|
required:
|
|
24013
24046
|
- code
|
|
24014
24047
|
- message
|
|
24048
|
+
'403':
|
|
24049
|
+
description: Forbidden
|
|
24050
|
+
content:
|
|
24051
|
+
application/json:
|
|
24052
|
+
schema:
|
|
24053
|
+
type: object
|
|
24054
|
+
properties:
|
|
24055
|
+
code:
|
|
24056
|
+
type: string
|
|
24057
|
+
description: The error code identifying the type of error.
|
|
24058
|
+
example: policy_denied
|
|
24059
|
+
const: policy_denied
|
|
24060
|
+
message:
|
|
24061
|
+
type: string
|
|
24062
|
+
description: A human-readable description of the error.
|
|
24063
|
+
example: Request could not be processed.
|
|
24064
|
+
required:
|
|
24065
|
+
- code
|
|
24066
|
+
- message
|
|
24015
24067
|
'404':
|
|
24016
24068
|
description: Not Found
|
|
24017
24069
|
content:
|
package/dist/types.d.ts
CHANGED
|
@@ -38415,6 +38415,18 @@ export interface operations {
|
|
|
38415
38415
|
* @example Request could not be processed.
|
|
38416
38416
|
*/
|
|
38417
38417
|
message: string;
|
|
38418
|
+
} | {
|
|
38419
|
+
/**
|
|
38420
|
+
* @description The error code identifying the type of error.
|
|
38421
|
+
* @example policy_denied
|
|
38422
|
+
* @constant
|
|
38423
|
+
*/
|
|
38424
|
+
code: "policy_denied";
|
|
38425
|
+
/**
|
|
38426
|
+
* @description A human-readable description of the error.
|
|
38427
|
+
* @example Request could not be processed.
|
|
38428
|
+
*/
|
|
38429
|
+
message: string;
|
|
38418
38430
|
};
|
|
38419
38431
|
};
|
|
38420
38432
|
};
|
|
@@ -39884,6 +39896,27 @@ export interface operations {
|
|
|
39884
39896
|
};
|
|
39885
39897
|
};
|
|
39886
39898
|
};
|
|
39899
|
+
/** @description Forbidden */
|
|
39900
|
+
403: {
|
|
39901
|
+
headers: {
|
|
39902
|
+
[name: string]: unknown;
|
|
39903
|
+
};
|
|
39904
|
+
content: {
|
|
39905
|
+
"application/json": {
|
|
39906
|
+
/**
|
|
39907
|
+
* @description The error code identifying the type of error.
|
|
39908
|
+
* @example policy_denied
|
|
39909
|
+
* @constant
|
|
39910
|
+
*/
|
|
39911
|
+
code: "policy_denied";
|
|
39912
|
+
/**
|
|
39913
|
+
* @description A human-readable description of the error.
|
|
39914
|
+
* @example Request could not be processed.
|
|
39915
|
+
*/
|
|
39916
|
+
message: string;
|
|
39917
|
+
};
|
|
39918
|
+
};
|
|
39919
|
+
};
|
|
39887
39920
|
/** @description Unprocessable Entity */
|
|
39888
39921
|
422: {
|
|
39889
39922
|
headers: {
|
|
@@ -41574,6 +41607,27 @@ export interface operations {
|
|
|
41574
41607
|
};
|
|
41575
41608
|
};
|
|
41576
41609
|
};
|
|
41610
|
+
/** @description Forbidden */
|
|
41611
|
+
403: {
|
|
41612
|
+
headers: {
|
|
41613
|
+
[name: string]: unknown;
|
|
41614
|
+
};
|
|
41615
|
+
content: {
|
|
41616
|
+
"application/json": {
|
|
41617
|
+
/**
|
|
41618
|
+
* @description The error code identifying the type of error.
|
|
41619
|
+
* @example policy_denied
|
|
41620
|
+
* @constant
|
|
41621
|
+
*/
|
|
41622
|
+
code: "policy_denied";
|
|
41623
|
+
/**
|
|
41624
|
+
* @description A human-readable description of the error.
|
|
41625
|
+
* @example Request could not be processed.
|
|
41626
|
+
*/
|
|
41627
|
+
message: string;
|
|
41628
|
+
};
|
|
41629
|
+
};
|
|
41630
|
+
};
|
|
41577
41631
|
/** @description Not Found */
|
|
41578
41632
|
404: {
|
|
41579
41633
|
headers: {
|