@seamapi/types 1.763.0 → 1.765.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 +53 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +206 -0
- package/dist/index.cjs +53 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +58 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +9 -0
- 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 +21 -0
- package/lib/seam/connect/models/batch.d.ts +58 -0
- package/lib/seam/connect/openapi.d.ts +16 -0
- package/lib/seam/connect/openapi.js +44 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +77 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +52 -0
- package/src/lib/seam/connect/route-types.ts +88 -0
package/dist/connect.cjs
CHANGED
|
@@ -2289,6 +2289,11 @@ var ultraloq_access_code_disabled = common_access_code_warning.extend({
|
|
|
2289
2289
|
}).describe(
|
|
2290
2290
|
"Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app."
|
|
2291
2291
|
);
|
|
2292
|
+
var using_backup_access_code = common_access_code_warning.extend({
|
|
2293
|
+
warning_code: zod.z.literal("using_backup_access_code").describe(warning_code_description3)
|
|
2294
|
+
}).describe(
|
|
2295
|
+
"A backup access code has been pulled and is being used in place of this access code."
|
|
2296
|
+
);
|
|
2292
2297
|
var being_deleted2 = common_access_code_warning.extend({
|
|
2293
2298
|
warning_code: zod.z.literal("being_deleted").describe(warning_code_description3)
|
|
2294
2299
|
}).describe("Access code is being deleted.");
|
|
@@ -2306,6 +2311,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
2306
2311
|
management_transferred,
|
|
2307
2312
|
kwikset_unable_to_confirm_code_warning,
|
|
2308
2313
|
ultraloq_access_code_disabled,
|
|
2314
|
+
using_backup_access_code,
|
|
2309
2315
|
being_deleted2
|
|
2310
2316
|
]).describe(
|
|
2311
2317
|
"Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes)."
|
|
@@ -2324,6 +2330,7 @@ zod.z.object({
|
|
|
2324
2330
|
management_transferred: management_transferred.optional().nullable(),
|
|
2325
2331
|
kwikset_unable_to_confirm_code_warning: kwikset_unable_to_confirm_code_warning.optional().nullable(),
|
|
2326
2332
|
ultraloq_access_code_disabled: ultraloq_access_code_disabled.optional().nullable(),
|
|
2333
|
+
using_backup_access_code: using_backup_access_code.optional().nullable(),
|
|
2327
2334
|
being_deleted: being_deleted2.optional().nullable()
|
|
2328
2335
|
});
|
|
2329
2336
|
var dormakaba_oracode_access_code_metadata = zod.z.object({
|
|
@@ -8059,6 +8066,27 @@ var openapi_default = {
|
|
|
8059
8066
|
required: ["message", "warning_code"],
|
|
8060
8067
|
type: "object"
|
|
8061
8068
|
},
|
|
8069
|
+
{
|
|
8070
|
+
description: "A backup access code has been pulled and is being used in place of this access code.",
|
|
8071
|
+
properties: {
|
|
8072
|
+
created_at: {
|
|
8073
|
+
description: "Date and time at which Seam created the warning.",
|
|
8074
|
+
format: "date-time",
|
|
8075
|
+
type: "string"
|
|
8076
|
+
},
|
|
8077
|
+
message: {
|
|
8078
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
8079
|
+
type: "string"
|
|
8080
|
+
},
|
|
8081
|
+
warning_code: {
|
|
8082
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
8083
|
+
enum: ["using_backup_access_code"],
|
|
8084
|
+
type: "string"
|
|
8085
|
+
}
|
|
8086
|
+
},
|
|
8087
|
+
required: ["message", "warning_code"],
|
|
8088
|
+
type: "object"
|
|
8089
|
+
},
|
|
8062
8090
|
{
|
|
8063
8091
|
description: "Access code is being deleted.",
|
|
8064
8092
|
properties: {
|
|
@@ -30845,6 +30873,27 @@ var openapi_default = {
|
|
|
30845
30873
|
required: ["message", "warning_code"],
|
|
30846
30874
|
type: "object"
|
|
30847
30875
|
},
|
|
30876
|
+
{
|
|
30877
|
+
description: "A backup access code has been pulled and is being used in place of this access code.",
|
|
30878
|
+
properties: {
|
|
30879
|
+
created_at: {
|
|
30880
|
+
description: "Date and time at which Seam created the warning.",
|
|
30881
|
+
format: "date-time",
|
|
30882
|
+
type: "string"
|
|
30883
|
+
},
|
|
30884
|
+
message: {
|
|
30885
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
30886
|
+
type: "string"
|
|
30887
|
+
},
|
|
30888
|
+
warning_code: {
|
|
30889
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
30890
|
+
enum: ["using_backup_access_code"],
|
|
30891
|
+
type: "string"
|
|
30892
|
+
}
|
|
30893
|
+
},
|
|
30894
|
+
required: ["message", "warning_code"],
|
|
30895
|
+
type: "object"
|
|
30896
|
+
},
|
|
30848
30897
|
{
|
|
30849
30898
|
description: "Access code is being deleted.",
|
|
30850
30899
|
properties: {
|
|
@@ -42416,7 +42465,8 @@ var openapi_default = {
|
|
|
42416
42465
|
security: [
|
|
42417
42466
|
{ pat_with_workspace: [] },
|
|
42418
42467
|
{ console_session_with_workspace: [] },
|
|
42419
|
-
{ api_key: [] }
|
|
42468
|
+
{ api_key: [] },
|
|
42469
|
+
{ client_session_with_customer: [] }
|
|
42420
42470
|
],
|
|
42421
42471
|
summary: "/access_methods/unmanaged/list",
|
|
42422
42472
|
tags: [],
|
|
@@ -42830,7 +42880,8 @@ var openapi_default = {
|
|
|
42830
42880
|
security: [
|
|
42831
42881
|
{ pat_with_workspace: [] },
|
|
42832
42882
|
{ console_session_with_workspace: [] },
|
|
42833
|
-
{ api_key: [] }
|
|
42883
|
+
{ api_key: [] },
|
|
42884
|
+
{ client_session_with_customer: [] }
|
|
42834
42885
|
],
|
|
42835
42886
|
summary: "/access_methods/unmanaged/list",
|
|
42836
42887
|
tags: [],
|