@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.
@@ -112819,6 +112819,1255 @@ declare const _default: {
112819
112819
  'x-undocumented': string;
112820
112820
  };
112821
112821
  };
112822
+ '/seam/customer/v1/customers/automations/get': {
112823
+ get: {
112824
+ description: string;
112825
+ operationId: string;
112826
+ parameters: {
112827
+ in: string;
112828
+ name: string;
112829
+ required: boolean;
112830
+ schema: {
112831
+ description: string;
112832
+ type: string;
112833
+ };
112834
+ }[];
112835
+ responses: {
112836
+ 200: {
112837
+ content: {
112838
+ 'application/json': {
112839
+ schema: {
112840
+ properties: {
112841
+ automation: {
112842
+ properties: {
112843
+ access_rules: {
112844
+ properties: {
112845
+ reservation_created: {
112846
+ properties: {
112847
+ config: {
112848
+ properties: {
112849
+ access_methods: {
112850
+ items: {
112851
+ enum: string[];
112852
+ type: string;
112853
+ };
112854
+ minItems: number;
112855
+ type: string;
112856
+ };
112857
+ card_count_on_reservation_create: {
112858
+ minimum: number;
112859
+ type: string;
112860
+ };
112861
+ code_count_on_reservation_create: {
112862
+ minimum: number;
112863
+ type: string;
112864
+ };
112865
+ instant_key_max_use_count: {
112866
+ minimum: number;
112867
+ type: string;
112868
+ };
112869
+ method_issuance_strategy: {
112870
+ enum: string[];
112871
+ type: string;
112872
+ };
112873
+ };
112874
+ required: string[];
112875
+ type: string;
112876
+ };
112877
+ rule: {
112878
+ enum: string[];
112879
+ type: string;
112880
+ };
112881
+ };
112882
+ required: string[];
112883
+ type: string;
112884
+ };
112885
+ reservation_deleted: {
112886
+ properties: {
112887
+ config: {
112888
+ $ref: string;
112889
+ };
112890
+ rule: {
112891
+ enum: string[];
112892
+ type: string;
112893
+ };
112894
+ };
112895
+ required: string[];
112896
+ type: string;
112897
+ };
112898
+ reservation_spaces_updated: {
112899
+ properties: {
112900
+ config: {
112901
+ $ref: string;
112902
+ };
112903
+ rule: {
112904
+ enum: string[];
112905
+ type: string;
112906
+ };
112907
+ };
112908
+ required: string[];
112909
+ type: string;
112910
+ };
112911
+ reservation_time_updated: {
112912
+ properties: {
112913
+ config: {
112914
+ $ref: string;
112915
+ };
112916
+ rule: {
112917
+ enum: string[];
112918
+ type: string;
112919
+ };
112920
+ };
112921
+ required: string[];
112922
+ type: string;
112923
+ };
112924
+ space_name_updated: {
112925
+ properties: {
112926
+ config: {
112927
+ $ref: string;
112928
+ };
112929
+ rule: {
112930
+ enum: string[];
112931
+ type: string;
112932
+ };
112933
+ };
112934
+ required: string[];
112935
+ type: string;
112936
+ };
112937
+ staff_member_created: {
112938
+ properties: {
112939
+ config: {
112940
+ $ref: string;
112941
+ };
112942
+ rule: {
112943
+ enum: string[];
112944
+ type: string;
112945
+ };
112946
+ };
112947
+ required: string[];
112948
+ type: string;
112949
+ };
112950
+ staff_member_name_updated: {
112951
+ properties: {
112952
+ config: {
112953
+ $ref: string;
112954
+ };
112955
+ rule: {
112956
+ enum: string[];
112957
+ type: string;
112958
+ };
112959
+ };
112960
+ required: string[];
112961
+ type: string;
112962
+ };
112963
+ user_identity_name_updated: {
112964
+ properties: {
112965
+ config: {
112966
+ $ref: string;
112967
+ };
112968
+ rule: {
112969
+ enum: string[];
112970
+ type: string;
112971
+ };
112972
+ };
112973
+ required: string[];
112974
+ type: string;
112975
+ };
112976
+ };
112977
+ type: string;
112978
+ };
112979
+ climate_rules: {
112980
+ properties: {
112981
+ rules: {
112982
+ properties: {
112983
+ reservation_created: {
112984
+ properties: {
112985
+ automated_occupied_preset: {
112986
+ properties: {
112987
+ cooling_set_point_celsius: {
112988
+ format: string;
112989
+ type: string;
112990
+ };
112991
+ cooling_set_point_fahrenheit: {
112992
+ format: string;
112993
+ type: string;
112994
+ };
112995
+ fan_mode: {
112996
+ enum: string[];
112997
+ type: string;
112998
+ };
112999
+ heating_set_point_celsius: {
113000
+ format: string;
113001
+ type: string;
113002
+ };
113003
+ heating_set_point_fahrenheit: {
113004
+ format: string;
113005
+ type: string;
113006
+ };
113007
+ is_override_allowed: {
113008
+ type: string;
113009
+ };
113010
+ max_override_period_minutes: {
113011
+ format: string;
113012
+ type: string;
113013
+ };
113014
+ mode: {
113015
+ enum: string[];
113016
+ type: string;
113017
+ };
113018
+ };
113019
+ required: string[];
113020
+ type: string;
113021
+ };
113022
+ automated_unoccupied_preset: {
113023
+ properties: {
113024
+ cooling_set_point_celsius: {
113025
+ format: string;
113026
+ type: string;
113027
+ };
113028
+ cooling_set_point_fahrenheit: {
113029
+ format: string;
113030
+ type: string;
113031
+ };
113032
+ fan_mode: {
113033
+ enum: string[];
113034
+ type: string;
113035
+ };
113036
+ heating_set_point_celsius: {
113037
+ format: string;
113038
+ type: string;
113039
+ };
113040
+ heating_set_point_fahrenheit: {
113041
+ format: string;
113042
+ type: string;
113043
+ };
113044
+ is_override_allowed: {
113045
+ type: string;
113046
+ };
113047
+ max_override_period_minutes: {
113048
+ format: string;
113049
+ type: string;
113050
+ };
113051
+ mode: {
113052
+ enum: string[];
113053
+ type: string;
113054
+ };
113055
+ };
113056
+ required: string[];
113057
+ type: string;
113058
+ };
113059
+ occupied_preset_key: {
113060
+ type: string;
113061
+ };
113062
+ precondition_minutes_before_reservation: {
113063
+ format: string;
113064
+ type: string;
113065
+ };
113066
+ unoccupied_preset_key: {
113067
+ type: string;
113068
+ };
113069
+ };
113070
+ type: string;
113071
+ };
113072
+ reservation_deleted: {
113073
+ $ref: string;
113074
+ };
113075
+ reservation_time_updated: {
113076
+ $ref: string;
113077
+ };
113078
+ };
113079
+ type: string;
113080
+ };
113081
+ };
113082
+ required: string[];
113083
+ type: string;
113084
+ };
113085
+ };
113086
+ type: string;
113087
+ };
113088
+ ok: {
113089
+ type: string;
113090
+ };
113091
+ };
113092
+ required: string[];
113093
+ type: string;
113094
+ };
113095
+ };
113096
+ };
113097
+ description: string;
113098
+ };
113099
+ 400: {
113100
+ description: string;
113101
+ };
113102
+ 401: {
113103
+ description: string;
113104
+ };
113105
+ };
113106
+ security: ({
113107
+ pat_with_workspace: never[];
113108
+ console_session_with_workspace?: never;
113109
+ api_key?: never;
113110
+ } | {
113111
+ console_session_with_workspace: never[];
113112
+ pat_with_workspace?: never;
113113
+ api_key?: never;
113114
+ } | {
113115
+ api_key: never[];
113116
+ pat_with_workspace?: never;
113117
+ console_session_with_workspace?: never;
113118
+ })[];
113119
+ summary: string;
113120
+ tags: never[];
113121
+ 'x-fern-sdk-group-name': string[];
113122
+ 'x-fern-sdk-method-name': string;
113123
+ 'x-fern-sdk-return-value': string;
113124
+ 'x-response-key': string;
113125
+ 'x-title': string;
113126
+ };
113127
+ post: {
113128
+ description: string;
113129
+ operationId: string;
113130
+ requestBody: {
113131
+ content: {
113132
+ 'application/json': {
113133
+ schema: {
113134
+ properties: {
113135
+ customer_key: {
113136
+ description: string;
113137
+ type: string;
113138
+ };
113139
+ };
113140
+ required: string[];
113141
+ type: string;
113142
+ };
113143
+ };
113144
+ };
113145
+ };
113146
+ responses: {
113147
+ 200: {
113148
+ content: {
113149
+ 'application/json': {
113150
+ schema: {
113151
+ properties: {
113152
+ automation: {
113153
+ properties: {
113154
+ access_rules: {
113155
+ properties: {
113156
+ reservation_created: {
113157
+ properties: {
113158
+ config: {
113159
+ properties: {
113160
+ access_methods: {
113161
+ items: {
113162
+ enum: string[];
113163
+ type: string;
113164
+ };
113165
+ minItems: number;
113166
+ type: string;
113167
+ };
113168
+ card_count_on_reservation_create: {
113169
+ minimum: number;
113170
+ type: string;
113171
+ };
113172
+ code_count_on_reservation_create: {
113173
+ minimum: number;
113174
+ type: string;
113175
+ };
113176
+ instant_key_max_use_count: {
113177
+ minimum: number;
113178
+ type: string;
113179
+ };
113180
+ method_issuance_strategy: {
113181
+ enum: string[];
113182
+ type: string;
113183
+ };
113184
+ };
113185
+ required: string[];
113186
+ type: string;
113187
+ };
113188
+ rule: {
113189
+ enum: string[];
113190
+ type: string;
113191
+ };
113192
+ };
113193
+ required: string[];
113194
+ type: string;
113195
+ };
113196
+ reservation_deleted: {
113197
+ properties: {
113198
+ config: {
113199
+ $ref: string;
113200
+ };
113201
+ rule: {
113202
+ enum: string[];
113203
+ type: string;
113204
+ };
113205
+ };
113206
+ required: string[];
113207
+ type: string;
113208
+ };
113209
+ reservation_spaces_updated: {
113210
+ properties: {
113211
+ config: {
113212
+ $ref: string;
113213
+ };
113214
+ rule: {
113215
+ enum: string[];
113216
+ type: string;
113217
+ };
113218
+ };
113219
+ required: string[];
113220
+ type: string;
113221
+ };
113222
+ reservation_time_updated: {
113223
+ properties: {
113224
+ config: {
113225
+ $ref: string;
113226
+ };
113227
+ rule: {
113228
+ enum: string[];
113229
+ type: string;
113230
+ };
113231
+ };
113232
+ required: string[];
113233
+ type: string;
113234
+ };
113235
+ space_name_updated: {
113236
+ properties: {
113237
+ config: {
113238
+ $ref: string;
113239
+ };
113240
+ rule: {
113241
+ enum: string[];
113242
+ type: string;
113243
+ };
113244
+ };
113245
+ required: string[];
113246
+ type: string;
113247
+ };
113248
+ staff_member_created: {
113249
+ properties: {
113250
+ config: {
113251
+ $ref: string;
113252
+ };
113253
+ rule: {
113254
+ enum: string[];
113255
+ type: string;
113256
+ };
113257
+ };
113258
+ required: string[];
113259
+ type: string;
113260
+ };
113261
+ staff_member_name_updated: {
113262
+ properties: {
113263
+ config: {
113264
+ $ref: string;
113265
+ };
113266
+ rule: {
113267
+ enum: string[];
113268
+ type: string;
113269
+ };
113270
+ };
113271
+ required: string[];
113272
+ type: string;
113273
+ };
113274
+ user_identity_name_updated: {
113275
+ properties: {
113276
+ config: {
113277
+ $ref: string;
113278
+ };
113279
+ rule: {
113280
+ enum: string[];
113281
+ type: string;
113282
+ };
113283
+ };
113284
+ required: string[];
113285
+ type: string;
113286
+ };
113287
+ };
113288
+ type: string;
113289
+ };
113290
+ climate_rules: {
113291
+ properties: {
113292
+ rules: {
113293
+ properties: {
113294
+ reservation_created: {
113295
+ properties: {
113296
+ automated_occupied_preset: {
113297
+ properties: {
113298
+ cooling_set_point_celsius: {
113299
+ format: string;
113300
+ type: string;
113301
+ };
113302
+ cooling_set_point_fahrenheit: {
113303
+ format: string;
113304
+ type: string;
113305
+ };
113306
+ fan_mode: {
113307
+ enum: string[];
113308
+ type: string;
113309
+ };
113310
+ heating_set_point_celsius: {
113311
+ format: string;
113312
+ type: string;
113313
+ };
113314
+ heating_set_point_fahrenheit: {
113315
+ format: string;
113316
+ type: string;
113317
+ };
113318
+ is_override_allowed: {
113319
+ type: string;
113320
+ };
113321
+ max_override_period_minutes: {
113322
+ format: string;
113323
+ type: string;
113324
+ };
113325
+ mode: {
113326
+ enum: string[];
113327
+ type: string;
113328
+ };
113329
+ };
113330
+ required: string[];
113331
+ type: string;
113332
+ };
113333
+ automated_unoccupied_preset: {
113334
+ properties: {
113335
+ cooling_set_point_celsius: {
113336
+ format: string;
113337
+ type: string;
113338
+ };
113339
+ cooling_set_point_fahrenheit: {
113340
+ format: string;
113341
+ type: string;
113342
+ };
113343
+ fan_mode: {
113344
+ enum: string[];
113345
+ type: string;
113346
+ };
113347
+ heating_set_point_celsius: {
113348
+ format: string;
113349
+ type: string;
113350
+ };
113351
+ heating_set_point_fahrenheit: {
113352
+ format: string;
113353
+ type: string;
113354
+ };
113355
+ is_override_allowed: {
113356
+ type: string;
113357
+ };
113358
+ max_override_period_minutes: {
113359
+ format: string;
113360
+ type: string;
113361
+ };
113362
+ mode: {
113363
+ enum: string[];
113364
+ type: string;
113365
+ };
113366
+ };
113367
+ required: string[];
113368
+ type: string;
113369
+ };
113370
+ occupied_preset_key: {
113371
+ type: string;
113372
+ };
113373
+ precondition_minutes_before_reservation: {
113374
+ format: string;
113375
+ type: string;
113376
+ };
113377
+ unoccupied_preset_key: {
113378
+ type: string;
113379
+ };
113380
+ };
113381
+ type: string;
113382
+ };
113383
+ reservation_deleted: {
113384
+ $ref: string;
113385
+ };
113386
+ reservation_time_updated: {
113387
+ $ref: string;
113388
+ };
113389
+ };
113390
+ type: string;
113391
+ };
113392
+ };
113393
+ required: string[];
113394
+ type: string;
113395
+ };
113396
+ };
113397
+ type: string;
113398
+ };
113399
+ ok: {
113400
+ type: string;
113401
+ };
113402
+ };
113403
+ required: string[];
113404
+ type: string;
113405
+ };
113406
+ };
113407
+ };
113408
+ description: string;
113409
+ };
113410
+ 400: {
113411
+ description: string;
113412
+ };
113413
+ 401: {
113414
+ description: string;
113415
+ };
113416
+ };
113417
+ security: ({
113418
+ pat_with_workspace: never[];
113419
+ console_session_with_workspace?: never;
113420
+ api_key?: never;
113421
+ } | {
113422
+ console_session_with_workspace: never[];
113423
+ pat_with_workspace?: never;
113424
+ api_key?: never;
113425
+ } | {
113426
+ api_key: never[];
113427
+ pat_with_workspace?: never;
113428
+ console_session_with_workspace?: never;
113429
+ })[];
113430
+ summary: string;
113431
+ tags: never[];
113432
+ 'x-fern-sdk-group-name': string[];
113433
+ 'x-fern-sdk-method-name': string;
113434
+ 'x-fern-sdk-return-value': string;
113435
+ 'x-response-key': string;
113436
+ 'x-title': string;
113437
+ };
113438
+ };
113439
+ '/seam/customer/v1/customers/automations/update': {
113440
+ patch: {
113441
+ description: string;
113442
+ operationId: string;
113443
+ requestBody: {
113444
+ content: {
113445
+ 'application/json': {
113446
+ schema: {
113447
+ properties: {
113448
+ access_rules: {
113449
+ description: string;
113450
+ properties: {
113451
+ reservation_created: {
113452
+ properties: {
113453
+ config: {
113454
+ properties: {
113455
+ access_methods: {
113456
+ items: {
113457
+ enum: string[];
113458
+ type: string;
113459
+ };
113460
+ minItems: number;
113461
+ type: string;
113462
+ };
113463
+ card_count_on_reservation_create: {
113464
+ minimum: number;
113465
+ type: string;
113466
+ };
113467
+ code_count_on_reservation_create: {
113468
+ minimum: number;
113469
+ type: string;
113470
+ };
113471
+ instant_key_max_use_count: {
113472
+ minimum: number;
113473
+ type: string;
113474
+ };
113475
+ method_issuance_strategy: {
113476
+ enum: string[];
113477
+ type: string;
113478
+ };
113479
+ };
113480
+ required: string[];
113481
+ type: string;
113482
+ };
113483
+ rule: {
113484
+ enum: string[];
113485
+ type: string;
113486
+ };
113487
+ };
113488
+ required: string[];
113489
+ type: string;
113490
+ };
113491
+ reservation_deleted: {
113492
+ properties: {
113493
+ config: {
113494
+ properties: {};
113495
+ type: string;
113496
+ };
113497
+ rule: {
113498
+ enum: string[];
113499
+ type: string;
113500
+ };
113501
+ };
113502
+ required: string[];
113503
+ type: string;
113504
+ };
113505
+ reservation_spaces_updated: {
113506
+ properties: {
113507
+ config: {
113508
+ properties: {};
113509
+ type: string;
113510
+ };
113511
+ rule: {
113512
+ enum: string[];
113513
+ type: string;
113514
+ };
113515
+ };
113516
+ required: string[];
113517
+ type: string;
113518
+ };
113519
+ reservation_time_updated: {
113520
+ properties: {
113521
+ config: {
113522
+ properties: {};
113523
+ type: string;
113524
+ };
113525
+ rule: {
113526
+ enum: string[];
113527
+ type: string;
113528
+ };
113529
+ };
113530
+ required: string[];
113531
+ type: string;
113532
+ };
113533
+ space_name_updated: {
113534
+ properties: {
113535
+ config: {
113536
+ properties: {};
113537
+ type: string;
113538
+ };
113539
+ rule: {
113540
+ enum: string[];
113541
+ type: string;
113542
+ };
113543
+ };
113544
+ required: string[];
113545
+ type: string;
113546
+ };
113547
+ staff_member_created: {
113548
+ properties: {
113549
+ config: {
113550
+ properties: {};
113551
+ type: string;
113552
+ };
113553
+ rule: {
113554
+ enum: string[];
113555
+ type: string;
113556
+ };
113557
+ };
113558
+ required: string[];
113559
+ type: string;
113560
+ };
113561
+ staff_member_name_updated: {
113562
+ properties: {
113563
+ config: {
113564
+ properties: {};
113565
+ type: string;
113566
+ };
113567
+ rule: {
113568
+ enum: string[];
113569
+ type: string;
113570
+ };
113571
+ };
113572
+ required: string[];
113573
+ type: string;
113574
+ };
113575
+ user_identity_name_updated: {
113576
+ properties: {
113577
+ config: {
113578
+ properties: {};
113579
+ type: string;
113580
+ };
113581
+ rule: {
113582
+ enum: string[];
113583
+ type: string;
113584
+ };
113585
+ };
113586
+ required: string[];
113587
+ type: string;
113588
+ };
113589
+ };
113590
+ type: string;
113591
+ };
113592
+ climate_rules: {
113593
+ description: string;
113594
+ properties: {
113595
+ rules: {
113596
+ properties: {
113597
+ reservation_created: {
113598
+ properties: {
113599
+ automated_occupied_preset: {
113600
+ properties: {
113601
+ cooling_set_point_celsius: {
113602
+ format: string;
113603
+ type: string;
113604
+ };
113605
+ cooling_set_point_fahrenheit: {
113606
+ format: string;
113607
+ type: string;
113608
+ };
113609
+ fan_mode: {
113610
+ enum: string[];
113611
+ type: string;
113612
+ };
113613
+ heating_set_point_celsius: {
113614
+ format: string;
113615
+ type: string;
113616
+ };
113617
+ heating_set_point_fahrenheit: {
113618
+ format: string;
113619
+ type: string;
113620
+ };
113621
+ is_override_allowed: {
113622
+ type: string;
113623
+ };
113624
+ max_override_period_minutes: {
113625
+ format: string;
113626
+ type: string;
113627
+ };
113628
+ mode: {
113629
+ enum: string[];
113630
+ type: string;
113631
+ };
113632
+ };
113633
+ required: string[];
113634
+ type: string;
113635
+ };
113636
+ automated_unoccupied_preset: {
113637
+ properties: {
113638
+ cooling_set_point_celsius: {
113639
+ format: string;
113640
+ type: string;
113641
+ };
113642
+ cooling_set_point_fahrenheit: {
113643
+ format: string;
113644
+ type: string;
113645
+ };
113646
+ fan_mode: {
113647
+ enum: string[];
113648
+ type: string;
113649
+ };
113650
+ heating_set_point_celsius: {
113651
+ format: string;
113652
+ type: string;
113653
+ };
113654
+ heating_set_point_fahrenheit: {
113655
+ format: string;
113656
+ type: string;
113657
+ };
113658
+ is_override_allowed: {
113659
+ type: string;
113660
+ };
113661
+ max_override_period_minutes: {
113662
+ format: string;
113663
+ type: string;
113664
+ };
113665
+ mode: {
113666
+ enum: string[];
113667
+ type: string;
113668
+ };
113669
+ };
113670
+ required: string[];
113671
+ type: string;
113672
+ };
113673
+ occupied_preset_key: {
113674
+ type: string;
113675
+ };
113676
+ precondition_minutes_before_reservation: {
113677
+ format: string;
113678
+ type: string;
113679
+ };
113680
+ unoccupied_preset_key: {
113681
+ type: string;
113682
+ };
113683
+ };
113684
+ type: string;
113685
+ };
113686
+ reservation_deleted: {
113687
+ properties: {};
113688
+ type: string;
113689
+ };
113690
+ reservation_time_updated: {
113691
+ properties: {};
113692
+ type: string;
113693
+ };
113694
+ };
113695
+ type: string;
113696
+ };
113697
+ };
113698
+ type: string;
113699
+ };
113700
+ customer_key: {
113701
+ description: string;
113702
+ type: string;
113703
+ };
113704
+ };
113705
+ required: string[];
113706
+ type: string;
113707
+ };
113708
+ };
113709
+ };
113710
+ };
113711
+ responses: {
113712
+ 200: {
113713
+ content: {
113714
+ 'application/json': {
113715
+ schema: {
113716
+ properties: {
113717
+ ok: {
113718
+ type: string;
113719
+ };
113720
+ };
113721
+ required: string[];
113722
+ type: string;
113723
+ };
113724
+ };
113725
+ };
113726
+ description: string;
113727
+ };
113728
+ 400: {
113729
+ description: string;
113730
+ };
113731
+ 401: {
113732
+ description: string;
113733
+ };
113734
+ };
113735
+ security: ({
113736
+ pat_with_workspace: never[];
113737
+ console_session_with_workspace?: never;
113738
+ api_key?: never;
113739
+ } | {
113740
+ console_session_with_workspace: never[];
113741
+ pat_with_workspace?: never;
113742
+ api_key?: never;
113743
+ } | {
113744
+ api_key: never[];
113745
+ pat_with_workspace?: never;
113746
+ console_session_with_workspace?: never;
113747
+ })[];
113748
+ summary: string;
113749
+ tags: never[];
113750
+ 'x-fern-sdk-group-name': string[];
113751
+ 'x-fern-sdk-method-name': string;
113752
+ 'x-response-key': null;
113753
+ 'x-title': string;
113754
+ };
113755
+ post: {
113756
+ description: string;
113757
+ operationId: string;
113758
+ requestBody: {
113759
+ content: {
113760
+ 'application/json': {
113761
+ schema: {
113762
+ properties: {
113763
+ access_rules: {
113764
+ description: string;
113765
+ properties: {
113766
+ reservation_created: {
113767
+ properties: {
113768
+ config: {
113769
+ properties: {
113770
+ access_methods: {
113771
+ items: {
113772
+ enum: string[];
113773
+ type: string;
113774
+ };
113775
+ minItems: number;
113776
+ type: string;
113777
+ };
113778
+ card_count_on_reservation_create: {
113779
+ minimum: number;
113780
+ type: string;
113781
+ };
113782
+ code_count_on_reservation_create: {
113783
+ minimum: number;
113784
+ type: string;
113785
+ };
113786
+ instant_key_max_use_count: {
113787
+ minimum: number;
113788
+ type: string;
113789
+ };
113790
+ method_issuance_strategy: {
113791
+ enum: string[];
113792
+ type: string;
113793
+ };
113794
+ };
113795
+ required: string[];
113796
+ type: string;
113797
+ };
113798
+ rule: {
113799
+ enum: string[];
113800
+ type: string;
113801
+ };
113802
+ };
113803
+ required: string[];
113804
+ type: string;
113805
+ };
113806
+ reservation_deleted: {
113807
+ properties: {
113808
+ config: {
113809
+ properties: {};
113810
+ type: string;
113811
+ };
113812
+ rule: {
113813
+ enum: string[];
113814
+ type: string;
113815
+ };
113816
+ };
113817
+ required: string[];
113818
+ type: string;
113819
+ };
113820
+ reservation_spaces_updated: {
113821
+ properties: {
113822
+ config: {
113823
+ properties: {};
113824
+ type: string;
113825
+ };
113826
+ rule: {
113827
+ enum: string[];
113828
+ type: string;
113829
+ };
113830
+ };
113831
+ required: string[];
113832
+ type: string;
113833
+ };
113834
+ reservation_time_updated: {
113835
+ properties: {
113836
+ config: {
113837
+ properties: {};
113838
+ type: string;
113839
+ };
113840
+ rule: {
113841
+ enum: string[];
113842
+ type: string;
113843
+ };
113844
+ };
113845
+ required: string[];
113846
+ type: string;
113847
+ };
113848
+ space_name_updated: {
113849
+ properties: {
113850
+ config: {
113851
+ properties: {};
113852
+ type: string;
113853
+ };
113854
+ rule: {
113855
+ enum: string[];
113856
+ type: string;
113857
+ };
113858
+ };
113859
+ required: string[];
113860
+ type: string;
113861
+ };
113862
+ staff_member_created: {
113863
+ properties: {
113864
+ config: {
113865
+ properties: {};
113866
+ type: string;
113867
+ };
113868
+ rule: {
113869
+ enum: string[];
113870
+ type: string;
113871
+ };
113872
+ };
113873
+ required: string[];
113874
+ type: string;
113875
+ };
113876
+ staff_member_name_updated: {
113877
+ properties: {
113878
+ config: {
113879
+ properties: {};
113880
+ type: string;
113881
+ };
113882
+ rule: {
113883
+ enum: string[];
113884
+ type: string;
113885
+ };
113886
+ };
113887
+ required: string[];
113888
+ type: string;
113889
+ };
113890
+ user_identity_name_updated: {
113891
+ properties: {
113892
+ config: {
113893
+ properties: {};
113894
+ type: string;
113895
+ };
113896
+ rule: {
113897
+ enum: string[];
113898
+ type: string;
113899
+ };
113900
+ };
113901
+ required: string[];
113902
+ type: string;
113903
+ };
113904
+ };
113905
+ type: string;
113906
+ };
113907
+ climate_rules: {
113908
+ description: string;
113909
+ properties: {
113910
+ rules: {
113911
+ properties: {
113912
+ reservation_created: {
113913
+ properties: {
113914
+ automated_occupied_preset: {
113915
+ properties: {
113916
+ cooling_set_point_celsius: {
113917
+ format: string;
113918
+ type: string;
113919
+ };
113920
+ cooling_set_point_fahrenheit: {
113921
+ format: string;
113922
+ type: string;
113923
+ };
113924
+ fan_mode: {
113925
+ enum: string[];
113926
+ type: string;
113927
+ };
113928
+ heating_set_point_celsius: {
113929
+ format: string;
113930
+ type: string;
113931
+ };
113932
+ heating_set_point_fahrenheit: {
113933
+ format: string;
113934
+ type: string;
113935
+ };
113936
+ is_override_allowed: {
113937
+ type: string;
113938
+ };
113939
+ max_override_period_minutes: {
113940
+ format: string;
113941
+ type: string;
113942
+ };
113943
+ mode: {
113944
+ enum: string[];
113945
+ type: string;
113946
+ };
113947
+ };
113948
+ required: string[];
113949
+ type: string;
113950
+ };
113951
+ automated_unoccupied_preset: {
113952
+ properties: {
113953
+ cooling_set_point_celsius: {
113954
+ format: string;
113955
+ type: string;
113956
+ };
113957
+ cooling_set_point_fahrenheit: {
113958
+ format: string;
113959
+ type: string;
113960
+ };
113961
+ fan_mode: {
113962
+ enum: string[];
113963
+ type: string;
113964
+ };
113965
+ heating_set_point_celsius: {
113966
+ format: string;
113967
+ type: string;
113968
+ };
113969
+ heating_set_point_fahrenheit: {
113970
+ format: string;
113971
+ type: string;
113972
+ };
113973
+ is_override_allowed: {
113974
+ type: string;
113975
+ };
113976
+ max_override_period_minutes: {
113977
+ format: string;
113978
+ type: string;
113979
+ };
113980
+ mode: {
113981
+ enum: string[];
113982
+ type: string;
113983
+ };
113984
+ };
113985
+ required: string[];
113986
+ type: string;
113987
+ };
113988
+ occupied_preset_key: {
113989
+ type: string;
113990
+ };
113991
+ precondition_minutes_before_reservation: {
113992
+ format: string;
113993
+ type: string;
113994
+ };
113995
+ unoccupied_preset_key: {
113996
+ type: string;
113997
+ };
113998
+ };
113999
+ type: string;
114000
+ };
114001
+ reservation_deleted: {
114002
+ properties: {};
114003
+ type: string;
114004
+ };
114005
+ reservation_time_updated: {
114006
+ properties: {};
114007
+ type: string;
114008
+ };
114009
+ };
114010
+ type: string;
114011
+ };
114012
+ };
114013
+ type: string;
114014
+ };
114015
+ customer_key: {
114016
+ description: string;
114017
+ type: string;
114018
+ };
114019
+ };
114020
+ required: string[];
114021
+ type: string;
114022
+ };
114023
+ };
114024
+ };
114025
+ };
114026
+ responses: {
114027
+ 200: {
114028
+ content: {
114029
+ 'application/json': {
114030
+ schema: {
114031
+ properties: {
114032
+ ok: {
114033
+ type: string;
114034
+ };
114035
+ };
114036
+ required: string[];
114037
+ type: string;
114038
+ };
114039
+ };
114040
+ };
114041
+ description: string;
114042
+ };
114043
+ 400: {
114044
+ description: string;
114045
+ };
114046
+ 401: {
114047
+ description: string;
114048
+ };
114049
+ };
114050
+ security: ({
114051
+ pat_with_workspace: never[];
114052
+ console_session_with_workspace?: never;
114053
+ api_key?: never;
114054
+ } | {
114055
+ console_session_with_workspace: never[];
114056
+ pat_with_workspace?: never;
114057
+ api_key?: never;
114058
+ } | {
114059
+ api_key: never[];
114060
+ pat_with_workspace?: never;
114061
+ console_session_with_workspace?: never;
114062
+ })[];
114063
+ summary: string;
114064
+ tags: never[];
114065
+ 'x-fern-sdk-group-name': string[];
114066
+ 'x-fern-sdk-method-name': string;
114067
+ 'x-response-key': null;
114068
+ 'x-title': string;
114069
+ };
114070
+ };
112822
114071
  '/seam/customer/v1/customers/list': {
112823
114072
  get: {
112824
114073
  description: string;
@@ -188093,6 +189342,179 @@ type Routes = {
188093
189342
  };
188094
189343
  maxDuration: undefined;
188095
189344
  };
189345
+ '/seam/customer/v1/customers/automations/get': {
189346
+ route: '/seam/customer/v1/customers/automations/get';
189347
+ method: 'GET' | 'POST';
189348
+ queryParams: {};
189349
+ jsonBody: {};
189350
+ commonParams: {
189351
+ /** Key of the customer. */
189352
+ customer_key: string;
189353
+ };
189354
+ formData: {};
189355
+ jsonResponse: {
189356
+ automation: {
189357
+ access_rules?: {
189358
+ reservation_created?: {
189359
+ rule: 'reservation_created';
189360
+ config: {
189361
+ access_methods: ('card' | 'mobile_key' | 'code')[];
189362
+ method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
189363
+ card_count_on_reservation_create?: number | undefined;
189364
+ code_count_on_reservation_create?: number | undefined;
189365
+ instant_key_max_use_count?: number | undefined;
189366
+ };
189367
+ } | undefined;
189368
+ reservation_time_updated?: {
189369
+ rule: 'reservation_time_updated';
189370
+ config?: {} | undefined;
189371
+ } | undefined;
189372
+ reservation_spaces_updated?: {
189373
+ rule: 'reservation_spaces_updated';
189374
+ config?: {} | undefined;
189375
+ } | undefined;
189376
+ reservation_deleted?: {
189377
+ rule: 'reservation_deleted';
189378
+ config?: {} | undefined;
189379
+ } | undefined;
189380
+ space_name_updated?: {
189381
+ rule: 'space_name_updated';
189382
+ config?: {} | undefined;
189383
+ } | undefined;
189384
+ user_identity_name_updated?: {
189385
+ rule: 'user_identity_name_updated';
189386
+ config?: {} | undefined;
189387
+ } | undefined;
189388
+ staff_member_name_updated?: {
189389
+ rule: 'staff_member_name_updated';
189390
+ config?: {} | undefined;
189391
+ } | undefined;
189392
+ staff_member_created?: {
189393
+ rule: 'staff_member_created';
189394
+ config: {};
189395
+ } | undefined;
189396
+ } | undefined;
189397
+ climate_rules?: {
189398
+ rules: {
189399
+ reservation_created?: {
189400
+ occupied_preset_key?: string | undefined;
189401
+ automated_occupied_preset?: {
189402
+ mode: 'heat' | 'cool' | 'auto';
189403
+ heating_set_point_celsius?: number | undefined;
189404
+ heating_set_point_fahrenheit?: number | undefined;
189405
+ cooling_set_point_celsius?: number | undefined;
189406
+ cooling_set_point_fahrenheit?: number | undefined;
189407
+ fan_mode: 'on' | 'auto' | 'circulate';
189408
+ is_override_allowed: boolean;
189409
+ max_override_period_minutes: number;
189410
+ } | undefined;
189411
+ unoccupied_preset_key?: string | undefined;
189412
+ automated_unoccupied_preset?: {
189413
+ mode: 'heat' | 'cool' | 'auto';
189414
+ heating_set_point_celsius?: number | undefined;
189415
+ heating_set_point_fahrenheit?: number | undefined;
189416
+ cooling_set_point_celsius?: number | undefined;
189417
+ cooling_set_point_fahrenheit?: number | undefined;
189418
+ fan_mode: 'on' | 'auto' | 'circulate';
189419
+ is_override_allowed: boolean;
189420
+ max_override_period_minutes: number;
189421
+ } | undefined;
189422
+ precondition_minutes_before_reservation?: number | undefined;
189423
+ } | undefined;
189424
+ reservation_time_updated?: {} | undefined;
189425
+ reservation_deleted?: {} | undefined;
189426
+ };
189427
+ } | undefined;
189428
+ };
189429
+ };
189430
+ maxDuration: undefined;
189431
+ };
189432
+ '/seam/customer/v1/customers/automations/update': {
189433
+ route: '/seam/customer/v1/customers/automations/update';
189434
+ method: 'PATCH' | 'POST';
189435
+ queryParams: {};
189436
+ jsonBody: {
189437
+ /** Key of the customer. */
189438
+ customer_key: string;
189439
+ /** Access automation rules configuration. */
189440
+ access_rules?: {
189441
+ reservation_created?: {
189442
+ rule: 'reservation_created';
189443
+ config: {
189444
+ access_methods: ('card' | 'mobile_key' | 'code')[];
189445
+ method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
189446
+ card_count_on_reservation_create?: number | undefined;
189447
+ code_count_on_reservation_create?: number | undefined;
189448
+ instant_key_max_use_count?: number | undefined;
189449
+ };
189450
+ } | undefined;
189451
+ reservation_time_updated?: {
189452
+ rule: 'reservation_time_updated';
189453
+ config?: {} | undefined;
189454
+ } | undefined;
189455
+ reservation_spaces_updated?: {
189456
+ rule: 'reservation_spaces_updated';
189457
+ config?: {} | undefined;
189458
+ } | undefined;
189459
+ reservation_deleted?: {
189460
+ rule: 'reservation_deleted';
189461
+ config?: {} | undefined;
189462
+ } | undefined;
189463
+ space_name_updated?: {
189464
+ rule: 'space_name_updated';
189465
+ config?: {} | undefined;
189466
+ } | undefined;
189467
+ user_identity_name_updated?: {
189468
+ rule: 'user_identity_name_updated';
189469
+ config?: {} | undefined;
189470
+ } | undefined;
189471
+ staff_member_name_updated?: {
189472
+ rule: 'staff_member_name_updated';
189473
+ config?: {} | undefined;
189474
+ } | undefined;
189475
+ staff_member_created?: {
189476
+ rule: 'staff_member_created';
189477
+ config: {};
189478
+ } | undefined;
189479
+ } | undefined;
189480
+ /** Climate automation rules configuration. */
189481
+ climate_rules?: {
189482
+ rules?: {
189483
+ reservation_created?: {
189484
+ occupied_preset_key?: string | undefined;
189485
+ automated_occupied_preset?: {
189486
+ mode: 'heat' | 'cool' | 'auto';
189487
+ heating_set_point_celsius?: number | undefined;
189488
+ heating_set_point_fahrenheit?: number | undefined;
189489
+ cooling_set_point_celsius?: number | undefined;
189490
+ cooling_set_point_fahrenheit?: number | undefined;
189491
+ fan_mode: 'on' | 'auto' | 'circulate';
189492
+ is_override_allowed: boolean;
189493
+ max_override_period_minutes: number;
189494
+ } | undefined;
189495
+ unoccupied_preset_key?: string | undefined;
189496
+ automated_unoccupied_preset?: {
189497
+ mode: 'heat' | 'cool' | 'auto';
189498
+ heating_set_point_celsius?: number | undefined;
189499
+ heating_set_point_fahrenheit?: number | undefined;
189500
+ cooling_set_point_celsius?: number | undefined;
189501
+ cooling_set_point_fahrenheit?: number | undefined;
189502
+ fan_mode: 'on' | 'auto' | 'circulate';
189503
+ is_override_allowed: boolean;
189504
+ max_override_period_minutes: number;
189505
+ } | undefined;
189506
+ precondition_minutes_before_reservation?: number | undefined;
189507
+ } | undefined;
189508
+ reservation_time_updated?: {} | undefined;
189509
+ reservation_deleted?: {} | undefined;
189510
+ } | undefined;
189511
+ } | undefined;
189512
+ };
189513
+ commonParams: {};
189514
+ formData: {};
189515
+ jsonResponse: {};
189516
+ maxDuration: undefined;
189517
+ };
188096
189518
  '/seam/customer/v1/customers/list': {
188097
189519
  route: '/seam/customer/v1/customers/list';
188098
189520
  method: 'GET' | 'POST';