@seamapi/types 1.929.0 → 1.930.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 +9 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +24 -24
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +16 -16
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -5
- 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 +5 -5
- package/lib/seam/connect/openapi.js +4 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +11 -11
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +5 -5
- package/src/lib/seam/connect/openapi.ts +4 -4
- package/src/lib/seam/connect/route-types.ts +11 -11
package/dist/connect.cjs
CHANGED
|
@@ -2674,10 +2674,10 @@ var code_modified_external_to_seam_warning = common_access_code_warning.extend({
|
|
|
2674
2674
|
}).describe(
|
|
2675
2675
|
"Code was modified or removed externally after Seam successfully set it on the device."
|
|
2676
2676
|
);
|
|
2677
|
-
var
|
|
2678
|
-
warning_code: zod.z.literal("
|
|
2677
|
+
var code_rotates_periodically = common_access_code_warning.extend({
|
|
2678
|
+
warning_code: zod.z.literal("code_rotates_periodically").describe(warning_code_description3)
|
|
2679
2679
|
}).describe(
|
|
2680
|
-
"
|
|
2680
|
+
"The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use."
|
|
2681
2681
|
);
|
|
2682
2682
|
var schlage_access_code_ambiguous_timezone_dst_risk = common_access_code_warning.extend({
|
|
2683
2683
|
warning_code: zod.z.literal("schlage_access_code_ambiguous_timezone_dst_risk").describe(warning_code_description3)
|
|
@@ -2710,7 +2710,7 @@ var being_deleted2 = common_access_code_warning.extend({
|
|
|
2710
2710
|
warning_code: zod.z.literal("being_deleted").describe(warning_code_description3)
|
|
2711
2711
|
}).describe("Access code is being deleted.");
|
|
2712
2712
|
var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
2713
|
-
|
|
2713
|
+
code_rotates_periodically,
|
|
2714
2714
|
schlage_access_code_ambiguous_timezone_dst_risk,
|
|
2715
2715
|
code_modified_external_to_seam_warning,
|
|
2716
2716
|
delay_in_setting_on_device,
|
|
@@ -2724,7 +2724,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
2724
2724
|
"Warnings associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes)."
|
|
2725
2725
|
);
|
|
2726
2726
|
zod.z.object({
|
|
2727
|
-
|
|
2727
|
+
code_rotates_periodically: code_rotates_periodically.optional().nullable(),
|
|
2728
2728
|
schlage_access_code_ambiguous_timezone_dst_risk: schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
|
|
2729
2729
|
code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
|
|
2730
2730
|
delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
|
|
@@ -8828,7 +8828,7 @@ var openapi = {
|
|
|
8828
8828
|
discriminator: { propertyName: "warning_code" },
|
|
8829
8829
|
oneOf: [
|
|
8830
8830
|
{
|
|
8831
|
-
description: "
|
|
8831
|
+
description: "The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use.",
|
|
8832
8832
|
properties: {
|
|
8833
8833
|
created_at: {
|
|
8834
8834
|
description: "Date and time at which Seam created the warning.",
|
|
@@ -8841,7 +8841,7 @@ var openapi = {
|
|
|
8841
8841
|
},
|
|
8842
8842
|
warning_code: {
|
|
8843
8843
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
8844
|
-
enum: ["
|
|
8844
|
+
enum: ["code_rotates_periodically"],
|
|
8845
8845
|
type: "string"
|
|
8846
8846
|
}
|
|
8847
8847
|
},
|
|
@@ -34469,7 +34469,7 @@ var openapi = {
|
|
|
34469
34469
|
discriminator: { propertyName: "warning_code" },
|
|
34470
34470
|
oneOf: [
|
|
34471
34471
|
{
|
|
34472
|
-
description: "
|
|
34472
|
+
description: "The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use.",
|
|
34473
34473
|
properties: {
|
|
34474
34474
|
created_at: {
|
|
34475
34475
|
description: "Date and time at which Seam created the warning.",
|
|
@@ -34482,7 +34482,7 @@ var openapi = {
|
|
|
34482
34482
|
},
|
|
34483
34483
|
warning_code: {
|
|
34484
34484
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
34485
|
-
enum: ["
|
|
34485
|
+
enum: ["code_rotates_periodically"],
|
|
34486
34486
|
type: "string"
|
|
34487
34487
|
}
|
|
34488
34488
|
},
|