@seamapi/types 1.68.0 → 1.70.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.
Files changed (36) hide show
  1. package/dist/connect.cjs +132 -34
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +205 -38
  4. package/dist/devicedb.cjs +9 -1
  5. package/dist/devicedb.cjs.map +1 -1
  6. package/dist/devicedb.d.cts +263 -2
  7. package/lib/seam/connect/openapi.d.ts +143 -11
  8. package/lib/seam/connect/openapi.js +120 -22
  9. package/lib/seam/connect/openapi.js.map +1 -1
  10. package/lib/seam/connect/route-types.d.ts +62 -27
  11. package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.d.ts +6 -6
  12. package/lib/seam/connect/unstable/models/acs/credential.d.ts +7 -7
  13. package/lib/seam/connect/unstable/models/acs/credential.js +3 -2
  14. package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
  15. package/lib/seam/connect/unstable/models/acs/user.d.ts +18 -9
  16. package/lib/seam/connect/unstable/models/acs/user.js +2 -3
  17. package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
  18. package/lib/seam/connect/unstable/models/schedule.d.ts +21 -0
  19. package/lib/seam/connect/unstable/models/schedule.js +12 -0
  20. package/lib/seam/connect/unstable/models/schedule.js.map +1 -0
  21. package/lib/seam/devicedb/index.d.ts +1 -1
  22. package/lib/seam/devicedb/public-models/device-model-v1.d.ts +52 -0
  23. package/lib/seam/devicedb/public-models/manufacturer.d.ts +30 -0
  24. package/lib/seam/devicedb/public-models/manufacturer.js +6 -0
  25. package/lib/seam/devicedb/public-models/manufacturer.js.map +1 -1
  26. package/lib/seam/devicedb/route-specs.d.ts +160 -0
  27. package/lib/seam/devicedb/route-types.d.ts +16 -0
  28. package/package.json +1 -1
  29. package/src/lib/seam/connect/openapi.ts +120 -22
  30. package/src/lib/seam/connect/route-types.ts +121 -27
  31. package/src/lib/seam/connect/unstable/models/acs/credential.ts +3 -2
  32. package/src/lib/seam/connect/unstable/models/acs/user.ts +3 -3
  33. package/src/lib/seam/connect/unstable/models/schedule.ts +13 -0
  34. package/src/lib/seam/devicedb/index.ts +1 -0
  35. package/src/lib/seam/devicedb/public-models/manufacturer.ts +12 -0
  36. package/src/lib/seam/devicedb/route-types.ts +16 -0
@@ -708,9 +708,10 @@ export interface Routes {
708
708
  external_type?: ('pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user') | undefined;
709
709
  external_type_display_name?: string | undefined;
710
710
  is_suspended: boolean;
711
- starts_at?: string | undefined;
712
- ends_at?: string | undefined;
713
- is_virtual: boolean;
711
+ access_schedule?: {
712
+ starts_at: string;
713
+ ends_at: string;
714
+ } | undefined;
714
715
  full_name?: string | undefined;
715
716
  /** Deprecated: use email_address. */
716
717
  email?: string | undefined;
@@ -794,8 +795,8 @@ export interface Routes {
794
795
  display_name: string;
795
796
  code?: (string | undefined) | null;
796
797
  access_method: 'code' | 'card' | 'mobile_key';
797
- external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
798
- external_type_display_name: string;
798
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
799
+ external_type_display_name?: string | undefined;
799
800
  created_at: string;
800
801
  workspace_id: string;
801
802
  };
@@ -810,6 +811,11 @@ export interface Routes {
810
811
  acs_user_id: string;
811
812
  access_method: 'code' | 'card' | 'mobile_key';
812
813
  code?: string | undefined;
814
+ is_multi_phone_sync_credential?: boolean | undefined;
815
+ assa_abloy_credential_service_mobile_endpoint_id?: string | undefined;
816
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
817
+ card_format?: ('TLCode' | 'rfid48') | undefined;
818
+ is_override_key?: boolean | undefined;
813
819
  };
814
820
  formData: {};
815
821
  jsonResponse: {
@@ -821,8 +827,8 @@ export interface Routes {
821
827
  display_name: string;
822
828
  code?: (string | undefined) | null;
823
829
  access_method: 'code' | 'card' | 'mobile_key';
824
- external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
825
- external_type_display_name: string;
830
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
831
+ external_type_display_name?: string | undefined;
826
832
  created_at: string;
827
833
  workspace_id: string;
828
834
  };
@@ -857,8 +863,8 @@ export interface Routes {
857
863
  display_name: string;
858
864
  code?: (string | undefined) | null;
859
865
  access_method: 'code' | 'card' | 'mobile_key';
860
- external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
861
- external_type_display_name: string;
866
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
867
+ external_type_display_name?: string | undefined;
862
868
  created_at: string;
863
869
  workspace_id: string;
864
870
  };
@@ -887,8 +893,8 @@ export interface Routes {
887
893
  display_name: string;
888
894
  code?: (string | undefined) | null;
889
895
  access_method: 'code' | 'card' | 'mobile_key';
890
- external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
891
- external_type_display_name: string;
896
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
897
+ external_type_display_name?: string | undefined;
892
898
  created_at: string;
893
899
  workspace_id: string;
894
900
  }>;
@@ -913,8 +919,8 @@ export interface Routes {
913
919
  display_name: string;
914
920
  code?: (string | undefined) | null;
915
921
  access_method: 'code' | 'card' | 'mobile_key';
916
- external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
917
- external_type_display_name: string;
922
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
923
+ external_type_display_name?: string | undefined;
918
924
  created_at: string;
919
925
  workspace_id: string;
920
926
  };
@@ -939,8 +945,8 @@ export interface Routes {
939
945
  display_name: string;
940
946
  code?: (string | undefined) | null;
941
947
  access_method: 'code' | 'card' | 'mobile_key';
942
- external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
943
- external_type_display_name: string;
948
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
949
+ external_type_display_name?: string | undefined;
944
950
  created_at: string;
945
951
  workspace_id: string;
946
952
  };
@@ -1063,6 +1069,7 @@ export interface Routes {
1063
1069
  jsonBody: {
1064
1070
  acs_system_id: string;
1065
1071
  acs_access_group_ids?: string[];
1072
+ user_identity_id?: string | undefined;
1066
1073
  access_schedule?: {
1067
1074
  starts_at: string;
1068
1075
  ends_at: string;
@@ -1086,9 +1093,10 @@ export interface Routes {
1086
1093
  external_type?: ('pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user') | undefined;
1087
1094
  external_type_display_name?: string | undefined;
1088
1095
  is_suspended: boolean;
1089
- starts_at?: string | undefined;
1090
- ends_at?: string | undefined;
1091
- is_virtual: boolean;
1096
+ access_schedule?: {
1097
+ starts_at: string;
1098
+ ends_at: string;
1099
+ } | undefined;
1092
1100
  full_name?: string | undefined;
1093
1101
  /** Deprecated: use email_address. */
1094
1102
  email?: string | undefined;
@@ -1128,9 +1136,10 @@ export interface Routes {
1128
1136
  external_type?: ('pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user') | undefined;
1129
1137
  external_type_display_name?: string | undefined;
1130
1138
  is_suspended: boolean;
1131
- starts_at?: string | undefined;
1132
- ends_at?: string | undefined;
1133
- is_virtual: boolean;
1139
+ access_schedule?: {
1140
+ starts_at: string;
1141
+ ends_at: string;
1142
+ } | undefined;
1134
1143
  full_name?: string | undefined;
1135
1144
  /** Deprecated: use email_address. */
1136
1145
  email?: string | undefined;
@@ -1159,9 +1168,10 @@ export interface Routes {
1159
1168
  external_type?: ('pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user') | undefined;
1160
1169
  external_type_display_name?: string | undefined;
1161
1170
  is_suspended: boolean;
1162
- starts_at?: string | undefined;
1163
- ends_at?: string | undefined;
1164
- is_virtual: boolean;
1171
+ access_schedule?: {
1172
+ starts_at: string;
1173
+ ends_at: string;
1174
+ } | undefined;
1165
1175
  full_name?: string | undefined;
1166
1176
  /** Deprecated: use email_address. */
1167
1177
  email?: string | undefined;
@@ -6188,6 +6198,30 @@ export interface Routes {
6188
6198
  };
6189
6199
  };
6190
6200
  };
6201
+ '/user_identities/enrollment_automations/launch': {
6202
+ route: '/user_identities/enrollment_automations/launch';
6203
+ method: 'POST';
6204
+ queryParams: {};
6205
+ jsonBody: {};
6206
+ commonParams: {
6207
+ user_identity_id: string;
6208
+ credential_manager_acs_system_id: string;
6209
+ acs_credential_pool_id?: string | undefined;
6210
+ create_credential_manager_user?: boolean | undefined;
6211
+ credential_manager_acs_user_id?: string | undefined;
6212
+ };
6213
+ formData: {};
6214
+ jsonResponse: {
6215
+ enrollment_automation: {
6216
+ acs_credential_provisioning_automation_id: string;
6217
+ credential_manager_acs_system_id: string;
6218
+ user_identity_id: string;
6219
+ created_at: string;
6220
+ workspace_id: string;
6221
+ enrollment_automation_id: string;
6222
+ };
6223
+ };
6224
+ };
6191
6225
  '/user_identities/get': {
6192
6226
  route: '/user_identities/get';
6193
6227
  method: 'GET' | 'POST';
@@ -6717,9 +6751,10 @@ export interface Routes {
6717
6751
  external_type?: ('pti_user' | 'brivo_user' | 'hid_cm_user' | 'salto_site_user') | undefined;
6718
6752
  external_type_display_name?: string | undefined;
6719
6753
  is_suspended: boolean;
6720
- starts_at?: string | undefined;
6721
- ends_at?: string | undefined;
6722
- is_virtual: boolean;
6754
+ access_schedule?: {
6755
+ starts_at: string;
6756
+ ends_at: string;
6757
+ } | undefined;
6723
6758
  full_name?: string | undefined;
6724
6759
  /** Deprecated: use email_address. */
6725
6760
  email?: string | undefined;
@@ -6,10 +6,10 @@ export declare const unmanaged_access_code: z.ZodObject<{
6
6
  created_at: z.ZodString;
7
7
  access_code_id: z.ZodString;
8
8
  device_id: z.ZodString;
9
- errors: z.ZodAny;
10
- warnings: z.ZodAny;
11
9
  starts_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
10
  ends_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ errors: z.ZodAny;
12
+ warnings: z.ZodAny;
13
13
  is_managed: z.ZodLiteral<false>;
14
14
  status: z.ZodEnum<["set"]>;
15
15
  }, "strip", z.ZodTypeAny, {
@@ -21,10 +21,10 @@ export declare const unmanaged_access_code: z.ZodObject<{
21
21
  access_code_id: string;
22
22
  device_id: string;
23
23
  is_managed: false;
24
- errors?: any;
25
- warnings?: any;
26
24
  starts_at?: string | null | undefined;
27
25
  ends_at?: string | null | undefined;
26
+ errors?: any;
27
+ warnings?: any;
28
28
  }, {
29
29
  type: "time_bound" | "ongoing";
30
30
  code: string | null;
@@ -34,9 +34,9 @@ export declare const unmanaged_access_code: z.ZodObject<{
34
34
  access_code_id: string;
35
35
  device_id: string;
36
36
  is_managed: false;
37
- errors?: any;
38
- warnings?: any;
39
37
  starts_at?: string | null | undefined;
40
38
  ends_at?: string | null | undefined;
39
+ errors?: any;
40
+ warnings?: any;
41
41
  }>;
42
42
  export type UnmanagedAccessCode = z.infer<typeof unmanaged_access_code>;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const acs_credential_external_type: z.ZodEnum<["pti_card", "brivo_credential", "hid_credential"]>;
2
+ export declare const acs_credential_external_type: z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card"]>;
3
3
  export declare const acs_credential_access_method_type: z.ZodEnum<["code", "card", "mobile_key"]>;
4
4
  export type AcsCredentialExternalType = z.infer<typeof acs_credential_external_type>;
5
5
  export declare const acs_credential: z.ZodObject<{
@@ -10,33 +10,33 @@ export declare const acs_credential: z.ZodObject<{
10
10
  display_name: z.ZodString;
11
11
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12
12
  access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
13
- external_type: z.ZodEnum<["pti_card", "brivo_credential", "hid_credential"]>;
14
- external_type_display_name: z.ZodString;
13
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card"]>>;
14
+ external_type_display_name: z.ZodOptional<z.ZodString>;
15
15
  created_at: z.ZodString;
16
16
  workspace_id: z.ZodString;
17
17
  }, "strip", z.ZodTypeAny, {
18
18
  workspace_id: string;
19
19
  created_at: string;
20
20
  acs_system_id: string;
21
- external_type: "pti_card" | "brivo_credential" | "hid_credential";
22
- external_type_display_name: string;
23
21
  display_name: string;
24
22
  acs_credential_id: string;
25
23
  access_method: "code" | "card" | "mobile_key";
26
24
  acs_user_id?: string | undefined;
27
25
  acs_credential_pool_id?: string | undefined;
28
26
  code?: string | null | undefined;
27
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
28
+ external_type_display_name?: string | undefined;
29
29
  }, {
30
30
  workspace_id: string;
31
31
  created_at: string;
32
32
  acs_system_id: string;
33
- external_type: "pti_card" | "brivo_credential" | "hid_credential";
34
- external_type_display_name: string;
35
33
  display_name: string;
36
34
  acs_credential_id: string;
37
35
  access_method: "code" | "card" | "mobile_key";
38
36
  acs_user_id?: string | undefined;
39
37
  acs_credential_pool_id?: string | undefined;
40
38
  code?: string | null | undefined;
39
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
40
+ external_type_display_name?: string | undefined;
41
41
  }>;
42
42
  export type AcsCredential = z.output<typeof acs_credential>;
@@ -3,6 +3,7 @@ export const acs_credential_external_type = z.enum([
3
3
  'pti_card',
4
4
  'brivo_credential',
5
5
  'hid_credential',
6
+ 'visionline_card',
6
7
  ]);
7
8
  export const acs_credential_access_method_type = z.enum([
8
9
  'code',
@@ -17,8 +18,8 @@ export const acs_credential = z.object({
17
18
  display_name: z.string().nonempty(),
18
19
  code: z.string().optional().nullable(),
19
20
  access_method: acs_credential_access_method_type,
20
- external_type: acs_credential_external_type,
21
- external_type_display_name: z.string(),
21
+ external_type: acs_credential_external_type.optional(),
22
+ external_type_display_name: z.string().optional(),
22
23
  created_at: z.string().datetime(),
23
24
  workspace_id: z.string().uuid(),
24
25
  });
@@ -1 +1 @@
1
- {"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;CACjB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,MAAM;IACN,MAAM;IACN,YAAY;CACb,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACzC,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACpD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACtC,aAAa,EAAE,iCAAiC;IAChD,aAAa,EAAE,4BAA4B;IAC3C,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
1
+ {"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;CAClB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,MAAM;IACN,MAAM;IACN,YAAY;CACb,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACzC,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACpD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACtC,aAAa,EAAE,iCAAiC;IAChD,aAAa,EAAE,4BAA4B,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
@@ -10,10 +10,17 @@ export declare const acs_user: z.ZodObject<{
10
10
  acs_user_id: z.ZodString;
11
11
  display_name: z.ZodString;
12
12
  is_suspended: z.ZodBoolean;
13
- is_virtual: z.ZodBoolean;
14
- starts_at: z.ZodOptional<z.ZodString>;
15
- ends_at: z.ZodOptional<z.ZodString>;
16
13
  hid_acs_system_id: z.ZodOptional<z.ZodString>;
14
+ access_schedule: z.ZodOptional<z.ZodObject<{
15
+ starts_at: z.ZodString;
16
+ ends_at: z.ZodString;
17
+ }, "strip", z.ZodTypeAny, {
18
+ starts_at: string;
19
+ ends_at: string;
20
+ }, {
21
+ starts_at: string;
22
+ ends_at: string;
23
+ }>>;
17
24
  full_name: z.ZodOptional<z.ZodString>;
18
25
  email: z.ZodOptional<z.ZodString>;
19
26
  email_address: z.ZodOptional<z.ZodString>;
@@ -25,12 +32,13 @@ export declare const acs_user: z.ZodObject<{
25
32
  acs_user_id: string;
26
33
  display_name: string;
27
34
  is_suspended: boolean;
28
- is_virtual: boolean;
29
35
  external_type?: "pti_user" | "brivo_user" | "hid_cm_user" | "salto_site_user" | undefined;
30
36
  external_type_display_name?: string | undefined;
31
- starts_at?: string | undefined;
32
- ends_at?: string | undefined;
33
37
  hid_acs_system_id?: string | undefined;
38
+ access_schedule?: {
39
+ starts_at: string;
40
+ ends_at: string;
41
+ } | undefined;
34
42
  full_name?: string | undefined;
35
43
  email?: string | undefined;
36
44
  email_address?: string | undefined;
@@ -42,12 +50,13 @@ export declare const acs_user: z.ZodObject<{
42
50
  acs_user_id: string;
43
51
  display_name: string;
44
52
  is_suspended: boolean;
45
- is_virtual: boolean;
46
53
  external_type?: "pti_user" | "brivo_user" | "hid_cm_user" | "salto_site_user" | undefined;
47
54
  external_type_display_name?: string | undefined;
48
- starts_at?: string | undefined;
49
- ends_at?: string | undefined;
50
55
  hid_acs_system_id?: string | undefined;
56
+ access_schedule?: {
57
+ starts_at: string;
58
+ ends_at: string;
59
+ } | undefined;
51
60
  full_name?: string | undefined;
52
61
  email?: string | undefined;
53
62
  email_address?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { schedule } from '../schedule.js';
2
3
  export const acs_user_external_type = z.enum([
3
4
  'pti_user',
4
5
  'brivo_user',
@@ -35,9 +36,7 @@ export const acs_user = z
35
36
  external_type: acs_user_external_type.optional(),
36
37
  external_type_display_name: z.string().optional(),
37
38
  is_suspended: z.boolean(),
38
- starts_at: z.string().datetime().optional(),
39
- ends_at: z.string().datetime().optional(),
40
- is_virtual: z.boolean(),
39
+ access_schedule: schedule.optional(),
41
40
  })
42
41
  .merge(user_fields);
43
42
  //# sourceMappingURL=user.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,aAAa;IACb,iBAAiB;CAClB,CAAC,CAAA;AAIF,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;KAC1B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;IACN,iDAAiD;IACjD,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtC,CAAC,EACD;IACE,OAAO,EAAE,oDAAoD;CAC9D,CACF,CAAA;AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,KAAK,EAAE;SACP,QAAQ,EAAE;SACV,QAAQ,CAAC,gCAAgC,CAAC;IAC7C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IA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AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,KAAK,EAAE;SACP,QAAQ,EAAE;SACV,QAAQ,CAAC,gCAAgC,CAAC;IAC7C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAChD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;IACzB,eAAe,EAAE,QAAQ,CAAC,QAAQ,EAAE;CACrC,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { z } from 'zod';
2
+ export declare const start_end_schedule: z.ZodObject<{
3
+ starts_at: z.ZodString;
4
+ ends_at: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ starts_at: string;
7
+ ends_at: string;
8
+ }, {
9
+ starts_at: string;
10
+ ends_at: string;
11
+ }>;
12
+ export declare const schedule: z.ZodObject<{
13
+ starts_at: z.ZodString;
14
+ ends_at: z.ZodString;
15
+ }, "strip", z.ZodTypeAny, {
16
+ starts_at: string;
17
+ ends_at: string;
18
+ }, {
19
+ starts_at: string;
20
+ ends_at: string;
21
+ }>;
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export const start_end_schedule = z.object({
3
+ starts_at: z.string().datetime(),
4
+ ends_at: z.string().datetime(),
5
+ });
6
+ // export const schedule = z.union([
7
+ // start_end_schedule,
8
+ // daily_schedule,
9
+ // weekly_schedule
10
+ // ])
11
+ export const schedule = start_end_schedule;
12
+ //# sourceMappingURL=schedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAA;AAEF,oCAAoC;AACpC,wBAAwB;AACxB,oBAAoB;AACpB,oBAAoB;AACpB,KAAK;AACL,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAA"}
@@ -2,4 +2,4 @@ import * as schemas from './public-models/index.js';
2
2
  export * from './route-specs.js';
3
3
  export * from './route-types.js';
4
4
  export { schemas };
5
- export type { DeviceCategory, DeviceConnectionType, DeviceModelV1, ImageReference, Manufacturer, ManufacturerIntegrationSupportLevel, } from './public-models/index.js';
5
+ export type { DeviceCategory, DeviceConnectionType, DeviceModelV1, ImageReference, Manufacturer, ManufacturerAnnotationCode, ManufacturerIntegrationSupportLevel, } from './public-models/index.js';
@@ -318,6 +318,16 @@ export declare const base_device_model_v1: z.ZodObject<{
318
318
  is_connect_webview_supported: z.ZodBoolean;
319
319
  requires_seam_support_to_add_account: z.ZodBoolean;
320
320
  device_model_count: z.ZodNumber;
321
+ annotations: z.ZodArray<z.ZodObject<{
322
+ annotation_code: z.ZodEnum<["subscription_required"]>;
323
+ message: z.ZodString;
324
+ }, "strip", z.ZodTypeAny, {
325
+ message: string;
326
+ annotation_code: "subscription_required";
327
+ }, {
328
+ message: string;
329
+ annotation_code: "subscription_required";
330
+ }>, "many">;
321
331
  }, "device_model_count">, "strip", z.ZodTypeAny, {
322
332
  display_name: string;
323
333
  manufacturer_id: string;
@@ -325,6 +335,10 @@ export declare const base_device_model_v1: z.ZodObject<{
325
335
  integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
326
336
  is_connect_webview_supported: boolean;
327
337
  requires_seam_support_to_add_account: boolean;
338
+ annotations: {
339
+ message: string;
340
+ annotation_code: "subscription_required";
341
+ }[];
328
342
  logo?: {
329
343
  height: number;
330
344
  width: number;
@@ -337,6 +351,10 @@ export declare const base_device_model_v1: z.ZodObject<{
337
351
  integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
338
352
  is_connect_webview_supported: boolean;
339
353
  requires_seam_support_to_add_account: boolean;
354
+ annotations: {
355
+ message: string;
356
+ annotation_code: "subscription_required";
357
+ }[];
340
358
  logo?: {
341
359
  height: number;
342
360
  width: number;
@@ -445,6 +463,10 @@ export declare const base_device_model_v1: z.ZodObject<{
445
463
  integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
446
464
  is_connect_webview_supported: boolean;
447
465
  requires_seam_support_to_add_account: boolean;
466
+ annotations: {
467
+ message: string;
468
+ annotation_code: "subscription_required";
469
+ }[];
448
470
  logo?: {
449
471
  height: number;
450
472
  width: number;
@@ -487,6 +509,10 @@ export declare const base_device_model_v1: z.ZodObject<{
487
509
  integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
488
510
  is_connect_webview_supported: boolean;
489
511
  requires_seam_support_to_add_account: boolean;
512
+ annotations: {
513
+ message: string;
514
+ annotation_code: "subscription_required";
515
+ }[];
490
516
  logo?: {
491
517
  height: number;
492
518
  width: number;
@@ -543,6 +569,16 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
543
569
  is_connect_webview_supported: z.ZodBoolean;
544
570
  requires_seam_support_to_add_account: z.ZodBoolean;
545
571
  device_model_count: z.ZodNumber;
572
+ annotations: z.ZodArray<z.ZodObject<{
573
+ annotation_code: z.ZodEnum<["subscription_required"]>;
574
+ message: z.ZodString;
575
+ }, "strip", z.ZodTypeAny, {
576
+ message: string;
577
+ annotation_code: "subscription_required";
578
+ }, {
579
+ message: string;
580
+ annotation_code: "subscription_required";
581
+ }>, "many">;
546
582
  }, "device_model_count">, "strip", z.ZodTypeAny, {
547
583
  display_name: string;
548
584
  manufacturer_id: string;
@@ -550,6 +586,10 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
550
586
  integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
551
587
  is_connect_webview_supported: boolean;
552
588
  requires_seam_support_to_add_account: boolean;
589
+ annotations: {
590
+ message: string;
591
+ annotation_code: "subscription_required";
592
+ }[];
553
593
  logo?: {
554
594
  height: number;
555
595
  width: number;
@@ -562,6 +602,10 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
562
602
  integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
563
603
  is_connect_webview_supported: boolean;
564
604
  requires_seam_support_to_add_account: boolean;
605
+ annotations: {
606
+ message: string;
607
+ annotation_code: "subscription_required";
608
+ }[];
565
609
  logo?: {
566
610
  height: number;
567
611
  width: number;
@@ -670,6 +714,10 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
670
714
  integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
671
715
  is_connect_webview_supported: boolean;
672
716
  requires_seam_support_to_add_account: boolean;
717
+ annotations: {
718
+ message: string;
719
+ annotation_code: "subscription_required";
720
+ }[];
673
721
  logo?: {
674
722
  height: number;
675
723
  width: number;
@@ -712,6 +760,10 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
712
760
  integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
713
761
  is_connect_webview_supported: boolean;
714
762
  requires_seam_support_to_add_account: boolean;
763
+ annotations: {
764
+ message: string;
765
+ annotation_code: "subscription_required";
766
+ }[];
715
767
  logo?: {
716
768
  height: number;
717
769
  width: number;
@@ -1,6 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  export declare const manufacturer_integration_support_level: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
3
3
  export type ManufacturerIntegrationSupportLevel = z.infer<typeof manufacturer_integration_support_level>;
4
+ export declare const manufacturer_annotation_code: z.ZodEnum<["subscription_required"]>;
5
+ export type ManufacturerAnnotationCode = z.infer<typeof manufacturer_annotation_code>;
6
+ export declare const manufacturer_annotation: z.ZodObject<{
7
+ annotation_code: z.ZodEnum<["subscription_required"]>;
8
+ message: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ message: string;
11
+ annotation_code: "subscription_required";
12
+ }, {
13
+ message: string;
14
+ annotation_code: "subscription_required";
15
+ }>;
4
16
  export declare const manufacturer: z.ZodObject<{
5
17
  manufacturer_id: z.ZodString;
6
18
  display_name: z.ZodString;
@@ -23,6 +35,16 @@ export declare const manufacturer: z.ZodObject<{
23
35
  is_connect_webview_supported: z.ZodBoolean;
24
36
  requires_seam_support_to_add_account: z.ZodBoolean;
25
37
  device_model_count: z.ZodNumber;
38
+ annotations: z.ZodArray<z.ZodObject<{
39
+ annotation_code: z.ZodEnum<["subscription_required"]>;
40
+ message: z.ZodString;
41
+ }, "strip", z.ZodTypeAny, {
42
+ message: string;
43
+ annotation_code: "subscription_required";
44
+ }, {
45
+ message: string;
46
+ annotation_code: "subscription_required";
47
+ }>, "many">;
26
48
  }, "strip", z.ZodTypeAny, {
27
49
  display_name: string;
28
50
  manufacturer_id: string;
@@ -31,6 +53,10 @@ export declare const manufacturer: z.ZodObject<{
31
53
  is_connect_webview_supported: boolean;
32
54
  requires_seam_support_to_add_account: boolean;
33
55
  device_model_count: number;
56
+ annotations: {
57
+ message: string;
58
+ annotation_code: "subscription_required";
59
+ }[];
34
60
  logo?: {
35
61
  height: number;
36
62
  width: number;
@@ -44,6 +70,10 @@ export declare const manufacturer: z.ZodObject<{
44
70
  is_connect_webview_supported: boolean;
45
71
  requires_seam_support_to_add_account: boolean;
46
72
  device_model_count: number;
73
+ annotations: {
74
+ message: string;
75
+ annotation_code: "subscription_required";
76
+ }[];
47
77
  logo?: {
48
78
  height: number;
49
79
  width: number;
@@ -7,6 +7,11 @@ export const manufacturer_integration_support_level = z.enum([
7
7
  'unsupported',
8
8
  'inquire',
9
9
  ]);
10
+ export const manufacturer_annotation_code = z.enum(['subscription_required']);
11
+ export const manufacturer_annotation = z.object({
12
+ annotation_code: manufacturer_annotation_code,
13
+ message: z.string().nonempty(),
14
+ });
10
15
  export const manufacturer = z.object({
11
16
  manufacturer_id: z.string().uuid(),
12
17
  display_name: z.string(),
@@ -17,5 +22,6 @@ export const manufacturer = z.object({
17
22
  is_connect_webview_supported: z.boolean(),
18
23
  requires_seam_support_to_add_account: z.boolean(),
19
24
  device_model_count: z.number(),
25
+ annotations: z.array(manufacturer_annotation),
20
26
  });
21
27
  //# sourceMappingURL=manufacturer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"manufacturer.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/public-models/manufacturer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAEtD,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3D,QAAQ;IACR,MAAM;IACN,SAAS;IACT,aAAa;IACb,SAAS;CACV,CAAC,CAAA;A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