clarifai-web-grpc 11.10.10 → 12.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 +784 -11
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +93 -13
- package/dist/cjs/proto/clarifai/api/service_pb.js +1517 -67
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +784 -11
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +93 -13
- package/dist/esm/proto/clarifai/api/service_pb.js +1517 -67
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +120 -0
- package/proto/clarifai/api/resources_pb.js +1000 -11
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +28 -6
- package/proto/clarifai/api/service_grpc_web_pb.js +135 -18
- package/proto/clarifai/api/service_pb.d.ts +234 -20
- package/proto/clarifai/api/service_pb.js +1872 -67
- package/proto/clarifai/api/status/status_code_pb.d.ts +3 -0
- package/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/proto/clarifai/auth/scope/scope_pb.js +2 -1
|
@@ -413,6 +413,7 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
413
413
|
JOB_CANCELLED: 64004,
|
|
414
414
|
JOB_UNEXPECTED_ERROR: 64006,
|
|
415
415
|
JOB_CONFLICT: 64007,
|
|
416
|
+
JOB_PAUSED: 64008,
|
|
416
417
|
AUTH_MISSING_IDP_ASSOC: 65000,
|
|
417
418
|
LIST_OBJECTS_FAILED: 66000,
|
|
418
419
|
ARCHIVE_EXTRACT_FAILED: 67000,
|
|
@@ -426,6 +427,8 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
426
427
|
BILLING_INVALID_INFO: 69000,
|
|
427
428
|
BILLING_MISSING_TOKENS: 69001,
|
|
428
429
|
LOG_ENTRIES_INVALID_REQUEST: 70000,
|
|
430
|
+
TWILIO_MAX_VERIFICATION_BEGIN_EXCEEDED: 71003,
|
|
431
|
+
TWILIO_MAX_VERIFICATION_CHECK_EXCEEDED: 71004,
|
|
429
432
|
INTERNAL_SERVER_ISSUE: 98004,
|
|
430
433
|
INTERNAL_FETCHING_ISSUE: 98005,
|
|
431
434
|
INTERNAL_DATABASE_ISSUE: 98006,
|
|
@@ -338,7 +338,8 @@ proto.clarifai.auth.scope.S = {
|
|
|
338
338
|
PIPELINESTEPS_DELETE: 169,
|
|
339
339
|
ARTIFACTS_GET: 170,
|
|
340
340
|
ARTIFACTS_ADD: 171,
|
|
341
|
-
ARTIFACTS_DELETE: 172
|
|
341
|
+
ARTIFACTS_DELETE: 172,
|
|
342
|
+
PIPELINEVERSIONRUNSTATUSLOGS_GET: 173
|
|
342
343
|
};
|
|
343
344
|
/**
|
|
344
345
|
* A tuple of {field number, class constructor} for the extension
|
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@ import * as proto_clarifai_api_status_status_code_pb from '../../../proto/clarif
|
|
|
5
5
|
import * as proto_clarifai_api_utils_extensions_pb from '../../../proto/clarifai/api/utils/extensions_pb';
|
|
6
6
|
import * as proto_clarifai_api_utils_matrix_pb from '../../../proto/clarifai/api/utils/matrix_pb';
|
|
7
7
|
import * as proto_clarifai_auth_util_extension_pb from '../../../proto/clarifai/auth/util/extension_pb';
|
|
8
|
+
import * as google_protobuf_duration_pb from 'google-protobuf/google/protobuf/duration_pb';
|
|
8
9
|
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
|
|
9
10
|
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
|
10
11
|
import * as google_protobuf_wrappers_pb from 'google-protobuf/google/protobuf/wrappers_pb';
|
|
@@ -387,6 +388,9 @@ export class AppResourceCounts extends jspb.Message {
|
|
|
387
388
|
getInputs(): number;
|
|
388
389
|
setInputs(value: number): AppResourceCounts;
|
|
389
390
|
|
|
391
|
+
getPipelines(): number;
|
|
392
|
+
setPipelines(value: number): AppResourceCounts;
|
|
393
|
+
|
|
390
394
|
serializeBinary(): Uint8Array;
|
|
391
395
|
toObject(includeInstance?: boolean): AppResourceCounts.AsObject;
|
|
392
396
|
static toObject(includeInstance: boolean, msg: AppResourceCounts): AppResourceCounts.AsObject;
|
|
@@ -402,6 +406,7 @@ export namespace AppResourceCounts {
|
|
|
402
406
|
workflows: number,
|
|
403
407
|
modules: number,
|
|
404
408
|
inputs: number,
|
|
409
|
+
pipelines: number,
|
|
405
410
|
}
|
|
406
411
|
}
|
|
407
412
|
|
|
@@ -2936,6 +2941,7 @@ export namespace SpecialHandling {
|
|
|
2936
2941
|
export enum Reason {
|
|
2937
2942
|
REASON_NOT_SET = 0,
|
|
2938
2943
|
CONTACT_SALES = 1,
|
|
2944
|
+
INTERNAL_ONLY = 2,
|
|
2939
2945
|
}
|
|
2940
2946
|
}
|
|
2941
2947
|
|
|
@@ -5264,6 +5270,9 @@ export class UserDetail extends jspb.Message {
|
|
|
5264
5270
|
hasCommitmentValue(): boolean;
|
|
5265
5271
|
clearCommitmentValue(): UserDetail;
|
|
5266
5272
|
|
|
5273
|
+
getPhoneVerified(): boolean;
|
|
5274
|
+
setPhoneVerified(value: boolean): UserDetail;
|
|
5275
|
+
|
|
5267
5276
|
serializeBinary(): Uint8Array;
|
|
5268
5277
|
toObject(includeInstance?: boolean): UserDetail.AsObject;
|
|
5269
5278
|
static toObject(includeInstance: boolean, msg: UserDetail): UserDetail.AsObject;
|
|
@@ -5287,6 +5296,7 @@ export namespace UserDetail {
|
|
|
5287
5296
|
country: string,
|
|
5288
5297
|
state: string,
|
|
5289
5298
|
commitmentValue?: CommitmentValue.AsObject,
|
|
5299
|
+
phoneVerified: boolean,
|
|
5290
5300
|
}
|
|
5291
5301
|
}
|
|
5292
5302
|
|
|
@@ -6213,6 +6223,11 @@ export class TaskWorker extends jspb.Message {
|
|
|
6213
6223
|
getType(): TaskWorker.WorkerType;
|
|
6214
6224
|
setType(value: TaskWorker.WorkerType): TaskWorker;
|
|
6215
6225
|
|
|
6226
|
+
getRunnerSelectorsList(): Array<RunnerSelector>;
|
|
6227
|
+
setRunnerSelectorsList(value: Array<RunnerSelector>): TaskWorker;
|
|
6228
|
+
clearRunnerSelectorsList(): TaskWorker;
|
|
6229
|
+
addRunnerSelectors(value?: RunnerSelector, index?: number): RunnerSelector;
|
|
6230
|
+
|
|
6216
6231
|
getStrategyInfoCase(): TaskWorker.StrategyInfoCase;
|
|
6217
6232
|
|
|
6218
6233
|
serializeBinary(): Uint8Array;
|
|
@@ -6231,6 +6246,7 @@ export namespace TaskWorker {
|
|
|
6231
6246
|
partitionedStrategyInfo?: TaskWorkerPartitionedStrategyInfo.AsObject,
|
|
6232
6247
|
workersList: Array<Worker.AsObject>,
|
|
6233
6248
|
type: TaskWorker.WorkerType,
|
|
6249
|
+
runnerSelectorsList: Array<RunnerSelector.AsObject>,
|
|
6234
6250
|
}
|
|
6235
6251
|
|
|
6236
6252
|
export enum TaskWorkerStrategy {
|
|
@@ -6312,6 +6328,7 @@ export namespace TaskInputSource {
|
|
|
6312
6328
|
ALL_INPUTS = 1,
|
|
6313
6329
|
SAVED_SEARCH = 2,
|
|
6314
6330
|
DATASET = 3,
|
|
6331
|
+
INPUT = 4,
|
|
6315
6332
|
}
|
|
6316
6333
|
}
|
|
6317
6334
|
|
|
@@ -8745,6 +8762,11 @@ export class InstanceType extends jspb.Message {
|
|
|
8745
8762
|
getArchitecture(): string;
|
|
8746
8763
|
setArchitecture(value: string): InstanceType;
|
|
8747
8764
|
|
|
8765
|
+
getAvailableComputeInfo(): ComputeInfo | undefined;
|
|
8766
|
+
setAvailableComputeInfo(value?: ComputeInfo): InstanceType;
|
|
8767
|
+
hasAvailableComputeInfo(): boolean;
|
|
8768
|
+
clearAvailableComputeInfo(): InstanceType;
|
|
8769
|
+
|
|
8748
8770
|
serializeBinary(): Uint8Array;
|
|
8749
8771
|
toObject(includeInstance?: boolean): InstanceType.AsObject;
|
|
8750
8772
|
static toObject(includeInstance: boolean, msg: InstanceType): InstanceType.AsObject;
|
|
@@ -8765,6 +8787,7 @@ export namespace InstanceType {
|
|
|
8765
8787
|
featureFlagGroup: string,
|
|
8766
8788
|
specialHandlingList: Array<SpecialHandling.AsObject>,
|
|
8767
8789
|
architecture: string,
|
|
8790
|
+
availableComputeInfo?: ComputeInfo.AsObject,
|
|
8768
8791
|
}
|
|
8769
8792
|
}
|
|
8770
8793
|
|
|
@@ -8775,6 +8798,11 @@ export class CloudProvider extends jspb.Message {
|
|
|
8775
8798
|
getName(): string;
|
|
8776
8799
|
setName(value: string): CloudProvider;
|
|
8777
8800
|
|
|
8801
|
+
getSpecialHandlingList(): Array<SpecialHandling>;
|
|
8802
|
+
setSpecialHandlingList(value: Array<SpecialHandling>): CloudProvider;
|
|
8803
|
+
clearSpecialHandlingList(): CloudProvider;
|
|
8804
|
+
addSpecialHandling(value?: SpecialHandling, index?: number): SpecialHandling;
|
|
8805
|
+
|
|
8778
8806
|
serializeBinary(): Uint8Array;
|
|
8779
8807
|
toObject(includeInstance?: boolean): CloudProvider.AsObject;
|
|
8780
8808
|
static toObject(includeInstance: boolean, msg: CloudProvider): CloudProvider.AsObject;
|
|
@@ -8787,6 +8815,31 @@ export namespace CloudProvider {
|
|
|
8787
8815
|
export type AsObject = {
|
|
8788
8816
|
id: string,
|
|
8789
8817
|
name: string,
|
|
8818
|
+
specialHandlingList: Array<SpecialHandling.AsObject>,
|
|
8819
|
+
}
|
|
8820
|
+
}
|
|
8821
|
+
|
|
8822
|
+
export class CloudRegion extends jspb.Message {
|
|
8823
|
+
getId(): string;
|
|
8824
|
+
setId(value: string): CloudRegion;
|
|
8825
|
+
|
|
8826
|
+
getSpecialHandlingList(): Array<SpecialHandling>;
|
|
8827
|
+
setSpecialHandlingList(value: Array<SpecialHandling>): CloudRegion;
|
|
8828
|
+
clearSpecialHandlingList(): CloudRegion;
|
|
8829
|
+
addSpecialHandling(value?: SpecialHandling, index?: number): SpecialHandling;
|
|
8830
|
+
|
|
8831
|
+
serializeBinary(): Uint8Array;
|
|
8832
|
+
toObject(includeInstance?: boolean): CloudRegion.AsObject;
|
|
8833
|
+
static toObject(includeInstance: boolean, msg: CloudRegion): CloudRegion.AsObject;
|
|
8834
|
+
static serializeBinaryToWriter(message: CloudRegion, writer: jspb.BinaryWriter): void;
|
|
8835
|
+
static deserializeBinary(bytes: Uint8Array): CloudRegion;
|
|
8836
|
+
static deserializeBinaryFromReader(message: CloudRegion, reader: jspb.BinaryReader): CloudRegion;
|
|
8837
|
+
}
|
|
8838
|
+
|
|
8839
|
+
export namespace CloudRegion {
|
|
8840
|
+
export type AsObject = {
|
|
8841
|
+
id: string,
|
|
8842
|
+
specialHandlingList: Array<SpecialHandling.AsObject>,
|
|
8790
8843
|
}
|
|
8791
8844
|
}
|
|
8792
8845
|
|
|
@@ -8988,6 +9041,11 @@ export class Deployment extends jspb.Message {
|
|
|
8988
9041
|
hasWorker(): boolean;
|
|
8989
9042
|
clearWorker(): Deployment;
|
|
8990
9043
|
|
|
9044
|
+
getDesiredWorker(): Worker | undefined;
|
|
9045
|
+
setDesiredWorker(value?: Worker): Deployment;
|
|
9046
|
+
hasDesiredWorker(): boolean;
|
|
9047
|
+
clearDesiredWorker(): Deployment;
|
|
9048
|
+
|
|
8991
9049
|
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
8992
9050
|
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): Deployment;
|
|
8993
9051
|
hasCreatedAt(): boolean;
|
|
@@ -9025,6 +9083,7 @@ export namespace Deployment {
|
|
|
9025
9083
|
metadata?: google_protobuf_struct_pb.Struct.AsObject,
|
|
9026
9084
|
description: string,
|
|
9027
9085
|
worker?: Worker.AsObject,
|
|
9086
|
+
desiredWorker?: Worker.AsObject,
|
|
9028
9087
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
9029
9088
|
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
9030
9089
|
deployLatestVersion: boolean,
|
|
@@ -10514,6 +10573,21 @@ export class PipelineVersionRun extends jspb.Message {
|
|
|
10514
10573
|
hasOrchestrationSpec(): boolean;
|
|
10515
10574
|
clearOrchestrationSpec(): PipelineVersionRun;
|
|
10516
10575
|
|
|
10576
|
+
getStartedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
10577
|
+
setStartedAt(value?: google_protobuf_timestamp_pb.Timestamp): PipelineVersionRun;
|
|
10578
|
+
hasStartedAt(): boolean;
|
|
10579
|
+
clearStartedAt(): PipelineVersionRun;
|
|
10580
|
+
|
|
10581
|
+
getEndedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
10582
|
+
setEndedAt(value?: google_protobuf_timestamp_pb.Timestamp): PipelineVersionRun;
|
|
10583
|
+
hasEndedAt(): boolean;
|
|
10584
|
+
clearEndedAt(): PipelineVersionRun;
|
|
10585
|
+
|
|
10586
|
+
getTotalRunDuration(): google_protobuf_duration_pb.Duration | undefined;
|
|
10587
|
+
setTotalRunDuration(value?: google_protobuf_duration_pb.Duration): PipelineVersionRun;
|
|
10588
|
+
hasTotalRunDuration(): boolean;
|
|
10589
|
+
clearTotalRunDuration(): PipelineVersionRun;
|
|
10590
|
+
|
|
10517
10591
|
serializeBinary(): Uint8Array;
|
|
10518
10592
|
toObject(includeInstance?: boolean): PipelineVersionRun.AsObject;
|
|
10519
10593
|
static toObject(includeInstance: boolean, msg: PipelineVersionRun): PipelineVersionRun.AsObject;
|
|
@@ -10534,6 +10608,51 @@ export namespace PipelineVersionRun {
|
|
|
10534
10608
|
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
10535
10609
|
inputArgsOverride?: OrchestrationArgsOverride.AsObject,
|
|
10536
10610
|
orchestrationSpec?: OrchestrationSpec.AsObject,
|
|
10611
|
+
startedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
10612
|
+
endedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
10613
|
+
totalRunDuration?: google_protobuf_duration_pb.Duration.AsObject,
|
|
10614
|
+
}
|
|
10615
|
+
}
|
|
10616
|
+
|
|
10617
|
+
export class PipelineVersionRunStatusLog extends jspb.Message {
|
|
10618
|
+
getId(): string;
|
|
10619
|
+
setId(value: string): PipelineVersionRunStatusLog;
|
|
10620
|
+
|
|
10621
|
+
getPipelineVersionRunId(): string;
|
|
10622
|
+
setPipelineVersionRunId(value: string): PipelineVersionRunStatusLog;
|
|
10623
|
+
|
|
10624
|
+
getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
|
|
10625
|
+
setStatus(value?: proto_clarifai_api_status_status_pb.Status): PipelineVersionRunStatusLog;
|
|
10626
|
+
hasStatus(): boolean;
|
|
10627
|
+
clearStatus(): PipelineVersionRunStatusLog;
|
|
10628
|
+
|
|
10629
|
+
getMessage(): string;
|
|
10630
|
+
setMessage(value: string): PipelineVersionRunStatusLog;
|
|
10631
|
+
|
|
10632
|
+
getTriggeredByUserId(): string;
|
|
10633
|
+
setTriggeredByUserId(value: string): PipelineVersionRunStatusLog;
|
|
10634
|
+
|
|
10635
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
10636
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): PipelineVersionRunStatusLog;
|
|
10637
|
+
hasCreatedAt(): boolean;
|
|
10638
|
+
clearCreatedAt(): PipelineVersionRunStatusLog;
|
|
10639
|
+
|
|
10640
|
+
serializeBinary(): Uint8Array;
|
|
10641
|
+
toObject(includeInstance?: boolean): PipelineVersionRunStatusLog.AsObject;
|
|
10642
|
+
static toObject(includeInstance: boolean, msg: PipelineVersionRunStatusLog): PipelineVersionRunStatusLog.AsObject;
|
|
10643
|
+
static serializeBinaryToWriter(message: PipelineVersionRunStatusLog, writer: jspb.BinaryWriter): void;
|
|
10644
|
+
static deserializeBinary(bytes: Uint8Array): PipelineVersionRunStatusLog;
|
|
10645
|
+
static deserializeBinaryFromReader(message: PipelineVersionRunStatusLog, reader: jspb.BinaryReader): PipelineVersionRunStatusLog;
|
|
10646
|
+
}
|
|
10647
|
+
|
|
10648
|
+
export namespace PipelineVersionRunStatusLog {
|
|
10649
|
+
export type AsObject = {
|
|
10650
|
+
id: string,
|
|
10651
|
+
pipelineVersionRunId: string,
|
|
10652
|
+
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
10653
|
+
message: string,
|
|
10654
|
+
triggeredByUserId: string,
|
|
10655
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
10537
10656
|
}
|
|
10538
10657
|
}
|
|
10539
10658
|
|
|
@@ -11055,6 +11174,7 @@ export enum DeployRestriction {
|
|
|
11055
11174
|
NO_LIMITS = 1,
|
|
11056
11175
|
SHARED_COMPUTE_ONLY = 2,
|
|
11057
11176
|
DEDICATED_COMPUTE_ONLY = 3,
|
|
11177
|
+
MODEL_OWNER_DEDICATED_COMPUTE_ONLY = 4,
|
|
11058
11178
|
}
|
|
11059
11179
|
export enum DataType {
|
|
11060
11180
|
UNDEFINED = 0,
|