clarifai-web-grpc 11.4.1 → 11.5.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/service_grpc_web_pb.js +0 -84
- package/dist/cjs/proto/clarifai/api/service_pb.js +0 -753
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +0 -84
- package/dist/esm/proto/clarifai/api/service_pb.js +0 -753
- package/package.json +1 -1
- 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 +0 -114
- package/proto/clarifai/api/service_pb.js +0 -942
package/package.json
CHANGED
|
@@ -1720,20 +1720,6 @@ export class V2Client {
|
|
|
1720
1720
|
response: proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse) => void
|
|
1721
1721
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse>;
|
|
1722
1722
|
|
|
1723
|
-
getMCP(
|
|
1724
|
-
request: proto_clarifai_api_service_pb.MCPRequest,
|
|
1725
|
-
metadata: grpcWeb.Metadata | undefined,
|
|
1726
|
-
callback: (err: grpcWeb.RpcError,
|
|
1727
|
-
response: proto_clarifai_api_service_pb.SingleMCPResponse) => void
|
|
1728
|
-
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleMCPResponse>;
|
|
1729
|
-
|
|
1730
|
-
postMCP(
|
|
1731
|
-
request: proto_clarifai_api_service_pb.MCPRequest,
|
|
1732
|
-
metadata: grpcWeb.Metadata | undefined,
|
|
1733
|
-
callback: (err: grpcWeb.RpcError,
|
|
1734
|
-
response: proto_clarifai_api_service_pb.SingleMCPResponse) => void
|
|
1735
|
-
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleMCPResponse>;
|
|
1736
|
-
|
|
1737
1723
|
}
|
|
1738
1724
|
|
|
1739
1725
|
export class V2PromiseClient {
|
|
@@ -2966,15 +2952,5 @@ export class V2PromiseClient {
|
|
|
2966
2952
|
metadata?: grpcWeb.Metadata
|
|
2967
2953
|
): Promise<proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse>;
|
|
2968
2954
|
|
|
2969
|
-
getMCP(
|
|
2970
|
-
request: proto_clarifai_api_service_pb.MCPRequest,
|
|
2971
|
-
metadata?: grpcWeb.Metadata
|
|
2972
|
-
): Promise<proto_clarifai_api_service_pb.SingleMCPResponse>;
|
|
2973
|
-
|
|
2974
|
-
postMCP(
|
|
2975
|
-
request: proto_clarifai_api_service_pb.MCPRequest,
|
|
2976
|
-
metadata?: grpcWeb.Metadata
|
|
2977
|
-
): Promise<proto_clarifai_api_service_pb.SingleMCPResponse>;
|
|
2978
|
-
|
|
2979
2955
|
}
|
|
2980
2956
|
|
|
@@ -15030,127 +15030,5 @@ proto.clarifai.api.V2PromiseClient.prototype.patchWorkflowVersionEvaluations =
|
|
|
15030
15030
|
};
|
|
15031
15031
|
|
|
15032
15032
|
|
|
15033
|
-
/**
|
|
15034
|
-
* @const
|
|
15035
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
15036
|
-
* !proto.clarifai.api.MCPRequest,
|
|
15037
|
-
* !proto.clarifai.api.SingleMCPResponse>}
|
|
15038
|
-
*/
|
|
15039
|
-
const methodDescriptor_V2_GetMCP = new grpc.web.MethodDescriptor(
|
|
15040
|
-
'/clarifai.api.V2/GetMCP',
|
|
15041
|
-
grpc.web.MethodType.UNARY,
|
|
15042
|
-
proto.clarifai.api.MCPRequest,
|
|
15043
|
-
proto.clarifai.api.SingleMCPResponse,
|
|
15044
|
-
/**
|
|
15045
|
-
* @param {!proto.clarifai.api.MCPRequest} request
|
|
15046
|
-
* @return {!Uint8Array}
|
|
15047
|
-
*/
|
|
15048
|
-
function(request) {
|
|
15049
|
-
return request.serializeBinary();
|
|
15050
|
-
},
|
|
15051
|
-
proto.clarifai.api.SingleMCPResponse.deserializeBinary
|
|
15052
|
-
);
|
|
15053
|
-
|
|
15054
|
-
|
|
15055
|
-
/**
|
|
15056
|
-
* @param {!proto.clarifai.api.MCPRequest} request The
|
|
15057
|
-
* request proto
|
|
15058
|
-
* @param {?Object<string, string>} metadata User defined
|
|
15059
|
-
* call metadata
|
|
15060
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleMCPResponse)}
|
|
15061
|
-
* callback The callback function(error, response)
|
|
15062
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleMCPResponse>|undefined}
|
|
15063
|
-
* The XHR Node Readable Stream
|
|
15064
|
-
*/
|
|
15065
|
-
proto.clarifai.api.V2Client.prototype.getMCP =
|
|
15066
|
-
function(request, metadata, callback) {
|
|
15067
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
15068
|
-
'/clarifai.api.V2/GetMCP',
|
|
15069
|
-
request,
|
|
15070
|
-
metadata || {},
|
|
15071
|
-
methodDescriptor_V2_GetMCP,
|
|
15072
|
-
callback);
|
|
15073
|
-
};
|
|
15074
|
-
|
|
15075
|
-
|
|
15076
|
-
/**
|
|
15077
|
-
* @param {!proto.clarifai.api.MCPRequest} request The
|
|
15078
|
-
* request proto
|
|
15079
|
-
* @param {?Object<string, string>=} metadata User defined
|
|
15080
|
-
* call metadata
|
|
15081
|
-
* @return {!Promise<!proto.clarifai.api.SingleMCPResponse>}
|
|
15082
|
-
* Promise that resolves to the response
|
|
15083
|
-
*/
|
|
15084
|
-
proto.clarifai.api.V2PromiseClient.prototype.getMCP =
|
|
15085
|
-
function(request, metadata) {
|
|
15086
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
15087
|
-
'/clarifai.api.V2/GetMCP',
|
|
15088
|
-
request,
|
|
15089
|
-
metadata || {},
|
|
15090
|
-
methodDescriptor_V2_GetMCP);
|
|
15091
|
-
};
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
/**
|
|
15095
|
-
* @const
|
|
15096
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
15097
|
-
* !proto.clarifai.api.MCPRequest,
|
|
15098
|
-
* !proto.clarifai.api.SingleMCPResponse>}
|
|
15099
|
-
*/
|
|
15100
|
-
const methodDescriptor_V2_PostMCP = new grpc.web.MethodDescriptor(
|
|
15101
|
-
'/clarifai.api.V2/PostMCP',
|
|
15102
|
-
grpc.web.MethodType.UNARY,
|
|
15103
|
-
proto.clarifai.api.MCPRequest,
|
|
15104
|
-
proto.clarifai.api.SingleMCPResponse,
|
|
15105
|
-
/**
|
|
15106
|
-
* @param {!proto.clarifai.api.MCPRequest} request
|
|
15107
|
-
* @return {!Uint8Array}
|
|
15108
|
-
*/
|
|
15109
|
-
function(request) {
|
|
15110
|
-
return request.serializeBinary();
|
|
15111
|
-
},
|
|
15112
|
-
proto.clarifai.api.SingleMCPResponse.deserializeBinary
|
|
15113
|
-
);
|
|
15114
|
-
|
|
15115
|
-
|
|
15116
|
-
/**
|
|
15117
|
-
* @param {!proto.clarifai.api.MCPRequest} request The
|
|
15118
|
-
* request proto
|
|
15119
|
-
* @param {?Object<string, string>} metadata User defined
|
|
15120
|
-
* call metadata
|
|
15121
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleMCPResponse)}
|
|
15122
|
-
* callback The callback function(error, response)
|
|
15123
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleMCPResponse>|undefined}
|
|
15124
|
-
* The XHR Node Readable Stream
|
|
15125
|
-
*/
|
|
15126
|
-
proto.clarifai.api.V2Client.prototype.postMCP =
|
|
15127
|
-
function(request, metadata, callback) {
|
|
15128
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
15129
|
-
'/clarifai.api.V2/PostMCP',
|
|
15130
|
-
request,
|
|
15131
|
-
metadata || {},
|
|
15132
|
-
methodDescriptor_V2_PostMCP,
|
|
15133
|
-
callback);
|
|
15134
|
-
};
|
|
15135
|
-
|
|
15136
|
-
|
|
15137
|
-
/**
|
|
15138
|
-
* @param {!proto.clarifai.api.MCPRequest} request The
|
|
15139
|
-
* request proto
|
|
15140
|
-
* @param {?Object<string, string>=} metadata User defined
|
|
15141
|
-
* call metadata
|
|
15142
|
-
* @return {!Promise<!proto.clarifai.api.SingleMCPResponse>}
|
|
15143
|
-
* Promise that resolves to the response
|
|
15144
|
-
*/
|
|
15145
|
-
proto.clarifai.api.V2PromiseClient.prototype.postMCP =
|
|
15146
|
-
function(request, metadata) {
|
|
15147
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
15148
|
-
'/clarifai.api.V2/PostMCP',
|
|
15149
|
-
request,
|
|
15150
|
-
metadata || {},
|
|
15151
|
-
methodDescriptor_V2_PostMCP);
|
|
15152
|
-
};
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
15033
|
module.exports = proto.clarifai.api;
|
|
15156
15034
|
|
|
@@ -11456,120 +11456,6 @@ export namespace PostModelMigrationRequest {
|
|
|
11456
11456
|
}
|
|
11457
11457
|
}
|
|
11458
11458
|
|
|
11459
|
-
export class MCPRequest extends jspb.Message {
|
|
11460
|
-
getJsonrpc(): string;
|
|
11461
|
-
setJsonrpc(value: string): MCPRequest;
|
|
11462
|
-
|
|
11463
|
-
getId(): number;
|
|
11464
|
-
setId(value: number): MCPRequest;
|
|
11465
|
-
|
|
11466
|
-
getMethod(): string;
|
|
11467
|
-
setMethod(value: string): MCPRequest;
|
|
11468
|
-
|
|
11469
|
-
getParams(): google_protobuf_struct_pb.Struct | undefined;
|
|
11470
|
-
setParams(value?: google_protobuf_struct_pb.Struct): MCPRequest;
|
|
11471
|
-
hasParams(): boolean;
|
|
11472
|
-
clearParams(): MCPRequest;
|
|
11473
|
-
|
|
11474
|
-
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
11475
|
-
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): MCPRequest;
|
|
11476
|
-
hasUserAppId(): boolean;
|
|
11477
|
-
clearUserAppId(): MCPRequest;
|
|
11478
|
-
|
|
11479
|
-
getModelId(): string;
|
|
11480
|
-
setModelId(value: string): MCPRequest;
|
|
11481
|
-
|
|
11482
|
-
getVersionId(): string;
|
|
11483
|
-
setVersionId(value: string): MCPRequest;
|
|
11484
|
-
|
|
11485
|
-
serializeBinary(): Uint8Array;
|
|
11486
|
-
toObject(includeInstance?: boolean): MCPRequest.AsObject;
|
|
11487
|
-
static toObject(includeInstance: boolean, msg: MCPRequest): MCPRequest.AsObject;
|
|
11488
|
-
static serializeBinaryToWriter(message: MCPRequest, writer: jspb.BinaryWriter): void;
|
|
11489
|
-
static deserializeBinary(bytes: Uint8Array): MCPRequest;
|
|
11490
|
-
static deserializeBinaryFromReader(message: MCPRequest, reader: jspb.BinaryReader): MCPRequest;
|
|
11491
|
-
}
|
|
11492
|
-
|
|
11493
|
-
export namespace MCPRequest {
|
|
11494
|
-
export type AsObject = {
|
|
11495
|
-
jsonrpc: string,
|
|
11496
|
-
id: number,
|
|
11497
|
-
method: string,
|
|
11498
|
-
params?: google_protobuf_struct_pb.Struct.AsObject,
|
|
11499
|
-
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
11500
|
-
modelId: string,
|
|
11501
|
-
versionId: string,
|
|
11502
|
-
}
|
|
11503
|
-
}
|
|
11504
|
-
|
|
11505
|
-
export class MCPError extends jspb.Message {
|
|
11506
|
-
getCode(): number;
|
|
11507
|
-
setCode(value: number): MCPError;
|
|
11508
|
-
|
|
11509
|
-
getMessage(): string;
|
|
11510
|
-
setMessage(value: string): MCPError;
|
|
11511
|
-
|
|
11512
|
-
getData(): google_protobuf_struct_pb.Struct | undefined;
|
|
11513
|
-
setData(value?: google_protobuf_struct_pb.Struct): MCPError;
|
|
11514
|
-
hasData(): boolean;
|
|
11515
|
-
clearData(): MCPError;
|
|
11516
|
-
|
|
11517
|
-
serializeBinary(): Uint8Array;
|
|
11518
|
-
toObject(includeInstance?: boolean): MCPError.AsObject;
|
|
11519
|
-
static toObject(includeInstance: boolean, msg: MCPError): MCPError.AsObject;
|
|
11520
|
-
static serializeBinaryToWriter(message: MCPError, writer: jspb.BinaryWriter): void;
|
|
11521
|
-
static deserializeBinary(bytes: Uint8Array): MCPError;
|
|
11522
|
-
static deserializeBinaryFromReader(message: MCPError, reader: jspb.BinaryReader): MCPError;
|
|
11523
|
-
}
|
|
11524
|
-
|
|
11525
|
-
export namespace MCPError {
|
|
11526
|
-
export type AsObject = {
|
|
11527
|
-
code: number,
|
|
11528
|
-
message: string,
|
|
11529
|
-
data?: google_protobuf_struct_pb.Struct.AsObject,
|
|
11530
|
-
}
|
|
11531
|
-
}
|
|
11532
|
-
|
|
11533
|
-
export class SingleMCPResponse extends jspb.Message {
|
|
11534
|
-
getJsonrpc(): string;
|
|
11535
|
-
setJsonrpc(value: string): SingleMCPResponse;
|
|
11536
|
-
|
|
11537
|
-
getId(): number;
|
|
11538
|
-
setId(value: number): SingleMCPResponse;
|
|
11539
|
-
|
|
11540
|
-
getResult(): google_protobuf_struct_pb.Struct | undefined;
|
|
11541
|
-
setResult(value?: google_protobuf_struct_pb.Struct): SingleMCPResponse;
|
|
11542
|
-
hasResult(): boolean;
|
|
11543
|
-
clearResult(): SingleMCPResponse;
|
|
11544
|
-
|
|
11545
|
-
getError(): MCPError | undefined;
|
|
11546
|
-
setError(value?: MCPError): SingleMCPResponse;
|
|
11547
|
-
hasError(): boolean;
|
|
11548
|
-
clearError(): SingleMCPResponse;
|
|
11549
|
-
|
|
11550
|
-
getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
|
|
11551
|
-
setStatus(value?: proto_clarifai_api_status_status_pb.Status): SingleMCPResponse;
|
|
11552
|
-
hasStatus(): boolean;
|
|
11553
|
-
clearStatus(): SingleMCPResponse;
|
|
11554
|
-
|
|
11555
|
-
serializeBinary(): Uint8Array;
|
|
11556
|
-
toObject(includeInstance?: boolean): SingleMCPResponse.AsObject;
|
|
11557
|
-
static toObject(includeInstance: boolean, msg: SingleMCPResponse): SingleMCPResponse.AsObject;
|
|
11558
|
-
static serializeBinaryToWriter(message: SingleMCPResponse, writer: jspb.BinaryWriter): void;
|
|
11559
|
-
static deserializeBinary(bytes: Uint8Array): SingleMCPResponse;
|
|
11560
|
-
static deserializeBinaryFromReader(message: SingleMCPResponse, reader: jspb.BinaryReader): SingleMCPResponse;
|
|
11561
|
-
}
|
|
11562
|
-
|
|
11563
|
-
export namespace SingleMCPResponse {
|
|
11564
|
-
export type AsObject = {
|
|
11565
|
-
jsonrpc: string,
|
|
11566
|
-
id: number,
|
|
11567
|
-
result?: google_protobuf_struct_pb.Struct.AsObject,
|
|
11568
|
-
error?: MCPError.AsObject,
|
|
11569
|
-
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
11570
|
-
}
|
|
11571
|
-
}
|
|
11572
|
-
|
|
11573
11459
|
export enum OrganizationInvitationStatus {
|
|
11574
11460
|
NOT_SET = 0,
|
|
11575
11461
|
PENDING = 1,
|