@seamapi/types 1.359.0 → 1.360.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 +65 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +179 -2
- package/lib/seam/connect/models/events/devices.d.ts +60 -0
- package/lib/seam/connect/models/events/devices.js +10 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +30 -1
- package/lib/seam/connect/openapi.d.ts +116 -0
- package/lib/seam/connect/openapi.js +54 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +34 -2
- package/package.json +2 -2
- package/src/lib/seam/connect/models/events/devices.ts +13 -0
- package/src/lib/seam/connect/openapi.ts +57 -0
- package/src/lib/seam/connect/route-types.ts +36 -0
package/dist/connect.d.cts
CHANGED
|
@@ -16996,6 +16996,35 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
16996
16996
|
workspace_id: z.ZodString;
|
|
16997
16997
|
created_at: z.ZodString;
|
|
16998
16998
|
occurred_at: z.ZodString;
|
|
16999
|
+
}, {
|
|
17000
|
+
device_id: z.ZodString;
|
|
17001
|
+
connected_account_id: z.ZodString;
|
|
17002
|
+
}>, {
|
|
17003
|
+
event_type: z.ZodLiteral<"device.name_changed">;
|
|
17004
|
+
new_name: z.ZodString;
|
|
17005
|
+
}>, "strip", z.ZodTypeAny, {
|
|
17006
|
+
created_at: string;
|
|
17007
|
+
connected_account_id: string;
|
|
17008
|
+
device_id: string;
|
|
17009
|
+
workspace_id: string;
|
|
17010
|
+
event_id: string;
|
|
17011
|
+
occurred_at: string;
|
|
17012
|
+
event_type: "device.name_changed";
|
|
17013
|
+
new_name: string;
|
|
17014
|
+
}, {
|
|
17015
|
+
created_at: string;
|
|
17016
|
+
connected_account_id: string;
|
|
17017
|
+
device_id: string;
|
|
17018
|
+
workspace_id: string;
|
|
17019
|
+
event_id: string;
|
|
17020
|
+
occurred_at: string;
|
|
17021
|
+
event_type: "device.name_changed";
|
|
17022
|
+
new_name: string;
|
|
17023
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
17024
|
+
event_id: z.ZodString;
|
|
17025
|
+
workspace_id: z.ZodString;
|
|
17026
|
+
created_at: z.ZodString;
|
|
17027
|
+
occurred_at: z.ZodString;
|
|
16999
17028
|
}, {
|
|
17000
17029
|
enrollment_automation_id: z.ZodString;
|
|
17001
17030
|
}>, {
|
|
@@ -21774,6 +21803,7 @@ declare const _default: {
|
|
|
21774
21803
|
upper_limit_fahrenheit?: never;
|
|
21775
21804
|
desired_temperature_celsius?: never;
|
|
21776
21805
|
desired_temperature_fahrenheit?: never;
|
|
21806
|
+
new_name?: never;
|
|
21777
21807
|
enrollment_automation_id?: never;
|
|
21778
21808
|
};
|
|
21779
21809
|
required: string[];
|
|
@@ -21866,6 +21896,7 @@ declare const _default: {
|
|
|
21866
21896
|
upper_limit_fahrenheit?: never;
|
|
21867
21897
|
desired_temperature_celsius?: never;
|
|
21868
21898
|
desired_temperature_fahrenheit?: never;
|
|
21899
|
+
new_name?: never;
|
|
21869
21900
|
enrollment_automation_id?: never;
|
|
21870
21901
|
};
|
|
21871
21902
|
required: string[];
|
|
@@ -21958,6 +21989,7 @@ declare const _default: {
|
|
|
21958
21989
|
upper_limit_fahrenheit?: never;
|
|
21959
21990
|
desired_temperature_celsius?: never;
|
|
21960
21991
|
desired_temperature_fahrenheit?: never;
|
|
21992
|
+
new_name?: never;
|
|
21961
21993
|
enrollment_automation_id?: never;
|
|
21962
21994
|
};
|
|
21963
21995
|
required: string[];
|
|
@@ -22048,6 +22080,7 @@ declare const _default: {
|
|
|
22048
22080
|
upper_limit_fahrenheit?: never;
|
|
22049
22081
|
desired_temperature_celsius?: never;
|
|
22050
22082
|
desired_temperature_fahrenheit?: never;
|
|
22083
|
+
new_name?: never;
|
|
22051
22084
|
enrollment_automation_id?: never;
|
|
22052
22085
|
};
|
|
22053
22086
|
required: string[];
|
|
@@ -22132,6 +22165,7 @@ declare const _default: {
|
|
|
22132
22165
|
upper_limit_fahrenheit?: never;
|
|
22133
22166
|
desired_temperature_celsius?: never;
|
|
22134
22167
|
desired_temperature_fahrenheit?: never;
|
|
22168
|
+
new_name?: never;
|
|
22135
22169
|
enrollment_automation_id?: never;
|
|
22136
22170
|
};
|
|
22137
22171
|
required: string[];
|
|
@@ -22219,6 +22253,7 @@ declare const _default: {
|
|
|
22219
22253
|
upper_limit_fahrenheit?: never;
|
|
22220
22254
|
desired_temperature_celsius?: never;
|
|
22221
22255
|
desired_temperature_fahrenheit?: never;
|
|
22256
|
+
new_name?: never;
|
|
22222
22257
|
enrollment_automation_id?: never;
|
|
22223
22258
|
};
|
|
22224
22259
|
required: string[];
|
|
@@ -22306,6 +22341,7 @@ declare const _default: {
|
|
|
22306
22341
|
upper_limit_fahrenheit?: never;
|
|
22307
22342
|
desired_temperature_celsius?: never;
|
|
22308
22343
|
desired_temperature_fahrenheit?: never;
|
|
22344
|
+
new_name?: never;
|
|
22309
22345
|
enrollment_automation_id?: never;
|
|
22310
22346
|
};
|
|
22311
22347
|
required: string[];
|
|
@@ -22394,6 +22430,7 @@ declare const _default: {
|
|
|
22394
22430
|
upper_limit_fahrenheit?: never;
|
|
22395
22431
|
desired_temperature_celsius?: never;
|
|
22396
22432
|
desired_temperature_fahrenheit?: never;
|
|
22433
|
+
new_name?: never;
|
|
22397
22434
|
enrollment_automation_id?: never;
|
|
22398
22435
|
};
|
|
22399
22436
|
required: string[];
|
|
@@ -22481,6 +22518,7 @@ declare const _default: {
|
|
|
22481
22518
|
upper_limit_fahrenheit?: never;
|
|
22482
22519
|
desired_temperature_celsius?: never;
|
|
22483
22520
|
desired_temperature_fahrenheit?: never;
|
|
22521
|
+
new_name?: never;
|
|
22484
22522
|
enrollment_automation_id?: never;
|
|
22485
22523
|
};
|
|
22486
22524
|
required: string[];
|
|
@@ -22561,6 +22599,7 @@ declare const _default: {
|
|
|
22561
22599
|
upper_limit_fahrenheit?: never;
|
|
22562
22600
|
desired_temperature_celsius?: never;
|
|
22563
22601
|
desired_temperature_fahrenheit?: never;
|
|
22602
|
+
new_name?: never;
|
|
22564
22603
|
enrollment_automation_id?: never;
|
|
22565
22604
|
};
|
|
22566
22605
|
required: string[];
|
|
@@ -22645,6 +22684,7 @@ declare const _default: {
|
|
|
22645
22684
|
upper_limit_fahrenheit?: never;
|
|
22646
22685
|
desired_temperature_celsius?: never;
|
|
22647
22686
|
desired_temperature_fahrenheit?: never;
|
|
22687
|
+
new_name?: never;
|
|
22648
22688
|
enrollment_automation_id?: never;
|
|
22649
22689
|
};
|
|
22650
22690
|
required: string[];
|
|
@@ -22730,6 +22770,7 @@ declare const _default: {
|
|
|
22730
22770
|
upper_limit_fahrenheit?: never;
|
|
22731
22771
|
desired_temperature_celsius?: never;
|
|
22732
22772
|
desired_temperature_fahrenheit?: never;
|
|
22773
|
+
new_name?: never;
|
|
22733
22774
|
enrollment_automation_id?: never;
|
|
22734
22775
|
};
|
|
22735
22776
|
required: string[];
|
|
@@ -22809,6 +22850,7 @@ declare const _default: {
|
|
|
22809
22850
|
upper_limit_fahrenheit?: never;
|
|
22810
22851
|
desired_temperature_celsius?: never;
|
|
22811
22852
|
desired_temperature_fahrenheit?: never;
|
|
22853
|
+
new_name?: never;
|
|
22812
22854
|
enrollment_automation_id?: never;
|
|
22813
22855
|
};
|
|
22814
22856
|
required: string[];
|
|
@@ -22895,6 +22937,7 @@ declare const _default: {
|
|
|
22895
22937
|
upper_limit_fahrenheit?: never;
|
|
22896
22938
|
desired_temperature_celsius?: never;
|
|
22897
22939
|
desired_temperature_fahrenheit?: never;
|
|
22940
|
+
new_name?: never;
|
|
22898
22941
|
enrollment_automation_id?: never;
|
|
22899
22942
|
};
|
|
22900
22943
|
required: string[];
|
|
@@ -22975,6 +23018,7 @@ declare const _default: {
|
|
|
22975
23018
|
upper_limit_fahrenheit?: never;
|
|
22976
23019
|
desired_temperature_celsius?: never;
|
|
22977
23020
|
desired_temperature_fahrenheit?: never;
|
|
23021
|
+
new_name?: never;
|
|
22978
23022
|
enrollment_automation_id?: never;
|
|
22979
23023
|
};
|
|
22980
23024
|
required: string[];
|
|
@@ -23059,6 +23103,7 @@ declare const _default: {
|
|
|
23059
23103
|
upper_limit_fahrenheit?: never;
|
|
23060
23104
|
desired_temperature_celsius?: never;
|
|
23061
23105
|
desired_temperature_fahrenheit?: never;
|
|
23106
|
+
new_name?: never;
|
|
23062
23107
|
enrollment_automation_id?: never;
|
|
23063
23108
|
};
|
|
23064
23109
|
required: string[];
|
|
@@ -23147,6 +23192,7 @@ declare const _default: {
|
|
|
23147
23192
|
upper_limit_fahrenheit?: never;
|
|
23148
23193
|
desired_temperature_celsius?: never;
|
|
23149
23194
|
desired_temperature_fahrenheit?: never;
|
|
23195
|
+
new_name?: never;
|
|
23150
23196
|
enrollment_automation_id?: never;
|
|
23151
23197
|
};
|
|
23152
23198
|
required: string[];
|
|
@@ -23237,6 +23283,7 @@ declare const _default: {
|
|
|
23237
23283
|
upper_limit_fahrenheit?: never;
|
|
23238
23284
|
desired_temperature_celsius?: never;
|
|
23239
23285
|
desired_temperature_fahrenheit?: never;
|
|
23286
|
+
new_name?: never;
|
|
23240
23287
|
enrollment_automation_id?: never;
|
|
23241
23288
|
};
|
|
23242
23289
|
required: string[];
|
|
@@ -23331,6 +23378,7 @@ declare const _default: {
|
|
|
23331
23378
|
upper_limit_fahrenheit?: never;
|
|
23332
23379
|
desired_temperature_celsius?: never;
|
|
23333
23380
|
desired_temperature_fahrenheit?: never;
|
|
23381
|
+
new_name?: never;
|
|
23334
23382
|
enrollment_automation_id?: never;
|
|
23335
23383
|
};
|
|
23336
23384
|
required: string[];
|
|
@@ -23438,6 +23486,7 @@ declare const _default: {
|
|
|
23438
23486
|
upper_limit_fahrenheit?: never;
|
|
23439
23487
|
desired_temperature_celsius?: never;
|
|
23440
23488
|
desired_temperature_fahrenheit?: never;
|
|
23489
|
+
new_name?: never;
|
|
23441
23490
|
enrollment_automation_id?: never;
|
|
23442
23491
|
};
|
|
23443
23492
|
required: string[];
|
|
@@ -23534,6 +23583,7 @@ declare const _default: {
|
|
|
23534
23583
|
upper_limit_fahrenheit?: never;
|
|
23535
23584
|
desired_temperature_celsius?: never;
|
|
23536
23585
|
desired_temperature_fahrenheit?: never;
|
|
23586
|
+
new_name?: never;
|
|
23537
23587
|
enrollment_automation_id?: never;
|
|
23538
23588
|
};
|
|
23539
23589
|
required: string[];
|
|
@@ -23629,6 +23679,7 @@ declare const _default: {
|
|
|
23629
23679
|
upper_limit_fahrenheit?: never;
|
|
23630
23680
|
desired_temperature_celsius?: never;
|
|
23631
23681
|
desired_temperature_fahrenheit?: never;
|
|
23682
|
+
new_name?: never;
|
|
23632
23683
|
enrollment_automation_id?: never;
|
|
23633
23684
|
};
|
|
23634
23685
|
required: string[];
|
|
@@ -23741,6 +23792,7 @@ declare const _default: {
|
|
|
23741
23792
|
upper_limit_fahrenheit?: never;
|
|
23742
23793
|
desired_temperature_celsius?: never;
|
|
23743
23794
|
desired_temperature_fahrenheit?: never;
|
|
23795
|
+
new_name?: never;
|
|
23744
23796
|
enrollment_automation_id?: never;
|
|
23745
23797
|
};
|
|
23746
23798
|
required: string[];
|
|
@@ -23853,6 +23905,7 @@ declare const _default: {
|
|
|
23853
23905
|
hvac_mode_setting?: never;
|
|
23854
23906
|
desired_temperature_celsius?: never;
|
|
23855
23907
|
desired_temperature_fahrenheit?: never;
|
|
23908
|
+
new_name?: never;
|
|
23856
23909
|
enrollment_automation_id?: never;
|
|
23857
23910
|
};
|
|
23858
23911
|
required: string[];
|
|
@@ -23953,6 +24006,7 @@ declare const _default: {
|
|
|
23953
24006
|
lower_limit_fahrenheit?: never;
|
|
23954
24007
|
upper_limit_celsius?: never;
|
|
23955
24008
|
upper_limit_fahrenheit?: never;
|
|
24009
|
+
new_name?: never;
|
|
23956
24010
|
enrollment_automation_id?: never;
|
|
23957
24011
|
};
|
|
23958
24012
|
required: string[];
|
|
@@ -24045,6 +24099,95 @@ declare const _default: {
|
|
|
24045
24099
|
upper_limit_fahrenheit?: never;
|
|
24046
24100
|
desired_temperature_celsius?: never;
|
|
24047
24101
|
desired_temperature_fahrenheit?: never;
|
|
24102
|
+
new_name?: never;
|
|
24103
|
+
enrollment_automation_id?: never;
|
|
24104
|
+
};
|
|
24105
|
+
required: string[];
|
|
24106
|
+
type: string;
|
|
24107
|
+
'x-route-path': string;
|
|
24108
|
+
deprecated?: never;
|
|
24109
|
+
'x-deprecated'?: never;
|
|
24110
|
+
} | {
|
|
24111
|
+
description: string;
|
|
24112
|
+
properties: {
|
|
24113
|
+
connected_account_id: {
|
|
24114
|
+
description: string;
|
|
24115
|
+
format: string;
|
|
24116
|
+
type: string;
|
|
24117
|
+
};
|
|
24118
|
+
created_at: {
|
|
24119
|
+
description: string;
|
|
24120
|
+
format: string;
|
|
24121
|
+
type: string;
|
|
24122
|
+
};
|
|
24123
|
+
device_id: {
|
|
24124
|
+
description: string;
|
|
24125
|
+
format: string;
|
|
24126
|
+
type: string;
|
|
24127
|
+
};
|
|
24128
|
+
event_id: {
|
|
24129
|
+
description: string;
|
|
24130
|
+
format: string;
|
|
24131
|
+
type: string;
|
|
24132
|
+
};
|
|
24133
|
+
event_type: {
|
|
24134
|
+
enum: string[];
|
|
24135
|
+
type: string;
|
|
24136
|
+
};
|
|
24137
|
+
new_name: {
|
|
24138
|
+
description: string;
|
|
24139
|
+
type: string;
|
|
24140
|
+
};
|
|
24141
|
+
occurred_at: {
|
|
24142
|
+
description: string;
|
|
24143
|
+
format: string;
|
|
24144
|
+
type: string;
|
|
24145
|
+
};
|
|
24146
|
+
workspace_id: {
|
|
24147
|
+
description: string;
|
|
24148
|
+
format: string;
|
|
24149
|
+
type: string;
|
|
24150
|
+
};
|
|
24151
|
+
access_code_id?: never;
|
|
24152
|
+
code?: never;
|
|
24153
|
+
backup_access_code_id?: never;
|
|
24154
|
+
acs_system_id?: never;
|
|
24155
|
+
acs_credential_id?: never;
|
|
24156
|
+
acs_user_id?: never;
|
|
24157
|
+
acs_encoder_id?: never;
|
|
24158
|
+
acs_access_group_id?: never;
|
|
24159
|
+
client_session_id?: never;
|
|
24160
|
+
connect_webview_id?: never;
|
|
24161
|
+
action_attempt_id?: never;
|
|
24162
|
+
action_type?: never;
|
|
24163
|
+
status?: never;
|
|
24164
|
+
error_code?: never;
|
|
24165
|
+
battery_level?: never;
|
|
24166
|
+
battery_status?: never;
|
|
24167
|
+
minut_metadata?: never;
|
|
24168
|
+
noise_level_decibels?: never;
|
|
24169
|
+
noise_level_nrs?: never;
|
|
24170
|
+
noise_threshold_id?: never;
|
|
24171
|
+
noise_threshold_name?: never;
|
|
24172
|
+
noiseaware_metadata?: never;
|
|
24173
|
+
method?: never;
|
|
24174
|
+
climate_preset_key?: never;
|
|
24175
|
+
is_fallback_climate_preset?: never;
|
|
24176
|
+
thermostat_schedule_id?: never;
|
|
24177
|
+
cooling_set_point_celsius?: never;
|
|
24178
|
+
cooling_set_point_fahrenheit?: never;
|
|
24179
|
+
fan_mode_setting?: never;
|
|
24180
|
+
heating_set_point_celsius?: never;
|
|
24181
|
+
heating_set_point_fahrenheit?: never;
|
|
24182
|
+
hvac_mode_setting?: never;
|
|
24183
|
+
lower_limit_celsius?: never;
|
|
24184
|
+
lower_limit_fahrenheit?: never;
|
|
24185
|
+
temperature_celsius?: never;
|
|
24186
|
+
temperature_fahrenheit?: never;
|
|
24187
|
+
upper_limit_celsius?: never;
|
|
24188
|
+
upper_limit_fahrenheit?: never;
|
|
24189
|
+
desired_temperature_celsius?: never;
|
|
24190
|
+
desired_temperature_fahrenheit?: never;
|
|
24048
24191
|
enrollment_automation_id?: never;
|
|
24049
24192
|
};
|
|
24050
24193
|
required: string[];
|
|
@@ -24126,6 +24269,7 @@ declare const _default: {
|
|
|
24126
24269
|
upper_limit_fahrenheit?: never;
|
|
24127
24270
|
desired_temperature_celsius?: never;
|
|
24128
24271
|
desired_temperature_fahrenheit?: never;
|
|
24272
|
+
new_name?: never;
|
|
24129
24273
|
};
|
|
24130
24274
|
required: string[];
|
|
24131
24275
|
type: string;
|
|
@@ -24205,6 +24349,7 @@ declare const _default: {
|
|
|
24205
24349
|
upper_limit_fahrenheit?: never;
|
|
24206
24350
|
desired_temperature_celsius?: never;
|
|
24207
24351
|
desired_temperature_fahrenheit?: never;
|
|
24352
|
+
new_name?: never;
|
|
24208
24353
|
enrollment_automation_id?: never;
|
|
24209
24354
|
};
|
|
24210
24355
|
required: string[];
|
|
@@ -58779,6 +58924,22 @@ interface Routes {
|
|
|
58779
58924
|
temperature_celsius: number;
|
|
58780
58925
|
/** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
|
|
58781
58926
|
temperature_fahrenheit: number;
|
|
58927
|
+
} | {
|
|
58928
|
+
/** ID of the event. */
|
|
58929
|
+
event_id: string;
|
|
58930
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
58931
|
+
workspace_id: string;
|
|
58932
|
+
/** Date and time at which the event was created. */
|
|
58933
|
+
created_at: string;
|
|
58934
|
+
/** Date and time at which the event occurred. */
|
|
58935
|
+
occurred_at: string;
|
|
58936
|
+
/** ID of the device. */
|
|
58937
|
+
device_id: string;
|
|
58938
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
58939
|
+
connected_account_id: string;
|
|
58940
|
+
event_type: 'device.name_changed';
|
|
58941
|
+
/** The new name of the device. */
|
|
58942
|
+
new_name: string;
|
|
58782
58943
|
} | {
|
|
58783
58944
|
/** ID of the event. */
|
|
58784
58945
|
event_id: string;
|
|
@@ -58822,8 +58983,8 @@ interface Routes {
|
|
|
58822
58983
|
acs_system_ids?: string[] | undefined;
|
|
58823
58984
|
access_code_id?: string | undefined;
|
|
58824
58985
|
access_code_ids?: string[] | undefined;
|
|
58825
|
-
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' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
|
|
58826
|
-
event_types?: Array<'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' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated'> | undefined;
|
|
58986
|
+
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' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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') | undefined;
|
|
58987
|
+
event_types?: Array<'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' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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'> | undefined;
|
|
58827
58988
|
connected_account_id?: string | undefined;
|
|
58828
58989
|
connect_webview_id?: string | undefined;
|
|
58829
58990
|
limit?: number;
|
|
@@ -59991,6 +60152,22 @@ interface Routes {
|
|
|
59991
60152
|
temperature_celsius: number;
|
|
59992
60153
|
/** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
|
|
59993
60154
|
temperature_fahrenheit: number;
|
|
60155
|
+
} | {
|
|
60156
|
+
/** ID of the event. */
|
|
60157
|
+
event_id: string;
|
|
60158
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
60159
|
+
workspace_id: string;
|
|
60160
|
+
/** Date and time at which the event was created. */
|
|
60161
|
+
created_at: string;
|
|
60162
|
+
/** Date and time at which the event occurred. */
|
|
60163
|
+
occurred_at: string;
|
|
60164
|
+
/** ID of the device. */
|
|
60165
|
+
device_id: string;
|
|
60166
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
60167
|
+
connected_account_id: string;
|
|
60168
|
+
event_type: 'device.name_changed';
|
|
60169
|
+
/** The new name of the device. */
|
|
60170
|
+
new_name: string;
|
|
59994
60171
|
} | {
|
|
59995
60172
|
/** ID of the event. */
|
|
59996
60173
|
event_id: string;
|
|
@@ -1043,6 +1043,37 @@ export declare const temperature_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
1043
1043
|
event_type: "thermostat.temperature_changed";
|
|
1044
1044
|
}>;
|
|
1045
1045
|
export type TemperatureChangedEvent = z.infer<typeof temperature_changed_event>;
|
|
1046
|
+
export declare const device_name_changed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1047
|
+
event_id: z.ZodString;
|
|
1048
|
+
workspace_id: z.ZodString;
|
|
1049
|
+
created_at: z.ZodString;
|
|
1050
|
+
occurred_at: z.ZodString;
|
|
1051
|
+
}, {
|
|
1052
|
+
device_id: z.ZodString;
|
|
1053
|
+
connected_account_id: z.ZodString;
|
|
1054
|
+
}>, {
|
|
1055
|
+
event_type: z.ZodLiteral<"device.name_changed">;
|
|
1056
|
+
new_name: z.ZodString;
|
|
1057
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1058
|
+
created_at: string;
|
|
1059
|
+
connected_account_id: string;
|
|
1060
|
+
device_id: string;
|
|
1061
|
+
workspace_id: string;
|
|
1062
|
+
event_id: string;
|
|
1063
|
+
occurred_at: string;
|
|
1064
|
+
event_type: "device.name_changed";
|
|
1065
|
+
new_name: string;
|
|
1066
|
+
}, {
|
|
1067
|
+
created_at: string;
|
|
1068
|
+
connected_account_id: string;
|
|
1069
|
+
device_id: string;
|
|
1070
|
+
workspace_id: string;
|
|
1071
|
+
event_id: string;
|
|
1072
|
+
occurred_at: string;
|
|
1073
|
+
event_type: "device.name_changed";
|
|
1074
|
+
new_name: string;
|
|
1075
|
+
}>;
|
|
1076
|
+
export type DeviceNameChangedEvent = z.infer<typeof device_name_changed_event>;
|
|
1046
1077
|
export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1047
1078
|
event_id: z.ZodString;
|
|
1048
1079
|
workspace_id: z.ZodString;
|
|
@@ -2020,4 +2051,33 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2020
2051
|
event_id: string;
|
|
2021
2052
|
occurred_at: string;
|
|
2022
2053
|
event_type: "thermostat.temperature_changed";
|
|
2054
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2055
|
+
event_id: z.ZodString;
|
|
2056
|
+
workspace_id: z.ZodString;
|
|
2057
|
+
created_at: z.ZodString;
|
|
2058
|
+
occurred_at: z.ZodString;
|
|
2059
|
+
}, {
|
|
2060
|
+
device_id: z.ZodString;
|
|
2061
|
+
connected_account_id: z.ZodString;
|
|
2062
|
+
}>, {
|
|
2063
|
+
event_type: z.ZodLiteral<"device.name_changed">;
|
|
2064
|
+
new_name: z.ZodString;
|
|
2065
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2066
|
+
created_at: string;
|
|
2067
|
+
connected_account_id: string;
|
|
2068
|
+
device_id: string;
|
|
2069
|
+
workspace_id: string;
|
|
2070
|
+
event_id: string;
|
|
2071
|
+
occurred_at: string;
|
|
2072
|
+
event_type: "device.name_changed";
|
|
2073
|
+
new_name: string;
|
|
2074
|
+
}, {
|
|
2075
|
+
created_at: string;
|
|
2076
|
+
connected_account_id: string;
|
|
2077
|
+
device_id: string;
|
|
2078
|
+
workspace_id: string;
|
|
2079
|
+
event_id: string;
|
|
2080
|
+
occurred_at: string;
|
|
2081
|
+
event_type: "device.name_changed";
|
|
2082
|
+
new_name: string;
|
|
2023
2083
|
}>];
|
|
@@ -424,6 +424,15 @@ export const temperature_changed_event = device_event.extend({
|
|
|
424
424
|
---
|
|
425
425
|
A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) reported temperature changed by at least 1 °C.
|
|
426
426
|
`);
|
|
427
|
+
export const device_name_changed_event = device_event.extend({
|
|
428
|
+
event_type: z.literal('device.name_changed'),
|
|
429
|
+
new_name: z.string().describe('The new name of the device.'),
|
|
430
|
+
}).describe(`
|
|
431
|
+
---
|
|
432
|
+
route_path: /devices
|
|
433
|
+
---
|
|
434
|
+
The name of a [device](https://docs.seam.co/latest/core-concepts/devices) was changed.
|
|
435
|
+
`);
|
|
427
436
|
export const device_events = [
|
|
428
437
|
device_connected_event,
|
|
429
438
|
device_added_event,
|
|
@@ -457,5 +466,6 @@ export const device_events = [
|
|
|
457
466
|
temperature_threshold_no_longer_exceeded_event,
|
|
458
467
|
temperature_reached_set_point_event,
|
|
459
468
|
temperature_changed_event,
|
|
469
|
+
device_name_changed_event,
|
|
460
470
|
];
|
|
461
471
|
//# sourceMappingURL=devices.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/devices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IAC1D,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,8FAA8F,CAC/F;CACJ,CAAC,CAAA;AAEF,MAAM,aAAa,GAAG,CAAC;KACpB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CACP,yGAAyG,CAC1G,CAAA;AAEH,MAAM,qBAAqB,GAAG,CAAC;KAC5B,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;KACzC,QAAQ,CACP,kFAAkF,CACnF,CAAA;AAEH,MAAM,wBAAwB,GAAG,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iB;IACjB,mBAAmB;IACnB,wBAAwB;IACxB,yCAAyC;IACzC,kCAAkC;IAClC,oCAAoC;IACpC,8CAA8C;IAC9C,mCAAmC;IACnC,yBAAyB;IACzB,yBAAyB;CACjB,CAAA"}
|
|
@@ -2132,6 +2132,35 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2132
2132
|
workspace_id: z.ZodString;
|
|
2133
2133
|
created_at: z.ZodString;
|
|
2134
2134
|
occurred_at: z.ZodString;
|
|
2135
|
+
}, {
|
|
2136
|
+
device_id: z.ZodString;
|
|
2137
|
+
connected_account_id: z.ZodString;
|
|
2138
|
+
}>, {
|
|
2139
|
+
event_type: z.ZodLiteral<"device.name_changed">;
|
|
2140
|
+
new_name: z.ZodString;
|
|
2141
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2142
|
+
created_at: string;
|
|
2143
|
+
connected_account_id: string;
|
|
2144
|
+
device_id: string;
|
|
2145
|
+
workspace_id: string;
|
|
2146
|
+
event_id: string;
|
|
2147
|
+
occurred_at: string;
|
|
2148
|
+
event_type: "device.name_changed";
|
|
2149
|
+
new_name: string;
|
|
2150
|
+
}, {
|
|
2151
|
+
created_at: string;
|
|
2152
|
+
connected_account_id: string;
|
|
2153
|
+
device_id: string;
|
|
2154
|
+
workspace_id: string;
|
|
2155
|
+
event_id: string;
|
|
2156
|
+
occurred_at: string;
|
|
2157
|
+
event_type: "device.name_changed";
|
|
2158
|
+
new_name: string;
|
|
2159
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2160
|
+
event_id: z.ZodString;
|
|
2161
|
+
workspace_id: z.ZodString;
|
|
2162
|
+
created_at: z.ZodString;
|
|
2163
|
+
occurred_at: z.ZodString;
|
|
2135
2164
|
}, {
|
|
2136
2165
|
enrollment_automation_id: z.ZodString;
|
|
2137
2166
|
}>, {
|
|
@@ -2175,5 +2204,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2175
2204
|
event_type: "phone.deactivated";
|
|
2176
2205
|
}>]>;
|
|
2177
2206
|
export type SeamEvent = z.infer<typeof seam_event>;
|
|
2178
|
-
export declare const seam_event_type: z.ZodEnum<["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" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_encoder.added" | "acs_encoder.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "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" | "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" | "enrollment_automation.deleted" | "phone.deactivated" | "connect_webview.login_succeeded" | "connect_webview.login_failed", ...("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" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_encoder.added" | "acs_encoder.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "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" | "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" | "enrollment_automation.deleted" | "phone.deactivated" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
|
|
2207
|
+
export declare const seam_event_type: z.ZodEnum<["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" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_encoder.added" | "acs_encoder.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "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" | "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" | "connect_webview.login_succeeded" | "connect_webview.login_failed", ...("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" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_encoder.added" | "acs_encoder.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "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" | "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" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
|
|
2179
2208
|
export type SeamEventType = SeamEvent['event_type'];
|