@seamapi/http 1.18.0 → 1.19.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.
@@ -305,6 +305,61 @@ type AcsCredentialsUpdateBody = RouteRequestBody<'/acs/credentials/update'>;
305
305
  type AcsCredentialsUpdateResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/update'>>>;
306
306
  type AcsCredentialsUpdateOptions = never;
307
307
 
308
+ declare class SeamHttpAcsEncodersSimulate {
309
+ client: Client;
310
+ readonly defaults: Required<SeamHttpRequestOptions>;
311
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
312
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsEncodersSimulate;
313
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsEncodersSimulate;
314
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsEncodersSimulate;
315
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsEncodersSimulate>;
316
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsEncodersSimulate;
317
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsEncodersSimulate;
318
+ updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
319
+ nextCredentialEncodeWillFail(body?: AcsEncodersSimulateNextCredentialEncodeWillFailBody): SeamHttpRequest<void, undefined>;
320
+ nextCredentialEncodeWillSucceed(body?: AcsEncodersSimulateNextCredentialEncodeWillSucceedBody): SeamHttpRequest<void, undefined>;
321
+ nextCredentialScanWillFail(body?: AcsEncodersSimulateNextCredentialScanWillFailBody): SeamHttpRequest<void, undefined>;
322
+ nextCredentialScanWillSucceed(body?: AcsEncodersSimulateNextCredentialScanWillSucceedBody): SeamHttpRequest<void, undefined>;
323
+ }
324
+ type AcsEncodersSimulateNextCredentialEncodeWillFailBody = RouteRequestBody<'/acs/encoders/simulate/next_credential_encode_will_fail'>;
325
+ type AcsEncodersSimulateNextCredentialEncodeWillFailResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/simulate/next_credential_encode_will_fail'>>>;
326
+ type AcsEncodersSimulateNextCredentialEncodeWillFailOptions = never;
327
+ type AcsEncodersSimulateNextCredentialEncodeWillSucceedBody = RouteRequestBody<'/acs/encoders/simulate/next_credential_encode_will_succeed'>;
328
+ type AcsEncodersSimulateNextCredentialEncodeWillSucceedResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/simulate/next_credential_encode_will_succeed'>>>;
329
+ type AcsEncodersSimulateNextCredentialEncodeWillSucceedOptions = never;
330
+ type AcsEncodersSimulateNextCredentialScanWillFailBody = RouteRequestBody<'/acs/encoders/simulate/next_credential_scan_will_fail'>;
331
+ type AcsEncodersSimulateNextCredentialScanWillFailResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/simulate/next_credential_scan_will_fail'>>>;
332
+ type AcsEncodersSimulateNextCredentialScanWillFailOptions = never;
333
+ type AcsEncodersSimulateNextCredentialScanWillSucceedBody = RouteRequestBody<'/acs/encoders/simulate/next_credential_scan_will_succeed'>;
334
+ type AcsEncodersSimulateNextCredentialScanWillSucceedResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/simulate/next_credential_scan_will_succeed'>>>;
335
+ type AcsEncodersSimulateNextCredentialScanWillSucceedOptions = never;
336
+
337
+ declare class SeamHttpAcsEncoders {
338
+ client: Client;
339
+ readonly defaults: Required<SeamHttpRequestOptions>;
340
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
341
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsEncoders;
342
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsEncoders;
343
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsEncoders;
344
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsEncoders>;
345
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsEncoders;
346
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsEncoders;
347
+ updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
348
+ get simulate(): SeamHttpAcsEncodersSimulate;
349
+ encodeCredential(body?: AcsEncodersEncodeCredentialBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<AcsEncodersEncodeCredentialResponse, 'action_attempt'>;
350
+ list(body?: AcsEncodersListParams): SeamHttpRequest<AcsEncodersListResponse, 'acs_encoders'>;
351
+ scanCredential(body?: AcsEncodersScanCredentialBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<AcsEncodersScanCredentialResponse, 'action_attempt'>;
352
+ }
353
+ type AcsEncodersEncodeCredentialBody = RouteRequestBody<'/acs/encoders/encode_credential'>;
354
+ type AcsEncodersEncodeCredentialResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/encode_credential'>>>;
355
+ type AcsEncodersEncodeCredentialOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
356
+ type AcsEncodersListParams = RouteRequestBody<'/acs/encoders/list'>;
357
+ type AcsEncodersListResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/list'>>>;
358
+ type AcsEncodersListOptions = never;
359
+ type AcsEncodersScanCredentialBody = RouteRequestBody<'/acs/encoders/scan_credential'>;
360
+ type AcsEncodersScanCredentialResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/scan_credential'>>>;
361
+ type AcsEncodersScanCredentialOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
362
+
308
363
  declare class SeamHttpAcsEntrances {
309
364
  client: Client;
310
365
  readonly defaults: Required<SeamHttpRequestOptions>;
@@ -454,65 +509,11 @@ declare class SeamHttpAcs {
454
509
  get credentialProvisioningAutomations(): SeamHttpAcsCredentialProvisioningAutomations;
455
510
  get credentials(): SeamHttpAcsCredentials;
456
511
  get entrances(): SeamHttpAcsEntrances;
512
+ get encoders(): SeamHttpAcsEncoders;
457
513
  get systems(): SeamHttpAcsSystems;
458
514
  get users(): SeamHttpAcsUsers;
459
515
  }
460
516
 
461
- declare class SeamHttpAcsEncodersSimulate {
462
- client: Client;
463
- readonly defaults: Required<SeamHttpRequestOptions>;
464
- constructor(apiKeyOrOptions?: string | SeamHttpOptions);
465
- static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsEncodersSimulate;
466
- static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsEncodersSimulate;
467
- static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsEncodersSimulate;
468
- static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsEncodersSimulate>;
469
- static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsEncodersSimulate;
470
- static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsEncodersSimulate;
471
- updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
472
- nextCredentialEncodeWillFail(body?: AcsEncodersSimulateNextCredentialEncodeWillFailBody): SeamHttpRequest<void, undefined>;
473
- nextCredentialEncodeWillSucceed(body?: AcsEncodersSimulateNextCredentialEncodeWillSucceedBody): SeamHttpRequest<void, undefined>;
474
- nextCredentialScanWillFail(body?: AcsEncodersSimulateNextCredentialScanWillFailBody): SeamHttpRequest<void, undefined>;
475
- nextCredentialScanWillSucceed(body?: AcsEncodersSimulateNextCredentialScanWillSucceedBody): SeamHttpRequest<void, undefined>;
476
- }
477
- type AcsEncodersSimulateNextCredentialEncodeWillFailBody = RouteRequestBody<'/acs/encoders/simulate/next_credential_encode_will_fail'>;
478
- type AcsEncodersSimulateNextCredentialEncodeWillFailResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/simulate/next_credential_encode_will_fail'>>>;
479
- type AcsEncodersSimulateNextCredentialEncodeWillFailOptions = never;
480
- type AcsEncodersSimulateNextCredentialEncodeWillSucceedBody = RouteRequestBody<'/acs/encoders/simulate/next_credential_encode_will_succeed'>;
481
- type AcsEncodersSimulateNextCredentialEncodeWillSucceedResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/simulate/next_credential_encode_will_succeed'>>>;
482
- type AcsEncodersSimulateNextCredentialEncodeWillSucceedOptions = never;
483
- type AcsEncodersSimulateNextCredentialScanWillFailBody = RouteRequestBody<'/acs/encoders/simulate/next_credential_scan_will_fail'>;
484
- type AcsEncodersSimulateNextCredentialScanWillFailResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/simulate/next_credential_scan_will_fail'>>>;
485
- type AcsEncodersSimulateNextCredentialScanWillFailOptions = never;
486
- type AcsEncodersSimulateNextCredentialScanWillSucceedBody = RouteRequestBody<'/acs/encoders/simulate/next_credential_scan_will_succeed'>;
487
- type AcsEncodersSimulateNextCredentialScanWillSucceedResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/simulate/next_credential_scan_will_succeed'>>>;
488
- type AcsEncodersSimulateNextCredentialScanWillSucceedOptions = never;
489
-
490
- declare class SeamHttpAcsEncoders {
491
- client: Client;
492
- readonly defaults: Required<SeamHttpRequestOptions>;
493
- constructor(apiKeyOrOptions?: string | SeamHttpOptions);
494
- static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsEncoders;
495
- static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsEncoders;
496
- static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsEncoders;
497
- static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsEncoders>;
498
- static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsEncoders;
499
- static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsEncoders;
500
- updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
501
- get simulate(): SeamHttpAcsEncodersSimulate;
502
- encodeCredential(body?: AcsEncodersEncodeCredentialBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<AcsEncodersEncodeCredentialResponse, 'action_attempt'>;
503
- list(body?: AcsEncodersListParams): SeamHttpRequest<AcsEncodersListResponse, 'acs_encoders'>;
504
- scanCredential(body?: AcsEncodersScanCredentialBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<AcsEncodersScanCredentialResponse, 'action_attempt'>;
505
- }
506
- type AcsEncodersEncodeCredentialBody = RouteRequestBody<'/acs/encoders/encode_credential'>;
507
- type AcsEncodersEncodeCredentialResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/encode_credential'>>>;
508
- type AcsEncodersEncodeCredentialOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
509
- type AcsEncodersListParams = RouteRequestBody<'/acs/encoders/list'>;
510
- type AcsEncodersListResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/list'>>>;
511
- type AcsEncodersListOptions = never;
512
- type AcsEncodersScanCredentialBody = RouteRequestBody<'/acs/encoders/scan_credential'>;
513
- type AcsEncodersScanCredentialResponse = SetNonNullable<Required<RouteResponse<'/acs/encoders/scan_credential'>>>;
514
- type AcsEncodersScanCredentialOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
515
-
516
517
  declare class SeamHttpActionAttempts {
517
518
  client: Client;
518
519
  readonly defaults: Required<SeamHttpRequestOptions>;
@@ -1259,7 +1260,11 @@ declare const isSeamActionAttemptError: <T extends {
1259
1260
  created_at: string;
1260
1261
  } | {
1261
1262
  message: string;
1262
- warning_code: "unknown_issue_with_credential";
1263
+ warning_code: "unknown_issue_with_acs_credential";
1264
+ created_at: string;
1265
+ } | {
1266
+ message: string;
1267
+ warning_code: "needs_to_be_reissued";
1263
1268
  created_at: string;
1264
1269
  })[];
1265
1270
  display_name: string;
@@ -1281,8 +1286,15 @@ declare const isSeamActionAttemptError: <T extends {
1281
1286
  card_id?: string | undefined;
1282
1287
  credential_id?: string | undefined;
1283
1288
  } | undefined;
1289
+ assa_abloy_vostio_metadata?: {
1290
+ endpoint_id?: string | undefined;
1291
+ override_guest_acs_entrance_ids?: string[] | undefined;
1292
+ key_id?: string | undefined;
1293
+ key_issuing_request_id?: string | undefined;
1294
+ door_names?: string[] | undefined;
1295
+ } | undefined;
1284
1296
  is_one_time_use?: boolean | undefined;
1285
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1297
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
1286
1298
  external_type_display_name?: string | undefined;
1287
1299
  acs_user_id?: string | undefined;
1288
1300
  acs_credential_pool_id?: string | undefined;
@@ -1291,8 +1303,8 @@ declare const isSeamActionAttemptError: <T extends {
1291
1303
  is_issued?: boolean | undefined;
1292
1304
  issued_at?: string | null | undefined;
1293
1305
  is_multi_phone_sync_credential?: boolean | undefined;
1294
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
1295
- latest_desired_state_synced_with_provider_at?: string | undefined;
1306
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
1307
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
1296
1308
  } | {
1297
1309
  created_at: string;
1298
1310
  errors: {
@@ -1317,7 +1329,11 @@ declare const isSeamActionAttemptError: <T extends {
1317
1329
  created_at: string;
1318
1330
  } | {
1319
1331
  message: string;
1320
- warning_code: "unknown_issue_with_credential";
1332
+ warning_code: "unknown_issue_with_acs_credential";
1333
+ created_at: string;
1334
+ } | {
1335
+ message: string;
1336
+ warning_code: "needs_to_be_reissued";
1321
1337
  created_at: string;
1322
1338
  })[];
1323
1339
  display_name: string;
@@ -1339,8 +1355,15 @@ declare const isSeamActionAttemptError: <T extends {
1339
1355
  card_id?: string | undefined;
1340
1356
  credential_id?: string | undefined;
1341
1357
  } | undefined;
1358
+ assa_abloy_vostio_metadata?: {
1359
+ endpoint_id?: string | undefined;
1360
+ override_guest_acs_entrance_ids?: string[] | undefined;
1361
+ key_id?: string | undefined;
1362
+ key_issuing_request_id?: string | undefined;
1363
+ door_names?: string[] | undefined;
1364
+ } | undefined;
1342
1365
  is_one_time_use?: boolean | undefined;
1343
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1366
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
1344
1367
  external_type_display_name?: string | undefined;
1345
1368
  acs_user_id?: string | undefined;
1346
1369
  acs_credential_pool_id?: string | undefined;
@@ -1349,8 +1372,8 @@ declare const isSeamActionAttemptError: <T extends {
1349
1372
  is_issued?: boolean | undefined;
1350
1373
  issued_at?: string | null | undefined;
1351
1374
  is_multi_phone_sync_credential?: boolean | undefined;
1352
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
1353
- latest_desired_state_synced_with_provider_at?: string | undefined;
1375
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
1376
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
1354
1377
  } | null;
1355
1378
  };
1356
1379
  action_type: "SCAN_CREDENTIAL";
@@ -1403,7 +1426,11 @@ declare const isSeamActionAttemptError: <T extends {
1403
1426
  created_at: string;
1404
1427
  } | {
1405
1428
  message: string;
1406
- warning_code: "unknown_issue_with_credential";
1429
+ warning_code: "unknown_issue_with_acs_credential";
1430
+ created_at: string;
1431
+ } | {
1432
+ message: string;
1433
+ warning_code: "needs_to_be_reissued";
1407
1434
  created_at: string;
1408
1435
  })[];
1409
1436
  display_name: string;
@@ -1425,8 +1452,15 @@ declare const isSeamActionAttemptError: <T extends {
1425
1452
  card_id?: string | undefined;
1426
1453
  credential_id?: string | undefined;
1427
1454
  } | undefined;
1455
+ assa_abloy_vostio_metadata?: {
1456
+ endpoint_id?: string | undefined;
1457
+ override_guest_acs_entrance_ids?: string[] | undefined;
1458
+ key_id?: string | undefined;
1459
+ key_issuing_request_id?: string | undefined;
1460
+ door_names?: string[] | undefined;
1461
+ } | undefined;
1428
1462
  is_one_time_use?: boolean | undefined;
1429
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1463
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
1430
1464
  external_type_display_name?: string | undefined;
1431
1465
  acs_user_id?: string | undefined;
1432
1466
  acs_credential_pool_id?: string | undefined;
@@ -1435,8 +1469,8 @@ declare const isSeamActionAttemptError: <T extends {
1435
1469
  is_issued?: boolean | undefined;
1436
1470
  issued_at?: string | null | undefined;
1437
1471
  is_multi_phone_sync_credential?: boolean | undefined;
1438
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
1439
- latest_desired_state_synced_with_provider_at?: string | undefined;
1472
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
1473
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
1440
1474
  } | {
1441
1475
  created_at: string;
1442
1476
  errors: {
@@ -1461,7 +1495,11 @@ declare const isSeamActionAttemptError: <T extends {
1461
1495
  created_at: string;
1462
1496
  } | {
1463
1497
  message: string;
1464
- warning_code: "unknown_issue_with_credential";
1498
+ warning_code: "unknown_issue_with_acs_credential";
1499
+ created_at: string;
1500
+ } | {
1501
+ message: string;
1502
+ warning_code: "needs_to_be_reissued";
1465
1503
  created_at: string;
1466
1504
  })[];
1467
1505
  display_name: string;
@@ -1483,8 +1521,15 @@ declare const isSeamActionAttemptError: <T extends {
1483
1521
  card_id?: string | undefined;
1484
1522
  credential_id?: string | undefined;
1485
1523
  } | undefined;
1524
+ assa_abloy_vostio_metadata?: {
1525
+ endpoint_id?: string | undefined;
1526
+ override_guest_acs_entrance_ids?: string[] | undefined;
1527
+ key_id?: string | undefined;
1528
+ key_issuing_request_id?: string | undefined;
1529
+ door_names?: string[] | undefined;
1530
+ } | undefined;
1486
1531
  is_one_time_use?: boolean | undefined;
1487
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1532
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
1488
1533
  external_type_display_name?: string | undefined;
1489
1534
  acs_user_id?: string | undefined;
1490
1535
  acs_credential_pool_id?: string | undefined;
@@ -1493,8 +1538,8 @@ declare const isSeamActionAttemptError: <T extends {
1493
1538
  is_issued?: boolean | undefined;
1494
1539
  issued_at?: string | null | undefined;
1495
1540
  is_multi_phone_sync_credential?: boolean | undefined;
1496
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
1497
- latest_desired_state_synced_with_provider_at?: string | undefined;
1541
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
1542
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
1498
1543
  };
1499
1544
  action_type: "ENCODE_CREDENTIAL";
1500
1545
  } | {
@@ -1510,6 +1555,9 @@ declare const isSeamActionAttemptError: <T extends {
1510
1555
  } | {
1511
1556
  type: "incompatible_card_format";
1512
1557
  message: string;
1558
+ } | {
1559
+ type: "credential_cannot_be_reissued";
1560
+ message: string;
1513
1561
  };
1514
1562
  status: "error";
1515
1563
  action_attempt_id: string;
@@ -1861,7 +1909,11 @@ declare const isSeamActionAttemptFailedError: <T extends {
1861
1909
  created_at: string;
1862
1910
  } | {
1863
1911
  message: string;
1864
- warning_code: "unknown_issue_with_credential";
1912
+ warning_code: "unknown_issue_with_acs_credential";
1913
+ created_at: string;
1914
+ } | {
1915
+ message: string;
1916
+ warning_code: "needs_to_be_reissued";
1865
1917
  created_at: string;
1866
1918
  })[];
1867
1919
  display_name: string;
@@ -1883,8 +1935,15 @@ declare const isSeamActionAttemptFailedError: <T extends {
1883
1935
  card_id?: string | undefined;
1884
1936
  credential_id?: string | undefined;
1885
1937
  } | undefined;
1938
+ assa_abloy_vostio_metadata?: {
1939
+ endpoint_id?: string | undefined;
1940
+ override_guest_acs_entrance_ids?: string[] | undefined;
1941
+ key_id?: string | undefined;
1942
+ key_issuing_request_id?: string | undefined;
1943
+ door_names?: string[] | undefined;
1944
+ } | undefined;
1886
1945
  is_one_time_use?: boolean | undefined;
1887
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1946
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
1888
1947
  external_type_display_name?: string | undefined;
1889
1948
  acs_user_id?: string | undefined;
1890
1949
  acs_credential_pool_id?: string | undefined;
@@ -1893,8 +1952,8 @@ declare const isSeamActionAttemptFailedError: <T extends {
1893
1952
  is_issued?: boolean | undefined;
1894
1953
  issued_at?: string | null | undefined;
1895
1954
  is_multi_phone_sync_credential?: boolean | undefined;
1896
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
1897
- latest_desired_state_synced_with_provider_at?: string | undefined;
1955
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
1956
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
1898
1957
  } | {
1899
1958
  created_at: string;
1900
1959
  errors: {
@@ -1919,7 +1978,11 @@ declare const isSeamActionAttemptFailedError: <T extends {
1919
1978
  created_at: string;
1920
1979
  } | {
1921
1980
  message: string;
1922
- warning_code: "unknown_issue_with_credential";
1981
+ warning_code: "unknown_issue_with_acs_credential";
1982
+ created_at: string;
1983
+ } | {
1984
+ message: string;
1985
+ warning_code: "needs_to_be_reissued";
1923
1986
  created_at: string;
1924
1987
  })[];
1925
1988
  display_name: string;
@@ -1941,8 +2004,15 @@ declare const isSeamActionAttemptFailedError: <T extends {
1941
2004
  card_id?: string | undefined;
1942
2005
  credential_id?: string | undefined;
1943
2006
  } | undefined;
2007
+ assa_abloy_vostio_metadata?: {
2008
+ endpoint_id?: string | undefined;
2009
+ override_guest_acs_entrance_ids?: string[] | undefined;
2010
+ key_id?: string | undefined;
2011
+ key_issuing_request_id?: string | undefined;
2012
+ door_names?: string[] | undefined;
2013
+ } | undefined;
1944
2014
  is_one_time_use?: boolean | undefined;
1945
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2015
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
1946
2016
  external_type_display_name?: string | undefined;
1947
2017
  acs_user_id?: string | undefined;
1948
2018
  acs_credential_pool_id?: string | undefined;
@@ -1951,8 +2021,8 @@ declare const isSeamActionAttemptFailedError: <T extends {
1951
2021
  is_issued?: boolean | undefined;
1952
2022
  issued_at?: string | null | undefined;
1953
2023
  is_multi_phone_sync_credential?: boolean | undefined;
1954
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
1955
- latest_desired_state_synced_with_provider_at?: string | undefined;
2024
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
2025
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
1956
2026
  } | null;
1957
2027
  };
1958
2028
  action_type: "SCAN_CREDENTIAL";
@@ -2005,7 +2075,11 @@ declare const isSeamActionAttemptFailedError: <T extends {
2005
2075
  created_at: string;
2006
2076
  } | {
2007
2077
  message: string;
2008
- warning_code: "unknown_issue_with_credential";
2078
+ warning_code: "unknown_issue_with_acs_credential";
2079
+ created_at: string;
2080
+ } | {
2081
+ message: string;
2082
+ warning_code: "needs_to_be_reissued";
2009
2083
  created_at: string;
2010
2084
  })[];
2011
2085
  display_name: string;
@@ -2027,8 +2101,15 @@ declare const isSeamActionAttemptFailedError: <T extends {
2027
2101
  card_id?: string | undefined;
2028
2102
  credential_id?: string | undefined;
2029
2103
  } | undefined;
2104
+ assa_abloy_vostio_metadata?: {
2105
+ endpoint_id?: string | undefined;
2106
+ override_guest_acs_entrance_ids?: string[] | undefined;
2107
+ key_id?: string | undefined;
2108
+ key_issuing_request_id?: string | undefined;
2109
+ door_names?: string[] | undefined;
2110
+ } | undefined;
2030
2111
  is_one_time_use?: boolean | undefined;
2031
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2112
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
2032
2113
  external_type_display_name?: string | undefined;
2033
2114
  acs_user_id?: string | undefined;
2034
2115
  acs_credential_pool_id?: string | undefined;
@@ -2037,8 +2118,8 @@ declare const isSeamActionAttemptFailedError: <T extends {
2037
2118
  is_issued?: boolean | undefined;
2038
2119
  issued_at?: string | null | undefined;
2039
2120
  is_multi_phone_sync_credential?: boolean | undefined;
2040
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
2041
- latest_desired_state_synced_with_provider_at?: string | undefined;
2121
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
2122
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
2042
2123
  } | {
2043
2124
  created_at: string;
2044
2125
  errors: {
@@ -2063,7 +2144,11 @@ declare const isSeamActionAttemptFailedError: <T extends {
2063
2144
  created_at: string;
2064
2145
  } | {
2065
2146
  message: string;
2066
- warning_code: "unknown_issue_with_credential";
2147
+ warning_code: "unknown_issue_with_acs_credential";
2148
+ created_at: string;
2149
+ } | {
2150
+ message: string;
2151
+ warning_code: "needs_to_be_reissued";
2067
2152
  created_at: string;
2068
2153
  })[];
2069
2154
  display_name: string;
@@ -2085,8 +2170,15 @@ declare const isSeamActionAttemptFailedError: <T extends {
2085
2170
  card_id?: string | undefined;
2086
2171
  credential_id?: string | undefined;
2087
2172
  } | undefined;
2173
+ assa_abloy_vostio_metadata?: {
2174
+ endpoint_id?: string | undefined;
2175
+ override_guest_acs_entrance_ids?: string[] | undefined;
2176
+ key_id?: string | undefined;
2177
+ key_issuing_request_id?: string | undefined;
2178
+ door_names?: string[] | undefined;
2179
+ } | undefined;
2088
2180
  is_one_time_use?: boolean | undefined;
2089
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2181
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
2090
2182
  external_type_display_name?: string | undefined;
2091
2183
  acs_user_id?: string | undefined;
2092
2184
  acs_credential_pool_id?: string | undefined;
@@ -2095,8 +2187,8 @@ declare const isSeamActionAttemptFailedError: <T extends {
2095
2187
  is_issued?: boolean | undefined;
2096
2188
  issued_at?: string | null | undefined;
2097
2189
  is_multi_phone_sync_credential?: boolean | undefined;
2098
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
2099
- latest_desired_state_synced_with_provider_at?: string | undefined;
2190
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
2191
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
2100
2192
  };
2101
2193
  action_type: "ENCODE_CREDENTIAL";
2102
2194
  } | {
@@ -2112,6 +2204,9 @@ declare const isSeamActionAttemptFailedError: <T extends {
2112
2204
  } | {
2113
2205
  type: "incompatible_card_format";
2114
2206
  message: string;
2207
+ } | {
2208
+ type: "credential_cannot_be_reissued";
2209
+ message: string;
2115
2210
  };
2116
2211
  status: "error";
2117
2212
  action_attempt_id: string;
@@ -2463,7 +2558,11 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2463
2558
  created_at: string;
2464
2559
  } | {
2465
2560
  message: string;
2466
- warning_code: "unknown_issue_with_credential";
2561
+ warning_code: "unknown_issue_with_acs_credential";
2562
+ created_at: string;
2563
+ } | {
2564
+ message: string;
2565
+ warning_code: "needs_to_be_reissued";
2467
2566
  created_at: string;
2468
2567
  })[];
2469
2568
  display_name: string;
@@ -2485,8 +2584,15 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2485
2584
  card_id?: string | undefined;
2486
2585
  credential_id?: string | undefined;
2487
2586
  } | undefined;
2587
+ assa_abloy_vostio_metadata?: {
2588
+ endpoint_id?: string | undefined;
2589
+ override_guest_acs_entrance_ids?: string[] | undefined;
2590
+ key_id?: string | undefined;
2591
+ key_issuing_request_id?: string | undefined;
2592
+ door_names?: string[] | undefined;
2593
+ } | undefined;
2488
2594
  is_one_time_use?: boolean | undefined;
2489
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2595
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
2490
2596
  external_type_display_name?: string | undefined;
2491
2597
  acs_user_id?: string | undefined;
2492
2598
  acs_credential_pool_id?: string | undefined;
@@ -2495,8 +2601,8 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2495
2601
  is_issued?: boolean | undefined;
2496
2602
  issued_at?: string | null | undefined;
2497
2603
  is_multi_phone_sync_credential?: boolean | undefined;
2498
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
2499
- latest_desired_state_synced_with_provider_at?: string | undefined;
2604
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
2605
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
2500
2606
  } | {
2501
2607
  created_at: string;
2502
2608
  errors: {
@@ -2521,7 +2627,11 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2521
2627
  created_at: string;
2522
2628
  } | {
2523
2629
  message: string;
2524
- warning_code: "unknown_issue_with_credential";
2630
+ warning_code: "unknown_issue_with_acs_credential";
2631
+ created_at: string;
2632
+ } | {
2633
+ message: string;
2634
+ warning_code: "needs_to_be_reissued";
2525
2635
  created_at: string;
2526
2636
  })[];
2527
2637
  display_name: string;
@@ -2543,8 +2653,15 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2543
2653
  card_id?: string | undefined;
2544
2654
  credential_id?: string | undefined;
2545
2655
  } | undefined;
2656
+ assa_abloy_vostio_metadata?: {
2657
+ endpoint_id?: string | undefined;
2658
+ override_guest_acs_entrance_ids?: string[] | undefined;
2659
+ key_id?: string | undefined;
2660
+ key_issuing_request_id?: string | undefined;
2661
+ door_names?: string[] | undefined;
2662
+ } | undefined;
2546
2663
  is_one_time_use?: boolean | undefined;
2547
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2664
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
2548
2665
  external_type_display_name?: string | undefined;
2549
2666
  acs_user_id?: string | undefined;
2550
2667
  acs_credential_pool_id?: string | undefined;
@@ -2553,8 +2670,8 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2553
2670
  is_issued?: boolean | undefined;
2554
2671
  issued_at?: string | null | undefined;
2555
2672
  is_multi_phone_sync_credential?: boolean | undefined;
2556
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
2557
- latest_desired_state_synced_with_provider_at?: string | undefined;
2673
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
2674
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
2558
2675
  } | null;
2559
2676
  };
2560
2677
  action_type: "SCAN_CREDENTIAL";
@@ -2607,7 +2724,11 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2607
2724
  created_at: string;
2608
2725
  } | {
2609
2726
  message: string;
2610
- warning_code: "unknown_issue_with_credential";
2727
+ warning_code: "unknown_issue_with_acs_credential";
2728
+ created_at: string;
2729
+ } | {
2730
+ message: string;
2731
+ warning_code: "needs_to_be_reissued";
2611
2732
  created_at: string;
2612
2733
  })[];
2613
2734
  display_name: string;
@@ -2629,8 +2750,15 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2629
2750
  card_id?: string | undefined;
2630
2751
  credential_id?: string | undefined;
2631
2752
  } | undefined;
2753
+ assa_abloy_vostio_metadata?: {
2754
+ endpoint_id?: string | undefined;
2755
+ override_guest_acs_entrance_ids?: string[] | undefined;
2756
+ key_id?: string | undefined;
2757
+ key_issuing_request_id?: string | undefined;
2758
+ door_names?: string[] | undefined;
2759
+ } | undefined;
2632
2760
  is_one_time_use?: boolean | undefined;
2633
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2761
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
2634
2762
  external_type_display_name?: string | undefined;
2635
2763
  acs_user_id?: string | undefined;
2636
2764
  acs_credential_pool_id?: string | undefined;
@@ -2639,8 +2767,8 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2639
2767
  is_issued?: boolean | undefined;
2640
2768
  issued_at?: string | null | undefined;
2641
2769
  is_multi_phone_sync_credential?: boolean | undefined;
2642
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
2643
- latest_desired_state_synced_with_provider_at?: string | undefined;
2770
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
2771
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
2644
2772
  } | {
2645
2773
  created_at: string;
2646
2774
  errors: {
@@ -2665,7 +2793,11 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2665
2793
  created_at: string;
2666
2794
  } | {
2667
2795
  message: string;
2668
- warning_code: "unknown_issue_with_credential";
2796
+ warning_code: "unknown_issue_with_acs_credential";
2797
+ created_at: string;
2798
+ } | {
2799
+ message: string;
2800
+ warning_code: "needs_to_be_reissued";
2669
2801
  created_at: string;
2670
2802
  })[];
2671
2803
  display_name: string;
@@ -2687,8 +2819,15 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2687
2819
  card_id?: string | undefined;
2688
2820
  credential_id?: string | undefined;
2689
2821
  } | undefined;
2822
+ assa_abloy_vostio_metadata?: {
2823
+ endpoint_id?: string | undefined;
2824
+ override_guest_acs_entrance_ids?: string[] | undefined;
2825
+ key_id?: string | undefined;
2826
+ key_issuing_request_id?: string | undefined;
2827
+ door_names?: string[] | undefined;
2828
+ } | undefined;
2690
2829
  is_one_time_use?: boolean | undefined;
2691
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2830
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
2692
2831
  external_type_display_name?: string | undefined;
2693
2832
  acs_user_id?: string | undefined;
2694
2833
  acs_credential_pool_id?: string | undefined;
@@ -2697,8 +2836,8 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2697
2836
  is_issued?: boolean | undefined;
2698
2837
  issued_at?: string | null | undefined;
2699
2838
  is_multi_phone_sync_credential?: boolean | undefined;
2700
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
2701
- latest_desired_state_synced_with_provider_at?: string | undefined;
2839
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
2840
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
2702
2841
  };
2703
2842
  action_type: "ENCODE_CREDENTIAL";
2704
2843
  } | {
@@ -2714,6 +2853,9 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
2714
2853
  } | {
2715
2854
  type: "incompatible_card_format";
2716
2855
  message: string;
2856
+ } | {
2857
+ type: "credential_cannot_be_reissued";
2858
+ message: string;
2717
2859
  };
2718
2860
  status: "error";
2719
2861
  action_attempt_id: string;