Variable keystoreApiDefsConst

keystoreApiDefs: {
    createAuthToken: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): CreateAuthTokenRequest;
            encode(message: CreateAuthTokenRequest, writer?: Writer): Writer;
            fromJSON(object: any): CreateAuthTokenRequest;
            fromPartial<I>(object: I): CreateAuthTokenRequest;
            toJSON(message: CreateAuthTokenRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): Token;
            encode(message: Token, writer?: Writer): Writer;
            fromJSON(object: any): Token;
            fromPartial<I>(object: I): Token;
            toJSON(message: Token): unknown;
        };
    };
    createInvite: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): CreateInviteRequest;
            encode(message: CreateInviteRequest, writer?: Writer): Writer;
            fromJSON(object: any): CreateInviteRequest;
            fromPartial<I>(object: I): CreateInviteRequest;
            toJSON(message: CreateInviteRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): CreateInviteResponse;
            encode(message: CreateInviteResponse, writer?: Writer): Writer;
            fromJSON(object: any): CreateInviteResponse;
            fromPartial<I>(object: I): CreateInviteResponse;
            toJSON(message: CreateInviteResponse): unknown;
        };
    };
    decryptV1: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): DecryptV1Request;
            encode(message: DecryptV1Request, writer?: Writer): Writer;
            fromJSON(object: any): DecryptV1Request;
            fromPartial<I>(object: I): DecryptV1Request;
            toJSON(message: DecryptV1Request): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): DecryptResponse;
            encode(message: DecryptResponse, writer?: Writer): Writer;
            fromJSON(object: any): DecryptResponse;
            fromPartial<I>(object: I): DecryptResponse;
            toJSON(message: DecryptResponse): unknown;
        };
    };
    decryptV2: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): DecryptV2Request;
            encode(message: DecryptV2Request, writer?: Writer): Writer;
            fromJSON(object: any): DecryptV2Request;
            fromPartial<I>(object: I): DecryptV2Request;
            toJSON(message: DecryptV2Request): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): DecryptResponse;
            encode(message: DecryptResponse, writer?: Writer): Writer;
            fromJSON(object: any): DecryptResponse;
            fromPartial<I>(object: I): DecryptResponse;
            toJSON(message: DecryptResponse): unknown;
        };
    };
    encryptV1: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): EncryptV1Request;
            encode(message: EncryptV1Request, writer?: Writer): Writer;
            fromJSON(object: any): EncryptV1Request;
            fromPartial<I>(object: I): EncryptV1Request;
            toJSON(message: EncryptV1Request): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): EncryptResponse;
            encode(message: EncryptResponse, writer?: Writer): Writer;
            fromJSON(object: any): EncryptResponse;
            fromPartial<I>(object: I): EncryptResponse;
            toJSON(message: EncryptResponse): unknown;
        };
    };
    encryptV2: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): EncryptV2Request;
            encode(message: EncryptV2Request, writer?: Writer): Writer;
            fromJSON(object: any): EncryptV2Request;
            fromPartial<I>(object: I): EncryptV2Request;
            toJSON(message: EncryptV2Request): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): EncryptResponse;
            encode(message: EncryptResponse, writer?: Writer): Writer;
            fromJSON(object: any): EncryptResponse;
            fromPartial<I>(object: I): EncryptResponse;
            toJSON(message: EncryptResponse): unknown;
        };
    };
    getPrivateKeyBundle: {
        req: null;
        res: {
            decode(input: Uint8Array | Reader, length?: number): PrivateKeyBundleV1;
            encode(message: PrivateKeyBundleV1, writer?: Writer): Writer;
            fromJSON(object: any): PrivateKeyBundleV1;
            fromPartial<I>(object: I): PrivateKeyBundleV1;
            toJSON(message: PrivateKeyBundleV1): unknown;
        };
    };
    getPrivatePreferencesTopicIdentifier: {
        req: null;
        res: {
            decode(input: Uint8Array | Reader, length?: number): GetPrivatePreferencesTopicIdentifierResponse;
            encode(message: GetPrivatePreferencesTopicIdentifierResponse, writer?: Writer): Writer;
            fromJSON(object: any): GetPrivatePreferencesTopicIdentifierResponse;
            fromPartial<I>(object: I): GetPrivatePreferencesTopicIdentifierResponse;
            toJSON(message: GetPrivatePreferencesTopicIdentifierResponse): unknown;
        };
    };
    getPublicKeyBundle: {
        req: null;
        res: {
            decode(input: Uint8Array | Reader, length?: number): PublicKeyBundle;
            encode(message: PublicKeyBundle, writer?: Writer): Writer;
            fromJSON(object: any): PublicKeyBundle;
            fromPartial<I>(object: I): PublicKeyBundle;
            toJSON(message: PublicKeyBundle): unknown;
        };
    };
    getRefreshJob: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): GetRefreshJobRequest;
            encode(message: GetRefreshJobRequest, writer?: Writer): Writer;
            fromJSON(object: any): GetRefreshJobRequest;
            fromPartial<I>(object: I): GetRefreshJobRequest;
            toJSON(message: GetRefreshJobRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): GetRefreshJobResponse;
            encode(message: GetRefreshJobResponse, writer?: Writer): Writer;
            fromJSON(object: any): GetRefreshJobResponse;
            fromPartial<I>(object: I): GetRefreshJobResponse;
            toJSON(message: GetRefreshJobResponse): unknown;
        };
    };
    getV1Conversations: {
        req: null;
        res: {
            decode(input: Uint8Array | Reader, length?: number): GetConversationsResponse;
            encode(message: GetConversationsResponse, writer?: Writer): Writer;
            fromJSON(object: any): GetConversationsResponse;
            fromPartial<I>(object: I): GetConversationsResponse;
            toJSON(message: GetConversationsResponse): unknown;
        };
    };
    getV2ConversationHmacKeys: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): GetConversationHmacKeysRequest;
            encode(message: GetConversationHmacKeysRequest, writer?: Writer): Writer;
            fromJSON(object: any): GetConversationHmacKeysRequest;
            fromPartial<I>(object: I): GetConversationHmacKeysRequest;
            toJSON(message: GetConversationHmacKeysRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): GetConversationHmacKeysResponse;
            encode(message: GetConversationHmacKeysResponse, writer?: Writer): Writer;
            fromJSON(object: any): GetConversationHmacKeysResponse;
            fromPartial<I>(object: I): GetConversationHmacKeysResponse;
            toJSON(message: GetConversationHmacKeysResponse): unknown;
        };
    };
    getV2Conversations: {
        req: null;
        res: {
            decode(input: Uint8Array | Reader, length?: number): GetConversationsResponse;
            encode(message: GetConversationsResponse, writer?: Writer): Writer;
            fromJSON(object: any): GetConversationsResponse;
            fromPartial<I>(object: I): GetConversationsResponse;
            toJSON(message: GetConversationsResponse): unknown;
        };
    };
    saveInvites: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): SaveInvitesRequest;
            encode(message: SaveInvitesRequest, writer?: Writer): Writer;
            fromJSON(object: any): SaveInvitesRequest;
            fromPartial<I>(object: I): SaveInvitesRequest;
            toJSON(message: SaveInvitesRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): SaveInvitesResponse;
            encode(message: SaveInvitesResponse, writer?: Writer): Writer;
            fromJSON(object: any): SaveInvitesResponse;
            fromPartial<I>(object: I): SaveInvitesResponse;
            toJSON(message: SaveInvitesResponse): unknown;
        };
    };
    saveV1Conversations: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): SaveV1ConversationsRequest;
            encode(message: SaveV1ConversationsRequest, writer?: Writer): Writer;
            fromJSON(object: any): SaveV1ConversationsRequest;
            fromPartial<I>(object: I): SaveV1ConversationsRequest;
            toJSON(message: SaveV1ConversationsRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): SaveV1ConversationsResponse;
            encode(_: SaveV1ConversationsResponse, writer?: Writer): Writer;
            fromJSON(_: any): SaveV1ConversationsResponse;
            fromPartial<I>(_: I): SaveV1ConversationsResponse;
            toJSON(_: SaveV1ConversationsResponse): unknown;
        };
    };
    selfDecrypt: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): SelfDecryptRequest;
            encode(message: SelfDecryptRequest, writer?: Writer): Writer;
            fromJSON(object: any): SelfDecryptRequest;
            fromPartial<I>(object: I): SelfDecryptRequest;
            toJSON(message: SelfDecryptRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): DecryptResponse;
            encode(message: DecryptResponse, writer?: Writer): Writer;
            fromJSON(object: any): DecryptResponse;
            fromPartial<I>(object: I): DecryptResponse;
            toJSON(message: DecryptResponse): unknown;
        };
    };
    selfEncrypt: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): SelfEncryptRequest;
            encode(message: SelfEncryptRequest, writer?: Writer): Writer;
            fromJSON(object: any): SelfEncryptRequest;
            fromPartial<I>(object: I): SelfEncryptRequest;
            toJSON(message: SelfEncryptRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): SelfEncryptResponse;
            encode(message: SelfEncryptResponse, writer?: Writer): Writer;
            fromJSON(object: any): SelfEncryptResponse;
            fromPartial<I>(object: I): SelfEncryptResponse;
            toJSON(message: SelfEncryptResponse): unknown;
        };
    };
    setRefreshJob: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): SetRefeshJobRequest;
            encode(message: SetRefeshJobRequest, writer?: Writer): Writer;
            fromJSON(object: any): SetRefeshJobRequest;
            fromPartial<I>(object: I): SetRefeshJobRequest;
            toJSON(message: SetRefeshJobRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): SetRefreshJobResponse;
            encode(_: SetRefreshJobResponse, writer?: Writer): Writer;
            fromJSON(_: any): SetRefreshJobResponse;
            fromPartial<I>(_: I): SetRefreshJobResponse;
            toJSON(_: SetRefreshJobResponse): unknown;
        };
    };
    signDigest: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): SignDigestRequest;
            encode(message: SignDigestRequest, writer?: Writer): Writer;
            fromJSON(object: any): SignDigestRequest;
            fromPartial<I>(object: I): SignDigestRequest;
            toJSON(message: SignDigestRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): Signature;
            encode(message: Signature, writer?: Writer): Writer;
            fromJSON(object: any): Signature;
            fromPartial<I>(object: I): Signature;
            toJSON(message: Signature): unknown;
        };
    };
} = ...

Type declaration

  • createAuthToken: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): CreateAuthTokenRequest;
            encode(message: CreateAuthTokenRequest, writer?: Writer): Writer;
            fromJSON(object: any): CreateAuthTokenRequest;
            fromPartial<I>(object: I): CreateAuthTokenRequest;
            toJSON(message: CreateAuthTokenRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): Token;
            encode(message: Token, writer?: Writer): Writer;
            fromJSON(object: any): Token;
            fromPartial<I>(object: I): Token;
            toJSON(message: Token): unknown;
        };
    }

    Create an XMTP auth token to be used as a header on XMTP API requests

    • req: {
          decode(input: Uint8Array | Reader, length?: number): CreateAuthTokenRequest;
          encode(message: CreateAuthTokenRequest, writer?: Writer): Writer;
          fromJSON(object: any): CreateAuthTokenRequest;
          fromPartial<I>(object: I): CreateAuthTokenRequest;
          toJSON(message: CreateAuthTokenRequest): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns CreateAuthTokenRequest

      • encode:function
        • Parameters

          • message: CreateAuthTokenRequest
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns CreateAuthTokenRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                timestampNs?: string | number | Long;
            } & {
                timestampNs?: string | number | Long & {
                    add: ((addend: string | number | Long) => Long);
                    and: ((other: string | number | Long) => Long);
                    clz: (() => number);
                    comp: ((other: string | number | Long) => number);
                    compare: ((other: string | number | Long) => number);
                    countLeadingZeros: (() => number);
                    countTrailingZeros: (() => number);
                    ctz: (() => number);
                    div: ((divisor: string | number | Long) => Long);
                    divide: ((divisor: string | number | Long) => Long);
                    eq: ((other: string | number | Long) => boolean);
                    equals: ((other: string | number | Long) => boolean);
                    eqz: (() => boolean);
                    ge: ((other: string | number | Long) => boolean);
                    getHighBits: (() => number);
                    getHighBitsUnsigned: (() => number);
                    getLowBits: (() => number);
                    getLowBitsUnsigned: (() => number);
                    getNumBitsAbs: (() => number);
                    greaterThan: ((other: string | number | Long) => boolean);
                    greaterThanOrEqual: ((other: string | number | Long) => boolean);
                    gt: ((other: string | number | Long) => boolean);
                    gte: ((other: string | number | Long) => boolean);
                    high: number;
                    isEven: (() => boolean);
                    isNegative: (() => boolean);
                    isOdd: (() => boolean);
                    isPositive: (() => boolean);
                    isZero: (() => boolean);
                    le: ((other: string | number | Long) => boolean);
                    lessThan: ((other: string | number | Long) => boolean);
                    lessThanOrEqual: ((other: string | number | Long) => boolean);
                    low: number;
                    lt: ((other: string | number | Long) => boolean);
                    lte: ((other: string | number | Long) => boolean);
                    mod: ((other: string | number | Long) => Long);
                    modulo: ((other: string | number | Long) => Long);
                    mul: ((multiplier: string | number | Long) => Long);
                    multiply: ((multiplier: string | number | Long) => Long);
                    ne: ((other: string | number | Long) => boolean);
                    neg: (() => Long);
                    negate: (() => Long);
                    neq: ((other: string | number | Long) => boolean);
                    not: (() => Long);
                    notEquals: ((other: string | number | Long) => boolean);
                    or: ((other: string | number | Long) => Long);
                    rem: ((other: string | number | Long) => Long);
                    rotateLeft: ((numBits: number | Long) => Long);
                    rotateRight: ((numBits: number | Long) => Long);
                    rotl: ((numBits: number | Long) => Long);
                    rotr: ((numBits: number | Long) => Long);
                    shiftLeft: ((numBits: number | Long) => Long);
                    shiftRight: ((numBits: number | Long) => Long);
                    shiftRightUnsigned: ((numBits: number | Long) => Long);
                    shl: ((numBits: number | Long) => Long);
                    shr: ((numBits: number | Long) => Long);
                    shr_u: ((numBits: number | Long) => Long);
                    shru: ((numBits: number | Long) => Long);
                    sub: ((subtrahend: string | number | Long) => Long);
                    subtract: ((subtrahend: string | number | Long) => Long);
                    toBytes: ((le?: boolean) => number[]);
                    toBytesBE: (() => number[]);
                    toBytesLE: (() => number[]);
                    toInt: (() => number);
                    toNumber: (() => number);
                    toSigned: (() => Long);
                    toString: ((radix?: number) => string);
                    toUnsigned: (() => Long);
                    unsigned: boolean;
                    xor: ((other: string | number | Long) => Long);
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K_1 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns CreateAuthTokenRequest

      • toJSON:function
        • Parameters

          • message: CreateAuthTokenRequest

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): Token;
          encode(message: Token, writer?: Writer): Writer;
          fromJSON(object: any): Token;
          fromPartial<I>(object: I): Token;
          toJSON(message: Token): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns Token

      • encode:function
        • Parameters

          • message: Token
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns Token

      • fromPartial:function
        • Type Parameters

          • I extends {
                authDataBytes?: Uint8Array;
                authDataSignature?: {
                    ecdsaCompact?: {
                        bytes?: Uint8Array;
                        recovery?: number;
                    };
                    walletEcdsaCompact?: {
                        bytes?: Uint8Array;
                        recovery?: number;
                    };
                };
                identityKey?: {
                    secp256k1Uncompressed?: {
                        bytes?: Uint8Array;
                    };
                    signature?: {
                        ecdsaCompact?: {
                            bytes?: ...;
                            recovery?: ...;
                        };
                        walletEcdsaCompact?: {
                            bytes?: ...;
                            recovery?: ...;
                        };
                    };
                    timestamp?: string | number | Long;
                };
            } & {
                authDataBytes?: Uint8Array;
                authDataSignature?: {
                    ecdsaCompact?: {
                        bytes?: (...) | (...);
                        recovery?: (...) | (...);
                    };
                    walletEcdsaCompact?: {
                        bytes?: (...) | (...);
                        recovery?: (...) | (...);
                    };
                } & {
                    ecdsaCompact?: {
                        bytes?: ...;
                        recovery?: ...;
                    } & {
                        bytes?: ...;
                        recovery?: ...;
                    } & {
                        [K_6 in (...)]: (...)
                    };
                    walletEcdsaCompact?: {
                        bytes?: ...;
                        recovery?: ...;
                    } & {
                        bytes?: ...;
                        recovery?: ...;
                    } & {
                        [K_7 in (...)]: (...)
                    };
                } & {
                    [K_8 in string | number | symbol]: never
                };
                identityKey?: {
                    secp256k1Uncompressed?: {
                        bytes?: (...) | (...);
                    };
                    signature?: {
                        ecdsaCompact?: (...) | (...);
                        walletEcdsaCompact?: (...) | (...);
                    };
                    timestamp?: string | number | Long;
                } & {
                    secp256k1Uncompressed?: {
                        bytes?: ...;
                    } & {
                        bytes?: ...;
                    } & {
                        [K_4 in (...)]: (...)
                    };
                    signature?: {
                        ecdsaCompact?: ...;
                        walletEcdsaCompact?: ...;
                    } & {
                        ecdsaCompact?: ...;
                        walletEcdsaCompact?: ...;
                    } & {
                        [K_3 in (...)]: (...)
                    };
                    timestamp?: string | number | Long & {
                        add: ...;
                        and: ...;
                        clz: ...;
                        comp: ...;
                        compare: ...;
                        countLeadingZeros: ...;
                        countTrailingZeros: ...;
                        ctz: ...;
                        div: ...;
                        divide: ...;
                        eq: ...;
                        equals: ...;
                        eqz: ...;
                        ge: ...;
                        getHighBits: ...;
                        getHighBitsUnsigned: ...;
                        getLowBits: ...;
                        getLowBitsUnsigned: ...;
                        getNumBitsAbs: ...;
                        greaterThan: ...;
                        greaterThanOrEqual: ...;
                        gt: ...;
                        gte: ...;
                        high: ...;
                        isEven: ...;
                        isNegative: ...;
                        isOdd: ...;
                        isPositive: ...;
                        isZero: ...;
                        le: ...;
                        lessThan: ...;
                        lessThanOrEqual: ...;
                        low: ...;
                        lt: ...;
                        lte: ...;
                        mod: ...;
                        modulo: ...;
                        mul: ...;
                        multiply: ...;
                        ne: ...;
                        neg: ...;
                        negate: ...;
                        neq: ...;
                        not: ...;
                        notEquals: ...;
                        or: ...;
                        rem: ...;
                        rotateLeft: ...;
                        rotateRight: ...;
                        rotl: ...;
                        rotr: ...;
                        shiftLeft: ...;
                        shiftRight: ...;
                        shiftRightUnsigned: ...;
                        shl: ...;
                        shr: ...;
                        shr_u: ...;
                        shru: ...;
                        sub: ...;
                        subtract: ...;
                        toBytes: ...;
                        toBytesBE: ...;
                        toBytesLE: ...;
                        toInt: ...;
                        toNumber: ...;
                        toSigned: ...;
                        toString: ...;
                        toUnsigned: ...;
                        unsigned: ...;
                        xor: ...;
                    } & {
                        [K in (...)]: (...)
                    };
                } & {
                    [K_5 in string | number | symbol]: never
                };
            } & {
                [K_9 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns Token

      • toJSON:function
        • Parameters

          • message: Token

          Returns unknown

  • createInvite: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): CreateInviteRequest;
            encode(message: CreateInviteRequest, writer?: Writer): Writer;
            fromJSON(object: any): CreateInviteRequest;
            fromPartial<I>(object: I): CreateInviteRequest;
            toJSON(message: CreateInviteRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): CreateInviteResponse;
            encode(message: CreateInviteResponse, writer?: Writer): Writer;
            fromJSON(object: any): CreateInviteResponse;
            fromPartial<I>(object: I): CreateInviteResponse;
            toJSON(message: CreateInviteResponse): unknown;
        };
    }

    Create a sealed/encrypted invite and store the Topic keys in the Keystore for later use. The returned invite payload must be sent to the network for the other party to be able to communicate.

    • req: {
          decode(input: Uint8Array | Reader, length?: number): CreateInviteRequest;
          encode(message: CreateInviteRequest, writer?: Writer): Writer;
          fromJSON(object: any): CreateInviteRequest;
          fromPartial<I>(object: I): CreateInviteRequest;
          toJSON(message: CreateInviteRequest): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns CreateInviteRequest

      • encode:function
        • Parameters

          • message: CreateInviteRequest
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns CreateInviteRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                consentProof?: {
                    payloadVersion?: ConsentProofPayloadVersion;
                    signature?: string;
                    timestamp?: string | number | Long;
                };
                context?: {
                    conversationId?: string;
                    metadata?: {
                        [x: string]: string | undefined;
                    };
                };
                createdNs?: string | number | Long;
                recipient?: {
                    identityKey?: {
                        keyBytes?: Uint8Array;
                        signature?: {
                            ecdsaCompact?: ...;
                            walletEcdsaCompact?: ...;
                        };
                    };
                    preKey?: {
                        keyBytes?: Uint8Array;
                        signature?: {
                            ecdsaCompact?: ...;
                            walletEcdsaCompact?: ...;
                        };
                    };
                };
            } & {
                consentProof?: {
                    payloadVersion?: ConsentProofPayloadVersion;
                    signature?: string;
                    timestamp?: string | number | Long;
                } & {
                    payloadVersion?: ConsentProofPayloadVersion;
                    signature?: string;
                    timestamp?: string | number | Long & {
                        add: ...;
                        and: ...;
                        clz: ...;
                        comp: ...;
                        compare: ...;
                        countLeadingZeros: ...;
                        countTrailingZeros: ...;
                        ctz: ...;
                        div: ...;
                        divide: ...;
                        eq: ...;
                        equals: ...;
                        eqz: ...;
                        ge: ...;
                        getHighBits: ...;
                        getHighBitsUnsigned: ...;
                        getLowBits: ...;
                        getLowBitsUnsigned: ...;
                        getNumBitsAbs: ...;
                        greaterThan: ...;
                        greaterThanOrEqual: ...;
                        gt: ...;
                        gte: ...;
                        high: ...;
                        isEven: ...;
                        isNegative: ...;
                        isOdd: ...;
                        isPositive: ...;
                        isZero: ...;
                        le: ...;
                        lessThan: ...;
                        lessThanOrEqual: ...;
                        low: ...;
                        lt: ...;
                        lte: ...;
                        mod: ...;
                        modulo: ...;
                        mul: ...;
                        multiply: ...;
                        ne: ...;
                        neg: ...;
                        negate: ...;
                        neq: ...;
                        not: ...;
                        notEquals: ...;
                        or: ...;
                        rem: ...;
                        rotateLeft: ...;
                        rotateRight: ...;
                        rotl: ...;
                        rotr: ...;
                        shiftLeft: ...;
                        shiftRight: ...;
                        shiftRightUnsigned: ...;
                        shl: ...;
                        shr: ...;
                        shr_u: ...;
                        shru: ...;
                        sub: ...;
                        subtract: ...;
                        toBytes: ...;
                        toBytesBE: ...;
                        toBytesLE: ...;
                        toInt: ...;
                        toNumber: ...;
                        toSigned: ...;
                        toString: ...;
                        toUnsigned: ...;
                        unsigned: ...;
                        xor: ...;
                    } & {
                        [K_12 in (...)]: (...)
                    };
                } & {
                    [K_13 in string | number | symbol]: never
                };
                context?: {
                    conversationId?: string;
                    metadata?: {
                        [x: string]: (...) | (...);
                    };
                } & {
                    conversationId?: string;
                    metadata?: {
                        [x: ...]: ...;
                    } & {
                        [x: ...]: ...;
                    } & {
                        [K in (...)]: (...)
                    };
                } & {
                    [K_1 in string | number | symbol]: never
                };
                createdNs?: string | number | Long & {
                    add: ((addend: string | number | Long) => Long);
                    and: ((other: string | number | Long) => Long);
                    clz: (() => number);
                    comp: ((other: string | number | Long) => number);
                    compare: ((other: string | number | Long) => number);
                    countLeadingZeros: (() => number);
                    countTrailingZeros: (() => number);
                    ctz: (() => number);
                    div: ((divisor: string | number | Long) => Long);
                    divide: ((divisor: string | number | Long) => Long);
                    eq: ((other: string | number | Long) => boolean);
                    equals: ((other: string | number | Long) => boolean);
                    eqz: (() => boolean);
                    ge: ((other: string | number | Long) => boolean);
                    getHighBits: (() => number);
                    getHighBitsUnsigned: (() => number);
                    getLowBits: (() => number);
                    getLowBitsUnsigned: (() => number);
                    getNumBitsAbs: (() => number);
                    greaterThan: ((other: string | number | Long) => boolean);
                    greaterThanOrEqual: ((other: string | number | Long) => boolean);
                    gt: ((other: string | number | Long) => boolean);
                    gte: ((other: string | number | Long) => boolean);
                    high: number;
                    isEven: (() => boolean);
                    isNegative: (() => boolean);
                    isOdd: (() => boolean);
                    isPositive: (() => boolean);
                    isZero: (() => boolean);
                    le: ((other: string | number | Long) => boolean);
                    lessThan: ((other: string | number | Long) => boolean);
                    lessThanOrEqual: ((other: string | number | Long) => boolean);
                    low: number;
                    lt: ((other: string | number | Long) => boolean);
                    lte: ((other: string | number | Long) => boolean);
                    mod: ((other: string | number | Long) => Long);
                    modulo: ((other: string | number | Long) => Long);
                    mul: ((multiplier: string | number | Long) => Long);
                    multiply: ((multiplier: string | number | Long) => Long);
                    ne: ((other: string | number | Long) => boolean);
                    neg: (() => Long);
                    negate: (() => Long);
                    neq: ((other: string | number | Long) => boolean);
                    not: (() => Long);
                    notEquals: ((other: string | number | Long) => boolean);
                    or: ((other: string | number | Long) => Long);
                    rem: ((other: string | number | Long) => Long);
                    rotateLeft: ((numBits: number | Long) => Long);
                    rotateRight: ((numBits: number | Long) => Long);
                    rotl: ((numBits: number | Long) => Long);
                    rotr: ((numBits: number | Long) => Long);
                    shiftLeft: ((numBits: number | Long) => Long);
                    shiftRight: ((numBits: number | Long) => Long);
                    shiftRightUnsigned: ((numBits: number | Long) => Long);
                    shl: ((numBits: number | Long) => Long);
                    shr: ((numBits: number | Long) => Long);
                    shr_u: ((numBits: number | Long) => Long);
                    shru: ((numBits: number | Long) => Long);
                    sub: ((subtrahend: string | number | Long) => Long);
                    subtract: ((subtrahend: string | number | Long) => Long);
                    toBytes: ((le?: boolean) => number[]);
                    toBytesBE: (() => number[]);
                    toBytesLE: (() => number[]);
                    toInt: (() => number);
                    toNumber: (() => number);
                    toSigned: (() => Long);
                    toString: ((radix?: number) => string);
                    toUnsigned: (() => Long);
                    unsigned: boolean;
                    xor: ((other: string | number | Long) => Long);
                } & {
                    [K_11 in string | number | symbol]: never
                };
                recipient?: {
                    identityKey?: {
                        keyBytes?: (...) | (...);
                        signature?: (...) | (...);
                    };
                    preKey?: {
                        keyBytes?: (...) | (...);
                        signature?: (...) | (...);
                    };
                } & {
                    identityKey?: {
                        keyBytes?: ...;
                        signature?: ...;
                    } & {
                        keyBytes?: ...;
                        signature?: ...;
                    } & {
                        [K_5 in (...)]: (...)
                    };
                    preKey?: {
                        keyBytes?: ...;
                        signature?: ...;
                    } & {
                        keyBytes?: ...;
                        signature?: ...;
                    } & {
                        [K_9 in (...)]: (...)
                    };
                } & {
                    [K_10 in string | number | symbol]: never
                };
            } & {
                [K_14 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns CreateInviteRequest

      • toJSON:function
        • Parameters

          • message: CreateInviteRequest

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): CreateInviteResponse;
          encode(message: CreateInviteResponse, writer?: Writer): Writer;
          fromJSON(object: any): CreateInviteResponse;
          fromPartial<I>(object: I): CreateInviteResponse;
          toJSON(message: CreateInviteResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns CreateInviteResponse

      • encode:function
        • Parameters

          • message: CreateInviteResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns CreateInviteResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                conversation?: {
                    consentProofPayload?: {
                        payloadVersion?: ConsentProofPayloadVersion;
                        signature?: string;
                        timestamp?: string | number | Long;
                    };
                    context?: {
                        conversationId?: string;
                        metadata?: {
                            [x: ...]: ...;
                        };
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                };
                payload?: Uint8Array;
            } & {
                conversation?: {
                    consentProofPayload?: {
                        payloadVersion?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    context?: {
                        conversationId?: (...) | (...);
                        metadata?: (...) | (...);
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                } & {
                    consentProofPayload?: {
                        payloadVersion?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    } & {
                        payloadVersion?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    } & {
                        [K_4 in (...)]: (...)
                    };
                    context?: {
                        conversationId?: ...;
                        metadata?: ...;
                    } & {
                        conversationId?: ...;
                        metadata?: ...;
                    } & {
                        [K_2 in (...)]: (...)
                    };
                    createdNs?: string | number | Long & {
                        add: ...;
                        and: ...;
                        clz: ...;
                        comp: ...;
                        compare: ...;
                        countLeadingZeros: ...;
                        countTrailingZeros: ...;
                        ctz: ...;
                        div: ...;
                        divide: ...;
                        eq: ...;
                        equals: ...;
                        eqz: ...;
                        ge: ...;
                        getHighBits: ...;
                        getHighBitsUnsigned: ...;
                        getLowBits: ...;
                        getLowBitsUnsigned: ...;
                        getNumBitsAbs: ...;
                        greaterThan: ...;
                        greaterThanOrEqual: ...;
                        gt: ...;
                        gte: ...;
                        high: ...;
                        isEven: ...;
                        isNegative: ...;
                        isOdd: ...;
                        isPositive: ...;
                        isZero: ...;
                        le: ...;
                        lessThan: ...;
                        lessThanOrEqual: ...;
                        low: ...;
                        lt: ...;
                        lte: ...;
                        mod: ...;
                        modulo: ...;
                        mul: ...;
                        multiply: ...;
                        ne: ...;
                        neg: ...;
                        negate: ...;
                        neq: ...;
                        not: ...;
                        notEquals: ...;
                        or: ...;
                        rem: ...;
                        rotateLeft: ...;
                        rotateRight: ...;
                        rotl: ...;
                        rotr: ...;
                        shiftLeft: ...;
                        shiftRight: ...;
                        shiftRightUnsigned: ...;
                        shl: ...;
                        shr: ...;
                        shr_u: ...;
                        shru: ...;
                        sub: ...;
                        subtract: ...;
                        toBytes: ...;
                        toBytesBE: ...;
                        toBytesLE: ...;
                        toInt: ...;
                        toNumber: ...;
                        toSigned: ...;
                        toString: ...;
                        toUnsigned: ...;
                        unsigned: ...;
                        xor: ...;
                    } & {
                        [K in (...)]: (...)
                    };
                    peerAddress?: string;
                    topic?: string;
                } & {
                    [K_5 in string | number | symbol]: never
                };
                payload?: Uint8Array;
            } & {
                [K_6 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns CreateInviteResponse

      • toJSON:function
        • Parameters

          • message: CreateInviteResponse

          Returns unknown

  • decryptV1: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): DecryptV1Request;
            encode(message: DecryptV1Request, writer?: Writer): Writer;
            fromJSON(object: any): DecryptV1Request;
            fromPartial<I>(object: I): DecryptV1Request;
            toJSON(message: DecryptV1Request): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): DecryptResponse;
            encode(message: DecryptResponse, writer?: Writer): Writer;
            fromJSON(object: any): DecryptResponse;
            fromPartial<I>(object: I): DecryptResponse;
            toJSON(message: DecryptResponse): unknown;
        };
    }

    Decrypt a batch of V1 messages

    • req: {
          decode(input: Uint8Array | Reader, length?: number): DecryptV1Request;
          encode(message: DecryptV1Request, writer?: Writer): Writer;
          fromJSON(object: any): DecryptV1Request;
          fromPartial<I>(object: I): DecryptV1Request;
          toJSON(message: DecryptV1Request): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns DecryptV1Request

      • encode:function
        • Parameters

          • message: DecryptV1Request
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns DecryptV1Request

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    headerBytes?: Uint8Array;
                    isSender?: boolean;
                    payload?: {
                        aes256GcmHkdfSha256?: (...) | (...);
                    };
                    peerKeys?: {
                        identityKey?: (...) | (...);
                        preKey?: (...) | (...);
                    };
                }[];
            } & {
                requests?: {
                    headerBytes?: Uint8Array;
                    isSender?: boolean;
                    payload?: {
                        aes256GcmHkdfSha256?: ...;
                    };
                    peerKeys?: {
                        identityKey?: ...;
                        preKey?: ...;
                    };
                }[] & ({
                    headerBytes?: (...) | (...);
                    isSender?: (...) | (...) | (...);
                    payload?: (...) | (...);
                    peerKeys?: (...) | (...);
                } & {
                    headerBytes?: (...) | (...);
                    isSender?: (...) | (...) | (...);
                    payload?: (...) | (...);
                    peerKeys?: (...) | (...);
                } & {
                    [K_15 in (...) | (...) | (...)]: never
                })[] & {
                    [K_16 in string | symbol]: never
                };
            } & {
                [K_17 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns DecryptV1Request

      • toJSON:function
        • Parameters

          • message: DecryptV1Request

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): DecryptResponse;
          encode(message: DecryptResponse, writer?: Writer): Writer;
          fromJSON(object: any): DecryptResponse;
          fromPartial<I>(object: I): DecryptResponse;
          toJSON(message: DecryptResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns DecryptResponse

      • encode:function
        • Parameters

          • message: DecryptResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns DecryptResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        decrypted?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        decrypted?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_2 in (...) | (...) | (...)]: never
                })[] & {
                    [K_3 in string | symbol]: never
                };
            } & {
                [K_4 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns DecryptResponse

      • toJSON:function
        • Parameters

          • message: DecryptResponse

          Returns unknown

  • decryptV2: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): DecryptV2Request;
            encode(message: DecryptV2Request, writer?: Writer): Writer;
            fromJSON(object: any): DecryptV2Request;
            fromPartial<I>(object: I): DecryptV2Request;
            toJSON(message: DecryptV2Request): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): DecryptResponse;
            encode(message: DecryptResponse, writer?: Writer): Writer;
            fromJSON(object: any): DecryptResponse;
            fromPartial<I>(object: I): DecryptResponse;
            toJSON(message: DecryptResponse): unknown;
        };
    }

    Decrypt a batch of V2 messages

    • req: {
          decode(input: Uint8Array | Reader, length?: number): DecryptV2Request;
          encode(message: DecryptV2Request, writer?: Writer): Writer;
          fromJSON(object: any): DecryptV2Request;
          fromPartial<I>(object: I): DecryptV2Request;
          toJSON(message: DecryptV2Request): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns DecryptV2Request

      • encode:function
        • Parameters

          • message: DecryptV2Request
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns DecryptV2Request

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    contentTopic?: string;
                    headerBytes?: Uint8Array;
                    payload?: {
                        aes256GcmHkdfSha256?: (...) | (...);
                    };
                }[];
            } & {
                requests?: {
                    contentTopic?: string;
                    headerBytes?: Uint8Array;
                    payload?: {
                        aes256GcmHkdfSha256?: ...;
                    };
                }[] & ({
                    contentTopic?: (...) | (...);
                    headerBytes?: (...) | (...);
                    payload?: (...) | (...);
                } & {
                    contentTopic?: (...) | (...);
                    headerBytes?: (...) | (...);
                    payload?: (...) | (...);
                } & {
                    [K_2 in (...) | (...) | (...)]: never
                })[] & {
                    [K_3 in string | symbol]: never
                };
            } & {
                [K_4 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns DecryptV2Request

      • toJSON:function
        • Parameters

          • message: DecryptV2Request

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): DecryptResponse;
          encode(message: DecryptResponse, writer?: Writer): Writer;
          fromJSON(object: any): DecryptResponse;
          fromPartial<I>(object: I): DecryptResponse;
          toJSON(message: DecryptResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns DecryptResponse

      • encode:function
        • Parameters

          • message: DecryptResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns DecryptResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        decrypted?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        decrypted?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_2 in (...) | (...) | (...)]: never
                })[] & {
                    [K_3 in string | symbol]: never
                };
            } & {
                [K_4 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns DecryptResponse

      • toJSON:function
        • Parameters

          • message: DecryptResponse

          Returns unknown

  • encryptV1: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): EncryptV1Request;
            encode(message: EncryptV1Request, writer?: Writer): Writer;
            fromJSON(object: any): EncryptV1Request;
            fromPartial<I>(object: I): EncryptV1Request;
            toJSON(message: EncryptV1Request): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): EncryptResponse;
            encode(message: EncryptResponse, writer?: Writer): Writer;
            fromJSON(object: any): EncryptResponse;
            fromPartial<I>(object: I): EncryptResponse;
            toJSON(message: EncryptResponse): unknown;
        };
    }

    Encrypt a batch of V1 messages

    • req: {
          decode(input: Uint8Array | Reader, length?: number): EncryptV1Request;
          encode(message: EncryptV1Request, writer?: Writer): Writer;
          fromJSON(object: any): EncryptV1Request;
          fromPartial<I>(object: I): EncryptV1Request;
          toJSON(message: EncryptV1Request): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns EncryptV1Request

      • encode:function
        • Parameters

          • message: EncryptV1Request
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns EncryptV1Request

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    headerBytes?: Uint8Array;
                    payload?: Uint8Array;
                    recipient?: {
                        identityKey?: (...) | (...);
                        preKey?: (...) | (...);
                    };
                }[];
            } & {
                requests?: {
                    headerBytes?: Uint8Array;
                    payload?: Uint8Array;
                    recipient?: {
                        identityKey?: ...;
                        preKey?: ...;
                    };
                }[] & ({
                    headerBytes?: (...) | (...);
                    payload?: (...) | (...);
                    recipient?: (...) | (...);
                } & {
                    headerBytes?: (...) | (...);
                    payload?: (...) | (...);
                    recipient?: (...) | (...);
                } & {
                    [K_13 in (...) | (...) | (...)]: never
                })[] & {
                    [K_14 in string | symbol]: never
                };
            } & {
                [K_15 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns EncryptV1Request

      • toJSON:function
        • Parameters

          • message: EncryptV1Request

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): EncryptResponse;
          encode(message: EncryptResponse, writer?: Writer): Writer;
          fromJSON(object: any): EncryptResponse;
          fromPartial<I>(object: I): EncryptResponse;
          toJSON(message: EncryptResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns EncryptResponse

      • encode:function
        • Parameters

          • message: EncryptResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns EncryptResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        encrypted?: (...) | (...);
                        senderHmac?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        encrypted?: ...;
                        senderHmac?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_4 in (...) | (...) | (...)]: never
                })[] & {
                    [K_5 in string | symbol]: never
                };
            } & {
                [K_6 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns EncryptResponse

      • toJSON:function
        • Parameters

          • message: EncryptResponse

          Returns unknown

  • encryptV2: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): EncryptV2Request;
            encode(message: EncryptV2Request, writer?: Writer): Writer;
            fromJSON(object: any): EncryptV2Request;
            fromPartial<I>(object: I): EncryptV2Request;
            toJSON(message: EncryptV2Request): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): EncryptResponse;
            encode(message: EncryptResponse, writer?: Writer): Writer;
            fromJSON(object: any): EncryptResponse;
            fromPartial<I>(object: I): EncryptResponse;
            toJSON(message: EncryptResponse): unknown;
        };
    }

    Encrypt a batch of V2 messages

    • req: {
          decode(input: Uint8Array | Reader, length?: number): EncryptV2Request;
          encode(message: EncryptV2Request, writer?: Writer): Writer;
          fromJSON(object: any): EncryptV2Request;
          fromPartial<I>(object: I): EncryptV2Request;
          toJSON(message: EncryptV2Request): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns EncryptV2Request

      • encode:function
        • Parameters

          • message: EncryptV2Request
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns EncryptV2Request

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    contentTopic?: string;
                    headerBytes?: Uint8Array;
                    payload?: Uint8Array;
                }[];
            } & {
                requests?: {
                    contentTopic?: string;
                    headerBytes?: Uint8Array;
                    payload?: Uint8Array;
                }[] & ({
                    contentTopic?: (...) | (...);
                    headerBytes?: (...) | (...);
                    payload?: (...) | (...);
                } & {
                    contentTopic?: (...) | (...);
                    headerBytes?: (...) | (...);
                    payload?: (...) | (...);
                } & {
                    [K in (...) | (...) | (...)]: never
                })[] & {
                    [K_1 in string | symbol]: never
                };
            } & {
                [K_2 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns EncryptV2Request

      • toJSON:function
        • Parameters

          • message: EncryptV2Request

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): EncryptResponse;
          encode(message: EncryptResponse, writer?: Writer): Writer;
          fromJSON(object: any): EncryptResponse;
          fromPartial<I>(object: I): EncryptResponse;
          toJSON(message: EncryptResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns EncryptResponse

      • encode:function
        • Parameters

          • message: EncryptResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns EncryptResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        encrypted?: (...) | (...);
                        senderHmac?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        encrypted?: ...;
                        senderHmac?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_4 in (...) | (...) | (...)]: never
                })[] & {
                    [K_5 in string | symbol]: never
                };
            } & {
                [K_6 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns EncryptResponse

      • toJSON:function
        • Parameters

          • message: EncryptResponse

          Returns unknown

  • getPrivateKeyBundle: {
        req: null;
        res: {
            decode(input: Uint8Array | Reader, length?: number): PrivateKeyBundleV1;
            encode(message: PrivateKeyBundleV1, writer?: Writer): Writer;
            fromJSON(object: any): PrivateKeyBundleV1;
            fromPartial<I>(object: I): PrivateKeyBundleV1;
            toJSON(message: PrivateKeyBundleV1): unknown;
        };
    }

    Export the private keys. May throw an error if the keystore implementation does not allow this operation

    • req: null
    • res: {
          decode(input: Uint8Array | Reader, length?: number): PrivateKeyBundleV1;
          encode(message: PrivateKeyBundleV1, writer?: Writer): Writer;
          fromJSON(object: any): PrivateKeyBundleV1;
          fromPartial<I>(object: I): PrivateKeyBundleV1;
          toJSON(message: PrivateKeyBundleV1): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns PrivateKeyBundleV1

      • encode:function
        • Parameters

          • message: PrivateKeyBundleV1
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns PrivateKeyBundleV1

      • fromPartial:function
        • Type Parameters

          • I extends {
                identityKey?: {
                    publicKey?: {
                        secp256k1Uncompressed?: {
                            bytes?: ...;
                        };
                        signature?: {
                            ecdsaCompact?: ...;
                            walletEcdsaCompact?: ...;
                        };
                        timestamp?: string | number | Long;
                    };
                    secp256k1?: {
                        bytes?: Uint8Array;
                    };
                    timestamp?: string | number | Long;
                };
                preKeys?: {
                    publicKey?: {
                        secp256k1Uncompressed?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    secp256k1?: {
                        bytes?: (...) | (...);
                    };
                    timestamp?: string | number | Long;
                }[];
            } & {
                identityKey?: {
                    publicKey?: {
                        secp256k1Uncompressed?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    secp256k1?: {
                        bytes?: (...) | (...);
                    };
                    timestamp?: string | number | Long;
                } & {
                    publicKey?: {
                        secp256k1Uncompressed?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    } & {
                        secp256k1Uncompressed?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    } & {
                        [K_7 in (...)]: (...)
                    };
                    secp256k1?: {
                        bytes?: ...;
                    } & {
                        bytes?: ...;
                    } & {
                        [K_1 in (...)]: (...)
                    };
                    timestamp?: string | number | Long & {
                        add: ...;
                        and: ...;
                        clz: ...;
                        comp: ...;
                        compare: ...;
                        countLeadingZeros: ...;
                        countTrailingZeros: ...;
                        ctz: ...;
                        div: ...;
                        divide: ...;
                        eq: ...;
                        equals: ...;
                        eqz: ...;
                        ge: ...;
                        getHighBits: ...;
                        getHighBitsUnsigned: ...;
                        getLowBits: ...;
                        getLowBitsUnsigned: ...;
                        getNumBitsAbs: ...;
                        greaterThan: ...;
                        greaterThanOrEqual: ...;
                        gt: ...;
                        gte: ...;
                        high: ...;
                        isEven: ...;
                        isNegative: ...;
                        isOdd: ...;
                        isPositive: ...;
                        isZero: ...;
                        le: ...;
                        lessThan: ...;
                        lessThanOrEqual: ...;
                        low: ...;
                        lt: ...;
                        lte: ...;
                        mod: ...;
                        modulo: ...;
                        mul: ...;
                        multiply: ...;
                        ne: ...;
                        neg: ...;
                        negate: ...;
                        neq: ...;
                        not: ...;
                        notEquals: ...;
                        or: ...;
                        rem: ...;
                        rotateLeft: ...;
                        rotateRight: ...;
                        rotl: ...;
                        rotr: ...;
                        shiftLeft: ...;
                        shiftRight: ...;
                        shiftRightUnsigned: ...;
                        shl: ...;
                        shr: ...;
                        shr_u: ...;
                        shru: ...;
                        sub: ...;
                        subtract: ...;
                        toBytes: ...;
                        toBytesBE: ...;
                        toBytesLE: ...;
                        toInt: ...;
                        toNumber: ...;
                        toSigned: ...;
                        toString: ...;
                        toUnsigned: ...;
                        unsigned: ...;
                        xor: ...;
                    } & {
                        [K in (...)]: (...)
                    };
                } & {
                    [K_8 in string | number | symbol]: never
                };
                preKeys?: {
                    publicKey?: {
                        secp256k1Uncompressed?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    };
                    secp256k1?: {
                        bytes?: ...;
                    };
                    timestamp?: string | number | Long;
                }[] & ({
                    publicKey?: (...) | (...);
                    secp256k1?: (...) | (...);
                    timestamp?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                } & {
                    publicKey?: (...) | (...);
                    secp256k1?: (...) | (...);
                    timestamp?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                } & {
                    [K_17 in (...) | (...) | (...)]: never
                })[] & {
                    [K_18 in string | symbol]: never
                };
            } & {
                [K_19 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns PrivateKeyBundleV1

      • toJSON:function
        • Parameters

          • message: PrivateKeyBundleV1

          Returns unknown

  • getPrivatePreferencesTopicIdentifier: {
        req: null;
        res: {
            decode(input: Uint8Array | Reader, length?: number): GetPrivatePreferencesTopicIdentifierResponse;
            encode(message: GetPrivatePreferencesTopicIdentifierResponse, writer?: Writer): Writer;
            fromJSON(object: any): GetPrivatePreferencesTopicIdentifierResponse;
            fromPartial<I>(object: I): GetPrivatePreferencesTopicIdentifierResponse;
            toJSON(message: GetPrivatePreferencesTopicIdentifierResponse): unknown;
        };
    }

    Get the private preferences topic identifier

    • req: null
    • res: {
          decode(input: Uint8Array | Reader, length?: number): GetPrivatePreferencesTopicIdentifierResponse;
          encode(message: GetPrivatePreferencesTopicIdentifierResponse, writer?: Writer): Writer;
          fromJSON(object: any): GetPrivatePreferencesTopicIdentifierResponse;
          fromPartial<I>(object: I): GetPrivatePreferencesTopicIdentifierResponse;
          toJSON(message: GetPrivatePreferencesTopicIdentifierResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns GetPrivatePreferencesTopicIdentifierResponse

      • encode:function
        • Parameters

          • message: GetPrivatePreferencesTopicIdentifierResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetPrivatePreferencesTopicIdentifierResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                identifier?: string;
            } & {
                identifier?: string;
            } & {
                [K in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetPrivatePreferencesTopicIdentifierResponse

      • toJSON:function
        • Parameters

          • message: GetPrivatePreferencesTopicIdentifierResponse

          Returns unknown

  • getPublicKeyBundle: {
        req: null;
        res: {
            decode(input: Uint8Array | Reader, length?: number): PublicKeyBundle;
            encode(message: PublicKeyBundle, writer?: Writer): Writer;
            fromJSON(object: any): PublicKeyBundle;
            fromPartial<I>(object: I): PublicKeyBundle;
            toJSON(message: PublicKeyBundle): unknown;
        };
    }

    Get the PublicKeyBundle associated with the Keystore's private keys

    • req: null
    • res: {
          decode(input: Uint8Array | Reader, length?: number): PublicKeyBundle;
          encode(message: PublicKeyBundle, writer?: Writer): Writer;
          fromJSON(object: any): PublicKeyBundle;
          fromPartial<I>(object: I): PublicKeyBundle;
          toJSON(message: PublicKeyBundle): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns PublicKeyBundle

      • encode:function
        • Parameters

          • message: PublicKeyBundle
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns PublicKeyBundle

      • fromPartial:function
        • Type Parameters

          • I extends {
                identityKey?: {
                    secp256k1Uncompressed?: {
                        bytes?: Uint8Array;
                    };
                    signature?: {
                        ecdsaCompact?: {
                            bytes?: ...;
                            recovery?: ...;
                        };
                        walletEcdsaCompact?: {
                            bytes?: ...;
                            recovery?: ...;
                        };
                    };
                    timestamp?: string | number | Long;
                };
                preKey?: {
                    secp256k1Uncompressed?: {
                        bytes?: Uint8Array;
                    };
                    signature?: {
                        ecdsaCompact?: {
                            bytes?: ...;
                            recovery?: ...;
                        };
                        walletEcdsaCompact?: {
                            bytes?: ...;
                            recovery?: ...;
                        };
                    };
                    timestamp?: string | number | Long;
                };
            } & {
                identityKey?: {
                    secp256k1Uncompressed?: {
                        bytes?: (...) | (...);
                    };
                    signature?: {
                        ecdsaCompact?: (...) | (...);
                        walletEcdsaCompact?: (...) | (...);
                    };
                    timestamp?: string | number | Long;
                } & {
                    secp256k1Uncompressed?: {
                        bytes?: ...;
                    } & {
                        bytes?: ...;
                    } & {
                        [K_4 in (...)]: (...)
                    };
                    signature?: {
                        ecdsaCompact?: ...;
                        walletEcdsaCompact?: ...;
                    } & {
                        ecdsaCompact?: ...;
                        walletEcdsaCompact?: ...;
                    } & {
                        [K_3 in (...)]: (...)
                    };
                    timestamp?: string | number | Long & {
                        add: ...;
                        and: ...;
                        clz: ...;
                        comp: ...;
                        compare: ...;
                        countLeadingZeros: ...;
                        countTrailingZeros: ...;
                        ctz: ...;
                        div: ...;
                        divide: ...;
                        eq: ...;
                        equals: ...;
                        eqz: ...;
                        ge: ...;
                        getHighBits: ...;
                        getHighBitsUnsigned: ...;
                        getLowBits: ...;
                        getLowBitsUnsigned: ...;
                        getNumBitsAbs: ...;
                        greaterThan: ...;
                        greaterThanOrEqual: ...;
                        gt: ...;
                        gte: ...;
                        high: ...;
                        isEven: ...;
                        isNegative: ...;
                        isOdd: ...;
                        isPositive: ...;
                        isZero: ...;
                        le: ...;
                        lessThan: ...;
                        lessThanOrEqual: ...;
                        low: ...;
                        lt: ...;
                        lte: ...;
                        mod: ...;
                        modulo: ...;
                        mul: ...;
                        multiply: ...;
                        ne: ...;
                        neg: ...;
                        negate: ...;
                        neq: ...;
                        not: ...;
                        notEquals: ...;
                        or: ...;
                        rem: ...;
                        rotateLeft: ...;
                        rotateRight: ...;
                        rotl: ...;
                        rotr: ...;
                        shiftLeft: ...;
                        shiftRight: ...;
                        shiftRightUnsigned: ...;
                        shl: ...;
                        shr: ...;
                        shr_u: ...;
                        shru: ...;
                        sub: ...;
                        subtract: ...;
                        toBytes: ...;
                        toBytesBE: ...;
                        toBytesLE: ...;
                        toInt: ...;
                        toNumber: ...;
                        toSigned: ...;
                        toString: ...;
                        toUnsigned: ...;
                        unsigned: ...;
                        xor: ...;
                    } & {
                        [K in (...)]: (...)
                    };
                } & {
                    [K_5 in string | number | symbol]: never
                };
                preKey?: {
                    secp256k1Uncompressed?: {
                        bytes?: (...) | (...);
                    };
                    signature?: {
                        ecdsaCompact?: (...) | (...);
                        walletEcdsaCompact?: (...) | (...);
                    };
                    timestamp?: string | number | Long;
                } & {
                    secp256k1Uncompressed?: {
                        bytes?: ...;
                    } & {
                        bytes?: ...;
                    } & {
                        [K_10 in (...)]: (...)
                    };
                    signature?: {
                        ecdsaCompact?: ...;
                        walletEcdsaCompact?: ...;
                    } & {
                        ecdsaCompact?: ...;
                        walletEcdsaCompact?: ...;
                    } & {
                        [K_9 in (...)]: (...)
                    };
                    timestamp?: string | number | Long & {
                        add: ...;
                        and: ...;
                        clz: ...;
                        comp: ...;
                        compare: ...;
                        countLeadingZeros: ...;
                        countTrailingZeros: ...;
                        ctz: ...;
                        div: ...;
                        divide: ...;
                        eq: ...;
                        equals: ...;
                        eqz: ...;
                        ge: ...;
                        getHighBits: ...;
                        getHighBitsUnsigned: ...;
                        getLowBits: ...;
                        getLowBitsUnsigned: ...;
                        getNumBitsAbs: ...;
                        greaterThan: ...;
                        greaterThanOrEqual: ...;
                        gt: ...;
                        gte: ...;
                        high: ...;
                        isEven: ...;
                        isNegative: ...;
                        isOdd: ...;
                        isPositive: ...;
                        isZero: ...;
                        le: ...;
                        lessThan: ...;
                        lessThanOrEqual: ...;
                        low: ...;
                        lt: ...;
                        lte: ...;
                        mod: ...;
                        modulo: ...;
                        mul: ...;
                        multiply: ...;
                        ne: ...;
                        neg: ...;
                        negate: ...;
                        neq: ...;
                        not: ...;
                        notEquals: ...;
                        or: ...;
                        rem: ...;
                        rotateLeft: ...;
                        rotateRight: ...;
                        rotl: ...;
                        rotr: ...;
                        shiftLeft: ...;
                        shiftRight: ...;
                        shiftRightUnsigned: ...;
                        shl: ...;
                        shr: ...;
                        shr_u: ...;
                        shru: ...;
                        sub: ...;
                        subtract: ...;
                        toBytes: ...;
                        toBytesBE: ...;
                        toBytesLE: ...;
                        toInt: ...;
                        toNumber: ...;
                        toSigned: ...;
                        toString: ...;
                        toUnsigned: ...;
                        unsigned: ...;
                        xor: ...;
                    } & {
                        [K_6 in (...)]: (...)
                    };
                } & {
                    [K_11 in string | number | symbol]: never
                };
            } & {
                [K_12 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns PublicKeyBundle

      • toJSON:function
        • Parameters

          • message: PublicKeyBundle

          Returns unknown

  • getRefreshJob: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): GetRefreshJobRequest;
            encode(message: GetRefreshJobRequest, writer?: Writer): Writer;
            fromJSON(object: any): GetRefreshJobRequest;
            fromPartial<I>(object: I): GetRefreshJobRequest;
            toJSON(message: GetRefreshJobRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): GetRefreshJobResponse;
            encode(message: GetRefreshJobResponse, writer?: Writer): Writer;
            fromJSON(object: any): GetRefreshJobResponse;
            fromPartial<I>(object: I): GetRefreshJobResponse;
            toJSON(message: GetRefreshJobResponse): unknown;
        };
    }

    Get a refresh job from the persistence

    • req: {
          decode(input: Uint8Array | Reader, length?: number): GetRefreshJobRequest;
          encode(message: GetRefreshJobRequest, writer?: Writer): Writer;
          fromJSON(object: any): GetRefreshJobRequest;
          fromPartial<I>(object: I): GetRefreshJobRequest;
          toJSON(message: GetRefreshJobRequest): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns GetRefreshJobRequest

      • encode:function
        • Parameters

          • message: GetRefreshJobRequest
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetRefreshJobRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                jobType?: JobType;
            } & {
                jobType?: JobType;
            } & {
                [K in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetRefreshJobRequest

      • toJSON:function
        • Parameters

          • message: GetRefreshJobRequest

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): GetRefreshJobResponse;
          encode(message: GetRefreshJobResponse, writer?: Writer): Writer;
          fromJSON(object: any): GetRefreshJobResponse;
          fromPartial<I>(object: I): GetRefreshJobResponse;
          toJSON(message: GetRefreshJobResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns GetRefreshJobResponse

      • encode:function
        • Parameters

          • message: GetRefreshJobResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetRefreshJobResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                lastRunNs?: string | number | Long;
            } & {
                lastRunNs?: string | number | Long & {
                    add: ((addend: string | number | Long) => Long);
                    and: ((other: string | number | Long) => Long);
                    clz: (() => number);
                    comp: ((other: string | number | Long) => number);
                    compare: ((other: string | number | Long) => number);
                    countLeadingZeros: (() => number);
                    countTrailingZeros: (() => number);
                    ctz: (() => number);
                    div: ((divisor: string | number | Long) => Long);
                    divide: ((divisor: string | number | Long) => Long);
                    eq: ((other: string | number | Long) => boolean);
                    equals: ((other: string | number | Long) => boolean);
                    eqz: (() => boolean);
                    ge: ((other: string | number | Long) => boolean);
                    getHighBits: (() => number);
                    getHighBitsUnsigned: (() => number);
                    getLowBits: (() => number);
                    getLowBitsUnsigned: (() => number);
                    getNumBitsAbs: (() => number);
                    greaterThan: ((other: string | number | Long) => boolean);
                    greaterThanOrEqual: ((other: string | number | Long) => boolean);
                    gt: ((other: string | number | Long) => boolean);
                    gte: ((other: string | number | Long) => boolean);
                    high: number;
                    isEven: (() => boolean);
                    isNegative: (() => boolean);
                    isOdd: (() => boolean);
                    isPositive: (() => boolean);
                    isZero: (() => boolean);
                    le: ((other: string | number | Long) => boolean);
                    lessThan: ((other: string | number | Long) => boolean);
                    lessThanOrEqual: ((other: string | number | Long) => boolean);
                    low: number;
                    lt: ((other: string | number | Long) => boolean);
                    lte: ((other: string | number | Long) => boolean);
                    mod: ((other: string | number | Long) => Long);
                    modulo: ((other: string | number | Long) => Long);
                    mul: ((multiplier: string | number | Long) => Long);
                    multiply: ((multiplier: string | number | Long) => Long);
                    ne: ((other: string | number | Long) => boolean);
                    neg: (() => Long);
                    negate: (() => Long);
                    neq: ((other: string | number | Long) => boolean);
                    not: (() => Long);
                    notEquals: ((other: string | number | Long) => boolean);
                    or: ((other: string | number | Long) => Long);
                    rem: ((other: string | number | Long) => Long);
                    rotateLeft: ((numBits: number | Long) => Long);
                    rotateRight: ((numBits: number | Long) => Long);
                    rotl: ((numBits: number | Long) => Long);
                    rotr: ((numBits: number | Long) => Long);
                    shiftLeft: ((numBits: number | Long) => Long);
                    shiftRight: ((numBits: number | Long) => Long);
                    shiftRightUnsigned: ((numBits: number | Long) => Long);
                    shl: ((numBits: number | Long) => Long);
                    shr: ((numBits: number | Long) => Long);
                    shr_u: ((numBits: number | Long) => Long);
                    shru: ((numBits: number | Long) => Long);
                    sub: ((subtrahend: string | number | Long) => Long);
                    subtract: ((subtrahend: string | number | Long) => Long);
                    toBytes: ((le?: boolean) => number[]);
                    toBytesBE: (() => number[]);
                    toBytesLE: (() => number[]);
                    toInt: (() => number);
                    toNumber: (() => number);
                    toSigned: (() => Long);
                    toString: ((radix?: number) => string);
                    toUnsigned: (() => Long);
                    unsigned: boolean;
                    xor: ((other: string | number | Long) => Long);
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K_1 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetRefreshJobResponse

      • toJSON:function
        • Parameters

          • message: GetRefreshJobResponse

          Returns unknown

  • getV1Conversations: {
        req: null;
        res: {
            decode(input: Uint8Array | Reader, length?: number): GetConversationsResponse;
            encode(message: GetConversationsResponse, writer?: Writer): Writer;
            fromJSON(object: any): GetConversationsResponse;
            fromPartial<I>(object: I): GetConversationsResponse;
            toJSON(message: GetConversationsResponse): unknown;
        };
    }

    Get a list of V1 conversations

    • req: null
    • res: {
          decode(input: Uint8Array | Reader, length?: number): GetConversationsResponse;
          encode(message: GetConversationsResponse, writer?: Writer): Writer;
          fromJSON(object: any): GetConversationsResponse;
          fromPartial<I>(object: I): GetConversationsResponse;
          toJSON(message: GetConversationsResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns GetConversationsResponse

      • encode:function
        • Parameters

          • message: GetConversationsResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetConversationsResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                conversations?: {
                    consentProofPayload?: {
                        payloadVersion?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    context?: {
                        conversationId?: (...) | (...);
                        metadata?: (...) | (...);
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                }[];
            } & {
                conversations?: {
                    consentProofPayload?: {
                        payloadVersion?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    };
                    context?: {
                        conversationId?: ...;
                        metadata?: ...;
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                }[] & ({
                    consentProofPayload?: (...) | (...);
                    context?: (...) | (...);
                    createdNs?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    peerAddress?: (...) | (...);
                    topic?: (...) | (...);
                } & {
                    consentProofPayload?: (...) | (...);
                    context?: (...) | (...);
                    createdNs?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    peerAddress?: (...) | (...);
                    topic?: (...) | (...);
                } & {
                    [K_5 in (...) | (...) | (...)]: never
                })[] & {
                    [K_6 in string | symbol]: never
                };
            } & {
                [K_7 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetConversationsResponse

      • toJSON:function
        • Parameters

          • message: GetConversationsResponse

          Returns unknown

  • getV2ConversationHmacKeys: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): GetConversationHmacKeysRequest;
            encode(message: GetConversationHmacKeysRequest, writer?: Writer): Writer;
            fromJSON(object: any): GetConversationHmacKeysRequest;
            fromPartial<I>(object: I): GetConversationHmacKeysRequest;
            toJSON(message: GetConversationHmacKeysRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): GetConversationHmacKeysResponse;
            encode(message: GetConversationHmacKeysResponse, writer?: Writer): Writer;
            fromJSON(object: any): GetConversationHmacKeysResponse;
            fromPartial<I>(object: I): GetConversationHmacKeysResponse;
            toJSON(message: GetConversationHmacKeysResponse): unknown;
        };
    }

    Returns the conversation HMAC keys for the current, previous, and next 30 day periods since the epoch

    • req: {
          decode(input: Uint8Array | Reader, length?: number): GetConversationHmacKeysRequest;
          encode(message: GetConversationHmacKeysRequest, writer?: Writer): Writer;
          fromJSON(object: any): GetConversationHmacKeysRequest;
          fromPartial<I>(object: I): GetConversationHmacKeysRequest;
          toJSON(message: GetConversationHmacKeysRequest): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns GetConversationHmacKeysRequest

      • encode:function
        • Parameters

          • message: GetConversationHmacKeysRequest
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetConversationHmacKeysRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                topics?: string[];
            } & {
                topics?: string[] & {
                    [K in string | symbol]: never
                };
            } & {
                [K_1 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetConversationHmacKeysRequest

      • toJSON:function
        • Parameters

          • message: GetConversationHmacKeysRequest

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): GetConversationHmacKeysResponse;
          encode(message: GetConversationHmacKeysResponse, writer?: Writer): Writer;
          fromJSON(object: any): GetConversationHmacKeysResponse;
          fromPartial<I>(object: I): GetConversationHmacKeysResponse;
          toJSON(message: GetConversationHmacKeysResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns GetConversationHmacKeysResponse

      • encode:function
        • Parameters

          • message: GetConversationHmacKeysResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetConversationHmacKeysResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                hmacKeys?: {
                    [x: string]: {
                        values?: (...)[];
                    } | undefined;
                };
            } & {
                hmacKeys?: {
                    [x: string]: {
                        values?: (...) | (...);
                    } | undefined;
                } & {
                    [x: string]: (...) & (...) & (...) | undefined;
                } & {
                    [K_3 in symbol]: never
                };
            } & {
                [K_4 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetConversationHmacKeysResponse

      • toJSON:function
        • Parameters

          • message: GetConversationHmacKeysResponse

          Returns unknown

  • getV2Conversations: {
        req: null;
        res: {
            decode(input: Uint8Array | Reader, length?: number): GetConversationsResponse;
            encode(message: GetConversationsResponse, writer?: Writer): Writer;
            fromJSON(object: any): GetConversationsResponse;
            fromPartial<I>(object: I): GetConversationsResponse;
            toJSON(message: GetConversationsResponse): unknown;
        };
    }

    Get a list of V2 conversations

    • req: null
    • res: {
          decode(input: Uint8Array | Reader, length?: number): GetConversationsResponse;
          encode(message: GetConversationsResponse, writer?: Writer): Writer;
          fromJSON(object: any): GetConversationsResponse;
          fromPartial<I>(object: I): GetConversationsResponse;
          toJSON(message: GetConversationsResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns GetConversationsResponse

      • encode:function
        • Parameters

          • message: GetConversationsResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetConversationsResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                conversations?: {
                    consentProofPayload?: {
                        payloadVersion?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    context?: {
                        conversationId?: (...) | (...);
                        metadata?: (...) | (...);
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                }[];
            } & {
                conversations?: {
                    consentProofPayload?: {
                        payloadVersion?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    };
                    context?: {
                        conversationId?: ...;
                        metadata?: ...;
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                }[] & ({
                    consentProofPayload?: (...) | (...);
                    context?: (...) | (...);
                    createdNs?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    peerAddress?: (...) | (...);
                    topic?: (...) | (...);
                } & {
                    consentProofPayload?: (...) | (...);
                    context?: (...) | (...);
                    createdNs?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    peerAddress?: (...) | (...);
                    topic?: (...) | (...);
                } & {
                    [K_5 in (...) | (...) | (...)]: never
                })[] & {
                    [K_6 in string | symbol]: never
                };
            } & {
                [K_7 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetConversationsResponse

      • toJSON:function
        • Parameters

          • message: GetConversationsResponse

          Returns unknown

  • saveInvites: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): SaveInvitesRequest;
            encode(message: SaveInvitesRequest, writer?: Writer): Writer;
            fromJSON(object: any): SaveInvitesRequest;
            fromPartial<I>(object: I): SaveInvitesRequest;
            toJSON(message: SaveInvitesRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): SaveInvitesResponse;
            encode(message: SaveInvitesResponse, writer?: Writer): Writer;
            fromJSON(object: any): SaveInvitesResponse;
            fromPartial<I>(object: I): SaveInvitesResponse;
            toJSON(message: SaveInvitesResponse): unknown;
        };
    }

    Take a batch of invite messages and store the TopicKeys for later use in decrypting messages

    • req: {
          decode(input: Uint8Array | Reader, length?: number): SaveInvitesRequest;
          encode(message: SaveInvitesRequest, writer?: Writer): Writer;
          fromJSON(object: any): SaveInvitesRequest;
          fromPartial<I>(object: I): SaveInvitesRequest;
          toJSON(message: SaveInvitesRequest): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns SaveInvitesRequest

      • encode:function
        • Parameters

          • message: SaveInvitesRequest
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SaveInvitesRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    contentTopic?: string;
                    payload?: Uint8Array;
                    timestampNs?: string | number | Long;
                }[];
            } & {
                requests?: {
                    contentTopic?: string;
                    payload?: Uint8Array;
                    timestampNs?: string | number | Long;
                }[] & ({
                    contentTopic?: (...) | (...);
                    payload?: (...) | (...);
                    timestampNs?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                } & {
                    contentTopic?: (...) | (...);
                    payload?: (...) | (...);
                    timestampNs?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                } & {
                    [K_1 in (...) | (...) | (...)]: never
                })[] & {
                    [K_2 in string | symbol]: never
                };
            } & {
                [K_3 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SaveInvitesRequest

      • toJSON:function
        • Parameters

          • message: SaveInvitesRequest

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): SaveInvitesResponse;
          encode(message: SaveInvitesResponse, writer?: Writer): Writer;
          fromJSON(object: any): SaveInvitesResponse;
          fromPartial<I>(object: I): SaveInvitesResponse;
          toJSON(message: SaveInvitesResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns SaveInvitesResponse

      • encode:function
        • Parameters

          • message: SaveInvitesResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SaveInvitesResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        conversation?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        conversation?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_8 in (...) | (...) | (...)]: never
                })[] & {
                    [K_9 in string | symbol]: never
                };
            } & {
                [K_10 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SaveInvitesResponse

      • toJSON:function
        • Parameters

          • message: SaveInvitesResponse

          Returns unknown

  • saveV1Conversations: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): SaveV1ConversationsRequest;
            encode(message: SaveV1ConversationsRequest, writer?: Writer): Writer;
            fromJSON(object: any): SaveV1ConversationsRequest;
            fromPartial<I>(object: I): SaveV1ConversationsRequest;
            toJSON(message: SaveV1ConversationsRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): SaveV1ConversationsResponse;
            encode(_: SaveV1ConversationsResponse, writer?: Writer): Writer;
            fromJSON(_: any): SaveV1ConversationsResponse;
            fromPartial<I>(_: I): SaveV1ConversationsResponse;
            toJSON(_: SaveV1ConversationsResponse): unknown;
        };
    }

    Save V1 Conversations

    • req: {
          decode(input: Uint8Array | Reader, length?: number): SaveV1ConversationsRequest;
          encode(message: SaveV1ConversationsRequest, writer?: Writer): Writer;
          fromJSON(object: any): SaveV1ConversationsRequest;
          fromPartial<I>(object: I): SaveV1ConversationsRequest;
          toJSON(message: SaveV1ConversationsRequest): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns SaveV1ConversationsRequest

      • encode:function
        • Parameters

          • message: SaveV1ConversationsRequest
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SaveV1ConversationsRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                conversations?: {
                    consentProofPayload?: {
                        payloadVersion?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    context?: {
                        conversationId?: (...) | (...);
                        metadata?: (...) | (...);
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                }[];
            } & {
                conversations?: {
                    consentProofPayload?: {
                        payloadVersion?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    };
                    context?: {
                        conversationId?: ...;
                        metadata?: ...;
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                }[] & ({
                    consentProofPayload?: (...) | (...);
                    context?: (...) | (...);
                    createdNs?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    peerAddress?: (...) | (...);
                    topic?: (...) | (...);
                } & {
                    consentProofPayload?: (...) | (...);
                    context?: (...) | (...);
                    createdNs?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    peerAddress?: (...) | (...);
                    topic?: (...) | (...);
                } & {
                    [K_5 in (...) | (...) | (...)]: never
                })[] & {
                    [K_6 in string | symbol]: never
                };
            } & {
                [K_7 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SaveV1ConversationsRequest

      • toJSON:function
        • Parameters

          • message: SaveV1ConversationsRequest

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): SaveV1ConversationsResponse;
          encode(_: SaveV1ConversationsResponse, writer?: Writer): Writer;
          fromJSON(_: any): SaveV1ConversationsResponse;
          fromPartial<I>(_: I): SaveV1ConversationsResponse;
          toJSON(_: SaveV1ConversationsResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns SaveV1ConversationsResponse

      • encode:function
        • Parameters

          • _: SaveV1ConversationsResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • _: any

          Returns SaveV1ConversationsResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                [K in string | number | symbol]: never
            }

          Parameters

          Returns SaveV1ConversationsResponse

      • toJSON:function
        • Parameters

          • _: SaveV1ConversationsResponse

          Returns unknown

  • selfDecrypt: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): SelfDecryptRequest;
            encode(message: SelfDecryptRequest, writer?: Writer): Writer;
            fromJSON(object: any): SelfDecryptRequest;
            fromPartial<I>(object: I): SelfDecryptRequest;
            toJSON(message: SelfDecryptRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): DecryptResponse;
            encode(message: DecryptResponse, writer?: Writer): Writer;
            fromJSON(object: any): DecryptResponse;
            fromPartial<I>(object: I): DecryptResponse;
            toJSON(message: DecryptResponse): unknown;
        };
    }

    Decrypt a batch of messages to yourself

    • req: {
          decode(input: Uint8Array | Reader, length?: number): SelfDecryptRequest;
          encode(message: SelfDecryptRequest, writer?: Writer): Writer;
          fromJSON(object: any): SelfDecryptRequest;
          fromPartial<I>(object: I): SelfDecryptRequest;
          toJSON(message: SelfDecryptRequest): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns SelfDecryptRequest

      • encode:function
        • Parameters

          • message: SelfDecryptRequest
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SelfDecryptRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    payload?: Uint8Array;
                }[];
            } & {
                requests?: {
                    payload?: Uint8Array;
                }[] & ({
                    payload?: (...) | (...);
                } & {
                    payload?: (...) | (...);
                } & {
                    [K in (...) | (...) | (...)]: never
                })[] & {
                    [K_1 in string | symbol]: never
                };
            } & {
                [K_2 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SelfDecryptRequest

      • toJSON:function
        • Parameters

          • message: SelfDecryptRequest

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): DecryptResponse;
          encode(message: DecryptResponse, writer?: Writer): Writer;
          fromJSON(object: any): DecryptResponse;
          fromPartial<I>(object: I): DecryptResponse;
          toJSON(message: DecryptResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns DecryptResponse

      • encode:function
        • Parameters

          • message: DecryptResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns DecryptResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        decrypted?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        decrypted?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_2 in (...) | (...) | (...)]: never
                })[] & {
                    [K_3 in string | symbol]: never
                };
            } & {
                [K_4 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns DecryptResponse

      • toJSON:function
        • Parameters

          • message: DecryptResponse

          Returns unknown

  • selfEncrypt: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): SelfEncryptRequest;
            encode(message: SelfEncryptRequest, writer?: Writer): Writer;
            fromJSON(object: any): SelfEncryptRequest;
            fromPartial<I>(object: I): SelfEncryptRequest;
            toJSON(message: SelfEncryptRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): SelfEncryptResponse;
            encode(message: SelfEncryptResponse, writer?: Writer): Writer;
            fromJSON(object: any): SelfEncryptResponse;
            fromPartial<I>(object: I): SelfEncryptResponse;
            toJSON(message: SelfEncryptResponse): unknown;
        };
    }

    Encrypt a batch of messages to yourself

    • req: {
          decode(input: Uint8Array | Reader, length?: number): SelfEncryptRequest;
          encode(message: SelfEncryptRequest, writer?: Writer): Writer;
          fromJSON(object: any): SelfEncryptRequest;
          fromPartial<I>(object: I): SelfEncryptRequest;
          toJSON(message: SelfEncryptRequest): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns SelfEncryptRequest

      • encode:function
        • Parameters

          • message: SelfEncryptRequest
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SelfEncryptRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    payload?: Uint8Array;
                }[];
            } & {
                requests?: {
                    payload?: Uint8Array;
                }[] & ({
                    payload?: (...) | (...);
                } & {
                    payload?: (...) | (...);
                } & {
                    [K in (...) | (...) | (...)]: never
                })[] & {
                    [K_1 in string | symbol]: never
                };
            } & {
                [K_2 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SelfEncryptRequest

      • toJSON:function
        • Parameters

          • message: SelfEncryptRequest

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): SelfEncryptResponse;
          encode(message: SelfEncryptResponse, writer?: Writer): Writer;
          fromJSON(object: any): SelfEncryptResponse;
          fromPartial<I>(object: I): SelfEncryptResponse;
          toJSON(message: SelfEncryptResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns SelfEncryptResponse

      • encode:function
        • Parameters

          • message: SelfEncryptResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SelfEncryptResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        encrypted?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        encrypted?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_2 in (...) | (...) | (...)]: never
                })[] & {
                    [K_3 in string | symbol]: never
                };
            } & {
                [K_4 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SelfEncryptResponse

      • toJSON:function
        • Parameters

          • message: SelfEncryptResponse

          Returns unknown

  • setRefreshJob: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): SetRefeshJobRequest;
            encode(message: SetRefeshJobRequest, writer?: Writer): Writer;
            fromJSON(object: any): SetRefeshJobRequest;
            fromPartial<I>(object: I): SetRefeshJobRequest;
            toJSON(message: SetRefeshJobRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): SetRefreshJobResponse;
            encode(_: SetRefreshJobResponse, writer?: Writer): Writer;
            fromJSON(_: any): SetRefreshJobResponse;
            fromPartial<I>(_: I): SetRefreshJobResponse;
            toJSON(_: SetRefreshJobResponse): unknown;
        };
    }

    Sets the time of a refresh job

    • req: {
          decode(input: Uint8Array | Reader, length?: number): SetRefeshJobRequest;
          encode(message: SetRefeshJobRequest, writer?: Writer): Writer;
          fromJSON(object: any): SetRefeshJobRequest;
          fromPartial<I>(object: I): SetRefeshJobRequest;
          toJSON(message: SetRefeshJobRequest): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns SetRefeshJobRequest

      • encode:function
        • Parameters

          • message: SetRefeshJobRequest
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SetRefeshJobRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                jobType?: JobType;
                lastRunNs?: string | number | Long;
            } & {
                jobType?: JobType;
                lastRunNs?: string | number | Long & {
                    add: ((addend: string | number | Long) => Long);
                    and: ((other: string | number | Long) => Long);
                    clz: (() => number);
                    comp: ((other: string | number | Long) => number);
                    compare: ((other: string | number | Long) => number);
                    countLeadingZeros: (() => number);
                    countTrailingZeros: (() => number);
                    ctz: (() => number);
                    div: ((divisor: string | number | Long) => Long);
                    divide: ((divisor: string | number | Long) => Long);
                    eq: ((other: string | number | Long) => boolean);
                    equals: ((other: string | number | Long) => boolean);
                    eqz: (() => boolean);
                    ge: ((other: string | number | Long) => boolean);
                    getHighBits: (() => number);
                    getHighBitsUnsigned: (() => number);
                    getLowBits: (() => number);
                    getLowBitsUnsigned: (() => number);
                    getNumBitsAbs: (() => number);
                    greaterThan: ((other: string | number | Long) => boolean);
                    greaterThanOrEqual: ((other: string | number | Long) => boolean);
                    gt: ((other: string | number | Long) => boolean);
                    gte: ((other: string | number | Long) => boolean);
                    high: number;
                    isEven: (() => boolean);
                    isNegative: (() => boolean);
                    isOdd: (() => boolean);
                    isPositive: (() => boolean);
                    isZero: (() => boolean);
                    le: ((other: string | number | Long) => boolean);
                    lessThan: ((other: string | number | Long) => boolean);
                    lessThanOrEqual: ((other: string | number | Long) => boolean);
                    low: number;
                    lt: ((other: string | number | Long) => boolean);
                    lte: ((other: string | number | Long) => boolean);
                    mod: ((other: string | number | Long) => Long);
                    modulo: ((other: string | number | Long) => Long);
                    mul: ((multiplier: string | number | Long) => Long);
                    multiply: ((multiplier: string | number | Long) => Long);
                    ne: ((other: string | number | Long) => boolean);
                    neg: (() => Long);
                    negate: (() => Long);
                    neq: ((other: string | number | Long) => boolean);
                    not: (() => Long);
                    notEquals: ((other: string | number | Long) => boolean);
                    or: ((other: string | number | Long) => Long);
                    rem: ((other: string | number | Long) => Long);
                    rotateLeft: ((numBits: number | Long) => Long);
                    rotateRight: ((numBits: number | Long) => Long);
                    rotl: ((numBits: number | Long) => Long);
                    rotr: ((numBits: number | Long) => Long);
                    shiftLeft: ((numBits: number | Long) => Long);
                    shiftRight: ((numBits: number | Long) => Long);
                    shiftRightUnsigned: ((numBits: number | Long) => Long);
                    shl: ((numBits: number | Long) => Long);
                    shr: ((numBits: number | Long) => Long);
                    shr_u: ((numBits: number | Long) => Long);
                    shru: ((numBits: number | Long) => Long);
                    sub: ((subtrahend: string | number | Long) => Long);
                    subtract: ((subtrahend: string | number | Long) => Long);
                    toBytes: ((le?: boolean) => number[]);
                    toBytesBE: (() => number[]);
                    toBytesLE: (() => number[]);
                    toInt: (() => number);
                    toNumber: (() => number);
                    toSigned: (() => Long);
                    toString: ((radix?: number) => string);
                    toUnsigned: (() => Long);
                    unsigned: boolean;
                    xor: ((other: string | number | Long) => Long);
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K_1 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SetRefeshJobRequest

      • toJSON:function
        • Parameters

          • message: SetRefeshJobRequest

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): SetRefreshJobResponse;
          encode(_: SetRefreshJobResponse, writer?: Writer): Writer;
          fromJSON(_: any): SetRefreshJobResponse;
          fromPartial<I>(_: I): SetRefreshJobResponse;
          toJSON(_: SetRefreshJobResponse): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns SetRefreshJobResponse

      • encode:function
        • Parameters

          • _: SetRefreshJobResponse
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • _: any

          Returns SetRefreshJobResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                [K in string | number | symbol]: never
            }

          Parameters

          Returns SetRefreshJobResponse

      • toJSON:function
        • Parameters

          • _: SetRefreshJobResponse

          Returns unknown

  • signDigest: {
        req: {
            decode(input: Uint8Array | Reader, length?: number): SignDigestRequest;
            encode(message: SignDigestRequest, writer?: Writer): Writer;
            fromJSON(object: any): SignDigestRequest;
            fromPartial<I>(object: I): SignDigestRequest;
            toJSON(message: SignDigestRequest): unknown;
        };
        res: {
            decode(input: Uint8Array | Reader, length?: number): Signature;
            encode(message: Signature, writer?: Writer): Writer;
            fromJSON(object: any): Signature;
            fromPartial<I>(object: I): Signature;
            toJSON(message: Signature): unknown;
        };
    }

    Sign the provided digest with either the IdentityKey or a specified PreKey

    • req: {
          decode(input: Uint8Array | Reader, length?: number): SignDigestRequest;
          encode(message: SignDigestRequest, writer?: Writer): Writer;
          fromJSON(object: any): SignDigestRequest;
          fromPartial<I>(object: I): SignDigestRequest;
          toJSON(message: SignDigestRequest): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns SignDigestRequest

      • encode:function
        • Parameters

          • message: SignDigestRequest
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SignDigestRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                digest?: Uint8Array;
                identityKey?: boolean;
                prekeyIndex?: number;
            } & {
                digest?: Uint8Array;
                identityKey?: boolean;
                prekeyIndex?: number;
            } & {
                [K in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SignDigestRequest

      • toJSON:function
        • Parameters

          • message: SignDigestRequest

          Returns unknown

    • res: {
          decode(input: Uint8Array | Reader, length?: number): Signature;
          encode(message: Signature, writer?: Writer): Writer;
          fromJSON(object: any): Signature;
          fromPartial<I>(object: I): Signature;
          toJSON(message: Signature): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optionallength: number

          Returns Signature

      • encode:function
        • Parameters

          • message: Signature
          • Optionalwriter: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns Signature

      • fromPartial:function
        • Type Parameters

          • I extends {
                ecdsaCompact?: {
                    bytes?: Uint8Array;
                    recovery?: number;
                };
                walletEcdsaCompact?: {
                    bytes?: Uint8Array;
                    recovery?: number;
                };
            } & {
                ecdsaCompact?: {
                    bytes?: Uint8Array;
                    recovery?: number;
                } & {
                    bytes?: Uint8Array;
                    recovery?: number;
                } & {
                    [K in string | number | symbol]: never
                };
                walletEcdsaCompact?: {
                    bytes?: Uint8Array;
                    recovery?: number;
                } & {
                    bytes?: Uint8Array;
                    recovery?: number;
                } & {
                    [K_1 in string | number | symbol]: never
                };
            } & {
                [K_2 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns Signature

      • toJSON:function
        • Parameters

          • message: Signature

          Returns unknown