MonetizationOS Docs
Workflows ReferenceType Definitions

EndpointWorkflowArgs

type EndpointWorkflowArgs = {
  ctx: {
     cookies: Record<string, string | undefined>;
     params: Record<string, string>;
  };
  env: WorkflowEnv;
  request: Request;
  utils: WorkflowUtils & IdentityObservabilityWorkflowUtils & WorkflowOfferEngineUtils & WorkflowIntegrationUtils;
};

Properties

ctx

ctx: {
  cookies: Record<string, string | undefined>;
  params: Record<string, string>;
};
  • cookies

    cookies: Record<string, string | undefined>;
  • params

    params: Record<string, string>;

env

env: WorkflowEnv;

request

request: Request;

utils

utils: WorkflowUtils & IdentityObservabilityWorkflowUtils & WorkflowOfferEngineUtils & WorkflowIntegrationUtils;