@norskvideo/norsk-api 0.0.327 → 0.0.329

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/media_pb.ts CHANGED
@@ -1504,6 +1504,44 @@ proto3.util.setEnumType(VideoIOSupport, "norsk.api.media.VideoIOSupport", [
1504
1504
  { no: 1, name: "PLAYBACK" },
1505
1505
  ]);
1506
1506
 
1507
+ /**
1508
+ * @generated from enum norsk.api.media.ContextType
1509
+ */
1510
+ export enum ContextType {
1511
+ /**
1512
+ * @generated from enum value: CONTEXT_TYPE_FULL = 0;
1513
+ */
1514
+ FULL = 0,
1515
+
1516
+ /**
1517
+ * @generated from enum value: CONTEXT_TYPE_SINGLE_SOURCE = 1;
1518
+ */
1519
+ SINGLE_SOURCE = 1,
1520
+
1521
+ /**
1522
+ * @generated from enum value: CONTEXT_TYPE_SINGLE_PROGRAM = 2;
1523
+ */
1524
+ SINGLE_PROGRAM = 2,
1525
+
1526
+ /**
1527
+ * @generated from enum value: CONTEXT_TYPE_SINGLE_STREAM = 3;
1528
+ */
1529
+ SINGLE_STREAM = 3,
1530
+
1531
+ /**
1532
+ * @generated from enum value: CONTEXT_TYPE_SINGLE_RENDITION = 4;
1533
+ */
1534
+ SINGLE_RENDITION = 4,
1535
+ }
1536
+ // Retrieve enum metadata with: proto3.getEnumType(ContextType)
1537
+ proto3.util.setEnumType(ContextType, "norsk.api.media.ContextType", [
1538
+ { no: 0, name: "CONTEXT_TYPE_FULL" },
1539
+ { no: 1, name: "CONTEXT_TYPE_SINGLE_SOURCE" },
1540
+ { no: 2, name: "CONTEXT_TYPE_SINGLE_PROGRAM" },
1541
+ { no: 3, name: "CONTEXT_TYPE_SINGLE_STREAM" },
1542
+ { no: 4, name: "CONTEXT_TYPE_SINGLE_RENDITION" },
1543
+ ]);
1544
+
1507
1545
  /**
1508
1546
  * The canonical error codes for gRPC APIs.
1509
1547
  *
@@ -6879,14 +6917,15 @@ export class ComposePart extends Message<ComposePart> {
6879
6917
 
6880
6918
  /**
6881
6919
  * Z-index to determine ordering by which the sources are overlaid
6920
+ * (higher layers appear on top)
6882
6921
  *
6883
6922
  * @generated from field: uint32 z_index = 4;
6884
6923
  */
6885
6924
  zIndex = 0;
6886
6925
 
6887
6926
  /**
6888
- * Opacity of this overlay (where 0.0 is fully transparent and 1.0 is fully
6889
- * opaque)
6927
+ * Opacity multiplier of this overlay (where 0.0 is fully transparent and 1.0
6928
+ * is fully opaque)
6890
6929
  *
6891
6930
  * @generated from field: float opacity = 5;
6892
6931
  */
@@ -7187,7 +7226,7 @@ export class ComposeVideoMessage extends Message<ComposeVideoMessage> {
7187
7226
 
7188
7227
  /**
7189
7228
  * *
7190
- * Configure an Compose Media Node.
7229
+ * Configure a Compose Media Node.
7191
7230
  *
7192
7231
  * @generated from message norsk.api.media.ComposeVideoConfiguration
7193
7232
  */
@@ -7224,7 +7263,7 @@ export class ComposeVideoConfiguration extends Message<ComposeVideoConfiguration
7224
7263
  * in percentage terms, or a notional resolution can be used that is
7225
7264
  * independant of the source resolutions that may be provided.
7226
7265
  *
7227
- * if set here, this reference resolution will be applied to
7266
+ * if set here, this reference resolution will be applied to
7228
7267
  * any parts that do not have their own reference resolution specified
7229
7268
  *
7230
7269
  * If not provided the source and destination rectangles are in terms of the
@@ -7393,7 +7432,7 @@ proto3.util.setEnumType(ComposeVideoConfiguration_MissingStreamBehaviour, "norsk
7393
7432
  */
7394
7433
  export class ComposeVideoUpdateConfiguration extends Message<ComposeVideoUpdateConfiguration> {
7395
7434
  /**
7396
- * The parts (images/overlays) to include in the composition
7435
+ * Update the parts (images/overlays) to include in the composition
7397
7436
  *
7398
7437
  * @generated from field: repeated norsk.api.media.ComposePart parts = 1;
7399
7438
  */
@@ -17170,18 +17209,18 @@ export class SubscribeSource extends Message<SubscribeSource> {
17170
17209
  */
17171
17210
  export class Subscription extends Message<Subscription> {
17172
17211
  /**
17173
- * The individual subscription components
17212
+ * An arbitrary id of the subscription, to enable correlating of the corresponding subscription response
17174
17213
  *
17175
- * @generated from field: repeated norsk.api.media.SubscribeSource sources = 2;
17214
+ * @generated from field: string id = 1;
17176
17215
  */
17177
- sources: SubscribeSource[] = [];
17216
+ id = "";
17178
17217
 
17179
17218
  /**
17180
- * An arbitrary id of the subscription, to enable correlating of the corresponding subscription response
17219
+ * The individual subscription components
17181
17220
  *
17182
- * @generated from field: string id = 3;
17221
+ * @generated from field: repeated norsk.api.media.SubscribeSource sources = 2;
17183
17222
  */
17184
- id = "";
17223
+ sources: SubscribeSource[] = [];
17185
17224
 
17186
17225
  constructor(data?: PartialMessage<Subscription>) {
17187
17226
  super();
@@ -17191,8 +17230,8 @@ export class Subscription extends Message<Subscription> {
17191
17230
  static readonly runtime = proto3;
17192
17231
  static readonly typeName = "norsk.api.media.Subscription";
17193
17232
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17233
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17194
17234
  { no: 2, name: "sources", kind: "message", T: SubscribeSource, repeated: true },
17195
- { no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17196
17235
  ]);
17197
17236
 
17198
17237
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Subscription {
@@ -17219,18 +17258,18 @@ export class Subscription extends Message<Subscription> {
17219
17258
  */
17220
17259
  export class SubscriptionResponse extends Message<SubscriptionResponse> {
17221
17260
  /**
17222
- * The subscription status
17261
+ * The id of the subscription which this message is a response to
17223
17262
  *
17224
- * @generated from field: norsk.api.media.Status status = 2;
17263
+ * @generated from field: string id = 1;
17225
17264
  */
17226
- status?: Status;
17265
+ id = "";
17227
17266
 
17228
17267
  /**
17229
- * The id of the subscription which this message is a response to
17268
+ * The error that prevented the subscription, if any
17230
17269
  *
17231
- * @generated from field: string id = 3;
17270
+ * @generated from field: norsk.api.media.SubscriptionError error = 2;
17232
17271
  */
17233
- id = "";
17272
+ error?: SubscriptionError;
17234
17273
 
17235
17274
  constructor(data?: PartialMessage<SubscriptionResponse>) {
17236
17275
  super();
@@ -17240,8 +17279,8 @@ export class SubscriptionResponse extends Message<SubscriptionResponse> {
17240
17279
  static readonly runtime = proto3;
17241
17280
  static readonly typeName = "norsk.api.media.SubscriptionResponse";
17242
17281
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17243
- { no: 2, name: "status", kind: "message", T: Status },
17244
- { no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17282
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17283
+ { no: 2, name: "error", kind: "message", T: SubscriptionError },
17245
17284
  ]);
17246
17285
 
17247
17286
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscriptionResponse {
@@ -17261,6 +17300,380 @@ export class SubscriptionResponse extends Message<SubscriptionResponse> {
17261
17300
  }
17262
17301
  }
17263
17302
 
17303
+ /**
17304
+ * @generated from message norsk.api.media.SubscriptionError
17305
+ */
17306
+ export class SubscriptionError extends Message<SubscriptionError> {
17307
+ /**
17308
+ * @generated from oneof norsk.api.media.SubscriptionError.error
17309
+ */
17310
+ error: {
17311
+ /**
17312
+ * An opaque internal error
17313
+ *
17314
+ * @generated from field: string internal = 1;
17315
+ */
17316
+ value: string;
17317
+ case: "internal";
17318
+ } | {
17319
+ /**
17320
+ * The media node requesting the subscription does not exist
17321
+ *
17322
+ * @generated from field: norsk.api.media.MediaNodeId unknown_subscriber = 2;
17323
+ */
17324
+ value: MediaNodeId;
17325
+ case: "unknownSubscriber";
17326
+ } | {
17327
+ /**
17328
+ * Multiple stream keys found for the context type
17329
+ *
17330
+ * @generated from field: norsk.api.media.SubscriptionError.MultipleStreams multiple_streams = 3;
17331
+ */
17332
+ value: SubscriptionError_MultipleStreams;
17333
+ case: "multipleStreams";
17334
+ } | {
17335
+ /**
17336
+ * Per-source errors
17337
+ *
17338
+ * @generated from field: norsk.api.media.SubscriptionError.SourceSubscriptionErrors source_subscription_error = 4;
17339
+ */
17340
+ value: SubscriptionError_SourceSubscriptionErrors;
17341
+ case: "sourceSubscriptionError";
17342
+ } | { case: undefined; value?: undefined } = { case: undefined };
17343
+
17344
+ constructor(data?: PartialMessage<SubscriptionError>) {
17345
+ super();
17346
+ proto3.util.initPartial(data, this);
17347
+ }
17348
+
17349
+ static readonly runtime = proto3;
17350
+ static readonly typeName = "norsk.api.media.SubscriptionError";
17351
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17352
+ { no: 1, name: "internal", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "error" },
17353
+ { no: 2, name: "unknown_subscriber", kind: "message", T: MediaNodeId, oneof: "error" },
17354
+ { no: 3, name: "multiple_streams", kind: "message", T: SubscriptionError_MultipleStreams, oneof: "error" },
17355
+ { no: 4, name: "source_subscription_error", kind: "message", T: SubscriptionError_SourceSubscriptionErrors, oneof: "error" },
17356
+ ]);
17357
+
17358
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscriptionError {
17359
+ return new SubscriptionError().fromBinary(bytes, options);
17360
+ }
17361
+
17362
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscriptionError {
17363
+ return new SubscriptionError().fromJson(jsonValue, options);
17364
+ }
17365
+
17366
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscriptionError {
17367
+ return new SubscriptionError().fromJsonString(jsonString, options);
17368
+ }
17369
+
17370
+ static equals(a: SubscriptionError | PlainMessage<SubscriptionError> | undefined, b: SubscriptionError | PlainMessage<SubscriptionError> | undefined): boolean {
17371
+ return proto3.util.equals(SubscriptionError, a, b);
17372
+ }
17373
+ }
17374
+
17375
+ /**
17376
+ * @generated from message norsk.api.media.SubscriptionError.MultipleStreams
17377
+ */
17378
+ export class SubscriptionError_MultipleStreams extends Message<SubscriptionError_MultipleStreams> {
17379
+ /**
17380
+ * @generated from field: norsk.api.media.ContextType context_type = 1;
17381
+ */
17382
+ contextType = ContextType.FULL;
17383
+
17384
+ /**
17385
+ * @generated from field: repeated norsk.api.media.StreamKey stream_keys = 2;
17386
+ */
17387
+ streamKeys: StreamKey[] = [];
17388
+
17389
+ constructor(data?: PartialMessage<SubscriptionError_MultipleStreams>) {
17390
+ super();
17391
+ proto3.util.initPartial(data, this);
17392
+ }
17393
+
17394
+ static readonly runtime = proto3;
17395
+ static readonly typeName = "norsk.api.media.SubscriptionError.MultipleStreams";
17396
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17397
+ { no: 1, name: "context_type", kind: "enum", T: proto3.getEnumType(ContextType) },
17398
+ { no: 2, name: "stream_keys", kind: "message", T: StreamKey, repeated: true },
17399
+ ]);
17400
+
17401
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscriptionError_MultipleStreams {
17402
+ return new SubscriptionError_MultipleStreams().fromBinary(bytes, options);
17403
+ }
17404
+
17405
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscriptionError_MultipleStreams {
17406
+ return new SubscriptionError_MultipleStreams().fromJson(jsonValue, options);
17407
+ }
17408
+
17409
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscriptionError_MultipleStreams {
17410
+ return new SubscriptionError_MultipleStreams().fromJsonString(jsonString, options);
17411
+ }
17412
+
17413
+ static equals(a: SubscriptionError_MultipleStreams | PlainMessage<SubscriptionError_MultipleStreams> | undefined, b: SubscriptionError_MultipleStreams | PlainMessage<SubscriptionError_MultipleStreams> | undefined): boolean {
17414
+ return proto3.util.equals(SubscriptionError_MultipleStreams, a, b);
17415
+ }
17416
+ }
17417
+
17418
+ /**
17419
+ * @generated from message norsk.api.media.SubscriptionError.SourceSubscriptionErrors
17420
+ */
17421
+ export class SubscriptionError_SourceSubscriptionErrors extends Message<SubscriptionError_SourceSubscriptionErrors> {
17422
+ /**
17423
+ * @generated from field: repeated norsk.api.media.SourceSubscriptionError errors = 1;
17424
+ */
17425
+ errors: SourceSubscriptionError[] = [];
17426
+
17427
+ constructor(data?: PartialMessage<SubscriptionError_SourceSubscriptionErrors>) {
17428
+ super();
17429
+ proto3.util.initPartial(data, this);
17430
+ }
17431
+
17432
+ static readonly runtime = proto3;
17433
+ static readonly typeName = "norsk.api.media.SubscriptionError.SourceSubscriptionErrors";
17434
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17435
+ { no: 1, name: "errors", kind: "message", T: SourceSubscriptionError, repeated: true },
17436
+ ]);
17437
+
17438
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscriptionError_SourceSubscriptionErrors {
17439
+ return new SubscriptionError_SourceSubscriptionErrors().fromBinary(bytes, options);
17440
+ }
17441
+
17442
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscriptionError_SourceSubscriptionErrors {
17443
+ return new SubscriptionError_SourceSubscriptionErrors().fromJson(jsonValue, options);
17444
+ }
17445
+
17446
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscriptionError_SourceSubscriptionErrors {
17447
+ return new SubscriptionError_SourceSubscriptionErrors().fromJsonString(jsonString, options);
17448
+ }
17449
+
17450
+ static equals(a: SubscriptionError_SourceSubscriptionErrors | PlainMessage<SubscriptionError_SourceSubscriptionErrors> | undefined, b: SubscriptionError_SourceSubscriptionErrors | PlainMessage<SubscriptionError_SourceSubscriptionErrors> | undefined): boolean {
17451
+ return proto3.util.equals(SubscriptionError_SourceSubscriptionErrors, a, b);
17452
+ }
17453
+ }
17454
+
17455
+ /**
17456
+ * @generated from message norsk.api.media.SourceSubscriptionError
17457
+ */
17458
+ export class SourceSubscriptionError extends Message<SourceSubscriptionError> {
17459
+ /**
17460
+ * @generated from oneof norsk.api.media.SourceSubscriptionError.error
17461
+ */
17462
+ error: {
17463
+ /**
17464
+ * An opaque internal error
17465
+ *
17466
+ * @generated from field: string internal = 1;
17467
+ */
17468
+ value: string;
17469
+ case: "internal";
17470
+ } | {
17471
+ /**
17472
+ * The media node does not exist (maybe it crashed)
17473
+ *
17474
+ * @generated from field: norsk.api.media.MediaNodeId unknown_source_id = 2;
17475
+ */
17476
+ value: MediaNodeId;
17477
+ case: "unknownSourceId";
17478
+ } | {
17479
+ /**
17480
+ * The media node exists, but does not have the stream key
17481
+ *
17482
+ * @generated from field: norsk.api.media.SourceSubscriptionError.SourceStream unknown_source_stream = 3;
17483
+ */
17484
+ value: SourceSubscriptionError_SourceStream;
17485
+ case: "unknownSourceStream";
17486
+ } | {
17487
+ /**
17488
+ * The media node is not set up to receive data on this pin (which may be auto-detected)
17489
+ *
17490
+ * @generated from field: norsk.api.media.SourceSubscriptionError.NoSubscriberPin no_subscriber_pin = 4;
17491
+ */
17492
+ value: SourceSubscriptionError_NoSubscriberPin;
17493
+ case: "noSubscriberPin";
17494
+ } | {
17495
+ /**
17496
+ * Norsk does not support conversion from the media types of the source to the media types accepted by the subscriber
17497
+ *
17498
+ * @generated from field: norsk.api.media.SourceSubscriptionError.UnsupportedConversion unsupported_conversion = 5;
17499
+ */
17500
+ value: SourceSubscriptionError_UnsupportedConversion;
17501
+ case: "unsupportedConversion";
17502
+ } | { case: undefined; value?: undefined } = { case: undefined };
17503
+
17504
+ constructor(data?: PartialMessage<SourceSubscriptionError>) {
17505
+ super();
17506
+ proto3.util.initPartial(data, this);
17507
+ }
17508
+
17509
+ static readonly runtime = proto3;
17510
+ static readonly typeName = "norsk.api.media.SourceSubscriptionError";
17511
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17512
+ { no: 1, name: "internal", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "error" },
17513
+ { no: 2, name: "unknown_source_id", kind: "message", T: MediaNodeId, oneof: "error" },
17514
+ { no: 3, name: "unknown_source_stream", kind: "message", T: SourceSubscriptionError_SourceStream, oneof: "error" },
17515
+ { no: 4, name: "no_subscriber_pin", kind: "message", T: SourceSubscriptionError_NoSubscriberPin, oneof: "error" },
17516
+ { no: 5, name: "unsupported_conversion", kind: "message", T: SourceSubscriptionError_UnsupportedConversion, oneof: "error" },
17517
+ ]);
17518
+
17519
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourceSubscriptionError {
17520
+ return new SourceSubscriptionError().fromBinary(bytes, options);
17521
+ }
17522
+
17523
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourceSubscriptionError {
17524
+ return new SourceSubscriptionError().fromJson(jsonValue, options);
17525
+ }
17526
+
17527
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceSubscriptionError {
17528
+ return new SourceSubscriptionError().fromJsonString(jsonString, options);
17529
+ }
17530
+
17531
+ static equals(a: SourceSubscriptionError | PlainMessage<SourceSubscriptionError> | undefined, b: SourceSubscriptionError | PlainMessage<SourceSubscriptionError> | undefined): boolean {
17532
+ return proto3.util.equals(SourceSubscriptionError, a, b);
17533
+ }
17534
+ }
17535
+
17536
+ /**
17537
+ * @generated from message norsk.api.media.SourceSubscriptionError.SourceStream
17538
+ */
17539
+ export class SourceSubscriptionError_SourceStream extends Message<SourceSubscriptionError_SourceStream> {
17540
+ /**
17541
+ * @generated from field: norsk.api.media.MediaNodeId media_node_id = 1;
17542
+ */
17543
+ mediaNodeId?: MediaNodeId;
17544
+
17545
+ /**
17546
+ * @generated from field: norsk.api.media.StreamKey stream_key = 2;
17547
+ */
17548
+ streamKey?: StreamKey;
17549
+
17550
+ constructor(data?: PartialMessage<SourceSubscriptionError_SourceStream>) {
17551
+ super();
17552
+ proto3.util.initPartial(data, this);
17553
+ }
17554
+
17555
+ static readonly runtime = proto3;
17556
+ static readonly typeName = "norsk.api.media.SourceSubscriptionError.SourceStream";
17557
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17558
+ { no: 1, name: "media_node_id", kind: "message", T: MediaNodeId },
17559
+ { no: 2, name: "stream_key", kind: "message", T: StreamKey },
17560
+ ]);
17561
+
17562
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourceSubscriptionError_SourceStream {
17563
+ return new SourceSubscriptionError_SourceStream().fromBinary(bytes, options);
17564
+ }
17565
+
17566
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourceSubscriptionError_SourceStream {
17567
+ return new SourceSubscriptionError_SourceStream().fromJson(jsonValue, options);
17568
+ }
17569
+
17570
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceSubscriptionError_SourceStream {
17571
+ return new SourceSubscriptionError_SourceStream().fromJsonString(jsonString, options);
17572
+ }
17573
+
17574
+ static equals(a: SourceSubscriptionError_SourceStream | PlainMessage<SourceSubscriptionError_SourceStream> | undefined, b: SourceSubscriptionError_SourceStream | PlainMessage<SourceSubscriptionError_SourceStream> | undefined): boolean {
17575
+ return proto3.util.equals(SourceSubscriptionError_SourceStream, a, b);
17576
+ }
17577
+ }
17578
+
17579
+ /**
17580
+ * @generated from message norsk.api.media.SourceSubscriptionError.NoSubscriberPin
17581
+ */
17582
+ export class SourceSubscriptionError_NoSubscriberPin extends Message<SourceSubscriptionError_NoSubscriberPin> {
17583
+ /**
17584
+ * @generated from field: norsk.api.media.SourceSubscriptionError.SourceStream source_stream = 1;
17585
+ */
17586
+ sourceStream?: SourceSubscriptionError_SourceStream;
17587
+
17588
+ /**
17589
+ * @generated from field: string pin = 2;
17590
+ */
17591
+ pin = "";
17592
+
17593
+ /**
17594
+ * @generated from field: repeated string subscriber_pins = 3;
17595
+ */
17596
+ subscriberPins: string[] = [];
17597
+
17598
+ constructor(data?: PartialMessage<SourceSubscriptionError_NoSubscriberPin>) {
17599
+ super();
17600
+ proto3.util.initPartial(data, this);
17601
+ }
17602
+
17603
+ static readonly runtime = proto3;
17604
+ static readonly typeName = "norsk.api.media.SourceSubscriptionError.NoSubscriberPin";
17605
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17606
+ { no: 1, name: "source_stream", kind: "message", T: SourceSubscriptionError_SourceStream },
17607
+ { no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17608
+ { no: 3, name: "subscriber_pins", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
17609
+ ]);
17610
+
17611
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourceSubscriptionError_NoSubscriberPin {
17612
+ return new SourceSubscriptionError_NoSubscriberPin().fromBinary(bytes, options);
17613
+ }
17614
+
17615
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourceSubscriptionError_NoSubscriberPin {
17616
+ return new SourceSubscriptionError_NoSubscriberPin().fromJson(jsonValue, options);
17617
+ }
17618
+
17619
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceSubscriptionError_NoSubscriberPin {
17620
+ return new SourceSubscriptionError_NoSubscriberPin().fromJsonString(jsonString, options);
17621
+ }
17622
+
17623
+ static equals(a: SourceSubscriptionError_NoSubscriberPin | PlainMessage<SourceSubscriptionError_NoSubscriberPin> | undefined, b: SourceSubscriptionError_NoSubscriberPin | PlainMessage<SourceSubscriptionError_NoSubscriberPin> | undefined): boolean {
17624
+ return proto3.util.equals(SourceSubscriptionError_NoSubscriberPin, a, b);
17625
+ }
17626
+ }
17627
+
17628
+ /**
17629
+ * @generated from message norsk.api.media.SourceSubscriptionError.UnsupportedConversion
17630
+ */
17631
+ export class SourceSubscriptionError_UnsupportedConversion extends Message<SourceSubscriptionError_UnsupportedConversion> {
17632
+ /**
17633
+ * @generated from field: norsk.api.media.SourceSubscriptionError.SourceStream source_stream = 1;
17634
+ */
17635
+ sourceStream?: SourceSubscriptionError_SourceStream;
17636
+
17637
+ /**
17638
+ * @generated from field: repeated string source_types = 2;
17639
+ */
17640
+ sourceTypes: string[] = [];
17641
+
17642
+ /**
17643
+ * @generated from field: repeated string subscriber_types = 3;
17644
+ */
17645
+ subscriberTypes: string[] = [];
17646
+
17647
+ constructor(data?: PartialMessage<SourceSubscriptionError_UnsupportedConversion>) {
17648
+ super();
17649
+ proto3.util.initPartial(data, this);
17650
+ }
17651
+
17652
+ static readonly runtime = proto3;
17653
+ static readonly typeName = "norsk.api.media.SourceSubscriptionError.UnsupportedConversion";
17654
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17655
+ { no: 1, name: "source_stream", kind: "message", T: SourceSubscriptionError_SourceStream },
17656
+ { no: 2, name: "source_types", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
17657
+ { no: 3, name: "subscriber_types", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
17658
+ ]);
17659
+
17660
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourceSubscriptionError_UnsupportedConversion {
17661
+ return new SourceSubscriptionError_UnsupportedConversion().fromBinary(bytes, options);
17662
+ }
17663
+
17664
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourceSubscriptionError_UnsupportedConversion {
17665
+ return new SourceSubscriptionError_UnsupportedConversion().fromJson(jsonValue, options);
17666
+ }
17667
+
17668
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceSubscriptionError_UnsupportedConversion {
17669
+ return new SourceSubscriptionError_UnsupportedConversion().fromJsonString(jsonString, options);
17670
+ }
17671
+
17672
+ static equals(a: SourceSubscriptionError_UnsupportedConversion | PlainMessage<SourceSubscriptionError_UnsupportedConversion> | undefined, b: SourceSubscriptionError_UnsupportedConversion | PlainMessage<SourceSubscriptionError_UnsupportedConversion> | undefined): boolean {
17673
+ return proto3.util.equals(SourceSubscriptionError_UnsupportedConversion, a, b);
17674
+ }
17675
+ }
17676
+
17264
17677
  /**
17265
17678
  * `Struct` represents a structured data value, consisting of fields
17266
17679
  * which map to dynamically typed values. In some languages, `Struct`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-api",
3
- "version": "0.0.327",
3
+ "version": "0.0.329",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",