@seamapi/types 1.325.0 → 1.327.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.
package/dist/connect.cjs CHANGED
@@ -2394,7 +2394,14 @@ var common_acs_event = common_event.extend({
2394
2394
  )
2395
2395
  });
2396
2396
 
2397
- // src/lib/seam/connect/models/events/acs/credentials.ts
2397
+ // src/lib/seam/connect/models/events/acs/access_groups.ts
2398
+ var acs_access_group_event = common_acs_event.extend({
2399
+ acs_access_group_id: zod.z.string().uuid()
2400
+ });
2401
+ var acs_access_group_deleted_event = acs_access_group_event.extend({
2402
+ event_type: zod.z.literal("acs_access_group.deleted")
2403
+ }).describe("An ACS access group was deleted.");
2404
+ var acs_access_group_events = [acs_access_group_deleted_event];
2398
2405
  var acs_credential_event = common_acs_event.extend({
2399
2406
  acs_credential_id: zod.z.string().uuid()
2400
2407
  });
@@ -2469,7 +2476,8 @@ var acs_events = [
2469
2476
  ...acs_system_events,
2470
2477
  ...acs_credential_events,
2471
2478
  ...acs_user_events,
2472
- ...acs_encoder_events
2479
+ ...acs_encoder_events,
2480
+ ...acs_access_group_events
2473
2481
  ];
2474
2482
  var action_attempt_event = common_event.extend({
2475
2483
  action_attempt_id: zod.z.string().uuid().describe(
@@ -2862,6 +2870,17 @@ var temperature_threshold_no_longer_exceeded_event = device_event.extend({
2862
2870
  }).describe(
2863
2871
  "A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) temperature reading no longer exceeds the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds)."
2864
2872
  );
2873
+ var temperature_reached_set_point_event = device_event.extend({
2874
+ event_type: zod.z.literal("thermostat.temperature_reached_set_point"),
2875
+ temperature_celsius: zod.z.number().describe("Temperature, in \xB0C, reported by the thermostat."),
2876
+ temperature_fahrenheit: zod.z.number().describe("Temperature, in \xB0F, reported by the thermostat."),
2877
+ desired_temperature_celsius: zod.z.number().optional().describe(
2878
+ "Desired temperature, in \xB0C, set by the thermostat's cooling or heating set point."
2879
+ ),
2880
+ desired_temperature_fahrenheit: zod.z.number().optional().describe(
2881
+ "Desired temperature, in \xB0F, set by the thermostat's cooling or heating set point."
2882
+ )
2883
+ });
2865
2884
  var device_events = [
2866
2885
  device_connected_event,
2867
2886
  device_added_event,
@@ -2892,7 +2911,8 @@ var device_events = [
2892
2911
  thermostat_climate_preset_activated_event,
2893
2912
  thermostat_manually_adjusted_event,
2894
2913
  temperature_threshold_exceeded_event,
2895
- temperature_threshold_no_longer_exceeded_event
2914
+ temperature_threshold_no_longer_exceeded_event,
2915
+ temperature_reached_set_point_event
2896
2916
  ];
2897
2917
  var enrollment_automation_event = common_event.extend({
2898
2918
  enrollment_automation_id: zod.z.string().uuid().describe(
@@ -10169,6 +10189,56 @@ var openapi_default = {
10169
10189
  ],
10170
10190
  type: "object"
10171
10191
  },
10192
+ {
10193
+ description: "An ACS access group was deleted.",
10194
+ properties: {
10195
+ acs_access_group_id: { format: "uuid", type: "string" },
10196
+ acs_system_id: {
10197
+ description: "ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems).",
10198
+ format: "uuid",
10199
+ type: "string"
10200
+ },
10201
+ connected_account_id: {
10202
+ description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
10203
+ format: "uuid",
10204
+ type: "string"
10205
+ },
10206
+ created_at: {
10207
+ description: "Date and time at which the event was created.",
10208
+ format: "date-time",
10209
+ type: "string"
10210
+ },
10211
+ event_id: {
10212
+ description: "ID of the event.",
10213
+ format: "uuid",
10214
+ type: "string"
10215
+ },
10216
+ event_type: {
10217
+ enum: ["acs_access_group.deleted"],
10218
+ type: "string"
10219
+ },
10220
+ occurred_at: {
10221
+ description: "Date and time at which the event occurred.",
10222
+ format: "date-time",
10223
+ type: "string"
10224
+ },
10225
+ workspace_id: {
10226
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).",
10227
+ format: "uuid",
10228
+ type: "string"
10229
+ }
10230
+ },
10231
+ required: [
10232
+ "event_id",
10233
+ "workspace_id",
10234
+ "created_at",
10235
+ "occurred_at",
10236
+ "acs_system_id",
10237
+ "acs_access_group_id",
10238
+ "event_type"
10239
+ ],
10240
+ type: "object"
10241
+ },
10172
10242
  {
10173
10243
  description: "A [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) was deleted.",
10174
10244
  properties: {
@@ -12493,6 +12563,76 @@ var openapi_default = {
12493
12563
  ],
12494
12564
  type: "object"
12495
12565
  },
12566
+ {
12567
+ properties: {
12568
+ connected_account_id: {
12569
+ description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
12570
+ format: "uuid",
12571
+ type: "string"
12572
+ },
12573
+ created_at: {
12574
+ description: "Date and time at which the event was created.",
12575
+ format: "date-time",
12576
+ type: "string"
12577
+ },
12578
+ desired_temperature_celsius: {
12579
+ description: "Desired temperature, in \xB0C, set by the thermostat's cooling or heating set point.",
12580
+ format: "float",
12581
+ type: "number"
12582
+ },
12583
+ desired_temperature_fahrenheit: {
12584
+ description: "Desired temperature, in \xB0F, set by the thermostat's cooling or heating set point.",
12585
+ format: "float",
12586
+ type: "number"
12587
+ },
12588
+ device_id: {
12589
+ description: "ID of the device.",
12590
+ format: "uuid",
12591
+ type: "string"
12592
+ },
12593
+ event_id: {
12594
+ description: "ID of the event.",
12595
+ format: "uuid",
12596
+ type: "string"
12597
+ },
12598
+ event_type: {
12599
+ enum: ["thermostat.temperature_reached_set_point"],
12600
+ type: "string"
12601
+ },
12602
+ occurred_at: {
12603
+ description: "Date and time at which the event occurred.",
12604
+ format: "date-time",
12605
+ type: "string"
12606
+ },
12607
+ temperature_celsius: {
12608
+ description: "Temperature, in \xB0C, reported by the thermostat.",
12609
+ format: "float",
12610
+ type: "number"
12611
+ },
12612
+ temperature_fahrenheit: {
12613
+ description: "Temperature, in \xB0F, reported by the thermostat.",
12614
+ format: "float",
12615
+ type: "number"
12616
+ },
12617
+ workspace_id: {
12618
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).",
12619
+ format: "uuid",
12620
+ type: "string"
12621
+ }
12622
+ },
12623
+ required: [
12624
+ "event_id",
12625
+ "workspace_id",
12626
+ "created_at",
12627
+ "occurred_at",
12628
+ "device_id",
12629
+ "connected_account_id",
12630
+ "event_type",
12631
+ "temperature_celsius",
12632
+ "temperature_fahrenheit"
12633
+ ],
12634
+ type: "object"
12635
+ },
12496
12636
  {
12497
12637
  description: "An [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) was deleted.",
12498
12638
  properties: {
@@ -22475,6 +22615,7 @@ var openapi_default = {
22475
22615
  "acs_system.added",
22476
22616
  "acs_system.connected",
22477
22617
  "acs_system.disconnected",
22618
+ "acs_access_group.deleted",
22478
22619
  "acs_user.deleted",
22479
22620
  "acs_credential.deleted",
22480
22621
  "acs_credential.issued",
@@ -22489,7 +22630,8 @@ var openapi_default = {
22489
22630
  "thermostat.climate_preset_activated",
22490
22631
  "thermostat.manually_adjusted",
22491
22632
  "thermostat.temperature_threshold_exceeded",
22492
- "thermostat.temperature_threshold_no_longer_exceeded"
22633
+ "thermostat.temperature_threshold_no_longer_exceeded",
22634
+ "thermostat.temperature_reached_set_point"
22493
22635
  ],
22494
22636
  type: "string"
22495
22637
  },
@@ -22552,6 +22694,7 @@ var openapi_default = {
22552
22694
  "acs_system.added",
22553
22695
  "acs_system.connected",
22554
22696
  "acs_system.disconnected",
22697
+ "acs_access_group.deleted",
22555
22698
  "acs_user.deleted",
22556
22699
  "acs_credential.deleted",
22557
22700
  "acs_credential.issued",
@@ -22566,7 +22709,8 @@ var openapi_default = {
22566
22709
  "thermostat.climate_preset_activated",
22567
22710
  "thermostat.manually_adjusted",
22568
22711
  "thermostat.temperature_threshold_exceeded",
22569
- "thermostat.temperature_threshold_no_longer_exceeded"
22712
+ "thermostat.temperature_threshold_no_longer_exceeded",
22713
+ "thermostat.temperature_reached_set_point"
22570
22714
  ],
22571
22715
  type: "string"
22572
22716
  },