@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.
@@ -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.',
@@ -3084,10 +3061,50 @@ export default {
3084
3061
  ttlock_metadata: {
3085
3062
  properties: {
3086
3063
  feature_value: { type: 'string' },
3064
+ features: {
3065
+ properties: {
3066
+ incomplete_keyboard_passcode: { type: 'boolean' },
3067
+ lock_command: { type: 'boolean' },
3068
+ passcode: { type: 'boolean' },
3069
+ passcode_management: { type: 'boolean' },
3070
+ unlock_via_gateway: { type: 'boolean' },
3071
+ },
3072
+ required: [
3073
+ 'passcode',
3074
+ 'passcode_management',
3075
+ 'unlock_via_gateway',
3076
+ 'lock_command',
3077
+ 'incomplete_keyboard_passcode',
3078
+ ],
3079
+ type: 'object',
3080
+ },
3081
+ has_gateway: { type: 'boolean' },
3087
3082
  lock_alias: { type: 'string' },
3088
3083
  lock_id: { format: 'float', type: 'number' },
3084
+ wireless_keypads: {
3085
+ items: {
3086
+ properties: {
3087
+ wireless_keypad_id: {
3088
+ format: 'float',
3089
+ type: 'number',
3090
+ },
3091
+ wireless_keypad_name: { type: 'string' },
3092
+ },
3093
+ required: [
3094
+ 'wireless_keypad_id',
3095
+ 'wireless_keypad_name',
3096
+ ],
3097
+ type: 'object',
3098
+ },
3099
+ type: 'array',
3100
+ },
3089
3101
  },
3090
- required: ['lock_id', 'lock_alias', 'feature_value'],
3102
+ required: [
3103
+ 'lock_id',
3104
+ 'lock_alias',
3105
+ 'feature_value',
3106
+ 'features',
3107
+ ],
3091
3108
  type: 'object',
3092
3109
  },
3093
3110
  two_n_metadata: {
@@ -8053,20 +8070,20 @@ export default {
8053
8070
  format: 'date-time',
8054
8071
  type: 'string',
8055
8072
  },
8073
+ error_code: {
8074
+ enum: ['failed_to_create_on_acs_system'],
8075
+ type: 'string',
8076
+ },
8056
8077
  message: {
8057
8078
  description:
8058
8079
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8059
8080
  type: 'string',
8060
8081
  },
8061
- warning_code: {
8062
- enum: ['failed_to_create_on_acs_system'],
8063
- type: 'string',
8064
- },
8065
8082
  },
8066
8083
  required: [
8067
8084
  'created_at',
8068
8085
  'message',
8069
- 'warning_code',
8086
+ 'error_code',
8070
8087
  ],
8071
8088
  type: 'object',
8072
8089
  },
@@ -8080,20 +8097,20 @@ export default {
8080
8097
  format: 'date-time',
8081
8098
  type: 'string',
8082
8099
  },
8100
+ error_code: {
8101
+ enum: ['failed_to_update_on_acs_system'],
8102
+ type: 'string',
8103
+ },
8083
8104
  message: {
8084
8105
  description:
8085
8106
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8086
8107
  type: 'string',
8087
8108
  },
8088
- warning_code: {
8089
- enum: ['failed_to_update_on_acs_system'],
8090
- type: 'string',
8091
- },
8092
8109
  },
8093
8110
  required: [
8094
8111
  'created_at',
8095
8112
  'message',
8096
- 'warning_code',
8113
+ 'error_code',
8097
8114
  ],
8098
8115
  type: 'object',
8099
8116
  },
@@ -8107,20 +8124,20 @@ export default {
8107
8124
  format: 'date-time',
8108
8125
  type: 'string',
8109
8126
  },
8127
+ error_code: {
8128
+ enum: ['failed_to_delete_on_acs_system'],
8129
+ type: 'string',
8130
+ },
8110
8131
  message: {
8111
8132
  description:
8112
8133
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8113
8134
  type: 'string',
8114
8135
  },
8115
- warning_code: {
8116
- enum: ['failed_to_delete_on_acs_system'],
8117
- type: 'string',
8118
- },
8119
8136
  },
8120
8137
  required: [
8121
8138
  'created_at',
8122
8139
  'message',
8123
- 'warning_code',
8140
+ 'error_code',
8124
8141
  ],
8125
8142
  type: 'object',
8126
8143
  },
@@ -8190,33 +8207,6 @@ export default {
8190
8207
  ],
8191
8208
  type: 'object',
8192
8209
  },
8193
- {
8194
- description:
8195
- "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.",
8196
- properties: {
8197
- created_at: {
8198
- description:
8199
- 'Date and time at which Seam created the error.',
8200
- format: 'date-time',
8201
- type: 'string',
8202
- },
8203
- message: {
8204
- description:
8205
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8206
- type: 'string',
8207
- },
8208
- warning_code: {
8209
- enum: ['failed_to_update_on_acs_system'],
8210
- type: 'string',
8211
- },
8212
- },
8213
- required: [
8214
- 'created_at',
8215
- 'message',
8216
- 'warning_code',
8217
- ],
8218
- type: 'object',
8219
- },
8220
8210
  {
8221
8211
  description:
8222
8212
  '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.',
@@ -8394,20 +8384,20 @@ export default {
8394
8384
  format: 'date-time',
8395
8385
  type: 'string',
8396
8386
  },
8387
+ error_code: {
8388
+ enum: ['failed_to_create_on_acs_system'],
8389
+ type: 'string',
8390
+ },
8397
8391
  message: {
8398
8392
  description:
8399
8393
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8400
8394
  type: 'string',
8401
8395
  },
8402
- warning_code: {
8403
- enum: ['failed_to_create_on_acs_system'],
8404
- type: 'string',
8405
- },
8406
8396
  },
8407
8397
  required: [
8408
8398
  'created_at',
8409
8399
  'message',
8410
- 'warning_code',
8400
+ 'error_code',
8411
8401
  ],
8412
8402
  type: 'object',
8413
8403
  },
@@ -8421,20 +8411,20 @@ export default {
8421
8411
  format: 'date-time',
8422
8412
  type: 'string',
8423
8413
  },
8414
+ error_code: {
8415
+ enum: ['failed_to_update_on_acs_system'],
8416
+ type: 'string',
8417
+ },
8424
8418
  message: {
8425
8419
  description:
8426
8420
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8427
8421
  type: 'string',
8428
8422
  },
8429
- warning_code: {
8430
- enum: ['failed_to_update_on_acs_system'],
8431
- type: 'string',
8432
- },
8433
8423
  },
8434
8424
  required: [
8435
8425
  'created_at',
8436
8426
  'message',
8437
- 'warning_code',
8427
+ 'error_code',
8438
8428
  ],
8439
8429
  type: 'object',
8440
8430
  },
@@ -8448,20 +8438,20 @@ export default {
8448
8438
  format: 'date-time',
8449
8439
  type: 'string',
8450
8440
  },
8441
+ error_code: {
8442
+ enum: ['failed_to_delete_on_acs_system'],
8443
+ type: 'string',
8444
+ },
8451
8445
  message: {
8452
8446
  description:
8453
8447
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8454
8448
  type: 'string',
8455
8449
  },
8456
- warning_code: {
8457
- enum: ['failed_to_delete_on_acs_system'],
8458
- type: 'string',
8459
- },
8460
8450
  },
8461
8451
  required: [
8462
8452
  'created_at',
8463
8453
  'message',
8464
- 'warning_code',
8454
+ 'error_code',
8465
8455
  ],
8466
8456
  type: 'object',
8467
8457
  },
@@ -8531,33 +8521,6 @@ export default {
8531
8521
  ],
8532
8522
  type: 'object',
8533
8523
  },
8534
- {
8535
- description:
8536
- "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.",
8537
- properties: {
8538
- created_at: {
8539
- description:
8540
- 'Date and time at which Seam created the error.',
8541
- format: 'date-time',
8542
- type: 'string',
8543
- },
8544
- message: {
8545
- description:
8546
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8547
- type: 'string',
8548
- },
8549
- warning_code: {
8550
- enum: ['failed_to_update_on_acs_system'],
8551
- type: 'string',
8552
- },
8553
- },
8554
- required: [
8555
- 'created_at',
8556
- 'message',
8557
- 'warning_code',
8558
- ],
8559
- type: 'object',
8560
- },
8561
8524
  {
8562
8525
  description:
8563
8526
  '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.',