@seamapi/types 1.418.1 → 1.420.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 +242 -1
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +436 -2
  4. package/lib/seam/connect/models/access-grants/access-grant.d.ts +6 -0
  5. package/lib/seam/connect/models/access-grants/access-grant.js +10 -0
  6. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  7. package/lib/seam/connect/models/devices/device.d.ts +58 -0
  8. package/lib/seam/connect/models/devices/device.js +12 -0
  9. package/lib/seam/connect/models/devices/device.js.map +1 -1
  10. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
  11. package/lib/seam/connect/models/events/access-grants.d.ts +0 -2
  12. package/lib/seam/connect/models/events/access-grants.js.map +1 -1
  13. package/lib/seam/connect/models/events/access-methods.d.ts +47 -0
  14. package/lib/seam/connect/models/events/access-methods.js +9 -0
  15. package/lib/seam/connect/models/events/access-methods.js.map +1 -1
  16. package/lib/seam/connect/models/events/seam-event.d.ts +24 -1
  17. package/lib/seam/connect/openapi.d.ts +181 -0
  18. package/lib/seam/connect/openapi.js +222 -0
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +171 -2
  21. package/package.json +2 -2
  22. package/src/lib/seam/connect/models/access-grants/access-grant.ts +10 -0
  23. package/src/lib/seam/connect/models/devices/device.ts +13 -0
  24. package/src/lib/seam/connect/models/events/access-grants.ts +0 -6
  25. package/src/lib/seam/connect/models/events/access-methods.ts +10 -0
  26. package/src/lib/seam/connect/openapi.ts +235 -0
  27. package/src/lib/seam/connect/route-types.ts +188 -0
@@ -3640,6 +3640,8 @@ declare const access_grant: z.ZodObject<{
3640
3640
  access_method_ids: z.ZodArray<z.ZodString, "many">;
3641
3641
  display_name: z.ZodString;
3642
3642
  created_at: z.ZodString;
3643
+ starts_at: z.ZodOptional<z.ZodString>;
3644
+ ends_at: z.ZodOptional<z.ZodString>;
3643
3645
  }, "strip", z.ZodTypeAny, {
3644
3646
  display_name: string;
3645
3647
  workspace_id: string;
@@ -3655,6 +3657,8 @@ declare const access_grant: z.ZodObject<{
3655
3657
  created_access_method_ids: string[];
3656
3658
  }[];
3657
3659
  access_method_ids: string[];
3660
+ starts_at?: string | undefined;
3661
+ ends_at?: string | undefined;
3658
3662
  }, {
3659
3663
  display_name: string;
3660
3664
  workspace_id: string;
@@ -3670,6 +3674,8 @@ declare const access_grant: z.ZodObject<{
3670
3674
  created_access_method_ids: string[];
3671
3675
  }[];
3672
3676
  access_method_ids: string[];
3677
+ starts_at?: string | undefined;
3678
+ ends_at?: string | undefined;
3673
3679
  }>;
3674
3680
  type AccessGrant = z.infer<typeof access_grant>;
3675
3681
 
@@ -11469,6 +11475,19 @@ declare const device_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObje
11469
11475
  }>, z.ZodObject<z.objectUtil.extendShape<{
11470
11476
  message: z.ZodString;
11471
11477
  created_at: z.ZodString;
11478
+ }, {
11479
+ warning_code: z.ZodLiteral<"power_saving_mode">;
11480
+ }>, "strip", z.ZodTypeAny, {
11481
+ message: string;
11482
+ created_at: string;
11483
+ warning_code: "power_saving_mode";
11484
+ }, {
11485
+ message: string;
11486
+ created_at: string;
11487
+ warning_code: "power_saving_mode";
11488
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11489
+ message: z.ZodString;
11490
+ created_at: z.ZodString;
11472
11491
  }, {
11473
11492
  warning_code: z.ZodLiteral<"temperature_threshold_exceeded">;
11474
11493
  }>, "strip", z.ZodTypeAny, {
@@ -14057,6 +14076,19 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14057
14076
  }>, z.ZodObject<z.objectUtil.extendShape<{
14058
14077
  message: z.ZodString;
14059
14078
  created_at: z.ZodString;
14079
+ }, {
14080
+ warning_code: z.ZodLiteral<"power_saving_mode">;
14081
+ }>, "strip", z.ZodTypeAny, {
14082
+ message: string;
14083
+ created_at: string;
14084
+ warning_code: "power_saving_mode";
14085
+ }, {
14086
+ message: string;
14087
+ created_at: string;
14088
+ warning_code: "power_saving_mode";
14089
+ }>, z.ZodObject<z.objectUtil.extendShape<{
14090
+ message: z.ZodString;
14091
+ created_at: z.ZodString;
14060
14092
  }, {
14061
14093
  warning_code: z.ZodLiteral<"temperature_threshold_exceeded">;
14062
14094
  }>, "strip", z.ZodTypeAny, {
@@ -14343,6 +14375,10 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14343
14375
  message: string;
14344
14376
  created_at: string;
14345
14377
  warning_code: "ttlock_weak_gateway_signal";
14378
+ } | {
14379
+ message: string;
14380
+ created_at: string;
14381
+ warning_code: "power_saving_mode";
14346
14382
  } | {
14347
14383
  message: string;
14348
14384
  created_at: string;
@@ -14952,6 +14988,10 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14952
14988
  message: string;
14953
14989
  created_at: string;
14954
14990
  warning_code: "ttlock_weak_gateway_signal";
14991
+ } | {
14992
+ message: string;
14993
+ created_at: string;
14994
+ warning_code: "power_saving_mode";
14955
14995
  } | {
14956
14996
  message: string;
14957
14997
  created_at: string;
@@ -17984,6 +18024,19 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
17984
18024
  }>, z.ZodObject<z.objectUtil.extendShape<{
17985
18025
  message: z.ZodString;
17986
18026
  created_at: z.ZodString;
18027
+ }, {
18028
+ warning_code: z.ZodLiteral<"power_saving_mode">;
18029
+ }>, "strip", z.ZodTypeAny, {
18030
+ message: string;
18031
+ created_at: string;
18032
+ warning_code: "power_saving_mode";
18033
+ }, {
18034
+ message: string;
18035
+ created_at: string;
18036
+ warning_code: "power_saving_mode";
18037
+ }>, z.ZodObject<z.objectUtil.extendShape<{
18038
+ message: z.ZodString;
18039
+ created_at: z.ZodString;
17987
18040
  }, {
17988
18041
  warning_code: z.ZodLiteral<"temperature_threshold_exceeded">;
17989
18042
  }>, "strip", z.ZodTypeAny, {
@@ -18418,6 +18471,10 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
18418
18471
  message: string;
18419
18472
  created_at: string;
18420
18473
  warning_code: "ttlock_weak_gateway_signal";
18474
+ } | {
18475
+ message: string;
18476
+ created_at: string;
18477
+ warning_code: "power_saving_mode";
18421
18478
  } | {
18422
18479
  message: string;
18423
18480
  created_at: string;
@@ -18644,6 +18701,10 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
18644
18701
  message: string;
18645
18702
  created_at: string;
18646
18703
  warning_code: "ttlock_weak_gateway_signal";
18704
+ } | {
18705
+ message: string;
18706
+ created_at: string;
18707
+ warning_code: "power_saving_mode";
18647
18708
  } | {
18648
18709
  message: string;
18649
18710
  created_at: string;
@@ -19437,6 +19498,29 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19437
19498
  event_id: string;
19438
19499
  occurred_at: string;
19439
19500
  event_type: "access_method.deleted";
19501
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19502
+ event_id: z.ZodString;
19503
+ workspace_id: z.ZodString;
19504
+ created_at: z.ZodString;
19505
+ occurred_at: z.ZodString;
19506
+ }, {
19507
+ access_method_id: z.ZodString;
19508
+ }>, {
19509
+ event_type: z.ZodLiteral<"access_method.reissued">;
19510
+ }>, "strip", z.ZodTypeAny, {
19511
+ workspace_id: string;
19512
+ created_at: string;
19513
+ access_method_id: string;
19514
+ event_id: string;
19515
+ occurred_at: string;
19516
+ event_type: "access_method.reissued";
19517
+ }, {
19518
+ workspace_id: string;
19519
+ created_at: string;
19520
+ access_method_id: string;
19521
+ event_id: string;
19522
+ occurred_at: string;
19523
+ event_type: "access_method.reissued";
19440
19524
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19441
19525
  event_id: z.ZodString;
19442
19526
  workspace_id: z.ZodString;
@@ -22082,6 +22166,11 @@ declare const _default: {
22082
22166
  description: string;
22083
22167
  type: string;
22084
22168
  };
22169
+ ends_at: {
22170
+ description: string;
22171
+ format: string;
22172
+ type: string;
22173
+ };
22085
22174
  location_ids: {
22086
22175
  deprecated: boolean;
22087
22176
  items: {
@@ -22131,6 +22220,11 @@ declare const _default: {
22131
22220
  };
22132
22221
  type: string;
22133
22222
  };
22223
+ starts_at: {
22224
+ description: string;
22225
+ format: string;
22226
+ type: string;
22227
+ };
22134
22228
  user_identity_id: {
22135
22229
  description: string;
22136
22230
  format: string;
@@ -37300,6 +37394,177 @@ declare const _default: {
37300
37394
  'x-title': string;
37301
37395
  };
37302
37396
  };
37397
+ '/access_grants/update': {
37398
+ patch: {
37399
+ description: string;
37400
+ operationId: string;
37401
+ requestBody: {
37402
+ content: {
37403
+ 'application/json': {
37404
+ schema: {
37405
+ properties: {
37406
+ access_grant_id: {
37407
+ description: string;
37408
+ format: string;
37409
+ type: string;
37410
+ };
37411
+ ends_at: {
37412
+ description: string;
37413
+ format: string;
37414
+ nullable: boolean;
37415
+ type: string;
37416
+ };
37417
+ starts_at: {
37418
+ description: string;
37419
+ format: string;
37420
+ nullable: boolean;
37421
+ type: string;
37422
+ };
37423
+ };
37424
+ required: string[];
37425
+ type: string;
37426
+ };
37427
+ };
37428
+ };
37429
+ };
37430
+ responses: {
37431
+ 200: {
37432
+ content: {
37433
+ 'application/json': {
37434
+ schema: {
37435
+ properties: {
37436
+ ok: {
37437
+ type: string;
37438
+ };
37439
+ };
37440
+ required: string[];
37441
+ type: string;
37442
+ };
37443
+ };
37444
+ };
37445
+ description: string;
37446
+ };
37447
+ 400: {
37448
+ description: string;
37449
+ };
37450
+ 401: {
37451
+ description: string;
37452
+ };
37453
+ };
37454
+ security: ({
37455
+ pat_with_workspace: never[];
37456
+ console_session_with_workspace?: never;
37457
+ api_key?: never;
37458
+ client_session_with_customer?: never;
37459
+ } | {
37460
+ console_session_with_workspace: never[];
37461
+ pat_with_workspace?: never;
37462
+ api_key?: never;
37463
+ client_session_with_customer?: never;
37464
+ } | {
37465
+ api_key: never[];
37466
+ pat_with_workspace?: never;
37467
+ console_session_with_workspace?: never;
37468
+ client_session_with_customer?: never;
37469
+ } | {
37470
+ client_session_with_customer: never[];
37471
+ pat_with_workspace?: never;
37472
+ console_session_with_workspace?: never;
37473
+ api_key?: never;
37474
+ })[];
37475
+ summary: string;
37476
+ tags: never[];
37477
+ 'x-draft': string;
37478
+ 'x-fern-ignore': boolean;
37479
+ 'x-response-key': null;
37480
+ 'x-title': string;
37481
+ };
37482
+ post: {
37483
+ description: string;
37484
+ operationId: string;
37485
+ requestBody: {
37486
+ content: {
37487
+ 'application/json': {
37488
+ schema: {
37489
+ properties: {
37490
+ access_grant_id: {
37491
+ description: string;
37492
+ format: string;
37493
+ type: string;
37494
+ };
37495
+ ends_at: {
37496
+ description: string;
37497
+ format: string;
37498
+ nullable: boolean;
37499
+ type: string;
37500
+ };
37501
+ starts_at: {
37502
+ description: string;
37503
+ format: string;
37504
+ nullable: boolean;
37505
+ type: string;
37506
+ };
37507
+ };
37508
+ required: string[];
37509
+ type: string;
37510
+ };
37511
+ };
37512
+ };
37513
+ };
37514
+ responses: {
37515
+ 200: {
37516
+ content: {
37517
+ 'application/json': {
37518
+ schema: {
37519
+ properties: {
37520
+ ok: {
37521
+ type: string;
37522
+ };
37523
+ };
37524
+ required: string[];
37525
+ type: string;
37526
+ };
37527
+ };
37528
+ };
37529
+ description: string;
37530
+ };
37531
+ 400: {
37532
+ description: string;
37533
+ };
37534
+ 401: {
37535
+ description: string;
37536
+ };
37537
+ };
37538
+ security: ({
37539
+ pat_with_workspace: never[];
37540
+ console_session_with_workspace?: never;
37541
+ api_key?: never;
37542
+ client_session_with_customer?: never;
37543
+ } | {
37544
+ console_session_with_workspace: never[];
37545
+ pat_with_workspace?: never;
37546
+ api_key?: never;
37547
+ client_session_with_customer?: never;
37548
+ } | {
37549
+ api_key: never[];
37550
+ pat_with_workspace?: never;
37551
+ console_session_with_workspace?: never;
37552
+ client_session_with_customer?: never;
37553
+ } | {
37554
+ client_session_with_customer: never[];
37555
+ pat_with_workspace?: never;
37556
+ console_session_with_workspace?: never;
37557
+ api_key?: never;
37558
+ })[];
37559
+ summary: string;
37560
+ tags: never[];
37561
+ 'x-draft': string;
37562
+ 'x-fern-sdk-group-name': string[];
37563
+ 'x-fern-sdk-method-name': string;
37564
+ 'x-response-key': null;
37565
+ 'x-title': string;
37566
+ };
37567
+ };
37303
37568
  '/access_methods/delete': {
37304
37569
  post: {
37305
37570
  description: string;
@@ -67714,6 +67979,10 @@ interface Routes {
67714
67979
  display_name: string;
67715
67980
  /** Date and time at which the access grant was created. */
67716
67981
  created_at: string;
67982
+ /** Date and time at which the access grant starts. */
67983
+ starts_at?: string | undefined;
67984
+ /** Date and time at which the access grant ends. */
67985
+ ends_at?: string | undefined;
67717
67986
  };
67718
67987
  };
67719
67988
  };
@@ -67770,6 +68039,10 @@ interface Routes {
67770
68039
  display_name: string;
67771
68040
  /** Date and time at which the access grant was created. */
67772
68041
  created_at: string;
68042
+ /** Date and time at which the access grant starts. */
68043
+ starts_at?: string | undefined;
68044
+ /** Date and time at which the access grant ends. */
68045
+ ends_at?: string | undefined;
67773
68046
  };
67774
68047
  };
67775
68048
  };
@@ -67822,9 +68095,29 @@ interface Routes {
67822
68095
  display_name: string;
67823
68096
  /** Date and time at which the access grant was created. */
67824
68097
  created_at: string;
68098
+ /** Date and time at which the access grant starts. */
68099
+ starts_at?: string | undefined;
68100
+ /** Date and time at which the access grant ends. */
68101
+ ends_at?: string | undefined;
67825
68102
  }>;
67826
68103
  };
67827
68104
  };
68105
+ '/access_grants/update': {
68106
+ route: '/access_grants/update';
68107
+ method: 'POST' | 'PATCH';
68108
+ queryParams: {};
68109
+ jsonBody: {};
68110
+ commonParams: {
68111
+ /** ID of the access grant to update. */
68112
+ access_grant_id: string;
68113
+ /** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
68114
+ starts_at?: (string | null) | undefined;
68115
+ /** Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
68116
+ ends_at?: (string | null) | undefined;
68117
+ };
68118
+ formData: {};
68119
+ jsonResponse: {};
68120
+ };
67828
68121
  '/access_methods/delete': {
67829
68122
  route: '/access_methods/delete';
67830
68123
  method: 'GET' | 'POST';
@@ -81032,6 +81325,13 @@ interface Routes {
81032
81325
  created_at: string;
81033
81326
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81034
81327
  warning_code: 'ttlock_weak_gateway_signal';
81328
+ } | {
81329
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81330
+ message: string;
81331
+ /** Date and time at which Seam created the warning. */
81332
+ created_at: string;
81333
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81334
+ warning_code: 'power_saving_mode';
81035
81335
  } | {
81036
81336
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81037
81337
  message: string;
@@ -82177,6 +82477,13 @@ interface Routes {
82177
82477
  created_at: string;
82178
82478
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82179
82479
  warning_code: 'ttlock_weak_gateway_signal';
82480
+ } | {
82481
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82482
+ message: string;
82483
+ /** Date and time at which Seam created the warning. */
82484
+ created_at: string;
82485
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82486
+ warning_code: 'power_saving_mode';
82180
82487
  } | {
82181
82488
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82182
82489
  message: string;
@@ -82583,6 +82890,13 @@ interface Routes {
82583
82890
  created_at: string;
82584
82891
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82585
82892
  warning_code: 'ttlock_weak_gateway_signal';
82893
+ } | {
82894
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82895
+ message: string;
82896
+ /** Date and time at which Seam created the warning. */
82897
+ created_at: string;
82898
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82899
+ warning_code: 'power_saving_mode';
82586
82900
  } | {
82587
82901
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82588
82902
  message: string;
@@ -83008,6 +83322,13 @@ interface Routes {
83008
83322
  created_at: string;
83009
83323
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83010
83324
  warning_code: 'ttlock_weak_gateway_signal';
83325
+ } | {
83326
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83327
+ message: string;
83328
+ /** Date and time at which Seam created the warning. */
83329
+ created_at: string;
83330
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83331
+ warning_code: 'power_saving_mode';
83011
83332
  } | {
83012
83333
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83013
83334
  message: string;
@@ -83611,6 +83932,18 @@ interface Routes {
83611
83932
  created_at: string;
83612
83933
  /** Date and time at which the event occurred. */
83613
83934
  occurred_at: string;
83935
+ /** ID of the affected access method. */
83936
+ access_method_id: string;
83937
+ event_type: 'access_method.reissued';
83938
+ } | {
83939
+ /** ID of the event. */
83940
+ event_id: string;
83941
+ /** ID of the workspace associated with the event. */
83942
+ workspace_id: string;
83943
+ /** Date and time at which the event was created. */
83944
+ created_at: string;
83945
+ /** Date and time at which the event occurred. */
83946
+ occurred_at: string;
83614
83947
  /** ID of the connected account. */
83615
83948
  connected_account_id?: string | undefined;
83616
83949
  /** ID of the access system. */
@@ -84617,9 +84950,9 @@ interface Routes {
84617
84950
  /** IDs of the access codes for which you want to list events. */
84618
84951
  access_code_ids?: string[] | undefined;
84619
84952
  /** Type of the events that you want to list. */
84620
- 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' | '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;
84953
+ 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;
84621
84954
  /** Types of the events that you want to list. */
84622
- event_types?: Array<'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | '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' | '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;
84955
+ event_types?: Array<'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | '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;
84623
84956
  /** ID of the connected account for which you want to list events. */
84624
84957
  connected_account_id?: string | undefined;
84625
84958
  /** IDs of the connected accounts for which you want to list events. */
@@ -85033,6 +85366,18 @@ interface Routes {
85033
85366
  created_at: string;
85034
85367
  /** Date and time at which the event occurred. */
85035
85368
  occurred_at: string;
85369
+ /** ID of the affected access method. */
85370
+ access_method_id: string;
85371
+ event_type: 'access_method.reissued';
85372
+ } | {
85373
+ /** ID of the event. */
85374
+ event_id: string;
85375
+ /** ID of the workspace associated with the event. */
85376
+ workspace_id: string;
85377
+ /** Date and time at which the event was created. */
85378
+ created_at: string;
85379
+ /** Date and time at which the event occurred. */
85380
+ occurred_at: string;
85036
85381
  /** ID of the connected account. */
85037
85382
  connected_account_id?: string | undefined;
85038
85383
  /** ID of the access system. */
@@ -87045,6 +87390,13 @@ interface Routes {
87045
87390
  created_at: string;
87046
87391
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
87047
87392
  warning_code: 'ttlock_weak_gateway_signal';
87393
+ } | {
87394
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
87395
+ message: string;
87396
+ /** Date and time at which Seam created the warning. */
87397
+ created_at: string;
87398
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
87399
+ warning_code: 'power_saving_mode';
87048
87400
  } | {
87049
87401
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
87050
87402
  message: string;
@@ -88146,6 +88498,13 @@ interface Routes {
88146
88498
  created_at: string;
88147
88499
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88148
88500
  warning_code: 'ttlock_weak_gateway_signal';
88501
+ } | {
88502
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88503
+ message: string;
88504
+ /** Date and time at which Seam created the warning. */
88505
+ created_at: string;
88506
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88507
+ warning_code: 'power_saving_mode';
88149
88508
  } | {
88150
88509
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88151
88510
  message: string;
@@ -89291,6 +89650,13 @@ interface Routes {
89291
89650
  created_at: string;
89292
89651
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
89293
89652
  warning_code: 'ttlock_weak_gateway_signal';
89653
+ } | {
89654
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
89655
+ message: string;
89656
+ /** Date and time at which Seam created the warning. */
89657
+ created_at: string;
89658
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
89659
+ warning_code: 'power_saving_mode';
89294
89660
  } | {
89295
89661
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
89296
89662
  message: string;
@@ -90391,6 +90757,13 @@ interface Routes {
90391
90757
  created_at: string;
90392
90758
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90393
90759
  warning_code: 'ttlock_weak_gateway_signal';
90760
+ } | {
90761
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90762
+ message: string;
90763
+ /** Date and time at which Seam created the warning. */
90764
+ created_at: string;
90765
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90766
+ warning_code: 'power_saving_mode';
90394
90767
  } | {
90395
90768
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90396
90769
  message: string;
@@ -96829,6 +97202,13 @@ interface Routes {
96829
97202
  created_at: string;
96830
97203
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
96831
97204
  warning_code: 'ttlock_weak_gateway_signal';
97205
+ } | {
97206
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
97207
+ message: string;
97208
+ /** Date and time at which Seam created the warning. */
97209
+ created_at: string;
97210
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
97211
+ warning_code: 'power_saving_mode';
96832
97212
  } | {
96833
97213
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
96834
97214
  message: string;
@@ -97929,6 +98309,13 @@ interface Routes {
97929
98309
  created_at: string;
97930
98310
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
97931
98311
  warning_code: 'ttlock_weak_gateway_signal';
98312
+ } | {
98313
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
98314
+ message: string;
98315
+ /** Date and time at which Seam created the warning. */
98316
+ created_at: string;
98317
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
98318
+ warning_code: 'power_saving_mode';
97932
98319
  } | {
97933
98320
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
97934
98321
  message: string;
@@ -108397,6 +108784,13 @@ interface Routes {
108397
108784
  created_at: string;
108398
108785
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
108399
108786
  warning_code: 'ttlock_weak_gateway_signal';
108787
+ } | {
108788
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
108789
+ message: string;
108790
+ /** Date and time at which Seam created the warning. */
108791
+ created_at: string;
108792
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
108793
+ warning_code: 'power_saving_mode';
108400
108794
  } | {
108401
108795
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
108402
108796
  message: string;
@@ -112184,6 +112578,13 @@ interface Routes {
112184
112578
  created_at: string;
112185
112579
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
112186
112580
  warning_code: 'ttlock_weak_gateway_signal';
112581
+ } | {
112582
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
112583
+ message: string;
112584
+ /** Date and time at which Seam created the warning. */
112585
+ created_at: string;
112586
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
112587
+ warning_code: 'power_saving_mode';
112187
112588
  } | {
112188
112589
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
112189
112590
  message: string;
@@ -113284,6 +113685,13 @@ interface Routes {
113284
113685
  created_at: string;
113285
113686
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
113286
113687
  warning_code: 'ttlock_weak_gateway_signal';
113688
+ } | {
113689
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
113690
+ message: string;
113691
+ /** Date and time at which Seam created the warning. */
113692
+ created_at: string;
113693
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
113694
+ warning_code: 'power_saving_mode';
113287
113695
  } | {
113288
113696
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
113289
113697
  message: string;
@@ -119055,6 +119463,10 @@ interface Routes {
119055
119463
  display_name: string;
119056
119464
  /** Date and time at which the access grant was created. */
119057
119465
  created_at: string;
119466
+ /** Date and time at which the access grant starts. */
119467
+ starts_at?: string | undefined;
119468
+ /** Date and time at which the access grant ends. */
119469
+ ends_at?: string | undefined;
119058
119470
  };
119059
119471
  };
119060
119472
  };
@@ -119111,6 +119523,10 @@ interface Routes {
119111
119523
  display_name: string;
119112
119524
  /** Date and time at which the access grant was created. */
119113
119525
  created_at: string;
119526
+ /** Date and time at which the access grant starts. */
119527
+ starts_at?: string | undefined;
119528
+ /** Date and time at which the access grant ends. */
119529
+ ends_at?: string | undefined;
119114
119530
  };
119115
119531
  };
119116
119532
  };
@@ -119163,6 +119579,10 @@ interface Routes {
119163
119579
  display_name: string;
119164
119580
  /** Date and time at which the access grant was created. */
119165
119581
  created_at: string;
119582
+ /** Date and time at which the access grant starts. */
119583
+ starts_at?: string | undefined;
119584
+ /** Date and time at which the access grant ends. */
119585
+ ends_at?: string | undefined;
119166
119586
  }>;
119167
119587
  };
119168
119588
  };
@@ -121015,6 +121435,13 @@ interface Routes {
121015
121435
  created_at: string;
121016
121436
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
121017
121437
  warning_code: 'ttlock_weak_gateway_signal';
121438
+ } | {
121439
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
121440
+ message: string;
121441
+ /** Date and time at which Seam created the warning. */
121442
+ created_at: string;
121443
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
121444
+ warning_code: 'power_saving_mode';
121018
121445
  } | {
121019
121446
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
121020
121447
  message: string;
@@ -122117,6 +122544,13 @@ interface Routes {
122117
122544
  created_at: string;
122118
122545
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
122119
122546
  warning_code: 'ttlock_weak_gateway_signal';
122547
+ } | {
122548
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
122549
+ message: string;
122550
+ /** Date and time at which Seam created the warning. */
122551
+ created_at: string;
122552
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
122553
+ warning_code: 'power_saving_mode';
122120
122554
  } | {
122121
122555
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
122122
122556
  message: string;