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.

3.6 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/.

//! Protobuf types of the whatsmeow port, generated by prost from the `.proto`
//! files under `proto/` (copied from whatsmeow's `proto/` tree).
//!
//! Modules carry prost's snake_case form of each proto package name. The
//! aliases at the bottom give every package the directory name whatsmeow's Go
//! code imports it by (`waE2E` → [`wa_e2e`]), so ported code reads like the Go.
#![deny(missing_docs)]

#[expect(
    missing_docs,
    clippy::large_enum_variant,
    clippy::module_inception,
    reason = "prost output for the vendored .proto files; the wire shapes are WhatsApp's"
)]
mod generated {
    include!(concat!(env!("OUT_DIR"), "/_includes.rs"));
}

pub use generated::*;

/// whatsmeow's `proto/waLidMigrationSyncPayload` package (`WAWebProtobufLidMigrationSyncPayload`).
pub use wa_web_protobuf_lid_migration_sync_payload as wa_lid_migration_sync_payload;
/// whatsmeow's `proto/waSyncAction` package (`WAWebProtobufSyncAction`).
pub use wa_web_protobuf_sync_action as wa_sync_action;
/// whatsmeow's `proto/waAea` package (`WAWebProtobufsAea`).
pub use wa_web_protobufs_aea as wa_aea;
/// whatsmeow's `proto/waAICommon` package (`WAWebProtobufsAICommon`).
pub use wa_web_protobufs_ai_common as wa_ai_common;
/// whatsmeow's `proto/waChatLockSettings` package (`WAWebProtobufsChatLockSettings`).
pub use wa_web_protobufs_chat_lock_settings as wa_chat_lock_settings;
/// whatsmeow's `proto/waDeviceCapabilities` package (`WAWebProtobufsDeviceCapabilities`).
pub use wa_web_protobufs_device_capabilities as wa_device_capabilities;
/// whatsmeow's `proto/waE2E` package (`WAWebProtobufsE2E`).
pub use wa_web_protobufs_e2e as wa_e2e;
/// whatsmeow's `proto/waE2EGuest` package (`WAWebProtobufsE2EGuest`).
pub use wa_web_protobufs_e2e_guest as wa_e2e_guest;
/// whatsmeow's `proto/waEphemeral` package (`WAWebProtobufsEphemeral`).
pub use wa_web_protobufs_ephemeral as wa_ephemeral;
/// whatsmeow's `proto/waGroupHistory` package (`WAWebProtobufsGroupHistory`).
pub use wa_web_protobufs_group_history as wa_group_history;
/// whatsmeow's `proto/waHistorySync` package (`WAWebProtobufsHistorySync`).
pub use wa_web_protobufs_history_sync as wa_history_sync;
/// whatsmeow's `proto/waQuickPromotionSurfaces` package (`WAWebProtobufsQuickPromotionSurfaces`).
pub use wa_web_protobufs_quick_promotion_surfaces as wa_quick_promotion_surfaces;
/// whatsmeow's `proto/waReporting` package (`WAWebProtobufsReporting`).
pub use wa_web_protobufs_reporting as wa_reporting;
/// whatsmeow's `proto/waRoutingInfo` package (`WAWebProtobufsRoutingInfo`).
pub use wa_web_protobufs_routing_info as wa_routing_info;
/// whatsmeow's `proto/waServerSync` package (`WAWebProtobufsServerSync`).
pub use wa_web_protobufs_server_sync as wa_server_sync;
/// whatsmeow's `proto/waSyncdSnapshotRecovery` package (`WAWebProtobufsSyncdSnapshotRecovery`).
pub use wa_web_protobufs_syncd_snapshot_recovery as wa_syncd_snapshot_recovery;
/// whatsmeow's `proto/waUserPassword` package (`WAWebProtobufsUserPassword`).
pub use wa_web_protobufs_user_password as wa_user_password;
/// whatsmeow's `proto/waVnameCert` package (`WAWebProtobufsVnameCert`).
pub use wa_web_protobufs_vname_cert as wa_vname_cert;
/// whatsmeow's `proto/waWa6` package (`WAWebProtobufsWa6`).
pub use wa_web_protobufs_wa6 as wa_wa6;
/// whatsmeow's `proto/waWeb` package (`WAWebProtobufsWeb`).
pub use wa_web_protobufs_web as wa_web;
/// whatsmeow's `proto/waAICommonDeprecated` package (`WAAICommonDeprecated`).
pub use waai_common_deprecated as wa_ai_common_deprecated;