@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
|
@@ -61359,6 +61359,1724 @@ const openapi = {
|
|
|
61359
61359
|
'x-undocumented': 'Internal endpoint for Console',
|
|
61360
61360
|
},
|
|
61361
61361
|
},
|
|
61362
|
+
'/seam/console/v1/organizations/create': {
|
|
61363
|
+
post: {
|
|
61364
|
+
description: 'Creates an organization.',
|
|
61365
|
+
operationId: 'seamConsoleV1OrganizationsCreatePost',
|
|
61366
|
+
requestBody: {
|
|
61367
|
+
content: {
|
|
61368
|
+
'application/json': {
|
|
61369
|
+
schema: {
|
|
61370
|
+
properties: {
|
|
61371
|
+
logo_image_base64: { type: 'string' },
|
|
61372
|
+
name: { maxLength: 255, minLength: 1, type: 'string' },
|
|
61373
|
+
},
|
|
61374
|
+
required: ['name'],
|
|
61375
|
+
type: 'object',
|
|
61376
|
+
},
|
|
61377
|
+
},
|
|
61378
|
+
},
|
|
61379
|
+
},
|
|
61380
|
+
responses: {
|
|
61381
|
+
200: {
|
|
61382
|
+
content: {
|
|
61383
|
+
'application/json': {
|
|
61384
|
+
schema: {
|
|
61385
|
+
properties: {
|
|
61386
|
+
ok: { type: 'boolean' },
|
|
61387
|
+
organization: {
|
|
61388
|
+
properties: {
|
|
61389
|
+
connect_webview_customization: {
|
|
61390
|
+
properties: {
|
|
61391
|
+
logo_shape: {
|
|
61392
|
+
enum: ['circle', 'square'],
|
|
61393
|
+
nullable: true,
|
|
61394
|
+
type: 'string',
|
|
61395
|
+
},
|
|
61396
|
+
primary_button_color: {
|
|
61397
|
+
nullable: true,
|
|
61398
|
+
type: 'string',
|
|
61399
|
+
},
|
|
61400
|
+
primary_button_text_color: {
|
|
61401
|
+
nullable: true,
|
|
61402
|
+
type: 'string',
|
|
61403
|
+
},
|
|
61404
|
+
},
|
|
61405
|
+
required: [
|
|
61406
|
+
'primary_button_color',
|
|
61407
|
+
'primary_button_text_color',
|
|
61408
|
+
'logo_shape',
|
|
61409
|
+
],
|
|
61410
|
+
type: 'object',
|
|
61411
|
+
},
|
|
61412
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
61413
|
+
logo_url: { nullable: true, type: 'string' },
|
|
61414
|
+
name: { type: 'string' },
|
|
61415
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
61416
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
61417
|
+
},
|
|
61418
|
+
required: [
|
|
61419
|
+
'organization_id',
|
|
61420
|
+
'name',
|
|
61421
|
+
'logo_url',
|
|
61422
|
+
'connect_webview_customization',
|
|
61423
|
+
'created_at',
|
|
61424
|
+
'updated_at',
|
|
61425
|
+
],
|
|
61426
|
+
type: 'object',
|
|
61427
|
+
},
|
|
61428
|
+
},
|
|
61429
|
+
required: ['organization', 'ok'],
|
|
61430
|
+
type: 'object',
|
|
61431
|
+
},
|
|
61432
|
+
},
|
|
61433
|
+
},
|
|
61434
|
+
description: 'OK',
|
|
61435
|
+
},
|
|
61436
|
+
400: { description: 'Bad Request' },
|
|
61437
|
+
401: { description: 'Unauthorized' },
|
|
61438
|
+
},
|
|
61439
|
+
security: [{ console_session_without_workspace: [] }],
|
|
61440
|
+
summary: '/seam/console/v1/organizations/create',
|
|
61441
|
+
tags: [],
|
|
61442
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
61443
|
+
'x-fern-sdk-method-name': 'create',
|
|
61444
|
+
'x-fern-sdk-return-value': 'organization',
|
|
61445
|
+
'x-response-key': 'organization',
|
|
61446
|
+
'x-title': 'Create an Organization',
|
|
61447
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
61448
|
+
},
|
|
61449
|
+
},
|
|
61450
|
+
'/seam/console/v1/organizations/customization_profiles/copy': {
|
|
61451
|
+
post: {
|
|
61452
|
+
description: 'Copies a customization profile to an organization.',
|
|
61453
|
+
operationId: 'seamConsoleV1OrganizationsCustomizationProfilesCopyPost',
|
|
61454
|
+
requestBody: {
|
|
61455
|
+
content: {
|
|
61456
|
+
'application/json': {
|
|
61457
|
+
schema: {
|
|
61458
|
+
properties: {
|
|
61459
|
+
destination_customization_profile_id: {
|
|
61460
|
+
format: 'uuid',
|
|
61461
|
+
type: 'string',
|
|
61462
|
+
},
|
|
61463
|
+
destination_workspace_id: { format: 'uuid', type: 'string' },
|
|
61464
|
+
source_customization_profile_id: {
|
|
61465
|
+
format: 'uuid',
|
|
61466
|
+
type: 'string',
|
|
61467
|
+
},
|
|
61468
|
+
source_workspace_id: { format: 'uuid', type: 'string' },
|
|
61469
|
+
},
|
|
61470
|
+
required: [
|
|
61471
|
+
'source_workspace_id',
|
|
61472
|
+
'source_customization_profile_id',
|
|
61473
|
+
'destination_workspace_id',
|
|
61474
|
+
],
|
|
61475
|
+
type: 'object',
|
|
61476
|
+
},
|
|
61477
|
+
},
|
|
61478
|
+
},
|
|
61479
|
+
},
|
|
61480
|
+
responses: {
|
|
61481
|
+
200: {
|
|
61482
|
+
content: {
|
|
61483
|
+
'application/json': {
|
|
61484
|
+
schema: {
|
|
61485
|
+
properties: {
|
|
61486
|
+
customization_profile: {
|
|
61487
|
+
$ref: '#/components/schemas/customization_profile',
|
|
61488
|
+
},
|
|
61489
|
+
ok: { type: 'boolean' },
|
|
61490
|
+
},
|
|
61491
|
+
required: ['customization_profile', 'ok'],
|
|
61492
|
+
type: 'object',
|
|
61493
|
+
},
|
|
61494
|
+
},
|
|
61495
|
+
},
|
|
61496
|
+
description: 'OK',
|
|
61497
|
+
},
|
|
61498
|
+
400: { description: 'Bad Request' },
|
|
61499
|
+
401: { description: 'Unauthorized' },
|
|
61500
|
+
},
|
|
61501
|
+
security: [{ console_session_without_workspace: [] }],
|
|
61502
|
+
summary: '/seam/console/v1/organizations/customization_profiles/copy',
|
|
61503
|
+
tags: [],
|
|
61504
|
+
'x-fern-sdk-group-name': [
|
|
61505
|
+
'seam',
|
|
61506
|
+
'console',
|
|
61507
|
+
'v1',
|
|
61508
|
+
'organizations',
|
|
61509
|
+
'customization_profiles',
|
|
61510
|
+
],
|
|
61511
|
+
'x-fern-sdk-method-name': 'copy',
|
|
61512
|
+
'x-fern-sdk-return-value': 'customization_profile',
|
|
61513
|
+
'x-response-key': 'customization_profile',
|
|
61514
|
+
'x-title': 'Copy a Customization Profile',
|
|
61515
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
61516
|
+
},
|
|
61517
|
+
},
|
|
61518
|
+
'/seam/console/v1/organizations/delete': {
|
|
61519
|
+
post: {
|
|
61520
|
+
description: 'Deletes an organization.',
|
|
61521
|
+
operationId: 'seamConsoleV1OrganizationsDeletePost',
|
|
61522
|
+
requestBody: {
|
|
61523
|
+
content: {
|
|
61524
|
+
'application/json': {
|
|
61525
|
+
schema: {
|
|
61526
|
+
properties: {
|
|
61527
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
61528
|
+
},
|
|
61529
|
+
required: ['organization_id'],
|
|
61530
|
+
type: 'object',
|
|
61531
|
+
},
|
|
61532
|
+
},
|
|
61533
|
+
},
|
|
61534
|
+
},
|
|
61535
|
+
responses: {
|
|
61536
|
+
200: {
|
|
61537
|
+
content: {
|
|
61538
|
+
'application/json': {
|
|
61539
|
+
schema: {
|
|
61540
|
+
properties: {
|
|
61541
|
+
ok: { type: 'boolean' },
|
|
61542
|
+
organization: {
|
|
61543
|
+
properties: {
|
|
61544
|
+
connect_webview_customization: {
|
|
61545
|
+
properties: {
|
|
61546
|
+
logo_shape: {
|
|
61547
|
+
enum: ['circle', 'square'],
|
|
61548
|
+
nullable: true,
|
|
61549
|
+
type: 'string',
|
|
61550
|
+
},
|
|
61551
|
+
primary_button_color: {
|
|
61552
|
+
nullable: true,
|
|
61553
|
+
type: 'string',
|
|
61554
|
+
},
|
|
61555
|
+
primary_button_text_color: {
|
|
61556
|
+
nullable: true,
|
|
61557
|
+
type: 'string',
|
|
61558
|
+
},
|
|
61559
|
+
},
|
|
61560
|
+
required: [
|
|
61561
|
+
'primary_button_color',
|
|
61562
|
+
'primary_button_text_color',
|
|
61563
|
+
'logo_shape',
|
|
61564
|
+
],
|
|
61565
|
+
type: 'object',
|
|
61566
|
+
},
|
|
61567
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
61568
|
+
logo_url: { nullable: true, type: 'string' },
|
|
61569
|
+
name: { type: 'string' },
|
|
61570
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
61571
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
61572
|
+
},
|
|
61573
|
+
required: [
|
|
61574
|
+
'organization_id',
|
|
61575
|
+
'name',
|
|
61576
|
+
'logo_url',
|
|
61577
|
+
'connect_webview_customization',
|
|
61578
|
+
'created_at',
|
|
61579
|
+
'updated_at',
|
|
61580
|
+
],
|
|
61581
|
+
type: 'object',
|
|
61582
|
+
},
|
|
61583
|
+
},
|
|
61584
|
+
required: ['organization', 'ok'],
|
|
61585
|
+
type: 'object',
|
|
61586
|
+
},
|
|
61587
|
+
},
|
|
61588
|
+
},
|
|
61589
|
+
description: 'OK',
|
|
61590
|
+
},
|
|
61591
|
+
400: { description: 'Bad Request' },
|
|
61592
|
+
401: { description: 'Unauthorized' },
|
|
61593
|
+
},
|
|
61594
|
+
security: [{ console_session_without_workspace: [] }],
|
|
61595
|
+
summary: '/seam/console/v1/organizations/delete',
|
|
61596
|
+
tags: [],
|
|
61597
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
61598
|
+
'x-fern-sdk-method-name': 'delete',
|
|
61599
|
+
'x-fern-sdk-return-value': 'organization',
|
|
61600
|
+
'x-response-key': 'organization',
|
|
61601
|
+
'x-title': 'Delete an Organization',
|
|
61602
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
61603
|
+
},
|
|
61604
|
+
},
|
|
61605
|
+
'/seam/console/v1/organizations/get': {
|
|
61606
|
+
get: {
|
|
61607
|
+
description: 'Returns a specified organization.',
|
|
61608
|
+
operationId: 'seamConsoleV1OrganizationsGetGet',
|
|
61609
|
+
parameters: [
|
|
61610
|
+
{
|
|
61611
|
+
in: 'query',
|
|
61612
|
+
name: 'organization_id',
|
|
61613
|
+
required: true,
|
|
61614
|
+
schema: { format: 'uuid', type: 'string' },
|
|
61615
|
+
},
|
|
61616
|
+
],
|
|
61617
|
+
responses: {
|
|
61618
|
+
200: {
|
|
61619
|
+
content: {
|
|
61620
|
+
'application/json': {
|
|
61621
|
+
schema: {
|
|
61622
|
+
properties: {
|
|
61623
|
+
members: {
|
|
61624
|
+
items: {
|
|
61625
|
+
properties: {
|
|
61626
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
61627
|
+
email: { nullable: true, type: 'string' },
|
|
61628
|
+
first_name: { nullable: true, type: 'string' },
|
|
61629
|
+
last_name: { nullable: true, type: 'string' },
|
|
61630
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
61631
|
+
organization_member_id: {
|
|
61632
|
+
format: 'uuid',
|
|
61633
|
+
type: 'string',
|
|
61634
|
+
},
|
|
61635
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
61636
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
61637
|
+
},
|
|
61638
|
+
required: [
|
|
61639
|
+
'organization_member_id',
|
|
61640
|
+
'organization_id',
|
|
61641
|
+
'user_id',
|
|
61642
|
+
'email',
|
|
61643
|
+
'first_name',
|
|
61644
|
+
'last_name',
|
|
61645
|
+
'role',
|
|
61646
|
+
'created_at',
|
|
61647
|
+
],
|
|
61648
|
+
type: 'object',
|
|
61649
|
+
},
|
|
61650
|
+
type: 'array',
|
|
61651
|
+
},
|
|
61652
|
+
ok: { type: 'boolean' },
|
|
61653
|
+
organization: {
|
|
61654
|
+
properties: {
|
|
61655
|
+
connect_webview_customization: {
|
|
61656
|
+
properties: {
|
|
61657
|
+
logo_shape: {
|
|
61658
|
+
enum: ['circle', 'square'],
|
|
61659
|
+
nullable: true,
|
|
61660
|
+
type: 'string',
|
|
61661
|
+
},
|
|
61662
|
+
primary_button_color: {
|
|
61663
|
+
nullable: true,
|
|
61664
|
+
type: 'string',
|
|
61665
|
+
},
|
|
61666
|
+
primary_button_text_color: {
|
|
61667
|
+
nullable: true,
|
|
61668
|
+
type: 'string',
|
|
61669
|
+
},
|
|
61670
|
+
},
|
|
61671
|
+
required: [
|
|
61672
|
+
'primary_button_color',
|
|
61673
|
+
'primary_button_text_color',
|
|
61674
|
+
'logo_shape',
|
|
61675
|
+
],
|
|
61676
|
+
type: 'object',
|
|
61677
|
+
},
|
|
61678
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
61679
|
+
logo_url: { nullable: true, type: 'string' },
|
|
61680
|
+
name: { type: 'string' },
|
|
61681
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
61682
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
61683
|
+
},
|
|
61684
|
+
required: [
|
|
61685
|
+
'organization_id',
|
|
61686
|
+
'name',
|
|
61687
|
+
'logo_url',
|
|
61688
|
+
'connect_webview_customization',
|
|
61689
|
+
'created_at',
|
|
61690
|
+
'updated_at',
|
|
61691
|
+
],
|
|
61692
|
+
type: 'object',
|
|
61693
|
+
},
|
|
61694
|
+
pending_invitations: {
|
|
61695
|
+
items: {
|
|
61696
|
+
properties: {
|
|
61697
|
+
email: { type: 'string' },
|
|
61698
|
+
expires_at: { format: 'date-time', type: 'string' },
|
|
61699
|
+
invited_at: { format: 'date-time', type: 'string' },
|
|
61700
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
61701
|
+
organization_invitation_id: {
|
|
61702
|
+
format: 'uuid',
|
|
61703
|
+
type: 'string',
|
|
61704
|
+
},
|
|
61705
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
61706
|
+
status: {
|
|
61707
|
+
enum: ['pending', 'accepted', 'revoked'],
|
|
61708
|
+
type: 'string',
|
|
61709
|
+
},
|
|
61710
|
+
},
|
|
61711
|
+
required: [
|
|
61712
|
+
'organization_invitation_id',
|
|
61713
|
+
'organization_id',
|
|
61714
|
+
'email',
|
|
61715
|
+
'role',
|
|
61716
|
+
'status',
|
|
61717
|
+
'invited_at',
|
|
61718
|
+
'expires_at',
|
|
61719
|
+
],
|
|
61720
|
+
type: 'object',
|
|
61721
|
+
},
|
|
61722
|
+
type: 'array',
|
|
61723
|
+
},
|
|
61724
|
+
workspaces: {
|
|
61725
|
+
items: { $ref: '#/components/schemas/workspace' },
|
|
61726
|
+
type: 'array',
|
|
61727
|
+
},
|
|
61728
|
+
},
|
|
61729
|
+
required: [
|
|
61730
|
+
'organization',
|
|
61731
|
+
'members',
|
|
61732
|
+
'pending_invitations',
|
|
61733
|
+
'workspaces',
|
|
61734
|
+
'ok',
|
|
61735
|
+
],
|
|
61736
|
+
type: 'object',
|
|
61737
|
+
},
|
|
61738
|
+
},
|
|
61739
|
+
},
|
|
61740
|
+
description: 'OK',
|
|
61741
|
+
},
|
|
61742
|
+
400: { description: 'Bad Request' },
|
|
61743
|
+
401: { description: 'Unauthorized' },
|
|
61744
|
+
},
|
|
61745
|
+
security: [{ console_session_without_workspace: [] }],
|
|
61746
|
+
summary: '/seam/console/v1/organizations/get',
|
|
61747
|
+
tags: [],
|
|
61748
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
61749
|
+
'x-fern-sdk-method-name': 'get',
|
|
61750
|
+
'x-fern-sdk-return-value': 'organization',
|
|
61751
|
+
'x-response-key': 'organization',
|
|
61752
|
+
'x-title': 'Get an Organization',
|
|
61753
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
61754
|
+
},
|
|
61755
|
+
post: {
|
|
61756
|
+
description: 'Returns a specified organization.',
|
|
61757
|
+
operationId: 'seamConsoleV1OrganizationsGetPost',
|
|
61758
|
+
requestBody: {
|
|
61759
|
+
content: {
|
|
61760
|
+
'application/json': {
|
|
61761
|
+
schema: {
|
|
61762
|
+
properties: {
|
|
61763
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
61764
|
+
},
|
|
61765
|
+
required: ['organization_id'],
|
|
61766
|
+
type: 'object',
|
|
61767
|
+
},
|
|
61768
|
+
},
|
|
61769
|
+
},
|
|
61770
|
+
},
|
|
61771
|
+
responses: {
|
|
61772
|
+
200: {
|
|
61773
|
+
content: {
|
|
61774
|
+
'application/json': {
|
|
61775
|
+
schema: {
|
|
61776
|
+
properties: {
|
|
61777
|
+
members: {
|
|
61778
|
+
items: {
|
|
61779
|
+
properties: {
|
|
61780
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
61781
|
+
email: { nullable: true, type: 'string' },
|
|
61782
|
+
first_name: { nullable: true, type: 'string' },
|
|
61783
|
+
last_name: { nullable: true, type: 'string' },
|
|
61784
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
61785
|
+
organization_member_id: {
|
|
61786
|
+
format: 'uuid',
|
|
61787
|
+
type: 'string',
|
|
61788
|
+
},
|
|
61789
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
61790
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
61791
|
+
},
|
|
61792
|
+
required: [
|
|
61793
|
+
'organization_member_id',
|
|
61794
|
+
'organization_id',
|
|
61795
|
+
'user_id',
|
|
61796
|
+
'email',
|
|
61797
|
+
'first_name',
|
|
61798
|
+
'last_name',
|
|
61799
|
+
'role',
|
|
61800
|
+
'created_at',
|
|
61801
|
+
],
|
|
61802
|
+
type: 'object',
|
|
61803
|
+
},
|
|
61804
|
+
type: 'array',
|
|
61805
|
+
},
|
|
61806
|
+
ok: { type: 'boolean' },
|
|
61807
|
+
organization: {
|
|
61808
|
+
properties: {
|
|
61809
|
+
connect_webview_customization: {
|
|
61810
|
+
properties: {
|
|
61811
|
+
logo_shape: {
|
|
61812
|
+
enum: ['circle', 'square'],
|
|
61813
|
+
nullable: true,
|
|
61814
|
+
type: 'string',
|
|
61815
|
+
},
|
|
61816
|
+
primary_button_color: {
|
|
61817
|
+
nullable: true,
|
|
61818
|
+
type: 'string',
|
|
61819
|
+
},
|
|
61820
|
+
primary_button_text_color: {
|
|
61821
|
+
nullable: true,
|
|
61822
|
+
type: 'string',
|
|
61823
|
+
},
|
|
61824
|
+
},
|
|
61825
|
+
required: [
|
|
61826
|
+
'primary_button_color',
|
|
61827
|
+
'primary_button_text_color',
|
|
61828
|
+
'logo_shape',
|
|
61829
|
+
],
|
|
61830
|
+
type: 'object',
|
|
61831
|
+
},
|
|
61832
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
61833
|
+
logo_url: { nullable: true, type: 'string' },
|
|
61834
|
+
name: { type: 'string' },
|
|
61835
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
61836
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
61837
|
+
},
|
|
61838
|
+
required: [
|
|
61839
|
+
'organization_id',
|
|
61840
|
+
'name',
|
|
61841
|
+
'logo_url',
|
|
61842
|
+
'connect_webview_customization',
|
|
61843
|
+
'created_at',
|
|
61844
|
+
'updated_at',
|
|
61845
|
+
],
|
|
61846
|
+
type: 'object',
|
|
61847
|
+
},
|
|
61848
|
+
pending_invitations: {
|
|
61849
|
+
items: {
|
|
61850
|
+
properties: {
|
|
61851
|
+
email: { type: 'string' },
|
|
61852
|
+
expires_at: { format: 'date-time', type: 'string' },
|
|
61853
|
+
invited_at: { format: 'date-time', type: 'string' },
|
|
61854
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
61855
|
+
organization_invitation_id: {
|
|
61856
|
+
format: 'uuid',
|
|
61857
|
+
type: 'string',
|
|
61858
|
+
},
|
|
61859
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
61860
|
+
status: {
|
|
61861
|
+
enum: ['pending', 'accepted', 'revoked'],
|
|
61862
|
+
type: 'string',
|
|
61863
|
+
},
|
|
61864
|
+
},
|
|
61865
|
+
required: [
|
|
61866
|
+
'organization_invitation_id',
|
|
61867
|
+
'organization_id',
|
|
61868
|
+
'email',
|
|
61869
|
+
'role',
|
|
61870
|
+
'status',
|
|
61871
|
+
'invited_at',
|
|
61872
|
+
'expires_at',
|
|
61873
|
+
],
|
|
61874
|
+
type: 'object',
|
|
61875
|
+
},
|
|
61876
|
+
type: 'array',
|
|
61877
|
+
},
|
|
61878
|
+
workspaces: {
|
|
61879
|
+
items: { $ref: '#/components/schemas/workspace' },
|
|
61880
|
+
type: 'array',
|
|
61881
|
+
},
|
|
61882
|
+
},
|
|
61883
|
+
required: [
|
|
61884
|
+
'organization',
|
|
61885
|
+
'members',
|
|
61886
|
+
'pending_invitations',
|
|
61887
|
+
'workspaces',
|
|
61888
|
+
'ok',
|
|
61889
|
+
],
|
|
61890
|
+
type: 'object',
|
|
61891
|
+
},
|
|
61892
|
+
},
|
|
61893
|
+
},
|
|
61894
|
+
description: 'OK',
|
|
61895
|
+
},
|
|
61896
|
+
400: { description: 'Bad Request' },
|
|
61897
|
+
401: { description: 'Unauthorized' },
|
|
61898
|
+
},
|
|
61899
|
+
security: [{ console_session_without_workspace: [] }],
|
|
61900
|
+
summary: '/seam/console/v1/organizations/get',
|
|
61901
|
+
tags: [],
|
|
61902
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
61903
|
+
'x-fern-sdk-method-name': 'get',
|
|
61904
|
+
'x-fern-sdk-return-value': 'organization',
|
|
61905
|
+
'x-response-key': 'organization',
|
|
61906
|
+
'x-title': 'Get an Organization',
|
|
61907
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
61908
|
+
},
|
|
61909
|
+
},
|
|
61910
|
+
'/seam/console/v1/organizations/invitations/revoke': {
|
|
61911
|
+
post: {
|
|
61912
|
+
description: 'Revokes an organization invitation.',
|
|
61913
|
+
operationId: 'seamConsoleV1OrganizationsInvitationsRevokePost',
|
|
61914
|
+
requestBody: {
|
|
61915
|
+
content: {
|
|
61916
|
+
'application/json': {
|
|
61917
|
+
schema: {
|
|
61918
|
+
properties: {
|
|
61919
|
+
organization_invitation_id: {
|
|
61920
|
+
format: 'uuid',
|
|
61921
|
+
type: 'string',
|
|
61922
|
+
},
|
|
61923
|
+
},
|
|
61924
|
+
required: ['organization_invitation_id'],
|
|
61925
|
+
type: 'object',
|
|
61926
|
+
},
|
|
61927
|
+
},
|
|
61928
|
+
},
|
|
61929
|
+
},
|
|
61930
|
+
responses: {
|
|
61931
|
+
200: {
|
|
61932
|
+
content: {
|
|
61933
|
+
'application/json': {
|
|
61934
|
+
schema: {
|
|
61935
|
+
properties: {
|
|
61936
|
+
ok: { type: 'boolean' },
|
|
61937
|
+
organization_invitation: {
|
|
61938
|
+
properties: {
|
|
61939
|
+
email: { type: 'string' },
|
|
61940
|
+
expires_at: { format: 'date-time', type: 'string' },
|
|
61941
|
+
invited_at: { format: 'date-time', type: 'string' },
|
|
61942
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
61943
|
+
organization_invitation_id: {
|
|
61944
|
+
format: 'uuid',
|
|
61945
|
+
type: 'string',
|
|
61946
|
+
},
|
|
61947
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
61948
|
+
status: {
|
|
61949
|
+
enum: ['pending', 'accepted', 'revoked'],
|
|
61950
|
+
type: 'string',
|
|
61951
|
+
},
|
|
61952
|
+
},
|
|
61953
|
+
required: [
|
|
61954
|
+
'organization_invitation_id',
|
|
61955
|
+
'organization_id',
|
|
61956
|
+
'email',
|
|
61957
|
+
'role',
|
|
61958
|
+
'status',
|
|
61959
|
+
'invited_at',
|
|
61960
|
+
'expires_at',
|
|
61961
|
+
],
|
|
61962
|
+
type: 'object',
|
|
61963
|
+
},
|
|
61964
|
+
},
|
|
61965
|
+
required: ['organization_invitation', 'ok'],
|
|
61966
|
+
type: 'object',
|
|
61967
|
+
},
|
|
61968
|
+
},
|
|
61969
|
+
},
|
|
61970
|
+
description: 'OK',
|
|
61971
|
+
},
|
|
61972
|
+
400: { description: 'Bad Request' },
|
|
61973
|
+
401: { description: 'Unauthorized' },
|
|
61974
|
+
},
|
|
61975
|
+
security: [{ console_session_without_workspace: [] }],
|
|
61976
|
+
summary: '/seam/console/v1/organizations/invitations/revoke',
|
|
61977
|
+
tags: [],
|
|
61978
|
+
'x-fern-sdk-group-name': [
|
|
61979
|
+
'seam',
|
|
61980
|
+
'console',
|
|
61981
|
+
'v1',
|
|
61982
|
+
'organizations',
|
|
61983
|
+
'invitations',
|
|
61984
|
+
],
|
|
61985
|
+
'x-fern-sdk-method-name': 'revoke',
|
|
61986
|
+
'x-fern-sdk-return-value': 'organization_invitation',
|
|
61987
|
+
'x-response-key': 'organization_invitation',
|
|
61988
|
+
'x-title': 'Revoke an Organization Invitation',
|
|
61989
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
61990
|
+
},
|
|
61991
|
+
},
|
|
61992
|
+
'/seam/console/v1/organizations/list': {
|
|
61993
|
+
get: {
|
|
61994
|
+
description: 'Returns a list of organizations.',
|
|
61995
|
+
operationId: 'seamConsoleV1OrganizationsListGet',
|
|
61996
|
+
responses: {
|
|
61997
|
+
200: {
|
|
61998
|
+
content: {
|
|
61999
|
+
'application/json': {
|
|
62000
|
+
schema: {
|
|
62001
|
+
properties: {
|
|
62002
|
+
ok: { type: 'boolean' },
|
|
62003
|
+
organizations: {
|
|
62004
|
+
items: {
|
|
62005
|
+
properties: {
|
|
62006
|
+
connect_webview_customization: {
|
|
62007
|
+
properties: {
|
|
62008
|
+
logo_shape: {
|
|
62009
|
+
enum: ['circle', 'square'],
|
|
62010
|
+
nullable: true,
|
|
62011
|
+
type: 'string',
|
|
62012
|
+
},
|
|
62013
|
+
primary_button_color: {
|
|
62014
|
+
nullable: true,
|
|
62015
|
+
type: 'string',
|
|
62016
|
+
},
|
|
62017
|
+
primary_button_text_color: {
|
|
62018
|
+
nullable: true,
|
|
62019
|
+
type: 'string',
|
|
62020
|
+
},
|
|
62021
|
+
},
|
|
62022
|
+
required: [
|
|
62023
|
+
'primary_button_color',
|
|
62024
|
+
'primary_button_text_color',
|
|
62025
|
+
'logo_shape',
|
|
62026
|
+
],
|
|
62027
|
+
type: 'object',
|
|
62028
|
+
},
|
|
62029
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
62030
|
+
logo_url: { nullable: true, type: 'string' },
|
|
62031
|
+
member_count: { format: 'float', type: 'number' },
|
|
62032
|
+
name: { type: 'string' },
|
|
62033
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62034
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
62035
|
+
workspace_count: { format: 'float', type: 'number' },
|
|
62036
|
+
},
|
|
62037
|
+
required: [
|
|
62038
|
+
'organization_id',
|
|
62039
|
+
'name',
|
|
62040
|
+
'logo_url',
|
|
62041
|
+
'connect_webview_customization',
|
|
62042
|
+
'created_at',
|
|
62043
|
+
'updated_at',
|
|
62044
|
+
'workspace_count',
|
|
62045
|
+
'member_count',
|
|
62046
|
+
],
|
|
62047
|
+
type: 'object',
|
|
62048
|
+
},
|
|
62049
|
+
type: 'array',
|
|
62050
|
+
},
|
|
62051
|
+
},
|
|
62052
|
+
required: ['organizations', 'ok'],
|
|
62053
|
+
type: 'object',
|
|
62054
|
+
},
|
|
62055
|
+
},
|
|
62056
|
+
},
|
|
62057
|
+
description: 'OK',
|
|
62058
|
+
},
|
|
62059
|
+
400: { description: 'Bad Request' },
|
|
62060
|
+
401: { description: 'Unauthorized' },
|
|
62061
|
+
},
|
|
62062
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62063
|
+
summary: '/seam/console/v1/organizations/list',
|
|
62064
|
+
tags: [],
|
|
62065
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
62066
|
+
'x-fern-sdk-method-name': 'list',
|
|
62067
|
+
'x-fern-sdk-return-value': 'organizations',
|
|
62068
|
+
'x-response-key': 'organizations',
|
|
62069
|
+
'x-title': 'List Organizations',
|
|
62070
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62071
|
+
},
|
|
62072
|
+
post: {
|
|
62073
|
+
description: 'Returns a list of organizations.',
|
|
62074
|
+
operationId: 'seamConsoleV1OrganizationsListPost',
|
|
62075
|
+
responses: {
|
|
62076
|
+
200: {
|
|
62077
|
+
content: {
|
|
62078
|
+
'application/json': {
|
|
62079
|
+
schema: {
|
|
62080
|
+
properties: {
|
|
62081
|
+
ok: { type: 'boolean' },
|
|
62082
|
+
organizations: {
|
|
62083
|
+
items: {
|
|
62084
|
+
properties: {
|
|
62085
|
+
connect_webview_customization: {
|
|
62086
|
+
properties: {
|
|
62087
|
+
logo_shape: {
|
|
62088
|
+
enum: ['circle', 'square'],
|
|
62089
|
+
nullable: true,
|
|
62090
|
+
type: 'string',
|
|
62091
|
+
},
|
|
62092
|
+
primary_button_color: {
|
|
62093
|
+
nullable: true,
|
|
62094
|
+
type: 'string',
|
|
62095
|
+
},
|
|
62096
|
+
primary_button_text_color: {
|
|
62097
|
+
nullable: true,
|
|
62098
|
+
type: 'string',
|
|
62099
|
+
},
|
|
62100
|
+
},
|
|
62101
|
+
required: [
|
|
62102
|
+
'primary_button_color',
|
|
62103
|
+
'primary_button_text_color',
|
|
62104
|
+
'logo_shape',
|
|
62105
|
+
],
|
|
62106
|
+
type: 'object',
|
|
62107
|
+
},
|
|
62108
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
62109
|
+
logo_url: { nullable: true, type: 'string' },
|
|
62110
|
+
member_count: { format: 'float', type: 'number' },
|
|
62111
|
+
name: { type: 'string' },
|
|
62112
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62113
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
62114
|
+
workspace_count: { format: 'float', type: 'number' },
|
|
62115
|
+
},
|
|
62116
|
+
required: [
|
|
62117
|
+
'organization_id',
|
|
62118
|
+
'name',
|
|
62119
|
+
'logo_url',
|
|
62120
|
+
'connect_webview_customization',
|
|
62121
|
+
'created_at',
|
|
62122
|
+
'updated_at',
|
|
62123
|
+
'workspace_count',
|
|
62124
|
+
'member_count',
|
|
62125
|
+
],
|
|
62126
|
+
type: 'object',
|
|
62127
|
+
},
|
|
62128
|
+
type: 'array',
|
|
62129
|
+
},
|
|
62130
|
+
},
|
|
62131
|
+
required: ['organizations', 'ok'],
|
|
62132
|
+
type: 'object',
|
|
62133
|
+
},
|
|
62134
|
+
},
|
|
62135
|
+
},
|
|
62136
|
+
description: 'OK',
|
|
62137
|
+
},
|
|
62138
|
+
400: { description: 'Bad Request' },
|
|
62139
|
+
401: { description: 'Unauthorized' },
|
|
62140
|
+
},
|
|
62141
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62142
|
+
summary: '/seam/console/v1/organizations/list',
|
|
62143
|
+
tags: [],
|
|
62144
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
62145
|
+
'x-fern-sdk-method-name': 'list',
|
|
62146
|
+
'x-fern-sdk-return-value': 'organizations',
|
|
62147
|
+
'x-response-key': 'organizations',
|
|
62148
|
+
'x-title': 'List Organizations',
|
|
62149
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62150
|
+
},
|
|
62151
|
+
},
|
|
62152
|
+
'/seam/console/v1/organizations/members/add': {
|
|
62153
|
+
post: {
|
|
62154
|
+
description: 'Adds a member to an organization, inviting them by email if needed.',
|
|
62155
|
+
operationId: 'seamConsoleV1OrganizationsMembersAddPost',
|
|
62156
|
+
requestBody: {
|
|
62157
|
+
content: {
|
|
62158
|
+
'application/json': {
|
|
62159
|
+
schema: {
|
|
62160
|
+
properties: {
|
|
62161
|
+
email: { format: 'email', type: 'string' },
|
|
62162
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62163
|
+
role: {
|
|
62164
|
+
default: 'member',
|
|
62165
|
+
enum: ['admin', 'member'],
|
|
62166
|
+
type: 'string',
|
|
62167
|
+
},
|
|
62168
|
+
},
|
|
62169
|
+
required: ['organization_id', 'email'],
|
|
62170
|
+
type: 'object',
|
|
62171
|
+
},
|
|
62172
|
+
},
|
|
62173
|
+
},
|
|
62174
|
+
},
|
|
62175
|
+
responses: {
|
|
62176
|
+
200: {
|
|
62177
|
+
content: {
|
|
62178
|
+
'application/json': {
|
|
62179
|
+
schema: {
|
|
62180
|
+
properties: {
|
|
62181
|
+
ok: { type: 'boolean' },
|
|
62182
|
+
organization_invitation: {
|
|
62183
|
+
properties: {
|
|
62184
|
+
email: { type: 'string' },
|
|
62185
|
+
expires_at: { format: 'date-time', type: 'string' },
|
|
62186
|
+
invited_at: { format: 'date-time', type: 'string' },
|
|
62187
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62188
|
+
organization_invitation_id: {
|
|
62189
|
+
format: 'uuid',
|
|
62190
|
+
type: 'string',
|
|
62191
|
+
},
|
|
62192
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
62193
|
+
status: {
|
|
62194
|
+
enum: ['pending', 'accepted', 'revoked'],
|
|
62195
|
+
type: 'string',
|
|
62196
|
+
},
|
|
62197
|
+
},
|
|
62198
|
+
required: [
|
|
62199
|
+
'organization_invitation_id',
|
|
62200
|
+
'organization_id',
|
|
62201
|
+
'email',
|
|
62202
|
+
'role',
|
|
62203
|
+
'status',
|
|
62204
|
+
'invited_at',
|
|
62205
|
+
'expires_at',
|
|
62206
|
+
],
|
|
62207
|
+
type: 'object',
|
|
62208
|
+
},
|
|
62209
|
+
organization_member: {
|
|
62210
|
+
properties: {
|
|
62211
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
62212
|
+
email: { nullable: true, type: 'string' },
|
|
62213
|
+
first_name: { nullable: true, type: 'string' },
|
|
62214
|
+
last_name: { nullable: true, type: 'string' },
|
|
62215
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62216
|
+
organization_member_id: {
|
|
62217
|
+
format: 'uuid',
|
|
62218
|
+
type: 'string',
|
|
62219
|
+
},
|
|
62220
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
62221
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
62222
|
+
},
|
|
62223
|
+
required: [
|
|
62224
|
+
'organization_member_id',
|
|
62225
|
+
'organization_id',
|
|
62226
|
+
'user_id',
|
|
62227
|
+
'email',
|
|
62228
|
+
'first_name',
|
|
62229
|
+
'last_name',
|
|
62230
|
+
'role',
|
|
62231
|
+
'created_at',
|
|
62232
|
+
],
|
|
62233
|
+
type: 'object',
|
|
62234
|
+
},
|
|
62235
|
+
},
|
|
62236
|
+
required: ['ok'],
|
|
62237
|
+
type: 'object',
|
|
62238
|
+
},
|
|
62239
|
+
},
|
|
62240
|
+
},
|
|
62241
|
+
description: 'OK',
|
|
62242
|
+
},
|
|
62243
|
+
400: { description: 'Bad Request' },
|
|
62244
|
+
401: { description: 'Unauthorized' },
|
|
62245
|
+
},
|
|
62246
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62247
|
+
summary: '/seam/console/v1/organizations/members/add',
|
|
62248
|
+
tags: [],
|
|
62249
|
+
'x-fern-sdk-group-name': [
|
|
62250
|
+
'seam',
|
|
62251
|
+
'console',
|
|
62252
|
+
'v1',
|
|
62253
|
+
'organizations',
|
|
62254
|
+
'members',
|
|
62255
|
+
],
|
|
62256
|
+
'x-fern-sdk-method-name': 'add',
|
|
62257
|
+
'x-response-key': null,
|
|
62258
|
+
'x-title': 'Add an Organization Member',
|
|
62259
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62260
|
+
},
|
|
62261
|
+
},
|
|
62262
|
+
'/seam/console/v1/organizations/members/remove': {
|
|
62263
|
+
post: {
|
|
62264
|
+
description: 'Removes a member from an organization.',
|
|
62265
|
+
operationId: 'seamConsoleV1OrganizationsMembersRemovePost',
|
|
62266
|
+
requestBody: {
|
|
62267
|
+
content: {
|
|
62268
|
+
'application/json': {
|
|
62269
|
+
schema: {
|
|
62270
|
+
properties: {
|
|
62271
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62272
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
62273
|
+
},
|
|
62274
|
+
required: ['organization_id', 'user_id'],
|
|
62275
|
+
type: 'object',
|
|
62276
|
+
},
|
|
62277
|
+
},
|
|
62278
|
+
},
|
|
62279
|
+
},
|
|
62280
|
+
responses: {
|
|
62281
|
+
200: {
|
|
62282
|
+
content: {
|
|
62283
|
+
'application/json': {
|
|
62284
|
+
schema: {
|
|
62285
|
+
properties: { ok: { type: 'boolean' } },
|
|
62286
|
+
required: ['ok'],
|
|
62287
|
+
type: 'object',
|
|
62288
|
+
},
|
|
62289
|
+
},
|
|
62290
|
+
},
|
|
62291
|
+
description: 'OK',
|
|
62292
|
+
},
|
|
62293
|
+
400: { description: 'Bad Request' },
|
|
62294
|
+
401: { description: 'Unauthorized' },
|
|
62295
|
+
},
|
|
62296
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62297
|
+
summary: '/seam/console/v1/organizations/members/remove',
|
|
62298
|
+
tags: [],
|
|
62299
|
+
'x-fern-sdk-group-name': [
|
|
62300
|
+
'seam',
|
|
62301
|
+
'console',
|
|
62302
|
+
'v1',
|
|
62303
|
+
'organizations',
|
|
62304
|
+
'members',
|
|
62305
|
+
],
|
|
62306
|
+
'x-fern-sdk-method-name': 'remove',
|
|
62307
|
+
'x-response-key': null,
|
|
62308
|
+
'x-title': 'Remove an Organization Member',
|
|
62309
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62310
|
+
},
|
|
62311
|
+
},
|
|
62312
|
+
'/seam/console/v1/organizations/members/update': {
|
|
62313
|
+
post: {
|
|
62314
|
+
description: 'Updates a member of an organization.',
|
|
62315
|
+
operationId: 'seamConsoleV1OrganizationsMembersUpdatePost',
|
|
62316
|
+
requestBody: {
|
|
62317
|
+
content: {
|
|
62318
|
+
'application/json': {
|
|
62319
|
+
schema: {
|
|
62320
|
+
properties: {
|
|
62321
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62322
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
62323
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
62324
|
+
},
|
|
62325
|
+
required: ['organization_id', 'user_id', 'role'],
|
|
62326
|
+
type: 'object',
|
|
62327
|
+
},
|
|
62328
|
+
},
|
|
62329
|
+
},
|
|
62330
|
+
},
|
|
62331
|
+
responses: {
|
|
62332
|
+
200: {
|
|
62333
|
+
content: {
|
|
62334
|
+
'application/json': {
|
|
62335
|
+
schema: {
|
|
62336
|
+
properties: {
|
|
62337
|
+
ok: { type: 'boolean' },
|
|
62338
|
+
organization_member: {
|
|
62339
|
+
properties: {
|
|
62340
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
62341
|
+
email: { nullable: true, type: 'string' },
|
|
62342
|
+
first_name: { nullable: true, type: 'string' },
|
|
62343
|
+
last_name: { nullable: true, type: 'string' },
|
|
62344
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62345
|
+
organization_member_id: {
|
|
62346
|
+
format: 'uuid',
|
|
62347
|
+
type: 'string',
|
|
62348
|
+
},
|
|
62349
|
+
role: { enum: ['admin', 'member'], type: 'string' },
|
|
62350
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
62351
|
+
},
|
|
62352
|
+
required: [
|
|
62353
|
+
'organization_member_id',
|
|
62354
|
+
'organization_id',
|
|
62355
|
+
'user_id',
|
|
62356
|
+
'email',
|
|
62357
|
+
'first_name',
|
|
62358
|
+
'last_name',
|
|
62359
|
+
'role',
|
|
62360
|
+
'created_at',
|
|
62361
|
+
],
|
|
62362
|
+
type: 'object',
|
|
62363
|
+
},
|
|
62364
|
+
},
|
|
62365
|
+
required: ['organization_member', 'ok'],
|
|
62366
|
+
type: 'object',
|
|
62367
|
+
},
|
|
62368
|
+
},
|
|
62369
|
+
},
|
|
62370
|
+
description: 'OK',
|
|
62371
|
+
},
|
|
62372
|
+
400: { description: 'Bad Request' },
|
|
62373
|
+
401: { description: 'Unauthorized' },
|
|
62374
|
+
},
|
|
62375
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62376
|
+
summary: '/seam/console/v1/organizations/members/update',
|
|
62377
|
+
tags: [],
|
|
62378
|
+
'x-fern-sdk-group-name': [
|
|
62379
|
+
'seam',
|
|
62380
|
+
'console',
|
|
62381
|
+
'v1',
|
|
62382
|
+
'organizations',
|
|
62383
|
+
'members',
|
|
62384
|
+
],
|
|
62385
|
+
'x-fern-sdk-method-name': 'update',
|
|
62386
|
+
'x-fern-sdk-return-value': 'organization_member',
|
|
62387
|
+
'x-response-key': 'organization_member',
|
|
62388
|
+
'x-title': 'Update an Organization Member',
|
|
62389
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62390
|
+
},
|
|
62391
|
+
},
|
|
62392
|
+
'/seam/console/v1/organizations/members/workspaces/grant': {
|
|
62393
|
+
post: {
|
|
62394
|
+
description: 'Grants an organization member access to a workspace.',
|
|
62395
|
+
operationId: 'seamConsoleV1OrganizationsMembersWorkspacesGrantPost',
|
|
62396
|
+
requestBody: {
|
|
62397
|
+
content: {
|
|
62398
|
+
'application/json': {
|
|
62399
|
+
schema: {
|
|
62400
|
+
properties: {
|
|
62401
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62402
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
62403
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
62404
|
+
},
|
|
62405
|
+
required: ['organization_id', 'user_id', 'workspace_id'],
|
|
62406
|
+
type: 'object',
|
|
62407
|
+
},
|
|
62408
|
+
},
|
|
62409
|
+
},
|
|
62410
|
+
},
|
|
62411
|
+
responses: {
|
|
62412
|
+
200: {
|
|
62413
|
+
content: {
|
|
62414
|
+
'application/json': {
|
|
62415
|
+
schema: {
|
|
62416
|
+
properties: { ok: { type: 'boolean' } },
|
|
62417
|
+
required: ['ok'],
|
|
62418
|
+
type: 'object',
|
|
62419
|
+
},
|
|
62420
|
+
},
|
|
62421
|
+
},
|
|
62422
|
+
description: 'OK',
|
|
62423
|
+
},
|
|
62424
|
+
400: { description: 'Bad Request' },
|
|
62425
|
+
401: { description: 'Unauthorized' },
|
|
62426
|
+
},
|
|
62427
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62428
|
+
summary: '/seam/console/v1/organizations/members/workspaces/grant',
|
|
62429
|
+
tags: ['/workspaces'],
|
|
62430
|
+
'x-fern-sdk-group-name': [
|
|
62431
|
+
'seam',
|
|
62432
|
+
'console',
|
|
62433
|
+
'v1',
|
|
62434
|
+
'organizations',
|
|
62435
|
+
'members',
|
|
62436
|
+
'workspaces',
|
|
62437
|
+
],
|
|
62438
|
+
'x-fern-sdk-method-name': 'grant',
|
|
62439
|
+
'x-response-key': null,
|
|
62440
|
+
'x-title': 'Grant an Organization Member Workspace Access',
|
|
62441
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62442
|
+
},
|
|
62443
|
+
},
|
|
62444
|
+
'/seam/console/v1/organizations/members/workspaces/list': {
|
|
62445
|
+
get: {
|
|
62446
|
+
description: 'Returns the workspaces an organization member can access.',
|
|
62447
|
+
operationId: 'seamConsoleV1OrganizationsMembersWorkspacesListGet',
|
|
62448
|
+
parameters: [
|
|
62449
|
+
{
|
|
62450
|
+
in: 'query',
|
|
62451
|
+
name: 'organization_id',
|
|
62452
|
+
required: true,
|
|
62453
|
+
schema: { format: 'uuid', type: 'string' },
|
|
62454
|
+
},
|
|
62455
|
+
{
|
|
62456
|
+
in: 'query',
|
|
62457
|
+
name: 'user_id',
|
|
62458
|
+
required: true,
|
|
62459
|
+
schema: { format: 'uuid', type: 'string' },
|
|
62460
|
+
},
|
|
62461
|
+
],
|
|
62462
|
+
responses: {
|
|
62463
|
+
200: {
|
|
62464
|
+
content: {
|
|
62465
|
+
'application/json': {
|
|
62466
|
+
schema: {
|
|
62467
|
+
properties: {
|
|
62468
|
+
ok: { type: 'boolean' },
|
|
62469
|
+
workspaces: {
|
|
62470
|
+
items: {
|
|
62471
|
+
properties: {
|
|
62472
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
62473
|
+
is_owner: { type: 'boolean' },
|
|
62474
|
+
is_sandbox: { type: 'boolean' },
|
|
62475
|
+
name: { type: 'string' },
|
|
62476
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
62477
|
+
},
|
|
62478
|
+
required: [
|
|
62479
|
+
'workspace_id',
|
|
62480
|
+
'name',
|
|
62481
|
+
'is_sandbox',
|
|
62482
|
+
'is_owner',
|
|
62483
|
+
'created_at',
|
|
62484
|
+
],
|
|
62485
|
+
type: 'object',
|
|
62486
|
+
},
|
|
62487
|
+
type: 'array',
|
|
62488
|
+
},
|
|
62489
|
+
},
|
|
62490
|
+
required: ['workspaces', 'ok'],
|
|
62491
|
+
type: 'object',
|
|
62492
|
+
},
|
|
62493
|
+
},
|
|
62494
|
+
},
|
|
62495
|
+
description: 'OK',
|
|
62496
|
+
},
|
|
62497
|
+
400: { description: 'Bad Request' },
|
|
62498
|
+
401: { description: 'Unauthorized' },
|
|
62499
|
+
},
|
|
62500
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62501
|
+
summary: '/seam/console/v1/organizations/members/workspaces/list',
|
|
62502
|
+
tags: ['/workspaces'],
|
|
62503
|
+
'x-fern-sdk-group-name': [
|
|
62504
|
+
'seam',
|
|
62505
|
+
'console',
|
|
62506
|
+
'v1',
|
|
62507
|
+
'organizations',
|
|
62508
|
+
'members',
|
|
62509
|
+
'workspaces',
|
|
62510
|
+
],
|
|
62511
|
+
'x-fern-sdk-method-name': 'list',
|
|
62512
|
+
'x-fern-sdk-return-value': 'workspaces',
|
|
62513
|
+
'x-response-key': 'workspaces',
|
|
62514
|
+
'x-title': "List an Organization Member's Workspaces",
|
|
62515
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62516
|
+
},
|
|
62517
|
+
post: {
|
|
62518
|
+
description: 'Returns the workspaces an organization member can access.',
|
|
62519
|
+
operationId: 'seamConsoleV1OrganizationsMembersWorkspacesListPost',
|
|
62520
|
+
requestBody: {
|
|
62521
|
+
content: {
|
|
62522
|
+
'application/json': {
|
|
62523
|
+
schema: {
|
|
62524
|
+
properties: {
|
|
62525
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62526
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
62527
|
+
},
|
|
62528
|
+
required: ['organization_id', 'user_id'],
|
|
62529
|
+
type: 'object',
|
|
62530
|
+
},
|
|
62531
|
+
},
|
|
62532
|
+
},
|
|
62533
|
+
},
|
|
62534
|
+
responses: {
|
|
62535
|
+
200: {
|
|
62536
|
+
content: {
|
|
62537
|
+
'application/json': {
|
|
62538
|
+
schema: {
|
|
62539
|
+
properties: {
|
|
62540
|
+
ok: { type: 'boolean' },
|
|
62541
|
+
workspaces: {
|
|
62542
|
+
items: {
|
|
62543
|
+
properties: {
|
|
62544
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
62545
|
+
is_owner: { type: 'boolean' },
|
|
62546
|
+
is_sandbox: { type: 'boolean' },
|
|
62547
|
+
name: { type: 'string' },
|
|
62548
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
62549
|
+
},
|
|
62550
|
+
required: [
|
|
62551
|
+
'workspace_id',
|
|
62552
|
+
'name',
|
|
62553
|
+
'is_sandbox',
|
|
62554
|
+
'is_owner',
|
|
62555
|
+
'created_at',
|
|
62556
|
+
],
|
|
62557
|
+
type: 'object',
|
|
62558
|
+
},
|
|
62559
|
+
type: 'array',
|
|
62560
|
+
},
|
|
62561
|
+
},
|
|
62562
|
+
required: ['workspaces', 'ok'],
|
|
62563
|
+
type: 'object',
|
|
62564
|
+
},
|
|
62565
|
+
},
|
|
62566
|
+
},
|
|
62567
|
+
description: 'OK',
|
|
62568
|
+
},
|
|
62569
|
+
400: { description: 'Bad Request' },
|
|
62570
|
+
401: { description: 'Unauthorized' },
|
|
62571
|
+
},
|
|
62572
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62573
|
+
summary: '/seam/console/v1/organizations/members/workspaces/list',
|
|
62574
|
+
tags: ['/workspaces'],
|
|
62575
|
+
'x-fern-sdk-group-name': [
|
|
62576
|
+
'seam',
|
|
62577
|
+
'console',
|
|
62578
|
+
'v1',
|
|
62579
|
+
'organizations',
|
|
62580
|
+
'members',
|
|
62581
|
+
'workspaces',
|
|
62582
|
+
],
|
|
62583
|
+
'x-fern-sdk-method-name': 'list',
|
|
62584
|
+
'x-fern-sdk-return-value': 'workspaces',
|
|
62585
|
+
'x-response-key': 'workspaces',
|
|
62586
|
+
'x-title': "List an Organization Member's Workspaces",
|
|
62587
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62588
|
+
},
|
|
62589
|
+
},
|
|
62590
|
+
'/seam/console/v1/organizations/members/workspaces/revoke': {
|
|
62591
|
+
post: {
|
|
62592
|
+
description: "Revokes an organization member's access to a workspace.",
|
|
62593
|
+
operationId: 'seamConsoleV1OrganizationsMembersWorkspacesRevokePost',
|
|
62594
|
+
requestBody: {
|
|
62595
|
+
content: {
|
|
62596
|
+
'application/json': {
|
|
62597
|
+
schema: {
|
|
62598
|
+
properties: {
|
|
62599
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62600
|
+
user_id: { format: 'uuid', type: 'string' },
|
|
62601
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
62602
|
+
},
|
|
62603
|
+
required: ['organization_id', 'user_id', 'workspace_id'],
|
|
62604
|
+
type: 'object',
|
|
62605
|
+
},
|
|
62606
|
+
},
|
|
62607
|
+
},
|
|
62608
|
+
},
|
|
62609
|
+
responses: {
|
|
62610
|
+
200: {
|
|
62611
|
+
content: {
|
|
62612
|
+
'application/json': {
|
|
62613
|
+
schema: {
|
|
62614
|
+
properties: { ok: { type: 'boolean' } },
|
|
62615
|
+
required: ['ok'],
|
|
62616
|
+
type: 'object',
|
|
62617
|
+
},
|
|
62618
|
+
},
|
|
62619
|
+
},
|
|
62620
|
+
description: 'OK',
|
|
62621
|
+
},
|
|
62622
|
+
400: { description: 'Bad Request' },
|
|
62623
|
+
401: { description: 'Unauthorized' },
|
|
62624
|
+
},
|
|
62625
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62626
|
+
summary: '/seam/console/v1/organizations/members/workspaces/revoke',
|
|
62627
|
+
tags: ['/workspaces'],
|
|
62628
|
+
'x-fern-sdk-group-name': [
|
|
62629
|
+
'seam',
|
|
62630
|
+
'console',
|
|
62631
|
+
'v1',
|
|
62632
|
+
'organizations',
|
|
62633
|
+
'members',
|
|
62634
|
+
'workspaces',
|
|
62635
|
+
],
|
|
62636
|
+
'x-fern-sdk-method-name': 'revoke',
|
|
62637
|
+
'x-response-key': null,
|
|
62638
|
+
'x-title': "Revoke an Organization Member's Workspace Access",
|
|
62639
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62640
|
+
},
|
|
62641
|
+
},
|
|
62642
|
+
'/seam/console/v1/organizations/update': {
|
|
62643
|
+
patch: {
|
|
62644
|
+
description: 'Updates an organization.',
|
|
62645
|
+
operationId: 'seamConsoleV1OrganizationsUpdatePatch',
|
|
62646
|
+
requestBody: {
|
|
62647
|
+
content: {
|
|
62648
|
+
'application/json': {
|
|
62649
|
+
schema: {
|
|
62650
|
+
properties: {
|
|
62651
|
+
connect_webview_customization: {
|
|
62652
|
+
properties: {
|
|
62653
|
+
logo_shape: {
|
|
62654
|
+
enum: ['circle', 'square'],
|
|
62655
|
+
nullable: true,
|
|
62656
|
+
type: 'string',
|
|
62657
|
+
},
|
|
62658
|
+
primary_button_color: { nullable: true, type: 'string' },
|
|
62659
|
+
primary_button_text_color: {
|
|
62660
|
+
nullable: true,
|
|
62661
|
+
type: 'string',
|
|
62662
|
+
},
|
|
62663
|
+
},
|
|
62664
|
+
type: 'object',
|
|
62665
|
+
},
|
|
62666
|
+
logo_image_base64: { nullable: true, type: 'string' },
|
|
62667
|
+
name: { maxLength: 255, minLength: 1, type: 'string' },
|
|
62668
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62669
|
+
},
|
|
62670
|
+
required: ['organization_id'],
|
|
62671
|
+
type: 'object',
|
|
62672
|
+
},
|
|
62673
|
+
},
|
|
62674
|
+
},
|
|
62675
|
+
},
|
|
62676
|
+
responses: {
|
|
62677
|
+
200: {
|
|
62678
|
+
content: {
|
|
62679
|
+
'application/json': {
|
|
62680
|
+
schema: {
|
|
62681
|
+
properties: {
|
|
62682
|
+
ok: { type: 'boolean' },
|
|
62683
|
+
organization: {
|
|
62684
|
+
properties: {
|
|
62685
|
+
connect_webview_customization: {
|
|
62686
|
+
properties: {
|
|
62687
|
+
logo_shape: {
|
|
62688
|
+
enum: ['circle', 'square'],
|
|
62689
|
+
nullable: true,
|
|
62690
|
+
type: 'string',
|
|
62691
|
+
},
|
|
62692
|
+
primary_button_color: {
|
|
62693
|
+
nullable: true,
|
|
62694
|
+
type: 'string',
|
|
62695
|
+
},
|
|
62696
|
+
primary_button_text_color: {
|
|
62697
|
+
nullable: true,
|
|
62698
|
+
type: 'string',
|
|
62699
|
+
},
|
|
62700
|
+
},
|
|
62701
|
+
required: [
|
|
62702
|
+
'primary_button_color',
|
|
62703
|
+
'primary_button_text_color',
|
|
62704
|
+
'logo_shape',
|
|
62705
|
+
],
|
|
62706
|
+
type: 'object',
|
|
62707
|
+
},
|
|
62708
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
62709
|
+
logo_url: { nullable: true, type: 'string' },
|
|
62710
|
+
name: { type: 'string' },
|
|
62711
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62712
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
62713
|
+
},
|
|
62714
|
+
required: [
|
|
62715
|
+
'organization_id',
|
|
62716
|
+
'name',
|
|
62717
|
+
'logo_url',
|
|
62718
|
+
'connect_webview_customization',
|
|
62719
|
+
'created_at',
|
|
62720
|
+
'updated_at',
|
|
62721
|
+
],
|
|
62722
|
+
type: 'object',
|
|
62723
|
+
},
|
|
62724
|
+
},
|
|
62725
|
+
required: ['organization', 'ok'],
|
|
62726
|
+
type: 'object',
|
|
62727
|
+
},
|
|
62728
|
+
},
|
|
62729
|
+
},
|
|
62730
|
+
description: 'OK',
|
|
62731
|
+
},
|
|
62732
|
+
400: { description: 'Bad Request' },
|
|
62733
|
+
401: { description: 'Unauthorized' },
|
|
62734
|
+
},
|
|
62735
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62736
|
+
summary: '/seam/console/v1/organizations/update',
|
|
62737
|
+
tags: [],
|
|
62738
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
62739
|
+
'x-fern-sdk-method-name': 'update',
|
|
62740
|
+
'x-fern-sdk-return-value': 'organization',
|
|
62741
|
+
'x-response-key': 'organization',
|
|
62742
|
+
'x-title': 'Update an Organization',
|
|
62743
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62744
|
+
},
|
|
62745
|
+
post: {
|
|
62746
|
+
description: 'Updates an organization.',
|
|
62747
|
+
operationId: 'seamConsoleV1OrganizationsUpdatePost',
|
|
62748
|
+
requestBody: {
|
|
62749
|
+
content: {
|
|
62750
|
+
'application/json': {
|
|
62751
|
+
schema: {
|
|
62752
|
+
properties: {
|
|
62753
|
+
connect_webview_customization: {
|
|
62754
|
+
properties: {
|
|
62755
|
+
logo_shape: {
|
|
62756
|
+
enum: ['circle', 'square'],
|
|
62757
|
+
nullable: true,
|
|
62758
|
+
type: 'string',
|
|
62759
|
+
},
|
|
62760
|
+
primary_button_color: { nullable: true, type: 'string' },
|
|
62761
|
+
primary_button_text_color: {
|
|
62762
|
+
nullable: true,
|
|
62763
|
+
type: 'string',
|
|
62764
|
+
},
|
|
62765
|
+
},
|
|
62766
|
+
type: 'object',
|
|
62767
|
+
},
|
|
62768
|
+
logo_image_base64: { nullable: true, type: 'string' },
|
|
62769
|
+
name: { maxLength: 255, minLength: 1, type: 'string' },
|
|
62770
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62771
|
+
},
|
|
62772
|
+
required: ['organization_id'],
|
|
62773
|
+
type: 'object',
|
|
62774
|
+
},
|
|
62775
|
+
},
|
|
62776
|
+
},
|
|
62777
|
+
},
|
|
62778
|
+
responses: {
|
|
62779
|
+
200: {
|
|
62780
|
+
content: {
|
|
62781
|
+
'application/json': {
|
|
62782
|
+
schema: {
|
|
62783
|
+
properties: {
|
|
62784
|
+
ok: { type: 'boolean' },
|
|
62785
|
+
organization: {
|
|
62786
|
+
properties: {
|
|
62787
|
+
connect_webview_customization: {
|
|
62788
|
+
properties: {
|
|
62789
|
+
logo_shape: {
|
|
62790
|
+
enum: ['circle', 'square'],
|
|
62791
|
+
nullable: true,
|
|
62792
|
+
type: 'string',
|
|
62793
|
+
},
|
|
62794
|
+
primary_button_color: {
|
|
62795
|
+
nullable: true,
|
|
62796
|
+
type: 'string',
|
|
62797
|
+
},
|
|
62798
|
+
primary_button_text_color: {
|
|
62799
|
+
nullable: true,
|
|
62800
|
+
type: 'string',
|
|
62801
|
+
},
|
|
62802
|
+
},
|
|
62803
|
+
required: [
|
|
62804
|
+
'primary_button_color',
|
|
62805
|
+
'primary_button_text_color',
|
|
62806
|
+
'logo_shape',
|
|
62807
|
+
],
|
|
62808
|
+
type: 'object',
|
|
62809
|
+
},
|
|
62810
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
62811
|
+
logo_url: { nullable: true, type: 'string' },
|
|
62812
|
+
name: { type: 'string' },
|
|
62813
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62814
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
62815
|
+
},
|
|
62816
|
+
required: [
|
|
62817
|
+
'organization_id',
|
|
62818
|
+
'name',
|
|
62819
|
+
'logo_url',
|
|
62820
|
+
'connect_webview_customization',
|
|
62821
|
+
'created_at',
|
|
62822
|
+
'updated_at',
|
|
62823
|
+
],
|
|
62824
|
+
type: 'object',
|
|
62825
|
+
},
|
|
62826
|
+
},
|
|
62827
|
+
required: ['organization', 'ok'],
|
|
62828
|
+
type: 'object',
|
|
62829
|
+
},
|
|
62830
|
+
},
|
|
62831
|
+
},
|
|
62832
|
+
description: 'OK',
|
|
62833
|
+
},
|
|
62834
|
+
400: { description: 'Bad Request' },
|
|
62835
|
+
401: { description: 'Unauthorized' },
|
|
62836
|
+
},
|
|
62837
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62838
|
+
summary: '/seam/console/v1/organizations/update',
|
|
62839
|
+
tags: [],
|
|
62840
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
62841
|
+
'x-fern-sdk-method-name': 'update',
|
|
62842
|
+
'x-fern-sdk-return-value': 'organization',
|
|
62843
|
+
'x-response-key': 'organization',
|
|
62844
|
+
'x-title': 'Update an Organization',
|
|
62845
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62846
|
+
},
|
|
62847
|
+
},
|
|
62848
|
+
'/seam/console/v1/organizations/upload_logo': {
|
|
62849
|
+
post: {
|
|
62850
|
+
description: 'Uploads a logo image for an organization.',
|
|
62851
|
+
operationId: 'seamConsoleV1OrganizationsUploadLogoPost',
|
|
62852
|
+
responses: {
|
|
62853
|
+
200: {
|
|
62854
|
+
content: {
|
|
62855
|
+
'application/json': {
|
|
62856
|
+
schema: {
|
|
62857
|
+
properties: {
|
|
62858
|
+
ok: { type: 'boolean' },
|
|
62859
|
+
organization: {
|
|
62860
|
+
properties: {
|
|
62861
|
+
connect_webview_customization: {
|
|
62862
|
+
properties: {
|
|
62863
|
+
logo_shape: {
|
|
62864
|
+
enum: ['circle', 'square'],
|
|
62865
|
+
nullable: true,
|
|
62866
|
+
type: 'string',
|
|
62867
|
+
},
|
|
62868
|
+
primary_button_color: {
|
|
62869
|
+
nullable: true,
|
|
62870
|
+
type: 'string',
|
|
62871
|
+
},
|
|
62872
|
+
primary_button_text_color: {
|
|
62873
|
+
nullable: true,
|
|
62874
|
+
type: 'string',
|
|
62875
|
+
},
|
|
62876
|
+
},
|
|
62877
|
+
required: [
|
|
62878
|
+
'primary_button_color',
|
|
62879
|
+
'primary_button_text_color',
|
|
62880
|
+
'logo_shape',
|
|
62881
|
+
],
|
|
62882
|
+
type: 'object',
|
|
62883
|
+
},
|
|
62884
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
62885
|
+
logo_url: { nullable: true, type: 'string' },
|
|
62886
|
+
name: { type: 'string' },
|
|
62887
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62888
|
+
updated_at: { format: 'date-time', type: 'string' },
|
|
62889
|
+
},
|
|
62890
|
+
required: [
|
|
62891
|
+
'organization_id',
|
|
62892
|
+
'name',
|
|
62893
|
+
'logo_url',
|
|
62894
|
+
'connect_webview_customization',
|
|
62895
|
+
'created_at',
|
|
62896
|
+
'updated_at',
|
|
62897
|
+
],
|
|
62898
|
+
type: 'object',
|
|
62899
|
+
},
|
|
62900
|
+
},
|
|
62901
|
+
required: ['organization', 'ok'],
|
|
62902
|
+
type: 'object',
|
|
62903
|
+
},
|
|
62904
|
+
},
|
|
62905
|
+
},
|
|
62906
|
+
description: 'OK',
|
|
62907
|
+
},
|
|
62908
|
+
400: { description: 'Bad Request' },
|
|
62909
|
+
401: { description: 'Unauthorized' },
|
|
62910
|
+
},
|
|
62911
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62912
|
+
summary: '/seam/console/v1/organizations/upload_logo',
|
|
62913
|
+
tags: [],
|
|
62914
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'organizations'],
|
|
62915
|
+
'x-fern-sdk-method-name': 'upload_logo',
|
|
62916
|
+
'x-fern-sdk-return-value': 'organization',
|
|
62917
|
+
'x-response-key': 'organization',
|
|
62918
|
+
'x-title': 'Upload an Organization Logo',
|
|
62919
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62920
|
+
},
|
|
62921
|
+
},
|
|
62922
|
+
'/seam/console/v1/organizations/workspaces/create': {
|
|
62923
|
+
post: {
|
|
62924
|
+
description: 'Creates a workspace in an organization.',
|
|
62925
|
+
operationId: 'seamConsoleV1OrganizationsWorkspacesCreatePost',
|
|
62926
|
+
requestBody: {
|
|
62927
|
+
content: {
|
|
62928
|
+
'application/json': {
|
|
62929
|
+
schema: {
|
|
62930
|
+
properties: {
|
|
62931
|
+
is_sandbox: { default: false, type: 'boolean' },
|
|
62932
|
+
name: { minLength: 1, type: 'string' },
|
|
62933
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
62934
|
+
},
|
|
62935
|
+
required: ['organization_id', 'name'],
|
|
62936
|
+
type: 'object',
|
|
62937
|
+
},
|
|
62938
|
+
},
|
|
62939
|
+
},
|
|
62940
|
+
},
|
|
62941
|
+
responses: {
|
|
62942
|
+
200: {
|
|
62943
|
+
content: {
|
|
62944
|
+
'application/json': {
|
|
62945
|
+
schema: {
|
|
62946
|
+
properties: {
|
|
62947
|
+
ok: { type: 'boolean' },
|
|
62948
|
+
workspace: { $ref: '#/components/schemas/workspace' },
|
|
62949
|
+
},
|
|
62950
|
+
required: ['workspace', 'ok'],
|
|
62951
|
+
type: 'object',
|
|
62952
|
+
},
|
|
62953
|
+
},
|
|
62954
|
+
},
|
|
62955
|
+
description: 'OK',
|
|
62956
|
+
},
|
|
62957
|
+
400: { description: 'Bad Request' },
|
|
62958
|
+
401: { description: 'Unauthorized' },
|
|
62959
|
+
},
|
|
62960
|
+
security: [{ console_session_without_workspace: [] }],
|
|
62961
|
+
summary: '/seam/console/v1/organizations/workspaces/create',
|
|
62962
|
+
tags: ['/workspaces'],
|
|
62963
|
+
'x-fern-sdk-group-name': [
|
|
62964
|
+
'seam',
|
|
62965
|
+
'console',
|
|
62966
|
+
'v1',
|
|
62967
|
+
'organizations',
|
|
62968
|
+
'workspaces',
|
|
62969
|
+
],
|
|
62970
|
+
'x-fern-sdk-method-name': 'create',
|
|
62971
|
+
'x-fern-sdk-return-value': 'workspace',
|
|
62972
|
+
'x-response-key': 'workspace',
|
|
62973
|
+
'x-title': 'Create an Organization Workspace',
|
|
62974
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62975
|
+
},
|
|
62976
|
+
},
|
|
62977
|
+
'/seam/console/v1/organizations/workspaces/remove': {
|
|
62978
|
+
post: {
|
|
62979
|
+
description: 'Removes a workspace from an organization.',
|
|
62980
|
+
operationId: 'seamConsoleV1OrganizationsWorkspacesRemovePost',
|
|
62981
|
+
requestBody: {
|
|
62982
|
+
content: {
|
|
62983
|
+
'application/json': {
|
|
62984
|
+
schema: {
|
|
62985
|
+
properties: {
|
|
62986
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
62987
|
+
},
|
|
62988
|
+
required: ['workspace_id'],
|
|
62989
|
+
type: 'object',
|
|
62990
|
+
},
|
|
62991
|
+
},
|
|
62992
|
+
},
|
|
62993
|
+
},
|
|
62994
|
+
responses: {
|
|
62995
|
+
200: {
|
|
62996
|
+
content: {
|
|
62997
|
+
'application/json': {
|
|
62998
|
+
schema: {
|
|
62999
|
+
properties: { ok: { type: 'boolean' } },
|
|
63000
|
+
required: ['ok'],
|
|
63001
|
+
type: 'object',
|
|
63002
|
+
},
|
|
63003
|
+
},
|
|
63004
|
+
},
|
|
63005
|
+
description: 'OK',
|
|
63006
|
+
},
|
|
63007
|
+
400: { description: 'Bad Request' },
|
|
63008
|
+
401: { description: 'Unauthorized' },
|
|
63009
|
+
},
|
|
63010
|
+
security: [{ console_session_without_workspace: [] }],
|
|
63011
|
+
summary: '/seam/console/v1/organizations/workspaces/remove',
|
|
63012
|
+
tags: ['/workspaces'],
|
|
63013
|
+
'x-fern-sdk-group-name': [
|
|
63014
|
+
'seam',
|
|
63015
|
+
'console',
|
|
63016
|
+
'v1',
|
|
63017
|
+
'organizations',
|
|
63018
|
+
'workspaces',
|
|
63019
|
+
],
|
|
63020
|
+
'x-fern-sdk-method-name': 'remove',
|
|
63021
|
+
'x-response-key': null,
|
|
63022
|
+
'x-title': 'Remove an Organization Workspace',
|
|
63023
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
63024
|
+
},
|
|
63025
|
+
},
|
|
63026
|
+
'/seam/console/v1/organizations/workspaces/update': {
|
|
63027
|
+
post: {
|
|
63028
|
+
description: 'Updates a workspace in an organization.',
|
|
63029
|
+
operationId: 'seamConsoleV1OrganizationsWorkspacesUpdatePost',
|
|
63030
|
+
requestBody: {
|
|
63031
|
+
content: {
|
|
63032
|
+
'application/json': {
|
|
63033
|
+
schema: {
|
|
63034
|
+
properties: {
|
|
63035
|
+
name: { minLength: 1, type: 'string' },
|
|
63036
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
63037
|
+
},
|
|
63038
|
+
required: ['workspace_id', 'name'],
|
|
63039
|
+
type: 'object',
|
|
63040
|
+
},
|
|
63041
|
+
},
|
|
63042
|
+
},
|
|
63043
|
+
},
|
|
63044
|
+
responses: {
|
|
63045
|
+
200: {
|
|
63046
|
+
content: {
|
|
63047
|
+
'application/json': {
|
|
63048
|
+
schema: {
|
|
63049
|
+
properties: {
|
|
63050
|
+
ok: { type: 'boolean' },
|
|
63051
|
+
workspace: { $ref: '#/components/schemas/workspace' },
|
|
63052
|
+
},
|
|
63053
|
+
required: ['workspace', 'ok'],
|
|
63054
|
+
type: 'object',
|
|
63055
|
+
},
|
|
63056
|
+
},
|
|
63057
|
+
},
|
|
63058
|
+
description: 'OK',
|
|
63059
|
+
},
|
|
63060
|
+
400: { description: 'Bad Request' },
|
|
63061
|
+
401: { description: 'Unauthorized' },
|
|
63062
|
+
},
|
|
63063
|
+
security: [{ console_session_without_workspace: [] }],
|
|
63064
|
+
summary: '/seam/console/v1/organizations/workspaces/update',
|
|
63065
|
+
tags: ['/workspaces'],
|
|
63066
|
+
'x-fern-sdk-group-name': [
|
|
63067
|
+
'seam',
|
|
63068
|
+
'console',
|
|
63069
|
+
'v1',
|
|
63070
|
+
'organizations',
|
|
63071
|
+
'workspaces',
|
|
63072
|
+
],
|
|
63073
|
+
'x-fern-sdk-method-name': 'update',
|
|
63074
|
+
'x-fern-sdk-return-value': 'workspace',
|
|
63075
|
+
'x-response-key': 'workspace',
|
|
63076
|
+
'x-title': 'Update an Organization Workspace',
|
|
63077
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
63078
|
+
},
|
|
63079
|
+
},
|
|
61362
63080
|
'/seam/console/v1/sites/create': {
|
|
61363
63081
|
post: {
|
|
61364
63082
|
description: 'Creates a new site, a top-level space in the property hierarchy.',
|