You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
MyTransactionDraft
export type MyTransactionDraft = {
timestamp?: InputMaybe<Scalars['DateTime']>;
type: TransactionType;
amount: MoneyInput;
interactionId?: InputMaybe<Scalars['String']>;
custom?: InputMaybe<CustomFieldsDraft>;
};