The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix(dpa): correct US processor entity to Twenty.com PBC (#22393)
Abdullah.93b8f667945d
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.tsindex 1c199593e7c..7f83f9f2fe8 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<DpaRegion, DpaRegionConfig> = {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 noticesdiff --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.tsindex 5d430059703..69d697a3577 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)', () => {