@seamapi/types 1.553.0 → 1.555.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 +281 -19
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +928 -4
- package/dist/index.cjs +281 -19
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +54 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +24 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +54 -0
- package/lib/seam/connect/models/access-grants/access-method.js +24 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
- package/lib/seam/connect/models/batch.d.ts +344 -0
- package/lib/seam/connect/models/events/access-grants.d.ts +66 -0
- package/lib/seam/connect/models/events/access-grants.js +21 -0
- package/lib/seam/connect/models/events/access-grants.js.map +1 -1
- package/lib/seam/connect/models/events/access-methods.d.ts +65 -0
- package/lib/seam/connect/models/events/access-methods.js +12 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +65 -1
- package/lib/seam/connect/openapi.d.ts +379 -0
- package/lib/seam/connect/openapi.js +196 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +265 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +40 -0
- package/src/lib/seam/connect/models/access-grants/access-method.ts +40 -0
- package/src/lib/seam/connect/models/events/access-grants.ts +27 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +15 -0
- package/src/lib/seam/connect/openapi.ts +213 -0
- package/src/lib/seam/connect/route-types.ts +279 -0
package/dist/connect.d.cts
CHANGED
|
@@ -3640,6 +3640,20 @@ declare const access_grant: z.ZodObject<{
|
|
|
3640
3640
|
created_at: z.ZodString;
|
|
3641
3641
|
starts_at: z.ZodString;
|
|
3642
3642
|
ends_at: z.ZodNullable<z.ZodString>;
|
|
3643
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
3644
|
+
created_at: z.ZodString;
|
|
3645
|
+
message: z.ZodString;
|
|
3646
|
+
} & {
|
|
3647
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
3648
|
+
}, "strip", z.ZodTypeAny, {
|
|
3649
|
+
message: string;
|
|
3650
|
+
created_at: string;
|
|
3651
|
+
warning_code: "being_deleted";
|
|
3652
|
+
}, {
|
|
3653
|
+
message: string;
|
|
3654
|
+
created_at: string;
|
|
3655
|
+
warning_code: "being_deleted";
|
|
3656
|
+
}>]>, "many">;
|
|
3643
3657
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
3644
3658
|
}, "strip", z.ZodTypeAny, {
|
|
3645
3659
|
name: string | null;
|
|
@@ -3648,6 +3662,11 @@ declare const access_grant: z.ZodObject<{
|
|
|
3648
3662
|
created_at: string;
|
|
3649
3663
|
starts_at: string;
|
|
3650
3664
|
ends_at: string | null;
|
|
3665
|
+
warnings: {
|
|
3666
|
+
message: string;
|
|
3667
|
+
created_at: string;
|
|
3668
|
+
warning_code: "being_deleted";
|
|
3669
|
+
}[];
|
|
3651
3670
|
access_grant_id: string;
|
|
3652
3671
|
user_identity_id: string;
|
|
3653
3672
|
location_ids: string[];
|
|
@@ -3671,6 +3690,11 @@ declare const access_grant: z.ZodObject<{
|
|
|
3671
3690
|
created_at: string;
|
|
3672
3691
|
starts_at: string;
|
|
3673
3692
|
ends_at: string | null;
|
|
3693
|
+
warnings: {
|
|
3694
|
+
message: string;
|
|
3695
|
+
created_at: string;
|
|
3696
|
+
warning_code: "being_deleted";
|
|
3697
|
+
}[];
|
|
3674
3698
|
access_grant_id: string;
|
|
3675
3699
|
user_identity_id: string;
|
|
3676
3700
|
location_ids: string[];
|
|
@@ -3702,11 +3726,30 @@ declare const access_method: z.ZodObject<{
|
|
|
3702
3726
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
3703
3727
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
3704
3728
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3729
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
3730
|
+
created_at: z.ZodString;
|
|
3731
|
+
message: z.ZodString;
|
|
3732
|
+
} & {
|
|
3733
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
3734
|
+
}, "strip", z.ZodTypeAny, {
|
|
3735
|
+
message: string;
|
|
3736
|
+
created_at: string;
|
|
3737
|
+
warning_code: "being_deleted";
|
|
3738
|
+
}, {
|
|
3739
|
+
message: string;
|
|
3740
|
+
created_at: string;
|
|
3741
|
+
warning_code: "being_deleted";
|
|
3742
|
+
}>]>, "many">;
|
|
3705
3743
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
3706
3744
|
}, "strip", z.ZodTypeAny, {
|
|
3707
3745
|
display_name: string;
|
|
3708
3746
|
workspace_id: string;
|
|
3709
3747
|
created_at: string;
|
|
3748
|
+
warnings: {
|
|
3749
|
+
message: string;
|
|
3750
|
+
created_at: string;
|
|
3751
|
+
warning_code: "being_deleted";
|
|
3752
|
+
}[];
|
|
3710
3753
|
mode: "code" | "card" | "mobile_key";
|
|
3711
3754
|
access_method_id: string;
|
|
3712
3755
|
issued_at: string | null;
|
|
@@ -3720,6 +3763,11 @@ declare const access_method: z.ZodObject<{
|
|
|
3720
3763
|
display_name: string;
|
|
3721
3764
|
workspace_id: string;
|
|
3722
3765
|
created_at: string;
|
|
3766
|
+
warnings: {
|
|
3767
|
+
message: string;
|
|
3768
|
+
created_at: string;
|
|
3769
|
+
warning_code: "being_deleted";
|
|
3770
|
+
}[];
|
|
3723
3771
|
mode: "code" | "card" | "mobile_key";
|
|
3724
3772
|
access_method_id: string;
|
|
3725
3773
|
issued_at: string | null;
|
|
@@ -24573,11 +24621,30 @@ declare const batch: z.ZodObject<{
|
|
|
24573
24621
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
24574
24622
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
24575
24623
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24624
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
24625
|
+
created_at: z.ZodString;
|
|
24626
|
+
message: z.ZodString;
|
|
24627
|
+
} & {
|
|
24628
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
24629
|
+
}, "strip", z.ZodTypeAny, {
|
|
24630
|
+
message: string;
|
|
24631
|
+
created_at: string;
|
|
24632
|
+
warning_code: "being_deleted";
|
|
24633
|
+
}, {
|
|
24634
|
+
message: string;
|
|
24635
|
+
created_at: string;
|
|
24636
|
+
warning_code: "being_deleted";
|
|
24637
|
+
}>]>, "many">;
|
|
24576
24638
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
24577
24639
|
}, "strip", z.ZodTypeAny, {
|
|
24578
24640
|
display_name: string;
|
|
24579
24641
|
workspace_id: string;
|
|
24580
24642
|
created_at: string;
|
|
24643
|
+
warnings: {
|
|
24644
|
+
message: string;
|
|
24645
|
+
created_at: string;
|
|
24646
|
+
warning_code: "being_deleted";
|
|
24647
|
+
}[];
|
|
24581
24648
|
mode: "code" | "card" | "mobile_key";
|
|
24582
24649
|
access_method_id: string;
|
|
24583
24650
|
issued_at: string | null;
|
|
@@ -24591,6 +24658,11 @@ declare const batch: z.ZodObject<{
|
|
|
24591
24658
|
display_name: string;
|
|
24592
24659
|
workspace_id: string;
|
|
24593
24660
|
created_at: string;
|
|
24661
|
+
warnings: {
|
|
24662
|
+
message: string;
|
|
24663
|
+
created_at: string;
|
|
24664
|
+
warning_code: "being_deleted";
|
|
24665
|
+
}[];
|
|
24594
24666
|
mode: "code" | "card" | "mobile_key";
|
|
24595
24667
|
access_method_id: string;
|
|
24596
24668
|
issued_at: string | null;
|
|
@@ -24635,6 +24707,20 @@ declare const batch: z.ZodObject<{
|
|
|
24635
24707
|
created_at: z.ZodString;
|
|
24636
24708
|
starts_at: z.ZodString;
|
|
24637
24709
|
ends_at: z.ZodNullable<z.ZodString>;
|
|
24710
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
24711
|
+
created_at: z.ZodString;
|
|
24712
|
+
message: z.ZodString;
|
|
24713
|
+
} & {
|
|
24714
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
24715
|
+
}, "strip", z.ZodTypeAny, {
|
|
24716
|
+
message: string;
|
|
24717
|
+
created_at: string;
|
|
24718
|
+
warning_code: "being_deleted";
|
|
24719
|
+
}, {
|
|
24720
|
+
message: string;
|
|
24721
|
+
created_at: string;
|
|
24722
|
+
warning_code: "being_deleted";
|
|
24723
|
+
}>]>, "many">;
|
|
24638
24724
|
customization_profile_id: z.ZodOptional<z.ZodString>;
|
|
24639
24725
|
}, "strip", z.ZodTypeAny, {
|
|
24640
24726
|
name: string | null;
|
|
@@ -24643,6 +24729,11 @@ declare const batch: z.ZodObject<{
|
|
|
24643
24729
|
created_at: string;
|
|
24644
24730
|
starts_at: string;
|
|
24645
24731
|
ends_at: string | null;
|
|
24732
|
+
warnings: {
|
|
24733
|
+
message: string;
|
|
24734
|
+
created_at: string;
|
|
24735
|
+
warning_code: "being_deleted";
|
|
24736
|
+
}[];
|
|
24646
24737
|
access_grant_id: string;
|
|
24647
24738
|
user_identity_id: string;
|
|
24648
24739
|
location_ids: string[];
|
|
@@ -24666,6 +24757,11 @@ declare const batch: z.ZodObject<{
|
|
|
24666
24757
|
created_at: string;
|
|
24667
24758
|
starts_at: string;
|
|
24668
24759
|
ends_at: string | null;
|
|
24760
|
+
warnings: {
|
|
24761
|
+
message: string;
|
|
24762
|
+
created_at: string;
|
|
24763
|
+
warning_code: "being_deleted";
|
|
24764
|
+
}[];
|
|
24669
24765
|
access_grant_id: string;
|
|
24670
24766
|
user_identity_id: string;
|
|
24671
24767
|
location_ids: string[];
|
|
@@ -25416,6 +25512,38 @@ declare const batch: z.ZodObject<{
|
|
|
25416
25512
|
workspace_id: z.ZodString;
|
|
25417
25513
|
created_at: z.ZodString;
|
|
25418
25514
|
occurred_at: z.ZodString;
|
|
25515
|
+
} & {
|
|
25516
|
+
access_grant_id: z.ZodString;
|
|
25517
|
+
} & {
|
|
25518
|
+
event_type: z.ZodLiteral<"access_grant.access_times_changed">;
|
|
25519
|
+
access_grant_key: z.ZodOptional<z.ZodString>;
|
|
25520
|
+
starts_at: z.ZodOptional<z.ZodString>;
|
|
25521
|
+
ends_at: z.ZodOptional<z.ZodString>;
|
|
25522
|
+
}, "strip", z.ZodTypeAny, {
|
|
25523
|
+
workspace_id: string;
|
|
25524
|
+
created_at: string;
|
|
25525
|
+
access_grant_id: string;
|
|
25526
|
+
event_id: string;
|
|
25527
|
+
occurred_at: string;
|
|
25528
|
+
event_type: "access_grant.access_times_changed";
|
|
25529
|
+
starts_at?: string | undefined;
|
|
25530
|
+
ends_at?: string | undefined;
|
|
25531
|
+
access_grant_key?: string | undefined;
|
|
25532
|
+
}, {
|
|
25533
|
+
workspace_id: string;
|
|
25534
|
+
created_at: string;
|
|
25535
|
+
access_grant_id: string;
|
|
25536
|
+
event_id: string;
|
|
25537
|
+
occurred_at: string;
|
|
25538
|
+
event_type: "access_grant.access_times_changed";
|
|
25539
|
+
starts_at?: string | undefined;
|
|
25540
|
+
ends_at?: string | undefined;
|
|
25541
|
+
access_grant_key?: string | undefined;
|
|
25542
|
+
}>, z.ZodObject<{
|
|
25543
|
+
event_id: z.ZodString;
|
|
25544
|
+
workspace_id: z.ZodString;
|
|
25545
|
+
created_at: z.ZodString;
|
|
25546
|
+
occurred_at: z.ZodString;
|
|
25419
25547
|
} & {
|
|
25420
25548
|
access_method_id: z.ZodString;
|
|
25421
25549
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -25573,6 +25701,38 @@ declare const batch: z.ZodObject<{
|
|
|
25573
25701
|
workspace_id: z.ZodString;
|
|
25574
25702
|
created_at: z.ZodString;
|
|
25575
25703
|
occurred_at: z.ZodString;
|
|
25704
|
+
} & {
|
|
25705
|
+
access_method_id: z.ZodString;
|
|
25706
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
25707
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
25708
|
+
} & {
|
|
25709
|
+
event_type: z.ZodLiteral<"access_method.code_changed">;
|
|
25710
|
+
code: z.ZodString;
|
|
25711
|
+
}, "strip", z.ZodTypeAny, {
|
|
25712
|
+
code: string;
|
|
25713
|
+
workspace_id: string;
|
|
25714
|
+
created_at: string;
|
|
25715
|
+
access_method_id: string;
|
|
25716
|
+
event_id: string;
|
|
25717
|
+
occurred_at: string;
|
|
25718
|
+
event_type: "access_method.code_changed";
|
|
25719
|
+
access_grant_ids: string[];
|
|
25720
|
+
access_grant_keys?: string[] | undefined;
|
|
25721
|
+
}, {
|
|
25722
|
+
code: string;
|
|
25723
|
+
workspace_id: string;
|
|
25724
|
+
created_at: string;
|
|
25725
|
+
access_method_id: string;
|
|
25726
|
+
event_id: string;
|
|
25727
|
+
occurred_at: string;
|
|
25728
|
+
event_type: "access_method.code_changed";
|
|
25729
|
+
access_grant_ids: string[];
|
|
25730
|
+
access_grant_keys?: string[] | undefined;
|
|
25731
|
+
}>, z.ZodObject<{
|
|
25732
|
+
event_id: z.ZodString;
|
|
25733
|
+
workspace_id: z.ZodString;
|
|
25734
|
+
created_at: z.ZodString;
|
|
25735
|
+
occurred_at: z.ZodString;
|
|
25576
25736
|
} & {
|
|
25577
25737
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
25578
25738
|
acs_system_id: z.ZodString;
|
|
@@ -31687,6 +31847,11 @@ declare const batch: z.ZodObject<{
|
|
|
31687
31847
|
created_at: string;
|
|
31688
31848
|
starts_at: string;
|
|
31689
31849
|
ends_at: string | null;
|
|
31850
|
+
warnings: {
|
|
31851
|
+
message: string;
|
|
31852
|
+
created_at: string;
|
|
31853
|
+
warning_code: "being_deleted";
|
|
31854
|
+
}[];
|
|
31690
31855
|
access_grant_id: string;
|
|
31691
31856
|
user_identity_id: string;
|
|
31692
31857
|
location_ids: string[];
|
|
@@ -31754,6 +31919,11 @@ declare const batch: z.ZodObject<{
|
|
|
31754
31919
|
display_name: string;
|
|
31755
31920
|
workspace_id: string;
|
|
31756
31921
|
created_at: string;
|
|
31922
|
+
warnings: {
|
|
31923
|
+
message: string;
|
|
31924
|
+
created_at: string;
|
|
31925
|
+
warning_code: "being_deleted";
|
|
31926
|
+
}[];
|
|
31757
31927
|
mode: "code" | "card" | "mobile_key";
|
|
31758
31928
|
access_method_id: string;
|
|
31759
31929
|
issued_at: string | null;
|
|
@@ -33421,6 +33591,16 @@ declare const batch: z.ZodObject<{
|
|
|
33421
33591
|
event_id: string;
|
|
33422
33592
|
occurred_at: string;
|
|
33423
33593
|
event_type: "access_grant.access_to_door_lost";
|
|
33594
|
+
} | {
|
|
33595
|
+
workspace_id: string;
|
|
33596
|
+
created_at: string;
|
|
33597
|
+
access_grant_id: string;
|
|
33598
|
+
event_id: string;
|
|
33599
|
+
occurred_at: string;
|
|
33600
|
+
event_type: "access_grant.access_times_changed";
|
|
33601
|
+
starts_at?: string | undefined;
|
|
33602
|
+
ends_at?: string | undefined;
|
|
33603
|
+
access_grant_key?: string | undefined;
|
|
33424
33604
|
} | {
|
|
33425
33605
|
workspace_id: string;
|
|
33426
33606
|
created_at: string;
|
|
@@ -33470,6 +33650,16 @@ declare const batch: z.ZodObject<{
|
|
|
33470
33650
|
code?: string | undefined;
|
|
33471
33651
|
access_grant_keys?: string[] | undefined;
|
|
33472
33652
|
is_backup_code?: boolean | undefined;
|
|
33653
|
+
} | {
|
|
33654
|
+
code: string;
|
|
33655
|
+
workspace_id: string;
|
|
33656
|
+
created_at: string;
|
|
33657
|
+
access_method_id: string;
|
|
33658
|
+
event_id: string;
|
|
33659
|
+
occurred_at: string;
|
|
33660
|
+
event_type: "access_method.code_changed";
|
|
33661
|
+
access_grant_ids: string[];
|
|
33662
|
+
access_grant_keys?: string[] | undefined;
|
|
33473
33663
|
} | {
|
|
33474
33664
|
workspace_id: string;
|
|
33475
33665
|
created_at: string;
|
|
@@ -35570,6 +35760,11 @@ declare const batch: z.ZodObject<{
|
|
|
35570
35760
|
created_at: string;
|
|
35571
35761
|
starts_at: string;
|
|
35572
35762
|
ends_at: string | null;
|
|
35763
|
+
warnings: {
|
|
35764
|
+
message: string;
|
|
35765
|
+
created_at: string;
|
|
35766
|
+
warning_code: "being_deleted";
|
|
35767
|
+
}[];
|
|
35573
35768
|
access_grant_id: string;
|
|
35574
35769
|
user_identity_id: string;
|
|
35575
35770
|
location_ids: string[];
|
|
@@ -35637,6 +35832,11 @@ declare const batch: z.ZodObject<{
|
|
|
35637
35832
|
display_name: string;
|
|
35638
35833
|
workspace_id: string;
|
|
35639
35834
|
created_at: string;
|
|
35835
|
+
warnings: {
|
|
35836
|
+
message: string;
|
|
35837
|
+
created_at: string;
|
|
35838
|
+
warning_code: "being_deleted";
|
|
35839
|
+
}[];
|
|
35640
35840
|
mode: "code" | "card" | "mobile_key";
|
|
35641
35841
|
access_method_id: string;
|
|
35642
35842
|
issued_at: string | null;
|
|
@@ -37304,6 +37504,16 @@ declare const batch: z.ZodObject<{
|
|
|
37304
37504
|
event_id: string;
|
|
37305
37505
|
occurred_at: string;
|
|
37306
37506
|
event_type: "access_grant.access_to_door_lost";
|
|
37507
|
+
} | {
|
|
37508
|
+
workspace_id: string;
|
|
37509
|
+
created_at: string;
|
|
37510
|
+
access_grant_id: string;
|
|
37511
|
+
event_id: string;
|
|
37512
|
+
occurred_at: string;
|
|
37513
|
+
event_type: "access_grant.access_times_changed";
|
|
37514
|
+
starts_at?: string | undefined;
|
|
37515
|
+
ends_at?: string | undefined;
|
|
37516
|
+
access_grant_key?: string | undefined;
|
|
37307
37517
|
} | {
|
|
37308
37518
|
workspace_id: string;
|
|
37309
37519
|
created_at: string;
|
|
@@ -37353,6 +37563,16 @@ declare const batch: z.ZodObject<{
|
|
|
37353
37563
|
code?: string | undefined;
|
|
37354
37564
|
access_grant_keys?: string[] | undefined;
|
|
37355
37565
|
is_backup_code?: boolean | undefined;
|
|
37566
|
+
} | {
|
|
37567
|
+
code: string;
|
|
37568
|
+
workspace_id: string;
|
|
37569
|
+
created_at: string;
|
|
37570
|
+
access_method_id: string;
|
|
37571
|
+
event_id: string;
|
|
37572
|
+
occurred_at: string;
|
|
37573
|
+
event_type: "access_method.code_changed";
|
|
37574
|
+
access_grant_ids: string[];
|
|
37575
|
+
access_grant_keys?: string[] | undefined;
|
|
37356
37576
|
} | {
|
|
37357
37577
|
workspace_id: string;
|
|
37358
37578
|
created_at: string;
|
|
@@ -48451,6 +48671,38 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
48451
48671
|
workspace_id: z.ZodString;
|
|
48452
48672
|
created_at: z.ZodString;
|
|
48453
48673
|
occurred_at: z.ZodString;
|
|
48674
|
+
} & {
|
|
48675
|
+
access_grant_id: z.ZodString;
|
|
48676
|
+
} & {
|
|
48677
|
+
event_type: z.ZodLiteral<"access_grant.access_times_changed">;
|
|
48678
|
+
access_grant_key: z.ZodOptional<z.ZodString>;
|
|
48679
|
+
starts_at: z.ZodOptional<z.ZodString>;
|
|
48680
|
+
ends_at: z.ZodOptional<z.ZodString>;
|
|
48681
|
+
}, "strip", z.ZodTypeAny, {
|
|
48682
|
+
workspace_id: string;
|
|
48683
|
+
created_at: string;
|
|
48684
|
+
access_grant_id: string;
|
|
48685
|
+
event_id: string;
|
|
48686
|
+
occurred_at: string;
|
|
48687
|
+
event_type: "access_grant.access_times_changed";
|
|
48688
|
+
starts_at?: string | undefined;
|
|
48689
|
+
ends_at?: string | undefined;
|
|
48690
|
+
access_grant_key?: string | undefined;
|
|
48691
|
+
}, {
|
|
48692
|
+
workspace_id: string;
|
|
48693
|
+
created_at: string;
|
|
48694
|
+
access_grant_id: string;
|
|
48695
|
+
event_id: string;
|
|
48696
|
+
occurred_at: string;
|
|
48697
|
+
event_type: "access_grant.access_times_changed";
|
|
48698
|
+
starts_at?: string | undefined;
|
|
48699
|
+
ends_at?: string | undefined;
|
|
48700
|
+
access_grant_key?: string | undefined;
|
|
48701
|
+
}>, z.ZodObject<{
|
|
48702
|
+
event_id: z.ZodString;
|
|
48703
|
+
workspace_id: z.ZodString;
|
|
48704
|
+
created_at: z.ZodString;
|
|
48705
|
+
occurred_at: z.ZodString;
|
|
48454
48706
|
} & {
|
|
48455
48707
|
access_method_id: z.ZodString;
|
|
48456
48708
|
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -48608,6 +48860,38 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
48608
48860
|
workspace_id: z.ZodString;
|
|
48609
48861
|
created_at: z.ZodString;
|
|
48610
48862
|
occurred_at: z.ZodString;
|
|
48863
|
+
} & {
|
|
48864
|
+
access_method_id: z.ZodString;
|
|
48865
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
48866
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
48867
|
+
} & {
|
|
48868
|
+
event_type: z.ZodLiteral<"access_method.code_changed">;
|
|
48869
|
+
code: z.ZodString;
|
|
48870
|
+
}, "strip", z.ZodTypeAny, {
|
|
48871
|
+
code: string;
|
|
48872
|
+
workspace_id: string;
|
|
48873
|
+
created_at: string;
|
|
48874
|
+
access_method_id: string;
|
|
48875
|
+
event_id: string;
|
|
48876
|
+
occurred_at: string;
|
|
48877
|
+
event_type: "access_method.code_changed";
|
|
48878
|
+
access_grant_ids: string[];
|
|
48879
|
+
access_grant_keys?: string[] | undefined;
|
|
48880
|
+
}, {
|
|
48881
|
+
code: string;
|
|
48882
|
+
workspace_id: string;
|
|
48883
|
+
created_at: string;
|
|
48884
|
+
access_method_id: string;
|
|
48885
|
+
event_id: string;
|
|
48886
|
+
occurred_at: string;
|
|
48887
|
+
event_type: "access_method.code_changed";
|
|
48888
|
+
access_grant_ids: string[];
|
|
48889
|
+
access_grant_keys?: string[] | undefined;
|
|
48890
|
+
}>, z.ZodObject<{
|
|
48891
|
+
event_id: z.ZodString;
|
|
48892
|
+
workspace_id: z.ZodString;
|
|
48893
|
+
created_at: z.ZodString;
|
|
48894
|
+
occurred_at: z.ZodString;
|
|
48611
48895
|
} & {
|
|
48612
48896
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
48613
48897
|
acs_system_id: z.ZodString;
|
|
@@ -51743,6 +52027,37 @@ declare const _default: {
|
|
|
51743
52027
|
format: string;
|
|
51744
52028
|
type: string;
|
|
51745
52029
|
};
|
|
52030
|
+
warnings: {
|
|
52031
|
+
description: string;
|
|
52032
|
+
items: {
|
|
52033
|
+
description: string;
|
|
52034
|
+
discriminator: {
|
|
52035
|
+
propertyName: string;
|
|
52036
|
+
};
|
|
52037
|
+
oneOf: {
|
|
52038
|
+
description: string;
|
|
52039
|
+
properties: {
|
|
52040
|
+
created_at: {
|
|
52041
|
+
description: string;
|
|
52042
|
+
format: string;
|
|
52043
|
+
type: string;
|
|
52044
|
+
};
|
|
52045
|
+
message: {
|
|
52046
|
+
description: string;
|
|
52047
|
+
type: string;
|
|
52048
|
+
};
|
|
52049
|
+
warning_code: {
|
|
52050
|
+
description: string;
|
|
52051
|
+
enum: string[];
|
|
52052
|
+
type: string;
|
|
52053
|
+
};
|
|
52054
|
+
};
|
|
52055
|
+
required: string[];
|
|
52056
|
+
type: string;
|
|
52057
|
+
}[];
|
|
52058
|
+
};
|
|
52059
|
+
type: string;
|
|
52060
|
+
};
|
|
51746
52061
|
workspace_id: {
|
|
51747
52062
|
description: string;
|
|
51748
52063
|
format: string;
|
|
@@ -51809,6 +52124,37 @@ declare const _default: {
|
|
|
51809
52124
|
enum: string[];
|
|
51810
52125
|
type: string;
|
|
51811
52126
|
};
|
|
52127
|
+
warnings: {
|
|
52128
|
+
description: string;
|
|
52129
|
+
items: {
|
|
52130
|
+
description: string;
|
|
52131
|
+
discriminator: {
|
|
52132
|
+
propertyName: string;
|
|
52133
|
+
};
|
|
52134
|
+
oneOf: {
|
|
52135
|
+
description: string;
|
|
52136
|
+
properties: {
|
|
52137
|
+
created_at: {
|
|
52138
|
+
description: string;
|
|
52139
|
+
format: string;
|
|
52140
|
+
type: string;
|
|
52141
|
+
};
|
|
52142
|
+
message: {
|
|
52143
|
+
description: string;
|
|
52144
|
+
type: string;
|
|
52145
|
+
};
|
|
52146
|
+
warning_code: {
|
|
52147
|
+
description: string;
|
|
52148
|
+
enum: string[];
|
|
52149
|
+
type: string;
|
|
52150
|
+
};
|
|
52151
|
+
};
|
|
52152
|
+
required: string[];
|
|
52153
|
+
type: string;
|
|
52154
|
+
}[];
|
|
52155
|
+
};
|
|
52156
|
+
type: string;
|
|
52157
|
+
};
|
|
51812
52158
|
workspace_id: {
|
|
51813
52159
|
description: string;
|
|
51814
52160
|
format: string;
|
|
@@ -58326,6 +58672,9 @@ declare const _default: {
|
|
|
58326
58672
|
backup_access_code_id?: never;
|
|
58327
58673
|
access_grant_id?: never;
|
|
58328
58674
|
acs_entrance_id?: never;
|
|
58675
|
+
access_grant_key?: never;
|
|
58676
|
+
ends_at?: never;
|
|
58677
|
+
starts_at?: never;
|
|
58329
58678
|
access_grant_ids?: never;
|
|
58330
58679
|
access_grant_keys?: never;
|
|
58331
58680
|
access_method_id?: never;
|
|
@@ -58444,6 +58793,9 @@ declare const _default: {
|
|
|
58444
58793
|
backup_access_code_id?: never;
|
|
58445
58794
|
access_grant_id?: never;
|
|
58446
58795
|
acs_entrance_id?: never;
|
|
58796
|
+
access_grant_key?: never;
|
|
58797
|
+
ends_at?: never;
|
|
58798
|
+
starts_at?: never;
|
|
58447
58799
|
access_grant_ids?: never;
|
|
58448
58800
|
access_grant_keys?: never;
|
|
58449
58801
|
access_method_id?: never;
|
|
@@ -58562,6 +58914,9 @@ declare const _default: {
|
|
|
58562
58914
|
backup_access_code_id?: never;
|
|
58563
58915
|
access_grant_id?: never;
|
|
58564
58916
|
acs_entrance_id?: never;
|
|
58917
|
+
access_grant_key?: never;
|
|
58918
|
+
ends_at?: never;
|
|
58919
|
+
starts_at?: never;
|
|
58565
58920
|
access_grant_ids?: never;
|
|
58566
58921
|
access_grant_keys?: never;
|
|
58567
58922
|
access_method_id?: never;
|
|
@@ -58678,6 +59033,9 @@ declare const _default: {
|
|
|
58678
59033
|
code?: never;
|
|
58679
59034
|
access_grant_id?: never;
|
|
58680
59035
|
acs_entrance_id?: never;
|
|
59036
|
+
access_grant_key?: never;
|
|
59037
|
+
ends_at?: never;
|
|
59038
|
+
starts_at?: never;
|
|
58681
59039
|
access_grant_ids?: never;
|
|
58682
59040
|
access_grant_keys?: never;
|
|
58683
59041
|
access_method_id?: never;
|
|
@@ -58768,6 +59126,9 @@ declare const _default: {
|
|
|
58768
59126
|
code?: never;
|
|
58769
59127
|
backup_access_code_id?: never;
|
|
58770
59128
|
acs_entrance_id?: never;
|
|
59129
|
+
access_grant_key?: never;
|
|
59130
|
+
ends_at?: never;
|
|
59131
|
+
starts_at?: never;
|
|
58771
59132
|
access_grant_ids?: never;
|
|
58772
59133
|
access_grant_keys?: never;
|
|
58773
59134
|
access_method_id?: never;
|
|
@@ -58862,6 +59223,111 @@ declare const _default: {
|
|
|
58862
59223
|
device_id?: never;
|
|
58863
59224
|
code?: never;
|
|
58864
59225
|
backup_access_code_id?: never;
|
|
59226
|
+
access_grant_key?: never;
|
|
59227
|
+
ends_at?: never;
|
|
59228
|
+
starts_at?: never;
|
|
59229
|
+
access_grant_ids?: never;
|
|
59230
|
+
access_grant_keys?: never;
|
|
59231
|
+
access_method_id?: never;
|
|
59232
|
+
is_backup_code?: never;
|
|
59233
|
+
acs_system_id?: never;
|
|
59234
|
+
acs_credential_id?: never;
|
|
59235
|
+
acs_user_id?: never;
|
|
59236
|
+
acs_encoder_id?: never;
|
|
59237
|
+
acs_access_group_id?: never;
|
|
59238
|
+
client_session_id?: never;
|
|
59239
|
+
connect_webview_id?: never;
|
|
59240
|
+
customer_key?: never;
|
|
59241
|
+
action_attempt_id?: never;
|
|
59242
|
+
action_type?: never;
|
|
59243
|
+
status?: never;
|
|
59244
|
+
error_code?: never;
|
|
59245
|
+
battery_level?: never;
|
|
59246
|
+
battery_status?: never;
|
|
59247
|
+
minut_metadata?: never;
|
|
59248
|
+
noise_level_decibels?: never;
|
|
59249
|
+
noise_level_nrs?: never;
|
|
59250
|
+
noise_threshold_id?: never;
|
|
59251
|
+
noise_threshold_name?: never;
|
|
59252
|
+
noiseaware_metadata?: never;
|
|
59253
|
+
method?: never;
|
|
59254
|
+
climate_preset_key?: never;
|
|
59255
|
+
is_fallback_climate_preset?: never;
|
|
59256
|
+
thermostat_schedule_id?: never;
|
|
59257
|
+
cooling_set_point_celsius?: never;
|
|
59258
|
+
cooling_set_point_fahrenheit?: never;
|
|
59259
|
+
fan_mode_setting?: never;
|
|
59260
|
+
heating_set_point_celsius?: never;
|
|
59261
|
+
heating_set_point_fahrenheit?: never;
|
|
59262
|
+
hvac_mode_setting?: never;
|
|
59263
|
+
lower_limit_celsius?: never;
|
|
59264
|
+
lower_limit_fahrenheit?: never;
|
|
59265
|
+
temperature_celsius?: never;
|
|
59266
|
+
temperature_fahrenheit?: never;
|
|
59267
|
+
upper_limit_celsius?: never;
|
|
59268
|
+
upper_limit_fahrenheit?: never;
|
|
59269
|
+
desired_temperature_celsius?: never;
|
|
59270
|
+
desired_temperature_fahrenheit?: never;
|
|
59271
|
+
device_name?: never;
|
|
59272
|
+
enrollment_automation_id?: never;
|
|
59273
|
+
};
|
|
59274
|
+
required: string[];
|
|
59275
|
+
type: string;
|
|
59276
|
+
'x-route-path': string;
|
|
59277
|
+
deprecated?: never;
|
|
59278
|
+
'x-deprecated'?: never;
|
|
59279
|
+
} | {
|
|
59280
|
+
description: string;
|
|
59281
|
+
properties: {
|
|
59282
|
+
access_grant_id: {
|
|
59283
|
+
description: string;
|
|
59284
|
+
format: string;
|
|
59285
|
+
type: string;
|
|
59286
|
+
};
|
|
59287
|
+
access_grant_key: {
|
|
59288
|
+
description: string;
|
|
59289
|
+
type: string;
|
|
59290
|
+
};
|
|
59291
|
+
created_at: {
|
|
59292
|
+
description: string;
|
|
59293
|
+
format: string;
|
|
59294
|
+
type: string;
|
|
59295
|
+
};
|
|
59296
|
+
ends_at: {
|
|
59297
|
+
description: string;
|
|
59298
|
+
type: string;
|
|
59299
|
+
};
|
|
59300
|
+
event_id: {
|
|
59301
|
+
description: string;
|
|
59302
|
+
format: string;
|
|
59303
|
+
type: string;
|
|
59304
|
+
};
|
|
59305
|
+
event_type: {
|
|
59306
|
+
enum: string[];
|
|
59307
|
+
type: string;
|
|
59308
|
+
};
|
|
59309
|
+
occurred_at: {
|
|
59310
|
+
description: string;
|
|
59311
|
+
format: string;
|
|
59312
|
+
type: string;
|
|
59313
|
+
};
|
|
59314
|
+
starts_at: {
|
|
59315
|
+
description: string;
|
|
59316
|
+
type: string;
|
|
59317
|
+
};
|
|
59318
|
+
workspace_id: {
|
|
59319
|
+
description: string;
|
|
59320
|
+
format: string;
|
|
59321
|
+
type: string;
|
|
59322
|
+
};
|
|
59323
|
+
access_code_id?: never;
|
|
59324
|
+
connected_account_custom_metadata?: never;
|
|
59325
|
+
connected_account_id?: never;
|
|
59326
|
+
device_custom_metadata?: never;
|
|
59327
|
+
device_id?: never;
|
|
59328
|
+
code?: never;
|
|
59329
|
+
backup_access_code_id?: never;
|
|
59330
|
+
acs_entrance_id?: never;
|
|
58865
59331
|
access_grant_ids?: never;
|
|
58866
59332
|
access_grant_keys?: never;
|
|
58867
59333
|
access_method_id?: never;
|
|
@@ -58976,6 +59442,9 @@ declare const _default: {
|
|
|
58976
59442
|
backup_access_code_id?: never;
|
|
58977
59443
|
access_grant_id?: never;
|
|
58978
59444
|
acs_entrance_id?: never;
|
|
59445
|
+
access_grant_key?: never;
|
|
59446
|
+
ends_at?: never;
|
|
59447
|
+
starts_at?: never;
|
|
58979
59448
|
acs_system_id?: never;
|
|
58980
59449
|
acs_credential_id?: never;
|
|
58981
59450
|
acs_user_id?: never;
|
|
@@ -59078,6 +59547,119 @@ declare const _default: {
|
|
|
59078
59547
|
backup_access_code_id?: never;
|
|
59079
59548
|
access_grant_id?: never;
|
|
59080
59549
|
acs_entrance_id?: never;
|
|
59550
|
+
access_grant_key?: never;
|
|
59551
|
+
ends_at?: never;
|
|
59552
|
+
starts_at?: never;
|
|
59553
|
+
is_backup_code?: never;
|
|
59554
|
+
acs_system_id?: never;
|
|
59555
|
+
acs_credential_id?: never;
|
|
59556
|
+
acs_user_id?: never;
|
|
59557
|
+
acs_encoder_id?: never;
|
|
59558
|
+
acs_access_group_id?: never;
|
|
59559
|
+
client_session_id?: never;
|
|
59560
|
+
connect_webview_id?: never;
|
|
59561
|
+
customer_key?: never;
|
|
59562
|
+
action_attempt_id?: never;
|
|
59563
|
+
action_type?: never;
|
|
59564
|
+
status?: never;
|
|
59565
|
+
error_code?: never;
|
|
59566
|
+
battery_level?: never;
|
|
59567
|
+
battery_status?: never;
|
|
59568
|
+
minut_metadata?: never;
|
|
59569
|
+
noise_level_decibels?: never;
|
|
59570
|
+
noise_level_nrs?: never;
|
|
59571
|
+
noise_threshold_id?: never;
|
|
59572
|
+
noise_threshold_name?: never;
|
|
59573
|
+
noiseaware_metadata?: never;
|
|
59574
|
+
method?: never;
|
|
59575
|
+
climate_preset_key?: never;
|
|
59576
|
+
is_fallback_climate_preset?: never;
|
|
59577
|
+
thermostat_schedule_id?: never;
|
|
59578
|
+
cooling_set_point_celsius?: never;
|
|
59579
|
+
cooling_set_point_fahrenheit?: never;
|
|
59580
|
+
fan_mode_setting?: never;
|
|
59581
|
+
heating_set_point_celsius?: never;
|
|
59582
|
+
heating_set_point_fahrenheit?: never;
|
|
59583
|
+
hvac_mode_setting?: never;
|
|
59584
|
+
lower_limit_celsius?: never;
|
|
59585
|
+
lower_limit_fahrenheit?: never;
|
|
59586
|
+
temperature_celsius?: never;
|
|
59587
|
+
temperature_fahrenheit?: never;
|
|
59588
|
+
upper_limit_celsius?: never;
|
|
59589
|
+
upper_limit_fahrenheit?: never;
|
|
59590
|
+
desired_temperature_celsius?: never;
|
|
59591
|
+
desired_temperature_fahrenheit?: never;
|
|
59592
|
+
device_name?: never;
|
|
59593
|
+
enrollment_automation_id?: never;
|
|
59594
|
+
};
|
|
59595
|
+
required: string[];
|
|
59596
|
+
type: string;
|
|
59597
|
+
'x-route-path': string;
|
|
59598
|
+
deprecated?: never;
|
|
59599
|
+
'x-deprecated'?: never;
|
|
59600
|
+
} | {
|
|
59601
|
+
description: string;
|
|
59602
|
+
properties: {
|
|
59603
|
+
access_grant_ids: {
|
|
59604
|
+
description: string;
|
|
59605
|
+
items: {
|
|
59606
|
+
format: string;
|
|
59607
|
+
type: string;
|
|
59608
|
+
};
|
|
59609
|
+
type: string;
|
|
59610
|
+
};
|
|
59611
|
+
access_grant_keys: {
|
|
59612
|
+
description: string;
|
|
59613
|
+
items: {
|
|
59614
|
+
type: string;
|
|
59615
|
+
};
|
|
59616
|
+
type: string;
|
|
59617
|
+
};
|
|
59618
|
+
access_method_id: {
|
|
59619
|
+
description: string;
|
|
59620
|
+
format: string;
|
|
59621
|
+
type: string;
|
|
59622
|
+
};
|
|
59623
|
+
code: {
|
|
59624
|
+
description: string;
|
|
59625
|
+
type: string;
|
|
59626
|
+
nullable?: never;
|
|
59627
|
+
};
|
|
59628
|
+
created_at: {
|
|
59629
|
+
description: string;
|
|
59630
|
+
format: string;
|
|
59631
|
+
type: string;
|
|
59632
|
+
};
|
|
59633
|
+
event_id: {
|
|
59634
|
+
description: string;
|
|
59635
|
+
format: string;
|
|
59636
|
+
type: string;
|
|
59637
|
+
};
|
|
59638
|
+
event_type: {
|
|
59639
|
+
enum: string[];
|
|
59640
|
+
type: string;
|
|
59641
|
+
};
|
|
59642
|
+
occurred_at: {
|
|
59643
|
+
description: string;
|
|
59644
|
+
format: string;
|
|
59645
|
+
type: string;
|
|
59646
|
+
};
|
|
59647
|
+
workspace_id: {
|
|
59648
|
+
description: string;
|
|
59649
|
+
format: string;
|
|
59650
|
+
type: string;
|
|
59651
|
+
};
|
|
59652
|
+
access_code_id?: never;
|
|
59653
|
+
connected_account_custom_metadata?: never;
|
|
59654
|
+
connected_account_id?: never;
|
|
59655
|
+
device_custom_metadata?: never;
|
|
59656
|
+
device_id?: never;
|
|
59657
|
+
backup_access_code_id?: never;
|
|
59658
|
+
access_grant_id?: never;
|
|
59659
|
+
acs_entrance_id?: never;
|
|
59660
|
+
access_grant_key?: never;
|
|
59661
|
+
ends_at?: never;
|
|
59662
|
+
starts_at?: never;
|
|
59081
59663
|
is_backup_code?: never;
|
|
59082
59664
|
acs_system_id?: never;
|
|
59083
59665
|
acs_credential_id?: never;
|
|
@@ -59170,6 +59752,9 @@ declare const _default: {
|
|
|
59170
59752
|
backup_access_code_id?: never;
|
|
59171
59753
|
access_grant_id?: never;
|
|
59172
59754
|
acs_entrance_id?: never;
|
|
59755
|
+
access_grant_key?: never;
|
|
59756
|
+
ends_at?: never;
|
|
59757
|
+
starts_at?: never;
|
|
59173
59758
|
access_grant_ids?: never;
|
|
59174
59759
|
access_grant_keys?: never;
|
|
59175
59760
|
access_method_id?: never;
|
|
@@ -59269,6 +59854,9 @@ declare const _default: {
|
|
|
59269
59854
|
backup_access_code_id?: never;
|
|
59270
59855
|
access_grant_id?: never;
|
|
59271
59856
|
acs_entrance_id?: never;
|
|
59857
|
+
access_grant_key?: never;
|
|
59858
|
+
ends_at?: never;
|
|
59859
|
+
starts_at?: never;
|
|
59272
59860
|
access_grant_ids?: never;
|
|
59273
59861
|
access_grant_keys?: never;
|
|
59274
59862
|
access_method_id?: never;
|
|
@@ -59366,6 +59954,9 @@ declare const _default: {
|
|
|
59366
59954
|
backup_access_code_id?: never;
|
|
59367
59955
|
access_grant_id?: never;
|
|
59368
59956
|
acs_entrance_id?: never;
|
|
59957
|
+
access_grant_key?: never;
|
|
59958
|
+
ends_at?: never;
|
|
59959
|
+
starts_at?: never;
|
|
59369
59960
|
access_grant_ids?: never;
|
|
59370
59961
|
access_grant_keys?: never;
|
|
59371
59962
|
access_method_id?: never;
|
|
@@ -59464,6 +60055,9 @@ declare const _default: {
|
|
|
59464
60055
|
backup_access_code_id?: never;
|
|
59465
60056
|
access_grant_id?: never;
|
|
59466
60057
|
acs_entrance_id?: never;
|
|
60058
|
+
access_grant_key?: never;
|
|
60059
|
+
ends_at?: never;
|
|
60060
|
+
starts_at?: never;
|
|
59467
60061
|
access_grant_ids?: never;
|
|
59468
60062
|
access_grant_keys?: never;
|
|
59469
60063
|
access_method_id?: never;
|
|
@@ -59562,6 +60156,9 @@ declare const _default: {
|
|
|
59562
60156
|
backup_access_code_id?: never;
|
|
59563
60157
|
access_grant_id?: never;
|
|
59564
60158
|
acs_entrance_id?: never;
|
|
60159
|
+
access_grant_key?: never;
|
|
60160
|
+
ends_at?: never;
|
|
60161
|
+
starts_at?: never;
|
|
59565
60162
|
access_grant_ids?: never;
|
|
59566
60163
|
access_grant_keys?: never;
|
|
59567
60164
|
access_method_id?: never;
|
|
@@ -59659,6 +60256,9 @@ declare const _default: {
|
|
|
59659
60256
|
code?: never;
|
|
59660
60257
|
backup_access_code_id?: never;
|
|
59661
60258
|
access_grant_id?: never;
|
|
60259
|
+
access_grant_key?: never;
|
|
60260
|
+
ends_at?: never;
|
|
60261
|
+
starts_at?: never;
|
|
59662
60262
|
access_grant_ids?: never;
|
|
59663
60263
|
access_grant_keys?: never;
|
|
59664
60264
|
access_method_id?: never;
|
|
@@ -59749,6 +60349,9 @@ declare const _default: {
|
|
|
59749
60349
|
backup_access_code_id?: never;
|
|
59750
60350
|
access_grant_id?: never;
|
|
59751
60351
|
acs_entrance_id?: never;
|
|
60352
|
+
access_grant_key?: never;
|
|
60353
|
+
ends_at?: never;
|
|
60354
|
+
starts_at?: never;
|
|
59752
60355
|
access_grant_ids?: never;
|
|
59753
60356
|
access_grant_keys?: never;
|
|
59754
60357
|
access_method_id?: never;
|
|
@@ -59855,6 +60458,9 @@ declare const _default: {
|
|
|
59855
60458
|
backup_access_code_id?: never;
|
|
59856
60459
|
access_grant_id?: never;
|
|
59857
60460
|
acs_entrance_id?: never;
|
|
60461
|
+
access_grant_key?: never;
|
|
60462
|
+
ends_at?: never;
|
|
60463
|
+
starts_at?: never;
|
|
59858
60464
|
access_grant_ids?: never;
|
|
59859
60465
|
access_grant_keys?: never;
|
|
59860
60466
|
access_method_id?: never;
|
|
@@ -59956,6 +60562,9 @@ declare const _default: {
|
|
|
59956
60562
|
backup_access_code_id?: never;
|
|
59957
60563
|
access_grant_id?: never;
|
|
59958
60564
|
acs_entrance_id?: never;
|
|
60565
|
+
access_grant_key?: never;
|
|
60566
|
+
ends_at?: never;
|
|
60567
|
+
starts_at?: never;
|
|
59959
60568
|
access_grant_ids?: never;
|
|
59960
60569
|
access_grant_keys?: never;
|
|
59961
60570
|
access_method_id?: never;
|
|
@@ -60059,6 +60668,9 @@ declare const _default: {
|
|
|
60059
60668
|
backup_access_code_id?: never;
|
|
60060
60669
|
access_grant_id?: never;
|
|
60061
60670
|
acs_entrance_id?: never;
|
|
60671
|
+
access_grant_key?: never;
|
|
60672
|
+
ends_at?: never;
|
|
60673
|
+
starts_at?: never;
|
|
60062
60674
|
access_grant_ids?: never;
|
|
60063
60675
|
access_grant_keys?: never;
|
|
60064
60676
|
access_method_id?: never;
|
|
@@ -60155,6 +60767,9 @@ declare const _default: {
|
|
|
60155
60767
|
backup_access_code_id?: never;
|
|
60156
60768
|
access_grant_id?: never;
|
|
60157
60769
|
acs_entrance_id?: never;
|
|
60770
|
+
access_grant_key?: never;
|
|
60771
|
+
ends_at?: never;
|
|
60772
|
+
starts_at?: never;
|
|
60158
60773
|
access_grant_ids?: never;
|
|
60159
60774
|
access_grant_keys?: never;
|
|
60160
60775
|
access_method_id?: never;
|
|
@@ -60254,6 +60869,9 @@ declare const _default: {
|
|
|
60254
60869
|
backup_access_code_id?: never;
|
|
60255
60870
|
access_grant_id?: never;
|
|
60256
60871
|
acs_entrance_id?: never;
|
|
60872
|
+
access_grant_key?: never;
|
|
60873
|
+
ends_at?: never;
|
|
60874
|
+
starts_at?: never;
|
|
60257
60875
|
access_grant_ids?: never;
|
|
60258
60876
|
access_grant_keys?: never;
|
|
60259
60877
|
access_method_id?: never;
|
|
@@ -60342,6 +60960,9 @@ declare const _default: {
|
|
|
60342
60960
|
backup_access_code_id?: never;
|
|
60343
60961
|
access_grant_id?: never;
|
|
60344
60962
|
acs_entrance_id?: never;
|
|
60963
|
+
access_grant_key?: never;
|
|
60964
|
+
ends_at?: never;
|
|
60965
|
+
starts_at?: never;
|
|
60345
60966
|
access_grant_ids?: never;
|
|
60346
60967
|
access_grant_keys?: never;
|
|
60347
60968
|
access_method_id?: never;
|
|
@@ -60451,6 +61072,9 @@ declare const _default: {
|
|
|
60451
61072
|
backup_access_code_id?: never;
|
|
60452
61073
|
access_grant_id?: never;
|
|
60453
61074
|
acs_entrance_id?: never;
|
|
61075
|
+
access_grant_key?: never;
|
|
61076
|
+
ends_at?: never;
|
|
61077
|
+
starts_at?: never;
|
|
60454
61078
|
access_grant_ids?: never;
|
|
60455
61079
|
access_grant_keys?: never;
|
|
60456
61080
|
access_method_id?: never;
|
|
@@ -60566,6 +61190,9 @@ declare const _default: {
|
|
|
60566
61190
|
backup_access_code_id?: never;
|
|
60567
61191
|
access_grant_id?: never;
|
|
60568
61192
|
acs_entrance_id?: never;
|
|
61193
|
+
access_grant_key?: never;
|
|
61194
|
+
ends_at?: never;
|
|
61195
|
+
starts_at?: never;
|
|
60569
61196
|
access_grant_ids?: never;
|
|
60570
61197
|
access_grant_keys?: never;
|
|
60571
61198
|
access_method_id?: never;
|
|
@@ -60682,6 +61309,9 @@ declare const _default: {
|
|
|
60682
61309
|
backup_access_code_id?: never;
|
|
60683
61310
|
access_grant_id?: never;
|
|
60684
61311
|
acs_entrance_id?: never;
|
|
61312
|
+
access_grant_key?: never;
|
|
61313
|
+
ends_at?: never;
|
|
61314
|
+
starts_at?: never;
|
|
60685
61315
|
access_grant_ids?: never;
|
|
60686
61316
|
access_grant_keys?: never;
|
|
60687
61317
|
access_method_id?: never;
|
|
@@ -60803,6 +61433,9 @@ declare const _default: {
|
|
|
60803
61433
|
backup_access_code_id?: never;
|
|
60804
61434
|
access_grant_id?: never;
|
|
60805
61435
|
acs_entrance_id?: never;
|
|
61436
|
+
access_grant_key?: never;
|
|
61437
|
+
ends_at?: never;
|
|
61438
|
+
starts_at?: never;
|
|
60806
61439
|
access_grant_ids?: never;
|
|
60807
61440
|
access_grant_keys?: never;
|
|
60808
61441
|
access_method_id?: never;
|
|
@@ -60940,6 +61573,9 @@ declare const _default: {
|
|
|
60940
61573
|
backup_access_code_id?: never;
|
|
60941
61574
|
access_grant_id?: never;
|
|
60942
61575
|
acs_entrance_id?: never;
|
|
61576
|
+
access_grant_key?: never;
|
|
61577
|
+
ends_at?: never;
|
|
61578
|
+
starts_at?: never;
|
|
60943
61579
|
access_grant_ids?: never;
|
|
60944
61580
|
access_grant_keys?: never;
|
|
60945
61581
|
access_method_id?: never;
|
|
@@ -61058,6 +61694,9 @@ declare const _default: {
|
|
|
61058
61694
|
backup_access_code_id?: never;
|
|
61059
61695
|
access_grant_id?: never;
|
|
61060
61696
|
acs_entrance_id?: never;
|
|
61697
|
+
access_grant_key?: never;
|
|
61698
|
+
ends_at?: never;
|
|
61699
|
+
starts_at?: never;
|
|
61061
61700
|
access_grant_ids?: never;
|
|
61062
61701
|
access_grant_keys?: never;
|
|
61063
61702
|
access_method_id?: never;
|
|
@@ -61180,6 +61819,9 @@ declare const _default: {
|
|
|
61180
61819
|
backup_access_code_id?: never;
|
|
61181
61820
|
access_grant_id?: never;
|
|
61182
61821
|
acs_entrance_id?: never;
|
|
61822
|
+
access_grant_key?: never;
|
|
61823
|
+
ends_at?: never;
|
|
61824
|
+
starts_at?: never;
|
|
61183
61825
|
access_grant_ids?: never;
|
|
61184
61826
|
access_grant_keys?: never;
|
|
61185
61827
|
access_method_id?: never;
|
|
@@ -61322,6 +61964,9 @@ declare const _default: {
|
|
|
61322
61964
|
backup_access_code_id?: never;
|
|
61323
61965
|
access_grant_id?: never;
|
|
61324
61966
|
acs_entrance_id?: never;
|
|
61967
|
+
access_grant_key?: never;
|
|
61968
|
+
ends_at?: never;
|
|
61969
|
+
starts_at?: never;
|
|
61325
61970
|
access_grant_ids?: never;
|
|
61326
61971
|
access_grant_keys?: never;
|
|
61327
61972
|
access_method_id?: never;
|
|
@@ -61459,6 +62104,9 @@ declare const _default: {
|
|
|
61459
62104
|
backup_access_code_id?: never;
|
|
61460
62105
|
access_grant_id?: never;
|
|
61461
62106
|
acs_entrance_id?: never;
|
|
62107
|
+
access_grant_key?: never;
|
|
62108
|
+
ends_at?: never;
|
|
62109
|
+
starts_at?: never;
|
|
61462
62110
|
access_grant_ids?: never;
|
|
61463
62111
|
access_grant_keys?: never;
|
|
61464
62112
|
access_method_id?: never;
|
|
@@ -61583,6 +62231,9 @@ declare const _default: {
|
|
|
61583
62231
|
backup_access_code_id?: never;
|
|
61584
62232
|
access_grant_id?: never;
|
|
61585
62233
|
acs_entrance_id?: never;
|
|
62234
|
+
access_grant_key?: never;
|
|
62235
|
+
ends_at?: never;
|
|
62236
|
+
starts_at?: never;
|
|
61586
62237
|
access_grant_ids?: never;
|
|
61587
62238
|
access_grant_keys?: never;
|
|
61588
62239
|
access_method_id?: never;
|
|
@@ -61699,6 +62350,9 @@ declare const _default: {
|
|
|
61699
62350
|
backup_access_code_id?: never;
|
|
61700
62351
|
access_grant_id?: never;
|
|
61701
62352
|
acs_entrance_id?: never;
|
|
62353
|
+
access_grant_key?: never;
|
|
62354
|
+
ends_at?: never;
|
|
62355
|
+
starts_at?: never;
|
|
61702
62356
|
access_grant_ids?: never;
|
|
61703
62357
|
access_grant_keys?: never;
|
|
61704
62358
|
access_method_id?: never;
|
|
@@ -61811,6 +62465,9 @@ declare const _default: {
|
|
|
61811
62465
|
backup_access_code_id?: never;
|
|
61812
62466
|
access_grant_id?: never;
|
|
61813
62467
|
acs_entrance_id?: never;
|
|
62468
|
+
access_grant_key?: never;
|
|
62469
|
+
ends_at?: never;
|
|
62470
|
+
starts_at?: never;
|
|
61814
62471
|
access_grant_ids?: never;
|
|
61815
62472
|
access_grant_keys?: never;
|
|
61816
62473
|
access_method_id?: never;
|
|
@@ -61901,6 +62558,9 @@ declare const _default: {
|
|
|
61901
62558
|
backup_access_code_id?: never;
|
|
61902
62559
|
access_grant_id?: never;
|
|
61903
62560
|
acs_entrance_id?: never;
|
|
62561
|
+
access_grant_key?: never;
|
|
62562
|
+
ends_at?: never;
|
|
62563
|
+
starts_at?: never;
|
|
61904
62564
|
access_grant_ids?: never;
|
|
61905
62565
|
access_grant_keys?: never;
|
|
61906
62566
|
access_method_id?: never;
|
|
@@ -61998,6 +62658,9 @@ declare const _default: {
|
|
|
61998
62658
|
backup_access_code_id?: never;
|
|
61999
62659
|
access_grant_id?: never;
|
|
62000
62660
|
acs_entrance_id?: never;
|
|
62661
|
+
access_grant_key?: never;
|
|
62662
|
+
ends_at?: never;
|
|
62663
|
+
starts_at?: never;
|
|
62001
62664
|
access_grant_ids?: never;
|
|
62002
62665
|
access_grant_keys?: never;
|
|
62003
62666
|
access_method_id?: never;
|
|
@@ -113171,6 +113834,15 @@ type Routes = {
|
|
|
113171
113834
|
starts_at: string;
|
|
113172
113835
|
/** Date and time at which the Access Grant ends. */
|
|
113173
113836
|
ends_at: string | null;
|
|
113837
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
113838
|
+
warnings: {
|
|
113839
|
+
/** Date and time at which Seam created the warning. */
|
|
113840
|
+
created_at: string;
|
|
113841
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
113842
|
+
message: string;
|
|
113843
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
113844
|
+
warning_code: 'being_deleted';
|
|
113845
|
+
}[];
|
|
113174
113846
|
/** ID of the customization profile associated with the Access Grant. */
|
|
113175
113847
|
customization_profile_id?: string | undefined;
|
|
113176
113848
|
};
|
|
@@ -113246,6 +113918,15 @@ type Routes = {
|
|
|
113246
113918
|
starts_at: string;
|
|
113247
113919
|
/** Date and time at which the Access Grant ends. */
|
|
113248
113920
|
ends_at: string | null;
|
|
113921
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
113922
|
+
warnings: {
|
|
113923
|
+
/** Date and time at which Seam created the warning. */
|
|
113924
|
+
created_at: string;
|
|
113925
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
113926
|
+
message: string;
|
|
113927
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
113928
|
+
warning_code: 'being_deleted';
|
|
113929
|
+
}[];
|
|
113249
113930
|
/** ID of the customization profile associated with the Access Grant. */
|
|
113250
113931
|
customization_profile_id?: string | undefined;
|
|
113251
113932
|
};
|
|
@@ -115013,6 +115694,15 @@ type Routes = {
|
|
|
115013
115694
|
starts_at: string;
|
|
115014
115695
|
/** Date and time at which the Access Grant ends. */
|
|
115015
115696
|
ends_at: string | null;
|
|
115697
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
115698
|
+
warnings: {
|
|
115699
|
+
/** Date and time at which Seam created the warning. */
|
|
115700
|
+
created_at: string;
|
|
115701
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
115702
|
+
message: string;
|
|
115703
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
115704
|
+
warning_code: 'being_deleted';
|
|
115705
|
+
}[];
|
|
115016
115706
|
/** ID of the customization profile associated with the Access Grant. */
|
|
115017
115707
|
customization_profile_id?: string | undefined;
|
|
115018
115708
|
}[];
|
|
@@ -116343,6 +117033,15 @@ type Routes = {
|
|
|
116343
117033
|
is_encoding_required?: boolean | undefined;
|
|
116344
117034
|
/** The actual PIN code for code access methods. */
|
|
116345
117035
|
code?: (string | null) | undefined;
|
|
117036
|
+
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
117037
|
+
warnings: {
|
|
117038
|
+
/** Date and time at which Seam created the warning. */
|
|
117039
|
+
created_at: string;
|
|
117040
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
117041
|
+
message: string;
|
|
117042
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
117043
|
+
warning_code: 'being_deleted';
|
|
117044
|
+
}[];
|
|
116346
117045
|
/** ID of the customization profile associated with the access method. */
|
|
116347
117046
|
customization_profile_id?: string | undefined;
|
|
116348
117047
|
};
|
|
@@ -120402,6 +121101,15 @@ type Routes = {
|
|
|
120402
121101
|
is_encoding_required?: boolean | undefined;
|
|
120403
121102
|
/** The actual PIN code for code access methods. */
|
|
120404
121103
|
code?: (string | null) | undefined;
|
|
121104
|
+
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
121105
|
+
warnings: {
|
|
121106
|
+
/** Date and time at which Seam created the warning. */
|
|
121107
|
+
created_at: string;
|
|
121108
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
121109
|
+
message: string;
|
|
121110
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
121111
|
+
warning_code: 'being_deleted';
|
|
121112
|
+
}[];
|
|
120405
121113
|
/** ID of the customization profile associated with the access method. */
|
|
120406
121114
|
customization_profile_id?: string | undefined;
|
|
120407
121115
|
}[] | undefined;
|
|
@@ -120448,6 +121156,15 @@ type Routes = {
|
|
|
120448
121156
|
starts_at: string;
|
|
120449
121157
|
/** Date and time at which the Access Grant ends. */
|
|
120450
121158
|
ends_at: string | null;
|
|
121159
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
121160
|
+
warnings: {
|
|
121161
|
+
/** Date and time at which Seam created the warning. */
|
|
121162
|
+
created_at: string;
|
|
121163
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
121164
|
+
message: string;
|
|
121165
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
121166
|
+
warning_code: 'being_deleted';
|
|
121167
|
+
}[];
|
|
120451
121168
|
/** ID of the customization profile associated with the Access Grant. */
|
|
120452
121169
|
customization_profile_id?: string | undefined;
|
|
120453
121170
|
}[] | undefined;
|
|
@@ -120930,6 +121647,24 @@ type Routes = {
|
|
|
120930
121647
|
event_type: 'access_grant.access_to_door_lost';
|
|
120931
121648
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
120932
121649
|
acs_entrance_id: string;
|
|
121650
|
+
} | {
|
|
121651
|
+
/** ID of the event. */
|
|
121652
|
+
event_id: string;
|
|
121653
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
121654
|
+
workspace_id: string;
|
|
121655
|
+
/** Date and time at which the event was created. */
|
|
121656
|
+
created_at: string;
|
|
121657
|
+
/** Date and time at which the event occurred. */
|
|
121658
|
+
occurred_at: string;
|
|
121659
|
+
/** ID of the affected Access Grant. */
|
|
121660
|
+
access_grant_id: string;
|
|
121661
|
+
event_type: 'access_grant.access_times_changed';
|
|
121662
|
+
/** Key of the affected Access Grant (if present). */
|
|
121663
|
+
access_grant_key?: string | undefined;
|
|
121664
|
+
/** The new start time for the access grant. */
|
|
121665
|
+
starts_at?: string | undefined;
|
|
121666
|
+
/** The new end time for the access grant. */
|
|
121667
|
+
ends_at?: string | undefined;
|
|
120933
121668
|
} | {
|
|
120934
121669
|
/** ID of the event. */
|
|
120935
121670
|
event_id: string;
|
|
@@ -121018,6 +121753,24 @@ type Routes = {
|
|
|
121018
121753
|
code?: string | undefined;
|
|
121019
121754
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
121020
121755
|
is_backup_code?: boolean | undefined;
|
|
121756
|
+
} | {
|
|
121757
|
+
/** ID of the event. */
|
|
121758
|
+
event_id: string;
|
|
121759
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
121760
|
+
workspace_id: string;
|
|
121761
|
+
/** Date and time at which the event was created. */
|
|
121762
|
+
created_at: string;
|
|
121763
|
+
/** Date and time at which the event occurred. */
|
|
121764
|
+
occurred_at: string;
|
|
121765
|
+
/** ID of the affected access method. */
|
|
121766
|
+
access_method_id: string;
|
|
121767
|
+
/** IDs of the access grants associated with this access method. */
|
|
121768
|
+
access_grant_ids: string[];
|
|
121769
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
121770
|
+
access_grant_keys?: string[] | undefined;
|
|
121771
|
+
event_type: 'access_method.code_changed';
|
|
121772
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
121773
|
+
code: string;
|
|
121021
121774
|
} | {
|
|
121022
121775
|
/** ID of the event. */
|
|
121023
121776
|
event_id: string;
|
|
@@ -123452,6 +124205,15 @@ type Routes = {
|
|
|
123452
124205
|
is_encoding_required?: boolean | undefined;
|
|
123453
124206
|
/** The actual PIN code for code access methods. */
|
|
123454
124207
|
code?: (string | null) | undefined;
|
|
124208
|
+
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
124209
|
+
warnings: {
|
|
124210
|
+
/** Date and time at which Seam created the warning. */
|
|
124211
|
+
created_at: string;
|
|
124212
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
124213
|
+
message: string;
|
|
124214
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
124215
|
+
warning_code: 'being_deleted';
|
|
124216
|
+
}[];
|
|
123455
124217
|
/** ID of the customization profile associated with the access method. */
|
|
123456
124218
|
customization_profile_id?: string | undefined;
|
|
123457
124219
|
}[];
|
|
@@ -138890,6 +139652,24 @@ type Routes = {
|
|
|
138890
139652
|
event_type: 'access_grant.access_to_door_lost';
|
|
138891
139653
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
138892
139654
|
acs_entrance_id: string;
|
|
139655
|
+
} | {
|
|
139656
|
+
/** ID of the event. */
|
|
139657
|
+
event_id: string;
|
|
139658
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
139659
|
+
workspace_id: string;
|
|
139660
|
+
/** Date and time at which the event was created. */
|
|
139661
|
+
created_at: string;
|
|
139662
|
+
/** Date and time at which the event occurred. */
|
|
139663
|
+
occurred_at: string;
|
|
139664
|
+
/** ID of the affected Access Grant. */
|
|
139665
|
+
access_grant_id: string;
|
|
139666
|
+
event_type: 'access_grant.access_times_changed';
|
|
139667
|
+
/** Key of the affected Access Grant (if present). */
|
|
139668
|
+
access_grant_key?: string | undefined;
|
|
139669
|
+
/** The new start time for the access grant. */
|
|
139670
|
+
starts_at?: string | undefined;
|
|
139671
|
+
/** The new end time for the access grant. */
|
|
139672
|
+
ends_at?: string | undefined;
|
|
138893
139673
|
} | {
|
|
138894
139674
|
/** ID of the event. */
|
|
138895
139675
|
event_id: string;
|
|
@@ -138978,6 +139758,24 @@ type Routes = {
|
|
|
138978
139758
|
code?: string | undefined;
|
|
138979
139759
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
138980
139760
|
is_backup_code?: boolean | undefined;
|
|
139761
|
+
} | {
|
|
139762
|
+
/** ID of the event. */
|
|
139763
|
+
event_id: string;
|
|
139764
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
139765
|
+
workspace_id: string;
|
|
139766
|
+
/** Date and time at which the event was created. */
|
|
139767
|
+
created_at: string;
|
|
139768
|
+
/** Date and time at which the event occurred. */
|
|
139769
|
+
occurred_at: string;
|
|
139770
|
+
/** ID of the affected access method. */
|
|
139771
|
+
access_method_id: string;
|
|
139772
|
+
/** IDs of the access grants associated with this access method. */
|
|
139773
|
+
access_grant_ids: string[];
|
|
139774
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
139775
|
+
access_grant_keys?: string[] | undefined;
|
|
139776
|
+
event_type: 'access_method.code_changed';
|
|
139777
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
139778
|
+
code: string;
|
|
138981
139779
|
} | {
|
|
138982
139780
|
/** ID of the event. */
|
|
138983
139781
|
event_id: string;
|
|
@@ -140303,9 +141101,9 @@ type Routes = {
|
|
|
140303
141101
|
/** IDs of the access codes for which you want to list events. */
|
|
140304
141102
|
access_code_ids?: string[] | undefined;
|
|
140305
141103
|
/** Type of the events that you want to list. */
|
|
140306
|
-
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_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' | '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;
|
|
141104
|
+
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' | 'access_method.code_changed' | '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' | '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;
|
|
140307
141105
|
/** Types of the events that you want to list. */
|
|
140308
|
-
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_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' | '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;
|
|
141106
|
+
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' | 'access_method.code_changed' | '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' | '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;
|
|
140309
141107
|
/** ID of the connected account for which you want to list events. */
|
|
140310
141108
|
connected_account_id?: string | undefined;
|
|
140311
141109
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -140796,6 +141594,24 @@ type Routes = {
|
|
|
140796
141594
|
event_type: 'access_grant.access_to_door_lost';
|
|
140797
141595
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
140798
141596
|
acs_entrance_id: string;
|
|
141597
|
+
} | {
|
|
141598
|
+
/** ID of the event. */
|
|
141599
|
+
event_id: string;
|
|
141600
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
141601
|
+
workspace_id: string;
|
|
141602
|
+
/** Date and time at which the event was created. */
|
|
141603
|
+
created_at: string;
|
|
141604
|
+
/** Date and time at which the event occurred. */
|
|
141605
|
+
occurred_at: string;
|
|
141606
|
+
/** ID of the affected Access Grant. */
|
|
141607
|
+
access_grant_id: string;
|
|
141608
|
+
event_type: 'access_grant.access_times_changed';
|
|
141609
|
+
/** Key of the affected Access Grant (if present). */
|
|
141610
|
+
access_grant_key?: string | undefined;
|
|
141611
|
+
/** The new start time for the access grant. */
|
|
141612
|
+
starts_at?: string | undefined;
|
|
141613
|
+
/** The new end time for the access grant. */
|
|
141614
|
+
ends_at?: string | undefined;
|
|
140799
141615
|
} | {
|
|
140800
141616
|
/** ID of the event. */
|
|
140801
141617
|
event_id: string;
|
|
@@ -140884,6 +141700,24 @@ type Routes = {
|
|
|
140884
141700
|
code?: string | undefined;
|
|
140885
141701
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
140886
141702
|
is_backup_code?: boolean | undefined;
|
|
141703
|
+
} | {
|
|
141704
|
+
/** ID of the event. */
|
|
141705
|
+
event_id: string;
|
|
141706
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
141707
|
+
workspace_id: string;
|
|
141708
|
+
/** Date and time at which the event was created. */
|
|
141709
|
+
created_at: string;
|
|
141710
|
+
/** Date and time at which the event occurred. */
|
|
141711
|
+
occurred_at: string;
|
|
141712
|
+
/** ID of the affected access method. */
|
|
141713
|
+
access_method_id: string;
|
|
141714
|
+
/** IDs of the access grants associated with this access method. */
|
|
141715
|
+
access_grant_ids: string[];
|
|
141716
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
141717
|
+
access_grant_keys?: string[] | undefined;
|
|
141718
|
+
event_type: 'access_method.code_changed';
|
|
141719
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
141720
|
+
code: string;
|
|
140887
141721
|
} | {
|
|
140888
141722
|
/** ID of the event. */
|
|
140889
141723
|
event_id: string;
|
|
@@ -159378,9 +160212,9 @@ type Routes = {
|
|
|
159378
160212
|
/** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
|
|
159379
160213
|
between?: (string | Date)[] | undefined;
|
|
159380
160214
|
/** Type of the events that you want to list. */
|
|
159381
|
-
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_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' | '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;
|
|
160215
|
+
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' | 'access_method.code_changed' | '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' | '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;
|
|
159382
160216
|
/** Types of the events that you want to list. */
|
|
159383
|
-
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_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' | '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;
|
|
160217
|
+
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' | 'access_method.code_changed' | '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' | '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;
|
|
159384
160218
|
/** Numerical limit on the number of events to return. */
|
|
159385
160219
|
limit?: number;
|
|
159386
160220
|
};
|
|
@@ -159865,6 +160699,24 @@ type Routes = {
|
|
|
159865
160699
|
event_type: 'access_grant.access_to_door_lost';
|
|
159866
160700
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
159867
160701
|
acs_entrance_id: string;
|
|
160702
|
+
} | {
|
|
160703
|
+
/** ID of the event. */
|
|
160704
|
+
event_id: string;
|
|
160705
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
160706
|
+
workspace_id: string;
|
|
160707
|
+
/** Date and time at which the event was created. */
|
|
160708
|
+
created_at: string;
|
|
160709
|
+
/** Date and time at which the event occurred. */
|
|
160710
|
+
occurred_at: string;
|
|
160711
|
+
/** ID of the affected Access Grant. */
|
|
160712
|
+
access_grant_id: string;
|
|
160713
|
+
event_type: 'access_grant.access_times_changed';
|
|
160714
|
+
/** Key of the affected Access Grant (if present). */
|
|
160715
|
+
access_grant_key?: string | undefined;
|
|
160716
|
+
/** The new start time for the access grant. */
|
|
160717
|
+
starts_at?: string | undefined;
|
|
160718
|
+
/** The new end time for the access grant. */
|
|
160719
|
+
ends_at?: string | undefined;
|
|
159868
160720
|
} | {
|
|
159869
160721
|
/** ID of the event. */
|
|
159870
160722
|
event_id: string;
|
|
@@ -159953,6 +160805,24 @@ type Routes = {
|
|
|
159953
160805
|
code?: string | undefined;
|
|
159954
160806
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
159955
160807
|
is_backup_code?: boolean | undefined;
|
|
160808
|
+
} | {
|
|
160809
|
+
/** ID of the event. */
|
|
160810
|
+
event_id: string;
|
|
160811
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
160812
|
+
workspace_id: string;
|
|
160813
|
+
/** Date and time at which the event was created. */
|
|
160814
|
+
created_at: string;
|
|
160815
|
+
/** Date and time at which the event occurred. */
|
|
160816
|
+
occurred_at: string;
|
|
160817
|
+
/** ID of the affected access method. */
|
|
160818
|
+
access_method_id: string;
|
|
160819
|
+
/** IDs of the access grants associated with this access method. */
|
|
160820
|
+
access_grant_ids: string[];
|
|
160821
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
160822
|
+
access_grant_keys?: string[] | undefined;
|
|
160823
|
+
event_type: 'access_method.code_changed';
|
|
160824
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
160825
|
+
code: string;
|
|
159956
160826
|
} | {
|
|
159957
160827
|
/** ID of the event. */
|
|
159958
160828
|
event_id: string;
|
|
@@ -186974,6 +187844,15 @@ type Routes = {
|
|
|
186974
187844
|
is_encoding_required?: boolean | undefined;
|
|
186975
187845
|
/** The actual PIN code for code access methods. */
|
|
186976
187846
|
code?: (string | null) | undefined;
|
|
187847
|
+
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
187848
|
+
warnings: {
|
|
187849
|
+
/** Date and time at which Seam created the warning. */
|
|
187850
|
+
created_at: string;
|
|
187851
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
187852
|
+
message: string;
|
|
187853
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
187854
|
+
warning_code: 'being_deleted';
|
|
187855
|
+
}[];
|
|
186977
187856
|
/** ID of the customization profile associated with the access method. */
|
|
186978
187857
|
customization_profile_id?: string | undefined;
|
|
186979
187858
|
}[] | undefined;
|
|
@@ -187020,6 +187899,15 @@ type Routes = {
|
|
|
187020
187899
|
starts_at: string;
|
|
187021
187900
|
/** Date and time at which the Access Grant ends. */
|
|
187022
187901
|
ends_at: string | null;
|
|
187902
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
187903
|
+
warnings: {
|
|
187904
|
+
/** Date and time at which Seam created the warning. */
|
|
187905
|
+
created_at: string;
|
|
187906
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
187907
|
+
message: string;
|
|
187908
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
187909
|
+
warning_code: 'being_deleted';
|
|
187910
|
+
}[];
|
|
187023
187911
|
/** ID of the customization profile associated with the Access Grant. */
|
|
187024
187912
|
customization_profile_id?: string | undefined;
|
|
187025
187913
|
}[] | undefined;
|
|
@@ -187502,6 +188390,24 @@ type Routes = {
|
|
|
187502
188390
|
event_type: 'access_grant.access_to_door_lost';
|
|
187503
188391
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
187504
188392
|
acs_entrance_id: string;
|
|
188393
|
+
} | {
|
|
188394
|
+
/** ID of the event. */
|
|
188395
|
+
event_id: string;
|
|
188396
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
188397
|
+
workspace_id: string;
|
|
188398
|
+
/** Date and time at which the event was created. */
|
|
188399
|
+
created_at: string;
|
|
188400
|
+
/** Date and time at which the event occurred. */
|
|
188401
|
+
occurred_at: string;
|
|
188402
|
+
/** ID of the affected Access Grant. */
|
|
188403
|
+
access_grant_id: string;
|
|
188404
|
+
event_type: 'access_grant.access_times_changed';
|
|
188405
|
+
/** Key of the affected Access Grant (if present). */
|
|
188406
|
+
access_grant_key?: string | undefined;
|
|
188407
|
+
/** The new start time for the access grant. */
|
|
188408
|
+
starts_at?: string | undefined;
|
|
188409
|
+
/** The new end time for the access grant. */
|
|
188410
|
+
ends_at?: string | undefined;
|
|
187505
188411
|
} | {
|
|
187506
188412
|
/** ID of the event. */
|
|
187507
188413
|
event_id: string;
|
|
@@ -187590,6 +188496,24 @@ type Routes = {
|
|
|
187590
188496
|
code?: string | undefined;
|
|
187591
188497
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
187592
188498
|
is_backup_code?: boolean | undefined;
|
|
188499
|
+
} | {
|
|
188500
|
+
/** ID of the event. */
|
|
188501
|
+
event_id: string;
|
|
188502
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
188503
|
+
workspace_id: string;
|
|
188504
|
+
/** Date and time at which the event was created. */
|
|
188505
|
+
created_at: string;
|
|
188506
|
+
/** Date and time at which the event occurred. */
|
|
188507
|
+
occurred_at: string;
|
|
188508
|
+
/** ID of the affected access method. */
|
|
188509
|
+
access_method_id: string;
|
|
188510
|
+
/** IDs of the access grants associated with this access method. */
|
|
188511
|
+
access_grant_ids: string[];
|
|
188512
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
188513
|
+
access_grant_keys?: string[] | undefined;
|
|
188514
|
+
event_type: 'access_method.code_changed';
|
|
188515
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
188516
|
+
code: string;
|
|
187593
188517
|
} | {
|
|
187594
188518
|
/** ID of the event. */
|
|
187595
188519
|
event_id: string;
|