@workos/openapi-spec 0.121.0 → 0.123.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 +466 -36
- package/dist/types.d.ts +273 -47
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -10823,6 +10823,25 @@ paths:
|
|
|
10823
10823
|
schema:
|
|
10824
10824
|
type: object
|
|
10825
10825
|
properties:
|
|
10826
|
+
account_display_name:
|
|
10827
|
+
type:
|
|
10828
|
+
- string
|
|
10829
|
+
- 'null'
|
|
10830
|
+
description: >-
|
|
10831
|
+
A mutable, non-unique label. Omit to preserve an existing
|
|
10832
|
+
label; null clears it. Labels are never account identifiers.
|
|
10833
|
+
maxLength: 255
|
|
10834
|
+
example: Acme production
|
|
10835
|
+
account_identifier:
|
|
10836
|
+
type:
|
|
10837
|
+
- string
|
|
10838
|
+
- 'null'
|
|
10839
|
+
minLength: 1
|
|
10840
|
+
description: >-
|
|
10841
|
+
A developer-attested provider account identifier, never
|
|
10842
|
+
inferred from a label or credential. Omit to preserve an
|
|
10843
|
+
existing identifier; null clears it.
|
|
10844
|
+
example: workspace_123
|
|
10826
10845
|
user_id:
|
|
10827
10846
|
type: string
|
|
10828
10847
|
description: A [User](/reference/authkit/user) identifier.
|
|
@@ -10876,13 +10895,13 @@ paths:
|
|
|
10876
10895
|
content:
|
|
10877
10896
|
application/json:
|
|
10878
10897
|
schema:
|
|
10879
|
-
$ref: '#/components/schemas/
|
|
10898
|
+
$ref: '#/components/schemas/ConnectedAccountWriteResponse'
|
|
10880
10899
|
example:
|
|
10881
10900
|
object: connected_account
|
|
10882
10901
|
id: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
10883
10902
|
connection_role: standard
|
|
10884
|
-
account_identifier:
|
|
10885
|
-
account_display_name:
|
|
10903
|
+
account_identifier: workspace_123
|
|
10904
|
+
account_display_name: Acme production
|
|
10886
10905
|
user_id: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
10887
10906
|
organization_id: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
10888
10907
|
scopes: []
|
|
@@ -10901,9 +10920,11 @@ paths:
|
|
|
10901
10920
|
type: object
|
|
10902
10921
|
properties:
|
|
10903
10922
|
message:
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10923
|
+
oneOf:
|
|
10924
|
+
- type: string
|
|
10925
|
+
- type: array
|
|
10926
|
+
items:
|
|
10927
|
+
type: string
|
|
10907
10928
|
required:
|
|
10908
10929
|
- message
|
|
10909
10930
|
'401':
|
|
@@ -11037,6 +11058,26 @@ paths:
|
|
|
11037
11058
|
oneOf:
|
|
11038
11059
|
- type: object
|
|
11039
11060
|
properties:
|
|
11061
|
+
account_display_name:
|
|
11062
|
+
type:
|
|
11063
|
+
- string
|
|
11064
|
+
- 'null'
|
|
11065
|
+
description: >-
|
|
11066
|
+
A mutable, non-unique label. Omit to preserve an
|
|
11067
|
+
existing label; null clears it. Labels are never account
|
|
11068
|
+
identifiers.
|
|
11069
|
+
maxLength: 255
|
|
11070
|
+
example: Acme production
|
|
11071
|
+
account_identifier:
|
|
11072
|
+
type:
|
|
11073
|
+
- string
|
|
11074
|
+
- 'null'
|
|
11075
|
+
minLength: 1
|
|
11076
|
+
description: >-
|
|
11077
|
+
A developer-attested provider account identifier, never
|
|
11078
|
+
inferred from a label or credential. Omit to preserve an
|
|
11079
|
+
existing identifier; null clears it.
|
|
11080
|
+
example: workspace_123
|
|
11040
11081
|
user_id:
|
|
11041
11082
|
type: string
|
|
11042
11083
|
description: A [User](/reference/authkit/user) identifier.
|
|
@@ -11073,6 +11114,26 @@ paths:
|
|
|
11073
11114
|
additionalProperties: false
|
|
11074
11115
|
- type: object
|
|
11075
11116
|
properties:
|
|
11117
|
+
account_display_name:
|
|
11118
|
+
type:
|
|
11119
|
+
- string
|
|
11120
|
+
- 'null'
|
|
11121
|
+
description: >-
|
|
11122
|
+
A mutable, non-unique label. Omit to preserve an
|
|
11123
|
+
existing label; null clears it. Labels are never account
|
|
11124
|
+
identifiers.
|
|
11125
|
+
maxLength: 255
|
|
11126
|
+
example: Acme production
|
|
11127
|
+
account_identifier:
|
|
11128
|
+
type:
|
|
11129
|
+
- string
|
|
11130
|
+
- 'null'
|
|
11131
|
+
minLength: 1
|
|
11132
|
+
description: >-
|
|
11133
|
+
A developer-attested provider account identifier, never
|
|
11134
|
+
inferred from a label or credential. Omit to preserve an
|
|
11135
|
+
existing identifier; null clears it.
|
|
11136
|
+
example: workspace_123
|
|
11076
11137
|
user_id:
|
|
11077
11138
|
type: string
|
|
11078
11139
|
description: A [User](/reference/authkit/user) identifier.
|
|
@@ -11125,6 +11186,26 @@ paths:
|
|
|
11125
11186
|
additionalProperties: false
|
|
11126
11187
|
- type: object
|
|
11127
11188
|
properties:
|
|
11189
|
+
account_display_name:
|
|
11190
|
+
type:
|
|
11191
|
+
- string
|
|
11192
|
+
- 'null'
|
|
11193
|
+
description: >-
|
|
11194
|
+
A mutable, non-unique label. Omit to preserve an
|
|
11195
|
+
existing label; null clears it. Labels are never account
|
|
11196
|
+
identifiers.
|
|
11197
|
+
maxLength: 255
|
|
11198
|
+
example: Acme production
|
|
11199
|
+
account_identifier:
|
|
11200
|
+
type:
|
|
11201
|
+
- string
|
|
11202
|
+
- 'null'
|
|
11203
|
+
minLength: 1
|
|
11204
|
+
description: >-
|
|
11205
|
+
A developer-attested provider account identifier, never
|
|
11206
|
+
inferred from a label or credential. Omit to preserve an
|
|
11207
|
+
existing identifier; null clears it.
|
|
11208
|
+
example: workspace_123
|
|
11128
11209
|
user_id:
|
|
11129
11210
|
type: string
|
|
11130
11211
|
description: A [User](/reference/authkit/user) identifier.
|
|
@@ -11173,13 +11254,13 @@ paths:
|
|
|
11173
11254
|
content:
|
|
11174
11255
|
application/json:
|
|
11175
11256
|
schema:
|
|
11176
|
-
$ref: '#/components/schemas/
|
|
11257
|
+
$ref: '#/components/schemas/ConnectedAccountWriteResponse'
|
|
11177
11258
|
example:
|
|
11178
11259
|
object: connected_account
|
|
11179
11260
|
id: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11180
11261
|
connection_role: compatibility
|
|
11181
|
-
account_identifier:
|
|
11182
|
-
account_display_name:
|
|
11262
|
+
account_identifier: workspace_123
|
|
11263
|
+
account_display_name: Acme production
|
|
11183
11264
|
user_id: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11184
11265
|
organization_id: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11185
11266
|
scopes: []
|
|
@@ -11196,9 +11277,11 @@ paths:
|
|
|
11196
11277
|
type: object
|
|
11197
11278
|
properties:
|
|
11198
11279
|
message:
|
|
11199
|
-
|
|
11200
|
-
|
|
11201
|
-
|
|
11280
|
+
oneOf:
|
|
11281
|
+
- type: string
|
|
11282
|
+
- type: array
|
|
11283
|
+
items:
|
|
11284
|
+
type: string
|
|
11202
11285
|
required:
|
|
11203
11286
|
- message
|
|
11204
11287
|
'401':
|
|
@@ -11292,6 +11375,16 @@ paths:
|
|
|
11292
11375
|
oneOf:
|
|
11293
11376
|
- type: object
|
|
11294
11377
|
properties:
|
|
11378
|
+
account_display_name:
|
|
11379
|
+
type:
|
|
11380
|
+
- string
|
|
11381
|
+
- 'null'
|
|
11382
|
+
description: >-
|
|
11383
|
+
A mutable, non-unique label. Omit to preserve an
|
|
11384
|
+
existing label; null clears it. Labels are never account
|
|
11385
|
+
identifiers.
|
|
11386
|
+
maxLength: 255
|
|
11387
|
+
example: Acme production
|
|
11295
11388
|
user_id:
|
|
11296
11389
|
type: string
|
|
11297
11390
|
description: >-
|
|
@@ -11342,6 +11435,16 @@ paths:
|
|
|
11342
11435
|
additionalProperties: false
|
|
11343
11436
|
- type: object
|
|
11344
11437
|
properties:
|
|
11438
|
+
account_display_name:
|
|
11439
|
+
type:
|
|
11440
|
+
- string
|
|
11441
|
+
- 'null'
|
|
11442
|
+
description: >-
|
|
11443
|
+
A mutable, non-unique label. Omit to preserve an
|
|
11444
|
+
existing label; null clears it. Labels are never account
|
|
11445
|
+
identifiers.
|
|
11446
|
+
maxLength: 255
|
|
11447
|
+
example: Acme production
|
|
11345
11448
|
user_id:
|
|
11346
11449
|
type: string
|
|
11347
11450
|
description: >-
|
|
@@ -11407,6 +11510,16 @@ paths:
|
|
|
11407
11510
|
additionalProperties: false
|
|
11408
11511
|
- type: object
|
|
11409
11512
|
properties:
|
|
11513
|
+
account_display_name:
|
|
11514
|
+
type:
|
|
11515
|
+
- string
|
|
11516
|
+
- 'null'
|
|
11517
|
+
description: >-
|
|
11518
|
+
A mutable, non-unique label. Omit to preserve an
|
|
11519
|
+
existing label; null clears it. Labels are never account
|
|
11520
|
+
identifiers.
|
|
11521
|
+
maxLength: 255
|
|
11522
|
+
example: Acme production
|
|
11410
11523
|
user_id:
|
|
11411
11524
|
type: string
|
|
11412
11525
|
description: >-
|
|
@@ -11485,9 +11598,11 @@ paths:
|
|
|
11485
11598
|
type: object
|
|
11486
11599
|
properties:
|
|
11487
11600
|
message:
|
|
11488
|
-
|
|
11489
|
-
|
|
11490
|
-
|
|
11601
|
+
oneOf:
|
|
11602
|
+
- type: string
|
|
11603
|
+
- type: array
|
|
11604
|
+
items:
|
|
11605
|
+
type: string
|
|
11491
11606
|
required:
|
|
11492
11607
|
- message
|
|
11493
11608
|
'401':
|
|
@@ -11614,6 +11729,25 @@ paths:
|
|
|
11614
11729
|
schema:
|
|
11615
11730
|
type: object
|
|
11616
11731
|
properties:
|
|
11732
|
+
account_display_name:
|
|
11733
|
+
type:
|
|
11734
|
+
- string
|
|
11735
|
+
- 'null'
|
|
11736
|
+
description: >-
|
|
11737
|
+
A mutable, non-unique label. Omit to preserve an existing
|
|
11738
|
+
label; null clears it. Labels are never account identifiers.
|
|
11739
|
+
maxLength: 255
|
|
11740
|
+
example: Acme production
|
|
11741
|
+
account_identifier:
|
|
11742
|
+
type:
|
|
11743
|
+
- string
|
|
11744
|
+
- 'null'
|
|
11745
|
+
minLength: 1
|
|
11746
|
+
description: >-
|
|
11747
|
+
A developer-attested provider account identifier, never
|
|
11748
|
+
inferred from a label or credential. Omit to preserve an
|
|
11749
|
+
existing identifier; null clears it.
|
|
11750
|
+
example: workspace_123
|
|
11617
11751
|
user_id:
|
|
11618
11752
|
type: string
|
|
11619
11753
|
description: A [User](/reference/authkit/user) identifier.
|
|
@@ -11683,13 +11817,13 @@ paths:
|
|
|
11683
11817
|
content:
|
|
11684
11818
|
application/json:
|
|
11685
11819
|
schema:
|
|
11686
|
-
$ref: '#/components/schemas/
|
|
11820
|
+
$ref: '#/components/schemas/ConnectedAccountWriteResponse'
|
|
11687
11821
|
example:
|
|
11688
11822
|
object: connected_account
|
|
11689
11823
|
id: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11690
11824
|
connection_role: standard
|
|
11691
|
-
account_identifier:
|
|
11692
|
-
account_display_name:
|
|
11825
|
+
account_identifier: workspace_123
|
|
11826
|
+
account_display_name: Acme production
|
|
11693
11827
|
user_id: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11694
11828
|
organization_id: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11695
11829
|
scopes: []
|
|
@@ -11707,9 +11841,11 @@ paths:
|
|
|
11707
11841
|
type: object
|
|
11708
11842
|
properties:
|
|
11709
11843
|
message:
|
|
11710
|
-
|
|
11711
|
-
|
|
11712
|
-
|
|
11844
|
+
oneOf:
|
|
11845
|
+
- type: string
|
|
11846
|
+
- type: array
|
|
11847
|
+
items:
|
|
11848
|
+
type: string
|
|
11713
11849
|
required:
|
|
11714
11850
|
- message
|
|
11715
11851
|
'401':
|
|
@@ -11843,6 +11979,26 @@ paths:
|
|
|
11843
11979
|
oneOf:
|
|
11844
11980
|
- type: object
|
|
11845
11981
|
properties:
|
|
11982
|
+
account_display_name:
|
|
11983
|
+
type:
|
|
11984
|
+
- string
|
|
11985
|
+
- 'null'
|
|
11986
|
+
description: >-
|
|
11987
|
+
A mutable, non-unique label. Omit to preserve an
|
|
11988
|
+
existing label; null clears it. Labels are never account
|
|
11989
|
+
identifiers.
|
|
11990
|
+
maxLength: 255
|
|
11991
|
+
example: Acme production
|
|
11992
|
+
account_identifier:
|
|
11993
|
+
type:
|
|
11994
|
+
- string
|
|
11995
|
+
- 'null'
|
|
11996
|
+
minLength: 1
|
|
11997
|
+
description: >-
|
|
11998
|
+
A developer-attested provider account identifier, never
|
|
11999
|
+
inferred from a label or credential. Omit to preserve an
|
|
12000
|
+
existing identifier; null clears it.
|
|
12001
|
+
example: workspace_123
|
|
11846
12002
|
user_id:
|
|
11847
12003
|
type: string
|
|
11848
12004
|
description: A [User](/reference/authkit/user) identifier.
|
|
@@ -11895,6 +12051,26 @@ paths:
|
|
|
11895
12051
|
additionalProperties: false
|
|
11896
12052
|
- type: object
|
|
11897
12053
|
properties:
|
|
12054
|
+
account_display_name:
|
|
12055
|
+
type:
|
|
12056
|
+
- string
|
|
12057
|
+
- 'null'
|
|
12058
|
+
description: >-
|
|
12059
|
+
A mutable, non-unique label. Omit to preserve an
|
|
12060
|
+
existing label; null clears it. Labels are never account
|
|
12061
|
+
identifiers.
|
|
12062
|
+
maxLength: 255
|
|
12063
|
+
example: Acme production
|
|
12064
|
+
account_identifier:
|
|
12065
|
+
type:
|
|
12066
|
+
- string
|
|
12067
|
+
- 'null'
|
|
12068
|
+
minLength: 1
|
|
12069
|
+
description: >-
|
|
12070
|
+
A developer-attested provider account identifier, never
|
|
12071
|
+
inferred from a label or credential. Omit to preserve an
|
|
12072
|
+
existing identifier; null clears it.
|
|
12073
|
+
example: workspace_123
|
|
11898
12074
|
user_id:
|
|
11899
12075
|
type: string
|
|
11900
12076
|
description: A [User](/reference/authkit/user) identifier.
|
|
@@ -11962,6 +12138,26 @@ paths:
|
|
|
11962
12138
|
additionalProperties: false
|
|
11963
12139
|
- type: object
|
|
11964
12140
|
properties:
|
|
12141
|
+
account_display_name:
|
|
12142
|
+
type:
|
|
12143
|
+
- string
|
|
12144
|
+
- 'null'
|
|
12145
|
+
description: >-
|
|
12146
|
+
A mutable, non-unique label. Omit to preserve an
|
|
12147
|
+
existing label; null clears it. Labels are never account
|
|
12148
|
+
identifiers.
|
|
12149
|
+
maxLength: 255
|
|
12150
|
+
example: Acme production
|
|
12151
|
+
account_identifier:
|
|
12152
|
+
type:
|
|
12153
|
+
- string
|
|
12154
|
+
- 'null'
|
|
12155
|
+
minLength: 1
|
|
12156
|
+
description: >-
|
|
12157
|
+
A developer-attested provider account identifier, never
|
|
12158
|
+
inferred from a label or credential. Omit to preserve an
|
|
12159
|
+
existing identifier; null clears it.
|
|
12160
|
+
example: workspace_123
|
|
11965
12161
|
user_id:
|
|
11966
12162
|
type: string
|
|
11967
12163
|
description: A [User](/reference/authkit/user) identifier.
|
|
@@ -12025,13 +12221,13 @@ paths:
|
|
|
12025
12221
|
content:
|
|
12026
12222
|
application/json:
|
|
12027
12223
|
schema:
|
|
12028
|
-
$ref: '#/components/schemas/
|
|
12224
|
+
$ref: '#/components/schemas/ConnectedAccountWriteResponse'
|
|
12029
12225
|
example:
|
|
12030
12226
|
object: connected_account
|
|
12031
12227
|
id: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12032
12228
|
connection_role: compatibility
|
|
12033
|
-
account_identifier:
|
|
12034
|
-
account_display_name:
|
|
12229
|
+
account_identifier: workspace_123
|
|
12230
|
+
account_display_name: Acme production
|
|
12035
12231
|
user_id: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12036
12232
|
organization_id: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12037
12233
|
scopes: []
|
|
@@ -12047,9 +12243,11 @@ paths:
|
|
|
12047
12243
|
type: object
|
|
12048
12244
|
properties:
|
|
12049
12245
|
message:
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12246
|
+
oneOf:
|
|
12247
|
+
- type: string
|
|
12248
|
+
- type: array
|
|
12249
|
+
items:
|
|
12250
|
+
type: string
|
|
12053
12251
|
required:
|
|
12054
12252
|
- message
|
|
12055
12253
|
'401':
|
|
@@ -15954,7 +16152,7 @@ paths:
|
|
|
15954
16152
|
user_id: null
|
|
15955
16153
|
organization_id: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
15956
16154
|
connection_role: compatibility
|
|
15957
|
-
account_identifier:
|
|
16155
|
+
account_identifier: workspace_123
|
|
15958
16156
|
account_display_name: Acme production
|
|
15959
16157
|
scopes:
|
|
15960
16158
|
- repo
|
|
@@ -16155,14 +16353,14 @@ paths:
|
|
|
16155
16353
|
content:
|
|
16156
16354
|
application/json:
|
|
16157
16355
|
schema:
|
|
16158
|
-
$ref: '#/components/schemas/
|
|
16356
|
+
$ref: '#/components/schemas/ConnectedAccountWriteResponse'
|
|
16159
16357
|
example:
|
|
16160
16358
|
object: connected_account
|
|
16161
16359
|
id: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
16162
16360
|
user_id: null
|
|
16163
16361
|
organization_id: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
16164
16362
|
connection_role: compatibility
|
|
16165
|
-
account_identifier:
|
|
16363
|
+
account_identifier: workspace_123
|
|
16166
16364
|
account_display_name: Acme production
|
|
16167
16365
|
scopes:
|
|
16168
16366
|
- repo
|
|
@@ -16416,14 +16614,14 @@ paths:
|
|
|
16416
16614
|
content:
|
|
16417
16615
|
application/json:
|
|
16418
16616
|
schema:
|
|
16419
|
-
$ref: '#/components/schemas/
|
|
16617
|
+
$ref: '#/components/schemas/ConnectedAccountWriteResponse'
|
|
16420
16618
|
example:
|
|
16421
16619
|
object: connected_account
|
|
16422
16620
|
id: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
16423
16621
|
user_id: null
|
|
16424
16622
|
organization_id: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
16425
16623
|
connection_role: compatibility
|
|
16426
|
-
account_identifier:
|
|
16624
|
+
account_identifier: workspace_123
|
|
16427
16625
|
account_display_name: Acme production
|
|
16428
16626
|
scopes:
|
|
16429
16627
|
- repo
|
|
@@ -16592,7 +16790,7 @@ paths:
|
|
|
16592
16790
|
user_id: null
|
|
16593
16791
|
organization_id: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
16594
16792
|
connection_role: compatibility
|
|
16595
|
-
account_identifier:
|
|
16793
|
+
account_identifier: workspace_123
|
|
16596
16794
|
account_display_name: Acme production
|
|
16597
16795
|
scopes:
|
|
16598
16796
|
- repo
|
|
@@ -25033,7 +25231,7 @@ paths:
|
|
|
25033
25231
|
content:
|
|
25034
25232
|
application/json:
|
|
25035
25233
|
schema:
|
|
25036
|
-
$ref: '#/components/schemas/
|
|
25234
|
+
$ref: '#/components/schemas/ConnectedAccountWriteResponse'
|
|
25037
25235
|
'401':
|
|
25038
25236
|
description: The request is missing a valid API key.
|
|
25039
25237
|
'404':
|
|
@@ -25270,7 +25468,7 @@ paths:
|
|
|
25270
25468
|
content:
|
|
25271
25469
|
application/json:
|
|
25272
25470
|
schema:
|
|
25273
|
-
$ref: '#/components/schemas/
|
|
25471
|
+
$ref: '#/components/schemas/ConnectedAccountWriteResponse'
|
|
25274
25472
|
'400':
|
|
25275
25473
|
description: The connected account selector is malformed.
|
|
25276
25474
|
content:
|
|
@@ -29487,6 +29685,21 @@ components:
|
|
|
29487
29685
|
CreateOrganizationConnectedAccountDto:
|
|
29488
29686
|
type: object
|
|
29489
29687
|
properties:
|
|
29688
|
+
account_display_name:
|
|
29689
|
+
type:
|
|
29690
|
+
- string
|
|
29691
|
+
- 'null'
|
|
29692
|
+
description: >-
|
|
29693
|
+
A mutable, non-unique connection label; null clears it. Not an
|
|
29694
|
+
account identifier.
|
|
29695
|
+
maxLength: 255
|
|
29696
|
+
example: Acme production
|
|
29697
|
+
account_identifier:
|
|
29698
|
+
type:
|
|
29699
|
+
- string
|
|
29700
|
+
- 'null'
|
|
29701
|
+
description: A developer-attested account identifier; null clears it.
|
|
29702
|
+
example: workspace_123
|
|
29490
29703
|
access_token:
|
|
29491
29704
|
type: string
|
|
29492
29705
|
description: The OAuth access token for the connected account.
|
|
@@ -29542,6 +29755,21 @@ components:
|
|
|
29542
29755
|
OrganizationConnectedAccountDto:
|
|
29543
29756
|
type: object
|
|
29544
29757
|
properties:
|
|
29758
|
+
account_display_name:
|
|
29759
|
+
type:
|
|
29760
|
+
- string
|
|
29761
|
+
- 'null'
|
|
29762
|
+
description: >-
|
|
29763
|
+
A mutable, non-unique connection label; null clears it. Not an
|
|
29764
|
+
account identifier.
|
|
29765
|
+
maxLength: 255
|
|
29766
|
+
example: Acme production
|
|
29767
|
+
account_identifier:
|
|
29768
|
+
type:
|
|
29769
|
+
- string
|
|
29770
|
+
- 'null'
|
|
29771
|
+
description: A developer-attested account identifier; null clears it.
|
|
29772
|
+
example: workspace_123
|
|
29545
29773
|
access_token:
|
|
29546
29774
|
type: string
|
|
29547
29775
|
description: The OAuth access token for the connected account.
|
|
@@ -29582,6 +29810,21 @@ components:
|
|
|
29582
29810
|
CreateConnectedAccountDto:
|
|
29583
29811
|
type: object
|
|
29584
29812
|
properties:
|
|
29813
|
+
account_display_name:
|
|
29814
|
+
type:
|
|
29815
|
+
- string
|
|
29816
|
+
- 'null'
|
|
29817
|
+
description: >-
|
|
29818
|
+
A mutable, non-unique connection label; null clears it. Not an
|
|
29819
|
+
account identifier.
|
|
29820
|
+
maxLength: 255
|
|
29821
|
+
example: Acme production
|
|
29822
|
+
account_identifier:
|
|
29823
|
+
type:
|
|
29824
|
+
- string
|
|
29825
|
+
- 'null'
|
|
29826
|
+
description: A developer-attested account identifier; null clears it.
|
|
29827
|
+
example: workspace_123
|
|
29585
29828
|
access_token:
|
|
29586
29829
|
type: string
|
|
29587
29830
|
description: The OAuth access token for the connected account.
|
|
@@ -29624,6 +29867,21 @@ components:
|
|
|
29624
29867
|
ConnectedAccountDto:
|
|
29625
29868
|
type: object
|
|
29626
29869
|
properties:
|
|
29870
|
+
account_display_name:
|
|
29871
|
+
type:
|
|
29872
|
+
- string
|
|
29873
|
+
- 'null'
|
|
29874
|
+
description: >-
|
|
29875
|
+
A mutable, non-unique connection label; null clears it. Not an
|
|
29876
|
+
account identifier.
|
|
29877
|
+
maxLength: 255
|
|
29878
|
+
example: Acme production
|
|
29879
|
+
account_identifier:
|
|
29880
|
+
type:
|
|
29881
|
+
- string
|
|
29882
|
+
- 'null'
|
|
29883
|
+
description: A developer-attested account identifier; null clears it.
|
|
29884
|
+
example: workspace_123
|
|
29627
29885
|
access_token:
|
|
29628
29886
|
type: string
|
|
29629
29887
|
description: The OAuth access token for the connected account.
|
|
@@ -30874,6 +31132,14 @@ components:
|
|
|
30874
31132
|
- authorization_code
|
|
30875
31133
|
- urn:ietf:params:oauth:grant-type:token-exchange
|
|
30876
31134
|
example: authorization_code
|
|
31135
|
+
code_verifier:
|
|
31136
|
+
type: string
|
|
31137
|
+
description: >-
|
|
31138
|
+
The PKCE code verifier matching the `code_challenge` sent with the
|
|
31139
|
+
authorization request. Required when the authorization request
|
|
31140
|
+
included a `code_challenge`. Must be sent in the request body.
|
|
31141
|
+
example: code_verifier_value
|
|
31142
|
+
format: password
|
|
30877
31143
|
subject_token:
|
|
30878
31144
|
type: string
|
|
30879
31145
|
description: >-
|
|
@@ -46691,7 +46957,7 @@ components:
|
|
|
46691
46957
|
required:
|
|
46692
46958
|
- active
|
|
46693
46959
|
- error
|
|
46694
|
-
|
|
46960
|
+
ConnectedAccountWriteResponse:
|
|
46695
46961
|
type: object
|
|
46696
46962
|
properties:
|
|
46697
46963
|
object:
|
|
@@ -46823,6 +47089,26 @@ components:
|
|
|
46823
47089
|
type: string
|
|
46824
47090
|
description: The timestamp when the connection was last updated.
|
|
46825
47091
|
example: '2024-01-16T14:20:00.000Z'
|
|
47092
|
+
warnings:
|
|
47093
|
+
type: array
|
|
47094
|
+
items:
|
|
47095
|
+
type: object
|
|
47096
|
+
properties:
|
|
47097
|
+
code:
|
|
47098
|
+
type: string
|
|
47099
|
+
const: duplicate_account_display_name
|
|
47100
|
+
message:
|
|
47101
|
+
type: string
|
|
47102
|
+
description: A human-readable explanation of the non-blocking warning.
|
|
47103
|
+
example: >-
|
|
47104
|
+
Another connection for this provider and owner has the same
|
|
47105
|
+
label.
|
|
47106
|
+
required:
|
|
47107
|
+
- code
|
|
47108
|
+
- message
|
|
47109
|
+
description: >-
|
|
47110
|
+
Non-blocking warnings about an explicitly supplied label, omitted
|
|
47111
|
+
when no duplicate exists. Reads do not include this field.
|
|
46826
47112
|
required:
|
|
46827
47113
|
- object
|
|
46828
47114
|
- id
|
|
@@ -47340,6 +47626,150 @@ components:
|
|
|
47340
47626
|
required:
|
|
47341
47627
|
- object
|
|
47342
47628
|
- data
|
|
47629
|
+
ConnectedAccount:
|
|
47630
|
+
type: object
|
|
47631
|
+
properties:
|
|
47632
|
+
object:
|
|
47633
|
+
type: string
|
|
47634
|
+
description: Distinguishes the connected account object.
|
|
47635
|
+
const: connected_account
|
|
47636
|
+
id:
|
|
47637
|
+
type: string
|
|
47638
|
+
description: The unique identifier of the connected account.
|
|
47639
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
47640
|
+
connection_role:
|
|
47641
|
+
type: string
|
|
47642
|
+
enum:
|
|
47643
|
+
- compatibility
|
|
47644
|
+
- standard
|
|
47645
|
+
description: >-
|
|
47646
|
+
Whether this row is the compatibility connection visible to
|
|
47647
|
+
undeclared clients or a standard peer for plural-aware clients. The
|
|
47648
|
+
role does not indicate preference or creation order.
|
|
47649
|
+
example: compatibility
|
|
47650
|
+
account_identifier:
|
|
47651
|
+
type:
|
|
47652
|
+
- string
|
|
47653
|
+
- 'null'
|
|
47654
|
+
description: >-
|
|
47655
|
+
A best-effort identifier for the provider account this connection
|
|
47656
|
+
points at. It is correlation metadata, not the connection identifier
|
|
47657
|
+
or a selector.
|
|
47658
|
+
example: workspace_123
|
|
47659
|
+
account_display_name:
|
|
47660
|
+
type:
|
|
47661
|
+
- string
|
|
47662
|
+
- 'null'
|
|
47663
|
+
description: >-
|
|
47664
|
+
A mutable, non-unique display name for the provider account
|
|
47665
|
+
connection.
|
|
47666
|
+
example: Acme production
|
|
47667
|
+
user_id:
|
|
47668
|
+
type:
|
|
47669
|
+
- string
|
|
47670
|
+
- 'null'
|
|
47671
|
+
description: >-
|
|
47672
|
+
The [User](/reference/authkit/user) identifier associated with this
|
|
47673
|
+
connection.
|
|
47674
|
+
example: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
47675
|
+
organization_id:
|
|
47676
|
+
type:
|
|
47677
|
+
- string
|
|
47678
|
+
- 'null'
|
|
47679
|
+
description: >-
|
|
47680
|
+
The [Organization](/reference/organization) identifier associated
|
|
47681
|
+
with this connection, or `null` if not scoped to an organization.
|
|
47682
|
+
example: null
|
|
47683
|
+
scopes:
|
|
47684
|
+
type: array
|
|
47685
|
+
items:
|
|
47686
|
+
type: string
|
|
47687
|
+
description: The OAuth scopes granted for this connection.
|
|
47688
|
+
example:
|
|
47689
|
+
- repo
|
|
47690
|
+
- user:email
|
|
47691
|
+
auth_method:
|
|
47692
|
+
type: string
|
|
47693
|
+
enum:
|
|
47694
|
+
- oauth
|
|
47695
|
+
- api_key
|
|
47696
|
+
- client_credentials
|
|
47697
|
+
description: >-
|
|
47698
|
+
The authentication method used for this connection (`oauth`,
|
|
47699
|
+
`api_key`, or `client_credentials`). Defaults to `oauth` if absent.
|
|
47700
|
+
example: oauth
|
|
47701
|
+
api_key_last_4:
|
|
47702
|
+
type:
|
|
47703
|
+
- string
|
|
47704
|
+
- 'null'
|
|
47705
|
+
description: >-
|
|
47706
|
+
The last four characters of the API key, or `null` for OAuth
|
|
47707
|
+
connections.
|
|
47708
|
+
example: null
|
|
47709
|
+
client_id:
|
|
47710
|
+
type:
|
|
47711
|
+
- string
|
|
47712
|
+
- 'null'
|
|
47713
|
+
description: >-
|
|
47714
|
+
The client ID supplied for this connection. Only present when
|
|
47715
|
+
`auth_method` is `client_credentials`.
|
|
47716
|
+
example: 3MVG9dZJodJWxft2VoStSCVwPFsx0eDcpVc
|
|
47717
|
+
client_secret_last_4:
|
|
47718
|
+
type:
|
|
47719
|
+
- string
|
|
47720
|
+
- 'null'
|
|
47721
|
+
description: >-
|
|
47722
|
+
The last four characters of the client secret supplied for this
|
|
47723
|
+
connection, or `null` when it can't be read. Only present when
|
|
47724
|
+
`auth_method` is `client_credentials`.
|
|
47725
|
+
example: cdef
|
|
47726
|
+
config:
|
|
47727
|
+
type: object
|
|
47728
|
+
additionalProperties:
|
|
47729
|
+
type: string
|
|
47730
|
+
description: >-
|
|
47731
|
+
The connection-level configuration values stored for this connection
|
|
47732
|
+
— the fields the provider declares at `installation` scope,
|
|
47733
|
+
excluding secret and undeclared fields. Returned for every
|
|
47734
|
+
authentication method; empty when no stored values can be disclosed.
|
|
47735
|
+
example:
|
|
47736
|
+
instance_url: https://example.my.salesforce.com
|
|
47737
|
+
state:
|
|
47738
|
+
type: string
|
|
47739
|
+
enum:
|
|
47740
|
+
- connected
|
|
47741
|
+
- needs_reauthorization
|
|
47742
|
+
- disconnected
|
|
47743
|
+
description: >-
|
|
47744
|
+
The state of the connected account:
|
|
47745
|
+
|
|
47746
|
+
- `connected`: The connection is active and tokens are valid.
|
|
47747
|
+
|
|
47748
|
+
- `needs_reauthorization`: The user needs to reauthorize the
|
|
47749
|
+
connection, typically because required scopes have changed.
|
|
47750
|
+
|
|
47751
|
+
- `disconnected`: The connection has been disconnected.
|
|
47752
|
+
example: connected
|
|
47753
|
+
created_at:
|
|
47754
|
+
type: string
|
|
47755
|
+
description: The timestamp when the connection was created.
|
|
47756
|
+
example: '2024-01-16T14:20:00.000Z'
|
|
47757
|
+
updated_at:
|
|
47758
|
+
type: string
|
|
47759
|
+
description: The timestamp when the connection was last updated.
|
|
47760
|
+
example: '2024-01-16T14:20:00.000Z'
|
|
47761
|
+
required:
|
|
47762
|
+
- object
|
|
47763
|
+
- id
|
|
47764
|
+
- connection_role
|
|
47765
|
+
- account_identifier
|
|
47766
|
+
- account_display_name
|
|
47767
|
+
- user_id
|
|
47768
|
+
- organization_id
|
|
47769
|
+
- scopes
|
|
47770
|
+
- state
|
|
47771
|
+
- created_at
|
|
47772
|
+
- updated_at
|
|
47343
47773
|
PortalLinkResponse:
|
|
47344
47774
|
type: object
|
|
47345
47775
|
properties:
|
package/dist/types.d.ts
CHANGED
|
@@ -5558,6 +5558,16 @@ export interface components {
|
|
|
5558
5558
|
custom_provider?: components["schemas"]["UpdateCustomProviderDefinitionDto"];
|
|
5559
5559
|
};
|
|
5560
5560
|
CreateOrganizationConnectedAccountDto: {
|
|
5561
|
+
/**
|
|
5562
|
+
* @description A mutable, non-unique connection label; null clears it. Not an account identifier.
|
|
5563
|
+
* @example Acme production
|
|
5564
|
+
*/
|
|
5565
|
+
account_display_name?: string | null;
|
|
5566
|
+
/**
|
|
5567
|
+
* @description A developer-attested account identifier; null clears it.
|
|
5568
|
+
* @example workspace_123
|
|
5569
|
+
*/
|
|
5570
|
+
account_identifier?: string | null;
|
|
5561
5571
|
/**
|
|
5562
5572
|
* @description The OAuth access token for the connected account.
|
|
5563
5573
|
* @example gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
@@ -5601,6 +5611,16 @@ export interface components {
|
|
|
5601
5611
|
connection_intent?: "add";
|
|
5602
5612
|
};
|
|
5603
5613
|
OrganizationConnectedAccountDto: {
|
|
5614
|
+
/**
|
|
5615
|
+
* @description A mutable, non-unique connection label; null clears it. Not an account identifier.
|
|
5616
|
+
* @example Acme production
|
|
5617
|
+
*/
|
|
5618
|
+
account_display_name?: string | null;
|
|
5619
|
+
/**
|
|
5620
|
+
* @description A developer-attested account identifier; null clears it.
|
|
5621
|
+
* @example workspace_123
|
|
5622
|
+
*/
|
|
5623
|
+
account_identifier?: string | null;
|
|
5604
5624
|
/**
|
|
5605
5625
|
* @description The OAuth access token for the connected account.
|
|
5606
5626
|
* @example gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
@@ -5638,6 +5658,16 @@ export interface components {
|
|
|
5638
5658
|
user_id: string;
|
|
5639
5659
|
};
|
|
5640
5660
|
CreateConnectedAccountDto: {
|
|
5661
|
+
/**
|
|
5662
|
+
* @description A mutable, non-unique connection label; null clears it. Not an account identifier.
|
|
5663
|
+
* @example Acme production
|
|
5664
|
+
*/
|
|
5665
|
+
account_display_name?: string | null;
|
|
5666
|
+
/**
|
|
5667
|
+
* @description A developer-attested account identifier; null clears it.
|
|
5668
|
+
* @example workspace_123
|
|
5669
|
+
*/
|
|
5670
|
+
account_identifier?: string | null;
|
|
5641
5671
|
/**
|
|
5642
5672
|
* @description The OAuth access token for the connected account.
|
|
5643
5673
|
* @example gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
@@ -5676,6 +5706,16 @@ export interface components {
|
|
|
5676
5706
|
connection_intent?: "add";
|
|
5677
5707
|
};
|
|
5678
5708
|
ConnectedAccountDto: {
|
|
5709
|
+
/**
|
|
5710
|
+
* @description A mutable, non-unique connection label; null clears it. Not an account identifier.
|
|
5711
|
+
* @example Acme production
|
|
5712
|
+
*/
|
|
5713
|
+
account_display_name?: string | null;
|
|
5714
|
+
/**
|
|
5715
|
+
* @description A developer-attested account identifier; null clears it.
|
|
5716
|
+
* @example workspace_123
|
|
5717
|
+
*/
|
|
5718
|
+
account_identifier?: string | null;
|
|
5679
5719
|
/**
|
|
5680
5720
|
* @description The OAuth access token for the connected account.
|
|
5681
5721
|
* @example gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
@@ -6290,6 +6330,12 @@ export interface components {
|
|
|
6290
6330
|
* @enum {string}
|
|
6291
6331
|
*/
|
|
6292
6332
|
grant_type: "authorization_code" | "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
6333
|
+
/**
|
|
6334
|
+
* Format: password
|
|
6335
|
+
* @description The PKCE code verifier matching the `code_challenge` sent with the authorization request. Required when the authorization request included a `code_challenge`. Must be sent in the request body.
|
|
6336
|
+
* @example code_verifier_value
|
|
6337
|
+
*/
|
|
6338
|
+
code_verifier?: string;
|
|
6293
6339
|
/**
|
|
6294
6340
|
* @description The OIDC ID token to exchange. Required when `grant_type` is `urn:ietf:params:oauth:grant-type:token-exchange`. Must be sent in the request body.
|
|
6295
6341
|
* @example eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjMifQ.example
|
|
@@ -18448,7 +18494,7 @@ export interface components {
|
|
|
18448
18494
|
*/
|
|
18449
18495
|
error: "not_installed" | "needs_reauthorization";
|
|
18450
18496
|
};
|
|
18451
|
-
|
|
18497
|
+
ConnectedAccountWriteResponse: {
|
|
18452
18498
|
/**
|
|
18453
18499
|
* @description Distinguishes the connected account object.
|
|
18454
18500
|
* @constant
|
|
@@ -18542,6 +18588,16 @@ export interface components {
|
|
|
18542
18588
|
* @example 2024-01-16T14:20:00.000Z
|
|
18543
18589
|
*/
|
|
18544
18590
|
updated_at: string;
|
|
18591
|
+
/** @description Non-blocking warnings about an explicitly supplied label, omitted when no duplicate exists. Reads do not include this field. */
|
|
18592
|
+
warnings?: {
|
|
18593
|
+
/** @constant */
|
|
18594
|
+
code: "duplicate_account_display_name";
|
|
18595
|
+
/**
|
|
18596
|
+
* @description A human-readable explanation of the non-blocking warning.
|
|
18597
|
+
* @example Another connection for this provider and owner has the same label.
|
|
18598
|
+
*/
|
|
18599
|
+
message: string;
|
|
18600
|
+
}[];
|
|
18545
18601
|
};
|
|
18546
18602
|
DataIntegrationsListResponse: {
|
|
18547
18603
|
/**
|
|
@@ -18877,6 +18933,101 @@ export interface components {
|
|
|
18877
18933
|
}[];
|
|
18878
18934
|
}[];
|
|
18879
18935
|
};
|
|
18936
|
+
ConnectedAccount: {
|
|
18937
|
+
/**
|
|
18938
|
+
* @description Distinguishes the connected account object.
|
|
18939
|
+
* @constant
|
|
18940
|
+
*/
|
|
18941
|
+
object: "connected_account";
|
|
18942
|
+
/**
|
|
18943
|
+
* @description The unique identifier of the connected account.
|
|
18944
|
+
* @example data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
18945
|
+
*/
|
|
18946
|
+
id: string;
|
|
18947
|
+
/**
|
|
18948
|
+
* @description Whether this row is the compatibility connection visible to undeclared clients or a standard peer for plural-aware clients. The role does not indicate preference or creation order.
|
|
18949
|
+
* @example compatibility
|
|
18950
|
+
* @enum {string}
|
|
18951
|
+
*/
|
|
18952
|
+
connection_role: "compatibility" | "standard";
|
|
18953
|
+
/**
|
|
18954
|
+
* @description A best-effort identifier for the provider account this connection points at. It is correlation metadata, not the connection identifier or a selector.
|
|
18955
|
+
* @example workspace_123
|
|
18956
|
+
*/
|
|
18957
|
+
account_identifier: string | null;
|
|
18958
|
+
/**
|
|
18959
|
+
* @description A mutable, non-unique display name for the provider account connection.
|
|
18960
|
+
* @example Acme production
|
|
18961
|
+
*/
|
|
18962
|
+
account_display_name: string | null;
|
|
18963
|
+
/**
|
|
18964
|
+
* @description The [User](/reference/authkit/user) identifier associated with this connection.
|
|
18965
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
18966
|
+
*/
|
|
18967
|
+
user_id: string | null;
|
|
18968
|
+
/**
|
|
18969
|
+
* @description The [Organization](/reference/organization) identifier associated with this connection, or `null` if not scoped to an organization.
|
|
18970
|
+
* @example null
|
|
18971
|
+
*/
|
|
18972
|
+
organization_id: string | null;
|
|
18973
|
+
/**
|
|
18974
|
+
* @description The OAuth scopes granted for this connection.
|
|
18975
|
+
* @example [
|
|
18976
|
+
* "repo",
|
|
18977
|
+
* "user:email"
|
|
18978
|
+
* ]
|
|
18979
|
+
*/
|
|
18980
|
+
scopes: string[];
|
|
18981
|
+
/**
|
|
18982
|
+
* @description The authentication method used for this connection (`oauth`, `api_key`, or `client_credentials`). Defaults to `oauth` if absent.
|
|
18983
|
+
* @example oauth
|
|
18984
|
+
* @enum {string}
|
|
18985
|
+
*/
|
|
18986
|
+
auth_method?: "oauth" | "api_key" | "client_credentials";
|
|
18987
|
+
/**
|
|
18988
|
+
* @description The last four characters of the API key, or `null` for OAuth connections.
|
|
18989
|
+
* @example null
|
|
18990
|
+
*/
|
|
18991
|
+
api_key_last_4?: string | null;
|
|
18992
|
+
/**
|
|
18993
|
+
* @description The client ID supplied for this connection. Only present when `auth_method` is `client_credentials`.
|
|
18994
|
+
* @example 3MVG9dZJodJWxft2VoStSCVwPFsx0eDcpVc
|
|
18995
|
+
*/
|
|
18996
|
+
client_id?: string | null;
|
|
18997
|
+
/**
|
|
18998
|
+
* @description The last four characters of the client secret supplied for this connection, or `null` when it can't be read. Only present when `auth_method` is `client_credentials`.
|
|
18999
|
+
* @example cdef
|
|
19000
|
+
*/
|
|
19001
|
+
client_secret_last_4?: string | null;
|
|
19002
|
+
/**
|
|
19003
|
+
* @description The connection-level configuration values stored for this connection — the fields the provider declares at `installation` scope, excluding secret and undeclared fields. Returned for every authentication method; empty when no stored values can be disclosed.
|
|
19004
|
+
* @example {
|
|
19005
|
+
* "instance_url": "https://example.my.salesforce.com"
|
|
19006
|
+
* }
|
|
19007
|
+
*/
|
|
19008
|
+
config?: {
|
|
19009
|
+
[key: string]: string;
|
|
19010
|
+
};
|
|
19011
|
+
/**
|
|
19012
|
+
* @description The state of the connected account:
|
|
19013
|
+
* - `connected`: The connection is active and tokens are valid.
|
|
19014
|
+
* - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed.
|
|
19015
|
+
* - `disconnected`: The connection has been disconnected.
|
|
19016
|
+
* @example connected
|
|
19017
|
+
* @enum {string}
|
|
19018
|
+
*/
|
|
19019
|
+
state: "connected" | "needs_reauthorization" | "disconnected";
|
|
19020
|
+
/**
|
|
19021
|
+
* @description The timestamp when the connection was created.
|
|
19022
|
+
* @example 2024-01-16T14:20:00.000Z
|
|
19023
|
+
*/
|
|
19024
|
+
created_at: string;
|
|
19025
|
+
/**
|
|
19026
|
+
* @description The timestamp when the connection was last updated.
|
|
19027
|
+
* @example 2024-01-16T14:20:00.000Z
|
|
19028
|
+
*/
|
|
19029
|
+
updated_at: string;
|
|
19030
|
+
};
|
|
18880
19031
|
PortalLinkResponse: {
|
|
18881
19032
|
/**
|
|
18882
19033
|
* Format: password
|
|
@@ -29802,6 +29953,16 @@ export interface operations {
|
|
|
29802
29953
|
requestBody: {
|
|
29803
29954
|
content: {
|
|
29804
29955
|
"application/json": {
|
|
29956
|
+
/**
|
|
29957
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
29958
|
+
* @example Acme production
|
|
29959
|
+
*/
|
|
29960
|
+
account_display_name?: string | null;
|
|
29961
|
+
/**
|
|
29962
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
29963
|
+
* @example workspace_123
|
|
29964
|
+
*/
|
|
29965
|
+
account_identifier?: string | null;
|
|
29805
29966
|
/**
|
|
29806
29967
|
* @description A [User](/reference/authkit/user) identifier.
|
|
29807
29968
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -29824,6 +29985,16 @@ export interface operations {
|
|
|
29824
29985
|
*/
|
|
29825
29986
|
secret: string;
|
|
29826
29987
|
} | {
|
|
29988
|
+
/**
|
|
29989
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
29990
|
+
* @example Acme production
|
|
29991
|
+
*/
|
|
29992
|
+
account_display_name?: string | null;
|
|
29993
|
+
/**
|
|
29994
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
29995
|
+
* @example workspace_123
|
|
29996
|
+
*/
|
|
29997
|
+
account_identifier?: string | null;
|
|
29827
29998
|
/**
|
|
29828
29999
|
* @description A [User](/reference/authkit/user) identifier.
|
|
29829
30000
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -29857,6 +30028,16 @@ export interface operations {
|
|
|
29857
30028
|
*/
|
|
29858
30029
|
connected_account_id: string;
|
|
29859
30030
|
} | {
|
|
30031
|
+
/**
|
|
30032
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30033
|
+
* @example Acme production
|
|
30034
|
+
*/
|
|
30035
|
+
account_display_name?: string | null;
|
|
30036
|
+
/**
|
|
30037
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
30038
|
+
* @example workspace_123
|
|
30039
|
+
*/
|
|
30040
|
+
account_identifier?: string | null;
|
|
29860
30041
|
/**
|
|
29861
30042
|
* @description A [User](/reference/authkit/user) identifier.
|
|
29862
30043
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -29898,8 +30079,8 @@ export interface operations {
|
|
|
29898
30079
|
* "object": "connected_account",
|
|
29899
30080
|
* "id": "data_installation_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
29900
30081
|
* "connection_role": "compatibility",
|
|
29901
|
-
* "account_identifier":
|
|
29902
|
-
* "account_display_name":
|
|
30082
|
+
* "account_identifier": "workspace_123",
|
|
30083
|
+
* "account_display_name": "Acme production",
|
|
29903
30084
|
* "user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
29904
30085
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
29905
30086
|
* "scopes": [],
|
|
@@ -29910,7 +30091,7 @@ export interface operations {
|
|
|
29910
30091
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
29911
30092
|
* }
|
|
29912
30093
|
*/
|
|
29913
|
-
"application/json": components["schemas"]["
|
|
30094
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
29914
30095
|
};
|
|
29915
30096
|
};
|
|
29916
30097
|
/** @description Bad Request */
|
|
@@ -29920,11 +30101,7 @@ export interface operations {
|
|
|
29920
30101
|
};
|
|
29921
30102
|
content: {
|
|
29922
30103
|
"application/json": {
|
|
29923
|
-
|
|
29924
|
-
* @description A human-readable description of the error.
|
|
29925
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
29926
|
-
*/
|
|
29927
|
-
message: string;
|
|
30104
|
+
message: string | string[];
|
|
29928
30105
|
};
|
|
29929
30106
|
};
|
|
29930
30107
|
};
|
|
@@ -30010,6 +30187,16 @@ export interface operations {
|
|
|
30010
30187
|
requestBody: {
|
|
30011
30188
|
content: {
|
|
30012
30189
|
"application/json": {
|
|
30190
|
+
/**
|
|
30191
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30192
|
+
* @example Acme production
|
|
30193
|
+
*/
|
|
30194
|
+
account_display_name?: string | null;
|
|
30195
|
+
/**
|
|
30196
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
30197
|
+
* @example workspace_123
|
|
30198
|
+
*/
|
|
30199
|
+
account_identifier?: string | null;
|
|
30013
30200
|
/**
|
|
30014
30201
|
* @description A [User](/reference/authkit/user) identifier.
|
|
30015
30202
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30052,8 +30239,8 @@ export interface operations {
|
|
|
30052
30239
|
* "object": "connected_account",
|
|
30053
30240
|
* "id": "data_installation_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30054
30241
|
* "connection_role": "standard",
|
|
30055
|
-
* "account_identifier":
|
|
30056
|
-
* "account_display_name":
|
|
30242
|
+
* "account_identifier": "workspace_123",
|
|
30243
|
+
* "account_display_name": "Acme production",
|
|
30057
30244
|
* "user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30058
30245
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30059
30246
|
* "scopes": [],
|
|
@@ -30064,7 +30251,7 @@ export interface operations {
|
|
|
30064
30251
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
30065
30252
|
* }
|
|
30066
30253
|
*/
|
|
30067
|
-
"application/json": components["schemas"]["
|
|
30254
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
30068
30255
|
};
|
|
30069
30256
|
};
|
|
30070
30257
|
/** @description The request is invalid, including a missing `connection_intent: add` or a supplied `connected_account_id`. */
|
|
@@ -30074,11 +30261,7 @@ export interface operations {
|
|
|
30074
30261
|
};
|
|
30075
30262
|
content: {
|
|
30076
30263
|
"application/json": {
|
|
30077
|
-
|
|
30078
|
-
* @description A human-readable description of the error.
|
|
30079
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
30080
|
-
*/
|
|
30081
|
-
message: string;
|
|
30264
|
+
message: string | string[];
|
|
30082
30265
|
};
|
|
30083
30266
|
};
|
|
30084
30267
|
};
|
|
@@ -30194,6 +30377,11 @@ export interface operations {
|
|
|
30194
30377
|
requestBody: {
|
|
30195
30378
|
content: {
|
|
30196
30379
|
"application/json": {
|
|
30380
|
+
/**
|
|
30381
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30382
|
+
* @example Acme production
|
|
30383
|
+
*/
|
|
30384
|
+
account_display_name?: string | null;
|
|
30197
30385
|
/**
|
|
30198
30386
|
* @description The ID of the user to authorize. When `connection_owner` is `organization`, this is the user authorizing on behalf of the organization; they must be an active member of the organization and do not become the owner of the resulting connected account.
|
|
30199
30387
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30226,6 +30414,11 @@ export interface operations {
|
|
|
30226
30414
|
[key: string]: string;
|
|
30227
30415
|
};
|
|
30228
30416
|
} | {
|
|
30417
|
+
/**
|
|
30418
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30419
|
+
* @example Acme production
|
|
30420
|
+
*/
|
|
30421
|
+
account_display_name?: string | null;
|
|
30229
30422
|
/**
|
|
30230
30423
|
* @description The ID of the user to authorize. When `connection_owner` is `organization`, this is the user authorizing on behalf of the organization; they must be an active member of the organization and do not become the owner of the resulting connected account.
|
|
30231
30424
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30264,6 +30457,11 @@ export interface operations {
|
|
|
30264
30457
|
*/
|
|
30265
30458
|
connection_intent: "add";
|
|
30266
30459
|
} | {
|
|
30460
|
+
/**
|
|
30461
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30462
|
+
* @example Acme production
|
|
30463
|
+
*/
|
|
30464
|
+
account_display_name?: string | null;
|
|
30267
30465
|
/**
|
|
30268
30466
|
* @description The ID of the user to authorize. When `connection_owner` is `organization`, this is the user authorizing on behalf of the organization; they must be an active member of the organization and do not become the owner of the resulting connected account.
|
|
30269
30467
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30326,11 +30524,7 @@ export interface operations {
|
|
|
30326
30524
|
};
|
|
30327
30525
|
content: {
|
|
30328
30526
|
"application/json": {
|
|
30329
|
-
|
|
30330
|
-
* @description A human-readable description of the error.
|
|
30331
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
30332
|
-
*/
|
|
30333
|
-
message: string;
|
|
30527
|
+
message: string | string[];
|
|
30334
30528
|
};
|
|
30335
30529
|
};
|
|
30336
30530
|
};
|
|
@@ -30434,6 +30628,16 @@ export interface operations {
|
|
|
30434
30628
|
requestBody: {
|
|
30435
30629
|
content: {
|
|
30436
30630
|
"application/json": {
|
|
30631
|
+
/**
|
|
30632
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30633
|
+
* @example Acme production
|
|
30634
|
+
*/
|
|
30635
|
+
account_display_name?: string | null;
|
|
30636
|
+
/**
|
|
30637
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
30638
|
+
* @example workspace_123
|
|
30639
|
+
*/
|
|
30640
|
+
account_identifier?: string | null;
|
|
30437
30641
|
/**
|
|
30438
30642
|
* @description A [User](/reference/authkit/user) identifier.
|
|
30439
30643
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30470,6 +30674,16 @@ export interface operations {
|
|
|
30470
30674
|
[key: string]: string;
|
|
30471
30675
|
};
|
|
30472
30676
|
} | {
|
|
30677
|
+
/**
|
|
30678
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30679
|
+
* @example Acme production
|
|
30680
|
+
*/
|
|
30681
|
+
account_display_name?: string | null;
|
|
30682
|
+
/**
|
|
30683
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
30684
|
+
* @example workspace_123
|
|
30685
|
+
*/
|
|
30686
|
+
account_identifier?: string | null;
|
|
30473
30687
|
/**
|
|
30474
30688
|
* @description A [User](/reference/authkit/user) identifier.
|
|
30475
30689
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30517,6 +30731,16 @@ export interface operations {
|
|
|
30517
30731
|
*/
|
|
30518
30732
|
connected_account_id: string;
|
|
30519
30733
|
} | {
|
|
30734
|
+
/**
|
|
30735
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30736
|
+
* @example Acme production
|
|
30737
|
+
*/
|
|
30738
|
+
account_display_name?: string | null;
|
|
30739
|
+
/**
|
|
30740
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
30741
|
+
* @example workspace_123
|
|
30742
|
+
*/
|
|
30743
|
+
account_identifier?: string | null;
|
|
30520
30744
|
/**
|
|
30521
30745
|
* @description A [User](/reference/authkit/user) identifier.
|
|
30522
30746
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30572,8 +30796,8 @@ export interface operations {
|
|
|
30572
30796
|
* "object": "connected_account",
|
|
30573
30797
|
* "id": "data_installation_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30574
30798
|
* "connection_role": "compatibility",
|
|
30575
|
-
* "account_identifier":
|
|
30576
|
-
* "account_display_name":
|
|
30799
|
+
* "account_identifier": "workspace_123",
|
|
30800
|
+
* "account_display_name": "Acme production",
|
|
30577
30801
|
* "user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30578
30802
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30579
30803
|
* "scopes": [],
|
|
@@ -30583,7 +30807,7 @@ export interface operations {
|
|
|
30583
30807
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
30584
30808
|
* }
|
|
30585
30809
|
*/
|
|
30586
|
-
"application/json": components["schemas"]["
|
|
30810
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
30587
30811
|
};
|
|
30588
30812
|
};
|
|
30589
30813
|
/** @description Bad Request */
|
|
@@ -30593,11 +30817,7 @@ export interface operations {
|
|
|
30593
30817
|
};
|
|
30594
30818
|
content: {
|
|
30595
30819
|
"application/json": {
|
|
30596
|
-
|
|
30597
|
-
* @description A human-readable description of the error.
|
|
30598
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
30599
|
-
*/
|
|
30600
|
-
message: string;
|
|
30820
|
+
message: string | string[];
|
|
30601
30821
|
};
|
|
30602
30822
|
};
|
|
30603
30823
|
};
|
|
@@ -30683,6 +30903,16 @@ export interface operations {
|
|
|
30683
30903
|
requestBody: {
|
|
30684
30904
|
content: {
|
|
30685
30905
|
"application/json": {
|
|
30906
|
+
/**
|
|
30907
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30908
|
+
* @example Acme production
|
|
30909
|
+
*/
|
|
30910
|
+
account_display_name?: string | null;
|
|
30911
|
+
/**
|
|
30912
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
30913
|
+
* @example workspace_123
|
|
30914
|
+
*/
|
|
30915
|
+
account_identifier?: string | null;
|
|
30686
30916
|
/**
|
|
30687
30917
|
* @description A [User](/reference/authkit/user) identifier.
|
|
30688
30918
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30739,8 +30969,8 @@ export interface operations {
|
|
|
30739
30969
|
* "object": "connected_account",
|
|
30740
30970
|
* "id": "data_installation_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30741
30971
|
* "connection_role": "standard",
|
|
30742
|
-
* "account_identifier":
|
|
30743
|
-
* "account_display_name":
|
|
30972
|
+
* "account_identifier": "workspace_123",
|
|
30973
|
+
* "account_display_name": "Acme production",
|
|
30744
30974
|
* "user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30745
30975
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30746
30976
|
* "scopes": [],
|
|
@@ -30750,7 +30980,7 @@ export interface operations {
|
|
|
30750
30980
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
30751
30981
|
* }
|
|
30752
30982
|
*/
|
|
30753
|
-
"application/json": components["schemas"]["
|
|
30983
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
30754
30984
|
};
|
|
30755
30985
|
};
|
|
30756
30986
|
/** @description The request is invalid, including a missing `connection_intent: add` or a supplied `connected_account_id`. */
|
|
@@ -30760,11 +30990,7 @@ export interface operations {
|
|
|
30760
30990
|
};
|
|
30761
30991
|
content: {
|
|
30762
30992
|
"application/json": {
|
|
30763
|
-
|
|
30764
|
-
* @description A human-readable description of the error.
|
|
30765
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
30766
|
-
*/
|
|
30767
|
-
message: string;
|
|
30993
|
+
message: string | string[];
|
|
30768
30994
|
};
|
|
30769
30995
|
};
|
|
30770
30996
|
};
|
|
@@ -34314,7 +34540,7 @@ export interface operations {
|
|
|
34314
34540
|
* "user_id": null,
|
|
34315
34541
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
34316
34542
|
* "connection_role": "compatibility",
|
|
34317
|
-
* "account_identifier": "
|
|
34543
|
+
* "account_identifier": "workspace_123",
|
|
34318
34544
|
* "account_display_name": "Acme production",
|
|
34319
34545
|
* "scopes": [
|
|
34320
34546
|
* "repo",
|
|
@@ -34421,7 +34647,7 @@ export interface operations {
|
|
|
34421
34647
|
* "user_id": null,
|
|
34422
34648
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
34423
34649
|
* "connection_role": "compatibility",
|
|
34424
|
-
* "account_identifier": "
|
|
34650
|
+
* "account_identifier": "workspace_123",
|
|
34425
34651
|
* "account_display_name": "Acme production",
|
|
34426
34652
|
* "scopes": [
|
|
34427
34653
|
* "repo",
|
|
@@ -34439,7 +34665,7 @@ export interface operations {
|
|
|
34439
34665
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
34440
34666
|
* }
|
|
34441
34667
|
*/
|
|
34442
|
-
"application/json": components["schemas"]["
|
|
34668
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
34443
34669
|
};
|
|
34444
34670
|
};
|
|
34445
34671
|
/** @description The connected account selector is malformed. */
|
|
@@ -34570,7 +34796,7 @@ export interface operations {
|
|
|
34570
34796
|
* "user_id": null,
|
|
34571
34797
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
34572
34798
|
* "connection_role": "compatibility",
|
|
34573
|
-
* "account_identifier": "
|
|
34799
|
+
* "account_identifier": "workspace_123",
|
|
34574
34800
|
* "account_display_name": "Acme production",
|
|
34575
34801
|
* "scopes": [
|
|
34576
34802
|
* "repo",
|
|
@@ -34588,7 +34814,7 @@ export interface operations {
|
|
|
34588
34814
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
34589
34815
|
* }
|
|
34590
34816
|
*/
|
|
34591
|
-
"application/json": components["schemas"]["
|
|
34817
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
34592
34818
|
};
|
|
34593
34819
|
};
|
|
34594
34820
|
/** @description The request is missing a valid API key. */
|
|
@@ -34885,7 +35111,7 @@ export interface operations {
|
|
|
34885
35111
|
* "user_id": null,
|
|
34886
35112
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
34887
35113
|
* "connection_role": "compatibility",
|
|
34888
|
-
* "account_identifier": "
|
|
35114
|
+
* "account_identifier": "workspace_123",
|
|
34889
35115
|
* "account_display_name": "Acme production",
|
|
34890
35116
|
* "scopes": [
|
|
34891
35117
|
* "repo",
|
|
@@ -34913,7 +35139,7 @@ export interface operations {
|
|
|
34913
35139
|
* "user_id": null,
|
|
34914
35140
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
34915
35141
|
* "connection_role": "compatibility",
|
|
34916
|
-
* "account_identifier": "
|
|
35142
|
+
* "account_identifier": "workspace_123",
|
|
34917
35143
|
* "account_display_name": "Acme production",
|
|
34918
35144
|
* "scopes": [
|
|
34919
35145
|
* "repo",
|
|
@@ -42050,7 +42276,7 @@ export interface operations {
|
|
|
42050
42276
|
[name: string]: unknown;
|
|
42051
42277
|
};
|
|
42052
42278
|
content: {
|
|
42053
|
-
"application/json": components["schemas"]["
|
|
42279
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
42054
42280
|
};
|
|
42055
42281
|
};
|
|
42056
42282
|
/** @description The connected account selector is malformed. */
|
|
@@ -42195,7 +42421,7 @@ export interface operations {
|
|
|
42195
42421
|
[name: string]: unknown;
|
|
42196
42422
|
};
|
|
42197
42423
|
content: {
|
|
42198
|
-
"application/json": components["schemas"]["
|
|
42424
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
42199
42425
|
};
|
|
42200
42426
|
};
|
|
42201
42427
|
/** @description The request is missing a valid API key. */
|