You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
CustomFieldsType
export type CustomFieldsType = {
__typename?: 'CustomFieldsType';
typeRef: Reference;
type?: Maybe<TypeDefinition>;
customFieldsRaw?: Maybe<Array<RawCustomField>>;
};