leadguru-jobs 0.307.0__py3-none-any.whl → 0.309.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: leadguru-jobs
3
- Version: 0.307.0
3
+ Version: 0.309.0
4
4
  Summary: LGT jobs builds
5
5
  Author-email: developer@leadguru.co
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -20,8 +20,8 @@ Classifier: Topic :: Internet
20
20
  Requires-Dist: loguru
21
21
  Requires-Dist: pydantic
22
22
  Requires-Dist: cachetools >=3.1.0
23
- Requires-Dist: leadguru-common ==0.339.0
24
- Requires-Dist: leadguru-data ==0.346.0
23
+ Requires-Dist: leadguru-common ==0.343.0
24
+ Requires-Dist: leadguru-data ==0.350.0
25
25
  Requires-Dist: wheel
26
26
  Requires-Dist: setuptools
27
27
  Requires-Dist: twine
@@ -12,19 +12,19 @@ lgt_jobs/jobs/bot_stats_update.py,sha256=-rECA72ptL6V4w49GKwD0fEXVnP21g4sehrL3MX
12
12
  lgt_jobs/jobs/chat_history.py,sha256=-kIkTtpNCyuABF31fkPMBaVX_9J3IVK1QK2XR3o-mX8,5965
13
13
  lgt_jobs/jobs/clear_user_analytics.py,sha256=xCq_1TibYJp4Ezq22JPQfQpwCmc2QHJxgTcthxKLHWc,2525
14
14
  lgt_jobs/jobs/conversation_replied.py,sha256=nFEK8afPZ4cnxlU2yxXUAAQW8DiHJ7Du434gPrmQy-4,2870
15
- lgt_jobs/jobs/inbox_leads.py,sha256=0-OMYH8_jZ_JFpiMiUBSnYPImujjRV-rKBRApbQ-agg,4597
15
+ lgt_jobs/jobs/inbox_leads.py,sha256=wKWlOPe8m4zcI8qf0ciT4csxjbSLkV-ds-8YqXWaNGI,4611
16
16
  lgt_jobs/jobs/mass_message.py,sha256=guXQjAL78fc6V0qWZr6nVB-vOGaMDs_NU4yq3iCyAjE,2033
17
17
  lgt_jobs/jobs/reactions_added.py,sha256=GTSJRZr1fXHLc5-WyFi0wyhuyRKpqhZRtGCar3ZsUos,2465
18
18
  lgt_jobs/jobs/reindex_conversation_history.py,sha256=5kAblOERu3VdqrcV43hBgyBC4iiqVrIP3GQrugv9Mjg,1062
19
19
  lgt_jobs/jobs/send_code.py,sha256=pLzKJhaTvWYPtvOjH02xpZ-h4dMk5hmkcnc5AS8hc9Q,827
20
20
  lgt_jobs/jobs/send_slack_message.py,sha256=hS1eaHaMX9sMPO-3TeeM1K5xTkedlMBfAUnTtCFR3DU,2686
21
- lgt_jobs/jobs/update_slack_profile.py,sha256=o2NdPgk0KwS7Lvt3FZFBCkAplWaQBtD_YViLioa2coE,2889
21
+ lgt_jobs/jobs/update_slack_profile.py,sha256=mdZwhvlgc0UCZAcRt2WIa_e2JZVoxHS2PbhaI6RDulI,2901
22
22
  lgt_jobs/jobs/user_balance_update.py,sha256=7LkcpKMilxqUcCS1_OW51qQnaXvGBavkj0a-0_-gK2g,2352
23
- lgt_jobs/jobs/workspace_connect.py,sha256=Lfnz836k41bkz-4_oy5WJk67EkG4CdyZUFy0MWUxDtg,6956
23
+ lgt_jobs/jobs/workspace_connect.py,sha256=ftqO93W3pAS_UJGPf2nt50L2mTxc3999W6kWKXQgnGo,6798
24
24
  lgt_jobs/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
25
  lgt_jobs/services/web_client.py,sha256=SZogxjM0jyACRqBOP5EJvtqwe44og8B5B6TMWLpYmKM,1878
26
26
  lgt_jobs/templates/new_message_mail_template.html,sha256=82XdDPtmkJVUWUcZtgd8bv_9-viAG2WWOnf3AhR6PeY,3635
27
- leadguru_jobs-0.307.0.dist-info/METADATA,sha256=6xfXZuCPZVCwCNtrEuIBI9Df1DnJoe8BnPrbP5ozkpc,1181
28
- leadguru_jobs-0.307.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
29
- leadguru_jobs-0.307.0.dist-info/top_level.txt,sha256=rIuw1DqwbnZyeoarBSC-bYeGOhv9mZBs7_afl9q4_JI,9
30
- leadguru_jobs-0.307.0.dist-info/RECORD,,
27
+ leadguru_jobs-0.309.0.dist-info/METADATA,sha256=h_ojqBuuZS-AcMAsW66qPNJQ9Jj-5j7ETpxqB5EZes8,1181
28
+ leadguru_jobs-0.309.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
29
+ leadguru_jobs-0.309.0.dist-info/top_level.txt,sha256=rIuw1DqwbnZyeoarBSC-bYeGOhv9mZBs7_afl9q4_JI,9
30
+ leadguru_jobs-0.309.0.dist-info/RECORD,,
@@ -79,7 +79,7 @@ class InboxLeadsJob(BaseBackgroundJob, ABC):
79
79
  @staticmethod
80
80
  def create_people(slack_profile: dict, dedicated_bot: DedicatedBotModel):
81
81
  member_info: SlackMemberInformation = SlackMemberInformation.from_slack_response(slack_profile,
82
- dedicated_bot.name,
82
+ dedicated_bot.source.source_name,
83
83
  dedicated_bot.source)
84
84
  SlackContactUserRepository().collection().update_one({"sender_id": member_info.sender_id,
85
85
  "source.source_id": dedicated_bot.source.source_id},
@@ -27,7 +27,7 @@ class UpdateUserSlackProfileJob(BaseBackgroundJob, ABC):
27
27
  for bot in bots:
28
28
  if bot.invalid_creds:
29
29
  log.warning(
30
- f'User: {user.email} dedicated bot: {bot.name} credentials are invalid. '
30
+ f'User: {user.email} dedicated bot: {bot.source.source_id} credentials are invalid. '
31
31
  f'Not able to update user profile')
32
32
  continue
33
33
 
@@ -118,8 +118,6 @@ class ConnectSlackAccountJob(BaseBackgroundJob, ABC):
118
118
  slack_user.cookies)
119
119
  dedicated_bot.two_factor_required = workspace.two_factor_required
120
120
  dedicated_bot.banned = False
121
- dedicated_bot.source.source_name = workspace.domain
122
- dedicated_bot.registration_link = dedicated_bot.slack_url = workspace.url
123
121
  dedicated_bots_repository.add_or_update(dedicated_bot)
124
122
  BackgroundJobRunner.submit(BotStatsUpdateJob, BotStatsUpdateJobData(bot_id=str(dedicated_bot.id)))
125
123