Skip to content

Commit

Permalink
Merge pull request #45 from talon-one:update-8.0.0
Browse files Browse the repository at this point in the history
update 8.0.0
  • Loading branch information
Neokil authored Jan 16, 2025
2 parents 114ac58 + ad2b0c8 commit 44eed39
Show file tree
Hide file tree
Showing 266 changed files with 7,601 additions and 2,530 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,3 @@ $RECYCLE.BIN/

# Visual Studio 2014 CTP
**/*.sln.ide

.idea
1,096 changes: 545 additions & 551 deletions README.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions docs/Achievement.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Name | Type | Description | Notes
**Target** | **decimal** | The required number of actions or the transactional milestone to complete the achievement. |
**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. |
**PeriodEndOverride** | [**TimePoint**](TimePoint.md) | | [optional]
**RecurrencePolicy** | **string** | 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. | [optional]
**ActivationPolicy** | **string** | 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]
**FixedStartDate** | **DateTime** | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional]
**EndDate** | **DateTime** | 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]
**CampaignId** | **int** | ID of the campaign, to which the achievement belongs to |
**UserId** | **int** | ID of the user that created this achievement. |
**CreatedBy** | **string** | Name of the user that created the achievement. **Note**: This is not available if the user has been deleted. |
Expand Down
2 changes: 1 addition & 1 deletion docs/AdditionalCampaignProperties.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Name | Type | Description | Notes
**CreatedBy** | **string** | Name of the user who created this campaign if available. | [optional]
**UpdatedBy** | **string** | Name of the user who last updated this campaign if available. | [optional]
**TemplateId** | **int** | The ID of the Campaign Template this Campaign was created from. | [optional]
**FrontendState** | **string** | A campaign state described exactly as in the Campaign Manager. |
**FrontendState** | **string** | The campaign state displayed in the Campaign Manager. |
**StoresImported** | **bool** | Indicates whether the linked stores were imported via a CSV file. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
12 changes: 12 additions & 0 deletions docs/AnalyticsProduct.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# TalonOne.Model.AnalyticsProduct
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **int** | The ID of the analytics-level product. |
**IsPreliminary** | **bool** | 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** | **int** | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

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

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **int** | The ID of the SKU linked to the analytics-level product. |
**Sku** | **string** | The SKU linked to the analytics-level product. |
**LastUpdated** | **DateTime** | Values in UTC for the date the SKU linked to the analytics-level product was last updated. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

1 change: 1 addition & 0 deletions docs/ApplicationCampaignStats.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Provides statistics regarding an application's campaigns.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Disabled** | **int** | Number of disabled campaigns. |
**Staged** | **int** | Number of staged campaigns. |
**Scheduled** | **int** | Number of scheduled campaigns. |
**Running** | **int** | Number of running campaigns. |
**Expired** | **int** | Number of expired campaigns. |
Expand Down
8 changes: 4 additions & 4 deletions docs/ApplicationCustomer.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **int** | Internal ID of this entity. Internal ID of this entity. |
**Created** | **DateTime** | The time this entity was created. The time this entity was created. The time this entity was created. The time this entity was created. |
**IntegrationId** | **string** | The integration ID set by your integration layer. The integration ID set by your integration layer. |
**Id** | **int** | Internal ID of this entity. |
**Created** | **DateTime** | The time this entity was created. |
**IntegrationId** | **string** | The integration ID set by your integration layer. |
**Attributes** | [**Object**](.md) | Arbitrary properties associated with this item. |
**AccountId** | **int** | The ID of the Talon.One account that owns this profile. The ID of the Talon.One account that owns this profile. |
**AccountId** | **int** | The ID of the Talon.One account that owns this profile. |
**ClosedSessions** | **int** | The total amount of closed sessions by a customer. A closed session is a successful purchase. |
**TotalSales** | **decimal** | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. |
**LoyaltyMemberships** | [**List<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED** A list of loyalty programs joined by the customer. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/ApplicationSession.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **int** | Internal ID of this entity. |
**Created** | **DateTime** | The time this entity was created. The time this entity was created. |
**Created** | **DateTime** | The time this entity was created. |
**IntegrationId** | **string** | The integration ID set by your integration layer. |
**StoreIntegrationId** | **string** | The integration ID of the store. You choose this ID when you create a store. | [optional]
**ApplicationId** | **int** | The ID of the application that owns this entity. |
Expand Down
2 changes: 1 addition & 1 deletion docs/AudienceCustomer.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **int** | Internal ID of this entity. |
**Created** | **DateTime** | The time this entity was created. The time this entity was created. |
**Created** | **DateTime** | The time this entity was created. |
**IntegrationId** | **string** | The integration ID set by your integration layer. |
**Attributes** | [**Object**](.md) | Arbitrary properties associated with this item. |
**AccountId** | **int** | The ID of the Talon.One account that owns this profile. |
Expand Down
1 change: 1 addition & 0 deletions docs/BaseLoyaltyProgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Name | Type | Description | Notes
**TiersExpireIn** | **string** | The amount of time after which the tier expires and is reevaluated. The time format is an **integer** 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 round certain units up or down: - `_D` for rounding down days only. Signifies the start of the day. - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. | [optional]
**TiersDowngradePolicy** | **string** | The policy that defines how customer tiers are downgraded in the loyalty program after tier reevaluation. - `one_down`: If the customer doesn't have enough points to stay in the current tier, they are downgraded by one tier. - `balance_based`: The customer's tier is reevaluated based on the amount of active points they have at the moment. | [optional]
**CardCodeSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
**ReturnPolicy** | **string** | The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

1 change: 1 addition & 0 deletions docs/BulkOperationOnCampaigns.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Operation** | **string** | The operation to perform on the specified campaign IDs. |
**CampaignIds** | **List<int>** | The list of campaign IDs on which the operation will be performed. |
**ActivateAt** | **DateTime** | Timestamp when the revisions are finalized after the `activate_revision` operation. The current time is used when left blank. **Note:** It must be an RFC3339 timestamp string. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

3 changes: 2 additions & 1 deletion docs/Campaign.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ Name | Type | Description | Notes
**CreatedBy** | **string** | Name of the user who created this campaign if available. | [optional]
**UpdatedBy** | **string** | Name of the user who last updated this campaign if available. | [optional]
**TemplateId** | **int** | The ID of the Campaign Template this Campaign was created from. | [optional]
**FrontendState** | **string** | A campaign state described exactly as in the Campaign Manager. |
**FrontendState** | **string** | The campaign state displayed in the Campaign Manager. |
**StoresImported** | **bool** | Indicates whether the linked stores were imported via a CSV file. |
**RevisionFrontendState** | **string** | The campaign revision state displayed in the Campaign Manager. | [optional]
**ActiveRevisionId** | **int** | ID of the revision that was last activated on this campaign. | [optional]
**ActiveRevisionVersionId** | **int** | ID of the revision version that is active on the campaign. | [optional]
**Version** | **int** | Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/CampaignTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Name | Type | Description | Notes
**Tags** | **List<string>** | A list of tags for the campaign template. | [optional]
**Features** | **List<string>** | A list of features for the campaign template. | [optional]
**CouponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
**CouponReservationSettings** | [**CampaignTemplateCouponReservationSettings**](CampaignTemplateCouponReservationSettings.md) | | [optional]
**ReferralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
**Limits** | [**List<TemplateLimitConfig>**](TemplateLimitConfig.md) | The set of limits that operate for this campaign template. | [optional]
**TemplateParams** | [**List<CampaignTemplateParams>**](CampaignTemplateParams.md) | Fields which can be used to replace values in a rule. | [optional]
Expand Down
10 changes: 10 additions & 0 deletions docs/CampaignTemplateCouponReservationSettings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# TalonOne.Model.CampaignTemplateCouponReservationSettings
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ReservationLimit** | **int** | The number of reservations that can be made with this coupon code. | [optional]
**IsReservationMandatory** | **bool** | An indication of whether the code can be redeemed only if it has been reserved first. | [optional] [default to false]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

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

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**RevisionFrontendState** | **string** | The campaign revision state displayed in the Campaign Manager. | [optional]
**ActiveRevisionId** | **int** | ID of the revision that was last activated on this campaign. | [optional]
**ActiveRevisionVersionId** | **int** | ID of the revision version that is active on the campaign. | [optional]
**Version** | **int** | Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/CouponDeletionFilters.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**Redeemed** | **bool** | - `true`: only coupons where `usageCounter > 0` will be returned. - `false`: only coupons where `usageCounter = 0` will be returned. **Note:** This field cannot be used in conjunction with the `usable` query parameter. | [optional]
**RecipientIntegrationId** | **string** | Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. | [optional]
**ExactMatch** | **bool** | Filter results to an exact case-insensitive matching against the coupon code | [optional] [default to false]
**Value** | **string** | Filter results by the coupon code | [optional] [default to "false"]
**Value** | **string** | Filter results by the coupon code | [optional]
**BatchId** | **string** | Filter results by batches of coupons | [optional]
**ReferralId** | **int** | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional]
**ExpiresAfter** | **DateTime** | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional]
Expand Down
4 changes: 4 additions & 0 deletions docs/CreateAchievement.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Name | Type | Description | Notes
**Target** | **decimal** | The required number of actions or the transactional milestone to complete the achievement. |
**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. |
**PeriodEndOverride** | [**TimePoint**](TimePoint.md) | | [optional]
**RecurrencePolicy** | **string** | 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. | [optional]
**ActivationPolicy** | **string** | 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]
**FixedStartDate** | **DateTime** | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional]
**EndDate** | **DateTime** | 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]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

2 changes: 1 addition & 1 deletion docs/CustomerProfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **int** | Internal ID of this entity. |
**Created** | **DateTime** | The time this entity was created. The time this entity was created. |
**Created** | **DateTime** | The time this entity was created. |
**IntegrationId** | **string** | The integration ID set by your integration layer. |
**Attributes** | [**Object**](.md) | Arbitrary properties associated with this item. |
**AccountId** | **int** | The ID of the Talon.One account that owns this profile. |
Expand Down
2 changes: 1 addition & 1 deletion docs/CustomerProfileAudienceRequestItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Action** | **string** | 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** | **string** | 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** | **int** | The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). |

Expand Down
1 change: 1 addition & 0 deletions docs/CustomerProfileIntegrationRequestV2.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# TalonOne.Model.CustomerProfileIntegrationRequestV2
The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response.
## Properties

Name | Type | Description | Notes
Expand Down
Loading

0 comments on commit 44eed39

Please sign in to comment.