@workos/openapi-spec 0.98.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 +19 -1
- package/dist/types.d.ts +9 -1
- package/package.json +1 -1
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'
|
|
@@ -45207,12 +45208,28 @@ components:
|
|
|
45207
45208
|
Defaults to `["oauth"]` if absent.
|
|
45208
45209
|
example:
|
|
45209
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
|
|
45210
45222
|
ownership:
|
|
45211
45223
|
type: string
|
|
45212
45224
|
enum:
|
|
45213
45225
|
- userland_user
|
|
45214
45226
|
- organization
|
|
45215
|
-
|
|
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"`.
|
|
45216
45233
|
created_at:
|
|
45217
45234
|
type: string
|
|
45218
45235
|
description: The timestamp when the provider was created.
|
|
@@ -45607,6 +45624,7 @@ components:
|
|
|
45607
45624
|
- integration_type
|
|
45608
45625
|
- credentials_type
|
|
45609
45626
|
- scopes
|
|
45627
|
+
- connection_owner
|
|
45610
45628
|
- ownership
|
|
45611
45629
|
- created_at
|
|
45612
45630
|
- 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";
|
|
@@ -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",
|