You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
CustomFieldsDraft
export type CustomFieldsDraft = {
typeId?: InputMaybe<Scalars['String']>;
typeKey?: InputMaybe<Scalars['String']>;
type?: InputMaybe<ResourceIdentifierInput>;
fields?: InputMaybe<Array<CustomFieldInput>>;
};