| @@ -4,8 +4,9 @@ | ||
| 4 | 4 | |
| 5 | 5 | use SyncBasalam\Actions\Controller\ProductActions\CreateAllProducts; |
| 6 | 6 | use SyncBasalam\Actions\Controller\ProductActions\CancelCreateProducts; |
| 7 | 7 | use SyncBasalam\Actions\Controller\ProductActions\UpdateAllProducts; |
| 8 | +use SyncBasalam\Actions\Controller\ProductActions\GetUpdateQueueStatus; | |
| 8 | 9 | use SyncBasalam\Actions\Controller\ProductActions\CancelUpdateProducts; |
| 9 | 10 | use SyncBasalam\Actions\Controller\ProductActions\ConnectAllProducts; |
| 10 | 11 | use SyncBasalam\Actions\Controller\ProductActions\CancelConnectAllProducts; |
| 11 | 12 | use SyncBasalam\Actions\Controller\OrderActions\FetchUnsyncOrders; |
| @@ -39,8 +40,9 @@ | ||
| 39 | 40 | use SyncBasalam\Actions\Controller\CategoryActions\GetMappingStats; |
| 40 | 41 | use SyncBasalam\Actions\Controller\TicketActions\CreateTicket; |
| 41 | 42 | use SyncBasalam\Actions\Controller\TicketActions\CreateTicketItem; |
| 42 | 43 | use SyncBasalam\Actions\Controller\TicketActions\UploadTicketMediaAjax; |
| 44 | +use SyncBasalam\Actions\Controller\RefreshVendorStatus; | |
| 43 | 45 | |
| 44 | 46 | defined('ABSPATH') || exit; |
| 45 | 47 | |
| 46 | 48 | class RegisterActions |
| @@ -55,8 +57,9 @@ | ||
| 55 | 57 | ActionHandler::postAjax('create_products_to_basalam', CreateAllProducts::class); |
| 56 | 58 | ActionHandler::postAction('cancel_create_jobs', CancelCreateProducts::class); |
| 57 | 59 | ActionHandler::postAction('cancel_update_jobs', CancelUpdateProducts::class); |
| 58 | 60 | ActionHandler::postAjax('update_products_in_basalam', UpdateAllProducts::class); |
| 61 | + ActionHandler::postAjax('get_update_queue_status', GetUpdateQueueStatus::class); | |
| 59 | 62 | ActionHandler::postAction('cancel_update_products_in_basalam', CancelUpdateProducts::class); |
| 60 | 63 | ActionHandler::postAjax('connect_products_with_basalam', ConnectAllProducts::class); |
| 61 | 64 | ActionHandler::postAction('cancel_connect_products_with_basalam', CancelConnectAllProducts::class); |
| 62 | 65 | ActionHandler::postAjax('add_unsync_orders_from_basalam', FetchUnsyncOrders::class); |
| @@ -85,11 +88,13 @@ | ||
| 85 | 88 | ActionHandler::postAjax('delete_category_mapping', RemoveCategoryMap::class); |
| 86 | 89 | ActionHandler::postAjax('get_mapping_stats', GetMappingStats::class); |
| 87 | 90 | ActionHandler::postAction('auto_confirm_order_in_basalam', AutoConfirmOrders::class); |
| 88 | 91 | ActionHandler::postAction('create_ticket', CreateTicket::class); |
| 92 | + ActionHandler::postAjax('create_ticket', CreateTicket::class); | |
| 89 | 93 | ActionHandler::postAction('create_ticket_item', CreateTicketItem::class); |
| 90 | 94 | ActionHandler::postAjax('upload_ticket_media', UploadTicketMediaAjax::class); |
| 91 | 95 | ActionHandler::postAjax('sync_basalam_remind_later_review', RemindLaterReview::class); |
| 92 | 96 | ActionHandler::postAjax('sync_basalam_never_remind_review', NeverRemindReview::class); |
| 93 | 97 | ActionHandler::postAjax('sync_basalam_submit_review', SubmitReview::class); |
| 98 | + ActionHandler::postAjax('sync_basalam_refresh_vendor_status', RefreshVendorStatus::class); | |
| 94 | 99 | } |
| 95 | 100 | } |