@adcp/sdk API Reference - v14.0.0-beta.6
    Preparing search index...

    Interface LegacyGovernanceHandlers<TAccount>

    interface LegacyGovernanceHandlers<TAccount = unknown> {
        createPropertyList?: DomainHandler<"create_property_list", TAccount>;
        updatePropertyList?: DomainHandler<"update_property_list", TAccount>;
        getPropertyList?: DomainHandler<"get_property_list", TAccount>;
        listPropertyLists?: DomainHandler<"list_property_lists", TAccount>;
        deletePropertyList?: DomainHandler<"delete_property_list", TAccount>;
        createCollectionList?: DomainHandler<"create_collection_list", TAccount>;
        updateCollectionList?: DomainHandler<"update_collection_list", TAccount>;
        getCollectionList?: DomainHandler<"get_collection_list", TAccount>;
        listCollectionLists?: DomainHandler<"list_collection_lists", TAccount>;
        deleteCollectionList?: DomainHandler<"delete_collection_list", TAccount>;
        listContentStandards?: DomainHandler<"list_content_standards", TAccount>;
        getContentStandards?: DomainHandler<"get_content_standards", TAccount>;
        createContentStandards?: DomainHandler<
            "create_content_standards",
            TAccount,
        >;
        updateContentStandards?: DomainHandler<
            "update_content_standards",
            TAccount,
        >;
        calibrateContent?: DomainHandler<"calibrate_content", TAccount>;
        validateContentDelivery?: DomainHandler<
            "validate_content_delivery",
            TAccount,
        >;
        getMediaBuyArtifacts?: DomainHandler<"get_media_buy_artifacts", TAccount>;
        getCreativeFeatures?: DomainHandler<"get_creative_features", TAccount>;
        syncPlans?: DomainHandler<"sync_plans", TAccount>;
        checkGovernance?: DomainHandler<"check_governance", TAccount>;
        reportPlanOutcome?: DomainHandler<"report_plan_outcome", TAccount>;
        resolveReportPlanAdjustmentScope?: (
            ctx: LegacyHandlerContext<TAccount>,
            params: {
                adcp_version?: string;
                adcp_major_version?: number;
                action: "report" | "review";
                plan_id: string;
                outcome_id?: string;
                adjustment_id?: string;
                decision?: "accept" | "dispute";
                seller_reference?: string;
                seller_adjustment_id?: string;
                adjustment_type?: "refund" | "credit" | "decommitment" | "makegood";
                amount?: { amount: number; currency: string; [key: string]: unknown };
                reason?: string;
                effective_at?: string;
                evidence?: {
                    evidence_id: string;
                    evidence_type:
                        | "decommitment_agreement"
                        | "refund_settlement"
                        | "credit_note"
                        | "makegood_agreement";
                    digest: string;
                    issued_at: string;
                    [key: string]: unknown;
                };
                idempotency_key: string;
                context?: { [key: string]: unknown };
                ext?: Record<string, unknown>;
                [key: string]: unknown;
            },
        ) => CallerMutationScope
        | Promise<CallerMutationScope>;
        reportPlanAdjustment?: DomainHandler<"report_plan_adjustment", TAccount>;
        getPlanAuditLogs?: DomainHandler<"get_plan_audit_logs", TAccount>;
    }

    Type Parameters

    • TAccount = unknown
    Index

    Properties

    createPropertyList?: DomainHandler<"create_property_list", TAccount>
    updatePropertyList?: DomainHandler<"update_property_list", TAccount>
    getPropertyList?: DomainHandler<"get_property_list", TAccount>
    listPropertyLists?: DomainHandler<"list_property_lists", TAccount>
    deletePropertyList?: DomainHandler<"delete_property_list", TAccount>
    createCollectionList?: DomainHandler<"create_collection_list", TAccount>
    updateCollectionList?: DomainHandler<"update_collection_list", TAccount>
    getCollectionList?: DomainHandler<"get_collection_list", TAccount>
    listCollectionLists?: DomainHandler<"list_collection_lists", TAccount>
    deleteCollectionList?: DomainHandler<"delete_collection_list", TAccount>
    listContentStandards?: DomainHandler<"list_content_standards", TAccount>
    getContentStandards?: DomainHandler<"get_content_standards", TAccount>
    createContentStandards?: DomainHandler<"create_content_standards", TAccount>
    updateContentStandards?: DomainHandler<"update_content_standards", TAccount>
    calibrateContent?: DomainHandler<"calibrate_content", TAccount>
    validateContentDelivery?: DomainHandler<"validate_content_delivery", TAccount>
    getMediaBuyArtifacts?: DomainHandler<"get_media_buy_artifacts", TAccount>
    getCreativeFeatures?: DomainHandler<"get_creative_features", TAccount>
    syncPlans?: DomainHandler<"sync_plans", TAccount>
    checkGovernance?: DomainHandler<"check_governance", TAccount>
    reportPlanOutcome?: DomainHandler<"report_plan_outcome", TAccount>
    resolveReportPlanAdjustmentScope?: (
        ctx: LegacyHandlerContext<TAccount>,
        params: {
            adcp_version?: string;
            adcp_major_version?: number;
            action: "report" | "review";
            plan_id: string;
            outcome_id?: string;
            adjustment_id?: string;
            decision?: "accept" | "dispute";
            seller_reference?: string;
            seller_adjustment_id?: string;
            adjustment_type?: "refund" | "credit" | "decommitment" | "makegood";
            amount?: { amount: number; currency: string; [key: string]: unknown };
            reason?: string;
            effective_at?: string;
            evidence?: {
                evidence_id: string;
                evidence_type:
                    | "decommitment_agreement"
                    | "refund_settlement"
                    | "credit_note"
                    | "makegood_agreement";
                digest: string;
                issued_at: string;
                [key: string]: unknown;
            };
            idempotency_key: string;
            context?: { [key: string]: unknown };
            ext?: Record<string, unknown>;
            [key: string]: unknown;
        },
    ) => CallerMutationScope
    | Promise<CallerMutationScope>

    Authorize and scope report_plan_adjustment to its tenant and plan owner.

    reportPlanAdjustment?: DomainHandler<"report_plan_adjustment", TAccount>
    getPlanAuditLogs?: DomainHandler<"get_plan_audit_logs", TAccount>