clarifai-web-grpc 11.3.1 → 11.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 +567 -107
- package/dist/cjs/proto/clarifai/api/service_pb.js +183 -7
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +12 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +567 -107
- package/dist/esm/proto/clarifai/api/service_pb.js +183 -7
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +12 -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 +111 -28
- package/proto/clarifai/api/resources_pb.js +729 -118
- package/proto/clarifai/api/service_pb.d.ts +30 -0
- package/proto/clarifai/api/service_pb.js +238 -7
- package/proto/clarifai/api/status/status_code_pb.d.ts +12 -0
- package/proto/clarifai/api/status/status_code_pb.js +12 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +3 -0
- package/proto/clarifai/auth/scope/scope_pb.js +4 -1
|
@@ -2707,6 +2707,11 @@ export class Model extends jspb.Message {
|
|
|
2707
2707
|
getBillingType(): Model.BillingType;
|
|
2708
2708
|
setBillingType(value: Model.BillingType): Model;
|
|
2709
2709
|
|
|
2710
|
+
getFeaturedOrder(): google_protobuf_wrappers_pb.Int32Value | undefined;
|
|
2711
|
+
setFeaturedOrder(value?: google_protobuf_wrappers_pb.Int32Value): Model;
|
|
2712
|
+
hasFeaturedOrder(): boolean;
|
|
2713
|
+
clearFeaturedOrder(): Model;
|
|
2714
|
+
|
|
2710
2715
|
serializeBinary(): Uint8Array;
|
|
2711
2716
|
toObject(includeInstance?: boolean): Model.AsObject;
|
|
2712
2717
|
static toObject(includeInstance: boolean, msg: Model): Model.AsObject;
|
|
@@ -2749,6 +2754,7 @@ export namespace Model {
|
|
|
2749
2754
|
creator: string,
|
|
2750
2755
|
versionCount: number,
|
|
2751
2756
|
billingType: Model.BillingType,
|
|
2757
|
+
featuredOrder?: google_protobuf_wrappers_pb.Int32Value.AsObject,
|
|
2752
2758
|
}
|
|
2753
2759
|
|
|
2754
2760
|
export enum Source {
|
|
@@ -3285,6 +3291,9 @@ export class ModelTypeField extends jspb.Message {
|
|
|
3285
3291
|
getDefault(): string;
|
|
3286
3292
|
setDefault(value: string): ModelTypeField;
|
|
3287
3293
|
|
|
3294
|
+
getIsParam(): boolean;
|
|
3295
|
+
setIsParam(value: boolean): ModelTypeField;
|
|
3296
|
+
|
|
3288
3297
|
serializeBinary(): Uint8Array;
|
|
3289
3298
|
toObject(includeInstance?: boolean): ModelTypeField.AsObject;
|
|
3290
3299
|
static toObject(includeInstance: boolean, msg: ModelTypeField): ModelTypeField.AsObject;
|
|
@@ -3309,6 +3318,7 @@ export namespace ModelTypeField {
|
|
|
3309
3318
|
typeArgsList: Array<ModelTypeField.AsObject>,
|
|
3310
3319
|
iterator: boolean,
|
|
3311
3320
|
pb_default: string,
|
|
3321
|
+
isParam: boolean,
|
|
3312
3322
|
}
|
|
3313
3323
|
|
|
3314
3324
|
export enum ModelTypeFieldType {
|
|
@@ -3352,9 +3362,9 @@ export namespace ModelTypeField {
|
|
|
3352
3362
|
FRAME = 12,
|
|
3353
3363
|
AUDIO = 13,
|
|
3354
3364
|
VIDEO = 14,
|
|
3355
|
-
NAMED_FIELDS =
|
|
3356
|
-
TUPLE =
|
|
3357
|
-
LIST =
|
|
3365
|
+
NAMED_FIELDS = 15,
|
|
3366
|
+
TUPLE = 16,
|
|
3367
|
+
LIST = 17,
|
|
3358
3368
|
}
|
|
3359
3369
|
}
|
|
3360
3370
|
|
|
@@ -5552,6 +5562,9 @@ export class WorkflowVersion extends jspb.Message {
|
|
|
5552
5562
|
getLicense(): string;
|
|
5553
5563
|
setLicense(value: string): WorkflowVersion;
|
|
5554
5564
|
|
|
5565
|
+
getIsDeprecated(): boolean;
|
|
5566
|
+
setIsDeprecated(value: boolean): WorkflowVersion;
|
|
5567
|
+
|
|
5555
5568
|
serializeBinary(): Uint8Array;
|
|
5556
5569
|
toObject(includeInstance?: boolean): WorkflowVersion.AsObject;
|
|
5557
5570
|
static toObject(includeInstance: boolean, msg: WorkflowVersion): WorkflowVersion.AsObject;
|
|
@@ -5573,6 +5586,7 @@ export namespace WorkflowVersion {
|
|
|
5573
5586
|
userId: string,
|
|
5574
5587
|
description: string,
|
|
5575
5588
|
license: string,
|
|
5589
|
+
isDeprecated: boolean,
|
|
5576
5590
|
}
|
|
5577
5591
|
}
|
|
5578
5592
|
|
|
@@ -8553,6 +8567,19 @@ export class InstanceType extends jspb.Message {
|
|
|
8553
8567
|
getPrice(): string;
|
|
8554
8568
|
setPrice(value: string): InstanceType;
|
|
8555
8569
|
|
|
8570
|
+
getCloudProvider(): CloudProvider | undefined;
|
|
8571
|
+
setCloudProvider(value?: CloudProvider): InstanceType;
|
|
8572
|
+
hasCloudProvider(): boolean;
|
|
8573
|
+
clearCloudProvider(): InstanceType;
|
|
8574
|
+
|
|
8575
|
+
getRegion(): string;
|
|
8576
|
+
setRegion(value: string): InstanceType;
|
|
8577
|
+
|
|
8578
|
+
getAllowedCapacityTypes(): NodeCapacityType | undefined;
|
|
8579
|
+
setAllowedCapacityTypes(value?: NodeCapacityType): InstanceType;
|
|
8580
|
+
hasAllowedCapacityTypes(): boolean;
|
|
8581
|
+
clearAllowedCapacityTypes(): InstanceType;
|
|
8582
|
+
|
|
8556
8583
|
serializeBinary(): Uint8Array;
|
|
8557
8584
|
toObject(includeInstance?: boolean): InstanceType.AsObject;
|
|
8558
8585
|
static toObject(includeInstance: boolean, msg: InstanceType): InstanceType.AsObject;
|
|
@@ -8567,6 +8594,9 @@ export namespace InstanceType {
|
|
|
8567
8594
|
description: string,
|
|
8568
8595
|
computeInfo?: ComputeInfo.AsObject,
|
|
8569
8596
|
price: string,
|
|
8597
|
+
cloudProvider?: CloudProvider.AsObject,
|
|
8598
|
+
region: string,
|
|
8599
|
+
allowedCapacityTypes?: NodeCapacityType.AsObject,
|
|
8570
8600
|
}
|
|
8571
8601
|
}
|
|
8572
8602
|
|
|
@@ -8667,6 +8697,12 @@ export class ComputeInfo extends jspb.Message {
|
|
|
8667
8697
|
getCpuMemory(): string;
|
|
8668
8698
|
setCpuMemory(value: string): ComputeInfo;
|
|
8669
8699
|
|
|
8700
|
+
getCpuRequests(): string;
|
|
8701
|
+
setCpuRequests(value: string): ComputeInfo;
|
|
8702
|
+
|
|
8703
|
+
getCpuMemoryRequests(): string;
|
|
8704
|
+
setCpuMemoryRequests(value: string): ComputeInfo;
|
|
8705
|
+
|
|
8670
8706
|
getNumAccelerators(): number;
|
|
8671
8707
|
setNumAccelerators(value: number): ComputeInfo;
|
|
8672
8708
|
|
|
@@ -8690,6 +8726,8 @@ export namespace ComputeInfo {
|
|
|
8690
8726
|
export type AsObject = {
|
|
8691
8727
|
cpuLimit: string,
|
|
8692
8728
|
cpuMemory: string,
|
|
8729
|
+
cpuRequests: string,
|
|
8730
|
+
cpuMemoryRequests: string,
|
|
8693
8731
|
numAccelerators: number,
|
|
8694
8732
|
acceleratorMemory: string,
|
|
8695
8733
|
acceleratorTypeList: Array<string>,
|
|
@@ -8786,6 +8824,9 @@ export class Deployment extends jspb.Message {
|
|
|
8786
8824
|
hasModifiedAt(): boolean;
|
|
8787
8825
|
clearModifiedAt(): Deployment;
|
|
8788
8826
|
|
|
8827
|
+
getDeployLatestVersion(): boolean;
|
|
8828
|
+
setDeployLatestVersion(value: boolean): Deployment;
|
|
8829
|
+
|
|
8789
8830
|
serializeBinary(): Uint8Array;
|
|
8790
8831
|
toObject(includeInstance?: boolean): Deployment.AsObject;
|
|
8791
8832
|
static toObject(includeInstance: boolean, msg: Deployment): Deployment.AsObject;
|
|
@@ -8807,6 +8848,7 @@ export namespace Deployment {
|
|
|
8807
8848
|
worker?: Worker.AsObject,
|
|
8808
8849
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8809
8850
|
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8851
|
+
deployLatestVersion: boolean,
|
|
8810
8852
|
}
|
|
8811
8853
|
|
|
8812
8854
|
export enum SchedulingChoice {
|
|
@@ -8933,6 +8975,21 @@ export class AuditLogTarget extends jspb.Message {
|
|
|
8933
8975
|
hasModelVersion(): boolean;
|
|
8934
8976
|
clearModelVersion(): AuditLogTarget;
|
|
8935
8977
|
|
|
8978
|
+
getComputeCluster(): ComputeCluster | undefined;
|
|
8979
|
+
setComputeCluster(value?: ComputeCluster): AuditLogTarget;
|
|
8980
|
+
hasComputeCluster(): boolean;
|
|
8981
|
+
clearComputeCluster(): AuditLogTarget;
|
|
8982
|
+
|
|
8983
|
+
getNodepool(): Nodepool | undefined;
|
|
8984
|
+
setNodepool(value?: Nodepool): AuditLogTarget;
|
|
8985
|
+
hasNodepool(): boolean;
|
|
8986
|
+
clearNodepool(): AuditLogTarget;
|
|
8987
|
+
|
|
8988
|
+
getDeployment(): Deployment | undefined;
|
|
8989
|
+
setDeployment(value?: Deployment): AuditLogTarget;
|
|
8990
|
+
hasDeployment(): boolean;
|
|
8991
|
+
clearDeployment(): AuditLogTarget;
|
|
8992
|
+
|
|
8936
8993
|
getTargetCase(): AuditLogTarget.TargetCase;
|
|
8937
8994
|
|
|
8938
8995
|
serializeBinary(): Uint8Array;
|
|
@@ -8955,6 +9012,9 @@ export namespace AuditLogTarget {
|
|
|
8955
9012
|
workflowVersion?: WorkflowVersion.AsObject,
|
|
8956
9013
|
model?: Model.AsObject,
|
|
8957
9014
|
modelVersion?: ModelVersion.AsObject,
|
|
9015
|
+
computeCluster?: ComputeCluster.AsObject,
|
|
9016
|
+
nodepool?: Nodepool.AsObject,
|
|
9017
|
+
deployment?: Deployment.AsObject,
|
|
8958
9018
|
}
|
|
8959
9019
|
|
|
8960
9020
|
export enum TargetCase {
|
|
@@ -8969,6 +9029,9 @@ export namespace AuditLogTarget {
|
|
|
8969
9029
|
WORKFLOW_VERSION = 8,
|
|
8970
9030
|
MODEL = 9,
|
|
8971
9031
|
MODEL_VERSION = 10,
|
|
9032
|
+
COMPUTE_CLUSTER = 11,
|
|
9033
|
+
NODEPOOL = 12,
|
|
9034
|
+
DEPLOYMENT = 13,
|
|
8972
9035
|
}
|
|
8973
9036
|
}
|
|
8974
9037
|
|
|
@@ -9376,6 +9439,12 @@ export class ComputeSourceMetadata extends jspb.Message {
|
|
|
9376
9439
|
getPipelineVersionRunId(): string;
|
|
9377
9440
|
setPipelineVersionRunId(value: string): ComputeSourceMetadata;
|
|
9378
9441
|
|
|
9442
|
+
getPipelineStepId(): string;
|
|
9443
|
+
setPipelineStepId(value: string): ComputeSourceMetadata;
|
|
9444
|
+
|
|
9445
|
+
getPipelineStepVersionId(): string;
|
|
9446
|
+
setPipelineStepVersionId(value: string): ComputeSourceMetadata;
|
|
9447
|
+
|
|
9379
9448
|
serializeBinary(): Uint8Array;
|
|
9380
9449
|
toObject(includeInstance?: boolean): ComputeSourceMetadata.AsObject;
|
|
9381
9450
|
static toObject(includeInstance: boolean, msg: ComputeSourceMetadata): ComputeSourceMetadata.AsObject;
|
|
@@ -9396,6 +9465,8 @@ export namespace ComputeSourceMetadata {
|
|
|
9396
9465
|
pipelineId: string,
|
|
9397
9466
|
pipelineVersionId: string,
|
|
9398
9467
|
pipelineVersionRunId: string,
|
|
9468
|
+
pipelineStepId: string,
|
|
9469
|
+
pipelineStepVersionId: string,
|
|
9399
9470
|
}
|
|
9400
9471
|
}
|
|
9401
9472
|
|
|
@@ -9403,26 +9474,34 @@ export class WorkflowVersionEvaluation extends jspb.Message {
|
|
|
9403
9474
|
getId(): string;
|
|
9404
9475
|
setId(value: string): WorkflowVersionEvaluation;
|
|
9405
9476
|
|
|
9406
|
-
|
|
9407
|
-
|
|
9477
|
+
getWorkflowVersion(): WorkflowVersion | undefined;
|
|
9478
|
+
setWorkflowVersion(value?: WorkflowVersion): WorkflowVersionEvaluation;
|
|
9479
|
+
hasWorkflowVersion(): boolean;
|
|
9480
|
+
clearWorkflowVersion(): WorkflowVersionEvaluation;
|
|
9408
9481
|
|
|
9409
|
-
|
|
9410
|
-
|
|
9482
|
+
getTargetNodeId(): string;
|
|
9483
|
+
setTargetNodeId(value: string): WorkflowVersionEvaluation;
|
|
9411
9484
|
|
|
9412
|
-
|
|
9413
|
-
|
|
9485
|
+
getGroundTruthDatasetVersion(): DatasetVersion | undefined;
|
|
9486
|
+
setGroundTruthDatasetVersion(value?: DatasetVersion): WorkflowVersionEvaluation;
|
|
9487
|
+
hasGroundTruthDatasetVersion(): boolean;
|
|
9488
|
+
clearGroundTruthDatasetVersion(): WorkflowVersionEvaluation;
|
|
9414
9489
|
|
|
9415
|
-
|
|
9416
|
-
|
|
9490
|
+
getPredictionsDatasetVersion(): DatasetVersion | undefined;
|
|
9491
|
+
setPredictionsDatasetVersion(value?: DatasetVersion): WorkflowVersionEvaluation;
|
|
9492
|
+
hasPredictionsDatasetVersion(): boolean;
|
|
9493
|
+
clearPredictionsDatasetVersion(): WorkflowVersionEvaluation;
|
|
9417
9494
|
|
|
9418
|
-
|
|
9419
|
-
|
|
9495
|
+
getWorkflowVersionEvaluationTemplate(): WorkflowVersionEvaluationTemplate | undefined;
|
|
9496
|
+
setWorkflowVersionEvaluationTemplate(value?: WorkflowVersionEvaluationTemplate): WorkflowVersionEvaluation;
|
|
9497
|
+
hasWorkflowVersionEvaluationTemplate(): boolean;
|
|
9498
|
+
clearWorkflowVersionEvaluationTemplate(): WorkflowVersionEvaluation;
|
|
9420
9499
|
|
|
9421
|
-
|
|
9422
|
-
|
|
9500
|
+
getUserId(): string;
|
|
9501
|
+
setUserId(value: string): WorkflowVersionEvaluation;
|
|
9423
9502
|
|
|
9424
|
-
|
|
9425
|
-
|
|
9503
|
+
getAppId(): string;
|
|
9504
|
+
setAppId(value: string): WorkflowVersionEvaluation;
|
|
9426
9505
|
|
|
9427
9506
|
getWorkflowEvaluationResult(): WorkflowEvaluationResult | undefined;
|
|
9428
9507
|
setWorkflowEvaluationResult(value?: WorkflowEvaluationResult): WorkflowVersionEvaluation;
|
|
@@ -9444,9 +9523,6 @@ export class WorkflowVersionEvaluation extends jspb.Message {
|
|
|
9444
9523
|
hasModifiedAt(): boolean;
|
|
9445
9524
|
clearModifiedAt(): WorkflowVersionEvaluation;
|
|
9446
9525
|
|
|
9447
|
-
getTargetNodeId(): string;
|
|
9448
|
-
setTargetNodeId(value: string): WorkflowVersionEvaluation;
|
|
9449
|
-
|
|
9450
9526
|
serializeBinary(): Uint8Array;
|
|
9451
9527
|
toObject(includeInstance?: boolean): WorkflowVersionEvaluation.AsObject;
|
|
9452
9528
|
static toObject(includeInstance: boolean, msg: WorkflowVersionEvaluation): WorkflowVersionEvaluation.AsObject;
|
|
@@ -9458,18 +9534,17 @@ export class WorkflowVersionEvaluation extends jspb.Message {
|
|
|
9458
9534
|
export namespace WorkflowVersionEvaluation {
|
|
9459
9535
|
export type AsObject = {
|
|
9460
9536
|
id: string,
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9537
|
+
workflowVersion?: WorkflowVersion.AsObject,
|
|
9538
|
+
targetNodeId: string,
|
|
9539
|
+
groundTruthDatasetVersion?: DatasetVersion.AsObject,
|
|
9540
|
+
predictionsDatasetVersion?: DatasetVersion.AsObject,
|
|
9541
|
+
workflowVersionEvaluationTemplate?: WorkflowVersionEvaluationTemplate.AsObject,
|
|
9542
|
+
userId: string,
|
|
9543
|
+
appId: string,
|
|
9468
9544
|
workflowEvaluationResult?: WorkflowEvaluationResult.AsObject,
|
|
9469
9545
|
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
9470
9546
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
9471
9547
|
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
9472
|
-
targetNodeId: string,
|
|
9473
9548
|
}
|
|
9474
9549
|
}
|
|
9475
9550
|
|
|
@@ -9957,4 +10032,12 @@ export enum EventType {
|
|
|
9957
10032
|
COLLABORATOR_UPDATE = 701,
|
|
9958
10033
|
COLLABORATOR_REMOVE = 702,
|
|
9959
10034
|
USER_UPDATE = 800,
|
|
10035
|
+
COMPUTE_CLUSTER_CREATE = 900,
|
|
10036
|
+
COMPUTE_CLUSTER_DELETE = 901,
|
|
10037
|
+
NODEPOOL_CREATE = 1000,
|
|
10038
|
+
NODEPOOL_UPDATE = 1001,
|
|
10039
|
+
NODEPOOL_DELETE = 1002,
|
|
10040
|
+
DEPLOYMENT_CREATE = 1100,
|
|
10041
|
+
DEPLOYMENT_UPDATE = 1101,
|
|
10042
|
+
DEPLOYMENT_DELETE = 1102,
|
|
9960
10043
|
}
|