@seamapi/types 1.959.0 → 1.960.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 +49 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +132 -0
- package/dist/index.cjs +49 -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 +11 -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/openapi.js +42 -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 +50 -0
- package/src/lib/seam/connect/route-types.ts +88 -0
package/dist/connect.cjs
CHANGED
|
@@ -2728,6 +2728,9 @@ var using_backup_access_code = common_access_code_warning.extend({
|
|
|
2728
2728
|
var being_deleted2 = common_access_code_warning.extend({
|
|
2729
2729
|
warning_code: zod.z.literal("being_deleted").describe(warning_code_description3)
|
|
2730
2730
|
}).describe("Access code is being deleted.");
|
|
2731
|
+
var unknown_issue_with_access_code = common_access_code_warning.extend({
|
|
2732
|
+
warning_code: zod.z.literal("unknown_issue_with_access_code").describe(warning_code_description3)
|
|
2733
|
+
}).describe("An unknown issue occurred with the access code.");
|
|
2731
2734
|
var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
2732
2735
|
code_rotates_periodically,
|
|
2733
2736
|
time_frame_adjusted_for_unknown_time_zone,
|
|
@@ -2738,7 +2741,8 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
2738
2741
|
igloo_algopin_must_be_used_within_24_hours,
|
|
2739
2742
|
management_transferred,
|
|
2740
2743
|
using_backup_access_code,
|
|
2741
|
-
being_deleted2
|
|
2744
|
+
being_deleted2,
|
|
2745
|
+
unknown_issue_with_access_code
|
|
2742
2746
|
]).describe(
|
|
2743
2747
|
"Warnings associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes)."
|
|
2744
2748
|
);
|
|
@@ -2752,7 +2756,8 @@ zod.z.object({
|
|
|
2752
2756
|
igloo_algopin_must_be_used_within_24_hours: igloo_algopin_must_be_used_within_24_hours.optional().nullable(),
|
|
2753
2757
|
management_transferred: management_transferred.optional().nullable(),
|
|
2754
2758
|
using_backup_access_code: using_backup_access_code.optional().nullable(),
|
|
2755
|
-
being_deleted: being_deleted2.optional().nullable()
|
|
2759
|
+
being_deleted: being_deleted2.optional().nullable(),
|
|
2760
|
+
unknown_issue_with_access_code: unknown_issue_with_access_code.optional().nullable()
|
|
2756
2761
|
});
|
|
2757
2762
|
var dormakaba_oracode_access_code_metadata = zod.z.object({
|
|
2758
2763
|
stay_id: zod.z.number().optional().describe("Dormakaba Oracode stay ID associated with this access code."),
|
|
@@ -9036,6 +9041,27 @@ var openapi = {
|
|
|
9036
9041
|
},
|
|
9037
9042
|
required: ["message", "warning_code"],
|
|
9038
9043
|
type: "object"
|
|
9044
|
+
},
|
|
9045
|
+
{
|
|
9046
|
+
description: "An unknown issue occurred with the access code.",
|
|
9047
|
+
properties: {
|
|
9048
|
+
created_at: {
|
|
9049
|
+
description: "Date and time at which Seam created the warning.",
|
|
9050
|
+
format: "date-time",
|
|
9051
|
+
type: "string"
|
|
9052
|
+
},
|
|
9053
|
+
message: {
|
|
9054
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
9055
|
+
type: "string"
|
|
9056
|
+
},
|
|
9057
|
+
warning_code: {
|
|
9058
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9059
|
+
enum: ["unknown_issue_with_access_code"],
|
|
9060
|
+
type: "string"
|
|
9061
|
+
}
|
|
9062
|
+
},
|
|
9063
|
+
required: ["message", "warning_code"],
|
|
9064
|
+
type: "object"
|
|
9039
9065
|
}
|
|
9040
9066
|
]
|
|
9041
9067
|
},
|
|
@@ -34959,6 +34985,27 @@ var openapi = {
|
|
|
34959
34985
|
},
|
|
34960
34986
|
required: ["message", "warning_code"],
|
|
34961
34987
|
type: "object"
|
|
34988
|
+
},
|
|
34989
|
+
{
|
|
34990
|
+
description: "An unknown issue occurred with the access code.",
|
|
34991
|
+
properties: {
|
|
34992
|
+
created_at: {
|
|
34993
|
+
description: "Date and time at which Seam created the warning.",
|
|
34994
|
+
format: "date-time",
|
|
34995
|
+
type: "string"
|
|
34996
|
+
},
|
|
34997
|
+
message: {
|
|
34998
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
34999
|
+
type: "string"
|
|
35000
|
+
},
|
|
35001
|
+
warning_code: {
|
|
35002
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
35003
|
+
enum: ["unknown_issue_with_access_code"],
|
|
35004
|
+
type: "string"
|
|
35005
|
+
}
|
|
35006
|
+
},
|
|
35007
|
+
required: ["message", "warning_code"],
|
|
35008
|
+
type: "object"
|
|
34962
35009
|
}
|
|
34963
35010
|
]
|
|
34964
35011
|
},
|