Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
.gitignore
.gitlab-ci.yml
.travis.yml
LICENSE
MIGRATION.md
Makefile
README.md
Expand Down Expand Up @@ -202,6 +203,7 @@ docs/CatalogActionPatchMany.md
docs/CatalogActionRemove.md
docs/CatalogActionRemoveMany.md
docs/CatalogItem.md
docs/CatalogItemSummary.md
docs/CatalogRule.md
docs/CatalogRuleset.md
docs/CatalogSyncRequest.md
Expand Down Expand Up @@ -392,6 +394,12 @@ docs/ExperimentVerdictResponse.md
docs/ExpiringCardPointsData.md
docs/ExpiringPointsData.md
docs/Export.md
docs/ExportJob.md
docs/ExportJobDestination.md
docs/ExportJobLog.md
docs/ExportJobLogResult.md
docs/ExportJobStatus.md
docs/ExportJobType.md
docs/ExtendLoyaltyPointsExpiryDateEffectProps.md
docs/ExtendedCoupon.md
docs/FeatureFlag.md
Expand Down Expand Up @@ -667,6 +675,7 @@ docs/NewExperiment.md
docs/NewExperimentBlueprint.md
docs/NewExperimentVariant.md
docs/NewExperimentVariantArray.md
docs/NewExportJob.md
docs/NewExternalInvitation.md
docs/NewGiveawaysPool.md
docs/NewIntegrationHubCoupons.md
Expand All @@ -693,6 +702,7 @@ docs/NewReferralsForMultipleAdvocates.md
docs/NewReturn.md
docs/NewRevisionVersion.md
docs/NewReward.md
docs/NewRewardBudget.md
docs/NewRiskNotification.md
docs/NewRole.md
docs/NewRoleV2.md
Expand Down Expand Up @@ -789,11 +799,15 @@ docs/RevisionActivation.md
docs/RevisionActivationRequest.md
docs/RevisionVersion.md
docs/Reward.md
docs/RewardBudget.md
docs/RewardBudgetLimitCounter.md
docs/RewardBudgetWithLimitCounter.md
docs/RewardCatalogItem.md
docs/RewardEligibility.md
docs/RewardEligibilityFailureDetails.md
docs/RewardPointsRequired.md
docs/RewardUnlockRejection.md
docs/RewardWithBudgets.md
docs/RewardWithUnlocks.md
docs/Risk.md
docs/RiskAffectedEntityItem.md
Expand Down Expand Up @@ -951,17 +965,21 @@ docs/UpdateExperimentBlueprint.md
docs/UpdateExperimentVariant.md
docs/UpdateExperimentVariantArray.md
docs/UpdateExperimentVariantName.md
docs/UpdateExportJob.md
docs/UpdateLoyaltyCard.md
docs/UpdateLoyaltyCardRequest.md
docs/UpdateLoyaltyPointsExpiryBlock.md
docs/UpdateLoyaltyPointsExpiryBlock1Program.md
docs/UpdateLoyaltyProgram.md
docs/UpdateLoyaltyProgramMembershipBlock.md
docs/UpdateLoyaltyProgramMembershipBlock1Program.md
docs/UpdateLoyaltyProgramTier.md
docs/UpdatePicklist.md
docs/UpdatePriceType.md
docs/UpdateReferral.md
docs/UpdateReferralBatch.md
docs/UpdateReward.md
docs/UpdateRewardBudget.md
docs/UpdateRiskNotification.md
docs/UpdateRole.md
docs/UpdateStore.md
Expand Down Expand Up @@ -1193,6 +1211,7 @@ talon_one/models/catalog_action_patch_many.py
talon_one/models/catalog_action_remove.py
talon_one/models/catalog_action_remove_many.py
talon_one/models/catalog_item.py
talon_one/models/catalog_item_summary.py
talon_one/models/catalog_rule.py
talon_one/models/catalog_ruleset.py
talon_one/models/catalog_sync_request.py
Expand Down Expand Up @@ -1383,6 +1402,12 @@ talon_one/models/experiment_verdict_response.py
talon_one/models/expiring_card_points_data.py
talon_one/models/expiring_points_data.py
talon_one/models/export.py
talon_one/models/export_job.py
talon_one/models/export_job_destination.py
talon_one/models/export_job_log.py
talon_one/models/export_job_log_result.py
talon_one/models/export_job_status.py
talon_one/models/export_job_type.py
talon_one/models/extend_loyalty_points_expiry_date_effect_props.py
talon_one/models/extended_coupon.py
talon_one/models/feature_flag.py
Expand Down Expand Up @@ -1656,6 +1681,7 @@ talon_one/models/new_experiment.py
talon_one/models/new_experiment_blueprint.py
talon_one/models/new_experiment_variant.py
talon_one/models/new_experiment_variant_array.py
talon_one/models/new_export_job.py
talon_one/models/new_external_invitation.py
talon_one/models/new_giveaways_pool.py
talon_one/models/new_integration_hub_coupons.py
Expand All @@ -1682,6 +1708,7 @@ talon_one/models/new_referrals_for_multiple_advocates.py
talon_one/models/new_return.py
talon_one/models/new_revision_version.py
talon_one/models/new_reward.py
talon_one/models/new_reward_budget.py
talon_one/models/new_risk_notification.py
talon_one/models/new_role.py
talon_one/models/new_role_v2.py
Expand Down Expand Up @@ -1778,11 +1805,15 @@ talon_one/models/revision_activation.py
talon_one/models/revision_activation_request.py
talon_one/models/revision_version.py
talon_one/models/reward.py
talon_one/models/reward_budget.py
talon_one/models/reward_budget_limit_counter.py
talon_one/models/reward_budget_with_limit_counter.py
talon_one/models/reward_catalog_item.py
talon_one/models/reward_eligibility.py
talon_one/models/reward_eligibility_failure_details.py
talon_one/models/reward_points_required.py
talon_one/models/reward_unlock_rejection.py
talon_one/models/reward_with_budgets.py
talon_one/models/reward_with_unlocks.py
talon_one/models/risk.py
talon_one/models/risk_affected_entity_item.py
Expand Down Expand Up @@ -1940,17 +1971,21 @@ talon_one/models/update_experiment_blueprint.py
talon_one/models/update_experiment_variant.py
talon_one/models/update_experiment_variant_array.py
talon_one/models/update_experiment_variant_name.py
talon_one/models/update_export_job.py
talon_one/models/update_loyalty_card.py
talon_one/models/update_loyalty_card_request.py
talon_one/models/update_loyalty_points_expiry_block.py
talon_one/models/update_loyalty_points_expiry_block1_program.py
talon_one/models/update_loyalty_program.py
talon_one/models/update_loyalty_program_membership_block.py
talon_one/models/update_loyalty_program_membership_block1_program.py
talon_one/models/update_loyalty_program_tier.py
talon_one/models/update_picklist.py
talon_one/models/update_price_type.py
talon_one/models/update_referral.py
talon_one/models/update_referral_batch.py
talon_one/models/update_reward.py
talon_one/models/update_reward_budget.py
talon_one/models/update_risk_notification.py
talon_one/models/update_role.py
talon_one/models/update_store.py
Expand Down Expand Up @@ -2171,6 +2206,7 @@ test/test_catalog_action_patch_many.py
test/test_catalog_action_remove.py
test/test_catalog_action_remove_many.py
test/test_catalog_item.py
test/test_catalog_item_summary.py
test/test_catalog_rule.py
test/test_catalog_ruleset.py
test/test_catalog_sync_request.py
Expand Down Expand Up @@ -2361,6 +2397,12 @@ test/test_experiment_verdict_response.py
test/test_expiring_card_points_data.py
test/test_expiring_points_data.py
test/test_export.py
test/test_export_job.py
test/test_export_job_destination.py
test/test_export_job_log.py
test/test_export_job_log_result.py
test/test_export_job_status.py
test/test_export_job_type.py
test/test_extend_loyalty_points_expiry_date_effect_props.py
test/test_extended_coupon.py
test/test_feature_flag.py
Expand Down Expand Up @@ -2636,6 +2678,7 @@ test/test_new_experiment.py
test/test_new_experiment_blueprint.py
test/test_new_experiment_variant.py
test/test_new_experiment_variant_array.py
test/test_new_export_job.py
test/test_new_external_invitation.py
test/test_new_giveaways_pool.py
test/test_new_integration_hub_coupons.py
Expand All @@ -2662,6 +2705,7 @@ test/test_new_referrals_for_multiple_advocates.py
test/test_new_return.py
test/test_new_revision_version.py
test/test_new_reward.py
test/test_new_reward_budget.py
test/test_new_risk_notification.py
test/test_new_role.py
test/test_new_role_v2.py
Expand Down Expand Up @@ -2758,11 +2802,15 @@ test/test_revision_activation.py
test/test_revision_activation_request.py
test/test_revision_version.py
test/test_reward.py
test/test_reward_budget.py
test/test_reward_budget_limit_counter.py
test/test_reward_budget_with_limit_counter.py
test/test_reward_catalog_item.py
test/test_reward_eligibility.py
test/test_reward_eligibility_failure_details.py
test/test_reward_points_required.py
test/test_reward_unlock_rejection.py
test/test_reward_with_budgets.py
test/test_reward_with_unlocks.py
test/test_risk.py
test/test_risk_affected_entity_item.py
Expand Down Expand Up @@ -2920,17 +2968,21 @@ test/test_update_experiment_blueprint.py
test/test_update_experiment_variant.py
test/test_update_experiment_variant_array.py
test/test_update_experiment_variant_name.py
test/test_update_export_job.py
test/test_update_loyalty_card.py
test/test_update_loyalty_card_request.py
test/test_update_loyalty_points_expiry_block.py
test/test_update_loyalty_points_expiry_block1_program.py
test/test_update_loyalty_program.py
test/test_update_loyalty_program_membership_block.py
test/test_update_loyalty_program_membership_block1_program.py
test/test_update_loyalty_program_tier.py
test/test_update_picklist.py
test/test_update_price_type.py
test/test_update_referral.py
test/test_update_referral_batch.py
test/test_update_reward.py
test/test_update_reward_budget.py
test/test_update_risk_notification.py
test/test_update_role.py
test/test_update_store.py
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Talon.One GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,7 @@ Class | Method | HTTP request | Description
- [CatalogActionRemove](docs/CatalogActionRemove.md)
- [CatalogActionRemoveMany](docs/CatalogActionRemoveMany.md)
- [CatalogItem](docs/CatalogItem.md)
- [CatalogItemSummary](docs/CatalogItemSummary.md)
- [CatalogRule](docs/CatalogRule.md)
- [CatalogRuleset](docs/CatalogRuleset.md)
- [CatalogSyncRequest](docs/CatalogSyncRequest.md)
Expand Down Expand Up @@ -783,6 +784,12 @@ Class | Method | HTTP request | Description
- [ExpiringCardPointsData](docs/ExpiringCardPointsData.md)
- [ExpiringPointsData](docs/ExpiringPointsData.md)
- [Export](docs/Export.md)
- [ExportJob](docs/ExportJob.md)
- [ExportJobDestination](docs/ExportJobDestination.md)
- [ExportJobLog](docs/ExportJobLog.md)
- [ExportJobLogResult](docs/ExportJobLogResult.md)
- [ExportJobStatus](docs/ExportJobStatus.md)
- [ExportJobType](docs/ExportJobType.md)
- [ExtendLoyaltyPointsExpiryDateEffectProps](docs/ExtendLoyaltyPointsExpiryDateEffectProps.md)
- [ExtendedCoupon](docs/ExtendedCoupon.md)
- [FeatureFlag](docs/FeatureFlag.md)
Expand Down Expand Up @@ -1056,6 +1063,7 @@ Class | Method | HTTP request | Description
- [NewExperimentBlueprint](docs/NewExperimentBlueprint.md)
- [NewExperimentVariant](docs/NewExperimentVariant.md)
- [NewExperimentVariantArray](docs/NewExperimentVariantArray.md)
- [NewExportJob](docs/NewExportJob.md)
- [NewExternalInvitation](docs/NewExternalInvitation.md)
- [NewGiveawaysPool](docs/NewGiveawaysPool.md)
- [NewIntegrationHubCoupons](docs/NewIntegrationHubCoupons.md)
Expand All @@ -1082,6 +1090,7 @@ Class | Method | HTTP request | Description
- [NewReturn](docs/NewReturn.md)
- [NewRevisionVersion](docs/NewRevisionVersion.md)
- [NewReward](docs/NewReward.md)
- [NewRewardBudget](docs/NewRewardBudget.md)
- [NewRiskNotification](docs/NewRiskNotification.md)
- [NewRole](docs/NewRole.md)
- [NewRoleV2](docs/NewRoleV2.md)
Expand Down Expand Up @@ -1178,11 +1187,15 @@ Class | Method | HTTP request | Description
- [RevisionActivationRequest](docs/RevisionActivationRequest.md)
- [RevisionVersion](docs/RevisionVersion.md)
- [Reward](docs/Reward.md)
- [RewardBudget](docs/RewardBudget.md)
- [RewardBudgetLimitCounter](docs/RewardBudgetLimitCounter.md)
- [RewardBudgetWithLimitCounter](docs/RewardBudgetWithLimitCounter.md)
- [RewardCatalogItem](docs/RewardCatalogItem.md)
- [RewardEligibility](docs/RewardEligibility.md)
- [RewardEligibilityFailureDetails](docs/RewardEligibilityFailureDetails.md)
- [RewardPointsRequired](docs/RewardPointsRequired.md)
- [RewardUnlockRejection](docs/RewardUnlockRejection.md)
- [RewardWithBudgets](docs/RewardWithBudgets.md)
- [RewardWithUnlocks](docs/RewardWithUnlocks.md)
- [Risk](docs/Risk.md)
- [RiskAffectedEntityItem](docs/RiskAffectedEntityItem.md)
Expand Down Expand Up @@ -1340,17 +1353,21 @@ Class | Method | HTTP request | Description
- [UpdateExperimentVariant](docs/UpdateExperimentVariant.md)
- [UpdateExperimentVariantArray](docs/UpdateExperimentVariantArray.md)
- [UpdateExperimentVariantName](docs/UpdateExperimentVariantName.md)
- [UpdateExportJob](docs/UpdateExportJob.md)
- [UpdateLoyaltyCard](docs/UpdateLoyaltyCard.md)
- [UpdateLoyaltyCardRequest](docs/UpdateLoyaltyCardRequest.md)
- [UpdateLoyaltyPointsExpiryBlock](docs/UpdateLoyaltyPointsExpiryBlock.md)
- [UpdateLoyaltyPointsExpiryBlock1Program](docs/UpdateLoyaltyPointsExpiryBlock1Program.md)
- [UpdateLoyaltyProgram](docs/UpdateLoyaltyProgram.md)
- [UpdateLoyaltyProgramMembershipBlock](docs/UpdateLoyaltyProgramMembershipBlock.md)
- [UpdateLoyaltyProgramMembershipBlock1Program](docs/UpdateLoyaltyProgramMembershipBlock1Program.md)
- [UpdateLoyaltyProgramTier](docs/UpdateLoyaltyProgramTier.md)
- [UpdatePicklist](docs/UpdatePicklist.md)
- [UpdatePriceType](docs/UpdatePriceType.md)
- [UpdateReferral](docs/UpdateReferral.md)
- [UpdateReferralBatch](docs/UpdateReferralBatch.md)
- [UpdateReward](docs/UpdateReward.md)
- [UpdateRewardBudget](docs/UpdateRewardBudget.md)
- [UpdateRiskNotification](docs/UpdateRiskNotification.md)
- [UpdateRole](docs/UpdateRole.md)
- [UpdateStore](docs/UpdateStore.md)
Expand Down
1 change: 1 addition & 0 deletions docs/AchievementProgressWithDefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Name | Type | Description | Notes
**campaign_ids** | **List[int]** | The IDs of the campaigns that reference this achievement, in ascending order. |
**referenced_by_campaigns** | [**List[CampaignReference]**](CampaignReference.md) | The campaigns that reference this achievement, in ascending order of their `id`. |
**target** | **float** | The required number of actions or the transactional milestone to complete the achievement. | [optional]
**achievement_period** | **str** | The relative duration after which the achievement ends and resets for a particular customer profile. This property is omitted for on-completion achievements which have no specified period. The period is a positive real number followed by one letter indicating the time unit, and an optional rounding suffix. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`, `30D_D`, `1W_U`. The letters indicate the following time units: - `s`: Seconds. - `m`: Minutes. - `h`: Hours. - `D`: Days. - `W`: Weeks. - `M`: Months. - `Y`: Years. If a suffix is present, it indicates the following rounding: - `_D`: Rounds down, to the start of the day. It applies to days only. For example, `30D_D` ends at the start of the day, 30 days after the customer starts the achievement. - `_U`: Rounds up, to the end of the day, week, month or year. It applies to days, weeks, months and years. For example, `1W_U` ends at the end of the week in which the one-week period would end. | [optional]
**achievement_recurrence_policy** | **str** | 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. |
**achievement_activation_policy** | **str** | 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. |
**achievement_fixed_start_date** | **datetime** | The achievement's start date when `achievementActivationPolicy` is equal to `fixed_schedule`. **Note:** It is an RFC3339 timestamp string. | [optional]
Expand Down
Loading
Loading