@workos/openapi-spec 0.155.0 → 0.156.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 +368 -254
- package/dist/types.d.ts +44 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -2305,7 +2305,7 @@ export interface paths {
|
|
|
2305
2305
|
get: operations["DataIntegrationsOrganizationController_getOrganizationDataInstallation"];
|
|
2306
2306
|
/**
|
|
2307
2307
|
* Update an organization connected account
|
|
2308
|
-
* @description Updates an organization's [connected account](/reference/pipes/connected-account) tokens, scopes, or
|
|
2308
|
+
* @description Updates an organization's [connected account](/reference/pipes/connected-account) tokens, scopes, state, or provider configuration for a specific provider.
|
|
2309
2309
|
*/
|
|
2310
2310
|
put: operations["DataIntegrationsOrganizationController_updateOrganizationDataInstallation"];
|
|
2311
2311
|
/**
|
|
@@ -3627,7 +3627,7 @@ export interface paths {
|
|
|
3627
3627
|
get: operations["DataIntegrationsUserManagementController_getUserDataInstallation"];
|
|
3628
3628
|
/**
|
|
3629
3629
|
* Update a connected account
|
|
3630
|
-
* @description Updates a user's [connected account](/reference/pipes/connected-account) tokens, scopes, or
|
|
3630
|
+
* @description Updates a user's [connected account](/reference/pipes/connected-account) tokens, scopes, state, or provider configuration for a specific provider.
|
|
3631
3631
|
*/
|
|
3632
3632
|
put: operations["DataIntegrationsUserManagementController_updateUserDataInstallation"];
|
|
3633
3633
|
/**
|
|
@@ -5694,6 +5694,13 @@ export interface components {
|
|
|
5694
5694
|
* @example workspace_123
|
|
5695
5695
|
*/
|
|
5696
5696
|
account_identifier?: string | null;
|
|
5697
|
+
/**
|
|
5698
|
+
* @description Installation-scoped provider configuration for this connection, such as Salesforce salesforce_host. Imports apply supplied values over installation-scoped integration pins and inherit other config from the credential source. Credential-bearing imports must satisfy required configuration even when config is omitted or {}. On update, a supplied object replaces installation-scoped values; omitted config preserves the stored snapshot. Stored integration-scoped values remain bound to the OAuth client and cannot be overridden or replaced with current integration pins. Replacements must satisfy required configuration; {} and empty-string values clear installation-scoped values only when the result is valid. Provider defaults count toward completeness but are resolved at read time, not stored. Only tokenless needs_reauthorization placeholders may remain incomplete; attaching their first tokens validates configuration even when config is omitted. Unrelated updates do not revalidate unchanged configuration. Clearing salesforce_host falls back to login.salesforce.com, which may not work for sandbox or My Domain-only connections.
|
|
5699
|
+
* @example {}
|
|
5700
|
+
*/
|
|
5701
|
+
config?: {
|
|
5702
|
+
[key: string]: string;
|
|
5703
|
+
};
|
|
5697
5704
|
/**
|
|
5698
5705
|
* @description The OAuth access token for the connected account.
|
|
5699
5706
|
* @example gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
@@ -5729,6 +5736,13 @@ export interface components {
|
|
|
5729
5736
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
5730
5737
|
*/
|
|
5731
5738
|
user_id: string;
|
|
5739
|
+
/**
|
|
5740
|
+
* @description Provider token-response metadata to preserve during import, such as Salesforce instance_url. Only allowlisted, non-sensitive scalar fields from this provider are accepted, including nested fields. Provider refresh responses can update these values. Not accepted on update.
|
|
5741
|
+
* @example {}
|
|
5742
|
+
*/
|
|
5743
|
+
metadata?: {
|
|
5744
|
+
[key: string]: unknown;
|
|
5745
|
+
};
|
|
5732
5746
|
/**
|
|
5733
5747
|
* @description Set to `add` to create another connected account. Omit this field for permanent compatibility behavior.
|
|
5734
5748
|
* @example add
|
|
@@ -5747,6 +5761,13 @@ export interface components {
|
|
|
5747
5761
|
* @example workspace_123
|
|
5748
5762
|
*/
|
|
5749
5763
|
account_identifier?: string | null;
|
|
5764
|
+
/**
|
|
5765
|
+
* @description Installation-scoped provider configuration for this connection, such as Salesforce salesforce_host. Imports apply supplied values over installation-scoped integration pins and inherit other config from the credential source. Credential-bearing imports must satisfy required configuration even when config is omitted or {}. On update, a supplied object replaces installation-scoped values; omitted config preserves the stored snapshot. Stored integration-scoped values remain bound to the OAuth client and cannot be overridden or replaced with current integration pins. Replacements must satisfy required configuration; {} and empty-string values clear installation-scoped values only when the result is valid. Provider defaults count toward completeness but are resolved at read time, not stored. Only tokenless needs_reauthorization placeholders may remain incomplete; attaching their first tokens validates configuration even when config is omitted. Unrelated updates do not revalidate unchanged configuration. Clearing salesforce_host falls back to login.salesforce.com, which may not work for sandbox or My Domain-only connections.
|
|
5766
|
+
* @example {}
|
|
5767
|
+
*/
|
|
5768
|
+
config?: {
|
|
5769
|
+
[key: string]: string;
|
|
5770
|
+
};
|
|
5750
5771
|
/**
|
|
5751
5772
|
* @description The OAuth access token for the connected account.
|
|
5752
5773
|
* @example gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
@@ -5794,6 +5815,13 @@ export interface components {
|
|
|
5794
5815
|
* @example workspace_123
|
|
5795
5816
|
*/
|
|
5796
5817
|
account_identifier?: string | null;
|
|
5818
|
+
/**
|
|
5819
|
+
* @description Installation-scoped provider configuration for this connection, such as Salesforce salesforce_host. Imports apply supplied values over installation-scoped integration pins and inherit other config from the credential source. Credential-bearing imports must satisfy required configuration even when config is omitted or {}. On update, a supplied object replaces installation-scoped values; omitted config preserves the stored snapshot. Stored integration-scoped values remain bound to the OAuth client and cannot be overridden or replaced with current integration pins. Replacements must satisfy required configuration; {} and empty-string values clear installation-scoped values only when the result is valid. Provider defaults count toward completeness but are resolved at read time, not stored. Only tokenless needs_reauthorization placeholders may remain incomplete; attaching their first tokens validates configuration even when config is omitted. Unrelated updates do not revalidate unchanged configuration. Clearing salesforce_host falls back to login.salesforce.com, which may not work for sandbox or My Domain-only connections.
|
|
5820
|
+
* @example {}
|
|
5821
|
+
*/
|
|
5822
|
+
config?: {
|
|
5823
|
+
[key: string]: string;
|
|
5824
|
+
};
|
|
5797
5825
|
/**
|
|
5798
5826
|
* @description The OAuth access token for the connected account.
|
|
5799
5827
|
* @example gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
@@ -5824,6 +5852,13 @@ export interface components {
|
|
|
5824
5852
|
* @enum {string}
|
|
5825
5853
|
*/
|
|
5826
5854
|
state?: "connected" | "needs_reauthorization";
|
|
5855
|
+
/**
|
|
5856
|
+
* @description Provider token-response metadata to preserve during import, such as Salesforce instance_url. Only allowlisted, non-sensitive scalar fields from this provider are accepted, including nested fields. Provider refresh responses can update these values. Not accepted on update.
|
|
5857
|
+
* @example {}
|
|
5858
|
+
*/
|
|
5859
|
+
metadata?: {
|
|
5860
|
+
[key: string]: unknown;
|
|
5861
|
+
};
|
|
5827
5862
|
/**
|
|
5828
5863
|
* @description Set to `add` to create another connected account. Omit this field for permanent compatibility behavior.
|
|
5829
5864
|
* @example add
|
|
@@ -5842,6 +5877,13 @@ export interface components {
|
|
|
5842
5877
|
* @example workspace_123
|
|
5843
5878
|
*/
|
|
5844
5879
|
account_identifier?: string | null;
|
|
5880
|
+
/**
|
|
5881
|
+
* @description Installation-scoped provider configuration for this connection, such as Salesforce salesforce_host. Imports apply supplied values over installation-scoped integration pins and inherit other config from the credential source. Credential-bearing imports must satisfy required configuration even when config is omitted or {}. On update, a supplied object replaces installation-scoped values; omitted config preserves the stored snapshot. Stored integration-scoped values remain bound to the OAuth client and cannot be overridden or replaced with current integration pins. Replacements must satisfy required configuration; {} and empty-string values clear installation-scoped values only when the result is valid. Provider defaults count toward completeness but are resolved at read time, not stored. Only tokenless needs_reauthorization placeholders may remain incomplete; attaching their first tokens validates configuration even when config is omitted. Unrelated updates do not revalidate unchanged configuration. Clearing salesforce_host falls back to login.salesforce.com, which may not work for sandbox or My Domain-only connections.
|
|
5882
|
+
* @example {}
|
|
5883
|
+
*/
|
|
5884
|
+
config?: {
|
|
5885
|
+
[key: string]: string;
|
|
5886
|
+
};
|
|
5845
5887
|
/**
|
|
5846
5888
|
* @description The OAuth access token for the connected account.
|
|
5847
5889
|
* @example gho_16C7e42F292c6912E7710c838347Ae178B4a
|