Remove edge_broker_client.php and related unit tests. Add new dependencies and configuration files for edge-agent, including build scripts and package-lock updates.

This commit is contained in:
Jeppe Bundgaard
2026-04-13 09:42:35 +02:00
parent 16c9cd9931
commit a83b850aba
340 changed files with 45323 additions and 880 deletions
+6 -5
View File
@@ -120,9 +120,12 @@ class economic implements economic_i
return new $this->helpers->economic_tasks();
}
public function createCustomer(int $customer_number, string $name, int $cvr_number, string $email, int $phone): economic_customer
/**
* Create a customer in e-conomic and return the raw upstream payload.
*/
public function createCustomer(int $customer_number, string $name, int $cvr_number, string $email, int $phone): object
{
$result = $this->customers->customers->create([
return $this->customers->customers->create([
'customerNumber' => $customer_number,
'corporateIdentificationNumber' => (string)$cvr_number,
'customerGroup' => [
@@ -139,8 +142,6 @@ class economic implements economic_i
'vatZoneNumber' => 1,
]
]);
return new $this->helpers->economic_customer($customer_number);
}
/**
@@ -153,4 +154,4 @@ class economic implements economic_i
// Return the booked invoice helper
return (new economic_invoice_booked($raw));
}
}
}