/** * Endpoints in global context. * * @see Plugin.ModelContextGlobalContext.endpoints * @see https://github.com/myparcelnl/pdk/blob/main/config/actions.php */ export declare enum BackendEndpoint { /** * Get context. */ FetchContext = "fetchContext", /** * Delete account. */ DeleteAccount = "deleteAccount", /** * Update account. */ UpdateAccount = "updateAccount", /** * Get order data from the plugin. */ FetchOrders = "fetchOrders", /** * Tells the plugin to update the orders by fetching data from MyParcel. */ UpdateOrders = "updateOrders", /** * Export orders to MyParcel as shipments or orders, depending on the plugin settings. */ ExportOrders = "exportOrders", /** * Print all shipments belonging to the given orders. */ PrintOrders = "printOrders", /** * Delete given shipments. */ DeleteShipments = "deleteShipments", /** * Print given shipments. */ PrintShipments = "printShipments", /** * Tell the plugin to update given shipments by fetching data from MyParcel. */ UpdateShipments = "updateShipments", /** * Get shipment data from the plugin. */ FetchShipments = "fetchShipments", /** * Create return shipments */ ExportReturn = "exportReturn", /** * Fetch a product from the plugin. */ FetchProducts = "fetchProducts", /** * Update plugin settings. */ UpdatePluginSettings = "updatePluginSettings", /** * Update product settings */ UpdateProductSettings = "updateProductSettings", CreateWebhooks = "createWebhooks", DeleteWebhooks = "deleteWebhooks", FetchWebhooks = "fetchWebhooks" } export declare const BACKEND_ENDPOINTS_ORDERS: readonly [BackendEndpoint.ExportOrders, BackendEndpoint.FetchOrders, BackendEndpoint.PrintOrders, BackendEndpoint.UpdateOrders]; export declare const BACKEND_ENDPOINTS_SHIPMENTS: readonly [BackendEndpoint.DeleteShipments, BackendEndpoint.ExportReturn, BackendEndpoint.FetchShipments, BackendEndpoint.PrintShipments, BackendEndpoint.UpdateShipments]; export declare const BACKEND_ENDPOINTS_WEBHOOKS: readonly [BackendEndpoint.CreateWebhooks, BackendEndpoint.DeleteWebhooks, BackendEndpoint.FetchWebhooks];