@transcodely/sdk 0.2.0 → 0.3.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/CHANGELOG.md +11 -0
- package/dist/index.cjs +147 -230
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +102 -154
- package/dist/index.d.ts +102 -154
- package/dist/index.mjs +147 -230
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -2
package/dist/index.d.cts
CHANGED
|
@@ -451,6 +451,12 @@ declare class APIKey extends Message<APIKey> {
|
|
|
451
451
|
* @generated from field: string id = 1;
|
|
452
452
|
*/
|
|
453
453
|
id: string;
|
|
454
|
+
/**
|
|
455
|
+
* Parent app this key authenticates. Server-set; ignored on requests.
|
|
456
|
+
*
|
|
457
|
+
* @generated from field: string app_id = 13;
|
|
458
|
+
*/
|
|
459
|
+
appId: string;
|
|
454
460
|
/**
|
|
455
461
|
* Human-readable name for the key.
|
|
456
462
|
*
|
|
@@ -652,6 +658,15 @@ declare class ListAPIKeysRequest extends Message<ListAPIKeysRequest> {
|
|
|
652
658
|
* @generated from field: transcodely.v1.PaginationRequest pagination = 3;
|
|
653
659
|
*/
|
|
654
660
|
pagination?: PaginationRequest;
|
|
661
|
+
/**
|
|
662
|
+
* Optional app filter. API-key callers may omit it (their key's app is used)
|
|
663
|
+
* or pass their own app; a different app is rejected with PermissionDenied.
|
|
664
|
+
* Portal/JWT callers pass it to list a specific app in their org; omitted
|
|
665
|
+
* returns keys across all apps in the org.
|
|
666
|
+
*
|
|
667
|
+
* @generated from field: optional string app_id = 4;
|
|
668
|
+
*/
|
|
669
|
+
appId?: string;
|
|
655
670
|
constructor(data?: PartialMessage<ListAPIKeysRequest>);
|
|
656
671
|
static readonly runtime: typeof proto3;
|
|
657
672
|
static readonly typeName = "transcodely.v1.ListAPIKeysRequest";
|
|
@@ -986,7 +1001,8 @@ declare enum AppStatus {
|
|
|
986
1001
|
}
|
|
987
1002
|
/**
|
|
988
1003
|
* An app is a project within an organization.
|
|
989
|
-
* Each app has its own API keys, jobs, origins
|
|
1004
|
+
* Each app has its own API keys, jobs, and origins. Webhook endpoints are
|
|
1005
|
+
* managed via WebhookService (webhook.proto).
|
|
990
1006
|
*
|
|
991
1007
|
* @generated from message transcodely.v1.App
|
|
992
1008
|
*/
|
|
@@ -1016,17 +1032,6 @@ declare class App extends Message<App> {
|
|
|
1016
1032
|
* @generated from field: optional string description = 4;
|
|
1017
1033
|
*/
|
|
1018
1034
|
description?: string;
|
|
1019
|
-
/**
|
|
1020
|
-
* Webhook configuration.
|
|
1021
|
-
* Deprecated: Use WebhookService (webhook.proto) to manage webhook endpoints
|
|
1022
|
-
* instead. The new WebhookEndpoint resource supports multiple endpoints per
|
|
1023
|
-
* app, HMAC-SHA-256 signing with secret rotation, and per-event type
|
|
1024
|
-
* subscriptions. This field is retained for backwards compatibility;
|
|
1025
|
-
* field number 5 must never be reused.
|
|
1026
|
-
*
|
|
1027
|
-
* @generated from field: optional transcodely.v1.WebhookConfig webhook = 5;
|
|
1028
|
-
*/
|
|
1029
|
-
webhook?: WebhookConfig;
|
|
1030
1035
|
/**
|
|
1031
1036
|
* App status.
|
|
1032
1037
|
*
|
|
@@ -1092,49 +1097,6 @@ declare class App extends Message<App> {
|
|
|
1092
1097
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): App;
|
|
1093
1098
|
static equals(a: App | PlainMessage<App> | undefined, b: App | PlainMessage<App> | undefined): boolean;
|
|
1094
1099
|
}
|
|
1095
|
-
/**
|
|
1096
|
-
* Webhook configuration for an app.
|
|
1097
|
-
*
|
|
1098
|
-
* @generated from message transcodely.v1.WebhookConfig
|
|
1099
|
-
*/
|
|
1100
|
-
declare class WebhookConfig extends Message<WebhookConfig> {
|
|
1101
|
-
/**
|
|
1102
|
-
* HTTPS endpoint for receiving webhooks.
|
|
1103
|
-
*
|
|
1104
|
-
* @generated from field: string url = 1;
|
|
1105
|
-
*/
|
|
1106
|
-
url: string;
|
|
1107
|
-
/**
|
|
1108
|
-
* Secret for HMAC-SHA256 signature verification.
|
|
1109
|
-
* Only the last 4 characters are shown (hint).
|
|
1110
|
-
* Full secret is only returned when first configured.
|
|
1111
|
-
*
|
|
1112
|
-
* @generated from field: optional string secret_hint = 2;
|
|
1113
|
-
*/
|
|
1114
|
-
secretHint?: string;
|
|
1115
|
-
/**
|
|
1116
|
-
* Whether a secret is configured.
|
|
1117
|
-
*
|
|
1118
|
-
* @generated from field: bool has_secret = 3;
|
|
1119
|
-
*/
|
|
1120
|
-
hasSecret: boolean;
|
|
1121
|
-
/**
|
|
1122
|
-
* Events to send.
|
|
1123
|
-
* Possible values: job.completed, job.failed, job.progress, job.canceled,
|
|
1124
|
-
* output.completed, output.failed
|
|
1125
|
-
*
|
|
1126
|
-
* @generated from field: repeated string events = 4;
|
|
1127
|
-
*/
|
|
1128
|
-
events: string[];
|
|
1129
|
-
constructor(data?: PartialMessage<WebhookConfig>);
|
|
1130
|
-
static readonly runtime: typeof proto3;
|
|
1131
|
-
static readonly typeName = "transcodely.v1.WebhookConfig";
|
|
1132
|
-
static readonly fields: FieldList;
|
|
1133
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebhookConfig;
|
|
1134
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebhookConfig;
|
|
1135
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebhookConfig;
|
|
1136
|
-
static equals(a: WebhookConfig | PlainMessage<WebhookConfig> | undefined, b: WebhookConfig | PlainMessage<WebhookConfig> | undefined): boolean;
|
|
1137
|
-
}
|
|
1138
1100
|
/**
|
|
1139
1101
|
* Request to create a new app.
|
|
1140
1102
|
*
|
|
@@ -1159,12 +1121,6 @@ declare class CreateAppRequest extends Message<CreateAppRequest> {
|
|
|
1159
1121
|
* @generated from field: optional string description = 3;
|
|
1160
1122
|
*/
|
|
1161
1123
|
description?: string;
|
|
1162
|
-
/**
|
|
1163
|
-
* Optional webhook configuration.
|
|
1164
|
-
*
|
|
1165
|
-
* @generated from field: optional transcodely.v1.CreateWebhookConfig webhook = 4;
|
|
1166
|
-
*/
|
|
1167
|
-
webhook?: CreateWebhookConfig;
|
|
1168
1124
|
/**
|
|
1169
1125
|
* Enable video hosting for this app. Provisions CDN infrastructure.
|
|
1170
1126
|
* This cannot be disabled once enabled.
|
|
@@ -1181,41 +1137,6 @@ declare class CreateAppRequest extends Message<CreateAppRequest> {
|
|
|
1181
1137
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAppRequest;
|
|
1182
1138
|
static equals(a: CreateAppRequest | PlainMessage<CreateAppRequest> | undefined, b: CreateAppRequest | PlainMessage<CreateAppRequest> | undefined): boolean;
|
|
1183
1139
|
}
|
|
1184
|
-
/**
|
|
1185
|
-
* Webhook configuration for app creation.
|
|
1186
|
-
*
|
|
1187
|
-
* @generated from message transcodely.v1.CreateWebhookConfig
|
|
1188
|
-
*/
|
|
1189
|
-
declare class CreateWebhookConfig extends Message<CreateWebhookConfig> {
|
|
1190
|
-
/**
|
|
1191
|
-
* HTTPS endpoint for receiving webhooks.
|
|
1192
|
-
*
|
|
1193
|
-
* @generated from field: string url = 1;
|
|
1194
|
-
*/
|
|
1195
|
-
url: string;
|
|
1196
|
-
/**
|
|
1197
|
-
* If true, a webhook secret will be generated.
|
|
1198
|
-
* The secret is returned once in the response.
|
|
1199
|
-
*
|
|
1200
|
-
* @generated from field: bool generate_secret = 2;
|
|
1201
|
-
*/
|
|
1202
|
-
generateSecret: boolean;
|
|
1203
|
-
/**
|
|
1204
|
-
* Events to send.
|
|
1205
|
-
* Default: ["job.completed", "job.failed"] if not specified.
|
|
1206
|
-
*
|
|
1207
|
-
* @generated from field: repeated string events = 3;
|
|
1208
|
-
*/
|
|
1209
|
-
events: string[];
|
|
1210
|
-
constructor(data?: PartialMessage<CreateWebhookConfig>);
|
|
1211
|
-
static readonly runtime: typeof proto3;
|
|
1212
|
-
static readonly typeName = "transcodely.v1.CreateWebhookConfig";
|
|
1213
|
-
static readonly fields: FieldList;
|
|
1214
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateWebhookConfig;
|
|
1215
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateWebhookConfig;
|
|
1216
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateWebhookConfig;
|
|
1217
|
-
static equals(a: CreateWebhookConfig | PlainMessage<CreateWebhookConfig> | undefined, b: CreateWebhookConfig | PlainMessage<CreateWebhookConfig> | undefined): boolean;
|
|
1218
|
-
}
|
|
1219
1140
|
/**
|
|
1220
1141
|
* Response from creating an app.
|
|
1221
1142
|
*
|
|
@@ -1228,13 +1149,6 @@ declare class CreateAppResponse extends Message<CreateAppResponse> {
|
|
|
1228
1149
|
* @generated from field: transcodely.v1.App app = 1;
|
|
1229
1150
|
*/
|
|
1230
1151
|
app?: App;
|
|
1231
|
-
/**
|
|
1232
|
-
* Webhook secret (only returned if generate_secret was true).
|
|
1233
|
-
* WARNING: This is the only time the secret is returned.
|
|
1234
|
-
*
|
|
1235
|
-
* @generated from field: optional string webhook_secret = 2;
|
|
1236
|
-
*/
|
|
1237
|
-
webhookSecret?: string;
|
|
1238
1152
|
constructor(data?: PartialMessage<CreateAppResponse>);
|
|
1239
1153
|
static readonly runtime: typeof proto3;
|
|
1240
1154
|
static readonly typeName = "transcodely.v1.CreateAppResponse";
|
|
@@ -1310,13 +1224,6 @@ declare class UpdateAppRequest extends Message<UpdateAppRequest> {
|
|
|
1310
1224
|
* @generated from field: optional string description = 3;
|
|
1311
1225
|
*/
|
|
1312
1226
|
description?: string;
|
|
1313
|
-
/**
|
|
1314
|
-
* New webhook configuration (if provided).
|
|
1315
|
-
* Set to empty message to clear webhook config.
|
|
1316
|
-
*
|
|
1317
|
-
* @generated from field: optional transcodely.v1.UpdateWebhookConfig webhook = 4;
|
|
1318
|
-
*/
|
|
1319
|
-
webhook?: UpdateWebhookConfig;
|
|
1320
1227
|
constructor(data?: PartialMessage<UpdateAppRequest>);
|
|
1321
1228
|
static readonly runtime: typeof proto3;
|
|
1322
1229
|
static readonly typeName = "transcodely.v1.UpdateAppRequest";
|
|
@@ -1326,42 +1233,6 @@ declare class UpdateAppRequest extends Message<UpdateAppRequest> {
|
|
|
1326
1233
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateAppRequest;
|
|
1327
1234
|
static equals(a: UpdateAppRequest | PlainMessage<UpdateAppRequest> | undefined, b: UpdateAppRequest | PlainMessage<UpdateAppRequest> | undefined): boolean;
|
|
1328
1235
|
}
|
|
1329
|
-
/**
|
|
1330
|
-
* Webhook configuration for app update.
|
|
1331
|
-
*
|
|
1332
|
-
* @generated from message transcodely.v1.UpdateWebhookConfig
|
|
1333
|
-
*/
|
|
1334
|
-
declare class UpdateWebhookConfig extends Message<UpdateWebhookConfig> {
|
|
1335
|
-
/**
|
|
1336
|
-
* New webhook URL. HTTPS only (same constraint as CreateWebhookConfig).
|
|
1337
|
-
* Set to empty string to disable webhooks.
|
|
1338
|
-
*
|
|
1339
|
-
* @generated from field: optional string url = 1;
|
|
1340
|
-
*/
|
|
1341
|
-
url?: string;
|
|
1342
|
-
/**
|
|
1343
|
-
* If true, regenerate the webhook secret.
|
|
1344
|
-
* The new secret is returned in the response.
|
|
1345
|
-
*
|
|
1346
|
-
* @generated from field: bool regenerate_secret = 2;
|
|
1347
|
-
*/
|
|
1348
|
-
regenerateSecret: boolean;
|
|
1349
|
-
/**
|
|
1350
|
-
* New events to send.
|
|
1351
|
-
* Only applied if explicitly provided.
|
|
1352
|
-
*
|
|
1353
|
-
* @generated from field: repeated string events = 3;
|
|
1354
|
-
*/
|
|
1355
|
-
events: string[];
|
|
1356
|
-
constructor(data?: PartialMessage<UpdateWebhookConfig>);
|
|
1357
|
-
static readonly runtime: typeof proto3;
|
|
1358
|
-
static readonly typeName = "transcodely.v1.UpdateWebhookConfig";
|
|
1359
|
-
static readonly fields: FieldList;
|
|
1360
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateWebhookConfig;
|
|
1361
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateWebhookConfig;
|
|
1362
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateWebhookConfig;
|
|
1363
|
-
static equals(a: UpdateWebhookConfig | PlainMessage<UpdateWebhookConfig> | undefined, b: UpdateWebhookConfig | PlainMessage<UpdateWebhookConfig> | undefined): boolean;
|
|
1364
|
-
}
|
|
1365
1236
|
/**
|
|
1366
1237
|
* Response from updating an app.
|
|
1367
1238
|
*
|
|
@@ -1374,12 +1245,6 @@ declare class UpdateAppResponse extends Message<UpdateAppResponse> {
|
|
|
1374
1245
|
* @generated from field: transcodely.v1.App app = 1;
|
|
1375
1246
|
*/
|
|
1376
1247
|
app?: App;
|
|
1377
|
-
/**
|
|
1378
|
-
* New webhook secret (only returned if regenerate_secret was true).
|
|
1379
|
-
*
|
|
1380
|
-
* @generated from field: optional string webhook_secret = 2;
|
|
1381
|
-
*/
|
|
1382
|
-
webhookSecret?: string;
|
|
1383
1248
|
constructor(data?: PartialMessage<UpdateAppResponse>);
|
|
1384
1249
|
static readonly runtime: typeof proto3;
|
|
1385
1250
|
static readonly typeName = "transcodely.v1.UpdateAppResponse";
|
|
@@ -4652,6 +4517,12 @@ declare class Origin extends Message<Origin> {
|
|
|
4652
4517
|
* @generated from field: string id = 1;
|
|
4653
4518
|
*/
|
|
4654
4519
|
id: string;
|
|
4520
|
+
/**
|
|
4521
|
+
* Parent app that owns this origin. Server-set; ignored on requests.
|
|
4522
|
+
*
|
|
4523
|
+
* @generated from field: string app_id = 19;
|
|
4524
|
+
*/
|
|
4525
|
+
appId: string;
|
|
4655
4526
|
/**
|
|
4656
4527
|
* Human-readable name for the origin.
|
|
4657
4528
|
*
|
|
@@ -4843,6 +4714,15 @@ declare class CreateOriginRequest extends Message<CreateOriginRequest> {
|
|
|
4843
4714
|
* @generated from field: transcodely.v1.R2OriginConfig r2 = 9;
|
|
4844
4715
|
*/
|
|
4845
4716
|
r2?: R2OriginConfig;
|
|
4717
|
+
/**
|
|
4718
|
+
* Optional target app. API-key callers may omit it (their key's app is used)
|
|
4719
|
+
* or pass their own app; a different app is rejected with PermissionDenied.
|
|
4720
|
+
* Portal/JWT callers pass it to create in a specific app in their org;
|
|
4721
|
+
* omitted selects the org's first active app.
|
|
4722
|
+
*
|
|
4723
|
+
* @generated from field: optional string app_id = 10;
|
|
4724
|
+
*/
|
|
4725
|
+
appId?: string;
|
|
4846
4726
|
constructor(data?: PartialMessage<CreateOriginRequest>);
|
|
4847
4727
|
static readonly runtime: typeof proto3;
|
|
4848
4728
|
static readonly typeName = "transcodely.v1.CreateOriginRequest";
|
|
@@ -5008,6 +4888,15 @@ declare class ListOriginsRequest extends Message<ListOriginsRequest> {
|
|
|
5008
4888
|
* @generated from field: transcodely.v1.PaginationRequest pagination = 5;
|
|
5009
4889
|
*/
|
|
5010
4890
|
pagination?: PaginationRequest;
|
|
4891
|
+
/**
|
|
4892
|
+
* Optional app filter. API-key callers may omit it (their key's app is used)
|
|
4893
|
+
* or pass their own app; a different app is rejected with PermissionDenied.
|
|
4894
|
+
* Portal/JWT callers pass it to list a specific app in their org; omitted
|
|
4895
|
+
* returns origins across all apps in the org.
|
|
4896
|
+
*
|
|
4897
|
+
* @generated from field: optional string app_id = 6;
|
|
4898
|
+
*/
|
|
4899
|
+
appId?: string;
|
|
5011
4900
|
constructor(data?: PartialMessage<ListOriginsRequest>);
|
|
5012
4901
|
static readonly runtime: typeof proto3;
|
|
5013
4902
|
static readonly typeName = "transcodely.v1.ListOriginsRequest";
|
|
@@ -6896,6 +6785,12 @@ declare class Job extends Message<Job> {
|
|
|
6896
6785
|
* @generated from field: string id = 1;
|
|
6897
6786
|
*/
|
|
6898
6787
|
id: string;
|
|
6788
|
+
/**
|
|
6789
|
+
* Parent app that owns this job. Server-set; ignored on requests.
|
|
6790
|
+
*
|
|
6791
|
+
* @generated from field: string app_id = 29;
|
|
6792
|
+
*/
|
|
6793
|
+
appId: string;
|
|
6899
6794
|
/**
|
|
6900
6795
|
* URL of the input video file (direct URL mode).
|
|
6901
6796
|
* Set if the job was created with input_url.
|
|
@@ -7201,6 +7096,15 @@ declare class CreateJobRequest extends Message<CreateJobRequest> {
|
|
|
7201
7096
|
* @generated from field: optional bool managed = 20;
|
|
7202
7097
|
*/
|
|
7203
7098
|
managed?: boolean;
|
|
7099
|
+
/**
|
|
7100
|
+
* Optional target app. API-key callers may omit it (their key's app is used)
|
|
7101
|
+
* or pass their own app; a different app is rejected with PermissionDenied.
|
|
7102
|
+
* Portal/JWT callers pass it to create in a specific app in their org;
|
|
7103
|
+
* omitted selects the org's first active app.
|
|
7104
|
+
*
|
|
7105
|
+
* @generated from field: optional string app_id = 21;
|
|
7106
|
+
*/
|
|
7107
|
+
appId?: string;
|
|
7204
7108
|
constructor(data?: PartialMessage<CreateJobRequest>);
|
|
7205
7109
|
static readonly runtime: typeof proto3;
|
|
7206
7110
|
static readonly typeName = "transcodely.v1.CreateJobRequest";
|
|
@@ -7297,6 +7201,15 @@ declare class ListJobsRequest extends Message<ListJobsRequest> {
|
|
|
7297
7201
|
* @generated from field: transcodely.v1.PaginationRequest pagination = 2;
|
|
7298
7202
|
*/
|
|
7299
7203
|
pagination?: PaginationRequest;
|
|
7204
|
+
/**
|
|
7205
|
+
* Optional app filter. API-key callers may omit it (their key's app is used)
|
|
7206
|
+
* or pass their own app; a different app is rejected with PermissionDenied.
|
|
7207
|
+
* Portal/JWT callers pass it to list a specific app in their org; omitted
|
|
7208
|
+
* returns jobs across all apps in the org.
|
|
7209
|
+
*
|
|
7210
|
+
* @generated from field: optional string app_id = 3;
|
|
7211
|
+
*/
|
|
7212
|
+
appId?: string;
|
|
7300
7213
|
constructor(data?: PartialMessage<ListJobsRequest>);
|
|
7301
7214
|
static readonly runtime: typeof proto3;
|
|
7302
7215
|
static readonly typeName = "transcodely.v1.ListJobsRequest";
|
|
@@ -8299,6 +8212,15 @@ declare class ListVideosRequest extends Message<ListVideosRequest> {
|
|
|
8299
8212
|
* @generated from field: optional string status = 3;
|
|
8300
8213
|
*/
|
|
8301
8214
|
status?: string;
|
|
8215
|
+
/**
|
|
8216
|
+
* Optional app filter. API-key callers may omit it (their key's app is used)
|
|
8217
|
+
* or pass their own app; a different app is rejected with PermissionDenied.
|
|
8218
|
+
* Portal/JWT callers pass it to list a specific app in their org; omitted
|
|
8219
|
+
* returns videos across all apps in the org.
|
|
8220
|
+
*
|
|
8221
|
+
* @generated from field: optional string app_id = 4;
|
|
8222
|
+
*/
|
|
8223
|
+
appId?: string;
|
|
8302
8224
|
constructor(data?: PartialMessage<ListVideosRequest>);
|
|
8303
8225
|
static readonly runtime: typeof proto3;
|
|
8304
8226
|
static readonly typeName = "transcodely.v1.ListVideosRequest";
|
|
@@ -9886,6 +9808,13 @@ declare class Preset extends Message<Preset> {
|
|
|
9886
9808
|
* @generated from field: string id = 1;
|
|
9887
9809
|
*/
|
|
9888
9810
|
id: string;
|
|
9811
|
+
/**
|
|
9812
|
+
* Parent app that owns this preset. Server-set; ignored on requests.
|
|
9813
|
+
* Empty for system presets, which belong to no app and are visible to all.
|
|
9814
|
+
*
|
|
9815
|
+
* @generated from field: string app_id = 20;
|
|
9816
|
+
*/
|
|
9817
|
+
appId: string;
|
|
9889
9818
|
/**
|
|
9890
9819
|
* URL-safe slug identifier (e.g., "film_1080p_standard").
|
|
9891
9820
|
* Used for referencing presets in job creation.
|
|
@@ -10102,6 +10031,15 @@ declare class CreatePresetRequest extends Message<CreatePresetRequest> {
|
|
|
10102
10031
|
* @generated from field: optional bool disable_audio = 15;
|
|
10103
10032
|
*/
|
|
10104
10033
|
disableAudio?: boolean;
|
|
10034
|
+
/**
|
|
10035
|
+
* Optional target app. API-key callers may omit it (their key's app is used)
|
|
10036
|
+
* or pass their own app; a different app is rejected with PermissionDenied.
|
|
10037
|
+
* Portal/JWT callers pass it to create in a specific app in their org;
|
|
10038
|
+
* omitted selects the org's first active app.
|
|
10039
|
+
*
|
|
10040
|
+
* @generated from field: optional string app_id = 16;
|
|
10041
|
+
*/
|
|
10042
|
+
appId?: string;
|
|
10105
10043
|
constructor(data?: PartialMessage<CreatePresetRequest>);
|
|
10106
10044
|
static readonly runtime: typeof proto3;
|
|
10107
10045
|
static readonly typeName = "transcodely.v1.CreatePresetRequest";
|
|
@@ -10258,6 +10196,16 @@ declare class ListPresetsRequest extends Message<ListPresetsRequest> {
|
|
|
10258
10196
|
* @generated from field: transcodely.v1.PaginationRequest pagination = 5;
|
|
10259
10197
|
*/
|
|
10260
10198
|
pagination?: PaginationRequest;
|
|
10199
|
+
/**
|
|
10200
|
+
* Optional app filter for custom presets. API-key callers may omit it (their
|
|
10201
|
+
* key's app is used) or pass their own app; a different app is rejected with
|
|
10202
|
+
* PermissionDenied. Portal/JWT callers pass it to scope custom presets to a
|
|
10203
|
+
* specific app in their org; omitted spans all apps in the org. System
|
|
10204
|
+
* presets are unaffected (governed by include_system).
|
|
10205
|
+
*
|
|
10206
|
+
* @generated from field: optional string app_id = 7;
|
|
10207
|
+
*/
|
|
10208
|
+
appId?: string;
|
|
10261
10209
|
constructor(data?: PartialMessage<ListPresetsRequest>);
|
|
10262
10210
|
static readonly runtime: typeof proto3;
|
|
10263
10211
|
static readonly typeName = "transcodely.v1.ListPresetsRequest";
|
|
@@ -11092,7 +11040,7 @@ declare class Transcodely {
|
|
|
11092
11040
|
}
|
|
11093
11041
|
|
|
11094
11042
|
/** SDK version. Bumped by release-please from package.json on each tag. */
|
|
11095
|
-
declare const SDK_VERSION = "0.
|
|
11043
|
+
declare const SDK_VERSION = "0.3.0";
|
|
11096
11044
|
/**
|
|
11097
11045
|
* API version this SDK release is pinned to. Sent on every request as
|
|
11098
11046
|
* `Transcodely-Version`. Customers can override per-client via the
|
|
@@ -11102,4 +11050,4 @@ declare const API_VERSION = "2026-05-03";
|
|
|
11102
11050
|
/** Default base URL for the production Transcodely API. */
|
|
11103
11051
|
declare const DEFAULT_BASE_URL = "https://api.transcodely.com";
|
|
11104
11052
|
|
|
11105
|
-
export { APIConnectionError, APIError, Event as APIEvent, APIKey, API_VERSION, AV1Options, AbortMultipartUploadRequest, App, AppStatus, ArchiveAppRequest, ArchiveOriginRequest, ArchivePresetRequest, AudioCodec, AudioSettings, AudioStreamInfo, AudioTrackConfig, AuthenticationError, AutoABRConfig, AutoProfileDefaults, BYOKConfig, BitrateMode, BurnInStyle, type CallOptions, CancelJobRequest, CancelJobResponse, CheckSlugRequest, CheckSlugResponse, CompleteMultipartUploadRequest, CompleteMultipartUploadResponse, CompleteUploadRequest, CompleteUploadResponse, CompletedPart, ConfirmJobRequest, ConfirmJobResponse, ConflictError, Container, ContentAnalysis, ContentAwareConfig, ContentAwareMode, ContentType, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateAppRequest, CreateAppResponse, CreateJobRequest, CreateJobResponse, CreateMultipartUploadRequest, CreateMultipartUploadResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateOriginRequest, CreateOriginResponse, CreatePresetRequest, CreatePresetResponse, CreateUploadRequest, CreateUploadResponse,
|
|
11053
|
+
export { APIConnectionError, APIError, Event as APIEvent, APIKey, API_VERSION, AV1Options, AbortMultipartUploadRequest, App, AppStatus, ArchiveAppRequest, ArchiveOriginRequest, ArchivePresetRequest, AudioCodec, AudioSettings, AudioStreamInfo, AudioTrackConfig, AuthenticationError, AutoABRConfig, AutoProfileDefaults, BYOKConfig, BitrateMode, BurnInStyle, type CallOptions, CancelJobRequest, CancelJobResponse, CheckSlugRequest, CheckSlugResponse, CompleteMultipartUploadRequest, CompleteMultipartUploadResponse, CompleteUploadRequest, CompleteUploadResponse, CompletedPart, ConfirmJobRequest, ConfirmJobResponse, ConflictError, Container, ContentAnalysis, ContentAwareConfig, ContentAwareMode, ContentType, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateAppRequest, CreateAppResponse, CreateJobRequest, CreateJobResponse, CreateMultipartUploadRequest, CreateMultipartUploadResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateOriginRequest, CreateOriginResponse, CreatePresetRequest, CreatePresetResponse, CreateUploadRequest, CreateUploadResponse, CreateWebhookEndpointRequest, CreateWebhookEndpointResponse, DASHConfig, DEFAULT_BASE_URL, DEFAULT_TOLERANCE_SECONDS, DRMConfig, DRMSystem, DeleteVideoRequest, DeleteWebhookEndpointRequest, DeleteWebhookEndpointResponse, DeliveryFormat, DuplicatePresetRequest, DuplicatePresetResponse, EVENT_ID_HEADER, EnableHostingRequest, EnableHostingResponse, EncryptionScheme, ErrorDetails, type EventBase, ExecutionTiming, type FieldViolation, GOPAlignmentMode, GcsCredentials, GcsOriginConfig, GetAPIKeyRequest, GetAPIKeyResponse, GetAppRequest, GetAppResponse, GetEndpointHealthRequest, GetEndpointHealthResponse, GetJobRequest, GetJobResponse, GetMeRequest, GetMeResponse, GetMembershipRequest, GetMembershipResponse, GetOrganizationRequest, GetOrganizationResponse, GetOriginRequest, GetOriginResponse, GetPresetBySlugRequest, GetPresetBySlugResponse, GetPresetRequest, GetPresetResponse, GetUploadPartUrlsRequest, GetUploadPartUrlsResponse, GetUsageRequest, GetUsageResponse, GetUserRequest, GetUserResponse, GetVideoRequest, GetVideoResponse, H264Options, H265Options, HDRConfig, HDRFormat, HDRMode, HLSConfig, HLSPlaylistType, HLSSegmentFormat, HealthBucket, HostingConfig, HttpCredentials, HttpOriginConfig, InputMetadata, InvalidRequestError, Job, JobOutput, JobPriority, JobStatus, KeyServerConfig, ListAPIKeysRequest, ListAPIKeysResponse, ListAppsRequest, ListAppsResponse, ListEventsRequest, ListEventsResponse, ListJobsRequest, ListJobsResponse, ListMembershipsRequest, ListMembershipsResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListOriginsRequest, ListOriginsResponse, ListPresetsRequest, ListPresetsResponse, ListUsersRequest, ListUsersResponse, ListVideosRequest, ListVideosResponse, ListWebhookDeliveriesRequest, ListWebhookDeliveriesResponse, ListWebhookEndpointsRequest, ListWebhookEndpointsResponse, type LogEvent, Membership, MembershipRole, MembershipStatus, MembershipWithUser, NotFoundError, Organization, OrganizationStatus, Origin, OriginPermission, OriginProvider, OriginRef, OriginStatus, OutputFormat, OutputSpec, OutputStatus, OutputVariantResult, Page, PaginationRequest, PaginationResponse, PermissionError, PreconditionError, Preset, PresetVariant, PricingSnapshot, QualityTier, R2Jurisdiction, R2OriginConfig, RateLimitError, RemoveMembershipRequest, ResendEventRequest, ResendEventResponse, Resolution, RetrieveEventRequest, RetrieveEventResponse, RetrieveWebhookEndpointRequest, RetrieveWebhookEndpointResponse, RevokeAPIKeyRequest, RotateWebhookSecretRequest, RotateWebhookSecretResponse, S3Credentials, S3OriginConfig, SDK_VERSION, SIGNATURE_HEADER, SegmentConfig, SendTestWebhookRequest, SendTestWebhookResponse, StreamingConfig, SubtitleFormat, SubtitleOperation, SubtitleStreamInfo, SubtitleTrack, ThumbnailFormat, ThumbnailMode, ThumbnailResult, ThumbnailSpec, ToneMapping, Transcodely, type TranscodelyConfig, TranscodelyError, UpdateAppRequest, UpdateAppResponse, UpdateHostingConfigRequest, UpdateHostingConfigResponse, UpdateMeRequest, UpdateMeResponse, UpdateMembershipRoleRequest, UpdateMembershipRoleResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateOriginRequest, UpdateOriginResponse, UpdatePresetRequest, UpdatePresetResponse, UpdateVideoRequest, UpdateVideoResponse, UpdateWebhookEndpointRequest, UpdateWebhookEndpointResponse, UploadPart, UsageSummary, User, UserApprovalStatus, UserOrganization, UserStatus, UserWithOrganizations, VP9Options, ValidateOriginRequest, ValidateOriginResponse, ValidationResult, VariantPricingSnapshot, type VerifyOptions, Video, VideoCodec, VideoRendition, VideoSettings, VideoStatus, VideoStreamInfo, VideoVariant, VideoVisibility, WEBHOOK_EVENT_TYPES, WatchEventType, WatchJobRequest, WatchJobResponse, WatchVideoRequest, WatchVideoResponse, WebhookDelivery, WebhookEndpoint, WebhookError, type WebhookEvent, type WebhookEventType, WebhookPayloadError, WebhookSignatureError, WebhookTimestampError, Webhooks, constructEvent, verifySignature };
|