@transcodely/sdk 0.1.4 → 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/dist/index.cjs CHANGED
@@ -357,17 +357,6 @@ var FieldViolation = class _FieldViolation extends protobuf.Message {
357
357
  };
358
358
 
359
359
  // src/gen/transcodely/v1/api_key_pb.ts
360
- var APIKeyEnvironment = /* @__PURE__ */ ((APIKeyEnvironment2) => {
361
- APIKeyEnvironment2[APIKeyEnvironment2["API_KEY_ENVIRONMENT_UNSPECIFIED"] = 0] = "API_KEY_ENVIRONMENT_UNSPECIFIED";
362
- APIKeyEnvironment2[APIKeyEnvironment2["API_KEY_ENVIRONMENT_LIVE"] = 1] = "API_KEY_ENVIRONMENT_LIVE";
363
- APIKeyEnvironment2[APIKeyEnvironment2["API_KEY_ENVIRONMENT_TEST"] = 2] = "API_KEY_ENVIRONMENT_TEST";
364
- return APIKeyEnvironment2;
365
- })(APIKeyEnvironment || {});
366
- protobuf.proto3.util.setEnumType(APIKeyEnvironment, "transcodely.v1.APIKeyEnvironment", [
367
- { no: 0, name: "API_KEY_ENVIRONMENT_UNSPECIFIED" },
368
- { no: 1, name: "API_KEY_ENVIRONMENT_LIVE" },
369
- { no: 2, name: "API_KEY_ENVIRONMENT_TEST" }
370
- ]);
371
360
  var APIKey = class _APIKey extends protobuf.Message {
372
361
  /**
373
362
  * Unique API key identifier (e.g., "ak_a1b2c3d4...").
@@ -375,6 +364,12 @@ var APIKey = class _APIKey extends protobuf.Message {
375
364
  * @generated from field: string id = 1;
376
365
  */
377
366
  id = "";
367
+ /**
368
+ * Parent app this key authenticates. Server-set; ignored on requests.
369
+ *
370
+ * @generated from field: string app_id = 13;
371
+ */
372
+ appId = "";
378
373
  /**
379
374
  * Human-readable name for the key.
380
375
  *
@@ -388,7 +383,7 @@ var APIKey = class _APIKey extends protobuf.Message {
388
383
  */
389
384
  description = "";
390
385
  /**
391
- * Key prefix for identification (e.g., "ak_live_" or "ak_test_").
386
+ * Key prefix for identification (e.g., "ak_...").
392
387
  * Safe to display in logs and dashboards.
393
388
  *
394
389
  * @generated from field: string key_prefix = 4;
@@ -401,12 +396,6 @@ var APIKey = class _APIKey extends protobuf.Message {
401
396
  * @generated from field: string key_hint = 5;
402
397
  */
403
398
  keyHint = "";
404
- /**
405
- * Environment the key is valid for.
406
- *
407
- * @generated from field: transcodely.v1.APIKeyEnvironment environment = 6;
408
- */
409
- environment = 0 /* API_KEY_ENVIRONMENT_UNSPECIFIED */;
410
399
  /**
411
400
  * Permission scopes (empty means full access).
412
401
  * Future: granular permissions like "jobs:read", "jobs:write".
@@ -458,6 +447,13 @@ var APIKey = class _APIKey extends protobuf.Message {
458
447
  T: 9
459
448
  /* ScalarType.STRING */
460
449
  },
450
+ {
451
+ no: 13,
452
+ name: "app_id",
453
+ kind: "scalar",
454
+ T: 9
455
+ /* ScalarType.STRING */
456
+ },
461
457
  {
462
458
  no: 2,
463
459
  name: "name",
@@ -486,7 +482,6 @@ var APIKey = class _APIKey extends protobuf.Message {
486
482
  T: 9
487
483
  /* ScalarType.STRING */
488
484
  },
489
- { no: 6, name: "environment", kind: "enum", T: protobuf.proto3.getEnumType(APIKeyEnvironment) },
490
485
  { no: 7, name: "scopes", kind: "scalar", T: 9, repeated: true },
491
486
  { no: 8, name: "last_used_at", kind: "message", T: protobuf.Timestamp, opt: true },
492
487
  { no: 9, name: "expires_at", kind: "message", T: protobuf.Timestamp, opt: true },
@@ -526,12 +521,6 @@ var CreateAPIKeyRequest = class _CreateAPIKeyRequest extends protobuf.Message {
526
521
  * @generated from field: string description = 2;
527
522
  */
528
523
  description = "";
529
- /**
530
- * Environment for the key.
531
- *
532
- * @generated from field: transcodely.v1.APIKeyEnvironment environment = 3;
533
- */
534
- environment = 0 /* API_KEY_ENVIRONMENT_UNSPECIFIED */;
535
524
  /**
536
525
  * Optional expiration time. Null means the key never expires.
537
526
  *
@@ -566,7 +555,6 @@ var CreateAPIKeyRequest = class _CreateAPIKeyRequest extends protobuf.Message {
566
555
  T: 9
567
556
  /* ScalarType.STRING */
568
557
  },
569
- { no: 3, name: "environment", kind: "enum", T: protobuf.proto3.getEnumType(APIKeyEnvironment) },
570
558
  { no: 4, name: "expires_at", kind: "message", T: protobuf.Timestamp, opt: true },
571
559
  {
572
560
  no: 5,
@@ -698,12 +686,6 @@ var GetAPIKeyResponse = class _GetAPIKeyResponse extends protobuf.Message {
698
686
  }
699
687
  };
700
688
  var ListAPIKeysRequest = class _ListAPIKeysRequest extends protobuf.Message {
701
- /**
702
- * Optional filter by environment.
703
- *
704
- * @generated from field: optional transcodely.v1.APIKeyEnvironment environment = 1;
705
- */
706
- environment;
707
689
  /**
708
690
  * If true, include revoked keys in the response.
709
691
  *
@@ -716,6 +698,15 @@ var ListAPIKeysRequest = class _ListAPIKeysRequest extends protobuf.Message {
716
698
  * @generated from field: transcodely.v1.PaginationRequest pagination = 3;
717
699
  */
718
700
  pagination;
701
+ /**
702
+ * Optional app filter. API-key callers may omit it (their key's app is used)
703
+ * or pass their own app; a different app is rejected with PermissionDenied.
704
+ * Portal/JWT callers pass it to list a specific app in their org; omitted
705
+ * returns keys across all apps in the org.
706
+ *
707
+ * @generated from field: optional string app_id = 4;
708
+ */
709
+ appId;
719
710
  constructor(data) {
720
711
  super();
721
712
  protobuf.proto3.util.initPartial(data, this);
@@ -723,7 +714,6 @@ var ListAPIKeysRequest = class _ListAPIKeysRequest extends protobuf.Message {
723
714
  static runtime = protobuf.proto3;
724
715
  static typeName = "transcodely.v1.ListAPIKeysRequest";
725
716
  static fields = protobuf.proto3.util.newFieldList(() => [
726
- { no: 1, name: "environment", kind: "enum", T: protobuf.proto3.getEnumType(APIKeyEnvironment), opt: true },
727
717
  {
728
718
  no: 2,
729
719
  name: "include_revoked",
@@ -731,7 +721,8 @@ var ListAPIKeysRequest = class _ListAPIKeysRequest extends protobuf.Message {
731
721
  T: 8
732
722
  /* ScalarType.BOOL */
733
723
  },
734
- { no: 3, name: "pagination", kind: "message", T: PaginationRequest }
724
+ { no: 3, name: "pagination", kind: "message", T: PaginationRequest },
725
+ { no: 4, name: "app_id", kind: "scalar", T: 9, opt: true }
735
726
  ]);
736
727
  static fromBinary(bytes, options) {
737
728
  return new _ListAPIKeysRequest().fromBinary(bytes, options);
@@ -1029,17 +1020,6 @@ var App = class _App extends protobuf.Message {
1029
1020
  * @generated from field: optional string description = 4;
1030
1021
  */
1031
1022
  description;
1032
- /**
1033
- * Webhook configuration.
1034
- * Deprecated: Use WebhookService (webhook.proto) to manage webhook endpoints
1035
- * instead. The new WebhookEndpoint resource supports multiple endpoints per
1036
- * app, HMAC-SHA-256 signing with secret rotation, and per-event type
1037
- * subscriptions. This field is retained for backwards compatibility;
1038
- * field number 5 must never be reused.
1039
- *
1040
- * @generated from field: optional transcodely.v1.WebhookConfig webhook = 5;
1041
- */
1042
- webhook;
1043
1023
  /**
1044
1024
  * App status.
1045
1025
  *
@@ -1125,7 +1105,6 @@ var App = class _App extends protobuf.Message {
1125
1105
  /* ScalarType.STRING */
1126
1106
  },
1127
1107
  { no: 4, name: "description", kind: "scalar", T: 9, opt: true },
1128
- { no: 5, name: "webhook", kind: "message", T: WebhookConfig, opt: true },
1129
1108
  { no: 6, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(AppStatus) },
1130
1109
  { no: 7, name: "created_at", kind: "message", T: protobuf.Timestamp },
1131
1110
  { no: 8, name: "updated_at", kind: "message", T: protobuf.Timestamp },
@@ -1155,72 +1134,6 @@ var App = class _App extends protobuf.Message {
1155
1134
  return protobuf.proto3.util.equals(_App, a, b);
1156
1135
  }
1157
1136
  };
1158
- var WebhookConfig = class _WebhookConfig extends protobuf.Message {
1159
- /**
1160
- * HTTPS endpoint for receiving webhooks.
1161
- *
1162
- * @generated from field: string url = 1;
1163
- */
1164
- url = "";
1165
- /**
1166
- * Secret for HMAC-SHA256 signature verification.
1167
- * Only the last 4 characters are shown (hint).
1168
- * Full secret is only returned when first configured.
1169
- *
1170
- * @generated from field: optional string secret_hint = 2;
1171
- */
1172
- secretHint;
1173
- /**
1174
- * Whether a secret is configured.
1175
- *
1176
- * @generated from field: bool has_secret = 3;
1177
- */
1178
- hasSecret = false;
1179
- /**
1180
- * Events to send.
1181
- * Possible values: job.completed, job.failed, job.progress, job.canceled,
1182
- * output.completed, output.failed
1183
- *
1184
- * @generated from field: repeated string events = 4;
1185
- */
1186
- events = [];
1187
- constructor(data) {
1188
- super();
1189
- protobuf.proto3.util.initPartial(data, this);
1190
- }
1191
- static runtime = protobuf.proto3;
1192
- static typeName = "transcodely.v1.WebhookConfig";
1193
- static fields = protobuf.proto3.util.newFieldList(() => [
1194
- {
1195
- no: 1,
1196
- name: "url",
1197
- kind: "scalar",
1198
- T: 9
1199
- /* ScalarType.STRING */
1200
- },
1201
- { no: 2, name: "secret_hint", kind: "scalar", T: 9, opt: true },
1202
- {
1203
- no: 3,
1204
- name: "has_secret",
1205
- kind: "scalar",
1206
- T: 8
1207
- /* ScalarType.BOOL */
1208
- },
1209
- { no: 4, name: "events", kind: "scalar", T: 9, repeated: true }
1210
- ]);
1211
- static fromBinary(bytes, options) {
1212
- return new _WebhookConfig().fromBinary(bytes, options);
1213
- }
1214
- static fromJson(jsonValue, options) {
1215
- return new _WebhookConfig().fromJson(jsonValue, options);
1216
- }
1217
- static fromJsonString(jsonString, options) {
1218
- return new _WebhookConfig().fromJsonString(jsonString, options);
1219
- }
1220
- static equals(a, b) {
1221
- return protobuf.proto3.util.equals(_WebhookConfig, a, b);
1222
- }
1223
- };
1224
1137
  var CreateAppRequest = class _CreateAppRequest extends protobuf.Message {
1225
1138
  /**
1226
1139
  * Parent organization ID.
@@ -1240,12 +1153,6 @@ var CreateAppRequest = class _CreateAppRequest extends protobuf.Message {
1240
1153
  * @generated from field: optional string description = 3;
1241
1154
  */
1242
1155
  description;
1243
- /**
1244
- * Optional webhook configuration.
1245
- *
1246
- * @generated from field: optional transcodely.v1.CreateWebhookConfig webhook = 4;
1247
- */
1248
- webhook;
1249
1156
  /**
1250
1157
  * Enable video hosting for this app. Provisions CDN infrastructure.
1251
1158
  * This cannot be disabled once enabled.
@@ -1275,7 +1182,6 @@ var CreateAppRequest = class _CreateAppRequest extends protobuf.Message {
1275
1182
  /* ScalarType.STRING */
1276
1183
  },
1277
1184
  { no: 3, name: "description", kind: "scalar", T: 9, opt: true },
1278
- { no: 4, name: "webhook", kind: "message", T: CreateWebhookConfig, opt: true },
1279
1185
  { no: 5, name: "enable_hosting", kind: "scalar", T: 8, opt: true }
1280
1186
  ]);
1281
1187
  static fromBinary(bytes, options) {
@@ -1291,63 +1197,6 @@ var CreateAppRequest = class _CreateAppRequest extends protobuf.Message {
1291
1197
  return protobuf.proto3.util.equals(_CreateAppRequest, a, b);
1292
1198
  }
1293
1199
  };
1294
- var CreateWebhookConfig = class _CreateWebhookConfig extends protobuf.Message {
1295
- /**
1296
- * HTTPS endpoint for receiving webhooks.
1297
- *
1298
- * @generated from field: string url = 1;
1299
- */
1300
- url = "";
1301
- /**
1302
- * If true, a webhook secret will be generated.
1303
- * The secret is returned once in the response.
1304
- *
1305
- * @generated from field: bool generate_secret = 2;
1306
- */
1307
- generateSecret = false;
1308
- /**
1309
- * Events to send.
1310
- * Default: ["job.completed", "job.failed"] if not specified.
1311
- *
1312
- * @generated from field: repeated string events = 3;
1313
- */
1314
- events = [];
1315
- constructor(data) {
1316
- super();
1317
- protobuf.proto3.util.initPartial(data, this);
1318
- }
1319
- static runtime = protobuf.proto3;
1320
- static typeName = "transcodely.v1.CreateWebhookConfig";
1321
- static fields = protobuf.proto3.util.newFieldList(() => [
1322
- {
1323
- no: 1,
1324
- name: "url",
1325
- kind: "scalar",
1326
- T: 9
1327
- /* ScalarType.STRING */
1328
- },
1329
- {
1330
- no: 2,
1331
- name: "generate_secret",
1332
- kind: "scalar",
1333
- T: 8
1334
- /* ScalarType.BOOL */
1335
- },
1336
- { no: 3, name: "events", kind: "scalar", T: 9, repeated: true }
1337
- ]);
1338
- static fromBinary(bytes, options) {
1339
- return new _CreateWebhookConfig().fromBinary(bytes, options);
1340
- }
1341
- static fromJson(jsonValue, options) {
1342
- return new _CreateWebhookConfig().fromJson(jsonValue, options);
1343
- }
1344
- static fromJsonString(jsonString, options) {
1345
- return new _CreateWebhookConfig().fromJsonString(jsonString, options);
1346
- }
1347
- static equals(a, b) {
1348
- return protobuf.proto3.util.equals(_CreateWebhookConfig, a, b);
1349
- }
1350
- };
1351
1200
  var CreateAppResponse = class _CreateAppResponse extends protobuf.Message {
1352
1201
  /**
1353
1202
  * The created app.
@@ -1355,13 +1204,6 @@ var CreateAppResponse = class _CreateAppResponse extends protobuf.Message {
1355
1204
  * @generated from field: transcodely.v1.App app = 1;
1356
1205
  */
1357
1206
  app;
1358
- /**
1359
- * Webhook secret (only returned if generate_secret was true).
1360
- * WARNING: This is the only time the secret is returned.
1361
- *
1362
- * @generated from field: optional string webhook_secret = 2;
1363
- */
1364
- webhookSecret;
1365
1207
  constructor(data) {
1366
1208
  super();
1367
1209
  protobuf.proto3.util.initPartial(data, this);
@@ -1369,8 +1211,7 @@ var CreateAppResponse = class _CreateAppResponse extends protobuf.Message {
1369
1211
  static runtime = protobuf.proto3;
1370
1212
  static typeName = "transcodely.v1.CreateAppResponse";
1371
1213
  static fields = protobuf.proto3.util.newFieldList(() => [
1372
- { no: 1, name: "app", kind: "message", T: App },
1373
- { no: 2, name: "webhook_secret", kind: "scalar", T: 9, opt: true }
1214
+ { no: 1, name: "app", kind: "message", T: App }
1374
1215
  ]);
1375
1216
  static fromBinary(bytes, options) {
1376
1217
  return new _CreateAppResponse().fromBinary(bytes, options);
@@ -1468,13 +1309,6 @@ var UpdateAppRequest = class _UpdateAppRequest extends protobuf.Message {
1468
1309
  * @generated from field: optional string description = 3;
1469
1310
  */
1470
1311
  description;
1471
- /**
1472
- * New webhook configuration (if provided).
1473
- * Set to empty message to clear webhook config.
1474
- *
1475
- * @generated from field: optional transcodely.v1.UpdateWebhookConfig webhook = 4;
1476
- */
1477
- webhook;
1478
1312
  constructor(data) {
1479
1313
  super();
1480
1314
  protobuf.proto3.util.initPartial(data, this);
@@ -1490,8 +1324,7 @@ var UpdateAppRequest = class _UpdateAppRequest extends protobuf.Message {
1490
1324
  /* ScalarType.STRING */
1491
1325
  },
1492
1326
  { no: 2, name: "name", kind: "scalar", T: 9, opt: true },
1493
- { no: 3, name: "description", kind: "scalar", T: 9, opt: true },
1494
- { no: 4, name: "webhook", kind: "message", T: UpdateWebhookConfig, opt: true }
1327
+ { no: 3, name: "description", kind: "scalar", T: 9, opt: true }
1495
1328
  ]);
1496
1329
  static fromBinary(bytes, options) {
1497
1330
  return new _UpdateAppRequest().fromBinary(bytes, options);
@@ -1506,58 +1339,6 @@ var UpdateAppRequest = class _UpdateAppRequest extends protobuf.Message {
1506
1339
  return protobuf.proto3.util.equals(_UpdateAppRequest, a, b);
1507
1340
  }
1508
1341
  };
1509
- var UpdateWebhookConfig = class _UpdateWebhookConfig extends protobuf.Message {
1510
- /**
1511
- * New webhook URL. HTTPS only (same constraint as CreateWebhookConfig).
1512
- * Set to empty string to disable webhooks.
1513
- *
1514
- * @generated from field: optional string url = 1;
1515
- */
1516
- url;
1517
- /**
1518
- * If true, regenerate the webhook secret.
1519
- * The new secret is returned in the response.
1520
- *
1521
- * @generated from field: bool regenerate_secret = 2;
1522
- */
1523
- regenerateSecret = false;
1524
- /**
1525
- * New events to send.
1526
- * Only applied if explicitly provided.
1527
- *
1528
- * @generated from field: repeated string events = 3;
1529
- */
1530
- events = [];
1531
- constructor(data) {
1532
- super();
1533
- protobuf.proto3.util.initPartial(data, this);
1534
- }
1535
- static runtime = protobuf.proto3;
1536
- static typeName = "transcodely.v1.UpdateWebhookConfig";
1537
- static fields = protobuf.proto3.util.newFieldList(() => [
1538
- { no: 1, name: "url", kind: "scalar", T: 9, opt: true },
1539
- {
1540
- no: 2,
1541
- name: "regenerate_secret",
1542
- kind: "scalar",
1543
- T: 8
1544
- /* ScalarType.BOOL */
1545
- },
1546
- { no: 3, name: "events", kind: "scalar", T: 9, repeated: true }
1547
- ]);
1548
- static fromBinary(bytes, options) {
1549
- return new _UpdateWebhookConfig().fromBinary(bytes, options);
1550
- }
1551
- static fromJson(jsonValue, options) {
1552
- return new _UpdateWebhookConfig().fromJson(jsonValue, options);
1553
- }
1554
- static fromJsonString(jsonString, options) {
1555
- return new _UpdateWebhookConfig().fromJsonString(jsonString, options);
1556
- }
1557
- static equals(a, b) {
1558
- return protobuf.proto3.util.equals(_UpdateWebhookConfig, a, b);
1559
- }
1560
- };
1561
1342
  var UpdateAppResponse = class _UpdateAppResponse extends protobuf.Message {
1562
1343
  /**
1563
1344
  * The updated app.
@@ -1565,12 +1346,6 @@ var UpdateAppResponse = class _UpdateAppResponse extends protobuf.Message {
1565
1346
  * @generated from field: transcodely.v1.App app = 1;
1566
1347
  */
1567
1348
  app;
1568
- /**
1569
- * New webhook secret (only returned if regenerate_secret was true).
1570
- *
1571
- * @generated from field: optional string webhook_secret = 2;
1572
- */
1573
- webhookSecret;
1574
1349
  constructor(data) {
1575
1350
  super();
1576
1351
  protobuf.proto3.util.initPartial(data, this);
@@ -1578,8 +1353,7 @@ var UpdateAppResponse = class _UpdateAppResponse extends protobuf.Message {
1578
1353
  static runtime = protobuf.proto3;
1579
1354
  static typeName = "transcodely.v1.UpdateAppResponse";
1580
1355
  static fields = protobuf.proto3.util.newFieldList(() => [
1581
- { no: 1, name: "app", kind: "message", T: App },
1582
- { no: 2, name: "webhook_secret", kind: "scalar", T: 9, opt: true }
1356
+ { no: 1, name: "app", kind: "message", T: App }
1583
1357
  ]);
1584
1358
  static fromBinary(bytes, options) {
1585
1359
  return new _UpdateAppResponse().fromBinary(bytes, options);
@@ -2021,7 +1795,7 @@ var AppService = {
2021
1795
  kind: protobuf.MethodKind.Unary
2022
1796
  },
2023
1797
  /**
2024
- * Update an app's name, description, and webhook configuration.
1798
+ * Update an app's name and description.
2025
1799
  *
2026
1800
  * @generated from rpc transcodely.v1.AppService.Update
2027
1801
  */
@@ -2379,13 +2153,6 @@ var Event = class _Event extends protobuf.Message {
2379
2153
  * @generated from field: string api_version = 8;
2380
2154
  */
2381
2155
  apiVersion = "";
2382
- /**
2383
- * True when the event was emitted from production (live mode) traffic.
2384
- * Reserved for a future test-mode concept; always `true` today.
2385
- *
2386
- * @generated from field: bool livemode = 9;
2387
- */
2388
- livemode = false;
2389
2156
  /**
2390
2157
  * Resource type discriminator. Always "event" for this message.
2391
2158
  * Mirrored into the webhook envelope as the top-level `object`.
@@ -2444,13 +2211,6 @@ var Event = class _Event extends protobuf.Message {
2444
2211
  T: 9
2445
2212
  /* ScalarType.STRING */
2446
2213
  },
2447
- {
2448
- no: 9,
2449
- name: "livemode",
2450
- kind: "scalar",
2451
- T: 8
2452
- /* ScalarType.BOOL */
2453
- },
2454
2214
  {
2455
2215
  no: 10,
2456
2216
  name: "object",
@@ -2492,8 +2252,11 @@ var WebhookDelivery = class _WebhookDelivery extends protobuf.Message {
2492
2252
  */
2493
2253
  eventId = "";
2494
2254
  /**
2495
- * Delivery status: "pending", "succeeded", or "failed".
2496
- * Wire value is lowercase per project convention.
2255
+ * Delivery status: "pending", "succeeded", "failed", or "exhausted".
2256
+ * "exhausted" means the retry curve ran out (attempt 15) without a success;
2257
+ * "failed" is a single failed attempt (a retry may still be scheduled) or an
2258
+ * early stop on a non-retryable 4xx. Wire value is lowercase per project
2259
+ * convention.
2497
2260
  *
2498
2261
  * @generated from field: string status = 4;
2499
2262
  */
@@ -2546,7 +2309,8 @@ var WebhookDelivery = class _WebhookDelivery extends protobuf.Message {
2546
2309
  latencyMs;
2547
2310
  /**
2548
2311
  * Reason a response was not received. Absent when response_status is set.
2549
- * One of: "timeout", "connection_refused", "dns_failure",
2312
+ * One of: "timeout", "connection_refused", "connection_reset",
2313
+ * "connection_closed", "host_unreachable", "dns_failure",
2550
2314
  * "tls_handshake_failed", "ssrf_blocked", "unknown".
2551
2315
  * Wire value is lowercase per project convention.
2552
2316
  *
@@ -2565,6 +2329,15 @@ var WebhookDelivery = class _WebhookDelivery extends protobuf.Message {
2565
2329
  * @generated from field: optional string response_headers = 13;
2566
2330
  */
2567
2331
  responseHeaders;
2332
+ /**
2333
+ * Human-readable detail for the failure: the transport error text when
2334
+ * transport_error is set, or "non-2xx response: <status>" for a completed
2335
+ * request that the endpoint rejected. Absent for pending or succeeded
2336
+ * deliveries.
2337
+ *
2338
+ * @generated from field: optional string error_message = 14;
2339
+ */
2340
+ errorMessage;
2568
2341
  constructor(data) {
2569
2342
  super();
2570
2343
  protobuf.proto3.util.initPartial(data, this);
@@ -2614,7 +2387,8 @@ var WebhookDelivery = class _WebhookDelivery extends protobuf.Message {
2614
2387
  { no: 10, name: "updated_at", kind: "message", T: protobuf.Timestamp },
2615
2388
  { no: 11, name: "latency_ms", kind: "scalar", T: 5, opt: true },
2616
2389
  { no: 12, name: "transport_error", kind: "scalar", T: 9, opt: true },
2617
- { no: 13, name: "response_headers", kind: "scalar", T: 9, opt: true }
2390
+ { no: 13, name: "response_headers", kind: "scalar", T: 9, opt: true },
2391
+ { no: 14, name: "error_message", kind: "scalar", T: 9, opt: true }
2618
2392
  ]);
2619
2393
  static fromBinary(bytes, options) {
2620
2394
  return new _WebhookDelivery().fromBinary(bytes, options);
@@ -3438,7 +3212,7 @@ var ListWebhookDeliveriesRequest = class _ListWebhookDeliveriesRequest extends p
3438
3212
  */
3439
3213
  eventId;
3440
3214
  /**
3441
- * Filter by status: "pending", "succeeded", or "failed".
3215
+ * Filter by status: "pending", "succeeded", "failed", or "exhausted".
3442
3216
  *
3443
3217
  * @generated from field: optional string status = 3;
3444
3218
  */
@@ -6006,6 +5780,12 @@ var Origin = class _Origin extends protobuf.Message {
6006
5780
  * @generated from field: string id = 1;
6007
5781
  */
6008
5782
  id = "";
5783
+ /**
5784
+ * Parent app that owns this origin. Server-set; ignored on requests.
5785
+ *
5786
+ * @generated from field: string app_id = 19;
5787
+ */
5788
+ appId = "";
6009
5789
  /**
6010
5790
  * Human-readable name for the origin.
6011
5791
  *
@@ -6139,6 +5919,13 @@ var Origin = class _Origin extends protobuf.Message {
6139
5919
  T: 9
6140
5920
  /* ScalarType.STRING */
6141
5921
  },
5922
+ {
5923
+ no: 19,
5924
+ name: "app_id",
5925
+ kind: "scalar",
5926
+ T: 9
5927
+ /* ScalarType.STRING */
5928
+ },
6142
5929
  {
6143
5930
  no: 2,
6144
5931
  name: "name",
@@ -6258,6 +6045,15 @@ var CreateOriginRequest = class _CreateOriginRequest extends protobuf.Message {
6258
6045
  * @generated from field: transcodely.v1.R2OriginConfig r2 = 9;
6259
6046
  */
6260
6047
  r2;
6048
+ /**
6049
+ * Optional target app. API-key callers may omit it (their key's app is used)
6050
+ * or pass their own app; a different app is rejected with PermissionDenied.
6051
+ * Portal/JWT callers pass it to create in a specific app in their org;
6052
+ * omitted selects the org's first active app.
6053
+ *
6054
+ * @generated from field: optional string app_id = 10;
6055
+ */
6056
+ appId;
6261
6057
  constructor(data) {
6262
6058
  super();
6263
6059
  protobuf.proto3.util.initPartial(data, this);
@@ -6297,7 +6093,8 @@ var CreateOriginRequest = class _CreateOriginRequest extends protobuf.Message {
6297
6093
  { no: 6, name: "gcs", kind: "message", T: GcsOriginConfig },
6298
6094
  { no: 7, name: "s3", kind: "message", T: S3OriginConfig },
6299
6095
  { no: 8, name: "http", kind: "message", T: HttpOriginConfig },
6300
- { no: 9, name: "r2", kind: "message", T: R2OriginConfig }
6096
+ { no: 9, name: "r2", kind: "message", T: R2OriginConfig },
6097
+ { no: 10, name: "app_id", kind: "scalar", T: 9, opt: true }
6301
6098
  ]);
6302
6099
  static fromBinary(bytes, options) {
6303
6100
  return new _CreateOriginRequest().fromBinary(bytes, options);
@@ -6537,6 +6334,15 @@ var ListOriginsRequest = class _ListOriginsRequest extends protobuf.Message {
6537
6334
  * @generated from field: transcodely.v1.PaginationRequest pagination = 5;
6538
6335
  */
6539
6336
  pagination;
6337
+ /**
6338
+ * Optional app filter. API-key callers may omit it (their key's app is used)
6339
+ * or pass their own app; a different app is rejected with PermissionDenied.
6340
+ * Portal/JWT callers pass it to list a specific app in their org; omitted
6341
+ * returns origins across all apps in the org.
6342
+ *
6343
+ * @generated from field: optional string app_id = 6;
6344
+ */
6345
+ appId;
6540
6346
  constructor(data) {
6541
6347
  super();
6542
6348
  protobuf.proto3.util.initPartial(data, this);
@@ -6554,7 +6360,8 @@ var ListOriginsRequest = class _ListOriginsRequest extends protobuf.Message {
6554
6360
  T: 8
6555
6361
  /* ScalarType.BOOL */
6556
6362
  },
6557
- { no: 5, name: "pagination", kind: "message", T: PaginationRequest }
6363
+ { no: 5, name: "pagination", kind: "message", T: PaginationRequest },
6364
+ { no: 6, name: "app_id", kind: "scalar", T: 9, opt: true }
6558
6365
  ]);
6559
6366
  static fromBinary(bytes, options) {
6560
6367
  return new _ListOriginsRequest().fromBinary(bytes, options);
@@ -6975,13 +6782,16 @@ var VideoStreamInfo = class _VideoStreamInfo extends protobuf.Message {
6975
6782
  */
6976
6783
  codec = "";
6977
6784
  /**
6978
- * Frame width in pixels.
6785
+ * Frame width in pixels, as displayed (container rotation applied).
6786
+ * For a portrait phone recording stored as 1920x1440 with a 90° rotation
6787
+ * side-matrix this is 1440 — matching the media players render and the
6788
+ * outputs Transcodely produces. See `rotation` for the stored orientation.
6979
6789
  *
6980
6790
  * @generated from field: int32 width = 2;
6981
6791
  */
6982
6792
  width = 0;
6983
6793
  /**
6984
- * Frame height in pixels.
6794
+ * Frame height in pixels, as displayed (container rotation applied).
6985
6795
  *
6986
6796
  * @generated from field: int32 height = 3;
6987
6797
  */
@@ -7053,7 +6863,9 @@ var VideoStreamInfo = class _VideoStreamInfo extends protobuf.Message {
7053
6863
  */
7054
6864
  frameCount;
7055
6865
  /**
7056
- * Display aspect ratio as string (e.g., "16:9", "2.35:1").
6866
+ * Display aspect ratio as string (e.g., "16:9", "2.35:1"), rotation-aware:
6867
+ * for a 90°/270° rotated stream the ratio describes the displayed frame
6868
+ * (consistent with width/height above), not the coded one.
7057
6869
  *
7058
6870
  * @generated from field: optional string display_aspect_ratio = 15;
7059
6871
  */
@@ -7064,6 +6876,16 @@ var VideoStreamInfo = class _VideoStreamInfo extends protobuf.Message {
7064
6876
  * @generated from field: optional string sample_aspect_ratio = 16;
7065
6877
  */
7066
6878
  sampleAspectRatio;
6879
+ /**
6880
+ * Container-level rotation metadata in degrees clockwise: 0, 90, 180 or
6881
+ * 270. Parsed from the display-matrix side data (or legacy rotate tag).
6882
+ * width/height/display_aspect_ratio already have this rotation applied;
6883
+ * the field is informational so callers can recover the coded orientation.
6884
+ * Absent when the stream carries no rotation metadata.
6885
+ *
6886
+ * @generated from field: optional int32 rotation = 17;
6887
+ */
6888
+ rotation;
7067
6889
  constructor(data) {
7068
6890
  super();
7069
6891
  protobuf.proto3.util.initPartial(data, this);
@@ -7128,7 +6950,8 @@ var VideoStreamInfo = class _VideoStreamInfo extends protobuf.Message {
7128
6950
  { no: 13, name: "interlaced", kind: "scalar", T: 8, opt: true },
7129
6951
  { no: 14, name: "frame_count", kind: "scalar", T: 3, opt: true },
7130
6952
  { no: 15, name: "display_aspect_ratio", kind: "scalar", T: 9, opt: true },
7131
- { no: 16, name: "sample_aspect_ratio", kind: "scalar", T: 9, opt: true }
6953
+ { no: 16, name: "sample_aspect_ratio", kind: "scalar", T: 9, opt: true },
6954
+ { no: 17, name: "rotation", kind: "scalar", T: 5, opt: true }
7132
6955
  ]);
7133
6956
  static fromBinary(bytes, options) {
7134
6957
  return new _VideoStreamInfo().fromBinary(bytes, options);
@@ -8606,6 +8429,38 @@ var JobOutput = class _JobOutput extends protobuf.Message {
8606
8429
  * @generated from field: string object = 21;
8607
8430
  */
8608
8431
  object = "";
8432
+ /**
8433
+ * Actual encoded frame width in pixels, measured from the produced media
8434
+ * (rotation applied, so it matches what players display). For multi-variant
8435
+ * outputs (ABR ladders) this is the highest-resolution variant's width;
8436
+ * per-variant dimensions are in variant_results. Set when completed.
8437
+ *
8438
+ * @generated from field: optional int32 width = 22;
8439
+ */
8440
+ width;
8441
+ /**
8442
+ * Actual encoded frame height in pixels (see width for semantics).
8443
+ *
8444
+ * @generated from field: optional int32 height = 23;
8445
+ */
8446
+ height;
8447
+ /**
8448
+ * Measured average bitrate of the encoded output in kbps
8449
+ * (total bytes × 8 / encoded duration). For multi-variant outputs this
8450
+ * aggregates all variants; per-variant bitrates are in variant_results.
8451
+ * Set when completed.
8452
+ *
8453
+ * @generated from field: optional int32 average_bitrate_kbps = 24;
8454
+ */
8455
+ averageBitrateKbps;
8456
+ /**
8457
+ * Per-variant encode results for multi-variant outputs (ABR ladders),
8458
+ * indexed like variant_pricing. Empty for single-variant outputs (use
8459
+ * width/height/average_bitrate_kbps instead). Set when completed.
8460
+ *
8461
+ * @generated from field: repeated transcodely.v1.OutputVariantResult variant_results = 25;
8462
+ */
8463
+ variantResults = [];
8609
8464
  constructor(data) {
8610
8465
  super();
8611
8466
  protobuf.proto3.util.initPartial(data, this);
@@ -8649,7 +8504,11 @@ var JobOutput = class _JobOutput extends protobuf.Message {
8649
8504
  kind: "scalar",
8650
8505
  T: 9
8651
8506
  /* ScalarType.STRING */
8652
- }
8507
+ },
8508
+ { no: 22, name: "width", kind: "scalar", T: 5, opt: true },
8509
+ { no: 23, name: "height", kind: "scalar", T: 5, opt: true },
8510
+ { no: 24, name: "average_bitrate_kbps", kind: "scalar", T: 5, opt: true },
8511
+ { no: 25, name: "variant_results", kind: "message", T: OutputVariantResult, repeated: true }
8653
8512
  ]);
8654
8513
  static fromBinary(bytes, options) {
8655
8514
  return new _JobOutput().fromBinary(bytes, options);
@@ -8664,6 +8523,81 @@ var JobOutput = class _JobOutput extends protobuf.Message {
8664
8523
  return protobuf.proto3.util.equals(_JobOutput, a, b);
8665
8524
  }
8666
8525
  };
8526
+ var OutputVariantResult = class _OutputVariantResult extends protobuf.Message {
8527
+ /**
8528
+ * Variant index within the output (0-based).
8529
+ *
8530
+ * @generated from field: int32 index = 1;
8531
+ */
8532
+ index = 0;
8533
+ /**
8534
+ * Actual encoded frame width in pixels.
8535
+ *
8536
+ * @generated from field: int32 width = 2;
8537
+ */
8538
+ width = 0;
8539
+ /**
8540
+ * Actual encoded frame height in pixels.
8541
+ *
8542
+ * @generated from field: int32 height = 3;
8543
+ */
8544
+ height = 0;
8545
+ /**
8546
+ * Measured average bitrate for this variant in kbps.
8547
+ *
8548
+ * @generated from field: optional int32 average_bitrate_kbps = 4;
8549
+ */
8550
+ averageBitrateKbps;
8551
+ /**
8552
+ * Total encoded size of this variant in bytes.
8553
+ *
8554
+ * @generated from field: optional int64 size_bytes = 5;
8555
+ */
8556
+ sizeBytes;
8557
+ constructor(data) {
8558
+ super();
8559
+ protobuf.proto3.util.initPartial(data, this);
8560
+ }
8561
+ static runtime = protobuf.proto3;
8562
+ static typeName = "transcodely.v1.OutputVariantResult";
8563
+ static fields = protobuf.proto3.util.newFieldList(() => [
8564
+ {
8565
+ no: 1,
8566
+ name: "index",
8567
+ kind: "scalar",
8568
+ T: 5
8569
+ /* ScalarType.INT32 */
8570
+ },
8571
+ {
8572
+ no: 2,
8573
+ name: "width",
8574
+ kind: "scalar",
8575
+ T: 5
8576
+ /* ScalarType.INT32 */
8577
+ },
8578
+ {
8579
+ no: 3,
8580
+ name: "height",
8581
+ kind: "scalar",
8582
+ T: 5
8583
+ /* ScalarType.INT32 */
8584
+ },
8585
+ { no: 4, name: "average_bitrate_kbps", kind: "scalar", T: 5, opt: true },
8586
+ { no: 5, name: "size_bytes", kind: "scalar", T: 3, opt: true }
8587
+ ]);
8588
+ static fromBinary(bytes, options) {
8589
+ return new _OutputVariantResult().fromBinary(bytes, options);
8590
+ }
8591
+ static fromJson(jsonValue, options) {
8592
+ return new _OutputVariantResult().fromJson(jsonValue, options);
8593
+ }
8594
+ static fromJsonString(jsonString, options) {
8595
+ return new _OutputVariantResult().fromJsonString(jsonString, options);
8596
+ }
8597
+ static equals(a, b) {
8598
+ return protobuf.proto3.util.equals(_OutputVariantResult, a, b);
8599
+ }
8600
+ };
8667
8601
  var ExecutionTiming = class _ExecutionTiming extends protobuf.Message {
8668
8602
  /**
8669
8603
  * Worker instance details
@@ -8873,6 +8807,12 @@ var Job = class _Job extends protobuf.Message {
8873
8807
  * @generated from field: string id = 1;
8874
8808
  */
8875
8809
  id = "";
8810
+ /**
8811
+ * Parent app that owns this job. Server-set; ignored on requests.
8812
+ *
8813
+ * @generated from field: string app_id = 29;
8814
+ */
8815
+ appId = "";
8876
8816
  /**
8877
8817
  * URL of the input video file (direct URL mode).
8878
8818
  * Set if the job was created with input_url.
@@ -9066,6 +9006,13 @@ var Job = class _Job extends protobuf.Message {
9066
9006
  T: 9
9067
9007
  /* ScalarType.STRING */
9068
9008
  },
9009
+ {
9010
+ no: 29,
9011
+ name: "app_id",
9012
+ kind: "scalar",
9013
+ T: 9
9014
+ /* ScalarType.STRING */
9015
+ },
9069
9016
  {
9070
9017
  no: 2,
9071
9018
  name: "input_url",
@@ -9249,6 +9196,15 @@ var CreateJobRequest = class _CreateJobRequest extends protobuf.Message {
9249
9196
  * @generated from field: optional bool managed = 20;
9250
9197
  */
9251
9198
  managed;
9199
+ /**
9200
+ * Optional target app. API-key callers may omit it (their key's app is used)
9201
+ * or pass their own app; a different app is rejected with PermissionDenied.
9202
+ * Portal/JWT callers pass it to create in a specific app in their org;
9203
+ * omitted selects the org's first active app.
9204
+ *
9205
+ * @generated from field: optional string app_id = 21;
9206
+ */
9207
+ appId;
9252
9208
  constructor(data) {
9253
9209
  super();
9254
9210
  protobuf.proto3.util.initPartial(data, this);
@@ -9284,7 +9240,8 @@ var CreateJobRequest = class _CreateJobRequest extends protobuf.Message {
9284
9240
  },
9285
9241
  { no: 8, name: "thumbnails", kind: "message", T: ThumbnailSpec, repeated: true },
9286
9242
  { no: 12, name: "output_path_template", kind: "scalar", T: 9, opt: true },
9287
- { no: 20, name: "managed", kind: "scalar", T: 8, opt: true }
9243
+ { no: 20, name: "managed", kind: "scalar", T: 8, opt: true },
9244
+ { no: 21, name: "app_id", kind: "scalar", T: 9, opt: true }
9288
9245
  ]);
9289
9246
  static fromBinary(bytes, options) {
9290
9247
  return new _CreateJobRequest().fromBinary(bytes, options);
@@ -9412,6 +9369,15 @@ var ListJobsRequest = class _ListJobsRequest extends protobuf.Message {
9412
9369
  * @generated from field: transcodely.v1.PaginationRequest pagination = 2;
9413
9370
  */
9414
9371
  pagination;
9372
+ /**
9373
+ * Optional app filter. API-key callers may omit it (their key's app is used)
9374
+ * or pass their own app; a different app is rejected with PermissionDenied.
9375
+ * Portal/JWT callers pass it to list a specific app in their org; omitted
9376
+ * returns jobs across all apps in the org.
9377
+ *
9378
+ * @generated from field: optional string app_id = 3;
9379
+ */
9380
+ appId;
9415
9381
  constructor(data) {
9416
9382
  super();
9417
9383
  protobuf.proto3.util.initPartial(data, this);
@@ -9420,7 +9386,8 @@ var ListJobsRequest = class _ListJobsRequest extends protobuf.Message {
9420
9386
  static typeName = "transcodely.v1.ListJobsRequest";
9421
9387
  static fields = protobuf.proto3.util.newFieldList(() => [
9422
9388
  { no: 1, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(JobStatus), opt: true },
9423
- { no: 2, name: "pagination", kind: "message", T: PaginationRequest }
9389
+ { no: 2, name: "pagination", kind: "message", T: PaginationRequest },
9390
+ { no: 3, name: "app_id", kind: "scalar", T: 9, opt: true }
9424
9391
  ]);
9425
9392
  static fromBinary(bytes, options) {
9426
9393
  return new _ListJobsRequest().fromBinary(bytes, options);
@@ -10875,6 +10842,15 @@ var ListVideosRequest = class _ListVideosRequest extends protobuf.Message {
10875
10842
  * @generated from field: optional string status = 3;
10876
10843
  */
10877
10844
  status;
10845
+ /**
10846
+ * Optional app filter. API-key callers may omit it (their key's app is used)
10847
+ * or pass their own app; a different app is rejected with PermissionDenied.
10848
+ * Portal/JWT callers pass it to list a specific app in their org; omitted
10849
+ * returns videos across all apps in the org.
10850
+ *
10851
+ * @generated from field: optional string app_id = 4;
10852
+ */
10853
+ appId;
10878
10854
  constructor(data) {
10879
10855
  super();
10880
10856
  protobuf.proto3.util.initPartial(data, this);
@@ -10890,7 +10866,8 @@ var ListVideosRequest = class _ListVideosRequest extends protobuf.Message {
10890
10866
  /* ScalarType.INT32 */
10891
10867
  },
10892
10868
  { no: 2, name: "page_token", kind: "scalar", T: 9, opt: true },
10893
- { no: 3, name: "status", kind: "scalar", T: 9, opt: true }
10869
+ { no: 3, name: "status", kind: "scalar", T: 9, opt: true },
10870
+ { no: 4, name: "app_id", kind: "scalar", T: 9, opt: true }
10894
10871
  ]);
10895
10872
  static fromBinary(bytes, options) {
10896
10873
  return new _ListVideosRequest().fromBinary(bytes, options);
@@ -11505,7 +11482,6 @@ function protoEventToSdk(proto) {
11505
11482
  created: proto.createdAt ? proto.createdAt.toDate().toISOString() : "",
11506
11483
  type: proto.type,
11507
11484
  data,
11508
- livemode: proto.livemode,
11509
11485
  pendingWebhooks: proto.pendingWebhooks,
11510
11486
  // proto Event carries only `request_id`; `idempotency_key` is always
11511
11487
  // null until JobService.Create propagates it (out-of-scope feature).
@@ -11857,7 +11833,7 @@ function backoff(attempt) {
11857
11833
  }
11858
11834
 
11859
11835
  // src/version.ts
11860
- var SDK_VERSION = "0.1.4";
11836
+ var SDK_VERSION = "0.3.0";
11861
11837
  var API_VERSION = "2026-05-03";
11862
11838
  var DEFAULT_BASE_URL = "https://api.transcodely.com";
11863
11839
 
@@ -13730,6 +13706,13 @@ var Preset = class _Preset extends protobuf.Message {
13730
13706
  * @generated from field: string id = 1;
13731
13707
  */
13732
13708
  id = "";
13709
+ /**
13710
+ * Parent app that owns this preset. Server-set; ignored on requests.
13711
+ * Empty for system presets, which belong to no app and are visible to all.
13712
+ *
13713
+ * @generated from field: string app_id = 20;
13714
+ */
13715
+ appId = "";
13733
13716
  /**
13734
13717
  * URL-safe slug identifier (e.g., "film_1080p_standard").
13735
13718
  * Used for referencing presets in job creation.
@@ -13854,6 +13837,13 @@ var Preset = class _Preset extends protobuf.Message {
13854
13837
  T: 9
13855
13838
  /* ScalarType.STRING */
13856
13839
  },
13840
+ {
13841
+ no: 20,
13842
+ name: "app_id",
13843
+ kind: "scalar",
13844
+ T: 9
13845
+ /* ScalarType.STRING */
13846
+ },
13857
13847
  {
13858
13848
  no: 2,
13859
13849
  name: "slug",
@@ -14007,6 +13997,15 @@ var CreatePresetRequest = class _CreatePresetRequest extends protobuf.Message {
14007
13997
  * @generated from field: optional bool disable_audio = 15;
14008
13998
  */
14009
13999
  disableAudio;
14000
+ /**
14001
+ * Optional target app. API-key callers may omit it (their key's app is used)
14002
+ * or pass their own app; a different app is rejected with PermissionDenied.
14003
+ * Portal/JWT callers pass it to create in a specific app in their org;
14004
+ * omitted selects the org's first active app.
14005
+ *
14006
+ * @generated from field: optional string app_id = 16;
14007
+ */
14008
+ appId;
14010
14009
  constructor(data) {
14011
14010
  super();
14012
14011
  protobuf.proto3.util.initPartial(data, this);
@@ -14039,7 +14038,8 @@ var CreatePresetRequest = class _CreatePresetRequest extends protobuf.Message {
14039
14038
  { no: 10, name: "audio", kind: "message", T: AudioSettings },
14040
14039
  { no: 11, name: "quality_tier", kind: "enum", T: protobuf.proto3.getEnumType(QualityTier) },
14041
14040
  { no: 14, name: "variants", kind: "message", T: PresetVariant, repeated: true },
14042
- { no: 15, name: "disable_audio", kind: "scalar", T: 8, opt: true }
14041
+ { no: 15, name: "disable_audio", kind: "scalar", T: 8, opt: true },
14042
+ { no: 16, name: "app_id", kind: "scalar", T: 9, opt: true }
14043
14043
  ]);
14044
14044
  static fromBinary(bytes, options) {
14045
14045
  return new _CreatePresetRequest().fromBinary(bytes, options);
@@ -14248,6 +14248,16 @@ var ListPresetsRequest = class _ListPresetsRequest extends protobuf.Message {
14248
14248
  * @generated from field: transcodely.v1.PaginationRequest pagination = 5;
14249
14249
  */
14250
14250
  pagination;
14251
+ /**
14252
+ * Optional app filter for custom presets. API-key callers may omit it (their
14253
+ * key's app is used) or pass their own app; a different app is rejected with
14254
+ * PermissionDenied. Portal/JWT callers pass it to scope custom presets to a
14255
+ * specific app in their org; omitted spans all apps in the org. System
14256
+ * presets are unaffected (governed by include_system).
14257
+ *
14258
+ * @generated from field: optional string app_id = 7;
14259
+ */
14260
+ appId;
14251
14261
  constructor(data) {
14252
14262
  super();
14253
14263
  protobuf.proto3.util.initPartial(data, this);
@@ -14260,7 +14270,8 @@ var ListPresetsRequest = class _ListPresetsRequest extends protobuf.Message {
14260
14270
  { no: 3, name: "quality_tier", kind: "enum", T: protobuf.proto3.getEnumType(QualityTier), opt: true },
14261
14271
  { no: 4, name: "video_codec", kind: "enum", T: protobuf.proto3.getEnumType(VideoCodec), opt: true },
14262
14272
  { no: 6, name: "delivery_format", kind: "enum", T: protobuf.proto3.getEnumType(DeliveryFormat), opt: true },
14263
- { no: 5, name: "pagination", kind: "message", T: PaginationRequest }
14273
+ { no: 5, name: "pagination", kind: "message", T: PaginationRequest },
14274
+ { no: 7, name: "app_id", kind: "scalar", T: 9, opt: true }
14264
14275
  ]);
14265
14276
  static fromBinary(bytes, options) {
14266
14277
  return new _ListPresetsRequest().fromBinary(bytes, options);
@@ -16230,13 +16241,6 @@ function requireString(obj, key) {
16230
16241
  }
16231
16242
  return v;
16232
16243
  }
16233
- function requireBoolean(obj, key) {
16234
- const v = obj[key];
16235
- if (typeof v !== "boolean") {
16236
- throw new WebhookPayloadError(`Webhook envelope field \`${key}\` must be a boolean`);
16237
- }
16238
- return v;
16239
- }
16240
16244
  function requireNumber(obj, key) {
16241
16245
  const v = obj[key];
16242
16246
  if (typeof v !== "number" || !Number.isFinite(v)) {
@@ -16255,7 +16259,6 @@ function buildEvent(parsed) {
16255
16259
  const apiVersion = requireString(parsed, "api_version");
16256
16260
  const created = requireString(parsed, "created");
16257
16261
  const type = requireString(parsed, "type");
16258
- const livemode = requireBoolean(parsed, "livemode");
16259
16262
  const pendingWebhooks = requireNumber(parsed, "pending_webhooks");
16260
16263
  const dataRaw = parsed["data"];
16261
16264
  if (!isPlainObject(dataRaw)) {
@@ -16286,7 +16289,6 @@ function buildEvent(parsed) {
16286
16289
  created,
16287
16290
  type,
16288
16291
  data,
16289
- livemode,
16290
16292
  pendingWebhooks,
16291
16293
  request: { id: requestIdRaw, idempotencyKey: idempotencyKeyRaw }
16292
16294
  };
@@ -16376,7 +16378,6 @@ Transcodely.SDK_VERSION = SDK_VERSION;
16376
16378
 
16377
16379
  exports.APIConnectionError = APIConnectionError;
16378
16380
  exports.APIError = APIError;
16379
- exports.APIKeyEnvironment = APIKeyEnvironment;
16380
16381
  exports.API_VERSION = API_VERSION;
16381
16382
  exports.AppStatus = AppStatus;
16382
16383
  exports.AudioCodec = AudioCodec;