@seamapi/types 1.808.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"
@@ -41640,7 +41674,6 @@ var openapi_default = {
41640
41674
  ],
41641
41675
  summary: "/access_methods/delete",
41642
41676
  tags: [],
41643
- "x-draft": "Early access.",
41644
41677
  "x-fern-sdk-group-name": ["access_methods"],
41645
41678
  "x-fern-sdk-method-name": "delete",
41646
41679
  "x-response-key": null,
@@ -41715,7 +41748,6 @@ var openapi_default = {
41715
41748
  ],
41716
41749
  summary: "/access_methods/delete",
41717
41750
  tags: [],
41718
- "x-draft": "Early access.",
41719
41751
  "x-fern-sdk-group-name": ["access_methods"],
41720
41752
  "x-fern-sdk-method-name": "delete",
41721
41753
  "x-response-key": null,
@@ -41828,7 +41860,6 @@ var openapi_default = {
41828
41860
  ],
41829
41861
  summary: "/access_methods/get",
41830
41862
  tags: [],
41831
- "x-draft": "Early access.",
41832
41863
  "x-fern-sdk-group-name": ["access_methods"],
41833
41864
  "x-fern-sdk-method-name": "get",
41834
41865
  "x-fern-sdk-return-value": "access_method",
@@ -41883,7 +41914,6 @@ var openapi_default = {
41883
41914
  ],
41884
41915
  summary: "/access_methods/get",
41885
41916
  tags: [],
41886
- "x-draft": "Early access.",
41887
41917
  "x-fern-sdk-group-name": ["access_methods"],
41888
41918
  "x-fern-sdk-method-name": "get",
41889
41919
  "x-fern-sdk-return-value": "access_method",
@@ -42028,7 +42058,6 @@ var openapi_default = {
42028
42058
  "client_sessions",
42029
42059
  "acs_credentials"
42030
42060
  ],
42031
- "x-draft": "Early access.",
42032
42061
  "x-fern-sdk-group-name": ["access_methods"],
42033
42062
  "x-fern-sdk-method-name": "get_related",
42034
42063
  "x-fern-sdk-return-value": "batch",
@@ -42166,7 +42195,6 @@ var openapi_default = {
42166
42195
  "client_sessions",
42167
42196
  "acs_credentials"
42168
42197
  ],
42169
- "x-draft": "Early access.",
42170
42198
  "x-fern-sdk-group-name": ["access_methods"],
42171
42199
  "x-fern-sdk-method-name": "get_related",
42172
42200
  "x-fern-sdk-return-value": "batch",
@@ -42264,7 +42292,6 @@ var openapi_default = {
42264
42292
  ],
42265
42293
  summary: "/access_methods/list",
42266
42294
  tags: [],
42267
- "x-draft": "Early access.",
42268
42295
  "x-fern-sdk-group-name": ["access_methods"],
42269
42296
  "x-fern-sdk-method-name": "list",
42270
42297
  "x-fern-sdk-return-value": "access_methods",
@@ -42345,7 +42372,6 @@ var openapi_default = {
42345
42372
  ],
42346
42373
  summary: "/access_methods/list",
42347
42374
  tags: [],
42348
- "x-draft": "Early access.",
42349
42375
  "x-fern-sdk-group-name": ["access_methods"],
42350
42376
  "x-fern-sdk-method-name": "list",
42351
42377
  "x-fern-sdk-return-value": "access_methods",
@@ -42738,7 +42764,6 @@ var openapi_default = {
42738
42764
  ],
42739
42765
  summary: "/access_methods/unmanaged/get",
42740
42766
  tags: [],
42741
- "x-draft": "Early access.",
42742
42767
  "x-fern-sdk-group-name": ["access_methods", "unmanaged"],
42743
42768
  "x-fern-sdk-method-name": "get",
42744
42769
  "x-fern-sdk-return-value": "access_method",
@@ -43134,7 +43159,6 @@ var openapi_default = {
43134
43159
  ],
43135
43160
  summary: "/access_methods/unmanaged/get",
43136
43161
  tags: [],
43137
- "x-draft": "Early access.",
43138
43162
  "x-fern-sdk-group-name": ["access_methods", "unmanaged"],
43139
43163
  "x-fern-sdk-method-name": "get",
43140
43164
  "x-fern-sdk-return-value": "access_method",
@@ -43561,7 +43585,6 @@ var openapi_default = {
43561
43585
  ],
43562
43586
  summary: "/access_methods/unmanaged/list",
43563
43587
  tags: [],
43564
- "x-draft": "Early access.",
43565
43588
  "x-fern-sdk-group-name": ["access_methods", "unmanaged"],
43566
43589
  "x-fern-sdk-method-name": "list",
43567
43590
  "x-fern-sdk-return-value": "access_methods",
@@ -43976,7 +43999,6 @@ var openapi_default = {
43976
43999
  ],
43977
44000
  summary: "/access_methods/unmanaged/list",
43978
44001
  tags: [],
43979
- "x-draft": "Early access.",
43980
44002
  "x-fern-sdk-group-name": ["access_methods", "unmanaged"],
43981
44003
  "x-fern-sdk-method-name": "list",
43982
44004
  "x-fern-sdk-return-value": "access_methods",
@@ -74649,7 +74671,6 @@ var openapi_default = {
74649
74671
  ],
74650
74672
  summary: "/spaces/add_acs_entrances",
74651
74673
  tags: [],
74652
- "x-draft": "Early access.",
74653
74674
  "x-fern-sdk-group-name": ["spaces"],
74654
74675
  "x-fern-sdk-method-name": "add_acs_entrances",
74655
74676
  "x-response-key": null,
@@ -74705,7 +74726,6 @@ var openapi_default = {
74705
74726
  ],
74706
74727
  summary: "/spaces/add_acs_entrances",
74707
74728
  tags: [],
74708
- "x-draft": "Early access.",
74709
74729
  "x-fern-sdk-group-name": ["spaces"],
74710
74730
  "x-fern-sdk-method-name": "add_acs_entrances",
74711
74731
  "x-response-key": null,
@@ -74763,7 +74783,6 @@ var openapi_default = {
74763
74783
  ],
74764
74784
  summary: "/spaces/add_devices",
74765
74785
  tags: [],
74766
- "x-draft": "Early access.",
74767
74786
  "x-fern-sdk-group-name": ["spaces"],
74768
74787
  "x-fern-sdk-method-name": "add_devices",
74769
74788
  "x-response-key": null,
@@ -74819,7 +74838,6 @@ var openapi_default = {
74819
74838
  ],
74820
74839
  summary: "/spaces/add_devices",
74821
74840
  tags: [],
74822
- "x-draft": "Early access.",
74823
74841
  "x-fern-sdk-group-name": ["spaces"],
74824
74842
  "x-fern-sdk-method-name": "add_devices",
74825
74843
  "x-response-key": null,
@@ -74840,6 +74858,29 @@ var openapi_default = {
74840
74858
  items: { format: "uuid", type: "string" },
74841
74859
  type: "array"
74842
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
+ },
74843
74884
  customer_key: {
74844
74885
  description: "Customer key for which you want to create the space.",
74845
74886
  minLength: 1,
@@ -74892,7 +74933,6 @@ var openapi_default = {
74892
74933
  ],
74893
74934
  summary: "/spaces/create",
74894
74935
  tags: [],
74895
- "x-draft": "Early access.",
74896
74936
  "x-fern-sdk-group-name": ["spaces"],
74897
74937
  "x-fern-sdk-method-name": "create",
74898
74938
  "x-fern-sdk-return-value": "space",
@@ -74945,7 +74985,6 @@ var openapi_default = {
74945
74985
  ],
74946
74986
  summary: "/spaces/delete",
74947
74987
  tags: [],
74948
- "x-draft": "Early access.",
74949
74988
  "x-fern-sdk-group-name": ["spaces"],
74950
74989
  "x-fern-sdk-method-name": "delete",
74951
74990
  "x-response-key": null,
@@ -74995,7 +75034,6 @@ var openapi_default = {
74995
75034
  ],
74996
75035
  summary: "/spaces/delete",
74997
75036
  tags: [],
74998
- "x-draft": "Early access.",
74999
75037
  "x-fern-sdk-group-name": ["spaces"],
75000
75038
  "x-fern-sdk-method-name": "delete",
75001
75039
  "x-response-key": null,
@@ -75033,7 +75071,6 @@ var openapi_default = {
75033
75071
  ],
75034
75072
  summary: "/spaces/get",
75035
75073
  tags: [],
75036
- "x-draft": "Early access.",
75037
75074
  "x-fern-sdk-group-name": ["spaces"],
75038
75075
  "x-fern-sdk-method-name": "get",
75039
75076
  "x-fern-sdk-return-value": "space",
@@ -75101,7 +75138,6 @@ var openapi_default = {
75101
75138
  ],
75102
75139
  summary: "/spaces/get",
75103
75140
  tags: [],
75104
- "x-draft": "Early access.",
75105
75141
  "x-fern-sdk-group-name": ["spaces"],
75106
75142
  "x-fern-sdk-method-name": "get",
75107
75143
  "x-fern-sdk-return-value": "space",
@@ -75236,7 +75272,6 @@ var openapi_default = {
75236
75272
  "acs_systems",
75237
75273
  "access_methods"
75238
75274
  ],
75239
- "x-draft": "Early access.",
75240
75275
  "x-fern-sdk-group-name": ["spaces"],
75241
75276
  "x-fern-sdk-method-name": "get_related",
75242
75277
  "x-fern-sdk-return-value": "batch",
@@ -75362,7 +75397,6 @@ var openapi_default = {
75362
75397
  "acs_systems",
75363
75398
  "access_methods"
75364
75399
  ],
75365
- "x-draft": "Early access.",
75366
75400
  "x-fern-sdk-group-name": ["spaces"],
75367
75401
  "x-fern-sdk-method-name": "get_related",
75368
75402
  "x-fern-sdk-return-value": "batch",
@@ -75462,7 +75496,6 @@ var openapi_default = {
75462
75496
  ],
75463
75497
  summary: "/spaces/list",
75464
75498
  tags: [],
75465
- "x-draft": "Early access.",
75466
75499
  "x-fern-sdk-group-name": ["spaces"],
75467
75500
  "x-fern-sdk-method-name": "list",
75468
75501
  "x-fern-sdk-return-value": "spaces",
@@ -75545,7 +75578,6 @@ var openapi_default = {
75545
75578
  ],
75546
75579
  summary: "/spaces/list",
75547
75580
  tags: [],
75548
- "x-draft": "Early access.",
75549
75581
  "x-fern-sdk-group-name": ["spaces"],
75550
75582
  "x-fern-sdk-method-name": "list",
75551
75583
  "x-fern-sdk-return-value": "spaces",
@@ -75603,7 +75635,6 @@ var openapi_default = {
75603
75635
  ],
75604
75636
  summary: "/spaces/remove_acs_entrances",
75605
75637
  tags: [],
75606
- "x-draft": "Early access.",
75607
75638
  "x-fern-sdk-group-name": ["spaces"],
75608
75639
  "x-fern-sdk-method-name": "remove_acs_entrances",
75609
75640
  "x-response-key": null,
@@ -75658,7 +75689,6 @@ var openapi_default = {
75658
75689
  ],
75659
75690
  summary: "/spaces/remove_acs_entrances",
75660
75691
  tags: [],
75661
- "x-draft": "Early access.",
75662
75692
  "x-fern-sdk-group-name": ["spaces"],
75663
75693
  "x-fern-sdk-method-name": "remove_acs_entrances",
75664
75694
  "x-response-key": null,
@@ -75715,7 +75745,6 @@ var openapi_default = {
75715
75745
  ],
75716
75746
  summary: "/spaces/remove_devices",
75717
75747
  tags: [],
75718
- "x-draft": "Early access.",
75719
75748
  "x-fern-sdk-group-name": ["spaces"],
75720
75749
  "x-fern-sdk-method-name": "remove_devices",
75721
75750
  "x-response-key": null,
@@ -75770,7 +75799,6 @@ var openapi_default = {
75770
75799
  ],
75771
75800
  summary: "/spaces/remove_devices",
75772
75801
  tags: [],
75773
- "x-draft": "Early access.",
75774
75802
  "x-fern-sdk-group-name": ["spaces"],
75775
75803
  "x-fern-sdk-method-name": "remove_devices",
75776
75804
  "x-response-key": null,
@@ -75791,6 +75819,29 @@ var openapi_default = {
75791
75819
  items: { format: "uuid", type: "string" },
75792
75820
  type: "array"
75793
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
+ },
75794
75845
  customer_key: {
75795
75846
  description: "Customer key for which you want to update the space.",
75796
75847
  minLength: 1,
@@ -75844,7 +75895,6 @@ var openapi_default = {
75844
75895
  ],
75845
75896
  summary: "/spaces/update",
75846
75897
  tags: [],
75847
- "x-draft": "Early access.",
75848
75898
  "x-fern-sdk-group-name": ["spaces"],
75849
75899
  "x-fern-sdk-method-name": "update",
75850
75900
  "x-fern-sdk-return-value": "space",
@@ -75864,6 +75914,29 @@ var openapi_default = {
75864
75914
  items: { format: "uuid", type: "string" },
75865
75915
  type: "array"
75866
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
+ },
75867
75940
  customer_key: {
75868
75941
  description: "Customer key for which you want to update the space.",
75869
75942
  minLength: 1,
@@ -75917,7 +75990,6 @@ var openapi_default = {
75917
75990
  ],
75918
75991
  summary: "/spaces/update",
75919
75992
  tags: [],
75920
- "x-draft": "Early access.",
75921
75993
  "x-fern-sdk-group-name": ["spaces"],
75922
75994
  "x-fern-sdk-method-name": "update",
75923
75995
  "x-fern-sdk-return-value": "space",