clarifai-web-grpc 10.7.1 → 10.8.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 +1052 -4
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +502 -1
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +3 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +1052 -4
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +502 -1
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +3 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +177 -2
- package/proto/clarifai/api/resources_pb.js +1321 -4
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +12 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +61 -0
- package/proto/clarifai/api/service_pb.d.ts +74 -0
- package/proto/clarifai/api/service_pb.js +629 -1
- package/proto/clarifai/auth/scope/scope_pb.d.ts +2 -0
- package/proto/clarifai/auth/scope/scope_pb.js +3 -1
|
@@ -1645,6 +1645,13 @@ export class V2Client {
|
|
|
1645
1645
|
response: proto_clarifai_api_status_status_pb.BaseResponse) => void
|
|
1646
1646
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
1647
1647
|
|
|
1648
|
+
postAuditLogSearches(
|
|
1649
|
+
request: proto_clarifai_api_service_pb.PostAuditLogSearchesRequest,
|
|
1650
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1651
|
+
callback: (err: grpcWeb.RpcError,
|
|
1652
|
+
response: proto_clarifai_api_service_pb.MultiAuditLogSearchResponse) => void
|
|
1653
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiAuditLogSearchResponse>;
|
|
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_status_status_pb.BaseResponse>;
|
|
2824
2831
|
|
|
2832
|
+
postAuditLogSearches(
|
|
2833
|
+
request: proto_clarifai_api_service_pb.PostAuditLogSearchesRequest,
|
|
2834
|
+
metadata?: grpcWeb.Metadata
|
|
2835
|
+
): Promise<proto_clarifai_api_service_pb.MultiAuditLogSearchResponse>;
|
|
2836
|
+
|
|
2825
2837
|
}
|
|
2826
2838
|
|
|
@@ -14364,5 +14364,66 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteDeployments =
|
|
|
14364
14364
|
};
|
|
14365
14365
|
|
|
14366
14366
|
|
|
14367
|
+
/**
|
|
14368
|
+
* @const
|
|
14369
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
14370
|
+
* !proto.clarifai.api.PostAuditLogSearchesRequest,
|
|
14371
|
+
* !proto.clarifai.api.MultiAuditLogSearchResponse>}
|
|
14372
|
+
*/
|
|
14373
|
+
const methodDescriptor_V2_PostAuditLogSearches = new grpc.web.MethodDescriptor(
|
|
14374
|
+
'/clarifai.api.V2/PostAuditLogSearches',
|
|
14375
|
+
grpc.web.MethodType.UNARY,
|
|
14376
|
+
proto.clarifai.api.PostAuditLogSearchesRequest,
|
|
14377
|
+
proto.clarifai.api.MultiAuditLogSearchResponse,
|
|
14378
|
+
/**
|
|
14379
|
+
* @param {!proto.clarifai.api.PostAuditLogSearchesRequest} request
|
|
14380
|
+
* @return {!Uint8Array}
|
|
14381
|
+
*/
|
|
14382
|
+
function(request) {
|
|
14383
|
+
return request.serializeBinary();
|
|
14384
|
+
},
|
|
14385
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.deserializeBinary
|
|
14386
|
+
);
|
|
14387
|
+
|
|
14388
|
+
|
|
14389
|
+
/**
|
|
14390
|
+
* @param {!proto.clarifai.api.PostAuditLogSearchesRequest} 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.MultiAuditLogSearchResponse)}
|
|
14395
|
+
* callback The callback function(error, response)
|
|
14396
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAuditLogSearchResponse>|undefined}
|
|
14397
|
+
* The XHR Node Readable Stream
|
|
14398
|
+
*/
|
|
14399
|
+
proto.clarifai.api.V2Client.prototype.postAuditLogSearches =
|
|
14400
|
+
function(request, metadata, callback) {
|
|
14401
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
14402
|
+
'/clarifai.api.V2/PostAuditLogSearches',
|
|
14403
|
+
request,
|
|
14404
|
+
metadata || {},
|
|
14405
|
+
methodDescriptor_V2_PostAuditLogSearches,
|
|
14406
|
+
callback);
|
|
14407
|
+
};
|
|
14408
|
+
|
|
14409
|
+
|
|
14410
|
+
/**
|
|
14411
|
+
* @param {!proto.clarifai.api.PostAuditLogSearchesRequest} request The
|
|
14412
|
+
* request proto
|
|
14413
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
14414
|
+
* call metadata
|
|
14415
|
+
* @return {!Promise<!proto.clarifai.api.MultiAuditLogSearchResponse>}
|
|
14416
|
+
* Promise that resolves to the response
|
|
14417
|
+
*/
|
|
14418
|
+
proto.clarifai.api.V2PromiseClient.prototype.postAuditLogSearches =
|
|
14419
|
+
function(request, metadata) {
|
|
14420
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
14421
|
+
'/clarifai.api.V2/PostAuditLogSearches',
|
|
14422
|
+
request,
|
|
14423
|
+
metadata || {},
|
|
14424
|
+
methodDescriptor_V2_PostAuditLogSearches);
|
|
14425
|
+
};
|
|
14426
|
+
|
|
14427
|
+
|
|
14367
14428
|
module.exports = proto.clarifai.api;
|
|
14368
14429
|
|
|
@@ -3466,6 +3466,15 @@ export class ListModelsRequest extends jspb.Message {
|
|
|
3466
3466
|
clearModelVersionIdsList(): ListModelsRequest;
|
|
3467
3467
|
addModelVersionIds(value: string, index?: number): ListModelsRequest;
|
|
3468
3468
|
|
|
3469
|
+
getLicenseType(): proto_clarifai_api_resources_pb.LicenseType;
|
|
3470
|
+
setLicenseType(value: proto_clarifai_api_resources_pb.LicenseType): ListModelsRequest;
|
|
3471
|
+
|
|
3472
|
+
getSource(): number;
|
|
3473
|
+
setSource(value: number): ListModelsRequest;
|
|
3474
|
+
|
|
3475
|
+
getCreator(): string;
|
|
3476
|
+
setCreator(value: string): ListModelsRequest;
|
|
3477
|
+
|
|
3469
3478
|
getSortByCase(): ListModelsRequest.SortByCase;
|
|
3470
3479
|
|
|
3471
3480
|
serializeBinary(): Uint8Array;
|
|
@@ -3505,6 +3514,9 @@ export namespace ListModelsRequest {
|
|
|
3505
3514
|
name: string,
|
|
3506
3515
|
filterByUserId: boolean,
|
|
3507
3516
|
modelVersionIdsList: Array<string>,
|
|
3517
|
+
licenseType: proto_clarifai_api_resources_pb.LicenseType,
|
|
3518
|
+
source: number,
|
|
3519
|
+
creator: string,
|
|
3508
3520
|
}
|
|
3509
3521
|
|
|
3510
3522
|
export enum SortByCase {
|
|
@@ -10734,6 +10746,68 @@ export namespace DeleteDeploymentsRequest {
|
|
|
10734
10746
|
}
|
|
10735
10747
|
}
|
|
10736
10748
|
|
|
10749
|
+
export class PostAuditLogSearchesRequest extends jspb.Message {
|
|
10750
|
+
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
10751
|
+
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): PostAuditLogSearchesRequest;
|
|
10752
|
+
hasUserAppId(): boolean;
|
|
10753
|
+
clearUserAppId(): PostAuditLogSearchesRequest;
|
|
10754
|
+
|
|
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;
|
|
10759
|
+
|
|
10760
|
+
getSortAscending(): boolean;
|
|
10761
|
+
setSortAscending(value: boolean): PostAuditLogSearchesRequest;
|
|
10762
|
+
|
|
10763
|
+
getPagination(): Pagination | undefined;
|
|
10764
|
+
setPagination(value?: Pagination): PostAuditLogSearchesRequest;
|
|
10765
|
+
hasPagination(): boolean;
|
|
10766
|
+
clearPagination(): PostAuditLogSearchesRequest;
|
|
10767
|
+
|
|
10768
|
+
serializeBinary(): Uint8Array;
|
|
10769
|
+
toObject(includeInstance?: boolean): PostAuditLogSearchesRequest.AsObject;
|
|
10770
|
+
static toObject(includeInstance: boolean, msg: PostAuditLogSearchesRequest): PostAuditLogSearchesRequest.AsObject;
|
|
10771
|
+
static serializeBinaryToWriter(message: PostAuditLogSearchesRequest, writer: jspb.BinaryWriter): void;
|
|
10772
|
+
static deserializeBinary(bytes: Uint8Array): PostAuditLogSearchesRequest;
|
|
10773
|
+
static deserializeBinaryFromReader(message: PostAuditLogSearchesRequest, reader: jspb.BinaryReader): PostAuditLogSearchesRequest;
|
|
10774
|
+
}
|
|
10775
|
+
|
|
10776
|
+
export namespace PostAuditLogSearchesRequest {
|
|
10777
|
+
export type AsObject = {
|
|
10778
|
+
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
10779
|
+
auditLogQuery?: proto_clarifai_api_resources_pb.AuditLogQuery.AsObject,
|
|
10780
|
+
sortAscending: boolean,
|
|
10781
|
+
pagination?: Pagination.AsObject,
|
|
10782
|
+
}
|
|
10783
|
+
}
|
|
10784
|
+
|
|
10785
|
+
export class MultiAuditLogSearchResponse extends jspb.Message {
|
|
10786
|
+
getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
|
|
10787
|
+
setStatus(value?: proto_clarifai_api_status_status_pb.Status): MultiAuditLogSearchResponse;
|
|
10788
|
+
hasStatus(): boolean;
|
|
10789
|
+
clearStatus(): MultiAuditLogSearchResponse;
|
|
10790
|
+
|
|
10791
|
+
getEntriesList(): Array<proto_clarifai_api_resources_pb.AuditLogEntry>;
|
|
10792
|
+
setEntriesList(value: Array<proto_clarifai_api_resources_pb.AuditLogEntry>): MultiAuditLogSearchResponse;
|
|
10793
|
+
clearEntriesList(): MultiAuditLogSearchResponse;
|
|
10794
|
+
addEntries(value?: proto_clarifai_api_resources_pb.AuditLogEntry, index?: number): proto_clarifai_api_resources_pb.AuditLogEntry;
|
|
10795
|
+
|
|
10796
|
+
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;
|
|
10802
|
+
}
|
|
10803
|
+
|
|
10804
|
+
export namespace MultiAuditLogSearchResponse {
|
|
10805
|
+
export type AsObject = {
|
|
10806
|
+
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
10807
|
+
entriesList: Array<proto_clarifai_api_resources_pb.AuditLogEntry.AsObject>,
|
|
10808
|
+
}
|
|
10809
|
+
}
|
|
10810
|
+
|
|
10737
10811
|
export class PatchDeploymentsRequest extends jspb.Message {
|
|
10738
10812
|
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
10739
10813
|
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): PatchDeploymentsRequest;
|