@workos/openapi-spec 0.130.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.
@@ -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 creating an additional
11495
- connection is not yet available.
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. Creating an additional
12048
- connection is not yet available: until it is, `add`
12049
- succeeds only when the owner has no connection for this
12050
- integration and otherwise returns 404
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 before that capability is
12180
- available.
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 creating an additional
12435
- connection is not yet available.
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 before that capability is
17070
- available.
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:
@@ -26156,8 +26134,8 @@ paths:
26156
26134
  description: >-
26157
26135
  The user, organization, or data integration was not found, or
26158
26136
  `multiple_connections_unavailable` when `connection_intent: add`
26159
- would create an additional connection before that capability is
26160
- available.
26137
+ would create an additional connection while additional connections
26138
+ are turned off for the team.
26161
26139
  content:
26162
26140
  application/json:
26163
26141
  schema:
@@ -30684,11 +30662,7 @@ components:
30684
30662
  type: string
30685
30663
  description: >-
30686
30664
  Set to `add` to create another connected account. Omit this field
30687
- for permanent compatibility behavior. Creating an additional
30688
- connection is not yet available: until it is, `add` succeeds only
30689
- when the owner has no connection for this integration, which creates
30690
- the compatibility connection, and otherwise returns 404
30691
- `multiple_connections_unavailable`.
30665
+ for permanent compatibility behavior.
30692
30666
  example: add
30693
30667
  const: add
30694
30668
  required:
@@ -30798,11 +30772,7 @@ components:
30798
30772
  type: string
30799
30773
  description: >-
30800
30774
  Set to `add` to create another connected account. Omit this field
30801
- for permanent compatibility behavior. Creating an additional
30802
- connection is not yet available: until it is, `add` succeeds only
30803
- when the owner has no connection for this integration, which creates
30804
- the compatibility connection, and otherwise returns 404
30805
- `multiple_connections_unavailable`.
30775
+ for permanent compatibility behavior.
30806
30776
  example: add
30807
30777
  const: add
30808
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. Creating an additional connection is not yet available: until it is, this endpoint succeeds only when the owner has no connection for this integration, which creates the compatibility connection, and otherwise returns 404 `multiple_connections_unavailable`.
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. Creating an additional connection is not yet available: until it is, this endpoint succeeds only when the owner has no connection for this integration, which creates the compatibility connection, and otherwise returns 404 `multiple_connections_unavailable`.
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. Creating an additional connection is not yet available: until it is, `add` succeeds only when the owner has no connection for this integration, which creates the compatibility connection, and otherwise returns 404 `multiple_connections_unavailable`.
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. Creating an additional connection is not yet available: until it is, `add` succeeds only when the owner has no connection for this integration, which creates the compatibility connection, and otherwise returns 404 `multiple_connections_unavailable`.
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. Creating an additional connection is not yet available: until it is, `add` succeeds only when the owner has no connection for this integration and otherwise returns 404 `multiple_connections_unavailable`.
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 creating an additional connection is not yet available. */
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. Creating an additional connection is not yet available: until it is, `add` succeeds only when the owner has no connection for this integration and otherwise returns 404 `multiple_connections_unavailable`. Omit `connection_intent` to use the compatibility connection, or send `reauthorize` with `connected_account_id` to reauthorize one exact connection.
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 before that capability is available. */
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. Creating an additional connection is not yet available: until it is, `add` succeeds only when the owner has no connection for this integration and otherwise returns 404 `multiple_connections_unavailable`.
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 creating an additional connection is not yet available. */
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 before that capability is available. */
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;
@@ -43470,7 +43470,7 @@ export interface operations {
43470
43470
  };
43471
43471
  content?: never;
43472
43472
  };
43473
- /** @description The user, organization, or data integration was not found, or `multiple_connections_unavailable` when `connection_intent: add` would create an additional connection before that capability is available. */
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. */
43474
43474
  404: {
43475
43475
  headers: {
43476
43476
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.130.0",
3
+ "version": "0.131.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",