@managesome/eposmatic-toolkit 0.2.524 → 0.2.525
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -44,6 +44,7 @@ export declare const WORKER_ENDPOINTS: {
|
|
|
44
44
|
readonly UPDATE_TENANT_INVENTORY_ON_SPLIT_ORDER: "/update-tenant-inventory-on-split-order";
|
|
45
45
|
readonly UPDATE_TENANT_INVENTORY_ON_REVERT_SPLIT_ORDER: "/update-tenant-inventory-on-revert-split-order";
|
|
46
46
|
readonly UPDATE_TENANT_INVENTORY_ON_PURCHASE_ORDER_RECEIVE: "/update-tenant-inventory-on-purchase-order-receive";
|
|
47
|
+
readonly UPDATE_TENANT_INVENTORY_ON_VENDOR_RETURN_DISPATCHED: "/update-tenant-inventory-on-vendor-return-dispatched";
|
|
47
48
|
readonly UPDATE_WAREHOUSE_INVENTORY_ON_COMPLETE_PURCHASE_ORDER: "/update-warehouse-inventory-on-complete-purchase-order";
|
|
48
49
|
readonly UPDATE_WAREHOUSE_INVENTORY_ON_CANCEL_PURCHASE_ORDER: "/update-warehouse-inventory-on-cancel-purchase-order";
|
|
49
50
|
readonly UPDATE_WAREHOUSE_INVENTORY_ON_CANCEL_SALE_ORDER: "/update-warehouse-inventory-on-cancel-sale-order";
|
|
@@ -55,6 +55,7 @@ exports.WORKER_ENDPOINTS = {
|
|
|
55
55
|
UPDATE_TENANT_INVENTORY_ON_SPLIT_ORDER: '/update-tenant-inventory-on-split-order',
|
|
56
56
|
UPDATE_TENANT_INVENTORY_ON_REVERT_SPLIT_ORDER: '/update-tenant-inventory-on-revert-split-order',
|
|
57
57
|
UPDATE_TENANT_INVENTORY_ON_PURCHASE_ORDER_RECEIVE: '/update-tenant-inventory-on-purchase-order-receive',
|
|
58
|
+
UPDATE_TENANT_INVENTORY_ON_VENDOR_RETURN_DISPATCHED: '/update-tenant-inventory-on-vendor-return-dispatched',
|
|
58
59
|
// ========================>> Warehouse Inventory <<======================= //
|
|
59
60
|
UPDATE_WAREHOUSE_INVENTORY_ON_COMPLETE_PURCHASE_ORDER: '/update-warehouse-inventory-on-complete-purchase-order',
|
|
60
61
|
UPDATE_WAREHOUSE_INVENTORY_ON_CANCEL_PURCHASE_ORDER: '/update-warehouse-inventory-on-cancel-purchase-order',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CARD_PROCESSING_PROVIDERS_ENUM, CURRENCY_SYMBOL_ENUM, DELIVERY_STATUS_ENUM, ORDER_STATUS_ENUM, PLATFORM_TYPE_ENUM, PLATFORMS_ENUM, VOID_ORDER_ITEM_TYPE_ENUM, WALLET_ASSET_TYPE_ENUM, WALLET_ASSIGNMENT_BEHAVIOR_ENUM, WAREHOUSE_ACTIVITY_LOG_ACTION_ENUM, WAREHOUSE_ACTIVITY_LOG_ENTITY_TYPE_ENUM, WAREHOUSE_ACTIVITY_LOG_SEVERITY_ENUM, WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM, WAREHOUSE_REMOVAL_STRATEGY_ENUM, WAREHOUSE_TRACKING_MODE_ENUM } from '../../constants';
|
|
2
|
-
import { IDineinTableFingerprint, IInternalLead, IModifierExtra, IOrder, IOrderItem, IOrderPayment, ITenantPurchaseOrder, IWarehouseInternalMovement, IWarehousePurchaseOrder, IWarehousePurchaseOrderReceipt, IWarehousePurchaseOrderVendorReturn, IWarehouseSaleOrder, IWarehouseSaleOrderDelivery } from '../../schemas';
|
|
2
|
+
import { IDineinTableFingerprint, IInternalLead, IModifierExtra, IOrder, IOrderItem, IOrderPayment, ITenantPurchaseOrder, ITenantPurchaseOrderVendorReturn, IWarehouseInternalMovement, IWarehousePurchaseOrder, IWarehousePurchaseOrderReceipt, IWarehousePurchaseOrderVendorReturn, IWarehouseSaleOrder, IWarehouseSaleOrderDelivery } from '../../schemas';
|
|
3
3
|
import { IWarehouseActivityLogChange } from '../../schemas/types/warehouse-activity-logs';
|
|
4
4
|
import { ISwitchPayEWalletRequestBody, ISwitchPayRefundRequestBody } from './switchpay';
|
|
5
5
|
export interface IWorker_CreateDelivery {
|
|
@@ -266,6 +266,10 @@ export interface IWorker_UpdateTenantInventoryOnPurchaseOrderReceive {
|
|
|
266
266
|
purchaseOrder: ITenantPurchaseOrder;
|
|
267
267
|
currency_symbol: CURRENCY_SYMBOL_ENUM | undefined;
|
|
268
268
|
}
|
|
269
|
+
export interface IWorker_UpdateTenantInventoryOnVendorReturnDispatched {
|
|
270
|
+
purchaseOrder: ITenantPurchaseOrder;
|
|
271
|
+
vendorReturn: ITenantPurchaseOrderVendorReturn;
|
|
272
|
+
}
|
|
269
273
|
export interface IWorker_AlertUnconfirmedOrder {
|
|
270
274
|
order_id: string;
|
|
271
275
|
tenantName: string;
|