@seamapi/types 1.802.0 → 1.804.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +120 -61
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +90 -20
- package/dist/index.cjs +120 -61
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js +2 -2
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.js +2 -2
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/events/access-grants.js +1 -1
- package/lib/seam/connect/models/events/access-grants.js.map +1 -1
- package/lib/seam/connect/models/events/acs/entrances.js +2 -2
- package/lib/seam/connect/models/events/connect-webviews.js +3 -3
- package/lib/seam/connect/models/events/connected-accounts.js +1 -1
- package/lib/seam/connect/models/partner/customer-portal.d.ts +21 -0
- package/lib/seam/connect/models/partner/customer-portal.js +29 -0
- package/lib/seam/connect/models/partner/customer-portal.js.map +1 -0
- package/lib/seam/connect/models/partner/index.d.ts +1 -0
- package/lib/seam/connect/models/partner/index.js +1 -0
- package/lib/seam/connect/models/partner/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +32 -0
- package/lib/seam/connect/openapi.js +88 -50
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -19
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-system.ts +2 -2
- package/src/lib/seam/connect/models/events/access-grants.ts +1 -1
- package/src/lib/seam/connect/models/events/acs/entrances.ts +2 -2
- package/src/lib/seam/connect/models/events/connect-webviews.ts +3 -3
- package/src/lib/seam/connect/models/events/connected-accounts.ts +1 -1
- package/src/lib/seam/connect/models/partner/customer-portal.ts +35 -0
- package/src/lib/seam/connect/models/partner/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +92 -50
- package/src/lib/seam/connect/route-types.ts +36 -19
- package/src/lib/seam/connect/schemas.ts +1 -0
package/dist/connect.d.cts
CHANGED
|
@@ -62938,6 +62938,26 @@ declare const pagination: z.ZodObject<{
|
|
|
62938
62938
|
}>;
|
|
62939
62939
|
type Pagination = z.infer<typeof pagination>;
|
|
62940
62940
|
|
|
62941
|
+
declare const customer_portal: z.ZodObject<{
|
|
62942
|
+
url: z.ZodString;
|
|
62943
|
+
customer_key: z.ZodString;
|
|
62944
|
+
expires_at: z.ZodString;
|
|
62945
|
+
workspace_id: z.ZodString;
|
|
62946
|
+
created_at: z.ZodString;
|
|
62947
|
+
}, "strip", z.ZodTypeAny, {
|
|
62948
|
+
workspace_id: string;
|
|
62949
|
+
created_at: string;
|
|
62950
|
+
customer_key: string;
|
|
62951
|
+
expires_at: string;
|
|
62952
|
+
url: string;
|
|
62953
|
+
}, {
|
|
62954
|
+
workspace_id: string;
|
|
62955
|
+
created_at: string;
|
|
62956
|
+
customer_key: string;
|
|
62957
|
+
expires_at: string;
|
|
62958
|
+
url: string;
|
|
62959
|
+
}>;
|
|
62960
|
+
|
|
62941
62961
|
declare const magic_link: z.ZodObject<{
|
|
62942
62962
|
url: z.ZodString;
|
|
62943
62963
|
customer_key: z.ZodString;
|
|
@@ -63402,6 +63422,7 @@ declare const schemas_common_succeeded_action_attempt: typeof common_succeeded_a
|
|
|
63402
63422
|
declare const schemas_connect_webview: typeof connect_webview;
|
|
63403
63423
|
declare const schemas_connected_account: typeof connected_account;
|
|
63404
63424
|
declare const schemas_custom_metadata: typeof custom_metadata;
|
|
63425
|
+
declare const schemas_customer_portal: typeof customer_portal;
|
|
63405
63426
|
declare const schemas_customization_profile: typeof customization_profile;
|
|
63406
63427
|
declare const schemas_device: typeof device;
|
|
63407
63428
|
declare const schemas_device_provider: typeof device_provider;
|
|
@@ -63423,7 +63444,7 @@ declare const schemas_user_identity: typeof user_identity;
|
|
|
63423
63444
|
declare const schemas_webhook: typeof webhook;
|
|
63424
63445
|
declare const schemas_workspace: typeof workspace;
|
|
63425
63446
|
declare namespace schemas {
|
|
63426
|
-
export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_customization_profile as customization_profile, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_staff_member_resource as staff_member_resource, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
|
|
63447
|
+
export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_customer_portal as customer_portal, schemas_customization_profile as customization_profile, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_staff_member_resource as staff_member_resource, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
|
|
63427
63448
|
}
|
|
63428
63449
|
|
|
63429
63450
|
declare const _default: {
|
|
@@ -104367,6 +104388,38 @@ declare const _default: {
|
|
|
104367
104388
|
'application/json': {
|
|
104368
104389
|
schema: {
|
|
104369
104390
|
properties: {
|
|
104391
|
+
customer_portal: {
|
|
104392
|
+
description: string;
|
|
104393
|
+
properties: {
|
|
104394
|
+
created_at: {
|
|
104395
|
+
description: string;
|
|
104396
|
+
format: string;
|
|
104397
|
+
type: string;
|
|
104398
|
+
};
|
|
104399
|
+
customer_key: {
|
|
104400
|
+
description: string;
|
|
104401
|
+
type: string;
|
|
104402
|
+
};
|
|
104403
|
+
expires_at: {
|
|
104404
|
+
description: string;
|
|
104405
|
+
format: string;
|
|
104406
|
+
type: string;
|
|
104407
|
+
};
|
|
104408
|
+
url: {
|
|
104409
|
+
description: string;
|
|
104410
|
+
format: string;
|
|
104411
|
+
type: string;
|
|
104412
|
+
};
|
|
104413
|
+
workspace_id: {
|
|
104414
|
+
description: string;
|
|
104415
|
+
format: string;
|
|
104416
|
+
type: string;
|
|
104417
|
+
};
|
|
104418
|
+
};
|
|
104419
|
+
required: string[];
|
|
104420
|
+
type: string;
|
|
104421
|
+
'x-route-path': string;
|
|
104422
|
+
};
|
|
104370
104423
|
magic_link: {
|
|
104371
104424
|
$ref: string;
|
|
104372
104425
|
};
|
|
@@ -137607,7 +137660,7 @@ type Routes = {
|
|
|
137607
137660
|
common_code_key?: string | undefined;
|
|
137608
137661
|
/** Indicates whether [native scheduling](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#native-scheduling) should be used for time-bound codes when supported by the provider. Default: `true`. */
|
|
137609
137662
|
prefer_native_scheduling?: boolean | undefined;
|
|
137610
|
-
/** Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/
|
|
137663
|
+
/** Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code). */
|
|
137611
137664
|
use_backup_access_code_pool?: boolean | undefined;
|
|
137612
137665
|
/** Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`. */
|
|
137613
137666
|
allow_external_modification?: boolean | undefined;
|
|
@@ -147099,7 +147152,7 @@ type Routes = {
|
|
|
147099
147152
|
attempt_for_offline_device?: boolean;
|
|
147100
147153
|
/** Indicates whether [native scheduling](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#native-scheduling) should be used for time-bound codes when supported by the provider. Default: `true`. */
|
|
147101
147154
|
prefer_native_scheduling?: boolean | undefined;
|
|
147102
|
-
/** Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/
|
|
147155
|
+
/** Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code). */
|
|
147103
147156
|
use_backup_access_code_pool?: boolean | undefined;
|
|
147104
147157
|
/** Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`. */
|
|
147105
147158
|
allow_external_modification?: boolean | undefined;
|
|
@@ -155658,7 +155711,7 @@ type Routes = {
|
|
|
155658
155711
|
jsonResponse: {
|
|
155659
155712
|
/** Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.
|
|
155660
155713
|
|
|
155661
|
-
Some access control systems use [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups), which are sets of users, combined with sets of permissions. These permissions include both the set of areas or assets that the users can access and the schedule during which the users can access these areas or assets. Instead of assigning access rights individually to each access control system user, which can be time-consuming and error-prone, administrators can assign users to an access group, thereby ensuring that the users inherit all the permissions associated with the access group. Using access groups streamlines the process of managing large numbers of access control system users, especially in bigger organizations or complexes.
|
|
155714
|
+
Some access control systems use [access group](https://docs.seam.co/latest/capability-guides/access-systems/user-management/assigning-users-to-access-groups), which are sets of users, combined with sets of permissions. These permissions include both the set of areas or assets that the users can access and the schedule during which the users can access these areas or assets. Instead of assigning access rights individually to each access control system user, which can be time-consuming and error-prone, administrators can assign users to an access group, thereby ensuring that the users inherit all the permissions associated with the access group. Using access groups streamlines the process of managing large numbers of access control system users, especially in bigger organizations or complexes.
|
|
155662
155715
|
|
|
155663
155716
|
To learn whether your access control system supports access groups, see the corresponding [system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides/overview#access-control-systems). */
|
|
155664
155717
|
acs_access_group: {
|
|
@@ -169443,6 +169496,23 @@ type Routes = {
|
|
|
169443
169496
|
|
|
169444
169497
|
With Customer Portal, you no longer need to build out frontend experiences for physical access, thermostats, and sensors. Instead, you can ship enterprise-grade access control experiences in a fraction of the time, while maintaining your product's branding and user experience.
|
|
169445
169498
|
|
|
169499
|
+
Seam hosts these flows, handling everything from account connection and device mapping to full-featured device control. */
|
|
169500
|
+
customer_portal: {
|
|
169501
|
+
/** URL for the customer portal. */
|
|
169502
|
+
url: string;
|
|
169503
|
+
/** Customer key for the customer portal. */
|
|
169504
|
+
customer_key: string;
|
|
169505
|
+
/** Date and time at which the customer portal link expires. */
|
|
169506
|
+
expires_at: string;
|
|
169507
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer portal. */
|
|
169508
|
+
workspace_id: string;
|
|
169509
|
+
/** Date and time at which the customer portal link was created. */
|
|
169510
|
+
created_at: string;
|
|
169511
|
+
};
|
|
169512
|
+
/** Represents a Customer Portal. Customer Portal is a hosted, customizable interface for managing device access. It enables you to embed secure, pre-authenticated access flows into your product—either by sharing a link with users or embedding a view in an iframe.
|
|
169513
|
+
|
|
169514
|
+
With Customer Portal, you no longer need to build out frontend experiences for physical access, thermostats, and sensors. Instead, you can ship enterprise-grade access control experiences in a fraction of the time, while maintaining your product's branding and user experience.
|
|
169515
|
+
|
|
169446
169516
|
Seam hosts these flows, handling everything from account connection and device mapping to full-featured device control. */
|
|
169447
169517
|
magic_link: {
|
|
169448
169518
|
/** URL for the magic link. */
|
|
@@ -174454,7 +174524,7 @@ type Routes = {
|
|
|
174454
174524
|
/** ID of the affected Access Grant. */
|
|
174455
174525
|
access_grant_id: string;
|
|
174456
174526
|
event_type: 'access_grant.access_granted_to_door';
|
|
174457
|
-
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
174527
|
+
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
174458
174528
|
acs_entrance_id: string;
|
|
174459
174529
|
} | {
|
|
174460
174530
|
/** ID of the event. */
|
|
@@ -174468,7 +174538,7 @@ type Routes = {
|
|
|
174468
174538
|
/** ID of the affected Access Grant. */
|
|
174469
174539
|
access_grant_id: string;
|
|
174470
174540
|
event_type: 'access_grant.access_to_door_lost';
|
|
174471
|
-
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
174541
|
+
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
174472
174542
|
acs_entrance_id: string;
|
|
174473
174543
|
} | {
|
|
174474
174544
|
/** ID of the event. */
|
|
@@ -175213,7 +175283,7 @@ type Routes = {
|
|
|
175213
175283
|
created_at: string;
|
|
175214
175284
|
/** Date and time at which the event occurred. */
|
|
175215
175285
|
occurred_at: string;
|
|
175216
|
-
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/
|
|
175286
|
+
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
|
|
175217
175287
|
connect_webview_id: string;
|
|
175218
175288
|
event_type: 'connect_webview.login_succeeded';
|
|
175219
175289
|
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
@@ -175233,7 +175303,7 @@ type Routes = {
|
|
|
175233
175303
|
created_at: string;
|
|
175234
175304
|
/** Date and time at which the event occurred. */
|
|
175235
175305
|
occurred_at: string;
|
|
175236
|
-
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/
|
|
175306
|
+
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
|
|
175237
175307
|
connect_webview_id: string;
|
|
175238
175308
|
event_type: 'connect_webview.login_failed';
|
|
175239
175309
|
} | {
|
|
@@ -177282,7 +177352,7 @@ type Routes = {
|
|
|
177282
177352
|
/** ID of the affected Access Grant. */
|
|
177283
177353
|
access_grant_id: string;
|
|
177284
177354
|
event_type: 'access_grant.access_granted_to_door';
|
|
177285
|
-
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
177355
|
+
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
177286
177356
|
acs_entrance_id: string;
|
|
177287
177357
|
} | {
|
|
177288
177358
|
/** ID of the event. */
|
|
@@ -177296,7 +177366,7 @@ type Routes = {
|
|
|
177296
177366
|
/** ID of the affected Access Grant. */
|
|
177297
177367
|
access_grant_id: string;
|
|
177298
177368
|
event_type: 'access_grant.access_to_door_lost';
|
|
177299
|
-
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
177369
|
+
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
177300
177370
|
acs_entrance_id: string;
|
|
177301
177371
|
} | {
|
|
177302
177372
|
/** ID of the event. */
|
|
@@ -178041,7 +178111,7 @@ type Routes = {
|
|
|
178041
178111
|
created_at: string;
|
|
178042
178112
|
/** Date and time at which the event occurred. */
|
|
178043
178113
|
occurred_at: string;
|
|
178044
|
-
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/
|
|
178114
|
+
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
|
|
178045
178115
|
connect_webview_id: string;
|
|
178046
178116
|
event_type: 'connect_webview.login_succeeded';
|
|
178047
178117
|
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
@@ -178061,7 +178131,7 @@ type Routes = {
|
|
|
178061
178131
|
created_at: string;
|
|
178062
178132
|
/** Date and time at which the event occurred. */
|
|
178063
178133
|
occurred_at: string;
|
|
178064
|
-
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/
|
|
178134
|
+
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
|
|
178065
178135
|
connect_webview_id: string;
|
|
178066
178136
|
event_type: 'connect_webview.login_failed';
|
|
178067
178137
|
} | {
|
|
@@ -202354,7 +202424,7 @@ type Routes = {
|
|
|
202354
202424
|
/** ID of the affected Access Grant. */
|
|
202355
202425
|
access_grant_id: string;
|
|
202356
202426
|
event_type: 'access_grant.access_granted_to_door';
|
|
202357
|
-
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
202427
|
+
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
202358
202428
|
acs_entrance_id: string;
|
|
202359
202429
|
} | {
|
|
202360
202430
|
/** ID of the event. */
|
|
@@ -202368,7 +202438,7 @@ type Routes = {
|
|
|
202368
202438
|
/** ID of the affected Access Grant. */
|
|
202369
202439
|
access_grant_id: string;
|
|
202370
202440
|
event_type: 'access_grant.access_to_door_lost';
|
|
202371
|
-
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
202441
|
+
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
202372
202442
|
acs_entrance_id: string;
|
|
202373
202443
|
} | {
|
|
202374
202444
|
/** ID of the event. */
|
|
@@ -203113,7 +203183,7 @@ type Routes = {
|
|
|
203113
203183
|
created_at: string;
|
|
203114
203184
|
/** Date and time at which the event occurred. */
|
|
203115
203185
|
occurred_at: string;
|
|
203116
|
-
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/
|
|
203186
|
+
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
|
|
203117
203187
|
connect_webview_id: string;
|
|
203118
203188
|
event_type: 'connect_webview.login_succeeded';
|
|
203119
203189
|
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
@@ -203133,7 +203203,7 @@ type Routes = {
|
|
|
203133
203203
|
created_at: string;
|
|
203134
203204
|
/** Date and time at which the event occurred. */
|
|
203135
203205
|
occurred_at: string;
|
|
203136
|
-
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/
|
|
203206
|
+
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
|
|
203137
203207
|
connect_webview_id: string;
|
|
203138
203208
|
event_type: 'connect_webview.login_failed';
|
|
203139
203209
|
} | {
|
|
@@ -234619,7 +234689,7 @@ type Routes = {
|
|
|
234619
234689
|
/** ID of the affected Access Grant. */
|
|
234620
234690
|
access_grant_id: string;
|
|
234621
234691
|
event_type: 'access_grant.access_granted_to_door';
|
|
234622
|
-
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
234692
|
+
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
234623
234693
|
acs_entrance_id: string;
|
|
234624
234694
|
} | {
|
|
234625
234695
|
/** ID of the event. */
|
|
@@ -234633,7 +234703,7 @@ type Routes = {
|
|
|
234633
234703
|
/** ID of the affected Access Grant. */
|
|
234634
234704
|
access_grant_id: string;
|
|
234635
234705
|
event_type: 'access_grant.access_to_door_lost';
|
|
234636
|
-
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
234706
|
+
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
234637
234707
|
acs_entrance_id: string;
|
|
234638
234708
|
} | {
|
|
234639
234709
|
/** ID of the event. */
|
|
@@ -235378,7 +235448,7 @@ type Routes = {
|
|
|
235378
235448
|
created_at: string;
|
|
235379
235449
|
/** Date and time at which the event occurred. */
|
|
235380
235450
|
occurred_at: string;
|
|
235381
|
-
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/
|
|
235451
|
+
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
|
|
235382
235452
|
connect_webview_id: string;
|
|
235383
235453
|
event_type: 'connect_webview.login_succeeded';
|
|
235384
235454
|
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
@@ -235398,7 +235468,7 @@ type Routes = {
|
|
|
235398
235468
|
created_at: string;
|
|
235399
235469
|
/** Date and time at which the event occurred. */
|
|
235400
235470
|
occurred_at: string;
|
|
235401
|
-
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/
|
|
235471
|
+
/** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
|
|
235402
235472
|
connect_webview_id: string;
|
|
235403
235473
|
event_type: 'connect_webview.login_failed';
|
|
235404
235474
|
} | {
|