@happyvertical/smrt-sales 0.47.1 → 0.48.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/dist/agreements.js +1 -1
- package/dist/chunks/__smrt-register__-Bfh5WoID.js +6 -0
- package/dist/chunks/{__smrt-register__-DrAVxGy8.js.map → __smrt-register__-Bfh5WoID.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 +51 -15
- package/dist/referrals.js +1 -1
- package/dist/smrt-knowledge.json +110 -1165
- package/package.json +6 -6
- package/dist/chunks/__smrt-register__-DrAVxGy8.js +0 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__smrt-register__-
|
|
1
|
+
{"version":3,"file":"__smrt-register__-Bfh5WoID.js","names":[],"sources":["../../src/__smrt-register__.ts"],"sourcesContent":["import { ObjectRegistry } from '@happyvertical/smrt-core';\n\nObjectRegistry.registerPackageManifest(\n new URL('./manifest.json', import.meta.url),\n);\n"],"mappings":""}
|
package/dist/commissions.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./chunks/__smrt-register__-
|
|
1
|
+
import "./chunks/__smrt-register__-Bfh5WoID.js";
|
|
2
2
|
import { A as EARNING_EVENT_KINDS, C as COMMISSION_ADJUSTMENT_KINDS, D as COMMISSION_STATUSES, E as COMMISSION_PLAN_STATUSES, F as Commission, I as CommissionAdjustmentOperationCollection, L as CommissionAdjustmentOperation, M as CommissionPayoutCollection, N as CommissionPayout, O as EARNER_SOURCE_ATTRIBUTION_STATUSES, P as CommissionCollection, R as CommissionAdjustmentCollection, S as ADJUSTMENT_SETTLEABLE_COMMISSION_STATUSES, T as COMMISSION_PAYOUT_STATUSES, _ as EarnerCollection, a as CommissionBalanceService, b as CommissionPlan, c as CommissionAdjustmentValidationError, d as centsToAmount, f as roundCents, g as EarnerSourceAttribution, h as EarnerSourceAttributionCollection, i as CommissionCalculationService, j as PAYOUT_METHODS, k as EARNER_STATUSES, l as amountToCents, m as EarningEvent, n as CommissionSettlementService, o as CommissionAdjustmentReplayConflictError, p as EarningEventCollection, r as CommissionPayoutService, s as CommissionAdjustmentService, t as EarnerAttributionService, u as calculateCommissionAmountCents, v as Earner, w as COMMISSION_BASES, x as validateCommissionPlanComponents, y as CommissionPlanCollection, z as CommissionAdjustment } from "./chunks/commissions-BlJpPXFC.js";
|
|
3
3
|
export { ADJUSTMENT_SETTLEABLE_COMMISSION_STATUSES, COMMISSION_ADJUSTMENT_KINDS, COMMISSION_BASES, COMMISSION_PAYOUT_STATUSES, COMMISSION_PLAN_STATUSES, COMMISSION_STATUSES, Commission, CommissionAdjustment, CommissionAdjustmentCollection, CommissionAdjustmentOperation, CommissionAdjustmentOperationCollection, CommissionAdjustmentReplayConflictError, CommissionAdjustmentService, CommissionAdjustmentValidationError, CommissionBalanceService, CommissionCalculationService, CommissionCollection, CommissionPayout, CommissionPayoutCollection, CommissionPayoutService, CommissionPlan, CommissionPlanCollection, CommissionSettlementService, EARNER_SOURCE_ATTRIBUTION_STATUSES, EARNER_STATUSES, EARNING_EVENT_KINDS, Earner, EarnerAttributionService, EarnerCollection, EarnerSourceAttribution, EarnerSourceAttributionCollection, EarningEvent, EarningEventCollection, PAYOUT_METHODS, amountToCents, calculateCommissionAmountCents, centsToAmount, roundCents, validateCommissionPlanComponents };
|
package/dist/crm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./chunks/__smrt-register__-
|
|
1
|
+
import "./chunks/__smrt-register__-Bfh5WoID.js";
|
|
2
2
|
import { C as SalesActivity, D as Lead, E as Opportunity, S as SalesActivityCollection, T as PipelineStage, _ as SALES_ACTIVITY_KINDS, a as projectLeadWorkQueue, b as PipelineDefinition, c as OpportunityConversionCollection, d as PipelineDefinitionCollection, f as DEFAULT_PIPELINE_KEY, g as PIPELINE_STATUSES, h as OPPORTUNITY_STATUSES, i as MAX_LEAD_WORKFLOW_TEXT_LENGTH, l as OpportunityConversion, m as LEAD_STATUSES, n as LeadWorkflowService, o as SalesRepresentativeCollection, p as DEFAULT_PIPELINE_STAGES, r as LeadWorkflowValidationError, s as SalesRepresentative, t as LEAD_HUMAN_ACTIVITY_KINDS, u as LeadCollection, v as SALES_ACTIVITY_SUBJECT_KINDS, w as PipelineStageCollection, x as OpportunityCollection, y as SALES_REPRESENTATIVE_STATUSES } from "./chunks/crm-C2bD25yv.js";
|
|
3
3
|
export { DEFAULT_PIPELINE_KEY, DEFAULT_PIPELINE_STAGES, LEAD_HUMAN_ACTIVITY_KINDS, LEAD_STATUSES, Lead, LeadCollection, LeadWorkflowService, LeadWorkflowValidationError, MAX_LEAD_WORKFLOW_TEXT_LENGTH, OPPORTUNITY_STATUSES, Opportunity, OpportunityCollection, OpportunityConversion, OpportunityConversionCollection, PIPELINE_STATUSES, PipelineDefinition, PipelineDefinitionCollection, PipelineStage, PipelineStageCollection, SALES_ACTIVITY_KINDS, SALES_ACTIVITY_SUBJECT_KINDS, SALES_REPRESENTATIVE_STATUSES, SalesActivity, SalesActivityCollection, SalesRepresentative, SalesRepresentativeCollection, projectLeadWorkQueue };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunks/__smrt-register__-
|
|
1
|
+
import "./chunks/__smrt-register__-Bfh5WoID.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-CxHyIbZB.js";
|
|
3
3
|
import { A as EARNING_EVENT_KINDS, C as COMMISSION_ADJUSTMENT_KINDS, D as COMMISSION_STATUSES, E as COMMISSION_PLAN_STATUSES, F as Commission, I as CommissionAdjustmentOperationCollection, L as CommissionAdjustmentOperation, M as CommissionPayoutCollection, N as CommissionPayout, O as EARNER_SOURCE_ATTRIBUTION_STATUSES, P as CommissionCollection, R as CommissionAdjustmentCollection, S as ADJUSTMENT_SETTLEABLE_COMMISSION_STATUSES, T as COMMISSION_PAYOUT_STATUSES, _ as EarnerCollection, a as CommissionBalanceService, b as CommissionPlan, c as CommissionAdjustmentValidationError, d as centsToAmount, f as roundCents, g as EarnerSourceAttribution, h as EarnerSourceAttributionCollection, i as CommissionCalculationService, j as PAYOUT_METHODS, k as EARNER_STATUSES, l as amountToCents, m as EarningEvent, n as CommissionSettlementService, o as CommissionAdjustmentReplayConflictError, p as EarningEventCollection, r as CommissionPayoutService, s as CommissionAdjustmentService, t as EarnerAttributionService, u as calculateCommissionAmountCents, v as Earner, w as COMMISSION_BASES, x as validateCommissionPlanComponents, y as CommissionPlanCollection, z as CommissionAdjustment } from "./chunks/commissions-BlJpPXFC.js";
|
|
4
4
|
import { C as SalesActivity, D as Lead, E as Opportunity, S as SalesActivityCollection, T as PipelineStage, _ as SALES_ACTIVITY_KINDS, a as projectLeadWorkQueue, b as PipelineDefinition, c as OpportunityConversionCollection, d as PipelineDefinitionCollection, f as DEFAULT_PIPELINE_KEY, g as PIPELINE_STATUSES, h as OPPORTUNITY_STATUSES, i as MAX_LEAD_WORKFLOW_TEXT_LENGTH, l as OpportunityConversion, m as LEAD_STATUSES, n as LeadWorkflowService, o as SalesRepresentativeCollection, p as DEFAULT_PIPELINE_STAGES, r as LeadWorkflowValidationError, s as SalesRepresentative, t as LEAD_HUMAN_ACTIVITY_KINDS, u as LeadCollection, v as SALES_ACTIVITY_SUBJECT_KINDS, w as PipelineStageCollection, x as OpportunityCollection, y as SALES_REPRESENTATIVE_STATUSES } from "./chunks/crm-C2bD25yv.js";
|
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-sales",
|
|
5
|
-
"packageVersion": "0.
|
|
5
|
+
"packageVersion": "0.48.0",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-sales:AgreementExecutionCollection": {
|
|
8
8
|
"name": "agreementexecutioncollection",
|
|
@@ -183,7 +183,11 @@
|
|
|
183
183
|
"isPublic": true
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
|
-
"decoratorConfig": {
|
|
186
|
+
"decoratorConfig": {
|
|
187
|
+
"api": false,
|
|
188
|
+
"mcp": false,
|
|
189
|
+
"cli": false
|
|
190
|
+
},
|
|
187
191
|
"extends": "SmrtCollection",
|
|
188
192
|
"extendsTypeArg": "AgreementExecution",
|
|
189
193
|
"exportName": "AgreementExecutionCollection",
|
|
@@ -303,7 +307,11 @@
|
|
|
303
307
|
"isPublic": true
|
|
304
308
|
}
|
|
305
309
|
},
|
|
306
|
-
"decoratorConfig": {
|
|
310
|
+
"decoratorConfig": {
|
|
311
|
+
"api": false,
|
|
312
|
+
"mcp": false,
|
|
313
|
+
"cli": false
|
|
314
|
+
},
|
|
307
315
|
"extends": "SmrtCollection",
|
|
308
316
|
"extendsTypeArg": "AgreementExecutionEvent",
|
|
309
317
|
"exportName": "AgreementExecutionEventCollection",
|
|
@@ -438,7 +446,9 @@
|
|
|
438
446
|
"isPublic": true
|
|
439
447
|
}
|
|
440
448
|
},
|
|
441
|
-
"decoratorConfig": {
|
|
449
|
+
"decoratorConfig": {
|
|
450
|
+
"cli": false
|
|
451
|
+
},
|
|
442
452
|
"extends": "SmrtCollection",
|
|
443
453
|
"extendsTypeArg": "ExecutedAgreement",
|
|
444
454
|
"exportName": "ExecutedAgreementCollection",
|
|
@@ -1963,7 +1973,9 @@
|
|
|
1963
1973
|
"isPublic": true
|
|
1964
1974
|
}
|
|
1965
1975
|
},
|
|
1966
|
-
"decoratorConfig": {
|
|
1976
|
+
"decoratorConfig": {
|
|
1977
|
+
"cli": false
|
|
1978
|
+
},
|
|
1967
1979
|
"extends": "SmrtCollection",
|
|
1968
1980
|
"extendsTypeArg": "CommissionAdjustment",
|
|
1969
1981
|
"exportName": "CommissionAdjustmentCollection",
|
|
@@ -2055,7 +2067,11 @@
|
|
|
2055
2067
|
"isPublic": true
|
|
2056
2068
|
}
|
|
2057
2069
|
},
|
|
2058
|
-
"decoratorConfig": {
|
|
2070
|
+
"decoratorConfig": {
|
|
2071
|
+
"api": false,
|
|
2072
|
+
"mcp": false,
|
|
2073
|
+
"cli": false
|
|
2074
|
+
},
|
|
2059
2075
|
"extends": "SmrtCollection",
|
|
2060
2076
|
"extendsTypeArg": "CommissionAdjustmentOperation",
|
|
2061
2077
|
"exportName": "CommissionAdjustmentOperationCollection",
|
|
@@ -2268,7 +2284,9 @@
|
|
|
2268
2284
|
"isPublic": true
|
|
2269
2285
|
}
|
|
2270
2286
|
},
|
|
2271
|
-
"decoratorConfig": {
|
|
2287
|
+
"decoratorConfig": {
|
|
2288
|
+
"cli": false
|
|
2289
|
+
},
|
|
2272
2290
|
"extends": "SmrtCollection",
|
|
2273
2291
|
"extendsTypeArg": "Commission",
|
|
2274
2292
|
"exportName": "CommissionCollection",
|
|
@@ -2904,7 +2922,9 @@
|
|
|
2904
2922
|
"isPublic": true
|
|
2905
2923
|
}
|
|
2906
2924
|
},
|
|
2907
|
-
"decoratorConfig": {
|
|
2925
|
+
"decoratorConfig": {
|
|
2926
|
+
"cli": false
|
|
2927
|
+
},
|
|
2908
2928
|
"extends": "SmrtCollection",
|
|
2909
2929
|
"extendsTypeArg": "EarningEvent",
|
|
2910
2930
|
"exportName": "EarningEventCollection",
|
|
@@ -5991,7 +6011,9 @@
|
|
|
5991
6011
|
"isPublic": true
|
|
5992
6012
|
}
|
|
5993
6013
|
},
|
|
5994
|
-
"decoratorConfig": {
|
|
6014
|
+
"decoratorConfig": {
|
|
6015
|
+
"cli": false
|
|
6016
|
+
},
|
|
5995
6017
|
"extends": "SmrtCollection",
|
|
5996
6018
|
"extendsTypeArg": "OpportunityConversion",
|
|
5997
6019
|
"exportName": "OpportunityConversionCollection",
|
|
@@ -6202,7 +6224,9 @@
|
|
|
6202
6224
|
"isPublic": true
|
|
6203
6225
|
}
|
|
6204
6226
|
},
|
|
6205
|
-
"decoratorConfig": {
|
|
6227
|
+
"decoratorConfig": {
|
|
6228
|
+
"cli": false
|
|
6229
|
+
},
|
|
6206
6230
|
"extends": "SmrtCollection",
|
|
6207
6231
|
"extendsTypeArg": "PipelineStage",
|
|
6208
6232
|
"exportName": "PipelineStageCollection",
|
|
@@ -6304,7 +6328,9 @@
|
|
|
6304
6328
|
"isPublic": true
|
|
6305
6329
|
}
|
|
6306
6330
|
},
|
|
6307
|
-
"decoratorConfig": {
|
|
6331
|
+
"decoratorConfig": {
|
|
6332
|
+
"cli": false
|
|
6333
|
+
},
|
|
6308
6334
|
"extends": "SmrtCollection",
|
|
6309
6335
|
"extendsTypeArg": "SalesActivity",
|
|
6310
6336
|
"exportName": "SalesActivityCollection",
|
|
@@ -8483,7 +8509,9 @@
|
|
|
8483
8509
|
"isPublic": true
|
|
8484
8510
|
}
|
|
8485
8511
|
},
|
|
8486
|
-
"decoratorConfig": {
|
|
8512
|
+
"decoratorConfig": {
|
|
8513
|
+
"cli": false
|
|
8514
|
+
},
|
|
8487
8515
|
"extends": "SmrtCollection",
|
|
8488
8516
|
"extendsTypeArg": "AttributionException",
|
|
8489
8517
|
"exportName": "AttributionExceptionCollection",
|
|
@@ -8849,7 +8877,11 @@
|
|
|
8849
8877
|
"isPublic": true
|
|
8850
8878
|
}
|
|
8851
8879
|
},
|
|
8852
|
-
"decoratorConfig": {
|
|
8880
|
+
"decoratorConfig": {
|
|
8881
|
+
"api": false,
|
|
8882
|
+
"mcp": false,
|
|
8883
|
+
"cli": false
|
|
8884
|
+
},
|
|
8853
8885
|
"extends": "SmrtCollection",
|
|
8854
8886
|
"extendsTypeArg": "ReferralClickOperation",
|
|
8855
8887
|
"exportName": "ReferralClickOperationCollection",
|
|
@@ -9277,7 +9309,9 @@
|
|
|
9277
9309
|
"isPublic": true
|
|
9278
9310
|
}
|
|
9279
9311
|
},
|
|
9280
|
-
"decoratorConfig": {
|
|
9312
|
+
"decoratorConfig": {
|
|
9313
|
+
"cli": false
|
|
9314
|
+
},
|
|
9281
9315
|
"extends": "SmrtCollection",
|
|
9282
9316
|
"extendsTypeArg": "ReferralTermSnapshot",
|
|
9283
9317
|
"exportName": "ReferralTermSnapshotCollection",
|
|
@@ -9388,7 +9422,9 @@
|
|
|
9388
9422
|
"isPublic": true
|
|
9389
9423
|
}
|
|
9390
9424
|
},
|
|
9391
|
-
"decoratorConfig": {
|
|
9425
|
+
"decoratorConfig": {
|
|
9426
|
+
"cli": false
|
|
9427
|
+
},
|
|
9392
9428
|
"extends": "SmrtCollection",
|
|
9393
9429
|
"extendsTypeArg": "ReferralTouch",
|
|
9394
9430
|
"exportName": "ReferralTouchCollection",
|
package/dist/referrals.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./chunks/__smrt-register__-
|
|
1
|
+
import "./chunks/__smrt-register__-Bfh5WoID.js";
|
|
2
2
|
import { A as ReferralClickOperation, B as ATTRIBUTION_RESOLUTION_MODES, C as ReferralTouchCollection, D as ReferralCollection, E as assertHttpTargetUrl, F as validateAttributionPolicyTerms, G as REFERRAL_STATUSES, H as REFERRAL_AGREEMENT_STATUSES, I as ATTRIBUTION_CONFLICT_BEHAVIORS, J as AttributionExceptionCollection, K as REFERRAL_TOUCH_KINDS, L as ATTRIBUTION_CREDIT_MODES, M as ReferralAgreement, N as AttributionPolicyCollection, O as Referral, P as AttributionPolicy, R as ATTRIBUTION_EXCEPTION_STATUSES, S as generateReferralCode, T as ReferralLink, U as REFERRAL_LINK_STATUSES, V as REFERRAL_AGREEMENT_APPROVAL_MODES, W as REFERRAL_PROGRAM_STATUSES, Y as AttributionException, _ as REFERRAL_CODE_ALPHABET, a as ReferralAgreementExecutionService, b as ReferralClickValidationError, c as ReferrerCollection, d as ReferralTermSnapshot, f as ReferralProgramCollection, g as MAX_REFERRAL_CLICK_IDEMPOTENCY_KEY_BYTES, h as MAX_CODE_GENERATION_ATTEMPTS, i as REFERRAL_AGREEMENT_SOURCE_KIND, j as ReferralAgreementCollection, k as ReferralClickOperationCollection, l as Referrer, m as DEFAULT_REFERRAL_CLICK_EVIDENCE_MAX_BYTES, n as REFERRAL_TERMS_SNAPSHOT_KIND, o as AttributionService, p as ReferralProgram, q as REFERRER_STATUSES, r as ReferralCommissionService, s as QualifiedReferralOverrideError, t as ReferralQualificationService, u as ReferralTermSnapshotCollection, v as REFERRAL_CODE_LENGTH, w as ReferralTouch, x as ReferralLinkCollection, y as ReferralClickReplayConflictError, z as ATTRIBUTION_POLICY_STATUSES } from "./chunks/referrals-BsGHbnpW.js";
|
|
3
3
|
export { ATTRIBUTION_CONFLICT_BEHAVIORS, ATTRIBUTION_CREDIT_MODES, ATTRIBUTION_EXCEPTION_STATUSES, ATTRIBUTION_POLICY_STATUSES, ATTRIBUTION_RESOLUTION_MODES, AttributionException, AttributionExceptionCollection, AttributionPolicy, AttributionPolicyCollection, AttributionService, DEFAULT_REFERRAL_CLICK_EVIDENCE_MAX_BYTES, MAX_CODE_GENERATION_ATTEMPTS, MAX_REFERRAL_CLICK_IDEMPOTENCY_KEY_BYTES, QualifiedReferralOverrideError, REFERRAL_AGREEMENT_APPROVAL_MODES, REFERRAL_AGREEMENT_SOURCE_KIND, REFERRAL_AGREEMENT_STATUSES, REFERRAL_CODE_ALPHABET, REFERRAL_CODE_LENGTH, REFERRAL_LINK_STATUSES, REFERRAL_PROGRAM_STATUSES, REFERRAL_STATUSES, REFERRAL_TERMS_SNAPSHOT_KIND, REFERRAL_TOUCH_KINDS, REFERRER_STATUSES, Referral, ReferralAgreement, ReferralAgreementCollection, ReferralAgreementExecutionService, ReferralClickOperation, ReferralClickOperationCollection, ReferralClickReplayConflictError, ReferralClickValidationError, ReferralCollection, ReferralCommissionService, ReferralLink, ReferralLinkCollection, ReferralProgram, ReferralProgramCollection, ReferralQualificationService, ReferralTermSnapshot, ReferralTermSnapshotCollection, ReferralTouch, ReferralTouchCollection, Referrer, ReferrerCollection, assertHttpTargetUrl, generateReferralCode, validateAttributionPolicyTerms };
|