@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.d.cts
CHANGED
|
@@ -62938,6 +62938,26 @@ declare const pagination: z.ZodObject<{
|
|
|
62938
62938
|
}>;
|
|
62939
62939
|
type Pagination = z.infer<typeof pagination>;
|
|
62940
62940
|
|
|
62941
|
+
declare const customer_portal: z.ZodObject<{
|
|
62942
|
+
url: z.ZodString;
|
|
62943
|
+
customer_key: z.ZodString;
|
|
62944
|
+
expires_at: z.ZodString;
|
|
62945
|
+
workspace_id: z.ZodString;
|
|
62946
|
+
created_at: z.ZodString;
|
|
62947
|
+
}, "strip", z.ZodTypeAny, {
|
|
62948
|
+
workspace_id: string;
|
|
62949
|
+
created_at: string;
|
|
62950
|
+
customer_key: string;
|
|
62951
|
+
expires_at: string;
|
|
62952
|
+
url: string;
|
|
62953
|
+
}, {
|
|
62954
|
+
workspace_id: string;
|
|
62955
|
+
created_at: string;
|
|
62956
|
+
customer_key: string;
|
|
62957
|
+
expires_at: string;
|
|
62958
|
+
url: string;
|
|
62959
|
+
}>;
|
|
62960
|
+
|
|
62941
62961
|
declare const magic_link: z.ZodObject<{
|
|
62942
62962
|
url: z.ZodString;
|
|
62943
62963
|
customer_key: z.ZodString;
|
|
@@ -63402,6 +63422,7 @@ declare const schemas_common_succeeded_action_attempt: typeof common_succeeded_a
|
|
|
63402
63422
|
declare const schemas_connect_webview: typeof connect_webview;
|
|
63403
63423
|
declare const schemas_connected_account: typeof connected_account;
|
|
63404
63424
|
declare const schemas_custom_metadata: typeof custom_metadata;
|
|
63425
|
+
declare const schemas_customer_portal: typeof customer_portal;
|
|
63405
63426
|
declare const schemas_customization_profile: typeof customization_profile;
|
|
63406
63427
|
declare const schemas_device: typeof device;
|
|
63407
63428
|
declare const schemas_device_provider: typeof device_provider;
|
|
@@ -63423,7 +63444,7 @@ declare const schemas_user_identity: typeof user_identity;
|
|
|
63423
63444
|
declare const schemas_webhook: typeof webhook;
|
|
63424
63445
|
declare const schemas_workspace: typeof workspace;
|
|
63425
63446
|
declare namespace schemas {
|
|
63426
|
-
export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_customization_profile as customization_profile, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_staff_member_resource as staff_member_resource, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
|
|
63447
|
+
export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_customer_portal as customer_portal, schemas_customization_profile as customization_profile, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_staff_member_resource as staff_member_resource, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
|
|
63427
63448
|
}
|
|
63428
63449
|
|
|
63429
63450
|
declare const _default: {
|
|
@@ -69270,6 +69291,38 @@ declare const _default: {
|
|
|
69270
69291
|
'x-route-path': string;
|
|
69271
69292
|
'x-undocumented': string;
|
|
69272
69293
|
};
|
|
69294
|
+
customer_portal: {
|
|
69295
|
+
description: string;
|
|
69296
|
+
properties: {
|
|
69297
|
+
created_at: {
|
|
69298
|
+
description: string;
|
|
69299
|
+
format: string;
|
|
69300
|
+
type: string;
|
|
69301
|
+
};
|
|
69302
|
+
customer_key: {
|
|
69303
|
+
description: string;
|
|
69304
|
+
type: string;
|
|
69305
|
+
};
|
|
69306
|
+
expires_at: {
|
|
69307
|
+
description: string;
|
|
69308
|
+
format: string;
|
|
69309
|
+
type: string;
|
|
69310
|
+
};
|
|
69311
|
+
url: {
|
|
69312
|
+
description: string;
|
|
69313
|
+
format: string;
|
|
69314
|
+
type: string;
|
|
69315
|
+
};
|
|
69316
|
+
workspace_id: {
|
|
69317
|
+
description: string;
|
|
69318
|
+
format: string;
|
|
69319
|
+
type: string;
|
|
69320
|
+
};
|
|
69321
|
+
};
|
|
69322
|
+
required: string[];
|
|
69323
|
+
type: string;
|
|
69324
|
+
'x-route-path': string;
|
|
69325
|
+
};
|
|
69273
69326
|
customization_profile: {
|
|
69274
69327
|
description: string;
|
|
69275
69328
|
properties: {
|
|
@@ -104367,6 +104420,9 @@ declare const _default: {
|
|
|
104367
104420
|
'application/json': {
|
|
104368
104421
|
schema: {
|
|
104369
104422
|
properties: {
|
|
104423
|
+
customer_portal: {
|
|
104424
|
+
$ref: string;
|
|
104425
|
+
};
|
|
104370
104426
|
magic_link: {
|
|
104371
104427
|
$ref: string;
|
|
104372
104428
|
};
|
|
@@ -169443,6 +169499,23 @@ type Routes = {
|
|
|
169443
169499
|
|
|
169444
169500
|
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.
|
|
169445
169501
|
|
|
169502
|
+
Seam hosts these flows, handling everything from account connection and device mapping to full-featured device control. */
|
|
169503
|
+
customer_portal: {
|
|
169504
|
+
/** URL for the customer portal. */
|
|
169505
|
+
url: string;
|
|
169506
|
+
/** Customer key for the customer portal. */
|
|
169507
|
+
customer_key: string;
|
|
169508
|
+
/** Date and time at which the customer portal link expires. */
|
|
169509
|
+
expires_at: string;
|
|
169510
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer portal. */
|
|
169511
|
+
workspace_id: string;
|
|
169512
|
+
/** Date and time at which the customer portal link was created. */
|
|
169513
|
+
created_at: string;
|
|
169514
|
+
};
|
|
169515
|
+
/** 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.
|
|
169516
|
+
|
|
169517
|
+
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.
|
|
169518
|
+
|
|
169446
169519
|
Seam hosts these flows, handling everything from account connection and device mapping to full-featured device control. */
|
|
169447
169520
|
magic_link: {
|
|
169448
169521
|
/** URL for the magic link. */
|
package/dist/index.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
|
},
|