conversation.rb 847 B

123456789101112131415161718192021
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Sequencer::Sequence::Import::Freshdesk::Conversation < Sequencer::Sequence::Base
  3. def self.sequence
  4. [
  5. 'Common::ModelClass::Ticket::Article',
  6. 'Import::Freshdesk::Conversation::User',
  7. 'Import::Freshdesk::Conversation::Mapping',
  8. 'Import::Common::Model::FindBy::MessageId',
  9. # It's important that the find by check is before the inline images mapping, because for the
  10. # update situation the old images needs to be deleted before the new ones are added.
  11. 'Import::Freshdesk::Conversation::InlineImages',
  12. 'Import::Common::Model::Update',
  13. 'Import::Common::Model::Create',
  14. 'Import::Common::Model::Save',
  15. 'Import::Freshdesk::MapId',
  16. 'Import::Freshdesk::Conversation::Attachments',
  17. ]
  18. end
  19. end