talentro-commons 0.19.16__py3-none-any.whl → 0.19.17__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 +2 -0
- talentro/acquisition/models.py +3 -0
- {talentro_commons-0.19.16.dist-info → talentro_commons-0.19.17.dist-info}/METADATA +1 -1
- {talentro_commons-0.19.16.dist-info → talentro_commons-0.19.17.dist-info}/RECORD +5 -5
- {talentro_commons-0.19.16.dist-info → talentro_commons-0.19.17.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":
|
|
@@ -116,6 +117,7 @@ class AdInfo(ResolvableCompanyModel):
|
|
|
116
117
|
status_detail: Optional[str]
|
|
117
118
|
conversion_goal: Optional[str]
|
|
118
119
|
vacancy_id: UUID
|
|
120
|
+
apply_count: int
|
|
119
121
|
|
|
120
122
|
campaign: CampaignInfo
|
|
121
123
|
|
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=6mOlK3V8REaa3IshRiXfBx-m4o6T5DosZhT6l6rE19Y,4925
|
|
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.17.dist-info/METADATA,sha256=j-QoL-OSr91TWPXcs0HFW2da5UfmCPLPfb1BgF1AuFc,1508
|
|
43
|
+
talentro_commons-0.19.17.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
44
|
+
talentro_commons-0.19.17.dist-info/RECORD,,
|
|
File without changes
|