@workos/openapi-spec 0.85.0 → 0.86.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 +44 -58
- package/dist/types.d.ts +32 -51
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -10617,6 +10617,14 @@ paths:
|
|
|
10617
10617
|
Optional parameter to scope the connection to a specific
|
|
10618
10618
|
organization.
|
|
10619
10619
|
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
10620
|
+
connected_account_id:
|
|
10621
|
+
type: string
|
|
10622
|
+
pattern: ^data_installation_.+$
|
|
10623
|
+
description: >-
|
|
10624
|
+
A [connected account](/reference/pipes/connected-account)
|
|
10625
|
+
identifier. Use this to rotate a specific existing
|
|
10626
|
+
connection.
|
|
10627
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
10620
10628
|
secret:
|
|
10621
10629
|
type: string
|
|
10622
10630
|
minLength: 1
|
|
@@ -10672,7 +10680,7 @@ paths:
|
|
|
10672
10680
|
required:
|
|
10673
10681
|
- message
|
|
10674
10682
|
'404':
|
|
10675
|
-
description:
|
|
10683
|
+
description: The data integration or selected connected account was not found.
|
|
10676
10684
|
content:
|
|
10677
10685
|
application/json:
|
|
10678
10686
|
schema:
|
|
@@ -10691,14 +10699,7 @@ paths:
|
|
|
10691
10699
|
content:
|
|
10692
10700
|
application/json:
|
|
10693
10701
|
schema:
|
|
10694
|
-
|
|
10695
|
-
properties:
|
|
10696
|
-
message:
|
|
10697
|
-
type: string
|
|
10698
|
-
description: A human-readable description of the error.
|
|
10699
|
-
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
10700
|
-
required:
|
|
10701
|
-
- message
|
|
10702
|
+
$ref: '#/components/schemas/AccountSelectionRequiredError'
|
|
10702
10703
|
'422':
|
|
10703
10704
|
description: >-
|
|
10704
10705
|
The matched installation uses a different auth method than this
|
|
@@ -10847,6 +10848,14 @@ paths:
|
|
|
10847
10848
|
Optional parameter to scope the connection to a specific
|
|
10848
10849
|
organization.
|
|
10849
10850
|
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
10851
|
+
connected_account_id:
|
|
10852
|
+
type: string
|
|
10853
|
+
pattern: ^data_installation_.+$
|
|
10854
|
+
description: >-
|
|
10855
|
+
A [connected account](/reference/pipes/connected-account)
|
|
10856
|
+
identifier. Use this to rotate a specific existing
|
|
10857
|
+
connection.
|
|
10858
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
10850
10859
|
client_id:
|
|
10851
10860
|
type: string
|
|
10852
10861
|
minLength: 1
|
|
@@ -10917,7 +10926,7 @@ paths:
|
|
|
10917
10926
|
required:
|
|
10918
10927
|
- message
|
|
10919
10928
|
'404':
|
|
10920
|
-
description:
|
|
10929
|
+
description: The data integration or selected connected account was not found.
|
|
10921
10930
|
content:
|
|
10922
10931
|
application/json:
|
|
10923
10932
|
schema:
|
|
@@ -10936,14 +10945,7 @@ paths:
|
|
|
10936
10945
|
content:
|
|
10937
10946
|
application/json:
|
|
10938
10947
|
schema:
|
|
10939
|
-
|
|
10940
|
-
properties:
|
|
10941
|
-
message:
|
|
10942
|
-
type: string
|
|
10943
|
-
description: A human-readable description of the error.
|
|
10944
|
-
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
10945
|
-
required:
|
|
10946
|
-
- message
|
|
10948
|
+
$ref: '#/components/schemas/AccountSelectionRequiredError'
|
|
10947
10949
|
'422':
|
|
10948
10950
|
description: >-
|
|
10949
10951
|
The matched installation uses a different auth method than this
|
|
@@ -11082,14 +11084,7 @@ paths:
|
|
|
11082
11084
|
content:
|
|
11083
11085
|
application/json:
|
|
11084
11086
|
schema:
|
|
11085
|
-
|
|
11086
|
-
properties:
|
|
11087
|
-
message:
|
|
11088
|
-
type: string
|
|
11089
|
-
description: A human-readable description of the error.
|
|
11090
|
-
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
11091
|
-
required:
|
|
11092
|
-
- message
|
|
11087
|
+
$ref: '#/components/schemas/AccountSelectionRequiredError'
|
|
11093
11088
|
'422':
|
|
11094
11089
|
description: >-
|
|
11095
11090
|
The installation uses an auth method that is not yet supported by
|
|
@@ -11224,14 +11219,7 @@ paths:
|
|
|
11224
11219
|
content:
|
|
11225
11220
|
application/json:
|
|
11226
11221
|
schema:
|
|
11227
|
-
|
|
11228
|
-
properties:
|
|
11229
|
-
message:
|
|
11230
|
-
type: string
|
|
11231
|
-
description: A human-readable description of the error.
|
|
11232
|
-
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
11233
|
-
required:
|
|
11234
|
-
- message
|
|
11222
|
+
$ref: '#/components/schemas/AccountSelectionRequiredError'
|
|
11235
11223
|
'422':
|
|
11236
11224
|
description: >-
|
|
11237
11225
|
The matched installation uses a different auth method than this
|
|
@@ -22291,14 +22279,7 @@ paths:
|
|
|
22291
22279
|
content:
|
|
22292
22280
|
application/json:
|
|
22293
22281
|
schema:
|
|
22294
|
-
|
|
22295
|
-
properties:
|
|
22296
|
-
message:
|
|
22297
|
-
type: string
|
|
22298
|
-
description: A human-readable description of the error.
|
|
22299
|
-
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
22300
|
-
required:
|
|
22301
|
-
- message
|
|
22282
|
+
$ref: '#/components/schemas/AccountSelectionRequiredError'
|
|
22302
22283
|
summary: Get a connected account
|
|
22303
22284
|
tags:
|
|
22304
22285
|
- user-management.data-providers
|
|
@@ -22382,14 +22363,7 @@ paths:
|
|
|
22382
22363
|
content:
|
|
22383
22364
|
application/json:
|
|
22384
22365
|
schema:
|
|
22385
|
-
|
|
22386
|
-
properties:
|
|
22387
|
-
message:
|
|
22388
|
-
type: string
|
|
22389
|
-
description: A human-readable description of the error.
|
|
22390
|
-
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
22391
|
-
required:
|
|
22392
|
-
- message
|
|
22366
|
+
$ref: '#/components/schemas/AccountSelectionRequiredError'
|
|
22393
22367
|
summary: Delete a connected account
|
|
22394
22368
|
tags:
|
|
22395
22369
|
- user-management.data-providers
|
|
@@ -22576,14 +22550,7 @@ paths:
|
|
|
22576
22550
|
content:
|
|
22577
22551
|
application/json:
|
|
22578
22552
|
schema:
|
|
22579
|
-
|
|
22580
|
-
properties:
|
|
22581
|
-
message:
|
|
22582
|
-
type: string
|
|
22583
|
-
description: A human-readable description of the error.
|
|
22584
|
-
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
22585
|
-
required:
|
|
22586
|
-
- message
|
|
22553
|
+
$ref: '#/components/schemas/AccountSelectionRequiredError'
|
|
22587
22554
|
summary: Update a connected account
|
|
22588
22555
|
tags:
|
|
22589
22556
|
- user-management.data-providers
|
|
@@ -42847,6 +42814,25 @@ components:
|
|
|
42847
42814
|
required:
|
|
42848
42815
|
- active
|
|
42849
42816
|
- error
|
|
42817
|
+
AccountSelectionRequiredError:
|
|
42818
|
+
type: object
|
|
42819
|
+
properties:
|
|
42820
|
+
code:
|
|
42821
|
+
type: string
|
|
42822
|
+
description: >-
|
|
42823
|
+
Indicates that several connected accounts match and the request must
|
|
42824
|
+
name one.
|
|
42825
|
+
example: account_selection_required
|
|
42826
|
+
const: account_selection_required
|
|
42827
|
+
message:
|
|
42828
|
+
type: string
|
|
42829
|
+
description: A human-readable explanation of the ambiguity.
|
|
42830
|
+
example: >-
|
|
42831
|
+
Several connected accounts match this user for this provider. Name
|
|
42832
|
+
one with a connected account id.
|
|
42833
|
+
required:
|
|
42834
|
+
- code
|
|
42835
|
+
- message
|
|
42850
42836
|
AuthMethodMismatchError:
|
|
42851
42837
|
type: object
|
|
42852
42838
|
properties:
|
package/dist/types.d.ts
CHANGED
|
@@ -17580,6 +17580,19 @@ export interface components {
|
|
|
17580
17580
|
*/
|
|
17581
17581
|
error: "needs_reauthorization" | "not_installed";
|
|
17582
17582
|
};
|
|
17583
|
+
AccountSelectionRequiredError: {
|
|
17584
|
+
/**
|
|
17585
|
+
* @description Indicates that several connected accounts match and the request must name one.
|
|
17586
|
+
* @example account_selection_required
|
|
17587
|
+
* @constant
|
|
17588
|
+
*/
|
|
17589
|
+
code: "account_selection_required";
|
|
17590
|
+
/**
|
|
17591
|
+
* @description A human-readable explanation of the ambiguity.
|
|
17592
|
+
* @example Several connected accounts match this user for this provider. Name one with a connected account id.
|
|
17593
|
+
*/
|
|
17594
|
+
message: string;
|
|
17595
|
+
};
|
|
17583
17596
|
AuthMethodMismatchError: {
|
|
17584
17597
|
/**
|
|
17585
17598
|
* @description Error code indicating the endpoint does not match the installation auth method.
|
|
@@ -28826,6 +28839,11 @@ export interface operations {
|
|
|
28826
28839
|
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
28827
28840
|
*/
|
|
28828
28841
|
organization_id?: string;
|
|
28842
|
+
/**
|
|
28843
|
+
* @description A [connected account](/reference/pipes/connected-account) identifier. Use this to rotate a specific existing connection.
|
|
28844
|
+
* @example data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
28845
|
+
*/
|
|
28846
|
+
connected_account_id?: string;
|
|
28829
28847
|
/**
|
|
28830
28848
|
* @description The API key secret to store for this integration.
|
|
28831
28849
|
* @example sk-1234567890abcdef
|
|
@@ -28895,7 +28913,7 @@ export interface operations {
|
|
|
28895
28913
|
};
|
|
28896
28914
|
};
|
|
28897
28915
|
};
|
|
28898
|
-
/** @description
|
|
28916
|
+
/** @description The data integration or selected connected account was not found. */
|
|
28899
28917
|
404: {
|
|
28900
28918
|
headers: {
|
|
28901
28919
|
[name: string]: unknown;
|
|
@@ -28916,13 +28934,7 @@ export interface operations {
|
|
|
28916
28934
|
[name: string]: unknown;
|
|
28917
28935
|
};
|
|
28918
28936
|
content: {
|
|
28919
|
-
"application/json":
|
|
28920
|
-
/**
|
|
28921
|
-
* @description A human-readable description of the error.
|
|
28922
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
28923
|
-
*/
|
|
28924
|
-
message: string;
|
|
28925
|
-
};
|
|
28937
|
+
"application/json": components["schemas"]["AccountSelectionRequiredError"];
|
|
28926
28938
|
};
|
|
28927
28939
|
};
|
|
28928
28940
|
/** @description The matched installation uses a different auth method than this endpoint expects. */
|
|
@@ -29064,6 +29076,11 @@ export interface operations {
|
|
|
29064
29076
|
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29065
29077
|
*/
|
|
29066
29078
|
organization_id?: string;
|
|
29079
|
+
/**
|
|
29080
|
+
* @description A [connected account](/reference/pipes/connected-account) identifier. Use this to rotate a specific existing connection.
|
|
29081
|
+
* @example data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29082
|
+
*/
|
|
29083
|
+
connected_account_id?: string;
|
|
29067
29084
|
/**
|
|
29068
29085
|
* @description The OAuth client ID to store for this integration.
|
|
29069
29086
|
* @example 3MVG9...
|
|
@@ -29146,7 +29163,7 @@ export interface operations {
|
|
|
29146
29163
|
};
|
|
29147
29164
|
};
|
|
29148
29165
|
};
|
|
29149
|
-
/** @description
|
|
29166
|
+
/** @description The data integration or selected connected account was not found. */
|
|
29150
29167
|
404: {
|
|
29151
29168
|
headers: {
|
|
29152
29169
|
[name: string]: unknown;
|
|
@@ -29167,13 +29184,7 @@ export interface operations {
|
|
|
29167
29184
|
[name: string]: unknown;
|
|
29168
29185
|
};
|
|
29169
29186
|
content: {
|
|
29170
|
-
"application/json":
|
|
29171
|
-
/**
|
|
29172
|
-
* @description A human-readable description of the error.
|
|
29173
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
29174
|
-
*/
|
|
29175
|
-
message: string;
|
|
29176
|
-
};
|
|
29187
|
+
"application/json": components["schemas"]["AccountSelectionRequiredError"];
|
|
29177
29188
|
};
|
|
29178
29189
|
};
|
|
29179
29190
|
/** @description The matched installation uses a different auth method than this endpoint expects. */
|
|
@@ -29308,13 +29319,7 @@ export interface operations {
|
|
|
29308
29319
|
[name: string]: unknown;
|
|
29309
29320
|
};
|
|
29310
29321
|
content: {
|
|
29311
|
-
"application/json":
|
|
29312
|
-
/**
|
|
29313
|
-
* @description A human-readable description of the error.
|
|
29314
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
29315
|
-
*/
|
|
29316
|
-
message: string;
|
|
29317
|
-
};
|
|
29322
|
+
"application/json": components["schemas"]["AccountSelectionRequiredError"];
|
|
29318
29323
|
};
|
|
29319
29324
|
};
|
|
29320
29325
|
/** @description The installation uses an auth method that is not yet supported by this endpoint. */
|
|
@@ -29439,13 +29444,7 @@ export interface operations {
|
|
|
29439
29444
|
[name: string]: unknown;
|
|
29440
29445
|
};
|
|
29441
29446
|
content: {
|
|
29442
|
-
"application/json":
|
|
29443
|
-
/**
|
|
29444
|
-
* @description A human-readable description of the error.
|
|
29445
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
29446
|
-
*/
|
|
29447
|
-
message: string;
|
|
29448
|
-
};
|
|
29447
|
+
"application/json": components["schemas"]["AccountSelectionRequiredError"];
|
|
29449
29448
|
};
|
|
29450
29449
|
};
|
|
29451
29450
|
/** @description The matched installation uses a different auth method than this endpoint expects. */
|
|
@@ -38975,13 +38974,7 @@ export interface operations {
|
|
|
38975
38974
|
[name: string]: unknown;
|
|
38976
38975
|
};
|
|
38977
38976
|
content: {
|
|
38978
|
-
"application/json":
|
|
38979
|
-
/**
|
|
38980
|
-
* @description A human-readable description of the error.
|
|
38981
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
38982
|
-
*/
|
|
38983
|
-
message: string;
|
|
38984
|
-
};
|
|
38977
|
+
"application/json": components["schemas"]["AccountSelectionRequiredError"];
|
|
38985
38978
|
};
|
|
38986
38979
|
};
|
|
38987
38980
|
};
|
|
@@ -39061,13 +39054,7 @@ export interface operations {
|
|
|
39061
39054
|
[name: string]: unknown;
|
|
39062
39055
|
};
|
|
39063
39056
|
content: {
|
|
39064
|
-
"application/json":
|
|
39065
|
-
/**
|
|
39066
|
-
* @description A human-readable description of the error.
|
|
39067
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
39068
|
-
*/
|
|
39069
|
-
message: string;
|
|
39070
|
-
};
|
|
39057
|
+
"application/json": components["schemas"]["AccountSelectionRequiredError"];
|
|
39071
39058
|
};
|
|
39072
39059
|
};
|
|
39073
39060
|
};
|
|
@@ -39225,13 +39212,7 @@ export interface operations {
|
|
|
39225
39212
|
[name: string]: unknown;
|
|
39226
39213
|
};
|
|
39227
39214
|
content: {
|
|
39228
|
-
"application/json":
|
|
39229
|
-
/**
|
|
39230
|
-
* @description A human-readable description of the error.
|
|
39231
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
39232
|
-
*/
|
|
39233
|
-
message: string;
|
|
39234
|
-
};
|
|
39215
|
+
"application/json": components["schemas"]["AccountSelectionRequiredError"];
|
|
39235
39216
|
};
|
|
39236
39217
|
};
|
|
39237
39218
|
};
|