Implement subuser verification and invoice/self-serve API fixes

This commit is contained in:
Jeppe Bundgaard
2026-07-13 15:11:49 +02:00
parent a4fafaf7fb
commit 582edd3e6c
29 changed files with 2215 additions and 124 deletions
@@ -24,8 +24,10 @@ class subusers_o extends db
public object_property $password;
public object_property $name;
public object_property $email;
public object_property $email_verified_at;
public object_property $phone_country_code;
public object_property $phone;
public object_property $phone_verified_at;
public object_property $two_factor_secret;
public object_property $two_factor_enabled;
public object_property $created_at;
@@ -49,8 +51,10 @@ class subusers_o extends db
$this->password = new object_property($this->table, $this->id, 'password', 'string');
$this->name = new object_property($this->table, $this->id, 'name', 'string');
$this->email = new object_property($this->table, $this->id, 'email', 'string');
$this->email_verified_at = new object_property($this->table, $this->id, 'email_verified_at', 'timestamp', false);
$this->phone_country_code = new object_property($this->table, $this->id, 'phone_country_code', 'int');
$this->phone = new object_property($this->table, $this->id, 'phone', 'int');
$this->phone_verified_at = new object_property($this->table, $this->id, 'phone_verified_at', 'timestamp', false);
$this->two_factor_secret = new object_property($this->table, $this->id, 'two_factor_secret', 'string', false);
$this->two_factor_enabled = new object_property($this->table, $this->id, 'two_factor_enabled', 'bool', false);
$this->created_at = new object_property($this->table, $this->id, 'created_at', 'timestamp');