Namespace SuperOffice.CRM.Webhooks
Classes
ChangeType
Webhook event names
CrmScriptWebhookPlugin
Webhooks for CRM Scripts. Call the scripts identified by the include id.
CustomWebhookPluginAttribute
Marks a custom webhook plugin ICustomWebhookPlugin - there can be many of these. These plugins are responsible for notifying other systems of events. They do not have to store/update webhook info. That's handled by the ISystemWebhookPlugin.
DefaultWebhookPlugin
Default on-site webhook plugin. The plugin handles broadcasting the HTTP hooks to subscribing systems, and saving and storing the plugin info in the local database.
EventNames
Event names that don't fit into the normal, created, changed,deleted,soft-deleted types
SystemWebhookPluginAttribute
Marks a default webhook plugin ISystemWebhookPlugin - there is only one of these per system. The plugin is responsible for sending out and storing webhook information. The lowest priority wins.
Webhook
Describes a webhook for the ISystemWebhookPlugin.
WebhookDispatcher
Webhook dispatcher. Manages the background thread for dispatching webhook calls. Self-destructs when the queue is empty for a few seconds. ParallelConsumerQueue<T>
WebhookManager
Webhook manager. Queues webhooks and processes them on a background queue using the ISystemWebhookPlugin and ICustomWebhookPlugin.
WebhookPayload
Describes an event to be broadcast out over webhook or scripts, using the ISystemWebhookPlugin and ICustomWebhookPlugin systems.
WebhookResponse
WebhookSoftTriggerPlugin
Created by plugin system.
WebhookState
WebhookTaskInfo
Interfaces
ICustomWebhookPlugin
Webhooks for custom systems. There may be several of these per system - these are not prioritized. All of them are instantiated and processed by the webhook dispatcher WebhookManager. Plugins must be marked with the CustomWebhookPluginAttribute to be found by the class factory.
ISystemWebhookPlugin
Webhook plugin - there is only one of these per system (as determined by the plugin priority). The plugin handles broadcasting the HTTP hooks to subscribing systems, and saving and storing the plugin info. Plugins must be marked with the CustomWebhookPluginAttribute to be found by the class factory.