@cranberry-money/shared-types 8.22.243 → 8.22.244

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.
@@ -1,11 +1,18 @@
1
1
  import type { BaseEntity } from '../common';
2
+ /**
3
+ * Investment Preferences - AML/CTF Compliance
4
+ *
5
+ * Collects source of funds, occupation, and intended use as required by
6
+ * ARCA AML/CTF Program (Part B, Section 16.1, Step 4).
7
+ * Reference: docs/compliance/arca_aml.md lines 1031-1042
8
+ */
2
9
  export interface InvestmentPreference extends BaseEntity {
3
10
  userProfile: string;
4
- investmentHorizon: string;
5
- riskTolerance: string;
6
- investmentExperience: string;
7
- investmentAmount: string;
11
+ occupation: string | null;
8
12
  sourceOfFunds: string[];
13
+ sourceOfFundsOtherText: string | null;
14
+ intendedUse: string | null;
15
+ intendedUseOtherText: string | null;
9
16
  }
10
17
  export type CreateInvestmentPreference = Omit<InvestmentPreference, 'uuid' | 'createdAt' | 'updatedAt' | 'userProfile'>;
11
18
  export type UpdateInvestmentPreference = Partial<Omit<InvestmentPreference, 'uuid' | 'createdAt' | 'updatedAt' | 'userProfile'>>;
@@ -1 +1 @@
1
- {"version":3,"file":"investment.d.ts","sourceRoot":"","sources":["../../src/domain/investment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5C,MAAM,WAAW,oBAAqB,SAAQ,UAAU;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,oBAAoB,EAAE,MAAM,GAAG,WAAW,GAAG,WAAW,GAAG,aAAa,CAAC,CAAC;AAExH,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAC9C,IAAI,CAAC,oBAAoB,EAAE,MAAM,GAAG,WAAW,GAAG,WAAW,GAAG,aAAa,CAAC,CAC/E,CAAC"}
1
+ {"version":3,"file":"investment.d.ts","sourceRoot":"","sources":["../../src/domain/investment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5C;;;;;;GAMG;AACH,MAAM,WAAW,oBAAqB,SAAQ,UAAU;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAED,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAC3C,oBAAoB,EACpB,MAAM,GAAG,WAAW,GAAG,WAAW,GAAG,aAAa,CACnD,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAC9C,IAAI,CAAC,oBAAoB,EAAE,MAAM,GAAG,WAAW,GAAG,WAAW,GAAG,aAAa,CAAC,CAC/E,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cranberry-money/shared-types",
3
- "version": "8.22.243",
3
+ "version": "8.22.244",
4
4
  "description": "Shared TypeScript type definitions for Blueberry platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,7 +29,7 @@
29
29
  "prepublishOnly": "npm run clean && npm run typecheck && npm run build"
30
30
  },
31
31
  "dependencies": {
32
- "@cranberry-money/shared-constants": "^8.15.268",
32
+ "@cranberry-money/shared-constants": "^8.15.269",
33
33
  "@types/react": "^19.1.2"
34
34
  },
35
35
  "devDependencies": {