@seamapi/http 1.11.1 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -465,19 +465,19 @@ declare class SeamHttpAcsEncoders {
465
465
  static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsEncoders;
466
466
  static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsEncoders;
467
467
  updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
468
- encodeCard(body?: AcsEncodersEncodeCardBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<AcsEncodersEncodeCardResponse, 'action_attempt'>;
468
+ encodeCredential(body?: AcsEncodersEncodeCredentialBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<AcsEncodersEncodeCredentialResponse, 'action_attempt'>;
469
469
  list(body?: AcsEncodersListParams): SeamHttpRequest<AcsEncodersListResponse, 'devices'>;
470
- scanCard(body?: AcsEncodersScanCardBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<AcsEncodersScanCardResponse, 'action_attempt'>;
470
+ scanCredential(body?: AcsEncodersScanCredentialBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<AcsEncodersScanCredentialResponse, 'action_attempt'>;
471
471
  }
472
- type AcsEncodersEncodeCardBody = RouteRequestBody<'/acs/encoders/encode_card'>;
473
- type AcsEncodersEncodeCardResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/encode_card'>>>;
474
- type AcsEncodersEncodeCardOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
472
+ type AcsEncodersEncodeCredentialBody = RouteRequestBody<'/acs/encoders/encode_credential'>;
473
+ type AcsEncodersEncodeCredentialResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/encode_credential'>>>;
474
+ type AcsEncodersEncodeCredentialOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
475
475
  type AcsEncodersListParams = RouteRequestBody<'/acs/encoders/list'>;
476
476
  type AcsEncodersListResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/list'>>>;
477
477
  type AcsEncodersListOptions = never;
478
- type AcsEncodersScanCardBody = RouteRequestBody<'/acs/encoders/scan_card'>;
479
- type AcsEncodersScanCardResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/scan_card'>>>;
480
- type AcsEncodersScanCardOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
478
+ type AcsEncodersScanCredentialBody = RouteRequestBody<'/acs/encoders/scan_credential'>;
479
+ type AcsEncodersScanCredentialResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/scan_credential'>>>;
480
+ type AcsEncodersScanCredentialOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
481
481
 
482
482
  declare class SeamHttpActionAttempts {
483
483
  client: Client;
@@ -919,6 +919,7 @@ declare class SeamHttpThermostats {
919
919
  off(body?: ThermostatsOffBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsOffResponse, 'action_attempt'>;
920
920
  setFallbackClimatePreset(body?: ThermostatsSetFallbackClimatePresetBody): SeamHttpRequest<void, undefined>;
921
921
  setFanMode(body?: ThermostatsSetFanModeBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsSetFanModeResponse, 'action_attempt'>;
922
+ setTemperatureThreshold(body?: ThermostatsSetTemperatureThresholdBody): SeamHttpRequest<void, undefined>;
922
923
  updateClimatePreset(body?: ThermostatsUpdateClimatePresetBody): SeamHttpRequest<void, undefined>;
923
924
  }
924
925
  type ThermostatsActivateClimatePresetBody = RouteRequestBody<'/thermostats/activate_climate_preset'>;
@@ -954,6 +955,9 @@ type ThermostatsSetFallbackClimatePresetOptions = never;
954
955
  type ThermostatsSetFanModeBody = RouteRequestBody<'/thermostats/set_fan_mode'>;
955
956
  type ThermostatsSetFanModeResponse = SetNonNullable<Required<RouteResponse<'/thermostats/set_fan_mode'>>>;
956
957
  type ThermostatsSetFanModeOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
958
+ type ThermostatsSetTemperatureThresholdBody = RouteRequestBody<'/thermostats/set_temperature_threshold'>;
959
+ type ThermostatsSetTemperatureThresholdResponse = SetNonNullable<Required<RouteResponse<'/thermostats/set_temperature_threshold'>>>;
960
+ type ThermostatsSetTemperatureThresholdOptions = never;
957
961
  type ThermostatsUpdateClimatePresetBody = RouteRequestBody<'/thermostats/update_climate_preset'>;
958
962
  type ThermostatsUpdateClimatePresetResponse = SetNonNullable<Required<RouteResponse<'/thermostats/update_climate_preset'>>>;
959
963
  type ThermostatsUpdateClimatePresetOptions = never;
@@ -1162,12 +1166,16 @@ declare const isSeamActionAttemptError: <T extends {
1162
1166
  status: "pending";
1163
1167
  action_attempt_id: string;
1164
1168
  result: null;
1165
- action_type: "SCAN_CARD";
1169
+ action_type: "SCAN_CREDENTIAL";
1166
1170
  } | {
1167
1171
  error: null;
1168
1172
  status: "success";
1169
1173
  action_attempt_id: string;
1170
1174
  result: {
1175
+ warnings: {
1176
+ warning_code: "acs_credential_on_encoder_out_of_sync";
1177
+ warning_message: string;
1178
+ }[];
1171
1179
  acs_credential_on_encoder: {
1172
1180
  created_at: string | null;
1173
1181
  starts_at: string | null;
@@ -1176,7 +1184,6 @@ declare const isSeamActionAttemptError: <T extends {
1176
1184
  is_issued: boolean | null;
1177
1185
  visionline_metadata?: {
1178
1186
  expired: boolean;
1179
- card_function_type: "guest" | "staff";
1180
1187
  card_id: string;
1181
1188
  cancelled: boolean;
1182
1189
  discarded: boolean;
@@ -1184,6 +1191,8 @@ declare const isSeamActionAttemptError: <T extends {
1184
1191
  pending_auto_update: boolean;
1185
1192
  card_format: "TLCode" | "rfid48";
1186
1193
  number_of_issued_cards: number;
1194
+ guest_acs_entrance_ids?: string[] | undefined;
1195
+ common_acs_entrance_ids?: string[] | undefined;
1187
1196
  overridden?: boolean | undefined;
1188
1197
  card_holder?: string | undefined;
1189
1198
  } | undefined;
@@ -1270,37 +1279,132 @@ declare const isSeamActionAttemptError: <T extends {
1270
1279
  latest_desired_state_synced_with_provider_at?: string | undefined;
1271
1280
  } | null;
1272
1281
  };
1273
- action_type: "SCAN_CARD";
1282
+ action_type: "SCAN_CREDENTIAL";
1274
1283
  } | {
1275
1284
  error: {
1285
+ type: "uncategorized_error";
1286
+ message: string;
1287
+ } | {
1288
+ type: "action_attempt_expired";
1289
+ message: string;
1290
+ } | {
1276
1291
  type: "no_card_on_encoder";
1277
1292
  message: string;
1278
1293
  };
1279
1294
  status: "error";
1280
1295
  action_attempt_id: string;
1281
1296
  result: null;
1282
- action_type: "SCAN_CARD";
1297
+ action_type: "SCAN_CREDENTIAL";
1283
1298
  } | {
1284
1299
  error: null;
1285
1300
  status: "pending";
1286
1301
  action_attempt_id: string;
1287
1302
  result: null;
1288
- action_type: "ENCODE_CARD";
1303
+ action_type: "ENCODE_CREDENTIAL";
1289
1304
  } | {
1290
1305
  error: null;
1291
1306
  status: "success";
1292
1307
  action_attempt_id: string;
1293
- result: {};
1294
- action_type: "ENCODE_CARD";
1308
+ result: {
1309
+ created_at: string;
1310
+ errors: {
1311
+ message: string;
1312
+ error_code: string;
1313
+ }[];
1314
+ warnings: {
1315
+ message: string;
1316
+ warning_code: string;
1317
+ }[];
1318
+ display_name: string;
1319
+ workspace_id: string;
1320
+ is_managed: true;
1321
+ acs_system_id: string;
1322
+ acs_credential_id: string;
1323
+ access_method: "code" | "card" | "mobile_key";
1324
+ code?: string | null | undefined;
1325
+ starts_at?: string | undefined;
1326
+ ends_at?: string | undefined;
1327
+ visionline_metadata?: {
1328
+ card_function_type: "guest" | "staff";
1329
+ joiner_acs_credential_ids?: string[] | undefined;
1330
+ guest_acs_entrance_ids?: string[] | undefined;
1331
+ common_acs_entrance_ids?: string[] | undefined;
1332
+ is_valid?: boolean | undefined;
1333
+ auto_join?: boolean | undefined;
1334
+ card_id?: string | undefined;
1335
+ credential_id?: string | undefined;
1336
+ } | undefined;
1337
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1338
+ external_type_display_name?: string | undefined;
1339
+ acs_user_id?: string | undefined;
1340
+ acs_credential_pool_id?: string | undefined;
1341
+ parent_acs_credential_id?: string | undefined;
1342
+ card_number?: string | null | undefined;
1343
+ is_issued?: boolean | undefined;
1344
+ issued_at?: string | null | undefined;
1345
+ is_multi_phone_sync_credential?: boolean | undefined;
1346
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
1347
+ latest_desired_state_synced_with_provider_at?: string | undefined;
1348
+ } | {
1349
+ created_at: string;
1350
+ errors: {
1351
+ message: string;
1352
+ error_code: string;
1353
+ }[];
1354
+ warnings: {
1355
+ message: string;
1356
+ warning_code: string;
1357
+ }[];
1358
+ display_name: string;
1359
+ workspace_id: string;
1360
+ is_managed: false;
1361
+ acs_system_id: string;
1362
+ acs_credential_id: string;
1363
+ access_method: "code" | "card" | "mobile_key";
1364
+ code?: string | null | undefined;
1365
+ starts_at?: string | undefined;
1366
+ ends_at?: string | undefined;
1367
+ visionline_metadata?: {
1368
+ card_function_type: "guest" | "staff";
1369
+ joiner_acs_credential_ids?: string[] | undefined;
1370
+ guest_acs_entrance_ids?: string[] | undefined;
1371
+ common_acs_entrance_ids?: string[] | undefined;
1372
+ is_valid?: boolean | undefined;
1373
+ auto_join?: boolean | undefined;
1374
+ card_id?: string | undefined;
1375
+ credential_id?: string | undefined;
1376
+ } | undefined;
1377
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1378
+ external_type_display_name?: string | undefined;
1379
+ acs_user_id?: string | undefined;
1380
+ acs_credential_pool_id?: string | undefined;
1381
+ parent_acs_credential_id?: string | undefined;
1382
+ card_number?: string | null | undefined;
1383
+ is_issued?: boolean | undefined;
1384
+ issued_at?: string | null | undefined;
1385
+ is_multi_phone_sync_credential?: boolean | undefined;
1386
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
1387
+ latest_desired_state_synced_with_provider_at?: string | undefined;
1388
+ };
1389
+ action_type: "ENCODE_CREDENTIAL";
1295
1390
  } | {
1296
1391
  error: {
1297
- type: string;
1392
+ type: "uncategorized_error";
1393
+ message: string;
1394
+ } | {
1395
+ type: "action_attempt_expired";
1396
+ message: string;
1397
+ } | {
1398
+ type: "no_card_on_encoder";
1399
+ message: string;
1400
+ } | {
1401
+ type: "incompatible_card_format";
1298
1402
  message: string;
1299
1403
  };
1300
1404
  status: "error";
1301
1405
  action_attempt_id: string;
1302
1406
  result: null;
1303
- action_type: "ENCODE_CARD";
1407
+ action_type: "ENCODE_CREDENTIAL";
1304
1408
  } | {
1305
1409
  error: null;
1306
1410
  status: "pending";
@@ -1655,12 +1759,16 @@ declare const isSeamActionAttemptFailedError: <T extends {
1655
1759
  status: "pending";
1656
1760
  action_attempt_id: string;
1657
1761
  result: null;
1658
- action_type: "SCAN_CARD";
1762
+ action_type: "SCAN_CREDENTIAL";
1659
1763
  } | {
1660
1764
  error: null;
1661
1765
  status: "success";
1662
1766
  action_attempt_id: string;
1663
1767
  result: {
1768
+ warnings: {
1769
+ warning_code: "acs_credential_on_encoder_out_of_sync";
1770
+ warning_message: string;
1771
+ }[];
1664
1772
  acs_credential_on_encoder: {
1665
1773
  created_at: string | null;
1666
1774
  starts_at: string | null;
@@ -1669,7 +1777,6 @@ declare const isSeamActionAttemptFailedError: <T extends {
1669
1777
  is_issued: boolean | null;
1670
1778
  visionline_metadata?: {
1671
1779
  expired: boolean;
1672
- card_function_type: "guest" | "staff";
1673
1780
  card_id: string;
1674
1781
  cancelled: boolean;
1675
1782
  discarded: boolean;
@@ -1677,6 +1784,8 @@ declare const isSeamActionAttemptFailedError: <T extends {
1677
1784
  pending_auto_update: boolean;
1678
1785
  card_format: "TLCode" | "rfid48";
1679
1786
  number_of_issued_cards: number;
1787
+ guest_acs_entrance_ids?: string[] | undefined;
1788
+ common_acs_entrance_ids?: string[] | undefined;
1680
1789
  overridden?: boolean | undefined;
1681
1790
  card_holder?: string | undefined;
1682
1791
  } | undefined;
@@ -1763,37 +1872,132 @@ declare const isSeamActionAttemptFailedError: <T extends {
1763
1872
  latest_desired_state_synced_with_provider_at?: string | undefined;
1764
1873
  } | null;
1765
1874
  };
1766
- action_type: "SCAN_CARD";
1875
+ action_type: "SCAN_CREDENTIAL";
1767
1876
  } | {
1768
1877
  error: {
1878
+ type: "uncategorized_error";
1879
+ message: string;
1880
+ } | {
1881
+ type: "action_attempt_expired";
1882
+ message: string;
1883
+ } | {
1769
1884
  type: "no_card_on_encoder";
1770
1885
  message: string;
1771
1886
  };
1772
1887
  status: "error";
1773
1888
  action_attempt_id: string;
1774
1889
  result: null;
1775
- action_type: "SCAN_CARD";
1890
+ action_type: "SCAN_CREDENTIAL";
1776
1891
  } | {
1777
1892
  error: null;
1778
1893
  status: "pending";
1779
1894
  action_attempt_id: string;
1780
1895
  result: null;
1781
- action_type: "ENCODE_CARD";
1896
+ action_type: "ENCODE_CREDENTIAL";
1782
1897
  } | {
1783
1898
  error: null;
1784
1899
  status: "success";
1785
1900
  action_attempt_id: string;
1786
- result: {};
1787
- action_type: "ENCODE_CARD";
1901
+ result: {
1902
+ created_at: string;
1903
+ errors: {
1904
+ message: string;
1905
+ error_code: string;
1906
+ }[];
1907
+ warnings: {
1908
+ message: string;
1909
+ warning_code: string;
1910
+ }[];
1911
+ display_name: string;
1912
+ workspace_id: string;
1913
+ is_managed: true;
1914
+ acs_system_id: string;
1915
+ acs_credential_id: string;
1916
+ access_method: "code" | "card" | "mobile_key";
1917
+ code?: string | null | undefined;
1918
+ starts_at?: string | undefined;
1919
+ ends_at?: string | undefined;
1920
+ visionline_metadata?: {
1921
+ card_function_type: "guest" | "staff";
1922
+ joiner_acs_credential_ids?: string[] | undefined;
1923
+ guest_acs_entrance_ids?: string[] | undefined;
1924
+ common_acs_entrance_ids?: string[] | undefined;
1925
+ is_valid?: boolean | undefined;
1926
+ auto_join?: boolean | undefined;
1927
+ card_id?: string | undefined;
1928
+ credential_id?: string | undefined;
1929
+ } | undefined;
1930
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1931
+ external_type_display_name?: string | undefined;
1932
+ acs_user_id?: string | undefined;
1933
+ acs_credential_pool_id?: string | undefined;
1934
+ parent_acs_credential_id?: string | undefined;
1935
+ card_number?: string | null | undefined;
1936
+ is_issued?: boolean | undefined;
1937
+ issued_at?: string | null | undefined;
1938
+ is_multi_phone_sync_credential?: boolean | undefined;
1939
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
1940
+ latest_desired_state_synced_with_provider_at?: string | undefined;
1941
+ } | {
1942
+ created_at: string;
1943
+ errors: {
1944
+ message: string;
1945
+ error_code: string;
1946
+ }[];
1947
+ warnings: {
1948
+ message: string;
1949
+ warning_code: string;
1950
+ }[];
1951
+ display_name: string;
1952
+ workspace_id: string;
1953
+ is_managed: false;
1954
+ acs_system_id: string;
1955
+ acs_credential_id: string;
1956
+ access_method: "code" | "card" | "mobile_key";
1957
+ code?: string | null | undefined;
1958
+ starts_at?: string | undefined;
1959
+ ends_at?: string | undefined;
1960
+ visionline_metadata?: {
1961
+ card_function_type: "guest" | "staff";
1962
+ joiner_acs_credential_ids?: string[] | undefined;
1963
+ guest_acs_entrance_ids?: string[] | undefined;
1964
+ common_acs_entrance_ids?: string[] | undefined;
1965
+ is_valid?: boolean | undefined;
1966
+ auto_join?: boolean | undefined;
1967
+ card_id?: string | undefined;
1968
+ credential_id?: string | undefined;
1969
+ } | undefined;
1970
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1971
+ external_type_display_name?: string | undefined;
1972
+ acs_user_id?: string | undefined;
1973
+ acs_credential_pool_id?: string | undefined;
1974
+ parent_acs_credential_id?: string | undefined;
1975
+ card_number?: string | null | undefined;
1976
+ is_issued?: boolean | undefined;
1977
+ issued_at?: string | null | undefined;
1978
+ is_multi_phone_sync_credential?: boolean | undefined;
1979
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
1980
+ latest_desired_state_synced_with_provider_at?: string | undefined;
1981
+ };
1982
+ action_type: "ENCODE_CREDENTIAL";
1788
1983
  } | {
1789
1984
  error: {
1790
- type: string;
1985
+ type: "uncategorized_error";
1986
+ message: string;
1987
+ } | {
1988
+ type: "action_attempt_expired";
1989
+ message: string;
1990
+ } | {
1991
+ type: "no_card_on_encoder";
1992
+ message: string;
1993
+ } | {
1994
+ type: "incompatible_card_format";
1791
1995
  message: string;
1792
1996
  };
1793
1997
  status: "error";
1794
1998
  action_attempt_id: string;
1795
1999
  result: null;
1796
- action_type: "ENCODE_CARD";
2000
+ action_type: "ENCODE_CREDENTIAL";
1797
2001
  } | {
1798
2002
  error: null;
1799
2003
  status: "pending";
@@ -2148,12 +2352,16 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2148
2352
  status: "pending";
2149
2353
  action_attempt_id: string;
2150
2354
  result: null;
2151
- action_type: "SCAN_CARD";
2355
+ action_type: "SCAN_CREDENTIAL";
2152
2356
  } | {
2153
2357
  error: null;
2154
2358
  status: "success";
2155
2359
  action_attempt_id: string;
2156
2360
  result: {
2361
+ warnings: {
2362
+ warning_code: "acs_credential_on_encoder_out_of_sync";
2363
+ warning_message: string;
2364
+ }[];
2157
2365
  acs_credential_on_encoder: {
2158
2366
  created_at: string | null;
2159
2367
  starts_at: string | null;
@@ -2162,7 +2370,6 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2162
2370
  is_issued: boolean | null;
2163
2371
  visionline_metadata?: {
2164
2372
  expired: boolean;
2165
- card_function_type: "guest" | "staff";
2166
2373
  card_id: string;
2167
2374
  cancelled: boolean;
2168
2375
  discarded: boolean;
@@ -2170,6 +2377,8 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2170
2377
  pending_auto_update: boolean;
2171
2378
  card_format: "TLCode" | "rfid48";
2172
2379
  number_of_issued_cards: number;
2380
+ guest_acs_entrance_ids?: string[] | undefined;
2381
+ common_acs_entrance_ids?: string[] | undefined;
2173
2382
  overridden?: boolean | undefined;
2174
2383
  card_holder?: string | undefined;
2175
2384
  } | undefined;
@@ -2256,37 +2465,132 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2256
2465
  latest_desired_state_synced_with_provider_at?: string | undefined;
2257
2466
  } | null;
2258
2467
  };
2259
- action_type: "SCAN_CARD";
2468
+ action_type: "SCAN_CREDENTIAL";
2260
2469
  } | {
2261
2470
  error: {
2471
+ type: "uncategorized_error";
2472
+ message: string;
2473
+ } | {
2474
+ type: "action_attempt_expired";
2475
+ message: string;
2476
+ } | {
2262
2477
  type: "no_card_on_encoder";
2263
2478
  message: string;
2264
2479
  };
2265
2480
  status: "error";
2266
2481
  action_attempt_id: string;
2267
2482
  result: null;
2268
- action_type: "SCAN_CARD";
2483
+ action_type: "SCAN_CREDENTIAL";
2269
2484
  } | {
2270
2485
  error: null;
2271
2486
  status: "pending";
2272
2487
  action_attempt_id: string;
2273
2488
  result: null;
2274
- action_type: "ENCODE_CARD";
2489
+ action_type: "ENCODE_CREDENTIAL";
2275
2490
  } | {
2276
2491
  error: null;
2277
2492
  status: "success";
2278
2493
  action_attempt_id: string;
2279
- result: {};
2280
- action_type: "ENCODE_CARD";
2494
+ result: {
2495
+ created_at: string;
2496
+ errors: {
2497
+ message: string;
2498
+ error_code: string;
2499
+ }[];
2500
+ warnings: {
2501
+ message: string;
2502
+ warning_code: string;
2503
+ }[];
2504
+ display_name: string;
2505
+ workspace_id: string;
2506
+ is_managed: true;
2507
+ acs_system_id: string;
2508
+ acs_credential_id: string;
2509
+ access_method: "code" | "card" | "mobile_key";
2510
+ code?: string | null | undefined;
2511
+ starts_at?: string | undefined;
2512
+ ends_at?: string | undefined;
2513
+ visionline_metadata?: {
2514
+ card_function_type: "guest" | "staff";
2515
+ joiner_acs_credential_ids?: string[] | undefined;
2516
+ guest_acs_entrance_ids?: string[] | undefined;
2517
+ common_acs_entrance_ids?: string[] | undefined;
2518
+ is_valid?: boolean | undefined;
2519
+ auto_join?: boolean | undefined;
2520
+ card_id?: string | undefined;
2521
+ credential_id?: string | undefined;
2522
+ } | undefined;
2523
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2524
+ external_type_display_name?: string | undefined;
2525
+ acs_user_id?: string | undefined;
2526
+ acs_credential_pool_id?: string | undefined;
2527
+ parent_acs_credential_id?: string | undefined;
2528
+ card_number?: string | null | undefined;
2529
+ is_issued?: boolean | undefined;
2530
+ issued_at?: string | null | undefined;
2531
+ is_multi_phone_sync_credential?: boolean | undefined;
2532
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2533
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2534
+ } | {
2535
+ created_at: string;
2536
+ errors: {
2537
+ message: string;
2538
+ error_code: string;
2539
+ }[];
2540
+ warnings: {
2541
+ message: string;
2542
+ warning_code: string;
2543
+ }[];
2544
+ display_name: string;
2545
+ workspace_id: string;
2546
+ is_managed: false;
2547
+ acs_system_id: string;
2548
+ acs_credential_id: string;
2549
+ access_method: "code" | "card" | "mobile_key";
2550
+ code?: string | null | undefined;
2551
+ starts_at?: string | undefined;
2552
+ ends_at?: string | undefined;
2553
+ visionline_metadata?: {
2554
+ card_function_type: "guest" | "staff";
2555
+ joiner_acs_credential_ids?: string[] | undefined;
2556
+ guest_acs_entrance_ids?: string[] | undefined;
2557
+ common_acs_entrance_ids?: string[] | undefined;
2558
+ is_valid?: boolean | undefined;
2559
+ auto_join?: boolean | undefined;
2560
+ card_id?: string | undefined;
2561
+ credential_id?: string | undefined;
2562
+ } | undefined;
2563
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2564
+ external_type_display_name?: string | undefined;
2565
+ acs_user_id?: string | undefined;
2566
+ acs_credential_pool_id?: string | undefined;
2567
+ parent_acs_credential_id?: string | undefined;
2568
+ card_number?: string | null | undefined;
2569
+ is_issued?: boolean | undefined;
2570
+ issued_at?: string | null | undefined;
2571
+ is_multi_phone_sync_credential?: boolean | undefined;
2572
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2573
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2574
+ };
2575
+ action_type: "ENCODE_CREDENTIAL";
2281
2576
  } | {
2282
2577
  error: {
2283
- type: string;
2578
+ type: "uncategorized_error";
2579
+ message: string;
2580
+ } | {
2581
+ type: "action_attempt_expired";
2582
+ message: string;
2583
+ } | {
2584
+ type: "no_card_on_encoder";
2585
+ message: string;
2586
+ } | {
2587
+ type: "incompatible_card_format";
2284
2588
  message: string;
2285
2589
  };
2286
2590
  status: "error";
2287
2591
  action_attempt_id: string;
2288
2592
  result: null;
2289
- action_type: "ENCODE_CARD";
2593
+ action_type: "ENCODE_CREDENTIAL";
2290
2594
  } | {
2291
2595
  error: null;
2292
2596
  status: "pending";
@@ -2736,4 +3040,4 @@ declare const isPublishableKey: (token: string) => boolean;
2736
3040
  declare const isConsoleSessionToken: (token: string) => boolean;
2737
3041
  declare const isPersonalAccessToken: (token: string) => boolean;
2738
3042
 
2739
- export { type AccessCodesCreateBody, type AccessCodesCreateMultipleBody, type AccessCodesCreateMultipleOptions, type AccessCodesCreateMultipleResponse, type AccessCodesCreateOptions, type AccessCodesCreateResponse, type AccessCodesDeleteOptions, type AccessCodesDeleteParams, type AccessCodesDeleteResponse, type AccessCodesGenerateCodeBody, type AccessCodesGenerateCodeOptions, type AccessCodesGenerateCodeResponse, type AccessCodesGetOptions, type AccessCodesGetParams, type AccessCodesGetResponse, type AccessCodesListOptions, type AccessCodesListParams, type AccessCodesListResponse, type AccessCodesPullBackupAccessCodeBody, type AccessCodesPullBackupAccessCodeOptions, type AccessCodesPullBackupAccessCodeResponse, type AccessCodesSimulateCreateUnmanagedAccessCodeBody, type AccessCodesSimulateCreateUnmanagedAccessCodeOptions, type AccessCodesSimulateCreateUnmanagedAccessCodeResponse, type AccessCodesUnmanagedConvertToManagedBody, type AccessCodesUnmanagedConvertToManagedOptions, type AccessCodesUnmanagedConvertToManagedResponse, type AccessCodesUnmanagedDeleteOptions, type AccessCodesUnmanagedDeleteParams, type AccessCodesUnmanagedDeleteResponse, type AccessCodesUnmanagedGetOptions, type AccessCodesUnmanagedGetParams, type AccessCodesUnmanagedGetResponse, type AccessCodesUnmanagedListOptions, type AccessCodesUnmanagedListParams, type AccessCodesUnmanagedListResponse, type AccessCodesUnmanagedUpdateBody, type AccessCodesUnmanagedUpdateOptions, type AccessCodesUnmanagedUpdateResponse, type AccessCodesUpdateBody, type AccessCodesUpdateMultipleBody, type AccessCodesUpdateMultipleOptions, type AccessCodesUpdateMultipleResponse, type AccessCodesUpdateOptions, type AccessCodesUpdateResponse, type AcsAccessGroupsAddUserBody, type AcsAccessGroupsAddUserOptions, type AcsAccessGroupsAddUserResponse, type AcsAccessGroupsGetOptions, type AcsAccessGroupsGetParams, type AcsAccessGroupsGetResponse, type AcsAccessGroupsListAccessibleEntrancesOptions, type AcsAccessGroupsListAccessibleEntrancesParams, type AcsAccessGroupsListAccessibleEntrancesResponse, type AcsAccessGroupsListOptions, type AcsAccessGroupsListParams, type AcsAccessGroupsListResponse, type AcsAccessGroupsListUsersOptions, type AcsAccessGroupsListUsersParams, type AcsAccessGroupsListUsersResponse, type AcsAccessGroupsRemoveUserOptions, type AcsAccessGroupsRemoveUserParams, type AcsAccessGroupsRemoveUserResponse, type AcsAccessGroupsUnmanagedGetOptions, type AcsAccessGroupsUnmanagedGetParams, type AcsAccessGroupsUnmanagedGetResponse, type AcsAccessGroupsUnmanagedListOptions, type AcsAccessGroupsUnmanagedListParams, type AcsAccessGroupsUnmanagedListResponse, type AcsCredentialPoolsListOptions, type AcsCredentialPoolsListParams, type AcsCredentialPoolsListResponse, type AcsCredentialProvisioningAutomationsLaunchBody, type AcsCredentialProvisioningAutomationsLaunchOptions, type AcsCredentialProvisioningAutomationsLaunchResponse, type AcsCredentialsAssignBody, type AcsCredentialsAssignOptions, type AcsCredentialsAssignResponse, type AcsCredentialsCreateBody, type AcsCredentialsCreateOptions, type AcsCredentialsCreateResponse, type AcsCredentialsDeleteOptions, type AcsCredentialsDeleteParams, type AcsCredentialsDeleteResponse, type AcsCredentialsGetOptions, type AcsCredentialsGetParams, type AcsCredentialsGetResponse, type AcsCredentialsListAccessibleEntrancesOptions, type AcsCredentialsListAccessibleEntrancesParams, type AcsCredentialsListAccessibleEntrancesResponse, type AcsCredentialsListOptions, type AcsCredentialsListParams, type AcsCredentialsListResponse, type AcsCredentialsUnassignBody, type AcsCredentialsUnassignOptions, type AcsCredentialsUnassignResponse, type AcsCredentialsUnmanagedGetOptions, type AcsCredentialsUnmanagedGetParams, type AcsCredentialsUnmanagedGetResponse, type AcsCredentialsUnmanagedListOptions, type AcsCredentialsUnmanagedListParams, type AcsCredentialsUnmanagedListResponse, type AcsCredentialsUpdateBody, type AcsCredentialsUpdateOptions, type AcsCredentialsUpdateResponse, type AcsEncodersEncodeCardBody, type AcsEncodersEncodeCardOptions, type AcsEncodersEncodeCardResponse, type AcsEncodersListOptions, type AcsEncodersListParams, type AcsEncodersListResponse, type AcsEncodersScanCardBody, type AcsEncodersScanCardOptions, type AcsEncodersScanCardResponse, type AcsEntrancesGetOptions, type AcsEntrancesGetParams, type AcsEntrancesGetResponse, type AcsEntrancesGrantAccessBody, type AcsEntrancesGrantAccessOptions, type AcsEntrancesGrantAccessResponse, type AcsEntrancesListCredentialsWithAccessOptions, type AcsEntrancesListCredentialsWithAccessParams, type AcsEntrancesListCredentialsWithAccessResponse, type AcsEntrancesListOptions, type AcsEntrancesListParams, type AcsEntrancesListResponse, type AcsSystemsGetOptions, type AcsSystemsGetParams, type AcsSystemsGetResponse, type AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions, type AcsSystemsListCompatibleCredentialManagerAcsSystemsParams, type AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse, type AcsSystemsListOptions, type AcsSystemsListParams, type AcsSystemsListResponse, type AcsUsersAddToAccessGroupBody, type AcsUsersAddToAccessGroupOptions, type AcsUsersAddToAccessGroupResponse, type AcsUsersCreateBody, type AcsUsersCreateOptions, type AcsUsersCreateResponse, type AcsUsersDeleteOptions, type AcsUsersDeleteParams, type AcsUsersDeleteResponse, type AcsUsersGetOptions, type AcsUsersGetParams, type AcsUsersGetResponse, type AcsUsersListAccessibleEntrancesOptions, type AcsUsersListAccessibleEntrancesParams, type AcsUsersListAccessibleEntrancesResponse, type AcsUsersListOptions, type AcsUsersListParams, type AcsUsersListResponse, type AcsUsersRemoveFromAccessGroupOptions, type AcsUsersRemoveFromAccessGroupParams, type AcsUsersRemoveFromAccessGroupResponse, type AcsUsersRevokeAccessToAllEntrancesOptions, type AcsUsersRevokeAccessToAllEntrancesParams, type AcsUsersRevokeAccessToAllEntrancesResponse, type AcsUsersSuspendBody, type AcsUsersSuspendOptions, type AcsUsersSuspendResponse, type AcsUsersUnmanagedGetOptions, type AcsUsersUnmanagedGetParams, type AcsUsersUnmanagedGetResponse, type AcsUsersUnmanagedListOptions, type AcsUsersUnmanagedListParams, type AcsUsersUnmanagedListResponse, type AcsUsersUnsuspendBody, type AcsUsersUnsuspendOptions, type AcsUsersUnsuspendResponse, type AcsUsersUpdateBody, type AcsUsersUpdateOptions, type AcsUsersUpdateResponse, type ActionAttemptsGetOptions, type ActionAttemptsGetParams, type ActionAttemptsGetResponse, type ActionAttemptsListOptions, type ActionAttemptsListParams, type ActionAttemptsListResponse, type ClientSessionsCreateBody, type ClientSessionsCreateOptions, type ClientSessionsCreateResponse, type ClientSessionsDeleteOptions, type ClientSessionsDeleteParams, type ClientSessionsDeleteResponse, type ClientSessionsGetOptions, type ClientSessionsGetOrCreateBody, type ClientSessionsGetOrCreateOptions, type ClientSessionsGetOrCreateResponse, type ClientSessionsGetParams, type ClientSessionsGetResponse, type ClientSessionsGrantAccessBody, type ClientSessionsGrantAccessOptions, type ClientSessionsGrantAccessResponse, type ClientSessionsListOptions, type ClientSessionsListParams, type ClientSessionsListResponse, type ClientSessionsRevokeOptions, type ClientSessionsRevokeParams, type ClientSessionsRevokeResponse, type ConnectWebviewsCreateBody, type ConnectWebviewsCreateOptions, type ConnectWebviewsCreateResponse, type ConnectWebviewsDeleteOptions, type ConnectWebviewsDeleteParams, type ConnectWebviewsDeleteResponse, type ConnectWebviewsGetOptions, type ConnectWebviewsGetParams, type ConnectWebviewsGetResponse, type ConnectWebviewsListOptions, type ConnectWebviewsListParams, type ConnectWebviewsListResponse, type ConnectedAccountsDeleteOptions, type ConnectedAccountsDeleteParams, type ConnectedAccountsDeleteResponse, type ConnectedAccountsGetOptions, type ConnectedAccountsGetParams, type ConnectedAccountsGetResponse, type ConnectedAccountsListOptions, type ConnectedAccountsListParams, type ConnectedAccountsListResponse, type ConnectedAccountsUpdateBody, type ConnectedAccountsUpdateOptions, type ConnectedAccountsUpdateResponse, type DevicesDeleteOptions, type DevicesDeleteParams, type DevicesDeleteResponse, type DevicesGetOptions, type DevicesGetParams, type DevicesGetResponse, type DevicesListDeviceProvidersOptions, type DevicesListDeviceProvidersParams, type DevicesListDeviceProvidersResponse, type DevicesListOptions, type DevicesListParams, type DevicesListResponse, type DevicesSimulateConnectBody, type DevicesSimulateConnectOptions, type DevicesSimulateConnectResponse, type DevicesSimulateDisconnectBody, type DevicesSimulateDisconnectOptions, type DevicesSimulateDisconnectResponse, type DevicesSimulateRemoveBody, type DevicesSimulateRemoveOptions, type DevicesSimulateRemoveResponse, type DevicesUnmanagedGetOptions, type DevicesUnmanagedGetParams, type DevicesUnmanagedGetResponse, type DevicesUnmanagedListOptions, type DevicesUnmanagedListParams, type DevicesUnmanagedListResponse, type DevicesUnmanagedUpdateBody, type DevicesUnmanagedUpdateOptions, type DevicesUnmanagedUpdateResponse, type DevicesUpdateBody, type DevicesUpdateOptions, type DevicesUpdateResponse, type EventsGetOptions, type EventsGetParams, type EventsGetResponse, type EventsListOptions, type EventsListParams, type EventsListResponse, type LocksGetOptions, type LocksGetParams, type LocksGetResponse, type LocksListOptions, type LocksListParams, type LocksListResponse, type LocksLockDoorBody, type LocksLockDoorOptions, type LocksLockDoorResponse, type LocksUnlockDoorBody, type LocksUnlockDoorOptions, type LocksUnlockDoorResponse, type NetworksGetOptions, type NetworksGetParams, type NetworksGetResponse, type NetworksListOptions, type NetworksListParams, type NetworksListResponse, type NoiseSensorsListOptions, type NoiseSensorsListParams, type NoiseSensorsListResponse, type NoiseSensorsNoiseThresholdsCreateBody, type NoiseSensorsNoiseThresholdsCreateOptions, type NoiseSensorsNoiseThresholdsCreateResponse, type NoiseSensorsNoiseThresholdsDeleteOptions, type NoiseSensorsNoiseThresholdsDeleteParams, type NoiseSensorsNoiseThresholdsDeleteResponse, type NoiseSensorsNoiseThresholdsGetOptions, type NoiseSensorsNoiseThresholdsGetParams, type NoiseSensorsNoiseThresholdsGetResponse, type NoiseSensorsNoiseThresholdsListOptions, type NoiseSensorsNoiseThresholdsListParams, type NoiseSensorsNoiseThresholdsListResponse, type NoiseSensorsNoiseThresholdsUpdateBody, type NoiseSensorsNoiseThresholdsUpdateOptions, type NoiseSensorsNoiseThresholdsUpdateResponse, type NoiseSensorsSimulateTriggerNoiseThresholdBody, type NoiseSensorsSimulateTriggerNoiseThresholdOptions, type NoiseSensorsSimulateTriggerNoiseThresholdResponse, type PhonesDeactivateOptions, type PhonesDeactivateParams, type PhonesDeactivateResponse, type PhonesListOptions, type PhonesListParams, type PhonesListResponse, type PhonesSimulateCreateSandboxPhoneBody, type PhonesSimulateCreateSandboxPhoneOptions, type PhonesSimulateCreateSandboxPhoneResponse, SeamActionAttemptError, SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttp, SeamHttpAccessCodes, SeamHttpAccessCodesSimulate, SeamHttpAccessCodesUnmanaged, SeamHttpAcs, SeamHttpAcsAccessGroups, SeamHttpAcsAccessGroupsUnmanaged, SeamHttpAcsCredentialPools, SeamHttpAcsCredentialProvisioningAutomations, SeamHttpAcsCredentials, SeamHttpAcsCredentialsUnmanaged, SeamHttpAcsEncoders, SeamHttpAcsEntrances, SeamHttpAcsSystems, SeamHttpAcsUsers, SeamHttpAcsUsersUnmanaged, SeamHttpActionAttempts, SeamHttpApiError, SeamHttpClientSessions, SeamHttpConnectWebviews, SeamHttpConnectedAccounts, SeamHttpDevices, SeamHttpDevicesSimulate, SeamHttpDevicesUnmanaged, SeamHttpEvents, type SeamHttpFromPublishableKeyOptions, SeamHttpInvalidInputError, SeamHttpInvalidOptionsError, SeamHttpInvalidTokenError, SeamHttpLocks, SeamHttpMultiWorkspace, SeamHttpMultiWorkspaceInvalidOptionsError, type SeamHttpMultiWorkspaceOptions, type SeamHttpMultiWorkspaceOptionsWithClient, type SeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, type SeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, SeamHttpNetworks, SeamHttpNoiseSensors, SeamHttpNoiseSensorsNoiseThresholds, SeamHttpNoiseSensorsSimulate, type SeamHttpOptions, type SeamHttpOptionsFromEnv, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, SeamHttpPhones, SeamHttpPhonesSimulate, SeamHttpRequest, type SeamHttpRequestOptions, SeamHttpThermostats, SeamHttpThermostatsSchedules, SeamHttpUnauthorizedError, SeamHttpUserIdentities, SeamHttpUserIdentitiesEnrollmentAutomations, SeamHttpWebhooks, SeamHttpWorkspaces, type ThermostatsActivateClimatePresetBody, type ThermostatsActivateClimatePresetOptions, type ThermostatsActivateClimatePresetResponse, type ThermostatsCoolBody, type ThermostatsCoolOptions, type ThermostatsCoolResponse, type ThermostatsCreateClimatePresetBody, type ThermostatsCreateClimatePresetOptions, type ThermostatsCreateClimatePresetResponse, type ThermostatsDeleteClimatePresetBody, type ThermostatsDeleteClimatePresetOptions, type ThermostatsDeleteClimatePresetResponse, type ThermostatsGetOptions, type ThermostatsGetParams, type ThermostatsGetResponse, type ThermostatsHeatBody, type ThermostatsHeatCoolBody, type ThermostatsHeatCoolOptions, type ThermostatsHeatCoolResponse, type ThermostatsHeatOptions, type ThermostatsHeatResponse, type ThermostatsListOptions, type ThermostatsListParams, type ThermostatsListResponse, type ThermostatsOffBody, type ThermostatsOffOptions, type ThermostatsOffResponse, type ThermostatsSchedulesCreateBody, type ThermostatsSchedulesCreateOptions, type ThermostatsSchedulesCreateResponse, type ThermostatsSchedulesDeleteOptions, type ThermostatsSchedulesDeleteParams, type ThermostatsSchedulesDeleteResponse, type ThermostatsSchedulesGetOptions, type ThermostatsSchedulesGetParams, type ThermostatsSchedulesGetResponse, type ThermostatsSchedulesListOptions, type ThermostatsSchedulesListParams, type ThermostatsSchedulesListResponse, type ThermostatsSchedulesUpdateBody, type ThermostatsSchedulesUpdateOptions, type ThermostatsSchedulesUpdateResponse, type ThermostatsSetFallbackClimatePresetBody, type ThermostatsSetFallbackClimatePresetOptions, type ThermostatsSetFallbackClimatePresetResponse, type ThermostatsSetFanModeBody, type ThermostatsSetFanModeOptions, type ThermostatsSetFanModeResponse, type ThermostatsUpdateClimatePresetBody, type ThermostatsUpdateClimatePresetOptions, type ThermostatsUpdateClimatePresetResponse, type UserIdentitiesAddAcsUserBody, type UserIdentitiesAddAcsUserOptions, type UserIdentitiesAddAcsUserResponse, type UserIdentitiesCreateBody, type UserIdentitiesCreateOptions, type UserIdentitiesCreateResponse, type UserIdentitiesDeleteOptions, type UserIdentitiesDeleteParams, type UserIdentitiesDeleteResponse, type UserIdentitiesEnrollmentAutomationsDeleteOptions, type UserIdentitiesEnrollmentAutomationsDeleteParams, type UserIdentitiesEnrollmentAutomationsDeleteResponse, type UserIdentitiesEnrollmentAutomationsGetOptions, type UserIdentitiesEnrollmentAutomationsGetParams, type UserIdentitiesEnrollmentAutomationsGetResponse, type UserIdentitiesEnrollmentAutomationsLaunchBody, type UserIdentitiesEnrollmentAutomationsLaunchOptions, type UserIdentitiesEnrollmentAutomationsLaunchResponse, type UserIdentitiesEnrollmentAutomationsListOptions, type UserIdentitiesEnrollmentAutomationsListParams, type UserIdentitiesEnrollmentAutomationsListResponse, type UserIdentitiesGetOptions, type UserIdentitiesGetParams, type UserIdentitiesGetResponse, type UserIdentitiesGrantAccessToDeviceBody, type UserIdentitiesGrantAccessToDeviceOptions, type UserIdentitiesGrantAccessToDeviceResponse, type UserIdentitiesListAccessibleDevicesOptions, type UserIdentitiesListAccessibleDevicesParams, type UserIdentitiesListAccessibleDevicesResponse, type UserIdentitiesListAcsSystemsOptions, type UserIdentitiesListAcsSystemsParams, type UserIdentitiesListAcsSystemsResponse, type UserIdentitiesListAcsUsersOptions, type UserIdentitiesListAcsUsersParams, type UserIdentitiesListAcsUsersResponse, type UserIdentitiesListOptions, type UserIdentitiesListParams, type UserIdentitiesListResponse, type UserIdentitiesRemoveAcsUserOptions, type UserIdentitiesRemoveAcsUserParams, type UserIdentitiesRemoveAcsUserResponse, type UserIdentitiesRevokeAccessToDeviceOptions, type UserIdentitiesRevokeAccessToDeviceParams, type UserIdentitiesRevokeAccessToDeviceResponse, type UserIdentitiesUpdateBody, type UserIdentitiesUpdateOptions, type UserIdentitiesUpdateResponse, type WebhooksCreateBody, type WebhooksCreateOptions, type WebhooksCreateResponse, type WebhooksDeleteOptions, type WebhooksDeleteParams, type WebhooksDeleteResponse, type WebhooksGetOptions, type WebhooksGetParams, type WebhooksGetResponse, type WebhooksListOptions, type WebhooksListParams, type WebhooksListResponse, type WebhooksUpdateBody, type WebhooksUpdateOptions, type WebhooksUpdateResponse, type WorkspacesCreateBody, type WorkspacesCreateOptions, type WorkspacesCreateResponse, type WorkspacesGetOptions, type WorkspacesGetParams, type WorkspacesGetResponse, type WorkspacesListOptions, type WorkspacesListParams, type WorkspacesListResponse, type WorkspacesResetSandboxBody, type WorkspacesResetSandboxOptions, type WorkspacesResetSandboxResponse, errorInterceptor, getOpenapiSchema, isApiKey, isClientSessionToken, isConsoleSessionToken, isPersonalAccessToken, isPublishableKey, isSeamActionAttemptError, isSeamActionAttemptFailedError, isSeamActionAttemptTimeoutError, isSeamHttpApiError, isSeamHttpInvalidInputError, isSeamHttpMultiWorkspaceOptionsWithClient, isSeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, isSeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, isSeamHttpUnauthorizedError };
3043
+ export { type AccessCodesCreateBody, type AccessCodesCreateMultipleBody, type AccessCodesCreateMultipleOptions, type AccessCodesCreateMultipleResponse, type AccessCodesCreateOptions, type AccessCodesCreateResponse, type AccessCodesDeleteOptions, type AccessCodesDeleteParams, type AccessCodesDeleteResponse, type AccessCodesGenerateCodeBody, type AccessCodesGenerateCodeOptions, type AccessCodesGenerateCodeResponse, type AccessCodesGetOptions, type AccessCodesGetParams, type AccessCodesGetResponse, type AccessCodesListOptions, type AccessCodesListParams, type AccessCodesListResponse, type AccessCodesPullBackupAccessCodeBody, type AccessCodesPullBackupAccessCodeOptions, type AccessCodesPullBackupAccessCodeResponse, type AccessCodesSimulateCreateUnmanagedAccessCodeBody, type AccessCodesSimulateCreateUnmanagedAccessCodeOptions, type AccessCodesSimulateCreateUnmanagedAccessCodeResponse, type AccessCodesUnmanagedConvertToManagedBody, type AccessCodesUnmanagedConvertToManagedOptions, type AccessCodesUnmanagedConvertToManagedResponse, type AccessCodesUnmanagedDeleteOptions, type AccessCodesUnmanagedDeleteParams, type AccessCodesUnmanagedDeleteResponse, type AccessCodesUnmanagedGetOptions, type AccessCodesUnmanagedGetParams, type AccessCodesUnmanagedGetResponse, type AccessCodesUnmanagedListOptions, type AccessCodesUnmanagedListParams, type AccessCodesUnmanagedListResponse, type AccessCodesUnmanagedUpdateBody, type AccessCodesUnmanagedUpdateOptions, type AccessCodesUnmanagedUpdateResponse, type AccessCodesUpdateBody, type AccessCodesUpdateMultipleBody, type AccessCodesUpdateMultipleOptions, type AccessCodesUpdateMultipleResponse, type AccessCodesUpdateOptions, type AccessCodesUpdateResponse, type AcsAccessGroupsAddUserBody, type AcsAccessGroupsAddUserOptions, type AcsAccessGroupsAddUserResponse, type AcsAccessGroupsGetOptions, type AcsAccessGroupsGetParams, type AcsAccessGroupsGetResponse, type AcsAccessGroupsListAccessibleEntrancesOptions, type AcsAccessGroupsListAccessibleEntrancesParams, type AcsAccessGroupsListAccessibleEntrancesResponse, type AcsAccessGroupsListOptions, type AcsAccessGroupsListParams, type AcsAccessGroupsListResponse, type AcsAccessGroupsListUsersOptions, type AcsAccessGroupsListUsersParams, type AcsAccessGroupsListUsersResponse, type AcsAccessGroupsRemoveUserOptions, type AcsAccessGroupsRemoveUserParams, type AcsAccessGroupsRemoveUserResponse, type AcsAccessGroupsUnmanagedGetOptions, type AcsAccessGroupsUnmanagedGetParams, type AcsAccessGroupsUnmanagedGetResponse, type AcsAccessGroupsUnmanagedListOptions, type AcsAccessGroupsUnmanagedListParams, type AcsAccessGroupsUnmanagedListResponse, type AcsCredentialPoolsListOptions, type AcsCredentialPoolsListParams, type AcsCredentialPoolsListResponse, type AcsCredentialProvisioningAutomationsLaunchBody, type AcsCredentialProvisioningAutomationsLaunchOptions, type AcsCredentialProvisioningAutomationsLaunchResponse, type AcsCredentialsAssignBody, type AcsCredentialsAssignOptions, type AcsCredentialsAssignResponse, type AcsCredentialsCreateBody, type AcsCredentialsCreateOptions, type AcsCredentialsCreateResponse, type AcsCredentialsDeleteOptions, type AcsCredentialsDeleteParams, type AcsCredentialsDeleteResponse, type AcsCredentialsGetOptions, type AcsCredentialsGetParams, type AcsCredentialsGetResponse, type AcsCredentialsListAccessibleEntrancesOptions, type AcsCredentialsListAccessibleEntrancesParams, type AcsCredentialsListAccessibleEntrancesResponse, type AcsCredentialsListOptions, type AcsCredentialsListParams, type AcsCredentialsListResponse, type AcsCredentialsUnassignBody, type AcsCredentialsUnassignOptions, type AcsCredentialsUnassignResponse, type AcsCredentialsUnmanagedGetOptions, type AcsCredentialsUnmanagedGetParams, type AcsCredentialsUnmanagedGetResponse, type AcsCredentialsUnmanagedListOptions, type AcsCredentialsUnmanagedListParams, type AcsCredentialsUnmanagedListResponse, type AcsCredentialsUpdateBody, type AcsCredentialsUpdateOptions, type AcsCredentialsUpdateResponse, type AcsEncodersEncodeCredentialBody, type AcsEncodersEncodeCredentialOptions, type AcsEncodersEncodeCredentialResponse, type AcsEncodersListOptions, type AcsEncodersListParams, type AcsEncodersListResponse, type AcsEncodersScanCredentialBody, type AcsEncodersScanCredentialOptions, type AcsEncodersScanCredentialResponse, type AcsEntrancesGetOptions, type AcsEntrancesGetParams, type AcsEntrancesGetResponse, type AcsEntrancesGrantAccessBody, type AcsEntrancesGrantAccessOptions, type AcsEntrancesGrantAccessResponse, type AcsEntrancesListCredentialsWithAccessOptions, type AcsEntrancesListCredentialsWithAccessParams, type AcsEntrancesListCredentialsWithAccessResponse, type AcsEntrancesListOptions, type AcsEntrancesListParams, type AcsEntrancesListResponse, type AcsSystemsGetOptions, type AcsSystemsGetParams, type AcsSystemsGetResponse, type AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions, type AcsSystemsListCompatibleCredentialManagerAcsSystemsParams, type AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse, type AcsSystemsListOptions, type AcsSystemsListParams, type AcsSystemsListResponse, type AcsUsersAddToAccessGroupBody, type AcsUsersAddToAccessGroupOptions, type AcsUsersAddToAccessGroupResponse, type AcsUsersCreateBody, type AcsUsersCreateOptions, type AcsUsersCreateResponse, type AcsUsersDeleteOptions, type AcsUsersDeleteParams, type AcsUsersDeleteResponse, type AcsUsersGetOptions, type AcsUsersGetParams, type AcsUsersGetResponse, type AcsUsersListAccessibleEntrancesOptions, type AcsUsersListAccessibleEntrancesParams, type AcsUsersListAccessibleEntrancesResponse, type AcsUsersListOptions, type AcsUsersListParams, type AcsUsersListResponse, type AcsUsersRemoveFromAccessGroupOptions, type AcsUsersRemoveFromAccessGroupParams, type AcsUsersRemoveFromAccessGroupResponse, type AcsUsersRevokeAccessToAllEntrancesOptions, type AcsUsersRevokeAccessToAllEntrancesParams, type AcsUsersRevokeAccessToAllEntrancesResponse, type AcsUsersSuspendBody, type AcsUsersSuspendOptions, type AcsUsersSuspendResponse, type AcsUsersUnmanagedGetOptions, type AcsUsersUnmanagedGetParams, type AcsUsersUnmanagedGetResponse, type AcsUsersUnmanagedListOptions, type AcsUsersUnmanagedListParams, type AcsUsersUnmanagedListResponse, type AcsUsersUnsuspendBody, type AcsUsersUnsuspendOptions, type AcsUsersUnsuspendResponse, type AcsUsersUpdateBody, type AcsUsersUpdateOptions, type AcsUsersUpdateResponse, type ActionAttemptsGetOptions, type ActionAttemptsGetParams, type ActionAttemptsGetResponse, type ActionAttemptsListOptions, type ActionAttemptsListParams, type ActionAttemptsListResponse, type ClientSessionsCreateBody, type ClientSessionsCreateOptions, type ClientSessionsCreateResponse, type ClientSessionsDeleteOptions, type ClientSessionsDeleteParams, type ClientSessionsDeleteResponse, type ClientSessionsGetOptions, type ClientSessionsGetOrCreateBody, type ClientSessionsGetOrCreateOptions, type ClientSessionsGetOrCreateResponse, type ClientSessionsGetParams, type ClientSessionsGetResponse, type ClientSessionsGrantAccessBody, type ClientSessionsGrantAccessOptions, type ClientSessionsGrantAccessResponse, type ClientSessionsListOptions, type ClientSessionsListParams, type ClientSessionsListResponse, type ClientSessionsRevokeOptions, type ClientSessionsRevokeParams, type ClientSessionsRevokeResponse, type ConnectWebviewsCreateBody, type ConnectWebviewsCreateOptions, type ConnectWebviewsCreateResponse, type ConnectWebviewsDeleteOptions, type ConnectWebviewsDeleteParams, type ConnectWebviewsDeleteResponse, type ConnectWebviewsGetOptions, type ConnectWebviewsGetParams, type ConnectWebviewsGetResponse, type ConnectWebviewsListOptions, type ConnectWebviewsListParams, type ConnectWebviewsListResponse, type ConnectedAccountsDeleteOptions, type ConnectedAccountsDeleteParams, type ConnectedAccountsDeleteResponse, type ConnectedAccountsGetOptions, type ConnectedAccountsGetParams, type ConnectedAccountsGetResponse, type ConnectedAccountsListOptions, type ConnectedAccountsListParams, type ConnectedAccountsListResponse, type ConnectedAccountsUpdateBody, type ConnectedAccountsUpdateOptions, type ConnectedAccountsUpdateResponse, type DevicesDeleteOptions, type DevicesDeleteParams, type DevicesDeleteResponse, type DevicesGetOptions, type DevicesGetParams, type DevicesGetResponse, type DevicesListDeviceProvidersOptions, type DevicesListDeviceProvidersParams, type DevicesListDeviceProvidersResponse, type DevicesListOptions, type DevicesListParams, type DevicesListResponse, type DevicesSimulateConnectBody, type DevicesSimulateConnectOptions, type DevicesSimulateConnectResponse, type DevicesSimulateDisconnectBody, type DevicesSimulateDisconnectOptions, type DevicesSimulateDisconnectResponse, type DevicesSimulateRemoveBody, type DevicesSimulateRemoveOptions, type DevicesSimulateRemoveResponse, type DevicesUnmanagedGetOptions, type DevicesUnmanagedGetParams, type DevicesUnmanagedGetResponse, type DevicesUnmanagedListOptions, type DevicesUnmanagedListParams, type DevicesUnmanagedListResponse, type DevicesUnmanagedUpdateBody, type DevicesUnmanagedUpdateOptions, type DevicesUnmanagedUpdateResponse, type DevicesUpdateBody, type DevicesUpdateOptions, type DevicesUpdateResponse, type EventsGetOptions, type EventsGetParams, type EventsGetResponse, type EventsListOptions, type EventsListParams, type EventsListResponse, type LocksGetOptions, type LocksGetParams, type LocksGetResponse, type LocksListOptions, type LocksListParams, type LocksListResponse, type LocksLockDoorBody, type LocksLockDoorOptions, type LocksLockDoorResponse, type LocksUnlockDoorBody, type LocksUnlockDoorOptions, type LocksUnlockDoorResponse, type NetworksGetOptions, type NetworksGetParams, type NetworksGetResponse, type NetworksListOptions, type NetworksListParams, type NetworksListResponse, type NoiseSensorsListOptions, type NoiseSensorsListParams, type NoiseSensorsListResponse, type NoiseSensorsNoiseThresholdsCreateBody, type NoiseSensorsNoiseThresholdsCreateOptions, type NoiseSensorsNoiseThresholdsCreateResponse, type NoiseSensorsNoiseThresholdsDeleteOptions, type NoiseSensorsNoiseThresholdsDeleteParams, type NoiseSensorsNoiseThresholdsDeleteResponse, type NoiseSensorsNoiseThresholdsGetOptions, type NoiseSensorsNoiseThresholdsGetParams, type NoiseSensorsNoiseThresholdsGetResponse, type NoiseSensorsNoiseThresholdsListOptions, type NoiseSensorsNoiseThresholdsListParams, type NoiseSensorsNoiseThresholdsListResponse, type NoiseSensorsNoiseThresholdsUpdateBody, type NoiseSensorsNoiseThresholdsUpdateOptions, type NoiseSensorsNoiseThresholdsUpdateResponse, type NoiseSensorsSimulateTriggerNoiseThresholdBody, type NoiseSensorsSimulateTriggerNoiseThresholdOptions, type NoiseSensorsSimulateTriggerNoiseThresholdResponse, type PhonesDeactivateOptions, type PhonesDeactivateParams, type PhonesDeactivateResponse, type PhonesListOptions, type PhonesListParams, type PhonesListResponse, type PhonesSimulateCreateSandboxPhoneBody, type PhonesSimulateCreateSandboxPhoneOptions, type PhonesSimulateCreateSandboxPhoneResponse, SeamActionAttemptError, SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttp, SeamHttpAccessCodes, SeamHttpAccessCodesSimulate, SeamHttpAccessCodesUnmanaged, SeamHttpAcs, SeamHttpAcsAccessGroups, SeamHttpAcsAccessGroupsUnmanaged, SeamHttpAcsCredentialPools, SeamHttpAcsCredentialProvisioningAutomations, SeamHttpAcsCredentials, SeamHttpAcsCredentialsUnmanaged, SeamHttpAcsEncoders, SeamHttpAcsEntrances, SeamHttpAcsSystems, SeamHttpAcsUsers, SeamHttpAcsUsersUnmanaged, SeamHttpActionAttempts, SeamHttpApiError, SeamHttpClientSessions, SeamHttpConnectWebviews, SeamHttpConnectedAccounts, SeamHttpDevices, SeamHttpDevicesSimulate, SeamHttpDevicesUnmanaged, SeamHttpEvents, type SeamHttpFromPublishableKeyOptions, SeamHttpInvalidInputError, SeamHttpInvalidOptionsError, SeamHttpInvalidTokenError, SeamHttpLocks, SeamHttpMultiWorkspace, SeamHttpMultiWorkspaceInvalidOptionsError, type SeamHttpMultiWorkspaceOptions, type SeamHttpMultiWorkspaceOptionsWithClient, type SeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, type SeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, SeamHttpNetworks, SeamHttpNoiseSensors, SeamHttpNoiseSensorsNoiseThresholds, SeamHttpNoiseSensorsSimulate, type SeamHttpOptions, type SeamHttpOptionsFromEnv, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, SeamHttpPhones, SeamHttpPhonesSimulate, SeamHttpRequest, type SeamHttpRequestOptions, SeamHttpThermostats, SeamHttpThermostatsSchedules, SeamHttpUnauthorizedError, SeamHttpUserIdentities, SeamHttpUserIdentitiesEnrollmentAutomations, SeamHttpWebhooks, SeamHttpWorkspaces, type ThermostatsActivateClimatePresetBody, type ThermostatsActivateClimatePresetOptions, type ThermostatsActivateClimatePresetResponse, type ThermostatsCoolBody, type ThermostatsCoolOptions, type ThermostatsCoolResponse, type ThermostatsCreateClimatePresetBody, type ThermostatsCreateClimatePresetOptions, type ThermostatsCreateClimatePresetResponse, type ThermostatsDeleteClimatePresetBody, type ThermostatsDeleteClimatePresetOptions, type ThermostatsDeleteClimatePresetResponse, type ThermostatsGetOptions, type ThermostatsGetParams, type ThermostatsGetResponse, type ThermostatsHeatBody, type ThermostatsHeatCoolBody, type ThermostatsHeatCoolOptions, type ThermostatsHeatCoolResponse, type ThermostatsHeatOptions, type ThermostatsHeatResponse, type ThermostatsListOptions, type ThermostatsListParams, type ThermostatsListResponse, type ThermostatsOffBody, type ThermostatsOffOptions, type ThermostatsOffResponse, type ThermostatsSchedulesCreateBody, type ThermostatsSchedulesCreateOptions, type ThermostatsSchedulesCreateResponse, type ThermostatsSchedulesDeleteOptions, type ThermostatsSchedulesDeleteParams, type ThermostatsSchedulesDeleteResponse, type ThermostatsSchedulesGetOptions, type ThermostatsSchedulesGetParams, type ThermostatsSchedulesGetResponse, type ThermostatsSchedulesListOptions, type ThermostatsSchedulesListParams, type ThermostatsSchedulesListResponse, type ThermostatsSchedulesUpdateBody, type ThermostatsSchedulesUpdateOptions, type ThermostatsSchedulesUpdateResponse, type ThermostatsSetFallbackClimatePresetBody, type ThermostatsSetFallbackClimatePresetOptions, type ThermostatsSetFallbackClimatePresetResponse, type ThermostatsSetFanModeBody, type ThermostatsSetFanModeOptions, type ThermostatsSetFanModeResponse, type ThermostatsSetTemperatureThresholdBody, type ThermostatsSetTemperatureThresholdOptions, type ThermostatsSetTemperatureThresholdResponse, type ThermostatsUpdateClimatePresetBody, type ThermostatsUpdateClimatePresetOptions, type ThermostatsUpdateClimatePresetResponse, type UserIdentitiesAddAcsUserBody, type UserIdentitiesAddAcsUserOptions, type UserIdentitiesAddAcsUserResponse, type UserIdentitiesCreateBody, type UserIdentitiesCreateOptions, type UserIdentitiesCreateResponse, type UserIdentitiesDeleteOptions, type UserIdentitiesDeleteParams, type UserIdentitiesDeleteResponse, type UserIdentitiesEnrollmentAutomationsDeleteOptions, type UserIdentitiesEnrollmentAutomationsDeleteParams, type UserIdentitiesEnrollmentAutomationsDeleteResponse, type UserIdentitiesEnrollmentAutomationsGetOptions, type UserIdentitiesEnrollmentAutomationsGetParams, type UserIdentitiesEnrollmentAutomationsGetResponse, type UserIdentitiesEnrollmentAutomationsLaunchBody, type UserIdentitiesEnrollmentAutomationsLaunchOptions, type UserIdentitiesEnrollmentAutomationsLaunchResponse, type UserIdentitiesEnrollmentAutomationsListOptions, type UserIdentitiesEnrollmentAutomationsListParams, type UserIdentitiesEnrollmentAutomationsListResponse, type UserIdentitiesGetOptions, type UserIdentitiesGetParams, type UserIdentitiesGetResponse, type UserIdentitiesGrantAccessToDeviceBody, type UserIdentitiesGrantAccessToDeviceOptions, type UserIdentitiesGrantAccessToDeviceResponse, type UserIdentitiesListAccessibleDevicesOptions, type UserIdentitiesListAccessibleDevicesParams, type UserIdentitiesListAccessibleDevicesResponse, type UserIdentitiesListAcsSystemsOptions, type UserIdentitiesListAcsSystemsParams, type UserIdentitiesListAcsSystemsResponse, type UserIdentitiesListAcsUsersOptions, type UserIdentitiesListAcsUsersParams, type UserIdentitiesListAcsUsersResponse, type UserIdentitiesListOptions, type UserIdentitiesListParams, type UserIdentitiesListResponse, type UserIdentitiesRemoveAcsUserOptions, type UserIdentitiesRemoveAcsUserParams, type UserIdentitiesRemoveAcsUserResponse, type UserIdentitiesRevokeAccessToDeviceOptions, type UserIdentitiesRevokeAccessToDeviceParams, type UserIdentitiesRevokeAccessToDeviceResponse, type UserIdentitiesUpdateBody, type UserIdentitiesUpdateOptions, type UserIdentitiesUpdateResponse, type WebhooksCreateBody, type WebhooksCreateOptions, type WebhooksCreateResponse, type WebhooksDeleteOptions, type WebhooksDeleteParams, type WebhooksDeleteResponse, type WebhooksGetOptions, type WebhooksGetParams, type WebhooksGetResponse, type WebhooksListOptions, type WebhooksListParams, type WebhooksListResponse, type WebhooksUpdateBody, type WebhooksUpdateOptions, type WebhooksUpdateResponse, type WorkspacesCreateBody, type WorkspacesCreateOptions, type WorkspacesCreateResponse, type WorkspacesGetOptions, type WorkspacesGetParams, type WorkspacesGetResponse, type WorkspacesListOptions, type WorkspacesListParams, type WorkspacesListResponse, type WorkspacesResetSandboxBody, type WorkspacesResetSandboxOptions, type WorkspacesResetSandboxResponse, errorInterceptor, getOpenapiSchema, isApiKey, isClientSessionToken, isConsoleSessionToken, isPersonalAccessToken, isPublishableKey, isSeamActionAttemptError, isSeamActionAttemptFailedError, isSeamActionAttemptTimeoutError, isSeamHttpApiError, isSeamHttpInvalidInputError, isSeamHttpMultiWorkspaceOptionsWithClient, isSeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, isSeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, isSeamHttpUnauthorizedError };