clarifai-web-grpc 10.4.1 → 10.5.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 +326 -272
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +210 -42
- package/dist/cjs/proto/clarifai/api/service_pb.js +1364 -378
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +326 -272
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +210 -42
- package/dist/esm/proto/clarifai/api/service_pb.js +1364 -378
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +49 -43
- package/proto/clarifai/api/resources_pb.js +401 -322
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +60 -12
- package/proto/clarifai/api/service_grpc_web_pb.js +305 -61
- package/proto/clarifai/api/service_pb.d.ts +194 -52
- package/proto/clarifai/api/service_pb.js +2254 -1038
- package/proto/clarifai/api/status/status_code_pb.d.ts +3 -0
- package/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +3 -0
- package/proto/clarifai/auth/scope/scope_pb.js +4 -1
|
@@ -742,48 +742,6 @@ proto.clarifai.api.V2PromiseClient.prototype.postKnowledgeGraphs =
|
|
|
742
742
|
return this.client_.unaryCall(this.hostname_ +
|
|
743
743
|
'/clarifai.api.V2/PostKnowledgeGraphs', request, metadata || {}, methodDescriptor_V2_PostKnowledgeGraphs);
|
|
744
744
|
};
|
|
745
|
-
/**
|
|
746
|
-
* @const
|
|
747
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
748
|
-
* !proto.clarifai.api.PostConceptMappingJobsRequest,
|
|
749
|
-
* !proto.clarifai.api.MultiConceptMappingJobResponse>}
|
|
750
|
-
*/
|
|
751
|
-
const methodDescriptor_V2_PostConceptMappingJobs = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostConceptMappingJobs', grpc.web.MethodType.UNARY, proto.clarifai.api.PostConceptMappingJobsRequest, proto.clarifai.api.MultiConceptMappingJobResponse,
|
|
752
|
-
/**
|
|
753
|
-
* @param {!proto.clarifai.api.PostConceptMappingJobsRequest} request
|
|
754
|
-
* @return {!Uint8Array}
|
|
755
|
-
*/
|
|
756
|
-
function (request) {
|
|
757
|
-
return request.serializeBinary();
|
|
758
|
-
}, proto.clarifai.api.MultiConceptMappingJobResponse.deserializeBinary);
|
|
759
|
-
/**
|
|
760
|
-
* @param {!proto.clarifai.api.PostConceptMappingJobsRequest} request The
|
|
761
|
-
* request proto
|
|
762
|
-
* @param {?Object<string, string>} metadata User defined
|
|
763
|
-
* call metadata
|
|
764
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiConceptMappingJobResponse)}
|
|
765
|
-
* callback The callback function(error, response)
|
|
766
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiConceptMappingJobResponse>|undefined}
|
|
767
|
-
* The XHR Node Readable Stream
|
|
768
|
-
*/
|
|
769
|
-
proto.clarifai.api.V2Client.prototype.postConceptMappingJobs =
|
|
770
|
-
function (request, metadata, callback) {
|
|
771
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
772
|
-
'/clarifai.api.V2/PostConceptMappingJobs', request, metadata || {}, methodDescriptor_V2_PostConceptMappingJobs, callback);
|
|
773
|
-
};
|
|
774
|
-
/**
|
|
775
|
-
* @param {!proto.clarifai.api.PostConceptMappingJobsRequest} request The
|
|
776
|
-
* request proto
|
|
777
|
-
* @param {?Object<string, string>=} metadata User defined
|
|
778
|
-
* call metadata
|
|
779
|
-
* @return {!Promise<!proto.clarifai.api.MultiConceptMappingJobResponse>}
|
|
780
|
-
* Promise that resolves to the response
|
|
781
|
-
*/
|
|
782
|
-
proto.clarifai.api.V2PromiseClient.prototype.postConceptMappingJobs =
|
|
783
|
-
function (request, metadata) {
|
|
784
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
785
|
-
'/clarifai.api.V2/PostConceptMappingJobs', request, metadata || {}, methodDescriptor_V2_PostConceptMappingJobs);
|
|
786
|
-
};
|
|
787
745
|
/**
|
|
788
746
|
* @const
|
|
789
747
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -9642,4 +9600,214 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteNodepools =
|
|
|
9642
9600
|
return this.client_.unaryCall(this.hostname_ +
|
|
9643
9601
|
'/clarifai.api.V2/DeleteNodepools', request, metadata || {}, methodDescriptor_V2_DeleteNodepools);
|
|
9644
9602
|
};
|
|
9603
|
+
/**
|
|
9604
|
+
* @const
|
|
9605
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9606
|
+
* !proto.clarifai.api.GetDeploymentRequest,
|
|
9607
|
+
* !proto.clarifai.api.SingleDeploymentResponse>}
|
|
9608
|
+
*/
|
|
9609
|
+
const methodDescriptor_V2_GetDeployment = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetDeployment', grpc.web.MethodType.UNARY, proto.clarifai.api.GetDeploymentRequest, proto.clarifai.api.SingleDeploymentResponse,
|
|
9610
|
+
/**
|
|
9611
|
+
* @param {!proto.clarifai.api.GetDeploymentRequest} request
|
|
9612
|
+
* @return {!Uint8Array}
|
|
9613
|
+
*/
|
|
9614
|
+
function (request) {
|
|
9615
|
+
return request.serializeBinary();
|
|
9616
|
+
}, proto.clarifai.api.SingleDeploymentResponse.deserializeBinary);
|
|
9617
|
+
/**
|
|
9618
|
+
* @param {!proto.clarifai.api.GetDeploymentRequest} request The
|
|
9619
|
+
* request proto
|
|
9620
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9621
|
+
* call metadata
|
|
9622
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleDeploymentResponse)}
|
|
9623
|
+
* callback The callback function(error, response)
|
|
9624
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleDeploymentResponse>|undefined}
|
|
9625
|
+
* The XHR Node Readable Stream
|
|
9626
|
+
*/
|
|
9627
|
+
proto.clarifai.api.V2Client.prototype.getDeployment =
|
|
9628
|
+
function (request, metadata, callback) {
|
|
9629
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9630
|
+
'/clarifai.api.V2/GetDeployment', request, metadata || {}, methodDescriptor_V2_GetDeployment, callback);
|
|
9631
|
+
};
|
|
9632
|
+
/**
|
|
9633
|
+
* @param {!proto.clarifai.api.GetDeploymentRequest} request The
|
|
9634
|
+
* request proto
|
|
9635
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9636
|
+
* call metadata
|
|
9637
|
+
* @return {!Promise<!proto.clarifai.api.SingleDeploymentResponse>}
|
|
9638
|
+
* Promise that resolves to the response
|
|
9639
|
+
*/
|
|
9640
|
+
proto.clarifai.api.V2PromiseClient.prototype.getDeployment =
|
|
9641
|
+
function (request, metadata) {
|
|
9642
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9643
|
+
'/clarifai.api.V2/GetDeployment', request, metadata || {}, methodDescriptor_V2_GetDeployment);
|
|
9644
|
+
};
|
|
9645
|
+
/**
|
|
9646
|
+
* @const
|
|
9647
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9648
|
+
* !proto.clarifai.api.ListDeploymentsRequest,
|
|
9649
|
+
* !proto.clarifai.api.MultiDeploymentResponse>}
|
|
9650
|
+
*/
|
|
9651
|
+
const methodDescriptor_V2_ListDeployments = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListDeployments', grpc.web.MethodType.UNARY, proto.clarifai.api.ListDeploymentsRequest, proto.clarifai.api.MultiDeploymentResponse,
|
|
9652
|
+
/**
|
|
9653
|
+
* @param {!proto.clarifai.api.ListDeploymentsRequest} request
|
|
9654
|
+
* @return {!Uint8Array}
|
|
9655
|
+
*/
|
|
9656
|
+
function (request) {
|
|
9657
|
+
return request.serializeBinary();
|
|
9658
|
+
}, proto.clarifai.api.MultiDeploymentResponse.deserializeBinary);
|
|
9659
|
+
/**
|
|
9660
|
+
* @param {!proto.clarifai.api.ListDeploymentsRequest} request The
|
|
9661
|
+
* request proto
|
|
9662
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9663
|
+
* call metadata
|
|
9664
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiDeploymentResponse)}
|
|
9665
|
+
* callback The callback function(error, response)
|
|
9666
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiDeploymentResponse>|undefined}
|
|
9667
|
+
* The XHR Node Readable Stream
|
|
9668
|
+
*/
|
|
9669
|
+
proto.clarifai.api.V2Client.prototype.listDeployments =
|
|
9670
|
+
function (request, metadata, callback) {
|
|
9671
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9672
|
+
'/clarifai.api.V2/ListDeployments', request, metadata || {}, methodDescriptor_V2_ListDeployments, callback);
|
|
9673
|
+
};
|
|
9674
|
+
/**
|
|
9675
|
+
* @param {!proto.clarifai.api.ListDeploymentsRequest} request The
|
|
9676
|
+
* request proto
|
|
9677
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9678
|
+
* call metadata
|
|
9679
|
+
* @return {!Promise<!proto.clarifai.api.MultiDeploymentResponse>}
|
|
9680
|
+
* Promise that resolves to the response
|
|
9681
|
+
*/
|
|
9682
|
+
proto.clarifai.api.V2PromiseClient.prototype.listDeployments =
|
|
9683
|
+
function (request, metadata) {
|
|
9684
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9685
|
+
'/clarifai.api.V2/ListDeployments', request, metadata || {}, methodDescriptor_V2_ListDeployments);
|
|
9686
|
+
};
|
|
9687
|
+
/**
|
|
9688
|
+
* @const
|
|
9689
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9690
|
+
* !proto.clarifai.api.PostDeploymentsRequest,
|
|
9691
|
+
* !proto.clarifai.api.MultiDeploymentResponse>}
|
|
9692
|
+
*/
|
|
9693
|
+
const methodDescriptor_V2_PostDeployments = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostDeployments', grpc.web.MethodType.UNARY, proto.clarifai.api.PostDeploymentsRequest, proto.clarifai.api.MultiDeploymentResponse,
|
|
9694
|
+
/**
|
|
9695
|
+
* @param {!proto.clarifai.api.PostDeploymentsRequest} request
|
|
9696
|
+
* @return {!Uint8Array}
|
|
9697
|
+
*/
|
|
9698
|
+
function (request) {
|
|
9699
|
+
return request.serializeBinary();
|
|
9700
|
+
}, proto.clarifai.api.MultiDeploymentResponse.deserializeBinary);
|
|
9701
|
+
/**
|
|
9702
|
+
* @param {!proto.clarifai.api.PostDeploymentsRequest} request The
|
|
9703
|
+
* request proto
|
|
9704
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9705
|
+
* call metadata
|
|
9706
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiDeploymentResponse)}
|
|
9707
|
+
* callback The callback function(error, response)
|
|
9708
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiDeploymentResponse>|undefined}
|
|
9709
|
+
* The XHR Node Readable Stream
|
|
9710
|
+
*/
|
|
9711
|
+
proto.clarifai.api.V2Client.prototype.postDeployments =
|
|
9712
|
+
function (request, metadata, callback) {
|
|
9713
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9714
|
+
'/clarifai.api.V2/PostDeployments', request, metadata || {}, methodDescriptor_V2_PostDeployments, callback);
|
|
9715
|
+
};
|
|
9716
|
+
/**
|
|
9717
|
+
* @param {!proto.clarifai.api.PostDeploymentsRequest} request The
|
|
9718
|
+
* request proto
|
|
9719
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9720
|
+
* call metadata
|
|
9721
|
+
* @return {!Promise<!proto.clarifai.api.MultiDeploymentResponse>}
|
|
9722
|
+
* Promise that resolves to the response
|
|
9723
|
+
*/
|
|
9724
|
+
proto.clarifai.api.V2PromiseClient.prototype.postDeployments =
|
|
9725
|
+
function (request, metadata) {
|
|
9726
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9727
|
+
'/clarifai.api.V2/PostDeployments', request, metadata || {}, methodDescriptor_V2_PostDeployments);
|
|
9728
|
+
};
|
|
9729
|
+
/**
|
|
9730
|
+
* @const
|
|
9731
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9732
|
+
* !proto.clarifai.api.PatchDeploymentsRequest,
|
|
9733
|
+
* !proto.clarifai.api.MultiDeploymentResponse>}
|
|
9734
|
+
*/
|
|
9735
|
+
const methodDescriptor_V2_PatchDeployments = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchDeployments', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchDeploymentsRequest, proto.clarifai.api.MultiDeploymentResponse,
|
|
9736
|
+
/**
|
|
9737
|
+
* @param {!proto.clarifai.api.PatchDeploymentsRequest} request
|
|
9738
|
+
* @return {!Uint8Array}
|
|
9739
|
+
*/
|
|
9740
|
+
function (request) {
|
|
9741
|
+
return request.serializeBinary();
|
|
9742
|
+
}, proto.clarifai.api.MultiDeploymentResponse.deserializeBinary);
|
|
9743
|
+
/**
|
|
9744
|
+
* @param {!proto.clarifai.api.PatchDeploymentsRequest} request The
|
|
9745
|
+
* request proto
|
|
9746
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9747
|
+
* call metadata
|
|
9748
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiDeploymentResponse)}
|
|
9749
|
+
* callback The callback function(error, response)
|
|
9750
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiDeploymentResponse>|undefined}
|
|
9751
|
+
* The XHR Node Readable Stream
|
|
9752
|
+
*/
|
|
9753
|
+
proto.clarifai.api.V2Client.prototype.patchDeployments =
|
|
9754
|
+
function (request, metadata, callback) {
|
|
9755
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9756
|
+
'/clarifai.api.V2/PatchDeployments', request, metadata || {}, methodDescriptor_V2_PatchDeployments, callback);
|
|
9757
|
+
};
|
|
9758
|
+
/**
|
|
9759
|
+
* @param {!proto.clarifai.api.PatchDeploymentsRequest} request The
|
|
9760
|
+
* request proto
|
|
9761
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9762
|
+
* call metadata
|
|
9763
|
+
* @return {!Promise<!proto.clarifai.api.MultiDeploymentResponse>}
|
|
9764
|
+
* Promise that resolves to the response
|
|
9765
|
+
*/
|
|
9766
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchDeployments =
|
|
9767
|
+
function (request, metadata) {
|
|
9768
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9769
|
+
'/clarifai.api.V2/PatchDeployments', request, metadata || {}, methodDescriptor_V2_PatchDeployments);
|
|
9770
|
+
};
|
|
9771
|
+
/**
|
|
9772
|
+
* @const
|
|
9773
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9774
|
+
* !proto.clarifai.api.DeleteDeploymentsRequest,
|
|
9775
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
9776
|
+
*/
|
|
9777
|
+
const methodDescriptor_V2_DeleteDeployments = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeleteDeployments', grpc.web.MethodType.UNARY, proto.clarifai.api.DeleteDeploymentsRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
9778
|
+
/**
|
|
9779
|
+
* @param {!proto.clarifai.api.DeleteDeploymentsRequest} request
|
|
9780
|
+
* @return {!Uint8Array}
|
|
9781
|
+
*/
|
|
9782
|
+
function (request) {
|
|
9783
|
+
return request.serializeBinary();
|
|
9784
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
9785
|
+
/**
|
|
9786
|
+
* @param {!proto.clarifai.api.DeleteDeploymentsRequest} request The
|
|
9787
|
+
* request proto
|
|
9788
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9789
|
+
* call metadata
|
|
9790
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
9791
|
+
* callback The callback function(error, response)
|
|
9792
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
9793
|
+
* The XHR Node Readable Stream
|
|
9794
|
+
*/
|
|
9795
|
+
proto.clarifai.api.V2Client.prototype.deleteDeployments =
|
|
9796
|
+
function (request, metadata, callback) {
|
|
9797
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9798
|
+
'/clarifai.api.V2/DeleteDeployments', request, metadata || {}, methodDescriptor_V2_DeleteDeployments, callback);
|
|
9799
|
+
};
|
|
9800
|
+
/**
|
|
9801
|
+
* @param {!proto.clarifai.api.DeleteDeploymentsRequest} request The
|
|
9802
|
+
* request proto
|
|
9803
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9804
|
+
* call metadata
|
|
9805
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
9806
|
+
* Promise that resolves to the response
|
|
9807
|
+
*/
|
|
9808
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteDeployments =
|
|
9809
|
+
function (request, metadata) {
|
|
9810
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9811
|
+
'/clarifai.api.V2/DeleteDeployments', request, metadata || {}, methodDescriptor_V2_DeleteDeployments);
|
|
9812
|
+
};
|
|
9645
9813
|
module.exports = proto.clarifai.api;
|