trabajo-afectivo/lib/sequencer/sequence/import/freshdesk/ticket.rb

37 lines
1.3 KiB
Ruby
Raw Permalink Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
2021-05-25 12:30:12 +00:00
class Sequencer
class Sequence
module Import
module Freshdesk
class Ticket < Sequencer::Sequence::Base
def self.sequence
[
'Common::ModelClass::Ticket',
# Fetch additional data such as attachments which is not included
# in the ticket list endpoint.
'Import::Freshdesk::Ticket::Fetch',
'Import::Freshdesk::Ticket::Mapping',
'Import::Freshdesk::Mapping::CustomFields',
'Import::Common::Model::FindBy::Number',
2021-05-25 12:30:12 +00:00
'Import::Common::Model::Attributes::AddByIds',
'Import::Common::Model::Update',
'Import::Common::Model::Create',
'Import::Common::Model::Save',
'Import::Freshdesk::MapId',
'Import::Freshdesk::Ticket::Tags',
'Import::Freshdesk::Ticket::TimeEntries',
'Import::Freshdesk::Ticket::Description',
'Import::Freshdesk::Ticket::Conversations',
'Import::Common::Model::Statistics::Diff::ModelKey',
'Import::Common::ImportJob::Statistics::Update',
'Import::Common::ImportJob::Statistics::Store',
]
end
end
end
end
end
end