clarifai-web-grpc 11.1.2 → 11.2.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 +2772 -4
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +210 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +1884 -5
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +3 -2
- package/dist/esm/proto/clarifai/api/resources_pb.js +2772 -4
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +210 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +1884 -5
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +3 -2
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +425 -0
- package/proto/clarifai/api/resources_pb.js +3444 -4
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +60 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +305 -0
- package/proto/clarifai/api/service_pb.d.ts +277 -0
- package/proto/clarifai/api/service_pb.js +2350 -5
- package/proto/clarifai/auth/scope/scope_pb.d.ts +2 -1
- package/proto/clarifai/auth/scope/scope_pb.js +3 -2
|
@@ -3552,6 +3552,48 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteModelVersion =
|
|
|
3552
3552
|
return this.client_.unaryCall(this.hostname_ +
|
|
3553
3553
|
'/clarifai.api.V2/DeleteModelVersion', request, metadata || {}, methodDescriptor_V2_DeleteModelVersion);
|
|
3554
3554
|
};
|
|
3555
|
+
/**
|
|
3556
|
+
* @const
|
|
3557
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3558
|
+
* !proto.clarifai.api.PostModelMigrationRequest,
|
|
3559
|
+
* !proto.clarifai.api.SingleModelResponse>}
|
|
3560
|
+
*/
|
|
3561
|
+
const methodDescriptor_V2_PostModelMigration = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostModelMigration', grpc.web.MethodType.UNARY, proto.clarifai.api.PostModelMigrationRequest, proto.clarifai.api.SingleModelResponse,
|
|
3562
|
+
/**
|
|
3563
|
+
* @param {!proto.clarifai.api.PostModelMigrationRequest} request
|
|
3564
|
+
* @return {!Uint8Array}
|
|
3565
|
+
*/
|
|
3566
|
+
function (request) {
|
|
3567
|
+
return request.serializeBinary();
|
|
3568
|
+
}, proto.clarifai.api.SingleModelResponse.deserializeBinary);
|
|
3569
|
+
/**
|
|
3570
|
+
* @param {!proto.clarifai.api.PostModelMigrationRequest} request The
|
|
3571
|
+
* request proto
|
|
3572
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3573
|
+
* call metadata
|
|
3574
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleModelResponse)}
|
|
3575
|
+
* callback The callback function(error, response)
|
|
3576
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleModelResponse>|undefined}
|
|
3577
|
+
* The XHR Node Readable Stream
|
|
3578
|
+
*/
|
|
3579
|
+
proto.clarifai.api.V2Client.prototype.postModelMigration =
|
|
3580
|
+
function (request, metadata, callback) {
|
|
3581
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
3582
|
+
'/clarifai.api.V2/PostModelMigration', request, metadata || {}, methodDescriptor_V2_PostModelMigration, callback);
|
|
3583
|
+
};
|
|
3584
|
+
/**
|
|
3585
|
+
* @param {!proto.clarifai.api.PostModelMigrationRequest} request The
|
|
3586
|
+
* request proto
|
|
3587
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
3588
|
+
* call metadata
|
|
3589
|
+
* @return {!Promise<!proto.clarifai.api.SingleModelResponse>}
|
|
3590
|
+
* Promise that resolves to the response
|
|
3591
|
+
*/
|
|
3592
|
+
proto.clarifai.api.V2PromiseClient.prototype.postModelMigration =
|
|
3593
|
+
function (request, metadata) {
|
|
3594
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
3595
|
+
'/clarifai.api.V2/PostModelMigration', request, metadata || {}, methodDescriptor_V2_PostModelMigration);
|
|
3596
|
+
};
|
|
3555
3597
|
/**
|
|
3556
3598
|
* @const
|
|
3557
3599
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -10100,4 +10142,172 @@ proto.clarifai.api.V2PromiseClient.prototype.postComputePlaneMetrics =
|
|
|
10100
10142
|
return this.client_.unaryCall(this.hostname_ +
|
|
10101
10143
|
'/clarifai.api.V2/PostComputePlaneMetrics', request, metadata || {}, methodDescriptor_V2_PostComputePlaneMetrics);
|
|
10102
10144
|
};
|
|
10145
|
+
/**
|
|
10146
|
+
* @const
|
|
10147
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10148
|
+
* !proto.clarifai.api.PostWorkflowVersionEvaluationsRequest,
|
|
10149
|
+
* !proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
|
|
10150
|
+
*/
|
|
10151
|
+
const methodDescriptor_V2_PostWorkflowVersionEvaluations = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostWorkflowVersionEvaluations', grpc.web.MethodType.UNARY, proto.clarifai.api.PostWorkflowVersionEvaluationsRequest, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse,
|
|
10152
|
+
/**
|
|
10153
|
+
* @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} request
|
|
10154
|
+
* @return {!Uint8Array}
|
|
10155
|
+
*/
|
|
10156
|
+
function (request) {
|
|
10157
|
+
return request.serializeBinary();
|
|
10158
|
+
}, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary);
|
|
10159
|
+
/**
|
|
10160
|
+
* @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} request The
|
|
10161
|
+
* request proto
|
|
10162
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10163
|
+
* call metadata
|
|
10164
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowVersionEvaluationResponse)}
|
|
10165
|
+
* callback The callback function(error, response)
|
|
10166
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>|undefined}
|
|
10167
|
+
* The XHR Node Readable Stream
|
|
10168
|
+
*/
|
|
10169
|
+
proto.clarifai.api.V2Client.prototype.postWorkflowVersionEvaluations =
|
|
10170
|
+
function (request, metadata, callback) {
|
|
10171
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10172
|
+
'/clarifai.api.V2/PostWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_PostWorkflowVersionEvaluations, callback);
|
|
10173
|
+
};
|
|
10174
|
+
/**
|
|
10175
|
+
* @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} request The
|
|
10176
|
+
* request proto
|
|
10177
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10178
|
+
* call metadata
|
|
10179
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
|
|
10180
|
+
* Promise that resolves to the response
|
|
10181
|
+
*/
|
|
10182
|
+
proto.clarifai.api.V2PromiseClient.prototype.postWorkflowVersionEvaluations =
|
|
10183
|
+
function (request, metadata) {
|
|
10184
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10185
|
+
'/clarifai.api.V2/PostWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_PostWorkflowVersionEvaluations);
|
|
10186
|
+
};
|
|
10187
|
+
/**
|
|
10188
|
+
* @const
|
|
10189
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10190
|
+
* !proto.clarifai.api.GetWorkflowVersionEvaluationRequest,
|
|
10191
|
+
* !proto.clarifai.api.SingleWorkflowVersionEvaluationResponse>}
|
|
10192
|
+
*/
|
|
10193
|
+
const methodDescriptor_V2_GetWorkflowVersionEvaluation = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetWorkflowVersionEvaluation', grpc.web.MethodType.UNARY, proto.clarifai.api.GetWorkflowVersionEvaluationRequest, proto.clarifai.api.SingleWorkflowVersionEvaluationResponse,
|
|
10194
|
+
/**
|
|
10195
|
+
* @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} request
|
|
10196
|
+
* @return {!Uint8Array}
|
|
10197
|
+
*/
|
|
10198
|
+
function (request) {
|
|
10199
|
+
return request.serializeBinary();
|
|
10200
|
+
}, proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinary);
|
|
10201
|
+
/**
|
|
10202
|
+
* @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} request The
|
|
10203
|
+
* request proto
|
|
10204
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10205
|
+
* call metadata
|
|
10206
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleWorkflowVersionEvaluationResponse)}
|
|
10207
|
+
* callback The callback function(error, response)
|
|
10208
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse>|undefined}
|
|
10209
|
+
* The XHR Node Readable Stream
|
|
10210
|
+
*/
|
|
10211
|
+
proto.clarifai.api.V2Client.prototype.getWorkflowVersionEvaluation =
|
|
10212
|
+
function (request, metadata, callback) {
|
|
10213
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10214
|
+
'/clarifai.api.V2/GetWorkflowVersionEvaluation', request, metadata || {}, methodDescriptor_V2_GetWorkflowVersionEvaluation, callback);
|
|
10215
|
+
};
|
|
10216
|
+
/**
|
|
10217
|
+
* @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} request The
|
|
10218
|
+
* request proto
|
|
10219
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10220
|
+
* call metadata
|
|
10221
|
+
* @return {!Promise<!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse>}
|
|
10222
|
+
* Promise that resolves to the response
|
|
10223
|
+
*/
|
|
10224
|
+
proto.clarifai.api.V2PromiseClient.prototype.getWorkflowVersionEvaluation =
|
|
10225
|
+
function (request, metadata) {
|
|
10226
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10227
|
+
'/clarifai.api.V2/GetWorkflowVersionEvaluation', request, metadata || {}, methodDescriptor_V2_GetWorkflowVersionEvaluation);
|
|
10228
|
+
};
|
|
10229
|
+
/**
|
|
10230
|
+
* @const
|
|
10231
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10232
|
+
* !proto.clarifai.api.ListWorkflowVersionEvaluationsRequest,
|
|
10233
|
+
* !proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
|
|
10234
|
+
*/
|
|
10235
|
+
const methodDescriptor_V2_ListWorkflowVersionEvaluations = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListWorkflowVersionEvaluations', grpc.web.MethodType.UNARY, proto.clarifai.api.ListWorkflowVersionEvaluationsRequest, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse,
|
|
10236
|
+
/**
|
|
10237
|
+
* @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} request
|
|
10238
|
+
* @return {!Uint8Array}
|
|
10239
|
+
*/
|
|
10240
|
+
function (request) {
|
|
10241
|
+
return request.serializeBinary();
|
|
10242
|
+
}, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary);
|
|
10243
|
+
/**
|
|
10244
|
+
* @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} request The
|
|
10245
|
+
* request proto
|
|
10246
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10247
|
+
* call metadata
|
|
10248
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowVersionEvaluationResponse)}
|
|
10249
|
+
* callback The callback function(error, response)
|
|
10250
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>|undefined}
|
|
10251
|
+
* The XHR Node Readable Stream
|
|
10252
|
+
*/
|
|
10253
|
+
proto.clarifai.api.V2Client.prototype.listWorkflowVersionEvaluations =
|
|
10254
|
+
function (request, metadata, callback) {
|
|
10255
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10256
|
+
'/clarifai.api.V2/ListWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_ListWorkflowVersionEvaluations, callback);
|
|
10257
|
+
};
|
|
10258
|
+
/**
|
|
10259
|
+
* @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} request The
|
|
10260
|
+
* request proto
|
|
10261
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10262
|
+
* call metadata
|
|
10263
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
|
|
10264
|
+
* Promise that resolves to the response
|
|
10265
|
+
*/
|
|
10266
|
+
proto.clarifai.api.V2PromiseClient.prototype.listWorkflowVersionEvaluations =
|
|
10267
|
+
function (request, metadata) {
|
|
10268
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10269
|
+
'/clarifai.api.V2/ListWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_ListWorkflowVersionEvaluations);
|
|
10270
|
+
};
|
|
10271
|
+
/**
|
|
10272
|
+
* @const
|
|
10273
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10274
|
+
* !proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest,
|
|
10275
|
+
* !proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
|
|
10276
|
+
*/
|
|
10277
|
+
const methodDescriptor_V2_PatchWorkflowVersionEvaluations = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchWorkflowVersionEvaluations', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse,
|
|
10278
|
+
/**
|
|
10279
|
+
* @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} request
|
|
10280
|
+
* @return {!Uint8Array}
|
|
10281
|
+
*/
|
|
10282
|
+
function (request) {
|
|
10283
|
+
return request.serializeBinary();
|
|
10284
|
+
}, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary);
|
|
10285
|
+
/**
|
|
10286
|
+
* @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} request The
|
|
10287
|
+
* request proto
|
|
10288
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10289
|
+
* call metadata
|
|
10290
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowVersionEvaluationResponse)}
|
|
10291
|
+
* callback The callback function(error, response)
|
|
10292
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>|undefined}
|
|
10293
|
+
* The XHR Node Readable Stream
|
|
10294
|
+
*/
|
|
10295
|
+
proto.clarifai.api.V2Client.prototype.patchWorkflowVersionEvaluations =
|
|
10296
|
+
function (request, metadata, callback) {
|
|
10297
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10298
|
+
'/clarifai.api.V2/PatchWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_PatchWorkflowVersionEvaluations, callback);
|
|
10299
|
+
};
|
|
10300
|
+
/**
|
|
10301
|
+
* @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} request The
|
|
10302
|
+
* request proto
|
|
10303
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10304
|
+
* call metadata
|
|
10305
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
|
|
10306
|
+
* Promise that resolves to the response
|
|
10307
|
+
*/
|
|
10308
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchWorkflowVersionEvaluations =
|
|
10309
|
+
function (request, metadata) {
|
|
10310
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10311
|
+
'/clarifai.api.V2/PatchWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_PatchWorkflowVersionEvaluations);
|
|
10312
|
+
};
|
|
10103
10313
|
module.exports = proto.clarifai.api;
|