@seamapi/types 1.285.0 → 1.286.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.
@@ -692,6 +692,45 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
692
692
  }>;
693
693
  type AcsCredential = z.output<typeof acs_credential>;
694
694
 
695
+ declare const acs_encoder: z.ZodObject<{
696
+ acs_encoder_id: z.ZodString;
697
+ acs_system_id: z.ZodString;
698
+ workspace_id: z.ZodString;
699
+ errors: z.ZodArray<z.ZodObject<{
700
+ error_code: z.ZodString;
701
+ message: z.ZodString;
702
+ }, "strip", z.ZodTypeAny, {
703
+ message: string;
704
+ error_code: string;
705
+ }, {
706
+ message: string;
707
+ error_code: string;
708
+ }>, "many">;
709
+ created_at: z.ZodString;
710
+ display_name: z.ZodString;
711
+ }, "strip", z.ZodTypeAny, {
712
+ created_at: string;
713
+ errors: {
714
+ message: string;
715
+ error_code: string;
716
+ }[];
717
+ display_name: string;
718
+ workspace_id: string;
719
+ acs_system_id: string;
720
+ acs_encoder_id: string;
721
+ }, {
722
+ created_at: string;
723
+ errors: {
724
+ message: string;
725
+ error_code: string;
726
+ }[];
727
+ display_name: string;
728
+ workspace_id: string;
729
+ acs_system_id: string;
730
+ acs_encoder_id: string;
731
+ }>;
732
+ type AcsEncoder = z.infer<typeof acs_encoder>;
733
+
695
734
  declare const acs_entrance: z.ZodObject<{
696
735
  acs_system_id: z.ZodString;
697
736
  acs_entrance_id: z.ZodString;
@@ -57582,4 +57621,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
57582
57621
 
57583
57622
  declare const routes: {};
57584
57623
 
57585
- export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AcsAccessGroup, type AcsCredential, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type ClientSession, type ConnectWebview, type ConnectedAccount, type ConnectedAccountError, type ConnectedAccountWarning, type CustomMetadata, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type NoiseThreshold, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type ThermostatSchedule, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
57624
+ export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type ClientSession, type ConnectWebview, type ConnectedAccount, type ConnectedAccountError, type ConnectedAccountWarning, type CustomMetadata, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type NoiseThreshold, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type ThermostatSchedule, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
@@ -1 +1 @@
1
- export type { AccessCode, AccessCodeError, AccessCodeWarning, AcsAccessGroup, AcsCredential, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, ClientSession, ConnectedAccount, ConnectedAccountError, ConnectedAccountWarning, ConnectWebview, CustomMetadata, Device, DeviceError, DeviceProvider, DeviceWarning, NoiseThreshold, SeamEvent, SeamEventType, ThermostatSchedule, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, } from './models/index.js';
1
+ export type { AccessCode, AccessCodeError, AccessCodeWarning, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, ClientSession, ConnectedAccount, ConnectedAccountError, ConnectedAccountWarning, ConnectWebview, CustomMetadata, Device, DeviceError, DeviceProvider, DeviceWarning, NoiseThreshold, SeamEvent, SeamEventType, ThermostatSchedule, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, } from './models/index.js';
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ export declare const acs_encoder: z.ZodObject<{
3
+ acs_encoder_id: z.ZodString;
4
+ acs_system_id: z.ZodString;
5
+ workspace_id: z.ZodString;
6
+ errors: z.ZodArray<z.ZodObject<{
7
+ error_code: z.ZodString;
8
+ message: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ message: string;
11
+ error_code: string;
12
+ }, {
13
+ message: string;
14
+ error_code: string;
15
+ }>, "many">;
16
+ created_at: z.ZodString;
17
+ display_name: z.ZodString;
18
+ }, "strip", z.ZodTypeAny, {
19
+ created_at: string;
20
+ errors: {
21
+ message: string;
22
+ error_code: string;
23
+ }[];
24
+ display_name: string;
25
+ workspace_id: string;
26
+ acs_system_id: string;
27
+ acs_encoder_id: string;
28
+ }, {
29
+ created_at: string;
30
+ errors: {
31
+ message: string;
32
+ error_code: string;
33
+ }[];
34
+ display_name: string;
35
+ workspace_id: string;
36
+ acs_system_id: string;
37
+ acs_encoder_id: string;
38
+ }>;
39
+ export type AcsEncoder = z.infer<typeof acs_encoder>;
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ export const acs_encoder = z.object({
3
+ acs_encoder_id: z.string().uuid().describe('ID of the `acs_encoder`.'),
4
+ acs_system_id: z
5
+ .string()
6
+ .uuid()
7
+ .describe('ID of the access control system that contains the `acs_encoder`.'),
8
+ workspace_id: z
9
+ .string()
10
+ .uuid()
11
+ .describe('ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`.'),
12
+ errors: z.array(z.object({
13
+ error_code: z.string(),
14
+ message: z.string(),
15
+ })),
16
+ created_at: z
17
+ .string()
18
+ .datetime()
19
+ .describe('Date and time at which the `acs_encoder` was created.'),
20
+ display_name: z.string().describe('Display name for the `acs_encoder`.'),
21
+ });
22
+ //# sourceMappingURL=acs-encoder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acs-encoder.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-encoder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACtE,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,kEAAkE,CACnE;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,6GAA6G,CAC9G;IACH,MAAM,EAAE,CAAC,CAAC,KAAK,CACb,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;IACD,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qCAAqC,CAAC;CACzE,CAAC,CAAA"}
@@ -2,6 +2,7 @@ export * from './acs-access-group.js';
2
2
  export * from './acs-credential.js';
3
3
  export * from './acs-credential-pool.js';
4
4
  export * from './acs-credential-provisioning-automation.js';
5
+ export * from './acs-encoder.js';
5
6
  export * from './acs-entrance.js';
6
7
  export * from './acs-system.js';
7
8
  export * from './acs-user.js';
@@ -2,6 +2,7 @@ export * from './acs-access-group.js';
2
2
  export * from './acs-credential.js';
3
3
  export * from './acs-credential-pool.js';
4
4
  export * from './acs-credential-provisioning-automation.js';
5
+ export * from './acs-encoder.js';
5
6
  export * from './acs-entrance.js';
6
7
  export * from './acs-system.js';
7
8
  export * from './acs-user.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,6CAA6C,CAAA;AAC3D,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,6CAA6C,CAAA;AAC3D,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,qBAAqB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.285.0",
3
+ "version": "1.286.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -4,6 +4,7 @@ export type {
4
4
  AccessCodeWarning,
5
5
  AcsAccessGroup,
6
6
  AcsCredential,
7
+ AcsEncoder,
7
8
  AcsEntrance,
8
9
  AcsSystem,
9
10
  AcsUser,
@@ -0,0 +1,30 @@
1
+ import { z } from 'zod'
2
+
3
+ export const acs_encoder = z.object({
4
+ acs_encoder_id: z.string().uuid().describe('ID of the `acs_encoder`.'),
5
+ acs_system_id: z
6
+ .string()
7
+ .uuid()
8
+ .describe(
9
+ 'ID of the access control system that contains the `acs_encoder`.',
10
+ ),
11
+ workspace_id: z
12
+ .string()
13
+ .uuid()
14
+ .describe(
15
+ 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`.',
16
+ ),
17
+ errors: z.array(
18
+ z.object({
19
+ error_code: z.string(),
20
+ message: z.string(),
21
+ }),
22
+ ),
23
+ created_at: z
24
+ .string()
25
+ .datetime()
26
+ .describe('Date and time at which the `acs_encoder` was created.'),
27
+ display_name: z.string().describe('Display name for the `acs_encoder`.'),
28
+ })
29
+
30
+ export type AcsEncoder = z.infer<typeof acs_encoder>
@@ -2,6 +2,7 @@ export * from './acs-access-group.js'
2
2
  export * from './acs-credential.js'
3
3
  export * from './acs-credential-pool.js'
4
4
  export * from './acs-credential-provisioning-automation.js'
5
+ export * from './acs-encoder.js'
5
6
  export * from './acs-entrance.js'
6
7
  export * from './acs-system.js'
7
8
  export * from './acs-user.js'