ticket.rb 1.1 KB

1234567891011121314151617181920212223242526272829
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Sequencer::Sequence::Import::Freshdesk::Ticket < Sequencer::Sequence::Base
  3. def self.sequence
  4. [
  5. 'Common::ModelClass::Ticket',
  6. # Fetch additional data such as attachments which is not included
  7. # in the ticket list endpoint.
  8. 'Import::Freshdesk::Ticket::Fetch',
  9. 'Import::Freshdesk::Ticket::RequesterContact',
  10. 'Import::Freshdesk::Ticket::Mapping',
  11. 'Import::Freshdesk::Mapping::CustomFields',
  12. 'Import::Common::Model::FindBy::Number',
  13. 'Import::Common::Model::Attributes::AddByIds',
  14. 'Import::Common::Model::Update',
  15. 'Import::Common::Model::Create',
  16. 'Import::Common::Model::Save',
  17. 'Import::Freshdesk::MapId',
  18. 'Import::Freshdesk::Ticket::Tags',
  19. 'Import::Freshdesk::Ticket::TimeEntries',
  20. 'Import::Freshdesk::Ticket::Description',
  21. 'Import::Freshdesk::Ticket::Conversations',
  22. 'Import::Common::Model::Statistics::Diff::ModelKey',
  23. 'Import::Common::ImportJob::Statistics::Update',
  24. 'Import::Common::ImportJob::Statistics::Store',
  25. ]
  26. end
  27. end