dhisana 0.0.1.dev244__py3-none-any.whl → 0.0.1.dev246__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.
- dhisana/schemas/sales.py +1 -1
- dhisana/utils/apollo_tools.py +14 -5
- {dhisana-0.0.1.dev244.dist-info → dhisana-0.0.1.dev246.dist-info}/METADATA +1 -1
- {dhisana-0.0.1.dev244.dist-info → dhisana-0.0.1.dev246.dist-info}/RECORD +7 -7
- {dhisana-0.0.1.dev244.dist-info → dhisana-0.0.1.dev246.dist-info}/WHEEL +0 -0
- {dhisana-0.0.1.dev244.dist-info → dhisana-0.0.1.dev246.dist-info}/entry_points.txt +0 -0
- {dhisana-0.0.1.dev244.dist-info → dhisana-0.0.1.dev246.dist-info}/top_level.txt +0 -0
dhisana/schemas/sales.py
CHANGED
|
@@ -754,7 +754,7 @@ class LeadsQueryFilters(BaseModel):
|
|
|
754
754
|
# CHANGED: Renamed to be more descriptive
|
|
755
755
|
company_domains: Optional[List[str]] = Field(
|
|
756
756
|
default=None,
|
|
757
|
-
description="Domains of the person's employer (e.g., ['microsoft.com']). Maps to
|
|
757
|
+
description="Domains of the person's employer (e.g., ['apollo.io', 'microsoft.com']). Maps to q_organization_domains_list in Apollo API. Accepts up to 1,000 domains. Do not include www. or @ symbol."
|
|
758
758
|
)
|
|
759
759
|
|
|
760
760
|
# CHANGED: Renamed to be more descriptive
|
dhisana/utils/apollo_tools.py
CHANGED
|
@@ -549,6 +549,7 @@ async def search_leads_with_apollo(
|
|
|
549
549
|
"currentlyUsingAnyOfTechnologyUids": "currently_using_any_of_technology_uids",
|
|
550
550
|
"organizationIndustryTagIds": "organization_industry_tag_ids",
|
|
551
551
|
"notOrganizationIds": "not_organization_ids",
|
|
552
|
+
"qOrganizationDomainsList": "q_organization_domains_list",
|
|
552
553
|
}
|
|
553
554
|
|
|
554
555
|
for raw_key, raw_value_list in query_params.items():
|
|
@@ -606,7 +607,7 @@ async def search_leads_with_apollo(
|
|
|
606
607
|
"person_titles",
|
|
607
608
|
"person_seniorities",
|
|
608
609
|
"organization_locations",
|
|
609
|
-
"
|
|
610
|
+
"q_organization_domains_list",
|
|
610
611
|
"contact_email_status",
|
|
611
612
|
"organization_ids",
|
|
612
613
|
"organization_num_employees_ranges",
|
|
@@ -652,6 +653,9 @@ async def search_leads_with_apollo(
|
|
|
652
653
|
dynamic_payload["sort_ascending"] = query.sort_ascending
|
|
653
654
|
if query.person_seniorities:
|
|
654
655
|
dynamic_payload["person_seniorities"] = query.person_seniorities
|
|
656
|
+
# Add company domains to include in search
|
|
657
|
+
if query.company_domains:
|
|
658
|
+
dynamic_payload["q_organization_domains_list"] = query.company_domains
|
|
655
659
|
|
|
656
660
|
# -----------------------------
|
|
657
661
|
# C) Fetch multiple pages
|
|
@@ -769,6 +773,7 @@ async def search_leads_with_apollo_page(
|
|
|
769
773
|
"currentlyUsingAnyOfTechnologyUids": "currently_using_any_of_technology_uids",
|
|
770
774
|
"organizationIndustryTagIds": "organization_industry_tag_ids",
|
|
771
775
|
"notOrganizationIds": "not_organization_ids",
|
|
776
|
+
"qOrganizationDomainsList": "q_organization_domains_list",
|
|
772
777
|
}
|
|
773
778
|
|
|
774
779
|
for raw_key, raw_value_list in query_params.items():
|
|
@@ -811,7 +816,7 @@ async def search_leads_with_apollo_page(
|
|
|
811
816
|
"person_titles",
|
|
812
817
|
"person_seniorities",
|
|
813
818
|
"organization_locations",
|
|
814
|
-
"
|
|
819
|
+
"q_organization_domains_list",
|
|
815
820
|
"contact_email_status",
|
|
816
821
|
"organization_ids",
|
|
817
822
|
"organization_num_employees_ranges",
|
|
@@ -855,6 +860,10 @@ async def search_leads_with_apollo_page(
|
|
|
855
860
|
if query.q_not_organization_keyword_tags:
|
|
856
861
|
dynamic_payload["q_not_organization_keyword_tags"] = query.q_not_organization_keyword_tags
|
|
857
862
|
|
|
863
|
+
# Add company domains to include in search (Apollo API: q_organization_domains_list[])
|
|
864
|
+
if query.company_domains:
|
|
865
|
+
dynamic_payload["q_organization_domains_list"] = query.company_domains
|
|
866
|
+
|
|
858
867
|
page_payload = dict(dynamic_payload)
|
|
859
868
|
page_payload["page"] = page
|
|
860
869
|
page_payload["per_page"] = per_page
|
|
@@ -1370,7 +1379,7 @@ async def search_companies_with_apollo_page(
|
|
|
1370
1379
|
"organizationIndustries": "organization_industries",
|
|
1371
1380
|
"organizationIndustryTagIds": "organization_industry_tag_ids",
|
|
1372
1381
|
"qKeywords": "q_keywords",
|
|
1373
|
-
"
|
|
1382
|
+
"qOrganizationDomainsList": "q_organization_domains_list",
|
|
1374
1383
|
"sortAscending": "sort_ascending",
|
|
1375
1384
|
"sortByField": "sort_by_field",
|
|
1376
1385
|
"organizationLatestFundingStageCd": "organization_latest_funding_stage_cd",
|
|
@@ -1434,7 +1443,7 @@ async def search_companies_with_apollo_page(
|
|
|
1434
1443
|
"organization_locations",
|
|
1435
1444
|
"organization_industries",
|
|
1436
1445
|
"organization_industry_tag_ids",
|
|
1437
|
-
"
|
|
1446
|
+
"q_organization_domains_list",
|
|
1438
1447
|
"q_organization_keyword_tags",
|
|
1439
1448
|
"organization_ids",
|
|
1440
1449
|
"not_organization_ids",
|
|
@@ -1489,7 +1498,7 @@ async def search_companies_with_apollo_page(
|
|
|
1489
1498
|
dynamic_payload["q_not_organization_keyword_tags"] = query.q_not_organization_keyword_tags
|
|
1490
1499
|
|
|
1491
1500
|
if query.q_organization_domains:
|
|
1492
|
-
dynamic_payload["
|
|
1501
|
+
dynamic_payload["q_organization_domains_list"] = query.q_organization_domains
|
|
1493
1502
|
if query.revenue_range_min is not None:
|
|
1494
1503
|
dynamic_payload["revenue_range_min"] = query.revenue_range_min
|
|
1495
1504
|
if query.revenue_range_max is not None:
|
|
@@ -6,13 +6,13 @@ dhisana/cli/models.py,sha256=IzUFZW_X32mL3fpM1_j4q8AF7v5nrxJcxBoqvG-TTgA,706
|
|
|
6
6
|
dhisana/cli/predictions.py,sha256=VYgoLK1Ksv6MFImoYZqjQJkds7e5Hso65dHwbxTNNzE,646
|
|
7
7
|
dhisana/schemas/__init__.py,sha256=jv2YF__bseklT3OWEzlqJ5qE24c4aWd5F4r0TTjOrWQ,65
|
|
8
8
|
dhisana/schemas/common.py,sha256=hT9QVMJcINei-pp5F2RmGA573pfWbFA00dE1LfPGw20,9420
|
|
9
|
-
dhisana/schemas/sales.py,sha256=
|
|
9
|
+
dhisana/schemas/sales.py,sha256=PyJWs6qxk2Kj_1N87eGsehXzlE7OLSOkaCcMinwlfAA,34351
|
|
10
10
|
dhisana/ui/__init__.py,sha256=jv2YF__bseklT3OWEzlqJ5qE24c4aWd5F4r0TTjOrWQ,65
|
|
11
11
|
dhisana/ui/components.py,sha256=4NXrAyl9tx2wWwoVYyABO-EOGnreGMvql1AkXWajIIo,14316
|
|
12
12
|
dhisana/utils/__init__.py,sha256=jv2YF__bseklT3OWEzlqJ5qE24c4aWd5F4r0TTjOrWQ,65
|
|
13
13
|
dhisana/utils/add_mapping.py,sha256=oq_QNqag86DhgdwINBRRXNx7SOb8Q9M-V0QLP6pTzr8,13837
|
|
14
14
|
dhisana/utils/agent_tools.py,sha256=pzBFvfhU4wfSB4zv1eiRzjmnteJnfhC5V32r_v1m38Y,2321
|
|
15
|
-
dhisana/utils/apollo_tools.py,sha256=
|
|
15
|
+
dhisana/utils/apollo_tools.py,sha256=orzTyGJNlxYyn2FZW60ZaElbgt73ngfGiaXErHKjaVo,65496
|
|
16
16
|
dhisana/utils/assistant_tool_tag.py,sha256=rYRl8ubLI7fUUIjg30XTefHBkFgRqNEVC12lF6U6Z-8,119
|
|
17
17
|
dhisana/utils/built_with_api_tools.py,sha256=TFNGhnPb2vFdveVCpjiCvE1WKe_eK95UPpR0Ha5NgMQ,10260
|
|
18
18
|
dhisana/utils/cache_output_tools.py,sha256=sSAruvUZn-WAJQ0lB9T1QjSmkm-_14AuxC9xKmcCQ0k,3428
|
|
@@ -95,8 +95,8 @@ dhisana/workflow/agent.py,sha256=esv7_i_XuMkV2j1nz_UlsHov_m6X5WZZiZm_tG4OBHU,565
|
|
|
95
95
|
dhisana/workflow/flow.py,sha256=xWE3qQbM7j2B3FH8XnY3zOL_QXX4LbTW4ArndnEYJE0,1638
|
|
96
96
|
dhisana/workflow/task.py,sha256=HlWz9mtrwLYByoSnePOemBUBrMEcj7KbgNjEE1oF5wo,1830
|
|
97
97
|
dhisana/workflow/test.py,sha256=E7lRnXK0PguTNzyasHytLzTJdkqIPxG5_4qk4hMEeKc,3399
|
|
98
|
-
dhisana-0.0.1.
|
|
99
|
-
dhisana-0.0.1.
|
|
100
|
-
dhisana-0.0.1.
|
|
101
|
-
dhisana-0.0.1.
|
|
102
|
-
dhisana-0.0.1.
|
|
98
|
+
dhisana-0.0.1.dev246.dist-info/METADATA,sha256=2Nr6D5A8yCbOkWKG-5Oxxdx7-ydtXcBIKEJtKKVUhuY,1190
|
|
99
|
+
dhisana-0.0.1.dev246.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
100
|
+
dhisana-0.0.1.dev246.dist-info/entry_points.txt,sha256=jujxteZmNI9EkEaK-pOCoWuBujU8TCevdkfl9ZcKHek,49
|
|
101
|
+
dhisana-0.0.1.dev246.dist-info/top_level.txt,sha256=NETTHt6YifG_P7XtRHbQiXZlgSFk9Qh9aR-ng1XTf4s,8
|
|
102
|
+
dhisana-0.0.1.dev246.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|