clarifai-web-grpc 10.3.3 → 10.4.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 +1181 -121
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +210 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +1341 -1
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +6 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +1181 -121
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +210 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +1341 -1
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +6 -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 +191 -36
- package/proto/clarifai/api/resources_pb.js +1461 -126
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +60 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +305 -0
- package/proto/clarifai/api/service_pb.d.ts +190 -0
- package/proto/clarifai/api/service_pb.js +1649 -1
- package/proto/clarifai/api/status/status_code_pb.d.ts +6 -0
- package/proto/clarifai/api/status/status_code_pb.js +6 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +3 -0
- package/proto/clarifai/auth/scope/scope_pb.js +4 -1
|
@@ -55,6 +55,9 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
55
55
|
MODEL_UPLOADING: 21104,
|
|
56
56
|
MODEL_UPLOADING_FAILED: 21105,
|
|
57
57
|
MODEL_TRAINING_FAILED: 21106,
|
|
58
|
+
MODEL_BUILDING: 21107,
|
|
59
|
+
MODEL_BUILDING_FAILED: 21108,
|
|
60
|
+
MODEL_BUILD_UNEXPECTED_ERROR: 21109,
|
|
58
61
|
MODEL_TRAINING_NO_DATA: 21110,
|
|
59
62
|
MODEL_TRAINING_NO_POSITIVES: 21111,
|
|
60
63
|
MODEL_TRAINING_ONE_VS_N_SINGLE_CLASS: 21112,
|
|
@@ -169,6 +172,9 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
169
172
|
RUNNER_STREAM_END: 25606,
|
|
170
173
|
RUNNER_ITEM_CANCELLED: 25607,
|
|
171
174
|
RUNNER_PROCESSING_FAILED: 25608,
|
|
175
|
+
NODEPOOL_DOES_NOT_EXIST: 25700,
|
|
176
|
+
NODEPOOL_INVALID_ARGUMENT: 25701,
|
|
177
|
+
NODEPOOL_INVALID_REQUEST: 25702,
|
|
172
178
|
INPUT_DOWNLOAD_SUCCESS: 30000,
|
|
173
179
|
INPUT_DOWNLOAD_PENDING: 30001,
|
|
174
180
|
INPUT_DOWNLOAD_FAILED: 30002,
|
|
@@ -307,7 +307,10 @@ proto.clarifai.auth.scope.S = {
|
|
|
307
307
|
RUNNERS_ADD: 132,
|
|
308
308
|
RUNNERS_DELETE: 133,
|
|
309
309
|
RUNNERITEMS_GET: 134,
|
|
310
|
-
RUNNERITEMS_ADD: 135
|
|
310
|
+
RUNNERITEMS_ADD: 135,
|
|
311
|
+
NODEPOOLS_GET: 136,
|
|
312
|
+
NODEPOOLS_ADD: 137,
|
|
313
|
+
NODEPOOLS_DELETE: 138
|
|
311
314
|
};
|
|
312
315
|
/**
|
|
313
316
|
* A tuple of {field number, class constructor} for the extension
|
package/package.json
CHANGED
|
@@ -914,6 +914,18 @@ export class ConceptQuery extends jspb.Message {
|
|
|
914
914
|
clearUseCasesList(): ConceptQuery;
|
|
915
915
|
addUseCases(value: WorkflowModelUseCase, index?: number): ConceptQuery;
|
|
916
916
|
|
|
917
|
+
getModel(): Model | undefined;
|
|
918
|
+
setModel(value?: Model): ConceptQuery;
|
|
919
|
+
hasModel(): boolean;
|
|
920
|
+
clearModel(): ConceptQuery;
|
|
921
|
+
|
|
922
|
+
getWorkflow(): Workflow | undefined;
|
|
923
|
+
setWorkflow(value?: Workflow): ConceptQuery;
|
|
924
|
+
hasWorkflow(): boolean;
|
|
925
|
+
clearWorkflow(): ConceptQuery;
|
|
926
|
+
|
|
927
|
+
getSourceCase(): ConceptQuery.SourceCase;
|
|
928
|
+
|
|
917
929
|
serializeBinary(): Uint8Array;
|
|
918
930
|
toObject(includeInstance?: boolean): ConceptQuery.AsObject;
|
|
919
931
|
static toObject(includeInstance: boolean, msg: ConceptQuery): ConceptQuery.AsObject;
|
|
@@ -928,6 +940,14 @@ export namespace ConceptQuery {
|
|
|
928
940
|
language: string,
|
|
929
941
|
workflowId: string,
|
|
930
942
|
useCasesList: Array<WorkflowModelUseCase>,
|
|
943
|
+
model?: Model.AsObject,
|
|
944
|
+
workflow?: Workflow.AsObject,
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
export enum SourceCase {
|
|
948
|
+
SOURCE_NOT_SET = 0,
|
|
949
|
+
MODEL = 5,
|
|
950
|
+
WORKFLOW = 6,
|
|
931
951
|
}
|
|
932
952
|
}
|
|
933
953
|
|
|
@@ -6185,6 +6205,11 @@ export class TaskMetrics extends jspb.Message {
|
|
|
6185
6205
|
hasWork(): boolean;
|
|
6186
6206
|
clearWork(): TaskMetrics;
|
|
6187
6207
|
|
|
6208
|
+
getReview(): TaskReviewMetrics | undefined;
|
|
6209
|
+
setReview(value?: TaskReviewMetrics): TaskMetrics;
|
|
6210
|
+
hasReview(): boolean;
|
|
6211
|
+
clearReview(): TaskMetrics;
|
|
6212
|
+
|
|
6188
6213
|
serializeBinary(): Uint8Array;
|
|
6189
6214
|
toObject(includeInstance?: boolean): TaskMetrics.AsObject;
|
|
6190
6215
|
static toObject(includeInstance: boolean, msg: TaskMetrics): TaskMetrics.AsObject;
|
|
@@ -6196,6 +6221,7 @@ export class TaskMetrics extends jspb.Message {
|
|
|
6196
6221
|
export namespace TaskMetrics {
|
|
6197
6222
|
export type AsObject = {
|
|
6198
6223
|
work?: TaskWorkMetrics.AsObject,
|
|
6224
|
+
review?: TaskReviewMetrics.AsObject,
|
|
6199
6225
|
}
|
|
6200
6226
|
}
|
|
6201
6227
|
|
|
@@ -6221,6 +6247,28 @@ export namespace TaskWorkMetrics {
|
|
|
6221
6247
|
}
|
|
6222
6248
|
}
|
|
6223
6249
|
|
|
6250
|
+
export class TaskReviewMetrics extends jspb.Message {
|
|
6251
|
+
getInputsCountEstimated(): number;
|
|
6252
|
+
setInputsCountEstimated(value: number): TaskReviewMetrics;
|
|
6253
|
+
|
|
6254
|
+
getInputsPercentEstimated(): number;
|
|
6255
|
+
setInputsPercentEstimated(value: number): TaskReviewMetrics;
|
|
6256
|
+
|
|
6257
|
+
serializeBinary(): Uint8Array;
|
|
6258
|
+
toObject(includeInstance?: boolean): TaskReviewMetrics.AsObject;
|
|
6259
|
+
static toObject(includeInstance: boolean, msg: TaskReviewMetrics): TaskReviewMetrics.AsObject;
|
|
6260
|
+
static serializeBinaryToWriter(message: TaskReviewMetrics, writer: jspb.BinaryWriter): void;
|
|
6261
|
+
static deserializeBinary(bytes: Uint8Array): TaskReviewMetrics;
|
|
6262
|
+
static deserializeBinaryFromReader(message: TaskReviewMetrics, reader: jspb.BinaryReader): TaskReviewMetrics;
|
|
6263
|
+
}
|
|
6264
|
+
|
|
6265
|
+
export namespace TaskReviewMetrics {
|
|
6266
|
+
export type AsObject = {
|
|
6267
|
+
inputsCountEstimated: number,
|
|
6268
|
+
inputsPercentEstimated: number,
|
|
6269
|
+
}
|
|
6270
|
+
}
|
|
6271
|
+
|
|
6224
6272
|
export class Collector extends jspb.Message {
|
|
6225
6273
|
getId(): string;
|
|
6226
6274
|
setId(value: string): Collector;
|
|
@@ -7991,23 +8039,36 @@ export class Nodepool extends jspb.Message {
|
|
|
7991
8039
|
getId(): string;
|
|
7992
8040
|
setId(value: string): Nodepool;
|
|
7993
8041
|
|
|
8042
|
+
getDescription(): string;
|
|
8043
|
+
setDescription(value: string): Nodepool;
|
|
8044
|
+
|
|
8045
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
8046
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Nodepool;
|
|
8047
|
+
hasCreatedAt(): boolean;
|
|
8048
|
+
clearCreatedAt(): Nodepool;
|
|
8049
|
+
|
|
8050
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
8051
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Nodepool;
|
|
8052
|
+
hasModifiedAt(): boolean;
|
|
8053
|
+
clearModifiedAt(): Nodepool;
|
|
8054
|
+
|
|
7994
8055
|
getUserId(): string;
|
|
7995
8056
|
setUserId(value: string): Nodepool;
|
|
7996
8057
|
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
|
|
8058
|
+
getComputeCluster(): ComputeCluster | undefined;
|
|
8059
|
+
setComputeCluster(value?: ComputeCluster): Nodepool;
|
|
8060
|
+
hasComputeCluster(): boolean;
|
|
8061
|
+
clearComputeCluster(): Nodepool;
|
|
8001
8062
|
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
|
|
8063
|
+
getNodeCapacityType(): NodeCapacityType | undefined;
|
|
8064
|
+
setNodeCapacityType(value?: NodeCapacityType): Nodepool;
|
|
8065
|
+
hasNodeCapacityType(): boolean;
|
|
8066
|
+
clearNodeCapacityType(): Nodepool;
|
|
8006
8067
|
|
|
8007
|
-
getInstanceTypesList(): Array<
|
|
8008
|
-
setInstanceTypesList(value: Array<
|
|
8068
|
+
getInstanceTypesList(): Array<InstanceType>;
|
|
8069
|
+
setInstanceTypesList(value: Array<InstanceType>): Nodepool;
|
|
8009
8070
|
clearInstanceTypesList(): Nodepool;
|
|
8010
|
-
addInstanceTypes(value
|
|
8071
|
+
addInstanceTypes(value?: InstanceType, index?: number): InstanceType;
|
|
8011
8072
|
|
|
8012
8073
|
getMinInstances(): number;
|
|
8013
8074
|
setMinInstances(value: number): Nodepool;
|
|
@@ -8015,6 +8076,16 @@ export class Nodepool extends jspb.Message {
|
|
|
8015
8076
|
getMaxInstances(): number;
|
|
8016
8077
|
setMaxInstances(value: number): Nodepool;
|
|
8017
8078
|
|
|
8079
|
+
getVisibility(): Visibility | undefined;
|
|
8080
|
+
setVisibility(value?: Visibility): Nodepool;
|
|
8081
|
+
hasVisibility(): boolean;
|
|
8082
|
+
clearVisibility(): Nodepool;
|
|
8083
|
+
|
|
8084
|
+
getMetadata(): google_protobuf_struct_pb.Struct | undefined;
|
|
8085
|
+
setMetadata(value?: google_protobuf_struct_pb.Struct): Nodepool;
|
|
8086
|
+
hasMetadata(): boolean;
|
|
8087
|
+
clearMetadata(): Nodepool;
|
|
8088
|
+
|
|
8018
8089
|
serializeBinary(): Uint8Array;
|
|
8019
8090
|
toObject(includeInstance?: boolean): Nodepool.AsObject;
|
|
8020
8091
|
static toObject(includeInstance: boolean, msg: Nodepool): Nodepool.AsObject;
|
|
@@ -8026,53 +8097,125 @@ export class Nodepool extends jspb.Message {
|
|
|
8026
8097
|
export namespace Nodepool {
|
|
8027
8098
|
export type AsObject = {
|
|
8028
8099
|
id: string,
|
|
8100
|
+
description: string,
|
|
8101
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8102
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8029
8103
|
userId: string,
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
instanceTypesList: Array<
|
|
8104
|
+
computeCluster?: ComputeCluster.AsObject,
|
|
8105
|
+
nodeCapacityType?: NodeCapacityType.AsObject,
|
|
8106
|
+
instanceTypesList: Array<InstanceType.AsObject>,
|
|
8033
8107
|
minInstances: number,
|
|
8034
8108
|
maxInstances: number,
|
|
8109
|
+
visibility?: Visibility.AsObject,
|
|
8110
|
+
metadata?: google_protobuf_struct_pb.Struct.AsObject,
|
|
8111
|
+
}
|
|
8112
|
+
}
|
|
8113
|
+
|
|
8114
|
+
export class NodeCapacityType extends jspb.Message {
|
|
8115
|
+
getCapacityTypesList(): Array<NodeCapacityType.CapacityType>;
|
|
8116
|
+
setCapacityTypesList(value: Array<NodeCapacityType.CapacityType>): NodeCapacityType;
|
|
8117
|
+
clearCapacityTypesList(): NodeCapacityType;
|
|
8118
|
+
addCapacityTypes(value: NodeCapacityType.CapacityType, index?: number): NodeCapacityType;
|
|
8119
|
+
|
|
8120
|
+
serializeBinary(): Uint8Array;
|
|
8121
|
+
toObject(includeInstance?: boolean): NodeCapacityType.AsObject;
|
|
8122
|
+
static toObject(includeInstance: boolean, msg: NodeCapacityType): NodeCapacityType.AsObject;
|
|
8123
|
+
static serializeBinaryToWriter(message: NodeCapacityType, writer: jspb.BinaryWriter): void;
|
|
8124
|
+
static deserializeBinary(bytes: Uint8Array): NodeCapacityType;
|
|
8125
|
+
static deserializeBinaryFromReader(message: NodeCapacityType, reader: jspb.BinaryReader): NodeCapacityType;
|
|
8126
|
+
}
|
|
8127
|
+
|
|
8128
|
+
export namespace NodeCapacityType {
|
|
8129
|
+
export type AsObject = {
|
|
8130
|
+
capacityTypesList: Array<NodeCapacityType.CapacityType>,
|
|
8035
8131
|
}
|
|
8036
8132
|
|
|
8037
8133
|
export enum CapacityType {
|
|
8038
8134
|
UKNOWN_CAPACITY_TYPE = 0,
|
|
8039
|
-
|
|
8135
|
+
ON_DEMAND_TYPE = 1,
|
|
8040
8136
|
SPOT_TYPE = 2,
|
|
8041
8137
|
}
|
|
8042
8138
|
}
|
|
8043
8139
|
|
|
8044
|
-
export class
|
|
8140
|
+
export class InstanceType extends jspb.Message {
|
|
8045
8141
|
getId(): string;
|
|
8046
|
-
setId(value: string):
|
|
8142
|
+
setId(value: string): InstanceType;
|
|
8047
8143
|
|
|
8048
|
-
|
|
8049
|
-
|
|
8144
|
+
getDescription(): string;
|
|
8145
|
+
setDescription(value: string): InstanceType;
|
|
8050
8146
|
|
|
8051
|
-
|
|
8052
|
-
|
|
8147
|
+
getComputeInfo(): ComputeInfo | undefined;
|
|
8148
|
+
setComputeInfo(value?: ComputeInfo): InstanceType;
|
|
8149
|
+
hasComputeInfo(): boolean;
|
|
8150
|
+
clearComputeInfo(): InstanceType;
|
|
8053
8151
|
|
|
8054
8152
|
serializeBinary(): Uint8Array;
|
|
8055
|
-
toObject(includeInstance?: boolean):
|
|
8056
|
-
static toObject(includeInstance: boolean, msg:
|
|
8057
|
-
static serializeBinaryToWriter(message:
|
|
8058
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
8059
|
-
static deserializeBinaryFromReader(message:
|
|
8153
|
+
toObject(includeInstance?: boolean): InstanceType.AsObject;
|
|
8154
|
+
static toObject(includeInstance: boolean, msg: InstanceType): InstanceType.AsObject;
|
|
8155
|
+
static serializeBinaryToWriter(message: InstanceType, writer: jspb.BinaryWriter): void;
|
|
8156
|
+
static deserializeBinary(bytes: Uint8Array): InstanceType;
|
|
8157
|
+
static deserializeBinaryFromReader(message: InstanceType, reader: jspb.BinaryReader): InstanceType;
|
|
8060
8158
|
}
|
|
8061
8159
|
|
|
8062
|
-
export namespace
|
|
8160
|
+
export namespace InstanceType {
|
|
8063
8161
|
export type AsObject = {
|
|
8064
8162
|
id: string,
|
|
8065
|
-
|
|
8066
|
-
|
|
8163
|
+
description: string,
|
|
8164
|
+
computeInfo?: ComputeInfo.AsObject,
|
|
8067
8165
|
}
|
|
8166
|
+
}
|
|
8167
|
+
|
|
8168
|
+
export class CloudProvider extends jspb.Message {
|
|
8169
|
+
getId(): string;
|
|
8170
|
+
setId(value: string): CloudProvider;
|
|
8171
|
+
|
|
8172
|
+
getName(): string;
|
|
8173
|
+
setName(value: string): CloudProvider;
|
|
8174
|
+
|
|
8175
|
+
serializeBinary(): Uint8Array;
|
|
8176
|
+
toObject(includeInstance?: boolean): CloudProvider.AsObject;
|
|
8177
|
+
static toObject(includeInstance: boolean, msg: CloudProvider): CloudProvider.AsObject;
|
|
8178
|
+
static serializeBinaryToWriter(message: CloudProvider, writer: jspb.BinaryWriter): void;
|
|
8179
|
+
static deserializeBinary(bytes: Uint8Array): CloudProvider;
|
|
8180
|
+
static deserializeBinaryFromReader(message: CloudProvider, reader: jspb.BinaryReader): CloudProvider;
|
|
8181
|
+
}
|
|
8068
8182
|
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8183
|
+
export namespace CloudProvider {
|
|
8184
|
+
export type AsObject = {
|
|
8185
|
+
id: string,
|
|
8186
|
+
name: string,
|
|
8187
|
+
}
|
|
8188
|
+
}
|
|
8189
|
+
|
|
8190
|
+
export class ComputeCluster extends jspb.Message {
|
|
8191
|
+
getId(): string;
|
|
8192
|
+
setId(value: string): ComputeCluster;
|
|
8193
|
+
|
|
8194
|
+
getDescription(): string;
|
|
8195
|
+
setDescription(value: string): ComputeCluster;
|
|
8196
|
+
|
|
8197
|
+
getCloudProvider(): CloudProvider | undefined;
|
|
8198
|
+
setCloudProvider(value?: CloudProvider): ComputeCluster;
|
|
8199
|
+
hasCloudProvider(): boolean;
|
|
8200
|
+
clearCloudProvider(): ComputeCluster;
|
|
8201
|
+
|
|
8202
|
+
getRegion(): string;
|
|
8203
|
+
setRegion(value: string): ComputeCluster;
|
|
8204
|
+
|
|
8205
|
+
serializeBinary(): Uint8Array;
|
|
8206
|
+
toObject(includeInstance?: boolean): ComputeCluster.AsObject;
|
|
8207
|
+
static toObject(includeInstance: boolean, msg: ComputeCluster): ComputeCluster.AsObject;
|
|
8208
|
+
static serializeBinaryToWriter(message: ComputeCluster, writer: jspb.BinaryWriter): void;
|
|
8209
|
+
static deserializeBinary(bytes: Uint8Array): ComputeCluster;
|
|
8210
|
+
static deserializeBinaryFromReader(message: ComputeCluster, reader: jspb.BinaryReader): ComputeCluster;
|
|
8211
|
+
}
|
|
8212
|
+
|
|
8213
|
+
export namespace ComputeCluster {
|
|
8214
|
+
export type AsObject = {
|
|
8215
|
+
id: string,
|
|
8216
|
+
description: string,
|
|
8217
|
+
cloudProvider?: CloudProvider.AsObject,
|
|
8218
|
+
region: string,
|
|
8076
8219
|
}
|
|
8077
8220
|
}
|
|
8078
8221
|
|
|
@@ -8180,6 +8323,16 @@ export class Deployment extends jspb.Message {
|
|
|
8180
8323
|
getSchedulingChoice(): Deployment.SchedulingChoice;
|
|
8181
8324
|
setSchedulingChoice(value: Deployment.SchedulingChoice): Deployment;
|
|
8182
8325
|
|
|
8326
|
+
getVisibility(): Visibility | undefined;
|
|
8327
|
+
setVisibility(value?: Visibility): Deployment;
|
|
8328
|
+
hasVisibility(): boolean;
|
|
8329
|
+
clearVisibility(): Deployment;
|
|
8330
|
+
|
|
8331
|
+
getMetadata(): google_protobuf_struct_pb.Struct | undefined;
|
|
8332
|
+
setMetadata(value?: google_protobuf_struct_pb.Struct): Deployment;
|
|
8333
|
+
hasMetadata(): boolean;
|
|
8334
|
+
clearMetadata(): Deployment;
|
|
8335
|
+
|
|
8183
8336
|
getObjectCase(): Deployment.ObjectCase;
|
|
8184
8337
|
|
|
8185
8338
|
serializeBinary(): Uint8Array;
|
|
@@ -8199,6 +8352,8 @@ export namespace Deployment {
|
|
|
8199
8352
|
model?: Model.AsObject,
|
|
8200
8353
|
workflow?: Workflow.AsObject,
|
|
8201
8354
|
schedulingChoice: Deployment.SchedulingChoice,
|
|
8355
|
+
visibility?: Visibility.AsObject,
|
|
8356
|
+
metadata?: google_protobuf_struct_pb.Struct.AsObject,
|
|
8202
8357
|
}
|
|
8203
8358
|
|
|
8204
8359
|
export enum SchedulingChoice {
|