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

    Minimal surface of the PropelAuth BaseAuth client (from @propelauth/node) used to provision a customer workspace. The temporal-worker binds the real initBaseAuth(...) instance, which structurally satisfies this — we keep the dependency structural so customer-services doesn't take a hard @propelauth/node edge for one method.

    interface PropelAuthOrgProvisioner {
        createOrg(
            args: {
                domain: string;
                enableAutoJoiningByDomain?: boolean;
                name: string;
            },
        ): Promise<{ orgId: string }>;
        fetchOrgByQuery(
            query: { domain: string },
        ): Promise<{ orgs: { orgId: string }[] }>;
    }
    Index

    Methods

    • Parameters

      • args: { domain: string; enableAutoJoiningByDomain?: boolean; name: string }

      Returns Promise<{ orgId: string }>