UNPKG

@snap/camera-kit

Version:
52 lines 1.75 kB
import _m0 from "protobufjs/minimal"; export declare const protobufPackage = "snapchat.common"; export interface Ruid { type: Ruid_Type; stringValue: string; loggingIdValue: string; } export declare enum Ruid_Type { UNSET = 0, USER = 1, DEVICE = 2, WEB_CLIENT = 3, AD_ACCOUNT = 4, USERNAME = 5, AD_MODERATION_AD = 6, WEB_SNAPCHAT_USER = 7, INTERNAL = 8, AM_ORGANIZATION = 9, AM_MEMBER = 10, AM_SESSION = 11, AM_PROFILE = 12, AM_SNAPCHAT_USER = 13, SNAPCHAT_ADVERTISING = 14, AM_CLIENT = 15, MISCHIEF = 16, ARES_VISITOR = 17, POD_NAME = 18, UNRECOGNIZED = -1 } export declare const Ruid: { encode(message: Ruid, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Ruid; fromPartial<I extends { type?: Ruid_Type | undefined; stringValue?: string | undefined; loggingIdValue?: string | undefined; } & { type?: Ruid_Type | undefined; stringValue?: string | undefined; loggingIdValue?: string | undefined; } & Record<Exclude<keyof I, keyof Ruid>, never>>(object: I): Ruid; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]>; } : Partial<T>; type KeysOfUnion<T> = T extends T ? keyof T : never; export type Exact<P, I extends P> = P extends Builtin ? P : P & { [K in keyof P]: Exact<P[K], I[K]>; } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>; export {}; //# sourceMappingURL=ruid.d.ts.map