@seamapi/types 1.688.0 → 1.690.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 +96 -17
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +302 -16
- package/dist/index.cjs +96 -17
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.js +14 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
- package/lib/seam/connect/openapi.d.ts +35 -15
- package/lib/seam/connect/openapi.js +83 -14
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +154 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +15 -0
- package/src/lib/seam/connect/openapi.ts +92 -14
- package/src/lib/seam/connect/route-types.ts +174 -1
package/dist/connect.cjs
CHANGED
|
@@ -1446,6 +1446,14 @@ var keynest_unsupported_locker = common_device_warning.extend({
|
|
|
1446
1446
|
---
|
|
1447
1447
|
Indicates that the key is in a locker that does not support the access codes API.
|
|
1448
1448
|
`);
|
|
1449
|
+
var accessory_keypad_setup_required = common_device_warning.extend({
|
|
1450
|
+
warning_code: zod.z.literal("accessory_keypad_setup_required").describe(warning_code_description2)
|
|
1451
|
+
}).describe(`
|
|
1452
|
+
---
|
|
1453
|
+
variant_group_key: locks
|
|
1454
|
+
---
|
|
1455
|
+
Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.
|
|
1456
|
+
`);
|
|
1449
1457
|
var device_warning = zod.z.discriminatedUnion("warning_code", [
|
|
1450
1458
|
partial_backup_access_code_pool,
|
|
1451
1459
|
many_active_backup_codes,
|
|
@@ -1464,7 +1472,8 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
1464
1472
|
unknown_issue_with_phone,
|
|
1465
1473
|
lockly_time_zone_not_configured,
|
|
1466
1474
|
hub_required_for_addtional_capabilities,
|
|
1467
|
-
keynest_unsupported_locker
|
|
1475
|
+
keynest_unsupported_locker,
|
|
1476
|
+
accessory_keypad_setup_required
|
|
1468
1477
|
]);
|
|
1469
1478
|
zod.z.object({
|
|
1470
1479
|
partial_backup_access_code_pool: partial_backup_access_code_pool.optional().nullable(),
|
|
@@ -1487,7 +1496,8 @@ zod.z.object({
|
|
|
1487
1496
|
unknown_issue_with_phone: unknown_issue_with_phone.optional().nullable(),
|
|
1488
1497
|
lockly_time_zone_not_configured: lockly_time_zone_not_configured.optional().nullable(),
|
|
1489
1498
|
hub_required_for_addtional_capabilities: hub_required_for_addtional_capabilities.optional().nullable(),
|
|
1490
|
-
keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable()
|
|
1499
|
+
keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(),
|
|
1500
|
+
accessory_keypad_setup_required: accessory_keypad_setup_required.optional().nullable()
|
|
1491
1501
|
});
|
|
1492
1502
|
var common_device_properties = zod.z.object({
|
|
1493
1503
|
online: zod.z.boolean().describe("Indicates whether the device is online."),
|
|
@@ -17806,6 +17816,28 @@ var openapi_default = {
|
|
|
17806
17816
|
required: ["message", "created_at", "warning_code"],
|
|
17807
17817
|
type: "object",
|
|
17808
17818
|
"x-variant-group-key": "locks"
|
|
17819
|
+
},
|
|
17820
|
+
{
|
|
17821
|
+
description: "Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.",
|
|
17822
|
+
properties: {
|
|
17823
|
+
created_at: {
|
|
17824
|
+
description: "Date and time at which Seam created the warning.",
|
|
17825
|
+
format: "date-time",
|
|
17826
|
+
type: "string"
|
|
17827
|
+
},
|
|
17828
|
+
message: {
|
|
17829
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
17830
|
+
type: "string"
|
|
17831
|
+
},
|
|
17832
|
+
warning_code: {
|
|
17833
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
17834
|
+
enum: ["accessory_keypad_setup_required"],
|
|
17835
|
+
type: "string"
|
|
17836
|
+
}
|
|
17837
|
+
},
|
|
17838
|
+
required: ["message", "created_at", "warning_code"],
|
|
17839
|
+
type: "object",
|
|
17840
|
+
"x-variant-group-key": "locks"
|
|
17809
17841
|
}
|
|
17810
17842
|
]
|
|
17811
17843
|
},
|
|
@@ -29215,6 +29247,28 @@ var openapi_default = {
|
|
|
29215
29247
|
required: ["message", "created_at", "warning_code"],
|
|
29216
29248
|
type: "object",
|
|
29217
29249
|
"x-variant-group-key": "locks"
|
|
29250
|
+
},
|
|
29251
|
+
{
|
|
29252
|
+
description: "Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.",
|
|
29253
|
+
properties: {
|
|
29254
|
+
created_at: {
|
|
29255
|
+
description: "Date and time at which Seam created the warning.",
|
|
29256
|
+
format: "date-time",
|
|
29257
|
+
type: "string"
|
|
29258
|
+
},
|
|
29259
|
+
message: {
|
|
29260
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
29261
|
+
type: "string"
|
|
29262
|
+
},
|
|
29263
|
+
warning_code: {
|
|
29264
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
29265
|
+
enum: ["accessory_keypad_setup_required"],
|
|
29266
|
+
type: "string"
|
|
29267
|
+
}
|
|
29268
|
+
},
|
|
29269
|
+
required: ["message", "created_at", "warning_code"],
|
|
29270
|
+
type: "object",
|
|
29271
|
+
"x-variant-group-key": "locks"
|
|
29218
29272
|
}
|
|
29219
29273
|
]
|
|
29220
29274
|
},
|
|
@@ -55773,7 +55827,7 @@ var openapi_default = {
|
|
|
55773
55827
|
},
|
|
55774
55828
|
"/seam/customer/v1/connectors/create": {
|
|
55775
55829
|
post: {
|
|
55776
|
-
description: "Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API
|
|
55830
|
+
description: "Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.",
|
|
55777
55831
|
operationId: "seamCustomerV1ConnectorsCreatePost",
|
|
55778
55832
|
requestBody: {
|
|
55779
55833
|
content: {
|
|
@@ -55861,11 +55915,7 @@ var openapi_default = {
|
|
|
55861
55915
|
400: { description: "Bad Request" },
|
|
55862
55916
|
401: { description: "Unauthorized" }
|
|
55863
55917
|
},
|
|
55864
|
-
security: [
|
|
55865
|
-
{ api_key: [] },
|
|
55866
|
-
{ client_session_with_customer: [] },
|
|
55867
|
-
{ console_session_with_workspace: [] }
|
|
55868
|
-
],
|
|
55918
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
55869
55919
|
summary: "/seam/customer/v1/connectors/create",
|
|
55870
55920
|
tags: [],
|
|
55871
55921
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
|
|
@@ -55885,11 +55935,15 @@ var openapi_default = {
|
|
|
55885
55935
|
"application/json": {
|
|
55886
55936
|
schema: {
|
|
55887
55937
|
properties: {
|
|
55938
|
+
connector_customer_id: { type: "string" },
|
|
55888
55939
|
connector_id: {
|
|
55889
55940
|
description: "ID of the connector to delete",
|
|
55890
55941
|
minLength: 1,
|
|
55891
55942
|
type: "string"
|
|
55892
|
-
}
|
|
55943
|
+
},
|
|
55944
|
+
customer_id: { type: "string" },
|
|
55945
|
+
customer_key: { type: "string" },
|
|
55946
|
+
unique_provider_resource_key: { type: "string" }
|
|
55893
55947
|
},
|
|
55894
55948
|
required: ["connector_id"],
|
|
55895
55949
|
type: "object"
|
|
@@ -55924,11 +55978,7 @@ var openapi_default = {
|
|
|
55924
55978
|
400: { description: "Bad Request" },
|
|
55925
55979
|
401: { description: "Unauthorized" }
|
|
55926
55980
|
},
|
|
55927
|
-
security: [
|
|
55928
|
-
{ api_key: [] },
|
|
55929
|
-
{ client_session_with_customer: [] },
|
|
55930
|
-
{ console_session_with_workspace: [] }
|
|
55931
|
-
],
|
|
55981
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
55932
55982
|
summary: "/seam/customer/v1/connectors/delete",
|
|
55933
55983
|
tags: [],
|
|
55934
55984
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
|
|
@@ -56080,13 +56130,43 @@ var openapi_default = {
|
|
|
56080
56130
|
"application/json": {
|
|
56081
56131
|
schema: {
|
|
56082
56132
|
properties: {
|
|
56133
|
+
connector_customer_id: {
|
|
56134
|
+
description: "ID of the connector customer to sync",
|
|
56135
|
+
format: "uuid",
|
|
56136
|
+
nullable: true,
|
|
56137
|
+
type: "string"
|
|
56138
|
+
},
|
|
56083
56139
|
connector_id: {
|
|
56084
56140
|
description: "ID of the connector to sync",
|
|
56085
56141
|
format: "uuid",
|
|
56086
56142
|
type: "string"
|
|
56143
|
+
},
|
|
56144
|
+
connector_type: {
|
|
56145
|
+
description: "Type of the connector to sync",
|
|
56146
|
+
type: "string"
|
|
56147
|
+
},
|
|
56148
|
+
customer_id: {
|
|
56149
|
+
description: "ID of the customer to sync",
|
|
56150
|
+
type: "string"
|
|
56151
|
+
},
|
|
56152
|
+
customer_key: {
|
|
56153
|
+
description: "Key of the customer to sync",
|
|
56154
|
+
type: "string"
|
|
56155
|
+
},
|
|
56156
|
+
unique_provider_resource_key: {
|
|
56157
|
+
description: "Unique provider resource key of the connector to sync",
|
|
56158
|
+
nullable: true,
|
|
56159
|
+
type: "string"
|
|
56087
56160
|
}
|
|
56088
56161
|
},
|
|
56089
|
-
required: [
|
|
56162
|
+
required: [
|
|
56163
|
+
"connector_id",
|
|
56164
|
+
"connector_type",
|
|
56165
|
+
"customer_id",
|
|
56166
|
+
"customer_key",
|
|
56167
|
+
"connector_customer_id",
|
|
56168
|
+
"unique_provider_resource_key"
|
|
56169
|
+
],
|
|
56090
56170
|
type: "object"
|
|
56091
56171
|
}
|
|
56092
56172
|
}
|
|
@@ -56100,11 +56180,10 @@ var openapi_default = {
|
|
|
56100
56180
|
properties: {
|
|
56101
56181
|
connector_sync: {
|
|
56102
56182
|
properties: {
|
|
56103
|
-
connector_id: { type: "string" },
|
|
56104
56183
|
message: { type: "string" },
|
|
56105
56184
|
status: { type: "string" }
|
|
56106
56185
|
},
|
|
56107
|
-
required: ["
|
|
56186
|
+
required: ["status", "message"],
|
|
56108
56187
|
type: "object"
|
|
56109
56188
|
},
|
|
56110
56189
|
ok: { type: "boolean" }
|