@seamapi/types 1.700.0 → 1.702.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 +108 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +332 -4
- package/dist/index.cjs +108 -5
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +42 -0
- package/lib/seam/connect/models/events/access-grants.d.ts +54 -0
- package/lib/seam/connect/models/events/access-grants.js +12 -0
- package/lib/seam/connect/models/events/access-grants.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +27 -1
- package/lib/seam/connect/openapi.d.ts +191 -0
- package/lib/seam/connect/openapi.js +93 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +73 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-grants.ts +20 -0
- package/src/lib/seam/connect/openapi.ts +100 -2
- package/src/lib/seam/connect/route-types.ts +77 -0
package/dist/connect.d.cts
CHANGED
|
@@ -26430,6 +26430,32 @@ declare const batch: z.ZodObject<{
|
|
|
26430
26430
|
workspace_id: z.ZodString;
|
|
26431
26431
|
created_at: z.ZodString;
|
|
26432
26432
|
occurred_at: z.ZodString;
|
|
26433
|
+
} & {
|
|
26434
|
+
access_grant_id: z.ZodString;
|
|
26435
|
+
} & {
|
|
26436
|
+
event_type: z.ZodLiteral<"access_grant.could_not_create_requested_access_methods">;
|
|
26437
|
+
error_message: z.ZodString;
|
|
26438
|
+
}, "strip", z.ZodTypeAny, {
|
|
26439
|
+
workspace_id: string;
|
|
26440
|
+
created_at: string;
|
|
26441
|
+
access_grant_id: string;
|
|
26442
|
+
event_id: string;
|
|
26443
|
+
occurred_at: string;
|
|
26444
|
+
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
26445
|
+
error_message: string;
|
|
26446
|
+
}, {
|
|
26447
|
+
workspace_id: string;
|
|
26448
|
+
created_at: string;
|
|
26449
|
+
access_grant_id: string;
|
|
26450
|
+
event_id: string;
|
|
26451
|
+
occurred_at: string;
|
|
26452
|
+
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
26453
|
+
error_message: string;
|
|
26454
|
+
}>, z.ZodObject<{
|
|
26455
|
+
event_id: z.ZodString;
|
|
26456
|
+
workspace_id: z.ZodString;
|
|
26457
|
+
created_at: z.ZodString;
|
|
26458
|
+
occurred_at: z.ZodString;
|
|
26433
26459
|
} & {
|
|
26434
26460
|
access_method_id: z.ZodString;
|
|
26435
26461
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -34696,6 +34722,14 @@ declare const batch: z.ZodObject<{
|
|
|
34696
34722
|
starts_at?: string | undefined;
|
|
34697
34723
|
ends_at?: string | undefined;
|
|
34698
34724
|
access_grant_key?: string | undefined;
|
|
34725
|
+
} | {
|
|
34726
|
+
workspace_id: string;
|
|
34727
|
+
created_at: string;
|
|
34728
|
+
access_grant_id: string;
|
|
34729
|
+
event_id: string;
|
|
34730
|
+
occurred_at: string;
|
|
34731
|
+
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
34732
|
+
error_message: string;
|
|
34699
34733
|
} | {
|
|
34700
34734
|
workspace_id: string;
|
|
34701
34735
|
created_at: string;
|
|
@@ -38778,6 +38812,14 @@ declare const batch: z.ZodObject<{
|
|
|
38778
38812
|
starts_at?: string | undefined;
|
|
38779
38813
|
ends_at?: string | undefined;
|
|
38780
38814
|
access_grant_key?: string | undefined;
|
|
38815
|
+
} | {
|
|
38816
|
+
workspace_id: string;
|
|
38817
|
+
created_at: string;
|
|
38818
|
+
access_grant_id: string;
|
|
38819
|
+
event_id: string;
|
|
38820
|
+
occurred_at: string;
|
|
38821
|
+
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
38822
|
+
error_message: string;
|
|
38781
38823
|
} | {
|
|
38782
38824
|
workspace_id: string;
|
|
38783
38825
|
created_at: string;
|
|
@@ -50296,6 +50338,32 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
50296
50338
|
workspace_id: z.ZodString;
|
|
50297
50339
|
created_at: z.ZodString;
|
|
50298
50340
|
occurred_at: z.ZodString;
|
|
50341
|
+
} & {
|
|
50342
|
+
access_grant_id: z.ZodString;
|
|
50343
|
+
} & {
|
|
50344
|
+
event_type: z.ZodLiteral<"access_grant.could_not_create_requested_access_methods">;
|
|
50345
|
+
error_message: z.ZodString;
|
|
50346
|
+
}, "strip", z.ZodTypeAny, {
|
|
50347
|
+
workspace_id: string;
|
|
50348
|
+
created_at: string;
|
|
50349
|
+
access_grant_id: string;
|
|
50350
|
+
event_id: string;
|
|
50351
|
+
occurred_at: string;
|
|
50352
|
+
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
50353
|
+
error_message: string;
|
|
50354
|
+
}, {
|
|
50355
|
+
workspace_id: string;
|
|
50356
|
+
created_at: string;
|
|
50357
|
+
access_grant_id: string;
|
|
50358
|
+
event_id: string;
|
|
50359
|
+
occurred_at: string;
|
|
50360
|
+
event_type: "access_grant.could_not_create_requested_access_methods";
|
|
50361
|
+
error_message: string;
|
|
50362
|
+
}>, z.ZodObject<{
|
|
50363
|
+
event_id: z.ZodString;
|
|
50364
|
+
workspace_id: z.ZodString;
|
|
50365
|
+
created_at: z.ZodString;
|
|
50366
|
+
occurred_at: z.ZodString;
|
|
50299
50367
|
} & {
|
|
50300
50368
|
access_method_id: z.ZodString;
|
|
50301
50369
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -60767,6 +60835,7 @@ declare const _default: {
|
|
|
60767
60835
|
access_grant_key?: never;
|
|
60768
60836
|
ends_at?: never;
|
|
60769
60837
|
starts_at?: never;
|
|
60838
|
+
error_message?: never;
|
|
60770
60839
|
access_grant_ids?: never;
|
|
60771
60840
|
access_grant_keys?: never;
|
|
60772
60841
|
access_method_id?: never;
|
|
@@ -60896,6 +60965,7 @@ declare const _default: {
|
|
|
60896
60965
|
access_grant_key?: never;
|
|
60897
60966
|
ends_at?: never;
|
|
60898
60967
|
starts_at?: never;
|
|
60968
|
+
error_message?: never;
|
|
60899
60969
|
access_grant_ids?: never;
|
|
60900
60970
|
access_grant_keys?: never;
|
|
60901
60971
|
access_method_id?: never;
|
|
@@ -61025,6 +61095,7 @@ declare const _default: {
|
|
|
61025
61095
|
access_grant_key?: never;
|
|
61026
61096
|
ends_at?: never;
|
|
61027
61097
|
starts_at?: never;
|
|
61098
|
+
error_message?: never;
|
|
61028
61099
|
access_grant_ids?: never;
|
|
61029
61100
|
access_grant_keys?: never;
|
|
61030
61101
|
access_method_id?: never;
|
|
@@ -61152,6 +61223,7 @@ declare const _default: {
|
|
|
61152
61223
|
access_grant_key?: never;
|
|
61153
61224
|
ends_at?: never;
|
|
61154
61225
|
starts_at?: never;
|
|
61226
|
+
error_message?: never;
|
|
61155
61227
|
access_grant_ids?: never;
|
|
61156
61228
|
access_grant_keys?: never;
|
|
61157
61229
|
access_method_id?: never;
|
|
@@ -61253,6 +61325,7 @@ declare const _default: {
|
|
|
61253
61325
|
access_grant_key?: never;
|
|
61254
61326
|
ends_at?: never;
|
|
61255
61327
|
starts_at?: never;
|
|
61328
|
+
error_message?: never;
|
|
61256
61329
|
access_grant_ids?: never;
|
|
61257
61330
|
access_grant_keys?: never;
|
|
61258
61331
|
access_method_id?: never;
|
|
@@ -61358,6 +61431,7 @@ declare const _default: {
|
|
|
61358
61431
|
access_grant_key?: never;
|
|
61359
61432
|
ends_at?: never;
|
|
61360
61433
|
starts_at?: never;
|
|
61434
|
+
error_message?: never;
|
|
61361
61435
|
access_grant_ids?: never;
|
|
61362
61436
|
access_grant_keys?: never;
|
|
61363
61437
|
access_method_id?: never;
|
|
@@ -61468,6 +61542,112 @@ declare const _default: {
|
|
|
61468
61542
|
code?: never;
|
|
61469
61543
|
backup_access_code_id?: never;
|
|
61470
61544
|
acs_entrance_id?: never;
|
|
61545
|
+
error_message?: never;
|
|
61546
|
+
access_grant_ids?: never;
|
|
61547
|
+
access_grant_keys?: never;
|
|
61548
|
+
access_method_id?: never;
|
|
61549
|
+
is_backup_code?: never;
|
|
61550
|
+
acs_system_id?: never;
|
|
61551
|
+
acs_credential_id?: never;
|
|
61552
|
+
acs_user_id?: never;
|
|
61553
|
+
acs_encoder_id?: never;
|
|
61554
|
+
acs_access_group_id?: never;
|
|
61555
|
+
client_session_id?: never;
|
|
61556
|
+
connect_webview_id?: never;
|
|
61557
|
+
customer_key?: never;
|
|
61558
|
+
connected_account_type?: never;
|
|
61559
|
+
action_attempt_id?: never;
|
|
61560
|
+
action_type?: never;
|
|
61561
|
+
status?: never;
|
|
61562
|
+
error_code?: never;
|
|
61563
|
+
battery_level?: never;
|
|
61564
|
+
battery_status?: never;
|
|
61565
|
+
minut_metadata?: never;
|
|
61566
|
+
noise_level_decibels?: never;
|
|
61567
|
+
noise_level_nrs?: never;
|
|
61568
|
+
noise_threshold_id?: never;
|
|
61569
|
+
noise_threshold_name?: never;
|
|
61570
|
+
noiseaware_metadata?: never;
|
|
61571
|
+
access_code_is_managed?: never;
|
|
61572
|
+
method?: never;
|
|
61573
|
+
user_identity_id?: never;
|
|
61574
|
+
climate_preset_key?: never;
|
|
61575
|
+
is_fallback_climate_preset?: never;
|
|
61576
|
+
thermostat_schedule_id?: never;
|
|
61577
|
+
cooling_set_point_celsius?: never;
|
|
61578
|
+
cooling_set_point_fahrenheit?: never;
|
|
61579
|
+
fan_mode_setting?: never;
|
|
61580
|
+
heating_set_point_celsius?: never;
|
|
61581
|
+
heating_set_point_fahrenheit?: never;
|
|
61582
|
+
hvac_mode_setting?: never;
|
|
61583
|
+
lower_limit_celsius?: never;
|
|
61584
|
+
lower_limit_fahrenheit?: never;
|
|
61585
|
+
temperature_celsius?: never;
|
|
61586
|
+
temperature_fahrenheit?: never;
|
|
61587
|
+
upper_limit_celsius?: never;
|
|
61588
|
+
upper_limit_fahrenheit?: never;
|
|
61589
|
+
desired_temperature_celsius?: never;
|
|
61590
|
+
desired_temperature_fahrenheit?: never;
|
|
61591
|
+
device_name?: never;
|
|
61592
|
+
enrollment_automation_id?: never;
|
|
61593
|
+
acs_entrance_ids?: never;
|
|
61594
|
+
device_ids?: never;
|
|
61595
|
+
space_id?: never;
|
|
61596
|
+
space_key?: never;
|
|
61597
|
+
};
|
|
61598
|
+
required: string[];
|
|
61599
|
+
type: string;
|
|
61600
|
+
'x-route-path': string;
|
|
61601
|
+
deprecated?: never;
|
|
61602
|
+
'x-deprecated'?: never;
|
|
61603
|
+
} | {
|
|
61604
|
+
description: string;
|
|
61605
|
+
properties: {
|
|
61606
|
+
access_grant_id: {
|
|
61607
|
+
description: string;
|
|
61608
|
+
format: string;
|
|
61609
|
+
type: string;
|
|
61610
|
+
};
|
|
61611
|
+
created_at: {
|
|
61612
|
+
description: string;
|
|
61613
|
+
format: string;
|
|
61614
|
+
type: string;
|
|
61615
|
+
};
|
|
61616
|
+
error_message: {
|
|
61617
|
+
description: string;
|
|
61618
|
+
type: string;
|
|
61619
|
+
};
|
|
61620
|
+
event_id: {
|
|
61621
|
+
description: string;
|
|
61622
|
+
format: string;
|
|
61623
|
+
type: string;
|
|
61624
|
+
};
|
|
61625
|
+
event_type: {
|
|
61626
|
+
enum: string[];
|
|
61627
|
+
type: string;
|
|
61628
|
+
description?: never;
|
|
61629
|
+
};
|
|
61630
|
+
occurred_at: {
|
|
61631
|
+
description: string;
|
|
61632
|
+
format: string;
|
|
61633
|
+
type: string;
|
|
61634
|
+
};
|
|
61635
|
+
workspace_id: {
|
|
61636
|
+
description: string;
|
|
61637
|
+
format: string;
|
|
61638
|
+
type: string;
|
|
61639
|
+
};
|
|
61640
|
+
access_code_id?: never;
|
|
61641
|
+
connected_account_custom_metadata?: never;
|
|
61642
|
+
connected_account_id?: never;
|
|
61643
|
+
device_custom_metadata?: never;
|
|
61644
|
+
device_id?: never;
|
|
61645
|
+
code?: never;
|
|
61646
|
+
backup_access_code_id?: never;
|
|
61647
|
+
acs_entrance_id?: never;
|
|
61648
|
+
access_grant_key?: never;
|
|
61649
|
+
ends_at?: never;
|
|
61650
|
+
starts_at?: never;
|
|
61471
61651
|
access_grant_ids?: never;
|
|
61472
61652
|
access_grant_keys?: never;
|
|
61473
61653
|
access_method_id?: never;
|
|
@@ -61593,6 +61773,7 @@ declare const _default: {
|
|
|
61593
61773
|
access_grant_key?: never;
|
|
61594
61774
|
ends_at?: never;
|
|
61595
61775
|
starts_at?: never;
|
|
61776
|
+
error_message?: never;
|
|
61596
61777
|
acs_system_id?: never;
|
|
61597
61778
|
acs_credential_id?: never;
|
|
61598
61779
|
acs_user_id?: never;
|
|
@@ -61706,6 +61887,7 @@ declare const _default: {
|
|
|
61706
61887
|
access_grant_key?: never;
|
|
61707
61888
|
ends_at?: never;
|
|
61708
61889
|
starts_at?: never;
|
|
61890
|
+
error_message?: never;
|
|
61709
61891
|
is_backup_code?: never;
|
|
61710
61892
|
acs_system_id?: never;
|
|
61711
61893
|
acs_credential_id?: never;
|
|
@@ -61809,6 +61991,7 @@ declare const _default: {
|
|
|
61809
61991
|
access_grant_key?: never;
|
|
61810
61992
|
ends_at?: never;
|
|
61811
61993
|
starts_at?: never;
|
|
61994
|
+
error_message?: never;
|
|
61812
61995
|
access_grant_ids?: never;
|
|
61813
61996
|
access_grant_keys?: never;
|
|
61814
61997
|
access_method_id?: never;
|
|
@@ -61919,6 +62102,7 @@ declare const _default: {
|
|
|
61919
62102
|
access_grant_key?: never;
|
|
61920
62103
|
ends_at?: never;
|
|
61921
62104
|
starts_at?: never;
|
|
62105
|
+
error_message?: never;
|
|
61922
62106
|
access_grant_ids?: never;
|
|
61923
62107
|
access_grant_keys?: never;
|
|
61924
62108
|
access_method_id?: never;
|
|
@@ -62028,6 +62212,7 @@ declare const _default: {
|
|
|
62028
62212
|
access_grant_key?: never;
|
|
62029
62213
|
ends_at?: never;
|
|
62030
62214
|
starts_at?: never;
|
|
62215
|
+
error_message?: never;
|
|
62031
62216
|
access_grant_ids?: never;
|
|
62032
62217
|
access_grant_keys?: never;
|
|
62033
62218
|
access_method_id?: never;
|
|
@@ -62137,6 +62322,7 @@ declare const _default: {
|
|
|
62137
62322
|
access_grant_key?: never;
|
|
62138
62323
|
ends_at?: never;
|
|
62139
62324
|
starts_at?: never;
|
|
62325
|
+
error_message?: never;
|
|
62140
62326
|
access_grant_ids?: never;
|
|
62141
62327
|
access_grant_keys?: never;
|
|
62142
62328
|
access_method_id?: never;
|
|
@@ -62246,6 +62432,7 @@ declare const _default: {
|
|
|
62246
62432
|
access_grant_key?: never;
|
|
62247
62433
|
ends_at?: never;
|
|
62248
62434
|
starts_at?: never;
|
|
62435
|
+
error_message?: never;
|
|
62249
62436
|
access_grant_ids?: never;
|
|
62250
62437
|
access_grant_keys?: never;
|
|
62251
62438
|
access_method_id?: never;
|
|
@@ -62354,6 +62541,7 @@ declare const _default: {
|
|
|
62354
62541
|
access_grant_key?: never;
|
|
62355
62542
|
ends_at?: never;
|
|
62356
62543
|
starts_at?: never;
|
|
62544
|
+
error_message?: never;
|
|
62357
62545
|
access_grant_ids?: never;
|
|
62358
62546
|
access_grant_keys?: never;
|
|
62359
62547
|
access_method_id?: never;
|
|
@@ -62455,6 +62643,7 @@ declare const _default: {
|
|
|
62455
62643
|
access_grant_key?: never;
|
|
62456
62644
|
ends_at?: never;
|
|
62457
62645
|
starts_at?: never;
|
|
62646
|
+
error_message?: never;
|
|
62458
62647
|
access_grant_ids?: never;
|
|
62459
62648
|
access_grant_keys?: never;
|
|
62460
62649
|
access_method_id?: never;
|
|
@@ -62572,6 +62761,7 @@ declare const _default: {
|
|
|
62572
62761
|
access_grant_key?: never;
|
|
62573
62762
|
ends_at?: never;
|
|
62574
62763
|
starts_at?: never;
|
|
62764
|
+
error_message?: never;
|
|
62575
62765
|
access_grant_ids?: never;
|
|
62576
62766
|
access_grant_keys?: never;
|
|
62577
62767
|
access_method_id?: never;
|
|
@@ -62684,6 +62874,7 @@ declare const _default: {
|
|
|
62684
62874
|
access_grant_key?: never;
|
|
62685
62875
|
ends_at?: never;
|
|
62686
62876
|
starts_at?: never;
|
|
62877
|
+
error_message?: never;
|
|
62687
62878
|
access_grant_ids?: never;
|
|
62688
62879
|
access_grant_keys?: never;
|
|
62689
62880
|
access_method_id?: never;
|
|
@@ -62798,6 +62989,7 @@ declare const _default: {
|
|
|
62798
62989
|
access_grant_key?: never;
|
|
62799
62990
|
ends_at?: never;
|
|
62800
62991
|
starts_at?: never;
|
|
62992
|
+
error_message?: never;
|
|
62801
62993
|
access_grant_ids?: never;
|
|
62802
62994
|
access_grant_keys?: never;
|
|
62803
62995
|
access_method_id?: never;
|
|
@@ -62905,6 +63097,7 @@ declare const _default: {
|
|
|
62905
63097
|
access_grant_key?: never;
|
|
62906
63098
|
ends_at?: never;
|
|
62907
63099
|
starts_at?: never;
|
|
63100
|
+
error_message?: never;
|
|
62908
63101
|
access_grant_ids?: never;
|
|
62909
63102
|
access_grant_keys?: never;
|
|
62910
63103
|
access_method_id?: never;
|
|
@@ -63022,6 +63215,7 @@ declare const _default: {
|
|
|
63022
63215
|
access_grant_key?: never;
|
|
63023
63216
|
ends_at?: never;
|
|
63024
63217
|
starts_at?: never;
|
|
63218
|
+
error_message?: never;
|
|
63025
63219
|
access_grant_ids?: never;
|
|
63026
63220
|
access_grant_keys?: never;
|
|
63027
63221
|
access_method_id?: never;
|
|
@@ -63130,6 +63324,7 @@ declare const _default: {
|
|
|
63130
63324
|
access_grant_key?: never;
|
|
63131
63325
|
ends_at?: never;
|
|
63132
63326
|
starts_at?: never;
|
|
63327
|
+
error_message?: never;
|
|
63133
63328
|
access_grant_ids?: never;
|
|
63134
63329
|
access_grant_keys?: never;
|
|
63135
63330
|
access_method_id?: never;
|
|
@@ -63229,6 +63424,7 @@ declare const _default: {
|
|
|
63229
63424
|
access_grant_key?: never;
|
|
63230
63425
|
ends_at?: never;
|
|
63231
63426
|
starts_at?: never;
|
|
63427
|
+
error_message?: never;
|
|
63232
63428
|
access_grant_ids?: never;
|
|
63233
63429
|
access_grant_keys?: never;
|
|
63234
63430
|
access_method_id?: never;
|
|
@@ -63349,6 +63545,7 @@ declare const _default: {
|
|
|
63349
63545
|
access_grant_key?: never;
|
|
63350
63546
|
ends_at?: never;
|
|
63351
63547
|
starts_at?: never;
|
|
63548
|
+
error_message?: never;
|
|
63352
63549
|
access_grant_ids?: never;
|
|
63353
63550
|
access_grant_keys?: never;
|
|
63354
63551
|
access_method_id?: never;
|
|
@@ -63475,6 +63672,7 @@ declare const _default: {
|
|
|
63475
63672
|
access_grant_key?: never;
|
|
63476
63673
|
ends_at?: never;
|
|
63477
63674
|
starts_at?: never;
|
|
63675
|
+
error_message?: never;
|
|
63478
63676
|
access_grant_ids?: never;
|
|
63479
63677
|
access_grant_keys?: never;
|
|
63480
63678
|
access_method_id?: never;
|
|
@@ -63602,6 +63800,7 @@ declare const _default: {
|
|
|
63602
63800
|
access_grant_key?: never;
|
|
63603
63801
|
ends_at?: never;
|
|
63604
63802
|
starts_at?: never;
|
|
63803
|
+
error_message?: never;
|
|
63605
63804
|
access_grant_ids?: never;
|
|
63606
63805
|
access_grant_keys?: never;
|
|
63607
63806
|
access_method_id?: never;
|
|
@@ -63734,6 +63933,7 @@ declare const _default: {
|
|
|
63734
63933
|
access_grant_key?: never;
|
|
63735
63934
|
ends_at?: never;
|
|
63736
63935
|
starts_at?: never;
|
|
63936
|
+
error_message?: never;
|
|
63737
63937
|
access_grant_ids?: never;
|
|
63738
63938
|
access_grant_keys?: never;
|
|
63739
63939
|
access_method_id?: never;
|
|
@@ -63882,6 +64082,7 @@ declare const _default: {
|
|
|
63882
64082
|
access_grant_key?: never;
|
|
63883
64083
|
ends_at?: never;
|
|
63884
64084
|
starts_at?: never;
|
|
64085
|
+
error_message?: never;
|
|
63885
64086
|
access_grant_ids?: never;
|
|
63886
64087
|
access_grant_keys?: never;
|
|
63887
64088
|
access_method_id?: never;
|
|
@@ -64015,6 +64216,7 @@ declare const _default: {
|
|
|
64015
64216
|
access_grant_key?: never;
|
|
64016
64217
|
ends_at?: never;
|
|
64017
64218
|
starts_at?: never;
|
|
64219
|
+
error_message?: never;
|
|
64018
64220
|
access_grant_ids?: never;
|
|
64019
64221
|
access_grant_keys?: never;
|
|
64020
64222
|
access_method_id?: never;
|
|
@@ -64170,6 +64372,7 @@ declare const _default: {
|
|
|
64170
64372
|
access_grant_key?: never;
|
|
64171
64373
|
ends_at?: never;
|
|
64172
64374
|
starts_at?: never;
|
|
64375
|
+
error_message?: never;
|
|
64173
64376
|
access_grant_ids?: never;
|
|
64174
64377
|
access_grant_keys?: never;
|
|
64175
64378
|
access_method_id?: never;
|
|
@@ -64299,6 +64502,7 @@ declare const _default: {
|
|
|
64299
64502
|
access_grant_key?: never;
|
|
64300
64503
|
ends_at?: never;
|
|
64301
64504
|
starts_at?: never;
|
|
64505
|
+
error_message?: never;
|
|
64302
64506
|
access_grant_ids?: never;
|
|
64303
64507
|
access_grant_keys?: never;
|
|
64304
64508
|
access_method_id?: never;
|
|
@@ -64452,6 +64656,7 @@ declare const _default: {
|
|
|
64452
64656
|
access_grant_key?: never;
|
|
64453
64657
|
ends_at?: never;
|
|
64454
64658
|
starts_at?: never;
|
|
64659
|
+
error_message?: never;
|
|
64455
64660
|
access_grant_ids?: never;
|
|
64456
64661
|
access_grant_keys?: never;
|
|
64457
64662
|
access_method_id?: never;
|
|
@@ -64600,6 +64805,7 @@ declare const _default: {
|
|
|
64600
64805
|
access_grant_key?: never;
|
|
64601
64806
|
ends_at?: never;
|
|
64602
64807
|
starts_at?: never;
|
|
64808
|
+
error_message?: never;
|
|
64603
64809
|
access_grant_ids?: never;
|
|
64604
64810
|
access_grant_keys?: never;
|
|
64605
64811
|
access_method_id?: never;
|
|
@@ -64735,6 +64941,7 @@ declare const _default: {
|
|
|
64735
64941
|
access_grant_key?: never;
|
|
64736
64942
|
ends_at?: never;
|
|
64737
64943
|
starts_at?: never;
|
|
64944
|
+
error_message?: never;
|
|
64738
64945
|
access_grant_ids?: never;
|
|
64739
64946
|
access_grant_keys?: never;
|
|
64740
64947
|
access_method_id?: never;
|
|
@@ -64862,6 +65069,7 @@ declare const _default: {
|
|
|
64862
65069
|
access_grant_key?: never;
|
|
64863
65070
|
ends_at?: never;
|
|
64864
65071
|
starts_at?: never;
|
|
65072
|
+
error_message?: never;
|
|
64865
65073
|
access_grant_ids?: never;
|
|
64866
65074
|
access_grant_keys?: never;
|
|
64867
65075
|
access_method_id?: never;
|
|
@@ -64985,6 +65193,7 @@ declare const _default: {
|
|
|
64985
65193
|
access_grant_key?: never;
|
|
64986
65194
|
ends_at?: never;
|
|
64987
65195
|
starts_at?: never;
|
|
65196
|
+
error_message?: never;
|
|
64988
65197
|
access_grant_ids?: never;
|
|
64989
65198
|
access_grant_keys?: never;
|
|
64990
65199
|
access_method_id?: never;
|
|
@@ -65086,6 +65295,7 @@ declare const _default: {
|
|
|
65086
65295
|
access_grant_key?: never;
|
|
65087
65296
|
ends_at?: never;
|
|
65088
65297
|
starts_at?: never;
|
|
65298
|
+
error_message?: never;
|
|
65089
65299
|
access_grant_ids?: never;
|
|
65090
65300
|
access_grant_keys?: never;
|
|
65091
65301
|
access_method_id?: never;
|
|
@@ -65194,6 +65404,7 @@ declare const _default: {
|
|
|
65194
65404
|
access_grant_key?: never;
|
|
65195
65405
|
ends_at?: never;
|
|
65196
65406
|
starts_at?: never;
|
|
65407
|
+
error_message?: never;
|
|
65197
65408
|
access_grant_ids?: never;
|
|
65198
65409
|
access_grant_keys?: never;
|
|
65199
65410
|
access_method_id?: never;
|
|
@@ -65316,6 +65527,7 @@ declare const _default: {
|
|
|
65316
65527
|
access_grant_key?: never;
|
|
65317
65528
|
ends_at?: never;
|
|
65318
65529
|
starts_at?: never;
|
|
65530
|
+
error_message?: never;
|
|
65319
65531
|
access_grant_ids?: never;
|
|
65320
65532
|
access_grant_keys?: never;
|
|
65321
65533
|
access_method_id?: never;
|
|
@@ -72703,7 +72915,9 @@ declare const _default: {
|
|
|
72703
72915
|
schema: {
|
|
72704
72916
|
description: string;
|
|
72705
72917
|
type: string;
|
|
72918
|
+
default?: never;
|
|
72706
72919
|
format?: never;
|
|
72920
|
+
nullable?: never;
|
|
72707
72921
|
deprecated?: never;
|
|
72708
72922
|
'x-deprecated'?: never;
|
|
72709
72923
|
};
|
|
@@ -72711,9 +72925,35 @@ declare const _default: {
|
|
|
72711
72925
|
in: string;
|
|
72712
72926
|
name: string;
|
|
72713
72927
|
schema: {
|
|
72928
|
+
default: number;
|
|
72714
72929
|
description: string;
|
|
72715
72930
|
format: string;
|
|
72716
72931
|
type: string;
|
|
72932
|
+
nullable?: never;
|
|
72933
|
+
deprecated?: never;
|
|
72934
|
+
'x-deprecated'?: never;
|
|
72935
|
+
};
|
|
72936
|
+
} | {
|
|
72937
|
+
in: string;
|
|
72938
|
+
name: string;
|
|
72939
|
+
schema: {
|
|
72940
|
+
description: string;
|
|
72941
|
+
nullable: boolean;
|
|
72942
|
+
type: string;
|
|
72943
|
+
default?: never;
|
|
72944
|
+
format?: never;
|
|
72945
|
+
deprecated?: never;
|
|
72946
|
+
'x-deprecated'?: never;
|
|
72947
|
+
};
|
|
72948
|
+
} | {
|
|
72949
|
+
in: string;
|
|
72950
|
+
name: string;
|
|
72951
|
+
schema: {
|
|
72952
|
+
description: string;
|
|
72953
|
+
format: string;
|
|
72954
|
+
type: string;
|
|
72955
|
+
default?: never;
|
|
72956
|
+
nullable?: never;
|
|
72717
72957
|
deprecated?: never;
|
|
72718
72958
|
'x-deprecated'?: never;
|
|
72719
72959
|
};
|
|
@@ -72726,6 +72966,8 @@ declare const _default: {
|
|
|
72726
72966
|
type: string;
|
|
72727
72967
|
'x-deprecated': string;
|
|
72728
72968
|
description?: never;
|
|
72969
|
+
default?: never;
|
|
72970
|
+
nullable?: never;
|
|
72729
72971
|
};
|
|
72730
72972
|
})[];
|
|
72731
72973
|
responses: {
|
|
@@ -72743,6 +72985,9 @@ declare const _default: {
|
|
|
72743
72985
|
ok: {
|
|
72744
72986
|
type: string;
|
|
72745
72987
|
};
|
|
72988
|
+
pagination: {
|
|
72989
|
+
$ref: string;
|
|
72990
|
+
};
|
|
72746
72991
|
};
|
|
72747
72992
|
required: string[];
|
|
72748
72993
|
type: string;
|
|
@@ -72814,12 +73059,23 @@ declare const _default: {
|
|
|
72814
73059
|
description: string;
|
|
72815
73060
|
type: string;
|
|
72816
73061
|
};
|
|
73062
|
+
limit: {
|
|
73063
|
+
default: number;
|
|
73064
|
+
description: string;
|
|
73065
|
+
format: string;
|
|
73066
|
+
type: string;
|
|
73067
|
+
};
|
|
72817
73068
|
location_id: {
|
|
72818
73069
|
deprecated: boolean;
|
|
72819
73070
|
format: string;
|
|
72820
73071
|
type: string;
|
|
72821
73072
|
'x-deprecated': string;
|
|
72822
73073
|
};
|
|
73074
|
+
page_cursor: {
|
|
73075
|
+
description: string;
|
|
73076
|
+
nullable: boolean;
|
|
73077
|
+
type: string;
|
|
73078
|
+
};
|
|
72823
73079
|
reservation_key: {
|
|
72824
73080
|
description: string;
|
|
72825
73081
|
type: string;
|
|
@@ -72855,6 +73111,9 @@ declare const _default: {
|
|
|
72855
73111
|
ok: {
|
|
72856
73112
|
type: string;
|
|
72857
73113
|
};
|
|
73114
|
+
pagination: {
|
|
73115
|
+
$ref: string;
|
|
73116
|
+
};
|
|
72858
73117
|
};
|
|
72859
73118
|
required: string[];
|
|
72860
73119
|
type: string;
|
|
@@ -126675,6 +126934,10 @@ type Routes = {
|
|
|
126675
126934
|
commonParams: {
|
|
126676
126935
|
/** Customer key for which you want to list access grants. */
|
|
126677
126936
|
customer_key?: string | undefined;
|
|
126937
|
+
/** Numerical limit on the number of access grants to return. */
|
|
126938
|
+
limit?: number;
|
|
126939
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
126940
|
+
page_cursor?: (string | undefined) | null;
|
|
126678
126941
|
/** ID of user identity by which you want to filter the list of Access Grants. */
|
|
126679
126942
|
user_identity_id?: string | undefined;
|
|
126680
126943
|
/** ID of the access system by which you want to filter the list of Access Grants. */
|
|
@@ -126759,6 +127022,15 @@ type Routes = {
|
|
|
126759
127022
|
/** ID of the customization profile associated with the Access Grant. */
|
|
126760
127023
|
customization_profile_id?: string | undefined;
|
|
126761
127024
|
}[];
|
|
127025
|
+
/** Information about the current page of results. */
|
|
127026
|
+
pagination: {
|
|
127027
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
127028
|
+
next_page_cursor: string | null;
|
|
127029
|
+
/** Indicates whether there is another page of results after this one. */
|
|
127030
|
+
has_next_page: boolean;
|
|
127031
|
+
/** URL to get the next page of results. */
|
|
127032
|
+
next_page_url: string | null;
|
|
127033
|
+
};
|
|
126762
127034
|
};
|
|
126763
127035
|
maxDuration: undefined;
|
|
126764
127036
|
};
|
|
@@ -146265,6 +146537,20 @@ type Routes = {
|
|
|
146265
146537
|
starts_at?: string | undefined;
|
|
146266
146538
|
/** The new end time for the access grant. */
|
|
146267
146539
|
ends_at?: string | undefined;
|
|
146540
|
+
} | {
|
|
146541
|
+
/** ID of the event. */
|
|
146542
|
+
event_id: string;
|
|
146543
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
146544
|
+
workspace_id: string;
|
|
146545
|
+
/** Date and time at which the event was created. */
|
|
146546
|
+
created_at: string;
|
|
146547
|
+
/** Date and time at which the event occurred. */
|
|
146548
|
+
occurred_at: string;
|
|
146549
|
+
/** ID of the affected Access Grant. */
|
|
146550
|
+
access_grant_id: string;
|
|
146551
|
+
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
146552
|
+
/** Description of why the access methods could not be created. */
|
|
146553
|
+
error_message: string;
|
|
146268
146554
|
} | {
|
|
146269
146555
|
/** ID of the event. */
|
|
146270
146556
|
event_id: string;
|
|
@@ -147784,9 +148070,9 @@ type Routes = {
|
|
|
147784
148070
|
/** IDs of the access codes for which you want to list events. */
|
|
147785
148071
|
access_code_ids?: string[] | undefined;
|
|
147786
148072
|
/** Type of the events that you want to list. */
|
|
147787
|
-
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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | '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;
|
|
148073
|
+
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' | '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' | '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;
|
|
147788
148074
|
/** Types of the events that you want to list. */
|
|
147789
|
-
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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | '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;
|
|
148075
|
+
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' | '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' | '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;
|
|
147790
148076
|
/** ID of the connected account for which you want to list events. */
|
|
147791
148077
|
connected_account_id?: string | undefined;
|
|
147792
148078
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -148301,6 +148587,20 @@ type Routes = {
|
|
|
148301
148587
|
starts_at?: string | undefined;
|
|
148302
148588
|
/** The new end time for the access grant. */
|
|
148303
148589
|
ends_at?: string | undefined;
|
|
148590
|
+
} | {
|
|
148591
|
+
/** ID of the event. */
|
|
148592
|
+
event_id: string;
|
|
148593
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
148594
|
+
workspace_id: string;
|
|
148595
|
+
/** Date and time at which the event was created. */
|
|
148596
|
+
created_at: string;
|
|
148597
|
+
/** Date and time at which the event occurred. */
|
|
148598
|
+
occurred_at: string;
|
|
148599
|
+
/** ID of the affected Access Grant. */
|
|
148600
|
+
access_grant_id: string;
|
|
148601
|
+
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
148602
|
+
/** Description of why the access methods could not be created. */
|
|
148603
|
+
error_message: string;
|
|
148304
148604
|
} | {
|
|
148305
148605
|
/** ID of the event. */
|
|
148306
148606
|
event_id: string;
|
|
@@ -167743,9 +168043,9 @@ type Routes = {
|
|
|
167743
168043
|
/** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
|
|
167744
168044
|
between?: (string | Date)[] | undefined;
|
|
167745
168045
|
/** Type of the events that you want to list. */
|
|
167746
|
-
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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | '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;
|
|
168046
|
+
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' | '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' | '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;
|
|
167747
168047
|
/** Types of the events that you want to list. */
|
|
167748
|
-
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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | '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;
|
|
168048
|
+
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' | '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' | '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;
|
|
167749
168049
|
/** Numerical limit on the number of events to return. */
|
|
167750
168050
|
limit?: number;
|
|
167751
168051
|
};
|
|
@@ -168248,6 +168548,20 @@ type Routes = {
|
|
|
168248
168548
|
starts_at?: string | undefined;
|
|
168249
168549
|
/** The new end time for the access grant. */
|
|
168250
168550
|
ends_at?: string | undefined;
|
|
168551
|
+
} | {
|
|
168552
|
+
/** ID of the event. */
|
|
168553
|
+
event_id: string;
|
|
168554
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
168555
|
+
workspace_id: string;
|
|
168556
|
+
/** Date and time at which the event was created. */
|
|
168557
|
+
created_at: string;
|
|
168558
|
+
/** Date and time at which the event occurred. */
|
|
168559
|
+
occurred_at: string;
|
|
168560
|
+
/** ID of the affected Access Grant. */
|
|
168561
|
+
access_grant_id: string;
|
|
168562
|
+
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
168563
|
+
/** Description of why the access methods could not be created. */
|
|
168564
|
+
error_message: string;
|
|
168251
168565
|
} | {
|
|
168252
168566
|
/** ID of the event. */
|
|
168253
168567
|
event_id: string;
|
|
@@ -197031,6 +197345,20 @@ type Routes = {
|
|
|
197031
197345
|
starts_at?: string | undefined;
|
|
197032
197346
|
/** The new end time for the access grant. */
|
|
197033
197347
|
ends_at?: string | undefined;
|
|
197348
|
+
} | {
|
|
197349
|
+
/** ID of the event. */
|
|
197350
|
+
event_id: string;
|
|
197351
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
197352
|
+
workspace_id: string;
|
|
197353
|
+
/** Date and time at which the event was created. */
|
|
197354
|
+
created_at: string;
|
|
197355
|
+
/** Date and time at which the event occurred. */
|
|
197356
|
+
occurred_at: string;
|
|
197357
|
+
/** ID of the affected Access Grant. */
|
|
197358
|
+
access_grant_id: string;
|
|
197359
|
+
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
197360
|
+
/** Description of why the access methods could not be created. */
|
|
197361
|
+
error_message: string;
|
|
197034
197362
|
} | {
|
|
197035
197363
|
/** ID of the event. */
|
|
197036
197364
|
event_id: string;
|