@seamapi/types 1.445.0 → 1.446.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 +148 -103
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +230 -135
- package/dist/index.cjs +148 -103
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +16 -12
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.js +1 -1
- package/lib/seam/connect/models/access-grants/requested-access-method.js +1 -1
- package/lib/seam/connect/models/batches/batch.d.ts +5 -0
- package/lib/seam/connect/models/batches/spaces.d.ts +5 -0
- package/lib/seam/connect/models/events/access-grants.js +6 -6
- package/lib/seam/connect/models/events/access-methods.js +1 -1
- package/lib/seam/connect/models/spaces/space.d.ts +3 -0
- package/lib/seam/connect/models/spaces/space.js +4 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +86 -38
- package/lib/seam/connect/openapi.js +140 -96
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +133 -97
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +16 -12
- package/src/lib/seam/connect/models/access-grants/access-method.ts +1 -1
- package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +1 -1
- package/src/lib/seam/connect/models/events/access-grants.ts +6 -6
- package/src/lib/seam/connect/models/events/access-methods.ts +1 -1
- package/src/lib/seam/connect/models/spaces/space.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +147 -96
- package/src/lib/seam/connect/route-types.ts +144 -104
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const access_grant: z.ZodObject<{
|
|
3
3
|
workspace_id: z.ZodString;
|
|
4
4
|
access_grant_id: z.ZodString;
|
|
5
|
+
access_grant_key: z.ZodOptional<z.ZodString>;
|
|
5
6
|
user_identity_id: z.ZodString;
|
|
6
7
|
location_ids: z.ZodArray<z.ZodString, "many">;
|
|
7
8
|
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -44,6 +45,7 @@ export declare const access_grant: z.ZodObject<{
|
|
|
44
45
|
access_method_ids: string[];
|
|
45
46
|
starts_at?: string | undefined;
|
|
46
47
|
ends_at?: string | undefined;
|
|
48
|
+
access_grant_key?: string | undefined;
|
|
47
49
|
instant_key_url?: string | undefined;
|
|
48
50
|
}, {
|
|
49
51
|
display_name: string;
|
|
@@ -62,6 +64,7 @@ export declare const access_grant: z.ZodObject<{
|
|
|
62
64
|
access_method_ids: string[];
|
|
63
65
|
starts_at?: string | undefined;
|
|
64
66
|
ends_at?: string | undefined;
|
|
67
|
+
access_grant_key?: string | undefined;
|
|
65
68
|
instant_key_url?: string | undefined;
|
|
66
69
|
}>;
|
|
67
70
|
export type AccessGrant = z.infer<typeof access_grant>;
|
|
@@ -4,12 +4,16 @@ export const access_grant = z.object({
|
|
|
4
4
|
workspace_id: z
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
|
-
.describe('ID of the Seam workspace associated with the
|
|
8
|
-
access_grant_id: z.string().uuid().describe('ID of the
|
|
7
|
+
.describe('ID of the Seam workspace associated with the Access Grant.'),
|
|
8
|
+
access_grant_id: z.string().uuid().describe('ID of the Access Grant.'),
|
|
9
|
+
access_grant_key: z
|
|
10
|
+
.string()
|
|
11
|
+
.optional()
|
|
12
|
+
.describe('Unique key for the access grant within the workspace.'),
|
|
9
13
|
user_identity_id: z
|
|
10
14
|
.string()
|
|
11
15
|
.uuid()
|
|
12
|
-
.describe('ID of user identity to which the
|
|
16
|
+
.describe('ID of user identity to which the Access Grant gives access.'),
|
|
13
17
|
location_ids: z.array(z.string().uuid()).describe(`
|
|
14
18
|
---
|
|
15
19
|
deprecated: Use \`space_ids\`.
|
|
@@ -17,38 +21,38 @@ export const access_grant = z.object({
|
|
|
17
21
|
`),
|
|
18
22
|
space_ids: z
|
|
19
23
|
.array(z.string().uuid())
|
|
20
|
-
.describe('IDs of the spaces to which the
|
|
24
|
+
.describe('IDs of the spaces to which the Access Grant gives access.'),
|
|
21
25
|
requested_access_methods: z
|
|
22
26
|
.array(requested_access_method)
|
|
23
|
-
.describe('Access methods that the user requested for the
|
|
27
|
+
.describe('Access methods that the user requested for the Access Grant.'),
|
|
24
28
|
access_method_ids: z
|
|
25
29
|
.array(z.string().uuid())
|
|
26
|
-
.describe('IDs of the access methods created for the
|
|
27
|
-
display_name: z.string().describe('Display name of the
|
|
30
|
+
.describe('IDs of the access methods created for the Access Grant.'),
|
|
31
|
+
display_name: z.string().describe('Display name of the Access Grant.'),
|
|
28
32
|
instant_key_url: z
|
|
29
33
|
.string()
|
|
30
34
|
.url()
|
|
31
35
|
.optional()
|
|
32
|
-
.describe('Instant Key URL. Only returned if the
|
|
36
|
+
.describe('Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. '),
|
|
33
37
|
created_at: z
|
|
34
38
|
.string()
|
|
35
39
|
.datetime()
|
|
36
|
-
.describe('Date and time at which the
|
|
40
|
+
.describe('Date and time at which the Access Grant was created.'),
|
|
37
41
|
starts_at: z
|
|
38
42
|
.string()
|
|
39
43
|
.datetime()
|
|
40
44
|
.optional()
|
|
41
|
-
.describe('Date and time at which the
|
|
45
|
+
.describe('Date and time at which the Access Grant starts.'),
|
|
42
46
|
ends_at: z
|
|
43
47
|
.string()
|
|
44
48
|
.datetime()
|
|
45
49
|
.optional()
|
|
46
|
-
.describe('Date and time at which the
|
|
50
|
+
.describe('Date and time at which the Access Grant ends.'),
|
|
47
51
|
}).describe(`
|
|
48
52
|
---
|
|
49
53
|
draft: Early access.
|
|
50
54
|
route_path: /access_grants
|
|
51
55
|
---
|
|
52
|
-
Represents an
|
|
56
|
+
Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant.
|
|
53
57
|
`);
|
|
54
58
|
//# sourceMappingURL=access-grant.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-grant.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-grant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAEtE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,4DAA4D,CAAC;IACzE,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACtE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;GAIjD,CAAC;IACF,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,2DAA2D,CAAC;IACxE,wBAAwB,EAAE,CAAC;SACxB,KAAK,CAAC,uBAAuB,CAAC;SAC9B,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,yDAAyD,CAAC;IACtE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IACtE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,4FAA4F,CAC7F;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;CAC7D,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"access-grant.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-grant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAEtE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,4DAA4D,CAAC;IACzE,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACtE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;GAIjD,CAAC;IACF,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,2DAA2D,CAAC;IACxE,wBAAwB,EAAE,CAAC;SACxB,KAAK,CAAC,uBAAuB,CAAC;SAC9B,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,yDAAyD,CAAC;IACtE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IACtE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,4FAA4F,CAC7F;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;CAC7D,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
@@ -36,6 +36,6 @@ export const access_method = z.object({
|
|
|
36
36
|
draft: Early access.
|
|
37
37
|
route_path: /access_methods
|
|
38
38
|
---
|
|
39
|
-
Represents an access method for an
|
|
39
|
+
Represents an access method for an Access Grant. Access methods describe the modes of access, such as PIN codes, plastic cards, and mobile keys. For a mobile key, the access method also stores the URL for the associated Instant Key.
|
|
40
40
|
`);
|
|
41
41
|
//# sourceMappingURL=access-method.js.map
|
|
@@ -7,7 +7,7 @@ export const requested_access_method = z.object({
|
|
|
7
7
|
created_at: z
|
|
8
8
|
.string()
|
|
9
9
|
.datetime()
|
|
10
|
-
.describe('Date and time at which the requested access method was added to the
|
|
10
|
+
.describe('Date and time at which the requested access method was added to the Access Grant.'),
|
|
11
11
|
created_access_method_ids: z
|
|
12
12
|
.array(z.string().uuid())
|
|
13
13
|
.describe('IDs of the access methods created for the requested access method.'),
|
|
@@ -4,6 +4,7 @@ export declare const batch: z.ZodObject<{
|
|
|
4
4
|
spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5
5
|
space_id: z.ZodString;
|
|
6
6
|
workspace_id: z.ZodString;
|
|
7
|
+
space_key: z.ZodOptional<z.ZodString>;
|
|
7
8
|
name: z.ZodString;
|
|
8
9
|
display_name: z.ZodString;
|
|
9
10
|
created_at: z.ZodString;
|
|
@@ -17,6 +18,7 @@ export declare const batch: z.ZodObject<{
|
|
|
17
18
|
space_id: string;
|
|
18
19
|
device_count: number;
|
|
19
20
|
acs_entrance_count: number;
|
|
21
|
+
space_key?: string | undefined;
|
|
20
22
|
}, {
|
|
21
23
|
name: string;
|
|
22
24
|
display_name: string;
|
|
@@ -25,6 +27,7 @@ export declare const batch: z.ZodObject<{
|
|
|
25
27
|
space_id: string;
|
|
26
28
|
device_count: number;
|
|
27
29
|
acs_entrance_count: number;
|
|
30
|
+
space_key?: string | undefined;
|
|
28
31
|
}>, "many">>;
|
|
29
32
|
devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30
33
|
device_id: z.ZodString;
|
|
@@ -4283,6 +4286,7 @@ export declare const batch: z.ZodObject<{
|
|
|
4283
4286
|
space_id: string;
|
|
4284
4287
|
device_count: number;
|
|
4285
4288
|
acs_entrance_count: number;
|
|
4289
|
+
space_key?: string | undefined;
|
|
4286
4290
|
}[] | undefined;
|
|
4287
4291
|
devices?: {
|
|
4288
4292
|
location: {
|
|
@@ -4983,6 +4987,7 @@ export declare const batch: z.ZodObject<{
|
|
|
4983
4987
|
space_id: string;
|
|
4984
4988
|
device_count: number;
|
|
4985
4989
|
acs_entrance_count: number;
|
|
4990
|
+
space_key?: string | undefined;
|
|
4986
4991
|
}[] | undefined;
|
|
4987
4992
|
devices?: {
|
|
4988
4993
|
location: {
|
|
@@ -4,6 +4,7 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
4
4
|
spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5
5
|
space_id: z.ZodString;
|
|
6
6
|
workspace_id: z.ZodString;
|
|
7
|
+
space_key: z.ZodOptional<z.ZodString>;
|
|
7
8
|
name: z.ZodString;
|
|
8
9
|
display_name: z.ZodString;
|
|
9
10
|
created_at: z.ZodString;
|
|
@@ -17,6 +18,7 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
17
18
|
space_id: string;
|
|
18
19
|
device_count: number;
|
|
19
20
|
acs_entrance_count: number;
|
|
21
|
+
space_key?: string | undefined;
|
|
20
22
|
}, {
|
|
21
23
|
name: string;
|
|
22
24
|
display_name: string;
|
|
@@ -25,6 +27,7 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
25
27
|
space_id: string;
|
|
26
28
|
device_count: number;
|
|
27
29
|
acs_entrance_count: number;
|
|
30
|
+
space_key?: string | undefined;
|
|
28
31
|
}>, "many">>;
|
|
29
32
|
devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30
33
|
device_id: z.ZodString;
|
|
@@ -4283,6 +4286,7 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
4283
4286
|
space_id: string;
|
|
4284
4287
|
device_count: number;
|
|
4285
4288
|
acs_entrance_count: number;
|
|
4289
|
+
space_key?: string | undefined;
|
|
4286
4290
|
}[] | undefined;
|
|
4287
4291
|
devices?: {
|
|
4288
4292
|
location: {
|
|
@@ -4983,6 +4987,7 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
4983
4987
|
space_id: string;
|
|
4984
4988
|
device_count: number;
|
|
4985
4989
|
acs_entrance_count: number;
|
|
4990
|
+
space_key?: string | undefined;
|
|
4986
4991
|
}[] | undefined;
|
|
4987
4992
|
devices?: {
|
|
4988
4993
|
location: {
|
|
@@ -4,7 +4,7 @@ const access_grant_event = common_event.extend({
|
|
|
4
4
|
access_grant_id: z
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
|
-
.describe('ID of the affected
|
|
7
|
+
.describe('ID of the affected Access Grant.'),
|
|
8
8
|
});
|
|
9
9
|
export const access_grant_created_event = access_grant_event.extend({
|
|
10
10
|
event_type: z.literal('access_grant.created'),
|
|
@@ -12,7 +12,7 @@ export const access_grant_created_event = access_grant_event.extend({
|
|
|
12
12
|
---
|
|
13
13
|
route_path: /access_grants
|
|
14
14
|
---
|
|
15
|
-
An
|
|
15
|
+
An Access Grant was created.
|
|
16
16
|
`);
|
|
17
17
|
export const access_grant_deleted_event = access_grant_event.extend({
|
|
18
18
|
event_type: z.literal('access_grant.deleted'),
|
|
@@ -20,7 +20,7 @@ export const access_grant_deleted_event = access_grant_event.extend({
|
|
|
20
20
|
---
|
|
21
21
|
route_path: /access_grants
|
|
22
22
|
---
|
|
23
|
-
An
|
|
23
|
+
An Access Grant was deleted.
|
|
24
24
|
`);
|
|
25
25
|
export const access_grant_access_granted_to_all_doors_event = access_grant_event.extend({
|
|
26
26
|
event_type: z.literal('access_grant.access_granted_to_all_doors'),
|
|
@@ -28,7 +28,7 @@ export const access_grant_access_granted_to_all_doors_event = access_grant_event
|
|
|
28
28
|
---
|
|
29
29
|
route_path: /access_grants
|
|
30
30
|
---
|
|
31
|
-
All access requested for an
|
|
31
|
+
All access requested for an Access Grant was successfully granted.
|
|
32
32
|
`);
|
|
33
33
|
const acs_entrance_id = z
|
|
34
34
|
.string()
|
|
@@ -41,7 +41,7 @@ export const access_grant_access_granted_to_door_event = access_grant_event.exte
|
|
|
41
41
|
---
|
|
42
42
|
route_path: /access_grants
|
|
43
43
|
---
|
|
44
|
-
Access requested as part of an
|
|
44
|
+
Access requested as part of an Access Grant to a particular door was successfully granted.
|
|
45
45
|
`);
|
|
46
46
|
export const access_grant_access_to_door_lost_event = access_grant_event.extend({
|
|
47
47
|
event_type: z.literal('access_grant.access_to_door_lost'),
|
|
@@ -50,7 +50,7 @@ export const access_grant_access_to_door_lost_event = access_grant_event.extend(
|
|
|
50
50
|
---
|
|
51
51
|
route_path: /access_grants
|
|
52
52
|
---
|
|
53
|
-
Access to a particular door that was requested as part of an
|
|
53
|
+
Access to a particular door that was requested as part of an Access Grant was lost.
|
|
54
54
|
`);
|
|
55
55
|
export const access_grant_events = [
|
|
56
56
|
access_grant_created_event,
|
|
@@ -44,7 +44,7 @@ export const access_method_reissued_event = access_method_event.extend({
|
|
|
44
44
|
---
|
|
45
45
|
route_path: /access_methods
|
|
46
46
|
---
|
|
47
|
-
An access method was reissued due to an
|
|
47
|
+
An access method was reissued due to an Access Grant update.
|
|
48
48
|
`);
|
|
49
49
|
export const access_method_events = [
|
|
50
50
|
access_method_issued_event,
|
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const space: z.ZodObject<{
|
|
3
3
|
space_id: z.ZodString;
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
|
+
space_key: z.ZodOptional<z.ZodString>;
|
|
5
6
|
name: z.ZodString;
|
|
6
7
|
display_name: z.ZodString;
|
|
7
8
|
created_at: z.ZodString;
|
|
@@ -15,6 +16,7 @@ export declare const space: z.ZodObject<{
|
|
|
15
16
|
space_id: string;
|
|
16
17
|
device_count: number;
|
|
17
18
|
acs_entrance_count: number;
|
|
19
|
+
space_key?: string | undefined;
|
|
18
20
|
}, {
|
|
19
21
|
name: string;
|
|
20
22
|
display_name: string;
|
|
@@ -23,5 +25,6 @@ export declare const space: z.ZodObject<{
|
|
|
23
25
|
space_id: string;
|
|
24
26
|
device_count: number;
|
|
25
27
|
acs_entrance_count: number;
|
|
28
|
+
space_key?: string | undefined;
|
|
26
29
|
}>;
|
|
27
30
|
export type Space = z.infer<typeof space>;
|
|
@@ -5,6 +5,10 @@ export const space = z.object({
|
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
7
|
.describe('ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space.'),
|
|
8
|
+
space_key: z
|
|
9
|
+
.string()
|
|
10
|
+
.optional()
|
|
11
|
+
.describe('Unique key for the space within the workspace.'),
|
|
8
12
|
name: z.string().describe('Name of the space.'),
|
|
9
13
|
display_name: z.string().describe('Display name for the space.'),
|
|
10
14
|
created_at: z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACpE,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;CAC7E,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACpE,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;CAC7E,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
@@ -380,6 +380,10 @@ declare const _default: {
|
|
|
380
380
|
format: string;
|
|
381
381
|
type: string;
|
|
382
382
|
};
|
|
383
|
+
access_grant_key: {
|
|
384
|
+
description: string;
|
|
385
|
+
type: string;
|
|
386
|
+
};
|
|
383
387
|
access_method_ids: {
|
|
384
388
|
description: string;
|
|
385
389
|
items: {
|
|
@@ -11077,6 +11081,10 @@ declare const _default: {
|
|
|
11077
11081
|
format: string;
|
|
11078
11082
|
type: string;
|
|
11079
11083
|
};
|
|
11084
|
+
space_key: {
|
|
11085
|
+
description: string;
|
|
11086
|
+
type: string;
|
|
11087
|
+
};
|
|
11080
11088
|
workspace_id: {
|
|
11081
11089
|
description: string;
|
|
11082
11090
|
format: string;
|
|
@@ -16303,6 +16311,10 @@ declare const _default: {
|
|
|
16303
16311
|
type?: never;
|
|
16304
16312
|
} | {
|
|
16305
16313
|
properties: {
|
|
16314
|
+
access_grant_key: {
|
|
16315
|
+
description: string;
|
|
16316
|
+
type: string;
|
|
16317
|
+
};
|
|
16306
16318
|
acs_entrance_ids: {
|
|
16307
16319
|
default: never[];
|
|
16308
16320
|
description: string;
|
|
@@ -16602,16 +16614,6 @@ declare const _default: {
|
|
|
16602
16614
|
get: {
|
|
16603
16615
|
description: string;
|
|
16604
16616
|
operationId: string;
|
|
16605
|
-
parameters: {
|
|
16606
|
-
in: string;
|
|
16607
|
-
name: string;
|
|
16608
|
-
required: boolean;
|
|
16609
|
-
schema: {
|
|
16610
|
-
description: string;
|
|
16611
|
-
format: string;
|
|
16612
|
-
type: string;
|
|
16613
|
-
};
|
|
16614
|
-
}[];
|
|
16615
16617
|
responses: {
|
|
16616
16618
|
200: {
|
|
16617
16619
|
content: {
|
|
@@ -16676,15 +16678,28 @@ declare const _default: {
|
|
|
16676
16678
|
content: {
|
|
16677
16679
|
'application/json': {
|
|
16678
16680
|
schema: {
|
|
16679
|
-
|
|
16680
|
-
|
|
16681
|
-
|
|
16682
|
-
|
|
16683
|
-
|
|
16681
|
+
oneOf: ({
|
|
16682
|
+
properties: {
|
|
16683
|
+
access_grant_id: {
|
|
16684
|
+
description: string;
|
|
16685
|
+
format: string;
|
|
16686
|
+
type: string;
|
|
16687
|
+
};
|
|
16688
|
+
access_grant_key?: never;
|
|
16684
16689
|
};
|
|
16685
|
-
|
|
16686
|
-
|
|
16687
|
-
|
|
16690
|
+
required: string[];
|
|
16691
|
+
type: string;
|
|
16692
|
+
} | {
|
|
16693
|
+
properties: {
|
|
16694
|
+
access_grant_key: {
|
|
16695
|
+
description: string;
|
|
16696
|
+
type: string;
|
|
16697
|
+
};
|
|
16698
|
+
access_grant_id?: never;
|
|
16699
|
+
};
|
|
16700
|
+
required: string[];
|
|
16701
|
+
type: string;
|
|
16702
|
+
})[];
|
|
16688
16703
|
};
|
|
16689
16704
|
};
|
|
16690
16705
|
};
|
|
@@ -16771,6 +16786,16 @@ declare const _default: {
|
|
|
16771
16786
|
'x-deprecated': string;
|
|
16772
16787
|
description?: never;
|
|
16773
16788
|
};
|
|
16789
|
+
} | {
|
|
16790
|
+
in: string;
|
|
16791
|
+
name: string;
|
|
16792
|
+
schema: {
|
|
16793
|
+
description: string;
|
|
16794
|
+
type: string;
|
|
16795
|
+
format?: never;
|
|
16796
|
+
deprecated?: never;
|
|
16797
|
+
'x-deprecated'?: never;
|
|
16798
|
+
};
|
|
16774
16799
|
})[];
|
|
16775
16800
|
responses: {
|
|
16776
16801
|
200: {
|
|
@@ -16840,6 +16865,10 @@ declare const _default: {
|
|
|
16840
16865
|
'application/json': {
|
|
16841
16866
|
schema: {
|
|
16842
16867
|
properties: {
|
|
16868
|
+
access_grant_key: {
|
|
16869
|
+
description: string;
|
|
16870
|
+
type: string;
|
|
16871
|
+
};
|
|
16843
16872
|
acs_entrance_id: {
|
|
16844
16873
|
description: string;
|
|
16845
16874
|
format: string;
|
|
@@ -37525,6 +37554,10 @@ declare const _default: {
|
|
|
37525
37554
|
description: string;
|
|
37526
37555
|
type: string;
|
|
37527
37556
|
};
|
|
37557
|
+
space_key: {
|
|
37558
|
+
description: string;
|
|
37559
|
+
type: string;
|
|
37560
|
+
};
|
|
37528
37561
|
};
|
|
37529
37562
|
required: string[];
|
|
37530
37563
|
type: string;
|
|
@@ -37718,16 +37751,6 @@ declare const _default: {
|
|
|
37718
37751
|
get: {
|
|
37719
37752
|
description: string;
|
|
37720
37753
|
operationId: string;
|
|
37721
|
-
parameters: {
|
|
37722
|
-
in: string;
|
|
37723
|
-
name: string;
|
|
37724
|
-
required: boolean;
|
|
37725
|
-
schema: {
|
|
37726
|
-
description: string;
|
|
37727
|
-
format: string;
|
|
37728
|
-
type: string;
|
|
37729
|
-
};
|
|
37730
|
-
}[];
|
|
37731
37754
|
responses: {
|
|
37732
37755
|
200: {
|
|
37733
37756
|
content: {
|
|
@@ -37784,15 +37807,28 @@ declare const _default: {
|
|
|
37784
37807
|
content: {
|
|
37785
37808
|
'application/json': {
|
|
37786
37809
|
schema: {
|
|
37787
|
-
|
|
37788
|
-
|
|
37789
|
-
|
|
37790
|
-
|
|
37791
|
-
|
|
37810
|
+
oneOf: ({
|
|
37811
|
+
properties: {
|
|
37812
|
+
space_id: {
|
|
37813
|
+
description: string;
|
|
37814
|
+
format: string;
|
|
37815
|
+
type: string;
|
|
37816
|
+
};
|
|
37817
|
+
space_key?: never;
|
|
37792
37818
|
};
|
|
37793
|
-
|
|
37794
|
-
|
|
37795
|
-
|
|
37819
|
+
required: string[];
|
|
37820
|
+
type: string;
|
|
37821
|
+
} | {
|
|
37822
|
+
properties: {
|
|
37823
|
+
space_key: {
|
|
37824
|
+
description: string;
|
|
37825
|
+
type: string;
|
|
37826
|
+
};
|
|
37827
|
+
space_id?: never;
|
|
37828
|
+
};
|
|
37829
|
+
required: string[];
|
|
37830
|
+
type: string;
|
|
37831
|
+
})[];
|
|
37796
37832
|
};
|
|
37797
37833
|
};
|
|
37798
37834
|
};
|
|
@@ -38074,7 +38110,7 @@ declare const _default: {
|
|
|
38074
38110
|
get: {
|
|
38075
38111
|
description: string;
|
|
38076
38112
|
operationId: string;
|
|
38077
|
-
parameters: {
|
|
38113
|
+
parameters: ({
|
|
38078
38114
|
in: string;
|
|
38079
38115
|
name: string;
|
|
38080
38116
|
schema: {
|
|
@@ -38082,7 +38118,15 @@ declare const _default: {
|
|
|
38082
38118
|
minLength: number;
|
|
38083
38119
|
type: string;
|
|
38084
38120
|
};
|
|
38085
|
-
}
|
|
38121
|
+
} | {
|
|
38122
|
+
in: string;
|
|
38123
|
+
name: string;
|
|
38124
|
+
schema: {
|
|
38125
|
+
description: string;
|
|
38126
|
+
type: string;
|
|
38127
|
+
minLength?: never;
|
|
38128
|
+
};
|
|
38129
|
+
})[];
|
|
38086
38130
|
responses: {
|
|
38087
38131
|
200: {
|
|
38088
38132
|
content: {
|
|
@@ -38148,6 +38192,10 @@ declare const _default: {
|
|
|
38148
38192
|
minLength: number;
|
|
38149
38193
|
type: string;
|
|
38150
38194
|
};
|
|
38195
|
+
space_key: {
|
|
38196
|
+
description: string;
|
|
38197
|
+
type: string;
|
|
38198
|
+
};
|
|
38151
38199
|
};
|
|
38152
38200
|
type: string;
|
|
38153
38201
|
};
|