Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.0 KB
Raw Blame
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

syntax = "proto2";
package WAArmadilloTransportEvent;
option go_package = "go.mau.fi/whatsmeow/proto/waArmadilloTransportEvent";

message TransportEvent {
	message Event {
		message IcdcAlert {
			enum Type {
				NONE = 0;
				DETECTED = 1;
				CLEARED = 2;
			}

			optional Type type = 1;
		}

		message DeviceChange {
			enum Type {
				NONE = 0;
				ADDED = 1;
				REMOVED = 2;
				REPLACED = 3;
			}

			optional Type type = 1;
			optional string deviceName = 2;
			optional string devicePlatform = 3;
			optional string deviceModel = 4;
		}

		oneof event {
			DeviceChange deviceChange = 1;
			IcdcAlert icdcAlert = 2;
		}
	}

	message Placeholder {
		enum Type {
			DECRYPTION_FAILURE = 1;
			UNAVAILABLE_MESSAGE = 2;
		}

		optional Type type = 1;
	}

	oneof content {
		Placeholder placeholder = 1;
		Event event = 2;
	}
}