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

34 lines
1.2 KiB
Ruby
Raw Normal View History

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::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