Skip to content

Commit 8802f0d

Browse files
committed
Merge branch 'master' of https://github.com/croct-tech/export-client-java into fix-workflow
2 parents 1a48356 + 04a0735 commit 8802f0d

90 files changed

Lines changed: 1012 additions & 104 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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ src/main/java/com/croct/client/export/model/OrderPlaced.java
5959
src/main/java/com/croct/client/export/model/OrderStatus.java
6060
src/main/java/com/croct/client/export/model/PageLoaded.java
6161
src/main/java/com/croct/client/export/model/PageOpened.java
62+
src/main/java/com/croct/client/export/model/Point.java
6263
src/main/java/com/croct/client/export/model/ProductAbandoned.java
6364
src/main/java/com/croct/client/export/model/ProductDetails.java
6465
src/main/java/com/croct/client/export/model/ProductViewed.java
@@ -68,6 +69,7 @@ src/main/java/com/croct/client/export/model/SessionResponse.java
6869
src/main/java/com/croct/client/export/model/SessionStatistics.java
6970
src/main/java/com/croct/client/export/model/SessionWindow.java
7071
src/main/java/com/croct/client/export/model/SingleEventResponse.java
72+
src/main/java/com/croct/client/export/model/Size.java
7173
src/main/java/com/croct/client/export/model/SlotPersonalized.java
7274
src/main/java/com/croct/client/export/model/SlotPersonalizedMetadata.java
7375
src/main/java/com/croct/client/export/model/SlotPersonalizedPersonalization.java
@@ -79,7 +81,9 @@ src/main/java/com/croct/client/export/model/TabVisibility.java
7981
src/main/java/com/croct/client/export/model/TabVisibilityChanged.java
8082
src/main/java/com/croct/client/export/model/User.java
8183
src/main/java/com/croct/client/export/model/UserAddress.java
84+
src/main/java/com/croct/client/export/model/UserClicked.java
8285
src/main/java/com/croct/client/export/model/UserResponse.java
86+
src/main/java/com/croct/client/export/model/UserScrolled.java
8387
src/main/java/com/croct/client/export/model/UserSignedIn.java
8488
src/main/java/com/croct/client/export/model/UserSignedOut.java
8589
src/main/java/com/croct/client/export/model/UserSignedUp.java

api/openapi.yaml

Lines changed: 78 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
name: MIT
99
url: https://choosealicense.com/licenses/mit
1010
title: Croct Export
11-
version: 0.6.0
11+
version: 0.7.0
1212
servers:
1313
- description: Production endpoint
1414
url: https://api.croct.io/export
@@ -800,6 +800,8 @@ components:
800800
slotPersonalized: "#/components/schemas/SlotPersonalized"
801801
leadGenerated: "#/components/schemas/LeadGenerated"
802802
audienceMatched: "#/components/schemas/AudienceMatched"
803+
userClicked: "#/components/schemas/UserClicked"
804+
userScrolled: "#/components/schemas/UserScrolled"
803805
propertyName: '@type'
804806
example:
805807
'@type': '@type'
@@ -908,6 +910,8 @@ components:
908910
- slotPersonalized
909911
- leadGenerated
910912
- audienceMatched
913+
- userClicked
914+
- userScrolled
911915
type: string
912916
x-enum-varnames:
913917
- USER_SIGNED_UP
@@ -920,18 +924,21 @@ components:
920924
- CLIENT_DETECTED
921925
- PAGE_OPENED
922926
- PAGE_LOADED
927+
- PRODUCT_ABANDONED
923928
- PRODUCT_VIEWED
929+
- CART_ABANDONED
924930
- CART_VIEWED
925931
- CART_MODIFIED
926932
- CHECKOUT_STARTED
927933
- ORDER_PLACED
928-
- TEST_GROUP_ASSIGNED
929934
- NOTHING_CHANGED
930935
- GOAL_COMPLETED
931936
- EVENT_OCCURRED
932937
- SLOT_PERSONALIZED
933938
- LEAD_GENERATED
934939
- AUDIENCE_MATCHED
940+
- USER_CLICKED
941+
- USER_SCROLLED
935942
Currency:
936943
description: The official currency used in the location.
937944
example:
@@ -1333,6 +1340,32 @@ components:
13331340
- PLACED
13341341
- PAID
13351342
- COMPLETED
1343+
Point:
1344+
description: A position in a two-dimensional space.
1345+
properties:
1346+
x:
1347+
description: The horizontal position in pixels.
1348+
type: integer
1349+
"y":
1350+
description: The vertical position in pixels.
1351+
type: integer
1352+
required:
1353+
- x
1354+
- "y"
1355+
type: object
1356+
Size:
1357+
description: A two-dimensional size.
1358+
properties:
1359+
width:
1360+
description: The width in pixels.
1361+
type: integer
1362+
height:
1363+
description: The height in pixels.
1364+
type: integer
1365+
required:
1366+
- height
1367+
- width
1368+
type: object
13361369
PageLoaded:
13371370
allOf:
13381371
- $ref: "#/components/schemas/EventPayload"
@@ -1433,6 +1466,11 @@ components:
14331466
format: double
14341467
nullable: true
14351468
type: number
1469+
currency:
1470+
description: The currency in which the monetary values are expressed in
1471+
the shopping cart.
1472+
nullable: true
1473+
type: string
14361474
url:
14371475
description: "The URL of the product page. For example, \"https://apple.com/iphone\"\
14381476
."
@@ -2094,6 +2132,40 @@ components:
20942132
example: null
20952133
type: object
20962134
example: null
2135+
UserClicked:
2136+
allOf:
2137+
- $ref: "#/components/schemas/EventPayload"
2138+
- description: An event recording that the user clicked on the screen.
2139+
properties:
2140+
point:
2141+
$ref: "#/components/schemas/Point"
2142+
surfaceSize:
2143+
$ref: "#/components/schemas/Size"
2144+
required:
2145+
- point
2146+
type: object
2147+
example: null
2148+
type: object
2149+
example: null
2150+
UserScrolled:
2151+
allOf:
2152+
- $ref: "#/components/schemas/EventPayload"
2153+
- description: An event recording that the user scrolled.
2154+
properties:
2155+
start:
2156+
$ref: "#/components/schemas/Point"
2157+
end:
2158+
$ref: "#/components/schemas/Point"
2159+
surfaceSize:
2160+
$ref: "#/components/schemas/Size"
2161+
viewportSize:
2162+
$ref: "#/components/schemas/Size"
2163+
required:
2164+
- end
2165+
type: object
2166+
example: null
2167+
type: object
2168+
example: null
20972169
WebClient:
20982170
description: The available information about a web client.
20992171
example:
@@ -2311,6 +2383,10 @@ components:
23112383
$ref: "#/components/schemas/SlotPersonalized_personalization_slotVersion"
23122384
assignedVariant:
23132385
$ref: "#/components/schemas/SlotPersonalized_personalization_assignedVariant"
2386+
locale:
2387+
description: The locale of the content.
2388+
nullable: true
2389+
type: string
23142390
required:
23152391
- assignedVariant
23162392
- audienceId

pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>croct-export-client</artifactId>
66
<packaging>jar</packaging>
77
<name>croct-export-client</name>
8-
<version>0.6.0</version>
8+
<version>0.7.0</version>
99
<url>https://github.com/croct-tech/export-client-java</url>
1010
<description>Java client for the Croct Exporter API.</description>
1111
<scm>
@@ -339,7 +339,7 @@
339339
<dependency>
340340
<groupId>com.fasterxml.jackson.core</groupId>
341341
<artifactId>jackson-annotations</artifactId>
342-
<version>${jackson-version}</version>
342+
<version>${jackson-annotations-version}</version>
343343
</dependency>
344344
<dependency>
345345
<groupId>com.fasterxml.jackson.core</groupId>
@@ -385,8 +385,9 @@
385385
<properties>
386386
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
387387
<jersey-version>2.37</jersey-version>
388-
<jackson-version>2.19.2</jackson-version>
389-
<jackson-databind-version>2.19.2</jackson-databind-version>
388+
<jackson-version>2.21.1</jackson-version>
389+
<jackson-annotations-version>2.21</jackson-annotations-version>
390+
<jackson-databind-version>2.21.1</jackson-databind-version>
390391
<jackson-databind-nullable-version>0.2.9</jackson-databind-nullable-version>
391392
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
392393
<beanvalidation-version>2.0.2</beanvalidation-version>

src/main/java/com/croct/client/export/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Croct Export
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 0.6.0
5+
* The version of the OpenAPI document: 0.7.0
66
* Contact: apis@croct.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/croct/client/export/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Croct Export
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 0.6.0
5+
* The version of the OpenAPI document: 0.7.0
66
* Contact: apis@croct.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/croct/client/export/ApiResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Croct Export
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 0.6.0
5+
* The version of the OpenAPI document: 0.7.0
66
* Contact: apis@croct.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/croct/client/export/Configuration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Croct Export
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 0.6.0
5+
* The version of the OpenAPI document: 0.7.0
66
* Contact: apis@croct.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,7 +19,7 @@
1919

2020
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.21.0-SNAPSHOT")
2121
public class Configuration {
22-
public static final String VERSION = "0.6.0";
22+
public static final String VERSION = "0.7.0";
2323

2424
private static final AtomicReference<ApiClient> defaultApiClient = new AtomicReference<>();
2525
private static volatile Supplier<ApiClient> apiClientFactory = ApiClient::new;

src/main/java/com/croct/client/export/JSON.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Croct Export
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 0.6.0
5+
* The version of the OpenAPI document: 0.7.0
66
* Contact: apis@croct.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/croct/client/export/JavaTimeFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Croct Export
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 0.6.0
5+
* The version of the OpenAPI document: 0.7.0
66
* Contact: apis@croct.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/croct/client/export/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Croct Export
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 0.6.0
5+
* The version of the OpenAPI document: 0.7.0
66
* Contact: apis@croct.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)