clarifai-web-grpc 11.1.3 → 11.2.1

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.
@@ -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<
@@ -8970,6 +9012,48 @@ proto.clarifai.api.V2PromiseClient.prototype.postRunners =
8970
9012
  return this.client_.unaryCall(this.hostname_ +
8971
9013
  '/clarifai.api.V2/PostRunners', request, metadata || {}, methodDescriptor_V2_PostRunners);
8972
9014
  };
9015
+ /**
9016
+ * @const
9017
+ * @type {!grpc.web.MethodDescriptor<
9018
+ * !proto.clarifai.api.PatchRunnersRequest,
9019
+ * !proto.clarifai.api.MultiRunnerResponse>}
9020
+ */
9021
+ const methodDescriptor_V2_PatchRunners = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchRunners', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchRunnersRequest, proto.clarifai.api.MultiRunnerResponse,
9022
+ /**
9023
+ * @param {!proto.clarifai.api.PatchRunnersRequest} request
9024
+ * @return {!Uint8Array}
9025
+ */
9026
+ function (request) {
9027
+ return request.serializeBinary();
9028
+ }, proto.clarifai.api.MultiRunnerResponse.deserializeBinary);
9029
+ /**
9030
+ * @param {!proto.clarifai.api.PatchRunnersRequest} request The
9031
+ * request proto
9032
+ * @param {?Object<string, string>} metadata User defined
9033
+ * call metadata
9034
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiRunnerResponse)}
9035
+ * callback The callback function(error, response)
9036
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiRunnerResponse>|undefined}
9037
+ * The XHR Node Readable Stream
9038
+ */
9039
+ proto.clarifai.api.V2Client.prototype.patchRunners =
9040
+ function (request, metadata, callback) {
9041
+ return this.client_.rpcCall(this.hostname_ +
9042
+ '/clarifai.api.V2/PatchRunners', request, metadata || {}, methodDescriptor_V2_PatchRunners, callback);
9043
+ };
9044
+ /**
9045
+ * @param {!proto.clarifai.api.PatchRunnersRequest} request The
9046
+ * request proto
9047
+ * @param {?Object<string, string>=} metadata User defined
9048
+ * call metadata
9049
+ * @return {!Promise<!proto.clarifai.api.MultiRunnerResponse>}
9050
+ * Promise that resolves to the response
9051
+ */
9052
+ proto.clarifai.api.V2PromiseClient.prototype.patchRunners =
9053
+ function (request, metadata) {
9054
+ return this.client_.unaryCall(this.hostname_ +
9055
+ '/clarifai.api.V2/PatchRunners', request, metadata || {}, methodDescriptor_V2_PatchRunners);
9056
+ };
8973
9057
  /**
8974
9058
  * @const
8975
9059
  * @type {!grpc.web.MethodDescriptor<
@@ -10100,4 +10184,172 @@ proto.clarifai.api.V2PromiseClient.prototype.postComputePlaneMetrics =
10100
10184
  return this.client_.unaryCall(this.hostname_ +
10101
10185
  '/clarifai.api.V2/PostComputePlaneMetrics', request, metadata || {}, methodDescriptor_V2_PostComputePlaneMetrics);
10102
10186
  };
10187
+ /**
10188
+ * @const
10189
+ * @type {!grpc.web.MethodDescriptor<
10190
+ * !proto.clarifai.api.PostWorkflowVersionEvaluationsRequest,
10191
+ * !proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
10192
+ */
10193
+ const methodDescriptor_V2_PostWorkflowVersionEvaluations = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostWorkflowVersionEvaluations', grpc.web.MethodType.UNARY, proto.clarifai.api.PostWorkflowVersionEvaluationsRequest, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse,
10194
+ /**
10195
+ * @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} request
10196
+ * @return {!Uint8Array}
10197
+ */
10198
+ function (request) {
10199
+ return request.serializeBinary();
10200
+ }, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary);
10201
+ /**
10202
+ * @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} 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.MultiWorkflowVersionEvaluationResponse)}
10207
+ * callback The callback function(error, response)
10208
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>|undefined}
10209
+ * The XHR Node Readable Stream
10210
+ */
10211
+ proto.clarifai.api.V2Client.prototype.postWorkflowVersionEvaluations =
10212
+ function (request, metadata, callback) {
10213
+ return this.client_.rpcCall(this.hostname_ +
10214
+ '/clarifai.api.V2/PostWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_PostWorkflowVersionEvaluations, callback);
10215
+ };
10216
+ /**
10217
+ * @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} request The
10218
+ * request proto
10219
+ * @param {?Object<string, string>=} metadata User defined
10220
+ * call metadata
10221
+ * @return {!Promise<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
10222
+ * Promise that resolves to the response
10223
+ */
10224
+ proto.clarifai.api.V2PromiseClient.prototype.postWorkflowVersionEvaluations =
10225
+ function (request, metadata) {
10226
+ return this.client_.unaryCall(this.hostname_ +
10227
+ '/clarifai.api.V2/PostWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_PostWorkflowVersionEvaluations);
10228
+ };
10229
+ /**
10230
+ * @const
10231
+ * @type {!grpc.web.MethodDescriptor<
10232
+ * !proto.clarifai.api.GetWorkflowVersionEvaluationRequest,
10233
+ * !proto.clarifai.api.SingleWorkflowVersionEvaluationResponse>}
10234
+ */
10235
+ const methodDescriptor_V2_GetWorkflowVersionEvaluation = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetWorkflowVersionEvaluation', grpc.web.MethodType.UNARY, proto.clarifai.api.GetWorkflowVersionEvaluationRequest, proto.clarifai.api.SingleWorkflowVersionEvaluationResponse,
10236
+ /**
10237
+ * @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} request
10238
+ * @return {!Uint8Array}
10239
+ */
10240
+ function (request) {
10241
+ return request.serializeBinary();
10242
+ }, proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinary);
10243
+ /**
10244
+ * @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} 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.SingleWorkflowVersionEvaluationResponse)}
10249
+ * callback The callback function(error, response)
10250
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse>|undefined}
10251
+ * The XHR Node Readable Stream
10252
+ */
10253
+ proto.clarifai.api.V2Client.prototype.getWorkflowVersionEvaluation =
10254
+ function (request, metadata, callback) {
10255
+ return this.client_.rpcCall(this.hostname_ +
10256
+ '/clarifai.api.V2/GetWorkflowVersionEvaluation', request, metadata || {}, methodDescriptor_V2_GetWorkflowVersionEvaluation, callback);
10257
+ };
10258
+ /**
10259
+ * @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} request The
10260
+ * request proto
10261
+ * @param {?Object<string, string>=} metadata User defined
10262
+ * call metadata
10263
+ * @return {!Promise<!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse>}
10264
+ * Promise that resolves to the response
10265
+ */
10266
+ proto.clarifai.api.V2PromiseClient.prototype.getWorkflowVersionEvaluation =
10267
+ function (request, metadata) {
10268
+ return this.client_.unaryCall(this.hostname_ +
10269
+ '/clarifai.api.V2/GetWorkflowVersionEvaluation', request, metadata || {}, methodDescriptor_V2_GetWorkflowVersionEvaluation);
10270
+ };
10271
+ /**
10272
+ * @const
10273
+ * @type {!grpc.web.MethodDescriptor<
10274
+ * !proto.clarifai.api.ListWorkflowVersionEvaluationsRequest,
10275
+ * !proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
10276
+ */
10277
+ const methodDescriptor_V2_ListWorkflowVersionEvaluations = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListWorkflowVersionEvaluations', grpc.web.MethodType.UNARY, proto.clarifai.api.ListWorkflowVersionEvaluationsRequest, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse,
10278
+ /**
10279
+ * @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} request
10280
+ * @return {!Uint8Array}
10281
+ */
10282
+ function (request) {
10283
+ return request.serializeBinary();
10284
+ }, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary);
10285
+ /**
10286
+ * @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} 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.listWorkflowVersionEvaluations =
10296
+ function (request, metadata, callback) {
10297
+ return this.client_.rpcCall(this.hostname_ +
10298
+ '/clarifai.api.V2/ListWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_ListWorkflowVersionEvaluations, callback);
10299
+ };
10300
+ /**
10301
+ * @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} 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.listWorkflowVersionEvaluations =
10309
+ function (request, metadata) {
10310
+ return this.client_.unaryCall(this.hostname_ +
10311
+ '/clarifai.api.V2/ListWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_ListWorkflowVersionEvaluations);
10312
+ };
10313
+ /**
10314
+ * @const
10315
+ * @type {!grpc.web.MethodDescriptor<
10316
+ * !proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest,
10317
+ * !proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
10318
+ */
10319
+ const methodDescriptor_V2_PatchWorkflowVersionEvaluations = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchWorkflowVersionEvaluations', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse,
10320
+ /**
10321
+ * @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} request
10322
+ * @return {!Uint8Array}
10323
+ */
10324
+ function (request) {
10325
+ return request.serializeBinary();
10326
+ }, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary);
10327
+ /**
10328
+ * @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} request The
10329
+ * request proto
10330
+ * @param {?Object<string, string>} metadata User defined
10331
+ * call metadata
10332
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowVersionEvaluationResponse)}
10333
+ * callback The callback function(error, response)
10334
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>|undefined}
10335
+ * The XHR Node Readable Stream
10336
+ */
10337
+ proto.clarifai.api.V2Client.prototype.patchWorkflowVersionEvaluations =
10338
+ function (request, metadata, callback) {
10339
+ return this.client_.rpcCall(this.hostname_ +
10340
+ '/clarifai.api.V2/PatchWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_PatchWorkflowVersionEvaluations, callback);
10341
+ };
10342
+ /**
10343
+ * @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} request The
10344
+ * request proto
10345
+ * @param {?Object<string, string>=} metadata User defined
10346
+ * call metadata
10347
+ * @return {!Promise<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
10348
+ * Promise that resolves to the response
10349
+ */
10350
+ proto.clarifai.api.V2PromiseClient.prototype.patchWorkflowVersionEvaluations =
10351
+ function (request, metadata) {
10352
+ return this.client_.unaryCall(this.hostname_ +
10353
+ '/clarifai.api.V2/PatchWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_PatchWorkflowVersionEvaluations);
10354
+ };
10103
10355
  module.exports = proto.clarifai.api;