MonetizationOS Docs
Workflows ReferenceType Definitions

SurfaceWorkflowArgs

type SurfaceWorkflowArgs = {
  context: WorkflowContext;
  customerData: WorkflowCustomerData;
  env: WorkflowEnv;
  features: Record<string, Record<string, SurfaceWorkflowProperty>>;
  identity: WorkflowIdentity;
  resource: WorkflowResource;
  surfaceProperties?: Record<string, unknown>;
  utils: WorkflowUtils & WorkflowOfferEngineUtils;
};

Properties

context

context: WorkflowContext;

customerData

customerData: WorkflowCustomerData;

env

env: WorkflowEnv;

features

features: Record<string, Record<string, SurfaceWorkflowProperty>>;

identity

identity: WorkflowIdentity;

resource

resource: WorkflowResource;

surfaceProperties?

optional surfaceProperties: Record<string, unknown>;

utils

utils: WorkflowUtils & WorkflowOfferEngineUtils;