@seamapi/types 1.284.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.
- package/dist/connect.cjs +23 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +135 -5
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +39 -0
- package/lib/seam/connect/models/acs/acs-encoder.js +22 -0
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -0
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +37 -4
- package/lib/seam/connect/models/acs/acs-entrance.js +2 -1
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/index.js +1 -0
- package/lib/seam/connect/models/acs/index.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.d.ts +21 -0
- package/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.js +9 -0
- package/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.js.map +1 -0
- package/lib/seam/connect/models/acs/metadata/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/latch.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +23 -0
- package/lib/seam/connect/openapi.js +14 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +35 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/model-types.ts +1 -0
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +30 -0
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +3 -0
- package/src/lib/seam/connect/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.ts +13 -0
- package/src/lib/seam/connect/models/acs/metadata/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +14 -0
- package/src/lib/seam/connect/route-types.ts +65 -0
package/dist/connect.d.cts
CHANGED
|
@@ -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;
|
|
@@ -715,13 +754,13 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
715
754
|
}, "strip", z.ZodTypeAny, {
|
|
716
755
|
door_name: string;
|
|
717
756
|
is_connected: boolean;
|
|
718
|
-
accessibility_type: string;
|
|
719
757
|
door_type: string;
|
|
758
|
+
accessibility_type: string;
|
|
720
759
|
}, {
|
|
721
760
|
door_name: string;
|
|
722
761
|
is_connected: boolean;
|
|
723
|
-
accessibility_type: string;
|
|
724
762
|
door_type: string;
|
|
763
|
+
accessibility_type: string;
|
|
725
764
|
}>>;
|
|
726
765
|
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
727
766
|
door_name: z.ZodString;
|
|
@@ -786,6 +825,25 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
786
825
|
}, {
|
|
787
826
|
access_point_name: string;
|
|
788
827
|
}>>;
|
|
828
|
+
assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
|
|
829
|
+
door_type: z.ZodEnum<["CommonDoor", "EntranceDoor", "GuestDoor", "Elevator"]>;
|
|
830
|
+
door_name: z.ZodString;
|
|
831
|
+
door_number: z.ZodOptional<z.ZodNumber>;
|
|
832
|
+
stand_open: z.ZodOptional<z.ZodBoolean>;
|
|
833
|
+
pms_id: z.ZodOptional<z.ZodString>;
|
|
834
|
+
}, "strip", z.ZodTypeAny, {
|
|
835
|
+
door_name: string;
|
|
836
|
+
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
837
|
+
door_number?: number | undefined;
|
|
838
|
+
stand_open?: boolean | undefined;
|
|
839
|
+
pms_id?: string | undefined;
|
|
840
|
+
}, {
|
|
841
|
+
door_name: string;
|
|
842
|
+
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
843
|
+
door_number?: number | undefined;
|
|
844
|
+
stand_open?: boolean | undefined;
|
|
845
|
+
pms_id?: string | undefined;
|
|
846
|
+
}>>;
|
|
789
847
|
}, "strip", z.ZodTypeAny, {
|
|
790
848
|
created_at: string;
|
|
791
849
|
errors: {
|
|
@@ -816,12 +874,19 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
816
874
|
latch_metadata?: {
|
|
817
875
|
door_name: string;
|
|
818
876
|
is_connected: boolean;
|
|
819
|
-
accessibility_type: string;
|
|
820
877
|
door_type: string;
|
|
878
|
+
accessibility_type: string;
|
|
821
879
|
} | undefined;
|
|
822
880
|
dormakaba_community_metadata?: {
|
|
823
881
|
access_point_name: string;
|
|
824
882
|
} | undefined;
|
|
883
|
+
assa_abloy_vostio_metadata?: {
|
|
884
|
+
door_name: string;
|
|
885
|
+
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
886
|
+
door_number?: number | undefined;
|
|
887
|
+
stand_open?: boolean | undefined;
|
|
888
|
+
pms_id?: string | undefined;
|
|
889
|
+
} | undefined;
|
|
825
890
|
}, {
|
|
826
891
|
created_at: string;
|
|
827
892
|
errors: {
|
|
@@ -852,12 +917,19 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
852
917
|
latch_metadata?: {
|
|
853
918
|
door_name: string;
|
|
854
919
|
is_connected: boolean;
|
|
855
|
-
accessibility_type: string;
|
|
856
920
|
door_type: string;
|
|
921
|
+
accessibility_type: string;
|
|
857
922
|
} | undefined;
|
|
858
923
|
dormakaba_community_metadata?: {
|
|
859
924
|
access_point_name: string;
|
|
860
925
|
} | undefined;
|
|
926
|
+
assa_abloy_vostio_metadata?: {
|
|
927
|
+
door_name: string;
|
|
928
|
+
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
929
|
+
door_number?: number | undefined;
|
|
930
|
+
stand_open?: boolean | undefined;
|
|
931
|
+
pms_id?: string | undefined;
|
|
932
|
+
} | undefined;
|
|
861
933
|
}>;
|
|
862
934
|
type AcsEntrance = z.infer<typeof acs_entrance>;
|
|
863
935
|
|
|
@@ -11979,6 +12051,29 @@ declare const _default: {
|
|
|
11979
12051
|
format: string;
|
|
11980
12052
|
type: string;
|
|
11981
12053
|
};
|
|
12054
|
+
assa_abloy_vostio_metadata: {
|
|
12055
|
+
properties: {
|
|
12056
|
+
door_name: {
|
|
12057
|
+
type: string;
|
|
12058
|
+
};
|
|
12059
|
+
door_number: {
|
|
12060
|
+
format: string;
|
|
12061
|
+
type: string;
|
|
12062
|
+
};
|
|
12063
|
+
door_type: {
|
|
12064
|
+
enum: string[];
|
|
12065
|
+
type: string;
|
|
12066
|
+
};
|
|
12067
|
+
pms_id: {
|
|
12068
|
+
type: string;
|
|
12069
|
+
};
|
|
12070
|
+
stand_open: {
|
|
12071
|
+
type: string;
|
|
12072
|
+
};
|
|
12073
|
+
};
|
|
12074
|
+
required: string[];
|
|
12075
|
+
type: string;
|
|
12076
|
+
};
|
|
11982
12077
|
created_at: {
|
|
11983
12078
|
description: string;
|
|
11984
12079
|
format: string;
|
|
@@ -35116,6 +35211,13 @@ interface Routes {
|
|
|
35116
35211
|
dormakaba_community_metadata?: {
|
|
35117
35212
|
access_point_name: string;
|
|
35118
35213
|
} | undefined;
|
|
35214
|
+
assa_abloy_vostio_metadata?: {
|
|
35215
|
+
door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
|
|
35216
|
+
door_name: string;
|
|
35217
|
+
door_number?: number | undefined;
|
|
35218
|
+
stand_open?: boolean | undefined;
|
|
35219
|
+
pms_id?: string | undefined;
|
|
35220
|
+
} | undefined;
|
|
35119
35221
|
}>;
|
|
35120
35222
|
};
|
|
35121
35223
|
};
|
|
@@ -35756,6 +35858,13 @@ interface Routes {
|
|
|
35756
35858
|
dormakaba_community_metadata?: {
|
|
35757
35859
|
access_point_name: string;
|
|
35758
35860
|
} | undefined;
|
|
35861
|
+
assa_abloy_vostio_metadata?: {
|
|
35862
|
+
door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
|
|
35863
|
+
door_name: string;
|
|
35864
|
+
door_number?: number | undefined;
|
|
35865
|
+
stand_open?: boolean | undefined;
|
|
35866
|
+
pms_id?: string | undefined;
|
|
35867
|
+
} | undefined;
|
|
35759
35868
|
}>;
|
|
35760
35869
|
};
|
|
35761
35870
|
};
|
|
@@ -38066,6 +38175,13 @@ interface Routes {
|
|
|
38066
38175
|
dormakaba_community_metadata?: {
|
|
38067
38176
|
access_point_name: string;
|
|
38068
38177
|
} | undefined;
|
|
38178
|
+
assa_abloy_vostio_metadata?: {
|
|
38179
|
+
door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
|
|
38180
|
+
door_name: string;
|
|
38181
|
+
door_number?: number | undefined;
|
|
38182
|
+
stand_open?: boolean | undefined;
|
|
38183
|
+
pms_id?: string | undefined;
|
|
38184
|
+
} | undefined;
|
|
38069
38185
|
};
|
|
38070
38186
|
};
|
|
38071
38187
|
};
|
|
@@ -38132,6 +38248,13 @@ interface Routes {
|
|
|
38132
38248
|
dormakaba_community_metadata?: {
|
|
38133
38249
|
access_point_name: string;
|
|
38134
38250
|
} | undefined;
|
|
38251
|
+
assa_abloy_vostio_metadata?: {
|
|
38252
|
+
door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
|
|
38253
|
+
door_name: string;
|
|
38254
|
+
door_number?: number | undefined;
|
|
38255
|
+
stand_open?: boolean | undefined;
|
|
38256
|
+
pms_id?: string | undefined;
|
|
38257
|
+
} | undefined;
|
|
38135
38258
|
}>;
|
|
38136
38259
|
};
|
|
38137
38260
|
};
|
|
@@ -38928,6 +39051,13 @@ interface Routes {
|
|
|
38928
39051
|
dormakaba_community_metadata?: {
|
|
38929
39052
|
access_point_name: string;
|
|
38930
39053
|
} | undefined;
|
|
39054
|
+
assa_abloy_vostio_metadata?: {
|
|
39055
|
+
door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
|
|
39056
|
+
door_name: string;
|
|
39057
|
+
door_number?: number | undefined;
|
|
39058
|
+
stand_open?: boolean | undefined;
|
|
39059
|
+
pms_id?: string | undefined;
|
|
39060
|
+
} | undefined;
|
|
38931
39061
|
}>;
|
|
38932
39062
|
};
|
|
38933
39063
|
};
|
|
@@ -57491,4 +57621,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
|
|
|
57491
57621
|
|
|
57492
57622
|
declare const routes: {};
|
|
57493
57623
|
|
|
57494
|
-
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"}
|
|
@@ -22,13 +22,13 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
door_name: string;
|
|
24
24
|
is_connected: boolean;
|
|
25
|
-
accessibility_type: string;
|
|
26
25
|
door_type: string;
|
|
26
|
+
accessibility_type: string;
|
|
27
27
|
}, {
|
|
28
28
|
door_name: string;
|
|
29
29
|
is_connected: boolean;
|
|
30
|
-
accessibility_type: string;
|
|
31
30
|
door_type: string;
|
|
31
|
+
accessibility_type: string;
|
|
32
32
|
}>>;
|
|
33
33
|
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
34
34
|
door_name: z.ZodString;
|
|
@@ -93,6 +93,25 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
93
93
|
}, {
|
|
94
94
|
access_point_name: string;
|
|
95
95
|
}>>;
|
|
96
|
+
assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
door_type: z.ZodEnum<["CommonDoor", "EntranceDoor", "GuestDoor", "Elevator"]>;
|
|
98
|
+
door_name: z.ZodString;
|
|
99
|
+
door_number: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
stand_open: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
+
pms_id: z.ZodOptional<z.ZodString>;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
door_name: string;
|
|
104
|
+
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
105
|
+
door_number?: number | undefined;
|
|
106
|
+
stand_open?: boolean | undefined;
|
|
107
|
+
pms_id?: string | undefined;
|
|
108
|
+
}, {
|
|
109
|
+
door_name: string;
|
|
110
|
+
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
111
|
+
door_number?: number | undefined;
|
|
112
|
+
stand_open?: boolean | undefined;
|
|
113
|
+
pms_id?: string | undefined;
|
|
114
|
+
}>>;
|
|
96
115
|
}, "strip", z.ZodTypeAny, {
|
|
97
116
|
created_at: string;
|
|
98
117
|
errors: {
|
|
@@ -123,12 +142,19 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
123
142
|
latch_metadata?: {
|
|
124
143
|
door_name: string;
|
|
125
144
|
is_connected: boolean;
|
|
126
|
-
accessibility_type: string;
|
|
127
145
|
door_type: string;
|
|
146
|
+
accessibility_type: string;
|
|
128
147
|
} | undefined;
|
|
129
148
|
dormakaba_community_metadata?: {
|
|
130
149
|
access_point_name: string;
|
|
131
150
|
} | undefined;
|
|
151
|
+
assa_abloy_vostio_metadata?: {
|
|
152
|
+
door_name: string;
|
|
153
|
+
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
154
|
+
door_number?: number | undefined;
|
|
155
|
+
stand_open?: boolean | undefined;
|
|
156
|
+
pms_id?: string | undefined;
|
|
157
|
+
} | undefined;
|
|
132
158
|
}, {
|
|
133
159
|
created_at: string;
|
|
134
160
|
errors: {
|
|
@@ -159,11 +185,18 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
159
185
|
latch_metadata?: {
|
|
160
186
|
door_name: string;
|
|
161
187
|
is_connected: boolean;
|
|
162
|
-
accessibility_type: string;
|
|
163
188
|
door_type: string;
|
|
189
|
+
accessibility_type: string;
|
|
164
190
|
} | undefined;
|
|
165
191
|
dormakaba_community_metadata?: {
|
|
166
192
|
access_point_name: string;
|
|
167
193
|
} | undefined;
|
|
194
|
+
assa_abloy_vostio_metadata?: {
|
|
195
|
+
door_name: string;
|
|
196
|
+
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
197
|
+
door_number?: number | undefined;
|
|
198
|
+
stand_open?: boolean | undefined;
|
|
199
|
+
pms_id?: string | undefined;
|
|
200
|
+
} | undefined;
|
|
168
201
|
}>;
|
|
169
202
|
export type AcsEntrance = z.infer<typeof acs_entrance>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { acs_entrance_dormakaba_community_metadata, acs_entrance_latch_metadata, acs_entrance_salto_ks_metadata, acs_entrance_visionline_metadata, } from './metadata/index.js';
|
|
2
|
+
import { acs_entrance_assa_abloy_vostio_metadata, acs_entrance_dormakaba_community_metadata, acs_entrance_latch_metadata, acs_entrance_salto_ks_metadata, acs_entrance_visionline_metadata, } from './metadata/index.js';
|
|
3
3
|
export const acs_entrance = z.object({
|
|
4
4
|
acs_system_id: z
|
|
5
5
|
.string()
|
|
@@ -19,5 +19,6 @@ export const acs_entrance = z.object({
|
|
|
19
19
|
visionline_metadata: acs_entrance_visionline_metadata.optional(),
|
|
20
20
|
salto_ks_metadata: acs_entrance_salto_ks_metadata.optional(),
|
|
21
21
|
dormakaba_community_metadata: acs_entrance_dormakaba_community_metadata.optional(),
|
|
22
|
+
assa_abloy_vostio_metadata: acs_entrance_assa_abloy_vostio_metadata.optional(),
|
|
22
23
|
});
|
|
23
24
|
//# sourceMappingURL=acs-entrance.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-entrance.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,yCAAyC,EACzC,2BAA2B,EAC3B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,qBAAqB,CAAA;AAE5B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IAClE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;IACnE,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,cAAc,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IACtD,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE;IAChE,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IAC5D,4BAA4B,EAC1B,yCAAyC,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"acs-entrance.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,uCAAuC,EACvC,yCAAyC,EACzC,2BAA2B,EAC3B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,qBAAqB,CAAA;AAE5B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IAClE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;IACnE,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,cAAc,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IACtD,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE;IAChE,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IAC5D,4BAA4B,EAC1B,yCAAyC,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EACxB,uCAAuC,CAAC,QAAQ,EAAE;CACrD,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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const acs_entrance_assa_abloy_vostio_metadata: z.ZodObject<{
|
|
3
|
+
door_type: z.ZodEnum<["CommonDoor", "EntranceDoor", "GuestDoor", "Elevator"]>;
|
|
4
|
+
door_name: z.ZodString;
|
|
5
|
+
door_number: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
stand_open: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
pms_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
door_name: string;
|
|
10
|
+
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
11
|
+
door_number?: number | undefined;
|
|
12
|
+
stand_open?: boolean | undefined;
|
|
13
|
+
pms_id?: string | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
door_name: string;
|
|
16
|
+
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
17
|
+
door_number?: number | undefined;
|
|
18
|
+
stand_open?: boolean | undefined;
|
|
19
|
+
pms_id?: string | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
export type AcsEntranceAssaAbloyVostioMetadata = z.infer<typeof acs_entrance_assa_abloy_vostio_metadata>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const acs_entrance_assa_abloy_vostio_metadata = z.object({
|
|
3
|
+
door_type: z.enum(['CommonDoor', 'EntranceDoor', 'GuestDoor', 'Elevator']),
|
|
4
|
+
door_name: z.string(),
|
|
5
|
+
door_number: z.number().optional(),
|
|
6
|
+
stand_open: z.boolean().optional(),
|
|
7
|
+
pms_id: z.string().optional(),
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=assa_abloy_vostio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assa_abloy_vostio.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/assa_abloy_vostio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9D,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;IAC1E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAClC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA"}
|
|
@@ -7,12 +7,12 @@ export declare const acs_entrance_latch_metadata: z.ZodObject<{
|
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
door_name: string;
|
|
9
9
|
is_connected: boolean;
|
|
10
|
-
accessibility_type: string;
|
|
11
10
|
door_type: string;
|
|
11
|
+
accessibility_type: string;
|
|
12
12
|
}, {
|
|
13
13
|
door_name: string;
|
|
14
14
|
is_connected: boolean;
|
|
15
|
-
accessibility_type: string;
|
|
16
15
|
door_type: string;
|
|
16
|
+
accessibility_type: string;
|
|
17
17
|
}>;
|
|
18
18
|
export type AcsEntranceLatchMetadata = z.infer<typeof acs_entrance_latch_metadata>;
|
|
@@ -477,6 +477,29 @@ declare const _default: {
|
|
|
477
477
|
format: string;
|
|
478
478
|
type: string;
|
|
479
479
|
};
|
|
480
|
+
assa_abloy_vostio_metadata: {
|
|
481
|
+
properties: {
|
|
482
|
+
door_name: {
|
|
483
|
+
type: string;
|
|
484
|
+
};
|
|
485
|
+
door_number: {
|
|
486
|
+
format: string;
|
|
487
|
+
type: string;
|
|
488
|
+
};
|
|
489
|
+
door_type: {
|
|
490
|
+
enum: string[];
|
|
491
|
+
type: string;
|
|
492
|
+
};
|
|
493
|
+
pms_id: {
|
|
494
|
+
type: string;
|
|
495
|
+
};
|
|
496
|
+
stand_open: {
|
|
497
|
+
type: string;
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
required: string[];
|
|
501
|
+
type: string;
|
|
502
|
+
};
|
|
480
503
|
created_at: {
|
|
481
504
|
description: string;
|
|
482
505
|
format: string;
|
|
@@ -442,6 +442,20 @@ export default {
|
|
|
442
442
|
format: 'uuid',
|
|
443
443
|
type: 'string',
|
|
444
444
|
},
|
|
445
|
+
assa_abloy_vostio_metadata: {
|
|
446
|
+
properties: {
|
|
447
|
+
door_name: { type: 'string' },
|
|
448
|
+
door_number: { format: 'float', type: 'number' },
|
|
449
|
+
door_type: {
|
|
450
|
+
enum: ['CommonDoor', 'EntranceDoor', 'GuestDoor', 'Elevator'],
|
|
451
|
+
type: 'string',
|
|
452
|
+
},
|
|
453
|
+
pms_id: { type: 'string' },
|
|
454
|
+
stand_open: { type: 'boolean' },
|
|
455
|
+
},
|
|
456
|
+
required: ['door_type', 'door_name'],
|
|
457
|
+
type: 'object',
|
|
458
|
+
},
|
|
445
459
|
created_at: {
|
|
446
460
|
description: 'Date and time at which the entrance was created.',
|
|
447
461
|
format: 'date-time',
|