Type Alias CopyResponse

CopyResponse: {
    accountId: Id;
    created: Record<Id, any> | null;
    fromAccountId: Id;
    newState: string;
    notCreated: Record<Id, SetError> | null;
    oldState: string | null;
}

RFC 8620 (5.4) - https://datatracker.ietf.org/doc/html/rfc8620#section-5.4 can return error alreadyExists, fromAccountNotFound, fromAccountNotSupportedByMethod, stateMismatch

Type declaration

  • accountId: Id
  • created: Record<Id, any> | null
  • fromAccountId: Id
  • newState: string
  • notCreated: Record<Id, SetError> | null
  • oldState: string | null