@seamapi/types 1.133.0 → 1.134.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.
@@ -2052,6 +2052,7 @@ export declare const managed_device: z.ZodObject<{
2052
2052
  nickname: z.ZodOptional<z.ZodString>;
2053
2053
  can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
2054
2054
  can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
2055
+ can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
2055
2056
  can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
2056
2057
  }, "strip", z.ZodTypeAny, {
2057
2058
  location: {
@@ -2901,6 +2902,7 @@ export declare const managed_device: z.ZodObject<{
2901
2902
  nickname?: string | undefined;
2902
2903
  can_remotely_unlock?: boolean | undefined;
2903
2904
  can_remotely_lock?: boolean | undefined;
2905
+ can_program_offline_access_codes?: boolean | undefined;
2904
2906
  can_program_online_access_codes?: boolean | undefined;
2905
2907
  }, {
2906
2908
  location: {
@@ -3750,6 +3752,7 @@ export declare const managed_device: z.ZodObject<{
3750
3752
  nickname?: string | undefined;
3751
3753
  can_remotely_unlock?: boolean | undefined;
3752
3754
  can_remotely_lock?: boolean | undefined;
3755
+ can_program_offline_access_codes?: boolean | undefined;
3753
3756
  can_program_online_access_codes?: boolean | undefined;
3754
3757
  }>;
3755
3758
  export type ManagedDevice = z.infer<typeof managed_device>;
@@ -41,6 +41,7 @@ export declare const phone: z.ZodObject<{
41
41
  }>, "many">;
42
42
  can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
43
43
  can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
44
+ can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
44
45
  can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
45
46
  nickname: z.ZodOptional<z.ZodString>;
46
47
  properties: z.ZodObject<{
@@ -118,6 +119,7 @@ export declare const phone: z.ZodObject<{
118
119
  custom_metadata?: Record<string, string | boolean | null> | undefined;
119
120
  can_remotely_unlock?: boolean | undefined;
120
121
  can_remotely_lock?: boolean | undefined;
122
+ can_program_offline_access_codes?: boolean | undefined;
121
123
  can_program_online_access_codes?: boolean | undefined;
122
124
  nickname?: string | undefined;
123
125
  }, {
@@ -152,6 +154,7 @@ export declare const phone: z.ZodObject<{
152
154
  custom_metadata?: Record<string, string | boolean | null> | undefined;
153
155
  can_remotely_unlock?: boolean | undefined;
154
156
  can_remotely_lock?: boolean | undefined;
157
+ can_program_offline_access_codes?: boolean | undefined;
155
158
  can_program_online_access_codes?: boolean | undefined;
156
159
  nickname?: string | undefined;
157
160
  }>;
@@ -119,6 +119,7 @@ export declare const unmanaged_device: z.ZodObject<{
119
119
  }>, "many">;
120
120
  can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
121
121
  can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
122
+ can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
122
123
  can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
123
124
  }, "strip", z.ZodTypeAny, {
124
125
  connected_account_id: string;
@@ -159,6 +160,7 @@ export declare const unmanaged_device: z.ZodObject<{
159
160
  }[];
160
161
  can_remotely_unlock?: boolean | undefined;
161
162
  can_remotely_lock?: boolean | undefined;
163
+ can_program_offline_access_codes?: boolean | undefined;
162
164
  can_program_online_access_codes?: boolean | undefined;
163
165
  }, {
164
166
  connected_account_id: string;
@@ -199,6 +201,7 @@ export declare const unmanaged_device: z.ZodObject<{
199
201
  }[];
200
202
  can_remotely_unlock?: boolean | undefined;
201
203
  can_remotely_lock?: boolean | undefined;
204
+ can_program_offline_access_codes?: boolean | undefined;
202
205
  can_program_online_access_codes?: boolean | undefined;
203
206
  }>;
204
207
  export type UnmanagedDevice = z.infer<typeof unmanaged_device>;
@@ -2,26 +2,32 @@ import { z } from 'zod';
2
2
  export declare const device_capability_flags: z.ZodObject<{
3
3
  can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
4
4
  can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
5
+ can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
5
6
  can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
6
7
  }, "strip", z.ZodTypeAny, {
7
8
  can_remotely_unlock?: boolean | undefined;
8
9
  can_remotely_lock?: boolean | undefined;
10
+ can_program_offline_access_codes?: boolean | undefined;
9
11
  can_program_online_access_codes?: boolean | undefined;
10
12
  }, {
11
13
  can_remotely_unlock?: boolean | undefined;
12
14
  can_remotely_lock?: boolean | undefined;
15
+ can_program_offline_access_codes?: boolean | undefined;
13
16
  can_program_online_access_codes?: boolean | undefined;
14
17
  }>;
15
18
  export declare const device_model_capability_flags: z.ZodObject<{
16
19
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
17
20
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
21
+ can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
18
22
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
19
23
  }, "strip", z.ZodTypeAny, {
20
24
  can_remotely_unlock?: true | undefined;
21
25
  can_remotely_lock?: true | undefined;
26
+ can_program_offline_access_codes?: true | undefined;
22
27
  can_program_online_access_codes?: true | undefined;
23
28
  }, {
24
29
  can_remotely_unlock?: true | undefined;
25
30
  can_remotely_lock?: true | undefined;
31
+ can_program_offline_access_codes?: true | undefined;
26
32
  can_program_online_access_codes?: true | undefined;
27
33
  }>;
@@ -3,12 +3,14 @@ export const device_capability_flags = z
3
3
  .object({
4
4
  can_remotely_unlock: z.boolean(),
5
5
  can_remotely_lock: z.boolean(),
6
+ can_program_offline_access_codes: z.boolean(),
6
7
  can_program_online_access_codes: z.boolean(),
7
8
  })
8
9
  .partial();
9
10
  const device_model_capability_flags_map = {
10
11
  can_remotely_lock: z.literal(true),
11
12
  can_remotely_unlock: z.literal(true),
13
+ can_program_offline_access_codes: z.literal(true),
12
14
  can_program_online_access_codes: z.literal(true),
13
15
  };
14
16
  export const device_model_capability_flags = z
@@ -1 +1 @@
1
- {"version":3,"file":"device-capability.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/models/device-capability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAmB,MAAM,KAAK,CAAA;AAExC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC9B,+BAA+B,EAAE,CAAC,CAAC,OAAO,EAAE;CAC7C,CAAC;KACD,OAAO,EAAE,CAAA;AAEZ,MAAM,iCAAiC,GAGnC;IACF,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAClC,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACpC,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CACjD,CAAA;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC,iCAAiC,CAAC;KACzC,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"device-capability.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/models/device-capability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAmB,MAAM,KAAK,CAAA;AAExC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC9B,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7C,+BAA+B,EAAE,CAAC,CAAC,OAAO,EAAE;CAC7C,CAAC;KACD,OAAO,EAAE,CAAA;AAEZ,MAAM,iCAAiC,GAGnC;IACF,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAClC,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACpC,gCAAgC,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACjD,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CACjD,CAAA;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC,iCAAiC,CAAC;KACzC,OAAO,EAAE,CAAA"}
@@ -100,6 +100,7 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
100
100
  }>;
101
101
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
102
102
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
103
+ can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
103
104
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
104
105
  }, "strip", z.ZodTypeAny, {
105
106
  main_category: "smartlock";
@@ -116,6 +117,7 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
116
117
  };
117
118
  can_remotely_unlock?: true | undefined;
118
119
  can_remotely_lock?: true | undefined;
120
+ can_program_offline_access_codes?: true | undefined;
119
121
  can_program_online_access_codes?: true | undefined;
120
122
  }, {
121
123
  main_category: "smartlock";
@@ -132,6 +134,7 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
132
134
  };
133
135
  can_remotely_unlock?: true | undefined;
134
136
  can_remotely_lock?: true | undefined;
137
+ can_program_offline_access_codes?: true | undefined;
135
138
  can_program_online_access_codes?: true | undefined;
136
139
  }>, z.ZodObject<{
137
140
  main_category: z.ZodLiteral<"sensor">;
@@ -863,6 +866,7 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
863
866
  }>;
864
867
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
865
868
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
869
+ can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
866
870
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
867
871
  }, "strip", z.ZodTypeAny, {
868
872
  main_category: "smartlock";
@@ -879,6 +883,7 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
879
883
  };
880
884
  can_remotely_unlock?: true | undefined;
881
885
  can_remotely_lock?: true | undefined;
886
+ can_program_offline_access_codes?: true | undefined;
882
887
  can_program_online_access_codes?: true | undefined;
883
888
  }, {
884
889
  main_category: "smartlock";
@@ -895,6 +900,7 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
895
900
  };
896
901
  can_remotely_unlock?: true | undefined;
897
902
  can_remotely_lock?: true | undefined;
903
+ can_program_offline_access_codes?: true | undefined;
898
904
  can_program_online_access_codes?: true | undefined;
899
905
  }>, z.ZodObject<{
900
906
  main_category: z.ZodLiteral<"sensor">;
@@ -44,6 +44,7 @@ const smartlock = z
44
44
  .merge(device_model_capability_flags.pick({
45
45
  can_remotely_lock: true,
46
46
  can_remotely_unlock: true,
47
+ can_program_offline_access_codes: true,
47
48
  can_program_online_access_codes: true,
48
49
  }));
49
50
  const sensor = z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"device-model.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/models/device-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAA;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC;IACpC,WAAW;IACX,QAAQ;IACR,YAAY;IACZ,OAAO;IACP,UAAU;IACV,WAAW;CACZ,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,sBAAsB,GAAG,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AC,CAAC,MAAM,EAAE;QAChB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACxC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACvC,WAAW,EAAE,eAAe,CAAC,QAAQ,EAAE;QACvC,UAAU,EAAE,eAAe,CAAC,QAAQ,EAAE;QACtC,MAAM,EAAE,eAAe,CAAC,KAAK,EAAE;KAChC,CAAC;SACD,KAAK,EAAE;IACV,aAAa,EAAE,CAAC;SACb,IAAI,CAAC;QACJ,SAAS;QACT,WAAW;QACX,uBAAuB;QACvB,UAAU;QACV,UAAU;KACX,CAAC;SACD,KAAK,EAAE;CACX,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,eAAe,GAAG,oBAAoB,CAAC,GAAG,CACrD,yCAAyC,CAC1C,CAAA"}
1
+ {"version":3,"file":"device-model.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/models/device-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAA;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC;IACpC,WAAW;IACX,QAAQ;IACR,YAAY;IACZ,OAAO;IACP,UAAU;IACV,WAAW;CACZ,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;CACV,CAAC,CAAA;AAIF,MAAM,SAAS,GAAG,CAAC;KAChB,MAAM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EAAE,CAAC,QAAQ,EAAE;QACxC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACvC,WAAW,EAAE,eAAe,CAAC,QAAQ,EAAE;QACvC,UAAU,EAAE,eAAe,CAAC,QAAQ,EAAE;QACtC,MAAM,EAAE,eAAe,CAAC,KAAK,EAAE;KAChC,CAAC;SACD,KAAK,EAAE;IACV,aAAa,EAAE,CAAC;SACb,IAAI,CAAC;QACJ,SAAS;QACT,WAAW;QACX,uBAAuB;QACvB,UAAU;QACV,UAAU;KACX,CAAC;SACD,KAAK,EAAE;CACX,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,eAAe,GAAG,oBAAoB,CAAC,GAAG,CACrD,yCAAyC,CAC1C,CAAA"}
@@ -306,6 +306,7 @@ export declare const routes: {
306
306
  }>;
307
307
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
308
308
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
309
+ can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
309
310
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
310
311
  }, "strip", z.ZodTypeAny, {
311
312
  main_category: "smartlock";
@@ -322,6 +323,7 @@ export declare const routes: {
322
323
  };
323
324
  can_remotely_unlock?: true | undefined;
324
325
  can_remotely_lock?: true | undefined;
326
+ can_program_offline_access_codes?: true | undefined;
325
327
  can_program_online_access_codes?: true | undefined;
326
328
  }, {
327
329
  main_category: "smartlock";
@@ -338,6 +340,7 @@ export declare const routes: {
338
340
  };
339
341
  can_remotely_unlock?: true | undefined;
340
342
  can_remotely_lock?: true | undefined;
343
+ can_program_offline_access_codes?: true | undefined;
341
344
  can_program_online_access_codes?: true | undefined;
342
345
  }>, z.ZodObject<{
343
346
  main_category: z.ZodLiteral<"sensor">;
@@ -575,6 +578,7 @@ export declare const routes: {
575
578
  };
576
579
  can_remotely_unlock?: true | undefined;
577
580
  can_remotely_lock?: true | undefined;
581
+ can_program_offline_access_codes?: true | undefined;
578
582
  can_program_online_access_codes?: true | undefined;
579
583
  }) | ({
580
584
  description: string;
@@ -927,6 +931,7 @@ export declare const routes: {
927
931
  };
928
932
  can_remotely_unlock?: true | undefined;
929
933
  can_remotely_lock?: true | undefined;
934
+ can_program_offline_access_codes?: true | undefined;
930
935
  can_program_online_access_codes?: true | undefined;
931
936
  }) | ({
932
937
  description: string;
@@ -1544,6 +1549,7 @@ export declare const routes: {
1544
1549
  }>;
1545
1550
  can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
1546
1551
  can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
1552
+ can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1547
1553
  can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1548
1554
  }, "strip", z.ZodTypeAny, {
1549
1555
  main_category: "smartlock";
@@ -1560,6 +1566,7 @@ export declare const routes: {
1560
1566
  };
1561
1567
  can_remotely_unlock?: true | undefined;
1562
1568
  can_remotely_lock?: true | undefined;
1569
+ can_program_offline_access_codes?: true | undefined;
1563
1570
  can_program_online_access_codes?: true | undefined;
1564
1571
  }, {
1565
1572
  main_category: "smartlock";
@@ -1576,6 +1583,7 @@ export declare const routes: {
1576
1583
  };
1577
1584
  can_remotely_unlock?: true | undefined;
1578
1585
  can_remotely_lock?: true | undefined;
1586
+ can_program_offline_access_codes?: true | undefined;
1579
1587
  can_program_online_access_codes?: true | undefined;
1580
1588
  }>, z.ZodObject<{
1581
1589
  main_category: z.ZodLiteral<"sensor">;
@@ -1813,6 +1821,7 @@ export declare const routes: {
1813
1821
  };
1814
1822
  can_remotely_unlock?: true | undefined;
1815
1823
  can_remotely_lock?: true | undefined;
1824
+ can_program_offline_access_codes?: true | undefined;
1816
1825
  can_program_online_access_codes?: true | undefined;
1817
1826
  } | {
1818
1827
  main_category: "sensor";
@@ -1920,6 +1929,7 @@ export declare const routes: {
1920
1929
  };
1921
1930
  can_remotely_unlock?: true | undefined;
1922
1931
  can_remotely_lock?: true | undefined;
1932
+ can_program_offline_access_codes?: true | undefined;
1923
1933
  can_program_online_access_codes?: true | undefined;
1924
1934
  } | {
1925
1935
  main_category: "sensor";
@@ -73,6 +73,7 @@ export interface Routes {
73
73
  };
74
74
  can_remotely_lock?: true | undefined;
75
75
  can_remotely_unlock?: true | undefined;
76
+ can_program_offline_access_codes?: true | undefined;
76
77
  can_program_online_access_codes?: true | undefined;
77
78
  } | {
78
79
  main_category: 'sensor';
@@ -198,6 +199,7 @@ export interface Routes {
198
199
  };
199
200
  can_remotely_lock?: true | undefined;
200
201
  can_remotely_unlock?: true | undefined;
202
+ can_program_offline_access_codes?: true | undefined;
201
203
  can_program_online_access_codes?: true | undefined;
202
204
  } | {
203
205
  main_category: 'sensor';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.133.0",
3
+ "version": "1.134.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -9146,9 +9146,10 @@ export default {
9146
9146
  401: { description: 'Unauthorized' },
9147
9147
  },
9148
9148
  security: [
9149
- { access_token: [], seam_workspace: [] },
9150
- { seam_client_session_token: [] },
9151
- { client_session_token: [] },
9149
+ { client_session: [] },
9150
+ { pat_with_workspace: [] },
9151
+ { console_session: [] },
9152
+ { api_key: [] },
9152
9153
  ],
9153
9154
  summary: '/locks/list',
9154
9155
  tags: ['/locks'],
@@ -4,6 +4,7 @@ export const device_capability_flags = z
4
4
  .object({
5
5
  can_remotely_unlock: z.boolean(),
6
6
  can_remotely_lock: z.boolean(),
7
+ can_program_offline_access_codes: z.boolean(),
7
8
  can_program_online_access_codes: z.boolean(),
8
9
  })
9
10
  .partial()
@@ -14,6 +15,7 @@ const device_model_capability_flags_map: Record<
14
15
  > = {
15
16
  can_remotely_lock: z.literal(true),
16
17
  can_remotely_unlock: z.literal(true),
18
+ can_program_offline_access_codes: z.literal(true),
17
19
  can_program_online_access_codes: z.literal(true),
18
20
  }
19
21
 
@@ -53,6 +53,7 @@ const smartlock = z
53
53
  device_model_capability_flags.pick({
54
54
  can_remotely_lock: true,
55
55
  can_remotely_unlock: true,
56
+ can_program_offline_access_codes: true,
56
57
  can_program_online_access_codes: true,
57
58
  }),
58
59
  )
@@ -99,6 +99,7 @@ export interface Routes {
99
99
  }
100
100
  can_remotely_lock?: true | undefined
101
101
  can_remotely_unlock?: true | undefined
102
+ can_program_offline_access_codes?: true | undefined
102
103
  can_program_online_access_codes?: true | undefined
103
104
  }
104
105
  | {
@@ -275,6 +276,7 @@ export interface Routes {
275
276
  }
276
277
  can_remotely_lock?: true | undefined
277
278
  can_remotely_unlock?: true | undefined
279
+ can_program_offline_access_codes?: true | undefined
278
280
  can_program_online_access_codes?: true | undefined
279
281
  }
280
282
  | {