@seamapi/types 1.242.1 → 1.243.1
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 +106 -124
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +427 -273
- 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/models/devices/device-metadata.d.ts +78 -0
- package/lib/seam/connect/models/devices/device-metadata.js +14 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +102 -0
- package/lib/seam/connect/models/devices/phone.d.ts +78 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +78 -0
- package/lib/seam/connect/openapi.d.ts +52 -138
- package/lib/seam/connect/openapi.js +86 -114
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +165 -63
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +4 -8
- package/src/lib/seam/connect/models/devices/device-metadata.ts +16 -0
- package/src/lib/seam/connect/openapi.ts +86 -123
- package/src/lib/seam/connect/route-types.ts +189 -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: {
|
|
@@ -2992,10 +2972,50 @@ export default {
|
|
|
2992
2972
|
ttlock_metadata: {
|
|
2993
2973
|
properties: {
|
|
2994
2974
|
feature_value: { type: 'string' },
|
|
2975
|
+
features: {
|
|
2976
|
+
properties: {
|
|
2977
|
+
incomplete_keyboard_passcode: { type: 'boolean' },
|
|
2978
|
+
lock_command: { type: 'boolean' },
|
|
2979
|
+
passcode: { type: 'boolean' },
|
|
2980
|
+
passcode_management: { type: 'boolean' },
|
|
2981
|
+
unlock_via_gateway: { type: 'boolean' },
|
|
2982
|
+
},
|
|
2983
|
+
required: [
|
|
2984
|
+
'passcode',
|
|
2985
|
+
'passcode_management',
|
|
2986
|
+
'unlock_via_gateway',
|
|
2987
|
+
'lock_command',
|
|
2988
|
+
'incomplete_keyboard_passcode',
|
|
2989
|
+
],
|
|
2990
|
+
type: 'object',
|
|
2991
|
+
},
|
|
2992
|
+
has_gateway: { type: 'boolean' },
|
|
2995
2993
|
lock_alias: { type: 'string' },
|
|
2996
2994
|
lock_id: { format: 'float', type: 'number' },
|
|
2995
|
+
wireless_keypads: {
|
|
2996
|
+
items: {
|
|
2997
|
+
properties: {
|
|
2998
|
+
wireless_keypad_id: {
|
|
2999
|
+
format: 'float',
|
|
3000
|
+
type: 'number',
|
|
3001
|
+
},
|
|
3002
|
+
wireless_keypad_name: { type: 'string' },
|
|
3003
|
+
},
|
|
3004
|
+
required: [
|
|
3005
|
+
'wireless_keypad_id',
|
|
3006
|
+
'wireless_keypad_name',
|
|
3007
|
+
],
|
|
3008
|
+
type: 'object',
|
|
3009
|
+
},
|
|
3010
|
+
type: 'array',
|
|
3011
|
+
},
|
|
2997
3012
|
},
|
|
2998
|
-
required: [
|
|
3013
|
+
required: [
|
|
3014
|
+
'lock_id',
|
|
3015
|
+
'lock_alias',
|
|
3016
|
+
'feature_value',
|
|
3017
|
+
'features',
|
|
3018
|
+
],
|
|
2999
3019
|
type: 'object',
|
|
3000
3020
|
},
|
|
3001
3021
|
two_n_metadata: {
|
|
@@ -7908,19 +7928,19 @@ export default {
|
|
|
7908
7928
|
format: 'date-time',
|
|
7909
7929
|
type: 'string',
|
|
7910
7930
|
},
|
|
7911
|
-
|
|
7912
|
-
|
|
7931
|
+
error_code: {
|
|
7932
|
+
enum: ['failed_to_create_on_acs_system'],
|
|
7913
7933
|
type: 'string',
|
|
7914
7934
|
},
|
|
7915
|
-
|
|
7916
|
-
|
|
7935
|
+
message: {
|
|
7936
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
7917
7937
|
type: 'string',
|
|
7918
7938
|
},
|
|
7919
7939
|
},
|
|
7920
7940
|
required: [
|
|
7921
7941
|
'created_at',
|
|
7922
7942
|
'message',
|
|
7923
|
-
'
|
|
7943
|
+
'error_code',
|
|
7924
7944
|
],
|
|
7925
7945
|
type: 'object',
|
|
7926
7946
|
},
|
|
@@ -7932,19 +7952,19 @@ export default {
|
|
|
7932
7952
|
format: 'date-time',
|
|
7933
7953
|
type: 'string',
|
|
7934
7954
|
},
|
|
7935
|
-
|
|
7936
|
-
|
|
7955
|
+
error_code: {
|
|
7956
|
+
enum: ['failed_to_update_on_acs_system'],
|
|
7937
7957
|
type: 'string',
|
|
7938
7958
|
},
|
|
7939
|
-
|
|
7940
|
-
|
|
7959
|
+
message: {
|
|
7960
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
7941
7961
|
type: 'string',
|
|
7942
7962
|
},
|
|
7943
7963
|
},
|
|
7944
7964
|
required: [
|
|
7945
7965
|
'created_at',
|
|
7946
7966
|
'message',
|
|
7947
|
-
'
|
|
7967
|
+
'error_code',
|
|
7948
7968
|
],
|
|
7949
7969
|
type: 'object',
|
|
7950
7970
|
},
|
|
@@ -7956,19 +7976,19 @@ export default {
|
|
|
7956
7976
|
format: 'date-time',
|
|
7957
7977
|
type: 'string',
|
|
7958
7978
|
},
|
|
7959
|
-
|
|
7960
|
-
|
|
7979
|
+
error_code: {
|
|
7980
|
+
enum: ['failed_to_delete_on_acs_system'],
|
|
7961
7981
|
type: 'string',
|
|
7962
7982
|
},
|
|
7963
|
-
|
|
7964
|
-
|
|
7983
|
+
message: {
|
|
7984
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
7965
7985
|
type: 'string',
|
|
7966
7986
|
},
|
|
7967
7987
|
},
|
|
7968
7988
|
required: [
|
|
7969
7989
|
'created_at',
|
|
7970
7990
|
'message',
|
|
7971
|
-
'
|
|
7991
|
+
'error_code',
|
|
7972
7992
|
],
|
|
7973
7993
|
type: 'object',
|
|
7974
7994
|
},
|
|
@@ -8036,30 +8056,6 @@ export default {
|
|
|
8036
8056
|
],
|
|
8037
8057
|
type: 'object',
|
|
8038
8058
|
},
|
|
8039
|
-
{
|
|
8040
|
-
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.",
|
|
8041
|
-
properties: {
|
|
8042
|
-
created_at: {
|
|
8043
|
-
description: 'Date and time at which Seam created the error.',
|
|
8044
|
-
format: 'date-time',
|
|
8045
|
-
type: 'string',
|
|
8046
|
-
},
|
|
8047
|
-
message: {
|
|
8048
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8049
|
-
type: 'string',
|
|
8050
|
-
},
|
|
8051
|
-
warning_code: {
|
|
8052
|
-
enum: ['failed_to_update_on_acs_system'],
|
|
8053
|
-
type: 'string',
|
|
8054
|
-
},
|
|
8055
|
-
},
|
|
8056
|
-
required: [
|
|
8057
|
-
'created_at',
|
|
8058
|
-
'message',
|
|
8059
|
-
'warning_code',
|
|
8060
|
-
],
|
|
8061
|
-
type: 'object',
|
|
8062
|
-
},
|
|
8063
8059
|
{
|
|
8064
8060
|
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.',
|
|
8065
8061
|
properties: {
|
|
@@ -8227,19 +8223,19 @@ export default {
|
|
|
8227
8223
|
format: 'date-time',
|
|
8228
8224
|
type: 'string',
|
|
8229
8225
|
},
|
|
8230
|
-
|
|
8231
|
-
|
|
8226
|
+
error_code: {
|
|
8227
|
+
enum: ['failed_to_create_on_acs_system'],
|
|
8232
8228
|
type: 'string',
|
|
8233
8229
|
},
|
|
8234
|
-
|
|
8235
|
-
|
|
8230
|
+
message: {
|
|
8231
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8236
8232
|
type: 'string',
|
|
8237
8233
|
},
|
|
8238
8234
|
},
|
|
8239
8235
|
required: [
|
|
8240
8236
|
'created_at',
|
|
8241
8237
|
'message',
|
|
8242
|
-
'
|
|
8238
|
+
'error_code',
|
|
8243
8239
|
],
|
|
8244
8240
|
type: 'object',
|
|
8245
8241
|
},
|
|
@@ -8251,19 +8247,19 @@ export default {
|
|
|
8251
8247
|
format: 'date-time',
|
|
8252
8248
|
type: 'string',
|
|
8253
8249
|
},
|
|
8254
|
-
|
|
8255
|
-
|
|
8250
|
+
error_code: {
|
|
8251
|
+
enum: ['failed_to_update_on_acs_system'],
|
|
8256
8252
|
type: 'string',
|
|
8257
8253
|
},
|
|
8258
|
-
|
|
8259
|
-
|
|
8254
|
+
message: {
|
|
8255
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8260
8256
|
type: 'string',
|
|
8261
8257
|
},
|
|
8262
8258
|
},
|
|
8263
8259
|
required: [
|
|
8264
8260
|
'created_at',
|
|
8265
8261
|
'message',
|
|
8266
|
-
'
|
|
8262
|
+
'error_code',
|
|
8267
8263
|
],
|
|
8268
8264
|
type: 'object',
|
|
8269
8265
|
},
|
|
@@ -8275,19 +8271,19 @@ export default {
|
|
|
8275
8271
|
format: 'date-time',
|
|
8276
8272
|
type: 'string',
|
|
8277
8273
|
},
|
|
8278
|
-
|
|
8279
|
-
|
|
8274
|
+
error_code: {
|
|
8275
|
+
enum: ['failed_to_delete_on_acs_system'],
|
|
8280
8276
|
type: 'string',
|
|
8281
8277
|
},
|
|
8282
|
-
|
|
8283
|
-
|
|
8278
|
+
message: {
|
|
8279
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8284
8280
|
type: 'string',
|
|
8285
8281
|
},
|
|
8286
8282
|
},
|
|
8287
8283
|
required: [
|
|
8288
8284
|
'created_at',
|
|
8289
8285
|
'message',
|
|
8290
|
-
'
|
|
8286
|
+
'error_code',
|
|
8291
8287
|
],
|
|
8292
8288
|
type: 'object',
|
|
8293
8289
|
},
|
|
@@ -8355,30 +8351,6 @@ export default {
|
|
|
8355
8351
|
],
|
|
8356
8352
|
type: 'object',
|
|
8357
8353
|
},
|
|
8358
|
-
{
|
|
8359
|
-
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.",
|
|
8360
|
-
properties: {
|
|
8361
|
-
created_at: {
|
|
8362
|
-
description: 'Date and time at which Seam created the error.',
|
|
8363
|
-
format: 'date-time',
|
|
8364
|
-
type: 'string',
|
|
8365
|
-
},
|
|
8366
|
-
message: {
|
|
8367
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8368
|
-
type: 'string',
|
|
8369
|
-
},
|
|
8370
|
-
warning_code: {
|
|
8371
|
-
enum: ['failed_to_update_on_acs_system'],
|
|
8372
|
-
type: 'string',
|
|
8373
|
-
},
|
|
8374
|
-
},
|
|
8375
|
-
required: [
|
|
8376
|
-
'created_at',
|
|
8377
|
-
'message',
|
|
8378
|
-
'warning_code',
|
|
8379
|
-
],
|
|
8380
|
-
type: 'object',
|
|
8381
|
-
},
|
|
8382
8354
|
{
|
|
8383
8355
|
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.',
|
|
8384
8356
|
properties: {
|