@adcp/sdk API Reference - v10.0.1
    Preparing search index...

    Interface DecomposedUpdateMediaBuyMutation

    One concrete requested mutation inside an update_media_buy patch.

    field is the normalized schema path used for action mapping (packages[].budget), while path is the concrete request path (packages[0].budget) that adopter code can use for diagnostics or dispatch. from is best-effort and only populated for fields the helper can read from the supplied current buy snapshot.

    interface DecomposedUpdateMediaBuyMutation {
        action: MediaBuyValidAction;
        direction?: MediaBuyMutationDirection;
        field: string;
        path: string;
        scope: MediaBuyMutationScope;
        package_id?: string;
        package_index?: number;
        from?: unknown;
        to?: unknown;
    }
    Index

    Properties

    field: string
    path: string
    package_id?: string
    package_index?: number
    from?: unknown
    to?: unknown