@seamapi/types 1.91.2 → 1.92.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 (26) hide show
  1. package/dist/connect.cjs +888 -908
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1196 -1143
  4. package/lib/seam/connect/openapi.d.ts +1103 -1053
  5. package/lib/seam/connect/openapi.js +875 -895
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +102 -99
  8. package/lib/seam/connect/unstable/models/acs/entrance.d.ts +39 -0
  9. package/lib/seam/connect/unstable/models/acs/entrance.js +15 -0
  10. package/lib/seam/connect/unstable/models/acs/entrance.js.map +1 -1
  11. package/lib/seam/connect/unstable/models/capability-properties/index.d.ts +6 -6
  12. package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +95 -125
  13. package/lib/seam/connect/unstable/models/devices/managed-device.js +1 -1
  14. package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
  15. package/lib/seam/connect/unstable/models/devices/phone-properties.d.ts +35 -57
  16. package/lib/seam/connect/unstable/models/devices/phone-properties.js +9 -11
  17. package/lib/seam/connect/unstable/models/devices/phone-properties.js.map +1 -1
  18. package/lib/seam/connect/unstable/models/devices/phone.js +1 -1
  19. package/lib/seam/connect/unstable/models/devices/phone.js.map +1 -1
  20. package/package.json +1 -1
  21. package/src/lib/seam/connect/openapi.ts +878 -899
  22. package/src/lib/seam/connect/route-types.ts +153 -135
  23. package/src/lib/seam/connect/unstable/models/acs/entrance.ts +17 -0
  24. package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +1 -1
  25. package/src/lib/seam/connect/unstable/models/devices/phone-properties.ts +11 -13
  26. package/src/lib/seam/connect/unstable/models/devices/phone.ts +1 -1
@@ -992,6 +992,13 @@ export interface Routes {
992
992
  display_name: string;
993
993
  acs_system_id: string;
994
994
  created_at: string;
995
+ visionline_metadata: {
996
+ door_name: string;
997
+ profiles?: Array<{
998
+ visionline_door_profile_id: string;
999
+ visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
1000
+ }> | undefined;
1001
+ } | null;
995
1002
  };
996
1003
  };
997
1004
  };
@@ -1023,6 +1030,13 @@ export interface Routes {
1023
1030
  display_name: string;
1024
1031
  acs_system_id: string;
1025
1032
  created_at: string;
1033
+ visionline_metadata: {
1034
+ door_name: string;
1035
+ profiles?: Array<{
1036
+ visionline_door_profile_id: string;
1037
+ visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
1038
+ }> | undefined;
1039
+ } | null;
1026
1040
  }>;
1027
1041
  };
1028
1042
  };
@@ -1233,6 +1247,13 @@ export interface Routes {
1233
1247
  display_name: string;
1234
1248
  acs_system_id: string;
1235
1249
  created_at: string;
1250
+ visionline_metadata: {
1251
+ door_name: string;
1252
+ profiles?: Array<{
1253
+ visionline_door_profile_id: string;
1254
+ visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
1255
+ }> | undefined;
1256
+ } | null;
1236
1257
  }>;
1237
1258
  };
1238
1259
  };
@@ -1811,6 +1832,14 @@ export interface Routes {
1811
1832
  /** Deprecated. Use offline_access_codes_enabled. */
1812
1833
  supports_offline_access_codes?: boolean | undefined;
1813
1834
  } & {
1835
+ assa_abloy_credential_service_metadata?: ({
1836
+ has_active_endpoint: boolean;
1837
+ endpoints: Array<{
1838
+ endpoint_id: string;
1839
+ is_active: boolean;
1840
+ }>;
1841
+ } | undefined) | undefined;
1842
+ }) & {
1814
1843
  august_metadata?: {
1815
1844
  lock_id: string;
1816
1845
  lock_name: string;
@@ -2177,17 +2206,7 @@ export interface Routes {
2177
2206
  min_cooling_set_point_fahrenheit?: number | undefined;
2178
2207
  max_cooling_set_point_celsius?: number | undefined;
2179
2208
  max_cooling_set_point_fahrenheit?: number | undefined;
2180
- }))) & {
2181
- properties?: {
2182
- assa_abloy_credential_service_metadata?: {
2183
- has_active_endpoint: boolean;
2184
- endpoints: Array<{
2185
- endpoint_id: string;
2186
- is_active: boolean;
2187
- }>;
2188
- } | undefined;
2189
- } | undefined;
2190
- };
2209
+ }));
2191
2210
  /** Location information for the device. */
2192
2211
  location: {
2193
2212
  /** Name of the device location. */
@@ -2289,6 +2308,14 @@ export interface Routes {
2289
2308
  /** Deprecated. Use offline_access_codes_enabled. */
2290
2309
  supports_offline_access_codes?: boolean | undefined;
2291
2310
  } & {
2311
+ assa_abloy_credential_service_metadata?: ({
2312
+ has_active_endpoint: boolean;
2313
+ endpoints: Array<{
2314
+ endpoint_id: string;
2315
+ is_active: boolean;
2316
+ }>;
2317
+ } | undefined) | undefined;
2318
+ }) & {
2292
2319
  august_metadata?: {
2293
2320
  lock_id: string;
2294
2321
  lock_name: string;
@@ -2655,17 +2682,7 @@ export interface Routes {
2655
2682
  min_cooling_set_point_fahrenheit?: number | undefined;
2656
2683
  max_cooling_set_point_celsius?: number | undefined;
2657
2684
  max_cooling_set_point_fahrenheit?: number | undefined;
2658
- }))) & {
2659
- properties?: {
2660
- assa_abloy_credential_service_metadata?: {
2661
- has_active_endpoint: boolean;
2662
- endpoints: Array<{
2663
- endpoint_id: string;
2664
- is_active: boolean;
2665
- }>;
2666
- } | undefined;
2667
- } | undefined;
2668
- };
2685
+ }));
2669
2686
  /** Location information for the device. */
2670
2687
  location: {
2671
2688
  /** Name of the device location. */
@@ -3086,6 +3103,14 @@ export interface Routes {
3086
3103
  /** Deprecated. Use offline_access_codes_enabled. */
3087
3104
  supports_offline_access_codes?: boolean | undefined;
3088
3105
  } & {
3106
+ assa_abloy_credential_service_metadata?: ({
3107
+ has_active_endpoint: boolean;
3108
+ endpoints: Array<{
3109
+ endpoint_id: string;
3110
+ is_active: boolean;
3111
+ }>;
3112
+ } | undefined) | undefined;
3113
+ }) & {
3089
3114
  august_metadata?: {
3090
3115
  lock_id: string;
3091
3116
  lock_name: string;
@@ -3452,17 +3477,7 @@ export interface Routes {
3452
3477
  min_cooling_set_point_fahrenheit?: number | undefined;
3453
3478
  max_cooling_set_point_celsius?: number | undefined;
3454
3479
  max_cooling_set_point_fahrenheit?: number | undefined;
3455
- }))) & {
3456
- properties?: {
3457
- assa_abloy_credential_service_metadata?: {
3458
- has_active_endpoint: boolean;
3459
- endpoints: Array<{
3460
- endpoint_id: string;
3461
- is_active: boolean;
3462
- }>;
3463
- } | undefined;
3464
- } | undefined;
3465
- };
3480
+ }));
3466
3481
  /** Location information for the device. */
3467
3482
  location: {
3468
3483
  /** Name of the device location. */
@@ -3541,6 +3556,14 @@ export interface Routes {
3541
3556
  /** Deprecated. Use offline_access_codes_enabled. */
3542
3557
  supports_offline_access_codes?: boolean | undefined;
3543
3558
  } & {
3559
+ assa_abloy_credential_service_metadata?: ({
3560
+ has_active_endpoint: boolean;
3561
+ endpoints: Array<{
3562
+ endpoint_id: string;
3563
+ is_active: boolean;
3564
+ }>;
3565
+ } | undefined) | undefined;
3566
+ }) & {
3544
3567
  august_metadata?: {
3545
3568
  lock_id: string;
3546
3569
  lock_name: string;
@@ -3907,17 +3930,7 @@ export interface Routes {
3907
3930
  min_cooling_set_point_fahrenheit?: number | undefined;
3908
3931
  max_cooling_set_point_celsius?: number | undefined;
3909
3932
  max_cooling_set_point_fahrenheit?: number | undefined;
3910
- }))) & {
3911
- properties?: {
3912
- assa_abloy_credential_service_metadata?: {
3913
- has_active_endpoint: boolean;
3914
- endpoints: Array<{
3915
- endpoint_id: string;
3916
- is_active: boolean;
3917
- }>;
3918
- } | undefined;
3919
- } | undefined;
3920
- };
3933
+ }));
3921
3934
  /** Location information for the device. */
3922
3935
  location: {
3923
3936
  /** Name of the device location. */
@@ -4019,6 +4032,14 @@ export interface Routes {
4019
4032
  /** Deprecated. Use offline_access_codes_enabled. */
4020
4033
  supports_offline_access_codes?: boolean | undefined;
4021
4034
  } & {
4035
+ assa_abloy_credential_service_metadata?: ({
4036
+ has_active_endpoint: boolean;
4037
+ endpoints: Array<{
4038
+ endpoint_id: string;
4039
+ is_active: boolean;
4040
+ }>;
4041
+ } | undefined) | undefined;
4042
+ }) & {
4022
4043
  august_metadata?: {
4023
4044
  lock_id: string;
4024
4045
  lock_name: string;
@@ -4385,17 +4406,7 @@ export interface Routes {
4385
4406
  min_cooling_set_point_fahrenheit?: number | undefined;
4386
4407
  max_cooling_set_point_celsius?: number | undefined;
4387
4408
  max_cooling_set_point_fahrenheit?: number | undefined;
4388
- }))) & {
4389
- properties?: {
4390
- assa_abloy_credential_service_metadata?: {
4391
- has_active_endpoint: boolean;
4392
- endpoints: Array<{
4393
- endpoint_id: string;
4394
- is_active: boolean;
4395
- }>;
4396
- } | undefined;
4397
- } | undefined;
4398
- };
4409
+ }));
4399
4410
  /** Location information for the device. */
4400
4411
  location: {
4401
4412
  /** Name of the device location. */
@@ -4474,6 +4485,14 @@ export interface Routes {
4474
4485
  /** Deprecated. Use offline_access_codes_enabled. */
4475
4486
  supports_offline_access_codes?: boolean | undefined;
4476
4487
  } & {
4488
+ assa_abloy_credential_service_metadata?: ({
4489
+ has_active_endpoint: boolean;
4490
+ endpoints: Array<{
4491
+ endpoint_id: string;
4492
+ is_active: boolean;
4493
+ }>;
4494
+ } | undefined) | undefined;
4495
+ }) & {
4477
4496
  august_metadata?: {
4478
4497
  lock_id: string;
4479
4498
  lock_name: string;
@@ -4840,17 +4859,7 @@ export interface Routes {
4840
4859
  min_cooling_set_point_fahrenheit?: number | undefined;
4841
4860
  max_cooling_set_point_celsius?: number | undefined;
4842
4861
  max_cooling_set_point_fahrenheit?: number | undefined;
4843
- }))) & {
4844
- properties?: {
4845
- assa_abloy_credential_service_metadata?: {
4846
- has_active_endpoint: boolean;
4847
- endpoints: Array<{
4848
- endpoint_id: string;
4849
- is_active: boolean;
4850
- }>;
4851
- } | undefined;
4852
- } | undefined;
4853
- };
4862
+ }));
4854
4863
  /** Location information for the device. */
4855
4864
  location: {
4856
4865
  /** Name of the device location. */
@@ -5521,6 +5530,14 @@ export interface Routes {
5521
5530
  /** Deprecated. Use offline_access_codes_enabled. */
5522
5531
  supports_offline_access_codes?: boolean | undefined;
5523
5532
  } & {
5533
+ assa_abloy_credential_service_metadata?: ({
5534
+ has_active_endpoint: boolean;
5535
+ endpoints: Array<{
5536
+ endpoint_id: string;
5537
+ is_active: boolean;
5538
+ }>;
5539
+ } | undefined) | undefined;
5540
+ }) & {
5524
5541
  august_metadata?: {
5525
5542
  lock_id: string;
5526
5543
  lock_name: string;
@@ -5887,17 +5904,7 @@ export interface Routes {
5887
5904
  min_cooling_set_point_fahrenheit?: number | undefined;
5888
5905
  max_cooling_set_point_celsius?: number | undefined;
5889
5906
  max_cooling_set_point_fahrenheit?: number | undefined;
5890
- }))) & {
5891
- properties?: {
5892
- assa_abloy_credential_service_metadata?: {
5893
- has_active_endpoint: boolean;
5894
- endpoints: Array<{
5895
- endpoint_id: string;
5896
- is_active: boolean;
5897
- }>;
5898
- } | undefined;
5899
- } | undefined;
5900
- };
5907
+ }));
5901
5908
  /** Location information for the device. */
5902
5909
  location: {
5903
5910
  /** Name of the device location. */
@@ -6029,6 +6036,14 @@ export interface Routes {
6029
6036
  /** Deprecated. Use offline_access_codes_enabled. */
6030
6037
  supports_offline_access_codes?: boolean | undefined;
6031
6038
  } & {
6039
+ assa_abloy_credential_service_metadata?: ({
6040
+ has_active_endpoint: boolean;
6041
+ endpoints: Array<{
6042
+ endpoint_id: string;
6043
+ is_active: boolean;
6044
+ }>;
6045
+ } | undefined) | undefined;
6046
+ }) & {
6032
6047
  august_metadata?: {
6033
6048
  lock_id: string;
6034
6049
  lock_name: string;
@@ -6395,17 +6410,7 @@ export interface Routes {
6395
6410
  min_cooling_set_point_fahrenheit?: number | undefined;
6396
6411
  max_cooling_set_point_celsius?: number | undefined;
6397
6412
  max_cooling_set_point_fahrenheit?: number | undefined;
6398
- }))) & {
6399
- properties?: {
6400
- assa_abloy_credential_service_metadata?: {
6401
- has_active_endpoint: boolean;
6402
- endpoints: Array<{
6403
- endpoint_id: string;
6404
- is_active: boolean;
6405
- }>;
6406
- } | undefined;
6407
- } | undefined;
6408
- };
6413
+ }));
6409
6414
  /** Location information for the device. */
6410
6415
  location: {
6411
6416
  /** Name of the device location. */
@@ -6698,6 +6703,14 @@ export interface Routes {
6698
6703
  /** Deprecated. Use offline_access_codes_enabled. */
6699
6704
  supports_offline_access_codes?: boolean | undefined;
6700
6705
  } & {
6706
+ assa_abloy_credential_service_metadata?: ({
6707
+ has_active_endpoint: boolean;
6708
+ endpoints: Array<{
6709
+ endpoint_id: string;
6710
+ is_active: boolean;
6711
+ }>;
6712
+ } | undefined) | undefined;
6713
+ }) & {
6701
6714
  august_metadata?: {
6702
6715
  lock_id: string;
6703
6716
  lock_name: string;
@@ -7064,17 +7077,7 @@ export interface Routes {
7064
7077
  min_cooling_set_point_fahrenheit?: number | undefined;
7065
7078
  max_cooling_set_point_celsius?: number | undefined;
7066
7079
  max_cooling_set_point_fahrenheit?: number | undefined;
7067
- }))) & {
7068
- properties?: {
7069
- assa_abloy_credential_service_metadata?: {
7070
- has_active_endpoint: boolean;
7071
- endpoints: Array<{
7072
- endpoint_id: string;
7073
- is_active: boolean;
7074
- }>;
7075
- } | undefined;
7076
- } | undefined;
7077
- };
7080
+ }));
7078
7081
  /** Location information for the device. */
7079
7082
  location: {
7080
7083
  /** Name of the device location. */
@@ -4,15 +4,54 @@ export declare const acs_entrance: z.ZodObject<{
4
4
  display_name: z.ZodString;
5
5
  acs_system_id: z.ZodString;
6
6
  created_at: z.ZodString;
7
+ visionline_metadata: z.ZodNullable<z.ZodObject<{
8
+ door_name: z.ZodString;
9
+ profiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
10
+ visionline_door_profile_id: z.ZodString;
11
+ visionline_door_profile_type: z.ZodEnum<["BLE", "commonDoor", "touch"]>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ visionline_door_profile_id: string;
14
+ visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
15
+ }, {
16
+ visionline_door_profile_id: string;
17
+ visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
18
+ }>, "many">>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ door_name: string;
21
+ profiles?: {
22
+ visionline_door_profile_id: string;
23
+ visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
24
+ }[] | undefined;
25
+ }, {
26
+ door_name: string;
27
+ profiles?: {
28
+ visionline_door_profile_id: string;
29
+ visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
30
+ }[] | undefined;
31
+ }>>;
7
32
  }, "strip", z.ZodTypeAny, {
8
33
  created_at: string;
9
34
  acs_system_id: string;
10
35
  display_name: string;
11
36
  acs_entrance_id: string;
37
+ visionline_metadata: {
38
+ door_name: string;
39
+ profiles?: {
40
+ visionline_door_profile_id: string;
41
+ visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
42
+ }[] | undefined;
43
+ } | null;
12
44
  }, {
13
45
  created_at: string;
14
46
  acs_system_id: string;
15
47
  display_name: string;
16
48
  acs_entrance_id: string;
49
+ visionline_metadata: {
50
+ door_name: string;
51
+ profiles?: {
52
+ visionline_door_profile_id: string;
53
+ visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
54
+ }[] | undefined;
55
+ } | null;
17
56
  }>;
18
57
  export type AcsEntrance = z.infer<typeof acs_entrance>;
@@ -4,5 +4,20 @@ export const acs_entrance = z.object({
4
4
  display_name: z.string(),
5
5
  acs_system_id: z.string().uuid(),
6
6
  created_at: z.string().datetime(),
7
+ visionline_metadata: z
8
+ .object({
9
+ door_name: z.string(),
10
+ profiles: z
11
+ .array(z.object({
12
+ visionline_door_profile_id: z.string(),
13
+ visionline_door_profile_type: z.enum([
14
+ 'BLE',
15
+ 'commonDoor',
16
+ 'touch',
17
+ ]),
18
+ }))
19
+ .optional(),
20
+ })
21
+ .nullable(),
7
22
  });
8
23
  //# sourceMappingURL=entrance.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"entrance.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA"}
1
+ {"version":3,"file":"entrance.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,mBAAmB,EAAE,CAAC;SACnB,MAAM,CAAC;QACN,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;QACrB,QAAQ,EAAE,CAAC;aACR,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;YACP,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;YACtC,4BAA4B,EAAE,CAAC,CAAC,IAAI,CAAC;gBACnC,KAAK;gBACL,YAAY;gBACZ,OAAO;aACR,CAAC;SACH,CAAC,CACH;aACA,QAAQ,EAAE;KACd,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAA"}
@@ -24,10 +24,10 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
24
24
  min_length?: number | undefined;
25
25
  max_length?: number | undefined;
26
26
  }>]>, "many">>>;
27
- has_native_entry_events: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
28
- max_active_codes_supported: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
29
27
  supported_code_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
28
+ max_active_codes_supported: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
30
29
  supports_backup_access_code_pool: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
30
+ has_native_entry_events: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
31
31
  locked: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
32
32
  keypad_battery: z.ZodOptional<z.ZodOptional<z.ZodObject<{
33
33
  level: z.ZodNumber;
@@ -46,10 +46,10 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
46
46
  min_length?: number | undefined;
47
47
  max_length?: number | undefined;
48
48
  })[] | undefined;
49
- has_native_entry_events?: boolean | undefined;
50
- max_active_codes_supported?: number | undefined;
51
49
  supported_code_lengths?: number[] | undefined;
50
+ max_active_codes_supported?: number | undefined;
52
51
  supports_backup_access_code_pool?: boolean | undefined;
52
+ has_native_entry_events?: boolean | undefined;
53
53
  locked?: boolean | undefined;
54
54
  keypad_battery?: {
55
55
  level: number;
@@ -64,10 +64,10 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
64
64
  min_length?: number | undefined;
65
65
  max_length?: number | undefined;
66
66
  })[] | undefined;
67
- has_native_entry_events?: boolean | undefined;
68
- max_active_codes_supported?: number | undefined;
69
67
  supported_code_lengths?: number[] | undefined;
68
+ max_active_codes_supported?: number | undefined;
70
69
  supports_backup_access_code_pool?: boolean | undefined;
70
+ has_native_entry_events?: boolean | undefined;
71
71
  locked?: boolean | undefined;
72
72
  keypad_battery?: {
73
73
  level: number;