amocrm-api-wrapper 0.0.18__tar.gz → 0.0.20__tar.gz
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.
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/PKG-INFO +2 -1
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/README.md +1 -0
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api/base.py +3 -3
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api_wrapper.egg-info/PKG-INFO +2 -1
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/setup.py +1 -1
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api/__init__.py +0 -0
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api/errors.py +0 -0
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api/legacy_client.py +0 -0
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api/oauth_client.py +0 -0
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api_wrapper.egg-info/SOURCES.txt +0 -0
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api_wrapper.egg-info/dependency_links.txt +0 -0
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api_wrapper.egg-info/requires.txt +0 -0
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api_wrapper.egg-info/top_level.txt +0 -0
- {amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: amocrm-api-wrapper
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.20
|
|
4
4
|
Summary: Amocrm api wrapper v4
|
|
5
5
|
Home-page: https://github.com/bzdvdn/amocrm-api-wrapper
|
|
6
6
|
Author: bzdvdn
|
|
@@ -1225,6 +1225,7 @@ get_catalog_custom_fields = client.update_catalog_custom_field('<catalog_id>', [
|
|
|
1225
1225
|
|
|
1226
1226
|
### changelog
|
|
1227
1227
|
|
|
1228
|
+
- 0.0.18 - add filter_ids get_leads and \_get_entities method
|
|
1228
1229
|
- 0.0.12 - add entity notes methods, rename updatecustomers_segments_custom_fields -> update_customers_segments_custom_fields
|
|
1229
1230
|
|
|
1230
1231
|
|
|
@@ -1213,4 +1213,5 @@ get_catalog_custom_fields = client.update_catalog_custom_field('<catalog_id>', [
|
|
|
1213
1213
|
|
|
1214
1214
|
### changelog
|
|
1215
1215
|
|
|
1216
|
+
- 0.0.18 - add filter_ids get_leads and \_get_entities method
|
|
1216
1217
|
- 0.0.12 - add entity notes methods, rename updatecustomers_segments_custom_fields -> update_customers_segments_custom_fields
|
|
@@ -79,7 +79,7 @@ class BaseClient(object):
|
|
|
79
79
|
if closed_from:
|
|
80
80
|
filter_query["filter[closed_at][from]"] = closed_from
|
|
81
81
|
if closed_to:
|
|
82
|
-
filter_query["filter[closed_at][to]"] =
|
|
82
|
+
filter_query["filter[closed_at][to]"] = closed_to
|
|
83
83
|
filter_query.update({f"filter[{k}]": v for k, v in filters.items()})
|
|
84
84
|
return filter_query
|
|
85
85
|
|
|
@@ -3485,7 +3485,7 @@ class BaseClient(object):
|
|
|
3485
3485
|
}
|
|
3486
3486
|
}
|
|
3487
3487
|
"""
|
|
3488
|
-
url = f"{self.crm_url}/{entity_type}/custom_fields"
|
|
3488
|
+
url = f"{self.crm_url}/api/v4/{entity_type}/custom_fields"
|
|
3489
3489
|
return self._send_api_request("post", url, custom_fields)
|
|
3490
3490
|
|
|
3491
3491
|
def create_leads_custom_fields(self, custom_fields: list) -> dict:
|
|
@@ -3558,7 +3558,7 @@ class BaseClient(object):
|
|
|
3558
3558
|
}
|
|
3559
3559
|
}
|
|
3560
3560
|
"""
|
|
3561
|
-
url = f"{self.crm_url}/{entity_type}/custom_fields"
|
|
3561
|
+
url = f"{self.crm_url}/api/v4/{entity_type}/custom_fields"
|
|
3562
3562
|
return self._send_api_request("patch", url, custom_fields)
|
|
3563
3563
|
|
|
3564
3564
|
def update_leads_custom_fields(self, custom_fields: list) -> dict:
|
{amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api_wrapper.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: amocrm-api-wrapper
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.20
|
|
4
4
|
Summary: Amocrm api wrapper v4
|
|
5
5
|
Home-page: https://github.com/bzdvdn/amocrm-api-wrapper
|
|
6
6
|
Author: bzdvdn
|
|
@@ -1225,6 +1225,7 @@ get_catalog_custom_fields = client.update_catalog_custom_field('<catalog_id>', [
|
|
|
1225
1225
|
|
|
1226
1226
|
### changelog
|
|
1227
1227
|
|
|
1228
|
+
- 0.0.18 - add filter_ids get_leads and \_get_entities method
|
|
1228
1229
|
- 0.0.12 - add entity notes methods, rename updatecustomers_segments_custom_fields -> update_customers_segments_custom_fields
|
|
1229
1230
|
|
|
1230
1231
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api_wrapper.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api_wrapper.egg-info/requires.txt
RENAMED
|
File without changes
|
{amocrm-api-wrapper-0.0.18 → amocrm-api-wrapper-0.0.20}/amocrm_api_wrapper.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|