@workos/openapi-spec 0.118.0 → 0.120.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 +158 -21
- package/dist/types.d.ts +109 -4
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -10956,6 +10956,38 @@ paths:
|
|
|
10956
10956
|
'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
10957
10957
|
required:
|
|
10958
10958
|
- message
|
|
10959
|
+
'409':
|
|
10960
|
+
description: >-
|
|
10961
|
+
`connected_account_limit_reached` when the provider and owner
|
|
10962
|
+
already have 25 connections.
|
|
10963
|
+
content:
|
|
10964
|
+
application/json:
|
|
10965
|
+
schema:
|
|
10966
|
+
anyOf:
|
|
10967
|
+
- type: object
|
|
10968
|
+
properties:
|
|
10969
|
+
code:
|
|
10970
|
+
type: string
|
|
10971
|
+
description: The error code identifying the type of error.
|
|
10972
|
+
example: connected_account_limit_reached
|
|
10973
|
+
const: connected_account_limit_reached
|
|
10974
|
+
message:
|
|
10975
|
+
type: string
|
|
10976
|
+
description: A human-readable description of the error.
|
|
10977
|
+
example: Request could not be processed.
|
|
10978
|
+
required:
|
|
10979
|
+
- code
|
|
10980
|
+
- message
|
|
10981
|
+
- type: object
|
|
10982
|
+
properties:
|
|
10983
|
+
message:
|
|
10984
|
+
type: string
|
|
10985
|
+
description: A human-readable description of the error.
|
|
10986
|
+
example: >-
|
|
10987
|
+
Organization not found:
|
|
10988
|
+
'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
10989
|
+
required:
|
|
10990
|
+
- message
|
|
10959
10991
|
'503':
|
|
10960
10992
|
description: >-
|
|
10961
10993
|
Another connection is being created for this owner and provider.
|
|
@@ -11512,6 +11544,39 @@ paths:
|
|
|
11512
11544
|
'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
11513
11545
|
required:
|
|
11514
11546
|
- message
|
|
11547
|
+
'409':
|
|
11548
|
+
description: >-
|
|
11549
|
+
`connected_account_limit_reached` when explicit add would create a
|
|
11550
|
+
standard connection for a provider and owner that already has 25
|
|
11551
|
+
connections.
|
|
11552
|
+
content:
|
|
11553
|
+
application/json:
|
|
11554
|
+
schema:
|
|
11555
|
+
anyOf:
|
|
11556
|
+
- type: object
|
|
11557
|
+
properties:
|
|
11558
|
+
code:
|
|
11559
|
+
type: string
|
|
11560
|
+
description: The error code identifying the type of error.
|
|
11561
|
+
example: connected_account_limit_reached
|
|
11562
|
+
const: connected_account_limit_reached
|
|
11563
|
+
message:
|
|
11564
|
+
type: string
|
|
11565
|
+
description: A human-readable description of the error.
|
|
11566
|
+
example: Request could not be processed.
|
|
11567
|
+
required:
|
|
11568
|
+
- code
|
|
11569
|
+
- message
|
|
11570
|
+
- type: object
|
|
11571
|
+
properties:
|
|
11572
|
+
message:
|
|
11573
|
+
type: string
|
|
11574
|
+
description: A human-readable description of the error.
|
|
11575
|
+
example: >-
|
|
11576
|
+
Organization not found:
|
|
11577
|
+
'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
11578
|
+
required:
|
|
11579
|
+
- message
|
|
11515
11580
|
'422':
|
|
11516
11581
|
description: The selected connected account does not use OAuth authentication.
|
|
11517
11582
|
content:
|
|
@@ -11697,6 +11762,38 @@ paths:
|
|
|
11697
11762
|
'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
11698
11763
|
required:
|
|
11699
11764
|
- message
|
|
11765
|
+
'409':
|
|
11766
|
+
description: >-
|
|
11767
|
+
`connected_account_limit_reached` when the provider and owner
|
|
11768
|
+
already have 25 connections.
|
|
11769
|
+
content:
|
|
11770
|
+
application/json:
|
|
11771
|
+
schema:
|
|
11772
|
+
anyOf:
|
|
11773
|
+
- type: object
|
|
11774
|
+
properties:
|
|
11775
|
+
code:
|
|
11776
|
+
type: string
|
|
11777
|
+
description: The error code identifying the type of error.
|
|
11778
|
+
example: connected_account_limit_reached
|
|
11779
|
+
const: connected_account_limit_reached
|
|
11780
|
+
message:
|
|
11781
|
+
type: string
|
|
11782
|
+
description: A human-readable description of the error.
|
|
11783
|
+
example: Request could not be processed.
|
|
11784
|
+
required:
|
|
11785
|
+
- code
|
|
11786
|
+
- message
|
|
11787
|
+
- type: object
|
|
11788
|
+
properties:
|
|
11789
|
+
message:
|
|
11790
|
+
type: string
|
|
11791
|
+
description: A human-readable description of the error.
|
|
11792
|
+
example: >-
|
|
11793
|
+
Organization not found:
|
|
11794
|
+
'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
11795
|
+
required:
|
|
11796
|
+
- message
|
|
11700
11797
|
'503':
|
|
11701
11798
|
description: >-
|
|
11702
11799
|
Another connection is being created for this owner and provider.
|
|
@@ -12134,7 +12231,8 @@ paths:
|
|
|
12134
12231
|
'403':
|
|
12135
12232
|
description: >-
|
|
12136
12233
|
The user is not an active member of the organization named for an
|
|
12137
|
-
organization connection
|
|
12234
|
+
organization connection or an organization-scoped personal
|
|
12235
|
+
connection.
|
|
12138
12236
|
content:
|
|
12139
12237
|
application/json:
|
|
12140
12238
|
schema:
|
|
@@ -12532,7 +12630,8 @@ paths:
|
|
|
12532
12630
|
'403':
|
|
12533
12631
|
description: >-
|
|
12534
12632
|
The user is not an active member of the organization named for an
|
|
12535
|
-
organization connection
|
|
12633
|
+
organization connection or an organization-scoped personal
|
|
12634
|
+
connection.
|
|
12536
12635
|
content:
|
|
12537
12636
|
application/json:
|
|
12538
12637
|
schema:
|
|
@@ -16131,18 +16230,37 @@ paths:
|
|
|
16131
16230
|
'409':
|
|
16132
16231
|
description: >-
|
|
16133
16232
|
The compatibility connection already exists for this organization
|
|
16134
|
-
and integration
|
|
16233
|
+
and integration, or `connected_account_limit_reached` when
|
|
16234
|
+
`connection_intent: add` would create a standard connection and the
|
|
16235
|
+
owner already has 25 connections.
|
|
16135
16236
|
content:
|
|
16136
16237
|
application/json:
|
|
16137
16238
|
schema:
|
|
16138
|
-
|
|
16139
|
-
|
|
16140
|
-
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
|
|
16239
|
+
anyOf:
|
|
16240
|
+
- type: object
|
|
16241
|
+
properties:
|
|
16242
|
+
code:
|
|
16243
|
+
type: string
|
|
16244
|
+
description: The error code identifying the type of error.
|
|
16245
|
+
example: connected_account_limit_reached
|
|
16246
|
+
const: connected_account_limit_reached
|
|
16247
|
+
message:
|
|
16248
|
+
type: string
|
|
16249
|
+
description: A human-readable description of the error.
|
|
16250
|
+
example: Request could not be processed.
|
|
16251
|
+
required:
|
|
16252
|
+
- code
|
|
16253
|
+
- message
|
|
16254
|
+
- type: object
|
|
16255
|
+
properties:
|
|
16256
|
+
message:
|
|
16257
|
+
type: string
|
|
16258
|
+
description: A human-readable description of the error.
|
|
16259
|
+
example: >-
|
|
16260
|
+
Organization not found:
|
|
16261
|
+
'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
16262
|
+
required:
|
|
16263
|
+
- message
|
|
16146
16264
|
'422':
|
|
16147
16265
|
description: >-
|
|
16148
16266
|
The request body is malformed (`invalid_request_parameters`), the
|
|
@@ -24934,19 +25052,38 @@ paths:
|
|
|
24934
25052
|
- message
|
|
24935
25053
|
'409':
|
|
24936
25054
|
description: >-
|
|
24937
|
-
|
|
24938
|
-
organization
|
|
25055
|
+
The compatibility connection already exists for this user,
|
|
25056
|
+
integration, and organization, or `connected_account_limit_reached`
|
|
25057
|
+
when `connection_intent: add` would create a standard connection and
|
|
25058
|
+
the owner already has 25 connections.
|
|
24939
25059
|
content:
|
|
24940
25060
|
application/json:
|
|
24941
25061
|
schema:
|
|
24942
|
-
|
|
24943
|
-
|
|
24944
|
-
|
|
24945
|
-
|
|
24946
|
-
|
|
24947
|
-
|
|
24948
|
-
|
|
24949
|
-
|
|
25062
|
+
anyOf:
|
|
25063
|
+
- type: object
|
|
25064
|
+
properties:
|
|
25065
|
+
code:
|
|
25066
|
+
type: string
|
|
25067
|
+
description: The error code identifying the type of error.
|
|
25068
|
+
example: connected_account_limit_reached
|
|
25069
|
+
const: connected_account_limit_reached
|
|
25070
|
+
message:
|
|
25071
|
+
type: string
|
|
25072
|
+
description: A human-readable description of the error.
|
|
25073
|
+
example: Request could not be processed.
|
|
25074
|
+
required:
|
|
25075
|
+
- code
|
|
25076
|
+
- message
|
|
25077
|
+
- type: object
|
|
25078
|
+
properties:
|
|
25079
|
+
message:
|
|
25080
|
+
type: string
|
|
25081
|
+
description: A human-readable description of the error.
|
|
25082
|
+
example: >-
|
|
25083
|
+
Organization not found:
|
|
25084
|
+
'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
25085
|
+
required:
|
|
25086
|
+
- message
|
|
24950
25087
|
'422':
|
|
24951
25088
|
description: >-
|
|
24952
25089
|
The request body is malformed (`invalid_request_parameters`), the
|
package/dist/types.d.ts
CHANGED
|
@@ -30131,6 +30131,33 @@ export interface operations {
|
|
|
30131
30131
|
};
|
|
30132
30132
|
};
|
|
30133
30133
|
};
|
|
30134
|
+
/** @description `connected_account_limit_reached` when the provider and owner already have 25 connections. */
|
|
30135
|
+
409: {
|
|
30136
|
+
headers: {
|
|
30137
|
+
[name: string]: unknown;
|
|
30138
|
+
};
|
|
30139
|
+
content: {
|
|
30140
|
+
"application/json": {
|
|
30141
|
+
/**
|
|
30142
|
+
* @description The error code identifying the type of error.
|
|
30143
|
+
* @example connected_account_limit_reached
|
|
30144
|
+
* @constant
|
|
30145
|
+
*/
|
|
30146
|
+
code: "connected_account_limit_reached";
|
|
30147
|
+
/**
|
|
30148
|
+
* @description A human-readable description of the error.
|
|
30149
|
+
* @example Request could not be processed.
|
|
30150
|
+
*/
|
|
30151
|
+
message: string;
|
|
30152
|
+
} | {
|
|
30153
|
+
/**
|
|
30154
|
+
* @description A human-readable description of the error.
|
|
30155
|
+
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
30156
|
+
*/
|
|
30157
|
+
message: string;
|
|
30158
|
+
};
|
|
30159
|
+
};
|
|
30160
|
+
};
|
|
30134
30161
|
/** @description Another connection is being created for this owner and provider. Retry the request. */
|
|
30135
30162
|
503: {
|
|
30136
30163
|
headers: {
|
|
@@ -30356,6 +30383,33 @@ export interface operations {
|
|
|
30356
30383
|
};
|
|
30357
30384
|
};
|
|
30358
30385
|
};
|
|
30386
|
+
/** @description `connected_account_limit_reached` when explicit add would create a standard connection for a provider and owner that already has 25 connections. */
|
|
30387
|
+
409: {
|
|
30388
|
+
headers: {
|
|
30389
|
+
[name: string]: unknown;
|
|
30390
|
+
};
|
|
30391
|
+
content: {
|
|
30392
|
+
"application/json": {
|
|
30393
|
+
/**
|
|
30394
|
+
* @description The error code identifying the type of error.
|
|
30395
|
+
* @example connected_account_limit_reached
|
|
30396
|
+
* @constant
|
|
30397
|
+
*/
|
|
30398
|
+
code: "connected_account_limit_reached";
|
|
30399
|
+
/**
|
|
30400
|
+
* @description A human-readable description of the error.
|
|
30401
|
+
* @example Request could not be processed.
|
|
30402
|
+
*/
|
|
30403
|
+
message: string;
|
|
30404
|
+
} | {
|
|
30405
|
+
/**
|
|
30406
|
+
* @description A human-readable description of the error.
|
|
30407
|
+
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
30408
|
+
*/
|
|
30409
|
+
message: string;
|
|
30410
|
+
};
|
|
30411
|
+
};
|
|
30412
|
+
};
|
|
30359
30413
|
/** @description The selected connected account does not use OAuth authentication. */
|
|
30360
30414
|
422: {
|
|
30361
30415
|
headers: {
|
|
@@ -30763,6 +30817,33 @@ export interface operations {
|
|
|
30763
30817
|
};
|
|
30764
30818
|
};
|
|
30765
30819
|
};
|
|
30820
|
+
/** @description `connected_account_limit_reached` when the provider and owner already have 25 connections. */
|
|
30821
|
+
409: {
|
|
30822
|
+
headers: {
|
|
30823
|
+
[name: string]: unknown;
|
|
30824
|
+
};
|
|
30825
|
+
content: {
|
|
30826
|
+
"application/json": {
|
|
30827
|
+
/**
|
|
30828
|
+
* @description The error code identifying the type of error.
|
|
30829
|
+
* @example connected_account_limit_reached
|
|
30830
|
+
* @constant
|
|
30831
|
+
*/
|
|
30832
|
+
code: "connected_account_limit_reached";
|
|
30833
|
+
/**
|
|
30834
|
+
* @description A human-readable description of the error.
|
|
30835
|
+
* @example Request could not be processed.
|
|
30836
|
+
*/
|
|
30837
|
+
message: string;
|
|
30838
|
+
} | {
|
|
30839
|
+
/**
|
|
30840
|
+
* @description A human-readable description of the error.
|
|
30841
|
+
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
30842
|
+
*/
|
|
30843
|
+
message: string;
|
|
30844
|
+
};
|
|
30845
|
+
};
|
|
30846
|
+
};
|
|
30766
30847
|
/** @description Another connection is being created for this owner and provider. Retry the request. */
|
|
30767
30848
|
503: {
|
|
30768
30849
|
headers: {
|
|
@@ -30877,7 +30958,7 @@ export interface operations {
|
|
|
30877
30958
|
};
|
|
30878
30959
|
content?: never;
|
|
30879
30960
|
};
|
|
30880
|
-
/** @description The user is not an active member of the organization named for an organization connection. */
|
|
30961
|
+
/** @description The user is not an active member of the organization named for an organization connection or an organization-scoped personal connection. */
|
|
30881
30962
|
403: {
|
|
30882
30963
|
headers: {
|
|
30883
30964
|
[name: string]: unknown;
|
|
@@ -31295,7 +31376,7 @@ export interface operations {
|
|
|
31295
31376
|
};
|
|
31296
31377
|
content?: never;
|
|
31297
31378
|
};
|
|
31298
|
-
/** @description The user is not an active member of the organization named for an organization connection. */
|
|
31379
|
+
/** @description The user is not an active member of the organization named for an organization connection or an organization-scoped personal connection. */
|
|
31299
31380
|
403: {
|
|
31300
31381
|
headers: {
|
|
31301
31382
|
[name: string]: unknown;
|
|
@@ -34559,13 +34640,25 @@ export interface operations {
|
|
|
34559
34640
|
};
|
|
34560
34641
|
};
|
|
34561
34642
|
};
|
|
34562
|
-
/** @description The compatibility connection already exists for this organization and integration. */
|
|
34643
|
+
/** @description The compatibility connection already exists for this organization and integration, or `connected_account_limit_reached` when `connection_intent: add` would create a standard connection and the owner already has 25 connections. */
|
|
34563
34644
|
409: {
|
|
34564
34645
|
headers: {
|
|
34565
34646
|
[name: string]: unknown;
|
|
34566
34647
|
};
|
|
34567
34648
|
content: {
|
|
34568
34649
|
"application/json": {
|
|
34650
|
+
/**
|
|
34651
|
+
* @description The error code identifying the type of error.
|
|
34652
|
+
* @example connected_account_limit_reached
|
|
34653
|
+
* @constant
|
|
34654
|
+
*/
|
|
34655
|
+
code: "connected_account_limit_reached";
|
|
34656
|
+
/**
|
|
34657
|
+
* @description A human-readable description of the error.
|
|
34658
|
+
* @example Request could not be processed.
|
|
34659
|
+
*/
|
|
34660
|
+
message: string;
|
|
34661
|
+
} | {
|
|
34569
34662
|
/**
|
|
34570
34663
|
* @description A human-readable description of the error.
|
|
34571
34664
|
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
@@ -42118,13 +42211,25 @@ export interface operations {
|
|
|
42118
42211
|
};
|
|
42119
42212
|
};
|
|
42120
42213
|
};
|
|
42121
|
-
/** @description
|
|
42214
|
+
/** @description The compatibility connection already exists for this user, integration, and organization, or `connected_account_limit_reached` when `connection_intent: add` would create a standard connection and the owner already has 25 connections. */
|
|
42122
42215
|
409: {
|
|
42123
42216
|
headers: {
|
|
42124
42217
|
[name: string]: unknown;
|
|
42125
42218
|
};
|
|
42126
42219
|
content: {
|
|
42127
42220
|
"application/json": {
|
|
42221
|
+
/**
|
|
42222
|
+
* @description The error code identifying the type of error.
|
|
42223
|
+
* @example connected_account_limit_reached
|
|
42224
|
+
* @constant
|
|
42225
|
+
*/
|
|
42226
|
+
code: "connected_account_limit_reached";
|
|
42227
|
+
/**
|
|
42228
|
+
* @description A human-readable description of the error.
|
|
42229
|
+
* @example Request could not be processed.
|
|
42230
|
+
*/
|
|
42231
|
+
message: string;
|
|
42232
|
+
} | {
|
|
42128
42233
|
/**
|
|
42129
42234
|
* @description A human-readable description of the error.
|
|
42130
42235
|
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|