@seamapi/types 1.338.0 → 1.339.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.
@@ -6228,6 +6228,7 @@ export interface Routes {
6228
6228
  };
6229
6229
  formData: {};
6230
6230
  jsonResponse: {
6231
+ /** */
6231
6232
  acs_access_group: {
6232
6233
  /** ID of the access group. */
6233
6234
  acs_access_group_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.338.0",
3
+ "version": "1.339.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -109,7 +109,11 @@ export const acs_access_group = common_acs_access_group.extend({
109
109
  `)
110
110
  export const unmanaged_acs_access_group = common_acs_access_group.extend({
111
111
  is_managed: z.literal(false),
112
- })
112
+ }).describe(`
113
+ ---
114
+ route_path: /acs/access_groups/unmanaged
115
+ ---
116
+ `)
113
117
 
114
118
  export type AcsAccessGroup = z.output<typeof acs_access_group>
115
119
  export type UnmanagedAcsAccessGroup = z.output<
@@ -233,21 +233,27 @@ const common_acs_credential = z.object({
233
233
  .describe('Vostio-specific metadata for the credential.'),
234
234
  })
235
235
 
236
- export const acs_credential = common_acs_credential
237
- .merge(
238
- z.object({
239
- is_managed: z.literal(true),
240
- }),
241
- )
242
- .describe(getAcsCredentialDescription())
236
+ export const acs_credential = common_acs_credential.merge(
237
+ z.object({
238
+ is_managed: z.literal(true),
239
+ }),
240
+ ).describe(`
241
+ ---
242
+ route_path: /acs/credentials
243
+ ---
244
+ ${getAcsCredentialDescription()}
245
+ `)
243
246
 
244
- export const unmanaged_acs_credential = common_acs_credential
245
- .merge(
246
- z.object({
247
- is_managed: z.literal(false),
248
- }),
249
- )
250
- .describe(getAcsCredentialDescription(false))
247
+ export const unmanaged_acs_credential = common_acs_credential.merge(
248
+ z.object({
249
+ is_managed: z.literal(false),
250
+ }),
251
+ ).describe(`
252
+ ---
253
+ route_path: /acs/credentials/unmanaged
254
+ ---
255
+ ${getAcsCredentialDescription(false)}
256
+ `)
251
257
 
252
258
  function getAcsCredentialDescription(is_managed = true): string {
253
259
  const resource_name = is_managed
@@ -53,6 +53,10 @@ export const acs_encoder = z.object({
53
53
  .datetime()
54
54
  .describe('Date and time at which the `acs_encoder` was created.'),
55
55
  display_name: z.string().describe('Display name for the `acs_encoder`.'),
56
- })
56
+ }).describe(`
57
+ ---
58
+ route_path: /acs/encoders
59
+ ---
60
+ `)
57
61
 
58
62
  export type AcsEncoder = z.infer<typeof acs_encoder>
@@ -295,21 +295,22 @@ export const acs_user = common_acs_user.merge(
295
295
  is_managed: z.literal(true),
296
296
  }),
297
297
  ).describe(`
298
- ---
299
- route_path: /acs/users
300
- ---
301
- Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
302
- `)
298
+ ---
299
+ route_path: /acs/users
300
+ ---
301
+ Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
302
+ `)
303
303
 
304
- export const unmanaged_acs_user = common_acs_user
305
- .merge(
306
- z.object({
307
- is_managed: z.literal(false),
308
- }),
309
- )
310
- .describe(
311
- 'Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
312
- )
304
+ export const unmanaged_acs_user = common_acs_user.merge(
305
+ z.object({
306
+ is_managed: z.literal(false),
307
+ }),
308
+ ).describe(`
309
+ ---
310
+ route_path: /acs/users/unmanaged
311
+ ---
312
+ Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
313
+ `)
313
314
 
314
315
  export type AcsUser = z.output<typeof acs_user>
315
316
  export type AcsUnmanagedUser = z.output<typeof unmanaged_acs_user>