@workos/openapi-spec 0.117.0 → 0.119.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 +312 -19
- package/dist/services.mjs +5 -0
- package/dist/types.d.ts +279 -2
- 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.
|
|
@@ -12760,6 +12857,129 @@ paths:
|
|
|
12760
12857
|
summary: Delete a Directory
|
|
12761
12858
|
tags:
|
|
12762
12859
|
- directories
|
|
12860
|
+
/directories/{id}/sync:
|
|
12861
|
+
post:
|
|
12862
|
+
description: >-
|
|
12863
|
+
Request an asynchronous sync from the directory provider. Currently
|
|
12864
|
+
supports Google Workspace directories in linked or validating state.
|
|
12865
|
+
Manual requests share a five-minute per-directory cooldown across the
|
|
12866
|
+
API, Dashboard, Admin Portal, and MCP. Acceptance means the request was
|
|
12867
|
+
queued, not that the sync has started or completed. A running sync
|
|
12868
|
+
prevents another request from being queued.
|
|
12869
|
+
operationId: DirectoriesController_syncDirectory
|
|
12870
|
+
parameters:
|
|
12871
|
+
- name: id
|
|
12872
|
+
required: true
|
|
12873
|
+
in: path
|
|
12874
|
+
description: Unique identifier for the Directory.
|
|
12875
|
+
schema:
|
|
12876
|
+
example: directory_01ECAZ4NV9QMV47GW873HDCX74
|
|
12877
|
+
type: string
|
|
12878
|
+
responses:
|
|
12879
|
+
'202':
|
|
12880
|
+
description: ''
|
|
12881
|
+
content:
|
|
12882
|
+
application/json:
|
|
12883
|
+
schema:
|
|
12884
|
+
$ref: '#/components/schemas/DirectorySyncResponse'
|
|
12885
|
+
'403':
|
|
12886
|
+
description: Forbidden
|
|
12887
|
+
content:
|
|
12888
|
+
application/json:
|
|
12889
|
+
schema:
|
|
12890
|
+
type: object
|
|
12891
|
+
properties:
|
|
12892
|
+
message:
|
|
12893
|
+
type: string
|
|
12894
|
+
description: A human-readable description of the error.
|
|
12895
|
+
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
12896
|
+
required:
|
|
12897
|
+
- message
|
|
12898
|
+
'404':
|
|
12899
|
+
description: Not Found
|
|
12900
|
+
content:
|
|
12901
|
+
application/json:
|
|
12902
|
+
schema:
|
|
12903
|
+
type: object
|
|
12904
|
+
properties:
|
|
12905
|
+
message:
|
|
12906
|
+
type: string
|
|
12907
|
+
description: A human-readable description of the error.
|
|
12908
|
+
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
12909
|
+
required:
|
|
12910
|
+
- message
|
|
12911
|
+
'409':
|
|
12912
|
+
description: A sync is already in progress. No additional sync was queued.
|
|
12913
|
+
content:
|
|
12914
|
+
application/json:
|
|
12915
|
+
schema:
|
|
12916
|
+
type: object
|
|
12917
|
+
properties:
|
|
12918
|
+
code:
|
|
12919
|
+
type: string
|
|
12920
|
+
description: The error code identifying the type of error.
|
|
12921
|
+
example: directory_sync_in_progress
|
|
12922
|
+
const: directory_sync_in_progress
|
|
12923
|
+
message:
|
|
12924
|
+
type: string
|
|
12925
|
+
description: A human-readable description of the error.
|
|
12926
|
+
example: Request could not be processed.
|
|
12927
|
+
required:
|
|
12928
|
+
- code
|
|
12929
|
+
- message
|
|
12930
|
+
'422':
|
|
12931
|
+
description: The directory provider or state does not support manual sync.
|
|
12932
|
+
content:
|
|
12933
|
+
application/json:
|
|
12934
|
+
schema:
|
|
12935
|
+
type: object
|
|
12936
|
+
properties:
|
|
12937
|
+
code:
|
|
12938
|
+
type: string
|
|
12939
|
+
description: The error code identifying the type of error.
|
|
12940
|
+
example: directory_sync_unsupported
|
|
12941
|
+
const: directory_sync_unsupported
|
|
12942
|
+
message:
|
|
12943
|
+
type: string
|
|
12944
|
+
description: A human-readable description of the error.
|
|
12945
|
+
example: Request could not be processed.
|
|
12946
|
+
required:
|
|
12947
|
+
- code
|
|
12948
|
+
- message
|
|
12949
|
+
'429':
|
|
12950
|
+
description: The directory is within the manual-sync cooldown window.
|
|
12951
|
+
headers:
|
|
12952
|
+
Retry-After:
|
|
12953
|
+
description: Seconds to wait before requesting another manual sync.
|
|
12954
|
+
schema:
|
|
12955
|
+
type: integer
|
|
12956
|
+
minimum: 1
|
|
12957
|
+
content:
|
|
12958
|
+
application/json:
|
|
12959
|
+
schema:
|
|
12960
|
+
$ref: '#/components/schemas/DirectorySyncRateLimitError'
|
|
12961
|
+
'503':
|
|
12962
|
+
description: Directory syncing is temporarily paused. No sync was queued.
|
|
12963
|
+
content:
|
|
12964
|
+
application/json:
|
|
12965
|
+
schema:
|
|
12966
|
+
type: object
|
|
12967
|
+
properties:
|
|
12968
|
+
code:
|
|
12969
|
+
type: string
|
|
12970
|
+
description: The error code identifying the type of error.
|
|
12971
|
+
example: directory_sync_disabled
|
|
12972
|
+
const: directory_sync_disabled
|
|
12973
|
+
message:
|
|
12974
|
+
type: string
|
|
12975
|
+
description: A human-readable description of the error.
|
|
12976
|
+
example: Request could not be processed.
|
|
12977
|
+
required:
|
|
12978
|
+
- code
|
|
12979
|
+
- message
|
|
12980
|
+
summary: Sync a Directory
|
|
12981
|
+
tags:
|
|
12982
|
+
- directories
|
|
12763
12983
|
/directory_groups:
|
|
12764
12984
|
get:
|
|
12765
12985
|
description: >-
|
|
@@ -16008,18 +16228,37 @@ paths:
|
|
|
16008
16228
|
'409':
|
|
16009
16229
|
description: >-
|
|
16010
16230
|
The compatibility connection already exists for this organization
|
|
16011
|
-
and integration
|
|
16231
|
+
and integration, or `connected_account_limit_reached` when
|
|
16232
|
+
`connection_intent: add` would create a standard connection and the
|
|
16233
|
+
owner already has 25 connections.
|
|
16012
16234
|
content:
|
|
16013
16235
|
application/json:
|
|
16014
16236
|
schema:
|
|
16015
|
-
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
|
|
16019
|
-
|
|
16020
|
-
|
|
16021
|
-
|
|
16022
|
-
|
|
16237
|
+
anyOf:
|
|
16238
|
+
- type: object
|
|
16239
|
+
properties:
|
|
16240
|
+
code:
|
|
16241
|
+
type: string
|
|
16242
|
+
description: The error code identifying the type of error.
|
|
16243
|
+
example: connected_account_limit_reached
|
|
16244
|
+
const: connected_account_limit_reached
|
|
16245
|
+
message:
|
|
16246
|
+
type: string
|
|
16247
|
+
description: A human-readable description of the error.
|
|
16248
|
+
example: Request could not be processed.
|
|
16249
|
+
required:
|
|
16250
|
+
- code
|
|
16251
|
+
- message
|
|
16252
|
+
- type: object
|
|
16253
|
+
properties:
|
|
16254
|
+
message:
|
|
16255
|
+
type: string
|
|
16256
|
+
description: A human-readable description of the error.
|
|
16257
|
+
example: >-
|
|
16258
|
+
Organization not found:
|
|
16259
|
+
'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
16260
|
+
required:
|
|
16261
|
+
- message
|
|
16023
16262
|
'422':
|
|
16024
16263
|
description: >-
|
|
16025
16264
|
The request body is malformed (`invalid_request_parameters`), the
|
|
@@ -24811,19 +25050,38 @@ paths:
|
|
|
24811
25050
|
- message
|
|
24812
25051
|
'409':
|
|
24813
25052
|
description: >-
|
|
24814
|
-
|
|
24815
|
-
organization
|
|
25053
|
+
The compatibility connection already exists for this user,
|
|
25054
|
+
integration, and organization, or `connected_account_limit_reached`
|
|
25055
|
+
when `connection_intent: add` would create a standard connection and
|
|
25056
|
+
the owner already has 25 connections.
|
|
24816
25057
|
content:
|
|
24817
25058
|
application/json:
|
|
24818
25059
|
schema:
|
|
24819
|
-
|
|
24820
|
-
|
|
24821
|
-
|
|
24822
|
-
|
|
24823
|
-
|
|
24824
|
-
|
|
24825
|
-
|
|
24826
|
-
|
|
25060
|
+
anyOf:
|
|
25061
|
+
- type: object
|
|
25062
|
+
properties:
|
|
25063
|
+
code:
|
|
25064
|
+
type: string
|
|
25065
|
+
description: The error code identifying the type of error.
|
|
25066
|
+
example: connected_account_limit_reached
|
|
25067
|
+
const: connected_account_limit_reached
|
|
25068
|
+
message:
|
|
25069
|
+
type: string
|
|
25070
|
+
description: A human-readable description of the error.
|
|
25071
|
+
example: Request could not be processed.
|
|
25072
|
+
required:
|
|
25073
|
+
- code
|
|
25074
|
+
- message
|
|
25075
|
+
- type: object
|
|
25076
|
+
properties:
|
|
25077
|
+
message:
|
|
25078
|
+
type: string
|
|
25079
|
+
description: A human-readable description of the error.
|
|
25080
|
+
example: >-
|
|
25081
|
+
Organization not found:
|
|
25082
|
+
'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
25083
|
+
required:
|
|
25084
|
+
- message
|
|
24827
25085
|
'422':
|
|
24828
25086
|
description: >-
|
|
24829
25087
|
The request body is malformed (`invalid_request_parameters`), the
|
|
@@ -33570,6 +33828,41 @@ components:
|
|
|
33570
33828
|
- data
|
|
33571
33829
|
- list_metadata
|
|
33572
33830
|
- list_metadata
|
|
33831
|
+
DirectorySyncResponse:
|
|
33832
|
+
type: object
|
|
33833
|
+
properties:
|
|
33834
|
+
status:
|
|
33835
|
+
type: string
|
|
33836
|
+
description: >-
|
|
33837
|
+
The sync request was queued for asynchronous processing. This does
|
|
33838
|
+
not indicate that the sync has started or completed.
|
|
33839
|
+
example: queued
|
|
33840
|
+
const: queued
|
|
33841
|
+
required:
|
|
33842
|
+
- status
|
|
33843
|
+
DirectorySyncRateLimitError:
|
|
33844
|
+
type: object
|
|
33845
|
+
properties:
|
|
33846
|
+
code:
|
|
33847
|
+
type: string
|
|
33848
|
+
description: The error code identifying the type of error.
|
|
33849
|
+
example: directory_sync_rate_limited
|
|
33850
|
+
const: directory_sync_rate_limited
|
|
33851
|
+
message:
|
|
33852
|
+
type: string
|
|
33853
|
+
description: A human-readable description of the error.
|
|
33854
|
+
example: Request could not be processed.
|
|
33855
|
+
retry_after_seconds:
|
|
33856
|
+
type: integer
|
|
33857
|
+
exclusiveMinimum: 0
|
|
33858
|
+
description: >-
|
|
33859
|
+
The number of seconds to wait before requesting another manual sync
|
|
33860
|
+
of this directory.
|
|
33861
|
+
example: 120
|
|
33862
|
+
required:
|
|
33863
|
+
- code
|
|
33864
|
+
- message
|
|
33865
|
+
- retry_after_seconds
|
|
33573
33866
|
DirectoryGroup:
|
|
33574
33867
|
type: object
|
|
33575
33868
|
properties:
|
package/dist/services.mjs
CHANGED
|
@@ -477,6 +477,11 @@ const serviceEndpoints = {
|
|
|
477
477
|
"path": "/directories/{id}",
|
|
478
478
|
"name": "get_directory"
|
|
479
479
|
},
|
|
480
|
+
{
|
|
481
|
+
"method": "POST",
|
|
482
|
+
"path": "/directories/{id}/sync",
|
|
483
|
+
"name": "create_directory_sync"
|
|
484
|
+
},
|
|
480
485
|
{
|
|
481
486
|
"method": "GET",
|
|
482
487
|
"path": "/directory_groups",
|
package/dist/types.d.ts
CHANGED
|
@@ -1641,6 +1641,26 @@ export interface paths {
|
|
|
1641
1641
|
patch?: never;
|
|
1642
1642
|
trace?: never;
|
|
1643
1643
|
};
|
|
1644
|
+
"/directories/{id}/sync": {
|
|
1645
|
+
parameters: {
|
|
1646
|
+
query?: never;
|
|
1647
|
+
header?: never;
|
|
1648
|
+
path?: never;
|
|
1649
|
+
cookie?: never;
|
|
1650
|
+
};
|
|
1651
|
+
get?: never;
|
|
1652
|
+
put?: never;
|
|
1653
|
+
/**
|
|
1654
|
+
* Sync a Directory
|
|
1655
|
+
* @description Request an asynchronous sync from the directory provider. Currently supports Google Workspace directories in linked or validating state. Manual requests share a five-minute per-directory cooldown across the API, Dashboard, Admin Portal, and MCP. Acceptance means the request was queued, not that the sync has started or completed. A running sync prevents another request from being queued.
|
|
1656
|
+
*/
|
|
1657
|
+
post: operations["DirectoriesController_syncDirectory"];
|
|
1658
|
+
delete?: never;
|
|
1659
|
+
options?: never;
|
|
1660
|
+
head?: never;
|
|
1661
|
+
patch?: never;
|
|
1662
|
+
trace?: never;
|
|
1663
|
+
};
|
|
1644
1664
|
"/directory_groups": {
|
|
1645
1665
|
parameters: {
|
|
1646
1666
|
query?: never;
|
|
@@ -8565,6 +8585,32 @@ export interface components {
|
|
|
8565
8585
|
after: string | null;
|
|
8566
8586
|
};
|
|
8567
8587
|
};
|
|
8588
|
+
DirectorySyncResponse: {
|
|
8589
|
+
/**
|
|
8590
|
+
* @description The sync request was queued for asynchronous processing. This does not indicate that the sync has started or completed.
|
|
8591
|
+
* @example queued
|
|
8592
|
+
* @constant
|
|
8593
|
+
*/
|
|
8594
|
+
status: "queued";
|
|
8595
|
+
};
|
|
8596
|
+
DirectorySyncRateLimitError: {
|
|
8597
|
+
/**
|
|
8598
|
+
* @description The error code identifying the type of error.
|
|
8599
|
+
* @example directory_sync_rate_limited
|
|
8600
|
+
* @constant
|
|
8601
|
+
*/
|
|
8602
|
+
code: "directory_sync_rate_limited";
|
|
8603
|
+
/**
|
|
8604
|
+
* @description A human-readable description of the error.
|
|
8605
|
+
* @example Request could not be processed.
|
|
8606
|
+
*/
|
|
8607
|
+
message: string;
|
|
8608
|
+
/**
|
|
8609
|
+
* @description The number of seconds to wait before requesting another manual sync of this directory.
|
|
8610
|
+
* @example 120
|
|
8611
|
+
*/
|
|
8612
|
+
retry_after_seconds: number;
|
|
8613
|
+
};
|
|
8568
8614
|
DirectoryGroup: {
|
|
8569
8615
|
/**
|
|
8570
8616
|
* @description Distinguishes the Directory Group object.
|
|
@@ -30085,6 +30131,33 @@ export interface operations {
|
|
|
30085
30131
|
};
|
|
30086
30132
|
};
|
|
30087
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
|
+
};
|
|
30088
30161
|
/** @description Another connection is being created for this owner and provider. Retry the request. */
|
|
30089
30162
|
503: {
|
|
30090
30163
|
headers: {
|
|
@@ -30310,6 +30383,33 @@ export interface operations {
|
|
|
30310
30383
|
};
|
|
30311
30384
|
};
|
|
30312
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
|
+
};
|
|
30313
30413
|
/** @description The selected connected account does not use OAuth authentication. */
|
|
30314
30414
|
422: {
|
|
30315
30415
|
headers: {
|
|
@@ -30717,6 +30817,33 @@ export interface operations {
|
|
|
30717
30817
|
};
|
|
30718
30818
|
};
|
|
30719
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
|
+
};
|
|
30720
30847
|
/** @description Another connection is being created for this owner and provider. Retry the request. */
|
|
30721
30848
|
503: {
|
|
30722
30849
|
headers: {
|
|
@@ -31464,6 +31591,132 @@ export interface operations {
|
|
|
31464
31591
|
};
|
|
31465
31592
|
};
|
|
31466
31593
|
};
|
|
31594
|
+
DirectoriesController_syncDirectory: {
|
|
31595
|
+
parameters: {
|
|
31596
|
+
query?: never;
|
|
31597
|
+
header?: never;
|
|
31598
|
+
path: {
|
|
31599
|
+
/** @description Unique identifier for the Directory. */
|
|
31600
|
+
id: string;
|
|
31601
|
+
};
|
|
31602
|
+
cookie?: never;
|
|
31603
|
+
};
|
|
31604
|
+
requestBody?: never;
|
|
31605
|
+
responses: {
|
|
31606
|
+
202: {
|
|
31607
|
+
headers: {
|
|
31608
|
+
[name: string]: unknown;
|
|
31609
|
+
};
|
|
31610
|
+
content: {
|
|
31611
|
+
"application/json": components["schemas"]["DirectorySyncResponse"];
|
|
31612
|
+
};
|
|
31613
|
+
};
|
|
31614
|
+
/** @description Forbidden */
|
|
31615
|
+
403: {
|
|
31616
|
+
headers: {
|
|
31617
|
+
[name: string]: unknown;
|
|
31618
|
+
};
|
|
31619
|
+
content: {
|
|
31620
|
+
"application/json": {
|
|
31621
|
+
/**
|
|
31622
|
+
* @description A human-readable description of the error.
|
|
31623
|
+
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
31624
|
+
*/
|
|
31625
|
+
message: string;
|
|
31626
|
+
};
|
|
31627
|
+
};
|
|
31628
|
+
};
|
|
31629
|
+
/** @description Not Found */
|
|
31630
|
+
404: {
|
|
31631
|
+
headers: {
|
|
31632
|
+
[name: string]: unknown;
|
|
31633
|
+
};
|
|
31634
|
+
content: {
|
|
31635
|
+
"application/json": {
|
|
31636
|
+
/**
|
|
31637
|
+
* @description A human-readable description of the error.
|
|
31638
|
+
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
31639
|
+
*/
|
|
31640
|
+
message: string;
|
|
31641
|
+
};
|
|
31642
|
+
};
|
|
31643
|
+
};
|
|
31644
|
+
/** @description A sync is already in progress. No additional sync was queued. */
|
|
31645
|
+
409: {
|
|
31646
|
+
headers: {
|
|
31647
|
+
[name: string]: unknown;
|
|
31648
|
+
};
|
|
31649
|
+
content: {
|
|
31650
|
+
"application/json": {
|
|
31651
|
+
/**
|
|
31652
|
+
* @description The error code identifying the type of error.
|
|
31653
|
+
* @example directory_sync_in_progress
|
|
31654
|
+
* @constant
|
|
31655
|
+
*/
|
|
31656
|
+
code: "directory_sync_in_progress";
|
|
31657
|
+
/**
|
|
31658
|
+
* @description A human-readable description of the error.
|
|
31659
|
+
* @example Request could not be processed.
|
|
31660
|
+
*/
|
|
31661
|
+
message: string;
|
|
31662
|
+
};
|
|
31663
|
+
};
|
|
31664
|
+
};
|
|
31665
|
+
/** @description The directory provider or state does not support manual sync. */
|
|
31666
|
+
422: {
|
|
31667
|
+
headers: {
|
|
31668
|
+
[name: string]: unknown;
|
|
31669
|
+
};
|
|
31670
|
+
content: {
|
|
31671
|
+
"application/json": {
|
|
31672
|
+
/**
|
|
31673
|
+
* @description The error code identifying the type of error.
|
|
31674
|
+
* @example directory_sync_unsupported
|
|
31675
|
+
* @constant
|
|
31676
|
+
*/
|
|
31677
|
+
code: "directory_sync_unsupported";
|
|
31678
|
+
/**
|
|
31679
|
+
* @description A human-readable description of the error.
|
|
31680
|
+
* @example Request could not be processed.
|
|
31681
|
+
*/
|
|
31682
|
+
message: string;
|
|
31683
|
+
};
|
|
31684
|
+
};
|
|
31685
|
+
};
|
|
31686
|
+
/** @description The directory is within the manual-sync cooldown window. */
|
|
31687
|
+
429: {
|
|
31688
|
+
headers: {
|
|
31689
|
+
/** @description Seconds to wait before requesting another manual sync. */
|
|
31690
|
+
"Retry-After"?: number;
|
|
31691
|
+
[name: string]: unknown;
|
|
31692
|
+
};
|
|
31693
|
+
content: {
|
|
31694
|
+
"application/json": components["schemas"]["DirectorySyncRateLimitError"];
|
|
31695
|
+
};
|
|
31696
|
+
};
|
|
31697
|
+
/** @description Directory syncing is temporarily paused. No sync was queued. */
|
|
31698
|
+
503: {
|
|
31699
|
+
headers: {
|
|
31700
|
+
[name: string]: unknown;
|
|
31701
|
+
};
|
|
31702
|
+
content: {
|
|
31703
|
+
"application/json": {
|
|
31704
|
+
/**
|
|
31705
|
+
* @description The error code identifying the type of error.
|
|
31706
|
+
* @example directory_sync_disabled
|
|
31707
|
+
* @constant
|
|
31708
|
+
*/
|
|
31709
|
+
code: "directory_sync_disabled";
|
|
31710
|
+
/**
|
|
31711
|
+
* @description A human-readable description of the error.
|
|
31712
|
+
* @example Request could not be processed.
|
|
31713
|
+
*/
|
|
31714
|
+
message: string;
|
|
31715
|
+
};
|
|
31716
|
+
};
|
|
31717
|
+
};
|
|
31718
|
+
};
|
|
31719
|
+
};
|
|
31467
31720
|
DirectoryGroupsController_list: {
|
|
31468
31721
|
parameters: {
|
|
31469
31722
|
query?: {
|
|
@@ -34387,13 +34640,25 @@ export interface operations {
|
|
|
34387
34640
|
};
|
|
34388
34641
|
};
|
|
34389
34642
|
};
|
|
34390
|
-
/** @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. */
|
|
34391
34644
|
409: {
|
|
34392
34645
|
headers: {
|
|
34393
34646
|
[name: string]: unknown;
|
|
34394
34647
|
};
|
|
34395
34648
|
content: {
|
|
34396
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
|
+
} | {
|
|
34397
34662
|
/**
|
|
34398
34663
|
* @description A human-readable description of the error.
|
|
34399
34664
|
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
@@ -41946,13 +42211,25 @@ export interface operations {
|
|
|
41946
42211
|
};
|
|
41947
42212
|
};
|
|
41948
42213
|
};
|
|
41949
|
-
/** @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. */
|
|
41950
42215
|
409: {
|
|
41951
42216
|
headers: {
|
|
41952
42217
|
[name: string]: unknown;
|
|
41953
42218
|
};
|
|
41954
42219
|
content: {
|
|
41955
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
|
+
} | {
|
|
41956
42233
|
/**
|
|
41957
42234
|
* @description A human-readable description of the error.
|
|
41958
42235
|
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|