@workos/openapi-spec 0.46.0 → 0.48.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 +29 -21
- package/dist/types.d.ts +12 -5
- package/package.json +4 -4
package/dist/open-api-spec.yaml
CHANGED
|
@@ -13122,20 +13122,35 @@ paths:
|
|
|
13122
13122
|
content:
|
|
13123
13123
|
application/json:
|
|
13124
13124
|
schema:
|
|
13125
|
-
|
|
13126
|
-
|
|
13127
|
-
|
|
13128
|
-
|
|
13129
|
-
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
|
|
13135
|
-
|
|
13136
|
-
|
|
13137
|
-
|
|
13138
|
-
|
|
13125
|
+
oneOf:
|
|
13126
|
+
- type: object
|
|
13127
|
+
properties:
|
|
13128
|
+
code:
|
|
13129
|
+
type: string
|
|
13130
|
+
description: The error code identifying the type of error.
|
|
13131
|
+
example: daily_quota_exceeded
|
|
13132
|
+
const: daily_quota_exceeded
|
|
13133
|
+
message:
|
|
13134
|
+
type: string
|
|
13135
|
+
description: A human-readable description of the error.
|
|
13136
|
+
example: Request could not be processed.
|
|
13137
|
+
required:
|
|
13138
|
+
- code
|
|
13139
|
+
- message
|
|
13140
|
+
- type: object
|
|
13141
|
+
properties:
|
|
13142
|
+
error:
|
|
13143
|
+
type: string
|
|
13144
|
+
description: The OAuth error code.
|
|
13145
|
+
example: too_many_requests
|
|
13146
|
+
const: too_many_requests
|
|
13147
|
+
error_description:
|
|
13148
|
+
type: string
|
|
13149
|
+
description: A human-readable description of the error.
|
|
13150
|
+
example: 'The request failed due to: too_many_requests.'
|
|
13151
|
+
required:
|
|
13152
|
+
- error
|
|
13153
|
+
- error_description
|
|
13139
13154
|
summary: Authenticate
|
|
13140
13155
|
tags:
|
|
13141
13156
|
- user-management.authentication
|
|
@@ -24682,13 +24697,6 @@ components:
|
|
|
24682
24697
|
- object
|
|
24683
24698
|
- domain
|
|
24684
24699
|
description: List of Organization Domains.
|
|
24685
|
-
callback_endpoint:
|
|
24686
|
-
type: string
|
|
24687
|
-
description: >-
|
|
24688
|
-
The immutable callback endpoint for this Connection. For SAML
|
|
24689
|
-
connections this is the ACS URL; for OIDC connections this is the
|
|
24690
|
-
redirect URI.
|
|
24691
|
-
example: https://auth.workos.com/sso/saml/acs/conn_externalkey
|
|
24692
24700
|
created_at:
|
|
24693
24701
|
format: date-time
|
|
24694
24702
|
type: string
|
package/dist/types.d.ts
CHANGED
|
@@ -6806,11 +6806,6 @@ export interface components {
|
|
|
6806
6806
|
*/
|
|
6807
6807
|
domain: string;
|
|
6808
6808
|
}[];
|
|
6809
|
-
/**
|
|
6810
|
-
* @description The immutable callback endpoint for this Connection. For SAML connections this is the ACS URL; for OIDC connections this is the redirect URI.
|
|
6811
|
-
* @example https://auth.workos.com/sso/saml/acs/conn_externalkey
|
|
6812
|
-
*/
|
|
6813
|
-
callback_endpoint?: string;
|
|
6814
6809
|
/**
|
|
6815
6810
|
* Format: date-time
|
|
6816
6811
|
* @description An ISO 8601 timestamp.
|
|
@@ -28632,6 +28627,18 @@ export interface operations {
|
|
|
28632
28627
|
* @example Request could not be processed.
|
|
28633
28628
|
*/
|
|
28634
28629
|
message: string;
|
|
28630
|
+
} | {
|
|
28631
|
+
/**
|
|
28632
|
+
* @description The OAuth error code.
|
|
28633
|
+
* @example too_many_requests
|
|
28634
|
+
* @constant
|
|
28635
|
+
*/
|
|
28636
|
+
error: "too_many_requests";
|
|
28637
|
+
/**
|
|
28638
|
+
* @description A human-readable description of the error.
|
|
28639
|
+
* @example The request failed due to: too_many_requests.
|
|
28640
|
+
*/
|
|
28641
|
+
error_description: string;
|
|
28635
28642
|
};
|
|
28636
28643
|
};
|
|
28637
28644
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workos/openapi-spec",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/js-yaml": "^4.0.9",
|
|
60
60
|
"@types/node": "^26.1.1",
|
|
61
|
-
"@workos/oagen": "^0.
|
|
62
|
-
"@workos/oagen-emitters": "^0.
|
|
61
|
+
"@workos/oagen": "^0.28.0",
|
|
62
|
+
"@workos/oagen-emitters": "^0.22.0",
|
|
63
63
|
"diff2html": "^3.4.56",
|
|
64
64
|
"husky": "^9.1.7",
|
|
65
65
|
"js-yaml": "^4.1.1",
|
|
66
66
|
"openapi-to-postmanv2": "^6.3.1",
|
|
67
|
-
"tsdown": "^0.22.
|
|
67
|
+
"tsdown": "^0.22.14",
|
|
68
68
|
"tsx": "^4.23.1",
|
|
69
69
|
"typescript": "^7.0.2"
|
|
70
70
|
}
|