@seamapi/types 1.481.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 +27 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +32 -10
- package/dist/index.cjs +27 -9
- 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.d.ts +24 -2
- package/lib/seam/connect/openapi.js +25 -8
- 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 +25 -8
- 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;
|
|
@@ -66784,12 +66784,14 @@ declare const _default: {
|
|
|
66784
66784
|
};
|
|
66785
66785
|
user_identity_id: {
|
|
66786
66786
|
description: string;
|
|
66787
|
+
format: string;
|
|
66787
66788
|
type: string;
|
|
66788
66789
|
};
|
|
66789
66790
|
user_identity_ids: {
|
|
66790
66791
|
deprecated: boolean;
|
|
66791
66792
|
description: string;
|
|
66792
66793
|
items: {
|
|
66794
|
+
format: string;
|
|
66793
66795
|
type: string;
|
|
66794
66796
|
};
|
|
66795
66797
|
maxItems: number;
|
|
@@ -66901,12 +66903,14 @@ declare const _default: {
|
|
|
66901
66903
|
};
|
|
66902
66904
|
user_identity_id: {
|
|
66903
66905
|
description: string;
|
|
66906
|
+
format: string;
|
|
66904
66907
|
type: string;
|
|
66905
66908
|
};
|
|
66906
66909
|
user_identity_ids: {
|
|
66907
66910
|
deprecated: boolean;
|
|
66908
66911
|
description: string;
|
|
66909
66912
|
items: {
|
|
66913
|
+
format: string;
|
|
66910
66914
|
type: string;
|
|
66911
66915
|
};
|
|
66912
66916
|
maxItems: number;
|
|
@@ -67104,14 +67108,23 @@ declare const _default: {
|
|
|
67104
67108
|
get: {
|
|
67105
67109
|
description: string;
|
|
67106
67110
|
operationId: string;
|
|
67107
|
-
parameters: {
|
|
67111
|
+
parameters: ({
|
|
67108
67112
|
in: string;
|
|
67109
67113
|
name: string;
|
|
67110
67114
|
schema: {
|
|
67111
67115
|
description: string;
|
|
67116
|
+
format: string;
|
|
67112
67117
|
type: string;
|
|
67113
67118
|
};
|
|
67114
|
-
}
|
|
67119
|
+
} | {
|
|
67120
|
+
in: string;
|
|
67121
|
+
name: string;
|
|
67122
|
+
schema: {
|
|
67123
|
+
description: string;
|
|
67124
|
+
type: string;
|
|
67125
|
+
format?: never;
|
|
67126
|
+
};
|
|
67127
|
+
})[];
|
|
67115
67128
|
responses: {
|
|
67116
67129
|
200: {
|
|
67117
67130
|
content: {
|
|
@@ -67178,6 +67191,7 @@ declare const _default: {
|
|
|
67178
67191
|
properties: {
|
|
67179
67192
|
client_session_id: {
|
|
67180
67193
|
description: string;
|
|
67194
|
+
format: string;
|
|
67181
67195
|
type: string;
|
|
67182
67196
|
};
|
|
67183
67197
|
user_identifier_key: {
|
|
@@ -67282,12 +67296,14 @@ declare const _default: {
|
|
|
67282
67296
|
};
|
|
67283
67297
|
user_identity_id: {
|
|
67284
67298
|
description: string;
|
|
67299
|
+
format: string;
|
|
67285
67300
|
type: string;
|
|
67286
67301
|
};
|
|
67287
67302
|
user_identity_ids: {
|
|
67288
67303
|
deprecated: boolean;
|
|
67289
67304
|
description: string;
|
|
67290
67305
|
items: {
|
|
67306
|
+
format: string;
|
|
67291
67307
|
type: string;
|
|
67292
67308
|
};
|
|
67293
67309
|
maxItems: number;
|
|
@@ -78717,6 +78733,7 @@ declare const _default: {
|
|
|
78717
78733
|
required: boolean;
|
|
78718
78734
|
schema: {
|
|
78719
78735
|
description: string;
|
|
78736
|
+
format: string;
|
|
78720
78737
|
type: string;
|
|
78721
78738
|
};
|
|
78722
78739
|
}[];
|
|
@@ -78822,6 +78839,7 @@ declare const _default: {
|
|
|
78822
78839
|
properties: {
|
|
78823
78840
|
customer_portal_id: {
|
|
78824
78841
|
description: string;
|
|
78842
|
+
format: string;
|
|
78825
78843
|
type: string;
|
|
78826
78844
|
};
|
|
78827
78845
|
};
|
|
@@ -79411,6 +79429,7 @@ declare const _default: {
|
|
|
79411
79429
|
items: {
|
|
79412
79430
|
properties: {
|
|
79413
79431
|
acs_entrance_id: {
|
|
79432
|
+
format: string;
|
|
79414
79433
|
type: string;
|
|
79415
79434
|
};
|
|
79416
79435
|
name: {
|
|
@@ -79426,6 +79445,7 @@ declare const _default: {
|
|
|
79426
79445
|
items: {
|
|
79427
79446
|
properties: {
|
|
79428
79447
|
device_id: {
|
|
79448
|
+
format: string;
|
|
79429
79449
|
type: string;
|
|
79430
79450
|
};
|
|
79431
79451
|
device_type: {
|
|
@@ -79520,6 +79540,7 @@ declare const _default: {
|
|
|
79520
79540
|
items: {
|
|
79521
79541
|
properties: {
|
|
79522
79542
|
acs_entrance_id: {
|
|
79543
|
+
format: string;
|
|
79523
79544
|
type: string;
|
|
79524
79545
|
};
|
|
79525
79546
|
name: {
|
|
@@ -79535,6 +79556,7 @@ declare const _default: {
|
|
|
79535
79556
|
items: {
|
|
79536
79557
|
properties: {
|
|
79537
79558
|
device_id: {
|
|
79559
|
+
format: string;
|
|
79538
79560
|
type: string;
|
|
79539
79561
|
};
|
|
79540
79562
|
device_type: {
|
|
@@ -101594,7 +101616,7 @@ type Routes = {
|
|
|
101594
101616
|
}[] | undefined;
|
|
101595
101617
|
connected_accounts?: {
|
|
101596
101618
|
/** ID of the connected account. */
|
|
101597
|
-
connected_account_id
|
|
101619
|
+
connected_account_id: string;
|
|
101598
101620
|
/** Date and time at which the connected account was created. */
|
|
101599
101621
|
created_at?: string | undefined;
|
|
101600
101622
|
/** User identifier associated with the connected account. */
|
|
@@ -117358,7 +117380,7 @@ type Routes = {
|
|
|
117358
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. */
|
|
117359
117381
|
connected_account: {
|
|
117360
117382
|
/** ID of the connected account. */
|
|
117361
|
-
connected_account_id
|
|
117383
|
+
connected_account_id: string;
|
|
117362
117384
|
/** Date and time at which the connected account was created. */
|
|
117363
117385
|
created_at?: string | undefined;
|
|
117364
117386
|
/** User identifier associated with the connected account. */
|
|
@@ -117513,7 +117535,7 @@ type Routes = {
|
|
|
117513
117535
|
jsonResponse: {
|
|
117514
117536
|
connected_accounts: {
|
|
117515
117537
|
/** ID of the connected account. */
|
|
117516
|
-
connected_account_id
|
|
117538
|
+
connected_account_id: string;
|
|
117517
117539
|
/** Date and time at which the connected account was created. */
|
|
117518
117540
|
created_at?: string | undefined;
|
|
117519
117541
|
/** User identifier associated with the connected account. */
|
|
@@ -117686,7 +117708,7 @@ type Routes = {
|
|
|
117686
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. */
|
|
117687
117709
|
connected_account: {
|
|
117688
117710
|
/** ID of the connected account. */
|
|
117689
|
-
connected_account_id
|
|
117711
|
+
connected_account_id: string;
|
|
117690
117712
|
/** Date and time at which the connected account was created. */
|
|
117691
117713
|
created_at?: string | undefined;
|
|
117692
117714
|
/** User identifier associated with the connected account. */
|
|
@@ -146479,7 +146501,7 @@ type Routes = {
|
|
|
146479
146501
|
}[] | undefined;
|
|
146480
146502
|
connected_accounts?: {
|
|
146481
146503
|
/** ID of the connected account. */
|
|
146482
|
-
connected_account_id
|
|
146504
|
+
connected_account_id: string;
|
|
146483
146505
|
/** Date and time at which the connected account was created. */
|
|
146484
146506
|
created_at?: string | undefined;
|
|
146485
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",
|
|
@@ -38301,12 +38303,13 @@ var openapi_default = {
|
|
|
38301
38303
|
},
|
|
38302
38304
|
user_identity_id: {
|
|
38303
38305
|
description: "ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session.",
|
|
38306
|
+
format: "uuid",
|
|
38304
38307
|
type: "string"
|
|
38305
38308
|
},
|
|
38306
38309
|
user_identity_ids: {
|
|
38307
38310
|
deprecated: true,
|
|
38308
38311
|
description: "IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.",
|
|
38309
|
-
items: { type: "string" },
|
|
38312
|
+
items: { format: "uuid", type: "string" },
|
|
38310
38313
|
maxItems: 1,
|
|
38311
38314
|
minItems: 1,
|
|
38312
38315
|
type: "array",
|
|
@@ -38391,12 +38394,13 @@ var openapi_default = {
|
|
|
38391
38394
|
},
|
|
38392
38395
|
user_identity_id: {
|
|
38393
38396
|
description: "ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session.",
|
|
38397
|
+
format: "uuid",
|
|
38394
38398
|
type: "string"
|
|
38395
38399
|
},
|
|
38396
38400
|
user_identity_ids: {
|
|
38397
38401
|
deprecated: true,
|
|
38398
38402
|
description: "IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.",
|
|
38399
|
-
items: { type: "string" },
|
|
38403
|
+
items: { format: "uuid", type: "string" },
|
|
38400
38404
|
maxItems: 1,
|
|
38401
38405
|
minItems: 1,
|
|
38402
38406
|
type: "array",
|
|
@@ -38547,6 +38551,7 @@ var openapi_default = {
|
|
|
38547
38551
|
name: "client_session_id",
|
|
38548
38552
|
schema: {
|
|
38549
38553
|
description: "ID of the client session that you want to get.",
|
|
38554
|
+
format: "uuid",
|
|
38550
38555
|
type: "string"
|
|
38551
38556
|
}
|
|
38552
38557
|
},
|
|
@@ -38604,6 +38609,7 @@ var openapi_default = {
|
|
|
38604
38609
|
properties: {
|
|
38605
38610
|
client_session_id: {
|
|
38606
38611
|
description: "ID of the client session that you want to get.",
|
|
38612
|
+
format: "uuid",
|
|
38607
38613
|
type: "string"
|
|
38608
38614
|
},
|
|
38609
38615
|
user_identifier_key: {
|
|
@@ -38683,12 +38689,13 @@ var openapi_default = {
|
|
|
38683
38689
|
},
|
|
38684
38690
|
user_identity_id: {
|
|
38685
38691
|
description: "ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session (or that are already associated with the existing client session).",
|
|
38692
|
+
format: "uuid",
|
|
38686
38693
|
type: "string"
|
|
38687
38694
|
},
|
|
38688
38695
|
user_identity_ids: {
|
|
38689
38696
|
deprecated: true,
|
|
38690
38697
|
description: "IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.",
|
|
38691
|
-
items: { type: "string" },
|
|
38698
|
+
items: { format: "uuid", type: "string" },
|
|
38692
38699
|
maxItems: 1,
|
|
38693
38700
|
minItems: 1,
|
|
38694
38701
|
type: "array",
|
|
@@ -49550,7 +49557,11 @@ var openapi_default = {
|
|
|
49550
49557
|
in: "query",
|
|
49551
49558
|
name: "customer_portal_id",
|
|
49552
49559
|
required: true,
|
|
49553
|
-
schema: {
|
|
49560
|
+
schema: {
|
|
49561
|
+
description: "Customer portal ID.",
|
|
49562
|
+
format: "uuid",
|
|
49563
|
+
type: "string"
|
|
49564
|
+
}
|
|
49554
49565
|
}
|
|
49555
49566
|
],
|
|
49556
49567
|
responses: {
|
|
@@ -49637,6 +49648,7 @@ var openapi_default = {
|
|
|
49637
49648
|
properties: {
|
|
49638
49649
|
customer_portal_id: {
|
|
49639
49650
|
description: "Customer portal ID.",
|
|
49651
|
+
format: "uuid",
|
|
49640
49652
|
type: "string"
|
|
49641
49653
|
}
|
|
49642
49654
|
},
|
|
@@ -50146,7 +50158,10 @@ var openapi_default = {
|
|
|
50146
50158
|
acs_entrances: {
|
|
50147
50159
|
items: {
|
|
50148
50160
|
properties: {
|
|
50149
|
-
acs_entrance_id: {
|
|
50161
|
+
acs_entrance_id: {
|
|
50162
|
+
format: "uuid",
|
|
50163
|
+
type: "string"
|
|
50164
|
+
},
|
|
50150
50165
|
name: { type: "string" }
|
|
50151
50166
|
},
|
|
50152
50167
|
required: ["acs_entrance_id", "name"],
|
|
@@ -50157,7 +50172,7 @@ var openapi_default = {
|
|
|
50157
50172
|
devices: {
|
|
50158
50173
|
items: {
|
|
50159
50174
|
properties: {
|
|
50160
|
-
device_id: { type: "string" },
|
|
50175
|
+
device_id: { format: "uuid", type: "string" },
|
|
50161
50176
|
device_type: {
|
|
50162
50177
|
enum: ["lock", "thermostat", "sensor"],
|
|
50163
50178
|
type: "string"
|
|
@@ -50242,7 +50257,10 @@ var openapi_default = {
|
|
|
50242
50257
|
acs_entrances: {
|
|
50243
50258
|
items: {
|
|
50244
50259
|
properties: {
|
|
50245
|
-
acs_entrance_id: {
|
|
50260
|
+
acs_entrance_id: {
|
|
50261
|
+
format: "uuid",
|
|
50262
|
+
type: "string"
|
|
50263
|
+
},
|
|
50246
50264
|
name: { type: "string" }
|
|
50247
50265
|
},
|
|
50248
50266
|
required: ["acs_entrance_id", "name"],
|
|
@@ -50253,7 +50271,7 @@ var openapi_default = {
|
|
|
50253
50271
|
devices: {
|
|
50254
50272
|
items: {
|
|
50255
50273
|
properties: {
|
|
50256
|
-
device_id: { type: "string" },
|
|
50274
|
+
device_id: { format: "uuid", type: "string" },
|
|
50257
50275
|
device_type: {
|
|
50258
50276
|
enum: ["lock", "thermostat", "sensor"],
|
|
50259
50277
|
type: "string"
|