wbcrm 1.50.14__py2.py3-none-any.whl → 1.51.0__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of wbcrm might be problematic. Click here for more details.
- wbcrm/admin/activities.py +1 -0
- wbcrm/locale/de/LC_MESSAGES/django.po +434 -346
- wbcrm/locale/fr/LC_MESSAGES/django.po +1487 -0
- wbcrm/models/activities.py +4 -0
- wbcrm/models/llm/activity_summaries.py +12 -8
- {wbcrm-1.50.14.dist-info → wbcrm-1.51.0.dist-info}/METADATA +1 -1
- {wbcrm-1.50.14.dist-info → wbcrm-1.51.0.dist-info}/RECORD +8 -7
- {wbcrm-1.50.14.dist-info → wbcrm-1.51.0.dist-info}/WHEEL +0 -0
wbcrm/models/activities.py
CHANGED
|
@@ -236,6 +236,10 @@ class Activity(Recurrence):
|
|
|
236
236
|
"wbcrm.activity.daily_summary",
|
|
237
237
|
gettext("Daily Summary"),
|
|
238
238
|
gettext("Sends out a daily summary of a user's upcoming day."),
|
|
239
|
+
web=False,
|
|
240
|
+
mobile=False,
|
|
241
|
+
email=True,
|
|
242
|
+
is_lock=True,
|
|
239
243
|
),
|
|
240
244
|
create_notification_type(
|
|
241
245
|
"wbcrm.activity_sync.admin",
|
|
@@ -13,6 +13,17 @@ class ActivityLLMResponseModel(BaseModel):
|
|
|
13
13
|
summary: str = Field(..., description="A summary of the activity in English.")
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
def get_query(instance):
|
|
17
|
+
return {
|
|
18
|
+
"title": instance.title,
|
|
19
|
+
"description": instance.description,
|
|
20
|
+
"period": instance.period,
|
|
21
|
+
"participants": instance.participants.all(),
|
|
22
|
+
"companies": instance.companies.all(),
|
|
23
|
+
"result": instance.result,
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
16
27
|
analyze_activity = LLMConfig["Activity"](
|
|
17
28
|
key="analyze",
|
|
18
29
|
prompt=[
|
|
@@ -26,12 +37,5 @@ analyze_activity = LLMConfig["Activity"](
|
|
|
26
37
|
on_save=True,
|
|
27
38
|
on_condition=lambda instance: instance.status == "REVIEWED",
|
|
28
39
|
output_model=ActivityLLMResponseModel,
|
|
29
|
-
query=
|
|
30
|
-
"title": instance.title,
|
|
31
|
-
"description": instance.description,
|
|
32
|
-
"period": instance.period,
|
|
33
|
-
"participants": instance.participants.all(),
|
|
34
|
-
"companies": instance.companies.all(),
|
|
35
|
-
"result": instance.result,
|
|
36
|
-
},
|
|
40
|
+
query=get_query,
|
|
37
41
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wbcrm
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.51.0
|
|
4
4
|
Summary: A workbench module that contains all the functionality related to a customer relationship management.
|
|
5
5
|
Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
|
|
6
6
|
Requires-Dist: django-eventtools==1.*
|
|
@@ -7,7 +7,7 @@ wbcrm/typings.py,sha256=jMX666cYItSYHN9Cb55HoffyPRG49S1dh6xB8AZpBtE,3312
|
|
|
7
7
|
wbcrm/urls.py,sha256=5_b4mYUy76KOgSEJL2ggnEnxZpEK7jFzQAAckLNOcxE,2573
|
|
8
8
|
wbcrm/admin/__init__.py,sha256=P_r2hm3DjYhVik8j5t-bT2qJgi6ExMQ0Afg3BnLZ5yc,227
|
|
9
9
|
wbcrm/admin/accounts.py,sha256=N5VHj5NWmdjrWlh2dDg1_bnm0zF0sMREvbQHkHr17bo,1767
|
|
10
|
-
wbcrm/admin/activities.py,sha256=
|
|
10
|
+
wbcrm/admin/activities.py,sha256=uuEAwC4Ld6NX-dy0FzFUh6-dy5T7YkQUf4ACmuytbNw,3066
|
|
11
11
|
wbcrm/admin/events.py,sha256=XmUzgLpmpn-j4JloXip3skGTy4tVSQAblSZn9YNRumA,910
|
|
12
12
|
wbcrm/admin/groups.py,sha256=dybQeh9605Jyg8abInQPHmuG71JES2EUtvfJltrOzDY,170
|
|
13
13
|
wbcrm/admin/products.py,sha256=3DB8AivQ82OUrmfo9OpCNjb1e8KoOFEZOQC6C7akwDs,198
|
|
@@ -26,7 +26,8 @@ wbcrm/filters/products.py,sha256=K1ZJ4hhMibv0YBnQyzlPqg4KkT-uq_fGVNVJPzlP8j0,120
|
|
|
26
26
|
wbcrm/filters/signals.py,sha256=cd4LSwPUwutLI4CcFjzADVhv2Bc0-XkYoiaojO0rkvs,3820
|
|
27
27
|
wbcrm/fixtures/wbcrm.json,sha256=Z6EwzO1nqRvEP8-WzHXJJGCP7SK6Sb86dTgjJRzVw2U,33896
|
|
28
28
|
wbcrm/kpi_handlers/activities.py,sha256=xjq6dQUToDmYZFqaZm3Gj3deQnPeUZcH4VS2qvVtIXY,7900
|
|
29
|
-
wbcrm/locale/de/LC_MESSAGES/django.po,sha256=
|
|
29
|
+
wbcrm/locale/de/LC_MESSAGES/django.po,sha256=imWmc6GAdOzknaBpQbFGgS4Dz0sws2NClgc9B3IfPOM,48985
|
|
30
|
+
wbcrm/locale/fr/LC_MESSAGES/django.po,sha256=06ABRDZvhdOiVhrarJUxL1I4X2_5bLcrxfk2IO7rxw8,35464
|
|
30
31
|
wbcrm/migrations/0001_initial_squashed_squashed_0032_productcompanyrelationship_alter_product_prospects_and_more.py,sha256=tI2lU8Z8oW_-FexgquJOC41HwqFO6OyLuRtVY9Es2Ho,166228
|
|
31
32
|
wbcrm/migrations/0002_alter_activity_repeat_choice.py,sha256=OBl6j8p4l3f5k1T3TzOgQtunSXJx0M3Uk-gAuPjPxkM,1187
|
|
32
33
|
wbcrm/migrations/0003_remove_activity_external_id_and_more.py,sha256=Lz4RTsGJPnR2nKZ_FH_WSD22IRVqZ6_aZcleTJT4pSM,2097
|
|
@@ -47,12 +48,12 @@ wbcrm/migrations/0017_event.py,sha256=PzhAVAa2z4itzctQBz-6i__aRDh3TDe029F8leE34W
|
|
|
47
48
|
wbcrm/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
48
49
|
wbcrm/models/__init__.py,sha256=23U2eBeZStYgUKSGfi3q88JtfqfbNTk7MbnLEAGw1gk,287
|
|
49
50
|
wbcrm/models/accounts.py,sha256=Wtr8QtHWSnkVmbdZqY64kQJaZ5UDqSfkIKSUaqxBirI,25435
|
|
50
|
-
wbcrm/models/activities.py,sha256=
|
|
51
|
+
wbcrm/models/activities.py,sha256=dRYA04_lHrr6ONZAk2hnzmlPWIKUBcsElKq_PApGSL8,54411
|
|
51
52
|
wbcrm/models/events.py,sha256=jUHArKuZlPzMXpzwrtxM0fI6POF2-ETybtphjPQxqqA,393
|
|
52
53
|
wbcrm/models/groups.py,sha256=att5YADwTLoI5NmSoiMhOBJ8qyBbdKubPGMI2dXUCf0,4345
|
|
53
54
|
wbcrm/models/products.py,sha256=q7BOU3hPGZwolVfOPkkAFhGYYBRDGHU8ldKui9FAMPQ,2472
|
|
54
55
|
wbcrm/models/recurrence.py,sha256=ZleraEXTzYzJmpIpRRBdzfKoyZClLGOAxcIwL3bsh44,11999
|
|
55
|
-
wbcrm/models/llm/activity_summaries.py,sha256=
|
|
56
|
+
wbcrm/models/llm/activity_summaries.py,sha256=o4qFb21YZxXP7wz3a_uCkbGCiz4ZGF_pz8RJzhfKfVo,1527
|
|
56
57
|
wbcrm/models/llm/analyze_relationship.py,sha256=AsOXela63Mqz-5-xo_vOc5mMfDazO-Ixm1tYbgkY0KU,2337
|
|
57
58
|
wbcrm/report/activity_report.py,sha256=Y2NveP9u6CeXImXtxR4XfZK-2CFBa5CnUG-jx35Msnc,4843
|
|
58
59
|
wbcrm/serializers/__init__.py,sha256=qKwo5e-Ix-Iow1RRdKFC0uZQmuSHzc8DIypIhi_E8HI,726
|
|
@@ -170,6 +171,6 @@ wbcrm/viewsets/titles/products.py,sha256=cFAK5zljjybabk2U0KzPT2PVfV5vmO_UlJd6QlI
|
|
|
170
171
|
wbcrm/viewsets/titles/utils.py,sha256=IaHQTmEG2OwIHS1bRv7sjuT950wefUJNi3yvPdrpNEs,1144
|
|
171
172
|
wbcrm/workflows/__init__.py,sha256=biwXXPkVJugT9Vc1cwbInAUY8EnVmOauxdPz7e_2w_A,32
|
|
172
173
|
wbcrm/workflows/assignee_methods.py,sha256=L7ymErtcpFgXdTMTj_lDOVJqsLAGLNT6qMlrkHGuXWM,999
|
|
173
|
-
wbcrm-1.
|
|
174
|
-
wbcrm-1.
|
|
175
|
-
wbcrm-1.
|
|
174
|
+
wbcrm-1.51.0.dist-info/METADATA,sha256=kQQy6dC9NXdywcrzyRBolzPoZDNEkCzdUsXYimLatuY,450
|
|
175
|
+
wbcrm-1.51.0.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
|
|
176
|
+
wbcrm-1.51.0.dist-info/RECORD,,
|
|
File without changes
|