@seamapi/types 1.424.0 → 1.425.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.
Files changed (29) hide show
  1. package/dist/connect.cjs +197 -10
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +582 -6
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -0
  8. package/lib/seam/connect/models/acs/acs-credential.js +4 -0
  9. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-entrance.d.ts +25 -2
  11. package/lib/seam/connect/models/acs/acs-entrance.js +18 -2
  12. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  13. package/lib/seam/connect/models/acs/acs-system.js +4 -1
  14. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  15. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -0
  16. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -0
  17. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -0
  18. package/lib/seam/connect/models/phones/phone-session.d.ts +66 -4
  19. package/lib/seam/connect/openapi.d.ts +254 -4
  20. package/lib/seam/connect/openapi.js +178 -8
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +286 -0
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  25. package/src/lib/seam/connect/models/acs/acs-credential.ts +6 -0
  26. package/src/lib/seam/connect/models/acs/acs-entrance.ts +93 -70
  27. package/src/lib/seam/connect/models/acs/acs-system.ts +4 -1
  28. package/src/lib/seam/connect/openapi.ts +203 -8
  29. package/src/lib/seam/connect/route-types.ts +286 -0
@@ -19,6 +19,7 @@ declare const phone_provider_session: z.ZodObject<{
19
19
  acs_credentials: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
20
20
  acs_credential_id: z.ZodString;
21
21
  acs_user_id: z.ZodOptional<z.ZodString>;
22
+ connected_account_id: z.ZodString;
22
23
  acs_credential_pool_id: z.ZodOptional<z.ZodString>;
23
24
  acs_system_id: z.ZodString;
24
25
  parent_acs_credential_id: z.ZodOptional<z.ZodString>;
@@ -181,7 +182,7 @@ declare const phone_provider_session: z.ZodObject<{
181
182
  is_managed: z.ZodLiteral<true>;
182
183
  }>, "acs_credential_id">, {
183
184
  acs_credential_id: z.ZodNullable<z.ZodString>;
184
- acs_entrances: z.ZodArray<z.ZodObject<{
185
+ acs_entrances: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
185
186
  acs_system_id: z.ZodString;
186
187
  acs_entrance_id: z.ZodString;
187
188
  created_at: z.ZodString;
@@ -308,7 +309,11 @@ declare const phone_provider_session: z.ZodObject<{
308
309
  ext_door_id: string;
309
310
  door_description?: string | undefined;
310
311
  }>>;
311
- }, "strip", z.ZodTypeAny, {
312
+ }, {
313
+ can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
314
+ can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
315
+ can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
316
+ }>, "strip", z.ZodTypeAny, {
312
317
  display_name: string;
313
318
  created_at: string;
314
319
  errors: {
@@ -343,6 +348,9 @@ declare const phone_provider_session: z.ZodObject<{
343
348
  stand_open?: boolean | undefined;
344
349
  pms_id?: string | undefined;
345
350
  } | undefined;
351
+ can_unlock_with_mobile_key?: boolean | undefined;
352
+ can_unlock_with_card?: boolean | undefined;
353
+ can_unlock_with_code?: boolean | undefined;
346
354
  latch_metadata?: {
347
355
  door_name: string;
348
356
  is_connected: boolean;
@@ -392,6 +400,9 @@ declare const phone_provider_session: z.ZodObject<{
392
400
  stand_open?: boolean | undefined;
393
401
  pms_id?: string | undefined;
394
402
  } | undefined;
403
+ can_unlock_with_mobile_key?: boolean | undefined;
404
+ can_unlock_with_card?: boolean | undefined;
405
+ can_unlock_with_code?: boolean | undefined;
395
406
  latch_metadata?: {
396
407
  door_name: string;
397
408
  is_connected: boolean;
@@ -415,6 +426,7 @@ declare const phone_provider_session: z.ZodObject<{
415
426
  message: string;
416
427
  error_code: string;
417
428
  }[];
429
+ connected_account_id: string;
418
430
  warnings: ({
419
431
  message: string;
420
432
  created_at: string;
@@ -479,6 +491,9 @@ declare const phone_provider_session: z.ZodObject<{
479
491
  stand_open?: boolean | undefined;
480
492
  pms_id?: string | undefined;
481
493
  } | undefined;
494
+ can_unlock_with_mobile_key?: boolean | undefined;
495
+ can_unlock_with_card?: boolean | undefined;
496
+ can_unlock_with_code?: boolean | undefined;
482
497
  latch_metadata?: {
483
498
  door_name: string;
484
499
  is_connected: boolean;
@@ -535,6 +550,7 @@ declare const phone_provider_session: z.ZodObject<{
535
550
  message: string;
536
551
  error_code: string;
537
552
  }[];
553
+ connected_account_id: string;
538
554
  warnings: ({
539
555
  message: string;
540
556
  created_at: string;
@@ -599,6 +615,9 @@ declare const phone_provider_session: z.ZodObject<{
599
615
  stand_open?: boolean | undefined;
600
616
  pms_id?: string | undefined;
601
617
  } | undefined;
618
+ can_unlock_with_mobile_key?: boolean | undefined;
619
+ can_unlock_with_card?: boolean | undefined;
620
+ can_unlock_with_code?: boolean | undefined;
602
621
  latch_metadata?: {
603
622
  door_name: string;
604
623
  is_connected: boolean;
@@ -663,6 +682,7 @@ declare const phone_provider_session: z.ZodObject<{
663
682
  message: string;
664
683
  error_code: string;
665
684
  }[];
685
+ connected_account_id: string;
666
686
  warnings: ({
667
687
  message: string;
668
688
  created_at: string;
@@ -727,6 +747,9 @@ declare const phone_provider_session: z.ZodObject<{
727
747
  stand_open?: boolean | undefined;
728
748
  pms_id?: string | undefined;
729
749
  } | undefined;
750
+ can_unlock_with_mobile_key?: boolean | undefined;
751
+ can_unlock_with_card?: boolean | undefined;
752
+ can_unlock_with_code?: boolean | undefined;
730
753
  latch_metadata?: {
731
754
  door_name: string;
732
755
  is_connected: boolean;
@@ -791,6 +814,7 @@ declare const phone_provider_session: z.ZodObject<{
791
814
  message: string;
792
815
  error_code: string;
793
816
  }[];
817
+ connected_account_id: string;
794
818
  warnings: ({
795
819
  message: string;
796
820
  created_at: string;
@@ -855,6 +879,9 @@ declare const phone_provider_session: z.ZodObject<{
855
879
  stand_open?: boolean | undefined;
856
880
  pms_id?: string | undefined;
857
881
  } | undefined;
882
+ can_unlock_with_mobile_key?: boolean | undefined;
883
+ can_unlock_with_card?: boolean | undefined;
884
+ can_unlock_with_code?: boolean | undefined;
858
885
  latch_metadata?: {
859
886
  door_name: string;
860
887
  is_connected: boolean;
@@ -926,6 +953,7 @@ export declare const phone_session: z.ZodObject<{
926
953
  acs_credentials: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
927
954
  acs_credential_id: z.ZodString;
928
955
  acs_user_id: z.ZodOptional<z.ZodString>;
956
+ connected_account_id: z.ZodString;
929
957
  acs_credential_pool_id: z.ZodOptional<z.ZodString>;
930
958
  acs_system_id: z.ZodString;
931
959
  parent_acs_credential_id: z.ZodOptional<z.ZodString>;
@@ -1088,7 +1116,7 @@ export declare const phone_session: z.ZodObject<{
1088
1116
  is_managed: z.ZodLiteral<true>;
1089
1117
  }>, "acs_credential_id">, {
1090
1118
  acs_credential_id: z.ZodNullable<z.ZodString>;
1091
- acs_entrances: z.ZodArray<z.ZodObject<{
1119
+ acs_entrances: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1092
1120
  acs_system_id: z.ZodString;
1093
1121
  acs_entrance_id: z.ZodString;
1094
1122
  created_at: z.ZodString;
@@ -1215,7 +1243,11 @@ export declare const phone_session: z.ZodObject<{
1215
1243
  ext_door_id: string;
1216
1244
  door_description?: string | undefined;
1217
1245
  }>>;
1218
- }, "strip", z.ZodTypeAny, {
1246
+ }, {
1247
+ can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
1248
+ can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
1249
+ can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
1250
+ }>, "strip", z.ZodTypeAny, {
1219
1251
  display_name: string;
1220
1252
  created_at: string;
1221
1253
  errors: {
@@ -1250,6 +1282,9 @@ export declare const phone_session: z.ZodObject<{
1250
1282
  stand_open?: boolean | undefined;
1251
1283
  pms_id?: string | undefined;
1252
1284
  } | undefined;
1285
+ can_unlock_with_mobile_key?: boolean | undefined;
1286
+ can_unlock_with_card?: boolean | undefined;
1287
+ can_unlock_with_code?: boolean | undefined;
1253
1288
  latch_metadata?: {
1254
1289
  door_name: string;
1255
1290
  is_connected: boolean;
@@ -1299,6 +1334,9 @@ export declare const phone_session: z.ZodObject<{
1299
1334
  stand_open?: boolean | undefined;
1300
1335
  pms_id?: string | undefined;
1301
1336
  } | undefined;
1337
+ can_unlock_with_mobile_key?: boolean | undefined;
1338
+ can_unlock_with_card?: boolean | undefined;
1339
+ can_unlock_with_code?: boolean | undefined;
1302
1340
  latch_metadata?: {
1303
1341
  door_name: string;
1304
1342
  is_connected: boolean;
@@ -1322,6 +1360,7 @@ export declare const phone_session: z.ZodObject<{
1322
1360
  message: string;
1323
1361
  error_code: string;
1324
1362
  }[];
1363
+ connected_account_id: string;
1325
1364
  warnings: ({
1326
1365
  message: string;
1327
1366
  created_at: string;
@@ -1386,6 +1425,9 @@ export declare const phone_session: z.ZodObject<{
1386
1425
  stand_open?: boolean | undefined;
1387
1426
  pms_id?: string | undefined;
1388
1427
  } | undefined;
1428
+ can_unlock_with_mobile_key?: boolean | undefined;
1429
+ can_unlock_with_card?: boolean | undefined;
1430
+ can_unlock_with_code?: boolean | undefined;
1389
1431
  latch_metadata?: {
1390
1432
  door_name: string;
1391
1433
  is_connected: boolean;
@@ -1442,6 +1484,7 @@ export declare const phone_session: z.ZodObject<{
1442
1484
  message: string;
1443
1485
  error_code: string;
1444
1486
  }[];
1487
+ connected_account_id: string;
1445
1488
  warnings: ({
1446
1489
  message: string;
1447
1490
  created_at: string;
@@ -1506,6 +1549,9 @@ export declare const phone_session: z.ZodObject<{
1506
1549
  stand_open?: boolean | undefined;
1507
1550
  pms_id?: string | undefined;
1508
1551
  } | undefined;
1552
+ can_unlock_with_mobile_key?: boolean | undefined;
1553
+ can_unlock_with_card?: boolean | undefined;
1554
+ can_unlock_with_code?: boolean | undefined;
1509
1555
  latch_metadata?: {
1510
1556
  door_name: string;
1511
1557
  is_connected: boolean;
@@ -1570,6 +1616,7 @@ export declare const phone_session: z.ZodObject<{
1570
1616
  message: string;
1571
1617
  error_code: string;
1572
1618
  }[];
1619
+ connected_account_id: string;
1573
1620
  warnings: ({
1574
1621
  message: string;
1575
1622
  created_at: string;
@@ -1634,6 +1681,9 @@ export declare const phone_session: z.ZodObject<{
1634
1681
  stand_open?: boolean | undefined;
1635
1682
  pms_id?: string | undefined;
1636
1683
  } | undefined;
1684
+ can_unlock_with_mobile_key?: boolean | undefined;
1685
+ can_unlock_with_card?: boolean | undefined;
1686
+ can_unlock_with_code?: boolean | undefined;
1637
1687
  latch_metadata?: {
1638
1688
  door_name: string;
1639
1689
  is_connected: boolean;
@@ -1698,6 +1748,7 @@ export declare const phone_session: z.ZodObject<{
1698
1748
  message: string;
1699
1749
  error_code: string;
1700
1750
  }[];
1751
+ connected_account_id: string;
1701
1752
  warnings: ({
1702
1753
  message: string;
1703
1754
  created_at: string;
@@ -1762,6 +1813,9 @@ export declare const phone_session: z.ZodObject<{
1762
1813
  stand_open?: boolean | undefined;
1763
1814
  pms_id?: string | undefined;
1764
1815
  } | undefined;
1816
+ can_unlock_with_mobile_key?: boolean | undefined;
1817
+ can_unlock_with_card?: boolean | undefined;
1818
+ can_unlock_with_code?: boolean | undefined;
1765
1819
  latch_metadata?: {
1766
1820
  door_name: string;
1767
1821
  is_connected: boolean;
@@ -1828,6 +1882,7 @@ export declare const phone_session: z.ZodObject<{
1828
1882
  message: string;
1829
1883
  error_code: string;
1830
1884
  }[];
1885
+ connected_account_id: string;
1831
1886
  warnings: ({
1832
1887
  message: string;
1833
1888
  created_at: string;
@@ -1892,6 +1947,9 @@ export declare const phone_session: z.ZodObject<{
1892
1947
  stand_open?: boolean | undefined;
1893
1948
  pms_id?: string | undefined;
1894
1949
  } | undefined;
1950
+ can_unlock_with_mobile_key?: boolean | undefined;
1951
+ can_unlock_with_card?: boolean | undefined;
1952
+ can_unlock_with_code?: boolean | undefined;
1895
1953
  latch_metadata?: {
1896
1954
  door_name: string;
1897
1955
  is_connected: boolean;
@@ -1958,6 +2016,7 @@ export declare const phone_session: z.ZodObject<{
1958
2016
  message: string;
1959
2017
  error_code: string;
1960
2018
  }[];
2019
+ connected_account_id: string;
1961
2020
  warnings: ({
1962
2021
  message: string;
1963
2022
  created_at: string;
@@ -2022,6 +2081,9 @@ export declare const phone_session: z.ZodObject<{
2022
2081
  stand_open?: boolean | undefined;
2023
2082
  pms_id?: string | undefined;
2024
2083
  } | undefined;
2084
+ can_unlock_with_mobile_key?: boolean | undefined;
2085
+ can_unlock_with_card?: boolean | undefined;
2086
+ can_unlock_with_code?: boolean | undefined;
2025
2087
  latch_metadata?: {
2026
2088
  door_name: string;
2027
2089
  is_connected: boolean;