@seamapi/types 1.113.0 → 1.113.2

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.
Files changed (59) hide show
  1. package/connect.d.ts +1 -0
  2. package/devicedb.d.ts +1 -0
  3. package/index.d.ts +2 -0
  4. package/lib/seam/connect/enums.d.ts +1 -0
  5. package/lib/seam/connect/index.d.ts +6 -0
  6. package/lib/seam/connect/internal.d.ts +1 -0
  7. package/lib/seam/connect/openapi.d.ts +16823 -0
  8. package/lib/seam/connect/route-types.d.ts +7657 -0
  9. package/lib/seam/connect/stable/model-types.d.ts +1 -0
  10. package/lib/seam/connect/stable/models/connect-webview.d.ts +63 -0
  11. package/lib/seam/connect/stable/models/custom-metadata.d.ts +3 -0
  12. package/lib/seam/connect/stable/models/index.d.ts +2 -0
  13. package/lib/seam/connect/stable/schemas.d.ts +1 -0
  14. package/lib/seam/connect/unstable/index.d.ts +3 -0
  15. package/lib/seam/connect/unstable/model-types.d.ts +1 -0
  16. package/lib/seam/connect/unstable/models/access-codes/index.d.ts +2 -0
  17. package/lib/seam/connect/unstable/models/access-codes/managed-access-code.d.ts +69 -0
  18. package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.d.ts +42 -0
  19. package/lib/seam/connect/unstable/models/acs/access_group.d.ts +35 -0
  20. package/lib/seam/connect/unstable/models/acs/credential.d.ts +127 -0
  21. package/lib/seam/connect/unstable/models/acs/credential_pool.d.ts +29 -0
  22. package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.d.ts +41 -0
  23. package/lib/seam/connect/unstable/models/acs/entrance.d.ts +62 -0
  24. package/lib/seam/connect/unstable/models/acs/index.d.ts +7 -0
  25. package/lib/seam/connect/unstable/models/acs/system.d.ts +35 -0
  26. package/lib/seam/connect/unstable/models/acs/user.d.ts +74 -0
  27. package/lib/seam/connect/unstable/models/capability-properties/access-code.d.ts +93 -0
  28. package/lib/seam/connect/unstable/models/capability-properties/index.d.ts +819 -0
  29. package/lib/seam/connect/unstable/models/capability-properties/lock.d.ts +24 -0
  30. package/lib/seam/connect/unstable/models/capability-properties/thermostat.d.ts +1572 -0
  31. package/lib/seam/connect/unstable/models/devices/capabilities-supported.d.ts +3 -0
  32. package/lib/seam/connect/unstable/models/devices/device-metadata.d.ts +982 -0
  33. package/lib/seam/connect/unstable/models/devices/device-type.d.ts +65 -0
  34. package/lib/seam/connect/unstable/models/devices/index.d.ts +6 -0
  35. package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +3711 -0
  36. package/lib/seam/connect/unstable/models/devices/managed-device.js +1 -1
  37. package/lib/seam/connect/unstable/models/devices/phone-properties.d.ts +44 -0
  38. package/lib/seam/connect/unstable/models/devices/phone.d.ts +148 -0
  39. package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +188 -0
  40. package/lib/seam/connect/unstable/models/events/access_code_events.d.ts +70 -0
  41. package/lib/seam/connect/unstable/models/events/connected_account_events.d.ts +48 -0
  42. package/lib/seam/connect/unstable/models/events/device_events.d.ts +63 -0
  43. package/lib/seam/connect/unstable/models/events/lock_events.d.ts +42 -0
  44. package/lib/seam/connect/unstable/models/index.d.ts +7 -0
  45. package/lib/seam/connect/unstable/models/network.d.ts +18 -0
  46. package/lib/seam/connect/unstable/models/phone-number.d.ts +2 -0
  47. package/lib/seam/connect/unstable/models/schedule.d.ts +21 -0
  48. package/lib/seam/connect/unstable/models/user-identity.d.ts +30 -0
  49. package/lib/seam/connect/unstable/schemas.d.ts +1 -0
  50. package/lib/seam/devicedb/index.d.ts +5 -0
  51. package/lib/seam/devicedb/models/device-capability.d.ts +21 -0
  52. package/lib/seam/devicedb/models/device-model.d.ts +1064 -0
  53. package/lib/seam/devicedb/models/hardware.d.ts +8 -0
  54. package/lib/seam/devicedb/models/image-reference.d.ts +15 -0
  55. package/lib/seam/devicedb/models/index.d.ts +4 -0
  56. package/lib/seam/devicedb/models/manufacturer.d.ts +84 -0
  57. package/lib/seam/devicedb/route-specs.d.ts +2198 -0
  58. package/lib/seam/devicedb/route-types.d.ts +308 -0
  59. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ export type { ConnectWebview, CustomMetadata } from './models/index.js';
@@ -0,0 +1,63 @@
1
+ import { z } from 'zod';
2
+ export declare const connect_webview: z.ZodObject<{
3
+ connect_webview_id: z.ZodString;
4
+ connected_account_id: z.ZodOptional<z.ZodString>;
5
+ url: z.ZodString;
6
+ workspace_id: z.ZodString;
7
+ device_selection_mode: z.ZodEnum<["none", "single", "multiple"]>;
8
+ accepted_providers: z.ZodArray<z.ZodString, "many">;
9
+ accepted_devices: z.ZodArray<z.ZodString, "many">;
10
+ any_provider_allowed: z.ZodBoolean;
11
+ any_device_allowed: z.ZodBoolean;
12
+ created_at: z.ZodString;
13
+ login_successful: z.ZodBoolean;
14
+ status: z.ZodEnum<["pending", "failed", "authorized"]>;
15
+ custom_redirect_url: z.ZodNullable<z.ZodString>;
16
+ custom_redirect_failure_url: z.ZodNullable<z.ZodString>;
17
+ custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNull]>>, Record<string, string | boolean | null>, Record<string, string | boolean | null>>;
18
+ automatically_manage_new_devices: z.ZodBoolean;
19
+ wait_for_device_creation: z.ZodBoolean;
20
+ authorized_at: z.ZodNullable<z.ZodString>;
21
+ selected_provider: z.ZodNullable<z.ZodString>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ url: string;
24
+ status: "failed" | "pending" | "authorized";
25
+ connect_webview_id: string;
26
+ workspace_id: string;
27
+ device_selection_mode: "none" | "multiple" | "single";
28
+ accepted_providers: string[];
29
+ accepted_devices: string[];
30
+ any_provider_allowed: boolean;
31
+ any_device_allowed: boolean;
32
+ created_at: string;
33
+ login_successful: boolean;
34
+ custom_redirect_url: string | null;
35
+ custom_redirect_failure_url: string | null;
36
+ custom_metadata: Record<string, string | boolean | null>;
37
+ automatically_manage_new_devices: boolean;
38
+ wait_for_device_creation: boolean;
39
+ authorized_at: string | null;
40
+ selected_provider: string | null;
41
+ connected_account_id?: string | undefined;
42
+ }, {
43
+ url: string;
44
+ status: "failed" | "pending" | "authorized";
45
+ connect_webview_id: string;
46
+ workspace_id: string;
47
+ device_selection_mode: "none" | "multiple" | "single";
48
+ accepted_providers: string[];
49
+ accepted_devices: string[];
50
+ any_provider_allowed: boolean;
51
+ any_device_allowed: boolean;
52
+ created_at: string;
53
+ login_successful: boolean;
54
+ custom_redirect_url: string | null;
55
+ custom_redirect_failure_url: string | null;
56
+ custom_metadata: Record<string, string | boolean | null>;
57
+ automatically_manage_new_devices: boolean;
58
+ wait_for_device_creation: boolean;
59
+ authorized_at: string | null;
60
+ selected_provider: string | null;
61
+ connected_account_id?: string | undefined;
62
+ }>;
63
+ export type ConnectWebview = z.infer<typeof connect_webview>;
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ export declare const custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNull]>>, Record<string, string | boolean | null>, Record<string, string | boolean | null>>;
3
+ export type CustomMetadata = z.infer<typeof custom_metadata>;
@@ -0,0 +1,2 @@
1
+ export * from './connect-webview.js';
2
+ export * from './custom-metadata.js';
@@ -0,0 +1 @@
1
+ export { connect_webview, custom_metadata } from './models/index.js';
@@ -0,0 +1,3 @@
1
+ import * as schemas from './schemas.js';
2
+ export * from './model-types.js';
3
+ export { schemas };
@@ -0,0 +1 @@
1
+ export type { AccessCodeConstraint, AcsAccessGroup, AcsAccessGroupExternalType, AcsCredential, AcsCredentialExternalType, AcsCredentialPool, AcsCredentialPoolExternalType, AcsSystem, AcsSystemExternalType, AcsUser, AcsUserExternalType, AnyDeviceType, BatteryStatus, Capabilities, ClimateSetting, DeviceMetadata, LockDeviceType, ManagedAccessCode, ManagedDevice, ManagedDeviceWithBackendMetadata, NoiseSensorDeviceType, ThermostatDeviceType, UnmanagedAccessCode, UnmanagedDevice, } from './models/index.js';
@@ -0,0 +1,2 @@
1
+ export * from './managed-access-code.js';
2
+ export * from './unmanaged-access-code.js';
@@ -0,0 +1,69 @@
1
+ import { z } from 'zod';
2
+ export declare const managed_access_code: z.ZodObject<{
3
+ common_code_key: z.ZodNullable<z.ZodString>;
4
+ is_scheduled_on_device: z.ZodOptional<z.ZodBoolean>;
5
+ type: z.ZodEnum<["time_bound", "ongoing"]>;
6
+ is_waiting_for_code_assignment: z.ZodOptional<z.ZodBoolean>;
7
+ access_code_id: z.ZodString;
8
+ device_id: z.ZodString;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ code: z.ZodNullable<z.ZodString>;
11
+ created_at: z.ZodString;
12
+ errors: z.ZodAny;
13
+ warnings: z.ZodAny;
14
+ is_managed: z.ZodLiteral<true>;
15
+ starts_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ ends_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ status: z.ZodEnum<["setting", "set", "unset", "removing", "unknown"]>;
18
+ is_backup_access_code_available: z.ZodBoolean;
19
+ is_backup: z.ZodOptional<z.ZodBoolean>;
20
+ pulled_backup_access_code_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ is_external_modification_allowed: z.ZodBoolean;
22
+ is_one_time_use: z.ZodBoolean;
23
+ is_offline_access_code: z.ZodBoolean;
24
+ }, "strip", z.ZodTypeAny, {
25
+ type: "time_bound" | "ongoing";
26
+ code: string | null;
27
+ name: string | null;
28
+ status: "set" | "unknown" | "setting" | "unset" | "removing";
29
+ created_at: string;
30
+ common_code_key: string | null;
31
+ access_code_id: string;
32
+ device_id: string;
33
+ is_managed: true;
34
+ is_backup_access_code_available: boolean;
35
+ is_external_modification_allowed: boolean;
36
+ is_one_time_use: boolean;
37
+ is_offline_access_code: boolean;
38
+ is_scheduled_on_device?: boolean | undefined;
39
+ is_waiting_for_code_assignment?: boolean | undefined;
40
+ errors?: any;
41
+ warnings?: any;
42
+ starts_at?: string | null | undefined;
43
+ ends_at?: string | null | undefined;
44
+ is_backup?: boolean | undefined;
45
+ pulled_backup_access_code_id?: string | null | undefined;
46
+ }, {
47
+ type: "time_bound" | "ongoing";
48
+ code: string | null;
49
+ name: string | null;
50
+ status: "set" | "unknown" | "setting" | "unset" | "removing";
51
+ created_at: string;
52
+ common_code_key: string | null;
53
+ access_code_id: string;
54
+ device_id: string;
55
+ is_managed: true;
56
+ is_backup_access_code_available: boolean;
57
+ is_external_modification_allowed: boolean;
58
+ is_one_time_use: boolean;
59
+ is_offline_access_code: boolean;
60
+ is_scheduled_on_device?: boolean | undefined;
61
+ is_waiting_for_code_assignment?: boolean | undefined;
62
+ errors?: any;
63
+ warnings?: any;
64
+ starts_at?: string | null | undefined;
65
+ ends_at?: string | null | undefined;
66
+ is_backup?: boolean | undefined;
67
+ pulled_backup_access_code_id?: string | null | undefined;
68
+ }>;
69
+ export type ManagedAccessCode = z.infer<typeof managed_access_code>;
@@ -0,0 +1,42 @@
1
+ import { z } from 'zod';
2
+ export declare const unmanaged_access_code: z.ZodObject<{
3
+ type: z.ZodEnum<["time_bound", "ongoing"]>;
4
+ code: z.ZodNullable<z.ZodString>;
5
+ name: z.ZodNullable<z.ZodString>;
6
+ created_at: z.ZodString;
7
+ access_code_id: z.ZodString;
8
+ device_id: z.ZodString;
9
+ starts_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ ends_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ errors: z.ZodAny;
12
+ warnings: z.ZodAny;
13
+ is_managed: z.ZodLiteral<false>;
14
+ status: z.ZodEnum<["set"]>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ type: "time_bound" | "ongoing";
17
+ code: string | null;
18
+ name: string | null;
19
+ status: "set";
20
+ created_at: string;
21
+ access_code_id: string;
22
+ device_id: string;
23
+ is_managed: false;
24
+ starts_at?: string | null | undefined;
25
+ ends_at?: string | null | undefined;
26
+ errors?: any;
27
+ warnings?: any;
28
+ }, {
29
+ type: "time_bound" | "ongoing";
30
+ code: string | null;
31
+ name: string | null;
32
+ status: "set";
33
+ created_at: string;
34
+ access_code_id: string;
35
+ device_id: string;
36
+ is_managed: false;
37
+ starts_at?: string | null | undefined;
38
+ ends_at?: string | null | undefined;
39
+ errors?: any;
40
+ warnings?: any;
41
+ }>;
42
+ export type UnmanagedAccessCode = z.infer<typeof unmanaged_access_code>;
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+ export declare const acs_access_group_external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
3
+ export type AcsAccessGroupExternalType = z.infer<typeof acs_access_group_external_type>;
4
+ export declare const acs_access_group: z.ZodObject<{
5
+ acs_access_group_id: z.ZodString;
6
+ acs_system_id: z.ZodString;
7
+ workspace_id: z.ZodString;
8
+ name: z.ZodString;
9
+ access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
10
+ access_group_type_display_name: z.ZodString;
11
+ external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
12
+ external_type_display_name: z.ZodString;
13
+ created_at: z.ZodString;
14
+ }, "strip", z.ZodTypeAny, {
15
+ name: string;
16
+ workspace_id: string;
17
+ created_at: string;
18
+ acs_access_group_id: string;
19
+ acs_system_id: string;
20
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
21
+ access_group_type_display_name: string;
22
+ external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
23
+ external_type_display_name: string;
24
+ }, {
25
+ name: string;
26
+ workspace_id: string;
27
+ created_at: string;
28
+ acs_access_group_id: string;
29
+ acs_system_id: string;
30
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
31
+ access_group_type_display_name: string;
32
+ external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
33
+ external_type_display_name: string;
34
+ }>;
35
+ export type AcsAccessGroup = z.output<typeof acs_access_group>;
@@ -0,0 +1,127 @@
1
+ import { z } from 'zod';
2
+ export declare const acs_credential_external_type: z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card"]>;
3
+ export declare const acs_credential_access_method_type: z.ZodEnum<["code", "card", "mobile_key"]>;
4
+ export type AcsCredentialExternalType = z.infer<typeof acs_credential_external_type>;
5
+ export declare const acs_credential_visionline_metadata: z.ZodObject<{
6
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ joiner_acs_credential_ids?: string[] | undefined;
11
+ guest_acs_entrance_ids?: string[] | undefined;
12
+ common_acs_entrance_ids?: string[] | undefined;
13
+ }, {
14
+ joiner_acs_credential_ids?: string[] | undefined;
15
+ guest_acs_entrance_ids?: string[] | undefined;
16
+ common_acs_entrance_ids?: string[] | undefined;
17
+ }>;
18
+ export type AcsCredentialVisionlineMetadata = z.infer<typeof acs_credential_visionline_metadata>;
19
+ export declare const acs_credential: z.ZodObject<{
20
+ acs_credential_id: z.ZodString;
21
+ acs_user_id: z.ZodOptional<z.ZodString>;
22
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
23
+ acs_system_id: z.ZodString;
24
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
25
+ display_name: z.ZodString;
26
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
27
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
28
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card"]>>;
29
+ external_type_display_name: z.ZodOptional<z.ZodString>;
30
+ created_at: z.ZodString;
31
+ workspace_id: z.ZodString;
32
+ starts_at: z.ZodOptional<z.ZodString>;
33
+ ends_at: z.ZodOptional<z.ZodString>;
34
+ errors: z.ZodArray<z.ZodObject<{
35
+ error_code: z.ZodString;
36
+ message: z.ZodString;
37
+ }, "strip", z.ZodTypeAny, {
38
+ message: string;
39
+ error_code: string;
40
+ }, {
41
+ message: string;
42
+ error_code: string;
43
+ }>, "many">;
44
+ warnings: z.ZodArray<z.ZodObject<{
45
+ warning_code: z.ZodString;
46
+ message: z.ZodString;
47
+ }, "strip", z.ZodTypeAny, {
48
+ message: string;
49
+ warning_code: string;
50
+ }, {
51
+ message: string;
52
+ warning_code: string;
53
+ }>, "many">;
54
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
55
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
56
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
57
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
58
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ joiner_acs_credential_ids?: string[] | undefined;
61
+ guest_acs_entrance_ids?: string[] | undefined;
62
+ common_acs_entrance_ids?: string[] | undefined;
63
+ }, {
64
+ joiner_acs_credential_ids?: string[] | undefined;
65
+ guest_acs_entrance_ids?: string[] | undefined;
66
+ common_acs_entrance_ids?: string[] | undefined;
67
+ }>>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ workspace_id: string;
70
+ created_at: string;
71
+ acs_system_id: string;
72
+ display_name: string;
73
+ errors: {
74
+ message: string;
75
+ error_code: string;
76
+ }[];
77
+ warnings: {
78
+ message: string;
79
+ warning_code: string;
80
+ }[];
81
+ acs_credential_id: string;
82
+ access_method: "code" | "card" | "mobile_key";
83
+ acs_user_id?: string | undefined;
84
+ acs_credential_pool_id?: string | undefined;
85
+ parent_acs_credential_id?: string | undefined;
86
+ code?: string | null | undefined;
87
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
88
+ external_type_display_name?: string | undefined;
89
+ starts_at?: string | undefined;
90
+ ends_at?: string | undefined;
91
+ is_multi_phone_sync_credential?: boolean | undefined;
92
+ visionline_metadata?: {
93
+ joiner_acs_credential_ids?: string[] | undefined;
94
+ guest_acs_entrance_ids?: string[] | undefined;
95
+ common_acs_entrance_ids?: string[] | undefined;
96
+ } | undefined;
97
+ }, {
98
+ workspace_id: string;
99
+ created_at: string;
100
+ acs_system_id: string;
101
+ display_name: string;
102
+ errors: {
103
+ message: string;
104
+ error_code: string;
105
+ }[];
106
+ warnings: {
107
+ message: string;
108
+ warning_code: string;
109
+ }[];
110
+ acs_credential_id: string;
111
+ access_method: "code" | "card" | "mobile_key";
112
+ acs_user_id?: string | undefined;
113
+ acs_credential_pool_id?: string | undefined;
114
+ parent_acs_credential_id?: string | undefined;
115
+ code?: string | null | undefined;
116
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
117
+ external_type_display_name?: string | undefined;
118
+ starts_at?: string | undefined;
119
+ ends_at?: string | undefined;
120
+ is_multi_phone_sync_credential?: boolean | undefined;
121
+ visionline_metadata?: {
122
+ joiner_acs_credential_ids?: string[] | undefined;
123
+ guest_acs_entrance_ids?: string[] | undefined;
124
+ common_acs_entrance_ids?: string[] | undefined;
125
+ } | undefined;
126
+ }>;
127
+ export type AcsCredential = z.output<typeof acs_credential>;
@@ -0,0 +1,29 @@
1
+ import { z } from 'zod';
2
+ export declare const acs_credential_pool_external_type: z.ZodEnum<["hid_part_number"]>;
3
+ export type AcsCredentialPoolExternalType = z.infer<typeof acs_credential_pool_external_type>;
4
+ export declare const acs_credential_pool: z.ZodObject<{
5
+ acs_credential_pool_id: z.ZodString;
6
+ acs_system_id: z.ZodString;
7
+ display_name: z.ZodString;
8
+ external_type: z.ZodEnum<["hid_part_number"]>;
9
+ external_type_display_name: z.ZodString;
10
+ created_at: z.ZodString;
11
+ workspace_id: z.ZodString;
12
+ }, "strip", z.ZodTypeAny, {
13
+ workspace_id: string;
14
+ created_at: string;
15
+ acs_system_id: string;
16
+ external_type: "hid_part_number";
17
+ external_type_display_name: string;
18
+ display_name: string;
19
+ acs_credential_pool_id: string;
20
+ }, {
21
+ workspace_id: string;
22
+ created_at: string;
23
+ acs_system_id: string;
24
+ external_type: "hid_part_number";
25
+ external_type_display_name: string;
26
+ display_name: string;
27
+ acs_credential_pool_id: string;
28
+ }>;
29
+ export type AcsCredentialPool = z.output<typeof acs_credential_pool>;
@@ -0,0 +1,41 @@
1
+ import { z } from 'zod';
2
+ export declare const acs_credential_provisioning_automation: z.ZodObject<{
3
+ acs_credential_provisioning_automation_id: z.ZodString;
4
+ credential_manager_acs_system_id: z.ZodString;
5
+ user_identity_id: z.ZodString;
6
+ created_at: z.ZodString;
7
+ workspace_id: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ workspace_id: string;
10
+ created_at: string;
11
+ credential_manager_acs_system_id: string;
12
+ user_identity_id: string;
13
+ acs_credential_provisioning_automation_id: string;
14
+ }, {
15
+ workspace_id: string;
16
+ created_at: string;
17
+ credential_manager_acs_system_id: string;
18
+ user_identity_id: string;
19
+ acs_credential_provisioning_automation_id: string;
20
+ }>;
21
+ export declare const enrollment_automation: z.ZodObject<{
22
+ workspace_id: z.ZodString;
23
+ created_at: z.ZodString;
24
+ credential_manager_acs_system_id: z.ZodString;
25
+ user_identity_id: z.ZodString;
26
+ enrollment_automation_id: z.ZodString;
27
+ }, "strip", z.ZodTypeAny, {
28
+ workspace_id: string;
29
+ created_at: string;
30
+ credential_manager_acs_system_id: string;
31
+ user_identity_id: string;
32
+ enrollment_automation_id: string;
33
+ }, {
34
+ workspace_id: string;
35
+ created_at: string;
36
+ credential_manager_acs_system_id: string;
37
+ user_identity_id: string;
38
+ enrollment_automation_id: string;
39
+ }>;
40
+ export type EnrollmentAutomation = z.output<typeof enrollment_automation>;
41
+ export type AcsCredentialProvisioningAutomation = z.output<typeof acs_credential_provisioning_automation>;
@@ -0,0 +1,62 @@
1
+ import { z } from 'zod';
2
+ export declare const acs_entrance: z.ZodObject<{
3
+ acs_entrance_id: z.ZodString;
4
+ display_name: z.ZodString;
5
+ acs_system_id: z.ZodString;
6
+ created_at: z.ZodString;
7
+ visionline_metadata: z.ZodNullable<z.ZodObject<{
8
+ door_name: z.ZodString;
9
+ door_category: z.ZodEnum<["entrance", "guest", "elevator reader", "common", "common (PMS)"]>;
10
+ profiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
11
+ visionline_door_profile_id: z.ZodString;
12
+ visionline_door_profile_type: z.ZodEnum<["BLE", "commonDoor", "touch"]>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ visionline_door_profile_id: string;
15
+ visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
16
+ }, {
17
+ visionline_door_profile_id: string;
18
+ visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
19
+ }>, "many">>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ door_name: string;
22
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
23
+ profiles?: {
24
+ visionline_door_profile_id: string;
25
+ visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
26
+ }[] | undefined;
27
+ }, {
28
+ door_name: string;
29
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
30
+ profiles?: {
31
+ visionline_door_profile_id: string;
32
+ visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
33
+ }[] | undefined;
34
+ }>>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ created_at: string;
37
+ acs_system_id: string;
38
+ display_name: string;
39
+ acs_entrance_id: string;
40
+ visionline_metadata: {
41
+ door_name: string;
42
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
43
+ profiles?: {
44
+ visionline_door_profile_id: string;
45
+ visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
46
+ }[] | undefined;
47
+ } | null;
48
+ }, {
49
+ created_at: string;
50
+ acs_system_id: string;
51
+ display_name: string;
52
+ acs_entrance_id: string;
53
+ visionline_metadata: {
54
+ door_name: string;
55
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
56
+ profiles?: {
57
+ visionline_door_profile_id: string;
58
+ visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
59
+ }[] | undefined;
60
+ } | null;
61
+ }>;
62
+ export type AcsEntrance = z.infer<typeof acs_entrance>;
@@ -0,0 +1,7 @@
1
+ export * from './access_group.js';
2
+ export * from './credential.js';
3
+ export * from './credential_pool.js';
4
+ export * from './credential_provisioning_automation.js';
5
+ export * from './entrance.js';
6
+ export * from './system.js';
7
+ export * from './user.js';
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+ export declare const acs_system_external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service"]>;
3
+ export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>;
4
+ export declare const acs_system: z.ZodObject<{
5
+ acs_system_id: z.ZodString;
6
+ external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service"]>;
7
+ external_type_display_name: z.ZodString;
8
+ system_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service"]>;
9
+ system_type_display_name: z.ZodString;
10
+ name: z.ZodString;
11
+ created_at: z.ZodString;
12
+ workspace_id: z.ZodString;
13
+ connected_account_ids: z.ZodArray<z.ZodString, "many">;
14
+ }, "strip", z.ZodTypeAny, {
15
+ name: string;
16
+ workspace_id: string;
17
+ created_at: string;
18
+ acs_system_id: string;
19
+ external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "assa_abloy_credential_service";
20
+ external_type_display_name: string;
21
+ system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "assa_abloy_credential_service";
22
+ system_type_display_name: string;
23
+ connected_account_ids: string[];
24
+ }, {
25
+ name: string;
26
+ workspace_id: string;
27
+ created_at: string;
28
+ acs_system_id: string;
29
+ external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "assa_abloy_credential_service";
30
+ external_type_display_name: string;
31
+ system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "assa_abloy_credential_service";
32
+ system_type_display_name: string;
33
+ connected_account_ids: string[];
34
+ }>;
35
+ export type AcsSystem = z.output<typeof acs_system>;
@@ -0,0 +1,74 @@
1
+ import { z } from 'zod';
2
+ export declare const acs_user_external_type: z.ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user"]>;
3
+ export type AcsUserExternalType = z.infer<typeof acs_user_external_type>;
4
+ export declare const acs_user: z.ZodObject<{
5
+ workspace_id: z.ZodString;
6
+ created_at: z.ZodString;
7
+ acs_system_id: z.ZodString;
8
+ external_type: z.ZodOptional<z.ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user"]>>;
9
+ external_type_display_name: z.ZodOptional<z.ZodString>;
10
+ acs_user_id: z.ZodString;
11
+ display_name: z.ZodString;
12
+ is_suspended: z.ZodBoolean;
13
+ user_identity_id: z.ZodOptional<z.ZodString>;
14
+ hid_acs_system_id: z.ZodOptional<z.ZodString>;
15
+ access_schedule: z.ZodOptional<z.ZodObject<{
16
+ starts_at: z.ZodString;
17
+ ends_at: z.ZodString;
18
+ }, "strip", z.ZodTypeAny, {
19
+ starts_at: string;
20
+ ends_at: string;
21
+ }, {
22
+ starts_at: string;
23
+ ends_at: string;
24
+ }>>;
25
+ user_identity_email_address: z.ZodOptional<z.ZodString>;
26
+ user_identity_phone_number: z.ZodOptional<z.ZodString>;
27
+ full_name: z.ZodOptional<z.ZodString>;
28
+ email: z.ZodOptional<z.ZodString>;
29
+ email_address: z.ZodOptional<z.ZodString>;
30
+ phone_number: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ workspace_id: string;
33
+ created_at: string;
34
+ acs_system_id: string;
35
+ acs_user_id: string;
36
+ display_name: string;
37
+ is_suspended: boolean;
38
+ external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | undefined;
39
+ external_type_display_name?: string | undefined;
40
+ user_identity_id?: string | undefined;
41
+ hid_acs_system_id?: string | undefined;
42
+ access_schedule?: {
43
+ starts_at: string;
44
+ ends_at: string;
45
+ } | undefined;
46
+ user_identity_email_address?: string | undefined;
47
+ user_identity_phone_number?: string | undefined;
48
+ full_name?: string | undefined;
49
+ email?: string | undefined;
50
+ email_address?: string | undefined;
51
+ phone_number?: string | undefined;
52
+ }, {
53
+ workspace_id: string;
54
+ created_at: string;
55
+ acs_system_id: string;
56
+ acs_user_id: string;
57
+ display_name: string;
58
+ is_suspended: boolean;
59
+ external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | undefined;
60
+ external_type_display_name?: string | undefined;
61
+ user_identity_id?: string | undefined;
62
+ hid_acs_system_id?: string | undefined;
63
+ access_schedule?: {
64
+ starts_at: string;
65
+ ends_at: string;
66
+ } | undefined;
67
+ user_identity_email_address?: string | undefined;
68
+ user_identity_phone_number?: string | undefined;
69
+ full_name?: string | undefined;
70
+ email?: string | undefined;
71
+ email_address?: string | undefined;
72
+ phone_number?: string | undefined;
73
+ }>;
74
+ export type AcsUser = z.output<typeof acs_user>;