@workos/openapi-spec 0.155.0 → 0.157.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 +422 -254
- package/dist/types.d.ts +89 -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
|
|
@@ -12662,6 +12704,11 @@ export interface components {
|
|
|
12662
12704
|
* @example The MFA challenge has failed.
|
|
12663
12705
|
*/
|
|
12664
12706
|
message: string;
|
|
12707
|
+
/**
|
|
12708
|
+
* @description The ID of the Radar detection that blocked the authentication. Only set on `policy_denied` errors.
|
|
12709
|
+
* @example detection_01HZBC6N1EB1ZY7KG32X
|
|
12710
|
+
*/
|
|
12711
|
+
radar_detection_id?: string;
|
|
12665
12712
|
};
|
|
12666
12713
|
};
|
|
12667
12714
|
/**
|
|
@@ -12769,6 +12816,11 @@ export interface components {
|
|
|
12769
12816
|
* @example The MFA challenge has failed.
|
|
12770
12817
|
*/
|
|
12771
12818
|
message: string;
|
|
12819
|
+
/**
|
|
12820
|
+
* @description The ID of the Radar detection that blocked the authentication. Only set on `policy_denied` errors.
|
|
12821
|
+
* @example detection_01HZBC6N1EB1ZY7KG32X
|
|
12822
|
+
*/
|
|
12823
|
+
radar_detection_id?: string;
|
|
12772
12824
|
};
|
|
12773
12825
|
};
|
|
12774
12826
|
/**
|
|
@@ -12876,6 +12928,11 @@ export interface components {
|
|
|
12876
12928
|
* @example The MFA challenge has failed.
|
|
12877
12929
|
*/
|
|
12878
12930
|
message: string;
|
|
12931
|
+
/**
|
|
12932
|
+
* @description The ID of the Radar detection that blocked the authentication. Only set on `policy_denied` errors.
|
|
12933
|
+
* @example detection_01HZBC6N1EB1ZY7KG32X
|
|
12934
|
+
*/
|
|
12935
|
+
radar_detection_id?: string;
|
|
12879
12936
|
};
|
|
12880
12937
|
};
|
|
12881
12938
|
/**
|
|
@@ -12983,6 +13040,11 @@ export interface components {
|
|
|
12983
13040
|
* @example The MFA challenge has failed.
|
|
12984
13041
|
*/
|
|
12985
13042
|
message: string;
|
|
13043
|
+
/**
|
|
13044
|
+
* @description The ID of the Radar detection that blocked the authentication. Only set on `policy_denied` errors.
|
|
13045
|
+
* @example detection_01HZBC6N1EB1ZY7KG32X
|
|
13046
|
+
*/
|
|
13047
|
+
radar_detection_id?: string;
|
|
12986
13048
|
};
|
|
12987
13049
|
/**
|
|
12988
13050
|
* @description The OAuth provider used for authentication.
|
|
@@ -13100,6 +13162,11 @@ export interface components {
|
|
|
13100
13162
|
* @example The MFA challenge has failed.
|
|
13101
13163
|
*/
|
|
13102
13164
|
message: string;
|
|
13165
|
+
/**
|
|
13166
|
+
* @description The ID of the Radar detection that blocked the authentication. Only set on `policy_denied` errors.
|
|
13167
|
+
* @example detection_01HZBC6N1EB1ZY7KG32X
|
|
13168
|
+
*/
|
|
13169
|
+
radar_detection_id?: string;
|
|
13103
13170
|
};
|
|
13104
13171
|
};
|
|
13105
13172
|
/**
|
|
@@ -13207,6 +13274,11 @@ export interface components {
|
|
|
13207
13274
|
* @example The MFA challenge has failed.
|
|
13208
13275
|
*/
|
|
13209
13276
|
message: string;
|
|
13277
|
+
/**
|
|
13278
|
+
* @description The ID of the Radar detection that blocked the authentication. Only set on `policy_denied` errors.
|
|
13279
|
+
* @example detection_01HZBC6N1EB1ZY7KG32X
|
|
13280
|
+
*/
|
|
13281
|
+
radar_detection_id?: string;
|
|
13210
13282
|
};
|
|
13211
13283
|
};
|
|
13212
13284
|
/**
|
|
@@ -13315,6 +13387,11 @@ export interface components {
|
|
|
13315
13387
|
* @example user@example.com
|
|
13316
13388
|
*/
|
|
13317
13389
|
email: string;
|
|
13390
|
+
/**
|
|
13391
|
+
* @description The ID of the Radar detection that challenged the authentication.
|
|
13392
|
+
* @example detection_01HZBC6N1EB1ZY7KG32X
|
|
13393
|
+
*/
|
|
13394
|
+
radar_detection_id?: string;
|
|
13318
13395
|
};
|
|
13319
13396
|
/**
|
|
13320
13397
|
* Format: date-time
|
|
@@ -13439,6 +13516,11 @@ export interface components {
|
|
|
13439
13516
|
* @example The MFA challenge has failed.
|
|
13440
13517
|
*/
|
|
13441
13518
|
message: string;
|
|
13519
|
+
/**
|
|
13520
|
+
* @description The ID of the Radar detection that blocked the authentication. Only set on `policy_denied` errors.
|
|
13521
|
+
* @example detection_01HZBC6N1EB1ZY7KG32X
|
|
13522
|
+
*/
|
|
13523
|
+
radar_detection_id?: string;
|
|
13442
13524
|
};
|
|
13443
13525
|
};
|
|
13444
13526
|
/**
|
|
@@ -13647,6 +13729,11 @@ export interface components {
|
|
|
13647
13729
|
* @example The MFA challenge has failed.
|
|
13648
13730
|
*/
|
|
13649
13731
|
message: string;
|
|
13732
|
+
/**
|
|
13733
|
+
* @description The ID of the Radar detection that blocked the authentication. Only set on `policy_denied` errors.
|
|
13734
|
+
* @example detection_01HZBC6N1EB1ZY7KG32X
|
|
13735
|
+
*/
|
|
13736
|
+
radar_detection_id?: string;
|
|
13650
13737
|
};
|
|
13651
13738
|
};
|
|
13652
13739
|
/**
|