@seamapi/types 1.764.0 → 1.766.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 +65 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +210 -0
- package/dist/index.cjs +65 -0
- 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/models/customer/customer-portal.d.ts +14 -0
- package/lib/seam/connect/models/customer/customer-portal.js +5 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +16 -0
- package/lib/seam/connect/openapi.js +58 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +81 -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/models/customer/customer-portal.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +69 -0
- package/src/lib/seam/connect/route-types.ts +92 -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: {
|
|
@@ -51455,6 +51504,7 @@ var openapi_default = {
|
|
|
51455
51504
|
manage: {
|
|
51456
51505
|
exclude: false,
|
|
51457
51506
|
exclude_reservation_management: false,
|
|
51507
|
+
exclude_reservation_technical_details: false,
|
|
51458
51508
|
exclude_staff_management: false
|
|
51459
51509
|
},
|
|
51460
51510
|
manage_devices: { exclude: false },
|
|
@@ -51598,6 +51648,11 @@ var openapi_default = {
|
|
|
51598
51648
|
description: "Indicates whether the customer can manage reservations for their properties.",
|
|
51599
51649
|
type: "boolean"
|
|
51600
51650
|
},
|
|
51651
|
+
exclude_reservation_technical_details: {
|
|
51652
|
+
default: false,
|
|
51653
|
+
description: "Indicates whether to exclude technical details from reservation views.",
|
|
51654
|
+
type: "boolean"
|
|
51655
|
+
},
|
|
51601
51656
|
exclude_staff_management: {
|
|
51602
51657
|
default: false,
|
|
51603
51658
|
description: "Indicates whether the customer can manage staff for their properties.",
|
|
@@ -67313,6 +67368,11 @@ var openapi_default = {
|
|
|
67313
67368
|
description: "Indicates whether the customer can manage reservations for their properties.",
|
|
67314
67369
|
type: "boolean"
|
|
67315
67370
|
},
|
|
67371
|
+
exclude_reservation_technical_details: {
|
|
67372
|
+
default: false,
|
|
67373
|
+
description: "Indicates whether to exclude technical details from reservation views.",
|
|
67374
|
+
type: "boolean"
|
|
67375
|
+
},
|
|
67316
67376
|
exclude_staff_management: {
|
|
67317
67377
|
default: false,
|
|
67318
67378
|
description: "Indicates whether the customer can manage staff for their properties.",
|
|
@@ -67681,6 +67741,11 @@ var openapi_default = {
|
|
|
67681
67741
|
description: "Indicates whether the customer can manage reservations for their properties.",
|
|
67682
67742
|
type: "boolean"
|
|
67683
67743
|
},
|
|
67744
|
+
exclude_reservation_technical_details: {
|
|
67745
|
+
default: false,
|
|
67746
|
+
description: "Indicates whether to exclude technical details from reservation views.",
|
|
67747
|
+
type: "boolean"
|
|
67748
|
+
},
|
|
67684
67749
|
exclude_staff_management: {
|
|
67685
67750
|
default: false,
|
|
67686
67751
|
description: "Indicates whether the customer can manage staff for their properties.",
|