@workos/openapi-spec 0.129.0 → 0.131.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 +30 -73
- package/dist/types.d.ts +12 -20
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -11334,10 +11334,6 @@ paths:
|
|
|
11334
11334
|
`organization`, shared by the organization. Requires `connection_intent:
|
|
11335
11335
|
add` and does not accept `connected_account_id`; use PUT to create or
|
|
11336
11336
|
rotate the compatibility connection or to update an exact connection.
|
|
11337
|
-
Creating an additional connection is not yet available: until it is,
|
|
11338
|
-
this endpoint succeeds only when the owner has no connection for this
|
|
11339
|
-
integration, which creates the compatibility connection, and otherwise
|
|
11340
|
-
returns 404 `multiple_connections_unavailable`.
|
|
11341
11337
|
operationId: DataIntegrationsController_createApiKeyConnection
|
|
11342
11338
|
parameters:
|
|
11343
11339
|
- name: slug
|
|
@@ -11424,10 +11420,6 @@ paths:
|
|
|
11424
11420
|
Must be `add`: this endpoint only creates another
|
|
11425
11421
|
connection. The first connection for an owner shape fills
|
|
11426
11422
|
the compatibility slot; later connections are standard.
|
|
11427
|
-
Creating an additional connection is not yet available:
|
|
11428
|
-
until it is, `add` succeeds only when the owner has no
|
|
11429
|
-
connection for this integration and otherwise returns 404
|
|
11430
|
-
`multiple_connections_unavailable`.
|
|
11431
11423
|
example: add
|
|
11432
11424
|
const: add
|
|
11433
11425
|
required:
|
|
@@ -11491,8 +11483,8 @@ paths:
|
|
|
11491
11483
|
'404':
|
|
11492
11484
|
description: >-
|
|
11493
11485
|
The data integration was not found, or
|
|
11494
|
-
`multiple_connections_unavailable` when
|
|
11495
|
-
|
|
11486
|
+
`multiple_connections_unavailable` when additional connections are
|
|
11487
|
+
turned off for the team.
|
|
11496
11488
|
content:
|
|
11497
11489
|
application/json:
|
|
11498
11490
|
schema:
|
|
@@ -11583,7 +11575,6 @@ paths:
|
|
|
11583
11575
|
summary: Create another API key connected account
|
|
11584
11576
|
tags:
|
|
11585
11577
|
- pipes
|
|
11586
|
-
x-feature-flag: pipes-multiple-connections
|
|
11587
11578
|
put:
|
|
11588
11579
|
description: >-
|
|
11589
11580
|
Creates or updates an API-key-based installation for the specified
|
|
@@ -12044,14 +12035,10 @@ paths:
|
|
|
12044
12035
|
description: >-
|
|
12045
12036
|
Create another connection. The first connection for an
|
|
12046
12037
|
owner shape fills the compatibility slot; later
|
|
12047
|
-
connections are standard.
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
`multiple_connections_unavailable`. Omit
|
|
12052
|
-
`connection_intent` to use the compatibility connection,
|
|
12053
|
-
or send `reauthorize` with `connected_account_id` to
|
|
12054
|
-
reauthorize one exact connection.
|
|
12038
|
+
connections are standard. Omit `connection_intent` to
|
|
12039
|
+
use the compatibility connection, or send `reauthorize`
|
|
12040
|
+
with `connected_account_id` to reauthorize one exact
|
|
12041
|
+
connection.
|
|
12055
12042
|
example: add
|
|
12056
12043
|
const: add
|
|
12057
12044
|
required:
|
|
@@ -12176,8 +12163,8 @@ paths:
|
|
|
12176
12163
|
`connected_account_not_found` when `connected_account_id` does not
|
|
12177
12164
|
name a connection for this owner and integration; or
|
|
12178
12165
|
`multiple_connections_unavailable` when `connection_intent: add`
|
|
12179
|
-
would create an additional connection
|
|
12180
|
-
|
|
12166
|
+
would create an additional connection while additional connections
|
|
12167
|
+
are turned off for the team.
|
|
12181
12168
|
content:
|
|
12182
12169
|
application/json:
|
|
12183
12170
|
schema:
|
|
@@ -12259,10 +12246,6 @@ paths:
|
|
|
12259
12246
|
`organization`, shared by the organization. Requires `connection_intent:
|
|
12260
12247
|
add` and does not accept `connected_account_id`; use PUT to create or
|
|
12261
12248
|
rotate the compatibility connection or to update an exact connection.
|
|
12262
|
-
Creating an additional connection is not yet available: until it is,
|
|
12263
|
-
this endpoint succeeds only when the owner has no connection for this
|
|
12264
|
-
integration, which creates the compatibility connection, and otherwise
|
|
12265
|
-
returns 404 `multiple_connections_unavailable`.
|
|
12266
12249
|
operationId: DataIntegrationsController_createClientCredentialsConnection
|
|
12267
12250
|
parameters:
|
|
12268
12251
|
- name: slug
|
|
@@ -12364,10 +12347,6 @@ paths:
|
|
|
12364
12347
|
Must be `add`: this endpoint only creates another
|
|
12365
12348
|
connection. The first connection for an owner shape fills
|
|
12366
12349
|
the compatibility slot; later connections are standard.
|
|
12367
|
-
Creating an additional connection is not yet available:
|
|
12368
|
-
until it is, `add` succeeds only when the owner has no
|
|
12369
|
-
connection for this integration and otherwise returns 404
|
|
12370
|
-
`multiple_connections_unavailable`.
|
|
12371
12350
|
example: add
|
|
12372
12351
|
const: add
|
|
12373
12352
|
required:
|
|
@@ -12431,8 +12410,8 @@ paths:
|
|
|
12431
12410
|
'404':
|
|
12432
12411
|
description: >-
|
|
12433
12412
|
The data integration was not found, or
|
|
12434
|
-
`multiple_connections_unavailable` when
|
|
12435
|
-
|
|
12413
|
+
`multiple_connections_unavailable` when additional connections are
|
|
12414
|
+
turned off for the team.
|
|
12436
12415
|
content:
|
|
12437
12416
|
application/json:
|
|
12438
12417
|
schema:
|
|
@@ -12523,7 +12502,6 @@ paths:
|
|
|
12523
12502
|
summary: Create another client credentials connected account
|
|
12524
12503
|
tags:
|
|
12525
12504
|
- pipes
|
|
12526
|
-
x-feature-flag: pipes-multiple-connections
|
|
12527
12505
|
put:
|
|
12528
12506
|
description: >-
|
|
12529
12507
|
Creates or updates a client-credentials-based installation for the
|
|
@@ -17066,8 +17044,8 @@ paths:
|
|
|
17066
17044
|
description: >-
|
|
17067
17045
|
The organization, user, or data integration was not found, or
|
|
17068
17046
|
`multiple_connections_unavailable` when `connection_intent: add`
|
|
17069
|
-
would create an additional connection
|
|
17070
|
-
|
|
17047
|
+
would create an additional connection while additional connections
|
|
17048
|
+
are turned off for the team.
|
|
17071
17049
|
content:
|
|
17072
17050
|
application/json:
|
|
17073
17051
|
schema:
|
|
@@ -18866,33 +18844,20 @@ paths:
|
|
|
18866
18844
|
content:
|
|
18867
18845
|
application/json:
|
|
18868
18846
|
schema:
|
|
18869
|
-
|
|
18870
|
-
|
|
18871
|
-
|
|
18872
|
-
|
|
18873
|
-
|
|
18874
|
-
|
|
18875
|
-
|
|
18876
|
-
|
|
18877
|
-
|
|
18878
|
-
|
|
18879
|
-
|
|
18880
|
-
|
|
18881
|
-
|
|
18882
|
-
|
|
18883
|
-
- error_description
|
|
18884
|
-
- type: object
|
|
18885
|
-
properties:
|
|
18886
|
-
error:
|
|
18887
|
-
type: string
|
|
18888
|
-
const: unauthorized_client
|
|
18889
|
-
error_description:
|
|
18890
|
-
type: string
|
|
18891
|
-
description: A human-readable description of the error.
|
|
18892
|
-
example: Unauthorized
|
|
18893
|
-
required:
|
|
18894
|
-
- error
|
|
18895
|
-
- error_description
|
|
18847
|
+
type: object
|
|
18848
|
+
properties:
|
|
18849
|
+
error:
|
|
18850
|
+
type: string
|
|
18851
|
+
const: connection_invalid
|
|
18852
|
+
error_description:
|
|
18853
|
+
type: string
|
|
18854
|
+
description: A human-readable description of the error.
|
|
18855
|
+
example: >-
|
|
18856
|
+
Single Logout is only supported for GenericOIDC
|
|
18857
|
+
connections.
|
|
18858
|
+
required:
|
|
18859
|
+
- error
|
|
18860
|
+
- error_description
|
|
18896
18861
|
'404':
|
|
18897
18862
|
description: Not Found
|
|
18898
18863
|
content:
|
|
@@ -26169,8 +26134,8 @@ paths:
|
|
|
26169
26134
|
description: >-
|
|
26170
26135
|
The user, organization, or data integration was not found, or
|
|
26171
26136
|
`multiple_connections_unavailable` when `connection_intent: add`
|
|
26172
|
-
would create an additional connection
|
|
26173
|
-
|
|
26137
|
+
would create an additional connection while additional connections
|
|
26138
|
+
are turned off for the team.
|
|
26174
26139
|
content:
|
|
26175
26140
|
application/json:
|
|
26176
26141
|
schema:
|
|
@@ -30697,11 +30662,7 @@ components:
|
|
|
30697
30662
|
type: string
|
|
30698
30663
|
description: >-
|
|
30699
30664
|
Set to `add` to create another connected account. Omit this field
|
|
30700
|
-
for permanent compatibility behavior.
|
|
30701
|
-
connection is not yet available: until it is, `add` succeeds only
|
|
30702
|
-
when the owner has no connection for this integration, which creates
|
|
30703
|
-
the compatibility connection, and otherwise returns 404
|
|
30704
|
-
`multiple_connections_unavailable`.
|
|
30665
|
+
for permanent compatibility behavior.
|
|
30705
30666
|
example: add
|
|
30706
30667
|
const: add
|
|
30707
30668
|
required:
|
|
@@ -30811,11 +30772,7 @@ components:
|
|
|
30811
30772
|
type: string
|
|
30812
30773
|
description: >-
|
|
30813
30774
|
Set to `add` to create another connected account. Omit this field
|
|
30814
|
-
for permanent compatibility behavior.
|
|
30815
|
-
connection is not yet available: until it is, `add` succeeds only
|
|
30816
|
-
when the owner has no connection for this integration, which creates
|
|
30817
|
-
the compatibility connection, and otherwise returns 404
|
|
30818
|
-
`multiple_connections_unavailable`.
|
|
30775
|
+
for permanent compatibility behavior.
|
|
30819
30776
|
example: add
|
|
30820
30777
|
const: add
|
|
30821
30778
|
ConnectedAccountDto:
|
package/dist/types.d.ts
CHANGED
|
@@ -1494,7 +1494,7 @@ export interface paths {
|
|
|
1494
1494
|
put: operations["DataIntegrationsController_upsertApiKey"];
|
|
1495
1495
|
/**
|
|
1496
1496
|
* Create another API key connected account
|
|
1497
|
-
* @description Creates another API key-based connected account for the specified integration, owned by the user or, when `connection_owner` is `organization`, shared by the organization. Requires `connection_intent: add` and does not accept `connected_account_id`; use PUT to create or rotate the compatibility connection or to update an exact connection.
|
|
1497
|
+
* @description Creates another API key-based connected account for the specified integration, owned by the user or, when `connection_owner` is `organization`, shared by the organization. Requires `connection_intent: add` and does not accept `connected_account_id`; use PUT to create or rotate the compatibility connection or to update an exact connection.
|
|
1498
1498
|
*/
|
|
1499
1499
|
post: operations["DataIntegrationsController_createApiKeyConnection"];
|
|
1500
1500
|
delete?: never;
|
|
@@ -1538,7 +1538,7 @@ export interface paths {
|
|
|
1538
1538
|
put: operations["DataIntegrationsController_upsertClientCredentials"];
|
|
1539
1539
|
/**
|
|
1540
1540
|
* Create another client credentials connected account
|
|
1541
|
-
* @description Creates another client credentials-based connected account for the specified integration, owned by the user or, when `connection_owner` is `organization`, shared by the organization. Requires `connection_intent: add` and does not accept `connected_account_id`; use PUT to create or rotate the compatibility connection or to update an exact connection.
|
|
1541
|
+
* @description Creates another client credentials-based connected account for the specified integration, owned by the user or, when `connection_owner` is `organization`, shared by the organization. Requires `connection_intent: add` and does not accept `connected_account_id`; use PUT to create or rotate the compatibility connection or to update an exact connection.
|
|
1542
1542
|
*/
|
|
1543
1543
|
post: operations["DataIntegrationsController_createClientCredentialsConnection"];
|
|
1544
1544
|
delete?: never;
|
|
@@ -5642,7 +5642,7 @@ export interface components {
|
|
|
5642
5642
|
*/
|
|
5643
5643
|
user_id: string;
|
|
5644
5644
|
/**
|
|
5645
|
-
* @description Set to `add` to create another connected account. Omit this field for permanent compatibility behavior.
|
|
5645
|
+
* @description Set to `add` to create another connected account. Omit this field for permanent compatibility behavior.
|
|
5646
5646
|
* @example add
|
|
5647
5647
|
* @constant
|
|
5648
5648
|
*/
|
|
@@ -5737,7 +5737,7 @@ export interface components {
|
|
|
5737
5737
|
*/
|
|
5738
5738
|
state?: "connected" | "needs_reauthorization";
|
|
5739
5739
|
/**
|
|
5740
|
-
* @description Set to `add` to create another connected account. Omit this field for permanent compatibility behavior.
|
|
5740
|
+
* @description Set to `add` to create another connected account. Omit this field for permanent compatibility behavior.
|
|
5741
5741
|
* @example add
|
|
5742
5742
|
* @constant
|
|
5743
5743
|
*/
|
|
@@ -30921,7 +30921,7 @@ export interface operations {
|
|
|
30921
30921
|
*/
|
|
30922
30922
|
secret: string;
|
|
30923
30923
|
/**
|
|
30924
|
-
* @description Must be `add`: this endpoint only creates another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard.
|
|
30924
|
+
* @description Must be `add`: this endpoint only creates another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard.
|
|
30925
30925
|
* @example add
|
|
30926
30926
|
* @constant
|
|
30927
30927
|
*/
|
|
@@ -30989,7 +30989,7 @@ export interface operations {
|
|
|
30989
30989
|
};
|
|
30990
30990
|
};
|
|
30991
30991
|
};
|
|
30992
|
-
/** @description The data integration was not found, or `multiple_connections_unavailable` when
|
|
30992
|
+
/** @description The data integration was not found, or `multiple_connections_unavailable` when additional connections are turned off for the team. */
|
|
30993
30993
|
404: {
|
|
30994
30994
|
headers: {
|
|
30995
30995
|
[name: string]: unknown;
|
|
@@ -31153,7 +31153,7 @@ export interface operations {
|
|
|
31153
31153
|
[key: string]: string;
|
|
31154
31154
|
};
|
|
31155
31155
|
/**
|
|
31156
|
-
* @description Create another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard.
|
|
31156
|
+
* @description Create another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard. Omit `connection_intent` to use the compatibility connection, or send `reauthorize` with `connected_account_id` to reauthorize one exact connection.
|
|
31157
31157
|
* @example add
|
|
31158
31158
|
* @constant
|
|
31159
31159
|
*/
|
|
@@ -31252,7 +31252,7 @@ export interface operations {
|
|
|
31252
31252
|
};
|
|
31253
31253
|
};
|
|
31254
31254
|
};
|
|
31255
|
-
/** @description The integration or user was not found (`entity_not_found`); `connected_account_not_found` when `connected_account_id` does not name a connection for this owner and integration; or `multiple_connections_unavailable` when `connection_intent: add` would create an additional connection
|
|
31255
|
+
/** @description The integration or user was not found (`entity_not_found`); `connected_account_not_found` when `connected_account_id` does not name a connection for this owner and integration; or `multiple_connections_unavailable` when `connection_intent: add` would create an additional connection while additional connections are turned off for the team. */
|
|
31256
31256
|
404: {
|
|
31257
31257
|
headers: {
|
|
31258
31258
|
[name: string]: unknown;
|
|
@@ -31654,7 +31654,7 @@ export interface operations {
|
|
|
31654
31654
|
[key: string]: string;
|
|
31655
31655
|
};
|
|
31656
31656
|
/**
|
|
31657
|
-
* @description Must be `add`: this endpoint only creates another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard.
|
|
31657
|
+
* @description Must be `add`: this endpoint only creates another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard.
|
|
31658
31658
|
* @example add
|
|
31659
31659
|
* @constant
|
|
31660
31660
|
*/
|
|
@@ -31721,7 +31721,7 @@ export interface operations {
|
|
|
31721
31721
|
};
|
|
31722
31722
|
};
|
|
31723
31723
|
};
|
|
31724
|
-
/** @description The data integration was not found, or `multiple_connections_unavailable` when
|
|
31724
|
+
/** @description The data integration was not found, or `multiple_connections_unavailable` when additional connections are turned off for the team. */
|
|
31725
31725
|
404: {
|
|
31726
31726
|
headers: {
|
|
31727
31727
|
[name: string]: unknown;
|
|
@@ -35633,7 +35633,7 @@ export interface operations {
|
|
|
35633
35633
|
};
|
|
35634
35634
|
};
|
|
35635
35635
|
};
|
|
35636
|
-
/** @description The organization, user, or data integration was not found, or `multiple_connections_unavailable` when `connection_intent: add` would create an additional connection
|
|
35636
|
+
/** @description The organization, user, or data integration was not found, or `multiple_connections_unavailable` when `connection_intent: add` would create an additional connection while additional connections are turned off for the team. */
|
|
35637
35637
|
404: {
|
|
35638
35638
|
headers: {
|
|
35639
35639
|
[name: string]: unknown;
|
|
@@ -37225,14 +37225,6 @@ export interface operations {
|
|
|
37225
37225
|
* @example Single Logout is only supported for GenericOIDC connections.
|
|
37226
37226
|
*/
|
|
37227
37227
|
error_description: string;
|
|
37228
|
-
} | {
|
|
37229
|
-
/** @constant */
|
|
37230
|
-
error: "unauthorized_client";
|
|
37231
|
-
/**
|
|
37232
|
-
* @description A human-readable description of the error.
|
|
37233
|
-
* @example Unauthorized
|
|
37234
|
-
*/
|
|
37235
|
-
error_description: string;
|
|
37236
37228
|
};
|
|
37237
37229
|
};
|
|
37238
37230
|
};
|
|
@@ -43478,7 +43470,7 @@ export interface operations {
|
|
|
43478
43470
|
};
|
|
43479
43471
|
content?: never;
|
|
43480
43472
|
};
|
|
43481
|
-
/** @description The user, organization, or data integration was not found, or `multiple_connections_unavailable` when `connection_intent: add` would create an additional connection
|
|
43473
|
+
/** @description The user, organization, or data integration was not found, or `multiple_connections_unavailable` when `connection_intent: add` would create an additional connection while additional connections are turned off for the team. */
|
|
43482
43474
|
404: {
|
|
43483
43475
|
headers: {
|
|
43484
43476
|
[name: string]: unknown;
|