@seamapi/types 1.490.0 → 1.492.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.490.0",
3
+ "version": "1.492.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod'
2
2
 
3
+ import { access_code, unmanaged_access_code } from './access-codes/index.js'
3
4
  import { access_grant } from './access-grants/access-grant.js'
4
5
  import { access_method } from './access-grants/access-method.js'
5
6
  import {
@@ -79,6 +80,8 @@ export const workspaces_batch = z
79
80
  access_grants: access_grant.array().optional(),
80
81
  events: seam_event.array().optional(),
81
82
  instant_keys: instant_key.array().optional(),
83
+ access_codes: access_code.array().optional(),
84
+ unmanaged_access_codes: unmanaged_access_code.array().optional(),
82
85
  })
83
86
  .describe('A batch of workspace resources.')
84
87
 
@@ -111,6 +114,8 @@ export const batch = z
111
114
  access_grants: access_grant.array().optional(),
112
115
  events: seam_event.array().optional(),
113
116
  instant_keys: instant_key.array().optional(),
117
+ access_codes: access_code.array().optional(),
118
+ unmanaged_access_codes: unmanaged_access_code.array().optional(),
114
119
  })
115
120
  .describe('A batch of workspace resources.')
116
121
 
@@ -32,6 +32,31 @@ export const instant_key = z.object({
32
32
  .string()
33
33
  .datetime()
34
34
  .describe('Date and time at which the Instant Key expires.'),
35
+ customization_profile_id: z
36
+ .string()
37
+ .uuid()
38
+ .optional()
39
+ .describe(
40
+ 'ID of the customization profile associated with the Instant Key.',
41
+ ),
42
+ customization_profile: z
43
+ .object({
44
+ primary_color: z
45
+ .string()
46
+ .optional()
47
+ .describe('Primary color of the customization profile.'),
48
+ secondary_color: z
49
+ .string()
50
+ .optional()
51
+ .describe('Secondary color of the customization profile.'),
52
+ logo_url: z
53
+ .string()
54
+ .url()
55
+ .optional()
56
+ .describe('URL of the logo associated with the customization profile.'),
57
+ })
58
+ .optional()
59
+ .describe('Customization profile associated with the Instant Key.'),
35
60
  }).describe(`
36
61
  ---
37
62
  route_path: /instant_keys
@@ -19041,6 +19041,33 @@ export default {
19041
19041
  format: 'date-time',
19042
19042
  type: 'string',
19043
19043
  },
19044
+ customization_profile: {
19045
+ description:
19046
+ 'Customization profile associated with the Instant Key.',
19047
+ properties: {
19048
+ logo_url: {
19049
+ description:
19050
+ 'URL of the logo associated with the customization profile.',
19051
+ format: 'uri',
19052
+ type: 'string',
19053
+ },
19054
+ primary_color: {
19055
+ description: 'Primary color of the customization profile.',
19056
+ type: 'string',
19057
+ },
19058
+ secondary_color: {
19059
+ description: 'Secondary color of the customization profile.',
19060
+ type: 'string',
19061
+ },
19062
+ },
19063
+ type: 'object',
19064
+ },
19065
+ customization_profile_id: {
19066
+ description:
19067
+ 'ID of the customization profile associated with the Instant Key.',
19068
+ format: 'uuid',
19069
+ type: 'string',
19070
+ },
19044
19071
  expires_at: {
19045
19072
  description: 'Date and time at which the Instant Key expires.',
19046
19073
  format: 'date-time',
@@ -29167,6 +29194,10 @@ export default {
29167
29194
  batch: {
29168
29195
  description: 'A batch of workspace resources.',
29169
29196
  properties: {
29197
+ access_codes: {
29198
+ items: { $ref: '#/components/schemas/access_code' },
29199
+ type: 'array',
29200
+ },
29170
29201
  access_grants: {
29171
29202
  items: { $ref: '#/components/schemas/access_grant' },
29172
29203
  type: 'array',
@@ -29246,6 +29277,12 @@ export default {
29246
29277
  items: { $ref: '#/components/schemas/space' },
29247
29278
  type: 'array',
29248
29279
  },
29280
+ unmanaged_access_codes: {
29281
+ items: {
29282
+ $ref: '#/components/schemas/unmanaged_access_code',
29283
+ },
29284
+ type: 'array',
29285
+ },
29249
29286
  unmanaged_acs_access_groups: {
29250
29287
  items: {
29251
29288
  $ref: '#/components/schemas/unmanaged_acs_access_group',
@@ -29354,6 +29391,10 @@ export default {
29354
29391
  batch: {
29355
29392
  description: 'A batch of workspace resources.',
29356
29393
  properties: {
29394
+ access_codes: {
29395
+ items: { $ref: '#/components/schemas/access_code' },
29396
+ type: 'array',
29397
+ },
29357
29398
  access_grants: {
29358
29399
  items: { $ref: '#/components/schemas/access_grant' },
29359
29400
  type: 'array',
@@ -29433,6 +29474,12 @@ export default {
29433
29474
  items: { $ref: '#/components/schemas/space' },
29434
29475
  type: 'array',
29435
29476
  },
29477
+ unmanaged_access_codes: {
29478
+ items: {
29479
+ $ref: '#/components/schemas/unmanaged_access_code',
29480
+ },
29481
+ type: 'array',
29482
+ },
29436
29483
  unmanaged_acs_access_groups: {
29437
29484
  items: {
29438
29485
  $ref: '#/components/schemas/unmanaged_acs_access_group',
@@ -54452,6 +54499,7 @@ export default {
54452
54499
  'application/json': {
54453
54500
  schema: {
54454
54501
  properties: {
54502
+ customization_profile_id: { format: 'uuid', type: 'string' },
54455
54503
  max_use_count: {
54456
54504
  default: 1,
54457
54505
  description:
@@ -56658,6 +56706,10 @@ export default {
56658
56706
  batch: {
56659
56707
  description: 'A batch of workspace resources.',
56660
56708
  properties: {
56709
+ access_codes: {
56710
+ items: { $ref: '#/components/schemas/access_code' },
56711
+ type: 'array',
56712
+ },
56661
56713
  access_grants: {
56662
56714
  items: { $ref: '#/components/schemas/access_grant' },
56663
56715
  type: 'array',
@@ -56737,6 +56789,12 @@ export default {
56737
56789
  items: { $ref: '#/components/schemas/space' },
56738
56790
  type: 'array',
56739
56791
  },
56792
+ unmanaged_access_codes: {
56793
+ items: {
56794
+ $ref: '#/components/schemas/unmanaged_access_code',
56795
+ },
56796
+ type: 'array',
56797
+ },
56740
56798
  unmanaged_acs_access_groups: {
56741
56799
  items: {
56742
56800
  $ref: '#/components/schemas/unmanaged_acs_access_group',
@@ -56820,6 +56878,10 @@ export default {
56820
56878
  batch: {
56821
56879
  description: 'A batch of workspace resources.',
56822
56880
  properties: {
56881
+ access_codes: {
56882
+ items: { $ref: '#/components/schemas/access_code' },
56883
+ type: 'array',
56884
+ },
56823
56885
  access_grants: {
56824
56886
  items: { $ref: '#/components/schemas/access_grant' },
56825
56887
  type: 'array',
@@ -56899,6 +56961,12 @@ export default {
56899
56961
  items: { $ref: '#/components/schemas/space' },
56900
56962
  type: 'array',
56901
56963
  },
56964
+ unmanaged_access_codes: {
56965
+ items: {
56966
+ $ref: '#/components/schemas/unmanaged_access_code',
56967
+ },
56968
+ type: 'array',
56969
+ },
56902
56970
  unmanaged_acs_access_groups: {
56903
56971
  items: {
56904
56972
  $ref: '#/components/schemas/unmanaged_acs_access_group',