@workos/openapi-spec 0.82.0 → 0.84.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 +92 -6
- package/dist/types.d.ts +65 -4
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -10984,6 +10984,14 @@ paths:
|
|
|
10984
10984
|
Optional parameter to scope the connection to a specific
|
|
10985
10985
|
organization.
|
|
10986
10986
|
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
10987
|
+
connected_account_id:
|
|
10988
|
+
type: string
|
|
10989
|
+
minLength: 1
|
|
10990
|
+
description: >-
|
|
10991
|
+
A [connected account](/reference/pipes/connected-account)
|
|
10992
|
+
identifier. Use this to select a specific connection when
|
|
10993
|
+
the user has several for this provider.
|
|
10994
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
10987
10995
|
required:
|
|
10988
10996
|
- user_id
|
|
10989
10997
|
responses:
|
|
@@ -11020,7 +11028,7 @@ paths:
|
|
|
11020
11028
|
'401':
|
|
11021
11029
|
description: Unauthorized
|
|
11022
11030
|
'404':
|
|
11023
|
-
description:
|
|
11031
|
+
description: The data integration or selected connected account was not found.
|
|
11024
11032
|
content:
|
|
11025
11033
|
application/json:
|
|
11026
11034
|
schema:
|
|
@@ -11098,6 +11106,14 @@ paths:
|
|
|
11098
11106
|
Optional parameter to scope the connection to a specific
|
|
11099
11107
|
organization.
|
|
11100
11108
|
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11109
|
+
connected_account_id:
|
|
11110
|
+
type: string
|
|
11111
|
+
minLength: 1
|
|
11112
|
+
description: >-
|
|
11113
|
+
A [connected account](/reference/pipes/connected-account)
|
|
11114
|
+
identifier. Use this to select a specific connection when
|
|
11115
|
+
the user has several for this provider.
|
|
11116
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11101
11117
|
required:
|
|
11102
11118
|
- user_id
|
|
11103
11119
|
responses:
|
|
@@ -11123,7 +11139,7 @@ paths:
|
|
|
11123
11139
|
'401':
|
|
11124
11140
|
description: Unauthorized
|
|
11125
11141
|
'404':
|
|
11126
|
-
description:
|
|
11142
|
+
description: The data integration or selected connected account was not found.
|
|
11127
11143
|
content:
|
|
11128
11144
|
application/json:
|
|
11129
11145
|
schema:
|
|
@@ -22156,6 +22172,17 @@ paths:
|
|
|
22156
22172
|
schema:
|
|
22157
22173
|
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
22158
22174
|
type: string
|
|
22175
|
+
- name: connected_account_id
|
|
22176
|
+
required: false
|
|
22177
|
+
in: query
|
|
22178
|
+
description: >-
|
|
22179
|
+
A [connected account](/reference/pipes/connected-account)
|
|
22180
|
+
identifier. Use this to select a specific connection when the user
|
|
22181
|
+
has several for this provider.
|
|
22182
|
+
schema:
|
|
22183
|
+
minLength: 1
|
|
22184
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
22185
|
+
type: string
|
|
22159
22186
|
responses:
|
|
22160
22187
|
'200':
|
|
22161
22188
|
description: The connected account was retrieved successfully.
|
|
@@ -22163,6 +22190,19 @@ paths:
|
|
|
22163
22190
|
application/json:
|
|
22164
22191
|
schema:
|
|
22165
22192
|
$ref: '#/components/schemas/ConnectedAccount'
|
|
22193
|
+
'400':
|
|
22194
|
+
description: The connected account selector is malformed.
|
|
22195
|
+
content:
|
|
22196
|
+
application/json:
|
|
22197
|
+
schema:
|
|
22198
|
+
type: object
|
|
22199
|
+
properties:
|
|
22200
|
+
message:
|
|
22201
|
+
type: string
|
|
22202
|
+
description: A human-readable description of the error.
|
|
22203
|
+
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
22204
|
+
required:
|
|
22205
|
+
- message
|
|
22166
22206
|
'401':
|
|
22167
22207
|
description: The request is missing a valid API key.
|
|
22168
22208
|
'404':
|
|
@@ -22228,9 +22268,32 @@ paths:
|
|
|
22228
22268
|
schema:
|
|
22229
22269
|
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
22230
22270
|
type: string
|
|
22271
|
+
- name: connected_account_id
|
|
22272
|
+
required: false
|
|
22273
|
+
in: query
|
|
22274
|
+
description: >-
|
|
22275
|
+
A [connected account](/reference/pipes/connected-account)
|
|
22276
|
+
identifier. Use this to select the connection to delete.
|
|
22277
|
+
schema:
|
|
22278
|
+
minLength: 1
|
|
22279
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
22280
|
+
type: string
|
|
22231
22281
|
responses:
|
|
22232
22282
|
'204':
|
|
22233
22283
|
description: The connected account was deleted successfully.
|
|
22284
|
+
'400':
|
|
22285
|
+
description: The connected account selector is malformed.
|
|
22286
|
+
content:
|
|
22287
|
+
application/json:
|
|
22288
|
+
schema:
|
|
22289
|
+
type: object
|
|
22290
|
+
properties:
|
|
22291
|
+
message:
|
|
22292
|
+
type: string
|
|
22293
|
+
description: A human-readable description of the error.
|
|
22294
|
+
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
22295
|
+
required:
|
|
22296
|
+
- message
|
|
22234
22297
|
'401':
|
|
22235
22298
|
description: The request is missing a valid API key.
|
|
22236
22299
|
'404':
|
|
@@ -22389,6 +22452,16 @@ paths:
|
|
|
22389
22452
|
schema:
|
|
22390
22453
|
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
22391
22454
|
type: string
|
|
22455
|
+
- name: connected_account_id
|
|
22456
|
+
required: false
|
|
22457
|
+
in: query
|
|
22458
|
+
description: >-
|
|
22459
|
+
A [connected account](/reference/pipes/connected-account)
|
|
22460
|
+
identifier. Use this to select the connection to update.
|
|
22461
|
+
schema:
|
|
22462
|
+
minLength: 1
|
|
22463
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
22464
|
+
type: string
|
|
22392
22465
|
requestBody:
|
|
22393
22466
|
required: true
|
|
22394
22467
|
content:
|
|
@@ -22402,6 +22475,19 @@ paths:
|
|
|
22402
22475
|
application/json:
|
|
22403
22476
|
schema:
|
|
22404
22477
|
$ref: '#/components/schemas/ConnectedAccount'
|
|
22478
|
+
'400':
|
|
22479
|
+
description: The connected account selector is malformed.
|
|
22480
|
+
content:
|
|
22481
|
+
application/json:
|
|
22482
|
+
schema:
|
|
22483
|
+
type: object
|
|
22484
|
+
properties:
|
|
22485
|
+
message:
|
|
22486
|
+
type: string
|
|
22487
|
+
description: A human-readable description of the error.
|
|
22488
|
+
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
22489
|
+
required:
|
|
22490
|
+
- message
|
|
22405
22491
|
'401':
|
|
22406
22492
|
description: The request is missing a valid API key.
|
|
22407
22493
|
'404':
|
|
@@ -26545,16 +26631,16 @@ components:
|
|
|
26545
26631
|
type: string
|
|
26546
26632
|
description: >-
|
|
26547
26633
|
The URL to go to when an admin clicks on your logo in the Admin
|
|
26548
|
-
Portal. If not specified, the return URL configured on the
|
|
26549
|
-
|
|
26634
|
+
Portal. If not specified, the return URL configured on the [Admin
|
|
26635
|
+
Portal](https://dashboard.workos.com/admin-portal) page will be
|
|
26550
26636
|
used.
|
|
26551
26637
|
example: https://example.com/admin-portal/return
|
|
26552
26638
|
success_url:
|
|
26553
26639
|
type: string
|
|
26554
26640
|
description: >-
|
|
26555
26641
|
The URL to redirect the admin to when they finish setup. If not
|
|
26556
|
-
specified, the success URL configured on the
|
|
26557
|
-
|
|
26642
|
+
specified, the success URL configured on the [Admin
|
|
26643
|
+
Portal](https://dashboard.workos.com/admin-portal) page will be
|
|
26558
26644
|
used.
|
|
26559
26645
|
example: https://example.com/admin-portal/success
|
|
26560
26646
|
organization:
|
package/dist/types.d.ts
CHANGED
|
@@ -5431,12 +5431,12 @@ export interface components {
|
|
|
5431
5431
|
};
|
|
5432
5432
|
GenerateLinkDto: {
|
|
5433
5433
|
/**
|
|
5434
|
-
* @description The URL to go to when an admin clicks on your logo in the Admin Portal. If not specified, the return URL configured on the [
|
|
5434
|
+
* @description The URL to go to when an admin clicks on your logo in the Admin Portal. If not specified, the return URL configured on the [Admin Portal](https://dashboard.workos.com/admin-portal) page will be used.
|
|
5435
5435
|
* @example https://example.com/admin-portal/return
|
|
5436
5436
|
*/
|
|
5437
5437
|
return_url?: string;
|
|
5438
5438
|
/**
|
|
5439
|
-
* @description The URL to redirect the admin to when they finish setup. If not specified, the success URL configured on the [
|
|
5439
|
+
* @description The URL to redirect the admin to when they finish setup. If not specified, the success URL configured on the [Admin Portal](https://dashboard.workos.com/admin-portal) page will be used.
|
|
5440
5440
|
* @example https://example.com/admin-portal/success
|
|
5441
5441
|
*/
|
|
5442
5442
|
success_url?: string;
|
|
@@ -29198,6 +29198,11 @@ export interface operations {
|
|
|
29198
29198
|
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29199
29199
|
*/
|
|
29200
29200
|
organization_id?: string;
|
|
29201
|
+
/**
|
|
29202
|
+
* @description A [connected account](/reference/pipes/connected-account) identifier. Use this to select a specific connection when the user has several for this provider.
|
|
29203
|
+
* @example data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29204
|
+
*/
|
|
29205
|
+
connected_account_id?: string;
|
|
29201
29206
|
};
|
|
29202
29207
|
};
|
|
29203
29208
|
};
|
|
@@ -29249,7 +29254,7 @@ export interface operations {
|
|
|
29249
29254
|
};
|
|
29250
29255
|
content?: never;
|
|
29251
29256
|
};
|
|
29252
|
-
/** @description
|
|
29257
|
+
/** @description The data integration or selected connected account was not found. */
|
|
29253
29258
|
404: {
|
|
29254
29259
|
headers: {
|
|
29255
29260
|
[name: string]: unknown;
|
|
@@ -29319,6 +29324,11 @@ export interface operations {
|
|
|
29319
29324
|
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29320
29325
|
*/
|
|
29321
29326
|
organization_id?: string;
|
|
29327
|
+
/**
|
|
29328
|
+
* @description A [connected account](/reference/pipes/connected-account) identifier. Use this to select a specific connection when the user has several for this provider.
|
|
29329
|
+
* @example data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29330
|
+
*/
|
|
29331
|
+
connected_account_id?: string;
|
|
29322
29332
|
};
|
|
29323
29333
|
};
|
|
29324
29334
|
};
|
|
@@ -29354,7 +29364,7 @@ export interface operations {
|
|
|
29354
29364
|
};
|
|
29355
29365
|
content?: never;
|
|
29356
29366
|
};
|
|
29357
|
-
/** @description
|
|
29367
|
+
/** @description The data integration or selected connected account was not found. */
|
|
29358
29368
|
404: {
|
|
29359
29369
|
headers: {
|
|
29360
29370
|
[name: string]: unknown;
|
|
@@ -38845,6 +38855,8 @@ export interface operations {
|
|
|
38845
38855
|
query?: {
|
|
38846
38856
|
/** @description An [Organization](/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
|
|
38847
38857
|
organization_id?: string;
|
|
38858
|
+
/** @description A [connected account](/reference/pipes/connected-account) identifier. Use this to select a specific connection when the user has several for this provider. */
|
|
38859
|
+
connected_account_id?: string;
|
|
38848
38860
|
};
|
|
38849
38861
|
header?: never;
|
|
38850
38862
|
path: {
|
|
@@ -38866,6 +38878,21 @@ export interface operations {
|
|
|
38866
38878
|
"application/json": components["schemas"]["ConnectedAccount"];
|
|
38867
38879
|
};
|
|
38868
38880
|
};
|
|
38881
|
+
/** @description The connected account selector is malformed. */
|
|
38882
|
+
400: {
|
|
38883
|
+
headers: {
|
|
38884
|
+
[name: string]: unknown;
|
|
38885
|
+
};
|
|
38886
|
+
content: {
|
|
38887
|
+
"application/json": {
|
|
38888
|
+
/**
|
|
38889
|
+
* @description A human-readable description of the error.
|
|
38890
|
+
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
38891
|
+
*/
|
|
38892
|
+
message: string;
|
|
38893
|
+
};
|
|
38894
|
+
};
|
|
38895
|
+
};
|
|
38869
38896
|
/** @description The request is missing a valid API key. */
|
|
38870
38897
|
401: {
|
|
38871
38898
|
headers: {
|
|
@@ -38910,6 +38937,8 @@ export interface operations {
|
|
|
38910
38937
|
query?: {
|
|
38911
38938
|
/** @description An [Organization](/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
|
|
38912
38939
|
organization_id?: string;
|
|
38940
|
+
/** @description A [connected account](/reference/pipes/connected-account) identifier. Use this to select the connection to update. */
|
|
38941
|
+
connected_account_id?: string;
|
|
38913
38942
|
};
|
|
38914
38943
|
header?: never;
|
|
38915
38944
|
path: {
|
|
@@ -38935,6 +38964,21 @@ export interface operations {
|
|
|
38935
38964
|
"application/json": components["schemas"]["ConnectedAccount"];
|
|
38936
38965
|
};
|
|
38937
38966
|
};
|
|
38967
|
+
/** @description The connected account selector is malformed. */
|
|
38968
|
+
400: {
|
|
38969
|
+
headers: {
|
|
38970
|
+
[name: string]: unknown;
|
|
38971
|
+
};
|
|
38972
|
+
content: {
|
|
38973
|
+
"application/json": {
|
|
38974
|
+
/**
|
|
38975
|
+
* @description A human-readable description of the error.
|
|
38976
|
+
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
38977
|
+
*/
|
|
38978
|
+
message: string;
|
|
38979
|
+
};
|
|
38980
|
+
};
|
|
38981
|
+
};
|
|
38938
38982
|
/** @description The request is missing a valid API key. */
|
|
38939
38983
|
401: {
|
|
38940
38984
|
headers: {
|
|
@@ -39063,6 +39107,8 @@ export interface operations {
|
|
|
39063
39107
|
query?: {
|
|
39064
39108
|
/** @description An [Organization](/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
|
|
39065
39109
|
organization_id?: string;
|
|
39110
|
+
/** @description A [connected account](/reference/pipes/connected-account) identifier. Use this to select the connection to delete. */
|
|
39111
|
+
connected_account_id?: string;
|
|
39066
39112
|
};
|
|
39067
39113
|
header?: never;
|
|
39068
39114
|
path: {
|
|
@@ -39082,6 +39128,21 @@ export interface operations {
|
|
|
39082
39128
|
};
|
|
39083
39129
|
content?: never;
|
|
39084
39130
|
};
|
|
39131
|
+
/** @description The connected account selector is malformed. */
|
|
39132
|
+
400: {
|
|
39133
|
+
headers: {
|
|
39134
|
+
[name: string]: unknown;
|
|
39135
|
+
};
|
|
39136
|
+
content: {
|
|
39137
|
+
"application/json": {
|
|
39138
|
+
/**
|
|
39139
|
+
* @description A human-readable description of the error.
|
|
39140
|
+
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
39141
|
+
*/
|
|
39142
|
+
message: string;
|
|
39143
|
+
};
|
|
39144
|
+
};
|
|
39145
|
+
};
|
|
39085
39146
|
/** @description The request is missing a valid API key. */
|
|
39086
39147
|
401: {
|
|
39087
39148
|
headers: {
|