@seamapi/types 1.803.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 +62 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +71 -1
- package/dist/index.cjs +62 -3
- package/dist/index.cjs.map +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 +41 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +17 -0
- 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/partner/customer-portal.ts +35 -0
- package/src/lib/seam/connect/models/partner/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +45 -3
- package/src/lib/seam/connect/route-types.ts +17 -0
- package/src/lib/seam/connect/schemas.ts +1 -0
|
@@ -31863,6 +31863,23 @@ export type Routes = {
|
|
|
31863
31863
|
|
|
31864
31864
|
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.
|
|
31865
31865
|
|
|
31866
|
+
Seam hosts these flows, handling everything from account connection and device mapping to full-featured device control. */
|
|
31867
|
+
customer_portal: {
|
|
31868
|
+
/** URL for the customer portal. */
|
|
31869
|
+
url: string;
|
|
31870
|
+
/** Customer key for the customer portal. */
|
|
31871
|
+
customer_key: string;
|
|
31872
|
+
/** Date and time at which the customer portal link expires. */
|
|
31873
|
+
expires_at: string;
|
|
31874
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer portal. */
|
|
31875
|
+
workspace_id: string;
|
|
31876
|
+
/** Date and time at which the customer portal link was created. */
|
|
31877
|
+
created_at: string;
|
|
31878
|
+
};
|
|
31879
|
+
/** 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.
|
|
31880
|
+
|
|
31881
|
+
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.
|
|
31882
|
+
|
|
31866
31883
|
Seam hosts these flows, handling everything from account connection and device mapping to full-featured device control. */
|
|
31867
31884
|
magic_link: {
|
|
31868
31885
|
/** URL for the magic link. */
|
|
@@ -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, 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
|
+
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, customer_portal, 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, 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
|
+
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, customer_portal, 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,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"}
|
|
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,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
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
export const customer_portal = z
|
|
4
|
+
.object({
|
|
5
|
+
url: z.string().url().describe('URL for the customer portal.'),
|
|
6
|
+
customer_key: z.string().describe('Customer key for the customer portal.'),
|
|
7
|
+
expires_at: z
|
|
8
|
+
.string()
|
|
9
|
+
.datetime()
|
|
10
|
+
.describe('Date and time at which the customer portal link expires.'),
|
|
11
|
+
workspace_id: z
|
|
12
|
+
.string()
|
|
13
|
+
.uuid()
|
|
14
|
+
.describe(
|
|
15
|
+
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer portal.',
|
|
16
|
+
),
|
|
17
|
+
created_at: z
|
|
18
|
+
.string()
|
|
19
|
+
.datetime()
|
|
20
|
+
.describe('Date and time at which the customer portal link was created.'),
|
|
21
|
+
})
|
|
22
|
+
.describe(
|
|
23
|
+
`
|
|
24
|
+
---
|
|
25
|
+
route_path: /customers
|
|
26
|
+
---
|
|
27
|
+
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.
|
|
28
|
+
|
|
29
|
+
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.
|
|
30
|
+
|
|
31
|
+
Seam hosts these flows, handling everything from account connection and device mapping to full-featured device control.
|
|
32
|
+
`,
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
export type CustomerPortal = z.infer<typeof customer_portal>
|
|
@@ -51570,10 +51570,52 @@ export default {
|
|
|
51570
51570
|
'application/json': {
|
|
51571
51571
|
schema: {
|
|
51572
51572
|
properties: {
|
|
51573
|
+
customer_portal: {
|
|
51574
|
+
description:
|
|
51575
|
+
"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.",
|
|
51576
|
+
properties: {
|
|
51577
|
+
created_at: {
|
|
51578
|
+
description:
|
|
51579
|
+
'Date and time at which the customer portal link was created.',
|
|
51580
|
+
format: 'date-time',
|
|
51581
|
+
type: 'string',
|
|
51582
|
+
},
|
|
51583
|
+
customer_key: {
|
|
51584
|
+
description: 'Customer key for the customer portal.',
|
|
51585
|
+
type: 'string',
|
|
51586
|
+
},
|
|
51587
|
+
expires_at: {
|
|
51588
|
+
description:
|
|
51589
|
+
'Date and time at which the customer portal link expires.',
|
|
51590
|
+
format: 'date-time',
|
|
51591
|
+
type: 'string',
|
|
51592
|
+
},
|
|
51593
|
+
url: {
|
|
51594
|
+
description: 'URL for the customer portal.',
|
|
51595
|
+
format: 'uri',
|
|
51596
|
+
type: 'string',
|
|
51597
|
+
},
|
|
51598
|
+
workspace_id: {
|
|
51599
|
+
description:
|
|
51600
|
+
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer portal.',
|
|
51601
|
+
format: 'uuid',
|
|
51602
|
+
type: 'string',
|
|
51603
|
+
},
|
|
51604
|
+
},
|
|
51605
|
+
required: [
|
|
51606
|
+
'url',
|
|
51607
|
+
'customer_key',
|
|
51608
|
+
'expires_at',
|
|
51609
|
+
'workspace_id',
|
|
51610
|
+
'created_at',
|
|
51611
|
+
],
|
|
51612
|
+
type: 'object',
|
|
51613
|
+
'x-route-path': '/customers',
|
|
51614
|
+
},
|
|
51573
51615
|
magic_link: { $ref: '#/components/schemas/magic_link' },
|
|
51574
51616
|
ok: { type: 'boolean' },
|
|
51575
51617
|
},
|
|
51576
|
-
required: ['magic_link', 'ok'],
|
|
51618
|
+
required: ['customer_portal', 'magic_link', 'ok'],
|
|
51577
51619
|
type: 'object',
|
|
51578
51620
|
},
|
|
51579
51621
|
},
|
|
@@ -51592,8 +51634,8 @@ export default {
|
|
|
51592
51634
|
tags: [],
|
|
51593
51635
|
'x-fern-sdk-group-name': ['customers'],
|
|
51594
51636
|
'x-fern-sdk-method-name': 'create_portal',
|
|
51595
|
-
'x-fern-sdk-return-value': '
|
|
51596
|
-
'x-response-key': '
|
|
51637
|
+
'x-fern-sdk-return-value': 'customer_portal',
|
|
51638
|
+
'x-response-key': 'customer_portal',
|
|
51597
51639
|
'x-title': 'Create Customer Portal',
|
|
51598
51640
|
},
|
|
51599
51641
|
},
|
|
@@ -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. */
|