@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.
- package/dist/connect.cjs +79 -241
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +116 -417
- package/lib/seam/connect/models/acs/acs-user.d.ts +45 -100
- package/lib/seam/connect/models/acs/acs-user.js +4 -8
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +65 -282
- package/lib/seam/connect/openapi.js +75 -233
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -63
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +4 -8
- package/src/lib/seam/connect/openapi.ts +75 -242
- package/src/lib/seam/connect/route-types.ts +21 -70
|
@@ -747,16 +747,16 @@ export default {
|
|
|
747
747
|
format: 'date-time',
|
|
748
748
|
type: 'string',
|
|
749
749
|
},
|
|
750
|
-
|
|
751
|
-
|
|
750
|
+
error_code: {
|
|
751
|
+
enum: ['failed_to_create_on_acs_system'],
|
|
752
752
|
type: 'string',
|
|
753
753
|
},
|
|
754
|
-
|
|
755
|
-
|
|
754
|
+
message: {
|
|
755
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
756
756
|
type: 'string',
|
|
757
757
|
},
|
|
758
758
|
},
|
|
759
|
-
required: ['created_at', 'message', '
|
|
759
|
+
required: ['created_at', 'message', 'error_code'],
|
|
760
760
|
type: 'object',
|
|
761
761
|
},
|
|
762
762
|
{
|
|
@@ -767,16 +767,16 @@ export default {
|
|
|
767
767
|
format: 'date-time',
|
|
768
768
|
type: 'string',
|
|
769
769
|
},
|
|
770
|
-
|
|
771
|
-
|
|
770
|
+
error_code: {
|
|
771
|
+
enum: ['failed_to_update_on_acs_system'],
|
|
772
772
|
type: 'string',
|
|
773
773
|
},
|
|
774
|
-
|
|
775
|
-
|
|
774
|
+
message: {
|
|
775
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
776
776
|
type: 'string',
|
|
777
777
|
},
|
|
778
778
|
},
|
|
779
|
-
required: ['created_at', 'message', '
|
|
779
|
+
required: ['created_at', 'message', 'error_code'],
|
|
780
780
|
type: 'object',
|
|
781
781
|
},
|
|
782
782
|
{
|
|
@@ -787,16 +787,16 @@ export default {
|
|
|
787
787
|
format: 'date-time',
|
|
788
788
|
type: 'string',
|
|
789
789
|
},
|
|
790
|
-
|
|
791
|
-
|
|
790
|
+
error_code: {
|
|
791
|
+
enum: ['failed_to_delete_on_acs_system'],
|
|
792
792
|
type: 'string',
|
|
793
793
|
},
|
|
794
|
-
|
|
795
|
-
|
|
794
|
+
message: {
|
|
795
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
796
796
|
type: 'string',
|
|
797
797
|
},
|
|
798
798
|
},
|
|
799
|
-
required: ['created_at', 'message', '
|
|
799
|
+
required: ['created_at', 'message', 'error_code'],
|
|
800
800
|
type: 'object',
|
|
801
801
|
},
|
|
802
802
|
],
|
|
@@ -842,26 +842,6 @@ export default {
|
|
|
842
842
|
required: ['created_at', 'message', 'warning_code'],
|
|
843
843
|
type: 'object',
|
|
844
844
|
},
|
|
845
|
-
{
|
|
846
|
-
description: "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.",
|
|
847
|
-
properties: {
|
|
848
|
-
created_at: {
|
|
849
|
-
description: 'Date and time at which Seam created the error.',
|
|
850
|
-
format: 'date-time',
|
|
851
|
-
type: 'string',
|
|
852
|
-
},
|
|
853
|
-
message: {
|
|
854
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
855
|
-
type: 'string',
|
|
856
|
-
},
|
|
857
|
-
warning_code: {
|
|
858
|
-
enum: ['failed_to_update_on_acs_system'],
|
|
859
|
-
type: 'string',
|
|
860
|
-
},
|
|
861
|
-
},
|
|
862
|
-
required: ['created_at', 'message', 'warning_code'],
|
|
863
|
-
type: 'object',
|
|
864
|
-
},
|
|
865
845
|
{
|
|
866
846
|
description: '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.',
|
|
867
847
|
properties: {
|
|
@@ -2103,6 +2083,33 @@ export default {
|
|
|
2103
2083
|
],
|
|
2104
2084
|
type: 'object',
|
|
2105
2085
|
},
|
|
2086
|
+
climate_preset: {
|
|
2087
|
+
properties: {
|
|
2088
|
+
can_delete: { type: 'boolean' },
|
|
2089
|
+
can_edit: { type: 'boolean' },
|
|
2090
|
+
climate_preset_key: { type: 'string' },
|
|
2091
|
+
cooling_set_point_celsius: { format: 'float', type: 'number' },
|
|
2092
|
+
cooling_set_point_fahrenheit: { format: 'float', type: 'number' },
|
|
2093
|
+
display_name: { type: 'string' },
|
|
2094
|
+
fan_mode_setting: { enum: ['auto', 'on'], type: 'string' },
|
|
2095
|
+
heating_set_point_celsius: { format: 'float', type: 'number' },
|
|
2096
|
+
heating_set_point_fahrenheit: { format: 'float', type: 'number' },
|
|
2097
|
+
hvac_mode_setting: {
|
|
2098
|
+
enum: ['off', 'heat', 'cool', 'heat_cool'],
|
|
2099
|
+
type: 'string',
|
|
2100
|
+
},
|
|
2101
|
+
manual_override_allowed: { type: 'boolean' },
|
|
2102
|
+
name: { default: null, nullable: true, type: 'string' },
|
|
2103
|
+
},
|
|
2104
|
+
required: [
|
|
2105
|
+
'climate_preset_key',
|
|
2106
|
+
'can_edit',
|
|
2107
|
+
'can_delete',
|
|
2108
|
+
'display_name',
|
|
2109
|
+
'manual_override_allowed',
|
|
2110
|
+
],
|
|
2111
|
+
type: 'object',
|
|
2112
|
+
},
|
|
2106
2113
|
connect_webview: {
|
|
2107
2114
|
properties: {
|
|
2108
2115
|
accepted_devices: {
|
|
@@ -7948,19 +7955,19 @@ export default {
|
|
|
7948
7955
|
format: 'date-time',
|
|
7949
7956
|
type: 'string',
|
|
7950
7957
|
},
|
|
7951
|
-
|
|
7952
|
-
|
|
7958
|
+
error_code: {
|
|
7959
|
+
enum: ['failed_to_create_on_acs_system'],
|
|
7953
7960
|
type: 'string',
|
|
7954
7961
|
},
|
|
7955
|
-
|
|
7956
|
-
|
|
7962
|
+
message: {
|
|
7963
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
7957
7964
|
type: 'string',
|
|
7958
7965
|
},
|
|
7959
7966
|
},
|
|
7960
7967
|
required: [
|
|
7961
7968
|
'created_at',
|
|
7962
7969
|
'message',
|
|
7963
|
-
'
|
|
7970
|
+
'error_code',
|
|
7964
7971
|
],
|
|
7965
7972
|
type: 'object',
|
|
7966
7973
|
},
|
|
@@ -7972,19 +7979,19 @@ export default {
|
|
|
7972
7979
|
format: 'date-time',
|
|
7973
7980
|
type: 'string',
|
|
7974
7981
|
},
|
|
7975
|
-
|
|
7976
|
-
|
|
7982
|
+
error_code: {
|
|
7983
|
+
enum: ['failed_to_update_on_acs_system'],
|
|
7977
7984
|
type: 'string',
|
|
7978
7985
|
},
|
|
7979
|
-
|
|
7980
|
-
|
|
7986
|
+
message: {
|
|
7987
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
7981
7988
|
type: 'string',
|
|
7982
7989
|
},
|
|
7983
7990
|
},
|
|
7984
7991
|
required: [
|
|
7985
7992
|
'created_at',
|
|
7986
7993
|
'message',
|
|
7987
|
-
'
|
|
7994
|
+
'error_code',
|
|
7988
7995
|
],
|
|
7989
7996
|
type: 'object',
|
|
7990
7997
|
},
|
|
@@ -7996,19 +8003,19 @@ export default {
|
|
|
7996
8003
|
format: 'date-time',
|
|
7997
8004
|
type: 'string',
|
|
7998
8005
|
},
|
|
7999
|
-
|
|
8000
|
-
|
|
8006
|
+
error_code: {
|
|
8007
|
+
enum: ['failed_to_delete_on_acs_system'],
|
|
8001
8008
|
type: 'string',
|
|
8002
8009
|
},
|
|
8003
|
-
|
|
8004
|
-
|
|
8010
|
+
message: {
|
|
8011
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8005
8012
|
type: 'string',
|
|
8006
8013
|
},
|
|
8007
8014
|
},
|
|
8008
8015
|
required: [
|
|
8009
8016
|
'created_at',
|
|
8010
8017
|
'message',
|
|
8011
|
-
'
|
|
8018
|
+
'error_code',
|
|
8012
8019
|
],
|
|
8013
8020
|
type: 'object',
|
|
8014
8021
|
},
|
|
@@ -8076,30 +8083,6 @@ export default {
|
|
|
8076
8083
|
],
|
|
8077
8084
|
type: 'object',
|
|
8078
8085
|
},
|
|
8079
|
-
{
|
|
8080
|
-
description: "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.",
|
|
8081
|
-
properties: {
|
|
8082
|
-
created_at: {
|
|
8083
|
-
description: 'Date and time at which Seam created the error.',
|
|
8084
|
-
format: 'date-time',
|
|
8085
|
-
type: 'string',
|
|
8086
|
-
},
|
|
8087
|
-
message: {
|
|
8088
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8089
|
-
type: 'string',
|
|
8090
|
-
},
|
|
8091
|
-
warning_code: {
|
|
8092
|
-
enum: ['failed_to_update_on_acs_system'],
|
|
8093
|
-
type: 'string',
|
|
8094
|
-
},
|
|
8095
|
-
},
|
|
8096
|
-
required: [
|
|
8097
|
-
'created_at',
|
|
8098
|
-
'message',
|
|
8099
|
-
'warning_code',
|
|
8100
|
-
],
|
|
8101
|
-
type: 'object',
|
|
8102
|
-
},
|
|
8103
8086
|
{
|
|
8104
8087
|
description: '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.',
|
|
8105
8088
|
properties: {
|
|
@@ -8267,19 +8250,19 @@ export default {
|
|
|
8267
8250
|
format: 'date-time',
|
|
8268
8251
|
type: 'string',
|
|
8269
8252
|
},
|
|
8270
|
-
|
|
8271
|
-
|
|
8253
|
+
error_code: {
|
|
8254
|
+
enum: ['failed_to_create_on_acs_system'],
|
|
8272
8255
|
type: 'string',
|
|
8273
8256
|
},
|
|
8274
|
-
|
|
8275
|
-
|
|
8257
|
+
message: {
|
|
8258
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8276
8259
|
type: 'string',
|
|
8277
8260
|
},
|
|
8278
8261
|
},
|
|
8279
8262
|
required: [
|
|
8280
8263
|
'created_at',
|
|
8281
8264
|
'message',
|
|
8282
|
-
'
|
|
8265
|
+
'error_code',
|
|
8283
8266
|
],
|
|
8284
8267
|
type: 'object',
|
|
8285
8268
|
},
|
|
@@ -8291,19 +8274,19 @@ export default {
|
|
|
8291
8274
|
format: 'date-time',
|
|
8292
8275
|
type: 'string',
|
|
8293
8276
|
},
|
|
8294
|
-
|
|
8295
|
-
|
|
8277
|
+
error_code: {
|
|
8278
|
+
enum: ['failed_to_update_on_acs_system'],
|
|
8296
8279
|
type: 'string',
|
|
8297
8280
|
},
|
|
8298
|
-
|
|
8299
|
-
|
|
8281
|
+
message: {
|
|
8282
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8300
8283
|
type: 'string',
|
|
8301
8284
|
},
|
|
8302
8285
|
},
|
|
8303
8286
|
required: [
|
|
8304
8287
|
'created_at',
|
|
8305
8288
|
'message',
|
|
8306
|
-
'
|
|
8289
|
+
'error_code',
|
|
8307
8290
|
],
|
|
8308
8291
|
type: 'object',
|
|
8309
8292
|
},
|
|
@@ -8315,19 +8298,19 @@ export default {
|
|
|
8315
8298
|
format: 'date-time',
|
|
8316
8299
|
type: 'string',
|
|
8317
8300
|
},
|
|
8318
|
-
|
|
8319
|
-
|
|
8301
|
+
error_code: {
|
|
8302
|
+
enum: ['failed_to_delete_on_acs_system'],
|
|
8320
8303
|
type: 'string',
|
|
8321
8304
|
},
|
|
8322
|
-
|
|
8323
|
-
|
|
8305
|
+
message: {
|
|
8306
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8324
8307
|
type: 'string',
|
|
8325
8308
|
},
|
|
8326
8309
|
},
|
|
8327
8310
|
required: [
|
|
8328
8311
|
'created_at',
|
|
8329
8312
|
'message',
|
|
8330
|
-
'
|
|
8313
|
+
'error_code',
|
|
8331
8314
|
],
|
|
8332
8315
|
type: 'object',
|
|
8333
8316
|
},
|
|
@@ -8395,30 +8378,6 @@ export default {
|
|
|
8395
8378
|
],
|
|
8396
8379
|
type: 'object',
|
|
8397
8380
|
},
|
|
8398
|
-
{
|
|
8399
|
-
description: "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.",
|
|
8400
|
-
properties: {
|
|
8401
|
-
created_at: {
|
|
8402
|
-
description: 'Date and time at which Seam created the error.',
|
|
8403
|
-
format: 'date-time',
|
|
8404
|
-
type: 'string',
|
|
8405
|
-
},
|
|
8406
|
-
message: {
|
|
8407
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8408
|
-
type: 'string',
|
|
8409
|
-
},
|
|
8410
|
-
warning_code: {
|
|
8411
|
-
enum: ['failed_to_update_on_acs_system'],
|
|
8412
|
-
type: 'string',
|
|
8413
|
-
},
|
|
8414
|
-
},
|
|
8415
|
-
required: [
|
|
8416
|
-
'created_at',
|
|
8417
|
-
'message',
|
|
8418
|
-
'warning_code',
|
|
8419
|
-
],
|
|
8420
|
-
type: 'object',
|
|
8421
|
-
},
|
|
8422
8381
|
{
|
|
8423
8382
|
description: '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.',
|
|
8424
8383
|
properties: {
|
|
@@ -12549,46 +12508,7 @@ export default {
|
|
|
12549
12508
|
schema: {
|
|
12550
12509
|
properties: {
|
|
12551
12510
|
climate_preset: {
|
|
12552
|
-
|
|
12553
|
-
can_delete: { type: 'boolean' },
|
|
12554
|
-
can_edit: { type: 'boolean' },
|
|
12555
|
-
climate_preset_key: { type: 'string' },
|
|
12556
|
-
cooling_set_point_celsius: {
|
|
12557
|
-
format: 'float',
|
|
12558
|
-
type: 'number',
|
|
12559
|
-
},
|
|
12560
|
-
cooling_set_point_fahrenheit: {
|
|
12561
|
-
format: 'float',
|
|
12562
|
-
type: 'number',
|
|
12563
|
-
},
|
|
12564
|
-
display_name: { type: 'string' },
|
|
12565
|
-
fan_mode_setting: {
|
|
12566
|
-
enum: ['auto', 'on'],
|
|
12567
|
-
type: 'string',
|
|
12568
|
-
},
|
|
12569
|
-
heating_set_point_celsius: {
|
|
12570
|
-
format: 'float',
|
|
12571
|
-
type: 'number',
|
|
12572
|
-
},
|
|
12573
|
-
heating_set_point_fahrenheit: {
|
|
12574
|
-
format: 'float',
|
|
12575
|
-
type: 'number',
|
|
12576
|
-
},
|
|
12577
|
-
hvac_mode_setting: {
|
|
12578
|
-
enum: ['off', 'heat', 'cool', 'heat_cool'],
|
|
12579
|
-
type: 'string',
|
|
12580
|
-
},
|
|
12581
|
-
manual_override_allowed: { type: 'boolean' },
|
|
12582
|
-
name: { default: null, nullable: true, type: 'string' },
|
|
12583
|
-
},
|
|
12584
|
-
required: [
|
|
12585
|
-
'climate_preset_key',
|
|
12586
|
-
'can_edit',
|
|
12587
|
-
'can_delete',
|
|
12588
|
-
'display_name',
|
|
12589
|
-
'manual_override_allowed',
|
|
12590
|
-
],
|
|
12591
|
-
type: 'object',
|
|
12511
|
+
$ref: '#/components/schemas/climate_preset',
|
|
12592
12512
|
},
|
|
12593
12513
|
ok: { type: 'boolean' },
|
|
12594
12514
|
},
|
|
@@ -13604,46 +13524,7 @@ export default {
|
|
|
13604
13524
|
schema: {
|
|
13605
13525
|
properties: {
|
|
13606
13526
|
climate_preset: {
|
|
13607
|
-
|
|
13608
|
-
can_delete: { type: 'boolean' },
|
|
13609
|
-
can_edit: { type: 'boolean' },
|
|
13610
|
-
climate_preset_key: { type: 'string' },
|
|
13611
|
-
cooling_set_point_celsius: {
|
|
13612
|
-
format: 'float',
|
|
13613
|
-
type: 'number',
|
|
13614
|
-
},
|
|
13615
|
-
cooling_set_point_fahrenheit: {
|
|
13616
|
-
format: 'float',
|
|
13617
|
-
type: 'number',
|
|
13618
|
-
},
|
|
13619
|
-
display_name: { type: 'string' },
|
|
13620
|
-
fan_mode_setting: {
|
|
13621
|
-
enum: ['auto', 'on'],
|
|
13622
|
-
type: 'string',
|
|
13623
|
-
},
|
|
13624
|
-
heating_set_point_celsius: {
|
|
13625
|
-
format: 'float',
|
|
13626
|
-
type: 'number',
|
|
13627
|
-
},
|
|
13628
|
-
heating_set_point_fahrenheit: {
|
|
13629
|
-
format: 'float',
|
|
13630
|
-
type: 'number',
|
|
13631
|
-
},
|
|
13632
|
-
hvac_mode_setting: {
|
|
13633
|
-
enum: ['off', 'heat', 'cool', 'heat_cool'],
|
|
13634
|
-
type: 'string',
|
|
13635
|
-
},
|
|
13636
|
-
manual_override_allowed: { type: 'boolean' },
|
|
13637
|
-
name: { default: null, nullable: true, type: 'string' },
|
|
13638
|
-
},
|
|
13639
|
-
required: [
|
|
13640
|
-
'climate_preset_key',
|
|
13641
|
-
'can_edit',
|
|
13642
|
-
'can_delete',
|
|
13643
|
-
'display_name',
|
|
13644
|
-
'manual_override_allowed',
|
|
13645
|
-
],
|
|
13646
|
-
type: 'object',
|
|
13527
|
+
$ref: '#/components/schemas/climate_preset',
|
|
13647
13528
|
},
|
|
13648
13529
|
ok: { type: 'boolean' },
|
|
13649
13530
|
},
|
|
@@ -13716,46 +13597,7 @@ export default {
|
|
|
13716
13597
|
schema: {
|
|
13717
13598
|
properties: {
|
|
13718
13599
|
climate_preset: {
|
|
13719
|
-
|
|
13720
|
-
can_delete: { type: 'boolean' },
|
|
13721
|
-
can_edit: { type: 'boolean' },
|
|
13722
|
-
climate_preset_key: { type: 'string' },
|
|
13723
|
-
cooling_set_point_celsius: {
|
|
13724
|
-
format: 'float',
|
|
13725
|
-
type: 'number',
|
|
13726
|
-
},
|
|
13727
|
-
cooling_set_point_fahrenheit: {
|
|
13728
|
-
format: 'float',
|
|
13729
|
-
type: 'number',
|
|
13730
|
-
},
|
|
13731
|
-
display_name: { type: 'string' },
|
|
13732
|
-
fan_mode_setting: {
|
|
13733
|
-
enum: ['auto', 'on'],
|
|
13734
|
-
type: 'string',
|
|
13735
|
-
},
|
|
13736
|
-
heating_set_point_celsius: {
|
|
13737
|
-
format: 'float',
|
|
13738
|
-
type: 'number',
|
|
13739
|
-
},
|
|
13740
|
-
heating_set_point_fahrenheit: {
|
|
13741
|
-
format: 'float',
|
|
13742
|
-
type: 'number',
|
|
13743
|
-
},
|
|
13744
|
-
hvac_mode_setting: {
|
|
13745
|
-
enum: ['off', 'heat', 'cool', 'heat_cool'],
|
|
13746
|
-
type: 'string',
|
|
13747
|
-
},
|
|
13748
|
-
manual_override_allowed: { type: 'boolean' },
|
|
13749
|
-
name: { default: null, nullable: true, type: 'string' },
|
|
13750
|
-
},
|
|
13751
|
-
required: [
|
|
13752
|
-
'climate_preset_key',
|
|
13753
|
-
'can_edit',
|
|
13754
|
-
'can_delete',
|
|
13755
|
-
'display_name',
|
|
13756
|
-
'manual_override_allowed',
|
|
13757
|
-
],
|
|
13758
|
-
type: 'object',
|
|
13600
|
+
$ref: '#/components/schemas/climate_preset',
|
|
13759
13601
|
},
|
|
13760
13602
|
ok: { type: 'boolean' },
|
|
13761
13603
|
},
|