@workos/openapi-spec 0.98.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.
- package/dist/open-api-spec.yaml +38 -1
- package/dist/types.d.ts +26 -1
- package/package.json +2 -2
package/dist/open-api-spec.yaml
CHANGED
|
@@ -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:
|
|
@@ -15324,6 +15343,7 @@ paths:
|
|
|
15324
15343
|
- user:email
|
|
15325
15344
|
auth_methods:
|
|
15326
15345
|
- oauth
|
|
15346
|
+
connection_owner: organization
|
|
15327
15347
|
ownership: organization
|
|
15328
15348
|
created_at: '2024-01-15T10:30:00.000Z'
|
|
15329
15349
|
updated_at: '2024-01-15T10:30:00.000Z'
|
|
@@ -45207,12 +45227,28 @@ components:
|
|
|
45207
45227
|
Defaults to `["oauth"]` if absent.
|
|
45208
45228
|
example:
|
|
45209
45229
|
- oauth
|
|
45230
|
+
connection_owner:
|
|
45231
|
+
type: string
|
|
45232
|
+
enum:
|
|
45233
|
+
- user
|
|
45234
|
+
- organization
|
|
45235
|
+
description: >-
|
|
45236
|
+
Who owns connections made through this provider: `user` for
|
|
45237
|
+
connections owned by individual users, or `organization` for a
|
|
45238
|
+
connection shared by every member of the organization. A
|
|
45239
|
+
provider row can exist before any connected account does.
|
|
45240
|
+
example: user
|
|
45210
45241
|
ownership:
|
|
45211
45242
|
type: string
|
|
45212
45243
|
enum:
|
|
45213
45244
|
- userland_user
|
|
45214
45245
|
- organization
|
|
45215
|
-
|
|
45246
|
+
deprecated: true
|
|
45247
|
+
description: >-
|
|
45248
|
+
Use `connection_owner` instead. Legacy spelling of the same
|
|
45249
|
+
value: `userland_user` corresponds to `connection_owner:
|
|
45250
|
+
"user"` and `organization` to `connection_owner:
|
|
45251
|
+
"organization"`.
|
|
45216
45252
|
created_at:
|
|
45217
45253
|
type: string
|
|
45218
45254
|
description: The timestamp when the provider was created.
|
|
@@ -45607,6 +45643,7 @@ components:
|
|
|
45607
45643
|
- integration_type
|
|
45608
45644
|
- credentials_type
|
|
45609
45645
|
- scopes
|
|
45646
|
+
- connection_owner
|
|
45610
45647
|
- ownership
|
|
45611
45648
|
- created_at
|
|
45612
45649
|
- updated_at
|
package/dist/types.d.ts
CHANGED
|
@@ -18324,7 +18324,14 @@ export interface components {
|
|
|
18324
18324
|
*/
|
|
18325
18325
|
auth_methods?: ("oauth" | "api_key" | "client_credentials")[];
|
|
18326
18326
|
/**
|
|
18327
|
-
* @description
|
|
18327
|
+
* @description Who owns connections made through this provider: `user` for connections owned by individual users, or `organization` for a connection shared by every member of the organization. A provider row can exist before any connected account does.
|
|
18328
|
+
* @example user
|
|
18329
|
+
* @enum {string}
|
|
18330
|
+
*/
|
|
18331
|
+
connection_owner: "user" | "organization";
|
|
18332
|
+
/**
|
|
18333
|
+
* @deprecated
|
|
18334
|
+
* @description Use `connection_owner` instead. Legacy spelling of the same value: `userland_user` corresponds to `connection_owner: "user"` and `organization` to `connection_owner: "organization"`.
|
|
18328
18335
|
* @enum {string}
|
|
18329
18336
|
*/
|
|
18330
18337
|
ownership: "userland_user" | "organization";
|
|
@@ -22556,6 +22563,23 @@ export interface operations {
|
|
|
22556
22563
|
};
|
|
22557
22564
|
content: {
|
|
22558
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
|
+
} | {
|
|
22559
22583
|
/**
|
|
22560
22584
|
* @description The error code identifying the type of error.
|
|
22561
22585
|
* @example sms_challenge_rate_limited
|
|
@@ -33615,6 +33639,7 @@ export interface operations {
|
|
|
33615
33639
|
* "auth_methods": [
|
|
33616
33640
|
* "oauth"
|
|
33617
33641
|
* ],
|
|
33642
|
+
* "connection_owner": "organization",
|
|
33618
33643
|
* "ownership": "organization",
|
|
33619
33644
|
* "created_at": "2024-01-15T10:30:00.000Z",
|
|
33620
33645
|
* "updated_at": "2024-01-15T10:30:00.000Z",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workos/openapi-spec",
|
|
3
|
-
"version": "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.
|
|
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",
|