@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
|
@@ -90071,6 +90071,489 @@ export type Routes = {
|
|
|
90071
90071
|
}
|
|
90072
90072
|
maxDuration: undefined
|
|
90073
90073
|
}
|
|
90074
|
+
'/seam/console/v1/organizations/create': {
|
|
90075
|
+
route: '/seam/console/v1/organizations/create'
|
|
90076
|
+
method: 'POST'
|
|
90077
|
+
queryParams: {}
|
|
90078
|
+
jsonBody: {
|
|
90079
|
+
name: string
|
|
90080
|
+
logo_image_base64?: string | undefined
|
|
90081
|
+
}
|
|
90082
|
+
commonParams: {}
|
|
90083
|
+
formData: {}
|
|
90084
|
+
jsonResponse: {
|
|
90085
|
+
organization: {
|
|
90086
|
+
organization_id: string
|
|
90087
|
+
name: string
|
|
90088
|
+
logo_url: string | null
|
|
90089
|
+
connect_webview_customization: {
|
|
90090
|
+
primary_button_color: string | null
|
|
90091
|
+
primary_button_text_color: string | null
|
|
90092
|
+
logo_shape: ('circle' | 'square') | null
|
|
90093
|
+
}
|
|
90094
|
+
created_at: string
|
|
90095
|
+
updated_at: string
|
|
90096
|
+
}
|
|
90097
|
+
}
|
|
90098
|
+
maxDuration: undefined
|
|
90099
|
+
}
|
|
90100
|
+
'/seam/console/v1/organizations/customization_profiles/copy': {
|
|
90101
|
+
route: '/seam/console/v1/organizations/customization_profiles/copy'
|
|
90102
|
+
method: 'POST'
|
|
90103
|
+
queryParams: {}
|
|
90104
|
+
jsonBody: {
|
|
90105
|
+
source_workspace_id: string
|
|
90106
|
+
source_customization_profile_id: string
|
|
90107
|
+
destination_workspace_id: string
|
|
90108
|
+
destination_customization_profile_id?: string | undefined
|
|
90109
|
+
}
|
|
90110
|
+
commonParams: {}
|
|
90111
|
+
formData: {}
|
|
90112
|
+
jsonResponse: {
|
|
90113
|
+
/** A customization profile. */
|
|
90114
|
+
customization_profile: {
|
|
90115
|
+
workspace_id: string
|
|
90116
|
+
name: string | null
|
|
90117
|
+
customization_profile_id: string
|
|
90118
|
+
created_at: string
|
|
90119
|
+
logo_url?: string | undefined
|
|
90120
|
+
primary_color?: string | undefined
|
|
90121
|
+
secondary_color?: string | undefined
|
|
90122
|
+
customer_portal_theme?:
|
|
90123
|
+
| {
|
|
90124
|
+
primary_color?: string | undefined
|
|
90125
|
+
primary_foreground_color?: string | undefined
|
|
90126
|
+
secondary_color?: string | undefined
|
|
90127
|
+
secondary_foreground_color?: string | undefined
|
|
90128
|
+
font_family?: string | undefined
|
|
90129
|
+
mono_font_family?: string | undefined
|
|
90130
|
+
}
|
|
90131
|
+
| undefined
|
|
90132
|
+
message_overrides?:
|
|
90133
|
+
| {
|
|
90134
|
+
[x: string]: {
|
|
90135
|
+
[x: string]: string
|
|
90136
|
+
}
|
|
90137
|
+
}
|
|
90138
|
+
| undefined
|
|
90139
|
+
}
|
|
90140
|
+
}
|
|
90141
|
+
maxDuration: undefined
|
|
90142
|
+
}
|
|
90143
|
+
'/seam/console/v1/organizations/delete': {
|
|
90144
|
+
route: '/seam/console/v1/organizations/delete'
|
|
90145
|
+
method: 'POST'
|
|
90146
|
+
queryParams: {}
|
|
90147
|
+
jsonBody: {
|
|
90148
|
+
organization_id: string
|
|
90149
|
+
}
|
|
90150
|
+
commonParams: {}
|
|
90151
|
+
formData: {}
|
|
90152
|
+
jsonResponse: {
|
|
90153
|
+
organization: {
|
|
90154
|
+
organization_id: string
|
|
90155
|
+
name: string
|
|
90156
|
+
logo_url: string | null
|
|
90157
|
+
connect_webview_customization: {
|
|
90158
|
+
primary_button_color: string | null
|
|
90159
|
+
primary_button_text_color: string | null
|
|
90160
|
+
logo_shape: ('circle' | 'square') | null
|
|
90161
|
+
}
|
|
90162
|
+
created_at: string
|
|
90163
|
+
updated_at: string
|
|
90164
|
+
}
|
|
90165
|
+
}
|
|
90166
|
+
maxDuration: undefined
|
|
90167
|
+
}
|
|
90168
|
+
'/seam/console/v1/organizations/get': {
|
|
90169
|
+
route: '/seam/console/v1/organizations/get'
|
|
90170
|
+
method: 'GET' | 'POST'
|
|
90171
|
+
queryParams: {}
|
|
90172
|
+
jsonBody: {}
|
|
90173
|
+
commonParams: {
|
|
90174
|
+
organization_id: string
|
|
90175
|
+
}
|
|
90176
|
+
formData: {}
|
|
90177
|
+
jsonResponse: {
|
|
90178
|
+
organization: {
|
|
90179
|
+
organization_id: string
|
|
90180
|
+
name: string
|
|
90181
|
+
logo_url: string | null
|
|
90182
|
+
connect_webview_customization: {
|
|
90183
|
+
primary_button_color: string | null
|
|
90184
|
+
primary_button_text_color: string | null
|
|
90185
|
+
logo_shape: ('circle' | 'square') | null
|
|
90186
|
+
}
|
|
90187
|
+
created_at: string
|
|
90188
|
+
updated_at: string
|
|
90189
|
+
}
|
|
90190
|
+
members: {
|
|
90191
|
+
organization_member_id: string
|
|
90192
|
+
organization_id: string
|
|
90193
|
+
user_id: string
|
|
90194
|
+
email: string | null
|
|
90195
|
+
first_name: string | null
|
|
90196
|
+
last_name: string | null
|
|
90197
|
+
role: 'admin' | 'member'
|
|
90198
|
+
created_at: string
|
|
90199
|
+
}[]
|
|
90200
|
+
pending_invitations: {
|
|
90201
|
+
organization_invitation_id: string
|
|
90202
|
+
organization_id: string
|
|
90203
|
+
email: string
|
|
90204
|
+
role: 'admin' | 'member'
|
|
90205
|
+
status: 'pending' | 'accepted' | 'revoked'
|
|
90206
|
+
invited_at: string
|
|
90207
|
+
expires_at: string
|
|
90208
|
+
}[]
|
|
90209
|
+
workspaces: {
|
|
90210
|
+
workspace_id: string
|
|
90211
|
+
name: string
|
|
90212
|
+
is_sandbox: boolean
|
|
90213
|
+
}[]
|
|
90214
|
+
}
|
|
90215
|
+
maxDuration: undefined
|
|
90216
|
+
}
|
|
90217
|
+
'/seam/console/v1/organizations/invitations/revoke': {
|
|
90218
|
+
route: '/seam/console/v1/organizations/invitations/revoke'
|
|
90219
|
+
method: 'POST'
|
|
90220
|
+
queryParams: {}
|
|
90221
|
+
jsonBody: {
|
|
90222
|
+
organization_invitation_id: string
|
|
90223
|
+
}
|
|
90224
|
+
commonParams: {}
|
|
90225
|
+
formData: {}
|
|
90226
|
+
jsonResponse: {
|
|
90227
|
+
organization_invitation: {
|
|
90228
|
+
organization_invitation_id: string
|
|
90229
|
+
organization_id: string
|
|
90230
|
+
email: string
|
|
90231
|
+
role: 'admin' | 'member'
|
|
90232
|
+
status: 'pending' | 'accepted' | 'revoked'
|
|
90233
|
+
invited_at: string
|
|
90234
|
+
expires_at: string
|
|
90235
|
+
}
|
|
90236
|
+
}
|
|
90237
|
+
maxDuration: undefined
|
|
90238
|
+
}
|
|
90239
|
+
'/seam/console/v1/organizations/list': {
|
|
90240
|
+
route: '/seam/console/v1/organizations/list'
|
|
90241
|
+
method: 'GET' | 'POST'
|
|
90242
|
+
queryParams: {}
|
|
90243
|
+
jsonBody: {}
|
|
90244
|
+
commonParams: {}
|
|
90245
|
+
formData: {}
|
|
90246
|
+
jsonResponse: {
|
|
90247
|
+
organizations: {
|
|
90248
|
+
organization_id: string
|
|
90249
|
+
name: string
|
|
90250
|
+
logo_url: string | null
|
|
90251
|
+
connect_webview_customization: {
|
|
90252
|
+
primary_button_color: string | null
|
|
90253
|
+
primary_button_text_color: string | null
|
|
90254
|
+
logo_shape: ('circle' | 'square') | null
|
|
90255
|
+
}
|
|
90256
|
+
created_at: string
|
|
90257
|
+
updated_at: string
|
|
90258
|
+
workspace_count: number
|
|
90259
|
+
member_count: number
|
|
90260
|
+
}[]
|
|
90261
|
+
}
|
|
90262
|
+
maxDuration: undefined
|
|
90263
|
+
}
|
|
90264
|
+
'/seam/console/v1/organizations/members/add': {
|
|
90265
|
+
route: '/seam/console/v1/organizations/members/add'
|
|
90266
|
+
method: 'POST'
|
|
90267
|
+
queryParams: {}
|
|
90268
|
+
jsonBody: {
|
|
90269
|
+
organization_id: string
|
|
90270
|
+
email: string
|
|
90271
|
+
role?: 'admin' | 'member'
|
|
90272
|
+
}
|
|
90273
|
+
commonParams: {}
|
|
90274
|
+
formData: {}
|
|
90275
|
+
jsonResponse: {
|
|
90276
|
+
organization_member?:
|
|
90277
|
+
| {
|
|
90278
|
+
organization_member_id: string
|
|
90279
|
+
organization_id: string
|
|
90280
|
+
user_id: string
|
|
90281
|
+
email: string | null
|
|
90282
|
+
first_name: string | null
|
|
90283
|
+
last_name: string | null
|
|
90284
|
+
role: 'admin' | 'member'
|
|
90285
|
+
created_at: string
|
|
90286
|
+
}
|
|
90287
|
+
| undefined
|
|
90288
|
+
organization_invitation?:
|
|
90289
|
+
| {
|
|
90290
|
+
organization_invitation_id: string
|
|
90291
|
+
organization_id: string
|
|
90292
|
+
email: string
|
|
90293
|
+
role: 'admin' | 'member'
|
|
90294
|
+
status: 'pending' | 'accepted' | 'revoked'
|
|
90295
|
+
invited_at: string
|
|
90296
|
+
expires_at: string
|
|
90297
|
+
}
|
|
90298
|
+
| undefined
|
|
90299
|
+
}
|
|
90300
|
+
maxDuration: undefined
|
|
90301
|
+
}
|
|
90302
|
+
'/seam/console/v1/organizations/members/remove': {
|
|
90303
|
+
route: '/seam/console/v1/organizations/members/remove'
|
|
90304
|
+
method: 'POST'
|
|
90305
|
+
queryParams: {}
|
|
90306
|
+
jsonBody: {
|
|
90307
|
+
organization_id: string
|
|
90308
|
+
user_id: string
|
|
90309
|
+
}
|
|
90310
|
+
commonParams: {}
|
|
90311
|
+
formData: {}
|
|
90312
|
+
jsonResponse: {}
|
|
90313
|
+
maxDuration: undefined
|
|
90314
|
+
}
|
|
90315
|
+
'/seam/console/v1/organizations/members/update': {
|
|
90316
|
+
route: '/seam/console/v1/organizations/members/update'
|
|
90317
|
+
method: 'POST'
|
|
90318
|
+
queryParams: {}
|
|
90319
|
+
jsonBody: {
|
|
90320
|
+
organization_id: string
|
|
90321
|
+
user_id: string
|
|
90322
|
+
role: 'admin' | 'member'
|
|
90323
|
+
}
|
|
90324
|
+
commonParams: {}
|
|
90325
|
+
formData: {}
|
|
90326
|
+
jsonResponse: {
|
|
90327
|
+
organization_member: {
|
|
90328
|
+
organization_member_id: string
|
|
90329
|
+
organization_id: string
|
|
90330
|
+
user_id: string
|
|
90331
|
+
email: string | null
|
|
90332
|
+
first_name: string | null
|
|
90333
|
+
last_name: string | null
|
|
90334
|
+
role: 'admin' | 'member'
|
|
90335
|
+
created_at: string
|
|
90336
|
+
}
|
|
90337
|
+
}
|
|
90338
|
+
maxDuration: undefined
|
|
90339
|
+
}
|
|
90340
|
+
'/seam/console/v1/organizations/members/workspaces/grant': {
|
|
90341
|
+
route: '/seam/console/v1/organizations/members/workspaces/grant'
|
|
90342
|
+
method: 'POST'
|
|
90343
|
+
queryParams: {}
|
|
90344
|
+
jsonBody: {
|
|
90345
|
+
organization_id: string
|
|
90346
|
+
user_id: string
|
|
90347
|
+
workspace_id: string
|
|
90348
|
+
}
|
|
90349
|
+
commonParams: {}
|
|
90350
|
+
formData: {}
|
|
90351
|
+
jsonResponse: {}
|
|
90352
|
+
maxDuration: undefined
|
|
90353
|
+
}
|
|
90354
|
+
'/seam/console/v1/organizations/members/workspaces/list': {
|
|
90355
|
+
route: '/seam/console/v1/organizations/members/workspaces/list'
|
|
90356
|
+
method: 'GET' | 'POST'
|
|
90357
|
+
queryParams: {}
|
|
90358
|
+
jsonBody: {}
|
|
90359
|
+
commonParams: {
|
|
90360
|
+
organization_id: string
|
|
90361
|
+
user_id: string
|
|
90362
|
+
}
|
|
90363
|
+
formData: {}
|
|
90364
|
+
jsonResponse: {
|
|
90365
|
+
workspaces: {
|
|
90366
|
+
workspace_id: string
|
|
90367
|
+
name: string
|
|
90368
|
+
is_sandbox: boolean
|
|
90369
|
+
is_owner: boolean
|
|
90370
|
+
created_at: string
|
|
90371
|
+
}[]
|
|
90372
|
+
}
|
|
90373
|
+
maxDuration: undefined
|
|
90374
|
+
}
|
|
90375
|
+
'/seam/console/v1/organizations/members/workspaces/revoke': {
|
|
90376
|
+
route: '/seam/console/v1/organizations/members/workspaces/revoke'
|
|
90377
|
+
method: 'POST'
|
|
90378
|
+
queryParams: {}
|
|
90379
|
+
jsonBody: {
|
|
90380
|
+
organization_id: string
|
|
90381
|
+
user_id: string
|
|
90382
|
+
workspace_id: string
|
|
90383
|
+
}
|
|
90384
|
+
commonParams: {}
|
|
90385
|
+
formData: {}
|
|
90386
|
+
jsonResponse: {}
|
|
90387
|
+
maxDuration: undefined
|
|
90388
|
+
}
|
|
90389
|
+
'/seam/console/v1/organizations/update': {
|
|
90390
|
+
route: '/seam/console/v1/organizations/update'
|
|
90391
|
+
method: 'PATCH' | 'POST'
|
|
90392
|
+
queryParams: {}
|
|
90393
|
+
jsonBody: {
|
|
90394
|
+
organization_id: string
|
|
90395
|
+
name?: string | undefined
|
|
90396
|
+
logo_image_base64?: (string | null) | undefined
|
|
90397
|
+
connect_webview_customization?:
|
|
90398
|
+
| {
|
|
90399
|
+
primary_button_color?: (string | null) | undefined
|
|
90400
|
+
primary_button_text_color?: (string | null) | undefined
|
|
90401
|
+
logo_shape?: (('circle' | 'square') | null) | undefined
|
|
90402
|
+
}
|
|
90403
|
+
| undefined
|
|
90404
|
+
}
|
|
90405
|
+
commonParams: {}
|
|
90406
|
+
formData: {}
|
|
90407
|
+
jsonResponse: {
|
|
90408
|
+
organization: {
|
|
90409
|
+
organization_id: string
|
|
90410
|
+
name: string
|
|
90411
|
+
logo_url: string | null
|
|
90412
|
+
connect_webview_customization: {
|
|
90413
|
+
primary_button_color: string | null
|
|
90414
|
+
primary_button_text_color: string | null
|
|
90415
|
+
logo_shape: ('circle' | 'square') | null
|
|
90416
|
+
}
|
|
90417
|
+
created_at: string
|
|
90418
|
+
updated_at: string
|
|
90419
|
+
}
|
|
90420
|
+
}
|
|
90421
|
+
maxDuration: undefined
|
|
90422
|
+
}
|
|
90423
|
+
'/seam/console/v1/organizations/upload_logo': {
|
|
90424
|
+
route: '/seam/console/v1/organizations/upload_logo'
|
|
90425
|
+
method: 'POST'
|
|
90426
|
+
queryParams: {}
|
|
90427
|
+
jsonBody: {}
|
|
90428
|
+
commonParams: {}
|
|
90429
|
+
formData: {}
|
|
90430
|
+
jsonResponse: {
|
|
90431
|
+
organization: {
|
|
90432
|
+
organization_id: string
|
|
90433
|
+
name: string
|
|
90434
|
+
logo_url: string | null
|
|
90435
|
+
connect_webview_customization: {
|
|
90436
|
+
primary_button_color: string | null
|
|
90437
|
+
primary_button_text_color: string | null
|
|
90438
|
+
logo_shape: ('circle' | 'square') | null
|
|
90439
|
+
}
|
|
90440
|
+
created_at: string
|
|
90441
|
+
updated_at: string
|
|
90442
|
+
}
|
|
90443
|
+
}
|
|
90444
|
+
maxDuration: undefined
|
|
90445
|
+
}
|
|
90446
|
+
'/seam/console/v1/organizations/workspaces/create': {
|
|
90447
|
+
route: '/seam/console/v1/organizations/workspaces/create'
|
|
90448
|
+
method: 'POST'
|
|
90449
|
+
queryParams: {}
|
|
90450
|
+
jsonBody: {
|
|
90451
|
+
organization_id: string
|
|
90452
|
+
name: string
|
|
90453
|
+
is_sandbox?: boolean
|
|
90454
|
+
}
|
|
90455
|
+
commonParams: {}
|
|
90456
|
+
formData: {}
|
|
90457
|
+
jsonResponse: {
|
|
90458
|
+
/** Represents a Seam [workspace](https://docs.seam.co/core-concepts/workspaces). A workspace is a top-level entity that encompasses all other resources below it, such as devices, connected accounts, and Connect Webviews. Seam provides two types of workspaces. A [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is a special type of workspace designed for testing code. Sandbox workspaces offer test device accounts and virtual devices that you can connect and control. This ability to work with virtual devices is quite handy because it removes the need to own physical devices from multiple brands. To connect real devices and systems to Seam, use a [production workspace](https://docs.seam.co/core-concepts/workspaces#production-workspaces). */
|
|
90459
|
+
workspace: {
|
|
90460
|
+
/** ID of the workspace. */
|
|
90461
|
+
workspace_id: string
|
|
90462
|
+
/** Name of the [workspace](https://docs.seam.co/core-concepts/workspaces). */
|
|
90463
|
+
name: string
|
|
90464
|
+
/** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */
|
|
90465
|
+
company_name: string
|
|
90466
|
+
/** Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */
|
|
90467
|
+
is_sandbox: boolean
|
|
90468
|
+
connect_webview_customization: {
|
|
90469
|
+
/** Primary button color for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
|
|
90470
|
+
primary_button_color?: string | undefined
|
|
90471
|
+
/** Primary button text color for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
|
|
90472
|
+
primary_button_text_color?: string | undefined
|
|
90473
|
+
/** Success message for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
|
|
90474
|
+
success_message?: string | undefined
|
|
90475
|
+
/** Logo shape for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
|
|
90476
|
+
logo_shape?: ('circle' | 'square') | undefined
|
|
90477
|
+
/** URL of the inviter logo for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
|
|
90478
|
+
inviter_logo_url?: string | undefined
|
|
90479
|
+
}
|
|
90480
|
+
/** Indicates whether the [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days. */
|
|
90481
|
+
is_suspended: boolean
|
|
90482
|
+
/**
|
|
90483
|
+
* @deprecated Use `company_name` instead.*/
|
|
90484
|
+
connect_partner_name: (string | null) | null
|
|
90485
|
+
/** Publishable key for the [workspace](https://docs.seam.co/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
|
|
90486
|
+
publishable_key?: string | undefined
|
|
90487
|
+
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
90488
|
+
is_publishable_key_auth_enabled: boolean
|
|
90489
|
+
/** ID of the organization to which the workspace belongs, or `null` if the workspace is not assigned to an organization. */
|
|
90490
|
+
organization_id: string | null
|
|
90491
|
+
}
|
|
90492
|
+
}
|
|
90493
|
+
maxDuration: undefined
|
|
90494
|
+
}
|
|
90495
|
+
'/seam/console/v1/organizations/workspaces/remove': {
|
|
90496
|
+
route: '/seam/console/v1/organizations/workspaces/remove'
|
|
90497
|
+
method: 'POST'
|
|
90498
|
+
queryParams: {}
|
|
90499
|
+
jsonBody: {
|
|
90500
|
+
workspace_id: string
|
|
90501
|
+
}
|
|
90502
|
+
commonParams: {}
|
|
90503
|
+
formData: {}
|
|
90504
|
+
jsonResponse: {
|
|
90505
|
+
ok: boolean
|
|
90506
|
+
}
|
|
90507
|
+
maxDuration: undefined
|
|
90508
|
+
}
|
|
90509
|
+
'/seam/console/v1/organizations/workspaces/update': {
|
|
90510
|
+
route: '/seam/console/v1/organizations/workspaces/update'
|
|
90511
|
+
method: 'POST'
|
|
90512
|
+
queryParams: {}
|
|
90513
|
+
jsonBody: {
|
|
90514
|
+
workspace_id: string
|
|
90515
|
+
name: string
|
|
90516
|
+
}
|
|
90517
|
+
commonParams: {}
|
|
90518
|
+
formData: {}
|
|
90519
|
+
jsonResponse: {
|
|
90520
|
+
/** Represents a Seam [workspace](https://docs.seam.co/core-concepts/workspaces). A workspace is a top-level entity that encompasses all other resources below it, such as devices, connected accounts, and Connect Webviews. Seam provides two types of workspaces. A [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is a special type of workspace designed for testing code. Sandbox workspaces offer test device accounts and virtual devices that you can connect and control. This ability to work with virtual devices is quite handy because it removes the need to own physical devices from multiple brands. To connect real devices and systems to Seam, use a [production workspace](https://docs.seam.co/core-concepts/workspaces#production-workspaces). */
|
|
90521
|
+
workspace: {
|
|
90522
|
+
/** ID of the workspace. */
|
|
90523
|
+
workspace_id: string
|
|
90524
|
+
/** Name of the [workspace](https://docs.seam.co/core-concepts/workspaces). */
|
|
90525
|
+
name: string
|
|
90526
|
+
/** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */
|
|
90527
|
+
company_name: string
|
|
90528
|
+
/** Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */
|
|
90529
|
+
is_sandbox: boolean
|
|
90530
|
+
connect_webview_customization: {
|
|
90531
|
+
/** Primary button color for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
|
|
90532
|
+
primary_button_color?: string | undefined
|
|
90533
|
+
/** Primary button text color for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
|
|
90534
|
+
primary_button_text_color?: string | undefined
|
|
90535
|
+
/** Success message for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
|
|
90536
|
+
success_message?: string | undefined
|
|
90537
|
+
/** Logo shape for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
|
|
90538
|
+
logo_shape?: ('circle' | 'square') | undefined
|
|
90539
|
+
/** URL of the inviter logo for [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
|
|
90540
|
+
inviter_logo_url?: string | undefined
|
|
90541
|
+
}
|
|
90542
|
+
/** Indicates whether the [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days. */
|
|
90543
|
+
is_suspended: boolean
|
|
90544
|
+
/**
|
|
90545
|
+
* @deprecated Use `company_name` instead.*/
|
|
90546
|
+
connect_partner_name: (string | null) | null
|
|
90547
|
+
/** Publishable key for the [workspace](https://docs.seam.co/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
|
|
90548
|
+
publishable_key?: string | undefined
|
|
90549
|
+
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
90550
|
+
is_publishable_key_auth_enabled: boolean
|
|
90551
|
+
/** ID of the organization to which the workspace belongs, or `null` if the workspace is not assigned to an organization. */
|
|
90552
|
+
organization_id: string | null
|
|
90553
|
+
}
|
|
90554
|
+
}
|
|
90555
|
+
maxDuration: undefined
|
|
90556
|
+
}
|
|
90074
90557
|
'/seam/console/v1/sites/create': {
|
|
90075
90558
|
route: '/seam/console/v1/sites/create'
|
|
90076
90559
|
method: 'POST'
|