@seamapi/types 1.563.0 → 1.565.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 +7841 -119
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +5720 -6
- package/dist/index.cjs +7841 -119
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +12 -0
- package/lib/seam/connect/models/batch.js +12 -2
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +5856 -156
- package/lib/seam/connect/openapi.js +7833 -115
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +12 -2
- package/src/lib/seam/connect/openapi.ts +9183 -117
- package/src/lib/seam/connect/route-types.ts +14 -0
|
@@ -58229,10 +58229,17 @@ export type Routes = {
|
|
|
58229
58229
|
ends_at: string | null;
|
|
58230
58230
|
created_at: string;
|
|
58231
58231
|
guest_name: string | null;
|
|
58232
|
+
spaces: {
|
|
58233
|
+
space_id: string | null;
|
|
58234
|
+
space_key: string;
|
|
58235
|
+
name: string | null;
|
|
58236
|
+
}[];
|
|
58232
58237
|
access_methods: {
|
|
58233
58238
|
access_method_id: string;
|
|
58234
58239
|
mode: string;
|
|
58235
58240
|
is_issued: boolean;
|
|
58241
|
+
is_card_encoding_required?: boolean | undefined;
|
|
58242
|
+
code?: (string | null) | undefined;
|
|
58236
58243
|
}[];
|
|
58237
58244
|
};
|
|
58238
58245
|
};
|
|
@@ -58269,6 +58276,11 @@ export type Routes = {
|
|
|
58269
58276
|
mode: string;
|
|
58270
58277
|
is_issued: boolean;
|
|
58271
58278
|
}[];
|
|
58279
|
+
spaces: {
|
|
58280
|
+
space_id: string | null;
|
|
58281
|
+
space_key: string;
|
|
58282
|
+
name: string | null;
|
|
58283
|
+
}[];
|
|
58272
58284
|
}[];
|
|
58273
58285
|
/** Information about the current page of results. */
|
|
58274
58286
|
pagination: {
|
|
@@ -60259,6 +60271,7 @@ export type Routes = {
|
|
|
60259
60271
|
can_simulate_hub_connection?: boolean | undefined;
|
|
60260
60272
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
60261
60273
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
60274
|
+
space_ids: string[];
|
|
60262
60275
|
}[] | undefined;
|
|
60263
60276
|
acs_entrances?: {
|
|
60264
60277
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -60378,6 +60391,7 @@ export type Routes = {
|
|
|
60378
60391
|
can_unlock_with_card?: boolean | undefined;
|
|
60379
60392
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
60380
60393
|
can_unlock_with_code?: boolean | undefined;
|
|
60394
|
+
space_ids: string[];
|
|
60381
60395
|
}[] | undefined;
|
|
60382
60396
|
connected_accounts?: {
|
|
60383
60397
|
/** ID of the connected account. */
|
package/package.json
CHANGED
|
@@ -36,8 +36,18 @@ export const spaces_batch = z
|
|
|
36
36
|
.object({
|
|
37
37
|
batch_type: z.literal('spaces'),
|
|
38
38
|
spaces: space.array().optional(),
|
|
39
|
-
devices: device
|
|
40
|
-
|
|
39
|
+
devices: device
|
|
40
|
+
.extend({
|
|
41
|
+
space_ids: z.array(z.string().uuid()),
|
|
42
|
+
})
|
|
43
|
+
.array()
|
|
44
|
+
.optional(),
|
|
45
|
+
acs_entrances: acs_entrance
|
|
46
|
+
.extend({
|
|
47
|
+
space_ids: z.array(z.string().uuid()),
|
|
48
|
+
})
|
|
49
|
+
.array()
|
|
50
|
+
.optional(),
|
|
41
51
|
connected_accounts: connected_account.array().optional(),
|
|
42
52
|
acs_systems: acs_system.array().optional(),
|
|
43
53
|
})
|