From 93b8f667945d36046a56cf0d07ccf3cee4721f6c Mon Sep 17 00:00:00 2001 From: "Abdullah." <125115953+mabdullahabaid@users.noreply.github.com> Date: Wed, 1 Jul 2026 17:23:42 +0500 Subject: [PATCH] fix(dpa): correct US processor entity to Twenty.com PBC (#22393) As title. --- .../core-modules/dpa/config/dpa-region-config.constant.ts | 2 +- .../dpa/utils/__tests__/resolve-dpa.util.spec.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/twenty-server/src/engine/core-modules/dpa/config/dpa-region-config.constant.ts b/packages/twenty-server/src/engine/core-modules/dpa/config/dpa-region-config.constant.ts index 1c199593e7..7f83f9f2fe 100644 --- a/packages/twenty-server/src/engine/core-modules/dpa/config/dpa-region-config.constant.ts +++ b/packages/twenty-server/src/engine/core-modules/dpa/config/dpa-region-config.constant.ts @@ -21,7 +21,7 @@ export const DPA_REGION_CONFIGS: Record = { region: DpaRegion.US, sccSectionActive: true, values: { - PROCESSOR_ENTITY: 'Twenty, Inc.', + PROCESSOR_ENTITY: 'Twenty.com PBC', PROCESSOR_LEGAL_FORM: 'a public benefit corporation under the laws of Delaware, USA', // Registered office is the Delaware registered agent; the SF notices diff --git a/packages/twenty-server/src/engine/core-modules/dpa/utils/__tests__/resolve-dpa.util.spec.ts b/packages/twenty-server/src/engine/core-modules/dpa/utils/__tests__/resolve-dpa.util.spec.ts index 5d43005970..69d697a357 100644 --- a/packages/twenty-server/src/engine/core-modules/dpa/utils/__tests__/resolve-dpa.util.spec.ts +++ b/packages/twenty-server/src/engine/core-modules/dpa/utils/__tests__/resolve-dpa.util.spec.ts @@ -31,7 +31,7 @@ describe('resolveDpa', () => { const resolved = resolveDpa({ region: DpaRegion.US, mode: 'preview' }); expect(resolved.region).toBe('US'); - expect(resolved.values.PROCESSOR_ENTITY).toBe('Twenty, Inc.'); + expect(resolved.values.PROCESSOR_ENTITY).toBe('Twenty.com PBC'); expect(resolved.values.PROCESSOR_LEGAL_FORM).toContain('Delaware'); expect(resolved.values.HOSTING_REGION).toBe('United States'); expect(resolved.sccSectionActive).toBe(true); @@ -41,10 +41,10 @@ describe('resolveDpa', () => { const eu = resolveDpa({ region: DpaRegion.EU, mode: 'preview' }); const us = resolveDpa({ region: DpaRegion.US, mode: 'preview' }); - // Assert on the contracting clause (block 0), not the whole doc: "Twenty, Inc." + // Assert on the contracting clause (block 0), not the whole doc: "Twenty.com PBC" // also appears verbatim in Annex A's "for US deployments" note. expect(eu.blocks[0].text).toContain('between Twenty.com SAS ('); - expect(us.blocks[0].text).toContain('between Twenty, Inc. ('); + expect(us.blocks[0].text).toContain('between Twenty.com PBC ('); }); it('keeps the SCC/transfer sections (7.2–7.5) in the document for BOTH regions (document is not branched)', () => {