talentro-commons 0.20.0__py3-none-any.whl → 0.20.2__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.
- talentro/acquisition/dataclasses.py +4 -7
- talentro/candidates/dataclasses.py +2 -0
- talentro/candidates/models.py +1 -0
- {talentro_commons-0.20.0.dist-info → talentro_commons-0.20.2.dist-info}/METADATA +1 -1
- {talentro_commons-0.20.0.dist-info → talentro_commons-0.20.2.dist-info}/RECORD +6 -6
- {talentro_commons-0.20.0.dist-info → talentro_commons-0.20.2.dist-info}/WHEEL +0 -0
|
@@ -1,16 +1,13 @@
|
|
|
1
|
+
from pydantic import BaseModel
|
|
1
2
|
from datetime import datetime
|
|
2
3
|
from typing import Optional
|
|
3
4
|
from uuid import UUID
|
|
4
5
|
|
|
5
|
-
from
|
|
6
|
-
|
|
7
|
-
from .models import CampaignStatus
|
|
8
|
-
from ..acquisition.models import ChannelType, CampaignGoal, Campaign as CampaignModel, Ad as AdModel, AdStatus
|
|
6
|
+
from ..acquisition.models import ChannelType, CampaignGoal, Campaign as CampaignModel, Ad as AdModel
|
|
9
7
|
from ..general.dataclasses import ResolvableCompanyModel
|
|
10
8
|
from ..integrations.dataclasses import LinkInfo
|
|
11
9
|
from ..services.caching import CacheService
|
|
12
10
|
from ..services.clients import MSClient
|
|
13
|
-
from ..util.enum import to_enum
|
|
14
11
|
from ..vacancies.dataclasses import FeedInfo
|
|
15
12
|
|
|
16
13
|
|
|
@@ -64,7 +61,7 @@ class CampaignInfo(ResolvableCompanyModel):
|
|
|
64
61
|
organization=model.organization,
|
|
65
62
|
name=model.name,
|
|
66
63
|
external_id=model.external_id,
|
|
67
|
-
status=
|
|
64
|
+
status=model.status,
|
|
68
65
|
last_sync_date=model.last_sync_date,
|
|
69
66
|
ad_count=model.ad_count,
|
|
70
67
|
auto_sync=model.auto_sync,
|
|
@@ -150,7 +147,7 @@ class AdInfo(ResolvableCompanyModel):
|
|
|
150
147
|
|
|
151
148
|
name=model.name,
|
|
152
149
|
external_id=model.external_id,
|
|
153
|
-
status=model.status
|
|
150
|
+
status=model.status,
|
|
154
151
|
primary_text=model.primary_text,
|
|
155
152
|
title=model.title,
|
|
156
153
|
description=model.description,
|
|
@@ -203,6 +203,7 @@ class ExternalLinkInfo(BaseModel):
|
|
|
203
203
|
|
|
204
204
|
link: Optional[LinkInfo]
|
|
205
205
|
external_id: Optional[str]
|
|
206
|
+
external_url: Optional[str]
|
|
206
207
|
status: str
|
|
207
208
|
application_id: UUID
|
|
208
209
|
|
|
@@ -222,5 +223,6 @@ class ExternalLinkInfo(BaseModel):
|
|
|
222
223
|
link=link,
|
|
223
224
|
status=model.status,
|
|
224
225
|
external_id=model.external_id,
|
|
226
|
+
external_url=model.external_url,
|
|
225
227
|
application_id=model.application_id,
|
|
226
228
|
)
|
talentro/candidates/models.py
CHANGED
|
@@ -42,6 +42,7 @@ class Candidate(CandidatesOrganizationModel, table=True):
|
|
|
42
42
|
class ExternalLink(CandidatesOrganizationModel, table=True):
|
|
43
43
|
link_id: Optional[UUID] = Field(index=True, nullable=True)
|
|
44
44
|
external_id: Optional[str] = Field(index=True, nullable=True)
|
|
45
|
+
external_url: Optional[str] = Field(index=True, nullable=True)
|
|
45
46
|
status: str = Field(index=True)
|
|
46
47
|
|
|
47
48
|
application_id: UUID = Field(foreign_key="application.id", ondelete="CASCADE", index=True)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
talentro/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
talentro/acquisition/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
talentro/acquisition/dataclasses.py,sha256=
|
|
3
|
+
talentro/acquisition/dataclasses.py,sha256=j0yL7hXeExVUyxJB9NWQxi7WvLJ4qj2_PYVFmD_jYAM,4901
|
|
4
4
|
talentro/acquisition/models.py,sha256=LxD_UPKFoeylRzr4X4h6AhwIJREw4Ie8Gk9slrbFsw0,3545
|
|
5
5
|
talentro/billing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
talentro/billing/dataclasses.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
talentro/billing/models.py,sha256=rbmcJh-FcU5I3oFRhnD413YqIade1nxvqvksvEtCvMs,825
|
|
8
8
|
talentro/candidates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
talentro/candidates/dataclasses.py,sha256=
|
|
10
|
-
talentro/candidates/models.py,sha256=
|
|
9
|
+
talentro/candidates/dataclasses.py,sha256=oDlI9-Pv4XAXdJ6aWW42o6mbOGGTSiyOKZy9wE0EbQ0,6696
|
|
10
|
+
talentro/candidates/models.py,sha256=2FktzPjsL8YJw4JTazzby5Q4LX5UdAutaSigIXpJJmc,2952
|
|
11
11
|
talentro/constants.py,sha256=08CuJ1qVbgi4IDZThw7CQt_D65jGwekGrkMEg8eDGZo,861
|
|
12
12
|
talentro/event.py,sha256=Xie-nosLwEpg35Hir9yCKtJBXM-_R4O1fyknOtG_6IY,4595
|
|
13
13
|
talentro/exceptions.py,sha256=-0i7G0-IF3PeWKBMMQ6eq2Hb-Q3OHt-cCqVgxPiWiiQ,1226
|
|
@@ -39,6 +39,6 @@ talentro/vacancies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
|
|
|
39
39
|
talentro/vacancies/dataclasses.py,sha256=E6H5fsZH4IwtBFSLDolzF6u39tEIrANtWiNVoB65P0c,15074
|
|
40
40
|
talentro/vacancies/models.py,sha256=GoXr71CNzU6csf8gdmv84etb3Rm-Cdfigp1yqPI_jjQ,4822
|
|
41
41
|
talentro/vacancies/taxanomy.py,sha256=B6DMq9Wbs0aXFwD9aZveSlLwAC9eq1iCO_KM-FmrV7M,6384
|
|
42
|
-
talentro_commons-0.20.
|
|
43
|
-
talentro_commons-0.20.
|
|
44
|
-
talentro_commons-0.20.
|
|
42
|
+
talentro_commons-0.20.2.dist-info/METADATA,sha256=_4ar6E1DpSvDmlq1o2POoA6LchCfLn2Lot3S1VOZH7k,1507
|
|
43
|
+
talentro_commons-0.20.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
44
|
+
talentro_commons-0.20.2.dist-info/RECORD,,
|
|
File without changes
|