clarifai-web-grpc 11.0.0 → 11.0.2
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 +89 -1808
- package/dist/esm/proto/clarifai/api/resources_pb.js +89 -1808
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +21 -276
- package/proto/clarifai/api/resources_pb.js +115 -2260
package/package.json
CHANGED
|
@@ -8758,6 +8758,16 @@ export class AuditLogTarget extends jspb.Message {
|
|
|
8758
8758
|
hasWorkflowVersion(): boolean;
|
|
8759
8759
|
clearWorkflowVersion(): AuditLogTarget;
|
|
8760
8760
|
|
|
8761
|
+
getModel(): Model | undefined;
|
|
8762
|
+
setModel(value?: Model): AuditLogTarget;
|
|
8763
|
+
hasModel(): boolean;
|
|
8764
|
+
clearModel(): AuditLogTarget;
|
|
8765
|
+
|
|
8766
|
+
getModelVersion(): ModelVersion | undefined;
|
|
8767
|
+
setModelVersion(value?: ModelVersion): AuditLogTarget;
|
|
8768
|
+
hasModelVersion(): boolean;
|
|
8769
|
+
clearModelVersion(): AuditLogTarget;
|
|
8770
|
+
|
|
8761
8771
|
getTargetCase(): AuditLogTarget.TargetCase;
|
|
8762
8772
|
|
|
8763
8773
|
serializeBinary(): Uint8Array;
|
|
@@ -8778,6 +8788,8 @@ export namespace AuditLogTarget {
|
|
|
8778
8788
|
moduleVersion?: ModuleVersion.AsObject,
|
|
8779
8789
|
workflow?: Workflow.AsObject,
|
|
8780
8790
|
workflowVersion?: WorkflowVersion.AsObject,
|
|
8791
|
+
model?: Model.AsObject,
|
|
8792
|
+
modelVersion?: ModelVersion.AsObject,
|
|
8781
8793
|
}
|
|
8782
8794
|
|
|
8783
8795
|
export enum TargetCase {
|
|
@@ -8790,6 +8802,8 @@ export namespace AuditLogTarget {
|
|
|
8790
8802
|
MODULE_VERSION = 6,
|
|
8791
8803
|
WORKFLOW = 7,
|
|
8792
8804
|
WORKFLOW_VERSION = 8,
|
|
8805
|
+
MODEL = 9,
|
|
8806
|
+
MODEL_VERSION = 10,
|
|
8793
8807
|
}
|
|
8794
8808
|
}
|
|
8795
8809
|
|
|
@@ -9068,282 +9082,6 @@ export namespace ComputeSourceMetadata {
|
|
|
9068
9082
|
}
|
|
9069
9083
|
}
|
|
9070
9084
|
|
|
9071
|
-
export class ArgoOrchestrationSpec extends jspb.Message {
|
|
9072
|
-
getId(): string;
|
|
9073
|
-
setId(value: string): ArgoOrchestrationSpec;
|
|
9074
|
-
|
|
9075
|
-
getApiVersion(): string;
|
|
9076
|
-
setApiVersion(value: string): ArgoOrchestrationSpec;
|
|
9077
|
-
|
|
9078
|
-
getSpecJson(): string;
|
|
9079
|
-
setSpecJson(value: string): ArgoOrchestrationSpec;
|
|
9080
|
-
|
|
9081
|
-
serializeBinary(): Uint8Array;
|
|
9082
|
-
toObject(includeInstance?: boolean): ArgoOrchestrationSpec.AsObject;
|
|
9083
|
-
static toObject(includeInstance: boolean, msg: ArgoOrchestrationSpec): ArgoOrchestrationSpec.AsObject;
|
|
9084
|
-
static serializeBinaryToWriter(message: ArgoOrchestrationSpec, writer: jspb.BinaryWriter): void;
|
|
9085
|
-
static deserializeBinary(bytes: Uint8Array): ArgoOrchestrationSpec;
|
|
9086
|
-
static deserializeBinaryFromReader(message: ArgoOrchestrationSpec, reader: jspb.BinaryReader): ArgoOrchestrationSpec;
|
|
9087
|
-
}
|
|
9088
|
-
|
|
9089
|
-
export namespace ArgoOrchestrationSpec {
|
|
9090
|
-
export type AsObject = {
|
|
9091
|
-
id: string,
|
|
9092
|
-
apiVersion: string,
|
|
9093
|
-
specJson: string,
|
|
9094
|
-
}
|
|
9095
|
-
}
|
|
9096
|
-
|
|
9097
|
-
export class OrchestrationSpec extends jspb.Message {
|
|
9098
|
-
getArgoOrchestrationSpec(): ArgoOrchestrationSpec | undefined;
|
|
9099
|
-
setArgoOrchestrationSpec(value?: ArgoOrchestrationSpec): OrchestrationSpec;
|
|
9100
|
-
hasArgoOrchestrationSpec(): boolean;
|
|
9101
|
-
clearArgoOrchestrationSpec(): OrchestrationSpec;
|
|
9102
|
-
|
|
9103
|
-
getOrchestrationCase(): OrchestrationSpec.OrchestrationCase;
|
|
9104
|
-
|
|
9105
|
-
serializeBinary(): Uint8Array;
|
|
9106
|
-
toObject(includeInstance?: boolean): OrchestrationSpec.AsObject;
|
|
9107
|
-
static toObject(includeInstance: boolean, msg: OrchestrationSpec): OrchestrationSpec.AsObject;
|
|
9108
|
-
static serializeBinaryToWriter(message: OrchestrationSpec, writer: jspb.BinaryWriter): void;
|
|
9109
|
-
static deserializeBinary(bytes: Uint8Array): OrchestrationSpec;
|
|
9110
|
-
static deserializeBinaryFromReader(message: OrchestrationSpec, reader: jspb.BinaryReader): OrchestrationSpec;
|
|
9111
|
-
}
|
|
9112
|
-
|
|
9113
|
-
export namespace OrchestrationSpec {
|
|
9114
|
-
export type AsObject = {
|
|
9115
|
-
argoOrchestrationSpec?: ArgoOrchestrationSpec.AsObject,
|
|
9116
|
-
}
|
|
9117
|
-
|
|
9118
|
-
export enum OrchestrationCase {
|
|
9119
|
-
ORCHESTRATION_NOT_SET = 0,
|
|
9120
|
-
ARGO_ORCHESTRATION_SPEC = 1,
|
|
9121
|
-
}
|
|
9122
|
-
}
|
|
9123
|
-
|
|
9124
|
-
export class Pipeline extends jspb.Message {
|
|
9125
|
-
getId(): string;
|
|
9126
|
-
setId(value: string): Pipeline;
|
|
9127
|
-
|
|
9128
|
-
getUserId(): string;
|
|
9129
|
-
setUserId(value: string): Pipeline;
|
|
9130
|
-
|
|
9131
|
-
getAppId(): string;
|
|
9132
|
-
setAppId(value: string): Pipeline;
|
|
9133
|
-
|
|
9134
|
-
getOrchestrationSpec(): OrchestrationSpec | undefined;
|
|
9135
|
-
setOrchestrationSpec(value?: OrchestrationSpec): Pipeline;
|
|
9136
|
-
hasOrchestrationSpec(): boolean;
|
|
9137
|
-
clearOrchestrationSpec(): Pipeline;
|
|
9138
|
-
|
|
9139
|
-
getPipelineVersion(): PipelineVersion | undefined;
|
|
9140
|
-
setPipelineVersion(value?: PipelineVersion): Pipeline;
|
|
9141
|
-
hasPipelineVersion(): boolean;
|
|
9142
|
-
clearPipelineVersion(): Pipeline;
|
|
9143
|
-
|
|
9144
|
-
getDescription(): string;
|
|
9145
|
-
setDescription(value: string): Pipeline;
|
|
9146
|
-
|
|
9147
|
-
getVisibility(): Visibility | undefined;
|
|
9148
|
-
setVisibility(value?: Visibility): Pipeline;
|
|
9149
|
-
hasVisibility(): boolean;
|
|
9150
|
-
clearVisibility(): Pipeline;
|
|
9151
|
-
|
|
9152
|
-
getNotes(): string;
|
|
9153
|
-
setNotes(value: string): Pipeline;
|
|
9154
|
-
|
|
9155
|
-
getMetadata(): google_protobuf_struct_pb.Struct | undefined;
|
|
9156
|
-
setMetadata(value?: google_protobuf_struct_pb.Struct): Pipeline;
|
|
9157
|
-
hasMetadata(): boolean;
|
|
9158
|
-
clearMetadata(): Pipeline;
|
|
9159
|
-
|
|
9160
|
-
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
9161
|
-
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Pipeline;
|
|
9162
|
-
hasCreatedAt(): boolean;
|
|
9163
|
-
clearCreatedAt(): Pipeline;
|
|
9164
|
-
|
|
9165
|
-
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
9166
|
-
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): Pipeline;
|
|
9167
|
-
hasModifiedAt(): boolean;
|
|
9168
|
-
clearModifiedAt(): Pipeline;
|
|
9169
|
-
|
|
9170
|
-
serializeBinary(): Uint8Array;
|
|
9171
|
-
toObject(includeInstance?: boolean): Pipeline.AsObject;
|
|
9172
|
-
static toObject(includeInstance: boolean, msg: Pipeline): Pipeline.AsObject;
|
|
9173
|
-
static serializeBinaryToWriter(message: Pipeline, writer: jspb.BinaryWriter): void;
|
|
9174
|
-
static deserializeBinary(bytes: Uint8Array): Pipeline;
|
|
9175
|
-
static deserializeBinaryFromReader(message: Pipeline, reader: jspb.BinaryReader): Pipeline;
|
|
9176
|
-
}
|
|
9177
|
-
|
|
9178
|
-
export namespace Pipeline {
|
|
9179
|
-
export type AsObject = {
|
|
9180
|
-
id: string,
|
|
9181
|
-
userId: string,
|
|
9182
|
-
appId: string,
|
|
9183
|
-
orchestrationSpec?: OrchestrationSpec.AsObject,
|
|
9184
|
-
pipelineVersion?: PipelineVersion.AsObject,
|
|
9185
|
-
description: string,
|
|
9186
|
-
visibility?: Visibility.AsObject,
|
|
9187
|
-
notes: string,
|
|
9188
|
-
metadata?: google_protobuf_struct_pb.Struct.AsObject,
|
|
9189
|
-
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
9190
|
-
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
9191
|
-
}
|
|
9192
|
-
}
|
|
9193
|
-
|
|
9194
|
-
export class PipelineVersion extends jspb.Message {
|
|
9195
|
-
getId(): string;
|
|
9196
|
-
setId(value: string): PipelineVersion;
|
|
9197
|
-
|
|
9198
|
-
getAppId(): string;
|
|
9199
|
-
setAppId(value: string): PipelineVersion;
|
|
9200
|
-
|
|
9201
|
-
getUserId(): string;
|
|
9202
|
-
setUserId(value: string): PipelineVersion;
|
|
9203
|
-
|
|
9204
|
-
getOrchestrationSpec(): OrchestrationSpec | undefined;
|
|
9205
|
-
setOrchestrationSpec(value?: OrchestrationSpec): PipelineVersion;
|
|
9206
|
-
hasOrchestrationSpec(): boolean;
|
|
9207
|
-
clearOrchestrationSpec(): PipelineVersion;
|
|
9208
|
-
|
|
9209
|
-
getPipelineId(): string;
|
|
9210
|
-
setPipelineId(value: string): PipelineVersion;
|
|
9211
|
-
|
|
9212
|
-
getDescription(): string;
|
|
9213
|
-
setDescription(value: string): PipelineVersion;
|
|
9214
|
-
|
|
9215
|
-
getVisibility(): Visibility | undefined;
|
|
9216
|
-
setVisibility(value?: Visibility): PipelineVersion;
|
|
9217
|
-
hasVisibility(): boolean;
|
|
9218
|
-
clearVisibility(): PipelineVersion;
|
|
9219
|
-
|
|
9220
|
-
getMetadata(): google_protobuf_struct_pb.Struct | undefined;
|
|
9221
|
-
setMetadata(value?: google_protobuf_struct_pb.Struct): PipelineVersion;
|
|
9222
|
-
hasMetadata(): boolean;
|
|
9223
|
-
clearMetadata(): PipelineVersion;
|
|
9224
|
-
|
|
9225
|
-
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
9226
|
-
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): PipelineVersion;
|
|
9227
|
-
hasCreatedAt(): boolean;
|
|
9228
|
-
clearCreatedAt(): PipelineVersion;
|
|
9229
|
-
|
|
9230
|
-
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
9231
|
-
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): PipelineVersion;
|
|
9232
|
-
hasModifiedAt(): boolean;
|
|
9233
|
-
clearModifiedAt(): PipelineVersion;
|
|
9234
|
-
|
|
9235
|
-
serializeBinary(): Uint8Array;
|
|
9236
|
-
toObject(includeInstance?: boolean): PipelineVersion.AsObject;
|
|
9237
|
-
static toObject(includeInstance: boolean, msg: PipelineVersion): PipelineVersion.AsObject;
|
|
9238
|
-
static serializeBinaryToWriter(message: PipelineVersion, writer: jspb.BinaryWriter): void;
|
|
9239
|
-
static deserializeBinary(bytes: Uint8Array): PipelineVersion;
|
|
9240
|
-
static deserializeBinaryFromReader(message: PipelineVersion, reader: jspb.BinaryReader): PipelineVersion;
|
|
9241
|
-
}
|
|
9242
|
-
|
|
9243
|
-
export namespace PipelineVersion {
|
|
9244
|
-
export type AsObject = {
|
|
9245
|
-
id: string,
|
|
9246
|
-
appId: string,
|
|
9247
|
-
userId: string,
|
|
9248
|
-
orchestrationSpec?: OrchestrationSpec.AsObject,
|
|
9249
|
-
pipelineId: string,
|
|
9250
|
-
description: string,
|
|
9251
|
-
visibility?: Visibility.AsObject,
|
|
9252
|
-
metadata?: google_protobuf_struct_pb.Struct.AsObject,
|
|
9253
|
-
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
9254
|
-
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
9255
|
-
}
|
|
9256
|
-
}
|
|
9257
|
-
|
|
9258
|
-
export class OrchestrationStatus extends jspb.Message {
|
|
9259
|
-
getArgoStatus(): ArgoOrchestrationStatus | undefined;
|
|
9260
|
-
setArgoStatus(value?: ArgoOrchestrationStatus): OrchestrationStatus;
|
|
9261
|
-
hasArgoStatus(): boolean;
|
|
9262
|
-
clearArgoStatus(): OrchestrationStatus;
|
|
9263
|
-
|
|
9264
|
-
getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
|
|
9265
|
-
setStatus(value?: proto_clarifai_api_status_status_pb.Status): OrchestrationStatus;
|
|
9266
|
-
hasStatus(): boolean;
|
|
9267
|
-
clearStatus(): OrchestrationStatus;
|
|
9268
|
-
|
|
9269
|
-
getStatusDetailsCase(): OrchestrationStatus.StatusDetailsCase;
|
|
9270
|
-
|
|
9271
|
-
serializeBinary(): Uint8Array;
|
|
9272
|
-
toObject(includeInstance?: boolean): OrchestrationStatus.AsObject;
|
|
9273
|
-
static toObject(includeInstance: boolean, msg: OrchestrationStatus): OrchestrationStatus.AsObject;
|
|
9274
|
-
static serializeBinaryToWriter(message: OrchestrationStatus, writer: jspb.BinaryWriter): void;
|
|
9275
|
-
static deserializeBinary(bytes: Uint8Array): OrchestrationStatus;
|
|
9276
|
-
static deserializeBinaryFromReader(message: OrchestrationStatus, reader: jspb.BinaryReader): OrchestrationStatus;
|
|
9277
|
-
}
|
|
9278
|
-
|
|
9279
|
-
export namespace OrchestrationStatus {
|
|
9280
|
-
export type AsObject = {
|
|
9281
|
-
argoStatus?: ArgoOrchestrationStatus.AsObject,
|
|
9282
|
-
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
9283
|
-
}
|
|
9284
|
-
|
|
9285
|
-
export enum StatusDetailsCase {
|
|
9286
|
-
STATUS_DETAILS_NOT_SET = 0,
|
|
9287
|
-
ARGO_STATUS = 1,
|
|
9288
|
-
}
|
|
9289
|
-
}
|
|
9290
|
-
|
|
9291
|
-
export class ArgoOrchestrationStatus extends jspb.Message {
|
|
9292
|
-
getStatus(): Uint8Array | string;
|
|
9293
|
-
getStatus_asU8(): Uint8Array;
|
|
9294
|
-
getStatus_asB64(): string;
|
|
9295
|
-
setStatus(value: Uint8Array | string): ArgoOrchestrationStatus;
|
|
9296
|
-
|
|
9297
|
-
serializeBinary(): Uint8Array;
|
|
9298
|
-
toObject(includeInstance?: boolean): ArgoOrchestrationStatus.AsObject;
|
|
9299
|
-
static toObject(includeInstance: boolean, msg: ArgoOrchestrationStatus): ArgoOrchestrationStatus.AsObject;
|
|
9300
|
-
static serializeBinaryToWriter(message: ArgoOrchestrationStatus, writer: jspb.BinaryWriter): void;
|
|
9301
|
-
static deserializeBinary(bytes: Uint8Array): ArgoOrchestrationStatus;
|
|
9302
|
-
static deserializeBinaryFromReader(message: ArgoOrchestrationStatus, reader: jspb.BinaryReader): ArgoOrchestrationStatus;
|
|
9303
|
-
}
|
|
9304
|
-
|
|
9305
|
-
export namespace ArgoOrchestrationStatus {
|
|
9306
|
-
export type AsObject = {
|
|
9307
|
-
status: Uint8Array | string,
|
|
9308
|
-
}
|
|
9309
|
-
}
|
|
9310
|
-
|
|
9311
|
-
export class PipelineRun extends jspb.Message {
|
|
9312
|
-
getId(): string;
|
|
9313
|
-
setId(value: string): PipelineRun;
|
|
9314
|
-
|
|
9315
|
-
getPipelineVersion(): PipelineVersion | undefined;
|
|
9316
|
-
setPipelineVersion(value?: PipelineVersion): PipelineRun;
|
|
9317
|
-
hasPipelineVersion(): boolean;
|
|
9318
|
-
clearPipelineVersion(): PipelineRun;
|
|
9319
|
-
|
|
9320
|
-
getNodepoolsList(): Array<Nodepool>;
|
|
9321
|
-
setNodepoolsList(value: Array<Nodepool>): PipelineRun;
|
|
9322
|
-
clearNodepoolsList(): PipelineRun;
|
|
9323
|
-
addNodepools(value?: Nodepool, index?: number): Nodepool;
|
|
9324
|
-
|
|
9325
|
-
getOrchestrationStatus(): OrchestrationStatus | undefined;
|
|
9326
|
-
setOrchestrationStatus(value?: OrchestrationStatus): PipelineRun;
|
|
9327
|
-
hasOrchestrationStatus(): boolean;
|
|
9328
|
-
clearOrchestrationStatus(): PipelineRun;
|
|
9329
|
-
|
|
9330
|
-
serializeBinary(): Uint8Array;
|
|
9331
|
-
toObject(includeInstance?: boolean): PipelineRun.AsObject;
|
|
9332
|
-
static toObject(includeInstance: boolean, msg: PipelineRun): PipelineRun.AsObject;
|
|
9333
|
-
static serializeBinaryToWriter(message: PipelineRun, writer: jspb.BinaryWriter): void;
|
|
9334
|
-
static deserializeBinary(bytes: Uint8Array): PipelineRun;
|
|
9335
|
-
static deserializeBinaryFromReader(message: PipelineRun, reader: jspb.BinaryReader): PipelineRun;
|
|
9336
|
-
}
|
|
9337
|
-
|
|
9338
|
-
export namespace PipelineRun {
|
|
9339
|
-
export type AsObject = {
|
|
9340
|
-
id: string,
|
|
9341
|
-
pipelineVersion?: PipelineVersion.AsObject,
|
|
9342
|
-
nodepoolsList: Array<Nodepool.AsObject>,
|
|
9343
|
-
orchestrationStatus?: OrchestrationStatus.AsObject,
|
|
9344
|
-
}
|
|
9345
|
-
}
|
|
9346
|
-
|
|
9347
9085
|
export enum WorkflowModelUseCase {
|
|
9348
9086
|
WORKFLOW_MODEL_USE_CASE_NOT_SET = 0,
|
|
9349
9087
|
CLASSIFICATION = 1,
|
|
@@ -9494,6 +9232,12 @@ export enum EventType {
|
|
|
9494
9232
|
MODULE_VERSION_CREATE = 203,
|
|
9495
9233
|
MODULE_VERSION_UPDATE = 204,
|
|
9496
9234
|
MODULE_VERSION_DELETE = 205,
|
|
9235
|
+
MODEL_CREATE = 300,
|
|
9236
|
+
MODEL_UPDATE = 301,
|
|
9237
|
+
MODEL_DELETE = 302,
|
|
9238
|
+
MODEL_VERSION_CREATE = 303,
|
|
9239
|
+
MODEL_VERSION_UPDATE = 304,
|
|
9240
|
+
MODEL_VERSION_DELETE = 305,
|
|
9497
9241
|
WORKFLOW_CREATE = 400,
|
|
9498
9242
|
WORKFLOW_UPDATE = 401,
|
|
9499
9243
|
WORKFLOW_DELETE = 402,
|
|
@@ -9506,4 +9250,5 @@ export enum EventType {
|
|
|
9506
9250
|
COLLABORATOR_ADD = 700,
|
|
9507
9251
|
COLLABORATOR_UPDATE = 701,
|
|
9508
9252
|
COLLABORATOR_REMOVE = 702,
|
|
9253
|
+
USER_UPDATE = 800,
|
|
9509
9254
|
}
|