@seamapi/types 1.360.1 → 1.361.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 (40) hide show
  1. package/dist/connect.cjs +739 -583
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2320 -1622
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +192 -126
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -4
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +193 -127
  8. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  9. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  10. package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
  11. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
  13. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  14. package/lib/seam/connect/models/acs/acs-user.d.ts +4 -4
  15. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +26 -26
  16. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  17. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -18
  18. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +42 -42
  19. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
  20. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
  21. package/lib/seam/connect/models/devices/device.d.ts +1760 -389
  22. package/lib/seam/connect/models/devices/device.js +82 -4
  23. package/lib/seam/connect/models/devices/device.js.map +1 -1
  24. package/lib/seam/connect/models/devices/phone.d.ts +4 -4
  25. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +236 -58
  26. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  27. package/lib/seam/connect/models/events/devices.d.ts +152 -152
  28. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  29. package/lib/seam/connect/models/events/seam-event.d.ts +112 -112
  30. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +8 -8
  31. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  32. package/lib/seam/connect/openapi.d.ts +58 -148
  33. package/lib/seam/connect/openapi.js +563 -463
  34. package/lib/seam/connect/openapi.js.map +1 -1
  35. package/lib/seam/connect/route-types.d.ts +840 -648
  36. package/package.json +1 -1
  37. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +2 -4
  38. package/src/lib/seam/connect/models/devices/device.ts +103 -4
  39. package/src/lib/seam/connect/openapi.ts +562 -478
  40. package/src/lib/seam/connect/route-types.ts +888 -720
@@ -189,6 +189,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
189
189
  }, {
190
190
  is_managed: z.ZodLiteral<true>;
191
191
  }>, "strip", z.ZodTypeAny, {
192
+ display_name: string;
192
193
  created_at: string;
193
194
  errors: {
194
195
  message: string;
@@ -219,7 +220,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
219
220
  created_at: string;
220
221
  warning_code: "needs_to_be_reissued";
221
222
  })[];
222
- display_name: string;
223
223
  workspace_id: string;
224
224
  is_managed: true;
225
225
  acs_system_id: string;
@@ -258,6 +258,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
258
258
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
259
259
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
260
260
  }, {
261
+ display_name: string;
261
262
  created_at: string;
262
263
  errors: {
263
264
  message: string;
@@ -288,7 +289,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
288
289
  created_at: string;
289
290
  warning_code: "needs_to_be_reissued";
290
291
  })[];
291
- display_name: string;
292
292
  workspace_id: string;
293
293
  is_managed: true;
294
294
  acs_system_id: string;
@@ -487,6 +487,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
487
487
  }, {
488
488
  is_managed: z.ZodLiteral<false>;
489
489
  }>, "strip", z.ZodTypeAny, {
490
+ display_name: string;
490
491
  created_at: string;
491
492
  errors: {
492
493
  message: string;
@@ -517,7 +518,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
517
518
  created_at: string;
518
519
  warning_code: "needs_to_be_reissued";
519
520
  })[];
520
- display_name: string;
521
521
  workspace_id: string;
522
522
  is_managed: false;
523
523
  acs_system_id: string;
@@ -556,6 +556,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
556
556
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
557
557
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
558
558
  }, {
559
+ display_name: string;
559
560
  created_at: string;
560
561
  errors: {
561
562
  message: string;
@@ -586,7 +587,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
586
587
  created_at: string;
587
588
  warning_code: "needs_to_be_reissued";
588
589
  })[];
589
- display_name: string;
590
590
  workspace_id: string;
591
591
  is_managed: false;
592
592
  acs_system_id: string;
@@ -630,6 +630,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
630
630
  status: "success";
631
631
  action_attempt_id: string;
632
632
  result: {
633
+ display_name: string;
633
634
  created_at: string;
634
635
  errors: {
635
636
  message: string;
@@ -660,7 +661,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
660
661
  created_at: string;
661
662
  warning_code: "needs_to_be_reissued";
662
663
  })[];
663
- display_name: string;
664
664
  workspace_id: string;
665
665
  is_managed: true;
666
666
  acs_system_id: string;
@@ -699,6 +699,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
699
699
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
700
700
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
701
701
  } | {
702
+ display_name: string;
702
703
  created_at: string;
703
704
  errors: {
704
705
  message: string;
@@ -729,7 +730,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
729
730
  created_at: string;
730
731
  warning_code: "needs_to_be_reissued";
731
732
  })[];
732
- display_name: string;
733
733
  workspace_id: string;
734
734
  is_managed: false;
735
735
  acs_system_id: string;
@@ -774,6 +774,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
774
774
  status: "success";
775
775
  action_attempt_id: string;
776
776
  result: {
777
+ display_name: string;
777
778
  created_at: string;
778
779
  errors: {
779
780
  message: string;
@@ -804,7 +805,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
804
805
  created_at: string;
805
806
  warning_code: "needs_to_be_reissued";
806
807
  })[];
807
- display_name: string;
808
808
  workspace_id: string;
809
809
  is_managed: true;
810
810
  acs_system_id: string;
@@ -843,6 +843,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
843
843
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
844
844
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
845
845
  } | {
846
+ display_name: string;
846
847
  created_at: string;
847
848
  errors: {
848
849
  message: string;
@@ -873,7 +874,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
873
874
  created_at: string;
874
875
  warning_code: "needs_to_be_reissued";
875
876
  })[];
876
- display_name: string;
877
877
  workspace_id: string;
878
878
  is_managed: false;
879
879
  acs_system_id: string;
@@ -76,9 +76,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
76
76
  card_holder?: string | undefined;
77
77
  }>>;
78
78
  }, "strip", z.ZodTypeAny, {
79
- created_at: string | null;
80
79
  starts_at: string | null;
81
80
  ends_at: string | null;
81
+ created_at: string | null;
82
82
  card_number: string | null;
83
83
  is_issued: boolean | null;
84
84
  visionline_metadata?: {
@@ -96,9 +96,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
96
96
  card_holder?: string | undefined;
97
97
  } | undefined;
98
98
  }, {
99
- created_at: string | null;
100
99
  starts_at: string | null;
101
100
  ends_at: string | null;
101
+ created_at: string | null;
102
102
  card_number: string | null;
103
103
  is_issued: boolean | null;
104
104
  visionline_metadata?: {
@@ -277,6 +277,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
277
277
  }, {
278
278
  is_managed: z.ZodLiteral<true>;
279
279
  }>, "strip", z.ZodTypeAny, {
280
+ display_name: string;
280
281
  created_at: string;
281
282
  errors: {
282
283
  message: string;
@@ -307,7 +308,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
307
308
  created_at: string;
308
309
  warning_code: "needs_to_be_reissued";
309
310
  })[];
310
- display_name: string;
311
311
  workspace_id: string;
312
312
  is_managed: true;
313
313
  acs_system_id: string;
@@ -346,6 +346,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
346
346
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
347
347
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
348
348
  }, {
349
+ display_name: string;
349
350
  created_at: string;
350
351
  errors: {
351
352
  message: string;
@@ -376,7 +377,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
376
377
  created_at: string;
377
378
  warning_code: "needs_to_be_reissued";
378
379
  })[];
379
- display_name: string;
380
380
  workspace_id: string;
381
381
  is_managed: true;
382
382
  acs_system_id: string;
@@ -575,6 +575,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
575
575
  }, {
576
576
  is_managed: z.ZodLiteral<false>;
577
577
  }>, "strip", z.ZodTypeAny, {
578
+ display_name: string;
578
579
  created_at: string;
579
580
  errors: {
580
581
  message: string;
@@ -605,7 +606,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
605
606
  created_at: string;
606
607
  warning_code: "needs_to_be_reissued";
607
608
  })[];
608
- display_name: string;
609
609
  workspace_id: string;
610
610
  is_managed: false;
611
611
  acs_system_id: string;
@@ -644,6 +644,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
644
644
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
645
645
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
646
646
  }, {
647
+ display_name: string;
647
648
  created_at: string;
648
649
  errors: {
649
650
  message: string;
@@ -674,7 +675,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
674
675
  created_at: string;
675
676
  warning_code: "needs_to_be_reissued";
676
677
  })[];
677
- display_name: string;
678
678
  workspace_id: string;
679
679
  is_managed: false;
680
680
  acs_system_id: string;
@@ -729,9 +729,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
729
729
  warning_message: string;
730
730
  }[];
731
731
  acs_credential_on_encoder: {
732
- created_at: string | null;
733
732
  starts_at: string | null;
734
733
  ends_at: string | null;
734
+ created_at: string | null;
735
735
  card_number: string | null;
736
736
  is_issued: boolean | null;
737
737
  visionline_metadata?: {
@@ -750,6 +750,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
750
750
  } | undefined;
751
751
  } | null;
752
752
  acs_credential_on_seam: {
753
+ display_name: string;
753
754
  created_at: string;
754
755
  errors: {
755
756
  message: string;
@@ -780,7 +781,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
780
781
  created_at: string;
781
782
  warning_code: "needs_to_be_reissued";
782
783
  })[];
783
- display_name: string;
784
784
  workspace_id: string;
785
785
  is_managed: true;
786
786
  acs_system_id: string;
@@ -819,6 +819,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
819
819
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
820
820
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
821
821
  } | {
822
+ display_name: string;
822
823
  created_at: string;
823
824
  errors: {
824
825
  message: string;
@@ -849,7 +850,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
849
850
  created_at: string;
850
851
  warning_code: "needs_to_be_reissued";
851
852
  })[];
852
- display_name: string;
853
853
  workspace_id: string;
854
854
  is_managed: false;
855
855
  acs_system_id: string;
@@ -894,9 +894,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
894
894
  warning_message: string;
895
895
  }[];
896
896
  acs_credential_on_encoder: {
897
- created_at: string | null;
898
897
  starts_at: string | null;
899
898
  ends_at: string | null;
899
+ created_at: string | null;
900
900
  card_number: string | null;
901
901
  is_issued: boolean | null;
902
902
  visionline_metadata?: {
@@ -915,6 +915,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
915
915
  } | undefined;
916
916
  } | null;
917
917
  acs_credential_on_seam: {
918
+ display_name: string;
918
919
  created_at: string;
919
920
  errors: {
920
921
  message: string;
@@ -945,7 +946,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
945
946
  created_at: string;
946
947
  warning_code: "needs_to_be_reissued";
947
948
  })[];
948
- display_name: string;
949
949
  workspace_id: string;
950
950
  is_managed: true;
951
951
  acs_system_id: string;
@@ -984,6 +984,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
984
984
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
985
985
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
986
986
  } | {
987
+ display_name: string;
987
988
  created_at: string;
988
989
  errors: {
989
990
  message: string;
@@ -1014,7 +1015,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1014
1015
  created_at: string;
1015
1016
  warning_code: "needs_to_be_reissued";
1016
1017
  })[];
1017
- display_name: string;
1018
1018
  workspace_id: string;
1019
1019
  is_managed: false;
1020
1020
  acs_system_id: string;
@@ -1064,9 +1064,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1064
1064
  warning_message: string;
1065
1065
  }[];
1066
1066
  acs_credential_on_encoder: {
1067
- created_at: string | null;
1068
1067
  starts_at: string | null;
1069
1068
  ends_at: string | null;
1069
+ created_at: string | null;
1070
1070
  card_number: string | null;
1071
1071
  is_issued: boolean | null;
1072
1072
  visionline_metadata?: {
@@ -1085,6 +1085,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1085
1085
  } | undefined;
1086
1086
  } | null;
1087
1087
  acs_credential_on_seam: {
1088
+ display_name: string;
1088
1089
  created_at: string;
1089
1090
  errors: {
1090
1091
  message: string;
@@ -1115,7 +1116,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1115
1116
  created_at: string;
1116
1117
  warning_code: "needs_to_be_reissued";
1117
1118
  })[];
1118
- display_name: string;
1119
1119
  workspace_id: string;
1120
1120
  is_managed: true;
1121
1121
  acs_system_id: string;
@@ -1154,6 +1154,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1154
1154
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
1155
1155
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
1156
1156
  } | {
1157
+ display_name: string;
1157
1158
  created_at: string;
1158
1159
  errors: {
1159
1160
  message: string;
@@ -1184,7 +1185,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1184
1185
  created_at: string;
1185
1186
  warning_code: "needs_to_be_reissued";
1186
1187
  })[];
1187
- display_name: string;
1188
1188
  workspace_id: string;
1189
1189
  is_managed: false;
1190
1190
  acs_system_id: string;
@@ -1235,9 +1235,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1235
1235
  warning_message: string;
1236
1236
  }[];
1237
1237
  acs_credential_on_encoder: {
1238
- created_at: string | null;
1239
1238
  starts_at: string | null;
1240
1239
  ends_at: string | null;
1240
+ created_at: string | null;
1241
1241
  card_number: string | null;
1242
1242
  is_issued: boolean | null;
1243
1243
  visionline_metadata?: {
@@ -1256,6 +1256,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1256
1256
  } | undefined;
1257
1257
  } | null;
1258
1258
  acs_credential_on_seam: {
1259
+ display_name: string;
1259
1260
  created_at: string;
1260
1261
  errors: {
1261
1262
  message: string;
@@ -1286,7 +1287,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1286
1287
  created_at: string;
1287
1288
  warning_code: "needs_to_be_reissued";
1288
1289
  })[];
1289
- display_name: string;
1290
1290
  workspace_id: string;
1291
1291
  is_managed: true;
1292
1292
  acs_system_id: string;
@@ -1325,6 +1325,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1325
1325
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
1326
1326
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
1327
1327
  } | {
1328
+ display_name: string;
1328
1329
  created_at: string;
1329
1330
  errors: {
1330
1331
  message: string;
@@ -1355,7 +1356,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1355
1356
  created_at: string;
1356
1357
  warning_code: "needs_to_be_reissued";
1357
1358
  })[];
1358
- display_name: string;
1359
1359
  workspace_id: string;
1360
1360
  is_managed: false;
1361
1361
  acs_system_id: string;