Skip to content

Commit 605db1e

Browse files
klaviyo-sdkklaviyo-sdk
andauthored
version 6.0.1 (#43)
Co-authored-by: klaviyo-sdk <[email protected]>
1 parent c04948b commit 605db1e

11 files changed

Lines changed: 28 additions & 20 deletions

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ NOTE: For more granular API-specific changes, please see our [API Changelog](htt
99

1010

1111

12+
## [6.0.1] - revision 2023-10-15
13+
14+
### Fixed
15+
16+
#### Patched a bug that was causing query_metric_aggregates to return None upon success
17+
18+
A bug was introduced in version 5.0.0 until this patch, that resulted in this SDK specifically returning None upon success for the following operation [Metrics.query_metrics_aggregates](https://developers.klaviyo.com/en/reference/query_metric_aggregates).
19+
1220
## [6.0.0] - revision 2023-10-15
1321

1422
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Klaviyo Python SDK
22

3-
- SDK version: 6.0.0
3+
- SDK version: 6.0.1
44
- API revision: 2023-10-15
55

66
## Helpful Resources

openapi_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
""" # noqa: E501
1616

1717

18-
__version__ = "6.0.0"
18+
__version__ = "6.0.1"
1919

2020
# import apis into sdk package
2121
from openapi_client.api.accounts_api import AccountsApi

openapi_client/api/lists_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def create_list_with_http_info(self, list_create_query : ListCreateQuery, **kwar
204204
def create_list_relationships(self, id : StrictStr, list_members_add_query : ListMembersAddQuery, **kwargs) -> None: # noqa: E501
205205
"""Add Profile To List # noqa: E501
206206
207-
Add a profile to a list with the given list ID. It is recommended that you use the [Subscribe Profiles endpoint](https://developers.klaviyo.com/en/reference/subscribe_profiles) if you're trying to give a profile consent to receive email marketing, SMS marketing, or both. This endpoint accepts a maximum of 1000 profiles per call.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `list:write` `profiles:write` # noqa: E501
207+
Add a profile to a list with the given list ID. It is recommended that you use the [Subscribe Profiles endpoint](https://developers.klaviyo.com/en/reference/subscribe_profiles) if you're trying to give a profile [consent](https://developers.klaviyo.com/en/docs/collect_email_and_sms_consent_via_api) to receive email marketing, SMS marketing, or both. This endpoint accepts a maximum of 1000 profiles per call.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `list:write` `profiles:write` # noqa: E501
208208
This method makes a synchronous HTTP request by default. To make an
209209
asynchronous HTTP request, please pass async_req=True
210210
@@ -235,7 +235,7 @@ def create_list_relationships(self, id : StrictStr, list_members_add_query : Lis
235235
def create_list_relationships_with_http_info(self, id : StrictStr, list_members_add_query : ListMembersAddQuery, **kwargs) -> ApiResponse: # noqa: E501
236236
"""Add Profile To List # noqa: E501
237237
238-
Add a profile to a list with the given list ID. It is recommended that you use the [Subscribe Profiles endpoint](https://developers.klaviyo.com/en/reference/subscribe_profiles) if you're trying to give a profile consent to receive email marketing, SMS marketing, or both. This endpoint accepts a maximum of 1000 profiles per call.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `list:write` `profiles:write` # noqa: E501
238+
Add a profile to a list with the given list ID. It is recommended that you use the [Subscribe Profiles endpoint](https://developers.klaviyo.com/en/reference/subscribe_profiles) if you're trying to give a profile [consent](https://developers.klaviyo.com/en/docs/collect_email_and_sms_consent_via_api) to receive email marketing, SMS marketing, or both. This endpoint accepts a maximum of 1000 profiles per call.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `list:write` `profiles:write` # noqa: E501
239239
This method makes a synchronous HTTP request by default. To make an
240240
asynchronous HTTP request, please pass async_req=True
241241
@@ -493,7 +493,7 @@ def delete_list_with_http_info(self, id : Annotated[StrictStr, Field(..., descri
493493
def delete_list_relationships(self, id : StrictStr, list_members_delete_query : ListMembersDeleteQuery, **kwargs) -> None: # noqa: E501
494494
"""Remove Profile From List # noqa: E501
495495
496-
Remove a profile from a list with the given list ID. The provided profile will no longer receive marketing from this particular list once removed. Removing a profile from a list will not impact the profile's consent status or subscription status in general. To update a profile's subscription status, please use the [Unsubscribe Profiles endpoint](https://developers.klaviyo.com/en/reference/unsubscribe_profiles). This endpoint accepts a maximum of 1000 profiles per call.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `list:write` `profiles:write` # noqa: E501
496+
Remove a profile from a list with the given list ID. The provided profile will no longer receive marketing from this particular list once removed. Removing a profile from a list will not impact the profile's [consent](https://developers.klaviyo.com/en/docs/collect_email_and_sms_consent_via_api) status or subscription status in general. To update a profile's subscription status, please use the [Unsubscribe Profiles endpoint](https://developers.klaviyo.com/en/reference/unsubscribe_profiles). This endpoint accepts a maximum of 1000 profiles per call.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `list:write` `profiles:write` # noqa: E501
497497
This method makes a synchronous HTTP request by default. To make an
498498
asynchronous HTTP request, please pass async_req=True
499499
@@ -524,7 +524,7 @@ def delete_list_relationships(self, id : StrictStr, list_members_delete_query :
524524
def delete_list_relationships_with_http_info(self, id : StrictStr, list_members_delete_query : ListMembersDeleteQuery, **kwargs) -> ApiResponse: # noqa: E501
525525
"""Remove Profile From List # noqa: E501
526526
527-
Remove a profile from a list with the given list ID. The provided profile will no longer receive marketing from this particular list once removed. Removing a profile from a list will not impact the profile's consent status or subscription status in general. To update a profile's subscription status, please use the [Unsubscribe Profiles endpoint](https://developers.klaviyo.com/en/reference/unsubscribe_profiles). This endpoint accepts a maximum of 1000 profiles per call.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `list:write` `profiles:write` # noqa: E501
527+
Remove a profile from a list with the given list ID. The provided profile will no longer receive marketing from this particular list once removed. Removing a profile from a list will not impact the profile's [consent](https://developers.klaviyo.com/en/docs/collect_email_and_sms_consent_via_api) status or subscription status in general. To update a profile's subscription status, please use the [Unsubscribe Profiles endpoint](https://developers.klaviyo.com/en/reference/unsubscribe_profiles). This endpoint accepts a maximum of 1000 profiles per call.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `list:write` `profiles:write` # noqa: E501
528528
This method makes a synchronous HTTP request by default. To make an
529529
asynchronous HTTP request, please pass async_req=True
530530

openapi_client/api/metrics_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def query_metric_aggregates_with_http_info(self, metric_aggregate_query : Annota
495495
_auth_settings = ['Klaviyo-API-Key', 'OAuth'] # noqa: E501
496496

497497
_response_types_map = {
498-
'201': "Dict[str, object]",
498+
'200': "Dict[str, object]",
499499
'4XX': "GetAccounts4XXResponse",
500500
'5XX': "GetAccounts4XXResponse",
501501
}

0 commit comments

Comments
 (0)