Skip to content

Commit

Permalink
chore: generated code for commit c1c7a88. [skip ci]
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
algolia-bot and shortcuts committed May 25, 2022
1 parent c1c7a88 commit 32630ee
Show file tree
Hide file tree
Showing 16 changed files with 217 additions and 80 deletions.
1 change: 0 additions & 1 deletion clients/algoliasearch-client-java-2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@
- c1ac7bea feat(specs): add `personalizaton` spec and client (#27)
- ef603fbf feat(specs): add `recommend` spec and client (#19)
- 47f71b96 feat(specs): add `settings` spec (#17)

Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public class ApiClient {
public ApiClient(String appId, String apiKey, Requester requester, String clientName, AlgoliaAgent.Segment[] segments) {
this.contentType = "application/json";

AlgoliaAgent ua = new AlgoliaAgent("0.0.1");
ua.addSegment(new AlgoliaAgent.Segment(clientName, "0.0.1"));
AlgoliaAgent ua = new AlgoliaAgent("0.1.0");
ua.addSegment(new AlgoliaAgent.Segment(clientName, "0.1.0"));
if (segments != null) {
for (AlgoliaAgent.Segment segment : segments) {
ua.addSegment(segment);
Expand Down
2 changes: 1 addition & 1 deletion clients/algoliasearch-client-java-2/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
GROUP=com.algolia
VERSION_NAME=0.0.1-SNAPSHOT
VERSION_NAME=0.1.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import type { SearchMethodParams } from '../model/searchMethodParams';
import type { SearchResponses } from '../model/searchResponses';

export * from '../model';
export const apiClientVersion = '0.3.0';
export const apiClientVersion = '0.4.0';

function getDefaultHosts(appId: string): Host[] {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type { AddABTestsRequest } from '../model/addABTestsRequest';
import type { ListABTestsResponse } from '../model/listABTestsResponse';

export * from '../model';
export const apiClientVersion = '0.3.0';
export const apiClientVersion = '0.4.0';

export type Region = 'de' | 'us';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import type { GetUsersCountResponse } from '../model/getUsersCountResponse';
import type { OrderBy } from '../model/orderBy';

export * from '../model';
export const apiClientVersion = '0.3.0';
export const apiClientVersion = '0.4.0';

export type Region = 'de' | 'us';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type { InsightEvents } from '../model/insightEvents';
import type { PushEventsResponse } from '../model/pushEventsResponse';

export * from '../model';
export const apiClientVersion = '0.3.0';
export const apiClientVersion = '0.4.0';

export type Region = 'de' | 'us';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type { PersonalizationStrategyParams } from '../model/personalizationStra
import type { SetPersonalizationStrategyResponse } from '../model/setPersonalizationStrategyResponse';

export * from '../model';
export const apiClientVersion = '0.3.0';
export const apiClientVersion = '0.4.0';

export type Region = 'eu' | 'us';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type { FetchUserProfileResponse } from '../model/fetchUserProfileResponse
import type { Params } from '../model/params';

export * from '../model';
export const apiClientVersion = '0.3.0';
export const apiClientVersion = '0.4.0';

export type Region = 'ew' | 'ue';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import type { Status } from '../model/status';
import type { SuccessResponse } from '../model/successResponse';

export * from '../model';
export const apiClientVersion = '0.3.0';
export const apiClientVersion = '0.4.0';

export type Region = 'eu' | 'us';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ import type { UpdatedRuleResponse } from '../model/updatedRuleResponse';
import type { UserId } from '../model/userId';

export * from '../model';
export const apiClientVersion = '0.3.0';
export const apiClientVersion = '0.4.0';

function getDefaultHosts(appId: string): Host[] {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type { PostIngestUrlResponse } from '../model/postIngestUrlResponse';
import type { PostURLJob } from '../model/postURLJob';

export * from '../model';
export const apiClientVersion = '0.3.0';
export const apiClientVersion = '0.4.0';

export type Region = 'de' | 'us';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import type { GetRecommendationsParams } from '../model/getRecommendationsParams
import type { GetRecommendationsResponse } from '../model/getRecommendationsResponse';

export * from '../model';
export const apiClientVersion = '0.3.0';
export const apiClientVersion = '0.4.0';

function getDefaultHosts(appId: string): Host[] {
return (
Expand Down
2 changes: 1 addition & 1 deletion tests/output/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repositories {
}

dependencies {
testImplementation 'com.algolia:algoliasearch-client-java:0.0.1-SNAPSHOT'
testImplementation 'com.algolia:algoliasearch-client-java:0.1.0-SNAPSHOT'
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
testImplementation 'org.skyscreamer:jsonassert:1.5.0'
testImplementation 'com.google.code.gson:gson:2.8.9'
Expand Down
24 changes: 12 additions & 12 deletions tests/output/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
"test": "jest"
},
"dependencies": {
"@experimental-api-clients-automation/algoliasearch-lite": "0.3.0",
"@experimental-api-clients-automation/client-abtesting": "0.3.0",
"@experimental-api-clients-automation/client-analytics": "0.3.0",
"@experimental-api-clients-automation/client-common": "0.3.0",
"@experimental-api-clients-automation/client-insights": "0.3.0",
"@experimental-api-clients-automation/client-personalization": "0.3.0",
"@experimental-api-clients-automation/client-predict": "0.3.0",
"@experimental-api-clients-automation/client-query-suggestions": "0.3.0",
"@experimental-api-clients-automation/client-search": "0.3.0",
"@experimental-api-clients-automation/client-sources": "0.3.0",
"@experimental-api-clients-automation/recommend": "0.3.0",
"@experimental-api-clients-automation/requester-node-http": "0.3.0"
"@experimental-api-clients-automation/algoliasearch-lite": "0.4.0",
"@experimental-api-clients-automation/client-abtesting": "0.4.0",
"@experimental-api-clients-automation/client-analytics": "0.4.0",
"@experimental-api-clients-automation/client-common": "0.4.0",
"@experimental-api-clients-automation/client-insights": "0.4.0",
"@experimental-api-clients-automation/client-personalization": "0.4.0",
"@experimental-api-clients-automation/client-predict": "0.4.0",
"@experimental-api-clients-automation/client-query-suggestions": "0.4.0",
"@experimental-api-clients-automation/client-search": "0.4.0",
"@experimental-api-clients-automation/client-sources": "0.4.0",
"@experimental-api-clients-automation/recommend": "0.4.0",
"@experimental-api-clients-automation/requester-node-http": "0.4.0"
},
"devDependencies": {
"@types/jest": "27.4.1",
Expand Down
Loading

0 comments on commit 32630ee

Please sign in to comment.