Variable Entity

Entity: {
    create(
        base?: {
            data?: {
                fields?: {
                    [key: string]:
                        | undefined
                        | {
                            bigdecimalValue?: { exp?: ...; value?: ... };
                            bigintValue?: { data?: ...; negative?: ... };
                            boolValue?: boolean;
                            bytesValue?: Uint8Array;
                            floatValue?: number;
                            intValue?: number;
                            listValue?: { values?: ... };
                            nullValue?: RichValue_NullValue;
                            stringValue?: string;
                            structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; floatValue?: number | undefined; bytesValue?: Uint8Array | undefined; ... 7 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; } | undefined;
                            timestampValue?: Date;
                            tokenValue?: { amount?: ...; specifiedAt?: ...; token?: ... };
                        };
                };
            };
            entity?: string;
            genBlockChain?: string;
            genBlockNumber?: bigint;
            genBlockTime?: Date;
        },
    ): Entity;
    decode(input: Uint8Array | Reader, length?: number): Entity;
    encode(message: Entity, writer?: Writer): Writer;
    fromJSON(object: any): Entity;
    fromPartial(
        object: {
            data?: {
                fields?: {
                    [key: string]:
                        | undefined
                        | {
                            bigdecimalValue?: { exp?: (...)
                            | (...); value?: (...) | (...) };
                            bigintValue?: {
                                data?: (...) | (...);
                                negative?: (...) | (...) | (...);
                            };
                            boolValue?: boolean;
                            bytesValue?: Uint8Array;
                            floatValue?: number;
                            intValue?: number;
                            listValue?: { values?: (...)
                            | (...) };
                            nullValue?: RichValue_NullValue;
                            stringValue?: string;
                            structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; floatValue?: number | undefined; bytesValue?: Uint8Array | undefined; ... 7 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; } | undefined;
                            timestampValue?: Date;
                            tokenValue?: {
                                amount?: (...) | (...);
                                specifiedAt?: (...) | (...);
                                token?: (...) | (...);
                            };
                        };
                };
            };
            entity?: string;
            genBlockChain?: string;
            genBlockNumber?: bigint;
            genBlockTime?: Date;
        },
    ): Entity;
    toJSON(message: Entity): unknown;
}