@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.
Files changed (40) hide show
  1. package/dist/connect.cjs +120 -61
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +90 -20
  4. package/dist/index.cjs +120 -61
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-access-group.js +2 -2
  7. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  8. package/lib/seam/connect/models/acs/acs-system.js +2 -2
  9. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  10. package/lib/seam/connect/models/events/access-grants.js +1 -1
  11. package/lib/seam/connect/models/events/access-grants.js.map +1 -1
  12. package/lib/seam/connect/models/events/acs/entrances.js +2 -2
  13. package/lib/seam/connect/models/events/connect-webviews.js +3 -3
  14. package/lib/seam/connect/models/events/connected-accounts.js +1 -1
  15. package/lib/seam/connect/models/partner/customer-portal.d.ts +21 -0
  16. package/lib/seam/connect/models/partner/customer-portal.js +29 -0
  17. package/lib/seam/connect/models/partner/customer-portal.js.map +1 -0
  18. package/lib/seam/connect/models/partner/index.d.ts +1 -0
  19. package/lib/seam/connect/models/partner/index.js +1 -0
  20. package/lib/seam/connect/models/partner/index.js.map +1 -1
  21. package/lib/seam/connect/openapi.d.ts +32 -0
  22. package/lib/seam/connect/openapi.js +88 -50
  23. package/lib/seam/connect/openapi.js.map +1 -1
  24. package/lib/seam/connect/route-types.d.ts +36 -19
  25. package/lib/seam/connect/schemas.d.ts +1 -1
  26. package/lib/seam/connect/schemas.js +1 -1
  27. package/lib/seam/connect/schemas.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  30. package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -2
  31. package/src/lib/seam/connect/models/acs/acs-system.ts +2 -2
  32. package/src/lib/seam/connect/models/events/access-grants.ts +1 -1
  33. package/src/lib/seam/connect/models/events/acs/entrances.ts +2 -2
  34. package/src/lib/seam/connect/models/events/connect-webviews.ts +3 -3
  35. package/src/lib/seam/connect/models/events/connected-accounts.ts +1 -1
  36. package/src/lib/seam/connect/models/partner/customer-portal.ts +35 -0
  37. package/src/lib/seam/connect/models/partner/index.ts +1 -0
  38. package/src/lib/seam/connect/openapi.ts +92 -50
  39. package/src/lib/seam/connect/route-types.ts +36 -19
  40. package/src/lib/seam/connect/schemas.ts +1 -0
@@ -27,7 +27,7 @@ export type Routes = {
27
27
  common_code_key?: string | undefined
28
28
  /** 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`. */
29
29
  prefer_native_scheduling?: boolean | undefined
30
- /** Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/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). */
30
+ /** 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). */
31
31
  use_backup_access_code_pool?: boolean | undefined
32
32
  /** Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`. */
33
33
  allow_external_modification?: boolean | undefined
@@ -10751,7 +10751,7 @@ export type Routes = {
10751
10751
  attempt_for_offline_device?: boolean
10752
10752
  /** 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`. */
10753
10753
  prefer_native_scheduling?: boolean | undefined
10754
- /** Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/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). */
10754
+ /** 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). */
10755
10755
  use_backup_access_code_pool?: boolean | undefined
10756
10756
  /** Indicates whether [external modification](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`. */
10757
10757
  allow_external_modification?: boolean | undefined
@@ -20849,7 +20849,7 @@ export type Routes = {
20849
20849
  jsonResponse: {
20850
20850
  /** 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.
20851
20851
 
20852
- 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.
20852
+ 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.
20853
20853
 
20854
20854
  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). */
20855
20855
  acs_access_group: {
@@ -36891,6 +36891,23 @@ export type Routes = {
36891
36891
 
36892
36892
  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.
36893
36893
 
36894
+ Seam hosts these flows, handling everything from account connection and device mapping to full-featured device control. */
36895
+ customer_portal: {
36896
+ /** URL for the customer portal. */
36897
+ url: string
36898
+ /** Customer key for the customer portal. */
36899
+ customer_key: string
36900
+ /** Date and time at which the customer portal link expires. */
36901
+ expires_at: string
36902
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer portal. */
36903
+ workspace_id: string
36904
+ /** Date and time at which the customer portal link was created. */
36905
+ created_at: string
36906
+ }
36907
+ /** 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.
36908
+
36909
+ 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.
36910
+
36894
36911
  Seam hosts these flows, handling everything from account connection and device mapping to full-featured device control. */
36895
36912
  magic_link: {
36896
36913
  /** URL for the magic link. */
@@ -44184,7 +44201,7 @@ export type Routes = {
44184
44201
  /** ID of the affected Access Grant. */
44185
44202
  access_grant_id: string
44186
44203
  event_type: 'access_grant.access_granted_to_door'
44187
- /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
44204
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
44188
44205
  acs_entrance_id: string
44189
44206
  }
44190
44207
  | {
@@ -44199,7 +44216,7 @@ export type Routes = {
44199
44216
  /** ID of the affected Access Grant. */
44200
44217
  access_grant_id: string
44201
44218
  event_type: 'access_grant.access_to_door_lost'
44202
- /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
44219
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
44203
44220
  acs_entrance_id: string
44204
44221
  }
44205
44222
  | {
@@ -45000,7 +45017,7 @@ export type Routes = {
45000
45017
  created_at: string
45001
45018
  /** Date and time at which the event occurred. */
45002
45019
  occurred_at: string
45003
- /** ID of the affected [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
45020
+ /** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
45004
45021
  connect_webview_id: string
45005
45022
  event_type: 'connect_webview.login_succeeded'
45006
45023
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
@@ -45023,7 +45040,7 @@ export type Routes = {
45023
45040
  created_at: string
45024
45041
  /** Date and time at which the event occurred. */
45025
45042
  occurred_at: string
45026
- /** ID of the affected [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
45043
+ /** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
45027
45044
  connect_webview_id: string
45028
45045
  event_type: 'connect_webview.login_failed'
45029
45046
  }
@@ -47586,7 +47603,7 @@ export type Routes = {
47586
47603
  /** ID of the affected Access Grant. */
47587
47604
  access_grant_id: string
47588
47605
  event_type: 'access_grant.access_granted_to_door'
47589
- /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
47606
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
47590
47607
  acs_entrance_id: string
47591
47608
  }
47592
47609
  | {
@@ -47601,7 +47618,7 @@ export type Routes = {
47601
47618
  /** ID of the affected Access Grant. */
47602
47619
  access_grant_id: string
47603
47620
  event_type: 'access_grant.access_to_door_lost'
47604
- /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
47621
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
47605
47622
  acs_entrance_id: string
47606
47623
  }
47607
47624
  | {
@@ -48402,7 +48419,7 @@ export type Routes = {
48402
48419
  created_at: string
48403
48420
  /** Date and time at which the event occurred. */
48404
48421
  occurred_at: string
48405
- /** ID of the affected [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
48422
+ /** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
48406
48423
  connect_webview_id: string
48407
48424
  event_type: 'connect_webview.login_succeeded'
48408
48425
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
@@ -48425,7 +48442,7 @@ export type Routes = {
48425
48442
  created_at: string
48426
48443
  /** Date and time at which the event occurred. */
48427
48444
  occurred_at: string
48428
- /** ID of the affected [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
48445
+ /** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
48429
48446
  connect_webview_id: string
48430
48447
  event_type: 'connect_webview.login_failed'
48431
48448
  }
@@ -77515,7 +77532,7 @@ export type Routes = {
77515
77532
  /** ID of the affected Access Grant. */
77516
77533
  access_grant_id: string
77517
77534
  event_type: 'access_grant.access_granted_to_door'
77518
- /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
77535
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
77519
77536
  acs_entrance_id: string
77520
77537
  }
77521
77538
  | {
@@ -77530,7 +77547,7 @@ export type Routes = {
77530
77547
  /** ID of the affected Access Grant. */
77531
77548
  access_grant_id: string
77532
77549
  event_type: 'access_grant.access_to_door_lost'
77533
- /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
77550
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
77534
77551
  acs_entrance_id: string
77535
77552
  }
77536
77553
  | {
@@ -78331,7 +78348,7 @@ export type Routes = {
78331
78348
  created_at: string
78332
78349
  /** Date and time at which the event occurred. */
78333
78350
  occurred_at: string
78334
- /** ID of the affected [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
78351
+ /** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
78335
78352
  connect_webview_id: string
78336
78353
  event_type: 'connect_webview.login_succeeded'
78337
78354
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
@@ -78354,7 +78371,7 @@ export type Routes = {
78354
78371
  created_at: string
78355
78372
  /** Date and time at which the event occurred. */
78356
78373
  occurred_at: string
78357
- /** ID of the affected [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
78374
+ /** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
78358
78375
  connect_webview_id: string
78359
78376
  event_type: 'connect_webview.login_failed'
78360
78377
  }
@@ -115633,7 +115650,7 @@ export type Routes = {
115633
115650
  /** ID of the affected Access Grant. */
115634
115651
  access_grant_id: string
115635
115652
  event_type: 'access_grant.access_granted_to_door'
115636
- /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
115653
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
115637
115654
  acs_entrance_id: string
115638
115655
  }
115639
115656
  | {
@@ -115648,7 +115665,7 @@ export type Routes = {
115648
115665
  /** ID of the affected Access Grant. */
115649
115666
  access_grant_id: string
115650
115667
  event_type: 'access_grant.access_to_door_lost'
115651
- /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
115668
+ /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
115652
115669
  acs_entrance_id: string
115653
115670
  }
115654
115671
  | {
@@ -116449,7 +116466,7 @@ export type Routes = {
116449
116466
  created_at: string
116450
116467
  /** Date and time at which the event occurred. */
116451
116468
  occurred_at: string
116452
- /** ID of the affected [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
116469
+ /** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
116453
116470
  connect_webview_id: string
116454
116471
  event_type: 'connect_webview.login_succeeded'
116455
116472
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
@@ -116472,7 +116489,7 @@ export type Routes = {
116472
116489
  created_at: string
116473
116490
  /** Date and time at which the event occurred. */
116474
116491
  occurred_at: string
116475
- /** ID of the affected [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews). */
116492
+ /** ID of the affected [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews). */
116476
116493
  connect_webview_id: string
116477
116494
  event_type: 'connect_webview.login_failed'
116478
116495
  }
@@ -17,6 +17,7 @@ export {
17
17
  connect_webview,
18
18
  connected_account,
19
19
  custom_metadata,
20
+ customer_portal,
20
21
  customization_profile,
21
22
  device,
22
23
  device_provider,