@seamapi/types 1.554.0 → 1.556.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.
Files changed (27) hide show
  1. package/dist/connect.cjs +128 -108
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +376 -403
  4. package/dist/index.cjs +128 -108
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-grants/access-grant.d.ts +54 -0
  7. package/lib/seam/connect/models/access-grants/access-grant.js +24 -0
  8. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  9. package/lib/seam/connect/models/access-grants/access-method.d.ts +54 -0
  10. package/lib/seam/connect/models/access-grants/access-method.js +24 -0
  11. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  12. package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
  13. package/lib/seam/connect/models/batch.d.ts +140 -110
  14. package/lib/seam/connect/models/events/access-methods.d.ts +4 -71
  15. package/lib/seam/connect/models/events/access-methods.js +2 -22
  16. package/lib/seam/connect/models/events/access-methods.js.map +1 -1
  17. package/lib/seam/connect/models/events/seam-event.d.ts +3 -36
  18. package/lib/seam/connect/openapi.d.ts +62 -110
  19. package/lib/seam/connect/openapi.js +65 -69
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/lib/seam/connect/route-types.d.ts +85 -94
  22. package/package.json +1 -1
  23. package/src/lib/seam/connect/models/access-grants/access-grant.ts +40 -0
  24. package/src/lib/seam/connect/models/access-grants/access-method.ts +40 -0
  25. package/src/lib/seam/connect/models/events/access-methods.ts +2 -29
  26. package/src/lib/seam/connect/openapi.ts +77 -74
  27. package/src/lib/seam/connect/route-types.ts +81 -99
@@ -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[];
@@ -25570,14 +25666,13 @@ declare const batch: z.ZodObject<{
25570
25666
  workspace_id: z.ZodString;
25571
25667
  created_at: z.ZodString;
25572
25668
  occurred_at: z.ZodString;
25573
- } & {
25574
25669
  access_method_id: z.ZodString;
25575
25670
  access_grant_ids: z.ZodArray<z.ZodString, "many">;
25576
25671
  access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25577
- } & {
25578
- event_type: z.ZodLiteral<"access_method.reissued">;
25579
25672
  code: z.ZodOptional<z.ZodString>;
25580
25673
  is_backup_code: z.ZodOptional<z.ZodBoolean>;
25674
+ } & {
25675
+ event_type: z.ZodLiteral<"access_method.reissued">;
25581
25676
  }, "strip", z.ZodTypeAny, {
25582
25677
  workspace_id: string;
25583
25678
  created_at: string;
@@ -25605,38 +25700,6 @@ declare const batch: z.ZodObject<{
25605
25700
  workspace_id: z.ZodString;
25606
25701
  created_at: z.ZodString;
25607
25702
  occurred_at: z.ZodString;
25608
- } & {
25609
- access_method_id: z.ZodString;
25610
- access_grant_ids: z.ZodArray<z.ZodString, "many">;
25611
- access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25612
- } & {
25613
- event_type: z.ZodLiteral<"access_method.code_changed">;
25614
- code: z.ZodString;
25615
- }, "strip", z.ZodTypeAny, {
25616
- code: string;
25617
- workspace_id: string;
25618
- created_at: string;
25619
- access_method_id: string;
25620
- event_id: string;
25621
- occurred_at: string;
25622
- event_type: "access_method.code_changed";
25623
- access_grant_ids: string[];
25624
- access_grant_keys?: string[] | undefined;
25625
- }, {
25626
- code: string;
25627
- workspace_id: string;
25628
- created_at: string;
25629
- access_method_id: string;
25630
- event_id: string;
25631
- occurred_at: string;
25632
- event_type: "access_method.code_changed";
25633
- access_grant_ids: string[];
25634
- access_grant_keys?: string[] | undefined;
25635
- }>, z.ZodObject<{
25636
- event_id: z.ZodString;
25637
- workspace_id: z.ZodString;
25638
- created_at: z.ZodString;
25639
- occurred_at: z.ZodString;
25640
25703
  } & {
25641
25704
  connected_account_id: z.ZodOptional<z.ZodString>;
25642
25705
  acs_system_id: z.ZodString;
@@ -31751,6 +31814,11 @@ declare const batch: z.ZodObject<{
31751
31814
  created_at: string;
31752
31815
  starts_at: string;
31753
31816
  ends_at: string | null;
31817
+ warnings: {
31818
+ message: string;
31819
+ created_at: string;
31820
+ warning_code: "being_deleted";
31821
+ }[];
31754
31822
  access_grant_id: string;
31755
31823
  user_identity_id: string;
31756
31824
  location_ids: string[];
@@ -31818,6 +31886,11 @@ declare const batch: z.ZodObject<{
31818
31886
  display_name: string;
31819
31887
  workspace_id: string;
31820
31888
  created_at: string;
31889
+ warnings: {
31890
+ message: string;
31891
+ created_at: string;
31892
+ warning_code: "being_deleted";
31893
+ }[];
31821
31894
  mode: "code" | "card" | "mobile_key";
31822
31895
  access_method_id: string;
31823
31896
  issued_at: string | null;
@@ -33544,16 +33617,6 @@ declare const batch: z.ZodObject<{
33544
33617
  code?: string | undefined;
33545
33618
  access_grant_keys?: string[] | undefined;
33546
33619
  is_backup_code?: boolean | undefined;
33547
- } | {
33548
- code: string;
33549
- workspace_id: string;
33550
- created_at: string;
33551
- access_method_id: string;
33552
- event_id: string;
33553
- occurred_at: string;
33554
- event_type: "access_method.code_changed";
33555
- access_grant_ids: string[];
33556
- access_grant_keys?: string[] | undefined;
33557
33620
  } | {
33558
33621
  workspace_id: string;
33559
33622
  created_at: string;
@@ -35654,6 +35717,11 @@ declare const batch: z.ZodObject<{
35654
35717
  created_at: string;
35655
35718
  starts_at: string;
35656
35719
  ends_at: string | null;
35720
+ warnings: {
35721
+ message: string;
35722
+ created_at: string;
35723
+ warning_code: "being_deleted";
35724
+ }[];
35657
35725
  access_grant_id: string;
35658
35726
  user_identity_id: string;
35659
35727
  location_ids: string[];
@@ -35721,6 +35789,11 @@ declare const batch: z.ZodObject<{
35721
35789
  display_name: string;
35722
35790
  workspace_id: string;
35723
35791
  created_at: string;
35792
+ warnings: {
35793
+ message: string;
35794
+ created_at: string;
35795
+ warning_code: "being_deleted";
35796
+ }[];
35724
35797
  mode: "code" | "card" | "mobile_key";
35725
35798
  access_method_id: string;
35726
35799
  issued_at: string | null;
@@ -37447,16 +37520,6 @@ declare const batch: z.ZodObject<{
37447
37520
  code?: string | undefined;
37448
37521
  access_grant_keys?: string[] | undefined;
37449
37522
  is_backup_code?: boolean | undefined;
37450
- } | {
37451
- code: string;
37452
- workspace_id: string;
37453
- created_at: string;
37454
- access_method_id: string;
37455
- event_id: string;
37456
- occurred_at: string;
37457
- event_type: "access_method.code_changed";
37458
- access_grant_ids: string[];
37459
- access_grant_keys?: string[] | undefined;
37460
37523
  } | {
37461
37524
  workspace_id: string;
37462
37525
  created_at: string;
@@ -48709,14 +48772,13 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
48709
48772
  workspace_id: z.ZodString;
48710
48773
  created_at: z.ZodString;
48711
48774
  occurred_at: z.ZodString;
48712
- } & {
48713
48775
  access_method_id: z.ZodString;
48714
48776
  access_grant_ids: z.ZodArray<z.ZodString, "many">;
48715
48777
  access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
48716
- } & {
48717
- event_type: z.ZodLiteral<"access_method.reissued">;
48718
48778
  code: z.ZodOptional<z.ZodString>;
48719
48779
  is_backup_code: z.ZodOptional<z.ZodBoolean>;
48780
+ } & {
48781
+ event_type: z.ZodLiteral<"access_method.reissued">;
48720
48782
  }, "strip", z.ZodTypeAny, {
48721
48783
  workspace_id: string;
48722
48784
  created_at: string;
@@ -48744,38 +48806,6 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
48744
48806
  workspace_id: z.ZodString;
48745
48807
  created_at: z.ZodString;
48746
48808
  occurred_at: z.ZodString;
48747
- } & {
48748
- access_method_id: z.ZodString;
48749
- access_grant_ids: z.ZodArray<z.ZodString, "many">;
48750
- access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
48751
- } & {
48752
- event_type: z.ZodLiteral<"access_method.code_changed">;
48753
- code: z.ZodString;
48754
- }, "strip", z.ZodTypeAny, {
48755
- code: string;
48756
- workspace_id: string;
48757
- created_at: string;
48758
- access_method_id: string;
48759
- event_id: string;
48760
- occurred_at: string;
48761
- event_type: "access_method.code_changed";
48762
- access_grant_ids: string[];
48763
- access_grant_keys?: string[] | undefined;
48764
- }, {
48765
- code: string;
48766
- workspace_id: string;
48767
- created_at: string;
48768
- access_method_id: string;
48769
- event_id: string;
48770
- occurred_at: string;
48771
- event_type: "access_method.code_changed";
48772
- access_grant_ids: string[];
48773
- access_grant_keys?: string[] | undefined;
48774
- }>, z.ZodObject<{
48775
- event_id: z.ZodString;
48776
- workspace_id: z.ZodString;
48777
- created_at: z.ZodString;
48778
- occurred_at: z.ZodString;
48779
48809
  } & {
48780
48810
  connected_account_id: z.ZodOptional<z.ZodString>;
48781
48811
  acs_system_id: z.ZodString;
@@ -51911,6 +51941,37 @@ declare const _default: {
51911
51941
  format: string;
51912
51942
  type: string;
51913
51943
  };
51944
+ warnings: {
51945
+ description: string;
51946
+ items: {
51947
+ description: string;
51948
+ discriminator: {
51949
+ propertyName: string;
51950
+ };
51951
+ oneOf: {
51952
+ description: string;
51953
+ properties: {
51954
+ created_at: {
51955
+ description: string;
51956
+ format: string;
51957
+ type: string;
51958
+ };
51959
+ message: {
51960
+ description: string;
51961
+ type: string;
51962
+ };
51963
+ warning_code: {
51964
+ description: string;
51965
+ enum: string[];
51966
+ type: string;
51967
+ };
51968
+ };
51969
+ required: string[];
51970
+ type: string;
51971
+ }[];
51972
+ };
51973
+ type: string;
51974
+ };
51914
51975
  workspace_id: {
51915
51976
  description: string;
51916
51977
  format: string;
@@ -51977,6 +52038,37 @@ declare const _default: {
51977
52038
  enum: string[];
51978
52039
  type: string;
51979
52040
  };
52041
+ warnings: {
52042
+ description: string;
52043
+ items: {
52044
+ description: string;
52045
+ discriminator: {
52046
+ propertyName: string;
52047
+ };
52048
+ oneOf: {
52049
+ description: string;
52050
+ properties: {
52051
+ created_at: {
52052
+ description: string;
52053
+ format: string;
52054
+ type: string;
52055
+ };
52056
+ message: {
52057
+ description: string;
52058
+ type: string;
52059
+ };
52060
+ warning_code: {
52061
+ description: string;
52062
+ enum: string[];
52063
+ type: string;
52064
+ };
52065
+ };
52066
+ required: string[];
52067
+ type: string;
52068
+ }[];
52069
+ };
52070
+ type: string;
52071
+ };
51980
52072
  workspace_id: {
51981
52073
  description: string;
51982
52074
  format: string;
@@ -59242,225 +59334,10 @@ declare const _default: {
59242
59334
  enum: string[];
59243
59335
  type: string;
59244
59336
  };
59245
- is_backup_code: {
59246
- description: string;
59247
- type: string;
59248
- };
59249
- occurred_at: {
59250
- description: string;
59251
- format: string;
59252
- type: string;
59253
- };
59254
- workspace_id: {
59255
- description: string;
59256
- format: string;
59257
- type: string;
59258
- };
59259
- access_code_id?: never;
59260
- connected_account_custom_metadata?: never;
59261
- connected_account_id?: never;
59262
- device_custom_metadata?: never;
59263
- device_id?: never;
59264
- backup_access_code_id?: never;
59265
- access_grant_id?: never;
59266
- acs_entrance_id?: never;
59267
- access_grant_key?: never;
59268
- ends_at?: never;
59269
- starts_at?: never;
59270
- acs_system_id?: never;
59271
- acs_credential_id?: never;
59272
- acs_user_id?: never;
59273
- acs_encoder_id?: never;
59274
- acs_access_group_id?: never;
59275
- client_session_id?: never;
59276
- connect_webview_id?: never;
59277
- customer_key?: never;
59278
- action_attempt_id?: never;
59279
- action_type?: never;
59280
- status?: never;
59281
- error_code?: never;
59282
- battery_level?: never;
59283
- battery_status?: never;
59284
- minut_metadata?: never;
59285
- noise_level_decibels?: never;
59286
- noise_level_nrs?: never;
59287
- noise_threshold_id?: never;
59288
- noise_threshold_name?: never;
59289
- noiseaware_metadata?: never;
59290
- method?: never;
59291
- climate_preset_key?: never;
59292
- is_fallback_climate_preset?: never;
59293
- thermostat_schedule_id?: never;
59294
- cooling_set_point_celsius?: never;
59295
- cooling_set_point_fahrenheit?: never;
59296
- fan_mode_setting?: never;
59297
- heating_set_point_celsius?: never;
59298
- heating_set_point_fahrenheit?: never;
59299
- hvac_mode_setting?: never;
59300
- lower_limit_celsius?: never;
59301
- lower_limit_fahrenheit?: never;
59302
- temperature_celsius?: never;
59303
- temperature_fahrenheit?: never;
59304
- upper_limit_celsius?: never;
59305
- upper_limit_fahrenheit?: never;
59306
- desired_temperature_celsius?: never;
59307
- desired_temperature_fahrenheit?: never;
59308
- device_name?: never;
59309
- enrollment_automation_id?: never;
59310
- };
59311
- required: string[];
59312
- type: string;
59313
- 'x-route-path': string;
59314
- deprecated?: never;
59315
- 'x-deprecated'?: never;
59316
- } | {
59317
- description: string;
59318
- properties: {
59319
- access_grant_ids: {
59320
- description: string;
59321
- items: {
59322
- format: string;
59323
- type: string;
59324
- };
59325
- type: string;
59326
- };
59327
- access_grant_keys: {
59328
- description: string;
59329
- items: {
59330
- type: string;
59331
- };
59332
- type: string;
59333
- };
59334
- access_method_id: {
59335
- description: string;
59336
- format: string;
59337
- type: string;
59338
- };
59339
- created_at: {
59340
- description: string;
59341
- format: string;
59342
- type: string;
59343
- };
59344
- event_id: {
59345
- description: string;
59346
- format: string;
59347
- type: string;
59348
- };
59349
- event_type: {
59350
- enum: string[];
59351
- type: string;
59352
- };
59353
- occurred_at: {
59354
- description: string;
59355
- format: string;
59356
- type: string;
59357
- };
59358
- workspace_id: {
59359
- description: string;
59360
- format: string;
59361
- type: string;
59362
- };
59363
- access_code_id?: never;
59364
- connected_account_custom_metadata?: never;
59365
- connected_account_id?: never;
59366
- device_custom_metadata?: never;
59367
- device_id?: never;
59368
- code?: never;
59369
- backup_access_code_id?: never;
59370
- access_grant_id?: never;
59371
- acs_entrance_id?: never;
59372
- access_grant_key?: never;
59373
- ends_at?: never;
59374
- starts_at?: never;
59375
- is_backup_code?: never;
59376
- acs_system_id?: never;
59377
- acs_credential_id?: never;
59378
- acs_user_id?: never;
59379
- acs_encoder_id?: never;
59380
- acs_access_group_id?: never;
59381
- client_session_id?: never;
59382
- connect_webview_id?: never;
59383
- customer_key?: never;
59384
- action_attempt_id?: never;
59385
- action_type?: never;
59386
- status?: never;
59387
- error_code?: never;
59388
- battery_level?: never;
59389
- battery_status?: never;
59390
- minut_metadata?: never;
59391
- noise_level_decibels?: never;
59392
- noise_level_nrs?: never;
59393
- noise_threshold_id?: never;
59394
- noise_threshold_name?: never;
59395
- noiseaware_metadata?: never;
59396
- method?: never;
59397
- climate_preset_key?: never;
59398
- is_fallback_climate_preset?: never;
59399
- thermostat_schedule_id?: never;
59400
- cooling_set_point_celsius?: never;
59401
- cooling_set_point_fahrenheit?: never;
59402
- fan_mode_setting?: never;
59403
- heating_set_point_celsius?: never;
59404
- heating_set_point_fahrenheit?: never;
59405
- hvac_mode_setting?: never;
59406
- lower_limit_celsius?: never;
59407
- lower_limit_fahrenheit?: never;
59408
- temperature_celsius?: never;
59409
- temperature_fahrenheit?: never;
59410
- upper_limit_celsius?: never;
59411
- upper_limit_fahrenheit?: never;
59412
- desired_temperature_celsius?: never;
59413
- desired_temperature_fahrenheit?: never;
59414
- device_name?: never;
59415
- enrollment_automation_id?: never;
59416
- };
59417
- required: string[];
59418
- type: string;
59419
- 'x-route-path': string;
59420
- deprecated?: never;
59421
- 'x-deprecated'?: never;
59422
- } | {
59423
- description: string;
59424
- properties: {
59425
- access_grant_ids: {
59426
- description: string;
59427
- items: {
59428
- format: string;
59429
- type: string;
59430
- };
59431
- type: string;
59432
- };
59433
- access_grant_keys: {
59434
- description: string;
59435
- items: {
59436
- type: string;
59437
- };
59438
- type: string;
59439
- };
59440
- access_method_id: {
59441
- description: string;
59442
- format: string;
59443
- type: string;
59444
- };
59445
- code: {
59446
- description: string;
59447
- type: string;
59448
- nullable?: never;
59449
- };
59450
- created_at: {
59451
- description: string;
59452
- format: string;
59453
- type: string;
59454
- };
59455
- event_id: {
59456
- description: string;
59457
- format: string;
59458
- type: string;
59459
- };
59460
- event_type: {
59461
- enum: string[];
59462
- type: string;
59463
- };
59337
+ is_backup_code: {
59338
+ description: string;
59339
+ type: string;
59340
+ };
59464
59341
  occurred_at: {
59465
59342
  description: string;
59466
59343
  format: string;
@@ -59482,6 +59359,111 @@ declare const _default: {
59482
59359
  access_grant_key?: never;
59483
59360
  ends_at?: never;
59484
59361
  starts_at?: never;
59362
+ acs_system_id?: never;
59363
+ acs_credential_id?: never;
59364
+ acs_user_id?: never;
59365
+ acs_encoder_id?: never;
59366
+ acs_access_group_id?: never;
59367
+ client_session_id?: never;
59368
+ connect_webview_id?: never;
59369
+ customer_key?: never;
59370
+ action_attempt_id?: never;
59371
+ action_type?: never;
59372
+ status?: never;
59373
+ error_code?: never;
59374
+ battery_level?: never;
59375
+ battery_status?: never;
59376
+ minut_metadata?: never;
59377
+ noise_level_decibels?: never;
59378
+ noise_level_nrs?: never;
59379
+ noise_threshold_id?: never;
59380
+ noise_threshold_name?: never;
59381
+ noiseaware_metadata?: never;
59382
+ method?: never;
59383
+ climate_preset_key?: never;
59384
+ is_fallback_climate_preset?: never;
59385
+ thermostat_schedule_id?: never;
59386
+ cooling_set_point_celsius?: never;
59387
+ cooling_set_point_fahrenheit?: never;
59388
+ fan_mode_setting?: never;
59389
+ heating_set_point_celsius?: never;
59390
+ heating_set_point_fahrenheit?: never;
59391
+ hvac_mode_setting?: never;
59392
+ lower_limit_celsius?: never;
59393
+ lower_limit_fahrenheit?: never;
59394
+ temperature_celsius?: never;
59395
+ temperature_fahrenheit?: never;
59396
+ upper_limit_celsius?: never;
59397
+ upper_limit_fahrenheit?: never;
59398
+ desired_temperature_celsius?: never;
59399
+ desired_temperature_fahrenheit?: never;
59400
+ device_name?: never;
59401
+ enrollment_automation_id?: never;
59402
+ };
59403
+ required: string[];
59404
+ type: string;
59405
+ 'x-route-path': string;
59406
+ deprecated?: never;
59407
+ 'x-deprecated'?: never;
59408
+ } | {
59409
+ description: string;
59410
+ properties: {
59411
+ access_grant_ids: {
59412
+ description: string;
59413
+ items: {
59414
+ format: string;
59415
+ type: string;
59416
+ };
59417
+ type: string;
59418
+ };
59419
+ access_grant_keys: {
59420
+ description: string;
59421
+ items: {
59422
+ type: string;
59423
+ };
59424
+ type: string;
59425
+ };
59426
+ access_method_id: {
59427
+ description: string;
59428
+ format: string;
59429
+ type: string;
59430
+ };
59431
+ created_at: {
59432
+ description: string;
59433
+ format: string;
59434
+ type: string;
59435
+ };
59436
+ event_id: {
59437
+ description: string;
59438
+ format: string;
59439
+ type: string;
59440
+ };
59441
+ event_type: {
59442
+ enum: string[];
59443
+ type: string;
59444
+ };
59445
+ occurred_at: {
59446
+ description: string;
59447
+ format: string;
59448
+ type: string;
59449
+ };
59450
+ workspace_id: {
59451
+ description: string;
59452
+ format: string;
59453
+ type: string;
59454
+ };
59455
+ access_code_id?: never;
59456
+ connected_account_custom_metadata?: never;
59457
+ connected_account_id?: never;
59458
+ device_custom_metadata?: never;
59459
+ device_id?: never;
59460
+ code?: never;
59461
+ backup_access_code_id?: never;
59462
+ access_grant_id?: never;
59463
+ acs_entrance_id?: never;
59464
+ access_grant_key?: never;
59465
+ ends_at?: never;
59466
+ starts_at?: never;
59485
59467
  is_backup_code?: never;
59486
59468
  acs_system_id?: never;
59487
59469
  acs_credential_id?: never;
@@ -113656,6 +113638,15 @@ type Routes = {
113656
113638
  starts_at: string;
113657
113639
  /** Date and time at which the Access Grant ends. */
113658
113640
  ends_at: string | null;
113641
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
113642
+ warnings: {
113643
+ /** Date and time at which Seam created the warning. */
113644
+ created_at: string;
113645
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
113646
+ message: string;
113647
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
113648
+ warning_code: 'being_deleted';
113649
+ }[];
113659
113650
  /** ID of the customization profile associated with the Access Grant. */
113660
113651
  customization_profile_id?: string | undefined;
113661
113652
  };
@@ -113731,6 +113722,15 @@ type Routes = {
113731
113722
  starts_at: string;
113732
113723
  /** Date and time at which the Access Grant ends. */
113733
113724
  ends_at: string | null;
113725
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
113726
+ warnings: {
113727
+ /** Date and time at which Seam created the warning. */
113728
+ created_at: string;
113729
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
113730
+ message: string;
113731
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
113732
+ warning_code: 'being_deleted';
113733
+ }[];
113734
113734
  /** ID of the customization profile associated with the Access Grant. */
113735
113735
  customization_profile_id?: string | undefined;
113736
113736
  };
@@ -115498,6 +115498,15 @@ type Routes = {
115498
115498
  starts_at: string;
115499
115499
  /** Date and time at which the Access Grant ends. */
115500
115500
  ends_at: string | null;
115501
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
115502
+ warnings: {
115503
+ /** Date and time at which Seam created the warning. */
115504
+ created_at: string;
115505
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
115506
+ message: string;
115507
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
115508
+ warning_code: 'being_deleted';
115509
+ }[];
115501
115510
  /** ID of the customization profile associated with the Access Grant. */
115502
115511
  customization_profile_id?: string | undefined;
115503
115512
  }[];
@@ -116828,6 +116837,15 @@ type Routes = {
116828
116837
  is_encoding_required?: boolean | undefined;
116829
116838
  /** The actual PIN code for code access methods. */
116830
116839
  code?: (string | null) | undefined;
116840
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
116841
+ warnings: {
116842
+ /** Date and time at which Seam created the warning. */
116843
+ created_at: string;
116844
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
116845
+ message: string;
116846
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
116847
+ warning_code: 'being_deleted';
116848
+ }[];
116831
116849
  /** ID of the customization profile associated with the access method. */
116832
116850
  customization_profile_id?: string | undefined;
116833
116851
  };
@@ -120887,6 +120905,15 @@ type Routes = {
120887
120905
  is_encoding_required?: boolean | undefined;
120888
120906
  /** The actual PIN code for code access methods. */
120889
120907
  code?: (string | null) | undefined;
120908
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
120909
+ warnings: {
120910
+ /** Date and time at which Seam created the warning. */
120911
+ created_at: string;
120912
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
120913
+ message: string;
120914
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
120915
+ warning_code: 'being_deleted';
120916
+ }[];
120890
120917
  /** ID of the customization profile associated with the access method. */
120891
120918
  customization_profile_id?: string | undefined;
120892
120919
  }[] | undefined;
@@ -120933,6 +120960,15 @@ type Routes = {
120933
120960
  starts_at: string;
120934
120961
  /** Date and time at which the Access Grant ends. */
120935
120962
  ends_at: string | null;
120963
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
120964
+ warnings: {
120965
+ /** Date and time at which Seam created the warning. */
120966
+ created_at: string;
120967
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
120968
+ message: string;
120969
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
120970
+ warning_code: 'being_deleted';
120971
+ }[];
120936
120972
  /** ID of the customization profile associated with the Access Grant. */
120937
120973
  customization_profile_id?: string | undefined;
120938
120974
  }[] | undefined;
@@ -121521,24 +121557,6 @@ type Routes = {
121521
121557
  code?: string | undefined;
121522
121558
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
121523
121559
  is_backup_code?: boolean | undefined;
121524
- } | {
121525
- /** ID of the event. */
121526
- event_id: string;
121527
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
121528
- workspace_id: string;
121529
- /** Date and time at which the event was created. */
121530
- created_at: string;
121531
- /** Date and time at which the event occurred. */
121532
- occurred_at: string;
121533
- /** ID of the affected access method. */
121534
- access_method_id: string;
121535
- /** IDs of the access grants associated with this access method. */
121536
- access_grant_ids: string[];
121537
- /** Keys of the access grants associated with this access method (if present). */
121538
- access_grant_keys?: string[] | undefined;
121539
- event_type: 'access_method.code_changed';
121540
- /** The new PIN code for code access methods (only present when mode is 'code'). */
121541
- code: string;
121542
121560
  } | {
121543
121561
  /** ID of the event. */
121544
121562
  event_id: string;
@@ -123973,6 +123991,15 @@ type Routes = {
123973
123991
  is_encoding_required?: boolean | undefined;
123974
123992
  /** The actual PIN code for code access methods. */
123975
123993
  code?: (string | null) | undefined;
123994
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
123995
+ warnings: {
123996
+ /** Date and time at which Seam created the warning. */
123997
+ created_at: string;
123998
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123999
+ message: string;
124000
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
124001
+ warning_code: 'being_deleted';
124002
+ }[];
123976
124003
  /** ID of the customization profile associated with the access method. */
123977
124004
  customization_profile_id?: string | undefined;
123978
124005
  }[];
@@ -139517,24 +139544,6 @@ type Routes = {
139517
139544
  code?: string | undefined;
139518
139545
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
139519
139546
  is_backup_code?: boolean | undefined;
139520
- } | {
139521
- /** ID of the event. */
139522
- event_id: string;
139523
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
139524
- workspace_id: string;
139525
- /** Date and time at which the event was created. */
139526
- created_at: string;
139527
- /** Date and time at which the event occurred. */
139528
- occurred_at: string;
139529
- /** ID of the affected access method. */
139530
- access_method_id: string;
139531
- /** IDs of the access grants associated with this access method. */
139532
- access_grant_ids: string[];
139533
- /** Keys of the access grants associated with this access method (if present). */
139534
- access_grant_keys?: string[] | undefined;
139535
- event_type: 'access_method.code_changed';
139536
- /** The new PIN code for code access methods (only present when mode is 'code'). */
139537
- code: string;
139538
139547
  } | {
139539
139548
  /** ID of the event. */
139540
139549
  event_id: string;
@@ -140860,9 +140869,9 @@ type Routes = {
140860
140869
  /** IDs of the access codes for which you want to list events. */
140861
140870
  access_code_ids?: string[] | undefined;
140862
140871
  /** Type of the events that you want to list. */
140863
- 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;
140872
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | '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;
140864
140873
  /** Types of the events that you want to list. */
140865
- 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;
140874
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | '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;
140866
140875
  /** ID of the connected account for which you want to list events. */
140867
140876
  connected_account_id?: string | undefined;
140868
140877
  /** ID of the Connect Webview for which you want to list events. */
@@ -141459,24 +141468,6 @@ type Routes = {
141459
141468
  code?: string | undefined;
141460
141469
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
141461
141470
  is_backup_code?: boolean | undefined;
141462
- } | {
141463
- /** ID of the event. */
141464
- event_id: string;
141465
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
141466
- workspace_id: string;
141467
- /** Date and time at which the event was created. */
141468
- created_at: string;
141469
- /** Date and time at which the event occurred. */
141470
- occurred_at: string;
141471
- /** ID of the affected access method. */
141472
- access_method_id: string;
141473
- /** IDs of the access grants associated with this access method. */
141474
- access_grant_ids: string[];
141475
- /** Keys of the access grants associated with this access method (if present). */
141476
- access_grant_keys?: string[] | undefined;
141477
- event_type: 'access_method.code_changed';
141478
- /** The new PIN code for code access methods (only present when mode is 'code'). */
141479
- code: string;
141480
141471
  } | {
141481
141472
  /** ID of the event. */
141482
141473
  event_id: string;
@@ -159971,9 +159962,9 @@ type Routes = {
159971
159962
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
159972
159963
  between?: (string | Date)[] | undefined;
159973
159964
  /** Type of the events that you want to list. */
159974
- 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;
159965
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | '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;
159975
159966
  /** Types of the events that you want to list. */
159976
- 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;
159967
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | '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;
159977
159968
  /** Numerical limit on the number of events to return. */
159978
159969
  limit?: number;
159979
159970
  };
@@ -160564,24 +160555,6 @@ type Routes = {
160564
160555
  code?: string | undefined;
160565
160556
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
160566
160557
  is_backup_code?: boolean | undefined;
160567
- } | {
160568
- /** ID of the event. */
160569
- event_id: string;
160570
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
160571
- workspace_id: string;
160572
- /** Date and time at which the event was created. */
160573
- created_at: string;
160574
- /** Date and time at which the event occurred. */
160575
- occurred_at: string;
160576
- /** ID of the affected access method. */
160577
- access_method_id: string;
160578
- /** IDs of the access grants associated with this access method. */
160579
- access_grant_ids: string[];
160580
- /** Keys of the access grants associated with this access method (if present). */
160581
- access_grant_keys?: string[] | undefined;
160582
- event_type: 'access_method.code_changed';
160583
- /** The new PIN code for code access methods (only present when mode is 'code'). */
160584
- code: string;
160585
160558
  } | {
160586
160559
  /** ID of the event. */
160587
160560
  event_id: string;
@@ -187603,6 +187576,15 @@ type Routes = {
187603
187576
  is_encoding_required?: boolean | undefined;
187604
187577
  /** The actual PIN code for code access methods. */
187605
187578
  code?: (string | null) | undefined;
187579
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
187580
+ warnings: {
187581
+ /** Date and time at which Seam created the warning. */
187582
+ created_at: string;
187583
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
187584
+ message: string;
187585
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
187586
+ warning_code: 'being_deleted';
187587
+ }[];
187606
187588
  /** ID of the customization profile associated with the access method. */
187607
187589
  customization_profile_id?: string | undefined;
187608
187590
  }[] | undefined;
@@ -187649,6 +187631,15 @@ type Routes = {
187649
187631
  starts_at: string;
187650
187632
  /** Date and time at which the Access Grant ends. */
187651
187633
  ends_at: string | null;
187634
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
187635
+ warnings: {
187636
+ /** Date and time at which Seam created the warning. */
187637
+ created_at: string;
187638
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
187639
+ message: string;
187640
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
187641
+ warning_code: 'being_deleted';
187642
+ }[];
187652
187643
  /** ID of the customization profile associated with the Access Grant. */
187653
187644
  customization_profile_id?: string | undefined;
187654
187645
  }[] | undefined;
@@ -188237,24 +188228,6 @@ type Routes = {
188237
188228
  code?: string | undefined;
188238
188229
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
188239
188230
  is_backup_code?: boolean | undefined;
188240
- } | {
188241
- /** ID of the event. */
188242
- event_id: string;
188243
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
188244
- workspace_id: string;
188245
- /** Date and time at which the event was created. */
188246
- created_at: string;
188247
- /** Date and time at which the event occurred. */
188248
- occurred_at: string;
188249
- /** ID of the affected access method. */
188250
- access_method_id: string;
188251
- /** IDs of the access grants associated with this access method. */
188252
- access_grant_ids: string[];
188253
- /** Keys of the access grants associated with this access method (if present). */
188254
- access_grant_keys?: string[] | undefined;
188255
- event_type: 'access_method.code_changed';
188256
- /** The new PIN code for code access methods (only present when mode is 'code'). */
188257
- code: string;
188258
188231
  } | {
188259
188232
  /** ID of the event. */
188260
188233
  event_id: string;