@seamapi/types 1.823.0 → 1.825.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 +18 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +65 -16
- package/dist/index.cjs +18 -5
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +13 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -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 +8 -3
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +2 -2
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +19 -5
- package/lib/seam/connect/openapi.js +12 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +7 -0
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +2 -2
- package/src/lib/seam/connect/openapi.ts +14 -2
- package/src/lib/seam/connect/route-types.ts +30 -8
package/dist/connect.cjs
CHANGED
|
@@ -2260,7 +2260,10 @@ var failed_to_remove_from_device = common_access_code_error.extend({
|
|
|
2260
2260
|
error_code: zod.z.literal("failed_to_remove_from_device").describe(error_code_description3)
|
|
2261
2261
|
}).describe("Failed to remove code from device.");
|
|
2262
2262
|
var duplicate_code_on_device = common_access_code_error.extend({
|
|
2263
|
-
error_code: zod.z.literal("duplicate_code_on_device").describe(error_code_description3)
|
|
2263
|
+
error_code: zod.z.literal("duplicate_code_on_device").describe(error_code_description3),
|
|
2264
|
+
unmanaged_access_code_id: zod.z.string().uuid().optional().describe(
|
|
2265
|
+
"ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it."
|
|
2266
|
+
)
|
|
2264
2267
|
}).describe("Duplicate access code detected on device.");
|
|
2265
2268
|
var duplicate_code_attempt_prevented = common_access_code_error.extend({
|
|
2266
2269
|
error_code: zod.z.literal("duplicate_code_attempt_prevented").describe(error_code_description3)
|
|
@@ -2624,8 +2627,8 @@ var unmanaged_access_code = access_code.pick({
|
|
|
2624
2627
|
ends_at: true
|
|
2625
2628
|
}).extend({
|
|
2626
2629
|
is_managed: zod.z.literal(false).describe("Indicates that Seam does not manage the access code."),
|
|
2627
|
-
status: zod.z.enum(["set"]).describe(
|
|
2628
|
-
"Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational."
|
|
2630
|
+
status: zod.z.enum(["set", "unset"]).describe(
|
|
2631
|
+
"Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device."
|
|
2629
2632
|
),
|
|
2630
2633
|
dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata.nullable().optional().describe(
|
|
2631
2634
|
"Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices."
|
|
@@ -7135,6 +7138,11 @@ var openapi = {
|
|
|
7135
7138
|
message: {
|
|
7136
7139
|
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7137
7140
|
type: "string"
|
|
7141
|
+
},
|
|
7142
|
+
unmanaged_access_code_id: {
|
|
7143
|
+
description: "ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.",
|
|
7144
|
+
format: "uuid",
|
|
7145
|
+
type: "string"
|
|
7138
7146
|
}
|
|
7139
7147
|
},
|
|
7140
7148
|
required: ["message", "is_access_code_error", "error_code"],
|
|
@@ -30669,6 +30677,11 @@ var openapi = {
|
|
|
30669
30677
|
message: {
|
|
30670
30678
|
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
30671
30679
|
type: "string"
|
|
30680
|
+
},
|
|
30681
|
+
unmanaged_access_code_id: {
|
|
30682
|
+
description: "ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.",
|
|
30683
|
+
format: "uuid",
|
|
30684
|
+
type: "string"
|
|
30672
30685
|
}
|
|
30673
30686
|
},
|
|
30674
30687
|
required: ["message", "is_access_code_error", "error_code"],
|
|
@@ -31600,8 +31613,8 @@ var openapi = {
|
|
|
31600
31613
|
type: "string"
|
|
31601
31614
|
},
|
|
31602
31615
|
status: {
|
|
31603
|
-
description: "Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational.",
|
|
31604
|
-
enum: ["set"],
|
|
31616
|
+
description: "Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device.",
|
|
31617
|
+
enum: ["set", "unset"],
|
|
31605
31618
|
type: "string"
|
|
31606
31619
|
},
|
|
31607
31620
|
type: {
|