@seamapi/types 1.121.0 → 1.122.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 +5 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +12 -0
- package/lib/seam/connect/openapi.d.ts +6 -0
- package/lib/seam/connect/openapi.js +4 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +6 -0
- package/lib/seam/connect/unstable/models/acs/system.d.ts +6 -0
- package/lib/seam/connect/unstable/models/acs/system.js +2 -0
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +9 -9
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +4 -0
- package/src/lib/seam/connect/route-types.ts +6 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +2 -0
|
@@ -1197,6 +1197,8 @@ export interface Routes {
|
|
|
1197
1197
|
created_at: string;
|
|
1198
1198
|
workspace_id: string;
|
|
1199
1199
|
connected_account_ids: string[];
|
|
1200
|
+
image_url: string;
|
|
1201
|
+
image_alt_text: string;
|
|
1200
1202
|
};
|
|
1201
1203
|
};
|
|
1202
1204
|
};
|
|
@@ -1222,6 +1224,8 @@ export interface Routes {
|
|
|
1222
1224
|
created_at: string;
|
|
1223
1225
|
workspace_id: string;
|
|
1224
1226
|
connected_account_ids: string[];
|
|
1227
|
+
image_url: string;
|
|
1228
|
+
image_alt_text: string;
|
|
1225
1229
|
}>;
|
|
1226
1230
|
};
|
|
1227
1231
|
};
|
|
@@ -7446,6 +7450,8 @@ export interface Routes {
|
|
|
7446
7450
|
created_at: string;
|
|
7447
7451
|
workspace_id: string;
|
|
7448
7452
|
connected_account_ids: string[];
|
|
7453
|
+
image_url: string;
|
|
7454
|
+
image_alt_text: string;
|
|
7449
7455
|
}>;
|
|
7450
7456
|
};
|
|
7451
7457
|
};
|
|
@@ -11,6 +11,8 @@ export declare const acs_system: z.ZodObject<{
|
|
|
11
11
|
created_at: z.ZodString;
|
|
12
12
|
workspace_id: z.ZodString;
|
|
13
13
|
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
14
|
+
image_url: z.ZodString;
|
|
15
|
+
image_alt_text: z.ZodString;
|
|
14
16
|
}, "strip", z.ZodTypeAny, {
|
|
15
17
|
name: string;
|
|
16
18
|
workspace_id: string;
|
|
@@ -21,6 +23,8 @@ export declare const acs_system: z.ZodObject<{
|
|
|
21
23
|
system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "assa_abloy_credential_service";
|
|
22
24
|
system_type_display_name: string;
|
|
23
25
|
connected_account_ids: string[];
|
|
26
|
+
image_url: string;
|
|
27
|
+
image_alt_text: string;
|
|
24
28
|
}, {
|
|
25
29
|
name: string;
|
|
26
30
|
workspace_id: string;
|
|
@@ -31,5 +35,7 @@ export declare const acs_system: z.ZodObject<{
|
|
|
31
35
|
system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "assa_abloy_credential_service";
|
|
32
36
|
system_type_display_name: string;
|
|
33
37
|
connected_account_ids: string[];
|
|
38
|
+
image_url: string;
|
|
39
|
+
image_alt_text: string;
|
|
34
40
|
}>;
|
|
35
41
|
export type AcsSystem = z.output<typeof acs_system>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,qCAAqC;IACrC,mBAAmB;IACnB,+BAA+B;CAChC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,qCAAqC;IACrC,mBAAmB;IACnB,+BAA+B;CAChC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAA"}
|
|
@@ -47,7 +47,7 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
47
47
|
offline_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
48
48
|
supports_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
49
49
|
supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
-
}, "name" | "online" | "
|
|
50
|
+
}, "name" | "online" | "image_url" | "image_alt_text" | "battery" | "model" | "battery_level" | "manufacturer" | "online_access_codes_enabled" | "offline_access_codes_enabled">, "strip", z.ZodTypeAny, {
|
|
51
51
|
name: string;
|
|
52
52
|
online: boolean;
|
|
53
53
|
model: {
|
|
@@ -57,14 +57,14 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
57
57
|
online_access_codes_supported?: boolean | undefined;
|
|
58
58
|
accessory_keypad_supported?: boolean | undefined;
|
|
59
59
|
};
|
|
60
|
+
image_url?: string | undefined;
|
|
61
|
+
image_alt_text?: string | undefined;
|
|
60
62
|
battery?: {
|
|
61
63
|
status: "low" | "full" | "critical" | "good";
|
|
62
64
|
level: number;
|
|
63
65
|
} | undefined;
|
|
64
66
|
battery_level?: number | undefined;
|
|
65
|
-
image_url?: string | undefined;
|
|
66
67
|
manufacturer?: string | undefined;
|
|
67
|
-
image_alt_text?: string | undefined;
|
|
68
68
|
online_access_codes_enabled?: boolean | undefined;
|
|
69
69
|
offline_access_codes_enabled?: boolean | undefined;
|
|
70
70
|
}, {
|
|
@@ -77,14 +77,14 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
77
77
|
online_access_codes_supported?: boolean | undefined;
|
|
78
78
|
accessory_keypad_supported?: boolean | undefined;
|
|
79
79
|
};
|
|
80
|
+
image_url?: string | undefined;
|
|
81
|
+
image_alt_text?: string | undefined;
|
|
80
82
|
battery?: {
|
|
81
83
|
status: "low" | "full" | "critical" | "good";
|
|
82
84
|
level: number;
|
|
83
85
|
} | undefined;
|
|
84
86
|
battery_level?: number | undefined;
|
|
85
|
-
image_url?: string | undefined;
|
|
86
87
|
manufacturer?: string | undefined;
|
|
87
|
-
image_alt_text?: string | undefined;
|
|
88
88
|
online_access_codes_enabled?: boolean | undefined;
|
|
89
89
|
offline_access_codes_enabled?: boolean | undefined;
|
|
90
90
|
}>;
|
|
@@ -128,14 +128,14 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
128
128
|
online_access_codes_supported?: boolean | undefined;
|
|
129
129
|
accessory_keypad_supported?: boolean | undefined;
|
|
130
130
|
};
|
|
131
|
+
image_url?: string | undefined;
|
|
132
|
+
image_alt_text?: string | undefined;
|
|
131
133
|
battery?: {
|
|
132
134
|
status: "low" | "full" | "critical" | "good";
|
|
133
135
|
level: number;
|
|
134
136
|
} | undefined;
|
|
135
137
|
battery_level?: number | undefined;
|
|
136
|
-
image_url?: string | undefined;
|
|
137
138
|
manufacturer?: string | undefined;
|
|
138
|
-
image_alt_text?: string | undefined;
|
|
139
139
|
online_access_codes_enabled?: boolean | undefined;
|
|
140
140
|
offline_access_codes_enabled?: boolean | undefined;
|
|
141
141
|
};
|
|
@@ -167,14 +167,14 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
167
167
|
online_access_codes_supported?: boolean | undefined;
|
|
168
168
|
accessory_keypad_supported?: boolean | undefined;
|
|
169
169
|
};
|
|
170
|
+
image_url?: string | undefined;
|
|
171
|
+
image_alt_text?: string | undefined;
|
|
170
172
|
battery?: {
|
|
171
173
|
status: "low" | "full" | "critical" | "good";
|
|
172
174
|
level: number;
|
|
173
175
|
} | undefined;
|
|
174
176
|
battery_level?: number | undefined;
|
|
175
|
-
image_url?: string | undefined;
|
|
176
177
|
manufacturer?: string | undefined;
|
|
177
|
-
image_alt_text?: string | undefined;
|
|
178
178
|
online_access_codes_enabled?: boolean | undefined;
|
|
179
179
|
offline_access_codes_enabled?: boolean | undefined;
|
|
180
180
|
};
|
package/package.json
CHANGED
|
@@ -200,6 +200,8 @@ export default {
|
|
|
200
200
|
type: 'string',
|
|
201
201
|
},
|
|
202
202
|
external_type_display_name: { type: 'string' },
|
|
203
|
+
image_alt_text: { type: 'string' },
|
|
204
|
+
image_url: { type: 'string' },
|
|
203
205
|
name: { type: 'string' },
|
|
204
206
|
system_type: {
|
|
205
207
|
description: 'deprecated: use external_type',
|
|
@@ -230,6 +232,8 @@ export default {
|
|
|
230
232
|
'created_at',
|
|
231
233
|
'workspace_id',
|
|
232
234
|
'connected_account_ids',
|
|
235
|
+
'image_url',
|
|
236
|
+
'image_alt_text',
|
|
233
237
|
],
|
|
234
238
|
type: 'object',
|
|
235
239
|
},
|
|
@@ -1334,6 +1334,8 @@ export interface Routes {
|
|
|
1334
1334
|
created_at: string
|
|
1335
1335
|
workspace_id: string
|
|
1336
1336
|
connected_account_ids: string[]
|
|
1337
|
+
image_url: string
|
|
1338
|
+
image_alt_text: string
|
|
1337
1339
|
}
|
|
1338
1340
|
}
|
|
1339
1341
|
}
|
|
@@ -1373,6 +1375,8 @@ export interface Routes {
|
|
|
1373
1375
|
created_at: string
|
|
1374
1376
|
workspace_id: string
|
|
1375
1377
|
connected_account_ids: string[]
|
|
1378
|
+
image_url: string
|
|
1379
|
+
image_alt_text: string
|
|
1376
1380
|
}>
|
|
1377
1381
|
}
|
|
1378
1382
|
}
|
|
@@ -10260,6 +10264,8 @@ export interface Routes {
|
|
|
10260
10264
|
created_at: string
|
|
10261
10265
|
workspace_id: string
|
|
10262
10266
|
connected_account_ids: string[]
|
|
10267
|
+
image_url: string
|
|
10268
|
+
image_alt_text: string
|
|
10263
10269
|
}>
|
|
10264
10270
|
}
|
|
10265
10271
|
}
|
|
@@ -27,6 +27,8 @@ export const acs_system = z.object({
|
|
|
27
27
|
created_at: z.string().datetime(),
|
|
28
28
|
workspace_id: z.string().uuid(),
|
|
29
29
|
connected_account_ids: z.array(z.string()),
|
|
30
|
+
image_url: z.string(),
|
|
31
|
+
image_alt_text: z.string(),
|
|
30
32
|
})
|
|
31
33
|
|
|
32
34
|
export type AcsSystem = z.output<typeof acs_system>
|