@seamapi/types 1.460.0 → 1.460.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.460.0",
3
+ "version": "1.460.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -4,6 +4,7 @@ export {
4
4
  access_grant_key_aliases,
5
5
  access_grant_resource,
6
6
  access_grant_resource_union,
7
+ access_grants_batch,
7
8
  access_method,
8
9
  acs_access_group,
9
10
  acs_access_group_external_type,
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod'
2
2
 
3
+ import { acs_system } from './acs/acs-system.js'
3
4
  import { acs_entrance } from './acs/index.js'
5
+ import { connected_account } from './connected-accounts/index.js'
4
6
  import { device } from './devices/index.js'
5
7
  import { space } from './spaces/index.js'
6
8
  import { user_identity } from './user-identities/index.js'
@@ -12,6 +14,8 @@ export const spaces_batch = z
12
14
  spaces: space.array().optional(),
13
15
  devices: device.array().optional(),
14
16
  acs_entrances: acs_entrance.array().optional(),
17
+ connected_accounts: connected_account.array().optional(),
18
+ acs_systems: acs_system.array().optional(),
15
19
  })
16
20
  .describe('ID of the affected access system user.')
17
21
 
@@ -20,6 +24,9 @@ export const access_grants_batch = z.object({
20
24
  spaces: space.array().optional(),
21
25
  devices: device.array().optional(),
22
26
  acs_entrances: acs_entrance.array().optional(),
27
+ user_identities: user_identity.array().optional(),
28
+ connected_accounts: connected_account.array().optional(),
29
+ acs_systems: acs_system.array().optional(),
23
30
  })
24
31
 
25
32
  export const access_methods_batch = z.object({
@@ -4,7 +4,8 @@ import { z } from 'zod'
4
4
  const base_access_grant_resource = z.object({
5
5
  name: z
6
6
  .string()
7
- .describe('Your display name for this access grant resource.'),
7
+ .optional()
8
+ .describe('Your name for this access grant resource.'),
8
9
  starts_at: z
9
10
  .string()
10
11
  .optional()
@@ -2,6 +2,7 @@ import { z } from 'zod'
2
2
 
3
3
  import { acs_credential } from '../acs/acs-credential.js'
4
4
  import { acs_entrance } from '../acs/acs-entrance.js'
5
+ import { user_identity } from '../user-identities/user-identity.js'
5
6
  import { phone_registration } from './phone-registration.js'
6
7
 
7
8
  const phone_provider_session = z
@@ -26,6 +27,10 @@ export const phone_session = z.object({
26
27
  provider_sessions: phone_provider_session
27
28
  .array()
28
29
  .describe('Phone provider sessions.'),
30
+
31
+ user_identity: user_identity.describe('User identity.'),
32
+
33
+ workspace_id: z.string().describe('Workspace ID.'),
29
34
  }).describe(`
30
35
  ---
31
36
  route_path: /seam/mobile_sdk/v1/phone_sessions