@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/connect.cjs +1214 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1422 -0
- package/dist/index.cjs +1214 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +1249 -0
- package/lib/seam/connect/openapi.js +1214 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +173 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +1218 -0
- package/src/lib/seam/connect/route-types.ts +237 -0
|
@@ -57696,6 +57696,1220 @@ export default {
|
|
|
57696
57696
|
'x-undocumented': 'Internal endpoint for Console.',
|
|
57697
57697
|
},
|
|
57698
57698
|
},
|
|
57699
|
+
'/seam/customer/v1/customers/automations/get': {
|
|
57700
|
+
get: {
|
|
57701
|
+
description: 'Gets the automation configuration for a specific customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).',
|
|
57702
|
+
operationId: 'seamCustomerV1CustomersAutomationsGetGet',
|
|
57703
|
+
parameters: [
|
|
57704
|
+
{
|
|
57705
|
+
in: 'query',
|
|
57706
|
+
name: 'customer_key',
|
|
57707
|
+
required: true,
|
|
57708
|
+
schema: { description: 'Key of the customer.', type: 'string' },
|
|
57709
|
+
},
|
|
57710
|
+
],
|
|
57711
|
+
responses: {
|
|
57712
|
+
200: {
|
|
57713
|
+
content: {
|
|
57714
|
+
'application/json': {
|
|
57715
|
+
schema: {
|
|
57716
|
+
properties: {
|
|
57717
|
+
automation: {
|
|
57718
|
+
properties: {
|
|
57719
|
+
access_rules: {
|
|
57720
|
+
properties: {
|
|
57721
|
+
reservation_created: {
|
|
57722
|
+
properties: {
|
|
57723
|
+
config: {
|
|
57724
|
+
properties: {
|
|
57725
|
+
access_methods: {
|
|
57726
|
+
items: {
|
|
57727
|
+
enum: ['card', 'mobile_key', 'code'],
|
|
57728
|
+
type: 'string',
|
|
57729
|
+
},
|
|
57730
|
+
minItems: 1,
|
|
57731
|
+
type: 'array',
|
|
57732
|
+
},
|
|
57733
|
+
card_count_on_reservation_create: {
|
|
57734
|
+
minimum: 0,
|
|
57735
|
+
type: 'integer',
|
|
57736
|
+
},
|
|
57737
|
+
code_count_on_reservation_create: {
|
|
57738
|
+
minimum: 0,
|
|
57739
|
+
type: 'integer',
|
|
57740
|
+
},
|
|
57741
|
+
instant_key_max_use_count: {
|
|
57742
|
+
minimum: 1,
|
|
57743
|
+
type: 'integer',
|
|
57744
|
+
},
|
|
57745
|
+
method_issuance_strategy: {
|
|
57746
|
+
enum: [
|
|
57747
|
+
'first_available',
|
|
57748
|
+
'first_two_available',
|
|
57749
|
+
'all_available',
|
|
57750
|
+
],
|
|
57751
|
+
type: 'string',
|
|
57752
|
+
},
|
|
57753
|
+
},
|
|
57754
|
+
required: [
|
|
57755
|
+
'access_methods',
|
|
57756
|
+
'method_issuance_strategy',
|
|
57757
|
+
],
|
|
57758
|
+
type: 'object',
|
|
57759
|
+
},
|
|
57760
|
+
rule: {
|
|
57761
|
+
enum: ['reservation_created'],
|
|
57762
|
+
type: 'string',
|
|
57763
|
+
},
|
|
57764
|
+
},
|
|
57765
|
+
required: ['rule', 'config'],
|
|
57766
|
+
type: 'object',
|
|
57767
|
+
},
|
|
57768
|
+
reservation_deleted: {
|
|
57769
|
+
properties: {
|
|
57770
|
+
config: {
|
|
57771
|
+
$ref: '#/components/schemas/access_code',
|
|
57772
|
+
},
|
|
57773
|
+
rule: {
|
|
57774
|
+
enum: ['reservation_deleted'],
|
|
57775
|
+
type: 'string',
|
|
57776
|
+
},
|
|
57777
|
+
},
|
|
57778
|
+
required: ['rule'],
|
|
57779
|
+
type: 'object',
|
|
57780
|
+
},
|
|
57781
|
+
reservation_spaces_updated: {
|
|
57782
|
+
properties: {
|
|
57783
|
+
config: {
|
|
57784
|
+
$ref: '#/components/schemas/access_code',
|
|
57785
|
+
},
|
|
57786
|
+
rule: {
|
|
57787
|
+
enum: ['reservation_spaces_updated'],
|
|
57788
|
+
type: 'string',
|
|
57789
|
+
},
|
|
57790
|
+
},
|
|
57791
|
+
required: ['rule'],
|
|
57792
|
+
type: 'object',
|
|
57793
|
+
},
|
|
57794
|
+
reservation_time_updated: {
|
|
57795
|
+
properties: {
|
|
57796
|
+
config: {
|
|
57797
|
+
$ref: '#/components/schemas/access_code',
|
|
57798
|
+
},
|
|
57799
|
+
rule: {
|
|
57800
|
+
enum: ['reservation_time_updated'],
|
|
57801
|
+
type: 'string',
|
|
57802
|
+
},
|
|
57803
|
+
},
|
|
57804
|
+
required: ['rule'],
|
|
57805
|
+
type: 'object',
|
|
57806
|
+
},
|
|
57807
|
+
space_name_updated: {
|
|
57808
|
+
properties: {
|
|
57809
|
+
config: {
|
|
57810
|
+
$ref: '#/components/schemas/access_code',
|
|
57811
|
+
},
|
|
57812
|
+
rule: {
|
|
57813
|
+
enum: ['space_name_updated'],
|
|
57814
|
+
type: 'string',
|
|
57815
|
+
},
|
|
57816
|
+
},
|
|
57817
|
+
required: ['rule'],
|
|
57818
|
+
type: 'object',
|
|
57819
|
+
},
|
|
57820
|
+
staff_member_created: {
|
|
57821
|
+
properties: {
|
|
57822
|
+
config: {
|
|
57823
|
+
$ref: '#/components/schemas/access_code',
|
|
57824
|
+
},
|
|
57825
|
+
rule: {
|
|
57826
|
+
enum: ['staff_member_created'],
|
|
57827
|
+
type: 'string',
|
|
57828
|
+
},
|
|
57829
|
+
},
|
|
57830
|
+
required: ['rule', 'config'],
|
|
57831
|
+
type: 'object',
|
|
57832
|
+
},
|
|
57833
|
+
staff_member_name_updated: {
|
|
57834
|
+
properties: {
|
|
57835
|
+
config: {
|
|
57836
|
+
$ref: '#/components/schemas/access_code',
|
|
57837
|
+
},
|
|
57838
|
+
rule: {
|
|
57839
|
+
enum: ['staff_member_name_updated'],
|
|
57840
|
+
type: 'string',
|
|
57841
|
+
},
|
|
57842
|
+
},
|
|
57843
|
+
required: ['rule'],
|
|
57844
|
+
type: 'object',
|
|
57845
|
+
},
|
|
57846
|
+
user_identity_name_updated: {
|
|
57847
|
+
properties: {
|
|
57848
|
+
config: {
|
|
57849
|
+
$ref: '#/components/schemas/access_code',
|
|
57850
|
+
},
|
|
57851
|
+
rule: {
|
|
57852
|
+
enum: ['user_identity_name_updated'],
|
|
57853
|
+
type: 'string',
|
|
57854
|
+
},
|
|
57855
|
+
},
|
|
57856
|
+
required: ['rule'],
|
|
57857
|
+
type: 'object',
|
|
57858
|
+
},
|
|
57859
|
+
},
|
|
57860
|
+
type: 'object',
|
|
57861
|
+
},
|
|
57862
|
+
climate_rules: {
|
|
57863
|
+
properties: {
|
|
57864
|
+
rules: {
|
|
57865
|
+
properties: {
|
|
57866
|
+
reservation_created: {
|
|
57867
|
+
properties: {
|
|
57868
|
+
automated_occupied_preset: {
|
|
57869
|
+
properties: {
|
|
57870
|
+
cooling_set_point_celsius: {
|
|
57871
|
+
format: 'float',
|
|
57872
|
+
type: 'number',
|
|
57873
|
+
},
|
|
57874
|
+
cooling_set_point_fahrenheit: {
|
|
57875
|
+
format: 'float',
|
|
57876
|
+
type: 'number',
|
|
57877
|
+
},
|
|
57878
|
+
fan_mode: {
|
|
57879
|
+
enum: ['on', 'auto', 'circulate'],
|
|
57880
|
+
type: 'string',
|
|
57881
|
+
},
|
|
57882
|
+
heating_set_point_celsius: {
|
|
57883
|
+
format: 'float',
|
|
57884
|
+
type: 'number',
|
|
57885
|
+
},
|
|
57886
|
+
heating_set_point_fahrenheit: {
|
|
57887
|
+
format: 'float',
|
|
57888
|
+
type: 'number',
|
|
57889
|
+
},
|
|
57890
|
+
is_override_allowed: {
|
|
57891
|
+
type: 'boolean',
|
|
57892
|
+
},
|
|
57893
|
+
max_override_period_minutes: {
|
|
57894
|
+
format: 'float',
|
|
57895
|
+
type: 'number',
|
|
57896
|
+
},
|
|
57897
|
+
mode: {
|
|
57898
|
+
enum: ['heat', 'cool', 'auto'],
|
|
57899
|
+
type: 'string',
|
|
57900
|
+
},
|
|
57901
|
+
},
|
|
57902
|
+
required: [
|
|
57903
|
+
'mode',
|
|
57904
|
+
'fan_mode',
|
|
57905
|
+
'is_override_allowed',
|
|
57906
|
+
'max_override_period_minutes',
|
|
57907
|
+
],
|
|
57908
|
+
type: 'object',
|
|
57909
|
+
},
|
|
57910
|
+
automated_unoccupied_preset: {
|
|
57911
|
+
properties: {
|
|
57912
|
+
cooling_set_point_celsius: {
|
|
57913
|
+
format: 'float',
|
|
57914
|
+
type: 'number',
|
|
57915
|
+
},
|
|
57916
|
+
cooling_set_point_fahrenheit: {
|
|
57917
|
+
format: 'float',
|
|
57918
|
+
type: 'number',
|
|
57919
|
+
},
|
|
57920
|
+
fan_mode: {
|
|
57921
|
+
enum: ['on', 'auto', 'circulate'],
|
|
57922
|
+
type: 'string',
|
|
57923
|
+
},
|
|
57924
|
+
heating_set_point_celsius: {
|
|
57925
|
+
format: 'float',
|
|
57926
|
+
type: 'number',
|
|
57927
|
+
},
|
|
57928
|
+
heating_set_point_fahrenheit: {
|
|
57929
|
+
format: 'float',
|
|
57930
|
+
type: 'number',
|
|
57931
|
+
},
|
|
57932
|
+
is_override_allowed: {
|
|
57933
|
+
type: 'boolean',
|
|
57934
|
+
},
|
|
57935
|
+
max_override_period_minutes: {
|
|
57936
|
+
format: 'float',
|
|
57937
|
+
type: 'number',
|
|
57938
|
+
},
|
|
57939
|
+
mode: {
|
|
57940
|
+
enum: ['heat', 'cool', 'auto'],
|
|
57941
|
+
type: 'string',
|
|
57942
|
+
},
|
|
57943
|
+
},
|
|
57944
|
+
required: [
|
|
57945
|
+
'mode',
|
|
57946
|
+
'fan_mode',
|
|
57947
|
+
'is_override_allowed',
|
|
57948
|
+
'max_override_period_minutes',
|
|
57949
|
+
],
|
|
57950
|
+
type: 'object',
|
|
57951
|
+
},
|
|
57952
|
+
occupied_preset_key: { type: 'string' },
|
|
57953
|
+
precondition_minutes_before_reservation: {
|
|
57954
|
+
format: 'float',
|
|
57955
|
+
type: 'number',
|
|
57956
|
+
},
|
|
57957
|
+
unoccupied_preset_key: { type: 'string' },
|
|
57958
|
+
},
|
|
57959
|
+
type: 'object',
|
|
57960
|
+
},
|
|
57961
|
+
reservation_deleted: {
|
|
57962
|
+
$ref: '#/components/schemas/access_code',
|
|
57963
|
+
},
|
|
57964
|
+
reservation_time_updated: {
|
|
57965
|
+
$ref: '#/components/schemas/access_code',
|
|
57966
|
+
},
|
|
57967
|
+
},
|
|
57968
|
+
type: 'object',
|
|
57969
|
+
},
|
|
57970
|
+
},
|
|
57971
|
+
required: ['rules'],
|
|
57972
|
+
type: 'object',
|
|
57973
|
+
},
|
|
57974
|
+
},
|
|
57975
|
+
type: 'object',
|
|
57976
|
+
},
|
|
57977
|
+
ok: { type: 'boolean' },
|
|
57978
|
+
},
|
|
57979
|
+
required: ['automation', 'ok'],
|
|
57980
|
+
type: 'object',
|
|
57981
|
+
},
|
|
57982
|
+
},
|
|
57983
|
+
},
|
|
57984
|
+
description: 'OK',
|
|
57985
|
+
},
|
|
57986
|
+
400: { description: 'Bad Request' },
|
|
57987
|
+
401: { description: 'Unauthorized' },
|
|
57988
|
+
},
|
|
57989
|
+
security: [
|
|
57990
|
+
{ pat_with_workspace: [] },
|
|
57991
|
+
{ console_session_with_workspace: [] },
|
|
57992
|
+
{ api_key: [] },
|
|
57993
|
+
],
|
|
57994
|
+
summary: '/seam/customer/v1/customers/automations/get',
|
|
57995
|
+
tags: [],
|
|
57996
|
+
'x-fern-sdk-group-name': [
|
|
57997
|
+
'seam',
|
|
57998
|
+
'customer',
|
|
57999
|
+
'v1',
|
|
58000
|
+
'customers',
|
|
58001
|
+
'automations',
|
|
58002
|
+
],
|
|
58003
|
+
'x-fern-sdk-method-name': 'get',
|
|
58004
|
+
'x-fern-sdk-return-value': 'automation',
|
|
58005
|
+
'x-response-key': 'automation',
|
|
58006
|
+
'x-title': 'Get Customer Automation Configuration',
|
|
58007
|
+
},
|
|
58008
|
+
post: {
|
|
58009
|
+
description: 'Gets the automation configuration for a specific customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).',
|
|
58010
|
+
operationId: 'seamCustomerV1CustomersAutomationsGetPost',
|
|
58011
|
+
requestBody: {
|
|
58012
|
+
content: {
|
|
58013
|
+
'application/json': {
|
|
58014
|
+
schema: {
|
|
58015
|
+
properties: {
|
|
58016
|
+
customer_key: {
|
|
58017
|
+
description: 'Key of the customer.',
|
|
58018
|
+
type: 'string',
|
|
58019
|
+
},
|
|
58020
|
+
},
|
|
58021
|
+
required: ['customer_key'],
|
|
58022
|
+
type: 'object',
|
|
58023
|
+
},
|
|
58024
|
+
},
|
|
58025
|
+
},
|
|
58026
|
+
},
|
|
58027
|
+
responses: {
|
|
58028
|
+
200: {
|
|
58029
|
+
content: {
|
|
58030
|
+
'application/json': {
|
|
58031
|
+
schema: {
|
|
58032
|
+
properties: {
|
|
58033
|
+
automation: {
|
|
58034
|
+
properties: {
|
|
58035
|
+
access_rules: {
|
|
58036
|
+
properties: {
|
|
58037
|
+
reservation_created: {
|
|
58038
|
+
properties: {
|
|
58039
|
+
config: {
|
|
58040
|
+
properties: {
|
|
58041
|
+
access_methods: {
|
|
58042
|
+
items: {
|
|
58043
|
+
enum: ['card', 'mobile_key', 'code'],
|
|
58044
|
+
type: 'string',
|
|
58045
|
+
},
|
|
58046
|
+
minItems: 1,
|
|
58047
|
+
type: 'array',
|
|
58048
|
+
},
|
|
58049
|
+
card_count_on_reservation_create: {
|
|
58050
|
+
minimum: 0,
|
|
58051
|
+
type: 'integer',
|
|
58052
|
+
},
|
|
58053
|
+
code_count_on_reservation_create: {
|
|
58054
|
+
minimum: 0,
|
|
58055
|
+
type: 'integer',
|
|
58056
|
+
},
|
|
58057
|
+
instant_key_max_use_count: {
|
|
58058
|
+
minimum: 1,
|
|
58059
|
+
type: 'integer',
|
|
58060
|
+
},
|
|
58061
|
+
method_issuance_strategy: {
|
|
58062
|
+
enum: [
|
|
58063
|
+
'first_available',
|
|
58064
|
+
'first_two_available',
|
|
58065
|
+
'all_available',
|
|
58066
|
+
],
|
|
58067
|
+
type: 'string',
|
|
58068
|
+
},
|
|
58069
|
+
},
|
|
58070
|
+
required: [
|
|
58071
|
+
'access_methods',
|
|
58072
|
+
'method_issuance_strategy',
|
|
58073
|
+
],
|
|
58074
|
+
type: 'object',
|
|
58075
|
+
},
|
|
58076
|
+
rule: {
|
|
58077
|
+
enum: ['reservation_created'],
|
|
58078
|
+
type: 'string',
|
|
58079
|
+
},
|
|
58080
|
+
},
|
|
58081
|
+
required: ['rule', 'config'],
|
|
58082
|
+
type: 'object',
|
|
58083
|
+
},
|
|
58084
|
+
reservation_deleted: {
|
|
58085
|
+
properties: {
|
|
58086
|
+
config: {
|
|
58087
|
+
$ref: '#/components/schemas/access_code',
|
|
58088
|
+
},
|
|
58089
|
+
rule: {
|
|
58090
|
+
enum: ['reservation_deleted'],
|
|
58091
|
+
type: 'string',
|
|
58092
|
+
},
|
|
58093
|
+
},
|
|
58094
|
+
required: ['rule'],
|
|
58095
|
+
type: 'object',
|
|
58096
|
+
},
|
|
58097
|
+
reservation_spaces_updated: {
|
|
58098
|
+
properties: {
|
|
58099
|
+
config: {
|
|
58100
|
+
$ref: '#/components/schemas/access_code',
|
|
58101
|
+
},
|
|
58102
|
+
rule: {
|
|
58103
|
+
enum: ['reservation_spaces_updated'],
|
|
58104
|
+
type: 'string',
|
|
58105
|
+
},
|
|
58106
|
+
},
|
|
58107
|
+
required: ['rule'],
|
|
58108
|
+
type: 'object',
|
|
58109
|
+
},
|
|
58110
|
+
reservation_time_updated: {
|
|
58111
|
+
properties: {
|
|
58112
|
+
config: {
|
|
58113
|
+
$ref: '#/components/schemas/access_code',
|
|
58114
|
+
},
|
|
58115
|
+
rule: {
|
|
58116
|
+
enum: ['reservation_time_updated'],
|
|
58117
|
+
type: 'string',
|
|
58118
|
+
},
|
|
58119
|
+
},
|
|
58120
|
+
required: ['rule'],
|
|
58121
|
+
type: 'object',
|
|
58122
|
+
},
|
|
58123
|
+
space_name_updated: {
|
|
58124
|
+
properties: {
|
|
58125
|
+
config: {
|
|
58126
|
+
$ref: '#/components/schemas/access_code',
|
|
58127
|
+
},
|
|
58128
|
+
rule: {
|
|
58129
|
+
enum: ['space_name_updated'],
|
|
58130
|
+
type: 'string',
|
|
58131
|
+
},
|
|
58132
|
+
},
|
|
58133
|
+
required: ['rule'],
|
|
58134
|
+
type: 'object',
|
|
58135
|
+
},
|
|
58136
|
+
staff_member_created: {
|
|
58137
|
+
properties: {
|
|
58138
|
+
config: {
|
|
58139
|
+
$ref: '#/components/schemas/access_code',
|
|
58140
|
+
},
|
|
58141
|
+
rule: {
|
|
58142
|
+
enum: ['staff_member_created'],
|
|
58143
|
+
type: 'string',
|
|
58144
|
+
},
|
|
58145
|
+
},
|
|
58146
|
+
required: ['rule', 'config'],
|
|
58147
|
+
type: 'object',
|
|
58148
|
+
},
|
|
58149
|
+
staff_member_name_updated: {
|
|
58150
|
+
properties: {
|
|
58151
|
+
config: {
|
|
58152
|
+
$ref: '#/components/schemas/access_code',
|
|
58153
|
+
},
|
|
58154
|
+
rule: {
|
|
58155
|
+
enum: ['staff_member_name_updated'],
|
|
58156
|
+
type: 'string',
|
|
58157
|
+
},
|
|
58158
|
+
},
|
|
58159
|
+
required: ['rule'],
|
|
58160
|
+
type: 'object',
|
|
58161
|
+
},
|
|
58162
|
+
user_identity_name_updated: {
|
|
58163
|
+
properties: {
|
|
58164
|
+
config: {
|
|
58165
|
+
$ref: '#/components/schemas/access_code',
|
|
58166
|
+
},
|
|
58167
|
+
rule: {
|
|
58168
|
+
enum: ['user_identity_name_updated'],
|
|
58169
|
+
type: 'string',
|
|
58170
|
+
},
|
|
58171
|
+
},
|
|
58172
|
+
required: ['rule'],
|
|
58173
|
+
type: 'object',
|
|
58174
|
+
},
|
|
58175
|
+
},
|
|
58176
|
+
type: 'object',
|
|
58177
|
+
},
|
|
58178
|
+
climate_rules: {
|
|
58179
|
+
properties: {
|
|
58180
|
+
rules: {
|
|
58181
|
+
properties: {
|
|
58182
|
+
reservation_created: {
|
|
58183
|
+
properties: {
|
|
58184
|
+
automated_occupied_preset: {
|
|
58185
|
+
properties: {
|
|
58186
|
+
cooling_set_point_celsius: {
|
|
58187
|
+
format: 'float',
|
|
58188
|
+
type: 'number',
|
|
58189
|
+
},
|
|
58190
|
+
cooling_set_point_fahrenheit: {
|
|
58191
|
+
format: 'float',
|
|
58192
|
+
type: 'number',
|
|
58193
|
+
},
|
|
58194
|
+
fan_mode: {
|
|
58195
|
+
enum: ['on', 'auto', 'circulate'],
|
|
58196
|
+
type: 'string',
|
|
58197
|
+
},
|
|
58198
|
+
heating_set_point_celsius: {
|
|
58199
|
+
format: 'float',
|
|
58200
|
+
type: 'number',
|
|
58201
|
+
},
|
|
58202
|
+
heating_set_point_fahrenheit: {
|
|
58203
|
+
format: 'float',
|
|
58204
|
+
type: 'number',
|
|
58205
|
+
},
|
|
58206
|
+
is_override_allowed: {
|
|
58207
|
+
type: 'boolean',
|
|
58208
|
+
},
|
|
58209
|
+
max_override_period_minutes: {
|
|
58210
|
+
format: 'float',
|
|
58211
|
+
type: 'number',
|
|
58212
|
+
},
|
|
58213
|
+
mode: {
|
|
58214
|
+
enum: ['heat', 'cool', 'auto'],
|
|
58215
|
+
type: 'string',
|
|
58216
|
+
},
|
|
58217
|
+
},
|
|
58218
|
+
required: [
|
|
58219
|
+
'mode',
|
|
58220
|
+
'fan_mode',
|
|
58221
|
+
'is_override_allowed',
|
|
58222
|
+
'max_override_period_minutes',
|
|
58223
|
+
],
|
|
58224
|
+
type: 'object',
|
|
58225
|
+
},
|
|
58226
|
+
automated_unoccupied_preset: {
|
|
58227
|
+
properties: {
|
|
58228
|
+
cooling_set_point_celsius: {
|
|
58229
|
+
format: 'float',
|
|
58230
|
+
type: 'number',
|
|
58231
|
+
},
|
|
58232
|
+
cooling_set_point_fahrenheit: {
|
|
58233
|
+
format: 'float',
|
|
58234
|
+
type: 'number',
|
|
58235
|
+
},
|
|
58236
|
+
fan_mode: {
|
|
58237
|
+
enum: ['on', 'auto', 'circulate'],
|
|
58238
|
+
type: 'string',
|
|
58239
|
+
},
|
|
58240
|
+
heating_set_point_celsius: {
|
|
58241
|
+
format: 'float',
|
|
58242
|
+
type: 'number',
|
|
58243
|
+
},
|
|
58244
|
+
heating_set_point_fahrenheit: {
|
|
58245
|
+
format: 'float',
|
|
58246
|
+
type: 'number',
|
|
58247
|
+
},
|
|
58248
|
+
is_override_allowed: {
|
|
58249
|
+
type: 'boolean',
|
|
58250
|
+
},
|
|
58251
|
+
max_override_period_minutes: {
|
|
58252
|
+
format: 'float',
|
|
58253
|
+
type: 'number',
|
|
58254
|
+
},
|
|
58255
|
+
mode: {
|
|
58256
|
+
enum: ['heat', 'cool', 'auto'],
|
|
58257
|
+
type: 'string',
|
|
58258
|
+
},
|
|
58259
|
+
},
|
|
58260
|
+
required: [
|
|
58261
|
+
'mode',
|
|
58262
|
+
'fan_mode',
|
|
58263
|
+
'is_override_allowed',
|
|
58264
|
+
'max_override_period_minutes',
|
|
58265
|
+
],
|
|
58266
|
+
type: 'object',
|
|
58267
|
+
},
|
|
58268
|
+
occupied_preset_key: { type: 'string' },
|
|
58269
|
+
precondition_minutes_before_reservation: {
|
|
58270
|
+
format: 'float',
|
|
58271
|
+
type: 'number',
|
|
58272
|
+
},
|
|
58273
|
+
unoccupied_preset_key: { type: 'string' },
|
|
58274
|
+
},
|
|
58275
|
+
type: 'object',
|
|
58276
|
+
},
|
|
58277
|
+
reservation_deleted: {
|
|
58278
|
+
$ref: '#/components/schemas/access_code',
|
|
58279
|
+
},
|
|
58280
|
+
reservation_time_updated: {
|
|
58281
|
+
$ref: '#/components/schemas/access_code',
|
|
58282
|
+
},
|
|
58283
|
+
},
|
|
58284
|
+
type: 'object',
|
|
58285
|
+
},
|
|
58286
|
+
},
|
|
58287
|
+
required: ['rules'],
|
|
58288
|
+
type: 'object',
|
|
58289
|
+
},
|
|
58290
|
+
},
|
|
58291
|
+
type: 'object',
|
|
58292
|
+
},
|
|
58293
|
+
ok: { type: 'boolean' },
|
|
58294
|
+
},
|
|
58295
|
+
required: ['automation', 'ok'],
|
|
58296
|
+
type: 'object',
|
|
58297
|
+
},
|
|
58298
|
+
},
|
|
58299
|
+
},
|
|
58300
|
+
description: 'OK',
|
|
58301
|
+
},
|
|
58302
|
+
400: { description: 'Bad Request' },
|
|
58303
|
+
401: { description: 'Unauthorized' },
|
|
58304
|
+
},
|
|
58305
|
+
security: [
|
|
58306
|
+
{ pat_with_workspace: [] },
|
|
58307
|
+
{ console_session_with_workspace: [] },
|
|
58308
|
+
{ api_key: [] },
|
|
58309
|
+
],
|
|
58310
|
+
summary: '/seam/customer/v1/customers/automations/get',
|
|
58311
|
+
tags: [],
|
|
58312
|
+
'x-fern-sdk-group-name': [
|
|
58313
|
+
'seam',
|
|
58314
|
+
'customer',
|
|
58315
|
+
'v1',
|
|
58316
|
+
'customers',
|
|
58317
|
+
'automations',
|
|
58318
|
+
],
|
|
58319
|
+
'x-fern-sdk-method-name': 'get',
|
|
58320
|
+
'x-fern-sdk-return-value': 'automation',
|
|
58321
|
+
'x-response-key': 'automation',
|
|
58322
|
+
'x-title': 'Get Customer Automation Configuration',
|
|
58323
|
+
},
|
|
58324
|
+
},
|
|
58325
|
+
'/seam/customer/v1/customers/automations/update': {
|
|
58326
|
+
patch: {
|
|
58327
|
+
description: 'Updates the automation configuration for a specific customer.\nCreates a customer-level override if one does not already exist.',
|
|
58328
|
+
operationId: 'seamCustomerV1CustomersAutomationsUpdatePatch',
|
|
58329
|
+
requestBody: {
|
|
58330
|
+
content: {
|
|
58331
|
+
'application/json': {
|
|
58332
|
+
schema: {
|
|
58333
|
+
properties: {
|
|
58334
|
+
access_rules: {
|
|
58335
|
+
description: 'Access automation rules configuration.',
|
|
58336
|
+
properties: {
|
|
58337
|
+
reservation_created: {
|
|
58338
|
+
properties: {
|
|
58339
|
+
config: {
|
|
58340
|
+
properties: {
|
|
58341
|
+
access_methods: {
|
|
58342
|
+
items: {
|
|
58343
|
+
enum: ['card', 'mobile_key', 'code'],
|
|
58344
|
+
type: 'string',
|
|
58345
|
+
},
|
|
58346
|
+
minItems: 1,
|
|
58347
|
+
type: 'array',
|
|
58348
|
+
},
|
|
58349
|
+
card_count_on_reservation_create: {
|
|
58350
|
+
minimum: 0,
|
|
58351
|
+
type: 'integer',
|
|
58352
|
+
},
|
|
58353
|
+
code_count_on_reservation_create: {
|
|
58354
|
+
minimum: 0,
|
|
58355
|
+
type: 'integer',
|
|
58356
|
+
},
|
|
58357
|
+
instant_key_max_use_count: {
|
|
58358
|
+
minimum: 1,
|
|
58359
|
+
type: 'integer',
|
|
58360
|
+
},
|
|
58361
|
+
method_issuance_strategy: {
|
|
58362
|
+
enum: [
|
|
58363
|
+
'first_available',
|
|
58364
|
+
'first_two_available',
|
|
58365
|
+
'all_available',
|
|
58366
|
+
],
|
|
58367
|
+
type: 'string',
|
|
58368
|
+
},
|
|
58369
|
+
},
|
|
58370
|
+
required: [
|
|
58371
|
+
'access_methods',
|
|
58372
|
+
'method_issuance_strategy',
|
|
58373
|
+
],
|
|
58374
|
+
type: 'object',
|
|
58375
|
+
},
|
|
58376
|
+
rule: {
|
|
58377
|
+
enum: ['reservation_created'],
|
|
58378
|
+
type: 'string',
|
|
58379
|
+
},
|
|
58380
|
+
},
|
|
58381
|
+
required: ['rule', 'config'],
|
|
58382
|
+
type: 'object',
|
|
58383
|
+
},
|
|
58384
|
+
reservation_deleted: {
|
|
58385
|
+
properties: {
|
|
58386
|
+
config: { properties: {}, type: 'object' },
|
|
58387
|
+
rule: {
|
|
58388
|
+
enum: ['reservation_deleted'],
|
|
58389
|
+
type: 'string',
|
|
58390
|
+
},
|
|
58391
|
+
},
|
|
58392
|
+
required: ['rule'],
|
|
58393
|
+
type: 'object',
|
|
58394
|
+
},
|
|
58395
|
+
reservation_spaces_updated: {
|
|
58396
|
+
properties: {
|
|
58397
|
+
config: { properties: {}, type: 'object' },
|
|
58398
|
+
rule: {
|
|
58399
|
+
enum: ['reservation_spaces_updated'],
|
|
58400
|
+
type: 'string',
|
|
58401
|
+
},
|
|
58402
|
+
},
|
|
58403
|
+
required: ['rule'],
|
|
58404
|
+
type: 'object',
|
|
58405
|
+
},
|
|
58406
|
+
reservation_time_updated: {
|
|
58407
|
+
properties: {
|
|
58408
|
+
config: { properties: {}, type: 'object' },
|
|
58409
|
+
rule: {
|
|
58410
|
+
enum: ['reservation_time_updated'],
|
|
58411
|
+
type: 'string',
|
|
58412
|
+
},
|
|
58413
|
+
},
|
|
58414
|
+
required: ['rule'],
|
|
58415
|
+
type: 'object',
|
|
58416
|
+
},
|
|
58417
|
+
space_name_updated: {
|
|
58418
|
+
properties: {
|
|
58419
|
+
config: { properties: {}, type: 'object' },
|
|
58420
|
+
rule: {
|
|
58421
|
+
enum: ['space_name_updated'],
|
|
58422
|
+
type: 'string',
|
|
58423
|
+
},
|
|
58424
|
+
},
|
|
58425
|
+
required: ['rule'],
|
|
58426
|
+
type: 'object',
|
|
58427
|
+
},
|
|
58428
|
+
staff_member_created: {
|
|
58429
|
+
properties: {
|
|
58430
|
+
config: { properties: {}, type: 'object' },
|
|
58431
|
+
rule: {
|
|
58432
|
+
enum: ['staff_member_created'],
|
|
58433
|
+
type: 'string',
|
|
58434
|
+
},
|
|
58435
|
+
},
|
|
58436
|
+
required: ['rule', 'config'],
|
|
58437
|
+
type: 'object',
|
|
58438
|
+
},
|
|
58439
|
+
staff_member_name_updated: {
|
|
58440
|
+
properties: {
|
|
58441
|
+
config: { properties: {}, type: 'object' },
|
|
58442
|
+
rule: {
|
|
58443
|
+
enum: ['staff_member_name_updated'],
|
|
58444
|
+
type: 'string',
|
|
58445
|
+
},
|
|
58446
|
+
},
|
|
58447
|
+
required: ['rule'],
|
|
58448
|
+
type: 'object',
|
|
58449
|
+
},
|
|
58450
|
+
user_identity_name_updated: {
|
|
58451
|
+
properties: {
|
|
58452
|
+
config: { properties: {}, type: 'object' },
|
|
58453
|
+
rule: {
|
|
58454
|
+
enum: ['user_identity_name_updated'],
|
|
58455
|
+
type: 'string',
|
|
58456
|
+
},
|
|
58457
|
+
},
|
|
58458
|
+
required: ['rule'],
|
|
58459
|
+
type: 'object',
|
|
58460
|
+
},
|
|
58461
|
+
},
|
|
58462
|
+
type: 'object',
|
|
58463
|
+
},
|
|
58464
|
+
climate_rules: {
|
|
58465
|
+
description: 'Climate automation rules configuration.',
|
|
58466
|
+
properties: {
|
|
58467
|
+
rules: {
|
|
58468
|
+
properties: {
|
|
58469
|
+
reservation_created: {
|
|
58470
|
+
properties: {
|
|
58471
|
+
automated_occupied_preset: {
|
|
58472
|
+
properties: {
|
|
58473
|
+
cooling_set_point_celsius: {
|
|
58474
|
+
format: 'float',
|
|
58475
|
+
type: 'number',
|
|
58476
|
+
},
|
|
58477
|
+
cooling_set_point_fahrenheit: {
|
|
58478
|
+
format: 'float',
|
|
58479
|
+
type: 'number',
|
|
58480
|
+
},
|
|
58481
|
+
fan_mode: {
|
|
58482
|
+
enum: ['on', 'auto', 'circulate'],
|
|
58483
|
+
type: 'string',
|
|
58484
|
+
},
|
|
58485
|
+
heating_set_point_celsius: {
|
|
58486
|
+
format: 'float',
|
|
58487
|
+
type: 'number',
|
|
58488
|
+
},
|
|
58489
|
+
heating_set_point_fahrenheit: {
|
|
58490
|
+
format: 'float',
|
|
58491
|
+
type: 'number',
|
|
58492
|
+
},
|
|
58493
|
+
is_override_allowed: { type: 'boolean' },
|
|
58494
|
+
max_override_period_minutes: {
|
|
58495
|
+
format: 'float',
|
|
58496
|
+
type: 'number',
|
|
58497
|
+
},
|
|
58498
|
+
mode: {
|
|
58499
|
+
enum: ['heat', 'cool', 'auto'],
|
|
58500
|
+
type: 'string',
|
|
58501
|
+
},
|
|
58502
|
+
},
|
|
58503
|
+
required: [
|
|
58504
|
+
'mode',
|
|
58505
|
+
'fan_mode',
|
|
58506
|
+
'is_override_allowed',
|
|
58507
|
+
'max_override_period_minutes',
|
|
58508
|
+
],
|
|
58509
|
+
type: 'object',
|
|
58510
|
+
},
|
|
58511
|
+
automated_unoccupied_preset: {
|
|
58512
|
+
properties: {
|
|
58513
|
+
cooling_set_point_celsius: {
|
|
58514
|
+
format: 'float',
|
|
58515
|
+
type: 'number',
|
|
58516
|
+
},
|
|
58517
|
+
cooling_set_point_fahrenheit: {
|
|
58518
|
+
format: 'float',
|
|
58519
|
+
type: 'number',
|
|
58520
|
+
},
|
|
58521
|
+
fan_mode: {
|
|
58522
|
+
enum: ['on', 'auto', 'circulate'],
|
|
58523
|
+
type: 'string',
|
|
58524
|
+
},
|
|
58525
|
+
heating_set_point_celsius: {
|
|
58526
|
+
format: 'float',
|
|
58527
|
+
type: 'number',
|
|
58528
|
+
},
|
|
58529
|
+
heating_set_point_fahrenheit: {
|
|
58530
|
+
format: 'float',
|
|
58531
|
+
type: 'number',
|
|
58532
|
+
},
|
|
58533
|
+
is_override_allowed: { type: 'boolean' },
|
|
58534
|
+
max_override_period_minutes: {
|
|
58535
|
+
format: 'float',
|
|
58536
|
+
type: 'number',
|
|
58537
|
+
},
|
|
58538
|
+
mode: {
|
|
58539
|
+
enum: ['heat', 'cool', 'auto'],
|
|
58540
|
+
type: 'string',
|
|
58541
|
+
},
|
|
58542
|
+
},
|
|
58543
|
+
required: [
|
|
58544
|
+
'mode',
|
|
58545
|
+
'fan_mode',
|
|
58546
|
+
'is_override_allowed',
|
|
58547
|
+
'max_override_period_minutes',
|
|
58548
|
+
],
|
|
58549
|
+
type: 'object',
|
|
58550
|
+
},
|
|
58551
|
+
occupied_preset_key: { type: 'string' },
|
|
58552
|
+
precondition_minutes_before_reservation: {
|
|
58553
|
+
format: 'float',
|
|
58554
|
+
type: 'number',
|
|
58555
|
+
},
|
|
58556
|
+
unoccupied_preset_key: { type: 'string' },
|
|
58557
|
+
},
|
|
58558
|
+
type: 'object',
|
|
58559
|
+
},
|
|
58560
|
+
reservation_deleted: {
|
|
58561
|
+
properties: {},
|
|
58562
|
+
type: 'object',
|
|
58563
|
+
},
|
|
58564
|
+
reservation_time_updated: {
|
|
58565
|
+
properties: {},
|
|
58566
|
+
type: 'object',
|
|
58567
|
+
},
|
|
58568
|
+
},
|
|
58569
|
+
type: 'object',
|
|
58570
|
+
},
|
|
58571
|
+
},
|
|
58572
|
+
type: 'object',
|
|
58573
|
+
},
|
|
58574
|
+
customer_key: {
|
|
58575
|
+
description: 'Key of the customer.',
|
|
58576
|
+
type: 'string',
|
|
58577
|
+
},
|
|
58578
|
+
},
|
|
58579
|
+
required: ['customer_key'],
|
|
58580
|
+
type: 'object',
|
|
58581
|
+
},
|
|
58582
|
+
},
|
|
58583
|
+
},
|
|
58584
|
+
},
|
|
58585
|
+
responses: {
|
|
58586
|
+
200: {
|
|
58587
|
+
content: {
|
|
58588
|
+
'application/json': {
|
|
58589
|
+
schema: {
|
|
58590
|
+
properties: { ok: { type: 'boolean' } },
|
|
58591
|
+
required: ['ok'],
|
|
58592
|
+
type: 'object',
|
|
58593
|
+
},
|
|
58594
|
+
},
|
|
58595
|
+
},
|
|
58596
|
+
description: 'OK',
|
|
58597
|
+
},
|
|
58598
|
+
400: { description: 'Bad Request' },
|
|
58599
|
+
401: { description: 'Unauthorized' },
|
|
58600
|
+
},
|
|
58601
|
+
security: [
|
|
58602
|
+
{ pat_with_workspace: [] },
|
|
58603
|
+
{ console_session_with_workspace: [] },
|
|
58604
|
+
{ api_key: [] },
|
|
58605
|
+
],
|
|
58606
|
+
summary: '/seam/customer/v1/customers/automations/update',
|
|
58607
|
+
tags: [],
|
|
58608
|
+
'x-fern-sdk-group-name': [
|
|
58609
|
+
'seam',
|
|
58610
|
+
'customer',
|
|
58611
|
+
'v1',
|
|
58612
|
+
'customers',
|
|
58613
|
+
'automations',
|
|
58614
|
+
],
|
|
58615
|
+
'x-fern-sdk-method-name': 'update',
|
|
58616
|
+
'x-response-key': null,
|
|
58617
|
+
'x-title': 'Update Customer Automation Configuration',
|
|
58618
|
+
},
|
|
58619
|
+
post: {
|
|
58620
|
+
description: 'Updates the automation configuration for a specific customer.\nCreates a customer-level override if one does not already exist.',
|
|
58621
|
+
operationId: 'seamCustomerV1CustomersAutomationsUpdatePost',
|
|
58622
|
+
requestBody: {
|
|
58623
|
+
content: {
|
|
58624
|
+
'application/json': {
|
|
58625
|
+
schema: {
|
|
58626
|
+
properties: {
|
|
58627
|
+
access_rules: {
|
|
58628
|
+
description: 'Access automation rules configuration.',
|
|
58629
|
+
properties: {
|
|
58630
|
+
reservation_created: {
|
|
58631
|
+
properties: {
|
|
58632
|
+
config: {
|
|
58633
|
+
properties: {
|
|
58634
|
+
access_methods: {
|
|
58635
|
+
items: {
|
|
58636
|
+
enum: ['card', 'mobile_key', 'code'],
|
|
58637
|
+
type: 'string',
|
|
58638
|
+
},
|
|
58639
|
+
minItems: 1,
|
|
58640
|
+
type: 'array',
|
|
58641
|
+
},
|
|
58642
|
+
card_count_on_reservation_create: {
|
|
58643
|
+
minimum: 0,
|
|
58644
|
+
type: 'integer',
|
|
58645
|
+
},
|
|
58646
|
+
code_count_on_reservation_create: {
|
|
58647
|
+
minimum: 0,
|
|
58648
|
+
type: 'integer',
|
|
58649
|
+
},
|
|
58650
|
+
instant_key_max_use_count: {
|
|
58651
|
+
minimum: 1,
|
|
58652
|
+
type: 'integer',
|
|
58653
|
+
},
|
|
58654
|
+
method_issuance_strategy: {
|
|
58655
|
+
enum: [
|
|
58656
|
+
'first_available',
|
|
58657
|
+
'first_two_available',
|
|
58658
|
+
'all_available',
|
|
58659
|
+
],
|
|
58660
|
+
type: 'string',
|
|
58661
|
+
},
|
|
58662
|
+
},
|
|
58663
|
+
required: [
|
|
58664
|
+
'access_methods',
|
|
58665
|
+
'method_issuance_strategy',
|
|
58666
|
+
],
|
|
58667
|
+
type: 'object',
|
|
58668
|
+
},
|
|
58669
|
+
rule: {
|
|
58670
|
+
enum: ['reservation_created'],
|
|
58671
|
+
type: 'string',
|
|
58672
|
+
},
|
|
58673
|
+
},
|
|
58674
|
+
required: ['rule', 'config'],
|
|
58675
|
+
type: 'object',
|
|
58676
|
+
},
|
|
58677
|
+
reservation_deleted: {
|
|
58678
|
+
properties: {
|
|
58679
|
+
config: { properties: {}, type: 'object' },
|
|
58680
|
+
rule: {
|
|
58681
|
+
enum: ['reservation_deleted'],
|
|
58682
|
+
type: 'string',
|
|
58683
|
+
},
|
|
58684
|
+
},
|
|
58685
|
+
required: ['rule'],
|
|
58686
|
+
type: 'object',
|
|
58687
|
+
},
|
|
58688
|
+
reservation_spaces_updated: {
|
|
58689
|
+
properties: {
|
|
58690
|
+
config: { properties: {}, type: 'object' },
|
|
58691
|
+
rule: {
|
|
58692
|
+
enum: ['reservation_spaces_updated'],
|
|
58693
|
+
type: 'string',
|
|
58694
|
+
},
|
|
58695
|
+
},
|
|
58696
|
+
required: ['rule'],
|
|
58697
|
+
type: 'object',
|
|
58698
|
+
},
|
|
58699
|
+
reservation_time_updated: {
|
|
58700
|
+
properties: {
|
|
58701
|
+
config: { properties: {}, type: 'object' },
|
|
58702
|
+
rule: {
|
|
58703
|
+
enum: ['reservation_time_updated'],
|
|
58704
|
+
type: 'string',
|
|
58705
|
+
},
|
|
58706
|
+
},
|
|
58707
|
+
required: ['rule'],
|
|
58708
|
+
type: 'object',
|
|
58709
|
+
},
|
|
58710
|
+
space_name_updated: {
|
|
58711
|
+
properties: {
|
|
58712
|
+
config: { properties: {}, type: 'object' },
|
|
58713
|
+
rule: {
|
|
58714
|
+
enum: ['space_name_updated'],
|
|
58715
|
+
type: 'string',
|
|
58716
|
+
},
|
|
58717
|
+
},
|
|
58718
|
+
required: ['rule'],
|
|
58719
|
+
type: 'object',
|
|
58720
|
+
},
|
|
58721
|
+
staff_member_created: {
|
|
58722
|
+
properties: {
|
|
58723
|
+
config: { properties: {}, type: 'object' },
|
|
58724
|
+
rule: {
|
|
58725
|
+
enum: ['staff_member_created'],
|
|
58726
|
+
type: 'string',
|
|
58727
|
+
},
|
|
58728
|
+
},
|
|
58729
|
+
required: ['rule', 'config'],
|
|
58730
|
+
type: 'object',
|
|
58731
|
+
},
|
|
58732
|
+
staff_member_name_updated: {
|
|
58733
|
+
properties: {
|
|
58734
|
+
config: { properties: {}, type: 'object' },
|
|
58735
|
+
rule: {
|
|
58736
|
+
enum: ['staff_member_name_updated'],
|
|
58737
|
+
type: 'string',
|
|
58738
|
+
},
|
|
58739
|
+
},
|
|
58740
|
+
required: ['rule'],
|
|
58741
|
+
type: 'object',
|
|
58742
|
+
},
|
|
58743
|
+
user_identity_name_updated: {
|
|
58744
|
+
properties: {
|
|
58745
|
+
config: { properties: {}, type: 'object' },
|
|
58746
|
+
rule: {
|
|
58747
|
+
enum: ['user_identity_name_updated'],
|
|
58748
|
+
type: 'string',
|
|
58749
|
+
},
|
|
58750
|
+
},
|
|
58751
|
+
required: ['rule'],
|
|
58752
|
+
type: 'object',
|
|
58753
|
+
},
|
|
58754
|
+
},
|
|
58755
|
+
type: 'object',
|
|
58756
|
+
},
|
|
58757
|
+
climate_rules: {
|
|
58758
|
+
description: 'Climate automation rules configuration.',
|
|
58759
|
+
properties: {
|
|
58760
|
+
rules: {
|
|
58761
|
+
properties: {
|
|
58762
|
+
reservation_created: {
|
|
58763
|
+
properties: {
|
|
58764
|
+
automated_occupied_preset: {
|
|
58765
|
+
properties: {
|
|
58766
|
+
cooling_set_point_celsius: {
|
|
58767
|
+
format: 'float',
|
|
58768
|
+
type: 'number',
|
|
58769
|
+
},
|
|
58770
|
+
cooling_set_point_fahrenheit: {
|
|
58771
|
+
format: 'float',
|
|
58772
|
+
type: 'number',
|
|
58773
|
+
},
|
|
58774
|
+
fan_mode: {
|
|
58775
|
+
enum: ['on', 'auto', 'circulate'],
|
|
58776
|
+
type: 'string',
|
|
58777
|
+
},
|
|
58778
|
+
heating_set_point_celsius: {
|
|
58779
|
+
format: 'float',
|
|
58780
|
+
type: 'number',
|
|
58781
|
+
},
|
|
58782
|
+
heating_set_point_fahrenheit: {
|
|
58783
|
+
format: 'float',
|
|
58784
|
+
type: 'number',
|
|
58785
|
+
},
|
|
58786
|
+
is_override_allowed: { type: 'boolean' },
|
|
58787
|
+
max_override_period_minutes: {
|
|
58788
|
+
format: 'float',
|
|
58789
|
+
type: 'number',
|
|
58790
|
+
},
|
|
58791
|
+
mode: {
|
|
58792
|
+
enum: ['heat', 'cool', 'auto'],
|
|
58793
|
+
type: 'string',
|
|
58794
|
+
},
|
|
58795
|
+
},
|
|
58796
|
+
required: [
|
|
58797
|
+
'mode',
|
|
58798
|
+
'fan_mode',
|
|
58799
|
+
'is_override_allowed',
|
|
58800
|
+
'max_override_period_minutes',
|
|
58801
|
+
],
|
|
58802
|
+
type: 'object',
|
|
58803
|
+
},
|
|
58804
|
+
automated_unoccupied_preset: {
|
|
58805
|
+
properties: {
|
|
58806
|
+
cooling_set_point_celsius: {
|
|
58807
|
+
format: 'float',
|
|
58808
|
+
type: 'number',
|
|
58809
|
+
},
|
|
58810
|
+
cooling_set_point_fahrenheit: {
|
|
58811
|
+
format: 'float',
|
|
58812
|
+
type: 'number',
|
|
58813
|
+
},
|
|
58814
|
+
fan_mode: {
|
|
58815
|
+
enum: ['on', 'auto', 'circulate'],
|
|
58816
|
+
type: 'string',
|
|
58817
|
+
},
|
|
58818
|
+
heating_set_point_celsius: {
|
|
58819
|
+
format: 'float',
|
|
58820
|
+
type: 'number',
|
|
58821
|
+
},
|
|
58822
|
+
heating_set_point_fahrenheit: {
|
|
58823
|
+
format: 'float',
|
|
58824
|
+
type: 'number',
|
|
58825
|
+
},
|
|
58826
|
+
is_override_allowed: { type: 'boolean' },
|
|
58827
|
+
max_override_period_minutes: {
|
|
58828
|
+
format: 'float',
|
|
58829
|
+
type: 'number',
|
|
58830
|
+
},
|
|
58831
|
+
mode: {
|
|
58832
|
+
enum: ['heat', 'cool', 'auto'],
|
|
58833
|
+
type: 'string',
|
|
58834
|
+
},
|
|
58835
|
+
},
|
|
58836
|
+
required: [
|
|
58837
|
+
'mode',
|
|
58838
|
+
'fan_mode',
|
|
58839
|
+
'is_override_allowed',
|
|
58840
|
+
'max_override_period_minutes',
|
|
58841
|
+
],
|
|
58842
|
+
type: 'object',
|
|
58843
|
+
},
|
|
58844
|
+
occupied_preset_key: { type: 'string' },
|
|
58845
|
+
precondition_minutes_before_reservation: {
|
|
58846
|
+
format: 'float',
|
|
58847
|
+
type: 'number',
|
|
58848
|
+
},
|
|
58849
|
+
unoccupied_preset_key: { type: 'string' },
|
|
58850
|
+
},
|
|
58851
|
+
type: 'object',
|
|
58852
|
+
},
|
|
58853
|
+
reservation_deleted: {
|
|
58854
|
+
properties: {},
|
|
58855
|
+
type: 'object',
|
|
58856
|
+
},
|
|
58857
|
+
reservation_time_updated: {
|
|
58858
|
+
properties: {},
|
|
58859
|
+
type: 'object',
|
|
58860
|
+
},
|
|
58861
|
+
},
|
|
58862
|
+
type: 'object',
|
|
58863
|
+
},
|
|
58864
|
+
},
|
|
58865
|
+
type: 'object',
|
|
58866
|
+
},
|
|
58867
|
+
customer_key: {
|
|
58868
|
+
description: 'Key of the customer.',
|
|
58869
|
+
type: 'string',
|
|
58870
|
+
},
|
|
58871
|
+
},
|
|
58872
|
+
required: ['customer_key'],
|
|
58873
|
+
type: 'object',
|
|
58874
|
+
},
|
|
58875
|
+
},
|
|
58876
|
+
},
|
|
58877
|
+
},
|
|
58878
|
+
responses: {
|
|
58879
|
+
200: {
|
|
58880
|
+
content: {
|
|
58881
|
+
'application/json': {
|
|
58882
|
+
schema: {
|
|
58883
|
+
properties: { ok: { type: 'boolean' } },
|
|
58884
|
+
required: ['ok'],
|
|
58885
|
+
type: 'object',
|
|
58886
|
+
},
|
|
58887
|
+
},
|
|
58888
|
+
},
|
|
58889
|
+
description: 'OK',
|
|
58890
|
+
},
|
|
58891
|
+
400: { description: 'Bad Request' },
|
|
58892
|
+
401: { description: 'Unauthorized' },
|
|
58893
|
+
},
|
|
58894
|
+
security: [
|
|
58895
|
+
{ pat_with_workspace: [] },
|
|
58896
|
+
{ console_session_with_workspace: [] },
|
|
58897
|
+
{ api_key: [] },
|
|
58898
|
+
],
|
|
58899
|
+
summary: '/seam/customer/v1/customers/automations/update',
|
|
58900
|
+
tags: [],
|
|
58901
|
+
'x-fern-sdk-group-name': [
|
|
58902
|
+
'seam',
|
|
58903
|
+
'customer',
|
|
58904
|
+
'v1',
|
|
58905
|
+
'customers',
|
|
58906
|
+
'automations',
|
|
58907
|
+
],
|
|
58908
|
+
'x-fern-sdk-method-name': 'update',
|
|
58909
|
+
'x-response-key': null,
|
|
58910
|
+
'x-title': 'Update Customer Automation Configuration',
|
|
58911
|
+
},
|
|
58912
|
+
},
|
|
57699
58913
|
'/seam/customer/v1/customers/list': {
|
|
57700
58914
|
get: {
|
|
57701
58915
|
description: 'Returns a list of all customers within the workspace.',
|