Expand Limble module with new webhook payload helpers, JSON validation, Slack notifications, and task-specific webhook handling logic.

This commit is contained in:
Jepp9350
2025-06-12 19:57:04 +02:00
parent 978f51d8cd
commit 447c52f917
2 changed files with 29 additions and 0 deletions
@@ -0,0 +1,28 @@
<?php
namespace helpers;
use Exception;
use objects\products_o;
class xlvask_parser_lille_bil extends xlvask_product_parser
{
use xlvask_product_parser_t;
public function __construct()
{
$this->setup('Lille bil');
}
/**
* @inheritDoc
* @throws Exception
*/
protected function parse(xlvask_wash_item $wash_item, xlvask_usage_log $xlvask_usage_log): products_o
{
// For some reason, in XLVask the primary product is stored as vask_udf_rt in some cases,
// This is a workaround to handle that case. (Since the functionality is exactly the same as // xlvask_parser_stor_bil)
return (new xlvask_parser_stor_bil())->parseProduct(...func_get_args());
}
}
@@ -30,6 +30,7 @@ require_once WD . '/modules/xlvask/helpers/xlvask_parser_manuel_spot_free.php';
require_once WD . '/modules/xlvask/helpers/xlvask_parser_manual_ht_varmtvand.php'; require_once WD . '/modules/xlvask/helpers/xlvask_parser_manual_ht_varmtvand.php';
require_once WD . '/modules/xlvask/helpers/xlvask_parser_kapellvask_alle_trailere.php'; require_once WD . '/modules/xlvask/helpers/xlvask_parser_kapellvask_alle_trailere.php';
require_once WD . '/modules/xlvask/helpers/xlvask_parser_special_s_be_front.php'; require_once WD . '/modules/xlvask/helpers/xlvask_parser_special_s_be_front.php';
require_once WD . '/modules/xlvask/helpers/xlvask_parser_lille_bil.php';
use helpers\xlvask_cache; use helpers\xlvask_cache;
use helpers\xlvask_customer; use helpers\xlvask_customer;