@salesforce/b2c-tooling-sdk / operations/cip / buildCipReportSql
Function: buildCipReportSql()
buildCipReportSql(
name,params):CipReportSqlResult
Defined in: packages/b2c-tooling-sdk/src/operations/cip/index.ts:197
Builds SQL for a curated report after validating provided parameters.
Parameters
name
string
The name of the report to build SQL for
params
Record<string, string>
Parameter values to substitute into the report template, keyed by parameter name
Returns
The report definition and generated SQL string ready for execution
Throws
If the report name is not found in the catalog or required parameters are missing