clarifai-web-grpc 10.8.4 → 10.8.6

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.
@@ -735,13 +735,6 @@ export class V2Client {
735
735
  response: proto_clarifai_api_service_pb.PostWorkflowResultsResponse) => void
736
736
  ): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.PostWorkflowResultsResponse>;
737
737
 
738
- postWorkflowResultsSimilarity(
739
- request: proto_clarifai_api_service_pb.PostWorkflowResultsSimilarityRequest,
740
- metadata: grpcWeb.Metadata | undefined,
741
- callback: (err: grpcWeb.RpcError,
742
- response: proto_clarifai_api_service_pb.PostWorkflowResultsSimilarityResponse) => void
743
- ): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.PostWorkflowResultsSimilarityResponse>;
744
-
745
738
  listWorkflowVersions(
746
739
  request: proto_clarifai_api_service_pb.ListWorkflowVersionsRequest,
747
740
  metadata: grpcWeb.Metadata | undefined,
@@ -1649,8 +1642,8 @@ export class V2Client {
1649
1642
  request: proto_clarifai_api_service_pb.PostAuditLogSearchesRequest,
1650
1643
  metadata: grpcWeb.Metadata | undefined,
1651
1644
  callback: (err: grpcWeb.RpcError,
1652
- response: proto_clarifai_api_service_pb.MultiAuditLogSearchResponse) => void
1653
- ): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiAuditLogSearchResponse>;
1645
+ response: proto_clarifai_api_service_pb.MultiAuditLogEntryResponse) => void
1646
+ ): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiAuditLogEntryResponse>;
1654
1647
 
1655
1648
  }
1656
1649
 
@@ -2179,11 +2172,6 @@ export class V2PromiseClient {
2179
2172
  metadata?: grpcWeb.Metadata
2180
2173
  ): Promise<proto_clarifai_api_service_pb.PostWorkflowResultsResponse>;
2181
2174
 
2182
- postWorkflowResultsSimilarity(
2183
- request: proto_clarifai_api_service_pb.PostWorkflowResultsSimilarityRequest,
2184
- metadata?: grpcWeb.Metadata
2185
- ): Promise<proto_clarifai_api_service_pb.PostWorkflowResultsSimilarityResponse>;
2186
-
2187
2175
  listWorkflowVersions(
2188
2176
  request: proto_clarifai_api_service_pb.ListWorkflowVersionsRequest,
2189
2177
  metadata?: grpcWeb.Metadata
@@ -2832,7 +2820,7 @@ export class V2PromiseClient {
2832
2820
  postAuditLogSearches(
2833
2821
  request: proto_clarifai_api_service_pb.PostAuditLogSearchesRequest,
2834
2822
  metadata?: grpcWeb.Metadata
2835
- ): Promise<proto_clarifai_api_service_pb.MultiAuditLogSearchResponse>;
2823
+ ): Promise<proto_clarifai_api_service_pb.MultiAuditLogEntryResponse>;
2836
2824
 
2837
2825
  }
2838
2826
 
@@ -6434,67 +6434,6 @@ proto.clarifai.api.V2PromiseClient.prototype.postWorkflowResults =
6434
6434
  };
6435
6435
 
6436
6436
 
6437
- /**
6438
- * @const
6439
- * @type {!grpc.web.MethodDescriptor<
6440
- * !proto.clarifai.api.PostWorkflowResultsSimilarityRequest,
6441
- * !proto.clarifai.api.PostWorkflowResultsSimilarityResponse>}
6442
- */
6443
- const methodDescriptor_V2_PostWorkflowResultsSimilarity = new grpc.web.MethodDescriptor(
6444
- '/clarifai.api.V2/PostWorkflowResultsSimilarity',
6445
- grpc.web.MethodType.UNARY,
6446
- proto.clarifai.api.PostWorkflowResultsSimilarityRequest,
6447
- proto.clarifai.api.PostWorkflowResultsSimilarityResponse,
6448
- /**
6449
- * @param {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} request
6450
- * @return {!Uint8Array}
6451
- */
6452
- function(request) {
6453
- return request.serializeBinary();
6454
- },
6455
- proto.clarifai.api.PostWorkflowResultsSimilarityResponse.deserializeBinary
6456
- );
6457
-
6458
-
6459
- /**
6460
- * @param {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} request The
6461
- * request proto
6462
- * @param {?Object<string, string>} metadata User defined
6463
- * call metadata
6464
- * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.PostWorkflowResultsSimilarityResponse)}
6465
- * callback The callback function(error, response)
6466
- * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.PostWorkflowResultsSimilarityResponse>|undefined}
6467
- * The XHR Node Readable Stream
6468
- */
6469
- proto.clarifai.api.V2Client.prototype.postWorkflowResultsSimilarity =
6470
- function(request, metadata, callback) {
6471
- return this.client_.rpcCall(this.hostname_ +
6472
- '/clarifai.api.V2/PostWorkflowResultsSimilarity',
6473
- request,
6474
- metadata || {},
6475
- methodDescriptor_V2_PostWorkflowResultsSimilarity,
6476
- callback);
6477
- };
6478
-
6479
-
6480
- /**
6481
- * @param {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} request The
6482
- * request proto
6483
- * @param {?Object<string, string>=} metadata User defined
6484
- * call metadata
6485
- * @return {!Promise<!proto.clarifai.api.PostWorkflowResultsSimilarityResponse>}
6486
- * Promise that resolves to the response
6487
- */
6488
- proto.clarifai.api.V2PromiseClient.prototype.postWorkflowResultsSimilarity =
6489
- function(request, metadata) {
6490
- return this.client_.unaryCall(this.hostname_ +
6491
- '/clarifai.api.V2/PostWorkflowResultsSimilarity',
6492
- request,
6493
- metadata || {},
6494
- methodDescriptor_V2_PostWorkflowResultsSimilarity);
6495
- };
6496
-
6497
-
6498
6437
  /**
6499
6438
  * @const
6500
6439
  * @type {!grpc.web.MethodDescriptor<
@@ -14368,13 +14307,13 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteDeployments =
14368
14307
  * @const
14369
14308
  * @type {!grpc.web.MethodDescriptor<
14370
14309
  * !proto.clarifai.api.PostAuditLogSearchesRequest,
14371
- * !proto.clarifai.api.MultiAuditLogSearchResponse>}
14310
+ * !proto.clarifai.api.MultiAuditLogEntryResponse>}
14372
14311
  */
14373
14312
  const methodDescriptor_V2_PostAuditLogSearches = new grpc.web.MethodDescriptor(
14374
14313
  '/clarifai.api.V2/PostAuditLogSearches',
14375
14314
  grpc.web.MethodType.UNARY,
14376
14315
  proto.clarifai.api.PostAuditLogSearchesRequest,
14377
- proto.clarifai.api.MultiAuditLogSearchResponse,
14316
+ proto.clarifai.api.MultiAuditLogEntryResponse,
14378
14317
  /**
14379
14318
  * @param {!proto.clarifai.api.PostAuditLogSearchesRequest} request
14380
14319
  * @return {!Uint8Array}
@@ -14382,7 +14321,7 @@ const methodDescriptor_V2_PostAuditLogSearches = new grpc.web.MethodDescriptor(
14382
14321
  function(request) {
14383
14322
  return request.serializeBinary();
14384
14323
  },
14385
- proto.clarifai.api.MultiAuditLogSearchResponse.deserializeBinary
14324
+ proto.clarifai.api.MultiAuditLogEntryResponse.deserializeBinary
14386
14325
  );
14387
14326
 
14388
14327
 
@@ -14391,9 +14330,9 @@ const methodDescriptor_V2_PostAuditLogSearches = new grpc.web.MethodDescriptor(
14391
14330
  * request proto
14392
14331
  * @param {?Object<string, string>} metadata User defined
14393
14332
  * call metadata
14394
- * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiAuditLogSearchResponse)}
14333
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiAuditLogEntryResponse)}
14395
14334
  * callback The callback function(error, response)
14396
- * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAuditLogSearchResponse>|undefined}
14335
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAuditLogEntryResponse>|undefined}
14397
14336
  * The XHR Node Readable Stream
14398
14337
  */
14399
14338
  proto.clarifai.api.V2Client.prototype.postAuditLogSearches =
@@ -14412,7 +14351,7 @@ proto.clarifai.api.V2Client.prototype.postAuditLogSearches =
14412
14351
  * request proto
14413
14352
  * @param {?Object<string, string>=} metadata User defined
14414
14353
  * call metadata
14415
- * @return {!Promise<!proto.clarifai.api.MultiAuditLogSearchResponse>}
14354
+ * @return {!Promise<!proto.clarifai.api.MultiAuditLogEntryResponse>}
14416
14355
  * Promise that resolves to the response
14417
14356
  */
14418
14357
  proto.clarifai.api.V2PromiseClient.prototype.postAuditLogSearches =
@@ -6913,80 +6913,6 @@ export namespace PostWorkflowResultsResponse {
6913
6913
  }
6914
6914
  }
6915
6915
 
6916
- export class PostWorkflowResultsSimilarityRequest extends jspb.Message {
6917
- getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
6918
- setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): PostWorkflowResultsSimilarityRequest;
6919
- hasUserAppId(): boolean;
6920
- clearUserAppId(): PostWorkflowResultsSimilarityRequest;
6921
-
6922
- getWorkflowId(): string;
6923
- setWorkflowId(value: string): PostWorkflowResultsSimilarityRequest;
6924
-
6925
- getVersionId(): string;
6926
- setVersionId(value: string): PostWorkflowResultsSimilarityRequest;
6927
-
6928
- getModelVersionId(): string;
6929
- setModelVersionId(value: string): PostWorkflowResultsSimilarityRequest;
6930
-
6931
- getProbeInputsList(): Array<proto_clarifai_api_resources_pb.Input>;
6932
- setProbeInputsList(value: Array<proto_clarifai_api_resources_pb.Input>): PostWorkflowResultsSimilarityRequest;
6933
- clearProbeInputsList(): PostWorkflowResultsSimilarityRequest;
6934
- addProbeInputs(value?: proto_clarifai_api_resources_pb.Input, index?: number): proto_clarifai_api_resources_pb.Input;
6935
-
6936
- getPoolInputsList(): Array<proto_clarifai_api_resources_pb.Input>;
6937
- setPoolInputsList(value: Array<proto_clarifai_api_resources_pb.Input>): PostWorkflowResultsSimilarityRequest;
6938
- clearPoolInputsList(): PostWorkflowResultsSimilarityRequest;
6939
- addPoolInputs(value?: proto_clarifai_api_resources_pb.Input, index?: number): proto_clarifai_api_resources_pb.Input;
6940
-
6941
- getFavorClarifaiWorkflows(): boolean;
6942
- setFavorClarifaiWorkflows(value: boolean): PostWorkflowResultsSimilarityRequest;
6943
-
6944
- serializeBinary(): Uint8Array;
6945
- toObject(includeInstance?: boolean): PostWorkflowResultsSimilarityRequest.AsObject;
6946
- static toObject(includeInstance: boolean, msg: PostWorkflowResultsSimilarityRequest): PostWorkflowResultsSimilarityRequest.AsObject;
6947
- static serializeBinaryToWriter(message: PostWorkflowResultsSimilarityRequest, writer: jspb.BinaryWriter): void;
6948
- static deserializeBinary(bytes: Uint8Array): PostWorkflowResultsSimilarityRequest;
6949
- static deserializeBinaryFromReader(message: PostWorkflowResultsSimilarityRequest, reader: jspb.BinaryReader): PostWorkflowResultsSimilarityRequest;
6950
- }
6951
-
6952
- export namespace PostWorkflowResultsSimilarityRequest {
6953
- export type AsObject = {
6954
- userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
6955
- workflowId: string,
6956
- versionId: string,
6957
- modelVersionId: string,
6958
- probeInputsList: Array<proto_clarifai_api_resources_pb.Input.AsObject>,
6959
- poolInputsList: Array<proto_clarifai_api_resources_pb.Input.AsObject>,
6960
- favorClarifaiWorkflows: boolean,
6961
- }
6962
- }
6963
-
6964
- export class PostWorkflowResultsSimilarityResponse extends jspb.Message {
6965
- getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
6966
- setStatus(value?: proto_clarifai_api_status_status_pb.Status): PostWorkflowResultsSimilarityResponse;
6967
- hasStatus(): boolean;
6968
- clearStatus(): PostWorkflowResultsSimilarityResponse;
6969
-
6970
- getResultsList(): Array<proto_clarifai_api_resources_pb.WorkflowResultsSimilarity>;
6971
- setResultsList(value: Array<proto_clarifai_api_resources_pb.WorkflowResultsSimilarity>): PostWorkflowResultsSimilarityResponse;
6972
- clearResultsList(): PostWorkflowResultsSimilarityResponse;
6973
- addResults(value?: proto_clarifai_api_resources_pb.WorkflowResultsSimilarity, index?: number): proto_clarifai_api_resources_pb.WorkflowResultsSimilarity;
6974
-
6975
- serializeBinary(): Uint8Array;
6976
- toObject(includeInstance?: boolean): PostWorkflowResultsSimilarityResponse.AsObject;
6977
- static toObject(includeInstance: boolean, msg: PostWorkflowResultsSimilarityResponse): PostWorkflowResultsSimilarityResponse.AsObject;
6978
- static serializeBinaryToWriter(message: PostWorkflowResultsSimilarityResponse, writer: jspb.BinaryWriter): void;
6979
- static deserializeBinary(bytes: Uint8Array): PostWorkflowResultsSimilarityResponse;
6980
- static deserializeBinaryFromReader(message: PostWorkflowResultsSimilarityResponse, reader: jspb.BinaryReader): PostWorkflowResultsSimilarityResponse;
6981
- }
6982
-
6983
- export namespace PostWorkflowResultsSimilarityResponse {
6984
- export type AsObject = {
6985
- status?: proto_clarifai_api_status_status_pb.Status.AsObject,
6986
- resultsList: Array<proto_clarifai_api_resources_pb.WorkflowResultsSimilarity.AsObject>,
6987
- }
6988
- }
6989
-
6990
6916
  export class ListWorkflowVersionsRequest extends jspb.Message {
6991
6917
  getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
6992
6918
  setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): ListWorkflowVersionsRequest;
@@ -10752,10 +10678,10 @@ export class PostAuditLogSearchesRequest extends jspb.Message {
10752
10678
  hasUserAppId(): boolean;
10753
10679
  clearUserAppId(): PostAuditLogSearchesRequest;
10754
10680
 
10755
- getAuditLogQuery(): proto_clarifai_api_resources_pb.AuditLogQuery | undefined;
10756
- setAuditLogQuery(value?: proto_clarifai_api_resources_pb.AuditLogQuery): PostAuditLogSearchesRequest;
10757
- hasAuditLogQuery(): boolean;
10758
- clearAuditLogQuery(): PostAuditLogSearchesRequest;
10681
+ getQuery(): proto_clarifai_api_resources_pb.AuditLogQuery | undefined;
10682
+ setQuery(value?: proto_clarifai_api_resources_pb.AuditLogQuery): PostAuditLogSearchesRequest;
10683
+ hasQuery(): boolean;
10684
+ clearQuery(): PostAuditLogSearchesRequest;
10759
10685
 
10760
10686
  getSortAscending(): boolean;
10761
10687
  setSortAscending(value: boolean): PostAuditLogSearchesRequest;
@@ -10776,32 +10702,32 @@ export class PostAuditLogSearchesRequest extends jspb.Message {
10776
10702
  export namespace PostAuditLogSearchesRequest {
10777
10703
  export type AsObject = {
10778
10704
  userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
10779
- auditLogQuery?: proto_clarifai_api_resources_pb.AuditLogQuery.AsObject,
10705
+ query?: proto_clarifai_api_resources_pb.AuditLogQuery.AsObject,
10780
10706
  sortAscending: boolean,
10781
10707
  pagination?: Pagination.AsObject,
10782
10708
  }
10783
10709
  }
10784
10710
 
10785
- export class MultiAuditLogSearchResponse extends jspb.Message {
10711
+ export class MultiAuditLogEntryResponse extends jspb.Message {
10786
10712
  getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
10787
- setStatus(value?: proto_clarifai_api_status_status_pb.Status): MultiAuditLogSearchResponse;
10713
+ setStatus(value?: proto_clarifai_api_status_status_pb.Status): MultiAuditLogEntryResponse;
10788
10714
  hasStatus(): boolean;
10789
- clearStatus(): MultiAuditLogSearchResponse;
10715
+ clearStatus(): MultiAuditLogEntryResponse;
10790
10716
 
10791
10717
  getEntriesList(): Array<proto_clarifai_api_resources_pb.AuditLogEntry>;
10792
- setEntriesList(value: Array<proto_clarifai_api_resources_pb.AuditLogEntry>): MultiAuditLogSearchResponse;
10793
- clearEntriesList(): MultiAuditLogSearchResponse;
10718
+ setEntriesList(value: Array<proto_clarifai_api_resources_pb.AuditLogEntry>): MultiAuditLogEntryResponse;
10719
+ clearEntriesList(): MultiAuditLogEntryResponse;
10794
10720
  addEntries(value?: proto_clarifai_api_resources_pb.AuditLogEntry, index?: number): proto_clarifai_api_resources_pb.AuditLogEntry;
10795
10721
 
10796
10722
  serializeBinary(): Uint8Array;
10797
- toObject(includeInstance?: boolean): MultiAuditLogSearchResponse.AsObject;
10798
- static toObject(includeInstance: boolean, msg: MultiAuditLogSearchResponse): MultiAuditLogSearchResponse.AsObject;
10799
- static serializeBinaryToWriter(message: MultiAuditLogSearchResponse, writer: jspb.BinaryWriter): void;
10800
- static deserializeBinary(bytes: Uint8Array): MultiAuditLogSearchResponse;
10801
- static deserializeBinaryFromReader(message: MultiAuditLogSearchResponse, reader: jspb.BinaryReader): MultiAuditLogSearchResponse;
10723
+ toObject(includeInstance?: boolean): MultiAuditLogEntryResponse.AsObject;
10724
+ static toObject(includeInstance: boolean, msg: MultiAuditLogEntryResponse): MultiAuditLogEntryResponse.AsObject;
10725
+ static serializeBinaryToWriter(message: MultiAuditLogEntryResponse, writer: jspb.BinaryWriter): void;
10726
+ static deserializeBinary(bytes: Uint8Array): MultiAuditLogEntryResponse;
10727
+ static deserializeBinaryFromReader(message: MultiAuditLogEntryResponse, reader: jspb.BinaryReader): MultiAuditLogEntryResponse;
10802
10728
  }
10803
10729
 
10804
- export namespace MultiAuditLogSearchResponse {
10730
+ export namespace MultiAuditLogEntryResponse {
10805
10731
  export type AsObject = {
10806
10732
  status?: proto_clarifai_api_status_status_pb.Status.AsObject,
10807
10733
  entriesList: Array<proto_clarifai_api_resources_pb.AuditLogEntry.AsObject>,