@seamapi/types 1.638.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/connect.cjs +2 -16
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2 -21
- package/dist/index.cjs +2 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/partner/magic-link.d.ts +0 -5
- package/lib/seam/connect/models/partner/magic-link.js +0 -4
- package/lib/seam/connect/models/partner/magic-link.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +0 -5
- package/lib/seam/connect/openapi.js +2 -13
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -8
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +0 -1
- package/src/lib/seam/connect/model-types.ts +0 -1
- package/src/lib/seam/connect/models/partner/magic-link.ts +0 -7
- package/src/lib/seam/connect/openapi.ts +2 -13
- package/src/lib/seam/connect/route-types.ts +0 -24
- package/src/lib/seam/connect/schemas.ts +0 -1
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,
|
|
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,
|
|
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,
|
|
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',
|
|
@@ -33367,7 +33356,7 @@ export default {
|
|
|
33367
33356
|
},
|
|
33368
33357
|
'/acs/systems/report_devices': {
|
|
33369
33358
|
post: {
|
|
33370
|
-
description: 'Reports ACS system
|
|
33359
|
+
description: 'Reports ACS system device status including encoders and entrances.',
|
|
33371
33360
|
operationId: 'acsSystemsReportDevicesPost',
|
|
33372
33361
|
requestBody: {
|
|
33373
33362
|
content: {
|
|
@@ -33473,7 +33462,7 @@ export default {
|
|
|
33473
33462
|
'x-fern-sdk-group-name': ['acs', 'systems'],
|
|
33474
33463
|
'x-fern-sdk-method-name': 'report_devices',
|
|
33475
33464
|
'x-response-key': null,
|
|
33476
|
-
'x-title': 'Report
|
|
33465
|
+
'x-title': 'Report Devices',
|
|
33477
33466
|
},
|
|
33478
33467
|
},
|
|
33479
33468
|
'/acs/users/add_to_access_group': {
|