@seamapi/types 1.1088.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.
- package/lib/seam/connect/models/media/media.d.ts +3 -0
- package/lib/seam/connect/models/media/media.js +4 -0
- package/lib/seam/connect/models/media/media.js.map +1 -1
- package/lib/seam/connect/openapi.js +7 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/media/media.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +8 -2
- package/src/lib/seam/connect/route-types.ts +4 -2
|
@@ -6,6 +6,7 @@ export declare const media: z.ZodObject<{
|
|
|
6
6
|
event_id: z.ZodNullable<z.ZodString>;
|
|
7
7
|
media_type: z.ZodEnum<["video", "image"]>;
|
|
8
8
|
content_type: z.ZodNullable<z.ZodString>;
|
|
9
|
+
video_codec: z.ZodOptional<z.ZodEnum<["h264", "hevc"]>>;
|
|
9
10
|
status: z.ZodEnum<["pending", "available", "unavailable", "failed"]>;
|
|
10
11
|
url: z.ZodNullable<z.ZodString>;
|
|
11
12
|
expires_at: z.ZodNullable<z.ZodString>;
|
|
@@ -21,6 +22,7 @@ export declare const media: z.ZodObject<{
|
|
|
21
22
|
media_id: string;
|
|
22
23
|
media_type: "video" | "image";
|
|
23
24
|
content_type: string | null;
|
|
25
|
+
video_codec?: "h264" | "hevc" | undefined;
|
|
24
26
|
}, {
|
|
25
27
|
status: "pending" | "failed" | "available" | "unavailable";
|
|
26
28
|
device_id: string | null;
|
|
@@ -32,5 +34,6 @@ export declare const media: z.ZodObject<{
|
|
|
32
34
|
media_id: string;
|
|
33
35
|
media_type: "video" | "image";
|
|
34
36
|
content_type: string | null;
|
|
37
|
+
video_codec?: "h264" | "hevc" | undefined;
|
|
35
38
|
}>;
|
|
36
39
|
export type Media = z.infer<typeof media>;
|
|
@@ -23,6 +23,10 @@ export const media = z.object({
|
|
|
23
23
|
.string()
|
|
24
24
|
.nullable()
|
|
25
25
|
.describe('MIME type of the media, such as `video/mp4` or `image/jpeg`.'),
|
|
26
|
+
video_codec: z
|
|
27
|
+
.enum(['h264', 'hevc'])
|
|
28
|
+
.optional()
|
|
29
|
+
.describe('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.'),
|
|
26
30
|
status: z
|
|
27
31
|
.enum(['pending', 'available', 'unavailable', 'failed'])
|
|
28
32
|
.describe('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.'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/media/media.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,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,CAAC,8CAA8C,CAAC;IAC3D,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,2CAA2C,CAAC;IACxD,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,4CAA4C,CAAC;IACzD,UAAU,EAAE,CAAC;SACV,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;SACxB,QAAQ,CAAC,mDAAmD,CAAC;IAChE,YAAY,EAAE,CAAC;SACZ,MAAM,E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CAAC,mDAAmD,CAAC;IAChE,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,WAAW,EAAE,CAAC;SACX,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;SACtB,QAAQ,EAAE;SACV,QAAQ,CACP,+LAA+L,CAChM;IACH,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,CAAC,CAAC;SACvD,QAAQ,CACP,oPAAoP,CACrP;IACH,GAAG,EAAE,CAAC;SACH,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,8KAA8K,CAC/K;IACH,UAAU,EAAE,QAAQ;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,8GAA8G,CAC/G;IACH,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,+CAA+C,CAChD;CACF,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
@@ -26711,6 +26711,11 @@ const openapi = {
|
|
|
26711
26711
|
nullable: true,
|
|
26712
26712
|
type: 'string',
|
|
26713
26713
|
},
|
|
26714
|
+
video_codec: {
|
|
26715
|
+
description: '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.',
|
|
26716
|
+
enum: ['h264', 'hevc'],
|
|
26717
|
+
type: 'string',
|
|
26718
|
+
},
|
|
26714
26719
|
workspace_id: {
|
|
26715
26720
|
description: 'ID of the workspace that contains the media.',
|
|
26716
26721
|
format: 'uuid',
|
|
@@ -42279,7 +42284,7 @@ const openapi = {
|
|
|
42279
42284
|
type: 'string',
|
|
42280
42285
|
},
|
|
42281
42286
|
user_identifier_key: {
|
|
42282
|
-
description: 'Your user ID for the user for whom you want to create a client session.',
|
|
42287
|
+
description: 'Your user ID for the user for whom you want to create a client session. When you authenticate with a publishable key, the `user_identifier_key` must be a high-entropy secret that only the user knows, such as a UUIDv4 or a salted hash. Do not use an email address, name, phone number, or other guessable value, because anyone who knows the `user_identifier_key` can retrieve the client session.',
|
|
42283
42288
|
minLength: 1,
|
|
42284
42289
|
type: 'string',
|
|
42285
42290
|
},
|
|
@@ -42469,7 +42474,7 @@ const openapi = {
|
|
|
42469
42474
|
type: 'string',
|
|
42470
42475
|
},
|
|
42471
42476
|
user_identifier_key: {
|
|
42472
|
-
description: 'Your user ID for the user that you want to associate with the client session (or that is already associated with the existing client session).',
|
|
42477
|
+
description: 'Your user ID for the user that you want to associate with the client session (or that is already associated with the existing client session). When you authenticate with a publishable key, the `user_identifier_key` must be a high-entropy secret that only the user knows, such as a UUIDv4 or a salted hash. Do not use an email address, name, phone number, or other guessable value, because anyone who knows the `user_identifier_key` can retrieve the client session.',
|
|
42473
42478
|
minLength: 1,
|
|
42474
42479
|
type: 'string',
|
|
42475
42480
|
},
|