Skip to main content

Contact — Data Models

info

Auto-generated from dismantly-backend/Microservices/Contact/dependencies/models.py. Do not edit by hand.

Interaction map

How the APIs and events in this service read and write its objects, and how changes flow downstream.

tip

Click an object box (e.g. the CONTACT cylinder) to open its page, or a handler box to view its source on GitHub. Drag to pan, scroll to zoom, or use the Fullscreen button.

Stored Objects (Entities)

ObjectDiscriminatorVersion
ContactCONTACTv13.1.0
TablePreferencesItemTABLE_CONFIGv1.1.0

Supporting Models

ObjectVersion
Accountv4.0.0
Addressv5.0.0
ContactGetBalancev1.0.0
ContactGetContactsv1.0.0
ContactGetCreditv1.0.0
ContactGetCreditNotesv1.0.0
ContactGetInvoicesv1.0.0
ContactGetQuotesv1.0.0
ContactGetSaleMetricsv1.0.0
ContactGetTotalMetricsv1.0.0
ContactGetWorkOrdersv1.0.0
ContactHandleSalesChannelv6.0.0
ContactPostv12.1.0
ContactPutv12.1.0
ContactRestorev1.0.0
Credentialsv2.0.0
PrimaryPersonv8.0.0
SalesChannelLineItemv2.0.0
TableColumnConfigv1.0.0
TablePreferencesPayloadv1.0.0
ValidateContactv1.0.0

API Surface

Every endpoint and event in this service, with the model(s) it uses.

TriggerEndpoint / SourceHandlerModel(s)
StreamDynamoDB streamsrc/contact_algolia_sync.py
APIDELETE /newcontact/src/contact_archive.py
APIGET /newcontact/downloadsrc/contact_download_csv.py
APIGET /newcontact/src/contact_get.py
APIGET /newcontact/balancesrc/contact_get_balance.pyContactGetBalance
APIPOST /newcontact/contactssrc/contact_get_contacts.pyContactGetContacts
APIGET /newcontact/creditsrc/contact_get_credit.pyContactGetCredit
APIPOST /newcontact/creditNotessrc/contact_get_credit_notes.pyContactGetCreditNotes
APIPOST /newcontact/invoicessrc/contact_get_invoices.pyContactGetInvoices
APIPOST /newcontact/quotessrc/contact_get_quotes.pyContactGetQuotes
APIGET /newcontact/salessrc/contact_get_sales_metrics.pyContactGetSaleMetrics
APIGET /newcontact/tablePreferencessrc/contact_get_table_preferences.pyTableKeyEnum
APIGET /newcontact/totalssrc/contact_get_totals_metrics.pyContactGetTotalMetrics
APIPOST /newcontact/workOrdersrc/contact_get_work_orders.pyContactGetWorkOrders
EventEventBridgesrc/contact_handle_capricorn_events.py
APIPUT /newcontact/hiddenStatussrc/contact_hidden_status_put.py
APIPUT /newcontact/holdStatussrc/contact_hold_status_put.py
StreamDynamoDB streamsrc/contact_opensearch_sync.py
APIPOST /newcontact/src/contact_post.pyContact, ContactPost
APIPOST /newcontact/tablePreferencessrc/contact_post_table_preferences.pyTableKeyEnum, TablePreferencesItem, TablePreferencesPayload
APIPUT /newcontact/src/contact_put.pyContactPut
APIPUT /newcontact/restoresrc/contact_restore.pyContactRestore
EventEventBridgesrc/contact_self_heal.py
APIGET /newcontact/validatesrc/contact_validate.pyValidateContact
EventEventBridgesrc/handle/contact_handle_sales_channel_web_hook.pyContactHandleSalesChannel
APIGET /newcontact/historysrc/history/contact_history_get.py
StreamDynamoDB streamsrc/history/contact_history_process.py
EventEventBridgesrc/xero_web_hook/create_contact_from_xero.py
EventEventBridgesrc/xero_web_hook/update_contact_from_xero.py