@seamapi/types 1.640.0 → 1.641.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
@@ -4196,6 +4196,20 @@ var connect_webview = zod.z.object({
4196
4196
 
4197
4197
  To list all providers within a category, use \`/devices/list_device_providers\` with the desired \`provider_category\` filter. To list all provider keys, use \`/devices/list_device_providers\` with no filters.
4198
4198
  `);
4199
+ var hex_color_code = zod.z.string().refine((value) => {
4200
+ if (value != null) {
4201
+ return /^#[\da-fa-z]{3,6}$/i.test(value);
4202
+ }
4203
+ return true;
4204
+ }, "Must be a hex color");
4205
+
4206
+ // src/lib/seam/connect/models/customization-profiles/customization-profile.ts
4207
+ var customer_portal_theme = zod.z.object({
4208
+ primary_color: hex_color_code.optional(),
4209
+ primary_foreground_color: hex_color_code.optional(),
4210
+ secondary_color: hex_color_code.optional(),
4211
+ secondary_foreground_color: hex_color_code.optional()
4212
+ });
4199
4213
  var customization_profile = zod.z.object({
4200
4214
  workspace_id: zod.z.string().uuid(),
4201
4215
  name: zod.z.string().nullable(),
@@ -4203,7 +4217,8 @@ var customization_profile = zod.z.object({
4203
4217
  created_at: zod.z.string().datetime(),
4204
4218
  logo_url: zod.z.string().url().optional(),
4205
4219
  primary_color: zod.z.string().optional(),
4206
- secondary_color: zod.z.string().optional()
4220
+ secondary_color: zod.z.string().optional(),
4221
+ customer_portal_theme: customer_portal_theme.optional()
4207
4222
  }).describe(`
4208
4223
  ---
4209
4224
  title: Customization Profile
@@ -5520,14 +5535,6 @@ user_identity.omit({
5520
5535
  ---
5521
5536
  Represents an unmanaged user identity. Unmanaged user identities do not have keys.
5522
5537
  `);
5523
- var hex_color_code = zod.z.string().refine((value) => {
5524
- if (value != null) {
5525
- return /^#[\da-fa-z]{3,6}$/i.test(value);
5526
- }
5527
- return true;
5528
- }, "Must be a hex color");
5529
-
5530
- // src/lib/seam/connect/models/workspaces/workspace.ts
5531
5538
  var workspace = zod.z.object({
5532
5539
  workspace_id: zod.z.string().uuid().describe(
5533
5540
  "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces)."
@@ -14194,6 +14201,15 @@ var openapi_default = {
14194
14201
  description: "A customization profile.",
14195
14202
  properties: {
14196
14203
  created_at: { format: "date-time", type: "string" },
14204
+ customer_portal_theme: {
14205
+ properties: {
14206
+ primary_color: { type: "string" },
14207
+ primary_foreground_color: { type: "string" },
14208
+ secondary_color: { type: "string" },
14209
+ secondary_foreground_color: { type: "string" }
14210
+ },
14211
+ type: "object"
14212
+ },
14197
14213
  customization_profile_id: { format: "uuid", type: "string" },
14198
14214
  logo_url: { format: "uri", type: "string" },
14199
14215
  name: { nullable: true, type: "string" },
@@ -43490,6 +43506,11 @@ var openapi_default = {
43490
43506
  description: "Indicates whether the customer can customize the Instant Key profile for their properties.",
43491
43507
  type: "boolean"
43492
43508
  },
43509
+ customization_profile_id: {
43510
+ description: "The ID of the customization profile to use for the portal.",
43511
+ format: "uuid",
43512
+ type: "string"
43513
+ },
43493
43514
  exclude: {
43494
43515
  default: false,
43495
43516
  description: "Whether to exclude this feature from the portal.",
@@ -55561,6 +55582,11 @@ var openapi_default = {
55561
55582
  description: "Indicates whether the customer can customize the Instant Key profile for their properties.",
55562
55583
  type: "boolean"
55563
55584
  },
55585
+ customization_profile_id: {
55586
+ description: "The ID of the customization profile to use for the portal.",
55587
+ format: "uuid",
55588
+ type: "string"
55589
+ },
55564
55590
  exclude: {
55565
55591
  default: false,
55566
55592
  description: "Whether to exclude this feature from the portal.",
@@ -55847,6 +55873,11 @@ var openapi_default = {
55847
55873
  description: "Indicates whether the customer can customize the Instant Key profile for their properties.",
55848
55874
  type: "boolean"
55849
55875
  },
55876
+ customization_profile_id: {
55877
+ description: "The ID of the customization profile to use for the portal.",
55878
+ format: "uuid",
55879
+ type: "string"
55880
+ },
55850
55881
  exclude: {
55851
55882
  default: false,
55852
55883
  description: "Whether to exclude this feature from the portal.",
@@ -66197,11 +66228,19 @@ var openapi_default = {
66197
66228
  "application/json": {
66198
66229
  schema: {
66199
66230
  properties: {
66231
+ customer_portal_theme: {
66232
+ properties: {
66233
+ primary_color: { type: "string" },
66234
+ primary_foreground_color: { type: "string" },
66235
+ secondary_color: { type: "string" },
66236
+ secondary_foreground_color: { type: "string" }
66237
+ },
66238
+ type: "object"
66239
+ },
66200
66240
  name: { default: null, nullable: true, type: "string" },
66201
66241
  primary_color: { type: "string" },
66202
66242
  secondary_color: { type: "string" }
66203
66243
  },
66204
- required: ["primary_color", "secondary_color"],
66205
66244
  type: "object"
66206
66245
  }
66207
66246
  }
@@ -66465,6 +66504,16 @@ var openapi_default = {
66465
66504
  "application/json": {
66466
66505
  schema: {
66467
66506
  properties: {
66507
+ customer_portal_theme: {
66508
+ nullable: true,
66509
+ properties: {
66510
+ primary_color: { type: "string" },
66511
+ primary_foreground_color: { type: "string" },
66512
+ secondary_color: { type: "string" },
66513
+ secondary_foreground_color: { type: "string" }
66514
+ },
66515
+ type: "object"
66516
+ },
66468
66517
  customization_profile_id: { format: "uuid", type: "string" },
66469
66518
  name: { nullable: true, type: "string" },
66470
66519
  primary_color: { type: "string" },
@@ -66514,6 +66563,16 @@ var openapi_default = {
66514
66563
  "application/json": {
66515
66564
  schema: {
66516
66565
  properties: {
66566
+ customer_portal_theme: {
66567
+ nullable: true,
66568
+ properties: {
66569
+ primary_color: { type: "string" },
66570
+ primary_foreground_color: { type: "string" },
66571
+ secondary_color: { type: "string" },
66572
+ secondary_foreground_color: { type: "string" }
66573
+ },
66574
+ type: "object"
66575
+ },
66517
66576
  customization_profile_id: { format: "uuid", type: "string" },
66518
66577
  name: { nullable: true, type: "string" },
66519
66578
  primary_color: { type: "string" },