@seamapi/types 1.847.0 → 1.848.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.
- package/dist/connect.cjs +65 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +207 -80
- package/dist/index.cjs +65 -7
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +13 -13
- package/lib/seam/connect/models/acs/acs-access-group.js +1 -0
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +49 -4
- package/lib/seam/connect/models/acs/acs-entrance.js +9 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +57 -28
- package/lib/seam/connect/models/phones/phone-session.d.ts +110 -28
- package/lib/seam/connect/openapi.js +50 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +113 -36
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +1 -0
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +58 -0
- package/src/lib/seam/connect/route-types.ts +212 -88
|
@@ -213,6 +213,19 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
213
213
|
message: string;
|
|
214
214
|
created_at: string;
|
|
215
215
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
216
|
+
}>, z.ZodObject<{
|
|
217
|
+
created_at: z.ZodString;
|
|
218
|
+
message: z.ZodString;
|
|
219
|
+
} & {
|
|
220
|
+
warning_code: z.ZodLiteral<"entrance_shares_zone">;
|
|
221
|
+
}, "strip", z.ZodTypeAny, {
|
|
222
|
+
message: string;
|
|
223
|
+
created_at: string;
|
|
224
|
+
warning_code: "entrance_shares_zone";
|
|
225
|
+
}, {
|
|
226
|
+
message: string;
|
|
227
|
+
created_at: string;
|
|
228
|
+
warning_code: "entrance_shares_zone";
|
|
216
229
|
}>]>, "many">;
|
|
217
230
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
218
231
|
accessibility_type: z.ZodString;
|
|
@@ -406,11 +419,15 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
406
419
|
error_code: string;
|
|
407
420
|
}[];
|
|
408
421
|
connected_account_id: string;
|
|
409
|
-
warnings: {
|
|
422
|
+
warnings: ({
|
|
410
423
|
message: string;
|
|
411
424
|
created_at: string;
|
|
412
425
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
413
|
-
}
|
|
426
|
+
} | {
|
|
427
|
+
message: string;
|
|
428
|
+
created_at: string;
|
|
429
|
+
warning_code: "entrance_shares_zone";
|
|
430
|
+
})[];
|
|
414
431
|
space_ids: string[];
|
|
415
432
|
acs_entrance_id: string;
|
|
416
433
|
acs_system_id: string;
|
|
@@ -491,11 +508,15 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
491
508
|
error_code: string;
|
|
492
509
|
}[];
|
|
493
510
|
connected_account_id: string;
|
|
494
|
-
warnings: {
|
|
511
|
+
warnings: ({
|
|
495
512
|
message: string;
|
|
496
513
|
created_at: string;
|
|
497
514
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
498
|
-
}
|
|
515
|
+
} | {
|
|
516
|
+
message: string;
|
|
517
|
+
created_at: string;
|
|
518
|
+
warning_code: "entrance_shares_zone";
|
|
519
|
+
})[];
|
|
499
520
|
space_ids: string[];
|
|
500
521
|
acs_entrance_id: string;
|
|
501
522
|
acs_system_id: string;
|
|
@@ -615,11 +636,15 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
615
636
|
error_code: string;
|
|
616
637
|
}[];
|
|
617
638
|
connected_account_id: string;
|
|
618
|
-
warnings: {
|
|
639
|
+
warnings: ({
|
|
619
640
|
message: string;
|
|
620
641
|
created_at: string;
|
|
621
642
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
622
|
-
}
|
|
643
|
+
} | {
|
|
644
|
+
message: string;
|
|
645
|
+
created_at: string;
|
|
646
|
+
warning_code: "entrance_shares_zone";
|
|
647
|
+
})[];
|
|
623
648
|
space_ids: string[];
|
|
624
649
|
acs_entrance_id: string;
|
|
625
650
|
acs_system_id: string;
|
|
@@ -773,11 +798,15 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
773
798
|
error_code: string;
|
|
774
799
|
}[];
|
|
775
800
|
connected_account_id: string;
|
|
776
|
-
warnings: {
|
|
801
|
+
warnings: ({
|
|
777
802
|
message: string;
|
|
778
803
|
created_at: string;
|
|
779
804
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
780
|
-
}
|
|
805
|
+
} | {
|
|
806
|
+
message: string;
|
|
807
|
+
created_at: string;
|
|
808
|
+
warning_code: "entrance_shares_zone";
|
|
809
|
+
})[];
|
|
781
810
|
space_ids: string[];
|
|
782
811
|
acs_entrance_id: string;
|
|
783
812
|
acs_system_id: string;
|
|
@@ -933,11 +962,15 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
933
962
|
error_code: string;
|
|
934
963
|
}[];
|
|
935
964
|
connected_account_id: string;
|
|
936
|
-
warnings: {
|
|
965
|
+
warnings: ({
|
|
937
966
|
message: string;
|
|
938
967
|
created_at: string;
|
|
939
968
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
940
|
-
}
|
|
969
|
+
} | {
|
|
970
|
+
message: string;
|
|
971
|
+
created_at: string;
|
|
972
|
+
warning_code: "entrance_shares_zone";
|
|
973
|
+
})[];
|
|
941
974
|
space_ids: string[];
|
|
942
975
|
acs_entrance_id: string;
|
|
943
976
|
acs_system_id: string;
|
|
@@ -1099,11 +1132,15 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1099
1132
|
error_code: string;
|
|
1100
1133
|
}[];
|
|
1101
1134
|
connected_account_id: string;
|
|
1102
|
-
warnings: {
|
|
1135
|
+
warnings: ({
|
|
1103
1136
|
message: string;
|
|
1104
1137
|
created_at: string;
|
|
1105
1138
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1106
|
-
}
|
|
1139
|
+
} | {
|
|
1140
|
+
message: string;
|
|
1141
|
+
created_at: string;
|
|
1142
|
+
warning_code: "entrance_shares_zone";
|
|
1143
|
+
})[];
|
|
1107
1144
|
space_ids: string[];
|
|
1108
1145
|
acs_entrance_id: string;
|
|
1109
1146
|
acs_system_id: string;
|
|
@@ -1434,6 +1471,19 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1434
1471
|
message: string;
|
|
1435
1472
|
created_at: string;
|
|
1436
1473
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1474
|
+
}>, z.ZodObject<{
|
|
1475
|
+
created_at: z.ZodString;
|
|
1476
|
+
message: z.ZodString;
|
|
1477
|
+
} & {
|
|
1478
|
+
warning_code: z.ZodLiteral<"entrance_shares_zone">;
|
|
1479
|
+
}, "strip", z.ZodTypeAny, {
|
|
1480
|
+
message: string;
|
|
1481
|
+
created_at: string;
|
|
1482
|
+
warning_code: "entrance_shares_zone";
|
|
1483
|
+
}, {
|
|
1484
|
+
message: string;
|
|
1485
|
+
created_at: string;
|
|
1486
|
+
warning_code: "entrance_shares_zone";
|
|
1437
1487
|
}>]>, "many">;
|
|
1438
1488
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
1439
1489
|
accessibility_type: z.ZodString;
|
|
@@ -1627,11 +1677,15 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1627
1677
|
error_code: string;
|
|
1628
1678
|
}[];
|
|
1629
1679
|
connected_account_id: string;
|
|
1630
|
-
warnings: {
|
|
1680
|
+
warnings: ({
|
|
1631
1681
|
message: string;
|
|
1632
1682
|
created_at: string;
|
|
1633
1683
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1634
|
-
}
|
|
1684
|
+
} | {
|
|
1685
|
+
message: string;
|
|
1686
|
+
created_at: string;
|
|
1687
|
+
warning_code: "entrance_shares_zone";
|
|
1688
|
+
})[];
|
|
1635
1689
|
space_ids: string[];
|
|
1636
1690
|
acs_entrance_id: string;
|
|
1637
1691
|
acs_system_id: string;
|
|
@@ -1712,11 +1766,15 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1712
1766
|
error_code: string;
|
|
1713
1767
|
}[];
|
|
1714
1768
|
connected_account_id: string;
|
|
1715
|
-
warnings: {
|
|
1769
|
+
warnings: ({
|
|
1716
1770
|
message: string;
|
|
1717
1771
|
created_at: string;
|
|
1718
1772
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1719
|
-
}
|
|
1773
|
+
} | {
|
|
1774
|
+
message: string;
|
|
1775
|
+
created_at: string;
|
|
1776
|
+
warning_code: "entrance_shares_zone";
|
|
1777
|
+
})[];
|
|
1720
1778
|
space_ids: string[];
|
|
1721
1779
|
acs_entrance_id: string;
|
|
1722
1780
|
acs_system_id: string;
|
|
@@ -1836,11 +1894,15 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1836
1894
|
error_code: string;
|
|
1837
1895
|
}[];
|
|
1838
1896
|
connected_account_id: string;
|
|
1839
|
-
warnings: {
|
|
1897
|
+
warnings: ({
|
|
1840
1898
|
message: string;
|
|
1841
1899
|
created_at: string;
|
|
1842
1900
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1843
|
-
}
|
|
1901
|
+
} | {
|
|
1902
|
+
message: string;
|
|
1903
|
+
created_at: string;
|
|
1904
|
+
warning_code: "entrance_shares_zone";
|
|
1905
|
+
})[];
|
|
1844
1906
|
space_ids: string[];
|
|
1845
1907
|
acs_entrance_id: string;
|
|
1846
1908
|
acs_system_id: string;
|
|
@@ -1994,11 +2056,15 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1994
2056
|
error_code: string;
|
|
1995
2057
|
}[];
|
|
1996
2058
|
connected_account_id: string;
|
|
1997
|
-
warnings: {
|
|
2059
|
+
warnings: ({
|
|
1998
2060
|
message: string;
|
|
1999
2061
|
created_at: string;
|
|
2000
2062
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2001
|
-
}
|
|
2063
|
+
} | {
|
|
2064
|
+
message: string;
|
|
2065
|
+
created_at: string;
|
|
2066
|
+
warning_code: "entrance_shares_zone";
|
|
2067
|
+
})[];
|
|
2002
2068
|
space_ids: string[];
|
|
2003
2069
|
acs_entrance_id: string;
|
|
2004
2070
|
acs_system_id: string;
|
|
@@ -2154,11 +2220,15 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2154
2220
|
error_code: string;
|
|
2155
2221
|
}[];
|
|
2156
2222
|
connected_account_id: string;
|
|
2157
|
-
warnings: {
|
|
2223
|
+
warnings: ({
|
|
2158
2224
|
message: string;
|
|
2159
2225
|
created_at: string;
|
|
2160
2226
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2161
|
-
}
|
|
2227
|
+
} | {
|
|
2228
|
+
message: string;
|
|
2229
|
+
created_at: string;
|
|
2230
|
+
warning_code: "entrance_shares_zone";
|
|
2231
|
+
})[];
|
|
2162
2232
|
space_ids: string[];
|
|
2163
2233
|
acs_entrance_id: string;
|
|
2164
2234
|
acs_system_id: string;
|
|
@@ -2320,11 +2390,15 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2320
2390
|
error_code: string;
|
|
2321
2391
|
}[];
|
|
2322
2392
|
connected_account_id: string;
|
|
2323
|
-
warnings: {
|
|
2393
|
+
warnings: ({
|
|
2324
2394
|
message: string;
|
|
2325
2395
|
created_at: string;
|
|
2326
2396
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2327
|
-
}
|
|
2397
|
+
} | {
|
|
2398
|
+
message: string;
|
|
2399
|
+
created_at: string;
|
|
2400
|
+
warning_code: "entrance_shares_zone";
|
|
2401
|
+
})[];
|
|
2328
2402
|
space_ids: string[];
|
|
2329
2403
|
acs_entrance_id: string;
|
|
2330
2404
|
acs_system_id: string;
|
|
@@ -2601,11 +2675,15 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2601
2675
|
error_code: string;
|
|
2602
2676
|
}[];
|
|
2603
2677
|
connected_account_id: string;
|
|
2604
|
-
warnings: {
|
|
2678
|
+
warnings: ({
|
|
2605
2679
|
message: string;
|
|
2606
2680
|
created_at: string;
|
|
2607
2681
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2608
|
-
}
|
|
2682
|
+
} | {
|
|
2683
|
+
message: string;
|
|
2684
|
+
created_at: string;
|
|
2685
|
+
warning_code: "entrance_shares_zone";
|
|
2686
|
+
})[];
|
|
2609
2687
|
space_ids: string[];
|
|
2610
2688
|
acs_entrance_id: string;
|
|
2611
2689
|
acs_system_id: string;
|
|
@@ -2798,11 +2876,15 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2798
2876
|
error_code: string;
|
|
2799
2877
|
}[];
|
|
2800
2878
|
connected_account_id: string;
|
|
2801
|
-
warnings: {
|
|
2879
|
+
warnings: ({
|
|
2802
2880
|
message: string;
|
|
2803
2881
|
created_at: string;
|
|
2804
2882
|
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2805
|
-
}
|
|
2883
|
+
} | {
|
|
2884
|
+
message: string;
|
|
2885
|
+
created_at: string;
|
|
2886
|
+
warning_code: "entrance_shares_zone";
|
|
2887
|
+
})[];
|
|
2806
2888
|
space_ids: string[];
|
|
2807
2889
|
acs_entrance_id: string;
|
|
2808
2890
|
acs_system_id: string;
|
|
@@ -2757,6 +2757,7 @@ const openapi = {
|
|
|
2757
2757
|
'salto_space_group',
|
|
2758
2758
|
'dormakaba_community_access_group',
|
|
2759
2759
|
'dormakaba_ambiance_access_group',
|
|
2760
|
+
'avigilon_alta_group',
|
|
2760
2761
|
],
|
|
2761
2762
|
type: 'string',
|
|
2762
2763
|
'x-deprecated': 'Use `external_type`.',
|
|
@@ -2846,6 +2847,7 @@ const openapi = {
|
|
|
2846
2847
|
'salto_space_group',
|
|
2847
2848
|
'dormakaba_community_access_group',
|
|
2848
2849
|
'dormakaba_ambiance_access_group',
|
|
2850
|
+
'avigilon_alta_group',
|
|
2849
2851
|
],
|
|
2850
2852
|
type: 'string',
|
|
2851
2853
|
},
|
|
@@ -4121,6 +4123,27 @@ const openapi = {
|
|
|
4121
4123
|
required: ['created_at', 'message', 'warning_code'],
|
|
4122
4124
|
type: 'object',
|
|
4123
4125
|
},
|
|
4126
|
+
{
|
|
4127
|
+
description: 'Indicates that this entrance shares a zone with other entrances in Avigilon Alta and cannot be added to an access group individually.',
|
|
4128
|
+
properties: {
|
|
4129
|
+
created_at: {
|
|
4130
|
+
description: 'Date and time at which Seam created the warning.',
|
|
4131
|
+
format: 'date-time',
|
|
4132
|
+
type: 'string',
|
|
4133
|
+
},
|
|
4134
|
+
message: {
|
|
4135
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
4136
|
+
type: 'string',
|
|
4137
|
+
},
|
|
4138
|
+
warning_code: {
|
|
4139
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
4140
|
+
enum: ['entrance_shares_zone'],
|
|
4141
|
+
type: 'string',
|
|
4142
|
+
},
|
|
4143
|
+
},
|
|
4144
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
4145
|
+
type: 'object',
|
|
4146
|
+
},
|
|
4124
4147
|
],
|
|
4125
4148
|
},
|
|
4126
4149
|
type: 'array',
|
|
@@ -22920,6 +22943,31 @@ const openapi = {
|
|
|
22920
22943
|
],
|
|
22921
22944
|
type: 'object',
|
|
22922
22945
|
},
|
|
22946
|
+
{
|
|
22947
|
+
description: 'Indicates that this entrance shares a zone with other entrances in Avigilon Alta and cannot be added to an access group individually.',
|
|
22948
|
+
properties: {
|
|
22949
|
+
created_at: {
|
|
22950
|
+
description: 'Date and time at which Seam created the warning.',
|
|
22951
|
+
format: 'date-time',
|
|
22952
|
+
type: 'string',
|
|
22953
|
+
},
|
|
22954
|
+
message: {
|
|
22955
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
22956
|
+
type: 'string',
|
|
22957
|
+
},
|
|
22958
|
+
warning_code: {
|
|
22959
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
22960
|
+
enum: ['entrance_shares_zone'],
|
|
22961
|
+
type: 'string',
|
|
22962
|
+
},
|
|
22963
|
+
},
|
|
22964
|
+
required: [
|
|
22965
|
+
'created_at',
|
|
22966
|
+
'message',
|
|
22967
|
+
'warning_code',
|
|
22968
|
+
],
|
|
22969
|
+
type: 'object',
|
|
22970
|
+
},
|
|
22923
22971
|
],
|
|
22924
22972
|
},
|
|
22925
22973
|
type: 'array',
|
|
@@ -25408,6 +25456,7 @@ const openapi = {
|
|
|
25408
25456
|
'salto_space_group',
|
|
25409
25457
|
'dormakaba_community_access_group',
|
|
25410
25458
|
'dormakaba_ambiance_access_group',
|
|
25459
|
+
'avigilon_alta_group',
|
|
25411
25460
|
],
|
|
25412
25461
|
type: 'string',
|
|
25413
25462
|
'x-deprecated': 'Use `external_type`.',
|
|
@@ -25497,6 +25546,7 @@ const openapi = {
|
|
|
25497
25546
|
'salto_space_group',
|
|
25498
25547
|
'dormakaba_community_access_group',
|
|
25499
25548
|
'dormakaba_ambiance_access_group',
|
|
25549
|
+
'avigilon_alta_group',
|
|
25500
25550
|
],
|
|
25501
25551
|
type: 'string',
|
|
25502
25552
|
},
|