UNPKG

@deviceidio/deviceid

Version:

deviceID client

826 lines (822 loc) 13.1 kB
/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ "use strict"; var $protobuf = require("protobufjs/light"); var $root = ( $protobuf.roots["default"] || ($protobuf.roots["default"] = new $protobuf.Root()) ).addJSON({ Response: { oneofs: { _j: { oneof: ["j"], }, }, fields: { a: { type: "string", id: 1, }, b: { type: "string", id: 2, }, c: { type: "bool", id: 3, }, e: { type: "int32", id: 5, }, f: { type: "int32", id: 6, }, g: { type: "bool", id: 7, }, h: { type: "bool", id: 8, }, i: { type: "string", id: 9, }, j: { type: "string", id: 10, options: { proto3_optional: true, }, }, }, }, Identification: { oneofs: { _tls: { oneof: ["tls"], }, _dev: { oneof: ["dev"], }, _url: { oneof: ["url"], }, _private: { oneof: ["private"], }, _old: { oneof: ["old"], }, _cookie: { oneof: ["cookie"], }, _local: { oneof: ["local"], }, _print: { oneof: ["print"], }, _id: { oneof: ["id"], }, _tag: { oneof: ["tag"], }, }, fields: { tls: { type: "string", id: 1, options: { proto3_optional: true, }, }, dev: { type: "int32", id: 2, options: { proto3_optional: true, }, }, url: { type: "string", id: 3, options: { proto3_optional: true, }, }, platform: { keyType: "string", type: "string", id: 4, }, private: { type: "Private", id: 5, options: { proto3_optional: true, }, }, old: { type: "string", id: 6, options: { proto3_optional: true, }, }, cookie: { type: "string", id: 7, options: { proto3_optional: true, }, }, clientTiming: { type: "int32", id: 8, }, local: { type: "bool", id: 9, options: { proto3_optional: true, }, }, print: { type: "Print", id: 10, options: { proto3_optional: true, }, }, id: { type: "string", id: 11, options: { proto3_optional: true, }, }, tag: { type: "string", id: 12, options: { proto3_optional: true, }, }, }, }, Print: { oneofs: { _c1: { oneof: ["c1"], }, _id: { oneof: ["id"], }, }, fields: { a: { type: "string", id: 1, }, b: { keyType: "string", type: "bool", id: 2, }, d: { type: "bool", id: 3, }, g: { type: "Audio", id: 4, }, i: { type: "string", id: 5, }, j: { type: "string", id: 6, }, k: { type: "int32", id: 7, }, m: { type: "string", id: 8, }, n: { type: "int32", id: 9, }, o: { type: "int32", id: 10, }, t: { type: "string", id: 11, }, v: { type: "string", id: 12, }, w: { type: "string", id: 13, }, x: { type: "string", id: 14, }, y: { type: "string", id: 15, }, z: { type: "string", id: 16, }, bb: { type: "string", id: 17, }, cc: { type: "int32", id: 18, }, dd: { type: "bool", id: 19, }, ee: { type: "int32", id: 20, }, ff: { type: "string", id: 21, }, gg: { type: "int32", id: 22, }, hh: { type: "bool", id: 23, }, ii: { rule: "repeated", type: "double", id: 24, }, jj: { rule: "repeated", type: "WebGLData", id: 25, }, ll: { type: "int32", id: 26, }, a1: { type: "string", id: 27, }, a8: { type: "string", id: 28, }, a0: { type: "bool", id: 29, }, b0: { type: "int32", id: 30, }, zz: { type: "string", id: 31, }, a2: { type: "string", id: 32, }, a3: { type: "string", id: 33, }, a4: { type: "string", id: 34, }, a5: { type: "string", id: 35, }, a6: { type: "string", id: 36, }, a7: { type: "string", id: 37, }, a9: { type: "string", id: 38, }, b1: { type: "string", id: 39, }, kk: { type: "bool", id: 40, }, aa: { type: "bool", id: 41, }, p: { type: "bool", id: 42, }, q: { type: "bool", id: 43, }, r: { type: "bool", id: 44, }, s: { type: "bool", id: 45, }, b2: { type: "string", id: 46, }, c: { rule: "repeated", type: "int32", id: 47, }, c1: { type: "string", id: 48, options: { proto3_optional: true, }, }, id: { type: "string", id: 49, options: { proto3_optional: true, }, }, ua: { type: "string", id: 50, }, }, }, WebGLData: { fields: { debugRendererInfo: { keyType: "string", type: "string", id: 1, }, fragmentShader: { type: "FragmentShader", id: 2, }, frameBuffer: { type: "FrameBuffer", id: 3, }, gpu: { type: "string", id: 4, }, gpuBrand: { type: "string", id: 5, }, gpuHash: { type: "string", id: 6, }, rasterizer: { type: "Rasterizer", id: 7, }, textures: { keyType: "string", type: "int32", id: 8, }, vertexShader: { type: "VertexShader", id: 9, }, webGLContextInfo: { type: "WebGLContextInfo", id: 10, }, webGLExtensions: { rule: "repeated", type: "string", id: 11, }, transformFeedback: { keyType: "string", type: "int32", id: 12, }, uniformBuffers: { keyType: "string", type: "int32", id: 13, }, }, }, Rasterizer: { fields: { a: { rule: "repeated", type: "int32", id: 1, }, b: { rule: "repeated", type: "int32", id: 2, }, }, }, WebGLContextInfo: { oneofs: { _c: { oneof: ["c"], }, }, fields: { a: { type: "bool", id: 1, }, b: { type: "string", id: 2, }, c: { type: "bool", id: 3, options: { proto3_optional: true, }, }, d: { type: "bool", id: 4, }, e: { type: "string", id: 5, }, f: { type: "string", id: 6, }, }, }, VertexShader: { oneofs: { _f: { oneof: ["f"], }, _g: { oneof: ["g"], }, _h: { oneof: ["h"], }, _i: { oneof: ["i"], }, _j: { oneof: ["j"], }, }, fields: { a: { type: "int32", id: 1, }, b: { type: "int32", id: 2, }, c: { type: "int32", id: 3, }, d: { type: "int32", id: 4, }, e: { rule: "repeated", type: "int32", id: 5, }, f: { type: "int32", id: 6, options: { proto3_optional: true, }, }, g: { type: "int32", id: 7, options: { proto3_optional: true, }, }, h: { type: "int32", id: 8, options: { proto3_optional: true, }, }, i: { type: "int32", id: 9, options: { proto3_optional: true, }, }, j: { type: "int32", id: 10, options: { proto3_optional: true, }, }, }, }, FragmentShader: { oneofs: { _d: { oneof: ["d"], }, _e: { oneof: ["e"], }, _f: { oneof: ["f"], }, _g: { oneof: ["g"], }, _h: { oneof: ["h"], }, }, fields: { a: { rule: "repeated", type: "int32", id: 1, }, b: { type: "int32", id: 2, }, c: { type: "int32", id: 3, }, d: { type: "int32", id: 4, options: { proto3_optional: true, }, }, e: { type: "int32", id: 5, options: { proto3_optional: true, }, }, f: { type: "int32", id: 6, options: { proto3_optional: true, }, }, g: { type: "int32", id: 7, options: { proto3_optional: true, }, }, h: { type: "int32", id: 8, options: { proto3_optional: true, }, }, }, }, FrameBuffer: { oneofs: { _e: { oneof: ["e"], }, _f: { oneof: ["f"], }, _g: { oneof: ["g"], }, }, fields: { a: { rule: "repeated", type: "int32", id: 1, }, b: { type: "int32", id: 2, }, c: { rule: "repeated", type: "int32", id: 3, }, d: { rule: "repeated", type: "int32", id: 4, }, e: { type: "int32", id: 5, options: { proto3_optional: true, }, }, f: { type: "int32", id: 6, options: { proto3_optional: true, }, }, g: { type: "int32", id: 7, options: { proto3_optional: true, }, }, }, }, Audio: { fields: { pxi: { type: "double", id: 1, }, vc: { type: "AudioData", id: 2, }, hash: { type: "string", id: 3, }, }, }, AudioData: { fields: { a: { type: "double", id: 1, }, b: { type: "int32", id: 2, }, c: { type: "string", id: 3, }, d: { type: "string", id: 4, }, e: { type: "int32", id: 5, }, f: { type: "int32", id: 6, }, g: { type: "int32", id: 7, }, h: { type: "int32", id: 8, }, i: { type: "int32", id: 9, }, j: { type: "string", id: 10, }, k: { type: "string", id: 11, }, l: { type: "int32", id: 12, }, m: { type: "string", id: 13, }, n: { type: "string", id: 14, }, o: { type: "int32", id: 15, }, p: { type: "int32", id: 16, }, q: { type: "int32", id: 17, }, r: { type: "int32", id: 18, }, s: { type: "int32", id: 19, }, t: { type: "int32", id: 20, }, u: { type: "double", id: 21, }, }, }, Private: { fields: { isPrivate: { type: "bool", id: 1, }, browserName: { type: "string", id: 2, }, }, }, }); module.exports = $root;