clarifai-web-grpc 11.6.6 → 11.7.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/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +2364 -255
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +168 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +1218 -29
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +8 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +2364 -255
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +168 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +1218 -29
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +8 -0
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +349 -13
- package/proto/clarifai/api/resources_pb.js +2981 -394
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +48 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +244 -0
- package/proto/clarifai/api/service_pb.d.ts +180 -8
- package/proto/clarifai/api/service_pb.js +1781 -301
- package/proto/clarifai/api/status/status_code_pb.d.ts +8 -0
- package/proto/clarifai/api/status/status_code_pb.js +8 -0
|
@@ -1036,6 +1036,174 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteAnnotations =
|
|
|
1036
1036
|
return this.client_.unaryCall(this.hostname_ +
|
|
1037
1037
|
'/clarifai.api.V2/DeleteAnnotations', request, metadata || {}, methodDescriptor_V2_DeleteAnnotations);
|
|
1038
1038
|
};
|
|
1039
|
+
/**
|
|
1040
|
+
* @const
|
|
1041
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1042
|
+
* !proto.clarifai.api.ListAnnotationTracksRequest,
|
|
1043
|
+
* !proto.clarifai.api.MultiAnnotationTrackResponse>}
|
|
1044
|
+
*/
|
|
1045
|
+
const methodDescriptor_V2_ListAnnotationTracks = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListAnnotationTracks', grpc.web.MethodType.UNARY, proto.clarifai.api.ListAnnotationTracksRequest, proto.clarifai.api.MultiAnnotationTrackResponse,
|
|
1046
|
+
/**
|
|
1047
|
+
* @param {!proto.clarifai.api.ListAnnotationTracksRequest} request
|
|
1048
|
+
* @return {!Uint8Array}
|
|
1049
|
+
*/
|
|
1050
|
+
function (request) {
|
|
1051
|
+
return request.serializeBinary();
|
|
1052
|
+
}, proto.clarifai.api.MultiAnnotationTrackResponse.deserializeBinary);
|
|
1053
|
+
/**
|
|
1054
|
+
* @param {!proto.clarifai.api.ListAnnotationTracksRequest} request The
|
|
1055
|
+
* request proto
|
|
1056
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1057
|
+
* call metadata
|
|
1058
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiAnnotationTrackResponse)}
|
|
1059
|
+
* callback The callback function(error, response)
|
|
1060
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAnnotationTrackResponse>|undefined}
|
|
1061
|
+
* The XHR Node Readable Stream
|
|
1062
|
+
*/
|
|
1063
|
+
proto.clarifai.api.V2Client.prototype.listAnnotationTracks =
|
|
1064
|
+
function (request, metadata, callback) {
|
|
1065
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1066
|
+
'/clarifai.api.V2/ListAnnotationTracks', request, metadata || {}, methodDescriptor_V2_ListAnnotationTracks, callback);
|
|
1067
|
+
};
|
|
1068
|
+
/**
|
|
1069
|
+
* @param {!proto.clarifai.api.ListAnnotationTracksRequest} request The
|
|
1070
|
+
* request proto
|
|
1071
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1072
|
+
* call metadata
|
|
1073
|
+
* @return {!Promise<!proto.clarifai.api.MultiAnnotationTrackResponse>}
|
|
1074
|
+
* Promise that resolves to the response
|
|
1075
|
+
*/
|
|
1076
|
+
proto.clarifai.api.V2PromiseClient.prototype.listAnnotationTracks =
|
|
1077
|
+
function (request, metadata) {
|
|
1078
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1079
|
+
'/clarifai.api.V2/ListAnnotationTracks', request, metadata || {}, methodDescriptor_V2_ListAnnotationTracks);
|
|
1080
|
+
};
|
|
1081
|
+
/**
|
|
1082
|
+
* @const
|
|
1083
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1084
|
+
* !proto.clarifai.api.PostAnnotationTracksRequest,
|
|
1085
|
+
* !proto.clarifai.api.MultiAnnotationTrackResponse>}
|
|
1086
|
+
*/
|
|
1087
|
+
const methodDescriptor_V2_PostAnnotationTracks = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostAnnotationTracks', grpc.web.MethodType.UNARY, proto.clarifai.api.PostAnnotationTracksRequest, proto.clarifai.api.MultiAnnotationTrackResponse,
|
|
1088
|
+
/**
|
|
1089
|
+
* @param {!proto.clarifai.api.PostAnnotationTracksRequest} request
|
|
1090
|
+
* @return {!Uint8Array}
|
|
1091
|
+
*/
|
|
1092
|
+
function (request) {
|
|
1093
|
+
return request.serializeBinary();
|
|
1094
|
+
}, proto.clarifai.api.MultiAnnotationTrackResponse.deserializeBinary);
|
|
1095
|
+
/**
|
|
1096
|
+
* @param {!proto.clarifai.api.PostAnnotationTracksRequest} request The
|
|
1097
|
+
* request proto
|
|
1098
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1099
|
+
* call metadata
|
|
1100
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiAnnotationTrackResponse)}
|
|
1101
|
+
* callback The callback function(error, response)
|
|
1102
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAnnotationTrackResponse>|undefined}
|
|
1103
|
+
* The XHR Node Readable Stream
|
|
1104
|
+
*/
|
|
1105
|
+
proto.clarifai.api.V2Client.prototype.postAnnotationTracks =
|
|
1106
|
+
function (request, metadata, callback) {
|
|
1107
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1108
|
+
'/clarifai.api.V2/PostAnnotationTracks', request, metadata || {}, methodDescriptor_V2_PostAnnotationTracks, callback);
|
|
1109
|
+
};
|
|
1110
|
+
/**
|
|
1111
|
+
* @param {!proto.clarifai.api.PostAnnotationTracksRequest} request The
|
|
1112
|
+
* request proto
|
|
1113
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1114
|
+
* call metadata
|
|
1115
|
+
* @return {!Promise<!proto.clarifai.api.MultiAnnotationTrackResponse>}
|
|
1116
|
+
* Promise that resolves to the response
|
|
1117
|
+
*/
|
|
1118
|
+
proto.clarifai.api.V2PromiseClient.prototype.postAnnotationTracks =
|
|
1119
|
+
function (request, metadata) {
|
|
1120
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1121
|
+
'/clarifai.api.V2/PostAnnotationTracks', request, metadata || {}, methodDescriptor_V2_PostAnnotationTracks);
|
|
1122
|
+
};
|
|
1123
|
+
/**
|
|
1124
|
+
* @const
|
|
1125
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1126
|
+
* !proto.clarifai.api.PatchAnnotationTracksRequest,
|
|
1127
|
+
* !proto.clarifai.api.MultiAnnotationTrackResponse>}
|
|
1128
|
+
*/
|
|
1129
|
+
const methodDescriptor_V2_PatchAnnotationTracks = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchAnnotationTracks', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchAnnotationTracksRequest, proto.clarifai.api.MultiAnnotationTrackResponse,
|
|
1130
|
+
/**
|
|
1131
|
+
* @param {!proto.clarifai.api.PatchAnnotationTracksRequest} request
|
|
1132
|
+
* @return {!Uint8Array}
|
|
1133
|
+
*/
|
|
1134
|
+
function (request) {
|
|
1135
|
+
return request.serializeBinary();
|
|
1136
|
+
}, proto.clarifai.api.MultiAnnotationTrackResponse.deserializeBinary);
|
|
1137
|
+
/**
|
|
1138
|
+
* @param {!proto.clarifai.api.PatchAnnotationTracksRequest} request The
|
|
1139
|
+
* request proto
|
|
1140
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1141
|
+
* call metadata
|
|
1142
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiAnnotationTrackResponse)}
|
|
1143
|
+
* callback The callback function(error, response)
|
|
1144
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAnnotationTrackResponse>|undefined}
|
|
1145
|
+
* The XHR Node Readable Stream
|
|
1146
|
+
*/
|
|
1147
|
+
proto.clarifai.api.V2Client.prototype.patchAnnotationTracks =
|
|
1148
|
+
function (request, metadata, callback) {
|
|
1149
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1150
|
+
'/clarifai.api.V2/PatchAnnotationTracks', request, metadata || {}, methodDescriptor_V2_PatchAnnotationTracks, callback);
|
|
1151
|
+
};
|
|
1152
|
+
/**
|
|
1153
|
+
* @param {!proto.clarifai.api.PatchAnnotationTracksRequest} request The
|
|
1154
|
+
* request proto
|
|
1155
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1156
|
+
* call metadata
|
|
1157
|
+
* @return {!Promise<!proto.clarifai.api.MultiAnnotationTrackResponse>}
|
|
1158
|
+
* Promise that resolves to the response
|
|
1159
|
+
*/
|
|
1160
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchAnnotationTracks =
|
|
1161
|
+
function (request, metadata) {
|
|
1162
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1163
|
+
'/clarifai.api.V2/PatchAnnotationTracks', request, metadata || {}, methodDescriptor_V2_PatchAnnotationTracks);
|
|
1164
|
+
};
|
|
1165
|
+
/**
|
|
1166
|
+
* @const
|
|
1167
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1168
|
+
* !proto.clarifai.api.DeleteAnnotationTracksRequest,
|
|
1169
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
1170
|
+
*/
|
|
1171
|
+
const methodDescriptor_V2_DeleteAnnotationTracks = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeleteAnnotationTracks', grpc.web.MethodType.UNARY, proto.clarifai.api.DeleteAnnotationTracksRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
1172
|
+
/**
|
|
1173
|
+
* @param {!proto.clarifai.api.DeleteAnnotationTracksRequest} request
|
|
1174
|
+
* @return {!Uint8Array}
|
|
1175
|
+
*/
|
|
1176
|
+
function (request) {
|
|
1177
|
+
return request.serializeBinary();
|
|
1178
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
1179
|
+
/**
|
|
1180
|
+
* @param {!proto.clarifai.api.DeleteAnnotationTracksRequest} request The
|
|
1181
|
+
* request proto
|
|
1182
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1183
|
+
* call metadata
|
|
1184
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
1185
|
+
* callback The callback function(error, response)
|
|
1186
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
1187
|
+
* The XHR Node Readable Stream
|
|
1188
|
+
*/
|
|
1189
|
+
proto.clarifai.api.V2Client.prototype.deleteAnnotationTracks =
|
|
1190
|
+
function (request, metadata, callback) {
|
|
1191
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1192
|
+
'/clarifai.api.V2/DeleteAnnotationTracks', request, metadata || {}, methodDescriptor_V2_DeleteAnnotationTracks, callback);
|
|
1193
|
+
};
|
|
1194
|
+
/**
|
|
1195
|
+
* @param {!proto.clarifai.api.DeleteAnnotationTracksRequest} request The
|
|
1196
|
+
* request proto
|
|
1197
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1198
|
+
* call metadata
|
|
1199
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
1200
|
+
* Promise that resolves to the response
|
|
1201
|
+
*/
|
|
1202
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteAnnotationTracks =
|
|
1203
|
+
function (request, metadata) {
|
|
1204
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1205
|
+
'/clarifai.api.V2/DeleteAnnotationTracks', request, metadata || {}, methodDescriptor_V2_DeleteAnnotationTracks);
|
|
1206
|
+
};
|
|
1039
1207
|
/**
|
|
1040
1208
|
* @const
|
|
1041
1209
|
* @type {!grpc.web.MethodDescriptor<
|