@seamapi/types 1.285.0 → 1.286.1

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;
@@ -18815,6 +18854,7 @@ declare const _default: {
18815
18854
  'x-fern-sdk-method-name': string;
18816
18855
  'x-fern-sdk-return-value': string;
18817
18856
  'x-response-key': string;
18857
+ 'x-undocumented': string;
18818
18858
  };
18819
18859
  };
18820
18860
  '/acs/access_groups/unmanaged/list': {
@@ -18945,6 +18985,7 @@ declare const _default: {
18945
18985
  'x-fern-sdk-method-name': string;
18946
18986
  'x-fern-sdk-return-value': string;
18947
18987
  'x-response-key': string;
18988
+ 'x-undocumented': string;
18948
18989
  };
18949
18990
  };
18950
18991
  '/acs/credential_pools/list': {
@@ -20138,6 +20179,7 @@ declare const _default: {
20138
20179
  'x-fern-sdk-return-value': string;
20139
20180
  'x-response-key': string;
20140
20181
  'x-title': string;
20182
+ 'x-undocumented': string;
20141
20183
  };
20142
20184
  };
20143
20185
  '/acs/credentials/unmanaged/list': {
@@ -20428,6 +20470,7 @@ declare const _default: {
20428
20470
  'x-fern-sdk-return-value': string;
20429
20471
  'x-response-key': string;
20430
20472
  'x-title': string;
20473
+ 'x-undocumented': string;
20431
20474
  };
20432
20475
  };
20433
20476
  '/acs/credentials/update': {
@@ -57582,4 +57625,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
57582
57625
 
57583
57626
  declare const routes: {};
57584
57627
 
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 };
57628
+ 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"}
@@ -7280,6 +7280,7 @@ declare const _default: {
7280
7280
  'x-fern-sdk-method-name': string;
7281
7281
  'x-fern-sdk-return-value': string;
7282
7282
  'x-response-key': string;
7283
+ 'x-undocumented': string;
7283
7284
  };
7284
7285
  };
7285
7286
  '/acs/access_groups/unmanaged/list': {
@@ -7410,6 +7411,7 @@ declare const _default: {
7410
7411
  'x-fern-sdk-method-name': string;
7411
7412
  'x-fern-sdk-return-value': string;
7412
7413
  'x-response-key': string;
7414
+ 'x-undocumented': string;
7413
7415
  };
7414
7416
  };
7415
7417
  '/acs/credential_pools/list': {
@@ -8603,6 +8605,7 @@ declare const _default: {
8603
8605
  'x-fern-sdk-return-value': string;
8604
8606
  'x-response-key': string;
8605
8607
  'x-title': string;
8608
+ 'x-undocumented': string;
8606
8609
  };
8607
8610
  };
8608
8611
  '/acs/credentials/unmanaged/list': {
@@ -8893,6 +8896,7 @@ declare const _default: {
8893
8896
  'x-fern-sdk-return-value': string;
8894
8897
  'x-response-key': string;
8895
8898
  'x-title': string;
8899
+ 'x-undocumented': string;
8896
8900
  };
8897
8901
  };
8898
8902
  '/acs/credentials/update': {
@@ -7352,6 +7352,7 @@ export default {
7352
7352
  'x-fern-sdk-method-name': 'get',
7353
7353
  'x-fern-sdk-return-value': 'acs_access_group',
7354
7354
  'x-response-key': 'acs_access_group',
7355
+ 'x-undocumented': 'No unmanaged access groups are currently implemented.',
7355
7356
  },
7356
7357
  },
7357
7358
  '/acs/access_groups/unmanaged/list': {
@@ -7485,6 +7486,7 @@ export default {
7485
7486
  'x-fern-sdk-method-name': 'list',
7486
7487
  'x-fern-sdk-return-value': 'acs_access_groups',
7487
7488
  'x-response-key': 'acs_access_groups',
7489
+ 'x-undocumented': 'No unmanaged access groups are currently implemented.',
7488
7490
  },
7489
7491
  },
7490
7492
  '/acs/credential_pools/list': {
@@ -8460,6 +8462,7 @@ export default {
8460
8462
  'x-fern-sdk-return-value': 'acs_credential',
8461
8463
  'x-response-key': 'acs_credential',
8462
8464
  'x-title': 'Get an Unmanaged Credential',
8465
+ 'x-undocumented': 'No unmanaged credentials are currently implemented.',
8463
8466
  },
8464
8467
  },
8465
8468
  '/acs/credentials/unmanaged/list': {
@@ -8717,6 +8720,7 @@ export default {
8717
8720
  'x-fern-sdk-return-value': 'acs_credentials',
8718
8721
  'x-response-key': 'acs_credentials',
8719
8722
  'x-title': 'List Unmanaged Credentials',
8723
+ 'x-undocumented': 'No unmanaged credentials are currently implemented.',
8720
8724
  },
8721
8725
  },
8722
8726
  '/acs/credentials/update': {