@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 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."),
@@ -53616,10 +53637,48 @@ var openapi_default = {
53616
53637
  "application/json": {
53617
53638
  schema: {
53618
53639
  properties: {
53640
+ customer_portal: {
53641
+ 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.",
53642
+ properties: {
53643
+ created_at: {
53644
+ description: "Date and time at which the customer portal link was created.",
53645
+ format: "date-time",
53646
+ type: "string"
53647
+ },
53648
+ customer_key: {
53649
+ description: "Customer key for the customer portal.",
53650
+ type: "string"
53651
+ },
53652
+ expires_at: {
53653
+ description: "Date and time at which the customer portal link expires.",
53654
+ format: "date-time",
53655
+ type: "string"
53656
+ },
53657
+ url: {
53658
+ description: "URL for the customer portal.",
53659
+ format: "uri",
53660
+ type: "string"
53661
+ },
53662
+ workspace_id: {
53663
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer portal.",
53664
+ format: "uuid",
53665
+ type: "string"
53666
+ }
53667
+ },
53668
+ required: [
53669
+ "url",
53670
+ "customer_key",
53671
+ "expires_at",
53672
+ "workspace_id",
53673
+ "created_at"
53674
+ ],
53675
+ type: "object",
53676
+ "x-route-path": "/customers"
53677
+ },
53619
53678
  magic_link: { $ref: "#/components/schemas/magic_link" },
53620
53679
  ok: { type: "boolean" }
53621
53680
  },
53622
- required: ["magic_link", "ok"],
53681
+ required: ["customer_portal", "magic_link", "ok"],
53623
53682
  type: "object"
53624
53683
  }
53625
53684
  }
@@ -53638,8 +53697,8 @@ var openapi_default = {
53638
53697
  tags: [],
53639
53698
  "x-fern-sdk-group-name": ["customers"],
53640
53699
  "x-fern-sdk-method-name": "create_portal",
53641
- "x-fern-sdk-return-value": "magic_link",
53642
- "x-response-key": "magic_link",
53700
+ "x-fern-sdk-return-value": "customer_portal",
53701
+ "x-response-key": "customer_portal",
53643
53702
  "x-title": "Create Customer Portal"
53644
53703
  }
53645
53704
  },