You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
OrderStateChanged
export type OrderStateChanged = MessagePayload & {
__typename?: 'OrderStateChanged';
orderId: Scalars['String'];
orderState: OrderState;
oldOrderState?: Maybe<OrderState>;
type: Scalars['String'];
};