@seamapi/types 1.392.0 → 1.393.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 +100 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +285 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +66 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +9 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js +1 -0
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +65 -0
- package/lib/seam/connect/openapi.js +89 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +178 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +12 -0
- package/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +95 -0
- package/src/lib/seam/connect/route-types.ts +211 -0
package/dist/connect.cjs
CHANGED
|
@@ -1838,6 +1838,7 @@ var acs_entrance_assa_abloy_vostio_metadata = zod.z.object({
|
|
|
1838
1838
|
pms_id: zod.z.string().optional()
|
|
1839
1839
|
});
|
|
1840
1840
|
var acs_credential_vostio_metadata = zod.z.object({
|
|
1841
|
+
// auto_join does not exist in the Vostio API and is an abstraction made by Seam
|
|
1841
1842
|
auto_join: zod.z.boolean().optional(),
|
|
1842
1843
|
override_guest_acs_entrance_ids: zod.z.string().array().optional(),
|
|
1843
1844
|
key_id: zod.z.string().optional(),
|
|
@@ -2610,12 +2611,18 @@ var acs_users_failed_to_delete_on_acs_system = common_acs_user_error.extend({
|
|
|
2610
2611
|
}).describe(
|
|
2611
2612
|
`Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was not deleted on the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).`
|
|
2612
2613
|
);
|
|
2614
|
+
var acs_users_latch_conflict_with_resident_user = common_acs_user_error.extend({
|
|
2615
|
+
error_code: zod.z.literal("latch_conflict_with_resident_user")
|
|
2616
|
+
}).describe(
|
|
2617
|
+
`Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created from the Seam API but also exists on Mission Control. This is unsupported. Contact Seam [support](mailto:support@seam.co).`
|
|
2618
|
+
);
|
|
2613
2619
|
var acs_user_errors = zod.z.discriminatedUnion("error_code", [
|
|
2614
2620
|
acs_users_deleted_externally,
|
|
2615
2621
|
acs_users_salto_ks_subscription_limit_exceeded,
|
|
2616
2622
|
acs_users_failed_to_create_on_acs_system,
|
|
2617
2623
|
acs_users_failed_to_update_on_acs_system,
|
|
2618
|
-
acs_users_failed_to_delete_on_acs_system
|
|
2624
|
+
acs_users_failed_to_delete_on_acs_system,
|
|
2625
|
+
acs_users_latch_conflict_with_resident_user
|
|
2619
2626
|
]).describe(
|
|
2620
2627
|
"Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management)."
|
|
2621
2628
|
);
|
|
@@ -2624,7 +2631,8 @@ zod.z.object({
|
|
|
2624
2631
|
salto_ks_subscription_limit_exceeded: acs_users_salto_ks_subscription_limit_exceeded.optional().nullable(),
|
|
2625
2632
|
failed_to_create_on_acs_system: acs_users_failed_to_create_on_acs_system.optional().nullable(),
|
|
2626
2633
|
failed_to_update_on_acs_system: acs_users_failed_to_update_on_acs_system.optional().nullable(),
|
|
2627
|
-
failed_to_delete_on_acs_system: acs_users_failed_to_delete_on_acs_system.optional().nullable()
|
|
2634
|
+
failed_to_delete_on_acs_system: acs_users_failed_to_delete_on_acs_system.optional().nullable(),
|
|
2635
|
+
latch_conflict_with_resident_user: acs_users_latch_conflict_with_resident_user.optional().nullable()
|
|
2628
2636
|
});
|
|
2629
2637
|
var common_acs_user_warning = zod.z.object({
|
|
2630
2638
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
|
|
@@ -7087,6 +7095,26 @@ var openapi_default = {
|
|
|
7087
7095
|
},
|
|
7088
7096
|
required: ["created_at", "message", "error_code"],
|
|
7089
7097
|
type: "object"
|
|
7098
|
+
},
|
|
7099
|
+
{
|
|
7100
|
+
description: "Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created from the Seam API but also exists on Mission Control. This is unsupported. Contact Seam [support](mailto:support@seam.co).",
|
|
7101
|
+
properties: {
|
|
7102
|
+
created_at: {
|
|
7103
|
+
description: "Date and time at which Seam created the error.",
|
|
7104
|
+
format: "date-time",
|
|
7105
|
+
type: "string"
|
|
7106
|
+
},
|
|
7107
|
+
error_code: {
|
|
7108
|
+
enum: ["latch_conflict_with_resident_user"],
|
|
7109
|
+
type: "string"
|
|
7110
|
+
},
|
|
7111
|
+
message: {
|
|
7112
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7113
|
+
type: "string"
|
|
7114
|
+
}
|
|
7115
|
+
},
|
|
7116
|
+
required: ["created_at", "message", "error_code"],
|
|
7117
|
+
type: "object"
|
|
7090
7118
|
}
|
|
7091
7119
|
]
|
|
7092
7120
|
},
|
|
@@ -20245,6 +20273,26 @@ var openapi_default = {
|
|
|
20245
20273
|
},
|
|
20246
20274
|
required: ["created_at", "message", "error_code"],
|
|
20247
20275
|
type: "object"
|
|
20276
|
+
},
|
|
20277
|
+
{
|
|
20278
|
+
description: "Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created from the Seam API but also exists on Mission Control. This is unsupported. Contact Seam [support](mailto:support@seam.co).",
|
|
20279
|
+
properties: {
|
|
20280
|
+
created_at: {
|
|
20281
|
+
description: "Date and time at which Seam created the error.",
|
|
20282
|
+
format: "date-time",
|
|
20283
|
+
type: "string"
|
|
20284
|
+
},
|
|
20285
|
+
error_code: {
|
|
20286
|
+
enum: ["latch_conflict_with_resident_user"],
|
|
20287
|
+
type: "string"
|
|
20288
|
+
},
|
|
20289
|
+
message: {
|
|
20290
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
20291
|
+
type: "string"
|
|
20292
|
+
}
|
|
20293
|
+
},
|
|
20294
|
+
required: ["created_at", "message", "error_code"],
|
|
20295
|
+
type: "object"
|
|
20248
20296
|
}
|
|
20249
20297
|
]
|
|
20250
20298
|
},
|
|
@@ -24563,7 +24611,8 @@ var openapi_default = {
|
|
|
24563
24611
|
},
|
|
24564
24612
|
required: ["user_identity_id"],
|
|
24565
24613
|
type: "object"
|
|
24566
|
-
}
|
|
24614
|
+
},
|
|
24615
|
+
{ properties: {}, type: "object" }
|
|
24567
24616
|
]
|
|
24568
24617
|
},
|
|
24569
24618
|
{
|
|
@@ -32348,6 +32397,54 @@ var openapi_default = {
|
|
|
32348
32397
|
"x-undocumented": "Seam Instant Key only."
|
|
32349
32398
|
}
|
|
32350
32399
|
},
|
|
32400
|
+
"/seam/mobile_sdk/v1/acs/credentials/list": {
|
|
32401
|
+
post: {
|
|
32402
|
+
description: "Returns a list of all ACS credentials.",
|
|
32403
|
+
operationId: "seamMobileSdkV1AcsCredentialsListPost",
|
|
32404
|
+
requestBody: {
|
|
32405
|
+
content: {
|
|
32406
|
+
"application/json": { schema: { properties: {}, type: "object" } }
|
|
32407
|
+
}
|
|
32408
|
+
},
|
|
32409
|
+
responses: {
|
|
32410
|
+
200: {
|
|
32411
|
+
content: {
|
|
32412
|
+
"application/json": {
|
|
32413
|
+
schema: {
|
|
32414
|
+
properties: {
|
|
32415
|
+
acs_credentials: {
|
|
32416
|
+
items: { $ref: "#/components/schemas/acs_credential" },
|
|
32417
|
+
type: "array"
|
|
32418
|
+
},
|
|
32419
|
+
ok: { type: "boolean" }
|
|
32420
|
+
},
|
|
32421
|
+
required: ["acs_credentials", "ok"],
|
|
32422
|
+
type: "object"
|
|
32423
|
+
}
|
|
32424
|
+
}
|
|
32425
|
+
},
|
|
32426
|
+
description: "OK"
|
|
32427
|
+
},
|
|
32428
|
+
400: { description: "Bad Request" },
|
|
32429
|
+
401: { description: "Unauthorized" }
|
|
32430
|
+
},
|
|
32431
|
+
security: [{ client_session: [] }],
|
|
32432
|
+
summary: "/seam/mobile_sdk/v1/acs/credentials/list",
|
|
32433
|
+
tags: ["/acs"],
|
|
32434
|
+
"x-fern-sdk-group-name": [
|
|
32435
|
+
"seam",
|
|
32436
|
+
"mobile_sdk",
|
|
32437
|
+
"v1",
|
|
32438
|
+
"acs",
|
|
32439
|
+
"credentials"
|
|
32440
|
+
],
|
|
32441
|
+
"x-fern-sdk-method-name": "list",
|
|
32442
|
+
"x-fern-sdk-return-value": "acs_credentials",
|
|
32443
|
+
"x-response-key": "acs_credentials",
|
|
32444
|
+
"x-title": "List Credentials",
|
|
32445
|
+
"x-undocumented": "Mobile SDK only."
|
|
32446
|
+
}
|
|
32447
|
+
},
|
|
32351
32448
|
"/thermostats/activate_climate_preset": {
|
|
32352
32449
|
post: {
|
|
32353
32450
|
description: "Activates a specified [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).",
|