clarifai-web-grpc 10.8.6 → 10.9.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.
@@ -1645,6 +1645,13 @@ export class V2Client {
1645
1645
  response: proto_clarifai_api_service_pb.MultiAuditLogEntryResponse) => void
1646
1646
  ): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiAuditLogEntryResponse>;
1647
1647
 
1648
+ listWorkflowEvaluationTemplates(
1649
+ request: proto_clarifai_api_service_pb.ListWorkflowEvaluationTemplatesRequest,
1650
+ metadata: grpcWeb.Metadata | undefined,
1651
+ callback: (err: grpcWeb.RpcError,
1652
+ response: proto_clarifai_api_service_pb.MultiWorkflowEvaluationTemplateResponse) => void
1653
+ ): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiWorkflowEvaluationTemplateResponse>;
1654
+
1648
1655
  }
1649
1656
 
1650
1657
  export class V2PromiseClient {
@@ -2822,5 +2829,10 @@ export class V2PromiseClient {
2822
2829
  metadata?: grpcWeb.Metadata
2823
2830
  ): Promise<proto_clarifai_api_service_pb.MultiAuditLogEntryResponse>;
2824
2831
 
2832
+ listWorkflowEvaluationTemplates(
2833
+ request: proto_clarifai_api_service_pb.ListWorkflowEvaluationTemplatesRequest,
2834
+ metadata?: grpcWeb.Metadata
2835
+ ): Promise<proto_clarifai_api_service_pb.MultiWorkflowEvaluationTemplateResponse>;
2836
+
2825
2837
  }
2826
2838
 
@@ -14364,5 +14364,66 @@ proto.clarifai.api.V2PromiseClient.prototype.postAuditLogSearches =
14364
14364
  };
14365
14365
 
14366
14366
 
14367
+ /**
14368
+ * @const
14369
+ * @type {!grpc.web.MethodDescriptor<
14370
+ * !proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest,
14371
+ * !proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse>}
14372
+ */
14373
+ const methodDescriptor_V2_ListWorkflowEvaluationTemplates = new grpc.web.MethodDescriptor(
14374
+ '/clarifai.api.V2/ListWorkflowEvaluationTemplates',
14375
+ grpc.web.MethodType.UNARY,
14376
+ proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest,
14377
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse,
14378
+ /**
14379
+ * @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} request
14380
+ * @return {!Uint8Array}
14381
+ */
14382
+ function(request) {
14383
+ return request.serializeBinary();
14384
+ },
14385
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.deserializeBinary
14386
+ );
14387
+
14388
+
14389
+ /**
14390
+ * @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} request The
14391
+ * request proto
14392
+ * @param {?Object<string, string>} metadata User defined
14393
+ * call metadata
14394
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse)}
14395
+ * callback The callback function(error, response)
14396
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse>|undefined}
14397
+ * The XHR Node Readable Stream
14398
+ */
14399
+ proto.clarifai.api.V2Client.prototype.listWorkflowEvaluationTemplates =
14400
+ function(request, metadata, callback) {
14401
+ return this.client_.rpcCall(this.hostname_ +
14402
+ '/clarifai.api.V2/ListWorkflowEvaluationTemplates',
14403
+ request,
14404
+ metadata || {},
14405
+ methodDescriptor_V2_ListWorkflowEvaluationTemplates,
14406
+ callback);
14407
+ };
14408
+
14409
+
14410
+ /**
14411
+ * @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} request The
14412
+ * request proto
14413
+ * @param {?Object<string, string>=} metadata User defined
14414
+ * call metadata
14415
+ * @return {!Promise<!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse>}
14416
+ * Promise that resolves to the response
14417
+ */
14418
+ proto.clarifai.api.V2PromiseClient.prototype.listWorkflowEvaluationTemplates =
14419
+ function(request, metadata) {
14420
+ return this.client_.unaryCall(this.hostname_ +
14421
+ '/clarifai.api.V2/ListWorkflowEvaluationTemplates',
14422
+ request,
14423
+ metadata || {},
14424
+ methodDescriptor_V2_ListWorkflowEvaluationTemplates);
14425
+ };
14426
+
14427
+
14367
14428
  module.exports = proto.clarifai.api;
14368
14429
 
@@ -6855,6 +6855,9 @@ export class PostWorkflowResultsRequest extends jspb.Message {
6855
6855
  hasWorkflowState(): boolean;
6856
6856
  clearWorkflowState(): PostWorkflowResultsRequest;
6857
6857
 
6858
+ getNodeRunnerSelectorsMap(): jspb.Map<string, proto_clarifai_api_resources_pb.RunnerSelector>;
6859
+ clearNodeRunnerSelectorsMap(): PostWorkflowResultsRequest;
6860
+
6858
6861
  serializeBinary(): Uint8Array;
6859
6862
  toObject(includeInstance?: boolean): PostWorkflowResultsRequest.AsObject;
6860
6863
  static toObject(includeInstance: boolean, msg: PostWorkflowResultsRequest): PostWorkflowResultsRequest.AsObject;
@@ -6872,6 +6875,7 @@ export namespace PostWorkflowResultsRequest {
6872
6875
  outputConfig?: proto_clarifai_api_resources_pb.OutputConfig.AsObject,
6873
6876
  favorClarifaiWorkflows: boolean,
6874
6877
  workflowState?: proto_clarifai_api_resources_pb.WorkflowState.AsObject,
6878
+ nodeRunnerSelectorsMap: Array<[string, proto_clarifai_api_resources_pb.RunnerSelector.AsObject]>,
6875
6879
  }
6876
6880
  }
6877
6881
 
@@ -10603,6 +10607,16 @@ export class ListDeploymentsRequest extends jspb.Message {
10603
10607
  getPerPage(): number;
10604
10608
  setPerPage(value: number): ListDeploymentsRequest;
10605
10609
 
10610
+ getModelVersionIdsList(): Array<string>;
10611
+ setModelVersionIdsList(value: Array<string>): ListDeploymentsRequest;
10612
+ clearModelVersionIdsList(): ListDeploymentsRequest;
10613
+ addModelVersionIds(value: string, index?: number): ListDeploymentsRequest;
10614
+
10615
+ getWorkflowVersionIdsList(): Array<string>;
10616
+ setWorkflowVersionIdsList(value: Array<string>): ListDeploymentsRequest;
10617
+ clearWorkflowVersionIdsList(): ListDeploymentsRequest;
10618
+ addWorkflowVersionIds(value: string, index?: number): ListDeploymentsRequest;
10619
+
10606
10620
  serializeBinary(): Uint8Array;
10607
10621
  toObject(includeInstance?: boolean): ListDeploymentsRequest.AsObject;
10608
10622
  static toObject(includeInstance: boolean, msg: ListDeploymentsRequest): ListDeploymentsRequest.AsObject;
@@ -10617,6 +10631,8 @@ export namespace ListDeploymentsRequest {
10617
10631
  nodepoolId: string,
10618
10632
  page: number,
10619
10633
  perPage: number,
10634
+ modelVersionIdsList: Array<string>,
10635
+ workflowVersionIdsList: Array<string>,
10620
10636
  }
10621
10637
  }
10622
10638
 
@@ -10816,6 +10832,46 @@ export namespace MultiDeploymentResponse {
10816
10832
  }
10817
10833
  }
10818
10834
 
10835
+ export class ListWorkflowEvaluationTemplatesRequest extends jspb.Message {
10836
+ serializeBinary(): Uint8Array;
10837
+ toObject(includeInstance?: boolean): ListWorkflowEvaluationTemplatesRequest.AsObject;
10838
+ static toObject(includeInstance: boolean, msg: ListWorkflowEvaluationTemplatesRequest): ListWorkflowEvaluationTemplatesRequest.AsObject;
10839
+ static serializeBinaryToWriter(message: ListWorkflowEvaluationTemplatesRequest, writer: jspb.BinaryWriter): void;
10840
+ static deserializeBinary(bytes: Uint8Array): ListWorkflowEvaluationTemplatesRequest;
10841
+ static deserializeBinaryFromReader(message: ListWorkflowEvaluationTemplatesRequest, reader: jspb.BinaryReader): ListWorkflowEvaluationTemplatesRequest;
10842
+ }
10843
+
10844
+ export namespace ListWorkflowEvaluationTemplatesRequest {
10845
+ export type AsObject = {
10846
+ }
10847
+ }
10848
+
10849
+ export class MultiWorkflowEvaluationTemplateResponse extends jspb.Message {
10850
+ getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
10851
+ setStatus(value?: proto_clarifai_api_status_status_pb.Status): MultiWorkflowEvaluationTemplateResponse;
10852
+ hasStatus(): boolean;
10853
+ clearStatus(): MultiWorkflowEvaluationTemplateResponse;
10854
+
10855
+ getWorkflowVersionEvaluationTemplatesList(): Array<proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate>;
10856
+ setWorkflowVersionEvaluationTemplatesList(value: Array<proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate>): MultiWorkflowEvaluationTemplateResponse;
10857
+ clearWorkflowVersionEvaluationTemplatesList(): MultiWorkflowEvaluationTemplateResponse;
10858
+ addWorkflowVersionEvaluationTemplates(value?: proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate, index?: number): proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate;
10859
+
10860
+ serializeBinary(): Uint8Array;
10861
+ toObject(includeInstance?: boolean): MultiWorkflowEvaluationTemplateResponse.AsObject;
10862
+ static toObject(includeInstance: boolean, msg: MultiWorkflowEvaluationTemplateResponse): MultiWorkflowEvaluationTemplateResponse.AsObject;
10863
+ static serializeBinaryToWriter(message: MultiWorkflowEvaluationTemplateResponse, writer: jspb.BinaryWriter): void;
10864
+ static deserializeBinary(bytes: Uint8Array): MultiWorkflowEvaluationTemplateResponse;
10865
+ static deserializeBinaryFromReader(message: MultiWorkflowEvaluationTemplateResponse, reader: jspb.BinaryReader): MultiWorkflowEvaluationTemplateResponse;
10866
+ }
10867
+
10868
+ export namespace MultiWorkflowEvaluationTemplateResponse {
10869
+ export type AsObject = {
10870
+ status?: proto_clarifai_api_status_status_pb.Status.AsObject,
10871
+ workflowVersionEvaluationTemplatesList: Array<proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate.AsObject>,
10872
+ }
10873
+ }
10874
+
10819
10875
  export enum OrganizationInvitationStatus {
10820
10876
  NOT_SET = 0,
10821
10877
  PENDING = 1,