Skip to content

Commit a27d2c9

Browse files
authored
Merge pull request #1 from klaviyo/20221025-jonb-segment-profiles
updated spec with get_segment_profiles fix, and some new docstrings, …
2 parents 00c5d6f + 041b10e commit a27d2c9

21 files changed

Lines changed: 2835 additions & 53 deletions

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Klaviyo PHP SDK
22

3-
- SDK version: 1.0.0
3+
- SDK version: 1.0.1
44
- API Revision: 2022-10-17
55

66
## Helpful Resources
@@ -1735,10 +1735,11 @@ klaviyo->Segments->getSegment($id, $fields_segment=$fields_segment);
17351735

17361736
## Keyword Arguments
17371737

1738+
# $fields_profile | string[]
17381739
# $filter | string
17391740
# $page_cursor | string
17401741

1741-
klaviyo->Segments->getSegmentProfiles($segment_id, $filter=$filter, $page_cursor=$page_cursor);
1742+
klaviyo->Segments->getSegmentProfiles($segment_id, $fields_profile=$fields_profile, $filter=$filter, $page_cursor=$page_cursor);
17421743
```
17431744

17441745

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "klaviyo/api",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "PHP SDK for Klaviyo's API.",
55
"keywords": [
66
"openapitools",

lib/API/ListsApi.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2500,7 +2500,7 @@ public function getListRelationshipsRequest($id, $related_resource, $page_cursor
25002500
* Get Lists
25012501
*
25022502
* @param string[] $fields_list For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets (optional)
2503-
* @param string $filter For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` (optional)
2503+
* @param string $filter For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` (optional)
25042504
* @param string $page_cursor For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#pagination (optional)
25052505
*
25062506
* @throws \KlaviyoAPI\ApiException on non-2xx response
@@ -2519,7 +2519,7 @@ public function getLists($fields_list = null, $filter = null, $page_cursor = nul
25192519
* Get Lists
25202520
*
25212521
* @param string[] $fields_list For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets (optional)
2522-
* @param string $filter For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` (optional)
2522+
* @param string $filter For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` (optional)
25232523
* @param string $page_cursor For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#pagination (optional)
25242524
*
25252525
* @throws \KlaviyoAPI\ApiException on non-2xx response
@@ -2689,7 +2689,7 @@ public function getListsWithHttpInfo($fields_list = null, $filter = null, $page_
26892689
* Get Lists
26902690
*
26912691
* @param string[] $fields_list For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets (optional)
2692-
* @param string $filter For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` (optional)
2692+
* @param string $filter For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` (optional)
26932693
* @param string $page_cursor For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#pagination (optional)
26942694
*
26952695
* @throws \InvalidArgumentException
@@ -2711,7 +2711,7 @@ function ($response) {
27112711
* Get Lists
27122712
*
27132713
* @param string[] $fields_list For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets (optional)
2714-
* @param string $filter For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` (optional)
2714+
* @param string $filter For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` (optional)
27152715
* @param string $page_cursor For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#pagination (optional)
27162716
*
27172717
* @throws \InvalidArgumentException
@@ -2767,7 +2767,7 @@ function ($exception) {
27672767
* Create request for operation 'getLists'
27682768
*
27692769
* @param string[] $fields_list For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets (optional)
2770-
* @param string $filter For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` (optional)
2770+
* @param string $filter For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`name`: `any`, `equals`<br>`id`: `any`, `equals`<br>`created`: `greater-than`<br>`updated`: `greater-than` (optional)
27712771
* @param string $page_cursor For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#pagination (optional)
27722772
*
27732773
* @throws \InvalidArgumentException

0 commit comments

Comments
 (0)