Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/lib/seam/connect/models/customer/customer-portal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ const base_configure_feature = base_feature.extend({
.uuid()
.optional()
.describe('The ID of the customization profile to use for the portal.'),
allow_automatic_management_of_new_devices: z
.boolean()
.default(false)
.describe(
'Indicates whether the customer can automatically manage new devices for their properties.',
),
allow_access_automation_rule_customization: z
.boolean()
.default(false)
Expand Down Expand Up @@ -117,6 +123,7 @@ export const portal_configuration = portal_configuration_base
exclude: false,
allow_instant_key_customization: false, // default
allow_access_automation_rule_customization: false, // default
allow_automatic_management_of_new_devices: false, // default
},
},
is_embedded: false,
Expand Down
22 changes: 21 additions & 1 deletion src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39833,7 +39833,6 @@ export default {
type: 'array',
},
automatically_manage_new_devices: {
default: true,
description:
'Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). See also: [Customize the Behavior Settings of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-behavior-settings-of-your-connect-webviews).',
type: 'boolean',
Expand Down Expand Up @@ -41063,6 +41062,7 @@ export default {
features: {
configure: {
allow_access_automation_rule_customization: false,
allow_automatic_management_of_new_devices: false,
allow_instant_key_customization: false,
exclude: false,
},
Expand Down Expand Up @@ -41093,6 +41093,12 @@ export default {
'Indicates whether the customer can customize the access automation rules for their properties.',
type: 'boolean',
},
allow_automatic_management_of_new_devices: {
default: false,
description:
'Indicates whether the customer can automatically manage new devices for their properties.',
type: 'boolean',
},
allow_instant_key_customization: {
default: false,
description:
Expand Down Expand Up @@ -45388,6 +45394,7 @@ export default {
{ api_key: [] },
{ pat_with_workspace: [] },
{ console_session_with_workspace: [] },
{ client_session_with_customer: [] },
],
summary: '/devices/unmanaged/list',
tags: ['/devices'],
Expand Down Expand Up @@ -45764,6 +45771,7 @@ export default {
{ api_key: [] },
{ pat_with_workspace: [] },
{ console_session_with_workspace: [] },
{ client_session_with_customer: [] },
],
summary: '/devices/unmanaged/list',
tags: ['/devices'],
Expand Down Expand Up @@ -53923,6 +53931,12 @@ export default {
'Indicates whether the customer can customize the access automation rules for their properties.',
type: 'boolean',
},
allow_automatic_management_of_new_devices: {
default: false,
description:
'Indicates whether the customer can automatically manage new devices for their properties.',
type: 'boolean',
},
allow_instant_key_customization: {
default: false,
description:
Expand Down Expand Up @@ -54235,6 +54249,12 @@ export default {
'Indicates whether the customer can customize the access automation rules for their properties.',
type: 'boolean',
},
allow_automatic_management_of_new_devices: {
default: false,
description:
'Indicates whether the customer can automatically manage new devices for their properties.',
type: 'boolean',
},
allow_instant_key_customization: {
default: false,
description:
Expand Down
6 changes: 5 additions & 1 deletion src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29655,7 +29655,7 @@ export type Routes = {
}
| undefined
/** Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). See also: [Customize the Behavior Settings of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-behavior-settings-of-your-connect-webviews). */
automatically_manage_new_devices?: boolean
automatically_manage_new_devices?: boolean | undefined
/** Indicates whether Seam should finish syncing all devices in a newly-connected account before completing the associated Connect Webview. See also: [Customize the Behavior Settings of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-behavior-settings-of-your-connect-webviews). */
wait_for_device_creation?: boolean
/** List of accepted device capabilities that restrict the types of devices that can be connected through the Connect Webview. If not provided, defaults will be determined based on the accepted providers. */
Expand Down Expand Up @@ -30497,6 +30497,8 @@ export type Routes = {
exclude?: boolean
/** The ID of the customization profile to use for the portal. */
customization_profile_id?: string | undefined
/** Indicates whether the customer can automatically manage new devices for their properties. */
allow_automatic_management_of_new_devices?: boolean
/** Indicates whether the customer can customize the access automation rules for their properties. */
allow_access_automation_rule_customization?: boolean
/** Indicates whether the customer can customize the Instant Key profile for their properties. */
Expand Down Expand Up @@ -64438,6 +64440,8 @@ export type Routes = {
exclude?: boolean
/** The ID of the customization profile to use for the portal. */
customization_profile_id?: string | undefined
/** Indicates whether the customer can automatically manage new devices for their properties. */
allow_automatic_management_of_new_devices?: boolean
/** Indicates whether the customer can customize the access automation rules for their properties. */
allow_access_automation_rule_customization?: boolean
/** Indicates whether the customer can customize the Instant Key profile for their properties. */
Expand Down