talentro-commons 0.19.16__py3-none-any.whl → 0.19.18__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 +5 -1
- talentro/acquisition/models.py +3 -0
- {talentro_commons-0.19.16.dist-info → talentro_commons-0.19.18.dist-info}/METADATA +1 -1
- {talentro_commons-0.19.16.dist-info → talentro_commons-0.19.18.dist-info}/RECORD +5 -5
- {talentro_commons-0.19.16.dist-info → talentro_commons-0.19.18.dist-info}/WHEEL +0 -0
|
@@ -34,6 +34,7 @@ class CampaignInfo(ResolvableCompanyModel):
|
|
|
34
34
|
selection_criteria: Optional[dict]
|
|
35
35
|
application_flow_settings: Optional[dict]
|
|
36
36
|
status_detail: Optional[str]
|
|
37
|
+
apply_count: int
|
|
37
38
|
|
|
38
39
|
@staticmethod
|
|
39
40
|
async def resolve_object(object_id: UUID, organization_id: UUID) -> "CampaignInfo | None":
|
|
@@ -73,7 +74,8 @@ class CampaignInfo(ResolvableCompanyModel):
|
|
|
73
74
|
feed=feed,
|
|
74
75
|
selection_criteria=model.selection_criteria,
|
|
75
76
|
application_flow_settings=model.application_flow_settings,
|
|
76
|
-
status_detail=model.status_detail
|
|
77
|
+
status_detail=model.status_detail,
|
|
78
|
+
apply_count=model.apply_count
|
|
77
79
|
)
|
|
78
80
|
|
|
79
81
|
|
|
@@ -116,6 +118,7 @@ class AdInfo(ResolvableCompanyModel):
|
|
|
116
118
|
status_detail: Optional[str]
|
|
117
119
|
conversion_goal: Optional[str]
|
|
118
120
|
vacancy_id: UUID
|
|
121
|
+
apply_count: int
|
|
119
122
|
|
|
120
123
|
campaign: CampaignInfo
|
|
121
124
|
|
|
@@ -156,4 +159,5 @@ class AdInfo(ResolvableCompanyModel):
|
|
|
156
159
|
vacancy_id=model.vacancy_id,
|
|
157
160
|
|
|
158
161
|
campaign=campaign,
|
|
162
|
+
apply_count=model.apply_count
|
|
159
163
|
)
|
talentro/acquisition/models.py
CHANGED
|
@@ -65,6 +65,7 @@ class Campaign(CampaignsOrganizationModel, table=True):
|
|
|
65
65
|
selection_criteria: dict = Field(sa_column=Column(JSON))
|
|
66
66
|
application_flow_settings: dict = Field(sa_column=Column(JSON))
|
|
67
67
|
status_detail: Optional[str] = Field()
|
|
68
|
+
apply_count: int = Field(default=0)
|
|
68
69
|
|
|
69
70
|
ad_sets: list["AdSet"] = Relationship(back_populates="campaign", cascade_delete=True)
|
|
70
71
|
ads: list["Ad"] = Relationship(back_populates="campaign", cascade_delete=True)
|
|
@@ -77,6 +78,7 @@ class AdSet(CampaignsOrganizationModel, table=True):
|
|
|
77
78
|
platforms: list = Field(sa_column=Column(JSON))
|
|
78
79
|
ad_types: list = Field(sa_column=Column(JSON))
|
|
79
80
|
settings: dict = Field(sa_column=Column(JSON))
|
|
81
|
+
apply_count: int = Field(default=0)
|
|
80
82
|
|
|
81
83
|
campaign_id: UUID = Field(foreign_key="campaign.id", ondelete="CASCADE", index=True)
|
|
82
84
|
campaign: "Campaign" = Relationship(back_populates="ad_sets")
|
|
@@ -109,6 +111,7 @@ class Ad(CampaignsOrganizationModel, table=True):
|
|
|
109
111
|
description: Optional[str] = Field()
|
|
110
112
|
conversion_goal: Optional[str] = Field()
|
|
111
113
|
status_detail: Optional[str] = Field()
|
|
114
|
+
apply_count: int = Field(default=0)
|
|
112
115
|
|
|
113
116
|
campaign_id: UUID = Field(foreign_key="campaign.id", ondelete="CASCADE", index=True)
|
|
114
117
|
campaign: "Campaign" = Relationship(back_populates="ads")
|
|
@@ -1,7 +1,7 @@
|
|
|
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=
|
|
4
|
-
talentro/acquisition/models.py,sha256=
|
|
3
|
+
talentro/acquisition/dataclasses.py,sha256=5NoDPCyRLDmj16Mz8O11osjAWVVp3BeUZnzwg51lZ6g,5010
|
|
4
|
+
talentro/acquisition/models.py,sha256=gBkxPFfrlOkx4KNCoKXDQggNAVaYHo6pJ07RCfUeeJ0,4148
|
|
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
|
|
@@ -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.19.
|
|
43
|
-
talentro_commons-0.19.
|
|
44
|
-
talentro_commons-0.19.
|
|
42
|
+
talentro_commons-0.19.18.dist-info/METADATA,sha256=aMovPE1E6JoJaFPAU_D8YL0vGJG-j4Tf3kQU_ar9QqQ,1508
|
|
43
|
+
talentro_commons-0.19.18.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
44
|
+
talentro_commons-0.19.18.dist-info/RECORD,,
|
|
File without changes
|