@seamapi/types 1.843.0 → 1.845.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 +116 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +163 -5
- package/dist/index.cjs +116 -15
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +54 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +28 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +34 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +98 -0
- package/lib/seam/connect/openapi.js +77 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +104 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +46 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +89 -0
- package/src/lib/seam/connect/route-types.ts +104 -0
|
@@ -1,4 +1,33 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
declare const _acs_entrance_warning_map: z.ZodObject<{
|
|
3
|
+
salto_ks_entrance_access_code_support_removed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4
|
+
created_at: z.ZodString;
|
|
5
|
+
message: z.ZodString;
|
|
6
|
+
} & {
|
|
7
|
+
warning_code: z.ZodLiteral<"salto_ks_entrance_access_code_support_removed">;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
message: string;
|
|
10
|
+
created_at: string;
|
|
11
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
12
|
+
}, {
|
|
13
|
+
message: string;
|
|
14
|
+
created_at: string;
|
|
15
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
16
|
+
}>>>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
salto_ks_entrance_access_code_support_removed?: {
|
|
19
|
+
message: string;
|
|
20
|
+
created_at: string;
|
|
21
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
22
|
+
} | null | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
salto_ks_entrance_access_code_support_removed?: {
|
|
25
|
+
message: string;
|
|
26
|
+
created_at: string;
|
|
27
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
28
|
+
} | null | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
export type AcsEntranceWarningMap = z.infer<typeof _acs_entrance_warning_map>;
|
|
2
31
|
export declare const acs_entrance_capability_flags: z.ZodObject<{
|
|
3
32
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
4
33
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -35,6 +64,20 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
35
64
|
message: string;
|
|
36
65
|
error_code: string;
|
|
37
66
|
}>, "many">;
|
|
67
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
68
|
+
created_at: z.ZodString;
|
|
69
|
+
message: z.ZodString;
|
|
70
|
+
} & {
|
|
71
|
+
warning_code: z.ZodLiteral<"salto_ks_entrance_access_code_support_removed">;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
message: string;
|
|
74
|
+
created_at: string;
|
|
75
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
76
|
+
}, {
|
|
77
|
+
message: string;
|
|
78
|
+
created_at: string;
|
|
79
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
80
|
+
}>]>, "many">;
|
|
38
81
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
39
82
|
accessibility_type: z.ZodString;
|
|
40
83
|
door_name: z.ZodString;
|
|
@@ -227,6 +270,11 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
227
270
|
error_code: string;
|
|
228
271
|
}[];
|
|
229
272
|
connected_account_id: string;
|
|
273
|
+
warnings: {
|
|
274
|
+
message: string;
|
|
275
|
+
created_at: string;
|
|
276
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
277
|
+
}[];
|
|
230
278
|
space_ids: string[];
|
|
231
279
|
acs_entrance_id: string;
|
|
232
280
|
acs_system_id: string;
|
|
@@ -307,6 +355,11 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
307
355
|
error_code: string;
|
|
308
356
|
}[];
|
|
309
357
|
connected_account_id: string;
|
|
358
|
+
warnings: {
|
|
359
|
+
message: string;
|
|
360
|
+
created_at: string;
|
|
361
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
362
|
+
}[];
|
|
310
363
|
space_ids: string[];
|
|
311
364
|
acs_entrance_id: string;
|
|
312
365
|
acs_system_id: string;
|
|
@@ -381,3 +434,4 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
381
434
|
} | undefined;
|
|
382
435
|
}>;
|
|
383
436
|
export type AcsEntrance = z.infer<typeof acs_entrance>;
|
|
437
|
+
export {};
|
|
@@ -3,6 +3,31 @@ import { acs_entrance_avigilon_alta_metadata } from './metadata/avigilon-alta.js
|
|
|
3
3
|
import { acs_entrance_dormakaba_ambiance_metadata } from './metadata/dormakaba-ambiance.js';
|
|
4
4
|
import { acs_entrance_assa_abloy_vostio_metadata, acs_entrance_brivo_metadata, acs_entrance_dormakaba_community_metadata, acs_entrance_hotek_metadata, acs_entrance_latch_metadata, acs_entrance_salto_ks_metadata, acs_entrance_visionline_metadata, } from './metadata/index.js';
|
|
5
5
|
import { acs_entrance_salto_space_metadata } from './metadata/salto-space.js';
|
|
6
|
+
const warning_code_description = 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.';
|
|
7
|
+
const common_acs_entrance_warning = z.object({
|
|
8
|
+
created_at: z
|
|
9
|
+
.string()
|
|
10
|
+
.datetime()
|
|
11
|
+
.describe('Date and time at which Seam created the warning.'),
|
|
12
|
+
message: z
|
|
13
|
+
.string()
|
|
14
|
+
.describe('Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.'),
|
|
15
|
+
});
|
|
16
|
+
const salto_ks_entrance_access_code_support_removed = common_acs_entrance_warning
|
|
17
|
+
.extend({
|
|
18
|
+
warning_code: z
|
|
19
|
+
.literal('salto_ks_entrance_access_code_support_removed')
|
|
20
|
+
.describe(warning_code_description),
|
|
21
|
+
})
|
|
22
|
+
.describe('Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.');
|
|
23
|
+
const acs_entrance_warning = z
|
|
24
|
+
.discriminatedUnion('warning_code', [
|
|
25
|
+
salto_ks_entrance_access_code_support_removed,
|
|
26
|
+
])
|
|
27
|
+
.describe('Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).');
|
|
28
|
+
const _acs_entrance_warning_map = z.object({
|
|
29
|
+
salto_ks_entrance_access_code_support_removed: salto_ks_entrance_access_code_support_removed.optional().nullable(),
|
|
30
|
+
});
|
|
6
31
|
export const acs_entrance_capability_flags = z.object({
|
|
7
32
|
can_unlock_with_mobile_key: z
|
|
8
33
|
.boolean()
|
|
@@ -59,6 +84,9 @@ export const acs_entrance = z
|
|
|
59
84
|
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
60
85
|
}))
|
|
61
86
|
.describe('Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).'),
|
|
87
|
+
warnings: z
|
|
88
|
+
.array(acs_entrance_warning)
|
|
89
|
+
.describe('Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).'),
|
|
62
90
|
latch_metadata: acs_entrance_latch_metadata
|
|
63
91
|
.optional()
|
|
64
92
|
.describe('Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-entrance.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,mCAAmC,EAAE,MAAM,6BAA6B,CAAA;AACjF,OAAO,EAAE,wCAAwC,EAAE,MAAM,kCAAkC,CAAA;AAC3F,OAAO,EACL,uCAAuC,EACvC,2BAA2B,EAC3B,yCAAyC,EACzC,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,iCAAiC,EAAE,MAAM,2BAA2B,CAAA;AAE7E,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,0BAA0B,EAAE,CAAC;SAC1B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,iFAAiF,CAClF;IACH,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,2EAA2E,CAC5E;IACH,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,oEAAoE,CACrE;IACH,yBAAyB,EAAE,CAAC;SACzB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,gFAAgF,CACjF;IACH,yBAAyB,EAAE,CAAC;SACzB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qGAAqG,CACtG;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC;KAC1B,MAAM,CAAC;IACN,aAAa,EAAE,CAAC;S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,2BAA2B,EAAE,wCAAwC;SAClE,QAAQ,EAAE;SACV,QAAQ,CACP,gKAAgK,CACjK;IACH,cAAc,EAAE,2BAA2B;SACxC,QAAQ,EAAE;SACV,QAAQ,CACP,mJAAmJ,CACpJ;IACH,sBAAsB,EAAE,mCAAmC;SACxD,QAAQ,EAAE;SACV,QAAQ,CACP,2JAA2J,CAC5J;CACJ,CAAC;KACD,KAAK,CAAC,6BAA6B,CAAC,CAAC,QAAQ,CAAC;;;;;;;CAOhD,CAAC,CAAA"}
|
|
@@ -5225,6 +5225,20 @@ export declare const batch: z.ZodObject<{
|
|
|
5225
5225
|
message: string;
|
|
5226
5226
|
error_code: string;
|
|
5227
5227
|
}>, "many">;
|
|
5228
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
5229
|
+
created_at: z.ZodString;
|
|
5230
|
+
message: z.ZodString;
|
|
5231
|
+
} & {
|
|
5232
|
+
warning_code: z.ZodLiteral<"salto_ks_entrance_access_code_support_removed">;
|
|
5233
|
+
}, "strip", z.ZodTypeAny, {
|
|
5234
|
+
message: string;
|
|
5235
|
+
created_at: string;
|
|
5236
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
5237
|
+
}, {
|
|
5238
|
+
message: string;
|
|
5239
|
+
created_at: string;
|
|
5240
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
5241
|
+
}>]>, "many">;
|
|
5228
5242
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
5229
5243
|
accessibility_type: z.ZodString;
|
|
5230
5244
|
door_name: z.ZodString;
|
|
@@ -5417,6 +5431,11 @@ export declare const batch: z.ZodObject<{
|
|
|
5417
5431
|
error_code: string;
|
|
5418
5432
|
}[];
|
|
5419
5433
|
connected_account_id: string;
|
|
5434
|
+
warnings: {
|
|
5435
|
+
message: string;
|
|
5436
|
+
created_at: string;
|
|
5437
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
5438
|
+
}[];
|
|
5420
5439
|
space_ids: string[];
|
|
5421
5440
|
acs_entrance_id: string;
|
|
5422
5441
|
acs_system_id: string;
|
|
@@ -5497,6 +5516,11 @@ export declare const batch: z.ZodObject<{
|
|
|
5497
5516
|
error_code: string;
|
|
5498
5517
|
}[];
|
|
5499
5518
|
connected_account_id: string;
|
|
5519
|
+
warnings: {
|
|
5520
|
+
message: string;
|
|
5521
|
+
created_at: string;
|
|
5522
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
5523
|
+
}[];
|
|
5500
5524
|
space_ids: string[];
|
|
5501
5525
|
acs_entrance_id: string;
|
|
5502
5526
|
acs_system_id: string;
|
|
@@ -27041,6 +27065,11 @@ export declare const batch: z.ZodObject<{
|
|
|
27041
27065
|
error_code: string;
|
|
27042
27066
|
}[];
|
|
27043
27067
|
connected_account_id: string;
|
|
27068
|
+
warnings: {
|
|
27069
|
+
message: string;
|
|
27070
|
+
created_at: string;
|
|
27071
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
27072
|
+
}[];
|
|
27044
27073
|
space_ids: string[];
|
|
27045
27074
|
acs_entrance_id: string;
|
|
27046
27075
|
acs_system_id: string;
|
|
@@ -32044,6 +32073,11 @@ export declare const batch: z.ZodObject<{
|
|
|
32044
32073
|
error_code: string;
|
|
32045
32074
|
}[];
|
|
32046
32075
|
connected_account_id: string;
|
|
32076
|
+
warnings: {
|
|
32077
|
+
message: string;
|
|
32078
|
+
created_at: string;
|
|
32079
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
32080
|
+
}[];
|
|
32047
32081
|
space_ids: string[];
|
|
32048
32082
|
acs_entrance_id: string;
|
|
32049
32083
|
acs_system_id: string;
|
|
@@ -53,6 +53,7 @@ export declare const DEVICE_PROVIDERS: {
|
|
|
53
53
|
readonly RING: "ring";
|
|
54
54
|
readonly ICAL: "ical";
|
|
55
55
|
readonly LODGIFY: "lodgify";
|
|
56
|
+
readonly HOSTAWAY: "hostaway";
|
|
56
57
|
};
|
|
57
58
|
export type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
|
|
58
59
|
export declare const ALL_DEVICE_PROVIDERS: [
|
|
@@ -68,7 +69,7 @@ export declare const PROVIDER_CATEGORY_MAP: {
|
|
|
68
69
|
readonly noise_sensors: readonly ["minut", "noiseaware"];
|
|
69
70
|
readonly access_control_systems: readonly ["brivo", "visionline", "assa_abloy_credential_service", "latch", "salto_ks", "assa_abloy_vostio", "salto_space", "dormakaba_ambiance", "dormakaba_community", "legic_connect", "hotek"];
|
|
70
71
|
readonly cameras: readonly ["ring"];
|
|
71
|
-
readonly connectors: readonly ["ical", "lodgify"];
|
|
72
|
+
readonly connectors: readonly ["ical", "lodgify", "hostaway"];
|
|
72
73
|
readonly internal_beta: [DeviceProviderName, ...DeviceProviderName[]];
|
|
73
74
|
};
|
|
74
75
|
export declare const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]];
|
|
@@ -53,6 +53,7 @@ export const DEVICE_PROVIDERS = {
|
|
|
53
53
|
RING: 'ring',
|
|
54
54
|
ICAL: 'ical',
|
|
55
55
|
LODGIFY: 'lodgify',
|
|
56
|
+
HOSTAWAY: 'hostaway',
|
|
56
57
|
};
|
|
57
58
|
export const ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
|
|
58
59
|
export const PROVIDER_CATEGORY_MAP = {
|
|
@@ -125,7 +126,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
125
126
|
'hotek',
|
|
126
127
|
],
|
|
127
128
|
cameras: ['ring'],
|
|
128
|
-
connectors: ['ical', 'lodgify'],
|
|
129
|
+
connectors: ['ical', 'lodgify', 'hostaway'],
|
|
129
130
|
internal_beta: ALL_DEVICE_PROVIDERS,
|
|
130
131
|
};
|
|
131
132
|
export const PROVIDER_CATEGORIES = Object.keys(PROVIDER_CATEGORY_MAP);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-provider.js","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CAAoC,EAAE,sCAAsC;IAC5E,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,kBAAkB,EAAE,oBAAoB;IACxC,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;IAC1B,iBAA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,MAAM,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,CAAC;IAChE,mBAAmB,EAAE,CAAC,MAAM,CAAC;IAC7B,IAAI,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,CAAC;IAC9D,WAAW,EAAE,CAAC,YAAY,CAAC;IAC3B,aAAa,EAAE,CAAC,cAAc,CAAC;IAC/B,sBAAsB,EAAE,CAAC,gBAAgB,CAAC;IAC1C,OAAO,EAAE,CAAC,QAAQ,CAAC;IACnB,UAAU,EAAE,EAAE;IACd,aAAa,EAAE;QACb,MAAM;QACN,YAAY;QACZ,cAAc;QACd,gBAAgB;QAChB,QAAQ;KACT;CACF,CAAA"}
|
|
@@ -200,6 +200,20 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
200
200
|
message: string;
|
|
201
201
|
error_code: string;
|
|
202
202
|
}>, "many">;
|
|
203
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
204
|
+
created_at: z.ZodString;
|
|
205
|
+
message: z.ZodString;
|
|
206
|
+
} & {
|
|
207
|
+
warning_code: z.ZodLiteral<"salto_ks_entrance_access_code_support_removed">;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
message: string;
|
|
210
|
+
created_at: string;
|
|
211
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
212
|
+
}, {
|
|
213
|
+
message: string;
|
|
214
|
+
created_at: string;
|
|
215
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
216
|
+
}>]>, "many">;
|
|
203
217
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
204
218
|
accessibility_type: z.ZodString;
|
|
205
219
|
door_name: z.ZodString;
|
|
@@ -392,6 +406,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
392
406
|
error_code: string;
|
|
393
407
|
}[];
|
|
394
408
|
connected_account_id: string;
|
|
409
|
+
warnings: {
|
|
410
|
+
message: string;
|
|
411
|
+
created_at: string;
|
|
412
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
413
|
+
}[];
|
|
395
414
|
space_ids: string[];
|
|
396
415
|
acs_entrance_id: string;
|
|
397
416
|
acs_system_id: string;
|
|
@@ -472,6 +491,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
472
491
|
error_code: string;
|
|
473
492
|
}[];
|
|
474
493
|
connected_account_id: string;
|
|
494
|
+
warnings: {
|
|
495
|
+
message: string;
|
|
496
|
+
created_at: string;
|
|
497
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
498
|
+
}[];
|
|
475
499
|
space_ids: string[];
|
|
476
500
|
acs_entrance_id: string;
|
|
477
501
|
acs_system_id: string;
|
|
@@ -591,6 +615,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
591
615
|
error_code: string;
|
|
592
616
|
}[];
|
|
593
617
|
connected_account_id: string;
|
|
618
|
+
warnings: {
|
|
619
|
+
message: string;
|
|
620
|
+
created_at: string;
|
|
621
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
622
|
+
}[];
|
|
594
623
|
space_ids: string[];
|
|
595
624
|
acs_entrance_id: string;
|
|
596
625
|
acs_system_id: string;
|
|
@@ -744,6 +773,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
744
773
|
error_code: string;
|
|
745
774
|
}[];
|
|
746
775
|
connected_account_id: string;
|
|
776
|
+
warnings: {
|
|
777
|
+
message: string;
|
|
778
|
+
created_at: string;
|
|
779
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
780
|
+
}[];
|
|
747
781
|
space_ids: string[];
|
|
748
782
|
acs_entrance_id: string;
|
|
749
783
|
acs_system_id: string;
|
|
@@ -899,6 +933,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
899
933
|
error_code: string;
|
|
900
934
|
}[];
|
|
901
935
|
connected_account_id: string;
|
|
936
|
+
warnings: {
|
|
937
|
+
message: string;
|
|
938
|
+
created_at: string;
|
|
939
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
940
|
+
}[];
|
|
902
941
|
space_ids: string[];
|
|
903
942
|
acs_entrance_id: string;
|
|
904
943
|
acs_system_id: string;
|
|
@@ -1060,6 +1099,11 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1060
1099
|
error_code: string;
|
|
1061
1100
|
}[];
|
|
1062
1101
|
connected_account_id: string;
|
|
1102
|
+
warnings: {
|
|
1103
|
+
message: string;
|
|
1104
|
+
created_at: string;
|
|
1105
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1106
|
+
}[];
|
|
1063
1107
|
space_ids: string[];
|
|
1064
1108
|
acs_entrance_id: string;
|
|
1065
1109
|
acs_system_id: string;
|
|
@@ -1377,6 +1421,20 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1377
1421
|
message: string;
|
|
1378
1422
|
error_code: string;
|
|
1379
1423
|
}>, "many">;
|
|
1424
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
1425
|
+
created_at: z.ZodString;
|
|
1426
|
+
message: z.ZodString;
|
|
1427
|
+
} & {
|
|
1428
|
+
warning_code: z.ZodLiteral<"salto_ks_entrance_access_code_support_removed">;
|
|
1429
|
+
}, "strip", z.ZodTypeAny, {
|
|
1430
|
+
message: string;
|
|
1431
|
+
created_at: string;
|
|
1432
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1433
|
+
}, {
|
|
1434
|
+
message: string;
|
|
1435
|
+
created_at: string;
|
|
1436
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1437
|
+
}>]>, "many">;
|
|
1380
1438
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
1381
1439
|
accessibility_type: z.ZodString;
|
|
1382
1440
|
door_name: z.ZodString;
|
|
@@ -1569,6 +1627,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1569
1627
|
error_code: string;
|
|
1570
1628
|
}[];
|
|
1571
1629
|
connected_account_id: string;
|
|
1630
|
+
warnings: {
|
|
1631
|
+
message: string;
|
|
1632
|
+
created_at: string;
|
|
1633
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1634
|
+
}[];
|
|
1572
1635
|
space_ids: string[];
|
|
1573
1636
|
acs_entrance_id: string;
|
|
1574
1637
|
acs_system_id: string;
|
|
@@ -1649,6 +1712,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1649
1712
|
error_code: string;
|
|
1650
1713
|
}[];
|
|
1651
1714
|
connected_account_id: string;
|
|
1715
|
+
warnings: {
|
|
1716
|
+
message: string;
|
|
1717
|
+
created_at: string;
|
|
1718
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1719
|
+
}[];
|
|
1652
1720
|
space_ids: string[];
|
|
1653
1721
|
acs_entrance_id: string;
|
|
1654
1722
|
acs_system_id: string;
|
|
@@ -1768,6 +1836,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1768
1836
|
error_code: string;
|
|
1769
1837
|
}[];
|
|
1770
1838
|
connected_account_id: string;
|
|
1839
|
+
warnings: {
|
|
1840
|
+
message: string;
|
|
1841
|
+
created_at: string;
|
|
1842
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
1843
|
+
}[];
|
|
1771
1844
|
space_ids: string[];
|
|
1772
1845
|
acs_entrance_id: string;
|
|
1773
1846
|
acs_system_id: string;
|
|
@@ -1921,6 +1994,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1921
1994
|
error_code: string;
|
|
1922
1995
|
}[];
|
|
1923
1996
|
connected_account_id: string;
|
|
1997
|
+
warnings: {
|
|
1998
|
+
message: string;
|
|
1999
|
+
created_at: string;
|
|
2000
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2001
|
+
}[];
|
|
1924
2002
|
space_ids: string[];
|
|
1925
2003
|
acs_entrance_id: string;
|
|
1926
2004
|
acs_system_id: string;
|
|
@@ -2076,6 +2154,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2076
2154
|
error_code: string;
|
|
2077
2155
|
}[];
|
|
2078
2156
|
connected_account_id: string;
|
|
2157
|
+
warnings: {
|
|
2158
|
+
message: string;
|
|
2159
|
+
created_at: string;
|
|
2160
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2161
|
+
}[];
|
|
2079
2162
|
space_ids: string[];
|
|
2080
2163
|
acs_entrance_id: string;
|
|
2081
2164
|
acs_system_id: string;
|
|
@@ -2237,6 +2320,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2237
2320
|
error_code: string;
|
|
2238
2321
|
}[];
|
|
2239
2322
|
connected_account_id: string;
|
|
2323
|
+
warnings: {
|
|
2324
|
+
message: string;
|
|
2325
|
+
created_at: string;
|
|
2326
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2327
|
+
}[];
|
|
2240
2328
|
space_ids: string[];
|
|
2241
2329
|
acs_entrance_id: string;
|
|
2242
2330
|
acs_system_id: string;
|
|
@@ -2513,6 +2601,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2513
2601
|
error_code: string;
|
|
2514
2602
|
}[];
|
|
2515
2603
|
connected_account_id: string;
|
|
2604
|
+
warnings: {
|
|
2605
|
+
message: string;
|
|
2606
|
+
created_at: string;
|
|
2607
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2608
|
+
}[];
|
|
2516
2609
|
space_ids: string[];
|
|
2517
2610
|
acs_entrance_id: string;
|
|
2518
2611
|
acs_system_id: string;
|
|
@@ -2705,6 +2798,11 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2705
2798
|
error_code: string;
|
|
2706
2799
|
}[];
|
|
2707
2800
|
connected_account_id: string;
|
|
2801
|
+
warnings: {
|
|
2802
|
+
message: string;
|
|
2803
|
+
created_at: string;
|
|
2804
|
+
warning_code: "salto_ks_entrance_access_code_support_removed";
|
|
2805
|
+
}[];
|
|
2708
2806
|
space_ids: string[];
|
|
2709
2807
|
acs_entrance_id: string;
|
|
2710
2808
|
acs_system_id: string;
|
|
@@ -4094,6 +4094,37 @@ const openapi = {
|
|
|
4094
4094
|
required: ['door_name', 'door_category'],
|
|
4095
4095
|
type: 'object',
|
|
4096
4096
|
},
|
|
4097
|
+
warnings: {
|
|
4098
|
+
description: 'Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
4099
|
+
items: {
|
|
4100
|
+
description: 'Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
4101
|
+
discriminator: { propertyName: 'warning_code' },
|
|
4102
|
+
oneOf: [
|
|
4103
|
+
{
|
|
4104
|
+
description: 'Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
|
|
4105
|
+
properties: {
|
|
4106
|
+
created_at: {
|
|
4107
|
+
description: 'Date and time at which Seam created the warning.',
|
|
4108
|
+
format: 'date-time',
|
|
4109
|
+
type: 'string',
|
|
4110
|
+
},
|
|
4111
|
+
message: {
|
|
4112
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
4113
|
+
type: 'string',
|
|
4114
|
+
},
|
|
4115
|
+
warning_code: {
|
|
4116
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
4117
|
+
enum: ['salto_ks_entrance_access_code_support_removed'],
|
|
4118
|
+
type: 'string',
|
|
4119
|
+
},
|
|
4120
|
+
},
|
|
4121
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
4122
|
+
type: 'object',
|
|
4123
|
+
},
|
|
4124
|
+
],
|
|
4125
|
+
},
|
|
4126
|
+
type: 'array',
|
|
4127
|
+
},
|
|
4097
4128
|
},
|
|
4098
4129
|
required: [
|
|
4099
4130
|
'acs_system_id',
|
|
@@ -4103,6 +4134,7 @@ const openapi = {
|
|
|
4103
4134
|
'display_name',
|
|
4104
4135
|
'connected_account_id',
|
|
4105
4136
|
'errors',
|
|
4137
|
+
'warnings',
|
|
4106
4138
|
],
|
|
4107
4139
|
type: 'object',
|
|
4108
4140
|
'x-route-path': '/acs/entrances',
|
|
@@ -14050,6 +14082,7 @@ const openapi = {
|
|
|
14050
14082
|
'ring',
|
|
14051
14083
|
'ical',
|
|
14052
14084
|
'lodgify',
|
|
14085
|
+
'hostaway',
|
|
14053
14086
|
],
|
|
14054
14087
|
type: 'string',
|
|
14055
14088
|
},
|
|
@@ -22854,6 +22887,43 @@ const openapi = {
|
|
|
22854
22887
|
required: ['door_name', 'door_category'],
|
|
22855
22888
|
type: 'object',
|
|
22856
22889
|
},
|
|
22890
|
+
warnings: {
|
|
22891
|
+
description: 'Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
22892
|
+
items: {
|
|
22893
|
+
description: 'Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
22894
|
+
discriminator: { propertyName: 'warning_code' },
|
|
22895
|
+
oneOf: [
|
|
22896
|
+
{
|
|
22897
|
+
description: 'Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
|
|
22898
|
+
properties: {
|
|
22899
|
+
created_at: {
|
|
22900
|
+
description: 'Date and time at which Seam created the warning.',
|
|
22901
|
+
format: 'date-time',
|
|
22902
|
+
type: 'string',
|
|
22903
|
+
},
|
|
22904
|
+
message: {
|
|
22905
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
22906
|
+
type: 'string',
|
|
22907
|
+
},
|
|
22908
|
+
warning_code: {
|
|
22909
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
22910
|
+
enum: [
|
|
22911
|
+
'salto_ks_entrance_access_code_support_removed',
|
|
22912
|
+
],
|
|
22913
|
+
type: 'string',
|
|
22914
|
+
},
|
|
22915
|
+
},
|
|
22916
|
+
required: [
|
|
22917
|
+
'created_at',
|
|
22918
|
+
'message',
|
|
22919
|
+
'warning_code',
|
|
22920
|
+
],
|
|
22921
|
+
type: 'object',
|
|
22922
|
+
},
|
|
22923
|
+
],
|
|
22924
|
+
},
|
|
22925
|
+
type: 'array',
|
|
22926
|
+
},
|
|
22857
22927
|
},
|
|
22858
22928
|
required: [
|
|
22859
22929
|
'acs_system_id',
|
|
@@ -22863,6 +22933,7 @@ const openapi = {
|
|
|
22863
22933
|
'display_name',
|
|
22864
22934
|
'connected_account_id',
|
|
22865
22935
|
'errors',
|
|
22936
|
+
'warnings',
|
|
22866
22937
|
],
|
|
22867
22938
|
type: 'object',
|
|
22868
22939
|
'x-route-path': '/acs/entrances',
|
|
@@ -45125,6 +45196,7 @@ const openapi = {
|
|
|
45125
45196
|
'ring',
|
|
45126
45197
|
'ical',
|
|
45127
45198
|
'lodgify',
|
|
45199
|
+
'hostaway',
|
|
45128
45200
|
'yale_access',
|
|
45129
45201
|
'hid_cm',
|
|
45130
45202
|
'google_nest',
|
|
@@ -49089,6 +49161,7 @@ const openapi = {
|
|
|
49089
49161
|
'ring',
|
|
49090
49162
|
'ical',
|
|
49091
49163
|
'lodgify',
|
|
49164
|
+
'hostaway',
|
|
49092
49165
|
],
|
|
49093
49166
|
type: 'string',
|
|
49094
49167
|
},
|
|
@@ -49581,6 +49654,7 @@ const openapi = {
|
|
|
49581
49654
|
'ring',
|
|
49582
49655
|
'ical',
|
|
49583
49656
|
'lodgify',
|
|
49657
|
+
'hostaway',
|
|
49584
49658
|
],
|
|
49585
49659
|
type: 'string',
|
|
49586
49660
|
},
|
|
@@ -51382,6 +51456,7 @@ const openapi = {
|
|
|
51382
51456
|
'ring',
|
|
51383
51457
|
'ical',
|
|
51384
51458
|
'lodgify',
|
|
51459
|
+
'hostaway',
|
|
51385
51460
|
],
|
|
51386
51461
|
type: 'string',
|
|
51387
51462
|
},
|
|
@@ -51873,6 +51948,7 @@ const openapi = {
|
|
|
51873
51948
|
'ring',
|
|
51874
51949
|
'ical',
|
|
51875
51950
|
'lodgify',
|
|
51951
|
+
'hostaway',
|
|
51876
51952
|
],
|
|
51877
51953
|
type: 'string',
|
|
51878
51954
|
},
|
|
@@ -60243,6 +60319,7 @@ const openapi = {
|
|
|
60243
60319
|
'zonal',
|
|
60244
60320
|
'ical',
|
|
60245
60321
|
'lodgify',
|
|
60322
|
+
'hostaway',
|
|
60246
60323
|
],
|
|
60247
60324
|
type: 'string',
|
|
60248
60325
|
},
|