@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias CustomerOnboardingInput

    CustomerOnboardingInput: Omit<CreateCustomerWorkflowArgs, "customerId"> & {
        id?: string;
    }

    Everything the caller supplies to start onboarding. The customer's external id is minted here rather than by the caller, so id is optional (supply it only to pin the workflow id — used by tests).

    Type Declaration

    • Optionalid?: string

      Pre-minted external customer id (cust_…). Defaults to a fresh nanoId("cust"). It doubles as the Temporal workflowId, which is what makes a repeated start idempotent rather than a second provisioning run.