@happyvertical/smrt-sales 0.40.70 → 0.42.0
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.
- package/AGENTS.md +1 -1
- package/dist/agreements.js +1 -1
- package/dist/chunks/__smrt-register__-AYT-m9Kw.js +6 -0
- package/dist/chunks/{__smrt-register__-BT2oZjFY.js.map → __smrt-register__-AYT-m9Kw.js.map} +1 -1
- package/dist/commissions.js +1 -1
- package/dist/crm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/manifest.json +1937 -1570
- package/dist/referrals.js +1 -1
- package/dist/smrt-knowledge.json +386 -321
- package/package.json +6 -6
- package/dist/chunks/__smrt-register__-BT2oZjFY.js +0 -6
package/AGENTS.md
CHANGED
|
@@ -36,7 +36,7 @@ you are editing. This file keeps what holds in every module.
|
|
|
36
36
|
|
|
37
37
|
## Currency
|
|
38
38
|
|
|
39
|
-
**All monetary fields are integer cents** with `*Cents` suffixes;
|
|
39
|
+
**All monetary fields are integer cents** with `*Cents` suffixes; that scale is a Sales contract, not an implicit framework currency rule. Fresh PostgreSQL/DuckDB INTEGER columns are BIGINT, while JavaScript hydration rejects values outside the safe-integer range. Rates are decimal (`0`–`1`). Rounding happens once per calculation step via `roundCents()` (half-away-from-zero) and every Commission stores its `calculationTrace` so amounts are reproducible. Convert at display/commerce boundaries with `centsToAmount()`/`amountToCents()`.
|
|
40
40
|
|
|
41
41
|
## Tenancy
|
|
42
42
|
|
package/dist/agreements.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./chunks/__smrt-register__-
|
|
1
|
+
import "./chunks/__smrt-register__-AYT-m9Kw.js";
|
|
2
2
|
import { a as AgreementExecutionEvent, c as AGREEMENT_EXECUTION_STATUSES, d as sanitizeSignerIntent, i as AgreementExecutionEventCollection, l as coerceAgreementDate, n as ExecutedAgreementCollection, o as AgreementExecutionCollection, r as ExecutedAgreement, s as AgreementExecution, t as AgreementExecutionService, u as sanitizeSignerEvidence } from "./chunks/agreements-DbzW1Pcq.js";
|
|
3
3
|
export { AGREEMENT_EXECUTION_STATUSES, AgreementExecution, AgreementExecutionCollection, AgreementExecutionEvent, AgreementExecutionEventCollection, AgreementExecutionService, ExecutedAgreement, ExecutedAgreementCollection, coerceAgreementDate, sanitizeSignerEvidence, sanitizeSignerIntent };
|