@seamapi/types 1.639.0 → 1.640.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.
@@ -51521,11 +51521,8 @@ declare const pagination: z.ZodObject<{
51521
51521
  }>;
51522
51522
  type Pagination = z.infer<typeof pagination>;
51523
51523
 
51524
- declare const building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces", "console"]>;
51525
- type BuildingBlockType = z.infer<typeof building_block_type>;
51526
51524
  declare const magic_link: z.ZodObject<{
51527
51525
  url: z.ZodString;
51528
- building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces", "console"]>;
51529
51526
  customer_key: z.ZodString;
51530
51527
  expires_at: z.ZodString;
51531
51528
  workspace_id: z.ZodString;
@@ -51536,14 +51533,12 @@ declare const magic_link: z.ZodObject<{
51536
51533
  customer_key: string;
51537
51534
  expires_at: string;
51538
51535
  url: string;
51539
- building_block_type: "manage_devices" | "connect_accounts" | "organize_spaces" | "console";
51540
51536
  }, {
51541
51537
  workspace_id: string;
51542
51538
  created_at: string;
51543
51539
  customer_key: string;
51544
51540
  expires_at: string;
51545
51541
  url: string;
51546
- building_block_type: "manage_devices" | "connect_accounts" | "organize_spaces" | "console";
51547
51542
  }>;
51548
51543
  type MagicLink = z.infer<typeof magic_link>;
51549
51544
 
@@ -51980,7 +51975,6 @@ declare const schemas_action_attempt: typeof action_attempt;
51980
51975
  declare const schemas_batch: typeof batch;
51981
51976
  declare const schemas_bridge: typeof bridge;
51982
51977
  declare const schemas_bridge_client_session: typeof bridge_client_session;
51983
- declare const schemas_building_block_type: typeof building_block_type;
51984
51978
  declare const schemas_client_session: typeof client_session;
51985
51979
  declare const schemas_common_failed_action_attempt: typeof common_failed_action_attempt;
51986
51980
  declare const schemas_common_pending_action_attempt: typeof common_pending_action_attempt;
@@ -52009,7 +52003,7 @@ declare const schemas_user_identity: typeof user_identity;
52009
52003
  declare const schemas_webhook: typeof webhook;
52010
52004
  declare const schemas_workspace: typeof workspace;
52011
52005
  declare namespace schemas {
52012
- export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_building_block_type as building_block_type, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_customization_profile as customization_profile, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_staff_member_resource as staff_member_resource, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
52006
+ export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_customization_profile as customization_profile, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_staff_member_resource as staff_member_resource, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
52013
52007
  }
52014
52008
 
52015
52009
  declare const _default: {
@@ -63544,11 +63538,6 @@ declare const _default: {
63544
63538
  magic_link: {
63545
63539
  description: string;
63546
63540
  properties: {
63547
- building_block_type: {
63548
- description: string;
63549
- enum: string[];
63550
- type: string;
63551
- };
63552
63541
  created_at: {
63553
63542
  description: string;
63554
63543
  format: string;
@@ -189419,8 +189408,6 @@ type Routes = {
189419
189408
  magic_link: {
189420
189409
  /** URL for the magic link. */
189421
189410
  url: string;
189422
- /** Type of partner building block. */
189423
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
189424
189411
  /** Customer key for the magic link. */
189425
189412
  customer_key: string;
189426
189413
  /** Date and time at which the magic link expires. */
@@ -189460,8 +189447,6 @@ type Routes = {
189460
189447
  magic_link: {
189461
189448
  /** URL for the magic link. */
189462
189449
  url: string;
189463
- /** Type of partner building block. */
189464
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
189465
189450
  /** Customer key for the magic link. */
189466
189451
  customer_key: string;
189467
189452
  /** Date and time at which the magic link expires. */
@@ -189492,8 +189477,6 @@ type Routes = {
189492
189477
  magic_link: {
189493
189478
  /** URL for the magic link. */
189494
189479
  url: string;
189495
- /** Type of partner building block. */
189496
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
189497
189480
  /** Customer key for the magic link. */
189498
189481
  customer_key: string;
189499
189482
  /** Date and time at which the magic link expires. */
@@ -189531,8 +189514,6 @@ type Routes = {
189531
189514
  magic_link: {
189532
189515
  /** URL for the magic link. */
189533
189516
  url: string;
189534
- /** Type of partner building block. */
189535
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
189536
189517
  /** Customer key for the magic link. */
189537
189518
  customer_key: string;
189538
189519
  /** Date and time at which the magic link expires. */
@@ -201772,4 +201753,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
201772
201753
 
201773
201754
  declare const routes: {};
201774
201755
 
201775
- export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AccessGrant, type AccessMethod, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type Batch, type Bridge, type BuildingBlockType, type ClientSession, type ClimatePreset, type ConnectWebview, type ConnectedAccount, type ConnectedAccountError, type ConnectedAccountWarning, type CustomMetadata, type CustomizationProfile, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type InstantKey, type MagicLink, type NoiseThreshold, type Pagination, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type Space, type ThermostatDailyProgram, type ThermostatSchedule, type ThermostatWeeklyProgram, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
201756
+ export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AccessGrant, type AccessMethod, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type Batch, type Bridge, type ClientSession, type ClimatePreset, type ConnectWebview, type ConnectedAccount, type ConnectedAccountError, type ConnectedAccountWarning, type CustomMetadata, type CustomizationProfile, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type InstantKey, type MagicLink, type NoiseThreshold, type Pagination, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type Space, type ThermostatDailyProgram, type ThermostatSchedule, type ThermostatWeeklyProgram, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
package/dist/index.cjs CHANGED
@@ -22,7 +22,6 @@ __export(schemas_exports, {
22
22
  batch: () => batch,
23
23
  bridge: () => bridge,
24
24
  bridge_client_session: () => bridge_client_session,
25
- building_block_type: () => building_block_type,
26
25
  client_session: () => client_session,
27
26
  common_failed_action_attempt: () => common_failed_action_attempt,
28
27
  common_pending_action_attempt: () => common_pending_action_attempt,
@@ -5846,10 +5845,8 @@ var pagination = zod.z.object({
5846
5845
  ),
5847
5846
  next_page_url: zod.z.string().url().nullable().describe("URL to get the next page of results.")
5848
5847
  }).describe("Information about the current page of results.");
5849
- var building_block_type = zod.z.enum(["connect_accounts", "manage_devices", "organize_spaces", "console"]).describe("Type of partner building block.");
5850
5848
  var magic_link = zod.z.object({
5851
5849
  url: zod.z.string().url().describe("URL for the magic link."),
5852
- building_block_type,
5853
5850
  customer_key: zod.z.string().describe("Customer key for the magic link."),
5854
5851
  expires_at: zod.z.string().datetime().describe("Date and time at which the magic link expires."),
5855
5852
  workspace_id: zod.z.string().uuid().describe(
@@ -23579,16 +23576,6 @@ var openapi_default = {
23579
23576
  magic_link: {
23580
23577
  description: "Represents a Customer Portal. Customer Portal is a hosted, customizable interface for managing device access. It enables you to embed secure, pre-authenticated access flows into your product\u2014either by sharing a link with users or embedding a view in an iframe.\n\nWith Customer Portal, you no longer need to build out frontend experiences for physical access, thermostats, and sensors. Instead, you can ship enterprise-grade access control experiences in a fraction of the time, while maintaining your product's branding and user experience.\n\nSeam hosts these flows, handling everything from account connection and device mapping to full-featured device control.",
23581
23578
  properties: {
23582
- building_block_type: {
23583
- description: "Type of partner building block.",
23584
- enum: [
23585
- "connect_accounts",
23586
- "manage_devices",
23587
- "organize_spaces",
23588
- "console"
23589
- ],
23590
- type: "string"
23591
- },
23592
23579
  created_at: {
23593
23580
  description: "Date and time at which the magic link was created.",
23594
23581
  format: "date-time",
@@ -23616,7 +23603,6 @@ var openapi_default = {
23616
23603
  },
23617
23604
  required: [
23618
23605
  "url",
23619
- "building_block_type",
23620
23606
  "customer_key",
23621
23607
  "expires_at",
23622
23608
  "workspace_id",