pub struct SyncEntityMapping {
pub domain_id: Option<String>,
pub domain_type: String,
pub id: i64,
pub last_synced_date: Option<DateTime<Utc>>,
pub meta: MetaDataEntityId,
pub scope: Option<String>,
pub source_entity_id: Option<String>,
pub source_id: i64,
pub status: String,
pub extra: Map<String, Value>,
}Expand description
Stored link between a ChurchTools entity and an external record; deleting it does not delete either record.
Fields§
§domain_id: Option<String>ChurchTools entity ID as text.
domain_type: StringChurchTools domain types accepted by entity and field mapping validation. Adapter support can be a smaller subset.
Allowed values: account, account_class, account_group, account_type, accounting_period, agenda, agenda_item, appointment, appointment_image, appointment_occurrence, appointment_template_image, attachments, avatar, booking, bulkletter_template, client, cost_center, custom_module, donation_attachment_template, donation_cover_letter_template, eubp_attachment, eubp_submission, event, eventchat, familyavatar, file, finance_template, follow_up, further_link, group, ….
id: i64Mapping ID
last_synced_date: Option<DateTime<Utc>>A timestamp in Zulu time format, e.g. ‘2022-10-19T12:00:00Z’
meta: MetaDataEntityId§scope: Option<String>Adapter-specific context key.
source_entity_id: Option<String>ID in the external system.
source_id: i64External connection ID (the source system).
status: StringState of the relationship: synchronized, unresolved conflict, or deleted in ChurchTools.
Allowed values: conflict, deleted in CT, synced.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.