Skip to content

Commit 5d6b733

Browse files
committed
GRPC clients version 12.0.7
1 parent 227045c commit 5d6b733

File tree

9 files changed

+7
-149
lines changed

9 files changed

+7
-149
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.0.6
1+
12.0.7

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "clarifai-nodejs-grpc",
3-
"version": "12.0.6",
3+
"version": "12.0.7",
44
"description": "The official Clarifai Node.js gRPC client",
55
"main": "src/index.js",
66
"repository": "https://github.com/Clarifai/clarifai-javascript-grpc",

proto/clarifai/api/service.proto

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4839,15 +4839,6 @@ message StreamLivestreamAnnotationsRequest {
48394839

48404840
// The input ID containing the video being processed
48414841
string input_id = 2;
4842-
4843-
// (Optional) Filter by specific task ID if known
4844-
string task_id = 3;
4845-
4846-
// (Optional) Filter annotations by track_ids
4847-
repeated string track_ids = 4;
4848-
4849-
// (Optional) Filter by annotation type (e.g., "bounding_box", "point", "mask")
4850-
AnnotationDataType annotation_type = 5;
48514842
}
48524843

48534844
// PostAnnotationsRequest

proto/clarifai/api/service_pb.d.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -245,14 +245,6 @@ export class StreamLivestreamAnnotationsRequest extends jspb.Message {
245245
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): StreamLivestreamAnnotationsRequest;
246246
getInputId(): string;
247247
setInputId(value: string): StreamLivestreamAnnotationsRequest;
248-
getTaskId(): string;
249-
setTaskId(value: string): StreamLivestreamAnnotationsRequest;
250-
clearTrackIdsList(): void;
251-
getTrackIdsList(): Array<string>;
252-
setTrackIdsList(value: Array<string>): StreamLivestreamAnnotationsRequest;
253-
addTrackIds(value: string, index?: number): string;
254-
getAnnotationType(): proto_clarifai_api_resources_pb.AnnotationDataType;
255-
setAnnotationType(value: proto_clarifai_api_resources_pb.AnnotationDataType): StreamLivestreamAnnotationsRequest;
256248

257249
serializeBinary(): Uint8Array;
258250
toObject(includeInstance?: boolean): StreamLivestreamAnnotationsRequest.AsObject;
@@ -268,9 +260,6 @@ export namespace StreamLivestreamAnnotationsRequest {
268260
export type AsObject = {
269261
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
270262
inputId: string,
271-
taskId: string,
272-
trackIdsList: Array<string>,
273-
annotationType: proto_clarifai_api_resources_pb.AnnotationDataType,
274263
}
275264
}
276265

proto/clarifai/api/service_pb.js

Lines changed: 2 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ if (goog.DEBUG && !COMPILED) {
614614
* @constructor
615615
*/
616616
proto.clarifai.api.StreamLivestreamAnnotationsRequest = function(opt_data) {
617-
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_, null);
617+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
618618
};
619619
goog.inherits(proto.clarifai.api.StreamLivestreamAnnotationsRequest, jspb.Message);
620620
if (goog.DEBUG && !COMPILED) {
@@ -11608,13 +11608,6 @@ proto.clarifai.api.StreamAnnotationsRequest.prototype.hasWorker = function() {
1160811608

1160911609

1161011610

11611-
/**
11612-
* List of repeated fields within this message type.
11613-
* @private {!Array<number>}
11614-
* @const
11615-
*/
11616-
proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_ = [4];
11617-
1161811611

1161911612

1162011613
if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -11647,10 +11640,7 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.toObject = funct
1164711640
proto.clarifai.api.StreamLivestreamAnnotationsRequest.toObject = function(includeInstance, msg) {
1164811641
var f, obj = {
1164911642
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
11650-
inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
11651-
taskId: jspb.Message.getFieldWithDefault(msg, 3, ""),
11652-
trackIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
11653-
annotationType: jspb.Message.getFieldWithDefault(msg, 5, 0)
11643+
inputId: jspb.Message.getFieldWithDefault(msg, 2, "")
1165411644
};
1165511645

1165611646
if (includeInstance) {
@@ -11696,18 +11686,6 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinaryFromReade
1169611686
var value = /** @type {string} */ (reader.readString());
1169711687
msg.setInputId(value);
1169811688
break;
11699-
case 3:
11700-
var value = /** @type {string} */ (reader.readString());
11701-
msg.setTaskId(value);
11702-
break;
11703-
case 4:
11704-
var value = /** @type {string} */ (reader.readString());
11705-
msg.addTrackIds(value);
11706-
break;
11707-
case 5:
11708-
var value = /** @type {!proto.clarifai.api.AnnotationDataType} */ (reader.readEnum());
11709-
msg.setAnnotationType(value);
11710-
break;
1171111689
default:
1171211690
reader.skipField();
1171311691
break;
@@ -11752,27 +11730,6 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.serializeBinaryToWriter =
1175211730
f
1175311731
);
1175411732
}
11755-
f = message.getTaskId();
11756-
if (f.length > 0) {
11757-
writer.writeString(
11758-
3,
11759-
f
11760-
);
11761-
}
11762-
f = message.getTrackIdsList();
11763-
if (f.length > 0) {
11764-
writer.writeRepeatedString(
11765-
4,
11766-
f
11767-
);
11768-
}
11769-
f = message.getAnnotationType();
11770-
if (f !== 0.0) {
11771-
writer.writeEnum(
11772-
5,
11773-
f
11774-
);
11775-
}
1177611733
};
1177711734

1177811735

@@ -11831,79 +11788,6 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setInputId = fun
1183111788
};
1183211789

1183311790

11834-
/**
11835-
* optional string task_id = 3;
11836-
* @return {string}
11837-
*/
11838-
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTaskId = function() {
11839-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11840-
};
11841-
11842-
11843-
/**
11844-
* @param {string} value
11845-
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11846-
*/
11847-
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTaskId = function(value) {
11848-
return jspb.Message.setProto3StringField(this, 3, value);
11849-
};
11850-
11851-
11852-
/**
11853-
* repeated string track_ids = 4;
11854-
* @return {!Array<string>}
11855-
*/
11856-
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTrackIdsList = function() {
11857-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
11858-
};
11859-
11860-
11861-
/**
11862-
* @param {!Array<string>} value
11863-
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11864-
*/
11865-
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTrackIdsList = function(value) {
11866-
return jspb.Message.setField(this, 4, value || []);
11867-
};
11868-
11869-
11870-
/**
11871-
* @param {string} value
11872-
* @param {number=} opt_index
11873-
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11874-
*/
11875-
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.addTrackIds = function(value, opt_index) {
11876-
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
11877-
};
11878-
11879-
11880-
/**
11881-
* Clears the list making it empty but non-null.
11882-
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11883-
*/
11884-
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.clearTrackIdsList = function() {
11885-
return this.setTrackIdsList([]);
11886-
};
11887-
11888-
11889-
/**
11890-
* optional AnnotationDataType annotation_type = 5;
11891-
* @return {!proto.clarifai.api.AnnotationDataType}
11892-
*/
11893-
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getAnnotationType = function() {
11894-
return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
11895-
};
11896-
11897-
11898-
/**
11899-
* @param {!proto.clarifai.api.AnnotationDataType} value
11900-
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11901-
*/
11902-
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setAnnotationType = function(value) {
11903-
return jspb.Message.setProto3EnumField(this, 5, value);
11904-
};
11905-
11906-
1190711791

1190811792
/**
1190911793
* List of repeated fields within this message type.

proto/clarifai/api/service_processed.proto

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4839,15 +4839,6 @@ message StreamLivestreamAnnotationsRequest {
48394839

48404840
// The input ID containing the video being processed
48414841
string input_id = 2;
4842-
4843-
// (Optional) Filter by specific task ID if known
4844-
string task_id = 3;
4845-
4846-
// (Optional) Filter annotations by track_ids
4847-
repeated string track_ids = 4;
4848-
4849-
// (Optional) Filter by annotation type (e.g., "bounding_box", "point", "mask")
4850-
AnnotationDataType annotation_type = 5;
48514842
}
48524843

48534844
// PostAnnotationsRequest

proto/clarifai/api/status/status_code.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ enum StatusCode {
433433
REDIS_STREAM_ERR = 45003;
434434
REDIS_NO_CONSUMERS = 45004;
435435
REDIS_STREAM_BACKOFF = 45005;
436+
REDIS_CHANNEL_ERR = 45006;
436437

437438
// Sift Science 46xxx
438439
SIGNUP_EVENT_ERROR = 46001;

proto/clarifai/api/status/status_code_pb.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ export enum StatusCode {
313313
REDIS_STREAM_ERR = 45003,
314314
REDIS_NO_CONSUMERS = 45004,
315315
REDIS_STREAM_BACKOFF = 45005,
316+
REDIS_CHANNEL_ERR = 45006,
316317
SIGNUP_EVENT_ERROR = 46001,
317318
SIGNUP_FLAGGED = 46002,
318319
FILETYPE_UNSUPPORTED = 46003,

proto/clarifai/api/status/status_code_pb.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ proto.clarifai.api.status.StatusCode = {
332332
REDIS_STREAM_ERR: 45003,
333333
REDIS_NO_CONSUMERS: 45004,
334334
REDIS_STREAM_BACKOFF: 45005,
335+
REDIS_CHANNEL_ERR: 45006,
335336
SIGNUP_EVENT_ERROR: 46001,
336337
SIGNUP_FLAGGED: 46002,
337338
FILETYPE_UNSUPPORTED: 46003,

0 commit comments

Comments
 (0)