@seamapi/types 1.809.0 → 1.811.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 +106 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +256 -0
- package/dist/index.cjs +106 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +33 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/spaces/space.d.ts +36 -0
- package/lib/seam/connect/models/spaces/space.js +20 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +92 -0
- package/lib/seam/connect/openapi.js +92 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +108 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/models/spaces/space.ts +26 -0
- package/src/lib/seam/connect/openapi.ts +107 -0
- package/src/lib/seam/connect/route-types.ts +132 -0
package/dist/connect.cjs
CHANGED
|
@@ -2014,7 +2014,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2014
2014
|
"keynest",
|
|
2015
2015
|
"hotek",
|
|
2016
2016
|
"ultraloq",
|
|
2017
|
-
"dormakaba_oracode"
|
|
2017
|
+
"dormakaba_oracode",
|
|
2018
|
+
"ring"
|
|
2018
2019
|
],
|
|
2019
2020
|
consumer_smartlocks: [
|
|
2020
2021
|
"akiles",
|
|
@@ -2032,7 +2033,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2032
2033
|
"ultraloq",
|
|
2033
2034
|
"dormakaba_oracode"
|
|
2034
2035
|
],
|
|
2035
|
-
beta: ["korelock"
|
|
2036
|
+
beta: ["korelock"],
|
|
2036
2037
|
thermostats: ["ecobee", "nest", "sensi", "honeywell_resideo"],
|
|
2037
2038
|
noise_sensors: ["minut", "noiseaware"],
|
|
2038
2039
|
access_control_systems: [
|
|
@@ -6408,6 +6409,16 @@ var noise_threshold = zod.z.object({
|
|
|
6408
6409
|
---
|
|
6409
6410
|
Represents a [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/latest/capability-guides/noise-sensors). Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them.
|
|
6410
6411
|
`);
|
|
6412
|
+
var time_of_day_re = /^([01]\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/;
|
|
6413
|
+
var space_customer_data = zod.z.object({
|
|
6414
|
+
time_zone: zod.z.string().nullish().describe("IANA time zone for the space, e.g. America/Los_Angeles."),
|
|
6415
|
+
default_checkin_time: zod.z.string().regex(time_of_day_re).nullish().describe(
|
|
6416
|
+
"Default check-in time for reservations at the space, as HH:mm or HH:mm:ss."
|
|
6417
|
+
),
|
|
6418
|
+
default_checkout_time: zod.z.string().regex(time_of_day_re).nullish().describe(
|
|
6419
|
+
"Default check-out time for reservations at the space, as HH:mm or HH:mm:ss."
|
|
6420
|
+
)
|
|
6421
|
+
}).describe("Reservation/stay-related defaults for the space.");
|
|
6411
6422
|
var space = zod.z.object({
|
|
6412
6423
|
space_id: zod.z.string().uuid().describe("ID of the space."),
|
|
6413
6424
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -6420,6 +6431,7 @@ var space = zod.z.object({
|
|
|
6420
6431
|
device_count: zod.z.number().describe("Number of devices in the space."),
|
|
6421
6432
|
acs_entrance_count: zod.z.number().describe("Number of entrances in the space."),
|
|
6422
6433
|
customer_key: zod.z.string().optional().describe("Customer key associated with the space."),
|
|
6434
|
+
customer_data: space_customer_data.optional(),
|
|
6423
6435
|
parent_space_id: zod.z.string().uuid().optional().describe(`
|
|
6424
6436
|
---
|
|
6425
6437
|
undocumented: Only used internally.
|
|
@@ -30016,6 +30028,29 @@ var openapi_default = {
|
|
|
30016
30028
|
format: "date-time",
|
|
30017
30029
|
type: "string"
|
|
30018
30030
|
},
|
|
30031
|
+
customer_data: {
|
|
30032
|
+
description: "Reservation/stay-related defaults for the space.",
|
|
30033
|
+
properties: {
|
|
30034
|
+
default_checkin_time: {
|
|
30035
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
30036
|
+
nullable: true,
|
|
30037
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
30038
|
+
type: "string"
|
|
30039
|
+
},
|
|
30040
|
+
default_checkout_time: {
|
|
30041
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
30042
|
+
nullable: true,
|
|
30043
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
30044
|
+
type: "string"
|
|
30045
|
+
},
|
|
30046
|
+
time_zone: {
|
|
30047
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
30048
|
+
nullable: true,
|
|
30049
|
+
type: "string"
|
|
30050
|
+
}
|
|
30051
|
+
},
|
|
30052
|
+
type: "object"
|
|
30053
|
+
},
|
|
30019
30054
|
customer_key: {
|
|
30020
30055
|
description: "Customer key associated with the space.",
|
|
30021
30056
|
type: "string"
|
|
@@ -74824,6 +74859,29 @@ var openapi_default = {
|
|
|
74824
74859
|
items: { format: "uuid", type: "string" },
|
|
74825
74860
|
type: "array"
|
|
74826
74861
|
},
|
|
74862
|
+
customer_data: {
|
|
74863
|
+
description: "Reservation/stay-related defaults for the space.",
|
|
74864
|
+
properties: {
|
|
74865
|
+
default_checkin_time: {
|
|
74866
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
74867
|
+
nullable: true,
|
|
74868
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
74869
|
+
type: "string"
|
|
74870
|
+
},
|
|
74871
|
+
default_checkout_time: {
|
|
74872
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
74873
|
+
nullable: true,
|
|
74874
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
74875
|
+
type: "string"
|
|
74876
|
+
},
|
|
74877
|
+
time_zone: {
|
|
74878
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
74879
|
+
nullable: true,
|
|
74880
|
+
type: "string"
|
|
74881
|
+
}
|
|
74882
|
+
},
|
|
74883
|
+
type: "object"
|
|
74884
|
+
},
|
|
74827
74885
|
customer_key: {
|
|
74828
74886
|
description: "Customer key for which you want to create the space.",
|
|
74829
74887
|
minLength: 1,
|
|
@@ -75762,6 +75820,29 @@ var openapi_default = {
|
|
|
75762
75820
|
items: { format: "uuid", type: "string" },
|
|
75763
75821
|
type: "array"
|
|
75764
75822
|
},
|
|
75823
|
+
customer_data: {
|
|
75824
|
+
description: "Reservation/stay-related defaults for the space. Only the keys you provide are updated; omit a key to leave it unchanged. Pass null on a key to clear it.",
|
|
75825
|
+
properties: {
|
|
75826
|
+
default_checkin_time: {
|
|
75827
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
75828
|
+
nullable: true,
|
|
75829
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
75830
|
+
type: "string"
|
|
75831
|
+
},
|
|
75832
|
+
default_checkout_time: {
|
|
75833
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
75834
|
+
nullable: true,
|
|
75835
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
75836
|
+
type: "string"
|
|
75837
|
+
},
|
|
75838
|
+
time_zone: {
|
|
75839
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
75840
|
+
nullable: true,
|
|
75841
|
+
type: "string"
|
|
75842
|
+
}
|
|
75843
|
+
},
|
|
75844
|
+
type: "object"
|
|
75845
|
+
},
|
|
75765
75846
|
customer_key: {
|
|
75766
75847
|
description: "Customer key for which you want to update the space.",
|
|
75767
75848
|
minLength: 1,
|
|
@@ -75834,6 +75915,29 @@ var openapi_default = {
|
|
|
75834
75915
|
items: { format: "uuid", type: "string" },
|
|
75835
75916
|
type: "array"
|
|
75836
75917
|
},
|
|
75918
|
+
customer_data: {
|
|
75919
|
+
description: "Reservation/stay-related defaults for the space. Only the keys you provide are updated; omit a key to leave it unchanged. Pass null on a key to clear it.",
|
|
75920
|
+
properties: {
|
|
75921
|
+
default_checkin_time: {
|
|
75922
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
75923
|
+
nullable: true,
|
|
75924
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
75925
|
+
type: "string"
|
|
75926
|
+
},
|
|
75927
|
+
default_checkout_time: {
|
|
75928
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
75929
|
+
nullable: true,
|
|
75930
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
75931
|
+
type: "string"
|
|
75932
|
+
},
|
|
75933
|
+
time_zone: {
|
|
75934
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
75935
|
+
nullable: true,
|
|
75936
|
+
type: "string"
|
|
75937
|
+
}
|
|
75938
|
+
},
|
|
75939
|
+
type: "object"
|
|
75940
|
+
},
|
|
75837
75941
|
customer_key: {
|
|
75838
75942
|
description: "Customer key for which you want to update the space.",
|
|
75839
75943
|
minLength: 1,
|