@seamapi/types 1.54.0 → 1.56.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.
@@ -984,10 +984,10 @@ export interface Routes {
984
984
  jsonResponse: {
985
985
  acs_system: {
986
986
  acs_system_id: string;
987
- external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
987
+ external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org' | 'visionline_system' | 'assa_abloy_cs_system_user';
988
988
  external_type_display_name: string;
989
989
  /** deprecated: use external_type */
990
- system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
990
+ system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org' | 'visionline_system' | 'assa_abloy_cs_system_user';
991
991
  /** deprecated: use external_type_display_name */
992
992
  system_type_display_name: string;
993
993
  name: string;
@@ -1009,10 +1009,10 @@ export interface Routes {
1009
1009
  jsonResponse: {
1010
1010
  acs_systems: Array<{
1011
1011
  acs_system_id: string;
1012
- external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
1012
+ external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org' | 'visionline_system' | 'assa_abloy_cs_system_user';
1013
1013
  external_type_display_name: string;
1014
1014
  /** deprecated: use external_type */
1015
- system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
1015
+ system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org' | 'visionline_system' | 'assa_abloy_cs_system_user';
1016
1016
  /** deprecated: use external_type_display_name */
1017
1017
  system_type_display_name: string;
1018
1018
  name: string;
@@ -1406,7 +1406,7 @@ export interface Routes {
1406
1406
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
1407
1407
  custom_redirect_url?: string | undefined;
1408
1408
  custom_redirect_failure_url?: string | undefined;
1409
- accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'yale_access' | 'hid_cm'> | undefined;
1409
+ accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assaabloy_credential_service' | 'yale_access' | 'hid_cm'> | undefined;
1410
1410
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
1411
1411
  custom_metadata?: Record<string, string | number | null | boolean> | undefined;
1412
1412
  automatically_manage_new_devices?: boolean | undefined;
@@ -2552,6 +2552,10 @@ export interface Routes {
2552
2552
  display_name: string;
2553
2553
  manufacturer_display_name: string;
2554
2554
  };
2555
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
2556
+ battery_level?: number | undefined;
2557
+ /** Indicates whether it is currently possible to use online access codes for the device. */
2558
+ online_access_codes_enabled?: boolean | undefined;
2555
2559
  };
2556
2560
  };
2557
2561
  };
@@ -2610,6 +2614,10 @@ export interface Routes {
2610
2614
  display_name: string;
2611
2615
  manufacturer_display_name: string;
2612
2616
  };
2617
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
2618
+ battery_level?: number | undefined;
2619
+ /** Indicates whether it is currently possible to use online access codes for the device. */
2620
+ online_access_codes_enabled?: boolean | undefined;
2613
2621
  };
2614
2622
  }>;
2615
2623
  };
@@ -4608,6 +4616,15 @@ export interface Routes {
4608
4616
  message: string;
4609
4617
  };
4610
4618
  };
4619
+ noise_threshold: {
4620
+ noise_threshold_id: string;
4621
+ device_id: string;
4622
+ name: string;
4623
+ noise_threshold_nrs?: number | undefined;
4624
+ starts_daily_at: string;
4625
+ ends_daily_at: string;
4626
+ noise_threshold_decibels: number;
4627
+ };
4611
4628
  };
4612
4629
  };
4613
4630
  '/noise_sensors/noise_thresholds/delete': {
@@ -6510,6 +6527,29 @@ export interface Routes {
6510
6527
  }>;
6511
6528
  };
6512
6529
  };
6530
+ '/workspaces/create': {
6531
+ route: '/workspaces/create';
6532
+ method: 'POST';
6533
+ queryParams: {};
6534
+ jsonBody: {
6535
+ name: string;
6536
+ /** The name shown inside the connect webview */
6537
+ connect_partner_name: string;
6538
+ is_sandbox?: boolean;
6539
+ webview_primary_button_color?: string | undefined;
6540
+ webview_logo_shape?: ('circle' | 'square') | undefined;
6541
+ };
6542
+ commonParams: {};
6543
+ formData: {};
6544
+ jsonResponse: {
6545
+ workspace: {
6546
+ workspace_id: string;
6547
+ name: string;
6548
+ connect_partner_name: string | null;
6549
+ is_sandbox: boolean;
6550
+ };
6551
+ };
6552
+ };
6513
6553
  '/workspaces/get': {
6514
6554
  route: '/workspaces/get';
6515
6555
  method: 'GET' | 'POST';
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- export declare const acs_system_external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org"]>;
2
+ export declare const acs_system_external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org", "visionline_system", "assa_abloy_cs_system_user"]>;
3
3
  export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>;
4
4
  export declare const acs_system: z.ZodObject<{
5
5
  acs_system_id: z.ZodString;
6
- external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org"]>;
6
+ external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org", "visionline_system", "assa_abloy_cs_system_user"]>;
7
7
  external_type_display_name: z.ZodString;
8
- system_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org"]>;
8
+ system_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org", "visionline_system", "assa_abloy_cs_system_user"]>;
9
9
  system_type_display_name: z.ZodString;
10
10
  name: z.ZodString;
11
11
  created_at: z.ZodString;
@@ -16,9 +16,9 @@ export declare const acs_system: z.ZodObject<{
16
16
  workspace_id: string;
17
17
  created_at: string;
18
18
  acs_system_id: string;
19
- external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
19
+ external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org" | "visionline_system" | "assa_abloy_cs_system_user";
20
20
  external_type_display_name: string;
21
- system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
21
+ system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org" | "visionline_system" | "assa_abloy_cs_system_user";
22
22
  system_type_display_name: string;
23
23
  connected_account_ids: string[];
24
24
  }, {
@@ -26,9 +26,9 @@ export declare const acs_system: z.ZodObject<{
26
26
  workspace_id: string;
27
27
  created_at: string;
28
28
  acs_system_id: string;
29
- external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
29
+ external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org" | "visionline_system" | "assa_abloy_cs_system_user";
30
30
  external_type_display_name: string;
31
- system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
31
+ system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org" | "visionline_system" | "assa_abloy_cs_system_user";
32
32
  system_type_display_name: string;
33
33
  connected_account_ids: string[];
34
34
  }>;
@@ -6,6 +6,8 @@ export const acs_system_external_type = z.enum([
6
6
  'salto_site',
7
7
  'brivo_system',
8
8
  'hid_cm_org',
9
+ 'visionline_system',
10
+ 'assa_abloy_cs_system_user',
9
11
  ]);
10
12
  export const acs_system = z.object({
11
13
  acs_system_id: z.string().uuid(),
@@ -1 +1 @@
1
- {"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,kEAAkE;AAClE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,cAAc;IACd,YAAY;CACb,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3C,CAAC,CAAA"}
1
+ {"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,kEAAkE;AAClE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,cAAc;IACd,YAAY;IACZ,mBAAmB;IACnB,2BAA2B;CAC5B,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3C,CAAC,CAAA"}
@@ -43,6 +43,8 @@ export declare const unmanaged_device: z.ZodObject<{
43
43
  display_name: string;
44
44
  manufacturer_display_name: string;
45
45
  }>;
46
+ battery_level: z.ZodOptional<z.ZodNumber>;
47
+ online_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
46
48
  }, "strip", z.ZodTypeAny, {
47
49
  name: string;
48
50
  online: boolean;
@@ -53,6 +55,8 @@ export declare const unmanaged_device: z.ZodObject<{
53
55
  manufacturer?: string | undefined;
54
56
  image_url?: string | undefined;
55
57
  image_alt_text?: string | undefined;
58
+ battery_level?: number | undefined;
59
+ online_access_codes_enabled?: boolean | undefined;
56
60
  }, {
57
61
  name: string;
58
62
  online: boolean;
@@ -63,6 +67,8 @@ export declare const unmanaged_device: z.ZodObject<{
63
67
  manufacturer?: string | undefined;
64
68
  image_url?: string | undefined;
65
69
  image_alt_text?: string | undefined;
70
+ battery_level?: number | undefined;
71
+ online_access_codes_enabled?: boolean | undefined;
66
72
  }>;
67
73
  }, "strip", z.ZodTypeAny, {
68
74
  connected_account_id: string;
@@ -80,6 +86,8 @@ export declare const unmanaged_device: z.ZodObject<{
80
86
  manufacturer?: string | undefined;
81
87
  image_url?: string | undefined;
82
88
  image_alt_text?: string | undefined;
89
+ battery_level?: number | undefined;
90
+ online_access_codes_enabled?: boolean | undefined;
83
91
  };
84
92
  device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
85
93
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
@@ -107,6 +115,8 @@ export declare const unmanaged_device: z.ZodObject<{
107
115
  manufacturer?: string | undefined;
108
116
  image_url?: string | undefined;
109
117
  image_alt_text?: string | undefined;
118
+ battery_level?: number | undefined;
119
+ online_access_codes_enabled?: boolean | undefined;
110
120
  };
111
121
  device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
112
122
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
@@ -24,6 +24,16 @@ export const unmanaged_device = managed_device
24
24
  display_name: z.string(),
25
25
  manufacturer_display_name: z.string(),
26
26
  }),
27
+ battery_level: z
28
+ .number()
29
+ .min(0)
30
+ .max(1)
31
+ .optional()
32
+ .describe('Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.'),
33
+ online_access_codes_enabled: z
34
+ .boolean()
35
+ .describe('Indicates whether it is currently possible to use online access codes for the device.')
36
+ .optional(),
27
37
  }),
28
38
  });
29
39
  //# sourceMappingURL=unmanaged-device.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc;KAC3C,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;CACjB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,0EAA0E;IAC1E,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;QACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;YACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;YACxB,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE;SACtC,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc;KAC3C,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;CACjB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,0EAA0E;IAC1E,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;QACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;YACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;YACxB,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE;SACtC,CAAC;QACF,aAAa,EAAE,CAAC;aACb,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,EAAE;aACV,QAAQ,CACP,0FAA0F,CAC3F;QACH,2BAA2B,EAAE,CAAC;aAC3B,OAAO,EAAE;aACT,QAAQ,CACP,uFAAuF,CACxF;aACA,QAAQ,EAAE;KACd,CAAC;CACH,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.54.0",
3
+ "version": "1.56.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -194,6 +194,8 @@ export default {
194
194
  'salto_site',
195
195
  'brivo_system',
196
196
  'hid_cm_org',
197
+ 'visionline_system',
198
+ 'assa_abloy_cs_system_user',
197
199
  ],
198
200
  type: 'string',
199
201
  },
@@ -207,6 +209,8 @@ export default {
207
209
  'salto_site',
208
210
  'brivo_system',
209
211
  'hid_cm_org',
212
+ 'visionline_system',
213
+ 'assa_abloy_cs_system_user',
210
214
  ],
211
215
  type: 'string',
212
216
  },
@@ -1787,6 +1791,13 @@ export default {
1787
1791
  is_managed: { enum: [false], type: 'boolean' },
1788
1792
  properties: {
1789
1793
  properties: {
1794
+ battery_level: {
1795
+ description:
1796
+ 'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.',
1797
+ maximum: 1,
1798
+ minimum: 0,
1799
+ type: 'number',
1800
+ },
1790
1801
  image_alt_text: { type: 'string' },
1791
1802
  image_url: { type: 'string' },
1792
1803
  manufacturer: { type: 'string' },
@@ -1800,6 +1811,11 @@ export default {
1800
1811
  },
1801
1812
  name: { type: 'string' },
1802
1813
  online: { type: 'boolean' },
1814
+ online_access_codes_enabled: {
1815
+ description:
1816
+ 'Indicates whether it is currently possible to use online access codes for the device.',
1817
+ type: 'boolean',
1818
+ },
1803
1819
  },
1804
1820
  required: ['name', 'online', 'model'],
1805
1821
  type: 'object',
@@ -1891,6 +1907,11 @@ export default {
1891
1907
  scheme: 'bearer',
1892
1908
  type: 'http',
1893
1909
  },
1910
+ pat_without_workspace: {
1911
+ bearerFormat: 'API Token',
1912
+ scheme: 'bearer',
1913
+ type: 'http',
1914
+ },
1894
1915
  seam_client_session_token: {
1895
1916
  in: 'header',
1896
1917
  name: 'seam-client-session-token',
@@ -4257,9 +4278,9 @@ export default {
4257
4278
  },
4258
4279
  security: [
4259
4280
  { api_key: [] },
4260
- { access_token: [] },
4261
- { user_session: [] },
4262
4281
  { client_session: [] },
4282
+ { pat_with_workspace: [] },
4283
+ { console_session: [] },
4263
4284
  ],
4264
4285
  summary: '/acs/entrances/list',
4265
4286
  tags: [],
@@ -5515,6 +5536,7 @@ export default {
5515
5536
  'wyze',
5516
5537
  'seam_passport',
5517
5538
  'visionline',
5539
+ 'assaabloy_credential_service',
5518
5540
  'yale_access',
5519
5541
  'hid_cm',
5520
5542
  ],
@@ -7443,9 +7465,12 @@ export default {
7443
7465
  action_attempt: {
7444
7466
  $ref: '#/components/schemas/action_attempt',
7445
7467
  },
7468
+ noise_threshold: {
7469
+ $ref: '#/components/schemas/noise_threshold',
7470
+ },
7446
7471
  ok: { type: 'boolean' },
7447
7472
  },
7448
- required: ['action_attempt', 'ok'],
7473
+ required: ['action_attempt', 'noise_threshold', 'ok'],
7449
7474
  type: 'object',
7450
7475
  },
7451
7476
  },
@@ -9699,6 +9724,58 @@ export default {
9699
9724
  'x-fern-sdk-return-value': 'webhooks',
9700
9725
  },
9701
9726
  },
9727
+ '/workspaces/create': {
9728
+ post: {
9729
+ operationId: 'workspacesCreatePost',
9730
+ requestBody: {
9731
+ content: {
9732
+ 'application/json': {
9733
+ schema: {
9734
+ properties: {
9735
+ connect_partner_name: {
9736
+ description: 'The name shown inside the connect webview',
9737
+ type: 'string',
9738
+ },
9739
+ is_sandbox: { default: false, type: 'boolean' },
9740
+ name: { type: 'string' },
9741
+ webview_logo_shape: {
9742
+ enum: ['circle', 'square'],
9743
+ type: 'string',
9744
+ },
9745
+ webview_primary_button_color: { type: 'string' },
9746
+ },
9747
+ required: ['name', 'connect_partner_name'],
9748
+ type: 'object',
9749
+ },
9750
+ },
9751
+ },
9752
+ },
9753
+ responses: {
9754
+ 200: {
9755
+ content: {
9756
+ 'application/json': {
9757
+ schema: {
9758
+ properties: {
9759
+ ok: { type: 'boolean' },
9760
+ workspace: { $ref: '#/components/schemas/workspace' },
9761
+ },
9762
+ required: ['workspace', 'ok'],
9763
+ type: 'object',
9764
+ },
9765
+ },
9766
+ },
9767
+ description: 'OK',
9768
+ },
9769
+ 400: { description: 'Bad Request' },
9770
+ 401: { description: 'Unauthorized' },
9771
+ },
9772
+ security: [{ pat_without_workspace: [] }],
9773
+ summary: '/workspaces/create',
9774
+ tags: ['/workspaces'],
9775
+ 'x-fern-sdk-group-name': ['workspaces'],
9776
+ 'x-fern-sdk-method-name': 'create',
9777
+ },
9778
+ },
9702
9779
  '/workspaces/get': {
9703
9780
  get: {
9704
9781
  operationId: 'workspacesGetGet',
@@ -1021,6 +1021,8 @@ export interface Routes {
1021
1021
  | 'salto_site'
1022
1022
  | 'brivo_system'
1023
1023
  | 'hid_cm_org'
1024
+ | 'visionline_system'
1025
+ | 'assa_abloy_cs_system_user'
1024
1026
  external_type_display_name: string
1025
1027
  /** deprecated: use external_type */
1026
1028
  system_type:
@@ -1029,6 +1031,8 @@ export interface Routes {
1029
1031
  | 'salto_site'
1030
1032
  | 'brivo_system'
1031
1033
  | 'hid_cm_org'
1034
+ | 'visionline_system'
1035
+ | 'assa_abloy_cs_system_user'
1032
1036
  /** deprecated: use external_type_display_name */
1033
1037
  system_type_display_name: string
1034
1038
  name: string
@@ -1056,6 +1060,8 @@ export interface Routes {
1056
1060
  | 'salto_site'
1057
1061
  | 'brivo_system'
1058
1062
  | 'hid_cm_org'
1063
+ | 'visionline_system'
1064
+ | 'assa_abloy_cs_system_user'
1059
1065
  external_type_display_name: string
1060
1066
  /** deprecated: use external_type */
1061
1067
  system_type:
@@ -1064,6 +1070,8 @@ export interface Routes {
1064
1070
  | 'salto_site'
1065
1071
  | 'brivo_system'
1066
1072
  | 'hid_cm_org'
1073
+ | 'visionline_system'
1074
+ | 'assa_abloy_cs_system_user'
1067
1075
  /** deprecated: use external_type_display_name */
1068
1076
  system_type_display_name: string
1069
1077
  name: string
@@ -1498,6 +1506,7 @@ export interface Routes {
1498
1506
  | 'wyze'
1499
1507
  | 'seam_passport'
1500
1508
  | 'visionline'
1509
+ | 'assaabloy_credential_service'
1501
1510
  | 'yale_access'
1502
1511
  | 'hid_cm'
1503
1512
  >
@@ -3169,6 +3178,10 @@ export interface Routes {
3169
3178
  display_name: string
3170
3179
  manufacturer_display_name: string
3171
3180
  }
3181
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
3182
+ battery_level?: number | undefined
3183
+ /** Indicates whether it is currently possible to use online access codes for the device. */
3184
+ online_access_codes_enabled?: boolean | undefined
3172
3185
  }
3173
3186
  }
3174
3187
  }
@@ -3357,6 +3370,10 @@ export interface Routes {
3357
3370
  display_name: string
3358
3371
  manufacturer_display_name: string
3359
3372
  }
3373
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
3374
+ battery_level?: number | undefined
3375
+ /** Indicates whether it is currently possible to use online access codes for the device. */
3376
+ online_access_codes_enabled?: boolean | undefined
3360
3377
  }
3361
3378
  }>
3362
3379
  }
@@ -6319,6 +6336,15 @@ export interface Routes {
6319
6336
  message: string
6320
6337
  }
6321
6338
  }
6339
+ noise_threshold: {
6340
+ noise_threshold_id: string
6341
+ device_id: string
6342
+ name: string
6343
+ noise_threshold_nrs?: number | undefined
6344
+ starts_daily_at: string
6345
+ ends_daily_at: string
6346
+ noise_threshold_decibels: number
6347
+ }
6322
6348
  }
6323
6349
  }
6324
6350
  '/noise_sensors/noise_thresholds/delete': {
@@ -8895,6 +8921,29 @@ export interface Routes {
8895
8921
  }>
8896
8922
  }
8897
8923
  }
8924
+ '/workspaces/create': {
8925
+ route: '/workspaces/create'
8926
+ method: 'POST'
8927
+ queryParams: {}
8928
+ jsonBody: {
8929
+ name: string
8930
+ /** The name shown inside the connect webview */
8931
+ connect_partner_name: string
8932
+ is_sandbox?: boolean
8933
+ webview_primary_button_color?: string | undefined
8934
+ webview_logo_shape?: ('circle' | 'square') | undefined
8935
+ }
8936
+ commonParams: {}
8937
+ formData: {}
8938
+ jsonResponse: {
8939
+ workspace: {
8940
+ workspace_id: string
8941
+ name: string
8942
+ connect_partner_name: string | null
8943
+ is_sandbox: boolean
8944
+ }
8945
+ }
8946
+ }
8898
8947
  '/workspaces/get': {
8899
8948
  route: '/workspaces/get'
8900
8949
  method: 'GET' | 'POST'
@@ -7,6 +7,8 @@ export const acs_system_external_type = z.enum([
7
7
  'salto_site',
8
8
  'brivo_system',
9
9
  'hid_cm_org',
10
+ 'visionline_system',
11
+ 'assa_abloy_cs_system_user',
10
12
  ])
11
13
 
12
14
  export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>
@@ -26,6 +26,20 @@ export const unmanaged_device = managed_device
26
26
  display_name: z.string(),
27
27
  manufacturer_display_name: z.string(),
28
28
  }),
29
+ battery_level: z
30
+ .number()
31
+ .min(0)
32
+ .max(1)
33
+ .optional()
34
+ .describe(
35
+ 'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.',
36
+ ),
37
+ online_access_codes_enabled: z
38
+ .boolean()
39
+ .describe(
40
+ 'Indicates whether it is currently possible to use online access codes for the device.',
41
+ )
42
+ .optional(),
29
43
  }),
30
44
  })
31
45