@workos/openapi-spec 0.105.0 → 0.107.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 +653 -215
- package/dist/types.d.ts +325 -11
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -2236,7 +2236,7 @@ export interface paths {
|
|
|
2236
2236
|
put: operations["DataIntegrationsOrganizationController_updateOrganizationDataInstallation"];
|
|
2237
2237
|
/**
|
|
2238
2238
|
* Import an organization connected account
|
|
2239
|
-
* @description Imports an organization-owned [connected account](/reference/pipes/connected-account) by providing OAuth tokens directly.
|
|
2239
|
+
* @description Imports an organization-owned [connected account](/reference/pipes/connected-account) by providing OAuth tokens directly. Omit `connection_intent` to create only the compatibility connection, or set it to `add` to explicitly create another connection. This creation-only endpoint does not accept `connected_account_id` or reauthorization intent.
|
|
2240
2240
|
*/
|
|
2241
2241
|
post: operations["DataIntegrationsOrganizationController_createOrganizationDataInstallation"];
|
|
2242
2242
|
/**
|
|
@@ -5529,6 +5529,49 @@ export interface components {
|
|
|
5529
5529
|
/** @description Updates to a custom provider's OAuth definition. Only valid for custom-provider integrations. */
|
|
5530
5530
|
custom_provider?: components["schemas"]["UpdateCustomProviderDefinitionDto"];
|
|
5531
5531
|
};
|
|
5532
|
+
CreateOrganizationConnectedAccountDto: {
|
|
5533
|
+
/**
|
|
5534
|
+
* @description The OAuth access token for the connected account.
|
|
5535
|
+
* @example gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
5536
|
+
*/
|
|
5537
|
+
access_token?: string;
|
|
5538
|
+
/**
|
|
5539
|
+
* @description The OAuth refresh token for the connected account.
|
|
5540
|
+
* @example ghr_xxxxxxxxxxxxxxxxxxxx
|
|
5541
|
+
*/
|
|
5542
|
+
refresh_token?: string;
|
|
5543
|
+
/**
|
|
5544
|
+
* Format: date-time
|
|
5545
|
+
* @description The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire.
|
|
5546
|
+
* @example 2025-12-31T23:59:59.000Z
|
|
5547
|
+
*/
|
|
5548
|
+
expires_at?: string;
|
|
5549
|
+
/**
|
|
5550
|
+
* @description The OAuth scopes granted for this connection.
|
|
5551
|
+
* @example [
|
|
5552
|
+
* "repo",
|
|
5553
|
+
* "user:email"
|
|
5554
|
+
* ]
|
|
5555
|
+
*/
|
|
5556
|
+
scopes?: string[];
|
|
5557
|
+
/**
|
|
5558
|
+
* @description Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided.
|
|
5559
|
+
* @example connected
|
|
5560
|
+
* @enum {string}
|
|
5561
|
+
*/
|
|
5562
|
+
state?: "connected" | "needs_reauthorization";
|
|
5563
|
+
/**
|
|
5564
|
+
* @description The [User](/reference/authkit/user) identifier of the organization member on whose behalf the connected account is being imported or updated. The user must be an active member of the organization.
|
|
5565
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
5566
|
+
*/
|
|
5567
|
+
user_id: string;
|
|
5568
|
+
/**
|
|
5569
|
+
* @description Set to `add` to create another connected account. Omit this field for permanent compatibility behavior.
|
|
5570
|
+
* @example add
|
|
5571
|
+
* @constant
|
|
5572
|
+
*/
|
|
5573
|
+
connection_intent?: "add";
|
|
5574
|
+
};
|
|
5532
5575
|
OrganizationConnectedAccountDto: {
|
|
5533
5576
|
/**
|
|
5534
5577
|
* @description The OAuth access token for the connected account.
|
|
@@ -5566,6 +5609,44 @@ export interface components {
|
|
|
5566
5609
|
*/
|
|
5567
5610
|
user_id: string;
|
|
5568
5611
|
};
|
|
5612
|
+
CreateConnectedAccountDto: {
|
|
5613
|
+
/**
|
|
5614
|
+
* @description The OAuth access token for the connected account.
|
|
5615
|
+
* @example gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
5616
|
+
*/
|
|
5617
|
+
access_token?: string;
|
|
5618
|
+
/**
|
|
5619
|
+
* @description The OAuth refresh token for the connected account.
|
|
5620
|
+
* @example ghr_xxxxxxxxxxxxxxxxxxxx
|
|
5621
|
+
*/
|
|
5622
|
+
refresh_token?: string;
|
|
5623
|
+
/**
|
|
5624
|
+
* Format: date-time
|
|
5625
|
+
* @description The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire.
|
|
5626
|
+
* @example 2025-12-31T23:59:59.000Z
|
|
5627
|
+
*/
|
|
5628
|
+
expires_at?: string;
|
|
5629
|
+
/**
|
|
5630
|
+
* @description The OAuth scopes granted for this connection.
|
|
5631
|
+
* @example [
|
|
5632
|
+
* "repo",
|
|
5633
|
+
* "user:email"
|
|
5634
|
+
* ]
|
|
5635
|
+
*/
|
|
5636
|
+
scopes?: string[];
|
|
5637
|
+
/**
|
|
5638
|
+
* @description Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided.
|
|
5639
|
+
* @example connected
|
|
5640
|
+
* @enum {string}
|
|
5641
|
+
*/
|
|
5642
|
+
state?: "connected" | "needs_reauthorization";
|
|
5643
|
+
/**
|
|
5644
|
+
* @description Set to `add` to create another connected account. Omit this field for permanent compatibility behavior.
|
|
5645
|
+
* @example add
|
|
5646
|
+
* @constant
|
|
5647
|
+
*/
|
|
5648
|
+
connection_intent?: "add";
|
|
5649
|
+
};
|
|
5569
5650
|
ConnectedAccountDto: {
|
|
5570
5651
|
/**
|
|
5571
5652
|
* @description The OAuth access token for the connected account.
|
|
@@ -29568,10 +29649,88 @@ export interface operations {
|
|
|
29568
29649
|
*/
|
|
29569
29650
|
organization_id?: string;
|
|
29570
29651
|
/**
|
|
29571
|
-
* @description
|
|
29652
|
+
* @description Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization.
|
|
29653
|
+
* @example user
|
|
29654
|
+
* @enum {string}
|
|
29655
|
+
*/
|
|
29656
|
+
connection_owner?: "user" | "organization";
|
|
29657
|
+
/**
|
|
29658
|
+
* @description The API key secret to store for this integration.
|
|
29659
|
+
* @example sk-1234567890abcdef
|
|
29660
|
+
*/
|
|
29661
|
+
secret: string;
|
|
29662
|
+
} | {
|
|
29663
|
+
/**
|
|
29664
|
+
* @description A [User](/reference/authkit/user) identifier.
|
|
29665
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29666
|
+
*/
|
|
29667
|
+
user_id: string;
|
|
29668
|
+
/**
|
|
29669
|
+
* @description An [Organization](/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`.
|
|
29670
|
+
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29671
|
+
*/
|
|
29672
|
+
organization_id?: string;
|
|
29673
|
+
/**
|
|
29674
|
+
* @description Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization.
|
|
29675
|
+
* @example user
|
|
29676
|
+
* @enum {string}
|
|
29677
|
+
*/
|
|
29678
|
+
connection_owner?: "user" | "organization";
|
|
29679
|
+
/**
|
|
29680
|
+
* @description The API key secret to store for this integration.
|
|
29681
|
+
* @example sk-1234567890abcdef
|
|
29682
|
+
*/
|
|
29683
|
+
secret: string;
|
|
29684
|
+
/**
|
|
29685
|
+
* @description Create another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard.
|
|
29686
|
+
* @example add
|
|
29687
|
+
* @constant
|
|
29688
|
+
*/
|
|
29689
|
+
connection_intent: "add";
|
|
29690
|
+
} | {
|
|
29691
|
+
/**
|
|
29692
|
+
* @description A [User](/reference/authkit/user) identifier.
|
|
29693
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29694
|
+
*/
|
|
29695
|
+
user_id: string;
|
|
29696
|
+
/**
|
|
29697
|
+
* @description An [Organization](/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`.
|
|
29698
|
+
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29699
|
+
*/
|
|
29700
|
+
organization_id?: string;
|
|
29701
|
+
/**
|
|
29702
|
+
* @description Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization.
|
|
29703
|
+
* @example user
|
|
29704
|
+
* @enum {string}
|
|
29705
|
+
*/
|
|
29706
|
+
connection_owner?: "user" | "organization";
|
|
29707
|
+
/**
|
|
29708
|
+
* @description The API key secret to store for this integration.
|
|
29709
|
+
* @example sk-1234567890abcdef
|
|
29710
|
+
*/
|
|
29711
|
+
secret: string;
|
|
29712
|
+
/**
|
|
29713
|
+
* @description Reauthorize exactly the connection named by `connected_account_id`.
|
|
29714
|
+
* @example reauthorize
|
|
29715
|
+
* @constant
|
|
29716
|
+
*/
|
|
29717
|
+
connection_intent: "reauthorize";
|
|
29718
|
+
/**
|
|
29719
|
+
* @description The exact connected account to reauthorize. Required with `connection_intent: reauthorize`.
|
|
29572
29720
|
* @example data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29573
29721
|
*/
|
|
29574
|
-
connected_account_id
|
|
29722
|
+
connected_account_id: string;
|
|
29723
|
+
} | {
|
|
29724
|
+
/**
|
|
29725
|
+
* @description A [User](/reference/authkit/user) identifier.
|
|
29726
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29727
|
+
*/
|
|
29728
|
+
user_id: string;
|
|
29729
|
+
/**
|
|
29730
|
+
* @description An [Organization](/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`.
|
|
29731
|
+
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29732
|
+
*/
|
|
29733
|
+
organization_id?: string;
|
|
29575
29734
|
/**
|
|
29576
29735
|
* @description Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization.
|
|
29577
29736
|
* @example user
|
|
@@ -29583,6 +29742,11 @@ export interface operations {
|
|
|
29583
29742
|
* @example sk-1234567890abcdef
|
|
29584
29743
|
*/
|
|
29585
29744
|
secret: string;
|
|
29745
|
+
/**
|
|
29746
|
+
* @description The exact connected account to reauthorize. The reauthorize intent may be omitted for compatibility.
|
|
29747
|
+
* @example data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29748
|
+
*/
|
|
29749
|
+
connected_account_id: string;
|
|
29586
29750
|
};
|
|
29587
29751
|
};
|
|
29588
29752
|
};
|
|
@@ -29820,10 +29984,130 @@ export interface operations {
|
|
|
29820
29984
|
*/
|
|
29821
29985
|
organization_id?: string;
|
|
29822
29986
|
/**
|
|
29823
|
-
* @description
|
|
29987
|
+
* @description Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization.
|
|
29988
|
+
* @example user
|
|
29989
|
+
* @enum {string}
|
|
29990
|
+
*/
|
|
29991
|
+
connection_owner?: "user" | "organization";
|
|
29992
|
+
/**
|
|
29993
|
+
* @description The OAuth client ID to store for this integration.
|
|
29994
|
+
* @example 3MVG9...
|
|
29995
|
+
*/
|
|
29996
|
+
client_id: string;
|
|
29997
|
+
/**
|
|
29998
|
+
* @description The OAuth client secret to store for this integration.
|
|
29999
|
+
* @example shhh-secret
|
|
30000
|
+
*/
|
|
30001
|
+
client_secret: string;
|
|
30002
|
+
/**
|
|
30003
|
+
* @description Provider-specific configuration values collected for this installation, keyed by the provider's config field descriptors.
|
|
30004
|
+
* @example {
|
|
30005
|
+
* "salesforce_host": "acme.my.salesforce.com"
|
|
30006
|
+
* }
|
|
30007
|
+
*/
|
|
30008
|
+
config?: {
|
|
30009
|
+
[key: string]: string;
|
|
30010
|
+
};
|
|
30011
|
+
} | {
|
|
30012
|
+
/**
|
|
30013
|
+
* @description A [User](/reference/authkit/user) identifier.
|
|
30014
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
30015
|
+
*/
|
|
30016
|
+
user_id: string;
|
|
30017
|
+
/**
|
|
30018
|
+
* @description An [Organization](/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`.
|
|
30019
|
+
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
30020
|
+
*/
|
|
30021
|
+
organization_id?: string;
|
|
30022
|
+
/**
|
|
30023
|
+
* @description Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization.
|
|
30024
|
+
* @example user
|
|
30025
|
+
* @enum {string}
|
|
30026
|
+
*/
|
|
30027
|
+
connection_owner?: "user" | "organization";
|
|
30028
|
+
/**
|
|
30029
|
+
* @description The OAuth client ID to store for this integration.
|
|
30030
|
+
* @example 3MVG9...
|
|
30031
|
+
*/
|
|
30032
|
+
client_id: string;
|
|
30033
|
+
/**
|
|
30034
|
+
* @description The OAuth client secret to store for this integration.
|
|
30035
|
+
* @example shhh-secret
|
|
30036
|
+
*/
|
|
30037
|
+
client_secret: string;
|
|
30038
|
+
/**
|
|
30039
|
+
* @description Provider-specific configuration values collected for this installation, keyed by the provider's config field descriptors.
|
|
30040
|
+
* @example {
|
|
30041
|
+
* "salesforce_host": "acme.my.salesforce.com"
|
|
30042
|
+
* }
|
|
30043
|
+
*/
|
|
30044
|
+
config?: {
|
|
30045
|
+
[key: string]: string;
|
|
30046
|
+
};
|
|
30047
|
+
/**
|
|
30048
|
+
* @description Create another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard.
|
|
30049
|
+
* @example add
|
|
30050
|
+
* @constant
|
|
30051
|
+
*/
|
|
30052
|
+
connection_intent: "add";
|
|
30053
|
+
} | {
|
|
30054
|
+
/**
|
|
30055
|
+
* @description A [User](/reference/authkit/user) identifier.
|
|
30056
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
30057
|
+
*/
|
|
30058
|
+
user_id: string;
|
|
30059
|
+
/**
|
|
30060
|
+
* @description An [Organization](/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`.
|
|
30061
|
+
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
30062
|
+
*/
|
|
30063
|
+
organization_id?: string;
|
|
30064
|
+
/**
|
|
30065
|
+
* @description Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization.
|
|
30066
|
+
* @example user
|
|
30067
|
+
* @enum {string}
|
|
30068
|
+
*/
|
|
30069
|
+
connection_owner?: "user" | "organization";
|
|
30070
|
+
/**
|
|
30071
|
+
* @description The OAuth client ID to store for this integration.
|
|
30072
|
+
* @example 3MVG9...
|
|
30073
|
+
*/
|
|
30074
|
+
client_id: string;
|
|
30075
|
+
/**
|
|
30076
|
+
* @description The OAuth client secret to store for this integration.
|
|
30077
|
+
* @example shhh-secret
|
|
30078
|
+
*/
|
|
30079
|
+
client_secret: string;
|
|
30080
|
+
/**
|
|
30081
|
+
* @description Provider-specific configuration values collected for this installation, keyed by the provider's config field descriptors.
|
|
30082
|
+
* @example {
|
|
30083
|
+
* "salesforce_host": "acme.my.salesforce.com"
|
|
30084
|
+
* }
|
|
30085
|
+
*/
|
|
30086
|
+
config?: {
|
|
30087
|
+
[key: string]: string;
|
|
30088
|
+
};
|
|
30089
|
+
/**
|
|
30090
|
+
* @description Reauthorize exactly the connection named by `connected_account_id`.
|
|
30091
|
+
* @example reauthorize
|
|
30092
|
+
* @constant
|
|
30093
|
+
*/
|
|
30094
|
+
connection_intent: "reauthorize";
|
|
30095
|
+
/**
|
|
30096
|
+
* @description The exact connected account to reauthorize. Required with `connection_intent: reauthorize`.
|
|
29824
30097
|
* @example data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29825
30098
|
*/
|
|
29826
|
-
connected_account_id
|
|
30099
|
+
connected_account_id: string;
|
|
30100
|
+
} | {
|
|
30101
|
+
/**
|
|
30102
|
+
* @description A [User](/reference/authkit/user) identifier.
|
|
30103
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
30104
|
+
*/
|
|
30105
|
+
user_id: string;
|
|
30106
|
+
/**
|
|
30107
|
+
* @description An [Organization](/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`.
|
|
30108
|
+
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
30109
|
+
*/
|
|
30110
|
+
organization_id?: string;
|
|
29827
30111
|
/**
|
|
29828
30112
|
* @description Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization.
|
|
29829
30113
|
* @example user
|
|
@@ -29849,6 +30133,11 @@ export interface operations {
|
|
|
29849
30133
|
config?: {
|
|
29850
30134
|
[key: string]: string;
|
|
29851
30135
|
};
|
|
30136
|
+
/**
|
|
30137
|
+
* @description The exact connected account to reauthorize. The reauthorize intent may be omitted for compatibility.
|
|
30138
|
+
* @example data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
30139
|
+
*/
|
|
30140
|
+
connected_account_id: string;
|
|
29852
30141
|
};
|
|
29853
30142
|
};
|
|
29854
30143
|
};
|
|
@@ -33342,10 +33631,12 @@ export interface operations {
|
|
|
33342
33631
|
DataIntegrationsOrganizationController_updateOrganizationDataInstallation: {
|
|
33343
33632
|
parameters: {
|
|
33344
33633
|
query?: {
|
|
33345
|
-
/** @description
|
|
33634
|
+
/** @description Accepted for compatibility; does not change update targeting. Omit intent and selector to update the compatibility connection, or supply `connected_account_id` to update an exact connection. */
|
|
33346
33635
|
supports_multiple_connections?: boolean;
|
|
33347
33636
|
/** @description A [connected account](/reference/pipes/connected-account) identifier. Use this to select the connection to update. */
|
|
33348
33637
|
connected_account_id?: string;
|
|
33638
|
+
/** @description Set to `reauthorize` with `connected_account_id` to update one exact connection. The intent may be omitted when supplying an ID. Omit both for permanent compatibility behavior. */
|
|
33639
|
+
connection_intent?: "reauthorize";
|
|
33349
33640
|
};
|
|
33350
33641
|
header?: never;
|
|
33351
33642
|
path: {
|
|
@@ -33507,7 +33798,7 @@ export interface operations {
|
|
|
33507
33798
|
};
|
|
33508
33799
|
requestBody: {
|
|
33509
33800
|
content: {
|
|
33510
|
-
"application/json": components["schemas"]["
|
|
33801
|
+
"application/json": components["schemas"]["CreateOrganizationConnectedAccountDto"];
|
|
33511
33802
|
};
|
|
33512
33803
|
};
|
|
33513
33804
|
responses: {
|
|
@@ -33582,7 +33873,7 @@ export interface operations {
|
|
|
33582
33873
|
};
|
|
33583
33874
|
};
|
|
33584
33875
|
};
|
|
33585
|
-
/** @description
|
|
33876
|
+
/** @description The compatibility connection already exists for this organization and integration. */
|
|
33586
33877
|
409: {
|
|
33587
33878
|
headers: {
|
|
33588
33879
|
[name: string]: unknown;
|
|
@@ -33643,6 +33934,27 @@ export interface operations {
|
|
|
33643
33934
|
};
|
|
33644
33935
|
};
|
|
33645
33936
|
};
|
|
33937
|
+
/** @description Another connection is being created for this owner and provider. Retry the request. */
|
|
33938
|
+
503: {
|
|
33939
|
+
headers: {
|
|
33940
|
+
[name: string]: unknown;
|
|
33941
|
+
};
|
|
33942
|
+
content: {
|
|
33943
|
+
"application/json": {
|
|
33944
|
+
/**
|
|
33945
|
+
* @description The error code identifying the type of error.
|
|
33946
|
+
* @example concurrent_request
|
|
33947
|
+
* @constant
|
|
33948
|
+
*/
|
|
33949
|
+
code: "concurrent_request";
|
|
33950
|
+
/**
|
|
33951
|
+
* @description A human-readable description of the error.
|
|
33952
|
+
* @example Request could not be processed.
|
|
33953
|
+
*/
|
|
33954
|
+
message: string;
|
|
33955
|
+
};
|
|
33956
|
+
};
|
|
33957
|
+
};
|
|
33646
33958
|
};
|
|
33647
33959
|
};
|
|
33648
33960
|
DataIntegrationsOrganizationController_deleteOrganizationDataInstallation: {
|
|
@@ -40889,10 +41201,12 @@ export interface operations {
|
|
|
40889
41201
|
query?: {
|
|
40890
41202
|
/** @description An [Organization](/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
|
|
40891
41203
|
organization_id?: string;
|
|
40892
|
-
/** @description
|
|
41204
|
+
/** @description Accepted for compatibility; does not change update targeting. Omit intent and selector to update the compatibility connection, or supply `connected_account_id` to update an exact connection. */
|
|
40893
41205
|
supports_multiple_connections?: boolean;
|
|
40894
41206
|
/** @description A [connected account](/reference/pipes/connected-account) identifier. Use this to select the connection to update. */
|
|
40895
41207
|
connected_account_id?: string;
|
|
41208
|
+
/** @description Set to `reauthorize` with `connected_account_id` to update one exact connection. The intent may be omitted when supplying an ID. Omit both for permanent compatibility behavior. */
|
|
41209
|
+
connection_intent?: "reauthorize";
|
|
40896
41210
|
};
|
|
40897
41211
|
header?: never;
|
|
40898
41212
|
path: {
|
|
@@ -41050,7 +41364,7 @@ export interface operations {
|
|
|
41050
41364
|
};
|
|
41051
41365
|
requestBody: {
|
|
41052
41366
|
content: {
|
|
41053
|
-
"application/json": components["schemas"]["
|
|
41367
|
+
"application/json": components["schemas"]["CreateConnectedAccountDto"];
|
|
41054
41368
|
};
|
|
41055
41369
|
};
|
|
41056
41370
|
responses: {
|
|
@@ -41146,7 +41460,7 @@ export interface operations {
|
|
|
41146
41460
|
};
|
|
41147
41461
|
};
|
|
41148
41462
|
};
|
|
41149
|
-
/** @description
|
|
41463
|
+
/** @description Another connection is being created for this owner and provider, or the WorkOS OAuth grant behind `refresh_token` is being changed. Retry the request. */
|
|
41150
41464
|
503: {
|
|
41151
41465
|
headers: {
|
|
41152
41466
|
[name: string]: unknown;
|