@seamapi/types 1.582.0 → 1.584.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 +52 -59
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +63 -258
- package/dist/index.cjs +52 -59
- 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 -9
- 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/models/batch.d.ts +0 -144
- package/lib/seam/connect/openapi.d.ts +54 -0
- package/lib/seam/connect/openapi.js +50 -52
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +9 -118
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -10
- package/src/lib/seam/connect/openapi.ts +50 -60
- package/src/lib/seam/connect/route-types.ts +13 -130
package/dist/index.cjs
CHANGED
|
@@ -2003,9 +2003,6 @@ var august_lock_invalid_code_length = common_access_code_error.extend({
|
|
|
2003
2003
|
var august_device_programming_delay_error = common_access_code_error.extend({
|
|
2004
2004
|
error_code: zod.z.literal("august_device_programming_delay").describe(error_code_description3)
|
|
2005
2005
|
}).describe("Access code has not yet been fully moved to the device.");
|
|
2006
|
-
var august_device_slots_full = common_access_code_error.extend({
|
|
2007
|
-
error_code: zod.z.literal("august_device_slots_full").describe(error_code_description3)
|
|
2008
|
-
}).describe("All access code slots on the device are full.");
|
|
2009
2006
|
var august_lock_temporarily_offline_error = common_access_code_error.extend({
|
|
2010
2007
|
error_code: zod.z.literal("august_lock_temporarily_offline").describe(error_code_description3)
|
|
2011
2008
|
}).describe("August lock is temporarily offline.");
|
|
@@ -2050,7 +2047,6 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2050
2047
|
code_modified_external_to_seam_error,
|
|
2051
2048
|
august_lock_invalid_code_length,
|
|
2052
2049
|
august_device_programming_delay_error,
|
|
2053
|
-
august_device_slots_full,
|
|
2054
2050
|
august_lock_missing_keypad,
|
|
2055
2051
|
august_lock_temporarily_offline_error,
|
|
2056
2052
|
salto_ks_user_not_subscribed,
|
|
@@ -2082,7 +2078,6 @@ zod.z.object({
|
|
|
2082
2078
|
august_lock_invalid_code_length: august_lock_invalid_code_length.optional().nullable(),
|
|
2083
2079
|
august_device_programming_delay: august_device_programming_delay_error.optional().nullable(),
|
|
2084
2080
|
august_lock_temporarily_offline: august_lock_temporarily_offline_error.optional().nullable(),
|
|
2085
|
-
august_device_slots_full: august_device_slots_full.optional().nullable(),
|
|
2086
2081
|
august_lock_missing_keypad: august_lock_missing_keypad.optional().nullable(),
|
|
2087
2082
|
salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable(),
|
|
2088
2083
|
hubitat_device_programming_delay: hubitat_device_programming_delay.optional().nullable(),
|
|
@@ -6160,32 +6155,6 @@ var openapi_default = {
|
|
|
6160
6155
|
required: ["message", "is_access_code_error", "error_code"],
|
|
6161
6156
|
type: "object"
|
|
6162
6157
|
},
|
|
6163
|
-
{
|
|
6164
|
-
description: "All access code slots on the device are full.",
|
|
6165
|
-
properties: {
|
|
6166
|
-
created_at: {
|
|
6167
|
-
description: "Date and time at which Seam created the error.",
|
|
6168
|
-
format: "date-time",
|
|
6169
|
-
type: "string"
|
|
6170
|
-
},
|
|
6171
|
-
error_code: {
|
|
6172
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
6173
|
-
enum: ["august_device_slots_full"],
|
|
6174
|
-
type: "string"
|
|
6175
|
-
},
|
|
6176
|
-
is_access_code_error: {
|
|
6177
|
-
description: "Indicates that this is an access code error.",
|
|
6178
|
-
enum: [true],
|
|
6179
|
-
type: "boolean"
|
|
6180
|
-
},
|
|
6181
|
-
message: {
|
|
6182
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
6183
|
-
type: "string"
|
|
6184
|
-
}
|
|
6185
|
-
},
|
|
6186
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
6187
|
-
type: "object"
|
|
6188
|
-
},
|
|
6189
6158
|
{
|
|
6190
6159
|
description: "August lock is missing a keypad.",
|
|
6191
6160
|
properties: {
|
|
@@ -25042,32 +25011,6 @@ var openapi_default = {
|
|
|
25042
25011
|
required: ["message", "is_access_code_error", "error_code"],
|
|
25043
25012
|
type: "object"
|
|
25044
25013
|
},
|
|
25045
|
-
{
|
|
25046
|
-
description: "All access code slots on the device are full.",
|
|
25047
|
-
properties: {
|
|
25048
|
-
created_at: {
|
|
25049
|
-
description: "Date and time at which Seam created the error.",
|
|
25050
|
-
format: "date-time",
|
|
25051
|
-
type: "string"
|
|
25052
|
-
},
|
|
25053
|
-
error_code: {
|
|
25054
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
25055
|
-
enum: ["august_device_slots_full"],
|
|
25056
|
-
type: "string"
|
|
25057
|
-
},
|
|
25058
|
-
is_access_code_error: {
|
|
25059
|
-
description: "Indicates that this is an access code error.",
|
|
25060
|
-
enum: [true],
|
|
25061
|
-
type: "boolean"
|
|
25062
|
-
},
|
|
25063
|
-
message: {
|
|
25064
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
25065
|
-
type: "string"
|
|
25066
|
-
}
|
|
25067
|
-
},
|
|
25068
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
25069
|
-
type: "object"
|
|
25070
|
-
},
|
|
25071
25014
|
{
|
|
25072
25015
|
description: "August lock is missing a keypad.",
|
|
25073
25016
|
properties: {
|
|
@@ -50188,7 +50131,8 @@ var openapi_default = {
|
|
|
50188
50131
|
enum: [
|
|
50189
50132
|
"reservation_created",
|
|
50190
50133
|
"reservation_time_updated",
|
|
50191
|
-
"reservation_deleted"
|
|
50134
|
+
"reservation_deleted",
|
|
50135
|
+
"space_name_updated"
|
|
50192
50136
|
],
|
|
50193
50137
|
type: "string"
|
|
50194
50138
|
}
|
|
@@ -50379,7 +50323,8 @@ var openapi_default = {
|
|
|
50379
50323
|
enum: [
|
|
50380
50324
|
"reservation_created",
|
|
50381
50325
|
"reservation_time_updated",
|
|
50382
|
-
"reservation_deleted"
|
|
50326
|
+
"reservation_deleted",
|
|
50327
|
+
"space_name_updated"
|
|
50383
50328
|
],
|
|
50384
50329
|
type: "string"
|
|
50385
50330
|
},
|
|
@@ -50650,6 +50595,19 @@ var openapi_default = {
|
|
|
50650
50595
|
},
|
|
50651
50596
|
required: ["rule"],
|
|
50652
50597
|
type: "object"
|
|
50598
|
+
},
|
|
50599
|
+
space_name_updated: {
|
|
50600
|
+
properties: {
|
|
50601
|
+
config: {
|
|
50602
|
+
$ref: "#/components/schemas/access_code"
|
|
50603
|
+
},
|
|
50604
|
+
rule: {
|
|
50605
|
+
enum: ["space_name_updated"],
|
|
50606
|
+
type: "string"
|
|
50607
|
+
}
|
|
50608
|
+
},
|
|
50609
|
+
required: ["rule"],
|
|
50610
|
+
type: "object"
|
|
50653
50611
|
}
|
|
50654
50612
|
},
|
|
50655
50613
|
type: "object"
|
|
@@ -50750,6 +50708,19 @@ var openapi_default = {
|
|
|
50750
50708
|
},
|
|
50751
50709
|
required: ["rule"],
|
|
50752
50710
|
type: "object"
|
|
50711
|
+
},
|
|
50712
|
+
space_name_updated: {
|
|
50713
|
+
properties: {
|
|
50714
|
+
config: {
|
|
50715
|
+
$ref: "#/components/schemas/access_code"
|
|
50716
|
+
},
|
|
50717
|
+
rule: {
|
|
50718
|
+
enum: ["space_name_updated"],
|
|
50719
|
+
type: "string"
|
|
50720
|
+
}
|
|
50721
|
+
},
|
|
50722
|
+
required: ["rule"],
|
|
50723
|
+
type: "object"
|
|
50753
50724
|
}
|
|
50754
50725
|
},
|
|
50755
50726
|
type: "object"
|
|
@@ -50848,6 +50819,17 @@ var openapi_default = {
|
|
|
50848
50819
|
},
|
|
50849
50820
|
required: ["rule"],
|
|
50850
50821
|
type: "object"
|
|
50822
|
+
},
|
|
50823
|
+
space_name_updated: {
|
|
50824
|
+
properties: {
|
|
50825
|
+
config: { properties: {}, type: "object" },
|
|
50826
|
+
rule: {
|
|
50827
|
+
enum: ["space_name_updated"],
|
|
50828
|
+
type: "string"
|
|
50829
|
+
}
|
|
50830
|
+
},
|
|
50831
|
+
required: ["rule"],
|
|
50832
|
+
type: "object"
|
|
50851
50833
|
}
|
|
50852
50834
|
},
|
|
50853
50835
|
type: "object"
|
|
@@ -50954,6 +50936,17 @@ var openapi_default = {
|
|
|
50954
50936
|
},
|
|
50955
50937
|
required: ["rule"],
|
|
50956
50938
|
type: "object"
|
|
50939
|
+
},
|
|
50940
|
+
space_name_updated: {
|
|
50941
|
+
properties: {
|
|
50942
|
+
config: { properties: {}, type: "object" },
|
|
50943
|
+
rule: {
|
|
50944
|
+
enum: ["space_name_updated"],
|
|
50945
|
+
type: "string"
|
|
50946
|
+
}
|
|
50947
|
+
},
|
|
50948
|
+
required: ["rule"],
|
|
50949
|
+
type: "object"
|
|
50957
50950
|
}
|
|
50958
50951
|
},
|
|
50959
50952
|
type: "object"
|