@seamapi/types 1.738.0 → 1.739.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/index.cjs CHANGED
@@ -64176,6 +64176,1220 @@ var openapi_default = {
64176
64176
  "x-undocumented": "Internal endpoint for Console."
64177
64177
  }
64178
64178
  },
64179
+ "/seam/customer/v1/customers/automations/get": {
64180
+ get: {
64181
+ description: "Gets the automation configuration for a specific customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).",
64182
+ operationId: "seamCustomerV1CustomersAutomationsGetGet",
64183
+ parameters: [
64184
+ {
64185
+ in: "query",
64186
+ name: "customer_key",
64187
+ required: true,
64188
+ schema: { description: "Key of the customer.", type: "string" }
64189
+ }
64190
+ ],
64191
+ responses: {
64192
+ 200: {
64193
+ content: {
64194
+ "application/json": {
64195
+ schema: {
64196
+ properties: {
64197
+ automation: {
64198
+ properties: {
64199
+ access_rules: {
64200
+ properties: {
64201
+ reservation_created: {
64202
+ properties: {
64203
+ config: {
64204
+ properties: {
64205
+ access_methods: {
64206
+ items: {
64207
+ enum: ["card", "mobile_key", "code"],
64208
+ type: "string"
64209
+ },
64210
+ minItems: 1,
64211
+ type: "array"
64212
+ },
64213
+ card_count_on_reservation_create: {
64214
+ minimum: 0,
64215
+ type: "integer"
64216
+ },
64217
+ code_count_on_reservation_create: {
64218
+ minimum: 0,
64219
+ type: "integer"
64220
+ },
64221
+ instant_key_max_use_count: {
64222
+ minimum: 1,
64223
+ type: "integer"
64224
+ },
64225
+ method_issuance_strategy: {
64226
+ enum: [
64227
+ "first_available",
64228
+ "first_two_available",
64229
+ "all_available"
64230
+ ],
64231
+ type: "string"
64232
+ }
64233
+ },
64234
+ required: [
64235
+ "access_methods",
64236
+ "method_issuance_strategy"
64237
+ ],
64238
+ type: "object"
64239
+ },
64240
+ rule: {
64241
+ enum: ["reservation_created"],
64242
+ type: "string"
64243
+ }
64244
+ },
64245
+ required: ["rule", "config"],
64246
+ type: "object"
64247
+ },
64248
+ reservation_deleted: {
64249
+ properties: {
64250
+ config: {
64251
+ $ref: "#/components/schemas/access_code"
64252
+ },
64253
+ rule: {
64254
+ enum: ["reservation_deleted"],
64255
+ type: "string"
64256
+ }
64257
+ },
64258
+ required: ["rule"],
64259
+ type: "object"
64260
+ },
64261
+ reservation_spaces_updated: {
64262
+ properties: {
64263
+ config: {
64264
+ $ref: "#/components/schemas/access_code"
64265
+ },
64266
+ rule: {
64267
+ enum: ["reservation_spaces_updated"],
64268
+ type: "string"
64269
+ }
64270
+ },
64271
+ required: ["rule"],
64272
+ type: "object"
64273
+ },
64274
+ reservation_time_updated: {
64275
+ properties: {
64276
+ config: {
64277
+ $ref: "#/components/schemas/access_code"
64278
+ },
64279
+ rule: {
64280
+ enum: ["reservation_time_updated"],
64281
+ type: "string"
64282
+ }
64283
+ },
64284
+ required: ["rule"],
64285
+ type: "object"
64286
+ },
64287
+ space_name_updated: {
64288
+ properties: {
64289
+ config: {
64290
+ $ref: "#/components/schemas/access_code"
64291
+ },
64292
+ rule: {
64293
+ enum: ["space_name_updated"],
64294
+ type: "string"
64295
+ }
64296
+ },
64297
+ required: ["rule"],
64298
+ type: "object"
64299
+ },
64300
+ staff_member_created: {
64301
+ properties: {
64302
+ config: {
64303
+ $ref: "#/components/schemas/access_code"
64304
+ },
64305
+ rule: {
64306
+ enum: ["staff_member_created"],
64307
+ type: "string"
64308
+ }
64309
+ },
64310
+ required: ["rule", "config"],
64311
+ type: "object"
64312
+ },
64313
+ staff_member_name_updated: {
64314
+ properties: {
64315
+ config: {
64316
+ $ref: "#/components/schemas/access_code"
64317
+ },
64318
+ rule: {
64319
+ enum: ["staff_member_name_updated"],
64320
+ type: "string"
64321
+ }
64322
+ },
64323
+ required: ["rule"],
64324
+ type: "object"
64325
+ },
64326
+ user_identity_name_updated: {
64327
+ properties: {
64328
+ config: {
64329
+ $ref: "#/components/schemas/access_code"
64330
+ },
64331
+ rule: {
64332
+ enum: ["user_identity_name_updated"],
64333
+ type: "string"
64334
+ }
64335
+ },
64336
+ required: ["rule"],
64337
+ type: "object"
64338
+ }
64339
+ },
64340
+ type: "object"
64341
+ },
64342
+ climate_rules: {
64343
+ properties: {
64344
+ rules: {
64345
+ properties: {
64346
+ reservation_created: {
64347
+ properties: {
64348
+ automated_occupied_preset: {
64349
+ properties: {
64350
+ cooling_set_point_celsius: {
64351
+ format: "float",
64352
+ type: "number"
64353
+ },
64354
+ cooling_set_point_fahrenheit: {
64355
+ format: "float",
64356
+ type: "number"
64357
+ },
64358
+ fan_mode: {
64359
+ enum: ["on", "auto", "circulate"],
64360
+ type: "string"
64361
+ },
64362
+ heating_set_point_celsius: {
64363
+ format: "float",
64364
+ type: "number"
64365
+ },
64366
+ heating_set_point_fahrenheit: {
64367
+ format: "float",
64368
+ type: "number"
64369
+ },
64370
+ is_override_allowed: {
64371
+ type: "boolean"
64372
+ },
64373
+ max_override_period_minutes: {
64374
+ format: "float",
64375
+ type: "number"
64376
+ },
64377
+ mode: {
64378
+ enum: ["heat", "cool", "auto"],
64379
+ type: "string"
64380
+ }
64381
+ },
64382
+ required: [
64383
+ "mode",
64384
+ "fan_mode",
64385
+ "is_override_allowed",
64386
+ "max_override_period_minutes"
64387
+ ],
64388
+ type: "object"
64389
+ },
64390
+ automated_unoccupied_preset: {
64391
+ properties: {
64392
+ cooling_set_point_celsius: {
64393
+ format: "float",
64394
+ type: "number"
64395
+ },
64396
+ cooling_set_point_fahrenheit: {
64397
+ format: "float",
64398
+ type: "number"
64399
+ },
64400
+ fan_mode: {
64401
+ enum: ["on", "auto", "circulate"],
64402
+ type: "string"
64403
+ },
64404
+ heating_set_point_celsius: {
64405
+ format: "float",
64406
+ type: "number"
64407
+ },
64408
+ heating_set_point_fahrenheit: {
64409
+ format: "float",
64410
+ type: "number"
64411
+ },
64412
+ is_override_allowed: {
64413
+ type: "boolean"
64414
+ },
64415
+ max_override_period_minutes: {
64416
+ format: "float",
64417
+ type: "number"
64418
+ },
64419
+ mode: {
64420
+ enum: ["heat", "cool", "auto"],
64421
+ type: "string"
64422
+ }
64423
+ },
64424
+ required: [
64425
+ "mode",
64426
+ "fan_mode",
64427
+ "is_override_allowed",
64428
+ "max_override_period_minutes"
64429
+ ],
64430
+ type: "object"
64431
+ },
64432
+ occupied_preset_key: { type: "string" },
64433
+ precondition_minutes_before_reservation: {
64434
+ format: "float",
64435
+ type: "number"
64436
+ },
64437
+ unoccupied_preset_key: { type: "string" }
64438
+ },
64439
+ type: "object"
64440
+ },
64441
+ reservation_deleted: {
64442
+ $ref: "#/components/schemas/access_code"
64443
+ },
64444
+ reservation_time_updated: {
64445
+ $ref: "#/components/schemas/access_code"
64446
+ }
64447
+ },
64448
+ type: "object"
64449
+ }
64450
+ },
64451
+ required: ["rules"],
64452
+ type: "object"
64453
+ }
64454
+ },
64455
+ type: "object"
64456
+ },
64457
+ ok: { type: "boolean" }
64458
+ },
64459
+ required: ["automation", "ok"],
64460
+ type: "object"
64461
+ }
64462
+ }
64463
+ },
64464
+ description: "OK"
64465
+ },
64466
+ 400: { description: "Bad Request" },
64467
+ 401: { description: "Unauthorized" }
64468
+ },
64469
+ security: [
64470
+ { pat_with_workspace: [] },
64471
+ { console_session_with_workspace: [] },
64472
+ { api_key: [] }
64473
+ ],
64474
+ summary: "/seam/customer/v1/customers/automations/get",
64475
+ tags: [],
64476
+ "x-fern-sdk-group-name": [
64477
+ "seam",
64478
+ "customer",
64479
+ "v1",
64480
+ "customers",
64481
+ "automations"
64482
+ ],
64483
+ "x-fern-sdk-method-name": "get",
64484
+ "x-fern-sdk-return-value": "automation",
64485
+ "x-response-key": "automation",
64486
+ "x-title": "Get Customer Automation Configuration"
64487
+ },
64488
+ post: {
64489
+ description: "Gets the automation configuration for a specific customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).",
64490
+ operationId: "seamCustomerV1CustomersAutomationsGetPost",
64491
+ requestBody: {
64492
+ content: {
64493
+ "application/json": {
64494
+ schema: {
64495
+ properties: {
64496
+ customer_key: {
64497
+ description: "Key of the customer.",
64498
+ type: "string"
64499
+ }
64500
+ },
64501
+ required: ["customer_key"],
64502
+ type: "object"
64503
+ }
64504
+ }
64505
+ }
64506
+ },
64507
+ responses: {
64508
+ 200: {
64509
+ content: {
64510
+ "application/json": {
64511
+ schema: {
64512
+ properties: {
64513
+ automation: {
64514
+ properties: {
64515
+ access_rules: {
64516
+ properties: {
64517
+ reservation_created: {
64518
+ properties: {
64519
+ config: {
64520
+ properties: {
64521
+ access_methods: {
64522
+ items: {
64523
+ enum: ["card", "mobile_key", "code"],
64524
+ type: "string"
64525
+ },
64526
+ minItems: 1,
64527
+ type: "array"
64528
+ },
64529
+ card_count_on_reservation_create: {
64530
+ minimum: 0,
64531
+ type: "integer"
64532
+ },
64533
+ code_count_on_reservation_create: {
64534
+ minimum: 0,
64535
+ type: "integer"
64536
+ },
64537
+ instant_key_max_use_count: {
64538
+ minimum: 1,
64539
+ type: "integer"
64540
+ },
64541
+ method_issuance_strategy: {
64542
+ enum: [
64543
+ "first_available",
64544
+ "first_two_available",
64545
+ "all_available"
64546
+ ],
64547
+ type: "string"
64548
+ }
64549
+ },
64550
+ required: [
64551
+ "access_methods",
64552
+ "method_issuance_strategy"
64553
+ ],
64554
+ type: "object"
64555
+ },
64556
+ rule: {
64557
+ enum: ["reservation_created"],
64558
+ type: "string"
64559
+ }
64560
+ },
64561
+ required: ["rule", "config"],
64562
+ type: "object"
64563
+ },
64564
+ reservation_deleted: {
64565
+ properties: {
64566
+ config: {
64567
+ $ref: "#/components/schemas/access_code"
64568
+ },
64569
+ rule: {
64570
+ enum: ["reservation_deleted"],
64571
+ type: "string"
64572
+ }
64573
+ },
64574
+ required: ["rule"],
64575
+ type: "object"
64576
+ },
64577
+ reservation_spaces_updated: {
64578
+ properties: {
64579
+ config: {
64580
+ $ref: "#/components/schemas/access_code"
64581
+ },
64582
+ rule: {
64583
+ enum: ["reservation_spaces_updated"],
64584
+ type: "string"
64585
+ }
64586
+ },
64587
+ required: ["rule"],
64588
+ type: "object"
64589
+ },
64590
+ reservation_time_updated: {
64591
+ properties: {
64592
+ config: {
64593
+ $ref: "#/components/schemas/access_code"
64594
+ },
64595
+ rule: {
64596
+ enum: ["reservation_time_updated"],
64597
+ type: "string"
64598
+ }
64599
+ },
64600
+ required: ["rule"],
64601
+ type: "object"
64602
+ },
64603
+ space_name_updated: {
64604
+ properties: {
64605
+ config: {
64606
+ $ref: "#/components/schemas/access_code"
64607
+ },
64608
+ rule: {
64609
+ enum: ["space_name_updated"],
64610
+ type: "string"
64611
+ }
64612
+ },
64613
+ required: ["rule"],
64614
+ type: "object"
64615
+ },
64616
+ staff_member_created: {
64617
+ properties: {
64618
+ config: {
64619
+ $ref: "#/components/schemas/access_code"
64620
+ },
64621
+ rule: {
64622
+ enum: ["staff_member_created"],
64623
+ type: "string"
64624
+ }
64625
+ },
64626
+ required: ["rule", "config"],
64627
+ type: "object"
64628
+ },
64629
+ staff_member_name_updated: {
64630
+ properties: {
64631
+ config: {
64632
+ $ref: "#/components/schemas/access_code"
64633
+ },
64634
+ rule: {
64635
+ enum: ["staff_member_name_updated"],
64636
+ type: "string"
64637
+ }
64638
+ },
64639
+ required: ["rule"],
64640
+ type: "object"
64641
+ },
64642
+ user_identity_name_updated: {
64643
+ properties: {
64644
+ config: {
64645
+ $ref: "#/components/schemas/access_code"
64646
+ },
64647
+ rule: {
64648
+ enum: ["user_identity_name_updated"],
64649
+ type: "string"
64650
+ }
64651
+ },
64652
+ required: ["rule"],
64653
+ type: "object"
64654
+ }
64655
+ },
64656
+ type: "object"
64657
+ },
64658
+ climate_rules: {
64659
+ properties: {
64660
+ rules: {
64661
+ properties: {
64662
+ reservation_created: {
64663
+ properties: {
64664
+ automated_occupied_preset: {
64665
+ properties: {
64666
+ cooling_set_point_celsius: {
64667
+ format: "float",
64668
+ type: "number"
64669
+ },
64670
+ cooling_set_point_fahrenheit: {
64671
+ format: "float",
64672
+ type: "number"
64673
+ },
64674
+ fan_mode: {
64675
+ enum: ["on", "auto", "circulate"],
64676
+ type: "string"
64677
+ },
64678
+ heating_set_point_celsius: {
64679
+ format: "float",
64680
+ type: "number"
64681
+ },
64682
+ heating_set_point_fahrenheit: {
64683
+ format: "float",
64684
+ type: "number"
64685
+ },
64686
+ is_override_allowed: {
64687
+ type: "boolean"
64688
+ },
64689
+ max_override_period_minutes: {
64690
+ format: "float",
64691
+ type: "number"
64692
+ },
64693
+ mode: {
64694
+ enum: ["heat", "cool", "auto"],
64695
+ type: "string"
64696
+ }
64697
+ },
64698
+ required: [
64699
+ "mode",
64700
+ "fan_mode",
64701
+ "is_override_allowed",
64702
+ "max_override_period_minutes"
64703
+ ],
64704
+ type: "object"
64705
+ },
64706
+ automated_unoccupied_preset: {
64707
+ properties: {
64708
+ cooling_set_point_celsius: {
64709
+ format: "float",
64710
+ type: "number"
64711
+ },
64712
+ cooling_set_point_fahrenheit: {
64713
+ format: "float",
64714
+ type: "number"
64715
+ },
64716
+ fan_mode: {
64717
+ enum: ["on", "auto", "circulate"],
64718
+ type: "string"
64719
+ },
64720
+ heating_set_point_celsius: {
64721
+ format: "float",
64722
+ type: "number"
64723
+ },
64724
+ heating_set_point_fahrenheit: {
64725
+ format: "float",
64726
+ type: "number"
64727
+ },
64728
+ is_override_allowed: {
64729
+ type: "boolean"
64730
+ },
64731
+ max_override_period_minutes: {
64732
+ format: "float",
64733
+ type: "number"
64734
+ },
64735
+ mode: {
64736
+ enum: ["heat", "cool", "auto"],
64737
+ type: "string"
64738
+ }
64739
+ },
64740
+ required: [
64741
+ "mode",
64742
+ "fan_mode",
64743
+ "is_override_allowed",
64744
+ "max_override_period_minutes"
64745
+ ],
64746
+ type: "object"
64747
+ },
64748
+ occupied_preset_key: { type: "string" },
64749
+ precondition_minutes_before_reservation: {
64750
+ format: "float",
64751
+ type: "number"
64752
+ },
64753
+ unoccupied_preset_key: { type: "string" }
64754
+ },
64755
+ type: "object"
64756
+ },
64757
+ reservation_deleted: {
64758
+ $ref: "#/components/schemas/access_code"
64759
+ },
64760
+ reservation_time_updated: {
64761
+ $ref: "#/components/schemas/access_code"
64762
+ }
64763
+ },
64764
+ type: "object"
64765
+ }
64766
+ },
64767
+ required: ["rules"],
64768
+ type: "object"
64769
+ }
64770
+ },
64771
+ type: "object"
64772
+ },
64773
+ ok: { type: "boolean" }
64774
+ },
64775
+ required: ["automation", "ok"],
64776
+ type: "object"
64777
+ }
64778
+ }
64779
+ },
64780
+ description: "OK"
64781
+ },
64782
+ 400: { description: "Bad Request" },
64783
+ 401: { description: "Unauthorized" }
64784
+ },
64785
+ security: [
64786
+ { pat_with_workspace: [] },
64787
+ { console_session_with_workspace: [] },
64788
+ { api_key: [] }
64789
+ ],
64790
+ summary: "/seam/customer/v1/customers/automations/get",
64791
+ tags: [],
64792
+ "x-fern-sdk-group-name": [
64793
+ "seam",
64794
+ "customer",
64795
+ "v1",
64796
+ "customers",
64797
+ "automations"
64798
+ ],
64799
+ "x-fern-sdk-method-name": "get",
64800
+ "x-fern-sdk-return-value": "automation",
64801
+ "x-response-key": "automation",
64802
+ "x-title": "Get Customer Automation Configuration"
64803
+ }
64804
+ },
64805
+ "/seam/customer/v1/customers/automations/update": {
64806
+ patch: {
64807
+ description: "Updates the automation configuration for a specific customer.\nCreates a customer-level override if one does not already exist.",
64808
+ operationId: "seamCustomerV1CustomersAutomationsUpdatePatch",
64809
+ requestBody: {
64810
+ content: {
64811
+ "application/json": {
64812
+ schema: {
64813
+ properties: {
64814
+ access_rules: {
64815
+ description: "Access automation rules configuration.",
64816
+ properties: {
64817
+ reservation_created: {
64818
+ properties: {
64819
+ config: {
64820
+ properties: {
64821
+ access_methods: {
64822
+ items: {
64823
+ enum: ["card", "mobile_key", "code"],
64824
+ type: "string"
64825
+ },
64826
+ minItems: 1,
64827
+ type: "array"
64828
+ },
64829
+ card_count_on_reservation_create: {
64830
+ minimum: 0,
64831
+ type: "integer"
64832
+ },
64833
+ code_count_on_reservation_create: {
64834
+ minimum: 0,
64835
+ type: "integer"
64836
+ },
64837
+ instant_key_max_use_count: {
64838
+ minimum: 1,
64839
+ type: "integer"
64840
+ },
64841
+ method_issuance_strategy: {
64842
+ enum: [
64843
+ "first_available",
64844
+ "first_two_available",
64845
+ "all_available"
64846
+ ],
64847
+ type: "string"
64848
+ }
64849
+ },
64850
+ required: [
64851
+ "access_methods",
64852
+ "method_issuance_strategy"
64853
+ ],
64854
+ type: "object"
64855
+ },
64856
+ rule: {
64857
+ enum: ["reservation_created"],
64858
+ type: "string"
64859
+ }
64860
+ },
64861
+ required: ["rule", "config"],
64862
+ type: "object"
64863
+ },
64864
+ reservation_deleted: {
64865
+ properties: {
64866
+ config: { properties: {}, type: "object" },
64867
+ rule: {
64868
+ enum: ["reservation_deleted"],
64869
+ type: "string"
64870
+ }
64871
+ },
64872
+ required: ["rule"],
64873
+ type: "object"
64874
+ },
64875
+ reservation_spaces_updated: {
64876
+ properties: {
64877
+ config: { properties: {}, type: "object" },
64878
+ rule: {
64879
+ enum: ["reservation_spaces_updated"],
64880
+ type: "string"
64881
+ }
64882
+ },
64883
+ required: ["rule"],
64884
+ type: "object"
64885
+ },
64886
+ reservation_time_updated: {
64887
+ properties: {
64888
+ config: { properties: {}, type: "object" },
64889
+ rule: {
64890
+ enum: ["reservation_time_updated"],
64891
+ type: "string"
64892
+ }
64893
+ },
64894
+ required: ["rule"],
64895
+ type: "object"
64896
+ },
64897
+ space_name_updated: {
64898
+ properties: {
64899
+ config: { properties: {}, type: "object" },
64900
+ rule: {
64901
+ enum: ["space_name_updated"],
64902
+ type: "string"
64903
+ }
64904
+ },
64905
+ required: ["rule"],
64906
+ type: "object"
64907
+ },
64908
+ staff_member_created: {
64909
+ properties: {
64910
+ config: { properties: {}, type: "object" },
64911
+ rule: {
64912
+ enum: ["staff_member_created"],
64913
+ type: "string"
64914
+ }
64915
+ },
64916
+ required: ["rule", "config"],
64917
+ type: "object"
64918
+ },
64919
+ staff_member_name_updated: {
64920
+ properties: {
64921
+ config: { properties: {}, type: "object" },
64922
+ rule: {
64923
+ enum: ["staff_member_name_updated"],
64924
+ type: "string"
64925
+ }
64926
+ },
64927
+ required: ["rule"],
64928
+ type: "object"
64929
+ },
64930
+ user_identity_name_updated: {
64931
+ properties: {
64932
+ config: { properties: {}, type: "object" },
64933
+ rule: {
64934
+ enum: ["user_identity_name_updated"],
64935
+ type: "string"
64936
+ }
64937
+ },
64938
+ required: ["rule"],
64939
+ type: "object"
64940
+ }
64941
+ },
64942
+ type: "object"
64943
+ },
64944
+ climate_rules: {
64945
+ description: "Climate automation rules configuration.",
64946
+ properties: {
64947
+ rules: {
64948
+ properties: {
64949
+ reservation_created: {
64950
+ properties: {
64951
+ automated_occupied_preset: {
64952
+ properties: {
64953
+ cooling_set_point_celsius: {
64954
+ format: "float",
64955
+ type: "number"
64956
+ },
64957
+ cooling_set_point_fahrenheit: {
64958
+ format: "float",
64959
+ type: "number"
64960
+ },
64961
+ fan_mode: {
64962
+ enum: ["on", "auto", "circulate"],
64963
+ type: "string"
64964
+ },
64965
+ heating_set_point_celsius: {
64966
+ format: "float",
64967
+ type: "number"
64968
+ },
64969
+ heating_set_point_fahrenheit: {
64970
+ format: "float",
64971
+ type: "number"
64972
+ },
64973
+ is_override_allowed: { type: "boolean" },
64974
+ max_override_period_minutes: {
64975
+ format: "float",
64976
+ type: "number"
64977
+ },
64978
+ mode: {
64979
+ enum: ["heat", "cool", "auto"],
64980
+ type: "string"
64981
+ }
64982
+ },
64983
+ required: [
64984
+ "mode",
64985
+ "fan_mode",
64986
+ "is_override_allowed",
64987
+ "max_override_period_minutes"
64988
+ ],
64989
+ type: "object"
64990
+ },
64991
+ automated_unoccupied_preset: {
64992
+ properties: {
64993
+ cooling_set_point_celsius: {
64994
+ format: "float",
64995
+ type: "number"
64996
+ },
64997
+ cooling_set_point_fahrenheit: {
64998
+ format: "float",
64999
+ type: "number"
65000
+ },
65001
+ fan_mode: {
65002
+ enum: ["on", "auto", "circulate"],
65003
+ type: "string"
65004
+ },
65005
+ heating_set_point_celsius: {
65006
+ format: "float",
65007
+ type: "number"
65008
+ },
65009
+ heating_set_point_fahrenheit: {
65010
+ format: "float",
65011
+ type: "number"
65012
+ },
65013
+ is_override_allowed: { type: "boolean" },
65014
+ max_override_period_minutes: {
65015
+ format: "float",
65016
+ type: "number"
65017
+ },
65018
+ mode: {
65019
+ enum: ["heat", "cool", "auto"],
65020
+ type: "string"
65021
+ }
65022
+ },
65023
+ required: [
65024
+ "mode",
65025
+ "fan_mode",
65026
+ "is_override_allowed",
65027
+ "max_override_period_minutes"
65028
+ ],
65029
+ type: "object"
65030
+ },
65031
+ occupied_preset_key: { type: "string" },
65032
+ precondition_minutes_before_reservation: {
65033
+ format: "float",
65034
+ type: "number"
65035
+ },
65036
+ unoccupied_preset_key: { type: "string" }
65037
+ },
65038
+ type: "object"
65039
+ },
65040
+ reservation_deleted: {
65041
+ properties: {},
65042
+ type: "object"
65043
+ },
65044
+ reservation_time_updated: {
65045
+ properties: {},
65046
+ type: "object"
65047
+ }
65048
+ },
65049
+ type: "object"
65050
+ }
65051
+ },
65052
+ type: "object"
65053
+ },
65054
+ customer_key: {
65055
+ description: "Key of the customer.",
65056
+ type: "string"
65057
+ }
65058
+ },
65059
+ required: ["customer_key"],
65060
+ type: "object"
65061
+ }
65062
+ }
65063
+ }
65064
+ },
65065
+ responses: {
65066
+ 200: {
65067
+ content: {
65068
+ "application/json": {
65069
+ schema: {
65070
+ properties: { ok: { type: "boolean" } },
65071
+ required: ["ok"],
65072
+ type: "object"
65073
+ }
65074
+ }
65075
+ },
65076
+ description: "OK"
65077
+ },
65078
+ 400: { description: "Bad Request" },
65079
+ 401: { description: "Unauthorized" }
65080
+ },
65081
+ security: [
65082
+ { pat_with_workspace: [] },
65083
+ { console_session_with_workspace: [] },
65084
+ { api_key: [] }
65085
+ ],
65086
+ summary: "/seam/customer/v1/customers/automations/update",
65087
+ tags: [],
65088
+ "x-fern-sdk-group-name": [
65089
+ "seam",
65090
+ "customer",
65091
+ "v1",
65092
+ "customers",
65093
+ "automations"
65094
+ ],
65095
+ "x-fern-sdk-method-name": "update",
65096
+ "x-response-key": null,
65097
+ "x-title": "Update Customer Automation Configuration"
65098
+ },
65099
+ post: {
65100
+ description: "Updates the automation configuration for a specific customer.\nCreates a customer-level override if one does not already exist.",
65101
+ operationId: "seamCustomerV1CustomersAutomationsUpdatePost",
65102
+ requestBody: {
65103
+ content: {
65104
+ "application/json": {
65105
+ schema: {
65106
+ properties: {
65107
+ access_rules: {
65108
+ description: "Access automation rules configuration.",
65109
+ properties: {
65110
+ reservation_created: {
65111
+ properties: {
65112
+ config: {
65113
+ properties: {
65114
+ access_methods: {
65115
+ items: {
65116
+ enum: ["card", "mobile_key", "code"],
65117
+ type: "string"
65118
+ },
65119
+ minItems: 1,
65120
+ type: "array"
65121
+ },
65122
+ card_count_on_reservation_create: {
65123
+ minimum: 0,
65124
+ type: "integer"
65125
+ },
65126
+ code_count_on_reservation_create: {
65127
+ minimum: 0,
65128
+ type: "integer"
65129
+ },
65130
+ instant_key_max_use_count: {
65131
+ minimum: 1,
65132
+ type: "integer"
65133
+ },
65134
+ method_issuance_strategy: {
65135
+ enum: [
65136
+ "first_available",
65137
+ "first_two_available",
65138
+ "all_available"
65139
+ ],
65140
+ type: "string"
65141
+ }
65142
+ },
65143
+ required: [
65144
+ "access_methods",
65145
+ "method_issuance_strategy"
65146
+ ],
65147
+ type: "object"
65148
+ },
65149
+ rule: {
65150
+ enum: ["reservation_created"],
65151
+ type: "string"
65152
+ }
65153
+ },
65154
+ required: ["rule", "config"],
65155
+ type: "object"
65156
+ },
65157
+ reservation_deleted: {
65158
+ properties: {
65159
+ config: { properties: {}, type: "object" },
65160
+ rule: {
65161
+ enum: ["reservation_deleted"],
65162
+ type: "string"
65163
+ }
65164
+ },
65165
+ required: ["rule"],
65166
+ type: "object"
65167
+ },
65168
+ reservation_spaces_updated: {
65169
+ properties: {
65170
+ config: { properties: {}, type: "object" },
65171
+ rule: {
65172
+ enum: ["reservation_spaces_updated"],
65173
+ type: "string"
65174
+ }
65175
+ },
65176
+ required: ["rule"],
65177
+ type: "object"
65178
+ },
65179
+ reservation_time_updated: {
65180
+ properties: {
65181
+ config: { properties: {}, type: "object" },
65182
+ rule: {
65183
+ enum: ["reservation_time_updated"],
65184
+ type: "string"
65185
+ }
65186
+ },
65187
+ required: ["rule"],
65188
+ type: "object"
65189
+ },
65190
+ space_name_updated: {
65191
+ properties: {
65192
+ config: { properties: {}, type: "object" },
65193
+ rule: {
65194
+ enum: ["space_name_updated"],
65195
+ type: "string"
65196
+ }
65197
+ },
65198
+ required: ["rule"],
65199
+ type: "object"
65200
+ },
65201
+ staff_member_created: {
65202
+ properties: {
65203
+ config: { properties: {}, type: "object" },
65204
+ rule: {
65205
+ enum: ["staff_member_created"],
65206
+ type: "string"
65207
+ }
65208
+ },
65209
+ required: ["rule", "config"],
65210
+ type: "object"
65211
+ },
65212
+ staff_member_name_updated: {
65213
+ properties: {
65214
+ config: { properties: {}, type: "object" },
65215
+ rule: {
65216
+ enum: ["staff_member_name_updated"],
65217
+ type: "string"
65218
+ }
65219
+ },
65220
+ required: ["rule"],
65221
+ type: "object"
65222
+ },
65223
+ user_identity_name_updated: {
65224
+ properties: {
65225
+ config: { properties: {}, type: "object" },
65226
+ rule: {
65227
+ enum: ["user_identity_name_updated"],
65228
+ type: "string"
65229
+ }
65230
+ },
65231
+ required: ["rule"],
65232
+ type: "object"
65233
+ }
65234
+ },
65235
+ type: "object"
65236
+ },
65237
+ climate_rules: {
65238
+ description: "Climate automation rules configuration.",
65239
+ properties: {
65240
+ rules: {
65241
+ properties: {
65242
+ reservation_created: {
65243
+ properties: {
65244
+ automated_occupied_preset: {
65245
+ properties: {
65246
+ cooling_set_point_celsius: {
65247
+ format: "float",
65248
+ type: "number"
65249
+ },
65250
+ cooling_set_point_fahrenheit: {
65251
+ format: "float",
65252
+ type: "number"
65253
+ },
65254
+ fan_mode: {
65255
+ enum: ["on", "auto", "circulate"],
65256
+ type: "string"
65257
+ },
65258
+ heating_set_point_celsius: {
65259
+ format: "float",
65260
+ type: "number"
65261
+ },
65262
+ heating_set_point_fahrenheit: {
65263
+ format: "float",
65264
+ type: "number"
65265
+ },
65266
+ is_override_allowed: { type: "boolean" },
65267
+ max_override_period_minutes: {
65268
+ format: "float",
65269
+ type: "number"
65270
+ },
65271
+ mode: {
65272
+ enum: ["heat", "cool", "auto"],
65273
+ type: "string"
65274
+ }
65275
+ },
65276
+ required: [
65277
+ "mode",
65278
+ "fan_mode",
65279
+ "is_override_allowed",
65280
+ "max_override_period_minutes"
65281
+ ],
65282
+ type: "object"
65283
+ },
65284
+ automated_unoccupied_preset: {
65285
+ properties: {
65286
+ cooling_set_point_celsius: {
65287
+ format: "float",
65288
+ type: "number"
65289
+ },
65290
+ cooling_set_point_fahrenheit: {
65291
+ format: "float",
65292
+ type: "number"
65293
+ },
65294
+ fan_mode: {
65295
+ enum: ["on", "auto", "circulate"],
65296
+ type: "string"
65297
+ },
65298
+ heating_set_point_celsius: {
65299
+ format: "float",
65300
+ type: "number"
65301
+ },
65302
+ heating_set_point_fahrenheit: {
65303
+ format: "float",
65304
+ type: "number"
65305
+ },
65306
+ is_override_allowed: { type: "boolean" },
65307
+ max_override_period_minutes: {
65308
+ format: "float",
65309
+ type: "number"
65310
+ },
65311
+ mode: {
65312
+ enum: ["heat", "cool", "auto"],
65313
+ type: "string"
65314
+ }
65315
+ },
65316
+ required: [
65317
+ "mode",
65318
+ "fan_mode",
65319
+ "is_override_allowed",
65320
+ "max_override_period_minutes"
65321
+ ],
65322
+ type: "object"
65323
+ },
65324
+ occupied_preset_key: { type: "string" },
65325
+ precondition_minutes_before_reservation: {
65326
+ format: "float",
65327
+ type: "number"
65328
+ },
65329
+ unoccupied_preset_key: { type: "string" }
65330
+ },
65331
+ type: "object"
65332
+ },
65333
+ reservation_deleted: {
65334
+ properties: {},
65335
+ type: "object"
65336
+ },
65337
+ reservation_time_updated: {
65338
+ properties: {},
65339
+ type: "object"
65340
+ }
65341
+ },
65342
+ type: "object"
65343
+ }
65344
+ },
65345
+ type: "object"
65346
+ },
65347
+ customer_key: {
65348
+ description: "Key of the customer.",
65349
+ type: "string"
65350
+ }
65351
+ },
65352
+ required: ["customer_key"],
65353
+ type: "object"
65354
+ }
65355
+ }
65356
+ }
65357
+ },
65358
+ responses: {
65359
+ 200: {
65360
+ content: {
65361
+ "application/json": {
65362
+ schema: {
65363
+ properties: { ok: { type: "boolean" } },
65364
+ required: ["ok"],
65365
+ type: "object"
65366
+ }
65367
+ }
65368
+ },
65369
+ description: "OK"
65370
+ },
65371
+ 400: { description: "Bad Request" },
65372
+ 401: { description: "Unauthorized" }
65373
+ },
65374
+ security: [
65375
+ { pat_with_workspace: [] },
65376
+ { console_session_with_workspace: [] },
65377
+ { api_key: [] }
65378
+ ],
65379
+ summary: "/seam/customer/v1/customers/automations/update",
65380
+ tags: [],
65381
+ "x-fern-sdk-group-name": [
65382
+ "seam",
65383
+ "customer",
65384
+ "v1",
65385
+ "customers",
65386
+ "automations"
65387
+ ],
65388
+ "x-fern-sdk-method-name": "update",
65389
+ "x-response-key": null,
65390
+ "x-title": "Update Customer Automation Configuration"
65391
+ }
65392
+ },
64179
65393
  "/seam/customer/v1/customers/list": {
64180
65394
  get: {
64181
65395
  description: "Returns a list of all customers within the workspace.",