normalize
function normalize( cimDoc: Readonly<CimpressDocument>,): Promise<CimpressDocumentV2>;Defined in: normalize.ts:52
Normalizes a CDIF document.
Parameters
| Parameter | Type | Description |
|---|---|---|
cimDoc | Readonly<CimpressDocument> | The CDIF document to normalize to v2 |
Returns
Promise<CimpressDocumentV2>
The normalized CDIF document.