2022-01-01 13:38:12 +00:00
|
|
|
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
|
2021-06-01 12:20:20 +00:00
|
|
|
|
2018-01-08 15:29:34 +00:00
|
|
|
class Sequencer
|
|
|
|
class Sequence
|
|
|
|
module Import
|
|
|
|
module Zendesk
|
|
|
|
class Ticket < Sequencer::Sequence::Base
|
|
|
|
|
|
|
|
def self.sequence
|
|
|
|
[
|
2019-08-08 08:15:39 +00:00
|
|
|
'Import::Zendesk::Ticket::Skip::Deleted',
|
2021-06-23 11:35:27 +00:00
|
|
|
'Import::Zendesk::Ticket::UserId',
|
|
|
|
'Import::Zendesk::Ticket::OwnerId',
|
|
|
|
'Import::Zendesk::Ticket::GroupId',
|
|
|
|
'Import::Zendesk::Ticket::OrganizationId',
|
|
|
|
'Import::Zendesk::Ticket::PriorityId',
|
|
|
|
'Import::Zendesk::Ticket::StateId',
|
|
|
|
'Import::Zendesk::Common::ArticleSenderId',
|
|
|
|
'Import::Zendesk::Common::ArticleTypeId',
|
2018-01-08 15:29:34 +00:00
|
|
|
'Import::Zendesk::Ticket::Subject',
|
|
|
|
'Import::Zendesk::Ticket::CustomFields',
|
|
|
|
'Import::Zendesk::Ticket::Mapping',
|
|
|
|
'Common::ModelClass::Ticket',
|
|
|
|
'Import::Common::Model::FindBy::Id',
|
|
|
|
'Import::Common::Model::Update',
|
|
|
|
'Import::Common::Model::Create',
|
|
|
|
'Import::Common::Model::Save',
|
|
|
|
'Import::Common::Model::ResetPrimaryKeySequence',
|
|
|
|
'Import::Zendesk::Ticket::Tags',
|
|
|
|
'Import::Zendesk::Ticket::Comments',
|
|
|
|
'Import::Common::Model::Statistics::Diff::ModelKey',
|
|
|
|
'Import::Common::ImportJob::Statistics::Update',
|
|
|
|
'Import::Common::ImportJob::Statistics::Store',
|
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|