@seamapi/types 1.856.0 → 1.857.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 +55 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +127 -0
- package/dist/index.cjs +55 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +45 -0
- 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 +29 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +82 -0
- package/lib/seam/connect/openapi.js +46 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +77 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +54 -0
- package/src/lib/seam/connect/route-types.ts +88 -0
package/dist/connect.d.cts
CHANGED
|
@@ -6411,6 +6411,19 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
6411
6411
|
message: string;
|
|
6412
6412
|
created_at: string;
|
|
6413
6413
|
warning_code: "entrance_shares_zone";
|
|
6414
|
+
}>, z.ZodObject<{
|
|
6415
|
+
created_at: z.ZodString;
|
|
6416
|
+
message: z.ZodString;
|
|
6417
|
+
} & {
|
|
6418
|
+
warning_code: z.ZodLiteral<"entrance_setup_required">;
|
|
6419
|
+
}, "strip", z.ZodTypeAny, {
|
|
6420
|
+
message: string;
|
|
6421
|
+
created_at: string;
|
|
6422
|
+
warning_code: "entrance_setup_required";
|
|
6423
|
+
}, {
|
|
6424
|
+
message: string;
|
|
6425
|
+
created_at: string;
|
|
6426
|
+
warning_code: "entrance_setup_required";
|
|
6414
6427
|
}>]>, "many">;
|
|
6415
6428
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
6416
6429
|
accessibility_type: z.ZodString;
|
|
@@ -6612,6 +6625,10 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
6612
6625
|
message: string;
|
|
6613
6626
|
created_at: string;
|
|
6614
6627
|
warning_code: "entrance_shares_zone";
|
|
6628
|
+
} | {
|
|
6629
|
+
message: string;
|
|
6630
|
+
created_at: string;
|
|
6631
|
+
warning_code: "entrance_setup_required";
|
|
6615
6632
|
})[];
|
|
6616
6633
|
space_ids: string[];
|
|
6617
6634
|
acs_entrance_id: string;
|
|
@@ -6701,6 +6718,10 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
6701
6718
|
message: string;
|
|
6702
6719
|
created_at: string;
|
|
6703
6720
|
warning_code: "entrance_shares_zone";
|
|
6721
|
+
} | {
|
|
6722
|
+
message: string;
|
|
6723
|
+
created_at: string;
|
|
6724
|
+
warning_code: "entrance_setup_required";
|
|
6704
6725
|
})[];
|
|
6705
6726
|
space_ids: string[];
|
|
6706
6727
|
acs_entrance_id: string;
|
|
@@ -18524,6 +18545,19 @@ declare const batch: z.ZodObject<{
|
|
|
18524
18545
|
message: string;
|
|
18525
18546
|
created_at: string;
|
|
18526
18547
|
warning_code: "entrance_shares_zone";
|
|
18548
|
+
}>, z.ZodObject<{
|
|
18549
|
+
created_at: z.ZodString;
|
|
18550
|
+
message: z.ZodString;
|
|
18551
|
+
} & {
|
|
18552
|
+
warning_code: z.ZodLiteral<"entrance_setup_required">;
|
|
18553
|
+
}, "strip", z.ZodTypeAny, {
|
|
18554
|
+
message: string;
|
|
18555
|
+
created_at: string;
|
|
18556
|
+
warning_code: "entrance_setup_required";
|
|
18557
|
+
}, {
|
|
18558
|
+
message: string;
|
|
18559
|
+
created_at: string;
|
|
18560
|
+
warning_code: "entrance_setup_required";
|
|
18527
18561
|
}>]>, "many">;
|
|
18528
18562
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
18529
18563
|
accessibility_type: z.ZodString;
|
|
@@ -18725,6 +18759,10 @@ declare const batch: z.ZodObject<{
|
|
|
18725
18759
|
message: string;
|
|
18726
18760
|
created_at: string;
|
|
18727
18761
|
warning_code: "entrance_shares_zone";
|
|
18762
|
+
} | {
|
|
18763
|
+
message: string;
|
|
18764
|
+
created_at: string;
|
|
18765
|
+
warning_code: "entrance_setup_required";
|
|
18728
18766
|
})[];
|
|
18729
18767
|
space_ids: string[];
|
|
18730
18768
|
acs_entrance_id: string;
|
|
@@ -18814,6 +18852,10 @@ declare const batch: z.ZodObject<{
|
|
|
18814
18852
|
message: string;
|
|
18815
18853
|
created_at: string;
|
|
18816
18854
|
warning_code: "entrance_shares_zone";
|
|
18855
|
+
} | {
|
|
18856
|
+
message: string;
|
|
18857
|
+
created_at: string;
|
|
18858
|
+
warning_code: "entrance_setup_required";
|
|
18817
18859
|
})[];
|
|
18818
18860
|
space_ids: string[];
|
|
18819
18861
|
acs_entrance_id: string;
|
|
@@ -40998,6 +41040,10 @@ declare const batch: z.ZodObject<{
|
|
|
40998
41040
|
message: string;
|
|
40999
41041
|
created_at: string;
|
|
41000
41042
|
warning_code: "entrance_shares_zone";
|
|
41043
|
+
} | {
|
|
41044
|
+
message: string;
|
|
41045
|
+
created_at: string;
|
|
41046
|
+
warning_code: "entrance_setup_required";
|
|
41001
41047
|
})[];
|
|
41002
41048
|
space_ids: string[];
|
|
41003
41049
|
acs_entrance_id: string;
|
|
@@ -46123,6 +46169,10 @@ declare const batch: z.ZodObject<{
|
|
|
46123
46169
|
message: string;
|
|
46124
46170
|
created_at: string;
|
|
46125
46171
|
warning_code: "entrance_shares_zone";
|
|
46172
|
+
} | {
|
|
46173
|
+
message: string;
|
|
46174
|
+
created_at: string;
|
|
46175
|
+
warning_code: "entrance_setup_required";
|
|
46126
46176
|
})[];
|
|
46127
46177
|
space_ids: string[];
|
|
46128
46178
|
acs_entrance_id: string;
|
|
@@ -79526,6 +79576,13 @@ type Routes = {
|
|
|
79526
79576
|
message: string;
|
|
79527
79577
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
79528
79578
|
warning_code: 'entrance_shares_zone';
|
|
79579
|
+
} | {
|
|
79580
|
+
/** Date and time at which Seam created the warning. */
|
|
79581
|
+
created_at: string;
|
|
79582
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
79583
|
+
message: string;
|
|
79584
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
79585
|
+
warning_code: 'entrance_setup_required';
|
|
79529
79586
|
})[];
|
|
79530
79587
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
79531
79588
|
latch_metadata?: {
|
|
@@ -84201,6 +84258,13 @@ type Routes = {
|
|
|
84201
84258
|
message: string;
|
|
84202
84259
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
84203
84260
|
warning_code: 'entrance_shares_zone';
|
|
84261
|
+
} | {
|
|
84262
|
+
/** Date and time at which Seam created the warning. */
|
|
84263
|
+
created_at: string;
|
|
84264
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
84265
|
+
message: string;
|
|
84266
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
84267
|
+
warning_code: 'entrance_setup_required';
|
|
84204
84268
|
})[];
|
|
84205
84269
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
84206
84270
|
latch_metadata?: {
|
|
@@ -85628,6 +85692,13 @@ type Routes = {
|
|
|
85628
85692
|
message: string;
|
|
85629
85693
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85630
85694
|
warning_code: 'entrance_shares_zone';
|
|
85695
|
+
} | {
|
|
85696
|
+
/** Date and time at which Seam created the warning. */
|
|
85697
|
+
created_at: string;
|
|
85698
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
85699
|
+
message: string;
|
|
85700
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85701
|
+
warning_code: 'entrance_setup_required';
|
|
85631
85702
|
})[];
|
|
85632
85703
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
85633
85704
|
latch_metadata?: {
|
|
@@ -87356,6 +87427,13 @@ type Routes = {
|
|
|
87356
87427
|
message: string;
|
|
87357
87428
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
87358
87429
|
warning_code: 'entrance_shares_zone';
|
|
87430
|
+
} | {
|
|
87431
|
+
/** Date and time at which Seam created the warning. */
|
|
87432
|
+
created_at: string;
|
|
87433
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
87434
|
+
message: string;
|
|
87435
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
87436
|
+
warning_code: 'entrance_setup_required';
|
|
87359
87437
|
})[];
|
|
87360
87438
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
87361
87439
|
latch_metadata?: {
|
|
@@ -92891,6 +92969,13 @@ type Routes = {
|
|
|
92891
92969
|
message: string;
|
|
92892
92970
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
92893
92971
|
warning_code: 'entrance_shares_zone';
|
|
92972
|
+
} | {
|
|
92973
|
+
/** Date and time at which Seam created the warning. */
|
|
92974
|
+
created_at: string;
|
|
92975
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
92976
|
+
message: string;
|
|
92977
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
92978
|
+
warning_code: 'entrance_setup_required';
|
|
92894
92979
|
})[];
|
|
92895
92980
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
92896
92981
|
latch_metadata?: {
|
|
@@ -93105,6 +93190,13 @@ type Routes = {
|
|
|
93105
93190
|
message: string;
|
|
93106
93191
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
93107
93192
|
warning_code: 'entrance_shares_zone';
|
|
93193
|
+
} | {
|
|
93194
|
+
/** Date and time at which Seam created the warning. */
|
|
93195
|
+
created_at: string;
|
|
93196
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
93197
|
+
message: string;
|
|
93198
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
93199
|
+
warning_code: 'entrance_setup_required';
|
|
93108
93200
|
})[];
|
|
93109
93201
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
93110
93202
|
latch_metadata?: {
|
|
@@ -96308,6 +96400,13 @@ type Routes = {
|
|
|
96308
96400
|
message: string;
|
|
96309
96401
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
96310
96402
|
warning_code: 'entrance_shares_zone';
|
|
96403
|
+
} | {
|
|
96404
|
+
/** Date and time at which Seam created the warning. */
|
|
96405
|
+
created_at: string;
|
|
96406
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
96407
|
+
message: string;
|
|
96408
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
96409
|
+
warning_code: 'entrance_setup_required';
|
|
96311
96410
|
})[];
|
|
96312
96411
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
96313
96412
|
latch_metadata?: {
|
|
@@ -140046,6 +140145,13 @@ type Routes = {
|
|
|
140046
140145
|
message: string;
|
|
140047
140146
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
140048
140147
|
warning_code: 'entrance_shares_zone';
|
|
140148
|
+
} | {
|
|
140149
|
+
/** Date and time at which Seam created the warning. */
|
|
140150
|
+
created_at: string;
|
|
140151
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
140152
|
+
message: string;
|
|
140153
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
140154
|
+
warning_code: 'entrance_setup_required';
|
|
140049
140155
|
})[];
|
|
140050
140156
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
140051
140157
|
latch_metadata?: {
|
|
@@ -141895,6 +142001,13 @@ type Routes = {
|
|
|
141895
142001
|
message: string;
|
|
141896
142002
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
141897
142003
|
warning_code: 'entrance_shares_zone';
|
|
142004
|
+
} | {
|
|
142005
|
+
/** Date and time at which Seam created the warning. */
|
|
142006
|
+
created_at: string;
|
|
142007
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
142008
|
+
message: string;
|
|
142009
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
142010
|
+
warning_code: 'entrance_setup_required';
|
|
141898
142011
|
})[];
|
|
141899
142012
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
141900
142013
|
latch_metadata?: {
|
|
@@ -164179,6 +164292,13 @@ type Routes = {
|
|
|
164179
164292
|
message: string;
|
|
164180
164293
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
164181
164294
|
warning_code: 'entrance_shares_zone';
|
|
164295
|
+
} | {
|
|
164296
|
+
/** Date and time at which Seam created the warning. */
|
|
164297
|
+
created_at: string;
|
|
164298
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
164299
|
+
message: string;
|
|
164300
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
164301
|
+
warning_code: 'entrance_setup_required';
|
|
164182
164302
|
})[];
|
|
164183
164303
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
164184
164304
|
latch_metadata?: {
|
|
@@ -166695,6 +166815,13 @@ type Routes = {
|
|
|
166695
166815
|
message: string;
|
|
166696
166816
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
166697
166817
|
warning_code: 'entrance_shares_zone';
|
|
166818
|
+
} | {
|
|
166819
|
+
/** Date and time at which Seam created the warning. */
|
|
166820
|
+
created_at: string;
|
|
166821
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
166822
|
+
message: string;
|
|
166823
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
166824
|
+
warning_code: 'entrance_setup_required';
|
|
166698
166825
|
})[];
|
|
166699
166826
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
166700
166827
|
latch_metadata?: {
|
package/dist/index.cjs
CHANGED
|
@@ -3752,15 +3752,22 @@ var entrance_shares_zone = common_acs_entrance_warning.extend({
|
|
|
3752
3752
|
}).describe(
|
|
3753
3753
|
"Indicates that this entrance shares a zone with other entrances in Avigilon Alta and cannot be added to an access group individually."
|
|
3754
3754
|
);
|
|
3755
|
+
var entrance_setup_required = common_acs_entrance_warning.extend({
|
|
3756
|
+
warning_code: zod.z.literal("entrance_setup_required").describe(warning_code_description8)
|
|
3757
|
+
}).describe(
|
|
3758
|
+
"Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it."
|
|
3759
|
+
);
|
|
3755
3760
|
var acs_entrance_warning = zod.z.discriminatedUnion("warning_code", [
|
|
3756
3761
|
salto_ks_entrance_access_code_support_removed,
|
|
3757
|
-
entrance_shares_zone
|
|
3762
|
+
entrance_shares_zone,
|
|
3763
|
+
entrance_setup_required
|
|
3758
3764
|
]).describe(
|
|
3759
3765
|
"Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
3760
3766
|
);
|
|
3761
3767
|
zod.z.object({
|
|
3762
3768
|
salto_ks_entrance_access_code_support_removed: salto_ks_entrance_access_code_support_removed.optional().nullable(),
|
|
3763
|
-
entrance_shares_zone: entrance_shares_zone.optional().nullable()
|
|
3769
|
+
entrance_shares_zone: entrance_shares_zone.optional().nullable(),
|
|
3770
|
+
entrance_setup_required: entrance_setup_required.optional().nullable()
|
|
3764
3771
|
});
|
|
3765
3772
|
var acs_entrance_capability_flags = zod.z.object({
|
|
3766
3773
|
can_unlock_with_mobile_key: zod.z.boolean().optional().describe(
|
|
@@ -11211,6 +11218,27 @@ var openapi = {
|
|
|
11211
11218
|
},
|
|
11212
11219
|
required: ["created_at", "message", "warning_code"],
|
|
11213
11220
|
type: "object"
|
|
11221
|
+
},
|
|
11222
|
+
{
|
|
11223
|
+
description: "Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it.",
|
|
11224
|
+
properties: {
|
|
11225
|
+
created_at: {
|
|
11226
|
+
description: "Date and time at which Seam created the warning.",
|
|
11227
|
+
format: "date-time",
|
|
11228
|
+
type: "string"
|
|
11229
|
+
},
|
|
11230
|
+
message: {
|
|
11231
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
11232
|
+
type: "string"
|
|
11233
|
+
},
|
|
11234
|
+
warning_code: {
|
|
11235
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
11236
|
+
enum: ["entrance_setup_required"],
|
|
11237
|
+
type: "string"
|
|
11238
|
+
}
|
|
11239
|
+
},
|
|
11240
|
+
required: ["created_at", "message", "warning_code"],
|
|
11241
|
+
type: "object"
|
|
11214
11242
|
}
|
|
11215
11243
|
]
|
|
11216
11244
|
},
|
|
@@ -30600,6 +30628,31 @@ var openapi = {
|
|
|
30600
30628
|
"warning_code"
|
|
30601
30629
|
],
|
|
30602
30630
|
type: "object"
|
|
30631
|
+
},
|
|
30632
|
+
{
|
|
30633
|
+
description: "Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it.",
|
|
30634
|
+
properties: {
|
|
30635
|
+
created_at: {
|
|
30636
|
+
description: "Date and time at which Seam created the warning.",
|
|
30637
|
+
format: "date-time",
|
|
30638
|
+
type: "string"
|
|
30639
|
+
},
|
|
30640
|
+
message: {
|
|
30641
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
30642
|
+
type: "string"
|
|
30643
|
+
},
|
|
30644
|
+
warning_code: {
|
|
30645
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
30646
|
+
enum: ["entrance_setup_required"],
|
|
30647
|
+
type: "string"
|
|
30648
|
+
}
|
|
30649
|
+
},
|
|
30650
|
+
required: [
|
|
30651
|
+
"created_at",
|
|
30652
|
+
"message",
|
|
30653
|
+
"warning_code"
|
|
30654
|
+
],
|
|
30655
|
+
type: "object"
|
|
30603
30656
|
}
|
|
30604
30657
|
]
|
|
30605
30658
|
},
|