@seamapi/types 1.474.0 → 1.475.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 CHANGED
@@ -30,6 +30,7 @@ __export(schemas_exports, {
30
30
  connect_webview: () => connect_webview,
31
31
  connected_account: () => connected_account,
32
32
  custom_metadata: () => custom_metadata,
33
+ customization_profile: () => customization_profile,
33
34
  device: () => device,
34
35
  device_provider: () => device_provider,
35
36
  instant_key: () => instant_key,
@@ -4261,6 +4262,13 @@ var bridge_client_session = zod.z.object({
4261
4262
  ---
4262
4263
  Represents a [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session.
4263
4264
  `);
4265
+ var customization_profile = zod.z.object({
4266
+ workspace_id: zod.z.string().uuid(),
4267
+ customization_profile_id: zod.z.string().uuid(),
4268
+ logo_url: zod.z.string().optional(),
4269
+ primary_color: zod.z.string().optional(),
4270
+ secondary_color: zod.z.string().optional()
4271
+ });
4264
4272
  var common_event = zod.z.object({
4265
4273
  event_id: zod.z.string().uuid().describe("ID of the event."),
4266
4274
  workspace_id: zod.z.string().uuid().describe(
@@ -57228,6 +57236,389 @@ var openapi_default = {
57228
57236
  "x-title": "Create a Workspace"
57229
57237
  }
57230
57238
  },
57239
+ "/workspaces/customization_profiles/create": {
57240
+ post: {
57241
+ description: "Updates the customization profile for the workspace.",
57242
+ operationId: "workspacesCustomizationProfilesCreatePost",
57243
+ requestBody: {
57244
+ content: {
57245
+ "application/json": {
57246
+ schema: {
57247
+ properties: {
57248
+ primary_color: { type: "string" },
57249
+ secondary_color: { type: "string" }
57250
+ },
57251
+ required: ["primary_color", "secondary_color"],
57252
+ type: "object"
57253
+ }
57254
+ }
57255
+ }
57256
+ },
57257
+ responses: {
57258
+ 200: {
57259
+ content: {
57260
+ "application/json": {
57261
+ schema: {
57262
+ properties: {
57263
+ customization_profile: {
57264
+ properties: {
57265
+ customization_profile_id: {
57266
+ format: "uuid",
57267
+ type: "string"
57268
+ },
57269
+ logo_url: { type: "string" },
57270
+ primary_color: { type: "string" },
57271
+ secondary_color: { type: "string" },
57272
+ workspace_id: { format: "uuid", type: "string" }
57273
+ },
57274
+ required: ["workspace_id", "customization_profile_id"],
57275
+ type: "object"
57276
+ },
57277
+ ok: { type: "boolean" }
57278
+ },
57279
+ required: ["customization_profile", "ok"],
57280
+ type: "object"
57281
+ }
57282
+ }
57283
+ },
57284
+ description: "OK"
57285
+ },
57286
+ 400: { description: "Bad Request" },
57287
+ 401: { description: "Unauthorized" }
57288
+ },
57289
+ security: [{ client_session_with_customer: [] }],
57290
+ summary: "/workspaces/customization_profiles/create",
57291
+ tags: ["/workspaces"],
57292
+ "x-fern-sdk-group-name": ["workspaces", "customization_profiles"],
57293
+ "x-fern-sdk-method-name": "create",
57294
+ "x-fern-sdk-return-value": "customization_profile",
57295
+ "x-response-key": "customization_profile",
57296
+ "x-title": "Update Customization Profile"
57297
+ }
57298
+ },
57299
+ "/workspaces/customization_profiles/get": {
57300
+ get: {
57301
+ description: "Retrieves the customization profile for the workspace.",
57302
+ operationId: "workspacesCustomizationProfilesGetGet",
57303
+ parameters: [
57304
+ {
57305
+ in: "query",
57306
+ name: "customization_profile_id",
57307
+ required: true,
57308
+ schema: { format: "uuid", type: "string" }
57309
+ }
57310
+ ],
57311
+ responses: {
57312
+ 200: {
57313
+ content: {
57314
+ "application/json": {
57315
+ schema: {
57316
+ properties: {
57317
+ customization_profile: {
57318
+ properties: {
57319
+ customization_profile_id: {
57320
+ format: "uuid",
57321
+ type: "string"
57322
+ },
57323
+ logo_url: { type: "string" },
57324
+ primary_color: { type: "string" },
57325
+ secondary_color: { type: "string" },
57326
+ workspace_id: { format: "uuid", type: "string" }
57327
+ },
57328
+ required: ["workspace_id", "customization_profile_id"],
57329
+ type: "object"
57330
+ },
57331
+ ok: { type: "boolean" }
57332
+ },
57333
+ required: ["customization_profile", "ok"],
57334
+ type: "object"
57335
+ }
57336
+ }
57337
+ },
57338
+ description: "OK"
57339
+ },
57340
+ 400: { description: "Bad Request" },
57341
+ 401: { description: "Unauthorized" }
57342
+ },
57343
+ security: [{ client_session_with_customer: [] }],
57344
+ summary: "/workspaces/customization_profiles/get",
57345
+ tags: ["/workspaces"],
57346
+ "x-fern-sdk-group-name": ["workspaces", "customization_profiles"],
57347
+ "x-fern-sdk-method-name": "get",
57348
+ "x-fern-sdk-return-value": "customization_profile",
57349
+ "x-response-key": "customization_profile",
57350
+ "x-title": "Get Customization Profile"
57351
+ },
57352
+ post: {
57353
+ description: "Retrieves the customization profile for the workspace.",
57354
+ operationId: "workspacesCustomizationProfilesGetPost",
57355
+ requestBody: {
57356
+ content: {
57357
+ "application/json": {
57358
+ schema: {
57359
+ properties: {
57360
+ customization_profile_id: { format: "uuid", type: "string" }
57361
+ },
57362
+ required: ["customization_profile_id"],
57363
+ type: "object"
57364
+ }
57365
+ }
57366
+ }
57367
+ },
57368
+ responses: {
57369
+ 200: {
57370
+ content: {
57371
+ "application/json": {
57372
+ schema: {
57373
+ properties: {
57374
+ customization_profile: {
57375
+ properties: {
57376
+ customization_profile_id: {
57377
+ format: "uuid",
57378
+ type: "string"
57379
+ },
57380
+ logo_url: { type: "string" },
57381
+ primary_color: { type: "string" },
57382
+ secondary_color: { type: "string" },
57383
+ workspace_id: { format: "uuid", type: "string" }
57384
+ },
57385
+ required: ["workspace_id", "customization_profile_id"],
57386
+ type: "object"
57387
+ },
57388
+ ok: { type: "boolean" }
57389
+ },
57390
+ required: ["customization_profile", "ok"],
57391
+ type: "object"
57392
+ }
57393
+ }
57394
+ },
57395
+ description: "OK"
57396
+ },
57397
+ 400: { description: "Bad Request" },
57398
+ 401: { description: "Unauthorized" }
57399
+ },
57400
+ security: [{ client_session_with_customer: [] }],
57401
+ summary: "/workspaces/customization_profiles/get",
57402
+ tags: ["/workspaces"],
57403
+ "x-fern-sdk-group-name": ["workspaces", "customization_profiles"],
57404
+ "x-fern-sdk-method-name": "get",
57405
+ "x-fern-sdk-return-value": "customization_profile",
57406
+ "x-response-key": "customization_profile",
57407
+ "x-title": "Get Customization Profile"
57408
+ }
57409
+ },
57410
+ "/workspaces/customization_profiles/list": {
57411
+ get: {
57412
+ description: "Retrieves the customization profile for the workspace.",
57413
+ operationId: "workspacesCustomizationProfilesListGet",
57414
+ responses: {
57415
+ 200: {
57416
+ content: {
57417
+ "application/json": {
57418
+ schema: {
57419
+ properties: {
57420
+ customization_profiles: {
57421
+ items: {
57422
+ properties: {
57423
+ customization_profile_id: {
57424
+ format: "uuid",
57425
+ type: "string"
57426
+ },
57427
+ logo_url: { type: "string" },
57428
+ primary_color: { type: "string" },
57429
+ secondary_color: { type: "string" },
57430
+ workspace_id: { format: "uuid", type: "string" }
57431
+ },
57432
+ required: ["workspace_id", "customization_profile_id"],
57433
+ type: "object"
57434
+ },
57435
+ type: "array"
57436
+ },
57437
+ ok: { type: "boolean" }
57438
+ },
57439
+ required: ["customization_profiles", "ok"],
57440
+ type: "object"
57441
+ }
57442
+ }
57443
+ },
57444
+ description: "OK"
57445
+ },
57446
+ 400: { description: "Bad Request" },
57447
+ 401: { description: "Unauthorized" }
57448
+ },
57449
+ security: [{ client_session_with_customer: [] }],
57450
+ summary: "/workspaces/customization_profiles/list",
57451
+ tags: ["/workspaces"],
57452
+ "x-fern-sdk-group-name": ["workspaces", "customization_profiles"],
57453
+ "x-fern-sdk-method-name": "list",
57454
+ "x-fern-sdk-return-value": "customization_profiles",
57455
+ "x-response-key": "customization_profiles",
57456
+ "x-title": "Get Customization Profile"
57457
+ },
57458
+ post: {
57459
+ description: "Retrieves the customization profile for the workspace.",
57460
+ operationId: "workspacesCustomizationProfilesListPost",
57461
+ responses: {
57462
+ 200: {
57463
+ content: {
57464
+ "application/json": {
57465
+ schema: {
57466
+ properties: {
57467
+ customization_profiles: {
57468
+ items: {
57469
+ properties: {
57470
+ customization_profile_id: {
57471
+ format: "uuid",
57472
+ type: "string"
57473
+ },
57474
+ logo_url: { type: "string" },
57475
+ primary_color: { type: "string" },
57476
+ secondary_color: { type: "string" },
57477
+ workspace_id: { format: "uuid", type: "string" }
57478
+ },
57479
+ required: ["workspace_id", "customization_profile_id"],
57480
+ type: "object"
57481
+ },
57482
+ type: "array"
57483
+ },
57484
+ ok: { type: "boolean" }
57485
+ },
57486
+ required: ["customization_profiles", "ok"],
57487
+ type: "object"
57488
+ }
57489
+ }
57490
+ },
57491
+ description: "OK"
57492
+ },
57493
+ 400: { description: "Bad Request" },
57494
+ 401: { description: "Unauthorized" }
57495
+ },
57496
+ security: [{ client_session_with_customer: [] }],
57497
+ summary: "/workspaces/customization_profiles/list",
57498
+ tags: ["/workspaces"],
57499
+ "x-fern-sdk-group-name": ["workspaces", "customization_profiles"],
57500
+ "x-fern-sdk-method-name": "list",
57501
+ "x-fern-sdk-return-value": "customization_profiles",
57502
+ "x-response-key": "customization_profiles",
57503
+ "x-title": "Get Customization Profile"
57504
+ }
57505
+ },
57506
+ "/workspaces/customization_profiles/update": {
57507
+ patch: {
57508
+ description: "Updates the customization profile for the workspace.",
57509
+ operationId: "workspacesCustomizationProfilesUpdatePatch",
57510
+ requestBody: {
57511
+ content: {
57512
+ "application/json": {
57513
+ schema: {
57514
+ properties: {
57515
+ customization_profile_id: { format: "uuid", type: "string" },
57516
+ primary_color: { type: "string" },
57517
+ secondary_color: { type: "string" }
57518
+ },
57519
+ required: ["customization_profile_id"],
57520
+ type: "object"
57521
+ }
57522
+ }
57523
+ }
57524
+ },
57525
+ responses: {
57526
+ 200: {
57527
+ content: {
57528
+ "application/json": {
57529
+ schema: {
57530
+ properties: { ok: { type: "boolean" } },
57531
+ required: ["ok"],
57532
+ type: "object"
57533
+ }
57534
+ }
57535
+ },
57536
+ description: "OK"
57537
+ },
57538
+ 400: { description: "Bad Request" },
57539
+ 401: { description: "Unauthorized" }
57540
+ },
57541
+ security: [{ client_session_with_customer: [] }],
57542
+ summary: "/workspaces/customization_profiles/update",
57543
+ tags: ["/workspaces"],
57544
+ "x-fern-sdk-group-name": ["workspaces", "customization_profiles"],
57545
+ "x-fern-sdk-method-name": "update",
57546
+ "x-response-key": null,
57547
+ "x-title": "Update Customization Profile"
57548
+ },
57549
+ post: {
57550
+ description: "Updates the customization profile for the workspace.",
57551
+ operationId: "workspacesCustomizationProfilesUpdatePost",
57552
+ requestBody: {
57553
+ content: {
57554
+ "application/json": {
57555
+ schema: {
57556
+ properties: {
57557
+ customization_profile_id: { format: "uuid", type: "string" },
57558
+ primary_color: { type: "string" },
57559
+ secondary_color: { type: "string" }
57560
+ },
57561
+ required: ["customization_profile_id"],
57562
+ type: "object"
57563
+ }
57564
+ }
57565
+ }
57566
+ },
57567
+ responses: {
57568
+ 200: {
57569
+ content: {
57570
+ "application/json": {
57571
+ schema: {
57572
+ properties: { ok: { type: "boolean" } },
57573
+ required: ["ok"],
57574
+ type: "object"
57575
+ }
57576
+ }
57577
+ },
57578
+ description: "OK"
57579
+ },
57580
+ 400: { description: "Bad Request" },
57581
+ 401: { description: "Unauthorized" }
57582
+ },
57583
+ security: [{ client_session_with_customer: [] }],
57584
+ summary: "/workspaces/customization_profiles/update",
57585
+ tags: ["/workspaces"],
57586
+ "x-fern-sdk-group-name": ["workspaces", "customization_profiles"],
57587
+ "x-fern-sdk-method-name": "update",
57588
+ "x-response-key": null,
57589
+ "x-title": "Update Customization Profile"
57590
+ }
57591
+ },
57592
+ "/workspaces/customization_profiles/upload_images": {
57593
+ post: {
57594
+ description: "Uploads a logo for the customization profile.",
57595
+ operationId: "workspacesCustomizationProfilesUploadImagesPost",
57596
+ responses: {
57597
+ 200: {
57598
+ content: {
57599
+ "application/json": {
57600
+ schema: {
57601
+ properties: { ok: { type: "boolean" } },
57602
+ required: ["ok"],
57603
+ type: "object"
57604
+ }
57605
+ }
57606
+ },
57607
+ description: "OK"
57608
+ },
57609
+ 400: { description: "Bad Request" },
57610
+ 401: { description: "Unauthorized" }
57611
+ },
57612
+ security: [{ client_session_with_customer: [] }],
57613
+ summary: "/workspaces/customization_profiles/upload_images",
57614
+ tags: ["/workspaces"],
57615
+ "x-fern-sdk-group-name": ["workspaces", "customization_profiles"],
57616
+ "x-fern-sdk-method-name": "upload_images",
57617
+ "x-response-key": null,
57618
+ "x-title": "Upload Customization Profile Logo",
57619
+ "x-undocumented": "Internal endpoint for customer portals."
57620
+ }
57621
+ },
57231
57622
  "/workspaces/find_resources": {
57232
57623
  get: {
57233
57624
  description: "Search for resources inside a workspace.",