@seamapi/types 1.1089.0 → 1.1090.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.
@@ -71307,6 +71307,8 @@ export type Routes = {
71307
71307
  media_type: 'video' | 'image';
71308
71308
  /** MIME type of the media, such as `video/mp4` or `image/jpeg`. */
71309
71309
  content_type: string | null;
71310
+ /** Video codec used to encode the media. Only present for video media. `hevc` (H.265) playback support varies by browser and device, so check compatibility before assuming a clip plays inline. */
71311
+ video_codec?: ('h264' | 'hevc') | undefined;
71310
71312
  /** Status of the media. `pending` means that Seam is still retrieving the media. `available` means that `url` can be used to download it. `unavailable` means that no media exists for the event, and `failed` means that Seam could not retrieve it. */
71311
71313
  status: 'pending' | 'available' | 'unavailable' | 'failed';
71312
71314
  /** Short-lived URL from which you can download the media. Null unless `status` is `available`. The URL expires after about five minutes. Call `/media/get` again for a new URL. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1089.0",
3
+ "version": "1.1090.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -25,6 +25,12 @@ export const media = z.object({
25
25
  .string()
26
26
  .nullable()
27
27
  .describe('MIME type of the media, such as `video/mp4` or `image/jpeg`.'),
28
+ video_codec: z
29
+ .enum(['h264', 'hevc'])
30
+ .optional()
31
+ .describe(
32
+ 'Video codec used to encode the media. Only present for video media. `hevc` (H.265) playback support varies by browser and device, so check compatibility before assuming a clip plays inline.',
33
+ ),
28
34
  status: z
29
35
  .enum(['pending', 'available', 'unavailable', 'failed'])
30
36
  .describe(
@@ -29795,6 +29795,12 @@ const openapi: OpenAPISpec = {
29795
29795
  nullable: true,
29796
29796
  type: 'string',
29797
29797
  },
29798
+ video_codec: {
29799
+ description:
29800
+ 'Video codec used to encode the media. Only present for video media. `hevc` (H.265) playback support varies by browser and device, so check compatibility before assuming a clip plays inline.',
29801
+ enum: ['h264', 'hevc'],
29802
+ type: 'string',
29803
+ },
29798
29804
  workspace_id: {
29799
29805
  description: 'ID of the workspace that contains the media.',
29800
29806
  format: 'uuid',
@@ -85942,6 +85942,8 @@ export type Routes = {
85942
85942
  media_type: 'video' | 'image'
85943
85943
  /** MIME type of the media, such as `video/mp4` or `image/jpeg`. */
85944
85944
  content_type: string | null
85945
+ /** Video codec used to encode the media. Only present for video media. `hevc` (H.265) playback support varies by browser and device, so check compatibility before assuming a clip plays inline. */
85946
+ video_codec?: ('h264' | 'hevc') | undefined
85945
85947
  /** Status of the media. `pending` means that Seam is still retrieving the media. `available` means that `url` can be used to download it. `unavailable` means that no media exists for the event, and `failed` means that Seam could not retrieve it. */
85946
85948
  status: 'pending' | 'available' | 'unavailable' | 'failed'
85947
85949
  /** Short-lived URL from which you can download the media. Null unless `status` is `available`. The URL expires after about five minutes. Call `/media/get` again for a new URL. */