@workos/openapi-spec 0.97.0 → 0.99.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 +22 -3
- package/dist/types.d.ts +10 -2
- package/package.json +5 -5
package/dist/open-api-spec.yaml
CHANGED
|
@@ -15324,6 +15324,7 @@ paths:
|
|
|
15324
15324
|
- user:email
|
|
15325
15325
|
auth_methods:
|
|
15326
15326
|
- oauth
|
|
15327
|
+
connection_owner: organization
|
|
15327
15328
|
ownership: organization
|
|
15328
15329
|
created_at: '2024-01-15T10:30:00.000Z'
|
|
15329
15330
|
updated_at: '2024-01-15T10:30:00.000Z'
|
|
@@ -28262,8 +28263,9 @@ components:
|
|
|
28262
28263
|
uri:
|
|
28263
28264
|
type: string
|
|
28264
28265
|
description: >-
|
|
28265
|
-
The resource URI. May be a wildcard pattern with a single
|
|
28266
|
-
leftmost hostname label
|
|
28266
|
+
The resource URI. May be a wildcard pattern with a single `*`,
|
|
28267
|
+
either in the leftmost hostname label or as the final path segment,
|
|
28268
|
+
where enabled for the environment.
|
|
28267
28269
|
example: https://api.example.com
|
|
28268
28270
|
default:
|
|
28269
28271
|
type: boolean
|
|
@@ -45206,12 +45208,28 @@ components:
|
|
|
45206
45208
|
Defaults to `["oauth"]` if absent.
|
|
45207
45209
|
example:
|
|
45208
45210
|
- oauth
|
|
45211
|
+
connection_owner:
|
|
45212
|
+
type: string
|
|
45213
|
+
enum:
|
|
45214
|
+
- user
|
|
45215
|
+
- organization
|
|
45216
|
+
description: >-
|
|
45217
|
+
Who owns connections made through this provider: `user` for
|
|
45218
|
+
connections owned by individual users, or `organization` for a
|
|
45219
|
+
connection shared by every member of the organization. A
|
|
45220
|
+
provider row can exist before any connected account does.
|
|
45221
|
+
example: user
|
|
45209
45222
|
ownership:
|
|
45210
45223
|
type: string
|
|
45211
45224
|
enum:
|
|
45212
45225
|
- userland_user
|
|
45213
45226
|
- organization
|
|
45214
|
-
|
|
45227
|
+
deprecated: true
|
|
45228
|
+
description: >-
|
|
45229
|
+
Use `connection_owner` instead. Legacy spelling of the same
|
|
45230
|
+
value: `userland_user` corresponds to `connection_owner:
|
|
45231
|
+
"user"` and `organization` to `connection_owner:
|
|
45232
|
+
"organization"`.
|
|
45215
45233
|
created_at:
|
|
45216
45234
|
type: string
|
|
45217
45235
|
description: The timestamp when the provider was created.
|
|
@@ -45606,6 +45624,7 @@ components:
|
|
|
45606
45624
|
- integration_type
|
|
45607
45625
|
- credentials_type
|
|
45608
45626
|
- scopes
|
|
45627
|
+
- connection_owner
|
|
45609
45628
|
- ownership
|
|
45610
45629
|
- created_at
|
|
45611
45630
|
- updated_at
|
package/dist/types.d.ts
CHANGED
|
@@ -5627,7 +5627,7 @@ export interface components {
|
|
|
5627
5627
|
};
|
|
5628
5628
|
CreateAuthkitOauthResourceDto: {
|
|
5629
5629
|
/**
|
|
5630
|
-
* @description The resource URI. May be a wildcard pattern with a single
|
|
5630
|
+
* @description The resource URI. May be a wildcard pattern with a single `*`, either in the leftmost hostname label or as the final path segment, where enabled for the environment.
|
|
5631
5631
|
* @example https://api.example.com
|
|
5632
5632
|
*/
|
|
5633
5633
|
uri: string;
|
|
@@ -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";
|
|
@@ -33615,6 +33622,7 @@ export interface operations {
|
|
|
33615
33622
|
* "auth_methods": [
|
|
33616
33623
|
* "oauth"
|
|
33617
33624
|
* ],
|
|
33625
|
+
* "connection_owner": "organization",
|
|
33618
33626
|
* "ownership": "organization",
|
|
33619
33627
|
* "created_at": "2024-01-15T10:30:00.000Z",
|
|
33620
33628
|
* "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.99.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"prepare": "husky"
|
|
53
53
|
},
|
|
54
54
|
"overrides": {
|
|
55
|
-
"js-yaml": "^5.4.
|
|
55
|
+
"js-yaml": "^5.4.2",
|
|
56
56
|
"lodash": "^4.17.23"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@types/node": "^26.
|
|
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.14",
|
|
62
62
|
"diff2html": "^3.4.56",
|
|
63
63
|
"husky": "^9.1.7",
|
|
64
|
-
"js-yaml": "^5.4.
|
|
64
|
+
"js-yaml": "^5.4.2",
|
|
65
65
|
"openapi-to-postmanv2": "^6.3.3",
|
|
66
66
|
"tsdown": "^0.23.0",
|
|
67
67
|
"tsx": "^4.23.13",
|