Function: getSchemaAndMapping()
ts
function getSchemaAndMapping(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
mapping?: Record<string, any>;
schema?: Record<string, any>;
}>;Defined in: src/assets/api/importSources.ts:120
Get the current schema and mapping of the import configuration
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { importSourceId: string; } | - |
parameters.importSourceId | string | The importSourceId of the import source configuration. For use with external imports only |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; mapping?: Record<string, any>; schema?: Record<string, any>; }>