@workos/openapi-spec 0.121.0 → 0.122.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 +458 -36
- package/dist/types.d.ts +267 -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.
|
|
@@ -46691,7 +46949,7 @@ components:
|
|
|
46691
46949
|
required:
|
|
46692
46950
|
- active
|
|
46693
46951
|
- error
|
|
46694
|
-
|
|
46952
|
+
ConnectedAccountWriteResponse:
|
|
46695
46953
|
type: object
|
|
46696
46954
|
properties:
|
|
46697
46955
|
object:
|
|
@@ -46823,6 +47081,26 @@ components:
|
|
|
46823
47081
|
type: string
|
|
46824
47082
|
description: The timestamp when the connection was last updated.
|
|
46825
47083
|
example: '2024-01-16T14:20:00.000Z'
|
|
47084
|
+
warnings:
|
|
47085
|
+
type: array
|
|
47086
|
+
items:
|
|
47087
|
+
type: object
|
|
47088
|
+
properties:
|
|
47089
|
+
code:
|
|
47090
|
+
type: string
|
|
47091
|
+
const: duplicate_account_display_name
|
|
47092
|
+
message:
|
|
47093
|
+
type: string
|
|
47094
|
+
description: A human-readable explanation of the non-blocking warning.
|
|
47095
|
+
example: >-
|
|
47096
|
+
Another connection for this provider and owner has the same
|
|
47097
|
+
label.
|
|
47098
|
+
required:
|
|
47099
|
+
- code
|
|
47100
|
+
- message
|
|
47101
|
+
description: >-
|
|
47102
|
+
Non-blocking warnings about an explicitly supplied label, omitted
|
|
47103
|
+
when no duplicate exists. Reads do not include this field.
|
|
46826
47104
|
required:
|
|
46827
47105
|
- object
|
|
46828
47106
|
- id
|
|
@@ -47340,6 +47618,150 @@ components:
|
|
|
47340
47618
|
required:
|
|
47341
47619
|
- object
|
|
47342
47620
|
- data
|
|
47621
|
+
ConnectedAccount:
|
|
47622
|
+
type: object
|
|
47623
|
+
properties:
|
|
47624
|
+
object:
|
|
47625
|
+
type: string
|
|
47626
|
+
description: Distinguishes the connected account object.
|
|
47627
|
+
const: connected_account
|
|
47628
|
+
id:
|
|
47629
|
+
type: string
|
|
47630
|
+
description: The unique identifier of the connected account.
|
|
47631
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
47632
|
+
connection_role:
|
|
47633
|
+
type: string
|
|
47634
|
+
enum:
|
|
47635
|
+
- compatibility
|
|
47636
|
+
- standard
|
|
47637
|
+
description: >-
|
|
47638
|
+
Whether this row is the compatibility connection visible to
|
|
47639
|
+
undeclared clients or a standard peer for plural-aware clients. The
|
|
47640
|
+
role does not indicate preference or creation order.
|
|
47641
|
+
example: compatibility
|
|
47642
|
+
account_identifier:
|
|
47643
|
+
type:
|
|
47644
|
+
- string
|
|
47645
|
+
- 'null'
|
|
47646
|
+
description: >-
|
|
47647
|
+
A best-effort identifier for the provider account this connection
|
|
47648
|
+
points at. It is correlation metadata, not the connection identifier
|
|
47649
|
+
or a selector.
|
|
47650
|
+
example: workspace_123
|
|
47651
|
+
account_display_name:
|
|
47652
|
+
type:
|
|
47653
|
+
- string
|
|
47654
|
+
- 'null'
|
|
47655
|
+
description: >-
|
|
47656
|
+
A mutable, non-unique display name for the provider account
|
|
47657
|
+
connection.
|
|
47658
|
+
example: Acme production
|
|
47659
|
+
user_id:
|
|
47660
|
+
type:
|
|
47661
|
+
- string
|
|
47662
|
+
- 'null'
|
|
47663
|
+
description: >-
|
|
47664
|
+
The [User](/reference/authkit/user) identifier associated with this
|
|
47665
|
+
connection.
|
|
47666
|
+
example: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
47667
|
+
organization_id:
|
|
47668
|
+
type:
|
|
47669
|
+
- string
|
|
47670
|
+
- 'null'
|
|
47671
|
+
description: >-
|
|
47672
|
+
The [Organization](/reference/organization) identifier associated
|
|
47673
|
+
with this connection, or `null` if not scoped to an organization.
|
|
47674
|
+
example: null
|
|
47675
|
+
scopes:
|
|
47676
|
+
type: array
|
|
47677
|
+
items:
|
|
47678
|
+
type: string
|
|
47679
|
+
description: The OAuth scopes granted for this connection.
|
|
47680
|
+
example:
|
|
47681
|
+
- repo
|
|
47682
|
+
- user:email
|
|
47683
|
+
auth_method:
|
|
47684
|
+
type: string
|
|
47685
|
+
enum:
|
|
47686
|
+
- oauth
|
|
47687
|
+
- api_key
|
|
47688
|
+
- client_credentials
|
|
47689
|
+
description: >-
|
|
47690
|
+
The authentication method used for this connection (`oauth`,
|
|
47691
|
+
`api_key`, or `client_credentials`). Defaults to `oauth` if absent.
|
|
47692
|
+
example: oauth
|
|
47693
|
+
api_key_last_4:
|
|
47694
|
+
type:
|
|
47695
|
+
- string
|
|
47696
|
+
- 'null'
|
|
47697
|
+
description: >-
|
|
47698
|
+
The last four characters of the API key, or `null` for OAuth
|
|
47699
|
+
connections.
|
|
47700
|
+
example: null
|
|
47701
|
+
client_id:
|
|
47702
|
+
type:
|
|
47703
|
+
- string
|
|
47704
|
+
- 'null'
|
|
47705
|
+
description: >-
|
|
47706
|
+
The client ID supplied for this connection. Only present when
|
|
47707
|
+
`auth_method` is `client_credentials`.
|
|
47708
|
+
example: 3MVG9dZJodJWxft2VoStSCVwPFsx0eDcpVc
|
|
47709
|
+
client_secret_last_4:
|
|
47710
|
+
type:
|
|
47711
|
+
- string
|
|
47712
|
+
- 'null'
|
|
47713
|
+
description: >-
|
|
47714
|
+
The last four characters of the client secret supplied for this
|
|
47715
|
+
connection, or `null` when it can't be read. Only present when
|
|
47716
|
+
`auth_method` is `client_credentials`.
|
|
47717
|
+
example: cdef
|
|
47718
|
+
config:
|
|
47719
|
+
type: object
|
|
47720
|
+
additionalProperties:
|
|
47721
|
+
type: string
|
|
47722
|
+
description: >-
|
|
47723
|
+
The connection-level configuration values stored for this connection
|
|
47724
|
+
— the fields the provider declares at `installation` scope,
|
|
47725
|
+
excluding secret and undeclared fields. Returned for every
|
|
47726
|
+
authentication method; empty when no stored values can be disclosed.
|
|
47727
|
+
example:
|
|
47728
|
+
instance_url: https://example.my.salesforce.com
|
|
47729
|
+
state:
|
|
47730
|
+
type: string
|
|
47731
|
+
enum:
|
|
47732
|
+
- connected
|
|
47733
|
+
- needs_reauthorization
|
|
47734
|
+
- disconnected
|
|
47735
|
+
description: >-
|
|
47736
|
+
The state of the connected account:
|
|
47737
|
+
|
|
47738
|
+
- `connected`: The connection is active and tokens are valid.
|
|
47739
|
+
|
|
47740
|
+
- `needs_reauthorization`: The user needs to reauthorize the
|
|
47741
|
+
connection, typically because required scopes have changed.
|
|
47742
|
+
|
|
47743
|
+
- `disconnected`: The connection has been disconnected.
|
|
47744
|
+
example: connected
|
|
47745
|
+
created_at:
|
|
47746
|
+
type: string
|
|
47747
|
+
description: The timestamp when the connection was created.
|
|
47748
|
+
example: '2024-01-16T14:20:00.000Z'
|
|
47749
|
+
updated_at:
|
|
47750
|
+
type: string
|
|
47751
|
+
description: The timestamp when the connection was last updated.
|
|
47752
|
+
example: '2024-01-16T14:20:00.000Z'
|
|
47753
|
+
required:
|
|
47754
|
+
- object
|
|
47755
|
+
- id
|
|
47756
|
+
- connection_role
|
|
47757
|
+
- account_identifier
|
|
47758
|
+
- account_display_name
|
|
47759
|
+
- user_id
|
|
47760
|
+
- organization_id
|
|
47761
|
+
- scopes
|
|
47762
|
+
- state
|
|
47763
|
+
- created_at
|
|
47764
|
+
- updated_at
|
|
47343
47765
|
PortalLinkResponse:
|
|
47344
47766
|
type: object
|
|
47345
47767
|
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
|
|
@@ -18448,7 +18488,7 @@ export interface components {
|
|
|
18448
18488
|
*/
|
|
18449
18489
|
error: "not_installed" | "needs_reauthorization";
|
|
18450
18490
|
};
|
|
18451
|
-
|
|
18491
|
+
ConnectedAccountWriteResponse: {
|
|
18452
18492
|
/**
|
|
18453
18493
|
* @description Distinguishes the connected account object.
|
|
18454
18494
|
* @constant
|
|
@@ -18542,6 +18582,16 @@ export interface components {
|
|
|
18542
18582
|
* @example 2024-01-16T14:20:00.000Z
|
|
18543
18583
|
*/
|
|
18544
18584
|
updated_at: string;
|
|
18585
|
+
/** @description Non-blocking warnings about an explicitly supplied label, omitted when no duplicate exists. Reads do not include this field. */
|
|
18586
|
+
warnings?: {
|
|
18587
|
+
/** @constant */
|
|
18588
|
+
code: "duplicate_account_display_name";
|
|
18589
|
+
/**
|
|
18590
|
+
* @description A human-readable explanation of the non-blocking warning.
|
|
18591
|
+
* @example Another connection for this provider and owner has the same label.
|
|
18592
|
+
*/
|
|
18593
|
+
message: string;
|
|
18594
|
+
}[];
|
|
18545
18595
|
};
|
|
18546
18596
|
DataIntegrationsListResponse: {
|
|
18547
18597
|
/**
|
|
@@ -18877,6 +18927,101 @@ export interface components {
|
|
|
18877
18927
|
}[];
|
|
18878
18928
|
}[];
|
|
18879
18929
|
};
|
|
18930
|
+
ConnectedAccount: {
|
|
18931
|
+
/**
|
|
18932
|
+
* @description Distinguishes the connected account object.
|
|
18933
|
+
* @constant
|
|
18934
|
+
*/
|
|
18935
|
+
object: "connected_account";
|
|
18936
|
+
/**
|
|
18937
|
+
* @description The unique identifier of the connected account.
|
|
18938
|
+
* @example data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
18939
|
+
*/
|
|
18940
|
+
id: string;
|
|
18941
|
+
/**
|
|
18942
|
+
* @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.
|
|
18943
|
+
* @example compatibility
|
|
18944
|
+
* @enum {string}
|
|
18945
|
+
*/
|
|
18946
|
+
connection_role: "compatibility" | "standard";
|
|
18947
|
+
/**
|
|
18948
|
+
* @description A best-effort identifier for the provider account this connection points at. It is correlation metadata, not the connection identifier or a selector.
|
|
18949
|
+
* @example workspace_123
|
|
18950
|
+
*/
|
|
18951
|
+
account_identifier: string | null;
|
|
18952
|
+
/**
|
|
18953
|
+
* @description A mutable, non-unique display name for the provider account connection.
|
|
18954
|
+
* @example Acme production
|
|
18955
|
+
*/
|
|
18956
|
+
account_display_name: string | null;
|
|
18957
|
+
/**
|
|
18958
|
+
* @description The [User](/reference/authkit/user) identifier associated with this connection.
|
|
18959
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
18960
|
+
*/
|
|
18961
|
+
user_id: string | null;
|
|
18962
|
+
/**
|
|
18963
|
+
* @description The [Organization](/reference/organization) identifier associated with this connection, or `null` if not scoped to an organization.
|
|
18964
|
+
* @example null
|
|
18965
|
+
*/
|
|
18966
|
+
organization_id: string | null;
|
|
18967
|
+
/**
|
|
18968
|
+
* @description The OAuth scopes granted for this connection.
|
|
18969
|
+
* @example [
|
|
18970
|
+
* "repo",
|
|
18971
|
+
* "user:email"
|
|
18972
|
+
* ]
|
|
18973
|
+
*/
|
|
18974
|
+
scopes: string[];
|
|
18975
|
+
/**
|
|
18976
|
+
* @description The authentication method used for this connection (`oauth`, `api_key`, or `client_credentials`). Defaults to `oauth` if absent.
|
|
18977
|
+
* @example oauth
|
|
18978
|
+
* @enum {string}
|
|
18979
|
+
*/
|
|
18980
|
+
auth_method?: "oauth" | "api_key" | "client_credentials";
|
|
18981
|
+
/**
|
|
18982
|
+
* @description The last four characters of the API key, or `null` for OAuth connections.
|
|
18983
|
+
* @example null
|
|
18984
|
+
*/
|
|
18985
|
+
api_key_last_4?: string | null;
|
|
18986
|
+
/**
|
|
18987
|
+
* @description The client ID supplied for this connection. Only present when `auth_method` is `client_credentials`.
|
|
18988
|
+
* @example 3MVG9dZJodJWxft2VoStSCVwPFsx0eDcpVc
|
|
18989
|
+
*/
|
|
18990
|
+
client_id?: string | null;
|
|
18991
|
+
/**
|
|
18992
|
+
* @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`.
|
|
18993
|
+
* @example cdef
|
|
18994
|
+
*/
|
|
18995
|
+
client_secret_last_4?: string | null;
|
|
18996
|
+
/**
|
|
18997
|
+
* @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.
|
|
18998
|
+
* @example {
|
|
18999
|
+
* "instance_url": "https://example.my.salesforce.com"
|
|
19000
|
+
* }
|
|
19001
|
+
*/
|
|
19002
|
+
config?: {
|
|
19003
|
+
[key: string]: string;
|
|
19004
|
+
};
|
|
19005
|
+
/**
|
|
19006
|
+
* @description The state of the connected account:
|
|
19007
|
+
* - `connected`: The connection is active and tokens are valid.
|
|
19008
|
+
* - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed.
|
|
19009
|
+
* - `disconnected`: The connection has been disconnected.
|
|
19010
|
+
* @example connected
|
|
19011
|
+
* @enum {string}
|
|
19012
|
+
*/
|
|
19013
|
+
state: "connected" | "needs_reauthorization" | "disconnected";
|
|
19014
|
+
/**
|
|
19015
|
+
* @description The timestamp when the connection was created.
|
|
19016
|
+
* @example 2024-01-16T14:20:00.000Z
|
|
19017
|
+
*/
|
|
19018
|
+
created_at: string;
|
|
19019
|
+
/**
|
|
19020
|
+
* @description The timestamp when the connection was last updated.
|
|
19021
|
+
* @example 2024-01-16T14:20:00.000Z
|
|
19022
|
+
*/
|
|
19023
|
+
updated_at: string;
|
|
19024
|
+
};
|
|
18880
19025
|
PortalLinkResponse: {
|
|
18881
19026
|
/**
|
|
18882
19027
|
* Format: password
|
|
@@ -29802,6 +29947,16 @@ export interface operations {
|
|
|
29802
29947
|
requestBody: {
|
|
29803
29948
|
content: {
|
|
29804
29949
|
"application/json": {
|
|
29950
|
+
/**
|
|
29951
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
29952
|
+
* @example Acme production
|
|
29953
|
+
*/
|
|
29954
|
+
account_display_name?: string | null;
|
|
29955
|
+
/**
|
|
29956
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
29957
|
+
* @example workspace_123
|
|
29958
|
+
*/
|
|
29959
|
+
account_identifier?: string | null;
|
|
29805
29960
|
/**
|
|
29806
29961
|
* @description A [User](/reference/authkit/user) identifier.
|
|
29807
29962
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -29824,6 +29979,16 @@ export interface operations {
|
|
|
29824
29979
|
*/
|
|
29825
29980
|
secret: string;
|
|
29826
29981
|
} | {
|
|
29982
|
+
/**
|
|
29983
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
29984
|
+
* @example Acme production
|
|
29985
|
+
*/
|
|
29986
|
+
account_display_name?: string | null;
|
|
29987
|
+
/**
|
|
29988
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
29989
|
+
* @example workspace_123
|
|
29990
|
+
*/
|
|
29991
|
+
account_identifier?: string | null;
|
|
29827
29992
|
/**
|
|
29828
29993
|
* @description A [User](/reference/authkit/user) identifier.
|
|
29829
29994
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -29857,6 +30022,16 @@ export interface operations {
|
|
|
29857
30022
|
*/
|
|
29858
30023
|
connected_account_id: string;
|
|
29859
30024
|
} | {
|
|
30025
|
+
/**
|
|
30026
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30027
|
+
* @example Acme production
|
|
30028
|
+
*/
|
|
30029
|
+
account_display_name?: string | null;
|
|
30030
|
+
/**
|
|
30031
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
30032
|
+
* @example workspace_123
|
|
30033
|
+
*/
|
|
30034
|
+
account_identifier?: string | null;
|
|
29860
30035
|
/**
|
|
29861
30036
|
* @description A [User](/reference/authkit/user) identifier.
|
|
29862
30037
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -29898,8 +30073,8 @@ export interface operations {
|
|
|
29898
30073
|
* "object": "connected_account",
|
|
29899
30074
|
* "id": "data_installation_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
29900
30075
|
* "connection_role": "compatibility",
|
|
29901
|
-
* "account_identifier":
|
|
29902
|
-
* "account_display_name":
|
|
30076
|
+
* "account_identifier": "workspace_123",
|
|
30077
|
+
* "account_display_name": "Acme production",
|
|
29903
30078
|
* "user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
29904
30079
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
29905
30080
|
* "scopes": [],
|
|
@@ -29910,7 +30085,7 @@ export interface operations {
|
|
|
29910
30085
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
29911
30086
|
* }
|
|
29912
30087
|
*/
|
|
29913
|
-
"application/json": components["schemas"]["
|
|
30088
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
29914
30089
|
};
|
|
29915
30090
|
};
|
|
29916
30091
|
/** @description Bad Request */
|
|
@@ -29920,11 +30095,7 @@ export interface operations {
|
|
|
29920
30095
|
};
|
|
29921
30096
|
content: {
|
|
29922
30097
|
"application/json": {
|
|
29923
|
-
|
|
29924
|
-
* @description A human-readable description of the error.
|
|
29925
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
29926
|
-
*/
|
|
29927
|
-
message: string;
|
|
30098
|
+
message: string | string[];
|
|
29928
30099
|
};
|
|
29929
30100
|
};
|
|
29930
30101
|
};
|
|
@@ -30010,6 +30181,16 @@ export interface operations {
|
|
|
30010
30181
|
requestBody: {
|
|
30011
30182
|
content: {
|
|
30012
30183
|
"application/json": {
|
|
30184
|
+
/**
|
|
30185
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30186
|
+
* @example Acme production
|
|
30187
|
+
*/
|
|
30188
|
+
account_display_name?: string | null;
|
|
30189
|
+
/**
|
|
30190
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
30191
|
+
* @example workspace_123
|
|
30192
|
+
*/
|
|
30193
|
+
account_identifier?: string | null;
|
|
30013
30194
|
/**
|
|
30014
30195
|
* @description A [User](/reference/authkit/user) identifier.
|
|
30015
30196
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30052,8 +30233,8 @@ export interface operations {
|
|
|
30052
30233
|
* "object": "connected_account",
|
|
30053
30234
|
* "id": "data_installation_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30054
30235
|
* "connection_role": "standard",
|
|
30055
|
-
* "account_identifier":
|
|
30056
|
-
* "account_display_name":
|
|
30236
|
+
* "account_identifier": "workspace_123",
|
|
30237
|
+
* "account_display_name": "Acme production",
|
|
30057
30238
|
* "user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30058
30239
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30059
30240
|
* "scopes": [],
|
|
@@ -30064,7 +30245,7 @@ export interface operations {
|
|
|
30064
30245
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
30065
30246
|
* }
|
|
30066
30247
|
*/
|
|
30067
|
-
"application/json": components["schemas"]["
|
|
30248
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
30068
30249
|
};
|
|
30069
30250
|
};
|
|
30070
30251
|
/** @description The request is invalid, including a missing `connection_intent: add` or a supplied `connected_account_id`. */
|
|
@@ -30074,11 +30255,7 @@ export interface operations {
|
|
|
30074
30255
|
};
|
|
30075
30256
|
content: {
|
|
30076
30257
|
"application/json": {
|
|
30077
|
-
|
|
30078
|
-
* @description A human-readable description of the error.
|
|
30079
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
30080
|
-
*/
|
|
30081
|
-
message: string;
|
|
30258
|
+
message: string | string[];
|
|
30082
30259
|
};
|
|
30083
30260
|
};
|
|
30084
30261
|
};
|
|
@@ -30194,6 +30371,11 @@ export interface operations {
|
|
|
30194
30371
|
requestBody: {
|
|
30195
30372
|
content: {
|
|
30196
30373
|
"application/json": {
|
|
30374
|
+
/**
|
|
30375
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30376
|
+
* @example Acme production
|
|
30377
|
+
*/
|
|
30378
|
+
account_display_name?: string | null;
|
|
30197
30379
|
/**
|
|
30198
30380
|
* @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
30381
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30226,6 +30408,11 @@ export interface operations {
|
|
|
30226
30408
|
[key: string]: string;
|
|
30227
30409
|
};
|
|
30228
30410
|
} | {
|
|
30411
|
+
/**
|
|
30412
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30413
|
+
* @example Acme production
|
|
30414
|
+
*/
|
|
30415
|
+
account_display_name?: string | null;
|
|
30229
30416
|
/**
|
|
30230
30417
|
* @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
30418
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30264,6 +30451,11 @@ export interface operations {
|
|
|
30264
30451
|
*/
|
|
30265
30452
|
connection_intent: "add";
|
|
30266
30453
|
} | {
|
|
30454
|
+
/**
|
|
30455
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30456
|
+
* @example Acme production
|
|
30457
|
+
*/
|
|
30458
|
+
account_display_name?: string | null;
|
|
30267
30459
|
/**
|
|
30268
30460
|
* @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
30461
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30326,11 +30518,7 @@ export interface operations {
|
|
|
30326
30518
|
};
|
|
30327
30519
|
content: {
|
|
30328
30520
|
"application/json": {
|
|
30329
|
-
|
|
30330
|
-
* @description A human-readable description of the error.
|
|
30331
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
30332
|
-
*/
|
|
30333
|
-
message: string;
|
|
30521
|
+
message: string | string[];
|
|
30334
30522
|
};
|
|
30335
30523
|
};
|
|
30336
30524
|
};
|
|
@@ -30434,6 +30622,16 @@ export interface operations {
|
|
|
30434
30622
|
requestBody: {
|
|
30435
30623
|
content: {
|
|
30436
30624
|
"application/json": {
|
|
30625
|
+
/**
|
|
30626
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30627
|
+
* @example Acme production
|
|
30628
|
+
*/
|
|
30629
|
+
account_display_name?: string | null;
|
|
30630
|
+
/**
|
|
30631
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
30632
|
+
* @example workspace_123
|
|
30633
|
+
*/
|
|
30634
|
+
account_identifier?: string | null;
|
|
30437
30635
|
/**
|
|
30438
30636
|
* @description A [User](/reference/authkit/user) identifier.
|
|
30439
30637
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30470,6 +30668,16 @@ export interface operations {
|
|
|
30470
30668
|
[key: string]: string;
|
|
30471
30669
|
};
|
|
30472
30670
|
} | {
|
|
30671
|
+
/**
|
|
30672
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30673
|
+
* @example Acme production
|
|
30674
|
+
*/
|
|
30675
|
+
account_display_name?: string | null;
|
|
30676
|
+
/**
|
|
30677
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
30678
|
+
* @example workspace_123
|
|
30679
|
+
*/
|
|
30680
|
+
account_identifier?: string | null;
|
|
30473
30681
|
/**
|
|
30474
30682
|
* @description A [User](/reference/authkit/user) identifier.
|
|
30475
30683
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30517,6 +30725,16 @@ export interface operations {
|
|
|
30517
30725
|
*/
|
|
30518
30726
|
connected_account_id: string;
|
|
30519
30727
|
} | {
|
|
30728
|
+
/**
|
|
30729
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30730
|
+
* @example Acme production
|
|
30731
|
+
*/
|
|
30732
|
+
account_display_name?: string | null;
|
|
30733
|
+
/**
|
|
30734
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
30735
|
+
* @example workspace_123
|
|
30736
|
+
*/
|
|
30737
|
+
account_identifier?: string | null;
|
|
30520
30738
|
/**
|
|
30521
30739
|
* @description A [User](/reference/authkit/user) identifier.
|
|
30522
30740
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30572,8 +30790,8 @@ export interface operations {
|
|
|
30572
30790
|
* "object": "connected_account",
|
|
30573
30791
|
* "id": "data_installation_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30574
30792
|
* "connection_role": "compatibility",
|
|
30575
|
-
* "account_identifier":
|
|
30576
|
-
* "account_display_name":
|
|
30793
|
+
* "account_identifier": "workspace_123",
|
|
30794
|
+
* "account_display_name": "Acme production",
|
|
30577
30795
|
* "user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30578
30796
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30579
30797
|
* "scopes": [],
|
|
@@ -30583,7 +30801,7 @@ export interface operations {
|
|
|
30583
30801
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
30584
30802
|
* }
|
|
30585
30803
|
*/
|
|
30586
|
-
"application/json": components["schemas"]["
|
|
30804
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
30587
30805
|
};
|
|
30588
30806
|
};
|
|
30589
30807
|
/** @description Bad Request */
|
|
@@ -30593,11 +30811,7 @@ export interface operations {
|
|
|
30593
30811
|
};
|
|
30594
30812
|
content: {
|
|
30595
30813
|
"application/json": {
|
|
30596
|
-
|
|
30597
|
-
* @description A human-readable description of the error.
|
|
30598
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
30599
|
-
*/
|
|
30600
|
-
message: string;
|
|
30814
|
+
message: string | string[];
|
|
30601
30815
|
};
|
|
30602
30816
|
};
|
|
30603
30817
|
};
|
|
@@ -30683,6 +30897,16 @@ export interface operations {
|
|
|
30683
30897
|
requestBody: {
|
|
30684
30898
|
content: {
|
|
30685
30899
|
"application/json": {
|
|
30900
|
+
/**
|
|
30901
|
+
* @description A mutable, non-unique label. Omit to preserve an existing label; null clears it. Labels are never account identifiers.
|
|
30902
|
+
* @example Acme production
|
|
30903
|
+
*/
|
|
30904
|
+
account_display_name?: string | null;
|
|
30905
|
+
/**
|
|
30906
|
+
* @description A developer-attested provider account identifier, never inferred from a label or credential. Omit to preserve an existing identifier; null clears it.
|
|
30907
|
+
* @example workspace_123
|
|
30908
|
+
*/
|
|
30909
|
+
account_identifier?: string | null;
|
|
30686
30910
|
/**
|
|
30687
30911
|
* @description A [User](/reference/authkit/user) identifier.
|
|
30688
30912
|
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
@@ -30739,8 +30963,8 @@ export interface operations {
|
|
|
30739
30963
|
* "object": "connected_account",
|
|
30740
30964
|
* "id": "data_installation_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30741
30965
|
* "connection_role": "standard",
|
|
30742
|
-
* "account_identifier":
|
|
30743
|
-
* "account_display_name":
|
|
30966
|
+
* "account_identifier": "workspace_123",
|
|
30967
|
+
* "account_display_name": "Acme production",
|
|
30744
30968
|
* "user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30745
30969
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
30746
30970
|
* "scopes": [],
|
|
@@ -30750,7 +30974,7 @@ export interface operations {
|
|
|
30750
30974
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
30751
30975
|
* }
|
|
30752
30976
|
*/
|
|
30753
|
-
"application/json": components["schemas"]["
|
|
30977
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
30754
30978
|
};
|
|
30755
30979
|
};
|
|
30756
30980
|
/** @description The request is invalid, including a missing `connection_intent: add` or a supplied `connected_account_id`. */
|
|
@@ -30760,11 +30984,7 @@ export interface operations {
|
|
|
30760
30984
|
};
|
|
30761
30985
|
content: {
|
|
30762
30986
|
"application/json": {
|
|
30763
|
-
|
|
30764
|
-
* @description A human-readable description of the error.
|
|
30765
|
-
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
30766
|
-
*/
|
|
30767
|
-
message: string;
|
|
30987
|
+
message: string | string[];
|
|
30768
30988
|
};
|
|
30769
30989
|
};
|
|
30770
30990
|
};
|
|
@@ -34314,7 +34534,7 @@ export interface operations {
|
|
|
34314
34534
|
* "user_id": null,
|
|
34315
34535
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
34316
34536
|
* "connection_role": "compatibility",
|
|
34317
|
-
* "account_identifier": "
|
|
34537
|
+
* "account_identifier": "workspace_123",
|
|
34318
34538
|
* "account_display_name": "Acme production",
|
|
34319
34539
|
* "scopes": [
|
|
34320
34540
|
* "repo",
|
|
@@ -34421,7 +34641,7 @@ export interface operations {
|
|
|
34421
34641
|
* "user_id": null,
|
|
34422
34642
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
34423
34643
|
* "connection_role": "compatibility",
|
|
34424
|
-
* "account_identifier": "
|
|
34644
|
+
* "account_identifier": "workspace_123",
|
|
34425
34645
|
* "account_display_name": "Acme production",
|
|
34426
34646
|
* "scopes": [
|
|
34427
34647
|
* "repo",
|
|
@@ -34439,7 +34659,7 @@ export interface operations {
|
|
|
34439
34659
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
34440
34660
|
* }
|
|
34441
34661
|
*/
|
|
34442
|
-
"application/json": components["schemas"]["
|
|
34662
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
34443
34663
|
};
|
|
34444
34664
|
};
|
|
34445
34665
|
/** @description The connected account selector is malformed. */
|
|
@@ -34570,7 +34790,7 @@ export interface operations {
|
|
|
34570
34790
|
* "user_id": null,
|
|
34571
34791
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
34572
34792
|
* "connection_role": "compatibility",
|
|
34573
|
-
* "account_identifier": "
|
|
34793
|
+
* "account_identifier": "workspace_123",
|
|
34574
34794
|
* "account_display_name": "Acme production",
|
|
34575
34795
|
* "scopes": [
|
|
34576
34796
|
* "repo",
|
|
@@ -34588,7 +34808,7 @@ export interface operations {
|
|
|
34588
34808
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
34589
34809
|
* }
|
|
34590
34810
|
*/
|
|
34591
|
-
"application/json": components["schemas"]["
|
|
34811
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
34592
34812
|
};
|
|
34593
34813
|
};
|
|
34594
34814
|
/** @description The request is missing a valid API key. */
|
|
@@ -34885,7 +35105,7 @@ export interface operations {
|
|
|
34885
35105
|
* "user_id": null,
|
|
34886
35106
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
34887
35107
|
* "connection_role": "compatibility",
|
|
34888
|
-
* "account_identifier": "
|
|
35108
|
+
* "account_identifier": "workspace_123",
|
|
34889
35109
|
* "account_display_name": "Acme production",
|
|
34890
35110
|
* "scopes": [
|
|
34891
35111
|
* "repo",
|
|
@@ -34913,7 +35133,7 @@ export interface operations {
|
|
|
34913
35133
|
* "user_id": null,
|
|
34914
35134
|
* "organization_id": "org_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
34915
35135
|
* "connection_role": "compatibility",
|
|
34916
|
-
* "account_identifier": "
|
|
35136
|
+
* "account_identifier": "workspace_123",
|
|
34917
35137
|
* "account_display_name": "Acme production",
|
|
34918
35138
|
* "scopes": [
|
|
34919
35139
|
* "repo",
|
|
@@ -42050,7 +42270,7 @@ export interface operations {
|
|
|
42050
42270
|
[name: string]: unknown;
|
|
42051
42271
|
};
|
|
42052
42272
|
content: {
|
|
42053
|
-
"application/json": components["schemas"]["
|
|
42273
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
42054
42274
|
};
|
|
42055
42275
|
};
|
|
42056
42276
|
/** @description The connected account selector is malformed. */
|
|
@@ -42195,7 +42415,7 @@ export interface operations {
|
|
|
42195
42415
|
[name: string]: unknown;
|
|
42196
42416
|
};
|
|
42197
42417
|
content: {
|
|
42198
|
-
"application/json": components["schemas"]["
|
|
42418
|
+
"application/json": components["schemas"]["ConnectedAccountWriteResponse"];
|
|
42199
42419
|
};
|
|
42200
42420
|
};
|
|
42201
42421
|
/** @description The request is missing a valid API key. */
|