@seamapi/types 1.243.0 → 1.244.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.
@@ -801,17 +801,17 @@ export default {
801
801
  format: 'date-time',
802
802
  type: 'string',
803
803
  },
804
+ error_code: {
805
+ enum: ['failed_to_create_on_acs_system'],
806
+ type: 'string',
807
+ },
804
808
  message: {
805
809
  description:
806
810
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
807
811
  type: 'string',
808
812
  },
809
- warning_code: {
810
- enum: ['failed_to_create_on_acs_system'],
811
- type: 'string',
812
- },
813
813
  },
814
- required: ['created_at', 'message', 'warning_code'],
814
+ required: ['created_at', 'message', 'error_code'],
815
815
  type: 'object',
816
816
  },
817
817
  {
@@ -824,17 +824,17 @@ export default {
824
824
  format: 'date-time',
825
825
  type: 'string',
826
826
  },
827
+ error_code: {
828
+ enum: ['failed_to_update_on_acs_system'],
829
+ type: 'string',
830
+ },
827
831
  message: {
828
832
  description:
829
833
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
830
834
  type: 'string',
831
835
  },
832
- warning_code: {
833
- enum: ['failed_to_update_on_acs_system'],
834
- type: 'string',
835
- },
836
836
  },
837
- required: ['created_at', 'message', 'warning_code'],
837
+ required: ['created_at', 'message', 'error_code'],
838
838
  type: 'object',
839
839
  },
840
840
  {
@@ -847,17 +847,17 @@ export default {
847
847
  format: 'date-time',
848
848
  type: 'string',
849
849
  },
850
+ error_code: {
851
+ enum: ['failed_to_delete_on_acs_system'],
852
+ type: 'string',
853
+ },
850
854
  message: {
851
855
  description:
852
856
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
853
857
  type: 'string',
854
858
  },
855
- warning_code: {
856
- enum: ['failed_to_delete_on_acs_system'],
857
- type: 'string',
858
- },
859
859
  },
860
- required: ['created_at', 'message', 'warning_code'],
860
+ required: ['created_at', 'message', 'error_code'],
861
861
  type: 'object',
862
862
  },
863
863
  ],
@@ -904,29 +904,6 @@ export default {
904
904
  required: ['created_at', 'message', 'warning_code'],
905
905
  type: 'object',
906
906
  },
907
- {
908
- description:
909
- "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
910
- properties: {
911
- created_at: {
912
- description:
913
- 'Date and time at which Seam created the error.',
914
- format: 'date-time',
915
- type: 'string',
916
- },
917
- message: {
918
- description:
919
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
920
- type: 'string',
921
- },
922
- warning_code: {
923
- enum: ['failed_to_update_on_acs_system'],
924
- type: 'string',
925
- },
926
- },
927
- required: ['created_at', 'message', 'warning_code'],
928
- type: 'object',
929
- },
930
907
  {
931
908
  description:
932
909
  'Indicates that the user is not subscribed on the Salto KS, so they cannot unlock doors or perform any actions. This occur when the their access schedule hasn’t started yet, or if their access schedule has ended, or if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.',
@@ -2169,6 +2146,33 @@ export default {
2169
2146
  ],
2170
2147
  type: 'object',
2171
2148
  },
2149
+ climate_preset: {
2150
+ properties: {
2151
+ can_delete: { type: 'boolean' },
2152
+ can_edit: { type: 'boolean' },
2153
+ climate_preset_key: { type: 'string' },
2154
+ cooling_set_point_celsius: { format: 'float', type: 'number' },
2155
+ cooling_set_point_fahrenheit: { format: 'float', type: 'number' },
2156
+ display_name: { type: 'string' },
2157
+ fan_mode_setting: { enum: ['auto', 'on'], type: 'string' },
2158
+ heating_set_point_celsius: { format: 'float', type: 'number' },
2159
+ heating_set_point_fahrenheit: { format: 'float', type: 'number' },
2160
+ hvac_mode_setting: {
2161
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
2162
+ type: 'string',
2163
+ },
2164
+ manual_override_allowed: { type: 'boolean' },
2165
+ name: { default: null, nullable: true, type: 'string' },
2166
+ },
2167
+ required: [
2168
+ 'climate_preset_key',
2169
+ 'can_edit',
2170
+ 'can_delete',
2171
+ 'display_name',
2172
+ 'manual_override_allowed',
2173
+ ],
2174
+ type: 'object',
2175
+ },
2172
2176
  connect_webview: {
2173
2177
  properties: {
2174
2178
  accepted_devices: {
@@ -8093,20 +8097,20 @@ export default {
8093
8097
  format: 'date-time',
8094
8098
  type: 'string',
8095
8099
  },
8100
+ error_code: {
8101
+ enum: ['failed_to_create_on_acs_system'],
8102
+ type: 'string',
8103
+ },
8096
8104
  message: {
8097
8105
  description:
8098
8106
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8099
8107
  type: 'string',
8100
8108
  },
8101
- warning_code: {
8102
- enum: ['failed_to_create_on_acs_system'],
8103
- type: 'string',
8104
- },
8105
8109
  },
8106
8110
  required: [
8107
8111
  'created_at',
8108
8112
  'message',
8109
- 'warning_code',
8113
+ 'error_code',
8110
8114
  ],
8111
8115
  type: 'object',
8112
8116
  },
@@ -8120,20 +8124,20 @@ export default {
8120
8124
  format: 'date-time',
8121
8125
  type: 'string',
8122
8126
  },
8127
+ error_code: {
8128
+ enum: ['failed_to_update_on_acs_system'],
8129
+ type: 'string',
8130
+ },
8123
8131
  message: {
8124
8132
  description:
8125
8133
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8126
8134
  type: 'string',
8127
8135
  },
8128
- warning_code: {
8129
- enum: ['failed_to_update_on_acs_system'],
8130
- type: 'string',
8131
- },
8132
8136
  },
8133
8137
  required: [
8134
8138
  'created_at',
8135
8139
  'message',
8136
- 'warning_code',
8140
+ 'error_code',
8137
8141
  ],
8138
8142
  type: 'object',
8139
8143
  },
@@ -8147,20 +8151,20 @@ export default {
8147
8151
  format: 'date-time',
8148
8152
  type: 'string',
8149
8153
  },
8154
+ error_code: {
8155
+ enum: ['failed_to_delete_on_acs_system'],
8156
+ type: 'string',
8157
+ },
8150
8158
  message: {
8151
8159
  description:
8152
8160
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8153
8161
  type: 'string',
8154
8162
  },
8155
- warning_code: {
8156
- enum: ['failed_to_delete_on_acs_system'],
8157
- type: 'string',
8158
- },
8159
8163
  },
8160
8164
  required: [
8161
8165
  'created_at',
8162
8166
  'message',
8163
- 'warning_code',
8167
+ 'error_code',
8164
8168
  ],
8165
8169
  type: 'object',
8166
8170
  },
@@ -8230,33 +8234,6 @@ export default {
8230
8234
  ],
8231
8235
  type: 'object',
8232
8236
  },
8233
- {
8234
- description:
8235
- "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8236
- properties: {
8237
- created_at: {
8238
- description:
8239
- 'Date and time at which Seam created the error.',
8240
- format: 'date-time',
8241
- type: 'string',
8242
- },
8243
- message: {
8244
- description:
8245
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8246
- type: 'string',
8247
- },
8248
- warning_code: {
8249
- enum: ['failed_to_update_on_acs_system'],
8250
- type: 'string',
8251
- },
8252
- },
8253
- required: [
8254
- 'created_at',
8255
- 'message',
8256
- 'warning_code',
8257
- ],
8258
- type: 'object',
8259
- },
8260
8237
  {
8261
8238
  description:
8262
8239
  'Indicates that the user is not subscribed on the Salto KS, so they cannot unlock doors or perform any actions. This occur when the their access schedule hasn’t started yet, or if their access schedule has ended, or if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.',
@@ -8434,20 +8411,20 @@ export default {
8434
8411
  format: 'date-time',
8435
8412
  type: 'string',
8436
8413
  },
8414
+ error_code: {
8415
+ enum: ['failed_to_create_on_acs_system'],
8416
+ type: 'string',
8417
+ },
8437
8418
  message: {
8438
8419
  description:
8439
8420
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8440
8421
  type: 'string',
8441
8422
  },
8442
- warning_code: {
8443
- enum: ['failed_to_create_on_acs_system'],
8444
- type: 'string',
8445
- },
8446
8423
  },
8447
8424
  required: [
8448
8425
  'created_at',
8449
8426
  'message',
8450
- 'warning_code',
8427
+ 'error_code',
8451
8428
  ],
8452
8429
  type: 'object',
8453
8430
  },
@@ -8461,20 +8438,20 @@ export default {
8461
8438
  format: 'date-time',
8462
8439
  type: 'string',
8463
8440
  },
8441
+ error_code: {
8442
+ enum: ['failed_to_update_on_acs_system'],
8443
+ type: 'string',
8444
+ },
8464
8445
  message: {
8465
8446
  description:
8466
8447
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8467
8448
  type: 'string',
8468
8449
  },
8469
- warning_code: {
8470
- enum: ['failed_to_update_on_acs_system'],
8471
- type: 'string',
8472
- },
8473
8450
  },
8474
8451
  required: [
8475
8452
  'created_at',
8476
8453
  'message',
8477
- 'warning_code',
8454
+ 'error_code',
8478
8455
  ],
8479
8456
  type: 'object',
8480
8457
  },
@@ -8488,20 +8465,20 @@ export default {
8488
8465
  format: 'date-time',
8489
8466
  type: 'string',
8490
8467
  },
8468
+ error_code: {
8469
+ enum: ['failed_to_delete_on_acs_system'],
8470
+ type: 'string',
8471
+ },
8491
8472
  message: {
8492
8473
  description:
8493
8474
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8494
8475
  type: 'string',
8495
8476
  },
8496
- warning_code: {
8497
- enum: ['failed_to_delete_on_acs_system'],
8498
- type: 'string',
8499
- },
8500
8477
  },
8501
8478
  required: [
8502
8479
  'created_at',
8503
8480
  'message',
8504
- 'warning_code',
8481
+ 'error_code',
8505
8482
  ],
8506
8483
  type: 'object',
8507
8484
  },
@@ -8571,33 +8548,6 @@ export default {
8571
8548
  ],
8572
8549
  type: 'object',
8573
8550
  },
8574
- {
8575
- description:
8576
- "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8577
- properties: {
8578
- created_at: {
8579
- description:
8580
- 'Date and time at which Seam created the error.',
8581
- format: 'date-time',
8582
- type: 'string',
8583
- },
8584
- message: {
8585
- description:
8586
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8587
- type: 'string',
8588
- },
8589
- warning_code: {
8590
- enum: ['failed_to_update_on_acs_system'],
8591
- type: 'string',
8592
- },
8593
- },
8594
- required: [
8595
- 'created_at',
8596
- 'message',
8597
- 'warning_code',
8598
- ],
8599
- type: 'object',
8600
- },
8601
8551
  {
8602
8552
  description:
8603
8553
  'Indicates that the user is not subscribed on the Salto KS, so they cannot unlock doors or perform any actions. This occur when the their access schedule hasn’t started yet, or if their access schedule has ended, or if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.',
@@ -12737,46 +12687,7 @@ export default {
12737
12687
  schema: {
12738
12688
  properties: {
12739
12689
  climate_preset: {
12740
- properties: {
12741
- can_delete: { type: 'boolean' },
12742
- can_edit: { type: 'boolean' },
12743
- climate_preset_key: { type: 'string' },
12744
- cooling_set_point_celsius: {
12745
- format: 'float',
12746
- type: 'number',
12747
- },
12748
- cooling_set_point_fahrenheit: {
12749
- format: 'float',
12750
- type: 'number',
12751
- },
12752
- display_name: { type: 'string' },
12753
- fan_mode_setting: {
12754
- enum: ['auto', 'on'],
12755
- type: 'string',
12756
- },
12757
- heating_set_point_celsius: {
12758
- format: 'float',
12759
- type: 'number',
12760
- },
12761
- heating_set_point_fahrenheit: {
12762
- format: 'float',
12763
- type: 'number',
12764
- },
12765
- hvac_mode_setting: {
12766
- enum: ['off', 'heat', 'cool', 'heat_cool'],
12767
- type: 'string',
12768
- },
12769
- manual_override_allowed: { type: 'boolean' },
12770
- name: { default: null, nullable: true, type: 'string' },
12771
- },
12772
- required: [
12773
- 'climate_preset_key',
12774
- 'can_edit',
12775
- 'can_delete',
12776
- 'display_name',
12777
- 'manual_override_allowed',
12778
- ],
12779
- type: 'object',
12690
+ $ref: '#/components/schemas/climate_preset',
12780
12691
  },
12781
12692
  ok: { type: 'boolean' },
12782
12693
  },
@@ -13793,46 +13704,7 @@ export default {
13793
13704
  schema: {
13794
13705
  properties: {
13795
13706
  climate_preset: {
13796
- properties: {
13797
- can_delete: { type: 'boolean' },
13798
- can_edit: { type: 'boolean' },
13799
- climate_preset_key: { type: 'string' },
13800
- cooling_set_point_celsius: {
13801
- format: 'float',
13802
- type: 'number',
13803
- },
13804
- cooling_set_point_fahrenheit: {
13805
- format: 'float',
13806
- type: 'number',
13807
- },
13808
- display_name: { type: 'string' },
13809
- fan_mode_setting: {
13810
- enum: ['auto', 'on'],
13811
- type: 'string',
13812
- },
13813
- heating_set_point_celsius: {
13814
- format: 'float',
13815
- type: 'number',
13816
- },
13817
- heating_set_point_fahrenheit: {
13818
- format: 'float',
13819
- type: 'number',
13820
- },
13821
- hvac_mode_setting: {
13822
- enum: ['off', 'heat', 'cool', 'heat_cool'],
13823
- type: 'string',
13824
- },
13825
- manual_override_allowed: { type: 'boolean' },
13826
- name: { default: null, nullable: true, type: 'string' },
13827
- },
13828
- required: [
13829
- 'climate_preset_key',
13830
- 'can_edit',
13831
- 'can_delete',
13832
- 'display_name',
13833
- 'manual_override_allowed',
13834
- ],
13835
- type: 'object',
13707
+ $ref: '#/components/schemas/climate_preset',
13836
13708
  },
13837
13709
  ok: { type: 'boolean' },
13838
13710
  },
@@ -13905,46 +13777,7 @@ export default {
13905
13777
  schema: {
13906
13778
  properties: {
13907
13779
  climate_preset: {
13908
- properties: {
13909
- can_delete: { type: 'boolean' },
13910
- can_edit: { type: 'boolean' },
13911
- climate_preset_key: { type: 'string' },
13912
- cooling_set_point_celsius: {
13913
- format: 'float',
13914
- type: 'number',
13915
- },
13916
- cooling_set_point_fahrenheit: {
13917
- format: 'float',
13918
- type: 'number',
13919
- },
13920
- display_name: { type: 'string' },
13921
- fan_mode_setting: {
13922
- enum: ['auto', 'on'],
13923
- type: 'string',
13924
- },
13925
- heating_set_point_celsius: {
13926
- format: 'float',
13927
- type: 'number',
13928
- },
13929
- heating_set_point_fahrenheit: {
13930
- format: 'float',
13931
- type: 'number',
13932
- },
13933
- hvac_mode_setting: {
13934
- enum: ['off', 'heat', 'cool', 'heat_cool'],
13935
- type: 'string',
13936
- },
13937
- manual_override_allowed: { type: 'boolean' },
13938
- name: { default: null, nullable: true, type: 'string' },
13939
- },
13940
- required: [
13941
- 'climate_preset_key',
13942
- 'can_edit',
13943
- 'can_delete',
13944
- 'display_name',
13945
- 'manual_override_allowed',
13946
- ],
13947
- type: 'object',
13780
+ $ref: '#/components/schemas/climate_preset',
13948
13781
  },
13949
13782
  ok: { type: 'boolean' },
13950
13783
  },