clarifai-web-grpc 10.1.5 → 10.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.
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +725 -88
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +132 -6
- package/dist/cjs/proto/clarifai/api/service_pb.js +2035 -2
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +8 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +725 -88
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +132 -6
- package/dist/esm/proto/clarifai/api/service_pb.js +2035 -2
- 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 +109 -15
- package/proto/clarifai/api/resources_pb.js +899 -109
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +39 -3
- package/proto/clarifai/api/service_grpc_web_pb.js +189 -6
- package/proto/clarifai/api/service_pb.d.ts +313 -0
- package/proto/clarifai/api/service_pb.js +2914 -416
- package/proto/clarifai/api/status/status_code_pb.d.ts +8 -0
- package/proto/clarifai/api/status/status_code_pb.js +8 -0
|
@@ -3556,6 +3556,90 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteModelVersion =
|
|
|
3556
3556
|
return this.client_.unaryCall(this.hostname_ +
|
|
3557
3557
|
'/clarifai.api.V2/DeleteModelVersion', request, metadata || {}, methodDescriptor_V2_DeleteModelVersion);
|
|
3558
3558
|
};
|
|
3559
|
+
/**
|
|
3560
|
+
* @const
|
|
3561
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3562
|
+
* !proto.clarifai.api.PutModelVersionExportsRequest,
|
|
3563
|
+
* !proto.clarifai.api.SingleModelVersionExportResponse>}
|
|
3564
|
+
*/
|
|
3565
|
+
const methodDescriptor_V2_PutModelVersionExports = new grpc.web.MethodDescriptor('/clarifai.api.V2/PutModelVersionExports', grpc.web.MethodType.UNARY, proto.clarifai.api.PutModelVersionExportsRequest, proto.clarifai.api.SingleModelVersionExportResponse,
|
|
3566
|
+
/**
|
|
3567
|
+
* @param {!proto.clarifai.api.PutModelVersionExportsRequest} request
|
|
3568
|
+
* @return {!Uint8Array}
|
|
3569
|
+
*/
|
|
3570
|
+
function (request) {
|
|
3571
|
+
return request.serializeBinary();
|
|
3572
|
+
}, proto.clarifai.api.SingleModelVersionExportResponse.deserializeBinary);
|
|
3573
|
+
/**
|
|
3574
|
+
* @param {!proto.clarifai.api.PutModelVersionExportsRequest} request The
|
|
3575
|
+
* request proto
|
|
3576
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3577
|
+
* call metadata
|
|
3578
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleModelVersionExportResponse)}
|
|
3579
|
+
* callback The callback function(error, response)
|
|
3580
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleModelVersionExportResponse>|undefined}
|
|
3581
|
+
* The XHR Node Readable Stream
|
|
3582
|
+
*/
|
|
3583
|
+
proto.clarifai.api.V2Client.prototype.putModelVersionExports =
|
|
3584
|
+
function (request, metadata, callback) {
|
|
3585
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
3586
|
+
'/clarifai.api.V2/PutModelVersionExports', request, metadata || {}, methodDescriptor_V2_PutModelVersionExports, callback);
|
|
3587
|
+
};
|
|
3588
|
+
/**
|
|
3589
|
+
* @param {!proto.clarifai.api.PutModelVersionExportsRequest} request The
|
|
3590
|
+
* request proto
|
|
3591
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
3592
|
+
* call metadata
|
|
3593
|
+
* @return {!Promise<!proto.clarifai.api.SingleModelVersionExportResponse>}
|
|
3594
|
+
* Promise that resolves to the response
|
|
3595
|
+
*/
|
|
3596
|
+
proto.clarifai.api.V2PromiseClient.prototype.putModelVersionExports =
|
|
3597
|
+
function (request, metadata) {
|
|
3598
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
3599
|
+
'/clarifai.api.V2/PutModelVersionExports', request, metadata || {}, methodDescriptor_V2_PutModelVersionExports);
|
|
3600
|
+
};
|
|
3601
|
+
/**
|
|
3602
|
+
* @const
|
|
3603
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3604
|
+
* !proto.clarifai.api.GetModelVersionExportRequest,
|
|
3605
|
+
* !proto.clarifai.api.SingleModelVersionExportResponse>}
|
|
3606
|
+
*/
|
|
3607
|
+
const methodDescriptor_V2_GetModelVersionExport = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetModelVersionExport', grpc.web.MethodType.UNARY, proto.clarifai.api.GetModelVersionExportRequest, proto.clarifai.api.SingleModelVersionExportResponse,
|
|
3608
|
+
/**
|
|
3609
|
+
* @param {!proto.clarifai.api.GetModelVersionExportRequest} request
|
|
3610
|
+
* @return {!Uint8Array}
|
|
3611
|
+
*/
|
|
3612
|
+
function (request) {
|
|
3613
|
+
return request.serializeBinary();
|
|
3614
|
+
}, proto.clarifai.api.SingleModelVersionExportResponse.deserializeBinary);
|
|
3615
|
+
/**
|
|
3616
|
+
* @param {!proto.clarifai.api.GetModelVersionExportRequest} request The
|
|
3617
|
+
* request proto
|
|
3618
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3619
|
+
* call metadata
|
|
3620
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleModelVersionExportResponse)}
|
|
3621
|
+
* callback The callback function(error, response)
|
|
3622
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleModelVersionExportResponse>|undefined}
|
|
3623
|
+
* The XHR Node Readable Stream
|
|
3624
|
+
*/
|
|
3625
|
+
proto.clarifai.api.V2Client.prototype.getModelVersionExport =
|
|
3626
|
+
function (request, metadata, callback) {
|
|
3627
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
3628
|
+
'/clarifai.api.V2/GetModelVersionExport', request, metadata || {}, methodDescriptor_V2_GetModelVersionExport, callback);
|
|
3629
|
+
};
|
|
3630
|
+
/**
|
|
3631
|
+
* @param {!proto.clarifai.api.GetModelVersionExportRequest} request The
|
|
3632
|
+
* request proto
|
|
3633
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
3634
|
+
* call metadata
|
|
3635
|
+
* @return {!Promise<!proto.clarifai.api.SingleModelVersionExportResponse>}
|
|
3636
|
+
* Promise that resolves to the response
|
|
3637
|
+
*/
|
|
3638
|
+
proto.clarifai.api.V2PromiseClient.prototype.getModelVersionExport =
|
|
3639
|
+
function (request, metadata) {
|
|
3640
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
3641
|
+
'/clarifai.api.V2/GetModelVersionExport', request, metadata || {}, methodDescriptor_V2_GetModelVersionExport);
|
|
3642
|
+
};
|
|
3559
3643
|
/**
|
|
3560
3644
|
* @const
|
|
3561
3645
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -6118,6 +6202,48 @@ proto.clarifai.api.V2PromiseClient.prototype.getStatusCode =
|
|
|
6118
6202
|
return this.client_.unaryCall(this.hostname_ +
|
|
6119
6203
|
'/clarifai.api.V2/GetStatusCode', request, metadata || {}, methodDescriptor_V2_GetStatusCode);
|
|
6120
6204
|
};
|
|
6205
|
+
/**
|
|
6206
|
+
* @const
|
|
6207
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
6208
|
+
* !proto.clarifai.api.GetResourcePriceRequest,
|
|
6209
|
+
* !proto.clarifai.api.GetResourcePriceResponse>}
|
|
6210
|
+
*/
|
|
6211
|
+
const methodDescriptor_V2_GetResourcePrice = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetResourcePrice', grpc.web.MethodType.UNARY, proto.clarifai.api.GetResourcePriceRequest, proto.clarifai.api.GetResourcePriceResponse,
|
|
6212
|
+
/**
|
|
6213
|
+
* @param {!proto.clarifai.api.GetResourcePriceRequest} request
|
|
6214
|
+
* @return {!Uint8Array}
|
|
6215
|
+
*/
|
|
6216
|
+
function (request) {
|
|
6217
|
+
return request.serializeBinary();
|
|
6218
|
+
}, proto.clarifai.api.GetResourcePriceResponse.deserializeBinary);
|
|
6219
|
+
/**
|
|
6220
|
+
* @param {!proto.clarifai.api.GetResourcePriceRequest} request The
|
|
6221
|
+
* request proto
|
|
6222
|
+
* @param {?Object<string, string>} metadata User defined
|
|
6223
|
+
* call metadata
|
|
6224
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.GetResourcePriceResponse)}
|
|
6225
|
+
* callback The callback function(error, response)
|
|
6226
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.GetResourcePriceResponse>|undefined}
|
|
6227
|
+
* The XHR Node Readable Stream
|
|
6228
|
+
*/
|
|
6229
|
+
proto.clarifai.api.V2Client.prototype.getResourcePrice =
|
|
6230
|
+
function (request, metadata, callback) {
|
|
6231
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
6232
|
+
'/clarifai.api.V2/GetResourcePrice', request, metadata || {}, methodDescriptor_V2_GetResourcePrice, callback);
|
|
6233
|
+
};
|
|
6234
|
+
/**
|
|
6235
|
+
* @param {!proto.clarifai.api.GetResourcePriceRequest} request The
|
|
6236
|
+
* request proto
|
|
6237
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
6238
|
+
* call metadata
|
|
6239
|
+
* @return {!Promise<!proto.clarifai.api.GetResourcePriceResponse>}
|
|
6240
|
+
* Promise that resolves to the response
|
|
6241
|
+
*/
|
|
6242
|
+
proto.clarifai.api.V2PromiseClient.prototype.getResourcePrice =
|
|
6243
|
+
function (request, metadata) {
|
|
6244
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
6245
|
+
'/clarifai.api.V2/GetResourcePrice', request, metadata || {}, methodDescriptor_V2_GetResourcePrice);
|
|
6246
|
+
};
|
|
6121
6247
|
/**
|
|
6122
6248
|
* @const
|
|
6123
6249
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -8264,24 +8390,24 @@ proto.clarifai.api.V2PromiseClient.prototype.listNextTaskAssignments =
|
|
|
8264
8390
|
* @const
|
|
8265
8391
|
* @type {!grpc.web.MethodDescriptor<
|
|
8266
8392
|
* !proto.clarifai.api.PutTaskAssignmentsRequest,
|
|
8267
|
-
* !proto.clarifai.api.
|
|
8393
|
+
* !proto.clarifai.api.MultiTaskAssignmentResponse>}
|
|
8268
8394
|
*/
|
|
8269
|
-
const methodDescriptor_V2_PutTaskAssignments = new grpc.web.MethodDescriptor('/clarifai.api.V2/PutTaskAssignments', grpc.web.MethodType.UNARY, proto.clarifai.api.PutTaskAssignmentsRequest,
|
|
8395
|
+
const methodDescriptor_V2_PutTaskAssignments = new grpc.web.MethodDescriptor('/clarifai.api.V2/PutTaskAssignments', grpc.web.MethodType.UNARY, proto.clarifai.api.PutTaskAssignmentsRequest, proto.clarifai.api.MultiTaskAssignmentResponse,
|
|
8270
8396
|
/**
|
|
8271
8397
|
* @param {!proto.clarifai.api.PutTaskAssignmentsRequest} request
|
|
8272
8398
|
* @return {!Uint8Array}
|
|
8273
8399
|
*/
|
|
8274
8400
|
function (request) {
|
|
8275
8401
|
return request.serializeBinary();
|
|
8276
|
-
},
|
|
8402
|
+
}, proto.clarifai.api.MultiTaskAssignmentResponse.deserializeBinary);
|
|
8277
8403
|
/**
|
|
8278
8404
|
* @param {!proto.clarifai.api.PutTaskAssignmentsRequest} request The
|
|
8279
8405
|
* request proto
|
|
8280
8406
|
* @param {?Object<string, string>} metadata User defined
|
|
8281
8407
|
* call metadata
|
|
8282
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
8408
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiTaskAssignmentResponse)}
|
|
8283
8409
|
* callback The callback function(error, response)
|
|
8284
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
8410
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiTaskAssignmentResponse>|undefined}
|
|
8285
8411
|
* The XHR Node Readable Stream
|
|
8286
8412
|
*/
|
|
8287
8413
|
proto.clarifai.api.V2Client.prototype.putTaskAssignments =
|
|
@@ -8294,7 +8420,7 @@ proto.clarifai.api.V2Client.prototype.putTaskAssignments =
|
|
|
8294
8420
|
* request proto
|
|
8295
8421
|
* @param {?Object<string, string>=} metadata User defined
|
|
8296
8422
|
* call metadata
|
|
8297
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
8423
|
+
* @return {!Promise<!proto.clarifai.api.MultiTaskAssignmentResponse>}
|
|
8298
8424
|
* Promise that resolves to the response
|
|
8299
8425
|
*/
|
|
8300
8426
|
proto.clarifai.api.V2PromiseClient.prototype.putTaskAssignments =
|