@seamapi/types 1.809.0 → 1.810.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 CHANGED
@@ -6408,6 +6408,16 @@ var noise_threshold = zod.z.object({
6408
6408
  ---
6409
6409
  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
6410
  `);
6411
+ var time_of_day_re = /^([01]\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/;
6412
+ var space_customer_data = zod.z.object({
6413
+ time_zone: zod.z.string().nullish().describe("IANA time zone for the space, e.g. America/Los_Angeles."),
6414
+ default_checkin_time: zod.z.string().regex(time_of_day_re).nullish().describe(
6415
+ "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss."
6416
+ ),
6417
+ default_checkout_time: zod.z.string().regex(time_of_day_re).nullish().describe(
6418
+ "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss."
6419
+ )
6420
+ }).describe("Reservation/stay-related defaults for the space.");
6411
6421
  var space = zod.z.object({
6412
6422
  space_id: zod.z.string().uuid().describe("ID of the space."),
6413
6423
  workspace_id: zod.z.string().uuid().describe(
@@ -6420,6 +6430,7 @@ var space = zod.z.object({
6420
6430
  device_count: zod.z.number().describe("Number of devices in the space."),
6421
6431
  acs_entrance_count: zod.z.number().describe("Number of entrances in the space."),
6422
6432
  customer_key: zod.z.string().optional().describe("Customer key associated with the space."),
6433
+ customer_data: space_customer_data.optional(),
6423
6434
  parent_space_id: zod.z.string().uuid().optional().describe(`
6424
6435
  ---
6425
6436
  undocumented: Only used internally.
@@ -30016,6 +30027,29 @@ var openapi_default = {
30016
30027
  format: "date-time",
30017
30028
  type: "string"
30018
30029
  },
30030
+ customer_data: {
30031
+ description: "Reservation/stay-related defaults for the space.",
30032
+ properties: {
30033
+ default_checkin_time: {
30034
+ description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
30035
+ nullable: true,
30036
+ pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
30037
+ type: "string"
30038
+ },
30039
+ default_checkout_time: {
30040
+ description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
30041
+ nullable: true,
30042
+ pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
30043
+ type: "string"
30044
+ },
30045
+ time_zone: {
30046
+ description: "IANA time zone for the space, e.g. America/Los_Angeles.",
30047
+ nullable: true,
30048
+ type: "string"
30049
+ }
30050
+ },
30051
+ type: "object"
30052
+ },
30019
30053
  customer_key: {
30020
30054
  description: "Customer key associated with the space.",
30021
30055
  type: "string"
@@ -74824,6 +74858,29 @@ var openapi_default = {
74824
74858
  items: { format: "uuid", type: "string" },
74825
74859
  type: "array"
74826
74860
  },
74861
+ customer_data: {
74862
+ description: "Reservation/stay-related defaults for the space.",
74863
+ properties: {
74864
+ default_checkin_time: {
74865
+ description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
74866
+ nullable: true,
74867
+ pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
74868
+ type: "string"
74869
+ },
74870
+ default_checkout_time: {
74871
+ description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
74872
+ nullable: true,
74873
+ pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
74874
+ type: "string"
74875
+ },
74876
+ time_zone: {
74877
+ description: "IANA time zone for the space, e.g. America/Los_Angeles.",
74878
+ nullable: true,
74879
+ type: "string"
74880
+ }
74881
+ },
74882
+ type: "object"
74883
+ },
74827
74884
  customer_key: {
74828
74885
  description: "Customer key for which you want to create the space.",
74829
74886
  minLength: 1,
@@ -75762,6 +75819,29 @@ var openapi_default = {
75762
75819
  items: { format: "uuid", type: "string" },
75763
75820
  type: "array"
75764
75821
  },
75822
+ customer_data: {
75823
+ 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.",
75824
+ properties: {
75825
+ default_checkin_time: {
75826
+ description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
75827
+ nullable: true,
75828
+ pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
75829
+ type: "string"
75830
+ },
75831
+ default_checkout_time: {
75832
+ description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
75833
+ nullable: true,
75834
+ pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
75835
+ type: "string"
75836
+ },
75837
+ time_zone: {
75838
+ description: "IANA time zone for the space, e.g. America/Los_Angeles.",
75839
+ nullable: true,
75840
+ type: "string"
75841
+ }
75842
+ },
75843
+ type: "object"
75844
+ },
75765
75845
  customer_key: {
75766
75846
  description: "Customer key for which you want to update the space.",
75767
75847
  minLength: 1,
@@ -75834,6 +75914,29 @@ var openapi_default = {
75834
75914
  items: { format: "uuid", type: "string" },
75835
75915
  type: "array"
75836
75916
  },
75917
+ customer_data: {
75918
+ 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.",
75919
+ properties: {
75920
+ default_checkin_time: {
75921
+ description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
75922
+ nullable: true,
75923
+ pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
75924
+ type: "string"
75925
+ },
75926
+ default_checkout_time: {
75927
+ description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
75928
+ nullable: true,
75929
+ pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
75930
+ type: "string"
75931
+ },
75932
+ time_zone: {
75933
+ description: "IANA time zone for the space, e.g. America/Los_Angeles.",
75934
+ nullable: true,
75935
+ type: "string"
75936
+ }
75937
+ },
75938
+ type: "object"
75939
+ },
75837
75940
  customer_key: {
75838
75941
  description: "Customer key for which you want to update the space.",
75839
75942
  minLength: 1,