@workos/openapi-spec 0.162.0 → 0.164.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 +48 -3
- package/dist/types.d.ts +21 -4
- package/package.json +3 -3
package/dist/open-api-spec.yaml
CHANGED
|
@@ -6728,6 +6728,17 @@ paths:
|
|
|
6728
6728
|
schema:
|
|
6729
6729
|
example: Foo Corp
|
|
6730
6730
|
type: string
|
|
6731
|
+
- name: state
|
|
6732
|
+
required: false
|
|
6733
|
+
in: query
|
|
6734
|
+
description: Filter Connections by their state.
|
|
6735
|
+
schema:
|
|
6736
|
+
example: active
|
|
6737
|
+
enum:
|
|
6738
|
+
- active
|
|
6739
|
+
- inactive
|
|
6740
|
+
- validating
|
|
6741
|
+
type: string
|
|
6731
6742
|
responses:
|
|
6732
6743
|
'200':
|
|
6733
6744
|
description: OK
|
|
@@ -11174,6 +11185,20 @@ paths:
|
|
|
11174
11185
|
schema:
|
|
11175
11186
|
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11176
11187
|
type: string
|
|
11188
|
+
- name: ownership
|
|
11189
|
+
required: false
|
|
11190
|
+
in: query
|
|
11191
|
+
description: >-
|
|
11192
|
+
Select the provider configuration for `user` connections or
|
|
11193
|
+
`organization` shared connections. Defaults to `user`; never falls
|
|
11194
|
+
back to the other ownership.
|
|
11195
|
+
schema:
|
|
11196
|
+
default: user
|
|
11197
|
+
example: user
|
|
11198
|
+
enum:
|
|
11199
|
+
- user
|
|
11200
|
+
- organization
|
|
11201
|
+
type: string
|
|
11177
11202
|
responses:
|
|
11178
11203
|
'200':
|
|
11179
11204
|
description: A list of provider configurations for the organization.
|
|
@@ -11189,6 +11214,12 @@ paths:
|
|
|
11189
11214
|
application/json:
|
|
11190
11215
|
schema:
|
|
11191
11216
|
$ref: '#/components/schemas/ErrorBody'
|
|
11217
|
+
'422':
|
|
11218
|
+
description: The ownership selector is invalid.
|
|
11219
|
+
content:
|
|
11220
|
+
application/json:
|
|
11221
|
+
schema:
|
|
11222
|
+
$ref: '#/components/schemas/ErrorBody'
|
|
11192
11223
|
summary: List providers for an organization
|
|
11193
11224
|
tags:
|
|
11194
11225
|
- pipes.provider
|
|
@@ -11218,6 +11249,20 @@ paths:
|
|
|
11218
11249
|
schema:
|
|
11219
11250
|
example: github
|
|
11220
11251
|
type: string
|
|
11252
|
+
- name: ownership
|
|
11253
|
+
required: false
|
|
11254
|
+
in: query
|
|
11255
|
+
description: >-
|
|
11256
|
+
Select the provider configuration for `user` connections or
|
|
11257
|
+
`organization` shared connections. Defaults to `user`; never falls
|
|
11258
|
+
back to the other ownership.
|
|
11259
|
+
schema:
|
|
11260
|
+
default: user
|
|
11261
|
+
example: user
|
|
11262
|
+
enum:
|
|
11263
|
+
- user
|
|
11264
|
+
- organization
|
|
11265
|
+
type: string
|
|
11221
11266
|
requestBody:
|
|
11222
11267
|
required: true
|
|
11223
11268
|
content:
|
|
@@ -11248,15 +11293,15 @@ paths:
|
|
|
11248
11293
|
'401':
|
|
11249
11294
|
description: The request is missing a valid API key.
|
|
11250
11295
|
'404':
|
|
11251
|
-
description: The organization or provider was not found.
|
|
11296
|
+
description: The organization or selected provider was not found.
|
|
11252
11297
|
content:
|
|
11253
11298
|
application/json:
|
|
11254
11299
|
schema:
|
|
11255
11300
|
$ref: '#/components/schemas/ErrorBody'
|
|
11256
11301
|
'422':
|
|
11257
11302
|
description: >-
|
|
11258
|
-
|
|
11259
|
-
|
|
11303
|
+
The ownership selector is invalid, or one or more of the supplied
|
|
11304
|
+
`scopes` are not valid for the provider.
|
|
11260
11305
|
content:
|
|
11261
11306
|
application/json:
|
|
11262
11307
|
schema:
|
package/dist/types.d.ts
CHANGED
|
@@ -28929,6 +28929,8 @@ export interface operations {
|
|
|
28929
28929
|
organization_id?: string;
|
|
28930
28930
|
/** @description Searchable text to match against Connection names. */
|
|
28931
28931
|
search?: string;
|
|
28932
|
+
/** @description Filter Connections by their state. */
|
|
28933
|
+
state?: "active" | "inactive" | "validating";
|
|
28932
28934
|
};
|
|
28933
28935
|
header?: never;
|
|
28934
28936
|
path?: never;
|
|
@@ -33075,7 +33077,10 @@ export interface operations {
|
|
|
33075
33077
|
};
|
|
33076
33078
|
ProviderController_listForOrganization: {
|
|
33077
33079
|
parameters: {
|
|
33078
|
-
query?:
|
|
33080
|
+
query?: {
|
|
33081
|
+
/** @description Select the provider configuration for `user` connections or `organization` shared connections. Defaults to `user`; never falls back to the other ownership. */
|
|
33082
|
+
ownership?: "user" | "organization";
|
|
33083
|
+
};
|
|
33079
33084
|
header?: never;
|
|
33080
33085
|
path: {
|
|
33081
33086
|
/** @description An [Organization](/reference/organization) identifier to list provider configurations for. */
|
|
@@ -33110,11 +33115,23 @@ export interface operations {
|
|
|
33110
33115
|
"application/json": components["schemas"]["ErrorBody"];
|
|
33111
33116
|
};
|
|
33112
33117
|
};
|
|
33118
|
+
/** @description The ownership selector is invalid. */
|
|
33119
|
+
422: {
|
|
33120
|
+
headers: {
|
|
33121
|
+
[name: string]: unknown;
|
|
33122
|
+
};
|
|
33123
|
+
content: {
|
|
33124
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
33125
|
+
};
|
|
33126
|
+
};
|
|
33113
33127
|
};
|
|
33114
33128
|
};
|
|
33115
33129
|
ProviderController_configure: {
|
|
33116
33130
|
parameters: {
|
|
33117
|
-
query?:
|
|
33131
|
+
query?: {
|
|
33132
|
+
/** @description Select the provider configuration for `user` connections or `organization` shared connections. Defaults to `user`; never falls back to the other ownership. */
|
|
33133
|
+
ownership?: "user" | "organization";
|
|
33134
|
+
};
|
|
33118
33135
|
header?: never;
|
|
33119
33136
|
path: {
|
|
33120
33137
|
/** @description An [Organization](/reference/organization) identifier to configure the provider for. */
|
|
@@ -33155,7 +33172,7 @@ export interface operations {
|
|
|
33155
33172
|
};
|
|
33156
33173
|
content?: never;
|
|
33157
33174
|
};
|
|
33158
|
-
/** @description The organization or provider was not found. */
|
|
33175
|
+
/** @description The organization or selected provider was not found. */
|
|
33159
33176
|
404: {
|
|
33160
33177
|
headers: {
|
|
33161
33178
|
[name: string]: unknown;
|
|
@@ -33164,7 +33181,7 @@ export interface operations {
|
|
|
33164
33181
|
"application/json": components["schemas"]["ErrorBody"];
|
|
33165
33182
|
};
|
|
33166
33183
|
};
|
|
33167
|
-
/** @description
|
|
33184
|
+
/** @description The ownership selector is invalid, or one or more of the supplied `scopes` are not valid for the provider. */
|
|
33168
33185
|
422: {
|
|
33169
33186
|
headers: {
|
|
33170
33187
|
[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.164.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",
|