Skip to content

Commit 0d1be5f

Browse files
chore: regenerate from OpenAPI spec
- Auto-generated SDK updates - Version: v0.0.123
1 parent 49c043c commit 0d1be5f

811 files changed

Lines changed: 930 additions & 983 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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,6 @@ docs/SelectFacebookPageRequestUserProfile.md
576576
docs/SelectGoogleBusinessLocation200Response.md
577577
docs/SelectGoogleBusinessLocation200ResponseAccount.md
578578
docs/SelectGoogleBusinessLocationRequest.md
579-
docs/SelectGoogleBusinessLocationRequestUserProfile.md
580579
docs/SelectLinkedInOrganization200Response.md
581580
docs/SelectLinkedInOrganization200ResponseAccount.md
582581
docs/SelectLinkedInOrganization200ResponseBulkRefresh.md
@@ -1400,7 +1399,6 @@ src/main/java/dev/zernio/model/SelectFacebookPageRequestUserProfile.java
14001399
src/main/java/dev/zernio/model/SelectGoogleBusinessLocation200Response.java
14011400
src/main/java/dev/zernio/model/SelectGoogleBusinessLocation200ResponseAccount.java
14021401
src/main/java/dev/zernio/model/SelectGoogleBusinessLocationRequest.java
1403-
src/main/java/dev/zernio/model/SelectGoogleBusinessLocationRequestUserProfile.java
14041402
src/main/java/dev/zernio/model/SelectLinkedInOrganization200Response.java
14051403
src/main/java/dev/zernio/model/SelectLinkedInOrganization200ResponseAccount.java
14061404
src/main/java/dev/zernio/model/SelectLinkedInOrganization200ResponseBulkRefresh.java

README.md

Lines changed: 1 addition & 2 deletions
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-07T11:02:59.333343802Z[Etc/UTC]
7+
- Build date: 2026-04-08T08:46:29.621751381Z[Etc/UTC]
88

99
- Generator version: 7.19.0
1010

@@ -1195,7 +1195,6 @@ Class | Method | HTTP request | Description
11951195
- [SelectGoogleBusinessLocation200Response](docs/SelectGoogleBusinessLocation200Response.md)
11961196
- [SelectGoogleBusinessLocation200ResponseAccount](docs/SelectGoogleBusinessLocation200ResponseAccount.md)
11971197
- [SelectGoogleBusinessLocationRequest](docs/SelectGoogleBusinessLocationRequest.md)
1198-
- [SelectGoogleBusinessLocationRequestUserProfile](docs/SelectGoogleBusinessLocationRequestUserProfile.md)
11991198
- [SelectLinkedInOrganization200Response](docs/SelectLinkedInOrganization200Response.md)
12001199
- [SelectLinkedInOrganization200ResponseAccount](docs/SelectLinkedInOrganization200ResponseAccount.md)
12011200
- [SelectLinkedInOrganization200ResponseBulkRefresh](docs/SelectLinkedInOrganization200ResponseBulkRefresh.md)

api/openapi.yaml

Lines changed: 25 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4390,23 +4390,35 @@ paths:
43904390
- application/json
43914391
/v1/connect/googlebusiness/locations:
43924392
get:
4393-
description: For headless flows. Returns the list of GBP locations the user
4394-
can manage. Use X-Connect-Token if connecting via API key.
4393+
description: |
4394+
For headless flows. Returns the list of GBP locations the user can manage. Use pendingDataToken (from the OAuth callback redirect) to list locations without consuming the token, so it remains available for select-location. Use X-Connect-Token header if connecting via API key.
43954395
operationId: listGoogleBusinessLocations
43964396
parameters:
4397-
- description: Profile ID from your connection flow
4397+
- description: Profile ID from your connection flow. Required for auth validation
4398+
when provided.
43984399
explode: true
43994400
in: query
44004401
name: profileId
4401-
required: true
4402+
required: false
44024403
schema:
44034404
type: string
44044405
style: form
4405-
- description: Temporary Google access token from the OAuth callback redirect
4406+
- description: Token from the OAuth callback redirect. Preferred over tempToken
4407+
because it preserves server-side token storage. One of pendingDataToken
4408+
or tempToken is required.
4409+
explode: true
4410+
in: query
4411+
name: pendingDataToken
4412+
required: false
4413+
schema:
4414+
type: string
4415+
style: form
4416+
- description: Legacy. Direct Google access token. Use pendingDataToken instead
4417+
when available.
44064418
explode: true
44074419
in: query
44084420
name: tempToken
4409-
required: true
4421+
required: false
44104422
schema:
44114423
type: string
44124424
style: form
@@ -4446,23 +4458,16 @@ paths:
44464458
- application/json
44474459
/v1/connect/googlebusiness/select-location:
44484460
post:
4449-
description: Complete the headless flow by saving the user's selected GBP location.
4450-
Include userProfile from the OAuth redirect (contains refresh token). Use
4451-
X-Connect-Token if connecting via API key.
4461+
description: |
4462+
Complete the headless GBP flow by saving the user's selected location. The pendingDataToken is returned in your redirect URL after OAuth completes (step=select_location). Tokens and profile data are stored server-side, so only the pendingDataToken is needed here. Use X-Connect-Token header if connecting via API key.
44524463
operationId: selectGoogleBusinessLocation
44534464
requestBody:
44544465
content:
44554466
application/json:
44564467
example:
44574468
profileId: 507f1f77bcf86cd799439011
44584469
locationId: "9281089117903930794"
4459-
tempToken: ya29.xxxxx...
4460-
userProfile:
4461-
id: "113303573364907650416"
4462-
name: John Doe
4463-
refreshToken: 1//0gxxxxx...
4464-
tokenExpiresIn: 3599
4465-
scope: https://www.googleapis.com/auth/business.manage
4470+
pendingDataToken: a1b2c3d4e5f6...
44664471
redirect_url: https://yourdomain.com/integrations/callback
44674472
schema:
44684473
$ref: "#/components/schemas/selectGoogleBusinessLocation_request"
@@ -23591,23 +23596,6 @@ components:
2359123596
items:
2359223597
$ref: "#/components/schemas/listGoogleBusinessLocations_200_response_locations_inner"
2359323598
type: array
23594-
selectGoogleBusinessLocation_request_userProfile:
23595-
description: Decoded user profile from the OAuth callback. Contains the refresh
23596-
token. Always include this field.
23597-
properties:
23598-
id:
23599-
type: string
23600-
name:
23601-
type: string
23602-
refreshToken:
23603-
description: Google refresh token for long-lived access
23604-
type: string
23605-
tokenExpiresIn:
23606-
description: Token expiration time in seconds
23607-
type: integer
23608-
scope:
23609-
description: Granted OAuth scopes
23610-
type: string
2361123599
selectGoogleBusinessLocation_request:
2361223600
properties:
2361323601
profileId:
@@ -23616,19 +23604,18 @@ components:
2361623604
locationId:
2361723605
description: The Google Business location ID selected by the user
2361823606
type: string
23619-
tempToken:
23620-
description: Temporary Google access token from OAuth
23607+
pendingDataToken:
23608+
description: Token from the OAuth callback redirect (pendingDataToken query
23609+
param). Tokens and profile data are retrieved server-side from this token.
2362123610
type: string
23622-
userProfile:
23623-
$ref: "#/components/schemas/selectGoogleBusinessLocation_request_userProfile"
2362423611
redirect_url:
2362523612
description: Optional custom redirect URL to return to after selection
2362623613
format: uri
2362723614
type: string
2362823615
required:
2362923616
- locationId
23617+
- pendingDataToken
2363023618
- profileId
23631-
- tempToken
2363223619
selectGoogleBusinessLocation_200_response_account:
2363323620
example:
2363423621
accountId: accountId

docs/ConnectApi.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2509,11 +2509,11 @@ ApiResponse<[**ListFacebookPages200Response**](ListFacebookPages200Response.md)>
25092509

25102510
## listGoogleBusinessLocations
25112511

2512-
> ListGoogleBusinessLocations200Response listGoogleBusinessLocations(profileId, tempToken)
2512+
> ListGoogleBusinessLocations200Response listGoogleBusinessLocations(profileId, pendingDataToken, tempToken)
25132513
25142514
List GBP locations
25152515

2516-
For headless flows. Returns the list of GBP locations the user can manage. Use X-Connect-Token if connecting via API key.
2516+
For headless flows. Returns the list of GBP locations the user can manage. Use pendingDataToken (from the OAuth callback redirect) to list locations without consuming the token, so it remains available for select-location. Use X-Connect-Token header if connecting via API key.
25172517

25182518
### Example
25192519

@@ -2542,10 +2542,11 @@ public class Example {
25422542
bearerAuth.setBearerToken("BEARER TOKEN");
25432543

25442544
ConnectApi apiInstance = new ConnectApi(defaultClient);
2545-
String profileId = "profileId_example"; // String | Profile ID from your connection flow
2546-
String tempToken = "tempToken_example"; // String | Temporary Google access token from the OAuth callback redirect
2545+
String profileId = "profileId_example"; // String | Profile ID from your connection flow. Required for auth validation when provided.
2546+
String pendingDataToken = "pendingDataToken_example"; // String | Token from the OAuth callback redirect. Preferred over tempToken because it preserves server-side token storage. One of pendingDataToken or tempToken is required.
2547+
String tempToken = "tempToken_example"; // String | Legacy. Direct Google access token. Use pendingDataToken instead when available.
25472548
try {
2548-
ListGoogleBusinessLocations200Response result = apiInstance.listGoogleBusinessLocations(profileId, tempToken);
2549+
ListGoogleBusinessLocations200Response result = apiInstance.listGoogleBusinessLocations(profileId, pendingDataToken, tempToken);
25492550
System.out.println(result);
25502551
} catch (ApiException e) {
25512552
System.err.println("Exception when calling ConnectApi#listGoogleBusinessLocations");
@@ -2563,8 +2564,9 @@ public class Example {
25632564

25642565
| Name | Type | Description | Notes |
25652566
|------------- | ------------- | ------------- | -------------|
2566-
| **profileId** | **String**| Profile ID from your connection flow | |
2567-
| **tempToken** | **String**| Temporary Google access token from the OAuth callback redirect | |
2567+
| **profileId** | **String**| Profile ID from your connection flow. Required for auth validation when provided. | [optional] |
2568+
| **pendingDataToken** | **String**| Token from the OAuth callback redirect. Preferred over tempToken because it preserves server-side token storage. One of pendingDataToken or tempToken is required. | [optional] |
2569+
| **tempToken** | **String**| Legacy. Direct Google access token. Use pendingDataToken instead when available. | [optional] |
25682570

25692571
### Return type
25702572

@@ -2590,11 +2592,11 @@ public class Example {
25902592

25912593
## listGoogleBusinessLocationsWithHttpInfo
25922594

2593-
> ApiResponse<ListGoogleBusinessLocations200Response> listGoogleBusinessLocations listGoogleBusinessLocationsWithHttpInfo(profileId, tempToken)
2595+
> ApiResponse<ListGoogleBusinessLocations200Response> listGoogleBusinessLocations listGoogleBusinessLocationsWithHttpInfo(profileId, pendingDataToken, tempToken)
25942596
25952597
List GBP locations
25962598

2597-
For headless flows. Returns the list of GBP locations the user can manage. Use X-Connect-Token if connecting via API key.
2599+
For headless flows. Returns the list of GBP locations the user can manage. Use pendingDataToken (from the OAuth callback redirect) to list locations without consuming the token, so it remains available for select-location. Use X-Connect-Token header if connecting via API key.
25982600

25992601
### Example
26002602

@@ -2624,10 +2626,11 @@ public class Example {
26242626
bearerAuth.setBearerToken("BEARER TOKEN");
26252627

26262628
ConnectApi apiInstance = new ConnectApi(defaultClient);
2627-
String profileId = "profileId_example"; // String | Profile ID from your connection flow
2628-
String tempToken = "tempToken_example"; // String | Temporary Google access token from the OAuth callback redirect
2629+
String profileId = "profileId_example"; // String | Profile ID from your connection flow. Required for auth validation when provided.
2630+
String pendingDataToken = "pendingDataToken_example"; // String | Token from the OAuth callback redirect. Preferred over tempToken because it preserves server-side token storage. One of pendingDataToken or tempToken is required.
2631+
String tempToken = "tempToken_example"; // String | Legacy. Direct Google access token. Use pendingDataToken instead when available.
26292632
try {
2630-
ApiResponse<ListGoogleBusinessLocations200Response> response = apiInstance.listGoogleBusinessLocationsWithHttpInfo(profileId, tempToken);
2633+
ApiResponse<ListGoogleBusinessLocations200Response> response = apiInstance.listGoogleBusinessLocationsWithHttpInfo(profileId, pendingDataToken, tempToken);
26312634
System.out.println("Status code: " + response.getStatusCode());
26322635
System.out.println("Response headers: " + response.getHeaders());
26332636
System.out.println("Response body: " + response.getData());
@@ -2647,8 +2650,9 @@ public class Example {
26472650

26482651
| Name | Type | Description | Notes |
26492652
|------------- | ------------- | ------------- | -------------|
2650-
| **profileId** | **String**| Profile ID from your connection flow | |
2651-
| **tempToken** | **String**| Temporary Google access token from the OAuth callback redirect | |
2653+
| **profileId** | **String**| Profile ID from your connection flow. Required for auth validation when provided. | [optional] |
2654+
| **pendingDataToken** | **String**| Token from the OAuth callback redirect. Preferred over tempToken because it preserves server-side token storage. One of pendingDataToken or tempToken is required. | [optional] |
2655+
| **tempToken** | **String**| Legacy. Direct Google access token. Use pendingDataToken instead when available. | [optional] |
26522656

26532657
### Return type
26542658

@@ -3317,7 +3321,7 @@ ApiResponse<[**SelectFacebookPage200Response**](SelectFacebookPage200Response.md
33173321
33183322
Select GBP location
33193323

3320-
Complete the headless flow by saving the user&#39;s selected GBP location. Include userProfile from the OAuth redirect (contains refresh token). Use X-Connect-Token if connecting via API key.
3324+
Complete the headless GBP flow by saving the user&#39;s selected location. The pendingDataToken is returned in your redirect URL after OAuth completes (step&#x3D;select_location). Tokens and profile data are stored server-side, so only the pendingDataToken is needed here. Use X-Connect-Token header if connecting via API key.
33213325

33223326
### Example
33233327

@@ -3398,7 +3402,7 @@ public class Example {
33983402
33993403
Select GBP location
34003404

3401-
Complete the headless flow by saving the user&#39;s selected GBP location. Include userProfile from the OAuth redirect (contains refresh token). Use X-Connect-Token if connecting via API key.
3405+
Complete the headless GBP flow by saving the user&#39;s selected location. The pendingDataToken is returned in your redirect URL after OAuth completes (step&#x3D;select_location). Tokens and profile data are stored server-side, so only the pendingDataToken is needed here. Use X-Connect-Token header if connecting via API key.
34023406

34033407
### Example
34043408

docs/SelectGoogleBusinessLocationRequest.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
|------------ | ------------- | ------------- | -------------|
1010
|**profileId** | **String** | Profile ID from your connection flow | |
1111
|**locationId** | **String** | The Google Business location ID selected by the user | |
12-
|**tempToken** | **String** | Temporary Google access token from OAuth | |
13-
|**userProfile** | [**SelectGoogleBusinessLocationRequestUserProfile**](SelectGoogleBusinessLocationRequestUserProfile.md) | | [optional] |
12+
|**pendingDataToken** | **String** | Token from the OAuth callback redirect (pendingDataToken query param). Tokens and profile data are retrieved server-side from this token. | |
1413
|**redirectUrl** | **URI** | Optional custom redirect URL to return to after selection | [optional] |
1514

1615

openapi.yaml

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7209,18 +7209,27 @@ paths:
72097209
operationId: listGoogleBusinessLocations
72107210
tags: [Connect]
72117211
summary: List GBP locations
7212-
description: For headless flows. Returns the list of GBP locations the user can manage. Use X-Connect-Token if connecting via API key.
7212+
description: >
7213+
For headless flows. Returns the list of GBP locations the user can manage.
7214+
Use pendingDataToken (from the OAuth callback redirect) to list locations
7215+
without consuming the token, so it remains available for select-location.
7216+
Use X-Connect-Token header if connecting via API key.
72137217
parameters:
72147218
- name: profileId
72157219
in: query
7216-
required: true
7220+
required: false
72177221
schema: { type: string }
7218-
description: Profile ID from your connection flow
7222+
description: Profile ID from your connection flow. Required for auth validation when provided.
7223+
- name: pendingDataToken
7224+
in: query
7225+
required: false
7226+
schema: { type: string }
7227+
description: Token from the OAuth callback redirect. Preferred over tempToken because it preserves server-side token storage. One of pendingDataToken or tempToken is required.
72197228
- name: tempToken
72207229
in: query
7221-
required: true
7230+
required: false
72227231
schema: { type: string }
7223-
description: Temporary Google access token from the OAuth callback redirect
7232+
description: Legacy. Direct Google access token. Use pendingDataToken instead when available.
72247233
security:
72257234
- bearerAuth: []
72267235
- connectToken: []
@@ -7267,47 +7276,37 @@ paths:
72677276
operationId: selectGoogleBusinessLocation
72687277
tags: [Connect]
72697278
summary: Select GBP location
7270-
description: Complete the headless flow by saving the user's selected GBP location. Include userProfile from the OAuth redirect (contains refresh token). Use X-Connect-Token if connecting via API key.
7279+
description: >
7280+
Complete the headless GBP flow by saving the user's selected location.
7281+
The pendingDataToken is returned in your redirect URL after OAuth completes
7282+
(step=select_location). Tokens and profile data are stored server-side,
7283+
so only the pendingDataToken is needed here. Use X-Connect-Token header
7284+
if connecting via API key.
72717285
requestBody:
72727286
required: true
72737287
content:
72747288
application/json:
72757289
schema:
72767290
type: object
7277-
required: [profileId, locationId, tempToken]
7291+
required: [profileId, locationId, pendingDataToken]
72787292
properties:
7279-
profileId:
7293+
profileId:
72807294
type: string
72817295
description: Profile ID from your connection flow
7282-
locationId:
7296+
locationId:
72837297
type: string
72847298
description: The Google Business location ID selected by the user
7285-
tempToken:
7299+
pendingDataToken:
72867300
type: string
7287-
description: Temporary Google access token from OAuth
7288-
userProfile:
7289-
type: object
7290-
description: Decoded user profile from the OAuth callback. Contains the refresh token. Always include this field.
7291-
properties:
7292-
id: { type: string }
7293-
name: { type: string }
7294-
refreshToken: { type: string, description: Google refresh token for long-lived access }
7295-
tokenExpiresIn: { type: integer, description: Token expiration time in seconds }
7296-
scope: { type: string, description: Granted OAuth scopes }
7297-
redirect_url:
7301+
description: Token from the OAuth callback redirect (pendingDataToken query param). Tokens and profile data are retrieved server-side from this token.
7302+
redirect_url:
72987303
type: string
72997304
format: uri
73007305
description: Optional custom redirect URL to return to after selection
73017306
example:
73027307
profileId: "507f1f77bcf86cd799439011"
73037308
locationId: "9281089117903930794"
7304-
tempToken: "ya29.xxxxx..."
7305-
userProfile:
7306-
id: "113303573364907650416"
7307-
name: "John Doe"
7308-
refreshToken: "1//0gxxxxx..."
7309-
tokenExpiresIn: 3599
7310-
scope: "https://www.googleapis.com/auth/business.manage"
7309+
pendingDataToken: "a1b2c3d4e5f6..."
73117310
redirect_url: "https://yourdomain.com/integrations/callback"
73127311
security:
73137312
- bearerAuth: []

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.122</version>
8+
<version>0.0.123</version>
99
<url>https://github.com/openapitools/openapi-generator</url>
1010
<description>OpenAPI Java</description>
1111
<scm>

0 commit comments

Comments
 (0)