Skip to content

Commit 3390ee0

Browse files
chore: regenerate from OpenAPI spec
- Auto-generated SDK updates - Version: v0.0.114
1 parent b44304c commit 3390ee0

769 files changed

Lines changed: 891 additions & 797 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,6 +1526,3 @@ src/main/java/dev/zernio/model/YouTubeDailyViewsResponseScopeStatus.java
15261526
src/main/java/dev/zernio/model/YouTubePlatformData.java
15271527
src/main/java/dev/zernio/model/YouTubeScopeMissingResponse.java
15281528
src/main/java/dev/zernio/model/YouTubeScopeMissingResponseScopeStatus.java
1529-
src/test/java/dev/zernio/model/AdTreeAdSetTest.java
1530-
src/test/java/dev/zernio/model/AdTreeCampaignTest.java
1531-
src/test/java/dev/zernio/model/GetAdTree200ResponseTest.java

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Zernio API
44

55
- API version: 1.0.1
66

7-
- Build date: 2026-04-02T08:17:58.484369139Z[Etc/UTC]
7+
- Build date: 2026-04-02T08:58:19.024551527Z[Etc/UTC]
88

99
- Generator version: 7.19.0
1010

api/openapi.yaml

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3083,8 +3083,9 @@ paths:
30833083
- application/json
30843084
/v1/accounts:
30853085
get:
3086-
description: Returns connected social accounts. Only includes accounts within
3087-
the plan limit by default. Follower data requires analytics add-on.
3086+
description: |
3087+
Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on.
3088+
Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible).
30883089
operationId: listAccounts
30893090
parameters:
30903091
- description: Filter accounts by profile ID
@@ -3113,6 +3114,26 @@ paths:
31133114
default: false
31143115
type: boolean
31153116
style: form
3117+
- description: "Page number (1-based). When provided with limit, enables server-side\
3118+
\ pagination. Omit for all accounts."
3119+
explode: true
3120+
in: query
3121+
name: page
3122+
required: false
3123+
schema:
3124+
minimum: 1
3125+
type: integer
3126+
style: form
3127+
- description: Page size. Required alongside page for pagination.
3128+
explode: true
3129+
in: query
3130+
name: limit
3131+
required: false
3132+
schema:
3133+
maximum: 100
3134+
minimum: 1
3135+
type: integer
3136+
style: form
31163137
responses:
31173138
"200":
31183139
content:
@@ -3134,7 +3155,7 @@ paths:
31343155
hasAnalyticsAccess: false
31353156
schema:
31363157
$ref: "#/components/schemas/listAccounts_200_response"
3137-
description: Accounts
3158+
description: Accounts (with optional pagination)
31383159
"401":
31393160
$ref: "#/components/responses/Unauthorized"
31403161
summary: List accounts
@@ -21328,6 +21349,7 @@ components:
2132821349
listAccounts_200_response:
2132921350
example:
2133021351
hasAnalyticsAccess: true
21352+
pagination: ""
2133121353
accounts:
2133221354
- profileUrl: profileUrl
2133321355
metadata: "{}"
@@ -21357,6 +21379,10 @@ components:
2135721379
hasAnalyticsAccess:
2135821380
description: Whether user has analytics add-on access
2135921381
type: boolean
21382+
pagination:
21383+
allOf:
21384+
- $ref: "#/components/schemas/Pagination"
21385+
description: Only present when page/limit params are provided
2136021386
getFollowerStats_200_response_stats_value_inner:
2136121387
example:
2136221388
date: 2000-01-23

docs/AccountsApi.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -793,11 +793,11 @@ ApiResponse<[**GetTikTokCreatorInfo200Response**](GetTikTokCreatorInfo200Respons
793793

794794
## listAccounts
795795

796-
> ListAccounts200Response listAccounts(profileId, platform, includeOverLimit)
796+
> ListAccounts200Response listAccounts(profileId, platform, includeOverLimit, page, limit)
797797
798798
List accounts
799799

800-
Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on.
800+
Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on. Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible).
801801

802802
### Example
803803

@@ -823,8 +823,10 @@ public class Example {
823823
String profileId = "profileId_example"; // String | Filter accounts by profile ID
824824
String platform = "platform_example"; // String | Filter accounts by platform (e.g. \"instagram\", \"twitter\").
825825
Boolean includeOverLimit = false; // Boolean | When true, includes accounts from over-limit profiles.
826+
Integer page = 56; // Integer | Page number (1-based). When provided with limit, enables server-side pagination. Omit for all accounts.
827+
Integer limit = 56; // Integer | Page size. Required alongside page for pagination.
826828
try {
827-
ListAccounts200Response result = apiInstance.listAccounts(profileId, platform, includeOverLimit);
829+
ListAccounts200Response result = apiInstance.listAccounts(profileId, platform, includeOverLimit, page, limit);
828830
System.out.println(result);
829831
} catch (ApiException e) {
830832
System.err.println("Exception when calling AccountsApi#listAccounts");
@@ -845,6 +847,8 @@ public class Example {
845847
| **profileId** | **String**| Filter accounts by profile ID | [optional] |
846848
| **platform** | **String**| Filter accounts by platform (e.g. \&quot;instagram\&quot;, \&quot;twitter\&quot;). | [optional] |
847849
| **includeOverLimit** | **Boolean**| When true, includes accounts from over-limit profiles. | [optional] [default to false] |
850+
| **page** | **Integer**| Page number (1-based). When provided with limit, enables server-side pagination. Omit for all accounts. | [optional] |
851+
| **limit** | **Integer**| Page size. Required alongside page for pagination. | [optional] |
848852

849853
### Return type
850854

@@ -863,16 +867,16 @@ public class Example {
863867
### HTTP response details
864868
| Status code | Description | Response headers |
865869
|-------------|-------------|------------------|
866-
| **200** | Accounts | - |
870+
| **200** | Accounts (with optional pagination) | - |
867871
| **401** | Unauthorized | - |
868872

869873
## listAccountsWithHttpInfo
870874

871-
> ApiResponse<ListAccounts200Response> listAccounts listAccountsWithHttpInfo(profileId, platform, includeOverLimit)
875+
> ApiResponse<ListAccounts200Response> listAccounts listAccountsWithHttpInfo(profileId, platform, includeOverLimit, page, limit)
872876
873877
List accounts
874878

875-
Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on.
879+
Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on. Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible).
876880

877881
### Example
878882

@@ -899,8 +903,10 @@ public class Example {
899903
String profileId = "profileId_example"; // String | Filter accounts by profile ID
900904
String platform = "platform_example"; // String | Filter accounts by platform (e.g. \"instagram\", \"twitter\").
901905
Boolean includeOverLimit = false; // Boolean | When true, includes accounts from over-limit profiles.
906+
Integer page = 56; // Integer | Page number (1-based). When provided with limit, enables server-side pagination. Omit for all accounts.
907+
Integer limit = 56; // Integer | Page size. Required alongside page for pagination.
902908
try {
903-
ApiResponse<ListAccounts200Response> response = apiInstance.listAccountsWithHttpInfo(profileId, platform, includeOverLimit);
909+
ApiResponse<ListAccounts200Response> response = apiInstance.listAccountsWithHttpInfo(profileId, platform, includeOverLimit, page, limit);
904910
System.out.println("Status code: " + response.getStatusCode());
905911
System.out.println("Response headers: " + response.getHeaders());
906912
System.out.println("Response body: " + response.getData());
@@ -923,6 +929,8 @@ public class Example {
923929
| **profileId** | **String**| Filter accounts by profile ID | [optional] |
924930
| **platform** | **String**| Filter accounts by platform (e.g. \&quot;instagram\&quot;, \&quot;twitter\&quot;). | [optional] |
925931
| **includeOverLimit** | **Boolean**| When true, includes accounts from over-limit profiles. | [optional] [default to false] |
932+
| **page** | **Integer**| Page number (1-based). When provided with limit, enables server-side pagination. Omit for all accounts. | [optional] |
933+
| **limit** | **Integer**| Page size. Required alongside page for pagination. | [optional] |
926934

927935
### Return type
928936

@@ -941,7 +949,7 @@ ApiResponse<[**ListAccounts200Response**](ListAccounts200Response.md)>
941949
### HTTP response details
942950
| Status code | Description | Response headers |
943951
|-------------|-------------|------------------|
944-
| **200** | Accounts | - |
952+
| **200** | Accounts (with optional pagination) | - |
945953
| **401** | Unauthorized | - |
946954

947955

docs/ListAccounts200Response.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
|------------ | ------------- | ------------- | -------------|
1010
|**accounts** | [**List&lt;SocialAccount&gt;**](SocialAccount.md) | | [optional] |
1111
|**hasAnalyticsAccess** | **Boolean** | Whether user has analytics add-on access | [optional] |
12+
|**pagination** | [**Pagination**](Pagination.md) | Only present when page/limit params are provided | [optional] |
1213

1314

1415

openapi.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5760,7 +5760,9 @@ paths:
57605760
operationId: listAccounts
57615761
tags: [Accounts]
57625762
summary: List accounts
5763-
description: Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on.
5763+
description: |
5764+
Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on.
5765+
Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible).
57645766
parameters:
57655767
- name: profileId
57665768
in: query
@@ -5777,9 +5779,17 @@ paths:
57775779
type: boolean
57785780
default: false
57795781
description: When true, includes accounts from over-limit profiles.
5782+
- name: page
5783+
in: query
5784+
schema: { type: integer, minimum: 1 }
5785+
description: Page number (1-based). When provided with limit, enables server-side pagination. Omit for all accounts.
5786+
- name: limit
5787+
in: query
5788+
schema: { type: integer, minimum: 1, maximum: 100 }
5789+
description: Page size. Required alongside page for pagination.
57805790
responses:
57815791
'200':
5782-
description: Accounts
5792+
description: Accounts (with optional pagination)
57835793
content:
57845794
application/json:
57855795
schema:
@@ -5791,6 +5801,9 @@ paths:
57915801
hasAnalyticsAccess:
57925802
type: boolean
57935803
description: Whether user has analytics add-on access
5804+
pagination:
5805+
description: Only present when page/limit params are provided
5806+
$ref: '#/components/schemas/Pagination'
57945807
examples:
57955808
example:
57965809
value:

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>zernio-sdk</artifactId>
66
<packaging>jar</packaging>
77
<name>zernio-sdk</name>
8-
<version>0.0.113</version>
8+
<version>0.0.114</version>
99
<url>https://github.com/openapitools/openapi-generator</url>
1010
<description>OpenAPI Java</description>
1111
<scm>

src/main/java/dev/zernio/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
* <p>The setter methods of this class return the current object to facilitate
5555
* a fluent style of configuration.</p>
5656
*/
57-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-04-02T08:17:58.484369139Z[Etc/UTC]", comments = "Generator version: 7.19.0")
57+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-04-02T08:58:19.024551527Z[Etc/UTC]", comments = "Generator version: 7.19.0")
5858
public class ApiClient {
5959

6060
protected HttpClient.Builder builder;

src/main/java/dev/zernio/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
import java.net.http.HttpHeaders;
1717

18-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-04-02T08:17:58.484369139Z[Etc/UTC]", comments = "Generator version: 7.19.0")
18+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-04-02T08:58:19.024551527Z[Etc/UTC]", comments = "Generator version: 7.19.0")
1919
public class ApiException extends Exception {
2020
private static final long serialVersionUID = 1L;
2121

src/main/java/dev/zernio/ApiResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* @param <T> The type of data that is deserialized from response body
2323
*/
24-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-04-02T08:17:58.484369139Z[Etc/UTC]", comments = "Generator version: 7.19.0")
24+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-04-02T08:58:19.024551527Z[Etc/UTC]", comments = "Generator version: 7.19.0")
2525
public class ApiResponse<T> {
2626
final private int statusCode;
2727
final private Map<String, List<String>> headers;

0 commit comments

Comments
 (0)