@happyvertical/smrt-sales 0.40.48 → 0.40.49

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,13 +1,13 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-08-03T20:08:33.227Z",
3
+ "generatedAt": "2026-08-03T22:38:25.413Z",
4
4
  "packageName": "@happyvertical/smrt-sales",
5
- "packageVersion": "0.40.48",
5
+ "packageVersion": "0.40.49",
6
6
  "sourceManifestPath": "dist/manifest.json",
7
7
  "agentDocPath": "AGENTS.md",
8
8
  "sourceHashes": {
9
- "manifest": "1279670f568804e65732a66939a88741c4f732ceab69148d75994d1c5498f0e4",
10
- "packageJson": "073595f91c813ff8a8058f856c9072b15c27aab3f9203243d211f11a6b1f1b82",
9
+ "manifest": "2abdc762a8f8cf1a685dc2b8a315b8511abc5a6def90a6febd8f12d01eba28d1",
10
+ "packageJson": "467957a15e83734e6c4e859212e32ed7851c8fb6604b509949198d11c9e91aef",
11
11
  "agents": "a58ac2ed4a0d43e22110674a94d61b62b981f7aa4a576ca8f36d0b1f20a64143",
12
12
  "moduleDoc:agents/agreements.md": "eb6ff147a0f60ee627d3337e8e9394d06fda955b4a4fff228537a9bd2803f886",
13
13
  "moduleDoc:agents/commissions.md": "e047024aafe5edcf072c1a6b7ea253c24cb15f2fa1beb2edd13651e735921f73",
@@ -775,186 +775,6 @@
775
775
  "tags": [],
776
776
  "risks": []
777
777
  },
778
- {
779
- "name": "CommissionAdjustmentCollection",
780
- "qualifiedName": "@happyvertical/smrt-sales:CommissionAdjustmentCollection",
781
- "collection": "commissionadjustments",
782
- "tableName": "commission_adjustment_collections",
783
- "packageName": "@happyvertical/smrt-sales",
784
- "extends": "SmrtCollection",
785
- "fields": [],
786
- "relationships": [],
787
- "methods": [
788
- "claimForPayout",
789
- "findByCommission",
790
- "findByPayout",
791
- "findByPayouts",
792
- "findUnsettledByEarner",
793
- "sumUnsettledByEarner"
794
- ],
795
- "surfaces": [],
796
- "relationshipFeatures": [
797
- "uuidColumns"
798
- ],
799
- "tags": [],
800
- "risks": []
801
- },
802
- {
803
- "name": "CommissionAdjustmentOperationCollection",
804
- "qualifiedName": "@happyvertical/smrt-sales:CommissionAdjustmentOperationCollection",
805
- "collection": "commissionadjustmentoperations",
806
- "tableName": "commission_adjustment_operation_collections",
807
- "packageName": "@happyvertical/smrt-sales",
808
- "extends": "SmrtCollection",
809
- "fields": [],
810
- "relationships": [],
811
- "methods": [
812
- "claim",
813
- "findByOperationId"
814
- ],
815
- "surfaces": [],
816
- "relationshipFeatures": [
817
- "uuidColumns"
818
- ],
819
- "tags": [],
820
- "risks": []
821
- },
822
- {
823
- "name": "CommissionCollection",
824
- "qualifiedName": "@happyvertical/smrt-sales:CommissionCollection",
825
- "collection": "commissions",
826
- "tableName": "commission_collections",
827
- "packageName": "@happyvertical/smrt-sales",
828
- "extends": "SmrtCollection",
829
- "fields": [],
830
- "relationships": [],
831
- "methods": [
832
- "claimForPayout",
833
- "findByDedupeKey",
834
- "findByEarner",
835
- "findByEvent",
836
- "findByPayout",
837
- "findByPayouts",
838
- "findByStatus",
839
- "findPayableUnsettled",
840
- "sumPayableByEarner"
841
- ],
842
- "surfaces": [],
843
- "relationshipFeatures": [
844
- "uuidColumns"
845
- ],
846
- "tags": [],
847
- "risks": []
848
- },
849
- {
850
- "name": "CommissionPayoutCollection",
851
- "qualifiedName": "@happyvertical/smrt-sales:CommissionPayoutCollection",
852
- "collection": "commissionpayouts",
853
- "tableName": "commission_payout_collections",
854
- "packageName": "@happyvertical/smrt-sales",
855
- "extends": "SmrtCollection",
856
- "fields": [],
857
- "relationships": [],
858
- "methods": [
859
- "findByEarner",
860
- "findByIdempotencyKey",
861
- "findBySource",
862
- "findByStatus",
863
- "sumPaidByEarner"
864
- ],
865
- "surfaces": [],
866
- "relationshipFeatures": [
867
- "uuidColumns"
868
- ],
869
- "tags": [],
870
- "risks": []
871
- },
872
- {
873
- "name": "CommissionPlanCollection",
874
- "qualifiedName": "@happyvertical/smrt-sales:CommissionPlanCollection",
875
- "collection": "commissionplans",
876
- "tableName": "commission_plan_collections",
877
- "packageName": "@happyvertical/smrt-sales",
878
- "extends": "SmrtCollection",
879
- "fields": [],
880
- "relationships": [],
881
- "methods": [
882
- "createAmendment",
883
- "findByPlanKey",
884
- "findByStatus",
885
- "latestActiveByKey"
886
- ],
887
- "surfaces": [],
888
- "relationshipFeatures": [
889
- "uuidColumns"
890
- ],
891
- "tags": [],
892
- "risks": []
893
- },
894
- {
895
- "name": "EarnerCollection",
896
- "qualifiedName": "@happyvertical/smrt-sales:EarnerCollection",
897
- "collection": "earners",
898
- "tableName": "earner_collections",
899
- "packageName": "@happyvertical/smrt-sales",
900
- "extends": "SmrtCollection",
901
- "fields": [],
902
- "relationships": [],
903
- "methods": [
904
- "findActive",
905
- "findByProfile",
906
- "findByStatus"
907
- ],
908
- "surfaces": [],
909
- "relationshipFeatures": [
910
- "uuidColumns"
911
- ],
912
- "tags": [],
913
- "risks": []
914
- },
915
- {
916
- "name": "EarnerSourceAttributionCollection",
917
- "qualifiedName": "@happyvertical/smrt-sales:EarnerSourceAttributionCollection",
918
- "collection": "earnersourceattributions",
919
- "tableName": "earner_source_attribution_collections",
920
- "packageName": "@happyvertical/smrt-sales",
921
- "extends": "SmrtCollection",
922
- "fields": [],
923
- "relationships": [],
924
- "methods": [
925
- "findByEarner",
926
- "findBySource",
927
- "findBySources"
928
- ],
929
- "surfaces": [],
930
- "relationshipFeatures": [
931
- "uuidColumns"
932
- ],
933
- "tags": [],
934
- "risks": []
935
- },
936
- {
937
- "name": "EarningEventCollection",
938
- "qualifiedName": "@happyvertical/smrt-sales:EarningEventCollection",
939
- "collection": "earningevents",
940
- "tableName": "earning_event_collections",
941
- "packageName": "@happyvertical/smrt-sales",
942
- "extends": "SmrtCollection",
943
- "fields": [],
944
- "relationships": [],
945
- "methods": [
946
- "findByDedupeKey",
947
- "findByKind",
948
- "findBySource",
949
- "getOrCreateByDedupeKey"
950
- ],
951
- "surfaces": [],
952
- "relationshipFeatures": [
953
- "uuidColumns"
954
- ],
955
- "tags": [],
956
- "risks": []
957
- },
958
778
  {
959
779
  "name": "Commission",
960
780
  "qualifiedName": "@happyvertical/smrt-sales:Commission",
@@ -2216,79 +2036,405 @@
2216
2036
  "risks": []
2217
2037
  },
2218
2038
  {
2219
- "name": "Lead",
2220
- "qualifiedName": "@happyvertical/smrt-sales:Lead",
2221
- "collection": "leads",
2222
- "tableName": "leads",
2039
+ "name": "CommissionAdjustmentCollection",
2040
+ "qualifiedName": "@happyvertical/smrt-sales:CommissionAdjustmentCollection",
2041
+ "collection": "commissionadjustments",
2042
+ "tableName": "commission_adjustment_collections",
2223
2043
  "packageName": "@happyvertical/smrt-sales",
2224
- "extends": "SmrtObject",
2225
- "fields": [
2226
- {
2227
- "name": "tenantId",
2228
- "type": "text",
2229
- "required": false,
2230
- "columnType": "UUID"
2231
- },
2232
- {
2233
- "name": "name",
2234
- "type": "text",
2235
- "required": true,
2236
- "columnType": "TEXT"
2237
- },
2238
- {
2239
- "name": "contactName",
2240
- "type": "text",
2241
- "required": false,
2242
- "columnType": "TEXT"
2243
- },
2244
- {
2245
- "name": "email",
2246
- "type": "text",
2247
- "required": false,
2248
- "columnType": "TEXT"
2249
- },
2250
- {
2251
- "name": "phone",
2252
- "type": "text",
2253
- "required": false,
2254
- "columnType": "TEXT"
2255
- },
2256
- {
2257
- "name": "organizationName",
2258
- "type": "text",
2259
- "required": false,
2260
- "columnType": "TEXT"
2261
- },
2262
- {
2263
- "name": "profileId",
2264
- "type": "crossPackageRef",
2265
- "required": false,
2266
- "related": "@happyvertical/smrt-profiles:Profile",
2267
- "columnType": "UUID"
2268
- },
2269
- {
2270
- "name": "ownerRepId",
2271
- "type": "foreignKey",
2272
- "required": false,
2273
- "related": "SalesRepresentative",
2274
- "columnType": "UUID"
2275
- },
2276
- {
2277
- "name": "status",
2278
- "type": "text",
2279
- "required": false,
2280
- "columnType": "TEXT"
2281
- },
2282
- {
2283
- "name": "sourceKind",
2284
- "type": "text",
2285
- "required": false,
2286
- "columnType": "TEXT"
2287
- },
2288
- {
2289
- "name": "sourceId",
2290
- "type": "text",
2291
- "required": false,
2044
+ "extends": "SmrtCollection",
2045
+ "fields": [],
2046
+ "relationships": [],
2047
+ "methods": [
2048
+ "claimForPayout",
2049
+ "findByCommission",
2050
+ "findByPayout",
2051
+ "findByPayouts",
2052
+ "findUnsettledByEarner",
2053
+ "sumUnsettledByEarner"
2054
+ ],
2055
+ "surfaces": [],
2056
+ "relationshipFeatures": [
2057
+ "uuidColumns"
2058
+ ],
2059
+ "tags": [],
2060
+ "risks": []
2061
+ },
2062
+ {
2063
+ "name": "CommissionAdjustmentOperationCollection",
2064
+ "qualifiedName": "@happyvertical/smrt-sales:CommissionAdjustmentOperationCollection",
2065
+ "collection": "commissionadjustmentoperations",
2066
+ "tableName": "commission_adjustment_operation_collections",
2067
+ "packageName": "@happyvertical/smrt-sales",
2068
+ "extends": "SmrtCollection",
2069
+ "fields": [],
2070
+ "relationships": [],
2071
+ "methods": [
2072
+ "claim",
2073
+ "findByOperationId"
2074
+ ],
2075
+ "surfaces": [],
2076
+ "relationshipFeatures": [
2077
+ "uuidColumns"
2078
+ ],
2079
+ "tags": [],
2080
+ "risks": []
2081
+ },
2082
+ {
2083
+ "name": "CommissionCollection",
2084
+ "qualifiedName": "@happyvertical/smrt-sales:CommissionCollection",
2085
+ "collection": "commissions",
2086
+ "tableName": "commission_collections",
2087
+ "packageName": "@happyvertical/smrt-sales",
2088
+ "extends": "SmrtCollection",
2089
+ "fields": [],
2090
+ "relationships": [],
2091
+ "methods": [
2092
+ "claimForPayout",
2093
+ "findByDedupeKey",
2094
+ "findByEarner",
2095
+ "findByEvent",
2096
+ "findByPayout",
2097
+ "findByPayouts",
2098
+ "findByStatus",
2099
+ "findPayableUnsettled",
2100
+ "sumPayableByEarner"
2101
+ ],
2102
+ "surfaces": [],
2103
+ "relationshipFeatures": [
2104
+ "uuidColumns"
2105
+ ],
2106
+ "tags": [],
2107
+ "risks": []
2108
+ },
2109
+ {
2110
+ "name": "CommissionPayoutCollection",
2111
+ "qualifiedName": "@happyvertical/smrt-sales:CommissionPayoutCollection",
2112
+ "collection": "commissionpayouts",
2113
+ "tableName": "commission_payout_collections",
2114
+ "packageName": "@happyvertical/smrt-sales",
2115
+ "extends": "SmrtCollection",
2116
+ "fields": [],
2117
+ "relationships": [],
2118
+ "methods": [
2119
+ "findByEarner",
2120
+ "findByIdempotencyKey",
2121
+ "findBySource",
2122
+ "findByStatus",
2123
+ "sumPaidByEarner"
2124
+ ],
2125
+ "surfaces": [],
2126
+ "relationshipFeatures": [
2127
+ "uuidColumns"
2128
+ ],
2129
+ "tags": [],
2130
+ "risks": []
2131
+ },
2132
+ {
2133
+ "name": "CommissionPlanCollection",
2134
+ "qualifiedName": "@happyvertical/smrt-sales:CommissionPlanCollection",
2135
+ "collection": "commissionplans",
2136
+ "tableName": "commission_plan_collections",
2137
+ "packageName": "@happyvertical/smrt-sales",
2138
+ "extends": "SmrtCollection",
2139
+ "fields": [],
2140
+ "relationships": [],
2141
+ "methods": [
2142
+ "createAmendment",
2143
+ "findByPlanKey",
2144
+ "findByStatus",
2145
+ "latestActiveByKey"
2146
+ ],
2147
+ "surfaces": [],
2148
+ "relationshipFeatures": [
2149
+ "uuidColumns"
2150
+ ],
2151
+ "tags": [],
2152
+ "risks": []
2153
+ },
2154
+ {
2155
+ "name": "EarnerCollection",
2156
+ "qualifiedName": "@happyvertical/smrt-sales:EarnerCollection",
2157
+ "collection": "earners",
2158
+ "tableName": "earner_collections",
2159
+ "packageName": "@happyvertical/smrt-sales",
2160
+ "extends": "SmrtCollection",
2161
+ "fields": [],
2162
+ "relationships": [],
2163
+ "methods": [
2164
+ "findActive",
2165
+ "findByProfile",
2166
+ "findByStatus"
2167
+ ],
2168
+ "surfaces": [],
2169
+ "relationshipFeatures": [
2170
+ "uuidColumns"
2171
+ ],
2172
+ "tags": [],
2173
+ "risks": []
2174
+ },
2175
+ {
2176
+ "name": "EarnerSourceAttributionCollection",
2177
+ "qualifiedName": "@happyvertical/smrt-sales:EarnerSourceAttributionCollection",
2178
+ "collection": "earnersourceattributions",
2179
+ "tableName": "earner_source_attribution_collections",
2180
+ "packageName": "@happyvertical/smrt-sales",
2181
+ "extends": "SmrtCollection",
2182
+ "fields": [],
2183
+ "relationships": [],
2184
+ "methods": [
2185
+ "findByEarner",
2186
+ "findBySource",
2187
+ "findBySources"
2188
+ ],
2189
+ "surfaces": [],
2190
+ "relationshipFeatures": [
2191
+ "uuidColumns"
2192
+ ],
2193
+ "tags": [],
2194
+ "risks": []
2195
+ },
2196
+ {
2197
+ "name": "EarningEventCollection",
2198
+ "qualifiedName": "@happyvertical/smrt-sales:EarningEventCollection",
2199
+ "collection": "earningevents",
2200
+ "tableName": "earning_event_collections",
2201
+ "packageName": "@happyvertical/smrt-sales",
2202
+ "extends": "SmrtCollection",
2203
+ "fields": [],
2204
+ "relationships": [],
2205
+ "methods": [
2206
+ "findByDedupeKey",
2207
+ "findByKind",
2208
+ "findBySource",
2209
+ "getOrCreateByDedupeKey"
2210
+ ],
2211
+ "surfaces": [],
2212
+ "relationshipFeatures": [
2213
+ "uuidColumns"
2214
+ ],
2215
+ "tags": [],
2216
+ "risks": []
2217
+ },
2218
+ {
2219
+ "name": "LeadCollection",
2220
+ "qualifiedName": "@happyvertical/smrt-sales:LeadCollection",
2221
+ "collection": "leads",
2222
+ "tableName": "lead_collections",
2223
+ "packageName": "@happyvertical/smrt-sales",
2224
+ "extends": "SmrtCollection",
2225
+ "fields": [],
2226
+ "relationships": [],
2227
+ "methods": [
2228
+ "activitiesIncludingMerged",
2229
+ "findByOwner",
2230
+ "findByStatus",
2231
+ "mergeLeads",
2232
+ "qualify"
2233
+ ],
2234
+ "surfaces": [],
2235
+ "relationshipFeatures": [
2236
+ "uuidColumns"
2237
+ ],
2238
+ "tags": [],
2239
+ "risks": []
2240
+ },
2241
+ {
2242
+ "name": "OpportunityCollection",
2243
+ "qualifiedName": "@happyvertical/smrt-sales:OpportunityCollection",
2244
+ "collection": "opportunities",
2245
+ "tableName": "opportunity_collections",
2246
+ "packageName": "@happyvertical/smrt-sales",
2247
+ "extends": "SmrtCollection",
2248
+ "fields": [],
2249
+ "relationships": [],
2250
+ "methods": [
2251
+ "findByLead",
2252
+ "findOpen",
2253
+ "moveToStage"
2254
+ ],
2255
+ "surfaces": [],
2256
+ "relationshipFeatures": [
2257
+ "uuidColumns"
2258
+ ],
2259
+ "tags": [],
2260
+ "risks": []
2261
+ },
2262
+ {
2263
+ "name": "OpportunityConversionCollection",
2264
+ "qualifiedName": "@happyvertical/smrt-sales:OpportunityConversionCollection",
2265
+ "collection": "opportunityconversions",
2266
+ "tableName": "opportunity_conversion_collections",
2267
+ "packageName": "@happyvertical/smrt-sales",
2268
+ "extends": "SmrtCollection",
2269
+ "fields": [],
2270
+ "relationships": [],
2271
+ "methods": [
2272
+ "findByOpportunity",
2273
+ "recordConversion"
2274
+ ],
2275
+ "surfaces": [],
2276
+ "relationshipFeatures": [
2277
+ "uuidColumns"
2278
+ ],
2279
+ "tags": [],
2280
+ "risks": []
2281
+ },
2282
+ {
2283
+ "name": "PipelineDefinitionCollection",
2284
+ "qualifiedName": "@happyvertical/smrt-sales:PipelineDefinitionCollection",
2285
+ "collection": "pipelinedefinitions",
2286
+ "tableName": "pipeline_definition_collections",
2287
+ "packageName": "@happyvertical/smrt-sales",
2288
+ "extends": "SmrtCollection",
2289
+ "fields": [],
2290
+ "relationships": [],
2291
+ "methods": [
2292
+ "ensureDefaultPipeline",
2293
+ "findByKey",
2294
+ "findDefault",
2295
+ "getStages"
2296
+ ],
2297
+ "surfaces": [],
2298
+ "relationshipFeatures": [
2299
+ "uuidColumns"
2300
+ ],
2301
+ "tags": [],
2302
+ "risks": []
2303
+ },
2304
+ {
2305
+ "name": "PipelineStageCollection",
2306
+ "qualifiedName": "@happyvertical/smrt-sales:PipelineStageCollection",
2307
+ "collection": "pipelinestages",
2308
+ "tableName": "pipeline_stage_collections",
2309
+ "packageName": "@happyvertical/smrt-sales",
2310
+ "extends": "SmrtCollection",
2311
+ "fields": [],
2312
+ "relationships": [],
2313
+ "methods": [
2314
+ "findByKey",
2315
+ "findByPipeline"
2316
+ ],
2317
+ "surfaces": [],
2318
+ "relationshipFeatures": [
2319
+ "uuidColumns"
2320
+ ],
2321
+ "tags": [],
2322
+ "risks": []
2323
+ },
2324
+ {
2325
+ "name": "SalesActivityCollection",
2326
+ "qualifiedName": "@happyvertical/smrt-sales:SalesActivityCollection",
2327
+ "collection": "salesactivities",
2328
+ "tableName": "sales_activity_collections",
2329
+ "packageName": "@happyvertical/smrt-sales",
2330
+ "extends": "SmrtCollection",
2331
+ "fields": [],
2332
+ "relationships": [],
2333
+ "methods": [
2334
+ "findBySubject",
2335
+ "findOpenTasks"
2336
+ ],
2337
+ "surfaces": [],
2338
+ "relationshipFeatures": [
2339
+ "uuidColumns"
2340
+ ],
2341
+ "tags": [],
2342
+ "risks": []
2343
+ },
2344
+ {
2345
+ "name": "SalesRepresentativeCollection",
2346
+ "qualifiedName": "@happyvertical/smrt-sales:SalesRepresentativeCollection",
2347
+ "collection": "salesrepresentatives",
2348
+ "tableName": "sales_representative_collections",
2349
+ "packageName": "@happyvertical/smrt-sales",
2350
+ "extends": "SmrtCollection",
2351
+ "fields": [],
2352
+ "relationships": [],
2353
+ "methods": [
2354
+ "findActive",
2355
+ "findByProfile"
2356
+ ],
2357
+ "surfaces": [],
2358
+ "relationshipFeatures": [
2359
+ "uuidColumns"
2360
+ ],
2361
+ "tags": [],
2362
+ "risks": []
2363
+ },
2364
+ {
2365
+ "name": "Lead",
2366
+ "qualifiedName": "@happyvertical/smrt-sales:Lead",
2367
+ "collection": "leads",
2368
+ "tableName": "leads",
2369
+ "packageName": "@happyvertical/smrt-sales",
2370
+ "extends": "SmrtObject",
2371
+ "fields": [
2372
+ {
2373
+ "name": "tenantId",
2374
+ "type": "text",
2375
+ "required": false,
2376
+ "columnType": "UUID"
2377
+ },
2378
+ {
2379
+ "name": "name",
2380
+ "type": "text",
2381
+ "required": true,
2382
+ "columnType": "TEXT"
2383
+ },
2384
+ {
2385
+ "name": "contactName",
2386
+ "type": "text",
2387
+ "required": false,
2388
+ "columnType": "TEXT"
2389
+ },
2390
+ {
2391
+ "name": "email",
2392
+ "type": "text",
2393
+ "required": false,
2394
+ "columnType": "TEXT"
2395
+ },
2396
+ {
2397
+ "name": "phone",
2398
+ "type": "text",
2399
+ "required": false,
2400
+ "columnType": "TEXT"
2401
+ },
2402
+ {
2403
+ "name": "organizationName",
2404
+ "type": "text",
2405
+ "required": false,
2406
+ "columnType": "TEXT"
2407
+ },
2408
+ {
2409
+ "name": "profileId",
2410
+ "type": "crossPackageRef",
2411
+ "required": false,
2412
+ "related": "@happyvertical/smrt-profiles:Profile",
2413
+ "columnType": "UUID"
2414
+ },
2415
+ {
2416
+ "name": "ownerRepId",
2417
+ "type": "foreignKey",
2418
+ "required": false,
2419
+ "related": "SalesRepresentative",
2420
+ "columnType": "UUID"
2421
+ },
2422
+ {
2423
+ "name": "status",
2424
+ "type": "text",
2425
+ "required": false,
2426
+ "columnType": "TEXT"
2427
+ },
2428
+ {
2429
+ "name": "sourceKind",
2430
+ "type": "text",
2431
+ "required": false,
2432
+ "columnType": "TEXT"
2433
+ },
2434
+ {
2435
+ "name": "sourceId",
2436
+ "type": "text",
2437
+ "required": false,
2292
2438
  "columnType": "TEXT"
2293
2439
  },
2294
2440
  {
@@ -3327,152 +3473,6 @@
3327
3473
  "tags": [],
3328
3474
  "risks": []
3329
3475
  },
3330
- {
3331
- "name": "LeadCollection",
3332
- "qualifiedName": "@happyvertical/smrt-sales:LeadCollection",
3333
- "collection": "leads",
3334
- "tableName": "lead_collections",
3335
- "packageName": "@happyvertical/smrt-sales",
3336
- "extends": "SmrtCollection",
3337
- "fields": [],
3338
- "relationships": [],
3339
- "methods": [
3340
- "activitiesIncludingMerged",
3341
- "findByOwner",
3342
- "findByStatus",
3343
- "mergeLeads",
3344
- "qualify"
3345
- ],
3346
- "surfaces": [],
3347
- "relationshipFeatures": [
3348
- "uuidColumns"
3349
- ],
3350
- "tags": [],
3351
- "risks": []
3352
- },
3353
- {
3354
- "name": "OpportunityCollection",
3355
- "qualifiedName": "@happyvertical/smrt-sales:OpportunityCollection",
3356
- "collection": "opportunities",
3357
- "tableName": "opportunity_collections",
3358
- "packageName": "@happyvertical/smrt-sales",
3359
- "extends": "SmrtCollection",
3360
- "fields": [],
3361
- "relationships": [],
3362
- "methods": [
3363
- "findByLead",
3364
- "findOpen",
3365
- "moveToStage"
3366
- ],
3367
- "surfaces": [],
3368
- "relationshipFeatures": [
3369
- "uuidColumns"
3370
- ],
3371
- "tags": [],
3372
- "risks": []
3373
- },
3374
- {
3375
- "name": "OpportunityConversionCollection",
3376
- "qualifiedName": "@happyvertical/smrt-sales:OpportunityConversionCollection",
3377
- "collection": "opportunityconversions",
3378
- "tableName": "opportunity_conversion_collections",
3379
- "packageName": "@happyvertical/smrt-sales",
3380
- "extends": "SmrtCollection",
3381
- "fields": [],
3382
- "relationships": [],
3383
- "methods": [
3384
- "findByOpportunity",
3385
- "recordConversion"
3386
- ],
3387
- "surfaces": [],
3388
- "relationshipFeatures": [
3389
- "uuidColumns"
3390
- ],
3391
- "tags": [],
3392
- "risks": []
3393
- },
3394
- {
3395
- "name": "PipelineDefinitionCollection",
3396
- "qualifiedName": "@happyvertical/smrt-sales:PipelineDefinitionCollection",
3397
- "collection": "pipelinedefinitions",
3398
- "tableName": "pipeline_definition_collections",
3399
- "packageName": "@happyvertical/smrt-sales",
3400
- "extends": "SmrtCollection",
3401
- "fields": [],
3402
- "relationships": [],
3403
- "methods": [
3404
- "ensureDefaultPipeline",
3405
- "findByKey",
3406
- "findDefault",
3407
- "getStages"
3408
- ],
3409
- "surfaces": [],
3410
- "relationshipFeatures": [
3411
- "uuidColumns"
3412
- ],
3413
- "tags": [],
3414
- "risks": []
3415
- },
3416
- {
3417
- "name": "PipelineStageCollection",
3418
- "qualifiedName": "@happyvertical/smrt-sales:PipelineStageCollection",
3419
- "collection": "pipelinestages",
3420
- "tableName": "pipeline_stage_collections",
3421
- "packageName": "@happyvertical/smrt-sales",
3422
- "extends": "SmrtCollection",
3423
- "fields": [],
3424
- "relationships": [],
3425
- "methods": [
3426
- "findByKey",
3427
- "findByPipeline"
3428
- ],
3429
- "surfaces": [],
3430
- "relationshipFeatures": [
3431
- "uuidColumns"
3432
- ],
3433
- "tags": [],
3434
- "risks": []
3435
- },
3436
- {
3437
- "name": "SalesActivityCollection",
3438
- "qualifiedName": "@happyvertical/smrt-sales:SalesActivityCollection",
3439
- "collection": "salesactivities",
3440
- "tableName": "sales_activity_collections",
3441
- "packageName": "@happyvertical/smrt-sales",
3442
- "extends": "SmrtCollection",
3443
- "fields": [],
3444
- "relationships": [],
3445
- "methods": [
3446
- "findBySubject",
3447
- "findOpenTasks"
3448
- ],
3449
- "surfaces": [],
3450
- "relationshipFeatures": [
3451
- "uuidColumns"
3452
- ],
3453
- "tags": [],
3454
- "risks": []
3455
- },
3456
- {
3457
- "name": "SalesRepresentativeCollection",
3458
- "qualifiedName": "@happyvertical/smrt-sales:SalesRepresentativeCollection",
3459
- "collection": "salesrepresentatives",
3460
- "tableName": "sales_representative_collections",
3461
- "packageName": "@happyvertical/smrt-sales",
3462
- "extends": "SmrtCollection",
3463
- "fields": [],
3464
- "relationships": [],
3465
- "methods": [
3466
- "findActive",
3467
- "findByProfile"
3468
- ],
3469
- "surfaces": [],
3470
- "relationshipFeatures": [
3471
- "uuidColumns"
3472
- ],
3473
- "tags": [],
3474
- "risks": []
3475
- },
3476
3476
  {
3477
3477
  "name": "AttributionExceptionCollection",
3478
3478
  "qualifiedName": "@happyvertical/smrt-sales:AttributionExceptionCollection",