@seamapi/types 1.482.0 → 1.483.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 +3 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +8 -8
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +736 -212
- package/lib/seam/connect/models/batch.js +1 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -3
- package/lib/seam/connect/models/connected-accounts/connected-account.js +0 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/openapi.js +1 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +5 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +1 -0
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +0 -1
- package/src/lib/seam/connect/openapi.ts +1 -0
- package/src/lib/seam/connect/route-types.ts +5 -5
package/dist/connect.d.cts
CHANGED
|
@@ -28711,7 +28711,7 @@ declare const connected_account_warning: z.ZodDiscriminatedUnion<"warning_code",
|
|
|
28711
28711
|
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
28712
28712
|
}>]>;
|
|
28713
28713
|
declare const connected_account: z.ZodObject<{
|
|
28714
|
-
connected_account_id: z.
|
|
28714
|
+
connected_account_id: z.ZodString;
|
|
28715
28715
|
created_at: z.ZodOptional<z.ZodString>;
|
|
28716
28716
|
user_identifier: z.ZodOptional<z.ZodObject<{
|
|
28717
28717
|
username: z.ZodOptional<z.ZodString>;
|
|
@@ -28985,6 +28985,7 @@ declare const connected_account: z.ZodObject<{
|
|
|
28985
28985
|
is_connected_account_error?: boolean | undefined;
|
|
28986
28986
|
is_bridge_error?: boolean | undefined;
|
|
28987
28987
|
})[];
|
|
28988
|
+
connected_account_id: string;
|
|
28988
28989
|
account_type_display_name: string;
|
|
28989
28990
|
warnings: ({
|
|
28990
28991
|
message: string;
|
|
@@ -29011,7 +29012,6 @@ declare const connected_account: z.ZodObject<{
|
|
|
29011
29012
|
automatically_manage_new_devices: boolean;
|
|
29012
29013
|
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
|
|
29013
29014
|
created_at?: string | undefined;
|
|
29014
|
-
connected_account_id?: string | undefined;
|
|
29015
29015
|
user_identifier?: {
|
|
29016
29016
|
phone?: string | undefined;
|
|
29017
29017
|
username?: string | undefined;
|
|
@@ -29055,6 +29055,7 @@ declare const connected_account: z.ZodObject<{
|
|
|
29055
29055
|
is_connected_account_error?: boolean | undefined;
|
|
29056
29056
|
is_bridge_error?: boolean | undefined;
|
|
29057
29057
|
})[];
|
|
29058
|
+
connected_account_id: string;
|
|
29058
29059
|
account_type_display_name: string;
|
|
29059
29060
|
warnings: ({
|
|
29060
29061
|
message: string;
|
|
@@ -29081,7 +29082,6 @@ declare const connected_account: z.ZodObject<{
|
|
|
29081
29082
|
automatically_manage_new_devices: boolean;
|
|
29082
29083
|
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
|
|
29083
29084
|
created_at?: string | undefined;
|
|
29084
|
-
connected_account_id?: string | undefined;
|
|
29085
29085
|
user_identifier?: {
|
|
29086
29086
|
phone?: string | undefined;
|
|
29087
29087
|
username?: string | undefined;
|
|
@@ -101616,7 +101616,7 @@ type Routes = {
|
|
|
101616
101616
|
}[] | undefined;
|
|
101617
101617
|
connected_accounts?: {
|
|
101618
101618
|
/** ID of the connected account. */
|
|
101619
|
-
connected_account_id
|
|
101619
|
+
connected_account_id: string;
|
|
101620
101620
|
/** Date and time at which the connected account was created. */
|
|
101621
101621
|
created_at?: string | undefined;
|
|
101622
101622
|
/** User identifier associated with the connected account. */
|
|
@@ -117380,7 +117380,7 @@ type Routes = {
|
|
|
117380
117380
|
/** Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks. */
|
|
117381
117381
|
connected_account: {
|
|
117382
117382
|
/** ID of the connected account. */
|
|
117383
|
-
connected_account_id
|
|
117383
|
+
connected_account_id: string;
|
|
117384
117384
|
/** Date and time at which the connected account was created. */
|
|
117385
117385
|
created_at?: string | undefined;
|
|
117386
117386
|
/** User identifier associated with the connected account. */
|
|
@@ -117535,7 +117535,7 @@ type Routes = {
|
|
|
117535
117535
|
jsonResponse: {
|
|
117536
117536
|
connected_accounts: {
|
|
117537
117537
|
/** ID of the connected account. */
|
|
117538
|
-
connected_account_id
|
|
117538
|
+
connected_account_id: string;
|
|
117539
117539
|
/** Date and time at which the connected account was created. */
|
|
117540
117540
|
created_at?: string | undefined;
|
|
117541
117541
|
/** User identifier associated with the connected account. */
|
|
@@ -117708,7 +117708,7 @@ type Routes = {
|
|
|
117708
117708
|
/** Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks. */
|
|
117709
117709
|
connected_account: {
|
|
117710
117710
|
/** ID of the connected account. */
|
|
117711
|
-
connected_account_id
|
|
117711
|
+
connected_account_id: string;
|
|
117712
117712
|
/** Date and time at which the connected account was created. */
|
|
117713
117713
|
created_at?: string | undefined;
|
|
117714
117714
|
/** User identifier associated with the connected account. */
|
|
@@ -146501,7 +146501,7 @@ type Routes = {
|
|
|
146501
146501
|
}[] | undefined;
|
|
146502
146502
|
connected_accounts?: {
|
|
146503
146503
|
/** ID of the connected account. */
|
|
146504
|
-
connected_account_id
|
|
146504
|
+
connected_account_id: string;
|
|
146505
146505
|
/** Date and time at which the connected account was created. */
|
|
146506
146506
|
created_at?: string | undefined;
|
|
146507
146507
|
/** User identifier associated with the connected account. */
|
package/dist/index.cjs
CHANGED
|
@@ -679,7 +679,7 @@ zod.z.object({
|
|
|
679
679
|
salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.nullable().optional()
|
|
680
680
|
});
|
|
681
681
|
var connected_account = zod.z.object({
|
|
682
|
-
connected_account_id: zod.z.string().uuid().
|
|
682
|
+
connected_account_id: zod.z.string().uuid().describe("ID of the connected account."),
|
|
683
683
|
created_at: zod.z.string().datetime().optional().describe("Date and time at which the connected account was created."),
|
|
684
684
|
user_identifier: zod.z.object({
|
|
685
685
|
username: zod.z.string().optional().describe(
|
|
@@ -4207,6 +4207,7 @@ zod.z.object({
|
|
|
4207
4207
|
unmanaged_acs_users: unmanaged_acs_user.array().optional(),
|
|
4208
4208
|
unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
|
|
4209
4209
|
unmanaged_devices: unmanaged_device.array().optional(),
|
|
4210
|
+
connected_accounts: connected_account.array().optional(),
|
|
4210
4211
|
connect_webviews: connect_webview.array().optional(),
|
|
4211
4212
|
access_methods: access_method.array().optional(),
|
|
4212
4213
|
access_grants: access_grant.array().optional()
|
|
@@ -13624,6 +13625,7 @@ var openapi_default = {
|
|
|
13624
13625
|
}
|
|
13625
13626
|
},
|
|
13626
13627
|
required: [
|
|
13628
|
+
"connected_account_id",
|
|
13627
13629
|
"account_type_display_name",
|
|
13628
13630
|
"errors",
|
|
13629
13631
|
"warnings",
|