@seamapi/types 1.703.0 → 1.705.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 +224 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +742 -56
- package/dist/index.cjs +224 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
- package/lib/seam/connect/models/batch.d.ts +140 -33
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +5 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +94 -12
- package/lib/seam/connect/models/devices/device.js +45 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +42 -13
- package/lib/seam/connect/openapi.d.ts +126 -0
- package/lib/seam/connect/openapi.js +187 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +370 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +5 -0
- package/src/lib/seam/connect/models/devices/device.ts +63 -0
- package/src/lib/seam/connect/openapi.ts +210 -0
- package/src/lib/seam/connect/route-types.ts +438 -0
package/dist/connect.cjs
CHANGED
|
@@ -713,6 +713,7 @@ var connected_account = zod.z.object({
|
|
|
713
713
|
`),
|
|
714
714
|
account_type: zod.z.string().optional().describe("Type of connected account."),
|
|
715
715
|
account_type_display_name: zod.z.string().describe("Display name for the connected account type."),
|
|
716
|
+
image_url: zod.z.string().url().optional().describe("Logo URL for the connected account provider."),
|
|
716
717
|
display_name: zod.z.string().describe("Display name for the connected account."),
|
|
717
718
|
errors: zod.z.array(connected_account_error).describe("Errors associated with the connected account."),
|
|
718
719
|
warnings: zod.z.array(connected_account_warning).describe("Warnings associated with the connected account."),
|
|
@@ -1506,6 +1507,29 @@ zod.z.object({
|
|
|
1506
1507
|
keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(),
|
|
1507
1508
|
accessory_keypad_setup_required: accessory_keypad_setup_required.optional().nullable()
|
|
1508
1509
|
});
|
|
1510
|
+
var device_provider_info = zod.z.object({
|
|
1511
|
+
provider_category: zod.z.string().describe(
|
|
1512
|
+
"Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations."
|
|
1513
|
+
),
|
|
1514
|
+
device_provider_name: zod.z.string().describe(
|
|
1515
|
+
"Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on."
|
|
1516
|
+
),
|
|
1517
|
+
display_name: zod.z.string().describe("Display name for the device provider type."),
|
|
1518
|
+
image_url: zod.z.string().url().optional().describe("Image URL for the device provider.")
|
|
1519
|
+
}).describe(
|
|
1520
|
+
"Provider of the device. Represents the third-party service through which the device is controlled."
|
|
1521
|
+
);
|
|
1522
|
+
var device_manufacturer_info = zod.z.object({
|
|
1523
|
+
manufacturer: zod.z.string().describe(
|
|
1524
|
+
"Manufacturer identifier, such as `august`, `yale`, `salto`, and so on."
|
|
1525
|
+
),
|
|
1526
|
+
display_name: zod.z.string().describe(
|
|
1527
|
+
"Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on."
|
|
1528
|
+
),
|
|
1529
|
+
image_url: zod.z.string().url().optional().describe("Image URL for the manufacturer logo.")
|
|
1530
|
+
}).describe(
|
|
1531
|
+
"Manufacturer of the device. Represents the hardware brand, which may differ from the provider."
|
|
1532
|
+
);
|
|
1509
1533
|
var common_device_properties = zod.z.object({
|
|
1510
1534
|
online: zod.z.boolean().describe("Indicates whether the device is online."),
|
|
1511
1535
|
name: zod.z.string().describe(`
|
|
@@ -1776,7 +1800,19 @@ var device = zod.z.object({
|
|
|
1776
1800
|
is_managed: zod.z.literal(true).describe(
|
|
1777
1801
|
"Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices)."
|
|
1778
1802
|
),
|
|
1779
|
-
custom_metadata
|
|
1803
|
+
custom_metadata,
|
|
1804
|
+
device_provider: device_provider_info.optional().describe(`
|
|
1805
|
+
---
|
|
1806
|
+
property_group_key: hardware
|
|
1807
|
+
---
|
|
1808
|
+
Provider of the device. Represents the third-party service through which the device is controlled.
|
|
1809
|
+
`),
|
|
1810
|
+
device_manufacturer: device_manufacturer_info.optional().describe(`
|
|
1811
|
+
---
|
|
1812
|
+
property_group_key: hardware
|
|
1813
|
+
---
|
|
1814
|
+
Manufacturer of the device. Represents the hardware brand, which may differ from the provider.
|
|
1815
|
+
`)
|
|
1780
1816
|
}).merge(device_capability_flags).describe(`
|
|
1781
1817
|
---
|
|
1782
1818
|
route_path: /devices
|
|
@@ -14235,6 +14271,11 @@ var openapi_default = {
|
|
|
14235
14271
|
},
|
|
14236
14272
|
type: "array"
|
|
14237
14273
|
},
|
|
14274
|
+
image_url: {
|
|
14275
|
+
description: "Logo URL for the connected account provider.",
|
|
14276
|
+
format: "uri",
|
|
14277
|
+
type: "string"
|
|
14278
|
+
},
|
|
14238
14279
|
user_identifier: {
|
|
14239
14280
|
deprecated: true,
|
|
14240
14281
|
description: "User identifier associated with the connected account.",
|
|
@@ -14535,6 +14576,56 @@ var openapi_default = {
|
|
|
14535
14576
|
format: "uuid",
|
|
14536
14577
|
type: "string"
|
|
14537
14578
|
},
|
|
14579
|
+
device_manufacturer: {
|
|
14580
|
+
description: "Manufacturer of the device. Represents the hardware brand, which may differ from the provider.",
|
|
14581
|
+
properties: {
|
|
14582
|
+
display_name: {
|
|
14583
|
+
description: "Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on.",
|
|
14584
|
+
type: "string"
|
|
14585
|
+
},
|
|
14586
|
+
image_url: {
|
|
14587
|
+
description: "Image URL for the manufacturer logo.",
|
|
14588
|
+
format: "uri",
|
|
14589
|
+
type: "string"
|
|
14590
|
+
},
|
|
14591
|
+
manufacturer: {
|
|
14592
|
+
description: "Manufacturer identifier, such as `august`, `yale`, `salto`, and so on.",
|
|
14593
|
+
type: "string"
|
|
14594
|
+
}
|
|
14595
|
+
},
|
|
14596
|
+
required: ["manufacturer", "display_name"],
|
|
14597
|
+
type: "object",
|
|
14598
|
+
"x-property-group-key": "hardware"
|
|
14599
|
+
},
|
|
14600
|
+
device_provider: {
|
|
14601
|
+
description: "Provider of the device. Represents the third-party service through which the device is controlled.",
|
|
14602
|
+
properties: {
|
|
14603
|
+
device_provider_name: {
|
|
14604
|
+
description: "Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on.",
|
|
14605
|
+
type: "string"
|
|
14606
|
+
},
|
|
14607
|
+
display_name: {
|
|
14608
|
+
description: "Display name for the device provider type.",
|
|
14609
|
+
type: "string"
|
|
14610
|
+
},
|
|
14611
|
+
image_url: {
|
|
14612
|
+
description: "Image URL for the device provider.",
|
|
14613
|
+
format: "uri",
|
|
14614
|
+
type: "string"
|
|
14615
|
+
},
|
|
14616
|
+
provider_category: {
|
|
14617
|
+
description: "Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations.",
|
|
14618
|
+
type: "string"
|
|
14619
|
+
}
|
|
14620
|
+
},
|
|
14621
|
+
required: [
|
|
14622
|
+
"provider_category",
|
|
14623
|
+
"device_provider_name",
|
|
14624
|
+
"display_name"
|
|
14625
|
+
],
|
|
14626
|
+
type: "object",
|
|
14627
|
+
"x-property-group-key": "hardware"
|
|
14628
|
+
},
|
|
14538
14629
|
device_type: {
|
|
14539
14630
|
description: "Type of the device.",
|
|
14540
14631
|
oneOf: [
|
|
@@ -49939,6 +50030,90 @@ var openapi_default = {
|
|
|
49939
50030
|
format: "uuid",
|
|
49940
50031
|
type: "string"
|
|
49941
50032
|
}
|
|
50033
|
+
},
|
|
50034
|
+
{
|
|
50035
|
+
in: "query",
|
|
50036
|
+
name: "access_grant_id",
|
|
50037
|
+
schema: {
|
|
50038
|
+
description: "ID of the access grant for which you want to list events.",
|
|
50039
|
+
format: "uuid",
|
|
50040
|
+
type: "string"
|
|
50041
|
+
}
|
|
50042
|
+
},
|
|
50043
|
+
{
|
|
50044
|
+
in: "query",
|
|
50045
|
+
name: "access_grant_ids",
|
|
50046
|
+
schema: {
|
|
50047
|
+
description: "IDs of the access grants for which you want to list events.",
|
|
50048
|
+
items: { format: "uuid", type: "string" },
|
|
50049
|
+
maxItems: 100,
|
|
50050
|
+
type: "array"
|
|
50051
|
+
}
|
|
50052
|
+
},
|
|
50053
|
+
{
|
|
50054
|
+
in: "query",
|
|
50055
|
+
name: "access_method_id",
|
|
50056
|
+
schema: {
|
|
50057
|
+
description: "ID of the access method for which you want to list events.",
|
|
50058
|
+
format: "uuid",
|
|
50059
|
+
type: "string"
|
|
50060
|
+
}
|
|
50061
|
+
},
|
|
50062
|
+
{
|
|
50063
|
+
in: "query",
|
|
50064
|
+
name: "access_method_ids",
|
|
50065
|
+
schema: {
|
|
50066
|
+
description: "IDs of the access methods for which you want to list events.",
|
|
50067
|
+
items: { format: "uuid", type: "string" },
|
|
50068
|
+
maxItems: 100,
|
|
50069
|
+
type: "array"
|
|
50070
|
+
}
|
|
50071
|
+
},
|
|
50072
|
+
{
|
|
50073
|
+
in: "query",
|
|
50074
|
+
name: "acs_credential_id",
|
|
50075
|
+
schema: {
|
|
50076
|
+
description: "ID of the ACS credential for which you want to list events.",
|
|
50077
|
+
format: "uuid",
|
|
50078
|
+
type: "string"
|
|
50079
|
+
}
|
|
50080
|
+
},
|
|
50081
|
+
{
|
|
50082
|
+
in: "query",
|
|
50083
|
+
name: "space_id",
|
|
50084
|
+
schema: {
|
|
50085
|
+
description: "ID of the space for which you want to list events.",
|
|
50086
|
+
format: "uuid",
|
|
50087
|
+
type: "string"
|
|
50088
|
+
}
|
|
50089
|
+
},
|
|
50090
|
+
{
|
|
50091
|
+
in: "query",
|
|
50092
|
+
name: "space_ids",
|
|
50093
|
+
schema: {
|
|
50094
|
+
description: "IDs of the spaces for which you want to list events.",
|
|
50095
|
+
items: { format: "uuid", type: "string" },
|
|
50096
|
+
maxItems: 100,
|
|
50097
|
+
type: "array"
|
|
50098
|
+
}
|
|
50099
|
+
},
|
|
50100
|
+
{
|
|
50101
|
+
in: "query",
|
|
50102
|
+
name: "acs_access_group_id",
|
|
50103
|
+
schema: {
|
|
50104
|
+
description: "ID of the ACS access group for which you want to list events.",
|
|
50105
|
+
format: "uuid",
|
|
50106
|
+
type: "string"
|
|
50107
|
+
}
|
|
50108
|
+
},
|
|
50109
|
+
{
|
|
50110
|
+
in: "query",
|
|
50111
|
+
name: "acs_encoder_id",
|
|
50112
|
+
schema: {
|
|
50113
|
+
description: "ID of the ACS encoder for which you want to list events.",
|
|
50114
|
+
format: "uuid",
|
|
50115
|
+
type: "string"
|
|
50116
|
+
}
|
|
49942
50117
|
}
|
|
49943
50118
|
],
|
|
49944
50119
|
responses: {
|
|
@@ -49996,6 +50171,43 @@ var openapi_default = {
|
|
|
49996
50171
|
items: { format: "uuid", type: "string" },
|
|
49997
50172
|
type: "array"
|
|
49998
50173
|
},
|
|
50174
|
+
access_grant_id: {
|
|
50175
|
+
description: "ID of the access grant for which you want to list events.",
|
|
50176
|
+
format: "uuid",
|
|
50177
|
+
type: "string"
|
|
50178
|
+
},
|
|
50179
|
+
access_grant_ids: {
|
|
50180
|
+
description: "IDs of the access grants for which you want to list events.",
|
|
50181
|
+
items: { format: "uuid", type: "string" },
|
|
50182
|
+
maxItems: 100,
|
|
50183
|
+
type: "array"
|
|
50184
|
+
},
|
|
50185
|
+
access_method_id: {
|
|
50186
|
+
description: "ID of the access method for which you want to list events.",
|
|
50187
|
+
format: "uuid",
|
|
50188
|
+
type: "string"
|
|
50189
|
+
},
|
|
50190
|
+
access_method_ids: {
|
|
50191
|
+
description: "IDs of the access methods for which you want to list events.",
|
|
50192
|
+
items: { format: "uuid", type: "string" },
|
|
50193
|
+
maxItems: 100,
|
|
50194
|
+
type: "array"
|
|
50195
|
+
},
|
|
50196
|
+
acs_access_group_id: {
|
|
50197
|
+
description: "ID of the ACS access group for which you want to list events.",
|
|
50198
|
+
format: "uuid",
|
|
50199
|
+
type: "string"
|
|
50200
|
+
},
|
|
50201
|
+
acs_credential_id: {
|
|
50202
|
+
description: "ID of the ACS credential for which you want to list events.",
|
|
50203
|
+
format: "uuid",
|
|
50204
|
+
type: "string"
|
|
50205
|
+
},
|
|
50206
|
+
acs_encoder_id: {
|
|
50207
|
+
description: "ID of the ACS encoder for which you want to list events.",
|
|
50208
|
+
format: "uuid",
|
|
50209
|
+
type: "string"
|
|
50210
|
+
},
|
|
49999
50211
|
acs_entrance_id: {
|
|
50000
50212
|
description: "ID of the ACS entrance for which you want to list events.",
|
|
50001
50213
|
format: "uuid",
|
|
@@ -50274,6 +50486,17 @@ var openapi_default = {
|
|
|
50274
50486
|
description: "Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`.",
|
|
50275
50487
|
type: "string"
|
|
50276
50488
|
},
|
|
50489
|
+
space_id: {
|
|
50490
|
+
description: "ID of the space for which you want to list events.",
|
|
50491
|
+
format: "uuid",
|
|
50492
|
+
type: "string"
|
|
50493
|
+
},
|
|
50494
|
+
space_ids: {
|
|
50495
|
+
description: "IDs of the spaces for which you want to list events.",
|
|
50496
|
+
items: { format: "uuid", type: "string" },
|
|
50497
|
+
maxItems: 100,
|
|
50498
|
+
type: "array"
|
|
50499
|
+
},
|
|
50277
50500
|
unstable_offset: {
|
|
50278
50501
|
description: "Offset for the events that you want to list.",
|
|
50279
50502
|
format: "float",
|