@seamapi/types 1.803.0 → 1.805.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 +65 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +74 -1
- package/dist/index.cjs +65 -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 +35 -0
- package/lib/seam/connect/openapi.js +44 -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 +48 -3
- package/src/lib/seam/connect/route-types.ts +17 -0
- package/src/lib/seam/connect/schemas.ts +1 -0
package/dist/connect.cjs
CHANGED
|
@@ -29,6 +29,7 @@ __export(schemas_exports, {
|
|
|
29
29
|
connect_webview: () => connect_webview,
|
|
30
30
|
connected_account: () => connected_account,
|
|
31
31
|
custom_metadata: () => custom_metadata,
|
|
32
|
+
customer_portal: () => customer_portal,
|
|
32
33
|
customization_profile: () => customization_profile,
|
|
33
34
|
device: () => device,
|
|
34
35
|
device_provider: () => device_provider,
|
|
@@ -6781,6 +6782,26 @@ var pagination = zod.z.object({
|
|
|
6781
6782
|
),
|
|
6782
6783
|
next_page_url: zod.z.string().url().nullable().describe("URL to get the next page of results.")
|
|
6783
6784
|
}).describe("Information about the current page of results.");
|
|
6785
|
+
var customer_portal = zod.z.object({
|
|
6786
|
+
url: zod.z.string().url().describe("URL for the customer portal."),
|
|
6787
|
+
customer_key: zod.z.string().describe("Customer key for the customer portal."),
|
|
6788
|
+
expires_at: zod.z.string().datetime().describe("Date and time at which the customer portal link expires."),
|
|
6789
|
+
workspace_id: zod.z.string().uuid().describe(
|
|
6790
|
+
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer portal."
|
|
6791
|
+
),
|
|
6792
|
+
created_at: zod.z.string().datetime().describe("Date and time at which the customer portal link was created.")
|
|
6793
|
+
}).describe(
|
|
6794
|
+
`
|
|
6795
|
+
---
|
|
6796
|
+
route_path: /customers
|
|
6797
|
+
---
|
|
6798
|
+
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\u2014either by sharing a link with users or embedding a view in an iframe.
|
|
6799
|
+
|
|
6800
|
+
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.
|
|
6801
|
+
|
|
6802
|
+
Seam hosts these flows, handling everything from account connection and device mapping to full-featured device control.
|
|
6803
|
+
`
|
|
6804
|
+
);
|
|
6784
6805
|
var magic_link = zod.z.object({
|
|
6785
6806
|
url: zod.z.string().url().describe("URL for the magic link."),
|
|
6786
6807
|
customer_key: zod.z.string().describe("Customer key for the magic link."),
|
|
@@ -16847,6 +16868,44 @@ var openapi_default = {
|
|
|
16847
16868
|
"x-route-path": "/customers",
|
|
16848
16869
|
"x-undocumented": "Internal resource."
|
|
16849
16870
|
},
|
|
16871
|
+
customer_portal: {
|
|
16872
|
+
description: "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\u2014either 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.",
|
|
16873
|
+
properties: {
|
|
16874
|
+
created_at: {
|
|
16875
|
+
description: "Date and time at which the customer portal link was created.",
|
|
16876
|
+
format: "date-time",
|
|
16877
|
+
type: "string"
|
|
16878
|
+
},
|
|
16879
|
+
customer_key: {
|
|
16880
|
+
description: "Customer key for the customer portal.",
|
|
16881
|
+
type: "string"
|
|
16882
|
+
},
|
|
16883
|
+
expires_at: {
|
|
16884
|
+
description: "Date and time at which the customer portal link expires.",
|
|
16885
|
+
format: "date-time",
|
|
16886
|
+
type: "string"
|
|
16887
|
+
},
|
|
16888
|
+
url: {
|
|
16889
|
+
description: "URL for the customer portal.",
|
|
16890
|
+
format: "uri",
|
|
16891
|
+
type: "string"
|
|
16892
|
+
},
|
|
16893
|
+
workspace_id: {
|
|
16894
|
+
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer portal.",
|
|
16895
|
+
format: "uuid",
|
|
16896
|
+
type: "string"
|
|
16897
|
+
}
|
|
16898
|
+
},
|
|
16899
|
+
required: [
|
|
16900
|
+
"url",
|
|
16901
|
+
"customer_key",
|
|
16902
|
+
"expires_at",
|
|
16903
|
+
"workspace_id",
|
|
16904
|
+
"created_at"
|
|
16905
|
+
],
|
|
16906
|
+
type: "object",
|
|
16907
|
+
"x-route-path": "/customers"
|
|
16908
|
+
},
|
|
16850
16909
|
customization_profile: {
|
|
16851
16910
|
description: "A customization profile.",
|
|
16852
16911
|
properties: {
|
|
@@ -53616,10 +53675,13 @@ var openapi_default = {
|
|
|
53616
53675
|
"application/json": {
|
|
53617
53676
|
schema: {
|
|
53618
53677
|
properties: {
|
|
53678
|
+
customer_portal: {
|
|
53679
|
+
$ref: "#/components/schemas/customer_portal"
|
|
53680
|
+
},
|
|
53619
53681
|
magic_link: { $ref: "#/components/schemas/magic_link" },
|
|
53620
53682
|
ok: { type: "boolean" }
|
|
53621
53683
|
},
|
|
53622
|
-
required: ["magic_link", "ok"],
|
|
53684
|
+
required: ["customer_portal", "magic_link", "ok"],
|
|
53623
53685
|
type: "object"
|
|
53624
53686
|
}
|
|
53625
53687
|
}
|
|
@@ -53638,8 +53700,8 @@ var openapi_default = {
|
|
|
53638
53700
|
tags: [],
|
|
53639
53701
|
"x-fern-sdk-group-name": ["customers"],
|
|
53640
53702
|
"x-fern-sdk-method-name": "create_portal",
|
|
53641
|
-
"x-fern-sdk-return-value": "
|
|
53642
|
-
"x-response-key": "
|
|
53703
|
+
"x-fern-sdk-return-value": "customer_portal",
|
|
53704
|
+
"x-response-key": "customer_portal",
|
|
53643
53705
|
"x-title": "Create Customer Portal"
|
|
53644
53706
|
}
|
|
53645
53707
|
},
|