@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.
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- export { AccessCode, AccessCodeError, AccessCodeWarning, AccessGrant, AccessMethod, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, Batch, Bridge, BuildingBlockType, ClientSession, ClimatePreset, ConnectWebview, ConnectedAccount, ConnectedAccountError, ConnectedAccountWarning, CustomMetadata, CustomizationProfile, Device, DeviceError, DeviceProvider, DeviceWarning, InstantKey, MagicLink, NoiseThreshold, Pagination, RouteRequestBody, RouteRequestParams, RouteResponse, Routes, SeamEvent, SeamEventType, Space, ThermostatDailyProgram, ThermostatSchedule, ThermostatWeeklyProgram, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, openapi, routes, schemas } from './connect.cjs';
1
+ export { AccessCode, AccessCodeError, AccessCodeWarning, AccessGrant, AccessMethod, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, Batch, Bridge, ClientSession, ClimatePreset, ConnectWebview, ConnectedAccount, ConnectedAccountError, ConnectedAccountWarning, CustomMetadata, CustomizationProfile, Device, DeviceError, DeviceProvider, DeviceWarning, InstantKey, MagicLink, NoiseThreshold, Pagination, RouteRequestBody, RouteRequestParams, RouteResponse, Routes, SeamEvent, SeamEventType, Space, ThermostatDailyProgram, ThermostatSchedule, ThermostatWeeklyProgram, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, openapi, routes, schemas } from './connect.cjs';
2
2
  import 'zod';
@@ -1 +1 @@
1
- export type { AccessCode, AccessCodeError, AccessCodeWarning, AccessGrant, AccessMethod, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, Batch, Bridge, BuildingBlockType, ClientSession, ClimatePreset, ConnectedAccount, ConnectedAccountError, ConnectedAccountWarning, ConnectWebview, CustomizationProfile, CustomMetadata, Device, DeviceError, DeviceProvider, DeviceWarning, InstantKey, MagicLink, NoiseThreshold, Pagination, SeamEvent, SeamEventType, Space, ThermostatDailyProgram, ThermostatSchedule, ThermostatWeeklyProgram, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, } from './models/index.js';
1
+ export type { AccessCode, AccessCodeError, AccessCodeWarning, AccessGrant, AccessMethod, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, Batch, Bridge, ClientSession, ClimatePreset, ConnectedAccount, ConnectedAccountError, ConnectedAccountWarning, ConnectWebview, CustomizationProfile, CustomMetadata, Device, DeviceError, DeviceProvider, DeviceWarning, InstantKey, MagicLink, NoiseThreshold, Pagination, SeamEvent, SeamEventType, Space, ThermostatDailyProgram, ThermostatSchedule, ThermostatWeeklyProgram, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, } from './models/index.js';
@@ -1,9 +1,6 @@
1
1
  import { z } from 'zod';
2
- export declare const building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces", "console"]>;
3
- export type BuildingBlockType = z.infer<typeof building_block_type>;
4
2
  export declare const magic_link: z.ZodObject<{
5
3
  url: z.ZodString;
6
- building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces", "console"]>;
7
4
  customer_key: z.ZodString;
8
5
  expires_at: z.ZodString;
9
6
  workspace_id: z.ZodString;
@@ -14,13 +11,11 @@ export declare const magic_link: z.ZodObject<{
14
11
  customer_key: string;
15
12
  expires_at: string;
16
13
  url: string;
17
- building_block_type: "manage_devices" | "connect_accounts" | "organize_spaces" | "console";
18
14
  }, {
19
15
  workspace_id: string;
20
16
  created_at: string;
21
17
  customer_key: string;
22
18
  expires_at: string;
23
19
  url: string;
24
- building_block_type: "manage_devices" | "connect_accounts" | "organize_spaces" | "console";
25
20
  }>;
26
21
  export type MagicLink = z.infer<typeof magic_link>;
@@ -1,10 +1,6 @@
1
1
  import { z } from 'zod';
2
- export const building_block_type = z
3
- .enum(['connect_accounts', 'manage_devices', 'organize_spaces', 'console'])
4
- .describe('Type of partner building block.');
5
2
  export const magic_link = z.object({
6
3
  url: z.string().url().describe('URL for the magic link.'),
7
- building_block_type,
8
4
  customer_key: z.string().describe('Customer key for the magic link.'),
9
5
  expires_at: z
10
6
  .string()
@@ -1 +1 @@
1
- {"version":3,"file":"magic-link.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/partner/magic-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,IAAI,CAAC,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,SAAS,CAAC,CAAC;KAC1E,QAAQ,CAAC,iCAAiC,CAAC,CAAA;AAI9C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACzD,mBAAmB;IACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IACrE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,6GAA6G,CAC9G;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,oDAAoD,CAAC;CAClE,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;GAUT,CAAC,CAAA"}
1
+ {"version":3,"file":"magic-link.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/partner/magic-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACzD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IACrE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,6GAA6G,CAC9G;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,oDAAoD,CAAC;CAClE,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;GAUT,CAAC,CAAA"}
@@ -11530,11 +11530,6 @@ declare const _default: {
11530
11530
  magic_link: {
11531
11531
  description: string;
11532
11532
  properties: {
11533
- building_block_type: {
11534
- description: string;
11535
- enum: string[];
11536
- type: string;
11537
- };
11538
11533
  created_at: {
11539
11534
  description: string;
11540
11535
  format: string;
@@ -17689,16 +17689,6 @@ export default {
17689
17689
  magic_link: {
17690
17690
  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—either 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.",
17691
17691
  properties: {
17692
- building_block_type: {
17693
- description: 'Type of partner building block.',
17694
- enum: [
17695
- 'connect_accounts',
17696
- 'manage_devices',
17697
- 'organize_spaces',
17698
- 'console',
17699
- ],
17700
- type: 'string',
17701
- },
17702
17692
  created_at: {
17703
17693
  description: 'Date and time at which the magic link was created.',
17704
17694
  format: 'date-time',
@@ -17726,7 +17716,6 @@ export default {
17726
17716
  },
17727
17717
  required: [
17728
17718
  'url',
17729
- 'building_block_type',
17730
17719
  'customer_key',
17731
17720
  'expires_at',
17732
17721
  'workspace_id',