Skip to content

Commit

Permalink
Merge pull request #37 from talon-one/update_sdk
Browse files Browse the repository at this point in the history
9.0.0
  • Loading branch information
Crandel committed Sep 25, 2024
2 parents 9e84202 + 9312214 commit e221622
Show file tree
Hide file tree
Showing 765 changed files with 12,722 additions and 6,204 deletions.
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
language: node_js
cache: npm
node_js:
- "14.15.4"
- "12.20.1"
- "10.13.0"
- "8.11.0"
- "8.9.0"
- "6"
- "6.1"
- "5.11"
89 changes: 74 additions & 15 deletions README.md

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions docs/AccountDashboardStatisticApiCalls.md

This file was deleted.

1 change: 1 addition & 0 deletions docs/AchievementProgress.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**achievementId** | **Number** | The internal ID of the achievement. |
**name** | **String** | The internal name of the achievement used in API requests. |
**title** | **String** | The display name of the achievement in the Campaign Manager. |
**description** | **String** | The description of the achievement in the Campaign Manager. |
**campaignId** | **Number** | The ID of the campaign the achievement belongs to. |
**status** | **String** | The status of the achievement. |
**target** | **Number** | The required number of actions or the transactional milestone to complete the achievement. | [optional]
Expand Down
3 changes: 1 addition & 2 deletions docs/AdditionalCampaignProperties.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Name | Type | Description | Notes
**updatedBy** | **String** | Name of the user who last updated this campaign if available. | [optional]
**templateId** | **Number** | The ID of the Campaign Template this Campaign was created from. | [optional]
**frontendState** | **String** | A campaign state described exactly as in the Campaign Manager. |
**storesImported** | **Boolean** | Indicates whether the linked stores were imported via a CSV file. |



Expand All @@ -38,8 +39,6 @@ Name | Type | Description | Notes

* `running` (value: `"running"`)

* `draft` (value: `"draft"`)

* `disabled` (value: `"disabled"`)

* `archived` (value: `"archived"`)
Expand Down
10 changes: 10 additions & 0 deletions docs/AnalyticsDataPoint.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# TalonOne.AnalyticsDataPoint

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**total** | **Number** | |
**influenced** | **Number** | |


10 changes: 10 additions & 0 deletions docs/AnalyticsDataPointWithTrend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# TalonOne.AnalyticsDataPointWithTrend

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **Number** | |
**trend** | **Number** | |


11 changes: 11 additions & 0 deletions docs/AnalyticsDataPointWithTrendAndInfluencedRate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# TalonOne.AnalyticsDataPointWithTrendAndInfluencedRate

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **Number** | |
**influencedRate** | **Number** | |
**trend** | **Number** | |


11 changes: 11 additions & 0 deletions docs/AnalyticsDataPointWithTrendAndUplift.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# TalonOne.AnalyticsDataPointWithTrendAndUplift

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **Number** | |
**uplift** | **Number** | |
**trend** | **Number** | |


2 changes: 2 additions & 0 deletions docs/Application.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Name | Type | Description | Notes
**enablePartialDiscounts** | **Boolean** | Indicates if this Application supports partial discounts. | [optional]
**defaultDiscountAdditionalCostPerItemScope** | **String** | The default scope to apply `setDiscountPerItem` effects on if no scope was provided with the effect. | [optional]
**defaultEvaluationGroupId** | **Number** | The ID of the default campaign evaluation group to which new campaigns will be added unless a different group is selected when creating the campaign. | [optional]
**defaultCartItemFilterId** | **Number** | The ID of the default Cart-Item-Filter for this application. | [optional]
**enableCampaignStateManagement** | **Boolean** | Indicates whether the campaign staging and revisions feature is enabled for the Application. **Important:** After this feature is enabled, it cannot be disabled. | [optional]
**loyaltyPrograms** | [**[LoyaltyProgram]**](LoyaltyProgram.md) | An array containing all the loyalty programs to which this application is subscribed. |


Expand Down
12 changes: 6 additions & 6 deletions docs/ApplicationAnalyticsDataPoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**startTime** | **Date** | The start of the aggregation time frame in UTC. | [optional]
**endTime** | **Date** | The end of the aggregation time frame in UTC. | [optional]
**totalRevenue** | [**ApplicationAnalyticsDataPointTotalRevenue**](ApplicationAnalyticsDataPointTotalRevenue.md) | | [optional]
**sessionsCount** | [**ApplicationAnalyticsDataPointSessionsCount**](ApplicationAnalyticsDataPointSessionsCount.md) | | [optional]
**avgItemsPerSession** | [**ApplicationAnalyticsDataPointAvgItemsPerSession**](ApplicationAnalyticsDataPointAvgItemsPerSession.md) | | [optional]
**avgSessionValue** | [**ApplicationAnalyticsDataPointAvgSessionValue**](ApplicationAnalyticsDataPointAvgSessionValue.md) | | [optional]
**startTime** | **Date** | The start of the aggregation time frame in UTC. |
**endTime** | **Date** | The end of the aggregation time frame in UTC. |
**totalRevenue** | [**AnalyticsDataPoint**](AnalyticsDataPoint.md) | | [optional]
**sessionsCount** | [**AnalyticsDataPoint**](AnalyticsDataPoint.md) | | [optional]
**avgItemsPerSession** | [**AnalyticsDataPoint**](AnalyticsDataPoint.md) | | [optional]
**avgSessionValue** | [**AnalyticsDataPoint**](AnalyticsDataPoint.md) | | [optional]
**totalDiscounts** | **Number** | The total value of discounts given for cart items in influenced sessions. | [optional]
**couponsCount** | **Number** | The number of times a coupon was successfully redeemed in influenced sessions. | [optional]

Expand Down
10 changes: 0 additions & 10 deletions docs/ApplicationAnalyticsDataPointAvgItemsPerSession.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/ApplicationAnalyticsDataPointAvgSessionValue.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/ApplicationAnalyticsDataPointSessionsCount.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/ApplicationAnalyticsDataPointTotalRevenue.md

This file was deleted.

17 changes: 17 additions & 0 deletions docs/ApplicationCIF.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# TalonOne.ApplicationCIF

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Number** | Internal ID of this entity. |
**created** | **Date** | The time this entity was created. |
**name** | **String** | The name of the Application cart item filter used in API requests. |
**description** | **String** | A short description of the Application cart item filter. | [optional]
**activeExpressionId** | **Number** | The ID of the expression that the Application cart item filter uses. | [optional]
**modifiedBy** | **Number** | The ID of the user who last updated the Application cart item filter. | [optional]
**createdBy** | **Number** | The ID of the user who created the Application cart item filter. | [optional]
**modified** | **Date** | Timestamp of the most recent update to the Application cart item filter. | [optional]
**applicationId** | **Number** | The ID of the application that owns this entity. |


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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Number** | Internal ID of this entity. |
**created** | **Date** | The time this entity was created. |
**cartItemFilterId** | **Number** | The ID of the Application cart item filter. | [optional]
**createdBy** | **Number** | The ID of the user who created the Application cart item filter. | [optional]
**expression** | **[Object]** | Arbitrary additional JSON data associated with the Application cart item filter. | [optional]
**applicationId** | **Number** | The ID of the application that owns this entity. |


33 changes: 17 additions & 16 deletions docs/ApplicationCampaignAnalytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,29 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**startTime** | **Date** | The start of the aggregation time frame in UTC. | [optional]
**endTime** | **Date** | The end of the aggregation time frame in UTC. | [optional]
**campaignId** | **Number** | The ID of the campaign. | [optional]
**campaignName** | **String** | The name of the campaign. | [optional]
**campaignTags** | **[String]** | A list of tags for the campaign. | [optional]
**campaignState** | **String** | The state of the campaign. **Note:** A disabled or archived campaign is not evaluated for rules or coupons. | [optional] [default to 'enabled']
**campaignActiveRulesetId** | **Number** | The [ID of the ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
**campaignStartTime** | **Date** | Date and time when the campaign becomes active. | [optional]
**campaignEndTime** | **Date** | Date and time when the campaign becomes inactive. | [optional]
**totalRevenue** | [**ApplicationCampaignAnalyticsTotalRevenue**](ApplicationCampaignAnalyticsTotalRevenue.md) | | [optional]
**sessionsCount** | [**ApplicationCampaignAnalyticsSessionsCount**](ApplicationCampaignAnalyticsSessionsCount.md) | | [optional]
**avgItemsPerSession** | [**ApplicationCampaignAnalyticsAvgItemsPerSession**](ApplicationCampaignAnalyticsAvgItemsPerSession.md) | | [optional]
**avgSessionValue** | [**ApplicationCampaignAnalyticsAvgSessionValue**](ApplicationCampaignAnalyticsAvgSessionValue.md) | | [optional]
**totalDiscounts** | [**ApplicationCampaignAnalyticsTotalDiscounts**](ApplicationCampaignAnalyticsTotalDiscounts.md) | | [optional]
**couponsCount** | [**ApplicationCampaignAnalyticsCouponsCount**](ApplicationCampaignAnalyticsCouponsCount.md) | | [optional]
**startTime** | **Date** | The start of the aggregation time frame in UTC. |
**endTime** | **Date** | The end of the aggregation time frame in UTC. |
**campaignId** | **Number** | The ID of the campaign. |
**campaignName** | **String** | The name of the campaign. |
**campaignTags** | **[String]** | A list of tags for the campaign. |
**campaignState** | **String** | The state of the campaign. **Note:** A disabled or archived campaign is not evaluated for rules or coupons. |
**totalRevenue** | [**AnalyticsDataPointWithTrendAndInfluencedRate**](AnalyticsDataPointWithTrendAndInfluencedRate.md) | | [optional]
**sessionsCount** | [**AnalyticsDataPointWithTrendAndInfluencedRate**](AnalyticsDataPointWithTrendAndInfluencedRate.md) | | [optional]
**avgItemsPerSession** | [**AnalyticsDataPointWithTrendAndUplift**](AnalyticsDataPointWithTrendAndUplift.md) | | [optional]
**avgSessionValue** | [**AnalyticsDataPointWithTrendAndUplift**](AnalyticsDataPointWithTrendAndUplift.md) | | [optional]
**totalDiscounts** | [**AnalyticsDataPointWithTrend**](AnalyticsDataPointWithTrend.md) | | [optional]
**couponsCount** | [**AnalyticsDataPointWithTrend**](AnalyticsDataPointWithTrend.md) | | [optional]



## Enum: CampaignStateEnum


* `enabled` (value: `"enabled"`)
* `expired` (value: `"expired"`)

* `scheduled` (value: `"scheduled"`)

* `running` (value: `"running"`)

* `disabled` (value: `"disabled"`)

Expand Down
11 changes: 0 additions & 11 deletions docs/ApplicationCampaignAnalyticsAvgItemsPerSession.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/ApplicationCampaignAnalyticsAvgSessionValue.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/ApplicationCampaignAnalyticsCouponsCount.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/ApplicationCampaignAnalyticsSessionsCount.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/ApplicationCampaignAnalyticsTotalDiscounts.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/ApplicationCampaignAnalyticsTotalRevenue.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/ApplicationCampaignStats.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**draft** | **Number** | Number of draft campaigns. |
**disabled** | **Number** | Number of disabled campaigns. |
**scheduled** | **Number** | Number of scheduled campaigns. |
**running** | **Number** | Number of running campaigns. |
Expand Down
9 changes: 9 additions & 0 deletions docs/AsyncCouponDeletionJobResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# TalonOne.AsyncCouponDeletionJobResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Number** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. |


2 changes: 0 additions & 2 deletions docs/Attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ Name | Type | Description | Notes
## Enum: EntityEnum


* `Account` (value: `"Account"`)

* `Application` (value: `"Application"`)

* `Campaign` (value: `"Campaign"`)
Expand Down
Loading

0 comments on commit e221622

Please sign in to comment.