Skip to content

Commit

Permalink
update to version 10.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Neokil committed Jan 16, 2025
1 parent 15d273f commit 4652a8e
Show file tree
Hide file tree
Showing 164 changed files with 11,393 additions and 8,840 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
java-package: "jdk"
java-version: '1.7'
cache: 'gradle'
- name: Install dependencies
run: |
Expand Down
1,109 changes: 545 additions & 564 deletions README.md

Large diffs are not rendered by default.

678 changes: 402 additions & 276 deletions api/openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'java'

group = 'one.talon'
version = '9.1.0'
version = '10.0.0'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "one.talon",
name := "talon-one-client",
version := "9.1.0",
version := "10.0.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
15 changes: 15 additions & 0 deletions docs/AnalyticsProduct.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# AnalyticsProduct

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Integer** | The ID of the analytics-level product. |
**isPreliminary** | **Boolean** | Indicates whether the analytics-level product is connected to a catalog and also has a product name. |
**name** | **String** | The name of the analytics-level product. |
**catalogId** | **Integer** | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. | [optional]



14 changes: 14 additions & 0 deletions docs/AnalyticsProductSKU.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# AnalyticsProductSKU

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Integer** | The ID of the SKU linked to the analytics-level product. |
**sku** | **String** | The SKU linked to the analytics-level product. |
**lastUpdated** | [**OffsetDateTime**](OffsetDateTime.md) | Values in UTC for the date the SKU linked to the analytics-level product was last updated. |



2 changes: 1 addition & 1 deletion docs/CustomerProfileAudienceRequestItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**action** | [**ActionEnum**](#ActionEnum) | Defines the action to perform: - `add`: Adds the customer profile to the audience. If the customer profile does not exist, it will be created. - `delete`: Removes the customer profile from the audience. |
**action** | [**ActionEnum**](#ActionEnum) | Defines the action to perform: - `add`: Adds the customer profile to the audience. **Note**: If the customer profile does not exist, it will be created. The profile will not be visible in any Application until a session or profile update is received for that profile. - `delete`: Removes the customer profile from the audience. |
**profileIntegrationId** | **String** | The ID of this customer profile in the third-party integration. |
**audienceId** | **Integer** | The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). |

Expand Down
7 changes: 4 additions & 3 deletions docs/CustomerSessionV2.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,20 @@ Name | Type | Description | Notes
**profileId** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. |
**storeIntegrationId** | **String** | The integration ID of the store. You choose this ID when you create a store. | [optional]
**evaluableCampaignIds** | **List<Integer>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional]
**couponCodes** | **List<String>** | Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. | [optional]
**referralCode** | **String** | Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. | [optional]
**couponCodes** | **List<String>** | Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. | [optional]
**referralCode** | **String** | Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. | [optional]
**loyaltyCards** | **List<String>** | Identifier of a loyalty card. | [optional]
**state** | [**StateEnum**](#StateEnum) | Indicates the current state of the session. Sessions can be created as `open` or `closed`. The state transitions are: 1. `open``closed` 2. `open``cancelled` 3. Either: - `closed``cancelled` (**only** via [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)) or - `closed``partially_returned` (**only** via [Return cart items](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/returnCartItems)) - `closed``open` (**only** via [Reopen customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/reopenCustomerSession)) 4. `partially_returned``cancelled` For more information, see [Customer session states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). |
**cartItems** | [**List<CartItem>**](CartItem.md) | The items to add to this session. **Do not exceed 1000 items** and ensure the sum of all cart item's `quantity` **does not exceed 10.000** per request. |
**additionalCosts** | [**Map<String, AdditionalCost>**](AdditionalCost.md) | Use this property to set a value for the additional costs of this session, such as a shipping cost. They must be created in the Campaign Manager before you set them with this property. See [Managing additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs). | [optional]
**identifiers** | **List<String>** | Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. | [optional]
**attributes** | [**Object**](.md) | Use this property to set a value for the attributes of your choice. Attributes represent any information to attach to your session, like the shipping city. You can use [built-in attributes](https://docs.talon.one/docs/dev/concepts/attributes#built-in-attributes) or [custom ones](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes). Custom attributes must be created in the Campaign Manager before you set them with this property. |
**firstSession** | **Boolean** | Indicates whether this is the first session for the customer's profile. Will always be true for anonymous sessions. |
**firstSession** | **Boolean** | Indicates whether this is the first session for the customer's profile. It's always `true` for anonymous sessions. |
**total** | [**BigDecimal**](BigDecimal.md) | The total value of cart items and additional costs in the session, before any discounts are applied. |
**cartItemTotal** | [**BigDecimal**](BigDecimal.md) | The total value of cart items, before any discounts are applied. |
**additionalCostTotal** | [**BigDecimal**](BigDecimal.md) | The total value of additional costs, before any discounts are applied. |
**updated** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received on this session. |
**closurePrediction** | [**BigDecimal**](BigDecimal.md) | The likelihood of the customer session closing based on predictive modeling, expressed as a decimal between `0` and `1`. | [optional]



Expand Down
2 changes: 1 addition & 1 deletion docs/GenerateCampaignDescription.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**campaignID** | **Integer** | ID of the campaign. |
**rulesetID** | **Integer** | ID of a ruleset. |
**currency** | **String** | Currency for the campaign. |


Expand Down
2 changes: 1 addition & 1 deletion docs/GenerateCampaignTags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**campaignID** | **Integer** | ID of the campaign. |
**rulesetID** | **Integer** | ID of a ruleset. |



2 changes: 1 addition & 1 deletion docs/InlineResponse20020.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | |
**data** | [**List<AccessLogEntry>**](AccessLogEntry.md) | |
**data** | [**List<CampaignAnalytics>**](CampaignAnalytics.md) | |



5 changes: 3 additions & 2 deletions docs/InlineResponse20021.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | |
**data** | [**List<CampaignAnalytics>**](CampaignAnalytics.md) | |
**totalResultSize** | **Integer** | | [optional]
**hasMore** | **Boolean** | | [optional]
**data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | |



2 changes: 1 addition & 1 deletion docs/InlineResponse20022.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | | [optional]
**hasMore** | **Boolean** | | [optional]
**totalResultSize** | **Integer** | | [optional]
**data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | |


Expand Down
2 changes: 1 addition & 1 deletion docs/InlineResponse20023.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
**totalResultSize** | **Integer** | | [optional]
**data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | |
**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |



3 changes: 1 addition & 2 deletions docs/InlineResponse20024.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
**totalResultSize** | **Integer** | | [optional]
**hasMore** | **Boolean** | |
**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |


Expand Down
2 changes: 1 addition & 1 deletion docs/InlineResponse20025.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | |
**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |
**data** | [**List<CustomerActivityReport>**](CustomerActivityReport.md) | |



4 changes: 2 additions & 2 deletions docs/InlineResponse20026.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | |
**data** | [**List<CustomerActivityReport>**](CustomerActivityReport.md) | |
**hasMore** | **Boolean** | | [optional]
**data** | [**List<ApplicationSession>**](ApplicationSession.md) | |



4 changes: 2 additions & 2 deletions docs/InlineResponse20027.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
**data** | [**List<ApplicationSession>**](ApplicationSession.md) | |
**hasMore** | **Boolean** | |
**data** | [**List<ApplicationEvent>**](ApplicationEvent.md) | |



4 changes: 2 additions & 2 deletions docs/InlineResponse20028.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | |
**data** | [**List<ApplicationEvent>**](ApplicationEvent.md) | |
**totalResultSize** | **Integer** | |
**data** | **List<String>** | |



5 changes: 3 additions & 2 deletions docs/InlineResponse20029.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | |
**data** | **List<String>** | |
**hasMore** | **Boolean** | | [optional]
**totalResultSize** | **Integer** | | [optional]
**data** | [**List<Audience>**](Audience.md) | |



3 changes: 1 addition & 2 deletions docs/InlineResponse20030.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
**totalResultSize** | **Integer** | | [optional]
**data** | [**List<Audience>**](Audience.md) | |
**data** | [**List<AudienceAnalytics>**](AudienceAnalytics.md) | |



2 changes: 1 addition & 1 deletion docs/InlineResponse20031.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
**data** | [**List<AudienceAnalytics>**](AudienceAnalytics.md) | |
**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |



3 changes: 2 additions & 1 deletion docs/InlineResponse20032.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |
**totalResultSize** | **Integer** | | [optional]
**data** | [**List<ApplicationReferee>**](ApplicationReferee.md) | |



5 changes: 2 additions & 3 deletions docs/InlineResponse20033.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
**totalResultSize** | **Integer** | | [optional]
**data** | [**List<ApplicationReferee>**](ApplicationReferee.md) | |
**totalResultSize** | **Integer** | |
**data** | [**List<Attribute>**](Attribute.md) | |



5 changes: 3 additions & 2 deletions docs/InlineResponse20034.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | |
**data** | [**List<Attribute>**](Attribute.md) | |
**hasMore** | **Boolean** | | [optional]
**totalResultSize** | **Integer** | | [optional]
**data** | [**List<CatalogItem>**](CatalogItem.md) | |



5 changes: 2 additions & 3 deletions docs/InlineResponse20035.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
**totalResultSize** | **Integer** | | [optional]
**data** | [**List<CatalogItem>**](CatalogItem.md) | |
**totalResultSize** | **Integer** | |
**data** | [**List<AccountAdditionalCost>**](AccountAdditionalCost.md) | |



2 changes: 1 addition & 1 deletion docs/InlineResponse20036.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | |
**data** | [**List<AccountAdditionalCost>**](AccountAdditionalCost.md) | |
**data** | [**List<WebhookWithOutgoingIntegrationDetails>**](WebhookWithOutgoingIntegrationDetails.md) | |



2 changes: 1 addition & 1 deletion docs/InlineResponse20037.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | |
**data** | [**List<WebhookWithOutgoingIntegrationDetails>**](WebhookWithOutgoingIntegrationDetails.md) | |
**data** | [**List<WebhookActivationLogEntry>**](WebhookActivationLogEntry.md) | |



2 changes: 1 addition & 1 deletion docs/InlineResponse20038.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | |
**data** | [**List<WebhookActivationLogEntry>**](WebhookActivationLogEntry.md) | |
**data** | [**List<WebhookLogEntry>**](WebhookLogEntry.md) | |



2 changes: 1 addition & 1 deletion docs/InlineResponse20039.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | |
**data** | [**List<WebhookLogEntry>**](WebhookLogEntry.md) | |
**data** | [**List<EventType>**](EventType.md) | |



2 changes: 1 addition & 1 deletion docs/InlineResponse20040.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | |
**data** | [**List<EventType>**](EventType.md) | |
**data** | [**List<User>**](User.md) | |



5 changes: 3 additions & 2 deletions docs/InlineResponse20041.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | |
**data** | [**List<User>**](User.md) | |
**totalResultSize** | **Integer** | | [optional]
**hasMore** | **Boolean** | | [optional]
**data** | [**List<Change>**](Change.md) | |



5 changes: 2 additions & 3 deletions docs/InlineResponse20042.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | | [optional]
**hasMore** | **Boolean** | | [optional]
**data** | [**List<Change>**](Change.md) | |
**totalResultSize** | **Integer** | |
**data** | [**List<Export>**](Export.md) | |



2 changes: 1 addition & 1 deletion docs/InlineResponse20043.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | |
**data** | [**List<Export>**](Export.md) | |
**data** | [**List<RoleV2>**](RoleV2.md) | |



5 changes: 3 additions & 2 deletions docs/InlineResponse20044.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Integer** | |
**data** | [**List<RoleV2>**](RoleV2.md) | |
**hasMore** | **Boolean** | | [optional]
**totalResultSize** | **Integer** | | [optional]
**data** | [**List<Store>**](Store.md) | |



3 changes: 1 addition & 2 deletions docs/InlineResponse20045.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
**totalResultSize** | **Integer** | | [optional]
**data** | [**List<Store>**](Store.md) | |
**data** | [**List<Achievement>**](Achievement.md) | |



4 changes: 2 additions & 2 deletions docs/InlineResponse20046.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
**data** | [**List<Achievement>**](Achievement.md) | |
**hasMore** | **Boolean** | |
**data** | [**List<AchievementProgress>**](AchievementProgress.md) | |



Loading

0 comments on commit 4652a8e

Please sign in to comment.