UNPKG

@snap/camera-kit

Version:
1,398 lines 48.2 kB
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { Any } from "../../google/protobuf/any"; import { ExtensionEventBase } from "./business_events"; import { LegalPrompt } from "./legal_prompt"; import { Lens } from "./lens"; import { OperationalMetricsBundle } from "./operational_metrics"; import { RankingData } from "./ranking"; export const protobufPackage = "com.snap.camerakit.v3"; function createBaseGetGroupRequest() { return { id: "", rankingData: undefined }; } export const GetGroupRequest = { encode(message, writer = new BinaryWriter()) { if (message.id !== "") { writer.uint32(10).string(message.id); } if (message.rankingData !== undefined) { RankingData.encode(message.rankingData, writer.uint32(18).fork()).join(); } return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetGroupRequest(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: { if (tag !== 10) { break; } message.id = reader.string(); continue; } case 2: { if (tag !== 18) { break; } message.rankingData = RankingData.decode(reader, reader.uint32()); continue; } } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return GetGroupRequest.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(object) { var _a; const message = createBaseGetGroupRequest(); message.id = (_a = object.id) !== null && _a !== void 0 ? _a : ""; message.rankingData = (object.rankingData !== undefined && object.rankingData !== null) ? RankingData.fromPartial(object.rankingData) : undefined; return message; }, }; function createBaseGetGroupResponse() { return { id: "", lenses: [] }; } export const GetGroupResponse = { encode(message, writer = new BinaryWriter()) { if (message.id !== "") { writer.uint32(10).string(message.id); } for (const v of message.lenses) { Lens.encode(v, writer.uint32(18).fork()).join(); } return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetGroupResponse(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: { if (tag !== 10) { break; } message.id = reader.string(); continue; } case 2: { if (tag !== 18) { break; } message.lenses.push(Lens.decode(reader, reader.uint32())); continue; } } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return GetGroupResponse.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(object) { var _a, _b; const message = createBaseGetGroupResponse(); message.id = (_a = object.id) !== null && _a !== void 0 ? _a : ""; message.lenses = ((_b = object.lenses) === null || _b === void 0 ? void 0 : _b.map((e) => Lens.fromPartial(e))) || []; return message; }, }; function createBaseGetGroupLensRequest() { return { lensId: "", groupId: "" }; } export const GetGroupLensRequest = { encode(message, writer = new BinaryWriter()) { if (message.lensId !== "") { writer.uint32(10).string(message.lensId); } if (message.groupId !== "") { writer.uint32(18).string(message.groupId); } return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetGroupLensRequest(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: { if (tag !== 10) { break; } message.lensId = reader.string(); continue; } case 2: { if (tag !== 18) { break; } message.groupId = reader.string(); continue; } } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return GetGroupLensRequest.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(object) { var _a, _b; const message = createBaseGetGroupLensRequest(); message.lensId = (_a = object.lensId) !== null && _a !== void 0 ? _a : ""; message.groupId = (_b = object.groupId) !== null && _b !== void 0 ? _b : ""; return message; }, }; function createBaseGetGroupLensResponse() { return { lens: undefined, groupId: "" }; } export const GetGroupLensResponse = { encode(message, writer = new BinaryWriter()) { if (message.lens !== undefined) { Lens.encode(message.lens, writer.uint32(10).fork()).join(); } if (message.groupId !== "") { writer.uint32(18).string(message.groupId); } return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetGroupLensResponse(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: { if (tag !== 10) { break; } message.lens = Lens.decode(reader, reader.uint32()); continue; } case 2: { if (tag !== 18) { break; } message.groupId = reader.string(); continue; } } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return GetGroupLensResponse.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(object) { var _a; const message = createBaseGetGroupLensResponse(); message.lens = (object.lens !== undefined && object.lens !== null) ? Lens.fromPartial(object.lens) : undefined; message.groupId = (_a = object.groupId) !== null && _a !== void 0 ? _a : ""; return message; }, }; function createBaseBatchGetGroupLensRequest() { return { getRequests: [] }; } export const BatchGetGroupLensRequest = { encode(message, writer = new BinaryWriter()) { for (const v of message.getRequests) { GetGroupLensRequest.encode(v, writer.uint32(10).fork()).join(); } return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseBatchGetGroupLensRequest(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: { if (tag !== 10) { break; } message.getRequests.push(GetGroupLensRequest.decode(reader, reader.uint32())); continue; } } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return BatchGetGroupLensRequest.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(object) { var _a; const message = createBaseBatchGetGroupLensRequest(); message.getRequests = ((_a = object.getRequests) === null || _a === void 0 ? void 0 : _a.map((e) => GetGroupLensRequest.fromPartial(e))) || []; return message; }, }; function createBaseBatchGetGroupLensResponse() { return { getResponses: [] }; } export const BatchGetGroupLensResponse = { encode(message, writer = new BinaryWriter()) { for (const v of message.getResponses) { GetGroupLensResponse.encode(v, writer.uint32(10).fork()).join(); } return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseBatchGetGroupLensResponse(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: { if (tag !== 10) { break; } message.getResponses.push(GetGroupLensResponse.decode(reader, reader.uint32())); continue; } } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return BatchGetGroupLensResponse.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(object) { var _a; const message = createBaseBatchGetGroupLensResponse(); message.getResponses = ((_a = object.getResponses) === null || _a === void 0 ? void 0 : _a.map((e) => GetGroupLensResponse.fromPartial(e))) || []; return message; }, }; function createBaseGetPlaceholderConfigRequest() { return {}; } export const GetPlaceholderConfigRequest = { encode(_, writer = new BinaryWriter()) { return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetPlaceholderConfigRequest(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return GetPlaceholderConfigRequest.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(_) { const message = createBaseGetPlaceholderConfigRequest(); return message; }, }; function createBaseGetPlaceholderConfigResponse() { return { configs: {} }; } export const GetPlaceholderConfigResponse = { encode(message, writer = new BinaryWriter()) { Object.entries(message.configs).forEach(([key, value]) => { GetPlaceholderConfigResponse_ConfigsEntry.encode({ key: key, value }, writer.uint32(10).fork()).join(); }); return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetPlaceholderConfigResponse(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: { if (tag !== 10) { break; } const entry1 = GetPlaceholderConfigResponse_ConfigsEntry.decode(reader, reader.uint32()); if (entry1.value !== undefined) { message.configs[entry1.key] = entry1.value; } continue; } } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return GetPlaceholderConfigResponse.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(object) { var _a; const message = createBaseGetPlaceholderConfigResponse(); message.configs = Object.entries((_a = object.configs) !== null && _a !== void 0 ? _a : {}).reduce((acc, [key, value]) => { if (value !== undefined) { acc[key] = globalThis.String(value); } return acc; }, {}); return message; }, }; function createBaseGetPlaceholderConfigResponse_ConfigsEntry() { return { key: "", value: "" }; } export const GetPlaceholderConfigResponse_ConfigsEntry = { encode(message, writer = new BinaryWriter()) { if (message.key !== "") { writer.uint32(10).string(message.key); } if (message.value !== "") { writer.uint32(18).string(message.value); } return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetPlaceholderConfigResponse_ConfigsEntry(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: { if (tag !== 10) { break; } message.key = reader.string(); continue; } case 2: { if (tag !== 18) { break; } message.value = reader.string(); continue; } } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return GetPlaceholderConfigResponse_ConfigsEntry.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(object) { var _a, _b; const message = createBaseGetPlaceholderConfigResponse_ConfigsEntry(); message.key = (_a = object.key) !== null && _a !== void 0 ? _a : ""; message.value = (_b = object.value) !== null && _b !== void 0 ? _b : ""; return message; }, }; function createBaseGetInitializationConfigRequest() { return {}; } export const GetInitializationConfigRequest = { encode(_, writer = new BinaryWriter()) { return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetInitializationConfigRequest(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return GetInitializationConfigRequest.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(_) { const message = createBaseGetInitializationConfigRequest(); return message; }, }; function createBaseGetInitializationConfigResponse() { return { appVendorUuidOptIn: false, watermarkEnabled: false, childrenProtectionActRestricted: false, legalPrompt: undefined, }; } export const GetInitializationConfigResponse = { encode(message, writer = new BinaryWriter()) { if (message.appVendorUuidOptIn !== false) { writer.uint32(8).bool(message.appVendorUuidOptIn); } if (message.watermarkEnabled !== false) { writer.uint32(16).bool(message.watermarkEnabled); } if (message.childrenProtectionActRestricted !== false) { writer.uint32(24).bool(message.childrenProtectionActRestricted); } if (message.legalPrompt !== undefined) { LegalPrompt.encode(message.legalPrompt, writer.uint32(34).fork()).join(); } return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetInitializationConfigResponse(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: { if (tag !== 8) { break; } message.appVendorUuidOptIn = reader.bool(); continue; } case 2: { if (tag !== 16) { break; } message.watermarkEnabled = reader.bool(); continue; } case 3: { if (tag !== 24) { break; } message.childrenProtectionActRestricted = reader.bool(); continue; } case 4: { if (tag !== 34) { break; } message.legalPrompt = LegalPrompt.decode(reader, reader.uint32()); continue; } } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return GetInitializationConfigResponse.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(object) { var _a, _b, _c; const message = createBaseGetInitializationConfigResponse(); message.appVendorUuidOptIn = (_a = object.appVendorUuidOptIn) !== null && _a !== void 0 ? _a : false; message.watermarkEnabled = (_b = object.watermarkEnabled) !== null && _b !== void 0 ? _b : false; message.childrenProtectionActRestricted = (_c = object.childrenProtectionActRestricted) !== null && _c !== void 0 ? _c : false; message.legalPrompt = (object.legalPrompt !== undefined && object.legalPrompt !== null) ? LegalPrompt.fromPartial(object.legalPrompt) : undefined; return message; }, }; function createBaseSetOperationalMetricsRequest() { return { metrics: undefined }; } export const SetOperationalMetricsRequest = { encode(message, writer = new BinaryWriter()) { if (message.metrics !== undefined) { OperationalMetricsBundle.encode(message.metrics, writer.uint32(10).fork()).join(); } return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseSetOperationalMetricsRequest(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: { if (tag !== 10) { break; } message.metrics = OperationalMetricsBundle.decode(reader, reader.uint32()); continue; } } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return SetOperationalMetricsRequest.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(object) { const message = createBaseSetOperationalMetricsRequest(); message.metrics = (object.metrics !== undefined && object.metrics !== null) ? OperationalMetricsBundle.fromPartial(object.metrics) : undefined; return message; }, }; function createBaseSetOperationalMetricsResponse() { return {}; } export const SetOperationalMetricsResponse = { encode(_, writer = new BinaryWriter()) { return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseSetOperationalMetricsResponse(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return SetOperationalMetricsResponse.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(_) { const message = createBaseSetOperationalMetricsResponse(); return message; }, }; function createBaseSetBusinessEventsRequest() { return { batchEvents: undefined }; } export const SetBusinessEventsRequest = { encode(message, writer = new BinaryWriter()) { if (message.batchEvents !== undefined) { Any.encode(message.batchEvents, writer.uint32(10).fork()).join(); } return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseSetBusinessEventsRequest(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: { if (tag !== 10) { break; } message.batchEvents = Any.decode(reader, reader.uint32()); continue; } } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return SetBusinessEventsRequest.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(object) { const message = createBaseSetBusinessEventsRequest(); message.batchEvents = (object.batchEvents !== undefined && object.batchEvents !== null) ? Any.fromPartial(object.batchEvents) : undefined; return message; }, }; function createBaseSetBusinessEventsResponse() { return {}; } export const SetBusinessEventsResponse = { encode(_, writer = new BinaryWriter()) { return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseSetBusinessEventsResponse(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return SetBusinessEventsResponse.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(_) { const message = createBaseSetBusinessEventsResponse(); return message; }, }; function createBaseSetExtensionBusinessEventsRequest() { return { events: [], extensionEventBase: undefined }; } export const SetExtensionBusinessEventsRequest = { encode(message, writer = new BinaryWriter()) { for (const v of message.events) { Any.encode(v, writer.uint32(10).fork()).join(); } if (message.extensionEventBase !== undefined) { ExtensionEventBase.encode(message.extensionEventBase, writer.uint32(18).fork()).join(); } return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseSetExtensionBusinessEventsRequest(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: { if (tag !== 10) { break; } message.events.push(Any.decode(reader, reader.uint32())); continue; } case 2: { if (tag !== 18) { break; } message.extensionEventBase = ExtensionEventBase.decode(reader, reader.uint32()); continue; } } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return SetExtensionBusinessEventsRequest.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(object) { var _a; const message = createBaseSetExtensionBusinessEventsRequest(); message.events = ((_a = object.events) === null || _a === void 0 ? void 0 : _a.map((e) => Any.fromPartial(e))) || []; message.extensionEventBase = (object.extensionEventBase !== undefined && object.extensionEventBase !== null) ? ExtensionEventBase.fromPartial(object.extensionEventBase) : undefined; return message; }, }; function createBaseSetExtensionBusinessEventsResponse() { return {}; } export const SetExtensionBusinessEventsResponse = { encode(_, writer = new BinaryWriter()) { return writer; }, decode(input, length) { const reader = input instanceof BinaryReader ? input : new BinaryReader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseSetExtensionBusinessEventsResponse(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { } if ((tag & 7) === 4 || tag === 0) { break; } reader.skip(tag & 7); } return message; }, create(base) { return SetExtensionBusinessEventsResponse.fromPartial(base !== null && base !== void 0 ? base : {}); }, fromPartial(_) { const message = createBaseSetExtensionBusinessEventsResponse(); return message; }, }; export const LensesDefinition = { name: "Lenses", fullName: "com.snap.camerakit.v3.Lenses", methods: { getGroup: { name: "GetGroup", requestType: GetGroupRequest, requestStream: false, responseType: GetGroupResponse, responseStream: false, options: { idempotencyLevel: "NO_SIDE_EFFECTS", _unknownFields: { 578365826: [ new Uint8Array([ 43, 18, 41, 47, 99, 111, 109, 46, 115, 110, 97, 112, 46, 99, 97, 109, 101, 114, 97, 107, 105, 116, 46, 118, 51, 46, 76, 101, 110, 115, 101, 115, 47, 103, 114, 111, 117, 112, 115, 47, 123, 105, 100, 125, ]), ], }, }, }, getGroupLens: { name: "GetGroupLens", requestType: GetGroupLensRequest, requestStream: false, responseType: GetGroupLensResponse, responseStream: false, options: { idempotencyLevel: "NO_SIDE_EFFECTS", _unknownFields: { 578365826: [ new Uint8Array([ 66, 18, 64, 47, 99, 111, 109, 46, 115, 110, 97, 112, 46, 99, 97, 109, 101, 114, 97, 107, 105, 116, 46, 118, 51, 46, 76, 101, 110, 115, 101, 115, 47, 103, 114, 111, 117, 112, 115, 47, 123, 103, 114, 111, 117, 112, 95, 105, 100, 125, 47, 108, 101, 110, 115, 101, 115, 47, 123, 108, 101, 110, 115, 95, 105, 100, 125, ]), ], }, }, }, batchGetGroupLens: { name: "BatchGetGroupLens", requestType: BatchGetGroupLensRequest, requestStream: false, responseType: BatchGetGroupLensResponse, responseStream: false, options: { idempotencyLevel: "NO_SIDE_EFFECTS", _unknownFields: { 578365826: [ new Uint8Array([ 58, 34, 53, 47, 99, 111, 109, 46, 115, 110, 97, 112, 46, 99, 97, 109, 101, 114, 97, 107, 105, 116, 46, 118, 51, 46, 76, 101, 110, 115, 101, 115, 47, 103, 114, 111, 117, 112, 115, 95, 108, 101, 110, 115, 101, 115, 47, 98, 97, 116, 99, 104, 95, 103, 101, 116, 58, 1, 42, ]), ], }, }, }, getPlaceholderConfig: { name: "GetPlaceholderConfig", requestType: GetPlaceholderConfigRequest, requestStream: false, responseType: GetPlaceholderConfigResponse, responseStream: false, options: { idempotencyLevel: "NO_SIDE_EFFECTS", _unknownFields: { 578365826: [ new Uint8Array([ 50, 18, 48, 47, 99, 111, 109, 46, 115, 110, 97, 112, 46, 99, 97, 109, 101, 114, 97, 107, 105, 116, 46, 118, 51, 46, 76, 101, 110, 115, 101, 115, 47, 112, 108, 97, 99, 101, 104, 111, 108, 100, 101, 114, 95, 99, 111, 110, 102, 105, 103, ]), ], }, }, }, }, }; export const MetricsDefinition = { name: "Metrics", fullName: "com.snap.camerakit.v3.Metrics", methods: { setOperationalMetrics: { name: "SetOperationalMetrics", requestType: SetOperationalMetricsRequest, requestStream: false, responseType: SetOperationalMetricsResponse, responseStream: false, options: { _unknownFields: { 578365826: [ new Uint8Array([ 63, 34, 58, 47, 99, 111, 109, 46, 115, 110, 97, 112, 46, 99, 97, 109, 101, 114, 97, 107, 105, 116, 46, 118, 51, 46, 77, 101, 116, 114, 105, 99, 115, 47, 109, 101, 116, 114, 105, 99, 115, 47, 111, 112, 101, 114, 97, 116, 105, 111, 110, 97, 108, 95, 109, 101, 116, 114, 105, 99, 115, 58, 1, 42, ]), ], }, }, }, setBusinessEvents: { name: "SetBusinessEvents", requestType: SetBusinessEventsRequest, requestStream: false, responseType: SetBusinessEventsResponse, responseStream: false, options: { _unknownFields: { 578365826: [ new Uint8Array([ 59, 34, 54, 47, 99, 111, 109, 46, 115, 110, 97, 112, 46, 99, 97, 109, 101, 114, 97, 107, 105, 116, 46, 118, 51, 46, 77, 101, 116, 114, 105, 99, 115, 47, 109, 101, 116, 114, 105, 99, 115, 47, 98, 117, 115, 105, 110, 101, 115, 115, 95, 101, 118, 101, 110, 116, 115, 58, 1, 42, ]), ], }, }, }, setExtensionBusinessEvents: { name: "SetExtensionBusinessEvents", requestType: SetExtensionBusinessEventsRequest, requestStream: false, responseType: SetExtensionBusinessEventsResponse, responseStream: false, options: { _unknownFields: { 578365826: [ new Uint8Array([ 69, 34, 64, 47, 99, 111, 109, 46, 115, 110, 97, 112, 46, 99, 97, 109, 101, 114, 97, 107, 105, 116, 46, 118, 51, 46, 77, 101, 116, 114, 105, 99, 115, 47, 109, 101, 116, 114, 105, 99, 115, 47, 101, 120, 116, 101, 110, 115, 105, 111, 110, 95, 98, 117, 115, 105, 110, 101, 115, 115, 95, 101, 118, 101, 110, 116, 115, 58, 1, 42, ]), ], }, }, }, getInitializationConfig: { name: "GetInitializationConfig", requestType: GetInitializationConfigRequest, requestStream: false, responseType: GetInitializationConfigResponse, responseStream: false, options: { idempotencyLevel: "NO_SIDE_EFFECTS", _unknownFields: { 578365826: [ new Uint8Array([ 62, 18, 60, 47, 99, 111, 109, 46, 115, 110, 97, 112, 46, 99, 97, 109, 101, 114, 97, 107, 105, 116, 46, 118, 51, 46, 77, 101, 116, 114, 105, 99, 115, 47, 109, 101, 116, 114, 105, 99, 115, 47, 105, 110, 105, 116, 105, 97, 108, 105, 122, 97, 116, 105, 111, 110, 95, 99, 111, 110, 102, 105, 103, ]), ], }, }, }, }, }; //# sourceMappingURL=service.js.map