@agenticmail/enterprise 0.5.230 → 0.5.231

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.
@@ -0,0 +1,15 @@
1
+ import {
2
+ createServer
3
+ } from "./chunk-KQ5NV6LM.js";
4
+ import "./chunk-OF4MUWWS.js";
5
+ import "./chunk-UF3ZJMJO.js";
6
+ import "./chunk-3OC6RH7W.js";
7
+ import "./chunk-2DDKGTD6.js";
8
+ import "./chunk-YVK6F5OD.js";
9
+ import "./chunk-MKRNEM5A.js";
10
+ import "./chunk-DRXMYYKN.js";
11
+ import "./chunk-6WSX7QXF.js";
12
+ import "./chunk-KFQGP6VL.js";
13
+ export {
14
+ createServer
15
+ };
@@ -0,0 +1,20 @@
1
+ import {
2
+ promptCompanyInfo,
3
+ promptDatabase,
4
+ promptDeployment,
5
+ promptDomain,
6
+ promptRegistration,
7
+ provision,
8
+ runSetupWizard
9
+ } from "./chunk-YNG3KJKA.js";
10
+ import "./chunk-ULRBF2T7.js";
11
+ import "./chunk-KFQGP6VL.js";
12
+ export {
13
+ promptCompanyInfo,
14
+ promptDatabase,
15
+ promptDeployment,
16
+ promptDomain,
17
+ promptRegistration,
18
+ provision,
19
+ runSetupWizard
20
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/enterprise",
3
- "version": "0.5.230",
3
+ "version": "0.5.231",
4
4
  "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -180,6 +180,10 @@ export class PostgresAdapter extends DatabaseAdapter {
180
180
  await client.query(`
181
181
  ALTER TABLE company_settings ADD COLUMN IF NOT EXISTS platform_capabilities JSONB;
182
182
  `).catch(() => {});
183
+ // Branding assets config
184
+ await client.query(`
185
+ ALTER TABLE company_settings ADD COLUMN IF NOT EXISTS branding JSONB;
186
+ `).catch(() => {});
183
187
  // 2FA / TOTP columns on users
184
188
  await client.query(`
185
189
  ALTER TABLE users ADD COLUMN IF NOT EXISTS totp_secret TEXT;
@@ -272,6 +276,11 @@ export class PostgresAdapter extends DatabaseAdapter {
272
276
  values.push(JSON.stringify((updates as any).platformCapabilities));
273
277
  i++;
274
278
  }
279
+ if ((updates as any).branding !== undefined) {
280
+ fields.push(`branding = $${i}`);
281
+ values.push(JSON.stringify((updates as any).branding));
282
+ i++;
283
+ }
275
284
  fields.push(`updated_at = NOW()`);
276
285
  values.push('default');
277
286
  const { rows } = await this.pool.query(
@@ -745,6 +754,7 @@ export class PostgresAdapter extends DatabaseAdapter {
745
754
  orgEmailConfig: r.org_email_config ? (typeof r.org_email_config === 'string' ? JSON.parse(r.org_email_config) : r.org_email_config) : undefined,
746
755
  platformCapabilities: r.platform_capabilities ? (typeof r.platform_capabilities === 'string' ? JSON.parse(r.platform_capabilities) : r.platform_capabilities) : undefined,
747
756
  signatureTemplate: r.signature_template || undefined,
757
+ branding: r.branding ? (typeof r.branding === 'string' ? JSON.parse(r.branding) : r.branding) : undefined,
748
758
  } as any;
749
759
  }
750
760
  }