Skip to content

Commit 7a296a4

Browse files
authored
v3.3.0 (#10)
- Add `ReferralRejectionReason` object and integration response properties - Add users emails notifications subscriptions - Remove stale `usedAt` and `locked` properties from Webhooks and Attributes
1 parent 959c302 commit 7a296a4

25 files changed

+553
-108
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Add this dependency to your project's POM:
3939
<dependency>
4040
<groupId>one.talon</groupId>
4141
<artifactId>talon-one-client</artifactId>
42-
<version>3.2.3</version>
42+
<version>3.3.0</version>
4343
<scope>compile</scope>
4444
</dependency>
4545
```
@@ -49,7 +49,7 @@ Add this dependency to your project's POM:
4949
Add this dependency to your project's build file:
5050

5151
```groovy
52-
compile "one.talon:talon-one-client:3.2.3"
52+
compile "one.talon:talon-one-client:3.3.0"
5353
```
5454

5555
### Others
@@ -62,7 +62,7 @@ mvn clean package
6262

6363
Then manually install the following JARs:
6464

65-
* `target/talon-one-client-3.2.3.jar`
65+
* `target/talon-one-client-3.3.0.jar`
6666
* `target/lib/*.jar`
6767

6868
## Getting Started
@@ -378,7 +378,9 @@ Class | Method | HTTP request | Description
378378
- [NewTemplateDef](docs/NewTemplateDef.md)
379379
- [NewUser](docs/NewUser.md)
380380
- [NewWebhook](docs/NewWebhook.md)
381+
- [Notification](docs/Notification.md)
381382
- [Referral](docs/Referral.md)
383+
- [ReferralRejectionReason](docs/ReferralRejectionReason.md)
382384
- [Role](docs/Role.md)
383385
- [RoleAssign](docs/RoleAssign.md)
384386
- [RoleMembership](docs/RoleMembership.md)

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'one.talon'
5-
version = '3.2.3'
5+
version = '3.3.0'
66

77
buildscript {
88
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "one.talon",
44
name := "talon-one-client",
5-
version := "3.2.3",
5+
version := "3.3.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/ApplicationSession.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ Name | Type | Description | Notes
1010
**profileId** | **Integer** | The globally unique Talon.One ID of the customer that created this entity. | [optional]
1111
**integrationId** | **String** | The ID used for this entity in the application system. |
1212
**coupon** | **String** | Any coupon code entered. |
13-
**referral** | **String** | Any referal code entered. |
13+
**referral** | **String** | Any referral code entered. |
1414
**state** | [**StateEnum**](#StateEnum) | Indicating if the customer session is in progress (\&quot;open\&quot;), \&quot;closed\&quot;, or \&quot;cancelled\&quot;. |
1515
**cartItems** | [**List&lt;CartItem&gt;**](CartItem.md) | Serialized JSON representation. |
1616
**discounts** | [**Map&lt;String, BigDecimal&gt;**](BigDecimal.md) | A map of labelled discount values, in the same currency as the session. |
17+
**total** | [**BigDecimal**](BigDecimal.md) | The total sum of the session before any discounts applied. | [optional]
1718
**attributes** | [**Object**](.md) | Arbitrary properties associated with this item | [optional]
1819

1920

docs/Attribute.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ Name | Type | Description | Notes
1515
**description** | **String** | A description of this attribute. |
1616
**suggestions** | **List&lt;String&gt;** | A list of suggestions for the attribute. |
1717
**editable** | **Boolean** | Whether or not this attribute can be edited. |
18-
**locked** | **Boolean** | Indicates whether this attribute is in use. If in use only title can be changed and other operations are prohibited. |
19-
**usedAt** | **List&lt;String&gt;** | array of rulesets where the attribute is used |
2018

2119

2220
<a name="EntityEnum"></a>

docs/CouponRejectionReason.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ Name | Value
1515
---- | -----
1616
COUPONNOTFOUND | &quot;CouponNotFound&quot;
1717
COUPONPARTOFNOTRUNNINGCAMPAIGN | &quot;CouponPartOfNotRunningCampaign&quot;
18+
COUPONVALIDCONDITIONMISSING | &quot;CouponValidConditionMissing&quot;
1819
COUPONLIMITREACHED | &quot;CouponLimitReached&quot;
1920
CAMPAIGNLIMITREACHED | &quot;CampaignLimitReached&quot;
2021
PROFILELIMITREACHED | &quot;ProfileLimitReached&quot;
2122
COUPONRECIPIENTDOESNOTMATCH | &quot;CouponRecipientDoesNotMatch&quot;
2223
COUPONEXPIRED | &quot;CouponExpired&quot;
2324
COUPONSTARTDATEINFUTURE | &quot;CouponStartDateInFuture&quot;
2425
COUPONREJECTEDBYCONDITION | &quot;CouponRejectedByCondition&quot;
26+
EFFECTCOULDNOTBEAPPLIED | &quot;EffectCouldNotBeApplied&quot;
2527

2628

2729

docs/ErrorSource.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**pointer** | **String** | Pointer to the path in the payload that caused this error. | [optional]
88
**parameter** | **String** | Query parameter that caused this error. | [optional]
99
**line** | **String** | Line number in uploaded multipart file that caused this error. &#39;N/A&#39; if unknown. | [optional]
10+
**resource** | **String** | Pointer to the resource that caused this error | [optional]
1011

1112

1213

docs/Meta.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**campaigns** | [**Object**](.md) | Maps each evaluated campaign ID to a key-value list of that campaigns attributes. Campaigns without attributes will be omitted. | [optional]
88
**coupons** | [**Object**](.md) | Maps the coupon value to a key-value list of that coupons attributes. | [optional]
99
**couponRejectionReason** | [**CouponRejectionReason**](CouponRejectionReason.md) | | [optional]
10+
**referralRejectionReason** | [**ReferralRejectionReason**](ReferralRejectionReason.md) | | [optional]
1011
**warnings** | [**Object**](.md) | | [optional]
1112

1213

docs/Notification.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# Notification
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | **Integer** | id of the notification |
8+
**name** | **String** | name of the notification |
9+
**description** | **String** | description of the notification |
10+
11+
12+

docs/ReferralRejectionReason.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
# ReferralRejectionReason
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**campaignId** | **Integer** | |
8+
**referralId** | **Integer** | |
9+
**reason** | [**ReasonEnum**](#ReasonEnum) | |
10+
11+
12+
<a name="ReasonEnum"></a>
13+
## Enum: ReasonEnum
14+
Name | Value
15+
---- | -----
16+
REFERRALNOTFOUND | &quot;ReferralNotFound&quot;
17+
REFERRALRECIPIENTIDSAMEASADVOCATE | &quot;ReferralRecipientIdSameAsAdvocate&quot;
18+
REFERRALPARTOFNOTRUNNINGCAMPAIGN | &quot;ReferralPartOfNotRunningCampaign&quot;
19+
REFERRALVALIDCONDITIONMISSING | &quot;ReferralValidConditionMissing&quot;
20+
REFERRALLIMITREACHED | &quot;ReferralLimitReached&quot;
21+
CAMPAIGNLIMITREACHED | &quot;CampaignLimitReached&quot;
22+
PROFILELIMITREACHED | &quot;ProfileLimitReached&quot;
23+
REFERRALRECIPIENTDOESNOTMATCH | &quot;ReferralRecipientDoesNotMatch&quot;
24+
REFERRALEXPIRED | &quot;ReferralExpired&quot;
25+
REFERRALSTARTDATEINFUTURE | &quot;ReferralStartDateInFuture&quot;
26+
REFERRALREJECTEDBYCONDITION | &quot;ReferralRejectedByCondition&quot;
27+
EFFECTCOULDNOTBEAPPLIED | &quot;EffectCouldNotBeApplied&quot;
28+
29+
30+

0 commit comments

Comments
 (0)