@seamapi/types 1.639.0 → 1.640.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 +0 -14
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2 -21
- package/dist/index.cjs +0 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/partner/magic-link.d.ts +0 -5
- package/lib/seam/connect/models/partner/magic-link.js +0 -4
- package/lib/seam/connect/models/partner/magic-link.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +0 -5
- package/lib/seam/connect/openapi.js +0 -11
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -8
- 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 +0 -1
- package/src/lib/seam/connect/model-types.ts +0 -1
- package/src/lib/seam/connect/models/partner/magic-link.ts +0 -7
- package/src/lib/seam/connect/openapi.ts +0 -11
- package/src/lib/seam/connect/route-types.ts +0 -24
- package/src/lib/seam/connect/schemas.ts +0 -1
|
@@ -78086,8 +78086,6 @@ export type Routes = {
|
|
|
78086
78086
|
magic_link: {
|
|
78087
78087
|
/** URL for the magic link. */
|
|
78088
78088
|
url: string;
|
|
78089
|
-
/** Type of partner building block. */
|
|
78090
|
-
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
|
|
78091
78089
|
/** Customer key for the magic link. */
|
|
78092
78090
|
customer_key: string;
|
|
78093
78091
|
/** Date and time at which the magic link expires. */
|
|
@@ -78127,8 +78125,6 @@ export type Routes = {
|
|
|
78127
78125
|
magic_link: {
|
|
78128
78126
|
/** URL for the magic link. */
|
|
78129
78127
|
url: string;
|
|
78130
|
-
/** Type of partner building block. */
|
|
78131
|
-
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
|
|
78132
78128
|
/** Customer key for the magic link. */
|
|
78133
78129
|
customer_key: string;
|
|
78134
78130
|
/** Date and time at which the magic link expires. */
|
|
@@ -78159,8 +78155,6 @@ export type Routes = {
|
|
|
78159
78155
|
magic_link: {
|
|
78160
78156
|
/** URL for the magic link. */
|
|
78161
78157
|
url: string;
|
|
78162
|
-
/** Type of partner building block. */
|
|
78163
|
-
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
|
|
78164
78158
|
/** Customer key for the magic link. */
|
|
78165
78159
|
customer_key: string;
|
|
78166
78160
|
/** Date and time at which the magic link expires. */
|
|
@@ -78198,8 +78192,6 @@ export type Routes = {
|
|
|
78198
78192
|
magic_link: {
|
|
78199
78193
|
/** URL for the magic link. */
|
|
78200
78194
|
url: string;
|
|
78201
|
-
/** Type of partner building block. */
|
|
78202
|
-
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
|
|
78203
78195
|
/** Customer key for the magic link. */
|
|
78204
78196
|
customer_key: string;
|
|
78205
78197
|
/** Date and time at which the magic link expires. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session,
|
|
1
|
+
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, staff_member_resource, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session,
|
|
1
|
+
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, staff_member_resource, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
2
2
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,eAAe,EACf,WAAW,EACX,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
-
export const building_block_type = z
|
|
4
|
-
.enum(['connect_accounts', 'manage_devices', 'organize_spaces', 'console'])
|
|
5
|
-
.describe('Type of partner building block.')
|
|
6
|
-
|
|
7
|
-
export type BuildingBlockType = z.infer<typeof building_block_type>
|
|
8
|
-
|
|
9
3
|
export const magic_link = z.object({
|
|
10
4
|
url: z.string().url().describe('URL for the magic link.'),
|
|
11
|
-
building_block_type,
|
|
12
5
|
customer_key: z.string().describe('Customer key for the magic link.'),
|
|
13
6
|
expires_at: z
|
|
14
7
|
.string()
|
|
@@ -19644,16 +19644,6 @@ export default {
|
|
|
19644
19644
|
description:
|
|
19645
19645
|
"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.\n\nWith 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.\n\nSeam hosts these flows, handling everything from account connection and device mapping to full-featured device control.",
|
|
19646
19646
|
properties: {
|
|
19647
|
-
building_block_type: {
|
|
19648
|
-
description: 'Type of partner building block.',
|
|
19649
|
-
enum: [
|
|
19650
|
-
'connect_accounts',
|
|
19651
|
-
'manage_devices',
|
|
19652
|
-
'organize_spaces',
|
|
19653
|
-
'console',
|
|
19654
|
-
],
|
|
19655
|
-
type: 'string',
|
|
19656
|
-
},
|
|
19657
19647
|
created_at: {
|
|
19658
19648
|
description: 'Date and time at which the magic link was created.',
|
|
19659
19649
|
format: 'date-time',
|
|
@@ -19682,7 +19672,6 @@ export default {
|
|
|
19682
19672
|
},
|
|
19683
19673
|
required: [
|
|
19684
19674
|
'url',
|
|
19685
|
-
'building_block_type',
|
|
19686
19675
|
'customer_key',
|
|
19687
19676
|
'expires_at',
|
|
19688
19677
|
'workspace_id',
|
|
@@ -92782,12 +92782,6 @@ export type Routes = {
|
|
|
92782
92782
|
magic_link: {
|
|
92783
92783
|
/** URL for the magic link. */
|
|
92784
92784
|
url: string
|
|
92785
|
-
/** Type of partner building block. */
|
|
92786
|
-
building_block_type:
|
|
92787
|
-
| 'connect_accounts'
|
|
92788
|
-
| 'manage_devices'
|
|
92789
|
-
| 'organize_spaces'
|
|
92790
|
-
| 'console'
|
|
92791
92785
|
/** Customer key for the magic link. */
|
|
92792
92786
|
customer_key: string
|
|
92793
92787
|
/** Date and time at which the magic link expires. */
|
|
@@ -92833,12 +92827,6 @@ export type Routes = {
|
|
|
92833
92827
|
magic_link: {
|
|
92834
92828
|
/** URL for the magic link. */
|
|
92835
92829
|
url: string
|
|
92836
|
-
/** Type of partner building block. */
|
|
92837
|
-
building_block_type:
|
|
92838
|
-
| 'connect_accounts'
|
|
92839
|
-
| 'manage_devices'
|
|
92840
|
-
| 'organize_spaces'
|
|
92841
|
-
| 'console'
|
|
92842
92830
|
/** Customer key for the magic link. */
|
|
92843
92831
|
customer_key: string
|
|
92844
92832
|
/** Date and time at which the magic link expires. */
|
|
@@ -92869,12 +92857,6 @@ export type Routes = {
|
|
|
92869
92857
|
magic_link: {
|
|
92870
92858
|
/** URL for the magic link. */
|
|
92871
92859
|
url: string
|
|
92872
|
-
/** Type of partner building block. */
|
|
92873
|
-
building_block_type:
|
|
92874
|
-
| 'connect_accounts'
|
|
92875
|
-
| 'manage_devices'
|
|
92876
|
-
| 'organize_spaces'
|
|
92877
|
-
| 'console'
|
|
92878
92860
|
/** Customer key for the magic link. */
|
|
92879
92861
|
customer_key: string
|
|
92880
92862
|
/** Date and time at which the magic link expires. */
|
|
@@ -92914,12 +92896,6 @@ export type Routes = {
|
|
|
92914
92896
|
magic_link: {
|
|
92915
92897
|
/** URL for the magic link. */
|
|
92916
92898
|
url: string
|
|
92917
|
-
/** Type of partner building block. */
|
|
92918
|
-
building_block_type:
|
|
92919
|
-
| 'connect_accounts'
|
|
92920
|
-
| 'manage_devices'
|
|
92921
|
-
| 'organize_spaces'
|
|
92922
|
-
| 'console'
|
|
92923
92899
|
/** Customer key for the magic link. */
|
|
92924
92900
|
customer_key: string
|
|
92925
92901
|
/** Date and time at which the magic link expires. */
|