Skip to content

Commit 5b8735f

Browse files
Talon-One SDK GeneratorNeokil
authored andcommitted
update to 15.0.0
1 parent 679e461 commit 5b8735f

1,549 files changed

Lines changed: 27059 additions & 5706 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.

README.md

Lines changed: 53 additions & 18 deletions
Large diffs are not rendered by default.

api/openapi.yaml

Lines changed: 3427 additions & 1096 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
33
apply plugin: 'java'
44

55
group = 'one.talon'
6-
version = '14.3.0'
6+
version = '15.0.0'
77

88
buildscript {
99
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 := "14.3.0",
5+
version := "15.0.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
3+
# AchievementAdditionalPropertiesV2
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**userId** | **Long** | The ID of the user that created this achievement. |
10+
**createdBy** | **String** | Name of the user that created the achievement. **Note**: This is not available if the user has been deleted. | [optional]
11+
**hasProgress** | **Boolean** | Indicates if a customer has made progress in the achievement. | [optional]
12+
**status** | [**StatusEnum**](#StatusEnum) | The status of the achievement. | [optional]
13+
14+
15+
16+
## Enum: StatusEnum
17+
18+
Name | Value
19+
---- | -----
20+
INPROGRESS | "inprogress"
21+
EXPIRED | "expired"
22+
NOT_STARTED | "not_started"
23+
COMPLETED | "completed"
24+
25+
26+

docs/AchievementBaseV2.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
2+
3+
# AchievementBaseV2
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. | [optional]
10+
**title** | **String** | The display name for the achievement in the Campaign Manager. | [optional]
11+
**description** | **String** | A description of the achievement. | [optional]
12+
**target** | [**BigDecimal**](BigDecimal.md) | The required number of actions or the transactional milestone to complete the achievement. | [optional]
13+
**period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional]
14+
**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | [optional]
15+
**activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional]
16+
**fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional]
17+
**endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional]
18+
**allowRollbackAfterCompletion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional]
19+
**sandbox** | **Boolean** | Indicates if this achievement is a live or sandbox achievement. Achievements of a given type can only be connected to Applications of the same type. | [optional]
20+
**subscribedApplications** | **List<Long>** | A list containing the IDs of all applications that are subscribed to A list containing the IDs of all Applications that are connected to this achievement. | [optional]
21+
**timezone** | **String** | A string containing an IANA timezone descriptor. | [optional]
22+
23+
24+
25+
## Enum: RecurrencePolicyEnum
26+
27+
Name | Value
28+
---- | -----
29+
NO_RECURRENCE | "no_recurrence"
30+
ON_EXPIRATION | "on_expiration"
31+
ON_COMPLETION | "on_completion"
32+
33+
34+
35+
## Enum: ActivationPolicyEnum
36+
37+
Name | Value
38+
---- | -----
39+
USER_ACTION | "user_action"
40+
FIXED_SCHEDULE | "fixed_schedule"
41+
42+
43+

docs/AchievementReference.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# AchievementReference
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**achievementId** | **Long** | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievementsV2) endpoint. |
10+
**applicationId** | **Long** | The ID of the Application associated with the campaign that references this achievement. |
11+
**applicationName** | **String** | The name of the Application associated with the campaign that references this achievement. |
12+
**campaignId** | **Long** | The ID of the campaign that references this achievement. |
13+
14+
15+

docs/AchievementV2.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
2+
3+
# AchievementV2
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**id** | **Long** | The internal ID of this entity. |
10+
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
11+
**name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. |
12+
**title** | **String** | The display name for the achievement in the Campaign Manager. |
13+
**description** | **String** | A description of the achievement. |
14+
**target** | [**BigDecimal**](BigDecimal.md) | The required number of actions or the transactional milestone to complete the achievement. |
15+
**period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional]
16+
**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. |
17+
**activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. |
18+
**fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional]
19+
**endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional]
20+
**allowRollbackAfterCompletion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional]
21+
**sandbox** | **Boolean** | Indicates if this achievement is a live or sandbox achievement. Achievements of a given type can only be connected to Applications of the same type. |
22+
**subscribedApplications** | **List<Long>** | A list containing the IDs of all applications that are subscribed to A list containing the IDs of all Applications that are connected to this achievement. |
23+
**timezone** | **String** | A string containing an IANA timezone descriptor. |
24+
**userId** | **Long** | The ID of the user that created this achievement. |
25+
**createdBy** | **String** | Name of the user that created the achievement. **Note**: This is not available if the user has been deleted. | [optional]
26+
**hasProgress** | **Boolean** | Indicates if a customer has made progress in the achievement. | [optional]
27+
**status** | [**StatusEnum**](#StatusEnum) | The status of the achievement. | [optional]
28+
29+
30+
31+
## Enum: RecurrencePolicyEnum
32+
33+
Name | Value
34+
---- | -----
35+
NO_RECURRENCE | "no_recurrence"
36+
ON_EXPIRATION | "on_expiration"
37+
ON_COMPLETION | "on_completion"
38+
39+
40+
41+
## Enum: ActivationPolicyEnum
42+
43+
Name | Value
44+
---- | -----
45+
USER_ACTION | "user_action"
46+
FIXED_SCHEDULE | "fixed_schedule"
47+
48+
49+
50+
## Enum: StatusEnum
51+
52+
Name | Value
53+
---- | -----
54+
INPROGRESS | "inprogress"
55+
EXPIRED | "expired"
56+
NOT_STARTED | "not_started"
57+
COMPLETED | "completed"
58+
59+
60+

docs/ActivateLoyaltyPoints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Activate loyalty points
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**transactionUUIDs** | [**List<UUID>**](UUID.md) | An array of transaction UUIDs used to activate specific pending point transactions. If provided, do not include the `sessionId` parameter. | [optional]
10+
**transactionUUIDs** | [**List<UUID>**](UUID.md) | An array of transaction UUIDs used to activate specific pending point transactions. If provided, do not include the `sessionId` parameter. | [optional]
1111
**sessionId** | **String** | The ID of the session containing the pending point transactions to activate. If provided, do not include the `transactionUUIDs` parameter. | [optional]
1212

1313

docs/AddLoyaltyPointsEffectProps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
1818
**transactionUUID** | **String** | The identifier of this addition in the loyalty ledger. |
1919
**cartItemPosition** | [**BigDecimal**](BigDecimal.md) | The index of the item in the cart items list on which the loyal points addition should be applied. | [optional]
2020
**cartItemSubPosition** | [**BigDecimal**](BigDecimal.md) | For cart items with `quantity` > 1, the sub position indicates to which item the loyalty points addition is applied. | [optional]
21-
**cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | [optional]
21+
**cardIdentifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. | [optional]
2222
**bundleIndex** | **Long** | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional]
2323
**bundleName** | **String** | The name of the bundle definition. | [optional]
2424
**awaitsActivation** | **Boolean** | If `true`, the loyalty points remain pending until a specific action is complete. The `startDate` parameter automatically sets to `on_action`. | [optional]

0 commit comments

Comments
 (0)