@seamapi/types 1.924.0 → 1.925.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 +2 -66
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +0 -167
- package/dist/index.cjs +2 -66
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -71
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -14
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -26
- package/lib/seam/connect/openapi.js +0 -54
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -99
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -15
- package/src/lib/seam/connect/openapi.ts +0 -64
- package/src/lib/seam/connect/route-types.ts +0 -110
package/dist/connect.cjs
CHANGED
|
@@ -2579,14 +2579,6 @@ var salto_ks_user_not_subscribed = common_access_code_error.extend({
|
|
|
2579
2579
|
Salto site user is not subscribed.
|
|
2580
2580
|
`
|
|
2581
2581
|
);
|
|
2582
|
-
var replaced_by_newer_access_code = common_access_code_error.extend({
|
|
2583
|
-
error_code: zod.z.literal("replaced_by_newer_access_code").describe(error_code_description3)
|
|
2584
|
-
}).describe(`
|
|
2585
|
-
---
|
|
2586
|
-
resource_type: access_code
|
|
2587
|
-
---
|
|
2588
|
-
This access code was overridden on the device by a newer access code programmed to the same slot.
|
|
2589
|
-
`);
|
|
2590
2582
|
var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
2591
2583
|
provider_issue2,
|
|
2592
2584
|
failed_to_set_on_device,
|
|
@@ -2598,8 +2590,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2598
2590
|
code_modified_external_to_seam_error,
|
|
2599
2591
|
access_code_inactive_error,
|
|
2600
2592
|
salto_ks_user_not_subscribed,
|
|
2601
|
-
insufficient_permissions2
|
|
2602
|
-
replaced_by_newer_access_code
|
|
2593
|
+
insufficient_permissions2
|
|
2603
2594
|
]).describe(
|
|
2604
2595
|
"Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes)."
|
|
2605
2596
|
);
|
|
@@ -2614,8 +2605,7 @@ zod.z.object({
|
|
|
2614
2605
|
insufficient_permissions: insufficient_permissions2.optional().nullable(),
|
|
2615
2606
|
code_modified_external_to_seam_error: code_modified_external_to_seam_error.optional().nullable(),
|
|
2616
2607
|
access_code_inactive: access_code_inactive_error.optional().nullable(),
|
|
2617
|
-
salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable()
|
|
2618
|
-
replaced_by_newer_access_code: replaced_by_newer_access_code.optional().nullable()
|
|
2608
|
+
salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable()
|
|
2619
2609
|
});
|
|
2620
2610
|
var common_access_code_warning = zod.z.object({
|
|
2621
2611
|
message: zod.z.string().describe(
|
|
@@ -7921,33 +7911,6 @@ var openapi = {
|
|
|
7921
7911
|
type: "object",
|
|
7922
7912
|
"x-resource-type": "access_code"
|
|
7923
7913
|
},
|
|
7924
|
-
{
|
|
7925
|
-
description: "This access code was overridden on the device by a newer access code programmed to the same slot.",
|
|
7926
|
-
properties: {
|
|
7927
|
-
created_at: {
|
|
7928
|
-
description: "Date and time at which Seam created the error.",
|
|
7929
|
-
format: "date-time",
|
|
7930
|
-
type: "string"
|
|
7931
|
-
},
|
|
7932
|
-
error_code: {
|
|
7933
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
7934
|
-
enum: ["replaced_by_newer_access_code"],
|
|
7935
|
-
type: "string"
|
|
7936
|
-
},
|
|
7937
|
-
is_access_code_error: {
|
|
7938
|
-
description: "Indicates that this is an access code error.",
|
|
7939
|
-
enum: [true],
|
|
7940
|
-
type: "boolean"
|
|
7941
|
-
},
|
|
7942
|
-
message: {
|
|
7943
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7944
|
-
type: "string"
|
|
7945
|
-
}
|
|
7946
|
-
},
|
|
7947
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
7948
|
-
type: "object",
|
|
7949
|
-
"x-resource-type": "access_code"
|
|
7950
|
-
},
|
|
7951
7914
|
{
|
|
7952
7915
|
description: "Indicates that the account is disconnected.",
|
|
7953
7916
|
properties: {
|
|
@@ -33756,33 +33719,6 @@ var openapi = {
|
|
|
33756
33719
|
type: "object",
|
|
33757
33720
|
"x-resource-type": "access_code"
|
|
33758
33721
|
},
|
|
33759
|
-
{
|
|
33760
|
-
description: "This access code was overridden on the device by a newer access code programmed to the same slot.",
|
|
33761
|
-
properties: {
|
|
33762
|
-
created_at: {
|
|
33763
|
-
description: "Date and time at which Seam created the error.",
|
|
33764
|
-
format: "date-time",
|
|
33765
|
-
type: "string"
|
|
33766
|
-
},
|
|
33767
|
-
error_code: {
|
|
33768
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
33769
|
-
enum: ["replaced_by_newer_access_code"],
|
|
33770
|
-
type: "string"
|
|
33771
|
-
},
|
|
33772
|
-
is_access_code_error: {
|
|
33773
|
-
description: "Indicates that this is an access code error.",
|
|
33774
|
-
enum: [true],
|
|
33775
|
-
type: "boolean"
|
|
33776
|
-
},
|
|
33777
|
-
message: {
|
|
33778
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
33779
|
-
type: "string"
|
|
33780
|
-
}
|
|
33781
|
-
},
|
|
33782
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
33783
|
-
type: "object",
|
|
33784
|
-
"x-resource-type": "access_code"
|
|
33785
|
-
},
|
|
33786
33722
|
{
|
|
33787
33723
|
description: "Indicates that the account is disconnected.",
|
|
33788
33724
|
properties: {
|