@workos/openapi-spec 0.162.0 → 0.163.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 +37 -3
- package/dist/types.d.ts +19 -4
- package/package.json +3 -3
package/dist/open-api-spec.yaml
CHANGED
|
@@ -11174,6 +11174,20 @@ paths:
|
|
|
11174
11174
|
schema:
|
|
11175
11175
|
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11176
11176
|
type: string
|
|
11177
|
+
- name: ownership
|
|
11178
|
+
required: false
|
|
11179
|
+
in: query
|
|
11180
|
+
description: >-
|
|
11181
|
+
Select the provider configuration for `user` connections or
|
|
11182
|
+
`organization` shared connections. Defaults to `user`; never falls
|
|
11183
|
+
back to the other ownership.
|
|
11184
|
+
schema:
|
|
11185
|
+
default: user
|
|
11186
|
+
example: user
|
|
11187
|
+
enum:
|
|
11188
|
+
- user
|
|
11189
|
+
- organization
|
|
11190
|
+
type: string
|
|
11177
11191
|
responses:
|
|
11178
11192
|
'200':
|
|
11179
11193
|
description: A list of provider configurations for the organization.
|
|
@@ -11189,6 +11203,12 @@ paths:
|
|
|
11189
11203
|
application/json:
|
|
11190
11204
|
schema:
|
|
11191
11205
|
$ref: '#/components/schemas/ErrorBody'
|
|
11206
|
+
'422':
|
|
11207
|
+
description: The ownership selector is invalid.
|
|
11208
|
+
content:
|
|
11209
|
+
application/json:
|
|
11210
|
+
schema:
|
|
11211
|
+
$ref: '#/components/schemas/ErrorBody'
|
|
11192
11212
|
summary: List providers for an organization
|
|
11193
11213
|
tags:
|
|
11194
11214
|
- pipes.provider
|
|
@@ -11218,6 +11238,20 @@ paths:
|
|
|
11218
11238
|
schema:
|
|
11219
11239
|
example: github
|
|
11220
11240
|
type: string
|
|
11241
|
+
- name: ownership
|
|
11242
|
+
required: false
|
|
11243
|
+
in: query
|
|
11244
|
+
description: >-
|
|
11245
|
+
Select the provider configuration for `user` connections or
|
|
11246
|
+
`organization` shared connections. Defaults to `user`; never falls
|
|
11247
|
+
back to the other ownership.
|
|
11248
|
+
schema:
|
|
11249
|
+
default: user
|
|
11250
|
+
example: user
|
|
11251
|
+
enum:
|
|
11252
|
+
- user
|
|
11253
|
+
- organization
|
|
11254
|
+
type: string
|
|
11221
11255
|
requestBody:
|
|
11222
11256
|
required: true
|
|
11223
11257
|
content:
|
|
@@ -11248,15 +11282,15 @@ paths:
|
|
|
11248
11282
|
'401':
|
|
11249
11283
|
description: The request is missing a valid API key.
|
|
11250
11284
|
'404':
|
|
11251
|
-
description: The organization or provider was not found.
|
|
11285
|
+
description: The organization or selected provider was not found.
|
|
11252
11286
|
content:
|
|
11253
11287
|
application/json:
|
|
11254
11288
|
schema:
|
|
11255
11289
|
$ref: '#/components/schemas/ErrorBody'
|
|
11256
11290
|
'422':
|
|
11257
11291
|
description: >-
|
|
11258
|
-
|
|
11259
|
-
|
|
11292
|
+
The ownership selector is invalid, or one or more of the supplied
|
|
11293
|
+
`scopes` are not valid for the provider.
|
|
11260
11294
|
content:
|
|
11261
11295
|
application/json:
|
|
11262
11296
|
schema:
|
package/dist/types.d.ts
CHANGED
|
@@ -33075,7 +33075,10 @@ export interface operations {
|
|
|
33075
33075
|
};
|
|
33076
33076
|
ProviderController_listForOrganization: {
|
|
33077
33077
|
parameters: {
|
|
33078
|
-
query?:
|
|
33078
|
+
query?: {
|
|
33079
|
+
/** @description Select the provider configuration for `user` connections or `organization` shared connections. Defaults to `user`; never falls back to the other ownership. */
|
|
33080
|
+
ownership?: "user" | "organization";
|
|
33081
|
+
};
|
|
33079
33082
|
header?: never;
|
|
33080
33083
|
path: {
|
|
33081
33084
|
/** @description An [Organization](/reference/organization) identifier to list provider configurations for. */
|
|
@@ -33110,11 +33113,23 @@ export interface operations {
|
|
|
33110
33113
|
"application/json": components["schemas"]["ErrorBody"];
|
|
33111
33114
|
};
|
|
33112
33115
|
};
|
|
33116
|
+
/** @description The ownership selector is invalid. */
|
|
33117
|
+
422: {
|
|
33118
|
+
headers: {
|
|
33119
|
+
[name: string]: unknown;
|
|
33120
|
+
};
|
|
33121
|
+
content: {
|
|
33122
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
33123
|
+
};
|
|
33124
|
+
};
|
|
33113
33125
|
};
|
|
33114
33126
|
};
|
|
33115
33127
|
ProviderController_configure: {
|
|
33116
33128
|
parameters: {
|
|
33117
|
-
query?:
|
|
33129
|
+
query?: {
|
|
33130
|
+
/** @description Select the provider configuration for `user` connections or `organization` shared connections. Defaults to `user`; never falls back to the other ownership. */
|
|
33131
|
+
ownership?: "user" | "organization";
|
|
33132
|
+
};
|
|
33118
33133
|
header?: never;
|
|
33119
33134
|
path: {
|
|
33120
33135
|
/** @description An [Organization](/reference/organization) identifier to configure the provider for. */
|
|
@@ -33155,7 +33170,7 @@ export interface operations {
|
|
|
33155
33170
|
};
|
|
33156
33171
|
content?: never;
|
|
33157
33172
|
};
|
|
33158
|
-
/** @description The organization or provider was not found. */
|
|
33173
|
+
/** @description The organization or selected provider was not found. */
|
|
33159
33174
|
404: {
|
|
33160
33175
|
headers: {
|
|
33161
33176
|
[name: string]: unknown;
|
|
@@ -33164,7 +33179,7 @@ export interface operations {
|
|
|
33164
33179
|
"application/json": components["schemas"]["ErrorBody"];
|
|
33165
33180
|
};
|
|
33166
33181
|
};
|
|
33167
|
-
/** @description
|
|
33182
|
+
/** @description The ownership selector is invalid, or one or more of the supplied `scopes` are not valid for the provider. */
|
|
33168
33183
|
422: {
|
|
33169
33184
|
headers: {
|
|
33170
33185
|
[name: string]: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workos/openapi-spec",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.163.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/node": "^26.6.6",
|
|
60
|
-
"@workos/oagen": "^0.
|
|
61
|
-
"@workos/oagen-emitters": "^0.25.
|
|
60
|
+
"@workos/oagen": "^0.35.0",
|
|
61
|
+
"@workos/oagen-emitters": "^0.25.9",
|
|
62
62
|
"diff2html": "^3.4.56",
|
|
63
63
|
"husky": "^9.1.7",
|
|
64
64
|
"js-yaml": "^5.5.0",
|