@seamapi/types 1.740.0 → 1.742.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 +179 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +645 -4
- package/dist/index.cjs +179 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +124 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +1 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +156 -0
- package/lib/seam/connect/models/events/devices.js +25 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +77 -1
- package/lib/seam/connect/openapi.d.ts +233 -0
- package/lib/seam/connect/openapi.js +157 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +212 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +31 -0
- package/src/lib/seam/connect/openapi.ts +169 -0
- package/src/lib/seam/connect/route-types.ts +264 -0
package/dist/connect.d.cts
CHANGED
|
@@ -33260,6 +33260,82 @@ declare const batch: z.ZodObject<{
|
|
|
33260
33260
|
workspace_id: z.ZodString;
|
|
33261
33261
|
created_at: z.ZodString;
|
|
33262
33262
|
occurred_at: z.ZodString;
|
|
33263
|
+
} & {
|
|
33264
|
+
device_id: z.ZodString;
|
|
33265
|
+
connected_account_id: z.ZodString;
|
|
33266
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
33267
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
33268
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
33269
|
+
} & {
|
|
33270
|
+
event_type: z.ZodLiteral<"camera.activated">;
|
|
33271
|
+
activation_reason: z.ZodEnum<["motion_detected"]>;
|
|
33272
|
+
motion_sub_type: z.ZodOptional<z.ZodEnum<["human", "vehicle", "package", "other"]>>;
|
|
33273
|
+
}, "strip", z.ZodTypeAny, {
|
|
33274
|
+
device_id: string;
|
|
33275
|
+
workspace_id: string;
|
|
33276
|
+
created_at: string;
|
|
33277
|
+
connected_account_id: string;
|
|
33278
|
+
event_id: string;
|
|
33279
|
+
occurred_at: string;
|
|
33280
|
+
event_type: "camera.activated";
|
|
33281
|
+
activation_reason: "motion_detected";
|
|
33282
|
+
customer_key?: string | undefined;
|
|
33283
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
33284
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
33285
|
+
motion_sub_type?: "human" | "vehicle" | "package" | "other" | undefined;
|
|
33286
|
+
}, {
|
|
33287
|
+
device_id: string;
|
|
33288
|
+
workspace_id: string;
|
|
33289
|
+
created_at: string;
|
|
33290
|
+
connected_account_id: string;
|
|
33291
|
+
event_id: string;
|
|
33292
|
+
occurred_at: string;
|
|
33293
|
+
event_type: "camera.activated";
|
|
33294
|
+
activation_reason: "motion_detected";
|
|
33295
|
+
customer_key?: string | undefined;
|
|
33296
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
33297
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
33298
|
+
motion_sub_type?: "human" | "vehicle" | "package" | "other" | undefined;
|
|
33299
|
+
}>, z.ZodObject<{
|
|
33300
|
+
event_id: z.ZodString;
|
|
33301
|
+
workspace_id: z.ZodString;
|
|
33302
|
+
created_at: z.ZodString;
|
|
33303
|
+
occurred_at: z.ZodString;
|
|
33304
|
+
} & {
|
|
33305
|
+
device_id: z.ZodString;
|
|
33306
|
+
connected_account_id: z.ZodString;
|
|
33307
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
33308
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
33309
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
33310
|
+
} & {
|
|
33311
|
+
event_type: z.ZodLiteral<"device.doorbell_rang">;
|
|
33312
|
+
}, "strip", z.ZodTypeAny, {
|
|
33313
|
+
device_id: string;
|
|
33314
|
+
workspace_id: string;
|
|
33315
|
+
created_at: string;
|
|
33316
|
+
connected_account_id: string;
|
|
33317
|
+
event_id: string;
|
|
33318
|
+
occurred_at: string;
|
|
33319
|
+
event_type: "device.doorbell_rang";
|
|
33320
|
+
customer_key?: string | undefined;
|
|
33321
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
33322
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
33323
|
+
}, {
|
|
33324
|
+
device_id: string;
|
|
33325
|
+
workspace_id: string;
|
|
33326
|
+
created_at: string;
|
|
33327
|
+
connected_account_id: string;
|
|
33328
|
+
event_id: string;
|
|
33329
|
+
occurred_at: string;
|
|
33330
|
+
event_type: "device.doorbell_rang";
|
|
33331
|
+
customer_key?: string | undefined;
|
|
33332
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
33333
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
33334
|
+
}>, z.ZodObject<{
|
|
33335
|
+
event_id: z.ZodString;
|
|
33336
|
+
workspace_id: z.ZodString;
|
|
33337
|
+
created_at: z.ZodString;
|
|
33338
|
+
occurred_at: z.ZodString;
|
|
33263
33339
|
} & {
|
|
33264
33340
|
enrollment_automation_id: z.ZodString;
|
|
33265
33341
|
} & {
|
|
@@ -40696,6 +40772,30 @@ declare const batch: z.ZodObject<{
|
|
|
40696
40772
|
customer_key?: string | undefined;
|
|
40697
40773
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
40698
40774
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
40775
|
+
} | {
|
|
40776
|
+
device_id: string;
|
|
40777
|
+
workspace_id: string;
|
|
40778
|
+
created_at: string;
|
|
40779
|
+
connected_account_id: string;
|
|
40780
|
+
event_id: string;
|
|
40781
|
+
occurred_at: string;
|
|
40782
|
+
event_type: "camera.activated";
|
|
40783
|
+
activation_reason: "motion_detected";
|
|
40784
|
+
customer_key?: string | undefined;
|
|
40785
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
40786
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
40787
|
+
motion_sub_type?: "human" | "vehicle" | "package" | "other" | undefined;
|
|
40788
|
+
} | {
|
|
40789
|
+
device_id: string;
|
|
40790
|
+
workspace_id: string;
|
|
40791
|
+
created_at: string;
|
|
40792
|
+
connected_account_id: string;
|
|
40793
|
+
event_id: string;
|
|
40794
|
+
occurred_at: string;
|
|
40795
|
+
event_type: "device.doorbell_rang";
|
|
40796
|
+
customer_key?: string | undefined;
|
|
40797
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
40798
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
40699
40799
|
} | {
|
|
40700
40800
|
workspace_id: string;
|
|
40701
40801
|
created_at: string;
|
|
@@ -45457,6 +45557,30 @@ declare const batch: z.ZodObject<{
|
|
|
45457
45557
|
customer_key?: string | undefined;
|
|
45458
45558
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
45459
45559
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
45560
|
+
} | {
|
|
45561
|
+
device_id: string;
|
|
45562
|
+
workspace_id: string;
|
|
45563
|
+
created_at: string;
|
|
45564
|
+
connected_account_id: string;
|
|
45565
|
+
event_id: string;
|
|
45566
|
+
occurred_at: string;
|
|
45567
|
+
event_type: "camera.activated";
|
|
45568
|
+
activation_reason: "motion_detected";
|
|
45569
|
+
customer_key?: string | undefined;
|
|
45570
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
45571
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
45572
|
+
motion_sub_type?: "human" | "vehicle" | "package" | "other" | undefined;
|
|
45573
|
+
} | {
|
|
45574
|
+
device_id: string;
|
|
45575
|
+
workspace_id: string;
|
|
45576
|
+
created_at: string;
|
|
45577
|
+
connected_account_id: string;
|
|
45578
|
+
event_id: string;
|
|
45579
|
+
occurred_at: string;
|
|
45580
|
+
event_type: "device.doorbell_rang";
|
|
45581
|
+
customer_key?: string | undefined;
|
|
45582
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
45583
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
45460
45584
|
} | {
|
|
45461
45585
|
workspace_id: string;
|
|
45462
45586
|
created_at: string;
|
|
@@ -60587,6 +60711,82 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
60587
60711
|
workspace_id: z.ZodString;
|
|
60588
60712
|
created_at: z.ZodString;
|
|
60589
60713
|
occurred_at: z.ZodString;
|
|
60714
|
+
} & {
|
|
60715
|
+
device_id: z.ZodString;
|
|
60716
|
+
connected_account_id: z.ZodString;
|
|
60717
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
60718
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
60719
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
60720
|
+
} & {
|
|
60721
|
+
event_type: z.ZodLiteral<"camera.activated">;
|
|
60722
|
+
activation_reason: z.ZodEnum<["motion_detected"]>;
|
|
60723
|
+
motion_sub_type: z.ZodOptional<z.ZodEnum<["human", "vehicle", "package", "other"]>>;
|
|
60724
|
+
}, "strip", z.ZodTypeAny, {
|
|
60725
|
+
device_id: string;
|
|
60726
|
+
workspace_id: string;
|
|
60727
|
+
created_at: string;
|
|
60728
|
+
connected_account_id: string;
|
|
60729
|
+
event_id: string;
|
|
60730
|
+
occurred_at: string;
|
|
60731
|
+
event_type: "camera.activated";
|
|
60732
|
+
activation_reason: "motion_detected";
|
|
60733
|
+
customer_key?: string | undefined;
|
|
60734
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
60735
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
60736
|
+
motion_sub_type?: "human" | "vehicle" | "package" | "other" | undefined;
|
|
60737
|
+
}, {
|
|
60738
|
+
device_id: string;
|
|
60739
|
+
workspace_id: string;
|
|
60740
|
+
created_at: string;
|
|
60741
|
+
connected_account_id: string;
|
|
60742
|
+
event_id: string;
|
|
60743
|
+
occurred_at: string;
|
|
60744
|
+
event_type: "camera.activated";
|
|
60745
|
+
activation_reason: "motion_detected";
|
|
60746
|
+
customer_key?: string | undefined;
|
|
60747
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
60748
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
60749
|
+
motion_sub_type?: "human" | "vehicle" | "package" | "other" | undefined;
|
|
60750
|
+
}>, z.ZodObject<{
|
|
60751
|
+
event_id: z.ZodString;
|
|
60752
|
+
workspace_id: z.ZodString;
|
|
60753
|
+
created_at: z.ZodString;
|
|
60754
|
+
occurred_at: z.ZodString;
|
|
60755
|
+
} & {
|
|
60756
|
+
device_id: z.ZodString;
|
|
60757
|
+
connected_account_id: z.ZodString;
|
|
60758
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
60759
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
60760
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
60761
|
+
} & {
|
|
60762
|
+
event_type: z.ZodLiteral<"device.doorbell_rang">;
|
|
60763
|
+
}, "strip", z.ZodTypeAny, {
|
|
60764
|
+
device_id: string;
|
|
60765
|
+
workspace_id: string;
|
|
60766
|
+
created_at: string;
|
|
60767
|
+
connected_account_id: string;
|
|
60768
|
+
event_id: string;
|
|
60769
|
+
occurred_at: string;
|
|
60770
|
+
event_type: "device.doorbell_rang";
|
|
60771
|
+
customer_key?: string | undefined;
|
|
60772
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
60773
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
60774
|
+
}, {
|
|
60775
|
+
device_id: string;
|
|
60776
|
+
workspace_id: string;
|
|
60777
|
+
created_at: string;
|
|
60778
|
+
connected_account_id: string;
|
|
60779
|
+
event_id: string;
|
|
60780
|
+
occurred_at: string;
|
|
60781
|
+
event_type: "device.doorbell_rang";
|
|
60782
|
+
customer_key?: string | undefined;
|
|
60783
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
60784
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
60785
|
+
}>, z.ZodObject<{
|
|
60786
|
+
event_id: z.ZodString;
|
|
60787
|
+
workspace_id: z.ZodString;
|
|
60788
|
+
created_at: z.ZodString;
|
|
60789
|
+
occurred_at: z.ZodString;
|
|
60590
60790
|
} & {
|
|
60591
60791
|
enrollment_automation_id: z.ZodString;
|
|
60592
60792
|
} & {
|
|
@@ -69863,6 +70063,8 @@ declare const _default: {
|
|
|
69863
70063
|
desired_temperature_celsius?: never;
|
|
69864
70064
|
desired_temperature_fahrenheit?: never;
|
|
69865
70065
|
device_name?: never;
|
|
70066
|
+
activation_reason?: never;
|
|
70067
|
+
motion_sub_type?: never;
|
|
69866
70068
|
enrollment_automation_id?: never;
|
|
69867
70069
|
acs_entrance_ids?: never;
|
|
69868
70070
|
device_ids?: never;
|
|
@@ -70001,6 +70203,8 @@ declare const _default: {
|
|
|
70001
70203
|
desired_temperature_celsius?: never;
|
|
70002
70204
|
desired_temperature_fahrenheit?: never;
|
|
70003
70205
|
device_name?: never;
|
|
70206
|
+
activation_reason?: never;
|
|
70207
|
+
motion_sub_type?: never;
|
|
70004
70208
|
enrollment_automation_id?: never;
|
|
70005
70209
|
acs_entrance_ids?: never;
|
|
70006
70210
|
device_ids?: never;
|
|
@@ -70267,6 +70471,8 @@ declare const _default: {
|
|
|
70267
70471
|
desired_temperature_celsius?: never;
|
|
70268
70472
|
desired_temperature_fahrenheit?: never;
|
|
70269
70473
|
device_name?: never;
|
|
70474
|
+
activation_reason?: never;
|
|
70475
|
+
motion_sub_type?: never;
|
|
70270
70476
|
enrollment_automation_id?: never;
|
|
70271
70477
|
acs_entrance_ids?: never;
|
|
70272
70478
|
device_ids?: never;
|
|
@@ -70405,6 +70611,8 @@ declare const _default: {
|
|
|
70405
70611
|
desired_temperature_celsius?: never;
|
|
70406
70612
|
desired_temperature_fahrenheit?: never;
|
|
70407
70613
|
device_name?: never;
|
|
70614
|
+
activation_reason?: never;
|
|
70615
|
+
motion_sub_type?: never;
|
|
70408
70616
|
enrollment_automation_id?: never;
|
|
70409
70617
|
acs_entrance_ids?: never;
|
|
70410
70618
|
device_ids?: never;
|
|
@@ -70541,6 +70749,8 @@ declare const _default: {
|
|
|
70541
70749
|
desired_temperature_celsius?: never;
|
|
70542
70750
|
desired_temperature_fahrenheit?: never;
|
|
70543
70751
|
device_name?: never;
|
|
70752
|
+
activation_reason?: never;
|
|
70753
|
+
motion_sub_type?: never;
|
|
70544
70754
|
enrollment_automation_id?: never;
|
|
70545
70755
|
acs_entrance_ids?: never;
|
|
70546
70756
|
device_ids?: never;
|
|
@@ -70651,6 +70861,8 @@ declare const _default: {
|
|
|
70651
70861
|
desired_temperature_celsius?: never;
|
|
70652
70862
|
desired_temperature_fahrenheit?: never;
|
|
70653
70863
|
device_name?: never;
|
|
70864
|
+
activation_reason?: never;
|
|
70865
|
+
motion_sub_type?: never;
|
|
70654
70866
|
enrollment_automation_id?: never;
|
|
70655
70867
|
acs_entrance_ids?: never;
|
|
70656
70868
|
device_ids?: never;
|
|
@@ -70765,6 +70977,8 @@ declare const _default: {
|
|
|
70765
70977
|
desired_temperature_celsius?: never;
|
|
70766
70978
|
desired_temperature_fahrenheit?: never;
|
|
70767
70979
|
device_name?: never;
|
|
70980
|
+
activation_reason?: never;
|
|
70981
|
+
motion_sub_type?: never;
|
|
70768
70982
|
enrollment_automation_id?: never;
|
|
70769
70983
|
acs_entrance_ids?: never;
|
|
70770
70984
|
device_ids?: never;
|
|
@@ -70884,6 +71098,8 @@ declare const _default: {
|
|
|
70884
71098
|
desired_temperature_celsius?: never;
|
|
70885
71099
|
desired_temperature_fahrenheit?: never;
|
|
70886
71100
|
device_name?: never;
|
|
71101
|
+
activation_reason?: never;
|
|
71102
|
+
motion_sub_type?: never;
|
|
70887
71103
|
enrollment_automation_id?: never;
|
|
70888
71104
|
acs_entrance_ids?: never;
|
|
70889
71105
|
device_ids?: never;
|
|
@@ -70997,6 +71213,8 @@ declare const _default: {
|
|
|
70997
71213
|
desired_temperature_celsius?: never;
|
|
70998
71214
|
desired_temperature_fahrenheit?: never;
|
|
70999
71215
|
device_name?: never;
|
|
71216
|
+
activation_reason?: never;
|
|
71217
|
+
motion_sub_type?: never;
|
|
71000
71218
|
enrollment_automation_id?: never;
|
|
71001
71219
|
acs_entrance_ids?: never;
|
|
71002
71220
|
device_ids?: never;
|
|
@@ -71127,6 +71345,8 @@ declare const _default: {
|
|
|
71127
71345
|
desired_temperature_celsius?: never;
|
|
71128
71346
|
desired_temperature_fahrenheit?: never;
|
|
71129
71347
|
device_name?: never;
|
|
71348
|
+
activation_reason?: never;
|
|
71349
|
+
motion_sub_type?: never;
|
|
71130
71350
|
enrollment_automation_id?: never;
|
|
71131
71351
|
acs_entrance_ids?: never;
|
|
71132
71352
|
device_ids?: never;
|
|
@@ -71250,6 +71470,8 @@ declare const _default: {
|
|
|
71250
71470
|
desired_temperature_celsius?: never;
|
|
71251
71471
|
desired_temperature_fahrenheit?: never;
|
|
71252
71472
|
device_name?: never;
|
|
71473
|
+
activation_reason?: never;
|
|
71474
|
+
motion_sub_type?: never;
|
|
71253
71475
|
enrollment_automation_id?: never;
|
|
71254
71476
|
acs_entrance_ids?: never;
|
|
71255
71477
|
device_ids?: never;
|
|
@@ -71364,6 +71586,8 @@ declare const _default: {
|
|
|
71364
71586
|
desired_temperature_celsius?: never;
|
|
71365
71587
|
desired_temperature_fahrenheit?: never;
|
|
71366
71588
|
device_name?: never;
|
|
71589
|
+
activation_reason?: never;
|
|
71590
|
+
motion_sub_type?: never;
|
|
71367
71591
|
enrollment_automation_id?: never;
|
|
71368
71592
|
acs_entrance_ids?: never;
|
|
71369
71593
|
device_ids?: never;
|
|
@@ -71566,6 +71790,8 @@ declare const _default: {
|
|
|
71566
71790
|
desired_temperature_celsius?: never;
|
|
71567
71791
|
desired_temperature_fahrenheit?: never;
|
|
71568
71792
|
device_name?: never;
|
|
71793
|
+
activation_reason?: never;
|
|
71794
|
+
motion_sub_type?: never;
|
|
71569
71795
|
enrollment_automation_id?: never;
|
|
71570
71796
|
acs_entrance_ids?: never;
|
|
71571
71797
|
device_ids?: never;
|
|
@@ -71684,6 +71910,8 @@ declare const _default: {
|
|
|
71684
71910
|
desired_temperature_celsius?: never;
|
|
71685
71911
|
desired_temperature_fahrenheit?: never;
|
|
71686
71912
|
device_name?: never;
|
|
71913
|
+
activation_reason?: never;
|
|
71914
|
+
motion_sub_type?: never;
|
|
71687
71915
|
enrollment_automation_id?: never;
|
|
71688
71916
|
acs_entrance_ids?: never;
|
|
71689
71917
|
device_ids?: never;
|
|
@@ -71802,6 +72030,8 @@ declare const _default: {
|
|
|
71802
72030
|
desired_temperature_celsius?: never;
|
|
71803
72031
|
desired_temperature_fahrenheit?: never;
|
|
71804
72032
|
device_name?: never;
|
|
72033
|
+
activation_reason?: never;
|
|
72034
|
+
motion_sub_type?: never;
|
|
71805
72035
|
enrollment_automation_id?: never;
|
|
71806
72036
|
acs_entrance_ids?: never;
|
|
71807
72037
|
device_ids?: never;
|
|
@@ -71920,6 +72150,8 @@ declare const _default: {
|
|
|
71920
72150
|
desired_temperature_celsius?: never;
|
|
71921
72151
|
desired_temperature_fahrenheit?: never;
|
|
71922
72152
|
device_name?: never;
|
|
72153
|
+
activation_reason?: never;
|
|
72154
|
+
motion_sub_type?: never;
|
|
71923
72155
|
enrollment_automation_id?: never;
|
|
71924
72156
|
acs_entrance_ids?: never;
|
|
71925
72157
|
device_ids?: never;
|
|
@@ -72038,6 +72270,8 @@ declare const _default: {
|
|
|
72038
72270
|
desired_temperature_celsius?: never;
|
|
72039
72271
|
desired_temperature_fahrenheit?: never;
|
|
72040
72272
|
device_name?: never;
|
|
72273
|
+
activation_reason?: never;
|
|
72274
|
+
motion_sub_type?: never;
|
|
72041
72275
|
enrollment_automation_id?: never;
|
|
72042
72276
|
acs_entrance_ids?: never;
|
|
72043
72277
|
device_ids?: never;
|
|
@@ -72156,6 +72390,8 @@ declare const _default: {
|
|
|
72156
72390
|
desired_temperature_celsius?: never;
|
|
72157
72391
|
desired_temperature_fahrenheit?: never;
|
|
72158
72392
|
device_name?: never;
|
|
72393
|
+
activation_reason?: never;
|
|
72394
|
+
motion_sub_type?: never;
|
|
72159
72395
|
enrollment_automation_id?: never;
|
|
72160
72396
|
acs_entrance_ids?: never;
|
|
72161
72397
|
device_ids?: never;
|
|
@@ -72266,6 +72502,8 @@ declare const _default: {
|
|
|
72266
72502
|
desired_temperature_celsius?: never;
|
|
72267
72503
|
desired_temperature_fahrenheit?: never;
|
|
72268
72504
|
device_name?: never;
|
|
72505
|
+
activation_reason?: never;
|
|
72506
|
+
motion_sub_type?: never;
|
|
72269
72507
|
enrollment_automation_id?: never;
|
|
72270
72508
|
acs_entrance_ids?: never;
|
|
72271
72509
|
device_ids?: never;
|
|
@@ -72391,6 +72629,8 @@ declare const _default: {
|
|
|
72391
72629
|
desired_temperature_celsius?: never;
|
|
72392
72630
|
desired_temperature_fahrenheit?: never;
|
|
72393
72631
|
device_name?: never;
|
|
72632
|
+
activation_reason?: never;
|
|
72633
|
+
motion_sub_type?: never;
|
|
72394
72634
|
enrollment_automation_id?: never;
|
|
72395
72635
|
acs_entrance_ids?: never;
|
|
72396
72636
|
device_ids?: never;
|
|
@@ -72513,6 +72753,8 @@ declare const _default: {
|
|
|
72513
72753
|
desired_temperature_celsius?: never;
|
|
72514
72754
|
desired_temperature_fahrenheit?: never;
|
|
72515
72755
|
device_name?: never;
|
|
72756
|
+
activation_reason?: never;
|
|
72757
|
+
motion_sub_type?: never;
|
|
72516
72758
|
enrollment_automation_id?: never;
|
|
72517
72759
|
acs_entrance_ids?: never;
|
|
72518
72760
|
device_ids?: never;
|
|
@@ -72636,6 +72878,8 @@ declare const _default: {
|
|
|
72636
72878
|
desired_temperature_celsius?: never;
|
|
72637
72879
|
desired_temperature_fahrenheit?: never;
|
|
72638
72880
|
device_name?: never;
|
|
72881
|
+
activation_reason?: never;
|
|
72882
|
+
motion_sub_type?: never;
|
|
72639
72883
|
enrollment_automation_id?: never;
|
|
72640
72884
|
acs_entrance_ids?: never;
|
|
72641
72885
|
device_ids?: never;
|
|
@@ -72797,6 +73041,8 @@ declare const _default: {
|
|
|
72797
73041
|
desired_temperature_celsius?: never;
|
|
72798
73042
|
desired_temperature_fahrenheit?: never;
|
|
72799
73043
|
device_name?: never;
|
|
73044
|
+
activation_reason?: never;
|
|
73045
|
+
motion_sub_type?: never;
|
|
72800
73046
|
enrollment_automation_id?: never;
|
|
72801
73047
|
acs_entrance_ids?: never;
|
|
72802
73048
|
device_ids?: never;
|
|
@@ -72915,6 +73161,8 @@ declare const _default: {
|
|
|
72915
73161
|
desired_temperature_celsius?: never;
|
|
72916
73162
|
desired_temperature_fahrenheit?: never;
|
|
72917
73163
|
device_name?: never;
|
|
73164
|
+
activation_reason?: never;
|
|
73165
|
+
motion_sub_type?: never;
|
|
72918
73166
|
enrollment_automation_id?: never;
|
|
72919
73167
|
acs_entrance_ids?: never;
|
|
72920
73168
|
device_ids?: never;
|
|
@@ -73039,6 +73287,8 @@ declare const _default: {
|
|
|
73039
73287
|
desired_temperature_celsius?: never;
|
|
73040
73288
|
desired_temperature_fahrenheit?: never;
|
|
73041
73289
|
device_name?: never;
|
|
73290
|
+
activation_reason?: never;
|
|
73291
|
+
motion_sub_type?: never;
|
|
73042
73292
|
enrollment_automation_id?: never;
|
|
73043
73293
|
acs_entrance_ids?: never;
|
|
73044
73294
|
device_ids?: never;
|
|
@@ -73163,6 +73413,8 @@ declare const _default: {
|
|
|
73163
73413
|
desired_temperature_celsius?: never;
|
|
73164
73414
|
desired_temperature_fahrenheit?: never;
|
|
73165
73415
|
device_name?: never;
|
|
73416
|
+
activation_reason?: never;
|
|
73417
|
+
motion_sub_type?: never;
|
|
73166
73418
|
enrollment_automation_id?: never;
|
|
73167
73419
|
acs_entrance_ids?: never;
|
|
73168
73420
|
device_ids?: never;
|
|
@@ -73273,6 +73525,8 @@ declare const _default: {
|
|
|
73273
73525
|
desired_temperature_celsius?: never;
|
|
73274
73526
|
desired_temperature_fahrenheit?: never;
|
|
73275
73527
|
device_name?: never;
|
|
73528
|
+
activation_reason?: never;
|
|
73529
|
+
motion_sub_type?: never;
|
|
73276
73530
|
enrollment_automation_id?: never;
|
|
73277
73531
|
acs_entrance_ids?: never;
|
|
73278
73532
|
device_ids?: never;
|
|
@@ -73406,6 +73660,8 @@ declare const _default: {
|
|
|
73406
73660
|
desired_temperature_celsius?: never;
|
|
73407
73661
|
desired_temperature_fahrenheit?: never;
|
|
73408
73662
|
device_name?: never;
|
|
73663
|
+
activation_reason?: never;
|
|
73664
|
+
motion_sub_type?: never;
|
|
73409
73665
|
enrollment_automation_id?: never;
|
|
73410
73666
|
acs_entrance_ids?: never;
|
|
73411
73667
|
device_ids?: never;
|
|
@@ -73631,6 +73887,8 @@ declare const _default: {
|
|
|
73631
73887
|
desired_temperature_celsius?: never;
|
|
73632
73888
|
desired_temperature_fahrenheit?: never;
|
|
73633
73889
|
device_name?: never;
|
|
73890
|
+
activation_reason?: never;
|
|
73891
|
+
motion_sub_type?: never;
|
|
73634
73892
|
enrollment_automation_id?: never;
|
|
73635
73893
|
acs_entrance_ids?: never;
|
|
73636
73894
|
device_ids?: never;
|
|
@@ -73770,6 +74028,8 @@ declare const _default: {
|
|
|
73770
74028
|
desired_temperature_celsius?: never;
|
|
73771
74029
|
desired_temperature_fahrenheit?: never;
|
|
73772
74030
|
device_name?: never;
|
|
74031
|
+
activation_reason?: never;
|
|
74032
|
+
motion_sub_type?: never;
|
|
73773
74033
|
enrollment_automation_id?: never;
|
|
73774
74034
|
acs_entrance_ids?: never;
|
|
73775
74035
|
device_ids?: never;
|
|
@@ -73913,6 +74173,8 @@ declare const _default: {
|
|
|
73913
74173
|
desired_temperature_celsius?: never;
|
|
73914
74174
|
desired_temperature_fahrenheit?: never;
|
|
73915
74175
|
device_name?: never;
|
|
74176
|
+
activation_reason?: never;
|
|
74177
|
+
motion_sub_type?: never;
|
|
73916
74178
|
enrollment_automation_id?: never;
|
|
73917
74179
|
acs_entrance_ids?: never;
|
|
73918
74180
|
device_ids?: never;
|
|
@@ -74134,6 +74396,8 @@ declare const _default: {
|
|
|
74134
74396
|
desired_temperature_celsius?: never;
|
|
74135
74397
|
desired_temperature_fahrenheit?: never;
|
|
74136
74398
|
device_name?: never;
|
|
74399
|
+
activation_reason?: never;
|
|
74400
|
+
motion_sub_type?: never;
|
|
74137
74401
|
enrollment_automation_id?: never;
|
|
74138
74402
|
acs_entrance_ids?: never;
|
|
74139
74403
|
device_ids?: never;
|
|
@@ -74290,6 +74554,8 @@ declare const _default: {
|
|
|
74290
74554
|
desired_temperature_celsius?: never;
|
|
74291
74555
|
desired_temperature_fahrenheit?: never;
|
|
74292
74556
|
device_name?: never;
|
|
74557
|
+
activation_reason?: never;
|
|
74558
|
+
motion_sub_type?: never;
|
|
74293
74559
|
enrollment_automation_id?: never;
|
|
74294
74560
|
acs_entrance_ids?: never;
|
|
74295
74561
|
device_ids?: never;
|
|
@@ -74438,6 +74704,8 @@ declare const _default: {
|
|
|
74438
74704
|
desired_temperature_celsius?: never;
|
|
74439
74705
|
desired_temperature_fahrenheit?: never;
|
|
74440
74706
|
device_name?: never;
|
|
74707
|
+
activation_reason?: never;
|
|
74708
|
+
motion_sub_type?: never;
|
|
74441
74709
|
enrollment_automation_id?: never;
|
|
74442
74710
|
acs_entrance_ids?: never;
|
|
74443
74711
|
device_ids?: never;
|
|
@@ -74602,6 +74870,8 @@ declare const _default: {
|
|
|
74602
74870
|
desired_temperature_celsius?: never;
|
|
74603
74871
|
desired_temperature_fahrenheit?: never;
|
|
74604
74872
|
device_name?: never;
|
|
74873
|
+
activation_reason?: never;
|
|
74874
|
+
motion_sub_type?: never;
|
|
74605
74875
|
enrollment_automation_id?: never;
|
|
74606
74876
|
acs_entrance_ids?: never;
|
|
74607
74877
|
device_ids?: never;
|
|
@@ -74739,6 +75009,8 @@ declare const _default: {
|
|
|
74739
75009
|
desired_temperature_celsius?: never;
|
|
74740
75010
|
desired_temperature_fahrenheit?: never;
|
|
74741
75011
|
device_name?: never;
|
|
75012
|
+
activation_reason?: never;
|
|
75013
|
+
motion_sub_type?: never;
|
|
74742
75014
|
enrollment_automation_id?: never;
|
|
74743
75015
|
acs_entrance_ids?: never;
|
|
74744
75016
|
device_ids?: never;
|
|
@@ -74883,6 +75155,8 @@ declare const _default: {
|
|
|
74883
75155
|
desired_temperature_celsius?: never;
|
|
74884
75156
|
desired_temperature_fahrenheit?: never;
|
|
74885
75157
|
device_name?: never;
|
|
75158
|
+
activation_reason?: never;
|
|
75159
|
+
motion_sub_type?: never;
|
|
74886
75160
|
enrollment_automation_id?: never;
|
|
74887
75161
|
acs_entrance_ids?: never;
|
|
74888
75162
|
device_ids?: never;
|
|
@@ -75044,6 +75318,8 @@ declare const _default: {
|
|
|
75044
75318
|
desired_temperature_celsius?: never;
|
|
75045
75319
|
desired_temperature_fahrenheit?: never;
|
|
75046
75320
|
device_name?: never;
|
|
75321
|
+
activation_reason?: never;
|
|
75322
|
+
motion_sub_type?: never;
|
|
75047
75323
|
enrollment_automation_id?: never;
|
|
75048
75324
|
acs_entrance_ids?: never;
|
|
75049
75325
|
device_ids?: never;
|
|
@@ -75205,6 +75481,8 @@ declare const _default: {
|
|
|
75205
75481
|
desired_temperature_celsius?: never;
|
|
75206
75482
|
desired_temperature_fahrenheit?: never;
|
|
75207
75483
|
device_name?: never;
|
|
75484
|
+
activation_reason?: never;
|
|
75485
|
+
motion_sub_type?: never;
|
|
75208
75486
|
enrollment_automation_id?: never;
|
|
75209
75487
|
acs_entrance_ids?: never;
|
|
75210
75488
|
device_ids?: never;
|
|
@@ -75354,6 +75632,8 @@ declare const _default: {
|
|
|
75354
75632
|
upper_limit_celsius?: never;
|
|
75355
75633
|
upper_limit_fahrenheit?: never;
|
|
75356
75634
|
device_name?: never;
|
|
75635
|
+
activation_reason?: never;
|
|
75636
|
+
motion_sub_type?: never;
|
|
75357
75637
|
enrollment_automation_id?: never;
|
|
75358
75638
|
acs_entrance_ids?: never;
|
|
75359
75639
|
device_ids?: never;
|
|
@@ -75495,6 +75775,8 @@ declare const _default: {
|
|
|
75495
75775
|
desired_temperature_celsius?: never;
|
|
75496
75776
|
desired_temperature_fahrenheit?: never;
|
|
75497
75777
|
device_name?: never;
|
|
75778
|
+
activation_reason?: never;
|
|
75779
|
+
motion_sub_type?: never;
|
|
75498
75780
|
enrollment_automation_id?: never;
|
|
75499
75781
|
acs_entrance_ids?: never;
|
|
75500
75782
|
device_ids?: never;
|
|
@@ -75631,6 +75913,151 @@ declare const _default: {
|
|
|
75631
75913
|
upper_limit_fahrenheit?: never;
|
|
75632
75914
|
desired_temperature_celsius?: never;
|
|
75633
75915
|
desired_temperature_fahrenheit?: never;
|
|
75916
|
+
activation_reason?: never;
|
|
75917
|
+
motion_sub_type?: never;
|
|
75918
|
+
enrollment_automation_id?: never;
|
|
75919
|
+
acs_entrance_ids?: never;
|
|
75920
|
+
device_ids?: never;
|
|
75921
|
+
space_id?: never;
|
|
75922
|
+
space_key?: never;
|
|
75923
|
+
};
|
|
75924
|
+
required: string[];
|
|
75925
|
+
type: string;
|
|
75926
|
+
'x-route-path': string;
|
|
75927
|
+
deprecated?: never;
|
|
75928
|
+
'x-deprecated'?: never;
|
|
75929
|
+
} | {
|
|
75930
|
+
description: string;
|
|
75931
|
+
properties: {
|
|
75932
|
+
activation_reason: {
|
|
75933
|
+
description: string;
|
|
75934
|
+
enum: string[];
|
|
75935
|
+
type: string;
|
|
75936
|
+
};
|
|
75937
|
+
connected_account_custom_metadata: {
|
|
75938
|
+
additionalProperties: {
|
|
75939
|
+
oneOf: {
|
|
75940
|
+
type: string;
|
|
75941
|
+
}[];
|
|
75942
|
+
};
|
|
75943
|
+
description: string;
|
|
75944
|
+
type: string;
|
|
75945
|
+
};
|
|
75946
|
+
connected_account_id: {
|
|
75947
|
+
description: string;
|
|
75948
|
+
format: string;
|
|
75949
|
+
type: string;
|
|
75950
|
+
};
|
|
75951
|
+
created_at: {
|
|
75952
|
+
description: string;
|
|
75953
|
+
format: string;
|
|
75954
|
+
type: string;
|
|
75955
|
+
};
|
|
75956
|
+
customer_key: {
|
|
75957
|
+
description: string;
|
|
75958
|
+
type: string;
|
|
75959
|
+
};
|
|
75960
|
+
device_custom_metadata: {
|
|
75961
|
+
additionalProperties: {
|
|
75962
|
+
oneOf: {
|
|
75963
|
+
type: string;
|
|
75964
|
+
}[];
|
|
75965
|
+
};
|
|
75966
|
+
description: string;
|
|
75967
|
+
type: string;
|
|
75968
|
+
};
|
|
75969
|
+
device_id: {
|
|
75970
|
+
description: string;
|
|
75971
|
+
format: string;
|
|
75972
|
+
type: string;
|
|
75973
|
+
};
|
|
75974
|
+
event_id: {
|
|
75975
|
+
description: string;
|
|
75976
|
+
format: string;
|
|
75977
|
+
type: string;
|
|
75978
|
+
};
|
|
75979
|
+
event_type: {
|
|
75980
|
+
enum: string[];
|
|
75981
|
+
type: string;
|
|
75982
|
+
description?: never;
|
|
75983
|
+
};
|
|
75984
|
+
motion_sub_type: {
|
|
75985
|
+
description: string;
|
|
75986
|
+
enum: string[];
|
|
75987
|
+
type: string;
|
|
75988
|
+
};
|
|
75989
|
+
occurred_at: {
|
|
75990
|
+
description: string;
|
|
75991
|
+
format: string;
|
|
75992
|
+
type: string;
|
|
75993
|
+
};
|
|
75994
|
+
workspace_id: {
|
|
75995
|
+
description: string;
|
|
75996
|
+
format: string;
|
|
75997
|
+
type: string;
|
|
75998
|
+
};
|
|
75999
|
+
access_code_id?: never;
|
|
76000
|
+
code?: never;
|
|
76001
|
+
access_code_errors?: never;
|
|
76002
|
+
access_code_warnings?: never;
|
|
76003
|
+
connected_account_errors?: never;
|
|
76004
|
+
connected_account_warnings?: never;
|
|
76005
|
+
device_errors?: never;
|
|
76006
|
+
device_warnings?: never;
|
|
76007
|
+
backup_access_code_id?: never;
|
|
76008
|
+
access_grant_id?: never;
|
|
76009
|
+
acs_entrance_id?: never;
|
|
76010
|
+
access_grant_key?: never;
|
|
76011
|
+
ends_at?: never;
|
|
76012
|
+
starts_at?: never;
|
|
76013
|
+
error_message?: never;
|
|
76014
|
+
access_grant_ids?: never;
|
|
76015
|
+
access_grant_keys?: never;
|
|
76016
|
+
access_method_id?: never;
|
|
76017
|
+
is_backup_code?: never;
|
|
76018
|
+
acs_system_id?: never;
|
|
76019
|
+
acs_system_errors?: never;
|
|
76020
|
+
acs_system_warnings?: never;
|
|
76021
|
+
acs_credential_id?: never;
|
|
76022
|
+
acs_user_id?: never;
|
|
76023
|
+
acs_encoder_id?: never;
|
|
76024
|
+
acs_access_group_id?: never;
|
|
76025
|
+
client_session_id?: never;
|
|
76026
|
+
connect_webview_id?: never;
|
|
76027
|
+
connected_account_type?: never;
|
|
76028
|
+
action_attempt_id?: never;
|
|
76029
|
+
action_type?: never;
|
|
76030
|
+
status?: never;
|
|
76031
|
+
error_code?: never;
|
|
76032
|
+
battery_level?: never;
|
|
76033
|
+
battery_status?: never;
|
|
76034
|
+
minut_metadata?: never;
|
|
76035
|
+
noise_level_decibels?: never;
|
|
76036
|
+
noise_level_nrs?: never;
|
|
76037
|
+
noise_threshold_id?: never;
|
|
76038
|
+
noise_threshold_name?: never;
|
|
76039
|
+
noiseaware_metadata?: never;
|
|
76040
|
+
access_code_is_managed?: never;
|
|
76041
|
+
method?: never;
|
|
76042
|
+
user_identity_id?: never;
|
|
76043
|
+
climate_preset_key?: never;
|
|
76044
|
+
is_fallback_climate_preset?: never;
|
|
76045
|
+
thermostat_schedule_id?: never;
|
|
76046
|
+
cooling_set_point_celsius?: never;
|
|
76047
|
+
cooling_set_point_fahrenheit?: never;
|
|
76048
|
+
fan_mode_setting?: never;
|
|
76049
|
+
heating_set_point_celsius?: never;
|
|
76050
|
+
heating_set_point_fahrenheit?: never;
|
|
76051
|
+
hvac_mode_setting?: never;
|
|
76052
|
+
lower_limit_celsius?: never;
|
|
76053
|
+
lower_limit_fahrenheit?: never;
|
|
76054
|
+
temperature_celsius?: never;
|
|
76055
|
+
temperature_fahrenheit?: never;
|
|
76056
|
+
upper_limit_celsius?: never;
|
|
76057
|
+
upper_limit_fahrenheit?: never;
|
|
76058
|
+
desired_temperature_celsius?: never;
|
|
76059
|
+
desired_temperature_fahrenheit?: never;
|
|
76060
|
+
device_name?: never;
|
|
75634
76061
|
enrollment_automation_id?: never;
|
|
75635
76062
|
acs_entrance_ids?: never;
|
|
75636
76063
|
device_ids?: never;
|
|
@@ -75742,6 +76169,8 @@ declare const _default: {
|
|
|
75742
76169
|
desired_temperature_celsius?: never;
|
|
75743
76170
|
desired_temperature_fahrenheit?: never;
|
|
75744
76171
|
device_name?: never;
|
|
76172
|
+
activation_reason?: never;
|
|
76173
|
+
motion_sub_type?: never;
|
|
75745
76174
|
acs_entrance_ids?: never;
|
|
75746
76175
|
device_ids?: never;
|
|
75747
76176
|
space_id?: never;
|
|
@@ -75859,6 +76288,8 @@ declare const _default: {
|
|
|
75859
76288
|
desired_temperature_celsius?: never;
|
|
75860
76289
|
desired_temperature_fahrenheit?: never;
|
|
75861
76290
|
device_name?: never;
|
|
76291
|
+
activation_reason?: never;
|
|
76292
|
+
motion_sub_type?: never;
|
|
75862
76293
|
enrollment_automation_id?: never;
|
|
75863
76294
|
acs_entrance_ids?: never;
|
|
75864
76295
|
device_ids?: never;
|
|
@@ -75990,6 +76421,8 @@ declare const _default: {
|
|
|
75990
76421
|
desired_temperature_celsius?: never;
|
|
75991
76422
|
desired_temperature_fahrenheit?: never;
|
|
75992
76423
|
device_name?: never;
|
|
76424
|
+
activation_reason?: never;
|
|
76425
|
+
motion_sub_type?: never;
|
|
75993
76426
|
enrollment_automation_id?: never;
|
|
75994
76427
|
};
|
|
75995
76428
|
required: string[];
|
|
@@ -167303,6 +167736,58 @@ type Routes = {
|
|
|
167303
167736
|
event_type: 'device.name_changed';
|
|
167304
167737
|
/** The new name of the affected device. */
|
|
167305
167738
|
device_name: string;
|
|
167739
|
+
} | {
|
|
167740
|
+
/** ID of the event. */
|
|
167741
|
+
event_id: string;
|
|
167742
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
167743
|
+
workspace_id: string;
|
|
167744
|
+
/** Date and time at which the event was created. */
|
|
167745
|
+
created_at: string;
|
|
167746
|
+
/** Date and time at which the event occurred. */
|
|
167747
|
+
occurred_at: string;
|
|
167748
|
+
/** ID of the affected device. */
|
|
167749
|
+
device_id: string;
|
|
167750
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
167751
|
+
connected_account_id: string;
|
|
167752
|
+
/** The customer key associated with the device, if any. */
|
|
167753
|
+
customer_key?: string | undefined;
|
|
167754
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
167755
|
+
device_custom_metadata?: {
|
|
167756
|
+
[x: string]: string | boolean;
|
|
167757
|
+
} | undefined;
|
|
167758
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
167759
|
+
connected_account_custom_metadata?: {
|
|
167760
|
+
[x: string]: string | boolean;
|
|
167761
|
+
} | undefined;
|
|
167762
|
+
event_type: 'camera.activated';
|
|
167763
|
+
/** The reason the camera was activated. */
|
|
167764
|
+
activation_reason: 'motion_detected';
|
|
167765
|
+
/** Sub-type of motion detected, if available. */
|
|
167766
|
+
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
167767
|
+
} | {
|
|
167768
|
+
/** ID of the event. */
|
|
167769
|
+
event_id: string;
|
|
167770
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
167771
|
+
workspace_id: string;
|
|
167772
|
+
/** Date and time at which the event was created. */
|
|
167773
|
+
created_at: string;
|
|
167774
|
+
/** Date and time at which the event occurred. */
|
|
167775
|
+
occurred_at: string;
|
|
167776
|
+
/** ID of the affected device. */
|
|
167777
|
+
device_id: string;
|
|
167778
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
167779
|
+
connected_account_id: string;
|
|
167780
|
+
/** The customer key associated with the device, if any. */
|
|
167781
|
+
customer_key?: string | undefined;
|
|
167782
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
167783
|
+
device_custom_metadata?: {
|
|
167784
|
+
[x: string]: string | boolean;
|
|
167785
|
+
} | undefined;
|
|
167786
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
167787
|
+
connected_account_custom_metadata?: {
|
|
167788
|
+
[x: string]: string | boolean;
|
|
167789
|
+
} | undefined;
|
|
167790
|
+
event_type: 'device.doorbell_rang';
|
|
167306
167791
|
} | {
|
|
167307
167792
|
/** ID of the event. */
|
|
167308
167793
|
event_id: string;
|
|
@@ -167420,9 +167905,9 @@ type Routes = {
|
|
|
167420
167905
|
/** IDs of the access codes for which you want to list events. */
|
|
167421
167906
|
access_code_ids?: string[] | undefined;
|
|
167422
167907
|
/** Type of the events that you want to list. */
|
|
167423
|
-
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
167908
|
+
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
167424
167909
|
/** Types of the events that you want to list. */
|
|
167425
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
167910
|
+
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
167426
167911
|
/** ID of the connected account for which you want to list events. */
|
|
167427
167912
|
connected_account_id?: string | undefined;
|
|
167428
167913
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -170071,6 +170556,58 @@ type Routes = {
|
|
|
170071
170556
|
event_type: 'device.name_changed';
|
|
170072
170557
|
/** The new name of the affected device. */
|
|
170073
170558
|
device_name: string;
|
|
170559
|
+
} | {
|
|
170560
|
+
/** ID of the event. */
|
|
170561
|
+
event_id: string;
|
|
170562
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
170563
|
+
workspace_id: string;
|
|
170564
|
+
/** Date and time at which the event was created. */
|
|
170565
|
+
created_at: string;
|
|
170566
|
+
/** Date and time at which the event occurred. */
|
|
170567
|
+
occurred_at: string;
|
|
170568
|
+
/** ID of the affected device. */
|
|
170569
|
+
device_id: string;
|
|
170570
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
170571
|
+
connected_account_id: string;
|
|
170572
|
+
/** The customer key associated with the device, if any. */
|
|
170573
|
+
customer_key?: string | undefined;
|
|
170574
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
170575
|
+
device_custom_metadata?: {
|
|
170576
|
+
[x: string]: string | boolean;
|
|
170577
|
+
} | undefined;
|
|
170578
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
170579
|
+
connected_account_custom_metadata?: {
|
|
170580
|
+
[x: string]: string | boolean;
|
|
170581
|
+
} | undefined;
|
|
170582
|
+
event_type: 'camera.activated';
|
|
170583
|
+
/** The reason the camera was activated. */
|
|
170584
|
+
activation_reason: 'motion_detected';
|
|
170585
|
+
/** Sub-type of motion detected, if available. */
|
|
170586
|
+
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
170587
|
+
} | {
|
|
170588
|
+
/** ID of the event. */
|
|
170589
|
+
event_id: string;
|
|
170590
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
170591
|
+
workspace_id: string;
|
|
170592
|
+
/** Date and time at which the event was created. */
|
|
170593
|
+
created_at: string;
|
|
170594
|
+
/** Date and time at which the event occurred. */
|
|
170595
|
+
occurred_at: string;
|
|
170596
|
+
/** ID of the affected device. */
|
|
170597
|
+
device_id: string;
|
|
170598
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
170599
|
+
connected_account_id: string;
|
|
170600
|
+
/** The customer key associated with the device, if any. */
|
|
170601
|
+
customer_key?: string | undefined;
|
|
170602
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
170603
|
+
device_custom_metadata?: {
|
|
170604
|
+
[x: string]: string | boolean;
|
|
170605
|
+
} | undefined;
|
|
170606
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
170607
|
+
connected_account_custom_metadata?: {
|
|
170608
|
+
[x: string]: string | boolean;
|
|
170609
|
+
} | undefined;
|
|
170610
|
+
event_type: 'device.doorbell_rang';
|
|
170074
170611
|
} | {
|
|
170075
170612
|
/** ID of the event. */
|
|
170076
170613
|
event_id: string;
|
|
@@ -190221,9 +190758,9 @@ type Routes = {
|
|
|
190221
190758
|
/** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
|
|
190222
190759
|
between?: (string | Date)[] | undefined;
|
|
190223
190760
|
/** Type of the events that you want to list. */
|
|
190224
|
-
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
190761
|
+
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
190225
190762
|
/** Types of the events that you want to list. */
|
|
190226
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
190763
|
+
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
190227
190764
|
/** Numerical limit on the number of events to return. */
|
|
190228
190765
|
limit?: number;
|
|
190229
190766
|
};
|
|
@@ -192842,6 +193379,58 @@ type Routes = {
|
|
|
192842
193379
|
event_type: 'device.name_changed';
|
|
192843
193380
|
/** The new name of the affected device. */
|
|
192844
193381
|
device_name: string;
|
|
193382
|
+
} | {
|
|
193383
|
+
/** ID of the event. */
|
|
193384
|
+
event_id: string;
|
|
193385
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
193386
|
+
workspace_id: string;
|
|
193387
|
+
/** Date and time at which the event was created. */
|
|
193388
|
+
created_at: string;
|
|
193389
|
+
/** Date and time at which the event occurred. */
|
|
193390
|
+
occurred_at: string;
|
|
193391
|
+
/** ID of the affected device. */
|
|
193392
|
+
device_id: string;
|
|
193393
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
193394
|
+
connected_account_id: string;
|
|
193395
|
+
/** The customer key associated with the device, if any. */
|
|
193396
|
+
customer_key?: string | undefined;
|
|
193397
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
193398
|
+
device_custom_metadata?: {
|
|
193399
|
+
[x: string]: string | boolean;
|
|
193400
|
+
} | undefined;
|
|
193401
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
193402
|
+
connected_account_custom_metadata?: {
|
|
193403
|
+
[x: string]: string | boolean;
|
|
193404
|
+
} | undefined;
|
|
193405
|
+
event_type: 'camera.activated';
|
|
193406
|
+
/** The reason the camera was activated. */
|
|
193407
|
+
activation_reason: 'motion_detected';
|
|
193408
|
+
/** Sub-type of motion detected, if available. */
|
|
193409
|
+
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
193410
|
+
} | {
|
|
193411
|
+
/** ID of the event. */
|
|
193412
|
+
event_id: string;
|
|
193413
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
193414
|
+
workspace_id: string;
|
|
193415
|
+
/** Date and time at which the event was created. */
|
|
193416
|
+
created_at: string;
|
|
193417
|
+
/** Date and time at which the event occurred. */
|
|
193418
|
+
occurred_at: string;
|
|
193419
|
+
/** ID of the affected device. */
|
|
193420
|
+
device_id: string;
|
|
193421
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
193422
|
+
connected_account_id: string;
|
|
193423
|
+
/** The customer key associated with the device, if any. */
|
|
193424
|
+
customer_key?: string | undefined;
|
|
193425
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
193426
|
+
device_custom_metadata?: {
|
|
193427
|
+
[x: string]: string | boolean;
|
|
193428
|
+
} | undefined;
|
|
193429
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
193430
|
+
connected_account_custom_metadata?: {
|
|
193431
|
+
[x: string]: string | boolean;
|
|
193432
|
+
} | undefined;
|
|
193433
|
+
event_type: 'device.doorbell_rang';
|
|
192845
193434
|
} | {
|
|
192846
193435
|
/** ID of the event. */
|
|
192847
193436
|
event_id: string;
|
|
@@ -223640,6 +224229,58 @@ type Routes = {
|
|
|
223640
224229
|
event_type: 'device.name_changed';
|
|
223641
224230
|
/** The new name of the affected device. */
|
|
223642
224231
|
device_name: string;
|
|
224232
|
+
} | {
|
|
224233
|
+
/** ID of the event. */
|
|
224234
|
+
event_id: string;
|
|
224235
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
224236
|
+
workspace_id: string;
|
|
224237
|
+
/** Date and time at which the event was created. */
|
|
224238
|
+
created_at: string;
|
|
224239
|
+
/** Date and time at which the event occurred. */
|
|
224240
|
+
occurred_at: string;
|
|
224241
|
+
/** ID of the affected device. */
|
|
224242
|
+
device_id: string;
|
|
224243
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
224244
|
+
connected_account_id: string;
|
|
224245
|
+
/** The customer key associated with the device, if any. */
|
|
224246
|
+
customer_key?: string | undefined;
|
|
224247
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
224248
|
+
device_custom_metadata?: {
|
|
224249
|
+
[x: string]: string | boolean;
|
|
224250
|
+
} | undefined;
|
|
224251
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
224252
|
+
connected_account_custom_metadata?: {
|
|
224253
|
+
[x: string]: string | boolean;
|
|
224254
|
+
} | undefined;
|
|
224255
|
+
event_type: 'camera.activated';
|
|
224256
|
+
/** The reason the camera was activated. */
|
|
224257
|
+
activation_reason: 'motion_detected';
|
|
224258
|
+
/** Sub-type of motion detected, if available. */
|
|
224259
|
+
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
224260
|
+
} | {
|
|
224261
|
+
/** ID of the event. */
|
|
224262
|
+
event_id: string;
|
|
224263
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
224264
|
+
workspace_id: string;
|
|
224265
|
+
/** Date and time at which the event was created. */
|
|
224266
|
+
created_at: string;
|
|
224267
|
+
/** Date and time at which the event occurred. */
|
|
224268
|
+
occurred_at: string;
|
|
224269
|
+
/** ID of the affected device. */
|
|
224270
|
+
device_id: string;
|
|
224271
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
224272
|
+
connected_account_id: string;
|
|
224273
|
+
/** The customer key associated with the device, if any. */
|
|
224274
|
+
customer_key?: string | undefined;
|
|
224275
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
224276
|
+
device_custom_metadata?: {
|
|
224277
|
+
[x: string]: string | boolean;
|
|
224278
|
+
} | undefined;
|
|
224279
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
224280
|
+
connected_account_custom_metadata?: {
|
|
224281
|
+
[x: string]: string | boolean;
|
|
224282
|
+
} | undefined;
|
|
224283
|
+
event_type: 'device.doorbell_rang';
|
|
223643
224284
|
} | {
|
|
223644
224285
|
/** ID of the event. */
|
|
223645
224286
|
event_id: string;
|