import _m0 from "protobufjs/minimal"; import { IError, QueryFilterRequest, RemoveReply } from "../../core/common"; export declare const protobufPackage = ""; export interface CommonProfileCreateReply { data: CommonProfileEntity | undefined; error: IError | undefined; } export interface CommonProfileReply { data: CommonProfileEntity | undefined; error: IError | undefined; } export interface CommonProfileQueryReply { items: CommonProfileEntity[]; totalItems: number; itemsPerPage: number; startIndex: number; error: IError | undefined; } export interface CommonProfileEntity { /** @tag(yaml:"visibility") */ visibility?: string | undefined; /** @tag(yaml:"workspaceId") */ workspaceId?: string | undefined; /** @tag(yaml:"linkerId") */ linkerId?: string | undefined; /** @tag(yaml:"parentId") */ parentId?: string | undefined; /** @tag(gorm:"primarykey;uniqueId;unique;not null;size:100;" yaml:"uniqueId") */ uniqueId: string; /** @tag(yaml:"userId") */ userId?: string | undefined; /** @tag( yaml:"firstName" ) */ firstName?: string | undefined; /** @tag( yaml:"lastName" ) */ lastName?: string | undefined; /** @tag( yaml:"phoneNumber" ) */ phoneNumber?: string | undefined; /** @tag( yaml:"email" ) */ email?: string | undefined; /** @tag( yaml:"company" ) */ company?: string | undefined; /** @tag( yaml:"street" ) */ street?: string | undefined; /** @tag( yaml:"houseNumber" ) */ houseNumber?: string | undefined; /** @tag( yaml:"zipCode" ) */ zipCode?: string | undefined; /** @tag( yaml:"city" ) */ city?: string | undefined; /** @tag( yaml:"gender" ) */ gender?: string | undefined; /** @tag(gorm:"type:int;name:rank") */ rank: number; /** @tag(gorm:"autoUpdateTime:nano") */ updated: number; /** @tag(gorm:"autoUpdateTime:nano") */ created: number; /** @tag(sql:"-") */ createdFormatted: string; /** @tag(sql:"-") */ updatedFormatted: string; } export declare const CommonProfileCreateReply: { encode(message: CommonProfileCreateReply, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CommonProfileCreateReply; fromJSON(object: any): CommonProfileCreateReply; toJSON(message: CommonProfileCreateReply): unknown; create]: never; }; error?: { message?: string; messageTranslated?: string; errors?: { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; }[]; httpCode?: number; } & { message?: string; messageTranslated?: string; errors?: { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; }[] & ({ location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; } & { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; } & { [K_1 in Exclude]: never; })[] & { [K_2 in Exclude]: never; }; httpCode?: number; } & { [K_3 in Exclude]: never; }; } & { [K_4 in Exclude]: never; }>(base?: I): CommonProfileCreateReply; fromPartial]: never; }; error?: { message?: string; messageTranslated?: string; errors?: { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; }[]; httpCode?: number; } & { message?: string; messageTranslated?: string; errors?: { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; }[] & ({ location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; } & { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; } & { [K_6 in Exclude]: never; })[] & { [K_7 in Exclude]: never; }; httpCode?: number; } & { [K_8 in Exclude]: never; }; } & { [K_9 in Exclude]: never; }>(object: I_1): CommonProfileCreateReply; }; export declare const CommonProfileReply: { encode(message: CommonProfileReply, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CommonProfileReply; fromJSON(object: any): CommonProfileReply; toJSON(message: CommonProfileReply): unknown; create]: never; }; error?: { message?: string; messageTranslated?: string; errors?: { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; }[]; httpCode?: number; } & { message?: string; messageTranslated?: string; errors?: { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; }[] & ({ location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; } & { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; } & { [K_1 in Exclude]: never; })[] & { [K_2 in Exclude]: never; }; httpCode?: number; } & { [K_3 in Exclude]: never; }; } & { [K_4 in Exclude]: never; }>(base?: I): CommonProfileReply; fromPartial]: never; }; error?: { message?: string; messageTranslated?: string; errors?: { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; }[]; httpCode?: number; } & { message?: string; messageTranslated?: string; errors?: { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; }[] & ({ location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; } & { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; } & { [K_6 in Exclude]: never; })[] & { [K_7 in Exclude]: never; }; httpCode?: number; } & { [K_8 in Exclude]: never; }; } & { [K_9 in Exclude]: never; }>(object: I_1): CommonProfileReply; }; export declare const CommonProfileQueryReply: { encode(message: CommonProfileQueryReply, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CommonProfileQueryReply; fromJSON(object: any): CommonProfileQueryReply; toJSON(message: CommonProfileQueryReply): unknown; create]: never; })[] & { [K_1 in Exclude]: never; }; totalItems?: number; itemsPerPage?: number; startIndex?: number; error?: { message?: string; messageTranslated?: string; errors?: { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; }[]; httpCode?: number; } & { message?: string; messageTranslated?: string; errors?: { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; }[] & ({ location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; } & { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; } & { [K_2 in Exclude]: never; })[] & { [K_3 in Exclude]: never; }; httpCode?: number; } & { [K_4 in Exclude]: never; }; } & { [K_5 in Exclude]: never; }>(base?: I): CommonProfileQueryReply; fromPartial]: never; })[] & { [K_7 in Exclude]: never; }; totalItems?: number; itemsPerPage?: number; startIndex?: number; error?: { message?: string; messageTranslated?: string; errors?: { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; }[]; httpCode?: number; } & { message?: string; messageTranslated?: string; errors?: { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; }[] & ({ location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; } & { location?: string; message?: string; messageTranslated?: string; errorParam?: string; type?: string; } & { [K_8 in Exclude]: never; })[] & { [K_9 in Exclude]: never; }; httpCode?: number; } & { [K_10 in Exclude]: never; }; } & { [K_11 in Exclude]: never; }>(object: I_1): CommonProfileQueryReply; }; export declare const CommonProfileEntity: { encode(message: CommonProfileEntity, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CommonProfileEntity; fromJSON(object: any): CommonProfileEntity; toJSON(message: CommonProfileEntity): unknown; create]: never; }>(base?: I): CommonProfileEntity; fromPartial]: never; }>(object: I_1): CommonProfileEntity; }; export interface CommonProfiles { CommonProfileActionCreate(request: CommonProfileEntity): Promise; CommonProfileActionUpdate(request: CommonProfileEntity): Promise; CommonProfileActionQuery(request: QueryFilterRequest): Promise; CommonProfileActionGetOne(request: QueryFilterRequest): Promise; CommonProfileActionRemove(request: QueryFilterRequest): Promise; } export declare class CommonProfilesClientImpl implements CommonProfiles { private readonly rpc; private readonly service; constructor(rpc: Rpc, opts?: { service?: string; }); CommonProfileActionCreate(request: CommonProfileEntity): Promise; CommonProfileActionUpdate(request: CommonProfileEntity): Promise; CommonProfileActionQuery(request: QueryFilterRequest): Promise; CommonProfileActionGetOne(request: QueryFilterRequest): Promise; CommonProfileActionRemove(request: QueryFilterRequest): Promise; } interface Rpc { request(service: string, method: string, data: Uint8Array): Promise; } type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export {};