@workos/openapi-spec 0.130.0 → 0.132.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:
@@ -17767,25 +17745,6 @@ paths:
17767
17745
  responses:
17768
17746
  '204':
17769
17747
  description: No Content
17770
- '402':
17771
- description: ''
17772
- content:
17773
- application/json:
17774
- schema:
17775
- type: object
17776
- properties:
17777
- code:
17778
- type: string
17779
- description: The error code identifying the type of error.
17780
- example: production_feature_requires_billing
17781
- const: production_feature_requires_billing
17782
- message:
17783
- type: string
17784
- description: A human-readable description of the error.
17785
- example: Request could not be processed.
17786
- required:
17787
- - code
17788
- - message
17789
17748
  '403':
17790
17749
  description: Forbidden
17791
17750
  content:
@@ -17846,6 +17805,25 @@ paths:
17846
17805
  example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
17847
17806
  required:
17848
17807
  - message
17808
+ '429':
17809
+ description: ''
17810
+ content:
17811
+ application/json:
17812
+ schema:
17813
+ type: object
17814
+ properties:
17815
+ code:
17816
+ type: string
17817
+ description: The error code identifying the type of error.
17818
+ example: daily_quota_exceeded
17819
+ const: daily_quota_exceeded
17820
+ message:
17821
+ type: string
17822
+ description: A human-readable description of the error.
17823
+ example: Request could not be processed.
17824
+ required:
17825
+ - code
17826
+ - message
17849
17827
  '503':
17850
17828
  description: ''
17851
17829
  content:
@@ -21366,25 +21344,6 @@ paths:
21366
21344
  required:
21367
21345
  - code
21368
21346
  - message
21369
- '402':
21370
- description: ''
21371
- content:
21372
- application/json:
21373
- schema:
21374
- type: object
21375
- properties:
21376
- code:
21377
- type: string
21378
- description: The error code identifying the type of error.
21379
- example: production_feature_requires_billing
21380
- const: production_feature_requires_billing
21381
- message:
21382
- type: string
21383
- description: A human-readable description of the error.
21384
- example: Request could not be processed.
21385
- required:
21386
- - code
21387
- - message
21388
21347
  '404':
21389
21348
  description: Not Found
21390
21349
  content:
@@ -21745,25 +21704,6 @@ paths:
21745
21704
  required:
21746
21705
  - code
21747
21706
  - message
21748
- '402':
21749
- description: ''
21750
- content:
21751
- application/json:
21752
- schema:
21753
- type: object
21754
- properties:
21755
- code:
21756
- type: string
21757
- description: The error code identifying the type of error.
21758
- example: production_feature_requires_billing
21759
- const: production_feature_requires_billing
21760
- message:
21761
- type: string
21762
- description: A human-readable description of the error.
21763
- example: Request could not be processed.
21764
- required:
21765
- - code
21766
- - message
21767
21707
  '404':
21768
21708
  description: Not Found
21769
21709
  content:
@@ -26156,8 +26096,8 @@ paths:
26156
26096
  description: >-
26157
26097
  The user, organization, or data integration was not found, or
26158
26098
  `multiple_connections_unavailable` when `connection_intent: add`
26159
- would create an additional connection before that capability is
26160
- available.
26099
+ would create an additional connection while additional connections
26100
+ are turned off for the team.
26161
26101
  content:
26162
26102
  application/json:
26163
26103
  schema:
@@ -26819,25 +26759,6 @@ paths:
26819
26759
  - updated_at
26820
26760
  - object
26821
26761
  x-inline-with-overrides: true
26822
- '402':
26823
- description: ''
26824
- content:
26825
- application/json:
26826
- schema:
26827
- type: object
26828
- properties:
26829
- code:
26830
- type: string
26831
- description: The error code identifying the type of error.
26832
- example: production_feature_requires_billing
26833
- const: production_feature_requires_billing
26834
- message:
26835
- type: string
26836
- description: A human-readable description of the error.
26837
- example: Request could not be processed.
26838
- required:
26839
- - code
26840
- - message
26841
26762
  '404':
26842
26763
  description: Not Found
26843
26764
  content:
@@ -30684,11 +30605,7 @@ components:
30684
30605
  type: string
30685
30606
  description: >-
30686
30607
  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`.
30608
+ for permanent compatibility behavior.
30692
30609
  example: add
30693
30610
  const: add
30694
30611
  required:
@@ -30798,11 +30715,7 @@ components:
30798
30715
  type: string
30799
30716
  description: >-
30800
30717
  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`.
30718
+ for permanent compatibility behavior.
30806
30719
  example: add
30807
30720
  const: add
30808
30721
  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;
@@ -36254,26 +36254,6 @@ export interface operations {
36254
36254
  };
36255
36255
  content?: never;
36256
36256
  };
36257
- 402: {
36258
- headers: {
36259
- [name: string]: unknown;
36260
- };
36261
- content: {
36262
- "application/json": {
36263
- /**
36264
- * @description The error code identifying the type of error.
36265
- * @example production_feature_requires_billing
36266
- * @constant
36267
- */
36268
- code: "production_feature_requires_billing";
36269
- /**
36270
- * @description A human-readable description of the error.
36271
- * @example Request could not be processed.
36272
- */
36273
- message: string;
36274
- };
36275
- };
36276
- };
36277
36257
  /** @description Forbidden */
36278
36258
  403: {
36279
36259
  headers: {
@@ -36340,6 +36320,26 @@ export interface operations {
36340
36320
  };
36341
36321
  };
36342
36322
  };
36323
+ 429: {
36324
+ headers: {
36325
+ [name: string]: unknown;
36326
+ };
36327
+ content: {
36328
+ "application/json": {
36329
+ /**
36330
+ * @description The error code identifying the type of error.
36331
+ * @example daily_quota_exceeded
36332
+ * @constant
36333
+ */
36334
+ code: "daily_quota_exceeded";
36335
+ /**
36336
+ * @description A human-readable description of the error.
36337
+ * @example Request could not be processed.
36338
+ */
36339
+ message: string;
36340
+ };
36341
+ };
36342
+ };
36343
36343
  503: {
36344
36344
  headers: {
36345
36345
  [name: string]: unknown;
@@ -39278,26 +39278,6 @@ export interface operations {
39278
39278
  };
39279
39279
  };
39280
39280
  };
39281
- 402: {
39282
- headers: {
39283
- [name: string]: unknown;
39284
- };
39285
- content: {
39286
- "application/json": {
39287
- /**
39288
- * @description The error code identifying the type of error.
39289
- * @example production_feature_requires_billing
39290
- * @constant
39291
- */
39292
- code: "production_feature_requires_billing";
39293
- /**
39294
- * @description A human-readable description of the error.
39295
- * @example Request could not be processed.
39296
- */
39297
- message: string;
39298
- };
39299
- };
39300
- };
39301
39281
  /** @description Not Found */
39302
39282
  404: {
39303
39283
  headers: {
@@ -39620,26 +39600,6 @@ export interface operations {
39620
39600
  };
39621
39601
  };
39622
39602
  };
39623
- 402: {
39624
- headers: {
39625
- [name: string]: unknown;
39626
- };
39627
- content: {
39628
- "application/json": {
39629
- /**
39630
- * @description The error code identifying the type of error.
39631
- * @example production_feature_requires_billing
39632
- * @constant
39633
- */
39634
- code: "production_feature_requires_billing";
39635
- /**
39636
- * @description A human-readable description of the error.
39637
- * @example Request could not be processed.
39638
- */
39639
- message: string;
39640
- };
39641
- };
39642
- };
39643
39603
  /** @description Not Found */
39644
39604
  404: {
39645
39605
  headers: {
@@ -43470,7 +43430,7 @@ export interface operations {
43470
43430
  };
43471
43431
  content?: never;
43472
43432
  };
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. */
43433
+ /** @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
43434
  404: {
43475
43435
  headers: {
43476
43436
  [name: string]: unknown;
@@ -43940,26 +43900,6 @@ export interface operations {
43940
43900
  };
43941
43901
  };
43942
43902
  };
43943
- 402: {
43944
- headers: {
43945
- [name: string]: unknown;
43946
- };
43947
- content: {
43948
- "application/json": {
43949
- /**
43950
- * @description The error code identifying the type of error.
43951
- * @example production_feature_requires_billing
43952
- * @constant
43953
- */
43954
- code: "production_feature_requires_billing";
43955
- /**
43956
- * @description A human-readable description of the error.
43957
- * @example Request could not be processed.
43958
- */
43959
- message: string;
43960
- };
43961
- };
43962
- };
43963
43903
  /** @description Not Found */
43964
43904
  404: {
43965
43905
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.130.0",
3
+ "version": "0.132.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",