clarifai-web-grpc 10.9.4 → 10.10.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 +977 -223
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +0 -84
- package/dist/cjs/proto/clarifai/api/service_pb.js +64 -595
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +977 -223
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +0 -84
- package/dist/esm/proto/clarifai/api/service_pb.js +64 -595
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +177 -40
- package/proto/clarifai/api/resources_pb.js +1218 -267
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +0 -24
- package/proto/clarifai/api/service_grpc_web_pb.js +0 -122
- package/proto/clarifai/api/service_pb.d.ts +9 -86
- package/proto/clarifai/api/service_pb.js +82 -732
- package/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/proto/clarifai/api/status/status_code_pb.js +1 -0
|
@@ -1218,20 +1218,6 @@ export class V2Client {
|
|
|
1218
1218
|
response: proto_clarifai_api_service_pb.MultiStatValueAggregateResponse) => void
|
|
1219
1219
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiStatValueAggregateResponse>;
|
|
1220
1220
|
|
|
1221
|
-
postTrendingMetricsView(
|
|
1222
|
-
request: proto_clarifai_api_service_pb.PostTrendingMetricsViewRequest,
|
|
1223
|
-
metadata: grpcWeb.Metadata | undefined,
|
|
1224
|
-
callback: (err: grpcWeb.RpcError,
|
|
1225
|
-
response: proto_clarifai_api_status_status_pb.BaseResponse) => void
|
|
1226
|
-
): grpcWeb.ClientReadableStream<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
1227
|
-
|
|
1228
|
-
listTrendingMetricsViews(
|
|
1229
|
-
request: proto_clarifai_api_service_pb.ListTrendingMetricsViewsRequest,
|
|
1230
|
-
metadata: grpcWeb.Metadata | undefined,
|
|
1231
|
-
callback: (err: grpcWeb.RpcError,
|
|
1232
|
-
response: proto_clarifai_api_service_pb.MultiTrendingMetricsViewResponse) => void
|
|
1233
|
-
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiTrendingMetricsViewResponse>;
|
|
1234
|
-
|
|
1235
1221
|
getModule(
|
|
1236
1222
|
request: proto_clarifai_api_service_pb.GetModuleRequest,
|
|
1237
1223
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -2524,16 +2510,6 @@ export class V2PromiseClient {
|
|
|
2524
2510
|
metadata?: grpcWeb.Metadata
|
|
2525
2511
|
): Promise<proto_clarifai_api_service_pb.MultiStatValueAggregateResponse>;
|
|
2526
2512
|
|
|
2527
|
-
postTrendingMetricsView(
|
|
2528
|
-
request: proto_clarifai_api_service_pb.PostTrendingMetricsViewRequest,
|
|
2529
|
-
metadata?: grpcWeb.Metadata
|
|
2530
|
-
): Promise<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
2531
|
-
|
|
2532
|
-
listTrendingMetricsViews(
|
|
2533
|
-
request: proto_clarifai_api_service_pb.ListTrendingMetricsViewsRequest,
|
|
2534
|
-
metadata?: grpcWeb.Metadata
|
|
2535
|
-
): Promise<proto_clarifai_api_service_pb.MultiTrendingMetricsViewResponse>;
|
|
2536
|
-
|
|
2537
2513
|
getModule(
|
|
2538
2514
|
request: proto_clarifai_api_service_pb.GetModuleRequest,
|
|
2539
2515
|
metadata?: grpcWeb.Metadata
|
|
@@ -10643,128 +10643,6 @@ proto.clarifai.api.V2PromiseClient.prototype.postStatValuesAggregate =
|
|
|
10643
10643
|
};
|
|
10644
10644
|
|
|
10645
10645
|
|
|
10646
|
-
/**
|
|
10647
|
-
* @const
|
|
10648
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
10649
|
-
* !proto.clarifai.api.PostTrendingMetricsViewRequest,
|
|
10650
|
-
* !proto.clarifai.api.status.BaseResponse>}
|
|
10651
|
-
*/
|
|
10652
|
-
const methodDescriptor_V2_PostTrendingMetricsView = new grpc.web.MethodDescriptor(
|
|
10653
|
-
'/clarifai.api.V2/PostTrendingMetricsView',
|
|
10654
|
-
grpc.web.MethodType.UNARY,
|
|
10655
|
-
proto.clarifai.api.PostTrendingMetricsViewRequest,
|
|
10656
|
-
proto_clarifai_api_status_status_pb.BaseResponse,
|
|
10657
|
-
/**
|
|
10658
|
-
* @param {!proto.clarifai.api.PostTrendingMetricsViewRequest} request
|
|
10659
|
-
* @return {!Uint8Array}
|
|
10660
|
-
*/
|
|
10661
|
-
function(request) {
|
|
10662
|
-
return request.serializeBinary();
|
|
10663
|
-
},
|
|
10664
|
-
proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
|
|
10665
|
-
);
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
/**
|
|
10669
|
-
* @param {!proto.clarifai.api.PostTrendingMetricsViewRequest} request The
|
|
10670
|
-
* request proto
|
|
10671
|
-
* @param {?Object<string, string>} metadata User defined
|
|
10672
|
-
* call metadata
|
|
10673
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
10674
|
-
* callback The callback function(error, response)
|
|
10675
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
10676
|
-
* The XHR Node Readable Stream
|
|
10677
|
-
*/
|
|
10678
|
-
proto.clarifai.api.V2Client.prototype.postTrendingMetricsView =
|
|
10679
|
-
function(request, metadata, callback) {
|
|
10680
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
10681
|
-
'/clarifai.api.V2/PostTrendingMetricsView',
|
|
10682
|
-
request,
|
|
10683
|
-
metadata || {},
|
|
10684
|
-
methodDescriptor_V2_PostTrendingMetricsView,
|
|
10685
|
-
callback);
|
|
10686
|
-
};
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
/**
|
|
10690
|
-
* @param {!proto.clarifai.api.PostTrendingMetricsViewRequest} request The
|
|
10691
|
-
* request proto
|
|
10692
|
-
* @param {?Object<string, string>=} metadata User defined
|
|
10693
|
-
* call metadata
|
|
10694
|
-
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
10695
|
-
* Promise that resolves to the response
|
|
10696
|
-
*/
|
|
10697
|
-
proto.clarifai.api.V2PromiseClient.prototype.postTrendingMetricsView =
|
|
10698
|
-
function(request, metadata) {
|
|
10699
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
10700
|
-
'/clarifai.api.V2/PostTrendingMetricsView',
|
|
10701
|
-
request,
|
|
10702
|
-
metadata || {},
|
|
10703
|
-
methodDescriptor_V2_PostTrendingMetricsView);
|
|
10704
|
-
};
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
/**
|
|
10708
|
-
* @const
|
|
10709
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
10710
|
-
* !proto.clarifai.api.ListTrendingMetricsViewsRequest,
|
|
10711
|
-
* !proto.clarifai.api.MultiTrendingMetricsViewResponse>}
|
|
10712
|
-
*/
|
|
10713
|
-
const methodDescriptor_V2_ListTrendingMetricsViews = new grpc.web.MethodDescriptor(
|
|
10714
|
-
'/clarifai.api.V2/ListTrendingMetricsViews',
|
|
10715
|
-
grpc.web.MethodType.UNARY,
|
|
10716
|
-
proto.clarifai.api.ListTrendingMetricsViewsRequest,
|
|
10717
|
-
proto.clarifai.api.MultiTrendingMetricsViewResponse,
|
|
10718
|
-
/**
|
|
10719
|
-
* @param {!proto.clarifai.api.ListTrendingMetricsViewsRequest} request
|
|
10720
|
-
* @return {!Uint8Array}
|
|
10721
|
-
*/
|
|
10722
|
-
function(request) {
|
|
10723
|
-
return request.serializeBinary();
|
|
10724
|
-
},
|
|
10725
|
-
proto.clarifai.api.MultiTrendingMetricsViewResponse.deserializeBinary
|
|
10726
|
-
);
|
|
10727
|
-
|
|
10728
|
-
|
|
10729
|
-
/**
|
|
10730
|
-
* @param {!proto.clarifai.api.ListTrendingMetricsViewsRequest} request The
|
|
10731
|
-
* request proto
|
|
10732
|
-
* @param {?Object<string, string>} metadata User defined
|
|
10733
|
-
* call metadata
|
|
10734
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiTrendingMetricsViewResponse)}
|
|
10735
|
-
* callback The callback function(error, response)
|
|
10736
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiTrendingMetricsViewResponse>|undefined}
|
|
10737
|
-
* The XHR Node Readable Stream
|
|
10738
|
-
*/
|
|
10739
|
-
proto.clarifai.api.V2Client.prototype.listTrendingMetricsViews =
|
|
10740
|
-
function(request, metadata, callback) {
|
|
10741
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
10742
|
-
'/clarifai.api.V2/ListTrendingMetricsViews',
|
|
10743
|
-
request,
|
|
10744
|
-
metadata || {},
|
|
10745
|
-
methodDescriptor_V2_ListTrendingMetricsViews,
|
|
10746
|
-
callback);
|
|
10747
|
-
};
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
/**
|
|
10751
|
-
* @param {!proto.clarifai.api.ListTrendingMetricsViewsRequest} request The
|
|
10752
|
-
* request proto
|
|
10753
|
-
* @param {?Object<string, string>=} metadata User defined
|
|
10754
|
-
* call metadata
|
|
10755
|
-
* @return {!Promise<!proto.clarifai.api.MultiTrendingMetricsViewResponse>}
|
|
10756
|
-
* Promise that resolves to the response
|
|
10757
|
-
*/
|
|
10758
|
-
proto.clarifai.api.V2PromiseClient.prototype.listTrendingMetricsViews =
|
|
10759
|
-
function(request, metadata) {
|
|
10760
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
10761
|
-
'/clarifai.api.V2/ListTrendingMetricsViews',
|
|
10762
|
-
request,
|
|
10763
|
-
metadata || {},
|
|
10764
|
-
methodDescriptor_V2_ListTrendingMetricsViews);
|
|
10765
|
-
};
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
10646
|
/**
|
|
10769
10647
|
* @const
|
|
10770
10648
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -506,6 +506,9 @@ export class ListAppsRequest extends jspb.Message {
|
|
|
506
506
|
getSortByStarCount(): boolean;
|
|
507
507
|
setSortByStarCount(value: boolean): ListAppsRequest;
|
|
508
508
|
|
|
509
|
+
getSortById(): boolean;
|
|
510
|
+
setSortById(value: boolean): ListAppsRequest;
|
|
511
|
+
|
|
509
512
|
getFeaturedOnly(): boolean;
|
|
510
513
|
setFeaturedOnly(value: boolean): ListAppsRequest;
|
|
511
514
|
|
|
@@ -548,6 +551,7 @@ export namespace ListAppsRequest {
|
|
|
548
551
|
sortByModifiedAt: boolean,
|
|
549
552
|
sortByCreatedAt: boolean,
|
|
550
553
|
sortByStarCount: boolean,
|
|
554
|
+
sortById: boolean,
|
|
551
555
|
featuredOnly: boolean,
|
|
552
556
|
starredOnly: boolean,
|
|
553
557
|
templateOnly: boolean,
|
|
@@ -563,6 +567,7 @@ export namespace ListAppsRequest {
|
|
|
563
567
|
SORT_BY_MODIFIED_AT = 7,
|
|
564
568
|
SORT_BY_CREATED_AT = 12,
|
|
565
569
|
SORT_BY_STAR_COUNT = 13,
|
|
570
|
+
SORT_BY_ID = 17,
|
|
566
571
|
}
|
|
567
572
|
}
|
|
568
573
|
|
|
@@ -8005,92 +8010,6 @@ export namespace MultiStatValueAggregateResponse {
|
|
|
8005
8010
|
}
|
|
8006
8011
|
}
|
|
8007
8012
|
|
|
8008
|
-
export class PostTrendingMetricsViewRequest extends jspb.Message {
|
|
8009
|
-
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
8010
|
-
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): PostTrendingMetricsViewRequest;
|
|
8011
|
-
hasUserAppId(): boolean;
|
|
8012
|
-
clearUserAppId(): PostTrendingMetricsViewRequest;
|
|
8013
|
-
|
|
8014
|
-
getViewType(): string;
|
|
8015
|
-
setViewType(value: string): PostTrendingMetricsViewRequest;
|
|
8016
|
-
|
|
8017
|
-
getObjectId(): string;
|
|
8018
|
-
setObjectId(value: string): PostTrendingMetricsViewRequest;
|
|
8019
|
-
|
|
8020
|
-
serializeBinary(): Uint8Array;
|
|
8021
|
-
toObject(includeInstance?: boolean): PostTrendingMetricsViewRequest.AsObject;
|
|
8022
|
-
static toObject(includeInstance: boolean, msg: PostTrendingMetricsViewRequest): PostTrendingMetricsViewRequest.AsObject;
|
|
8023
|
-
static serializeBinaryToWriter(message: PostTrendingMetricsViewRequest, writer: jspb.BinaryWriter): void;
|
|
8024
|
-
static deserializeBinary(bytes: Uint8Array): PostTrendingMetricsViewRequest;
|
|
8025
|
-
static deserializeBinaryFromReader(message: PostTrendingMetricsViewRequest, reader: jspb.BinaryReader): PostTrendingMetricsViewRequest;
|
|
8026
|
-
}
|
|
8027
|
-
|
|
8028
|
-
export namespace PostTrendingMetricsViewRequest {
|
|
8029
|
-
export type AsObject = {
|
|
8030
|
-
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
8031
|
-
viewType: string,
|
|
8032
|
-
objectId: string,
|
|
8033
|
-
}
|
|
8034
|
-
}
|
|
8035
|
-
|
|
8036
|
-
export class ListTrendingMetricsViewsRequest extends jspb.Message {
|
|
8037
|
-
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
8038
|
-
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): ListTrendingMetricsViewsRequest;
|
|
8039
|
-
hasUserAppId(): boolean;
|
|
8040
|
-
clearUserAppId(): ListTrendingMetricsViewsRequest;
|
|
8041
|
-
|
|
8042
|
-
getViewType(): string;
|
|
8043
|
-
setViewType(value: string): ListTrendingMetricsViewsRequest;
|
|
8044
|
-
|
|
8045
|
-
getPage(): number;
|
|
8046
|
-
setPage(value: number): ListTrendingMetricsViewsRequest;
|
|
8047
|
-
|
|
8048
|
-
getPerPage(): number;
|
|
8049
|
-
setPerPage(value: number): ListTrendingMetricsViewsRequest;
|
|
8050
|
-
|
|
8051
|
-
serializeBinary(): Uint8Array;
|
|
8052
|
-
toObject(includeInstance?: boolean): ListTrendingMetricsViewsRequest.AsObject;
|
|
8053
|
-
static toObject(includeInstance: boolean, msg: ListTrendingMetricsViewsRequest): ListTrendingMetricsViewsRequest.AsObject;
|
|
8054
|
-
static serializeBinaryToWriter(message: ListTrendingMetricsViewsRequest, writer: jspb.BinaryWriter): void;
|
|
8055
|
-
static deserializeBinary(bytes: Uint8Array): ListTrendingMetricsViewsRequest;
|
|
8056
|
-
static deserializeBinaryFromReader(message: ListTrendingMetricsViewsRequest, reader: jspb.BinaryReader): ListTrendingMetricsViewsRequest;
|
|
8057
|
-
}
|
|
8058
|
-
|
|
8059
|
-
export namespace ListTrendingMetricsViewsRequest {
|
|
8060
|
-
export type AsObject = {
|
|
8061
|
-
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
8062
|
-
viewType: string,
|
|
8063
|
-
page: number,
|
|
8064
|
-
perPage: number,
|
|
8065
|
-
}
|
|
8066
|
-
}
|
|
8067
|
-
|
|
8068
|
-
export class MultiTrendingMetricsViewResponse extends jspb.Message {
|
|
8069
|
-
getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
|
|
8070
|
-
setStatus(value?: proto_clarifai_api_status_status_pb.Status): MultiTrendingMetricsViewResponse;
|
|
8071
|
-
hasStatus(): boolean;
|
|
8072
|
-
clearStatus(): MultiTrendingMetricsViewResponse;
|
|
8073
|
-
|
|
8074
|
-
getMetricsList(): Array<proto_clarifai_api_resources_pb.TrendingMetric>;
|
|
8075
|
-
setMetricsList(value: Array<proto_clarifai_api_resources_pb.TrendingMetric>): MultiTrendingMetricsViewResponse;
|
|
8076
|
-
clearMetricsList(): MultiTrendingMetricsViewResponse;
|
|
8077
|
-
addMetrics(value?: proto_clarifai_api_resources_pb.TrendingMetric, index?: number): proto_clarifai_api_resources_pb.TrendingMetric;
|
|
8078
|
-
|
|
8079
|
-
serializeBinary(): Uint8Array;
|
|
8080
|
-
toObject(includeInstance?: boolean): MultiTrendingMetricsViewResponse.AsObject;
|
|
8081
|
-
static toObject(includeInstance: boolean, msg: MultiTrendingMetricsViewResponse): MultiTrendingMetricsViewResponse.AsObject;
|
|
8082
|
-
static serializeBinaryToWriter(message: MultiTrendingMetricsViewResponse, writer: jspb.BinaryWriter): void;
|
|
8083
|
-
static deserializeBinary(bytes: Uint8Array): MultiTrendingMetricsViewResponse;
|
|
8084
|
-
static deserializeBinaryFromReader(message: MultiTrendingMetricsViewResponse, reader: jspb.BinaryReader): MultiTrendingMetricsViewResponse;
|
|
8085
|
-
}
|
|
8086
|
-
|
|
8087
|
-
export namespace MultiTrendingMetricsViewResponse {
|
|
8088
|
-
export type AsObject = {
|
|
8089
|
-
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
8090
|
-
metricsList: Array<proto_clarifai_api_resources_pb.TrendingMetric.AsObject>,
|
|
8091
|
-
}
|
|
8092
|
-
}
|
|
8093
|
-
|
|
8094
8013
|
export class GetModuleRequest extends jspb.Message {
|
|
8095
8014
|
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
8096
8015
|
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): GetModuleRequest;
|
|
@@ -9754,6 +9673,9 @@ export class ListRunnersRequest extends jspb.Message {
|
|
|
9754
9673
|
getComputeClusterId(): string;
|
|
9755
9674
|
setComputeClusterId(value: string): ListRunnersRequest;
|
|
9756
9675
|
|
|
9676
|
+
getMinReplicas(): number;
|
|
9677
|
+
setMinReplicas(value: number): ListRunnersRequest;
|
|
9678
|
+
|
|
9757
9679
|
serializeBinary(): Uint8Array;
|
|
9758
9680
|
toObject(includeInstance?: boolean): ListRunnersRequest.AsObject;
|
|
9759
9681
|
static toObject(includeInstance: boolean, msg: ListRunnersRequest): ListRunnersRequest.AsObject;
|
|
@@ -9769,6 +9691,7 @@ export namespace ListRunnersRequest {
|
|
|
9769
9691
|
page: number,
|
|
9770
9692
|
perPage: number,
|
|
9771
9693
|
computeClusterId: string,
|
|
9694
|
+
minReplicas: number,
|
|
9772
9695
|
}
|
|
9773
9696
|
}
|
|
9774
9697
|
|