@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Variable SyncEventSourcesSuccessSchemaConst

    SyncEventSourcesSuccessSchema: ZodObject<
        {
            event_sources: ZodArray<
                ZodObject<
                    {
                        event_source_id: ZodString;
                        name: ZodOptional<ZodString>;
                        seller_id: ZodOptional<ZodString>;
                        event_types: ZodOptional<
                            ZodArray<
                                ZodUnion<
                                    readonly [
                                        ZodLiteral<"page_view">,
                                        ZodLiteral<"view_content">,
                                        ZodLiteral<"select_content">,
                                        ZodLiteral<"select_item">,
                                        ZodLiteral<"search">,
                                        ZodLiteral<"share">,
                                        ZodLiteral<"add_to_cart">,
                                        ZodLiteral<"remove_from_cart">,
                                        ZodLiteral<"viewed_cart">,
                                        ZodLiteral<"add_to_wishlist">,
                                        ZodLiteral<"initiate_checkout">,
                                        ZodLiteral<"add_payment_info">,
                                        ZodLiteral<"purchase">,
                                        ZodLiteral<"refund">,
                                        ZodLiteral<"lead">,
                                        ZodLiteral<"qualify_lead">,
                                        ZodLiteral<"close_convert_lead">,
                                        ZodLiteral<"disqualify_lead">,
                                        ZodLiteral<"complete_registration">,
                                        ZodLiteral<"subscribe">,
                                        ZodLiteral<"start_trial">,
                                        ZodLiteral<"app_install">,
                                        ZodLiteral<"app_launch">,
                                        ZodLiteral<"contact">,
                                        ZodLiteral<"schedule">,
                                        ZodLiteral<"donate">,
                                        ZodLiteral<"submit_application">,
                                        ZodLiteral<"custom">,
                                    ],
                                >,
                            >,
                        >;
                        action_source: ZodOptional<
                            ZodUnion<
                                readonly [
                                    ZodLiteral<"website">,
                                    ZodLiteral<"app">,
                                    ZodLiteral<"offline">,
                                    ZodLiteral<"phone_call">,
                                    ZodLiteral<"chat">,
                                    ZodLiteral<"email">,
                                    ZodLiteral<"in_store">,
                                    ZodLiteral<"system_generated">,
                                    ZodLiteral<"other">,
                                ],
                            >,
                        >;
                        managed_by: ZodOptional<
                            ZodUnion<readonly [ZodLiteral<"buyer">, ZodLiteral<"seller">]>,
                        >;
                        setup: ZodOptional<
                            ZodObject<
                                {
                                    snippet: ZodOptional<ZodString>;
                                    snippet_type: ZodOptional<
                                        ZodUnion<readonly [(...), (...), (...), (...)]>,
                                    >;
                                    instructions: ZodOptional<ZodString>;
                                },
                                $loose,
                            >,
                        >;
                        action: ZodUnion<
                            readonly [
                                ZodLiteral<"created">,
                                ZodLiteral<"updated">,
                                ZodLiteral<"unchanged">,
                                ZodLiteral<"deleted">,
                                ZodLiteral<"failed">,
                            ],
                        >;
                        health: ZodOptional<
                            ZodObject<
                                {
                                    status: ZodUnion<
                                        readonly [
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                        ],
                                    >;
                                    detail: ZodOptional<
                                        ZodObject<{ score: ...; max_score: ...; label: ... }, $loose>,
                                    >;
                                    match_rate: ZodOptional<ZodNumber>;
                                    last_event_at: ZodOptional<ZodISODateTime>;
                                    evaluated_at: ZodOptional<ZodISODateTime>;
                                    events_received_24h: ZodOptional<ZodNumber>;
                                    issues: ZodOptional<ZodArray<ZodObject<(...), (...)>>>;
                                },
                                $loose,
                            >,
                        >;
                        errors: ZodOptional<
                            ZodArray<
                                ZodObject<
                                    {
                                        code: ZodString;
                                        message: ZodString;
                                        field: ZodOptional<ZodString>;
                                        suggestion: ZodOptional<ZodString>;
                                        retry_after: ZodOptional<ZodNumber>;
                                        issues: ZodOptional<ZodArray<(...)>>;
                                        details: ZodOptional<ZodObject<(...), (...)>>;
                                        recovery: ZodOptional<ZodUnion<(...)>>;
                                    },
                                    $loose,
                                >,
                            >,
                        >;
                    },
                    $loose,
                >,
            >;
            sandbox: ZodOptional<ZodBoolean>;
            context: ZodOptional<ZodObject<{}, $loose>>;
            ext: ZodOptional<ZodObject<{}, $loose>>;
        },
        $loose,
    > = ...