@seamapi/types 1.957.0 → 1.958.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/connect.cjs +1718 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +473 -0
- package/dist/index.cjs +1718 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +1718 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +473 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +1721 -0
- package/src/lib/seam/connect/route-types.ts +483 -0
|
@@ -67095,6 +67095,1727 @@ const openapi: OpenAPISpec = {
|
|
|
67095
67095
|
'x-undocumented': 'Internal endpoint for Console',
|
|
67096
67096
|
},
|
|
67097
67097
|
},
|
|
67098
|
+
'/seam/console/v1/organizations/create': {
|
|
67099
|
+
post: {
|
|
67100
|
+
description: 'Creates an organization.',
|
|
67101
|
+
operationId: 'seamConsoleV1OrganizationsCreatePost',
|
|
67102
|
+
requestBody: {
|
|
67103
|
+
content: {
|
|
67104
|
+
'application/json': {
|
|
67105
|
+
schema: {
|
|
67106
|
+
properties: {
|
|
67107
|
+
logo_image_base64: { type: 'string' },
|
|
67108
|
+
name: { maxLength: 255, minLength: 1, type: 'string' },
|
|
67109
|
+
},
|
|
67110
|
+
required: ['name'],
|
|
67111
|
+
type: 'object',
|
|
67112
|
+
},
|
|
67113
|
+
},
|
|
67114
|
+
},
|
|
67115
|
+
},
|
|
67116
|
+
responses: {
|
|
67117
|
+
200: {
|
|
67118
|
+
content: {
|
|
67119
|
+
'application/json': {
|
|
67120
|
+
schema: {
|
|
67121
|
+
properties: {
|
|
67122
|
+
ok: { type: 'boolean' },
|
|
67123
|
+
organization: {
|
|
67124
|
+
properties: {
|
|
67125
|
+
connect_webview_customization: {
|
|
67126
|
+
properties: {
|
|
67127
|
+
logo_shape: {
|
|
67128
|
+
enum: ['circle', 'square'],
|
|
67129
|
+
nullable: true,
|
|
67130
|
+
type: 'string',
|
|
67131
|
+
},
|
|
67132
|
+
primary_button_color: {
|
|
67133
|
+
nullable: true,
|
|
67134
|
+
type: 'string',
|
|
67135
|
+
},
|
|
67136
|
+
primary_button_text_color: {
|
|
67137
|
+
nullable: true,
|
|
67138
|
+
type: 'string',
|
|
67139
|
+
},
|
|
67140
|
+
},
|
|
67141
|
+
required: [
|
|
67142
|
+
'primary_button_color',
|
|
67143
|
+
'primary_button_text_color',
|
|
67144
|
+
'logo_shape',
|
|
67145
|
+
],
|
|
67146
|
+
type: 'object',
|
|
67147
|
+
},
|
|
67148
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
67149
|
+
logo_url: { nullable: true, type: 'string' },
|
|
67150
|
+
name: { type: 'string' },
|
|
67151
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67152
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
67153
|
+
},
|
|
67154
|
+
required: [
|
|
67155
|
+
'organization_id',
|
|
67156
|
+
'name',
|
|
67157
|
+
'logo_url',
|
|
67158
|
+
'connect_webview_customization',
|
|
67159
|
+
'created_at',
|
|
67160
|
+
'updated_at',
|
|
67161
|
+
],
|
|
67162
|
+
type: 'object',
|
|
67163
|
+
},
|
|
67164
|
+
},
|
|
67165
|
+
required: ['organization', 'ok'],
|
|
67166
|
+
type: 'object',
|
|
67167
|
+
},
|
|
67168
|
+
},
|
|
67169
|
+
},
|
|
67170
|
+
description: 'OK',
|
|
67171
|
+
},
|
|
67172
|
+
400: { description: 'Bad Request' },
|
|
67173
|
+
401: { description: 'Unauthorized' },
|
|
67174
|
+
},
|
|
67175
|
+
security: [{ console_session_without_workspace: [] }],
|
|
67176
|
+
summary: '/seam/console/v1/organizations/create',
|
|
67177
|
+
tags: [],
|
|
67178
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
67179
|
+
'x-fern-sdk-method-name': 'create',
|
|
67180
|
+
'x-fern-sdk-return-value': 'organization',
|
|
67181
|
+
'x-response-key': 'organization',
|
|
67182
|
+
'x-title': 'Create an Organization',
|
|
67183
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
67184
|
+
},
|
|
67185
|
+
},
|
|
67186
|
+
'/seam/console/v1/organizations/customization_profiles/copy': {
|
|
67187
|
+
post: {
|
|
67188
|
+
description: 'Copies a customization profile to an organization.',
|
|
67189
|
+
operationId: 'seamConsoleV1OrganizationsCustomizationProfilesCopyPost',
|
|
67190
|
+
requestBody: {
|
|
67191
|
+
content: {
|
|
67192
|
+
'application/json': {
|
|
67193
|
+
schema: {
|
|
67194
|
+
properties: {
|
|
67195
|
+
destination_customization_profile_id: {
|
|
67196
|
+
format: 'uuid',
|
|
67197
|
+
type: 'string',
|
|
67198
|
+
},
|
|
67199
|
+
destination_workspace_id: { format: 'uuid', type: 'string' },
|
|
67200
|
+
source_customization_profile_id: {
|
|
67201
|
+
format: 'uuid',
|
|
67202
|
+
type: 'string',
|
|
67203
|
+
},
|
|
67204
|
+
source_workspace_id: { format: 'uuid', type: 'string' },
|
|
67205
|
+
},
|
|
67206
|
+
required: [
|
|
67207
|
+
'source_workspace_id',
|
|
67208
|
+
'source_customization_profile_id',
|
|
67209
|
+
'destination_workspace_id',
|
|
67210
|
+
],
|
|
67211
|
+
type: 'object',
|
|
67212
|
+
},
|
|
67213
|
+
},
|
|
67214
|
+
},
|
|
67215
|
+
},
|
|
67216
|
+
responses: {
|
|
67217
|
+
200: {
|
|
67218
|
+
content: {
|
|
67219
|
+
'application/json': {
|
|
67220
|
+
schema: {
|
|
67221
|
+
properties: {
|
|
67222
|
+
customization_profile: {
|
|
67223
|
+
$ref: '#/components/schemas/customization_profile',
|
|
67224
|
+
},
|
|
67225
|
+
ok: { type: 'boolean' },
|
|
67226
|
+
},
|
|
67227
|
+
required: ['customization_profile', 'ok'],
|
|
67228
|
+
type: 'object',
|
|
67229
|
+
},
|
|
67230
|
+
},
|
|
67231
|
+
},
|
|
67232
|
+
description: 'OK',
|
|
67233
|
+
},
|
|
67234
|
+
400: { description: 'Bad Request' },
|
|
67235
|
+
401: { description: 'Unauthorized' },
|
|
67236
|
+
},
|
|
67237
|
+
security: [{ console_session_without_workspace: [] }],
|
|
67238
|
+
summary: '/seam/console/v1/organizations/customization_profiles/copy',
|
|
67239
|
+
tags: [],
|
|
67240
|
+
'x-fern-sdk-group-name': [
|
|
67241
|
+
'seam',
|
|
67242
|
+
'console',
|
|
67243
|
+
'v1',
|
|
67244
|
+
'organizations',
|
|
67245
|
+
'customization_profiles',
|
|
67246
|
+
],
|
|
67247
|
+
'x-fern-sdk-method-name': 'copy',
|
|
67248
|
+
'x-fern-sdk-return-value': 'customization_profile',
|
|
67249
|
+
'x-response-key': 'customization_profile',
|
|
67250
|
+
'x-title': 'Copy a Customization Profile',
|
|
67251
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
67252
|
+
},
|
|
67253
|
+
},
|
|
67254
|
+
'/seam/console/v1/organizations/delete': {
|
|
67255
|
+
post: {
|
|
67256
|
+
description: 'Deletes an organization.',
|
|
67257
|
+
operationId: 'seamConsoleV1OrganizationsDeletePost',
|
|
67258
|
+
requestBody: {
|
|
67259
|
+
content: {
|
|
67260
|
+
'application/json': {
|
|
67261
|
+
schema: {
|
|
67262
|
+
properties: {
|
|
67263
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67264
|
+
},
|
|
67265
|
+
required: ['organization_id'],
|
|
67266
|
+
type: 'object',
|
|
67267
|
+
},
|
|
67268
|
+
},
|
|
67269
|
+
},
|
|
67270
|
+
},
|
|
67271
|
+
responses: {
|
|
67272
|
+
200: {
|
|
67273
|
+
content: {
|
|
67274
|
+
'application/json': {
|
|
67275
|
+
schema: {
|
|
67276
|
+
properties: {
|
|
67277
|
+
ok: { type: 'boolean' },
|
|
67278
|
+
organization: {
|
|
67279
|
+
properties: {
|
|
67280
|
+
connect_webview_customization: {
|
|
67281
|
+
properties: {
|
|
67282
|
+
logo_shape: {
|
|
67283
|
+
enum: ['circle', 'square'],
|
|
67284
|
+
nullable: true,
|
|
67285
|
+
type: 'string',
|
|
67286
|
+
},
|
|
67287
|
+
primary_button_color: {
|
|
67288
|
+
nullable: true,
|
|
67289
|
+
type: 'string',
|
|
67290
|
+
},
|
|
67291
|
+
primary_button_text_color: {
|
|
67292
|
+
nullable: true,
|
|
67293
|
+
type: 'string',
|
|
67294
|
+
},
|
|
67295
|
+
},
|
|
67296
|
+
required: [
|
|
67297
|
+
'primary_button_color',
|
|
67298
|
+
'primary_button_text_color',
|
|
67299
|
+
'logo_shape',
|
|
67300
|
+
],
|
|
67301
|
+
type: 'object',
|
|
67302
|
+
},
|
|
67303
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
67304
|
+
logo_url: { nullable: true, type: 'string' },
|
|
67305
|
+
name: { type: 'string' },
|
|
67306
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67307
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
67308
|
+
},
|
|
67309
|
+
required: [
|
|
67310
|
+
'organization_id',
|
|
67311
|
+
'name',
|
|
67312
|
+
'logo_url',
|
|
67313
|
+
'connect_webview_customization',
|
|
67314
|
+
'created_at',
|
|
67315
|
+
'updated_at',
|
|
67316
|
+
],
|
|
67317
|
+
type: 'object',
|
|
67318
|
+
},
|
|
67319
|
+
},
|
|
67320
|
+
required: ['organization', 'ok'],
|
|
67321
|
+
type: 'object',
|
|
67322
|
+
},
|
|
67323
|
+
},
|
|
67324
|
+
},
|
|
67325
|
+
description: 'OK',
|
|
67326
|
+
},
|
|
67327
|
+
400: { description: 'Bad Request' },
|
|
67328
|
+
401: { description: 'Unauthorized' },
|
|
67329
|
+
},
|
|
67330
|
+
security: [{ console_session_without_workspace: [] }],
|
|
67331
|
+
summary: '/seam/console/v1/organizations/delete',
|
|
67332
|
+
tags: [],
|
|
67333
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
67334
|
+
'x-fern-sdk-method-name': 'delete',
|
|
67335
|
+
'x-fern-sdk-return-value': 'organization',
|
|
67336
|
+
'x-response-key': 'organization',
|
|
67337
|
+
'x-title': 'Delete an Organization',
|
|
67338
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
67339
|
+
},
|
|
67340
|
+
},
|
|
67341
|
+
'/seam/console/v1/organizations/get': {
|
|
67342
|
+
get: {
|
|
67343
|
+
description: 'Returns a specified organization.',
|
|
67344
|
+
operationId: 'seamConsoleV1OrganizationsGetGet',
|
|
67345
|
+
parameters: [
|
|
67346
|
+
{
|
|
67347
|
+
in: 'query',
|
|
67348
|
+
name: 'organization_id',
|
|
67349
|
+
required: true,
|
|
67350
|
+
schema: { format: 'uuid', type: 'string' },
|
|
67351
|
+
},
|
|
67352
|
+
],
|
|
67353
|
+
responses: {
|
|
67354
|
+
200: {
|
|
67355
|
+
content: {
|
|
67356
|
+
'application/json': {
|
|
67357
|
+
schema: {
|
|
67358
|
+
properties: {
|
|
67359
|
+
members: {
|
|
67360
|
+
items: {
|
|
67361
|
+
properties: {
|
|
67362
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
67363
|
+
email: { nullable: true, type: 'string' },
|
|
67364
|
+
first_name: { nullable: true, type: 'string' },
|
|
67365
|
+
last_name: { nullable: true, type: 'string' },
|
|
67366
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67367
|
+
organization_member_id: {
|
|
67368
|
+
format: 'uuid',
|
|
67369
|
+
type: 'string',
|
|
67370
|
+
},
|
|
67371
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
67372
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
67373
|
+
},
|
|
67374
|
+
required: [
|
|
67375
|
+
'organization_member_id',
|
|
67376
|
+
'organization_id',
|
|
67377
|
+
'user_id',
|
|
67378
|
+
'email',
|
|
67379
|
+
'first_name',
|
|
67380
|
+
'last_name',
|
|
67381
|
+
'role',
|
|
67382
|
+
'created_at',
|
|
67383
|
+
],
|
|
67384
|
+
type: 'object',
|
|
67385
|
+
},
|
|
67386
|
+
type: 'array',
|
|
67387
|
+
},
|
|
67388
|
+
ok: { type: 'boolean' },
|
|
67389
|
+
organization: {
|
|
67390
|
+
properties: {
|
|
67391
|
+
connect_webview_customization: {
|
|
67392
|
+
properties: {
|
|
67393
|
+
logo_shape: {
|
|
67394
|
+
enum: ['circle', 'square'],
|
|
67395
|
+
nullable: true,
|
|
67396
|
+
type: 'string',
|
|
67397
|
+
},
|
|
67398
|
+
primary_button_color: {
|
|
67399
|
+
nullable: true,
|
|
67400
|
+
type: 'string',
|
|
67401
|
+
},
|
|
67402
|
+
primary_button_text_color: {
|
|
67403
|
+
nullable: true,
|
|
67404
|
+
type: 'string',
|
|
67405
|
+
},
|
|
67406
|
+
},
|
|
67407
|
+
required: [
|
|
67408
|
+
'primary_button_color',
|
|
67409
|
+
'primary_button_text_color',
|
|
67410
|
+
'logo_shape',
|
|
67411
|
+
],
|
|
67412
|
+
type: 'object',
|
|
67413
|
+
},
|
|
67414
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
67415
|
+
logo_url: { nullable: true, type: 'string' },
|
|
67416
|
+
name: { type: 'string' },
|
|
67417
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67418
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
67419
|
+
},
|
|
67420
|
+
required: [
|
|
67421
|
+
'organization_id',
|
|
67422
|
+
'name',
|
|
67423
|
+
'logo_url',
|
|
67424
|
+
'connect_webview_customization',
|
|
67425
|
+
'created_at',
|
|
67426
|
+
'updated_at',
|
|
67427
|
+
],
|
|
67428
|
+
type: 'object',
|
|
67429
|
+
},
|
|
67430
|
+
pending_invitations: {
|
|
67431
|
+
items: {
|
|
67432
|
+
properties: {
|
|
67433
|
+
email: { type: 'string' },
|
|
67434
|
+
expires_at: { format: 'date-time', type: 'string' },
|
|
67435
|
+
invited_at: { format: 'date-time', type: 'string' },
|
|
67436
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67437
|
+
organization_invitation_id: {
|
|
67438
|
+
format: 'uuid',
|
|
67439
|
+
type: 'string',
|
|
67440
|
+
},
|
|
67441
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
67442
|
+
status: {
|
|
67443
|
+
enum: ['pending', 'accepted', 'revoked'],
|
|
67444
|
+
type: 'string',
|
|
67445
|
+
},
|
|
67446
|
+
},
|
|
67447
|
+
required: [
|
|
67448
|
+
'organization_invitation_id',
|
|
67449
|
+
'organization_id',
|
|
67450
|
+
'email',
|
|
67451
|
+
'role',
|
|
67452
|
+
'status',
|
|
67453
|
+
'invited_at',
|
|
67454
|
+
'expires_at',
|
|
67455
|
+
],
|
|
67456
|
+
type: 'object',
|
|
67457
|
+
},
|
|
67458
|
+
type: 'array',
|
|
67459
|
+
},
|
|
67460
|
+
workspaces: {
|
|
67461
|
+
items: { $ref: '#/components/schemas/workspace' },
|
|
67462
|
+
type: 'array',
|
|
67463
|
+
},
|
|
67464
|
+
},
|
|
67465
|
+
required: [
|
|
67466
|
+
'organization',
|
|
67467
|
+
'members',
|
|
67468
|
+
'pending_invitations',
|
|
67469
|
+
'workspaces',
|
|
67470
|
+
'ok',
|
|
67471
|
+
],
|
|
67472
|
+
type: 'object',
|
|
67473
|
+
},
|
|
67474
|
+
},
|
|
67475
|
+
},
|
|
67476
|
+
description: 'OK',
|
|
67477
|
+
},
|
|
67478
|
+
400: { description: 'Bad Request' },
|
|
67479
|
+
401: { description: 'Unauthorized' },
|
|
67480
|
+
},
|
|
67481
|
+
security: [{ console_session_without_workspace: [] }],
|
|
67482
|
+
summary: '/seam/console/v1/organizations/get',
|
|
67483
|
+
tags: [],
|
|
67484
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
67485
|
+
'x-fern-sdk-method-name': 'get',
|
|
67486
|
+
'x-fern-sdk-return-value': 'organization',
|
|
67487
|
+
'x-response-key': 'organization',
|
|
67488
|
+
'x-title': 'Get an Organization',
|
|
67489
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
67490
|
+
},
|
|
67491
|
+
post: {
|
|
67492
|
+
description: 'Returns a specified organization.',
|
|
67493
|
+
operationId: 'seamConsoleV1OrganizationsGetPost',
|
|
67494
|
+
requestBody: {
|
|
67495
|
+
content: {
|
|
67496
|
+
'application/json': {
|
|
67497
|
+
schema: {
|
|
67498
|
+
properties: {
|
|
67499
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67500
|
+
},
|
|
67501
|
+
required: ['organization_id'],
|
|
67502
|
+
type: 'object',
|
|
67503
|
+
},
|
|
67504
|
+
},
|
|
67505
|
+
},
|
|
67506
|
+
},
|
|
67507
|
+
responses: {
|
|
67508
|
+
200: {
|
|
67509
|
+
content: {
|
|
67510
|
+
'application/json': {
|
|
67511
|
+
schema: {
|
|
67512
|
+
properties: {
|
|
67513
|
+
members: {
|
|
67514
|
+
items: {
|
|
67515
|
+
properties: {
|
|
67516
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
67517
|
+
email: { nullable: true, type: 'string' },
|
|
67518
|
+
first_name: { nullable: true, type: 'string' },
|
|
67519
|
+
last_name: { nullable: true, type: 'string' },
|
|
67520
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67521
|
+
organization_member_id: {
|
|
67522
|
+
format: 'uuid',
|
|
67523
|
+
type: 'string',
|
|
67524
|
+
},
|
|
67525
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
67526
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
67527
|
+
},
|
|
67528
|
+
required: [
|
|
67529
|
+
'organization_member_id',
|
|
67530
|
+
'organization_id',
|
|
67531
|
+
'user_id',
|
|
67532
|
+
'email',
|
|
67533
|
+
'first_name',
|
|
67534
|
+
'last_name',
|
|
67535
|
+
'role',
|
|
67536
|
+
'created_at',
|
|
67537
|
+
],
|
|
67538
|
+
type: 'object',
|
|
67539
|
+
},
|
|
67540
|
+
type: 'array',
|
|
67541
|
+
},
|
|
67542
|
+
ok: { type: 'boolean' },
|
|
67543
|
+
organization: {
|
|
67544
|
+
properties: {
|
|
67545
|
+
connect_webview_customization: {
|
|
67546
|
+
properties: {
|
|
67547
|
+
logo_shape: {
|
|
67548
|
+
enum: ['circle', 'square'],
|
|
67549
|
+
nullable: true,
|
|
67550
|
+
type: 'string',
|
|
67551
|
+
},
|
|
67552
|
+
primary_button_color: {
|
|
67553
|
+
nullable: true,
|
|
67554
|
+
type: 'string',
|
|
67555
|
+
},
|
|
67556
|
+
primary_button_text_color: {
|
|
67557
|
+
nullable: true,
|
|
67558
|
+
type: 'string',
|
|
67559
|
+
},
|
|
67560
|
+
},
|
|
67561
|
+
required: [
|
|
67562
|
+
'primary_button_color',
|
|
67563
|
+
'primary_button_text_color',
|
|
67564
|
+
'logo_shape',
|
|
67565
|
+
],
|
|
67566
|
+
type: 'object',
|
|
67567
|
+
},
|
|
67568
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
67569
|
+
logo_url: { nullable: true, type: 'string' },
|
|
67570
|
+
name: { type: 'string' },
|
|
67571
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67572
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
67573
|
+
},
|
|
67574
|
+
required: [
|
|
67575
|
+
'organization_id',
|
|
67576
|
+
'name',
|
|
67577
|
+
'logo_url',
|
|
67578
|
+
'connect_webview_customization',
|
|
67579
|
+
'created_at',
|
|
67580
|
+
'updated_at',
|
|
67581
|
+
],
|
|
67582
|
+
type: 'object',
|
|
67583
|
+
},
|
|
67584
|
+
pending_invitations: {
|
|
67585
|
+
items: {
|
|
67586
|
+
properties: {
|
|
67587
|
+
email: { type: 'string' },
|
|
67588
|
+
expires_at: { format: 'date-time', type: 'string' },
|
|
67589
|
+
invited_at: { format: 'date-time', type: 'string' },
|
|
67590
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67591
|
+
organization_invitation_id: {
|
|
67592
|
+
format: 'uuid',
|
|
67593
|
+
type: 'string',
|
|
67594
|
+
},
|
|
67595
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
67596
|
+
status: {
|
|
67597
|
+
enum: ['pending', 'accepted', 'revoked'],
|
|
67598
|
+
type: 'string',
|
|
67599
|
+
},
|
|
67600
|
+
},
|
|
67601
|
+
required: [
|
|
67602
|
+
'organization_invitation_id',
|
|
67603
|
+
'organization_id',
|
|
67604
|
+
'email',
|
|
67605
|
+
'role',
|
|
67606
|
+
'status',
|
|
67607
|
+
'invited_at',
|
|
67608
|
+
'expires_at',
|
|
67609
|
+
],
|
|
67610
|
+
type: 'object',
|
|
67611
|
+
},
|
|
67612
|
+
type: 'array',
|
|
67613
|
+
},
|
|
67614
|
+
workspaces: {
|
|
67615
|
+
items: { $ref: '#/components/schemas/workspace' },
|
|
67616
|
+
type: 'array',
|
|
67617
|
+
},
|
|
67618
|
+
},
|
|
67619
|
+
required: [
|
|
67620
|
+
'organization',
|
|
67621
|
+
'members',
|
|
67622
|
+
'pending_invitations',
|
|
67623
|
+
'workspaces',
|
|
67624
|
+
'ok',
|
|
67625
|
+
],
|
|
67626
|
+
type: 'object',
|
|
67627
|
+
},
|
|
67628
|
+
},
|
|
67629
|
+
},
|
|
67630
|
+
description: 'OK',
|
|
67631
|
+
},
|
|
67632
|
+
400: { description: 'Bad Request' },
|
|
67633
|
+
401: { description: 'Unauthorized' },
|
|
67634
|
+
},
|
|
67635
|
+
security: [{ console_session_without_workspace: [] }],
|
|
67636
|
+
summary: '/seam/console/v1/organizations/get',
|
|
67637
|
+
tags: [],
|
|
67638
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
67639
|
+
'x-fern-sdk-method-name': 'get',
|
|
67640
|
+
'x-fern-sdk-return-value': 'organization',
|
|
67641
|
+
'x-response-key': 'organization',
|
|
67642
|
+
'x-title': 'Get an Organization',
|
|
67643
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
67644
|
+
},
|
|
67645
|
+
},
|
|
67646
|
+
'/seam/console/v1/organizations/invitations/revoke': {
|
|
67647
|
+
post: {
|
|
67648
|
+
description: 'Revokes an organization invitation.',
|
|
67649
|
+
operationId: 'seamConsoleV1OrganizationsInvitationsRevokePost',
|
|
67650
|
+
requestBody: {
|
|
67651
|
+
content: {
|
|
67652
|
+
'application/json': {
|
|
67653
|
+
schema: {
|
|
67654
|
+
properties: {
|
|
67655
|
+
organization_invitation_id: {
|
|
67656
|
+
format: 'uuid',
|
|
67657
|
+
type: 'string',
|
|
67658
|
+
},
|
|
67659
|
+
},
|
|
67660
|
+
required: ['organization_invitation_id'],
|
|
67661
|
+
type: 'object',
|
|
67662
|
+
},
|
|
67663
|
+
},
|
|
67664
|
+
},
|
|
67665
|
+
},
|
|
67666
|
+
responses: {
|
|
67667
|
+
200: {
|
|
67668
|
+
content: {
|
|
67669
|
+
'application/json': {
|
|
67670
|
+
schema: {
|
|
67671
|
+
properties: {
|
|
67672
|
+
ok: { type: 'boolean' },
|
|
67673
|
+
organization_invitation: {
|
|
67674
|
+
properties: {
|
|
67675
|
+
email: { type: 'string' },
|
|
67676
|
+
expires_at: { format: 'date-time', type: 'string' },
|
|
67677
|
+
invited_at: { format: 'date-time', type: 'string' },
|
|
67678
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67679
|
+
organization_invitation_id: {
|
|
67680
|
+
format: 'uuid',
|
|
67681
|
+
type: 'string',
|
|
67682
|
+
},
|
|
67683
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
67684
|
+
status: {
|
|
67685
|
+
enum: ['pending', 'accepted', 'revoked'],
|
|
67686
|
+
type: 'string',
|
|
67687
|
+
},
|
|
67688
|
+
},
|
|
67689
|
+
required: [
|
|
67690
|
+
'organization_invitation_id',
|
|
67691
|
+
'organization_id',
|
|
67692
|
+
'email',
|
|
67693
|
+
'role',
|
|
67694
|
+
'status',
|
|
67695
|
+
'invited_at',
|
|
67696
|
+
'expires_at',
|
|
67697
|
+
],
|
|
67698
|
+
type: 'object',
|
|
67699
|
+
},
|
|
67700
|
+
},
|
|
67701
|
+
required: ['organization_invitation', 'ok'],
|
|
67702
|
+
type: 'object',
|
|
67703
|
+
},
|
|
67704
|
+
},
|
|
67705
|
+
},
|
|
67706
|
+
description: 'OK',
|
|
67707
|
+
},
|
|
67708
|
+
400: { description: 'Bad Request' },
|
|
67709
|
+
401: { description: 'Unauthorized' },
|
|
67710
|
+
},
|
|
67711
|
+
security: [{ console_session_without_workspace: [] }],
|
|
67712
|
+
summary: '/seam/console/v1/organizations/invitations/revoke',
|
|
67713
|
+
tags: [],
|
|
67714
|
+
'x-fern-sdk-group-name': [
|
|
67715
|
+
'seam',
|
|
67716
|
+
'console',
|
|
67717
|
+
'v1',
|
|
67718
|
+
'organizations',
|
|
67719
|
+
'invitations',
|
|
67720
|
+
],
|
|
67721
|
+
'x-fern-sdk-method-name': 'revoke',
|
|
67722
|
+
'x-fern-sdk-return-value': 'organization_invitation',
|
|
67723
|
+
'x-response-key': 'organization_invitation',
|
|
67724
|
+
'x-title': 'Revoke an Organization Invitation',
|
|
67725
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
67726
|
+
},
|
|
67727
|
+
},
|
|
67728
|
+
'/seam/console/v1/organizations/list': {
|
|
67729
|
+
get: {
|
|
67730
|
+
description: 'Returns a list of organizations.',
|
|
67731
|
+
operationId: 'seamConsoleV1OrganizationsListGet',
|
|
67732
|
+
responses: {
|
|
67733
|
+
200: {
|
|
67734
|
+
content: {
|
|
67735
|
+
'application/json': {
|
|
67736
|
+
schema: {
|
|
67737
|
+
properties: {
|
|
67738
|
+
ok: { type: 'boolean' },
|
|
67739
|
+
organizations: {
|
|
67740
|
+
items: {
|
|
67741
|
+
properties: {
|
|
67742
|
+
connect_webview_customization: {
|
|
67743
|
+
properties: {
|
|
67744
|
+
logo_shape: {
|
|
67745
|
+
enum: ['circle', 'square'],
|
|
67746
|
+
nullable: true,
|
|
67747
|
+
type: 'string',
|
|
67748
|
+
},
|
|
67749
|
+
primary_button_color: {
|
|
67750
|
+
nullable: true,
|
|
67751
|
+
type: 'string',
|
|
67752
|
+
},
|
|
67753
|
+
primary_button_text_color: {
|
|
67754
|
+
nullable: true,
|
|
67755
|
+
type: 'string',
|
|
67756
|
+
},
|
|
67757
|
+
},
|
|
67758
|
+
required: [
|
|
67759
|
+
'primary_button_color',
|
|
67760
|
+
'primary_button_text_color',
|
|
67761
|
+
'logo_shape',
|
|
67762
|
+
],
|
|
67763
|
+
type: 'object',
|
|
67764
|
+
},
|
|
67765
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
67766
|
+
logo_url: { nullable: true, type: 'string' },
|
|
67767
|
+
member_count: { format: 'float', type: 'number' },
|
|
67768
|
+
name: { type: 'string' },
|
|
67769
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67770
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
67771
|
+
workspace_count: { format: 'float', type: 'number' },
|
|
67772
|
+
},
|
|
67773
|
+
required: [
|
|
67774
|
+
'organization_id',
|
|
67775
|
+
'name',
|
|
67776
|
+
'logo_url',
|
|
67777
|
+
'connect_webview_customization',
|
|
67778
|
+
'created_at',
|
|
67779
|
+
'updated_at',
|
|
67780
|
+
'workspace_count',
|
|
67781
|
+
'member_count',
|
|
67782
|
+
],
|
|
67783
|
+
type: 'object',
|
|
67784
|
+
},
|
|
67785
|
+
type: 'array',
|
|
67786
|
+
},
|
|
67787
|
+
},
|
|
67788
|
+
required: ['organizations', 'ok'],
|
|
67789
|
+
type: 'object',
|
|
67790
|
+
},
|
|
67791
|
+
},
|
|
67792
|
+
},
|
|
67793
|
+
description: 'OK',
|
|
67794
|
+
},
|
|
67795
|
+
400: { description: 'Bad Request' },
|
|
67796
|
+
401: { description: 'Unauthorized' },
|
|
67797
|
+
},
|
|
67798
|
+
security: [{ console_session_without_workspace: [] }],
|
|
67799
|
+
summary: '/seam/console/v1/organizations/list',
|
|
67800
|
+
tags: [],
|
|
67801
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
67802
|
+
'x-fern-sdk-method-name': 'list',
|
|
67803
|
+
'x-fern-sdk-return-value': 'organizations',
|
|
67804
|
+
'x-response-key': 'organizations',
|
|
67805
|
+
'x-title': 'List Organizations',
|
|
67806
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
67807
|
+
},
|
|
67808
|
+
post: {
|
|
67809
|
+
description: 'Returns a list of organizations.',
|
|
67810
|
+
operationId: 'seamConsoleV1OrganizationsListPost',
|
|
67811
|
+
responses: {
|
|
67812
|
+
200: {
|
|
67813
|
+
content: {
|
|
67814
|
+
'application/json': {
|
|
67815
|
+
schema: {
|
|
67816
|
+
properties: {
|
|
67817
|
+
ok: { type: 'boolean' },
|
|
67818
|
+
organizations: {
|
|
67819
|
+
items: {
|
|
67820
|
+
properties: {
|
|
67821
|
+
connect_webview_customization: {
|
|
67822
|
+
properties: {
|
|
67823
|
+
logo_shape: {
|
|
67824
|
+
enum: ['circle', 'square'],
|
|
67825
|
+
nullable: true,
|
|
67826
|
+
type: 'string',
|
|
67827
|
+
},
|
|
67828
|
+
primary_button_color: {
|
|
67829
|
+
nullable: true,
|
|
67830
|
+
type: 'string',
|
|
67831
|
+
},
|
|
67832
|
+
primary_button_text_color: {
|
|
67833
|
+
nullable: true,
|
|
67834
|
+
type: 'string',
|
|
67835
|
+
},
|
|
67836
|
+
},
|
|
67837
|
+
required: [
|
|
67838
|
+
'primary_button_color',
|
|
67839
|
+
'primary_button_text_color',
|
|
67840
|
+
'logo_shape',
|
|
67841
|
+
],
|
|
67842
|
+
type: 'object',
|
|
67843
|
+
},
|
|
67844
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
67845
|
+
logo_url: { nullable: true, type: 'string' },
|
|
67846
|
+
member_count: { format: 'float', type: 'number' },
|
|
67847
|
+
name: { type: 'string' },
|
|
67848
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67849
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
67850
|
+
workspace_count: { format: 'float', type: 'number' },
|
|
67851
|
+
},
|
|
67852
|
+
required: [
|
|
67853
|
+
'organization_id',
|
|
67854
|
+
'name',
|
|
67855
|
+
'logo_url',
|
|
67856
|
+
'connect_webview_customization',
|
|
67857
|
+
'created_at',
|
|
67858
|
+
'updated_at',
|
|
67859
|
+
'workspace_count',
|
|
67860
|
+
'member_count',
|
|
67861
|
+
],
|
|
67862
|
+
type: 'object',
|
|
67863
|
+
},
|
|
67864
|
+
type: 'array',
|
|
67865
|
+
},
|
|
67866
|
+
},
|
|
67867
|
+
required: ['organizations', 'ok'],
|
|
67868
|
+
type: 'object',
|
|
67869
|
+
},
|
|
67870
|
+
},
|
|
67871
|
+
},
|
|
67872
|
+
description: 'OK',
|
|
67873
|
+
},
|
|
67874
|
+
400: { description: 'Bad Request' },
|
|
67875
|
+
401: { description: 'Unauthorized' },
|
|
67876
|
+
},
|
|
67877
|
+
security: [{ console_session_without_workspace: [] }],
|
|
67878
|
+
summary: '/seam/console/v1/organizations/list',
|
|
67879
|
+
tags: [],
|
|
67880
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
67881
|
+
'x-fern-sdk-method-name': 'list',
|
|
67882
|
+
'x-fern-sdk-return-value': 'organizations',
|
|
67883
|
+
'x-response-key': 'organizations',
|
|
67884
|
+
'x-title': 'List Organizations',
|
|
67885
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
67886
|
+
},
|
|
67887
|
+
},
|
|
67888
|
+
'/seam/console/v1/organizations/members/add': {
|
|
67889
|
+
post: {
|
|
67890
|
+
description:
|
|
67891
|
+
'Adds a member to an organization, inviting them by email if needed.',
|
|
67892
|
+
operationId: 'seamConsoleV1OrganizationsMembersAddPost',
|
|
67893
|
+
requestBody: {
|
|
67894
|
+
content: {
|
|
67895
|
+
'application/json': {
|
|
67896
|
+
schema: {
|
|
67897
|
+
properties: {
|
|
67898
|
+
email: { format: 'email', type: 'string' },
|
|
67899
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67900
|
+
role: {
|
|
67901
|
+
default: 'member',
|
|
67902
|
+
enum: ['admin', 'member'],
|
|
67903
|
+
type: 'string',
|
|
67904
|
+
},
|
|
67905
|
+
},
|
|
67906
|
+
required: ['organization_id', 'email'],
|
|
67907
|
+
type: 'object',
|
|
67908
|
+
},
|
|
67909
|
+
},
|
|
67910
|
+
},
|
|
67911
|
+
},
|
|
67912
|
+
responses: {
|
|
67913
|
+
200: {
|
|
67914
|
+
content: {
|
|
67915
|
+
'application/json': {
|
|
67916
|
+
schema: {
|
|
67917
|
+
properties: {
|
|
67918
|
+
ok: { type: 'boolean' },
|
|
67919
|
+
organization_invitation: {
|
|
67920
|
+
properties: {
|
|
67921
|
+
email: { type: 'string' },
|
|
67922
|
+
expires_at: { format: 'date-time', type: 'string' },
|
|
67923
|
+
invited_at: { format: 'date-time', type: 'string' },
|
|
67924
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67925
|
+
organization_invitation_id: {
|
|
67926
|
+
format: 'uuid',
|
|
67927
|
+
type: 'string',
|
|
67928
|
+
},
|
|
67929
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
67930
|
+
status: {
|
|
67931
|
+
enum: ['pending', 'accepted', 'revoked'],
|
|
67932
|
+
type: 'string',
|
|
67933
|
+
},
|
|
67934
|
+
},
|
|
67935
|
+
required: [
|
|
67936
|
+
'organization_invitation_id',
|
|
67937
|
+
'organization_id',
|
|
67938
|
+
'email',
|
|
67939
|
+
'role',
|
|
67940
|
+
'status',
|
|
67941
|
+
'invited_at',
|
|
67942
|
+
'expires_at',
|
|
67943
|
+
],
|
|
67944
|
+
type: 'object',
|
|
67945
|
+
},
|
|
67946
|
+
organization_member: {
|
|
67947
|
+
properties: {
|
|
67948
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
67949
|
+
email: { nullable: true, type: 'string' },
|
|
67950
|
+
first_name: { nullable: true, type: 'string' },
|
|
67951
|
+
last_name: { nullable: true, type: 'string' },
|
|
67952
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
67953
|
+
organization_member_id: {
|
|
67954
|
+
format: 'uuid',
|
|
67955
|
+
type: 'string',
|
|
67956
|
+
},
|
|
67957
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
67958
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
67959
|
+
},
|
|
67960
|
+
required: [
|
|
67961
|
+
'organization_member_id',
|
|
67962
|
+
'organization_id',
|
|
67963
|
+
'user_id',
|
|
67964
|
+
'email',
|
|
67965
|
+
'first_name',
|
|
67966
|
+
'last_name',
|
|
67967
|
+
'role',
|
|
67968
|
+
'created_at',
|
|
67969
|
+
],
|
|
67970
|
+
type: 'object',
|
|
67971
|
+
},
|
|
67972
|
+
},
|
|
67973
|
+
required: ['ok'],
|
|
67974
|
+
type: 'object',
|
|
67975
|
+
},
|
|
67976
|
+
},
|
|
67977
|
+
},
|
|
67978
|
+
description: 'OK',
|
|
67979
|
+
},
|
|
67980
|
+
400: { description: 'Bad Request' },
|
|
67981
|
+
401: { description: 'Unauthorized' },
|
|
67982
|
+
},
|
|
67983
|
+
security: [{ console_session_without_workspace: [] }],
|
|
67984
|
+
summary: '/seam/console/v1/organizations/members/add',
|
|
67985
|
+
tags: [],
|
|
67986
|
+
'x-fern-sdk-group-name': [
|
|
67987
|
+
'seam',
|
|
67988
|
+
'console',
|
|
67989
|
+
'v1',
|
|
67990
|
+
'organizations',
|
|
67991
|
+
'members',
|
|
67992
|
+
],
|
|
67993
|
+
'x-fern-sdk-method-name': 'add',
|
|
67994
|
+
'x-response-key': null,
|
|
67995
|
+
'x-title': 'Add an Organization Member',
|
|
67996
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
67997
|
+
},
|
|
67998
|
+
},
|
|
67999
|
+
'/seam/console/v1/organizations/members/remove': {
|
|
68000
|
+
post: {
|
|
68001
|
+
description: 'Removes a member from an organization.',
|
|
68002
|
+
operationId: 'seamConsoleV1OrganizationsMembersRemovePost',
|
|
68003
|
+
requestBody: {
|
|
68004
|
+
content: {
|
|
68005
|
+
'application/json': {
|
|
68006
|
+
schema: {
|
|
68007
|
+
properties: {
|
|
68008
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
68009
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
68010
|
+
},
|
|
68011
|
+
required: ['organization_id', 'user_id'],
|
|
68012
|
+
type: 'object',
|
|
68013
|
+
},
|
|
68014
|
+
},
|
|
68015
|
+
},
|
|
68016
|
+
},
|
|
68017
|
+
responses: {
|
|
68018
|
+
200: {
|
|
68019
|
+
content: {
|
|
68020
|
+
'application/json': {
|
|
68021
|
+
schema: {
|
|
68022
|
+
properties: { ok: { type: 'boolean' } },
|
|
68023
|
+
required: ['ok'],
|
|
68024
|
+
type: 'object',
|
|
68025
|
+
},
|
|
68026
|
+
},
|
|
68027
|
+
},
|
|
68028
|
+
description: 'OK',
|
|
68029
|
+
},
|
|
68030
|
+
400: { description: 'Bad Request' },
|
|
68031
|
+
401: { description: 'Unauthorized' },
|
|
68032
|
+
},
|
|
68033
|
+
security: [{ console_session_without_workspace: [] }],
|
|
68034
|
+
summary: '/seam/console/v1/organizations/members/remove',
|
|
68035
|
+
tags: [],
|
|
68036
|
+
'x-fern-sdk-group-name': [
|
|
68037
|
+
'seam',
|
|
68038
|
+
'console',
|
|
68039
|
+
'v1',
|
|
68040
|
+
'organizations',
|
|
68041
|
+
'members',
|
|
68042
|
+
],
|
|
68043
|
+
'x-fern-sdk-method-name': 'remove',
|
|
68044
|
+
'x-response-key': null,
|
|
68045
|
+
'x-title': 'Remove an Organization Member',
|
|
68046
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
68047
|
+
},
|
|
68048
|
+
},
|
|
68049
|
+
'/seam/console/v1/organizations/members/update': {
|
|
68050
|
+
post: {
|
|
68051
|
+
description: 'Updates a member of an organization.',
|
|
68052
|
+
operationId: 'seamConsoleV1OrganizationsMembersUpdatePost',
|
|
68053
|
+
requestBody: {
|
|
68054
|
+
content: {
|
|
68055
|
+
'application/json': {
|
|
68056
|
+
schema: {
|
|
68057
|
+
properties: {
|
|
68058
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
68059
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
68060
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
68061
|
+
},
|
|
68062
|
+
required: ['organization_id', 'user_id', 'role'],
|
|
68063
|
+
type: 'object',
|
|
68064
|
+
},
|
|
68065
|
+
},
|
|
68066
|
+
},
|
|
68067
|
+
},
|
|
68068
|
+
responses: {
|
|
68069
|
+
200: {
|
|
68070
|
+
content: {
|
|
68071
|
+
'application/json': {
|
|
68072
|
+
schema: {
|
|
68073
|
+
properties: {
|
|
68074
|
+
ok: { type: 'boolean' },
|
|
68075
|
+
organization_member: {
|
|
68076
|
+
properties: {
|
|
68077
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
68078
|
+
email: { nullable: true, type: 'string' },
|
|
68079
|
+
first_name: { nullable: true, type: 'string' },
|
|
68080
|
+
last_name: { nullable: true, type: 'string' },
|
|
68081
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
68082
|
+
organization_member_id: {
|
|
68083
|
+
format: 'uuid',
|
|
68084
|
+
type: 'string',
|
|
68085
|
+
},
|
|
68086
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
68087
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
68088
|
+
},
|
|
68089
|
+
required: [
|
|
68090
|
+
'organization_member_id',
|
|
68091
|
+
'organization_id',
|
|
68092
|
+
'user_id',
|
|
68093
|
+
'email',
|
|
68094
|
+
'first_name',
|
|
68095
|
+
'last_name',
|
|
68096
|
+
'role',
|
|
68097
|
+
'created_at',
|
|
68098
|
+
],
|
|
68099
|
+
type: 'object',
|
|
68100
|
+
},
|
|
68101
|
+
},
|
|
68102
|
+
required: ['organization_member', 'ok'],
|
|
68103
|
+
type: 'object',
|
|
68104
|
+
},
|
|
68105
|
+
},
|
|
68106
|
+
},
|
|
68107
|
+
description: 'OK',
|
|
68108
|
+
},
|
|
68109
|
+
400: { description: 'Bad Request' },
|
|
68110
|
+
401: { description: 'Unauthorized' },
|
|
68111
|
+
},
|
|
68112
|
+
security: [{ console_session_without_workspace: [] }],
|
|
68113
|
+
summary: '/seam/console/v1/organizations/members/update',
|
|
68114
|
+
tags: [],
|
|
68115
|
+
'x-fern-sdk-group-name': [
|
|
68116
|
+
'seam',
|
|
68117
|
+
'console',
|
|
68118
|
+
'v1',
|
|
68119
|
+
'organizations',
|
|
68120
|
+
'members',
|
|
68121
|
+
],
|
|
68122
|
+
'x-fern-sdk-method-name': 'update',
|
|
68123
|
+
'x-fern-sdk-return-value': 'organization_member',
|
|
68124
|
+
'x-response-key': 'organization_member',
|
|
68125
|
+
'x-title': 'Update an Organization Member',
|
|
68126
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
68127
|
+
},
|
|
68128
|
+
},
|
|
68129
|
+
'/seam/console/v1/organizations/members/workspaces/grant': {
|
|
68130
|
+
post: {
|
|
68131
|
+
description: 'Grants an organization member access to a workspace.',
|
|
68132
|
+
operationId: 'seamConsoleV1OrganizationsMembersWorkspacesGrantPost',
|
|
68133
|
+
requestBody: {
|
|
68134
|
+
content: {
|
|
68135
|
+
'application/json': {
|
|
68136
|
+
schema: {
|
|
68137
|
+
properties: {
|
|
68138
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
68139
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
68140
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
68141
|
+
},
|
|
68142
|
+
required: ['organization_id', 'user_id', 'workspace_id'],
|
|
68143
|
+
type: 'object',
|
|
68144
|
+
},
|
|
68145
|
+
},
|
|
68146
|
+
},
|
|
68147
|
+
},
|
|
68148
|
+
responses: {
|
|
68149
|
+
200: {
|
|
68150
|
+
content: {
|
|
68151
|
+
'application/json': {
|
|
68152
|
+
schema: {
|
|
68153
|
+
properties: { ok: { type: 'boolean' } },
|
|
68154
|
+
required: ['ok'],
|
|
68155
|
+
type: 'object',
|
|
68156
|
+
},
|
|
68157
|
+
},
|
|
68158
|
+
},
|
|
68159
|
+
description: 'OK',
|
|
68160
|
+
},
|
|
68161
|
+
400: { description: 'Bad Request' },
|
|
68162
|
+
401: { description: 'Unauthorized' },
|
|
68163
|
+
},
|
|
68164
|
+
security: [{ console_session_without_workspace: [] }],
|
|
68165
|
+
summary: '/seam/console/v1/organizations/members/workspaces/grant',
|
|
68166
|
+
tags: ['/workspaces'],
|
|
68167
|
+
'x-fern-sdk-group-name': [
|
|
68168
|
+
'seam',
|
|
68169
|
+
'console',
|
|
68170
|
+
'v1',
|
|
68171
|
+
'organizations',
|
|
68172
|
+
'members',
|
|
68173
|
+
'workspaces',
|
|
68174
|
+
],
|
|
68175
|
+
'x-fern-sdk-method-name': 'grant',
|
|
68176
|
+
'x-response-key': null,
|
|
68177
|
+
'x-title': 'Grant an Organization Member Workspace Access',
|
|
68178
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
68179
|
+
},
|
|
68180
|
+
},
|
|
68181
|
+
'/seam/console/v1/organizations/members/workspaces/list': {
|
|
68182
|
+
get: {
|
|
68183
|
+
description:
|
|
68184
|
+
'Returns the workspaces an organization member can access.',
|
|
68185
|
+
operationId: 'seamConsoleV1OrganizationsMembersWorkspacesListGet',
|
|
68186
|
+
parameters: [
|
|
68187
|
+
{
|
|
68188
|
+
in: 'query',
|
|
68189
|
+
name: 'organization_id',
|
|
68190
|
+
required: true,
|
|
68191
|
+
schema: { format: 'uuid', type: 'string' },
|
|
68192
|
+
},
|
|
68193
|
+
{
|
|
68194
|
+
in: 'query',
|
|
68195
|
+
name: 'user_id',
|
|
68196
|
+
required: true,
|
|
68197
|
+
schema: { format: 'uuid', type: 'string' },
|
|
68198
|
+
},
|
|
68199
|
+
],
|
|
68200
|
+
responses: {
|
|
68201
|
+
200: {
|
|
68202
|
+
content: {
|
|
68203
|
+
'application/json': {
|
|
68204
|
+
schema: {
|
|
68205
|
+
properties: {
|
|
68206
|
+
ok: { type: 'boolean' },
|
|
68207
|
+
workspaces: {
|
|
68208
|
+
items: {
|
|
68209
|
+
properties: {
|
|
68210
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
68211
|
+
is_owner: { type: 'boolean' },
|
|
68212
|
+
is_sandbox: { type: 'boolean' },
|
|
68213
|
+
name: { type: 'string' },
|
|
68214
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
68215
|
+
},
|
|
68216
|
+
required: [
|
|
68217
|
+
'workspace_id',
|
|
68218
|
+
'name',
|
|
68219
|
+
'is_sandbox',
|
|
68220
|
+
'is_owner',
|
|
68221
|
+
'created_at',
|
|
68222
|
+
],
|
|
68223
|
+
type: 'object',
|
|
68224
|
+
},
|
|
68225
|
+
type: 'array',
|
|
68226
|
+
},
|
|
68227
|
+
},
|
|
68228
|
+
required: ['workspaces', 'ok'],
|
|
68229
|
+
type: 'object',
|
|
68230
|
+
},
|
|
68231
|
+
},
|
|
68232
|
+
},
|
|
68233
|
+
description: 'OK',
|
|
68234
|
+
},
|
|
68235
|
+
400: { description: 'Bad Request' },
|
|
68236
|
+
401: { description: 'Unauthorized' },
|
|
68237
|
+
},
|
|
68238
|
+
security: [{ console_session_without_workspace: [] }],
|
|
68239
|
+
summary: '/seam/console/v1/organizations/members/workspaces/list',
|
|
68240
|
+
tags: ['/workspaces'],
|
|
68241
|
+
'x-fern-sdk-group-name': [
|
|
68242
|
+
'seam',
|
|
68243
|
+
'console',
|
|
68244
|
+
'v1',
|
|
68245
|
+
'organizations',
|
|
68246
|
+
'members',
|
|
68247
|
+
'workspaces',
|
|
68248
|
+
],
|
|
68249
|
+
'x-fern-sdk-method-name': 'list',
|
|
68250
|
+
'x-fern-sdk-return-value': 'workspaces',
|
|
68251
|
+
'x-response-key': 'workspaces',
|
|
68252
|
+
'x-title': "List an Organization Member's Workspaces",
|
|
68253
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
68254
|
+
},
|
|
68255
|
+
post: {
|
|
68256
|
+
description:
|
|
68257
|
+
'Returns the workspaces an organization member can access.',
|
|
68258
|
+
operationId: 'seamConsoleV1OrganizationsMembersWorkspacesListPost',
|
|
68259
|
+
requestBody: {
|
|
68260
|
+
content: {
|
|
68261
|
+
'application/json': {
|
|
68262
|
+
schema: {
|
|
68263
|
+
properties: {
|
|
68264
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
68265
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
68266
|
+
},
|
|
68267
|
+
required: ['organization_id', 'user_id'],
|
|
68268
|
+
type: 'object',
|
|
68269
|
+
},
|
|
68270
|
+
},
|
|
68271
|
+
},
|
|
68272
|
+
},
|
|
68273
|
+
responses: {
|
|
68274
|
+
200: {
|
|
68275
|
+
content: {
|
|
68276
|
+
'application/json': {
|
|
68277
|
+
schema: {
|
|
68278
|
+
properties: {
|
|
68279
|
+
ok: { type: 'boolean' },
|
|
68280
|
+
workspaces: {
|
|
68281
|
+
items: {
|
|
68282
|
+
properties: {
|
|
68283
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
68284
|
+
is_owner: { type: 'boolean' },
|
|
68285
|
+
is_sandbox: { type: 'boolean' },
|
|
68286
|
+
name: { type: 'string' },
|
|
68287
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
68288
|
+
},
|
|
68289
|
+
required: [
|
|
68290
|
+
'workspace_id',
|
|
68291
|
+
'name',
|
|
68292
|
+
'is_sandbox',
|
|
68293
|
+
'is_owner',
|
|
68294
|
+
'created_at',
|
|
68295
|
+
],
|
|
68296
|
+
type: 'object',
|
|
68297
|
+
},
|
|
68298
|
+
type: 'array',
|
|
68299
|
+
},
|
|
68300
|
+
},
|
|
68301
|
+
required: ['workspaces', 'ok'],
|
|
68302
|
+
type: 'object',
|
|
68303
|
+
},
|
|
68304
|
+
},
|
|
68305
|
+
},
|
|
68306
|
+
description: 'OK',
|
|
68307
|
+
},
|
|
68308
|
+
400: { description: 'Bad Request' },
|
|
68309
|
+
401: { description: 'Unauthorized' },
|
|
68310
|
+
},
|
|
68311
|
+
security: [{ console_session_without_workspace: [] }],
|
|
68312
|
+
summary: '/seam/console/v1/organizations/members/workspaces/list',
|
|
68313
|
+
tags: ['/workspaces'],
|
|
68314
|
+
'x-fern-sdk-group-name': [
|
|
68315
|
+
'seam',
|
|
68316
|
+
'console',
|
|
68317
|
+
'v1',
|
|
68318
|
+
'organizations',
|
|
68319
|
+
'members',
|
|
68320
|
+
'workspaces',
|
|
68321
|
+
],
|
|
68322
|
+
'x-fern-sdk-method-name': 'list',
|
|
68323
|
+
'x-fern-sdk-return-value': 'workspaces',
|
|
68324
|
+
'x-response-key': 'workspaces',
|
|
68325
|
+
'x-title': "List an Organization Member's Workspaces",
|
|
68326
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
68327
|
+
},
|
|
68328
|
+
},
|
|
68329
|
+
'/seam/console/v1/organizations/members/workspaces/revoke': {
|
|
68330
|
+
post: {
|
|
68331
|
+
description: "Revokes an organization member's access to a workspace.",
|
|
68332
|
+
operationId: 'seamConsoleV1OrganizationsMembersWorkspacesRevokePost',
|
|
68333
|
+
requestBody: {
|
|
68334
|
+
content: {
|
|
68335
|
+
'application/json': {
|
|
68336
|
+
schema: {
|
|
68337
|
+
properties: {
|
|
68338
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
68339
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
68340
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
68341
|
+
},
|
|
68342
|
+
required: ['organization_id', 'user_id', 'workspace_id'],
|
|
68343
|
+
type: 'object',
|
|
68344
|
+
},
|
|
68345
|
+
},
|
|
68346
|
+
},
|
|
68347
|
+
},
|
|
68348
|
+
responses: {
|
|
68349
|
+
200: {
|
|
68350
|
+
content: {
|
|
68351
|
+
'application/json': {
|
|
68352
|
+
schema: {
|
|
68353
|
+
properties: { ok: { type: 'boolean' } },
|
|
68354
|
+
required: ['ok'],
|
|
68355
|
+
type: 'object',
|
|
68356
|
+
},
|
|
68357
|
+
},
|
|
68358
|
+
},
|
|
68359
|
+
description: 'OK',
|
|
68360
|
+
},
|
|
68361
|
+
400: { description: 'Bad Request' },
|
|
68362
|
+
401: { description: 'Unauthorized' },
|
|
68363
|
+
},
|
|
68364
|
+
security: [{ console_session_without_workspace: [] }],
|
|
68365
|
+
summary: '/seam/console/v1/organizations/members/workspaces/revoke',
|
|
68366
|
+
tags: ['/workspaces'],
|
|
68367
|
+
'x-fern-sdk-group-name': [
|
|
68368
|
+
'seam',
|
|
68369
|
+
'console',
|
|
68370
|
+
'v1',
|
|
68371
|
+
'organizations',
|
|
68372
|
+
'members',
|
|
68373
|
+
'workspaces',
|
|
68374
|
+
],
|
|
68375
|
+
'x-fern-sdk-method-name': 'revoke',
|
|
68376
|
+
'x-response-key': null,
|
|
68377
|
+
'x-title': "Revoke an Organization Member's Workspace Access",
|
|
68378
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
68379
|
+
},
|
|
68380
|
+
},
|
|
68381
|
+
'/seam/console/v1/organizations/update': {
|
|
68382
|
+
patch: {
|
|
68383
|
+
description: 'Updates an organization.',
|
|
68384
|
+
operationId: 'seamConsoleV1OrganizationsUpdatePatch',
|
|
68385
|
+
requestBody: {
|
|
68386
|
+
content: {
|
|
68387
|
+
'application/json': {
|
|
68388
|
+
schema: {
|
|
68389
|
+
properties: {
|
|
68390
|
+
connect_webview_customization: {
|
|
68391
|
+
properties: {
|
|
68392
|
+
logo_shape: {
|
|
68393
|
+
enum: ['circle', 'square'],
|
|
68394
|
+
nullable: true,
|
|
68395
|
+
type: 'string',
|
|
68396
|
+
},
|
|
68397
|
+
primary_button_color: { nullable: true, type: 'string' },
|
|
68398
|
+
primary_button_text_color: {
|
|
68399
|
+
nullable: true,
|
|
68400
|
+
type: 'string',
|
|
68401
|
+
},
|
|
68402
|
+
},
|
|
68403
|
+
type: 'object',
|
|
68404
|
+
},
|
|
68405
|
+
logo_image_base64: { nullable: true, type: 'string' },
|
|
68406
|
+
name: { maxLength: 255, minLength: 1, type: 'string' },
|
|
68407
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
68408
|
+
},
|
|
68409
|
+
required: ['organization_id'],
|
|
68410
|
+
type: 'object',
|
|
68411
|
+
},
|
|
68412
|
+
},
|
|
68413
|
+
},
|
|
68414
|
+
},
|
|
68415
|
+
responses: {
|
|
68416
|
+
200: {
|
|
68417
|
+
content: {
|
|
68418
|
+
'application/json': {
|
|
68419
|
+
schema: {
|
|
68420
|
+
properties: {
|
|
68421
|
+
ok: { type: 'boolean' },
|
|
68422
|
+
organization: {
|
|
68423
|
+
properties: {
|
|
68424
|
+
connect_webview_customization: {
|
|
68425
|
+
properties: {
|
|
68426
|
+
logo_shape: {
|
|
68427
|
+
enum: ['circle', 'square'],
|
|
68428
|
+
nullable: true,
|
|
68429
|
+
type: 'string',
|
|
68430
|
+
},
|
|
68431
|
+
primary_button_color: {
|
|
68432
|
+
nullable: true,
|
|
68433
|
+
type: 'string',
|
|
68434
|
+
},
|
|
68435
|
+
primary_button_text_color: {
|
|
68436
|
+
nullable: true,
|
|
68437
|
+
type: 'string',
|
|
68438
|
+
},
|
|
68439
|
+
},
|
|
68440
|
+
required: [
|
|
68441
|
+
'primary_button_color',
|
|
68442
|
+
'primary_button_text_color',
|
|
68443
|
+
'logo_shape',
|
|
68444
|
+
],
|
|
68445
|
+
type: 'object',
|
|
68446
|
+
},
|
|
68447
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
68448
|
+
logo_url: { nullable: true, type: 'string' },
|
|
68449
|
+
name: { type: 'string' },
|
|
68450
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
68451
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
68452
|
+
},
|
|
68453
|
+
required: [
|
|
68454
|
+
'organization_id',
|
|
68455
|
+
'name',
|
|
68456
|
+
'logo_url',
|
|
68457
|
+
'connect_webview_customization',
|
|
68458
|
+
'created_at',
|
|
68459
|
+
'updated_at',
|
|
68460
|
+
],
|
|
68461
|
+
type: 'object',
|
|
68462
|
+
},
|
|
68463
|
+
},
|
|
68464
|
+
required: ['organization', 'ok'],
|
|
68465
|
+
type: 'object',
|
|
68466
|
+
},
|
|
68467
|
+
},
|
|
68468
|
+
},
|
|
68469
|
+
description: 'OK',
|
|
68470
|
+
},
|
|
68471
|
+
400: { description: 'Bad Request' },
|
|
68472
|
+
401: { description: 'Unauthorized' },
|
|
68473
|
+
},
|
|
68474
|
+
security: [{ console_session_without_workspace: [] }],
|
|
68475
|
+
summary: '/seam/console/v1/organizations/update',
|
|
68476
|
+
tags: [],
|
|
68477
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
68478
|
+
'x-fern-sdk-method-name': 'update',
|
|
68479
|
+
'x-fern-sdk-return-value': 'organization',
|
|
68480
|
+
'x-response-key': 'organization',
|
|
68481
|
+
'x-title': 'Update an Organization',
|
|
68482
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
68483
|
+
},
|
|
68484
|
+
post: {
|
|
68485
|
+
description: 'Updates an organization.',
|
|
68486
|
+
operationId: 'seamConsoleV1OrganizationsUpdatePost',
|
|
68487
|
+
requestBody: {
|
|
68488
|
+
content: {
|
|
68489
|
+
'application/json': {
|
|
68490
|
+
schema: {
|
|
68491
|
+
properties: {
|
|
68492
|
+
connect_webview_customization: {
|
|
68493
|
+
properties: {
|
|
68494
|
+
logo_shape: {
|
|
68495
|
+
enum: ['circle', 'square'],
|
|
68496
|
+
nullable: true,
|
|
68497
|
+
type: 'string',
|
|
68498
|
+
},
|
|
68499
|
+
primary_button_color: { nullable: true, type: 'string' },
|
|
68500
|
+
primary_button_text_color: {
|
|
68501
|
+
nullable: true,
|
|
68502
|
+
type: 'string',
|
|
68503
|
+
},
|
|
68504
|
+
},
|
|
68505
|
+
type: 'object',
|
|
68506
|
+
},
|
|
68507
|
+
logo_image_base64: { nullable: true, type: 'string' },
|
|
68508
|
+
name: { maxLength: 255, minLength: 1, type: 'string' },
|
|
68509
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
68510
|
+
},
|
|
68511
|
+
required: ['organization_id'],
|
|
68512
|
+
type: 'object',
|
|
68513
|
+
},
|
|
68514
|
+
},
|
|
68515
|
+
},
|
|
68516
|
+
},
|
|
68517
|
+
responses: {
|
|
68518
|
+
200: {
|
|
68519
|
+
content: {
|
|
68520
|
+
'application/json': {
|
|
68521
|
+
schema: {
|
|
68522
|
+
properties: {
|
|
68523
|
+
ok: { type: 'boolean' },
|
|
68524
|
+
organization: {
|
|
68525
|
+
properties: {
|
|
68526
|
+
connect_webview_customization: {
|
|
68527
|
+
properties: {
|
|
68528
|
+
logo_shape: {
|
|
68529
|
+
enum: ['circle', 'square'],
|
|
68530
|
+
nullable: true,
|
|
68531
|
+
type: 'string',
|
|
68532
|
+
},
|
|
68533
|
+
primary_button_color: {
|
|
68534
|
+
nullable: true,
|
|
68535
|
+
type: 'string',
|
|
68536
|
+
},
|
|
68537
|
+
primary_button_text_color: {
|
|
68538
|
+
nullable: true,
|
|
68539
|
+
type: 'string',
|
|
68540
|
+
},
|
|
68541
|
+
},
|
|
68542
|
+
required: [
|
|
68543
|
+
'primary_button_color',
|
|
68544
|
+
'primary_button_text_color',
|
|
68545
|
+
'logo_shape',
|
|
68546
|
+
],
|
|
68547
|
+
type: 'object',
|
|
68548
|
+
},
|
|
68549
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
68550
|
+
logo_url: { nullable: true, type: 'string' },
|
|
68551
|
+
name: { type: 'string' },
|
|
68552
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
68553
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
68554
|
+
},
|
|
68555
|
+
required: [
|
|
68556
|
+
'organization_id',
|
|
68557
|
+
'name',
|
|
68558
|
+
'logo_url',
|
|
68559
|
+
'connect_webview_customization',
|
|
68560
|
+
'created_at',
|
|
68561
|
+
'updated_at',
|
|
68562
|
+
],
|
|
68563
|
+
type: 'object',
|
|
68564
|
+
},
|
|
68565
|
+
},
|
|
68566
|
+
required: ['organization', 'ok'],
|
|
68567
|
+
type: 'object',
|
|
68568
|
+
},
|
|
68569
|
+
},
|
|
68570
|
+
},
|
|
68571
|
+
description: 'OK',
|
|
68572
|
+
},
|
|
68573
|
+
400: { description: 'Bad Request' },
|
|
68574
|
+
401: { description: 'Unauthorized' },
|
|
68575
|
+
},
|
|
68576
|
+
security: [{ console_session_without_workspace: [] }],
|
|
68577
|
+
summary: '/seam/console/v1/organizations/update',
|
|
68578
|
+
tags: [],
|
|
68579
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
68580
|
+
'x-fern-sdk-method-name': 'update',
|
|
68581
|
+
'x-fern-sdk-return-value': 'organization',
|
|
68582
|
+
'x-response-key': 'organization',
|
|
68583
|
+
'x-title': 'Update an Organization',
|
|
68584
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
68585
|
+
},
|
|
68586
|
+
},
|
|
68587
|
+
'/seam/console/v1/organizations/upload_logo': {
|
|
68588
|
+
post: {
|
|
68589
|
+
description: 'Uploads a logo image for an organization.',
|
|
68590
|
+
operationId: 'seamConsoleV1OrganizationsUploadLogoPost',
|
|
68591
|
+
responses: {
|
|
68592
|
+
200: {
|
|
68593
|
+
content: {
|
|
68594
|
+
'application/json': {
|
|
68595
|
+
schema: {
|
|
68596
|
+
properties: {
|
|
68597
|
+
ok: { type: 'boolean' },
|
|
68598
|
+
organization: {
|
|
68599
|
+
properties: {
|
|
68600
|
+
connect_webview_customization: {
|
|
68601
|
+
properties: {
|
|
68602
|
+
logo_shape: {
|
|
68603
|
+
enum: ['circle', 'square'],
|
|
68604
|
+
nullable: true,
|
|
68605
|
+
type: 'string',
|
|
68606
|
+
},
|
|
68607
|
+
primary_button_color: {
|
|
68608
|
+
nullable: true,
|
|
68609
|
+
type: 'string',
|
|
68610
|
+
},
|
|
68611
|
+
primary_button_text_color: {
|
|
68612
|
+
nullable: true,
|
|
68613
|
+
type: 'string',
|
|
68614
|
+
},
|
|
68615
|
+
},
|
|
68616
|
+
required: [
|
|
68617
|
+
'primary_button_color',
|
|
68618
|
+
'primary_button_text_color',
|
|
68619
|
+
'logo_shape',
|
|
68620
|
+
],
|
|
68621
|
+
type: 'object',
|
|
68622
|
+
},
|
|
68623
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
68624
|
+
logo_url: { nullable: true, type: 'string' },
|
|
68625
|
+
name: { type: 'string' },
|
|
68626
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
68627
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
68628
|
+
},
|
|
68629
|
+
required: [
|
|
68630
|
+
'organization_id',
|
|
68631
|
+
'name',
|
|
68632
|
+
'logo_url',
|
|
68633
|
+
'connect_webview_customization',
|
|
68634
|
+
'created_at',
|
|
68635
|
+
'updated_at',
|
|
68636
|
+
],
|
|
68637
|
+
type: 'object',
|
|
68638
|
+
},
|
|
68639
|
+
},
|
|
68640
|
+
required: ['organization', 'ok'],
|
|
68641
|
+
type: 'object',
|
|
68642
|
+
},
|
|
68643
|
+
},
|
|
68644
|
+
},
|
|
68645
|
+
description: 'OK',
|
|
68646
|
+
},
|
|
68647
|
+
400: { description: 'Bad Request' },
|
|
68648
|
+
401: { description: 'Unauthorized' },
|
|
68649
|
+
},
|
|
68650
|
+
security: [{ console_session_without_workspace: [] }],
|
|
68651
|
+
summary: '/seam/console/v1/organizations/upload_logo',
|
|
68652
|
+
tags: [],
|
|
68653
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
68654
|
+
'x-fern-sdk-method-name': 'upload_logo',
|
|
68655
|
+
'x-fern-sdk-return-value': 'organization',
|
|
68656
|
+
'x-response-key': 'organization',
|
|
68657
|
+
'x-title': 'Upload an Organization Logo',
|
|
68658
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
68659
|
+
},
|
|
68660
|
+
},
|
|
68661
|
+
'/seam/console/v1/organizations/workspaces/create': {
|
|
68662
|
+
post: {
|
|
68663
|
+
description: 'Creates a workspace in an organization.',
|
|
68664
|
+
operationId: 'seamConsoleV1OrganizationsWorkspacesCreatePost',
|
|
68665
|
+
requestBody: {
|
|
68666
|
+
content: {
|
|
68667
|
+
'application/json': {
|
|
68668
|
+
schema: {
|
|
68669
|
+
properties: {
|
|
68670
|
+
is_sandbox: { default: false, type: 'boolean' },
|
|
68671
|
+
name: { minLength: 1, type: 'string' },
|
|
68672
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
68673
|
+
},
|
|
68674
|
+
required: ['organization_id', 'name'],
|
|
68675
|
+
type: 'object',
|
|
68676
|
+
},
|
|
68677
|
+
},
|
|
68678
|
+
},
|
|
68679
|
+
},
|
|
68680
|
+
responses: {
|
|
68681
|
+
200: {
|
|
68682
|
+
content: {
|
|
68683
|
+
'application/json': {
|
|
68684
|
+
schema: {
|
|
68685
|
+
properties: {
|
|
68686
|
+
ok: { type: 'boolean' },
|
|
68687
|
+
workspace: { $ref: '#/components/schemas/workspace' },
|
|
68688
|
+
},
|
|
68689
|
+
required: ['workspace', 'ok'],
|
|
68690
|
+
type: 'object',
|
|
68691
|
+
},
|
|
68692
|
+
},
|
|
68693
|
+
},
|
|
68694
|
+
description: 'OK',
|
|
68695
|
+
},
|
|
68696
|
+
400: { description: 'Bad Request' },
|
|
68697
|
+
401: { description: 'Unauthorized' },
|
|
68698
|
+
},
|
|
68699
|
+
security: [{ console_session_without_workspace: [] }],
|
|
68700
|
+
summary: '/seam/console/v1/organizations/workspaces/create',
|
|
68701
|
+
tags: ['/workspaces'],
|
|
68702
|
+
'x-fern-sdk-group-name': [
|
|
68703
|
+
'seam',
|
|
68704
|
+
'console',
|
|
68705
|
+
'v1',
|
|
68706
|
+
'organizations',
|
|
68707
|
+
'workspaces',
|
|
68708
|
+
],
|
|
68709
|
+
'x-fern-sdk-method-name': 'create',
|
|
68710
|
+
'x-fern-sdk-return-value': 'workspace',
|
|
68711
|
+
'x-response-key': 'workspace',
|
|
68712
|
+
'x-title': 'Create an Organization Workspace',
|
|
68713
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
68714
|
+
},
|
|
68715
|
+
},
|
|
68716
|
+
'/seam/console/v1/organizations/workspaces/remove': {
|
|
68717
|
+
post: {
|
|
68718
|
+
description: 'Removes a workspace from an organization.',
|
|
68719
|
+
operationId: 'seamConsoleV1OrganizationsWorkspacesRemovePost',
|
|
68720
|
+
requestBody: {
|
|
68721
|
+
content: {
|
|
68722
|
+
'application/json': {
|
|
68723
|
+
schema: {
|
|
68724
|
+
properties: {
|
|
68725
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
68726
|
+
},
|
|
68727
|
+
required: ['workspace_id'],
|
|
68728
|
+
type: 'object',
|
|
68729
|
+
},
|
|
68730
|
+
},
|
|
68731
|
+
},
|
|
68732
|
+
},
|
|
68733
|
+
responses: {
|
|
68734
|
+
200: {
|
|
68735
|
+
content: {
|
|
68736
|
+
'application/json': {
|
|
68737
|
+
schema: {
|
|
68738
|
+
properties: { ok: { type: 'boolean' } },
|
|
68739
|
+
required: ['ok'],
|
|
68740
|
+
type: 'object',
|
|
68741
|
+
},
|
|
68742
|
+
},
|
|
68743
|
+
},
|
|
68744
|
+
description: 'OK',
|
|
68745
|
+
},
|
|
68746
|
+
400: { description: 'Bad Request' },
|
|
68747
|
+
401: { description: 'Unauthorized' },
|
|
68748
|
+
},
|
|
68749
|
+
security: [{ console_session_without_workspace: [] }],
|
|
68750
|
+
summary: '/seam/console/v1/organizations/workspaces/remove',
|
|
68751
|
+
tags: ['/workspaces'],
|
|
68752
|
+
'x-fern-sdk-group-name': [
|
|
68753
|
+
'seam',
|
|
68754
|
+
'console',
|
|
68755
|
+
'v1',
|
|
68756
|
+
'organizations',
|
|
68757
|
+
'workspaces',
|
|
68758
|
+
],
|
|
68759
|
+
'x-fern-sdk-method-name': 'remove',
|
|
68760
|
+
'x-response-key': null,
|
|
68761
|
+
'x-title': 'Remove an Organization Workspace',
|
|
68762
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
68763
|
+
},
|
|
68764
|
+
},
|
|
68765
|
+
'/seam/console/v1/organizations/workspaces/update': {
|
|
68766
|
+
post: {
|
|
68767
|
+
description: 'Updates a workspace in an organization.',
|
|
68768
|
+
operationId: 'seamConsoleV1OrganizationsWorkspacesUpdatePost',
|
|
68769
|
+
requestBody: {
|
|
68770
|
+
content: {
|
|
68771
|
+
'application/json': {
|
|
68772
|
+
schema: {
|
|
68773
|
+
properties: {
|
|
68774
|
+
name: { minLength: 1, type: 'string' },
|
|
68775
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
68776
|
+
},
|
|
68777
|
+
required: ['workspace_id', 'name'],
|
|
68778
|
+
type: 'object',
|
|
68779
|
+
},
|
|
68780
|
+
},
|
|
68781
|
+
},
|
|
68782
|
+
},
|
|
68783
|
+
responses: {
|
|
68784
|
+
200: {
|
|
68785
|
+
content: {
|
|
68786
|
+
'application/json': {
|
|
68787
|
+
schema: {
|
|
68788
|
+
properties: {
|
|
68789
|
+
ok: { type: 'boolean' },
|
|
68790
|
+
workspace: { $ref: '#/components/schemas/workspace' },
|
|
68791
|
+
},
|
|
68792
|
+
required: ['workspace', 'ok'],
|
|
68793
|
+
type: 'object',
|
|
68794
|
+
},
|
|
68795
|
+
},
|
|
68796
|
+
},
|
|
68797
|
+
description: 'OK',
|
|
68798
|
+
},
|
|
68799
|
+
400: { description: 'Bad Request' },
|
|
68800
|
+
401: { description: 'Unauthorized' },
|
|
68801
|
+
},
|
|
68802
|
+
security: [{ console_session_without_workspace: [] }],
|
|
68803
|
+
summary: '/seam/console/v1/organizations/workspaces/update',
|
|
68804
|
+
tags: ['/workspaces'],
|
|
68805
|
+
'x-fern-sdk-group-name': [
|
|
68806
|
+
'seam',
|
|
68807
|
+
'console',
|
|
68808
|
+
'v1',
|
|
68809
|
+
'organizations',
|
|
68810
|
+
'workspaces',
|
|
68811
|
+
],
|
|
68812
|
+
'x-fern-sdk-method-name': 'update',
|
|
68813
|
+
'x-fern-sdk-return-value': 'workspace',
|
|
68814
|
+
'x-response-key': 'workspace',
|
|
68815
|
+
'x-title': 'Update an Organization Workspace',
|
|
68816
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
68817
|
+
},
|
|
68818
|
+
},
|
|
67098
68819
|
'/seam/console/v1/sites/create': {
|
|
67099
68820
|
post: {
|
|
67100
68821
|
description:
|