@seamapi/types 1.241.0 → 1.242.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.
Files changed (46) hide show
  1. package/dist/connect.cjs +281 -137
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +370 -182
  4. package/dist/devicedb.cjs +9 -6
  5. package/dist/devicedb.cjs.map +1 -1
  6. package/dist/devicedb.d.cts +123 -70
  7. package/lib/seam/connect/models/acs/acs-system.d.ts +86 -42
  8. package/lib/seam/connect/models/acs/acs-system.js +23 -20
  9. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-user.d.ts +169 -140
  11. package/lib/seam/connect/models/acs/acs-user.js +32 -30
  12. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  13. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
  14. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
  15. package/lib/seam/connect/models/devices/device.d.ts +6 -6
  16. package/lib/seam/connect/models/devices/phone.d.ts +5 -5
  17. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
  18. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +3 -3
  19. package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
  20. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
  21. package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
  22. package/lib/seam/connect/models/thermostats/index.js +1 -1
  23. package/lib/seam/connect/models/thermostats/index.js.map +1 -1
  24. package/lib/seam/connect/models/thermostats/{climate-setting-schedule.js → thermostat-schedule.js} +1 -1
  25. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -0
  26. package/lib/seam/connect/openapi.d.ts +45 -18
  27. package/lib/seam/connect/openapi.js +219 -90
  28. package/lib/seam/connect/openapi.js.map +1 -1
  29. package/lib/seam/connect/route-types.d.ts +176 -78
  30. package/lib/seam/devicedb/models/device-model.d.ts +59 -24
  31. package/lib/seam/devicedb/models/device-model.js +9 -6
  32. package/lib/seam/devicedb/models/device-model.js.map +1 -1
  33. package/lib/seam/devicedb/route-specs.d.ts +56 -38
  34. package/lib/seam/devicedb/route-types.d.ts +8 -8
  35. package/package.json +1 -1
  36. package/src/lib/seam/connect/models/acs/acs-system.ts +32 -24
  37. package/src/lib/seam/connect/models/acs/acs-user.ts +41 -35
  38. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
  39. package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
  40. package/src/lib/seam/connect/openapi.ts +249 -90
  41. package/src/lib/seam/connect/route-types.ts +187 -78
  42. package/src/lib/seam/devicedb/models/device-model.ts +24 -19
  43. package/src/lib/seam/devicedb/route-types.ts +8 -8
  44. package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +0 -1
  45. /package/lib/seam/connect/models/thermostats/{climate-setting-schedule.d.ts → thermostat-schedule.d.ts} +0 -0
  46. /package/src/lib/seam/connect/models/thermostats/{climate-setting-schedule.ts → thermostat-schedule.ts} +0 -0
@@ -827,41 +827,54 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
827
827
  created_at: z.ZodString;
828
828
  message: z.ZodString;
829
829
  }, {
830
- error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
830
+ error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
831
+ }>, "strip", z.ZodTypeAny, {
832
+ message: string;
833
+ error_code: "salto_ks_subscription_limit_exceeded";
834
+ created_at: string;
835
+ }, {
836
+ message: string;
837
+ error_code: "salto_ks_subscription_limit_exceeded";
838
+ created_at: string;
839
+ }>, z.ZodObject<z.objectUtil.extendShape<{
840
+ created_at: z.ZodString;
841
+ message: z.ZodString;
842
+ }, {
843
+ error_code: z.ZodLiteral<"acs_system_disconnected">;
831
844
  }>, "strip", z.ZodTypeAny, {
832
845
  message: string;
833
- error_code: "salto_site_user_limit_reached";
846
+ error_code: "acs_system_disconnected";
834
847
  created_at: string;
835
848
  }, {
836
849
  message: string;
837
- error_code: "salto_site_user_limit_reached";
850
+ error_code: "acs_system_disconnected";
838
851
  created_at: string;
839
852
  }>, z.ZodObject<z.objectUtil.extendShape<{
840
853
  created_at: z.ZodString;
841
854
  message: z.ZodString;
842
855
  }, {
843
- error_code: z.ZodLiteral<"salto_seam_integration_blocked">;
856
+ error_code: z.ZodLiteral<"account_disconnected">;
844
857
  }>, "strip", z.ZodTypeAny, {
845
858
  message: string;
846
- error_code: "salto_seam_integration_blocked";
859
+ error_code: "account_disconnected";
847
860
  created_at: string;
848
861
  }, {
849
862
  message: string;
850
- error_code: "salto_seam_integration_blocked";
863
+ error_code: "account_disconnected";
851
864
  created_at: string;
852
865
  }>]>, "many">;
853
866
  warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
854
867
  created_at: z.ZodString;
855
868
  message: z.ZodString;
856
869
  }, {
857
- warning_code: z.ZodLiteral<"salto_site_user_limit_almost_reached">;
870
+ warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
858
871
  }>, "strip", z.ZodTypeAny, {
859
872
  message: string;
860
- warning_code: "salto_site_user_limit_almost_reached";
873
+ warning_code: "salto_ks_subscription_limit_almost_reached";
861
874
  created_at: string;
862
875
  }, {
863
876
  message: string;
864
- warning_code: "salto_site_user_limit_almost_reached";
877
+ warning_code: "salto_ks_subscription_limit_almost_reached";
865
878
  created_at: string;
866
879
  }>, "many">;
867
880
  }, {
@@ -881,16 +894,20 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
881
894
  created_at: string;
882
895
  } | {
883
896
  message: string;
884
- error_code: "salto_site_user_limit_reached";
897
+ error_code: "salto_ks_subscription_limit_exceeded";
898
+ created_at: string;
899
+ } | {
900
+ message: string;
901
+ error_code: "acs_system_disconnected";
885
902
  created_at: string;
886
903
  } | {
887
904
  message: string;
888
- error_code: "salto_seam_integration_blocked";
905
+ error_code: "account_disconnected";
889
906
  created_at: string;
890
907
  })[];
891
908
  warnings: {
892
909
  message: string;
893
- warning_code: "salto_site_user_limit_almost_reached";
910
+ warning_code: "salto_ks_subscription_limit_almost_reached";
894
911
  created_at: string;
895
912
  }[];
896
913
  name: string;
@@ -924,16 +941,20 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
924
941
  created_at: string;
925
942
  } | {
926
943
  message: string;
927
- error_code: "salto_site_user_limit_reached";
944
+ error_code: "salto_ks_subscription_limit_exceeded";
945
+ created_at: string;
946
+ } | {
947
+ message: string;
948
+ error_code: "acs_system_disconnected";
928
949
  created_at: string;
929
950
  } | {
930
951
  message: string;
931
- error_code: "salto_seam_integration_blocked";
952
+ error_code: "account_disconnected";
932
953
  created_at: string;
933
954
  })[];
934
955
  warnings: {
935
956
  message: string;
936
- warning_code: "salto_site_user_limit_almost_reached";
957
+ warning_code: "salto_ks_subscription_limit_almost_reached";
937
958
  created_at: string;
938
959
  }[];
939
960
  name: string;
@@ -1023,58 +1044,71 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1023
1044
  message: string;
1024
1045
  warning_code: "salto_ks_user_not_subscribed";
1025
1046
  created_at: string;
1047
+ }>]>, "many">;
1048
+ errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1049
+ created_at: z.ZodString;
1050
+ message: z.ZodString;
1051
+ }, {
1052
+ error_code: z.ZodLiteral<"deleted_externally">;
1053
+ }>, "strip", z.ZodTypeAny, {
1054
+ message: string;
1055
+ error_code: "deleted_externally";
1056
+ created_at: string;
1057
+ }, {
1058
+ message: string;
1059
+ error_code: "deleted_externally";
1060
+ created_at: string;
1026
1061
  }>, z.ZodObject<z.objectUtil.extendShape<{
1027
1062
  created_at: z.ZodString;
1028
1063
  message: z.ZodString;
1029
1064
  }, {
1030
- warning_code: z.ZodLiteral<"salto_site_user_suspended">;
1065
+ error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
1031
1066
  }>, "strip", z.ZodTypeAny, {
1032
1067
  message: string;
1033
- warning_code: "salto_site_user_suspended";
1068
+ error_code: "salto_ks_subscription_limit_exceeded";
1034
1069
  created_at: string;
1035
1070
  }, {
1036
1071
  message: string;
1037
- warning_code: "salto_site_user_suspended";
1072
+ error_code: "salto_ks_subscription_limit_exceeded";
1038
1073
  created_at: string;
1039
- }>]>, "many">;
1040
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1074
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1041
1075
  created_at: z.ZodString;
1042
1076
  message: z.ZodString;
1043
1077
  }, {
1044
- error_code: z.ZodLiteral<"user_deleted_externally">;
1078
+ warning_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
1045
1079
  }>, "strip", z.ZodTypeAny, {
1046
1080
  message: string;
1047
- error_code: "user_deleted_externally";
1081
+ warning_code: "failed_to_create_on_acs_system";
1048
1082
  created_at: string;
1049
1083
  }, {
1050
1084
  message: string;
1051
- error_code: "user_deleted_externally";
1085
+ warning_code: "failed_to_create_on_acs_system";
1052
1086
  created_at: string;
1053
1087
  }>, z.ZodObject<z.objectUtil.extendShape<{
1054
1088
  created_at: z.ZodString;
1055
1089
  message: z.ZodString;
1056
1090
  }, {
1057
- error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
1091
+ warning_code: z.ZodLiteral<"failed_to_update_on_acs_system">;
1058
1092
  }>, "strip", z.ZodTypeAny, {
1059
1093
  message: string;
1060
- error_code: "salto_ks_subscription_limit_exceeded";
1094
+ warning_code: "failed_to_update_on_acs_system";
1061
1095
  created_at: string;
1062
1096
  }, {
1063
1097
  message: string;
1064
- error_code: "salto_ks_subscription_limit_exceeded";
1098
+ warning_code: "failed_to_update_on_acs_system";
1065
1099
  created_at: string;
1066
1100
  }>, z.ZodObject<z.objectUtil.extendShape<{
1067
1101
  created_at: z.ZodString;
1068
1102
  message: z.ZodString;
1069
1103
  }, {
1070
- error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
1104
+ warning_code: z.ZodLiteral<"failed_to_delete_on_acs_system">;
1071
1105
  }>, "strip", z.ZodTypeAny, {
1072
1106
  message: string;
1073
- error_code: "salto_site_user_limit_reached";
1107
+ warning_code: "failed_to_delete_on_acs_system";
1074
1108
  created_at: string;
1075
1109
  }, {
1076
1110
  message: string;
1077
- error_code: "salto_site_user_limit_reached";
1111
+ warning_code: "failed_to_delete_on_acs_system";
1078
1112
  created_at: string;
1079
1113
  }>]>, "many">;
1080
1114
  }, {
@@ -1088,7 +1122,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1088
1122
  created_at: string;
1089
1123
  errors: ({
1090
1124
  message: string;
1091
- error_code: "user_deleted_externally";
1125
+ error_code: "deleted_externally";
1092
1126
  created_at: string;
1093
1127
  } | {
1094
1128
  message: string;
@@ -1096,24 +1130,28 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1096
1130
  created_at: string;
1097
1131
  } | {
1098
1132
  message: string;
1099
- error_code: "salto_site_user_limit_reached";
1133
+ warning_code: "failed_to_create_on_acs_system";
1100
1134
  created_at: string;
1101
- })[];
1102
- warnings: ({
1135
+ } | {
1103
1136
  message: string;
1104
- warning_code: "being_deleted";
1137
+ warning_code: "failed_to_update_on_acs_system";
1105
1138
  created_at: string;
1106
1139
  } | {
1107
1140
  message: string;
1108
- warning_code: "salto_ks_user_not_subscribed";
1141
+ warning_code: "failed_to_delete_on_acs_system";
1109
1142
  created_at: string;
1110
- } | {
1143
+ })[];
1144
+ warnings: ({
1111
1145
  message: string;
1112
1146
  warning_code: "failed_to_update_on_acs_system";
1113
1147
  created_at: string;
1114
1148
  } | {
1115
1149
  message: string;
1116
- warning_code: "salto_site_user_suspended";
1150
+ warning_code: "being_deleted";
1151
+ created_at: string;
1152
+ } | {
1153
+ message: string;
1154
+ warning_code: "salto_ks_user_not_subscribed";
1117
1155
  created_at: string;
1118
1156
  })[];
1119
1157
  display_name: string;
@@ -1143,7 +1181,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1143
1181
  created_at: string;
1144
1182
  errors: ({
1145
1183
  message: string;
1146
- error_code: "user_deleted_externally";
1184
+ error_code: "deleted_externally";
1147
1185
  created_at: string;
1148
1186
  } | {
1149
1187
  message: string;
@@ -1151,24 +1189,28 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1151
1189
  created_at: string;
1152
1190
  } | {
1153
1191
  message: string;
1154
- error_code: "salto_site_user_limit_reached";
1192
+ warning_code: "failed_to_create_on_acs_system";
1155
1193
  created_at: string;
1156
- })[];
1157
- warnings: ({
1194
+ } | {
1158
1195
  message: string;
1159
- warning_code: "being_deleted";
1196
+ warning_code: "failed_to_update_on_acs_system";
1160
1197
  created_at: string;
1161
1198
  } | {
1162
1199
  message: string;
1163
- warning_code: "salto_ks_user_not_subscribed";
1200
+ warning_code: "failed_to_delete_on_acs_system";
1164
1201
  created_at: string;
1165
- } | {
1202
+ })[];
1203
+ warnings: ({
1166
1204
  message: string;
1167
1205
  warning_code: "failed_to_update_on_acs_system";
1168
1206
  created_at: string;
1169
1207
  } | {
1170
1208
  message: string;
1171
- warning_code: "salto_site_user_suspended";
1209
+ warning_code: "being_deleted";
1210
+ created_at: string;
1211
+ } | {
1212
+ message: string;
1213
+ warning_code: "salto_ks_user_not_subscribed";
1172
1214
  created_at: string;
1173
1215
  })[];
1174
1216
  display_name: string;
@@ -1260,58 +1302,71 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1260
1302
  message: string;
1261
1303
  warning_code: "salto_ks_user_not_subscribed";
1262
1304
  created_at: string;
1305
+ }>]>, "many">;
1306
+ errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1307
+ created_at: z.ZodString;
1308
+ message: z.ZodString;
1309
+ }, {
1310
+ error_code: z.ZodLiteral<"deleted_externally">;
1311
+ }>, "strip", z.ZodTypeAny, {
1312
+ message: string;
1313
+ error_code: "deleted_externally";
1314
+ created_at: string;
1315
+ }, {
1316
+ message: string;
1317
+ error_code: "deleted_externally";
1318
+ created_at: string;
1263
1319
  }>, z.ZodObject<z.objectUtil.extendShape<{
1264
1320
  created_at: z.ZodString;
1265
1321
  message: z.ZodString;
1266
1322
  }, {
1267
- warning_code: z.ZodLiteral<"salto_site_user_suspended">;
1323
+ error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
1268
1324
  }>, "strip", z.ZodTypeAny, {
1269
1325
  message: string;
1270
- warning_code: "salto_site_user_suspended";
1326
+ error_code: "salto_ks_subscription_limit_exceeded";
1271
1327
  created_at: string;
1272
1328
  }, {
1273
1329
  message: string;
1274
- warning_code: "salto_site_user_suspended";
1330
+ error_code: "salto_ks_subscription_limit_exceeded";
1275
1331
  created_at: string;
1276
- }>]>, "many">;
1277
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1332
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1278
1333
  created_at: z.ZodString;
1279
1334
  message: z.ZodString;
1280
1335
  }, {
1281
- error_code: z.ZodLiteral<"user_deleted_externally">;
1336
+ warning_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
1282
1337
  }>, "strip", z.ZodTypeAny, {
1283
1338
  message: string;
1284
- error_code: "user_deleted_externally";
1339
+ warning_code: "failed_to_create_on_acs_system";
1285
1340
  created_at: string;
1286
1341
  }, {
1287
1342
  message: string;
1288
- error_code: "user_deleted_externally";
1343
+ warning_code: "failed_to_create_on_acs_system";
1289
1344
  created_at: string;
1290
1345
  }>, z.ZodObject<z.objectUtil.extendShape<{
1291
1346
  created_at: z.ZodString;
1292
1347
  message: z.ZodString;
1293
1348
  }, {
1294
- error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
1349
+ warning_code: z.ZodLiteral<"failed_to_update_on_acs_system">;
1295
1350
  }>, "strip", z.ZodTypeAny, {
1296
1351
  message: string;
1297
- error_code: "salto_ks_subscription_limit_exceeded";
1352
+ warning_code: "failed_to_update_on_acs_system";
1298
1353
  created_at: string;
1299
1354
  }, {
1300
1355
  message: string;
1301
- error_code: "salto_ks_subscription_limit_exceeded";
1356
+ warning_code: "failed_to_update_on_acs_system";
1302
1357
  created_at: string;
1303
1358
  }>, z.ZodObject<z.objectUtil.extendShape<{
1304
1359
  created_at: z.ZodString;
1305
1360
  message: z.ZodString;
1306
1361
  }, {
1307
- error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
1362
+ warning_code: z.ZodLiteral<"failed_to_delete_on_acs_system">;
1308
1363
  }>, "strip", z.ZodTypeAny, {
1309
1364
  message: string;
1310
- error_code: "salto_site_user_limit_reached";
1365
+ warning_code: "failed_to_delete_on_acs_system";
1311
1366
  created_at: string;
1312
1367
  }, {
1313
1368
  message: string;
1314
- error_code: "salto_site_user_limit_reached";
1369
+ warning_code: "failed_to_delete_on_acs_system";
1315
1370
  created_at: string;
1316
1371
  }>]>, "many">;
1317
1372
  }, {
@@ -1325,7 +1380,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1325
1380
  created_at: string;
1326
1381
  errors: ({
1327
1382
  message: string;
1328
- error_code: "user_deleted_externally";
1383
+ error_code: "deleted_externally";
1329
1384
  created_at: string;
1330
1385
  } | {
1331
1386
  message: string;
@@ -1333,24 +1388,28 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1333
1388
  created_at: string;
1334
1389
  } | {
1335
1390
  message: string;
1336
- error_code: "salto_site_user_limit_reached";
1391
+ warning_code: "failed_to_create_on_acs_system";
1337
1392
  created_at: string;
1338
- })[];
1339
- warnings: ({
1393
+ } | {
1340
1394
  message: string;
1341
- warning_code: "being_deleted";
1395
+ warning_code: "failed_to_update_on_acs_system";
1342
1396
  created_at: string;
1343
1397
  } | {
1344
1398
  message: string;
1345
- warning_code: "salto_ks_user_not_subscribed";
1399
+ warning_code: "failed_to_delete_on_acs_system";
1346
1400
  created_at: string;
1347
- } | {
1401
+ })[];
1402
+ warnings: ({
1348
1403
  message: string;
1349
1404
  warning_code: "failed_to_update_on_acs_system";
1350
1405
  created_at: string;
1351
1406
  } | {
1352
1407
  message: string;
1353
- warning_code: "salto_site_user_suspended";
1408
+ warning_code: "being_deleted";
1409
+ created_at: string;
1410
+ } | {
1411
+ message: string;
1412
+ warning_code: "salto_ks_user_not_subscribed";
1354
1413
  created_at: string;
1355
1414
  })[];
1356
1415
  display_name: string;
@@ -1380,7 +1439,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1380
1439
  created_at: string;
1381
1440
  errors: ({
1382
1441
  message: string;
1383
- error_code: "user_deleted_externally";
1442
+ error_code: "deleted_externally";
1384
1443
  created_at: string;
1385
1444
  } | {
1386
1445
  message: string;
@@ -1388,24 +1447,28 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1388
1447
  created_at: string;
1389
1448
  } | {
1390
1449
  message: string;
1391
- error_code: "salto_site_user_limit_reached";
1450
+ warning_code: "failed_to_create_on_acs_system";
1392
1451
  created_at: string;
1393
- })[];
1394
- warnings: ({
1452
+ } | {
1395
1453
  message: string;
1396
- warning_code: "being_deleted";
1454
+ warning_code: "failed_to_update_on_acs_system";
1397
1455
  created_at: string;
1398
1456
  } | {
1399
1457
  message: string;
1400
- warning_code: "salto_ks_user_not_subscribed";
1458
+ warning_code: "failed_to_delete_on_acs_system";
1401
1459
  created_at: string;
1402
- } | {
1460
+ })[];
1461
+ warnings: ({
1403
1462
  message: string;
1404
1463
  warning_code: "failed_to_update_on_acs_system";
1405
1464
  created_at: string;
1406
1465
  } | {
1407
1466
  message: string;
1408
- warning_code: "salto_site_user_suspended";
1467
+ warning_code: "being_deleted";
1468
+ created_at: string;
1469
+ } | {
1470
+ message: string;
1471
+ warning_code: "salto_ks_user_not_subscribed";
1409
1472
  created_at: string;
1410
1473
  })[];
1411
1474
  display_name: string;
@@ -4212,7 +4275,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
4212
4275
  climate_preset_key: z.ZodOptional<z.ZodString>;
4213
4276
  can_edit: z.ZodOptional<z.ZodBoolean>;
4214
4277
  can_delete: z.ZodOptional<z.ZodBoolean>;
4215
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4278
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
4216
4279
  display_name: z.ZodOptional<z.ZodString>;
4217
4280
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
4218
4281
  hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
@@ -4252,7 +4315,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
4252
4315
  climate_preset_key: z.ZodOptional<z.ZodString>;
4253
4316
  can_edit: z.ZodOptional<z.ZodBoolean>;
4254
4317
  can_delete: z.ZodOptional<z.ZodBoolean>;
4255
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4318
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
4256
4319
  display_name: z.ZodOptional<z.ZodString>;
4257
4320
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
4258
4321
  hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
@@ -4292,7 +4355,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
4292
4355
  climate_preset_key: z.ZodString;
4293
4356
  can_edit: z.ZodBoolean;
4294
4357
  can_delete: z.ZodBoolean;
4295
- name: z.ZodNullable<z.ZodString>;
4358
+ name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4296
4359
  display_name: z.ZodString;
4297
4360
  fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
4298
4361
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
@@ -4318,9 +4381,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
4318
4381
  climate_preset_key: string;
4319
4382
  can_edit: boolean;
4320
4383
  can_delete: boolean;
4321
- name: string | null;
4322
4384
  display_name: string;
4323
4385
  manual_override_allowed: boolean;
4386
+ name?: string | null | undefined;
4324
4387
  fan_mode_setting?: "auto" | "on" | undefined;
4325
4388
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
4326
4389
  cooling_set_point_celsius?: number | undefined;
@@ -4486,9 +4549,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
4486
4549
  climate_preset_key: string;
4487
4550
  can_edit: boolean;
4488
4551
  can_delete: boolean;
4489
- name: string | null;
4490
4552
  display_name: string;
4491
4553
  manual_override_allowed: boolean;
4554
+ name?: string | null | undefined;
4492
4555
  fan_mode_setting?: "auto" | "on" | undefined;
4493
4556
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
4494
4557
  cooling_set_point_celsius?: number | undefined;
@@ -5268,9 +5331,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
5268
5331
  climate_preset_key: string;
5269
5332
  can_edit: boolean;
5270
5333
  can_delete: boolean;
5271
- name: string | null;
5272
5334
  display_name: string;
5273
5335
  manual_override_allowed: boolean;
5336
+ name?: string | null | undefined;
5274
5337
  fan_mode_setting?: "auto" | "on" | undefined;
5275
5338
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
5276
5339
  cooling_set_point_celsius?: number | undefined;
@@ -6690,7 +6753,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6690
6753
  climate_preset_key: z.ZodOptional<z.ZodString>;
6691
6754
  can_edit: z.ZodOptional<z.ZodBoolean>;
6692
6755
  can_delete: z.ZodOptional<z.ZodBoolean>;
6693
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6756
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
6694
6757
  display_name: z.ZodOptional<z.ZodString>;
6695
6758
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
6696
6759
  hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
@@ -6730,7 +6793,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6730
6793
  climate_preset_key: z.ZodOptional<z.ZodString>;
6731
6794
  can_edit: z.ZodOptional<z.ZodBoolean>;
6732
6795
  can_delete: z.ZodOptional<z.ZodBoolean>;
6733
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6796
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
6734
6797
  display_name: z.ZodOptional<z.ZodString>;
6735
6798
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
6736
6799
  hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
@@ -6770,7 +6833,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6770
6833
  climate_preset_key: z.ZodString;
6771
6834
  can_edit: z.ZodBoolean;
6772
6835
  can_delete: z.ZodBoolean;
6773
- name: z.ZodNullable<z.ZodString>;
6836
+ name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6774
6837
  display_name: z.ZodString;
6775
6838
  fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
6776
6839
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
@@ -6796,9 +6859,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6796
6859
  climate_preset_key: string;
6797
6860
  can_edit: boolean;
6798
6861
  can_delete: boolean;
6799
- name: string | null;
6800
6862
  display_name: string;
6801
6863
  manual_override_allowed: boolean;
6864
+ name?: string | null | undefined;
6802
6865
  fan_mode_setting?: "auto" | "on" | undefined;
6803
6866
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
6804
6867
  cooling_set_point_celsius?: number | undefined;
@@ -6964,9 +7027,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6964
7027
  climate_preset_key: string;
6965
7028
  can_edit: boolean;
6966
7029
  can_delete: boolean;
6967
- name: string | null;
6968
7030
  display_name: string;
6969
7031
  manual_override_allowed: boolean;
7032
+ name?: string | null | undefined;
6970
7033
  fan_mode_setting?: "auto" | "on" | undefined;
6971
7034
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
6972
7035
  cooling_set_point_celsius?: number | undefined;
@@ -9824,28 +9887,30 @@ declare const _default: {
9824
9887
  description: string;
9825
9888
  type: string;
9826
9889
  };
9890
+ warning_code?: never;
9827
9891
  };
9828
9892
  required: string[];
9829
9893
  type: string;
9830
9894
  } | {
9895
+ description: string;
9831
9896
  properties: {
9832
9897
  created_at: {
9833
9898
  description: string;
9834
9899
  format: string;
9835
9900
  type: string;
9836
9901
  };
9837
- error_code: {
9838
- enum: string[];
9839
- type: string;
9840
- };
9841
9902
  message: {
9842
9903
  description: string;
9843
9904
  type: string;
9844
9905
  };
9906
+ warning_code: {
9907
+ enum: string[];
9908
+ type: string;
9909
+ };
9910
+ error_code?: never;
9845
9911
  };
9846
9912
  required: string[];
9847
9913
  type: string;
9848
- description?: never;
9849
9914
  })[];
9850
9915
  };
9851
9916
  type: string;
@@ -9905,9 +9970,11 @@ declare const _default: {
9905
9970
  created_at: {
9906
9971
  format: string;
9907
9972
  type: string;
9973
+ description?: never;
9908
9974
  };
9909
9975
  message: {
9910
9976
  type: string;
9977
+ description?: never;
9911
9978
  };
9912
9979
  warning_code: {
9913
9980
  enum: string[];
@@ -9917,12 +9984,15 @@ declare const _default: {
9917
9984
  required: string[];
9918
9985
  type: string;
9919
9986
  } | {
9987
+ description: string;
9920
9988
  properties: {
9921
9989
  created_at: {
9990
+ description: string;
9922
9991
  format: string;
9923
9992
  type: string;
9924
9993
  };
9925
9994
  message: {
9995
+ description: string;
9926
9996
  type: string;
9927
9997
  };
9928
9998
  warning_code: {
@@ -9932,7 +10002,6 @@ declare const _default: {
9932
10002
  };
9933
10003
  required: string[];
9934
10004
  type: string;
9935
- description?: never;
9936
10005
  })[];
9937
10006
  };
9938
10007
  type: string;
@@ -11532,6 +11601,7 @@ declare const _default: {
11532
11601
  type: string;
11533
11602
  };
11534
11603
  name: {
11604
+ default: null;
11535
11605
  nullable: boolean;
11536
11606
  type: string;
11537
11607
  };
@@ -11590,6 +11660,7 @@ declare const _default: {
11590
11660
  type: string;
11591
11661
  };
11592
11662
  name: {
11663
+ default: null;
11593
11664
  nullable: boolean;
11594
11665
  type: string;
11595
11666
  };
@@ -11639,6 +11710,7 @@ declare const _default: {
11639
11710
  type: string;
11640
11711
  };
11641
11712
  name: {
11713
+ default: null;
11642
11714
  nullable: boolean;
11643
11715
  type: string;
11644
11716
  };
@@ -18100,28 +18172,30 @@ declare const _default: {
18100
18172
  description: string;
18101
18173
  type: string;
18102
18174
  };
18175
+ warning_code?: never;
18103
18176
  };
18104
18177
  required: string[];
18105
18178
  type: string;
18106
18179
  } | {
18180
+ description: string;
18107
18181
  properties: {
18108
18182
  created_at: {
18109
18183
  description: string;
18110
18184
  format: string;
18111
18185
  type: string;
18112
18186
  };
18113
- error_code: {
18114
- enum: string[];
18115
- type: string;
18116
- };
18117
18187
  message: {
18118
18188
  description: string;
18119
18189
  type: string;
18120
18190
  };
18191
+ warning_code: {
18192
+ enum: string[];
18193
+ type: string;
18194
+ };
18195
+ error_code?: never;
18121
18196
  };
18122
18197
  required: string[];
18123
18198
  type: string;
18124
- description?: never;
18125
18199
  })[];
18126
18200
  };
18127
18201
  type: string;
@@ -18181,9 +18255,11 @@ declare const _default: {
18181
18255
  created_at: {
18182
18256
  format: string;
18183
18257
  type: string;
18258
+ description?: never;
18184
18259
  };
18185
18260
  message: {
18186
18261
  type: string;
18262
+ description?: never;
18187
18263
  };
18188
18264
  warning_code: {
18189
18265
  enum: string[];
@@ -18193,12 +18269,15 @@ declare const _default: {
18193
18269
  required: string[];
18194
18270
  type: string;
18195
18271
  } | {
18272
+ description: string;
18196
18273
  properties: {
18197
18274
  created_at: {
18275
+ description: string;
18198
18276
  format: string;
18199
18277
  type: string;
18200
18278
  };
18201
18279
  message: {
18280
+ description: string;
18202
18281
  type: string;
18203
18282
  };
18204
18283
  warning_code: {
@@ -18208,7 +18287,6 @@ declare const _default: {
18208
18287
  };
18209
18288
  required: string[];
18210
18289
  type: string;
18211
- description?: never;
18212
18290
  })[];
18213
18291
  };
18214
18292
  type: string;
@@ -18348,28 +18426,30 @@ declare const _default: {
18348
18426
  description: string;
18349
18427
  type: string;
18350
18428
  };
18429
+ warning_code?: never;
18351
18430
  };
18352
18431
  required: string[];
18353
18432
  type: string;
18354
18433
  } | {
18434
+ description: string;
18355
18435
  properties: {
18356
18436
  created_at: {
18357
18437
  description: string;
18358
18438
  format: string;
18359
18439
  type: string;
18360
18440
  };
18361
- error_code: {
18362
- enum: string[];
18363
- type: string;
18364
- };
18365
18441
  message: {
18366
18442
  description: string;
18367
18443
  type: string;
18368
18444
  };
18445
+ warning_code: {
18446
+ enum: string[];
18447
+ type: string;
18448
+ };
18449
+ error_code?: never;
18369
18450
  };
18370
18451
  required: string[];
18371
18452
  type: string;
18372
- description?: never;
18373
18453
  })[];
18374
18454
  };
18375
18455
  type: string;
@@ -18429,9 +18509,11 @@ declare const _default: {
18429
18509
  created_at: {
18430
18510
  format: string;
18431
18511
  type: string;
18512
+ description?: never;
18432
18513
  };
18433
18514
  message: {
18434
18515
  type: string;
18516
+ description?: never;
18435
18517
  };
18436
18518
  warning_code: {
18437
18519
  enum: string[];
@@ -18441,12 +18523,15 @@ declare const _default: {
18441
18523
  required: string[];
18442
18524
  type: string;
18443
18525
  } | {
18526
+ description: string;
18444
18527
  properties: {
18445
18528
  created_at: {
18529
+ description: string;
18446
18530
  format: string;
18447
18531
  type: string;
18448
18532
  };
18449
18533
  message: {
18534
+ description: string;
18450
18535
  type: string;
18451
18536
  };
18452
18537
  warning_code: {
@@ -18456,7 +18541,6 @@ declare const _default: {
18456
18541
  };
18457
18542
  required: string[];
18458
18543
  type: string;
18459
- description?: never;
18460
18544
  })[];
18461
18545
  };
18462
18546
  type: string;
@@ -23350,6 +23434,7 @@ declare const _default: {
23350
23434
  type: string;
23351
23435
  };
23352
23436
  name: {
23437
+ default: null;
23353
23438
  nullable: boolean;
23354
23439
  type: string;
23355
23440
  };
@@ -23408,6 +23493,7 @@ declare const _default: {
23408
23493
  type: string;
23409
23494
  };
23410
23495
  name: {
23496
+ default: null;
23411
23497
  nullable: boolean;
23412
23498
  type: string;
23413
23499
  };
@@ -24685,6 +24771,7 @@ declare const _default: {
24685
24771
  type: string;
24686
24772
  };
24687
24773
  name: {
24774
+ default: null;
24688
24775
  nullable: boolean;
24689
24776
  type: string;
24690
24777
  };
@@ -24743,6 +24830,7 @@ declare const _default: {
24743
24830
  type: string;
24744
24831
  };
24745
24832
  name: {
24833
+ default: null;
24746
24834
  nullable: boolean;
24747
24835
  type: string;
24748
24836
  };
@@ -24827,6 +24915,7 @@ declare const _default: {
24827
24915
  type: string;
24828
24916
  };
24829
24917
  name: {
24918
+ default: null;
24830
24919
  nullable: boolean;
24831
24920
  type: string;
24832
24921
  };
@@ -24885,6 +24974,7 @@ declare const _default: {
24885
24974
  type: string;
24886
24975
  };
24887
24976
  name: {
24977
+ default: null;
24888
24978
  nullable: boolean;
24889
24979
  type: string;
24890
24980
  };
@@ -29504,24 +29594,22 @@ interface Routes {
29504
29594
  message: string;
29505
29595
  warning_code: 'being_deleted';
29506
29596
  } | {
29597
+ /** Date and time at which Seam created the error. */
29507
29598
  created_at: string;
29599
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
29508
29600
  message: string;
29509
29601
  warning_code: 'failed_to_update_on_acs_system';
29510
29602
  } | {
29511
29603
  created_at: string;
29512
29604
  message: string;
29513
29605
  warning_code: 'salto_ks_user_not_subscribed';
29514
- } | {
29515
- created_at: string;
29516
- message: string;
29517
- warning_code: 'salto_site_user_suspended';
29518
29606
  }>;
29519
29607
  errors: Array<{
29520
29608
  /** Date and time at which Seam created the error. */
29521
29609
  created_at: string;
29522
29610
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
29523
29611
  message: string;
29524
- error_code: 'user_deleted_externally';
29612
+ error_code: 'deleted_externally';
29525
29613
  } | {
29526
29614
  /** Date and time at which Seam created the error. */
29527
29615
  created_at: string;
@@ -29533,7 +29621,19 @@ interface Routes {
29533
29621
  created_at: string;
29534
29622
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
29535
29623
  message: string;
29536
- error_code: 'salto_site_user_limit_reached';
29624
+ warning_code: 'failed_to_create_on_acs_system';
29625
+ } | {
29626
+ /** Date and time at which Seam created the error. */
29627
+ created_at: string;
29628
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
29629
+ message: string;
29630
+ warning_code: 'failed_to_update_on_acs_system';
29631
+ } | {
29632
+ /** Date and time at which Seam created the error. */
29633
+ created_at: string;
29634
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
29635
+ message: string;
29636
+ warning_code: 'failed_to_delete_on_acs_system';
29537
29637
  }>;
29538
29638
  full_name?: string | undefined;
29539
29639
  /**
@@ -30336,14 +30436,21 @@ interface Routes {
30336
30436
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30337
30437
  message: string;
30338
30438
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
30339
- error_code: 'salto_site_user_limit_reached';
30439
+ error_code: 'salto_ks_subscription_limit_exceeded';
30440
+ } | {
30441
+ /** Date and time at which Seam created the error. */
30442
+ created_at: string;
30443
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30444
+ message: string;
30445
+ /** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
30446
+ error_code: 'acs_system_disconnected';
30340
30447
  } | {
30341
30448
  /** Date and time at which Seam created the error. */
30342
30449
  created_at: string;
30343
30450
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30344
30451
  message: string;
30345
- /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
30346
- error_code: 'salto_seam_integration_blocked';
30452
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
30453
+ error_code: 'account_disconnected';
30347
30454
  }>;
30348
30455
  /** Warnings associated with the `acs_system`. */
30349
30456
  warnings: Array<{
@@ -30351,8 +30458,8 @@ interface Routes {
30351
30458
  created_at: string;
30352
30459
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30353
30460
  message: string;
30354
- /** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
30355
- warning_code: 'salto_site_user_limit_almost_reached';
30461
+ /** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
30462
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
30356
30463
  }>;
30357
30464
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
30358
30465
  can_automate_enrollment?: boolean | undefined;
@@ -30427,14 +30534,21 @@ interface Routes {
30427
30534
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30428
30535
  message: string;
30429
30536
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
30430
- error_code: 'salto_site_user_limit_reached';
30537
+ error_code: 'salto_ks_subscription_limit_exceeded';
30431
30538
  } | {
30432
30539
  /** Date and time at which Seam created the error. */
30433
30540
  created_at: string;
30434
30541
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30435
30542
  message: string;
30436
- /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
30437
- error_code: 'salto_seam_integration_blocked';
30543
+ /** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
30544
+ error_code: 'acs_system_disconnected';
30545
+ } | {
30546
+ /** Date and time at which Seam created the error. */
30547
+ created_at: string;
30548
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30549
+ message: string;
30550
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
30551
+ error_code: 'account_disconnected';
30438
30552
  }>;
30439
30553
  /** Warnings associated with the `acs_system`. */
30440
30554
  warnings: Array<{
@@ -30442,8 +30556,8 @@ interface Routes {
30442
30556
  created_at: string;
30443
30557
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30444
30558
  message: string;
30445
- /** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
30446
- warning_code: 'salto_site_user_limit_almost_reached';
30559
+ /** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
30560
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
30447
30561
  }>;
30448
30562
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
30449
30563
  can_automate_enrollment?: boolean | undefined;
@@ -30518,14 +30632,21 @@ interface Routes {
30518
30632
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30519
30633
  message: string;
30520
30634
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
30521
- error_code: 'salto_site_user_limit_reached';
30635
+ error_code: 'salto_ks_subscription_limit_exceeded';
30636
+ } | {
30637
+ /** Date and time at which Seam created the error. */
30638
+ created_at: string;
30639
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30640
+ message: string;
30641
+ /** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
30642
+ error_code: 'acs_system_disconnected';
30522
30643
  } | {
30523
30644
  /** Date and time at which Seam created the error. */
30524
30645
  created_at: string;
30525
30646
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30526
30647
  message: string;
30527
- /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
30528
- error_code: 'salto_seam_integration_blocked';
30648
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
30649
+ error_code: 'account_disconnected';
30529
30650
  }>;
30530
30651
  /** Warnings associated with the `acs_system`. */
30531
30652
  warnings: Array<{
@@ -30533,8 +30654,8 @@ interface Routes {
30533
30654
  created_at: string;
30534
30655
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30535
30656
  message: string;
30536
- /** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
30537
- warning_code: 'salto_site_user_limit_almost_reached';
30657
+ /** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
30658
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
30538
30659
  }>;
30539
30660
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
30540
30661
  can_automate_enrollment?: boolean | undefined;
@@ -30606,24 +30727,22 @@ interface Routes {
30606
30727
  message: string;
30607
30728
  warning_code: 'being_deleted';
30608
30729
  } | {
30730
+ /** Date and time at which Seam created the error. */
30609
30731
  created_at: string;
30732
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30610
30733
  message: string;
30611
30734
  warning_code: 'failed_to_update_on_acs_system';
30612
30735
  } | {
30613
30736
  created_at: string;
30614
30737
  message: string;
30615
30738
  warning_code: 'salto_ks_user_not_subscribed';
30616
- } | {
30617
- created_at: string;
30618
- message: string;
30619
- warning_code: 'salto_site_user_suspended';
30620
30739
  }>;
30621
30740
  errors: Array<{
30622
30741
  /** Date and time at which Seam created the error. */
30623
30742
  created_at: string;
30624
30743
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30625
30744
  message: string;
30626
- error_code: 'user_deleted_externally';
30745
+ error_code: 'deleted_externally';
30627
30746
  } | {
30628
30747
  /** Date and time at which Seam created the error. */
30629
30748
  created_at: string;
@@ -30635,7 +30754,19 @@ interface Routes {
30635
30754
  created_at: string;
30636
30755
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30637
30756
  message: string;
30638
- error_code: 'salto_site_user_limit_reached';
30757
+ warning_code: 'failed_to_create_on_acs_system';
30758
+ } | {
30759
+ /** Date and time at which Seam created the error. */
30760
+ created_at: string;
30761
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30762
+ message: string;
30763
+ warning_code: 'failed_to_update_on_acs_system';
30764
+ } | {
30765
+ /** Date and time at which Seam created the error. */
30766
+ created_at: string;
30767
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30768
+ message: string;
30769
+ warning_code: 'failed_to_delete_on_acs_system';
30639
30770
  }>;
30640
30771
  full_name?: string | undefined;
30641
30772
  /**
@@ -30693,24 +30824,22 @@ interface Routes {
30693
30824
  message: string;
30694
30825
  warning_code: 'being_deleted';
30695
30826
  } | {
30827
+ /** Date and time at which Seam created the error. */
30696
30828
  created_at: string;
30829
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30697
30830
  message: string;
30698
30831
  warning_code: 'failed_to_update_on_acs_system';
30699
30832
  } | {
30700
30833
  created_at: string;
30701
30834
  message: string;
30702
30835
  warning_code: 'salto_ks_user_not_subscribed';
30703
- } | {
30704
- created_at: string;
30705
- message: string;
30706
- warning_code: 'salto_site_user_suspended';
30707
30836
  }>;
30708
30837
  errors: Array<{
30709
30838
  /** Date and time at which Seam created the error. */
30710
30839
  created_at: string;
30711
30840
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30712
30841
  message: string;
30713
- error_code: 'user_deleted_externally';
30842
+ error_code: 'deleted_externally';
30714
30843
  } | {
30715
30844
  /** Date and time at which Seam created the error. */
30716
30845
  created_at: string;
@@ -30722,7 +30851,19 @@ interface Routes {
30722
30851
  created_at: string;
30723
30852
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30724
30853
  message: string;
30725
- error_code: 'salto_site_user_limit_reached';
30854
+ warning_code: 'failed_to_create_on_acs_system';
30855
+ } | {
30856
+ /** Date and time at which Seam created the error. */
30857
+ created_at: string;
30858
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30859
+ message: string;
30860
+ warning_code: 'failed_to_update_on_acs_system';
30861
+ } | {
30862
+ /** Date and time at which Seam created the error. */
30863
+ created_at: string;
30864
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30865
+ message: string;
30866
+ warning_code: 'failed_to_delete_on_acs_system';
30726
30867
  }>;
30727
30868
  full_name?: string | undefined;
30728
30869
  /**
@@ -30774,24 +30915,22 @@ interface Routes {
30774
30915
  message: string;
30775
30916
  warning_code: 'being_deleted';
30776
30917
  } | {
30918
+ /** Date and time at which Seam created the error. */
30777
30919
  created_at: string;
30920
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30778
30921
  message: string;
30779
30922
  warning_code: 'failed_to_update_on_acs_system';
30780
30923
  } | {
30781
30924
  created_at: string;
30782
30925
  message: string;
30783
30926
  warning_code: 'salto_ks_user_not_subscribed';
30784
- } | {
30785
- created_at: string;
30786
- message: string;
30787
- warning_code: 'salto_site_user_suspended';
30788
30927
  }>;
30789
30928
  errors: Array<{
30790
30929
  /** Date and time at which Seam created the error. */
30791
30930
  created_at: string;
30792
30931
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30793
30932
  message: string;
30794
- error_code: 'user_deleted_externally';
30933
+ error_code: 'deleted_externally';
30795
30934
  } | {
30796
30935
  /** Date and time at which Seam created the error. */
30797
30936
  created_at: string;
@@ -30803,7 +30942,19 @@ interface Routes {
30803
30942
  created_at: string;
30804
30943
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30805
30944
  message: string;
30806
- error_code: 'salto_site_user_limit_reached';
30945
+ warning_code: 'failed_to_create_on_acs_system';
30946
+ } | {
30947
+ /** Date and time at which Seam created the error. */
30948
+ created_at: string;
30949
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30950
+ message: string;
30951
+ warning_code: 'failed_to_update_on_acs_system';
30952
+ } | {
30953
+ /** Date and time at which Seam created the error. */
30954
+ created_at: string;
30955
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30956
+ message: string;
30957
+ warning_code: 'failed_to_delete_on_acs_system';
30807
30958
  }>;
30808
30959
  full_name?: string | undefined;
30809
30960
  /**
@@ -30920,24 +31071,22 @@ interface Routes {
30920
31071
  message: string;
30921
31072
  warning_code: 'being_deleted';
30922
31073
  } | {
31074
+ /** Date and time at which Seam created the error. */
30923
31075
  created_at: string;
31076
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30924
31077
  message: string;
30925
31078
  warning_code: 'failed_to_update_on_acs_system';
30926
31079
  } | {
30927
31080
  created_at: string;
30928
31081
  message: string;
30929
31082
  warning_code: 'salto_ks_user_not_subscribed';
30930
- } | {
30931
- created_at: string;
30932
- message: string;
30933
- warning_code: 'salto_site_user_suspended';
30934
31083
  }>;
30935
31084
  errors: Array<{
30936
31085
  /** Date and time at which Seam created the error. */
30937
31086
  created_at: string;
30938
31087
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30939
31088
  message: string;
30940
- error_code: 'user_deleted_externally';
31089
+ error_code: 'deleted_externally';
30941
31090
  } | {
30942
31091
  /** Date and time at which Seam created the error. */
30943
31092
  created_at: string;
@@ -30949,7 +31098,19 @@ interface Routes {
30949
31098
  created_at: string;
30950
31099
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30951
31100
  message: string;
30952
- error_code: 'salto_site_user_limit_reached';
31101
+ warning_code: 'failed_to_create_on_acs_system';
31102
+ } | {
31103
+ /** Date and time at which Seam created the error. */
31104
+ created_at: string;
31105
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31106
+ message: string;
31107
+ warning_code: 'failed_to_update_on_acs_system';
31108
+ } | {
31109
+ /** Date and time at which Seam created the error. */
31110
+ created_at: string;
31111
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31112
+ message: string;
31113
+ warning_code: 'failed_to_delete_on_acs_system';
30953
31114
  }>;
30954
31115
  full_name?: string | undefined;
30955
31116
  /**
@@ -31000,24 +31161,22 @@ interface Routes {
31000
31161
  message: string;
31001
31162
  warning_code: 'being_deleted';
31002
31163
  } | {
31164
+ /** Date and time at which Seam created the error. */
31003
31165
  created_at: string;
31166
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31004
31167
  message: string;
31005
31168
  warning_code: 'failed_to_update_on_acs_system';
31006
31169
  } | {
31007
31170
  created_at: string;
31008
31171
  message: string;
31009
31172
  warning_code: 'salto_ks_user_not_subscribed';
31010
- } | {
31011
- created_at: string;
31012
- message: string;
31013
- warning_code: 'salto_site_user_suspended';
31014
31173
  }>;
31015
31174
  errors: Array<{
31016
31175
  /** Date and time at which Seam created the error. */
31017
31176
  created_at: string;
31018
31177
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31019
31178
  message: string;
31020
- error_code: 'user_deleted_externally';
31179
+ error_code: 'deleted_externally';
31021
31180
  } | {
31022
31181
  /** Date and time at which Seam created the error. */
31023
31182
  created_at: string;
@@ -31029,7 +31188,19 @@ interface Routes {
31029
31188
  created_at: string;
31030
31189
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31031
31190
  message: string;
31032
- error_code: 'salto_site_user_limit_reached';
31191
+ warning_code: 'failed_to_create_on_acs_system';
31192
+ } | {
31193
+ /** Date and time at which Seam created the error. */
31194
+ created_at: string;
31195
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31196
+ message: string;
31197
+ warning_code: 'failed_to_update_on_acs_system';
31198
+ } | {
31199
+ /** Date and time at which Seam created the error. */
31200
+ created_at: string;
31201
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31202
+ message: string;
31203
+ warning_code: 'failed_to_delete_on_acs_system';
31033
31204
  }>;
31034
31205
  full_name?: string | undefined;
31035
31206
  /**
@@ -32646,7 +32817,7 @@ interface Routes {
32646
32817
  climate_preset_key: string;
32647
32818
  can_edit: boolean;
32648
32819
  can_delete: boolean;
32649
- name: string | null;
32820
+ name?: string | null;
32650
32821
  display_name: string;
32651
32822
  fan_mode_setting?: ('auto' | 'on') | undefined;
32652
32823
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -33090,7 +33261,7 @@ interface Routes {
33090
33261
  climate_preset_key: string;
33091
33262
  can_edit: boolean;
33092
33263
  can_delete: boolean;
33093
- name: string | null;
33264
+ name?: string | null;
33094
33265
  display_name: string;
33095
33266
  fan_mode_setting?: ('auto' | 'on') | undefined;
33096
33267
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -33914,7 +34085,7 @@ interface Routes {
33914
34085
  climate_preset_key: string;
33915
34086
  can_edit: boolean;
33916
34087
  can_delete: boolean;
33917
- name: string | null;
34088
+ name?: string | null;
33918
34089
  display_name: string;
33919
34090
  fan_mode_setting?: ('auto' | 'on') | undefined;
33920
34091
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -34333,7 +34504,7 @@ interface Routes {
34333
34504
  climate_preset_key: string;
34334
34505
  can_edit: boolean;
34335
34506
  can_delete: boolean;
34336
- name: string | null;
34507
+ name?: string | null;
34337
34508
  display_name: string;
34338
34509
  fan_mode_setting?: ('auto' | 'on') | undefined;
34339
34510
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -34777,7 +34948,7 @@ interface Routes {
34777
34948
  climate_preset_key: string;
34778
34949
  can_edit: boolean;
34779
34950
  can_delete: boolean;
34780
- name: string | null;
34951
+ name?: string | null;
34781
34952
  display_name: string;
34782
34953
  fan_mode_setting?: ('auto' | 'on') | undefined;
34783
34954
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -35196,7 +35367,7 @@ interface Routes {
35196
35367
  climate_preset_key: string;
35197
35368
  can_edit: boolean;
35198
35369
  can_delete: boolean;
35199
- name: string | null;
35370
+ name?: string | null;
35200
35371
  display_name: string;
35201
35372
  fan_mode_setting?: ('auto' | 'on') | undefined;
35202
35373
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -36470,7 +36641,7 @@ interface Routes {
36470
36641
  climate_preset_key: string;
36471
36642
  can_edit: boolean;
36472
36643
  can_delete: boolean;
36473
- name: string | null;
36644
+ name?: string | null;
36474
36645
  display_name: string;
36475
36646
  fan_mode_setting?: ('auto' | 'on') | undefined;
36476
36647
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -36889,7 +37060,7 @@ interface Routes {
36889
37060
  climate_preset_key: string;
36890
37061
  can_edit: boolean;
36891
37062
  can_delete: boolean;
36892
- name: string | null;
37063
+ name?: string | null;
36893
37064
  display_name: string;
36894
37065
  fan_mode_setting?: ('auto' | 'on') | undefined;
36895
37066
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -39213,7 +39384,7 @@ interface Routes {
39213
39384
  jsonBody: {
39214
39385
  device_id: string;
39215
39386
  climate_preset_key: string;
39216
- name: string | null;
39387
+ name?: string | null;
39217
39388
  fan_mode_setting?: ('auto' | 'on') | undefined;
39218
39389
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
39219
39390
  cooling_set_point_celsius?: number | undefined;
@@ -39229,7 +39400,7 @@ interface Routes {
39229
39400
  climate_preset_key: string;
39230
39401
  can_edit: boolean;
39231
39402
  can_delete: boolean;
39232
- name: string | null;
39403
+ name?: string | null;
39233
39404
  display_name: string;
39234
39405
  fan_mode_setting?: ('auto' | 'on') | undefined;
39235
39406
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -39606,7 +39777,7 @@ interface Routes {
39606
39777
  climate_preset_key: string;
39607
39778
  can_edit: boolean;
39608
39779
  can_delete: boolean;
39609
- name: string | null;
39780
+ name?: string | null;
39610
39781
  display_name: string;
39611
39782
  fan_mode_setting?: ('auto' | 'on') | undefined;
39612
39783
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -40852,7 +41023,7 @@ interface Routes {
40852
41023
  climate_preset_key: string;
40853
41024
  can_edit: boolean;
40854
41025
  can_delete: boolean;
40855
- name: string | null;
41026
+ name?: string | null;
40856
41027
  display_name: string;
40857
41028
  fan_mode_setting?: ('auto' | 'on') | undefined;
40858
41029
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -41868,7 +42039,7 @@ interface Routes {
41868
42039
  jsonBody: {
41869
42040
  device_id: string;
41870
42041
  climate_preset_key: string;
41871
- name: string | null;
42042
+ name?: string | null;
41872
42043
  fan_mode_setting?: ('auto' | 'on') | undefined;
41873
42044
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
41874
42045
  cooling_set_point_celsius?: number | undefined;
@@ -41884,7 +42055,7 @@ interface Routes {
41884
42055
  climate_preset_key: string;
41885
42056
  can_edit: boolean;
41886
42057
  can_delete: boolean;
41887
- name: string | null;
42058
+ name?: string | null;
41888
42059
  display_name: string;
41889
42060
  fan_mode_setting?: ('auto' | 'on') | undefined;
41890
42061
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -42427,7 +42598,7 @@ interface Routes {
42427
42598
  climate_preset_key: string;
42428
42599
  can_edit: boolean;
42429
42600
  can_delete: boolean;
42430
- name: string | null;
42601
+ name?: string | null;
42431
42602
  display_name: string;
42432
42603
  fan_mode_setting?: ('auto' | 'on') | undefined;
42433
42604
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -42848,7 +43019,7 @@ interface Routes {
42848
43019
  climate_preset_key: string;
42849
43020
  can_edit: boolean;
42850
43021
  can_delete: boolean;
42851
- name: string | null;
43022
+ name?: string | null;
42852
43023
  display_name: string;
42853
43024
  fan_mode_setting?: ('auto' | 'on') | undefined;
42854
43025
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -42988,14 +43159,21 @@ interface Routes {
42988
43159
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
42989
43160
  message: string;
42990
43161
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
42991
- error_code: 'salto_site_user_limit_reached';
43162
+ error_code: 'salto_ks_subscription_limit_exceeded';
42992
43163
  } | {
42993
43164
  /** Date and time at which Seam created the error. */
42994
43165
  created_at: string;
42995
43166
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
42996
43167
  message: string;
42997
- /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
42998
- error_code: 'salto_seam_integration_blocked';
43168
+ /** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
43169
+ error_code: 'acs_system_disconnected';
43170
+ } | {
43171
+ /** Date and time at which Seam created the error. */
43172
+ created_at: string;
43173
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
43174
+ message: string;
43175
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
43176
+ error_code: 'account_disconnected';
42999
43177
  }>;
43000
43178
  /** Warnings associated with the `acs_system`. */
43001
43179
  warnings: Array<{
@@ -43003,8 +43181,8 @@ interface Routes {
43003
43181
  created_at: string;
43004
43182
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
43005
43183
  message: string;
43006
- /** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
43007
- warning_code: 'salto_site_user_limit_almost_reached';
43184
+ /** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
43185
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
43008
43186
  }>;
43009
43187
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
43010
43188
  can_automate_enrollment?: boolean | undefined;
@@ -43052,24 +43230,22 @@ interface Routes {
43052
43230
  message: string;
43053
43231
  warning_code: 'being_deleted';
43054
43232
  } | {
43233
+ /** Date and time at which Seam created the error. */
43055
43234
  created_at: string;
43235
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
43056
43236
  message: string;
43057
43237
  warning_code: 'failed_to_update_on_acs_system';
43058
43238
  } | {
43059
43239
  created_at: string;
43060
43240
  message: string;
43061
43241
  warning_code: 'salto_ks_user_not_subscribed';
43062
- } | {
43063
- created_at: string;
43064
- message: string;
43065
- warning_code: 'salto_site_user_suspended';
43066
43242
  }>;
43067
43243
  errors: Array<{
43068
43244
  /** Date and time at which Seam created the error. */
43069
43245
  created_at: string;
43070
43246
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
43071
43247
  message: string;
43072
- error_code: 'user_deleted_externally';
43248
+ error_code: 'deleted_externally';
43073
43249
  } | {
43074
43250
  /** Date and time at which Seam created the error. */
43075
43251
  created_at: string;
@@ -43081,7 +43257,19 @@ interface Routes {
43081
43257
  created_at: string;
43082
43258
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
43083
43259
  message: string;
43084
- error_code: 'salto_site_user_limit_reached';
43260
+ warning_code: 'failed_to_create_on_acs_system';
43261
+ } | {
43262
+ /** Date and time at which Seam created the error. */
43263
+ created_at: string;
43264
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
43265
+ message: string;
43266
+ warning_code: 'failed_to_update_on_acs_system';
43267
+ } | {
43268
+ /** Date and time at which Seam created the error. */
43269
+ created_at: string;
43270
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
43271
+ message: string;
43272
+ warning_code: 'failed_to_delete_on_acs_system';
43085
43273
  }>;
43086
43274
  full_name?: string | undefined;
43087
43275
  /**