@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
|
@@ -41992,7 +41992,7 @@ export type Routes = {
|
|
|
41992
41992
|
customer_id?: string | undefined;
|
|
41993
41993
|
/** Customer key that you want to associate with the new client session. */
|
|
41994
41994
|
customer_key?: string | undefined;
|
|
41995
|
-
/** Your user ID for the user for whom you want to create a client session. */
|
|
41995
|
+
/** 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. */
|
|
41996
41996
|
user_identifier_key?: string | undefined;
|
|
41997
41997
|
/** IDs of the [Connect Webviews](https://www.seam.co/docs/core-concepts/connect-webviews) for which you want to create a client session. */
|
|
41998
41998
|
connect_webview_ids?: string[] | undefined;
|
|
@@ -42118,7 +42118,7 @@ export type Routes = {
|
|
|
42118
42118
|
method: 'POST';
|
|
42119
42119
|
queryParams: {};
|
|
42120
42120
|
jsonBody: {
|
|
42121
|
-
/** 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). */
|
|
42121
|
+
/** 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. */
|
|
42122
42122
|
user_identifier_key?: string | undefined;
|
|
42123
42123
|
/** IDs of the [Connect Webviews](https://www.seam.co/docs/core-concepts/connect-webviews) that you want to associate with the client session (or that are already associated with the existing client session). */
|
|
42124
42124
|
connect_webview_ids?: string[] | undefined;
|
|
@@ -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
|
@@ -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',
|
|
@@ -46866,7 +46872,7 @@ const openapi: OpenAPISpec = {
|
|
|
46866
46872
|
},
|
|
46867
46873
|
user_identifier_key: {
|
|
46868
46874
|
description:
|
|
46869
|
-
'Your user ID for the user for whom you want to create a client session.',
|
|
46875
|
+
'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.',
|
|
46870
46876
|
minLength: 1,
|
|
46871
46877
|
type: 'string',
|
|
46872
46878
|
},
|
|
@@ -47066,7 +47072,7 @@ const openapi: OpenAPISpec = {
|
|
|
47066
47072
|
},
|
|
47067
47073
|
user_identifier_key: {
|
|
47068
47074
|
description:
|
|
47069
|
-
'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).',
|
|
47075
|
+
'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.',
|
|
47070
47076
|
minLength: 1,
|
|
47071
47077
|
type: 'string',
|
|
47072
47078
|
},
|
|
@@ -49188,7 +49188,7 @@ export type Routes = {
|
|
|
49188
49188
|
customer_id?: string | undefined
|
|
49189
49189
|
/** Customer key that you want to associate with the new client session. */
|
|
49190
49190
|
customer_key?: string | undefined
|
|
49191
|
-
/** Your user ID for the user for whom you want to create a client session. */
|
|
49191
|
+
/** 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. */
|
|
49192
49192
|
user_identifier_key?: string | undefined
|
|
49193
49193
|
/** IDs of the [Connect Webviews](https://www.seam.co/docs/core-concepts/connect-webviews) for which you want to create a client session. */
|
|
49194
49194
|
connect_webview_ids?: string[] | undefined
|
|
@@ -49314,7 +49314,7 @@ export type Routes = {
|
|
|
49314
49314
|
method: 'POST'
|
|
49315
49315
|
queryParams: {}
|
|
49316
49316
|
jsonBody: {
|
|
49317
|
-
/** 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). */
|
|
49317
|
+
/** 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. */
|
|
49318
49318
|
user_identifier_key?: string | undefined
|
|
49319
49319
|
/** IDs of the [Connect Webviews](https://www.seam.co/docs/core-concepts/connect-webviews) that you want to associate with the client session (or that are already associated with the existing client session). */
|
|
49320
49320
|
connect_webview_ids?: string[] | undefined
|
|
@@ -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. */
|