talon_one 7.0.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +24 -7
- data/docs/Achievement.md +6 -4
- data/docs/AchievementAdditionalProperties.md +5 -3
- data/docs/AchievementProgress.md +3 -15
- data/docs/AddFreeItemEffectProps.md +3 -1
- data/docs/AdditionalCampaignProperties.md +4 -2
- data/docs/AnalyticsProduct.md +6 -6
- data/docs/ApplicationCIF.md +1 -1
- data/docs/ApplicationCIFExpression.md +1 -1
- data/docs/ApplicationEntity.md +1 -1
- data/docs/ApplicationEvent.md +1 -1
- data/docs/ApplicationReferee.md +1 -1
- data/docs/ApplicationSession.md +2 -2
- data/docs/Audience.md +1 -1
- data/docs/BaseLoyaltyProgram.md +1 -1
- data/docs/Binding.md +1 -1
- data/docs/Campaign.md +4 -2
- data/docs/CampaignEvaluationGroup.md +1 -1
- data/docs/CampaignNotificationPolicy.md +3 -1
- data/docs/CampaignSet.md +1 -1
- data/docs/CampaignStoreBudget.md +1 -1
- data/docs/CardExpiringPointsNotificationPolicy.md +3 -1
- data/docs/CatalogsStrikethroughNotificationPolicy.md +3 -1
- data/docs/CouponCreationJob.md +1 -1
- data/docs/CouponDeletionJob.md +1 -1
- data/docs/CouponsNotificationPolicy.md +5 -1
- data/docs/CreateAchievement.md +1 -1
- data/docs/CustomerInventory.md +1 -1
- data/docs/CustomerSession.md +1 -1
- data/docs/CustomerSessionV2.md +2 -4
- data/docs/Environment.md +1 -1
- data/docs/Event.md +1 -1
- data/docs/ExpiringCouponsNotificationPolicy.md +3 -1
- data/docs/ExpiringPointsNotificationPolicy.md +3 -1
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse20010.md +3 -3
- data/docs/InlineResponse20011.md +3 -3
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse20015.md +3 -3
- data/docs/InlineResponse20016.md +3 -3
- data/docs/InlineResponse20017.md +3 -5
- data/docs/InlineResponse20018.md +2 -2
- data/docs/InlineResponse20019.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse20020.md +5 -3
- data/docs/InlineResponse20021.md +3 -5
- data/docs/InlineResponse20022.md +2 -4
- data/docs/InlineResponse20023.md +3 -5
- data/docs/InlineResponse20024.md +5 -3
- data/docs/InlineResponse20025.md +4 -2
- data/docs/InlineResponse20026.md +3 -1
- data/docs/InlineResponse20027.md +1 -1
- data/docs/InlineResponse20028.md +3 -3
- data/docs/InlineResponse20029.md +1 -3
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse20030.md +2 -2
- data/docs/InlineResponse20031.md +3 -3
- data/docs/InlineResponse20032.md +1 -1
- data/docs/InlineResponse20033.md +3 -3
- data/docs/InlineResponse20034.md +1 -3
- data/docs/InlineResponse20035.md +5 -3
- data/docs/InlineResponse20036.md +1 -1
- data/docs/InlineResponse20037.md +5 -3
- data/docs/InlineResponse20038.md +1 -1
- data/docs/InlineResponse20039.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse20040.md +1 -1
- data/docs/InlineResponse20041.md +2 -4
- data/docs/InlineResponse20042.md +1 -1
- data/docs/InlineResponse20043.md +1 -1
- data/docs/InlineResponse20044.md +4 -4
- data/docs/InlineResponse20045.md +3 -3
- data/docs/InlineResponse20046.md +3 -3
- data/docs/InlineResponse20047.md +5 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +3 -3
- data/docs/IntegrationApi.md +156 -18
- data/docs/LedgerInfo.md +4 -0
- data/docs/LimitCounter.md +1 -1
- data/docs/LoyaltyBalance.md +3 -1
- data/docs/LoyaltyBalanceWithTier.md +2 -0
- data/docs/LoyaltyBalances.md +1 -1
- data/docs/LoyaltyBalancesWithTiers.md +1 -1
- data/docs/LoyaltyCardBalances.md +1 -1
- data/docs/LoyaltyLedger.md +1 -1
- data/docs/LoyaltyLedgerEntry.md +3 -1
- data/docs/LoyaltyProgram.md +1 -1
- data/docs/LoyaltyProgramBalance.md +5 -1
- data/docs/LoyaltySubLedger.md +2 -0
- data/docs/ManagementApi.md +184 -116
- data/docs/ManagementKey.md +3 -1
- data/docs/ModelReturn.md +1 -1
- data/docs/NewAudience.md +1 -1
- data/docs/NewCampaignSet.md +1 -1
- data/docs/NewLoyaltyProgram.md +1 -1
- data/docs/NewManagementKey.md +2 -0
- data/docs/PendingPointsNotificationPolicy.md +3 -1
- data/docs/ProductSearchMatch.md +2 -2
- data/docs/ProductUnitAnalytics.md +4 -10
- data/docs/Store.md +1 -1
- data/docs/StrikethroughEffect.md +5 -1
- data/docs/StrikethroughLabelingNotification.md +4 -2
- data/docs/SummaryCampaignStoreBudget.md +3 -1
- data/docs/TemplateDef.md +1 -1
- data/docs/TierDowngradeNotificationPolicy.md +3 -1
- data/docs/TierUpgradeNotificationPolicy.md +3 -1
- data/docs/TierWillDowngradeNotificationPolicy.md +2 -0
- data/docs/UpdateAchievement.md +2 -2
- data/docs/UpdateLoyaltyProgram.md +1 -1
- data/lib/talon_one/api/integration_api.rb +220 -29
- data/lib/talon_one/api/management_api.rb +248 -169
- data/lib/talon_one/models/achievement.rb +27 -15
- data/lib/talon_one/models/achievement_additional_properties.rb +49 -10
- data/lib/talon_one/models/achievement_progress.rb +4 -137
- data/lib/talon_one/models/add_free_item_effect_props.rb +14 -4
- data/lib/talon_one/models/additional_campaign_properties.rb +16 -9
- data/lib/talon_one/models/analytics_product.rb +20 -21
- data/lib/talon_one/models/application_api_key.rb +2 -2
- data/lib/talon_one/models/application_cif.rb +1 -1
- data/lib/talon_one/models/application_cif_expression.rb +1 -1
- data/lib/talon_one/models/application_entity.rb +1 -1
- data/lib/talon_one/models/application_event.rb +1 -1
- data/lib/talon_one/models/application_referee.rb +1 -1
- data/lib/talon_one/models/application_session.rb +2 -2
- data/lib/talon_one/models/audience.rb +1 -1
- data/lib/talon_one/models/base_loyalty_program.rb +3 -3
- data/lib/talon_one/models/campaign.rb +14 -7
- data/lib/talon_one/models/campaign_evaluation_group.rb +1 -1
- data/lib/talon_one/models/campaign_notification_policy.rb +14 -4
- data/lib/talon_one/models/campaign_set.rb +1 -1
- data/lib/talon_one/models/campaign_store_budget.rb +1 -1
- data/lib/talon_one/models/card_expiring_points_notification_policy.rb +14 -4
- data/lib/talon_one/models/catalogs_strikethrough_notification_policy.rb +38 -4
- data/lib/talon_one/models/coupon_creation_job.rb +1 -1
- data/lib/talon_one/models/coupon_deletion_job.rb +1 -1
- data/lib/talon_one/models/coupons_notification_policy.rb +24 -4
- data/lib/talon_one/models/create_achievement.rb +0 -5
- data/lib/talon_one/models/create_application_api_key.rb +2 -2
- data/lib/talon_one/models/customer_inventory.rb +1 -1
- data/lib/talon_one/models/customer_session.rb +1 -1
- data/lib/talon_one/models/customer_session_v2.rb +5 -15
- data/lib/talon_one/models/environment.rb +1 -1
- data/lib/talon_one/models/event.rb +1 -1
- data/lib/talon_one/models/expiring_coupons_notification_policy.rb +14 -4
- data/lib/talon_one/models/expiring_points_notification_policy.rb +14 -4
- data/lib/talon_one/models/inline_response2001.rb +11 -11
- data/lib/talon_one/models/inline_response20010.rb +11 -11
- data/lib/talon_one/models/inline_response20011.rb +11 -11
- data/lib/talon_one/models/inline_response20012.rb +1 -1
- data/lib/talon_one/models/inline_response20013.rb +1 -1
- data/lib/talon_one/models/inline_response20014.rb +1 -1
- data/lib/talon_one/models/inline_response20015.rb +11 -11
- data/lib/talon_one/models/inline_response20016.rb +11 -13
- data/lib/talon_one/models/inline_response20017.rb +7 -11
- data/lib/talon_one/models/inline_response20018.rb +1 -1
- data/lib/talon_one/models/inline_response20019.rb +3 -1
- data/lib/talon_one/models/inline_response2002.rb +11 -11
- data/lib/talon_one/models/inline_response20020.rb +11 -7
- data/lib/talon_one/models/inline_response20021.rb +7 -11
- data/lib/talon_one/models/inline_response20022.rb +7 -11
- data/lib/talon_one/models/inline_response20023.rb +7 -11
- data/lib/talon_one/models/inline_response20024.rb +11 -7
- data/lib/talon_one/models/inline_response20025.rb +11 -7
- data/lib/talon_one/models/inline_response20026.rb +11 -2
- data/lib/talon_one/models/inline_response20027.rb +1 -1
- data/lib/talon_one/models/inline_response20028.rb +11 -11
- data/lib/talon_one/models/inline_response20029.rb +2 -11
- data/lib/talon_one/models/inline_response2003.rb +1 -1
- data/lib/talon_one/models/inline_response20030.rb +6 -1
- data/lib/talon_one/models/inline_response20031.rb +13 -8
- data/lib/talon_one/models/inline_response20032.rb +1 -1
- data/lib/talon_one/models/inline_response20033.rb +8 -13
- data/lib/talon_one/models/inline_response20034.rb +2 -11
- data/lib/talon_one/models/inline_response20035.rb +11 -7
- data/lib/talon_one/models/inline_response20036.rb +1 -1
- data/lib/talon_one/models/inline_response20037.rb +11 -7
- data/lib/talon_one/models/inline_response20038.rb +1 -1
- data/lib/talon_one/models/inline_response20039.rb +1 -1
- data/lib/talon_one/models/inline_response2004.rb +1 -1
- data/lib/talon_one/models/inline_response20040.rb +1 -1
- data/lib/talon_one/models/inline_response20041.rb +7 -11
- data/lib/talon_one/models/inline_response20042.rb +1 -1
- data/lib/talon_one/models/inline_response20043.rb +1 -1
- data/lib/talon_one/models/inline_response20044.rb +11 -11
- data/lib/talon_one/models/inline_response20045.rb +13 -8
- data/lib/talon_one/models/inline_response20046.rb +11 -11
- data/lib/talon_one/models/inline_response20047.rb +11 -7
- data/lib/talon_one/models/inline_response2005.rb +11 -11
- data/lib/talon_one/models/inline_response2006.rb +11 -11
- data/lib/talon_one/models/inline_response2007.rb +1 -1
- data/lib/talon_one/models/inline_response2008.rb +1 -1
- data/lib/talon_one/models/inline_response2009.rb +11 -11
- data/lib/talon_one/models/ledger_info.rb +31 -1
- data/lib/talon_one/models/limit_counter.rb +1 -1
- data/lib/talon_one/models/loyalty_balance.rb +14 -4
- data/lib/talon_one/models/loyalty_balance_with_tier.rb +11 -1
- data/lib/talon_one/models/loyalty_ledger_entry.rb +13 -4
- data/lib/talon_one/models/loyalty_program.rb +3 -3
- data/lib/talon_one/models/loyalty_program_balance.rb +34 -4
- data/lib/talon_one/models/loyalty_sub_ledger.rb +16 -1
- data/lib/talon_one/models/management_key.rb +14 -4
- data/lib/talon_one/models/model_return.rb +1 -1
- data/lib/talon_one/models/new_application_api_key.rb +2 -2
- data/lib/talon_one/models/new_audience.rb +1 -1
- data/lib/talon_one/models/new_campaign_set.rb +1 -1
- data/lib/talon_one/models/new_loyalty_program.rb +3 -3
- data/lib/talon_one/models/new_management_key.rb +11 -1
- data/lib/talon_one/models/pending_points_notification_policy.rb +14 -4
- data/lib/talon_one/models/product.rb +0 -19
- data/lib/talon_one/models/product_search_match.rb +1 -6
- data/lib/talon_one/models/product_unit_analytics.rb +21 -65
- data/lib/talon_one/models/store.rb +1 -1
- data/lib/talon_one/models/strikethrough_effect.rb +24 -4
- data/lib/talon_one/models/strikethrough_labeling_notification.rb +46 -2
- data/lib/talon_one/models/summary_campaign_store_budget.rb +18 -4
- data/lib/talon_one/models/template_def.rb +1 -1
- data/lib/talon_one/models/tier_downgrade_notification_policy.rb +14 -4
- data/lib/talon_one/models/tier_upgrade_notification_policy.rb +14 -4
- data/lib/talon_one/models/tier_will_downgrade_notification_policy.rb +11 -1
- data/lib/talon_one/models/update_achievement.rb +2 -2
- data/lib/talon_one/models/update_loyalty_program.rb +3 -3
- data/lib/talon_one/version.rb +1 -1
- data/lib/talon_one.rb +18 -4
- data/spec/api/integration_api_spec.rb +45 -9
- data/spec/api/management_api_spec.rb +75 -60
- data/spec/models/achievement_additional_properties_spec.rb +10 -0
- data/spec/models/achievement_base_spec.rb +103 -0
- data/spec/models/achievement_progress_spec.rb +1 -37
- data/spec/models/achievement_progress_with_definition_spec.rb +137 -0
- data/spec/models/achievement_spec.rb +10 -0
- data/spec/models/achievement_status_entry_spec.rb +137 -0
- data/spec/models/add_free_item_effect_props_spec.rb +6 -0
- data/spec/models/additional_campaign_properties_spec.rb +6 -0
- data/spec/models/analytics_product_spec.rb +3 -3
- data/spec/models/analytics_sku_spec.rb +59 -0
- data/spec/models/application_api_key_spec.rb +1 -1
- data/spec/models/application_cif_references_spec.rb +47 -0
- data/spec/models/base_loyalty_program_spec.rb +1 -1
- data/spec/models/campaign_detail_spec.rb +47 -0
- data/spec/models/campaign_notification_policy_spec.rb +6 -0
- data/spec/models/campaign_spec.rb +6 -0
- data/spec/models/campaign_store_budget_limit_config_spec.rb +73 -0
- data/spec/models/card_expiring_points_notification_policy_spec.rb +6 -0
- data/spec/models/catalogs_strikethrough_notification_policy_spec.rb +6 -0
- data/spec/models/coupons_notification_policy_spec.rb +12 -0
- data/spec/models/create_application_api_key_spec.rb +1 -1
- data/spec/models/customer_session_v2_spec.rb +0 -6
- data/spec/models/expiring_coupons_notification_policy_spec.rb +6 -0
- data/spec/models/expiring_points_notification_policy_spec.rb +6 -0
- data/spec/models/hidden_conditions_effects_spec.rb +59 -0
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +1 -1
- data/spec/models/inline_response20015_spec.rb +1 -1
- data/spec/models/inline_response20016_spec.rb +1 -1
- data/spec/models/inline_response20017_spec.rb +0 -6
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response20020_spec.rb +6 -0
- data/spec/models/inline_response20021_spec.rb +0 -6
- data/spec/models/inline_response20022_spec.rb +0 -6
- data/spec/models/inline_response20023_spec.rb +0 -6
- data/spec/models/inline_response20024_spec.rb +6 -0
- data/spec/models/inline_response20025_spec.rb +6 -0
- data/spec/models/inline_response20026_spec.rb +6 -0
- data/spec/models/inline_response20028_spec.rb +1 -1
- data/spec/models/inline_response20029_spec.rb +0 -6
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response20031_spec.rb +1 -1
- data/spec/models/inline_response20033_spec.rb +1 -1
- data/spec/models/inline_response20034_spec.rb +0 -6
- data/spec/models/inline_response20035_spec.rb +6 -0
- data/spec/models/inline_response20037_spec.rb +6 -0
- data/spec/models/inline_response20041_spec.rb +0 -6
- data/spec/models/inline_response20044_spec.rb +2 -2
- data/spec/models/inline_response20045_spec.rb +1 -1
- data/spec/models/inline_response20046_spec.rb +1 -1
- data/spec/models/inline_response20047_spec.rb +6 -0
- data/spec/models/inline_response20048_spec.rb +47 -0
- data/spec/models/inline_response20049_spec.rb +47 -0
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/ledger_info_spec.rb +12 -0
- data/spec/models/loyalty_balance_spec.rb +6 -0
- data/spec/models/loyalty_balance_with_tier_spec.rb +6 -0
- data/spec/models/loyalty_ledger_entry_flags_spec.rb +41 -0
- data/spec/models/loyalty_ledger_entry_spec.rb +6 -0
- data/spec/models/loyalty_program_balance_spec.rb +12 -0
- data/spec/models/loyalty_program_spec.rb +1 -1
- data/spec/models/loyalty_sub_ledger_spec.rb +6 -0
- data/spec/models/management_key_spec.rb +6 -0
- data/spec/models/message_test_spec.rb +47 -0
- data/spec/models/new_application_api_key_spec.rb +1 -1
- data/spec/models/new_loyalty_program_spec.rb +1 -1
- data/spec/models/new_management_key_spec.rb +6 -0
- data/spec/models/new_message_test_spec.rb +79 -0
- data/spec/models/pending_points_notification_policy_spec.rb +6 -0
- data/spec/models/product_unit_analytics_data_point_spec.rb +65 -0
- data/spec/models/product_unit_analytics_spec.rb +2 -20
- data/spec/models/product_unit_analytics_totals_spec.rb +41 -0
- data/spec/models/sku_unit_analytics_data_point_spec.rb +59 -0
- data/spec/models/sku_unit_analytics_spec.rb +47 -0
- data/spec/models/strikethrough_effect_spec.rb +12 -0
- data/spec/models/strikethrough_labeling_notification_spec.rb +10 -0
- data/spec/models/summary_campaign_store_budget_spec.rb +6 -0
- data/spec/models/tier_downgrade_notification_policy_spec.rb +6 -0
- data/spec/models/tier_upgrade_notification_policy_spec.rb +6 -0
- data/spec/models/tier_will_downgrade_notification_policy_spec.rb +6 -0
- data/spec/models/update_loyalty_program_spec.rb +1 -1
- metadata +37 -3
data/lib/talon_one/version.rb
CHANGED
data/lib/talon_one.rb
CHANGED
@@ -34,7 +34,10 @@ require 'talon_one/models/account_entity'
|
|
34
34
|
require 'talon_one/models/account_limits'
|
35
35
|
require 'talon_one/models/achievement'
|
36
36
|
require 'talon_one/models/achievement_additional_properties'
|
37
|
+
require 'talon_one/models/achievement_base'
|
37
38
|
require 'talon_one/models/achievement_progress'
|
39
|
+
require 'talon_one/models/achievement_progress_with_definition'
|
40
|
+
require 'talon_one/models/achievement_status_entry'
|
38
41
|
require 'talon_one/models/add_free_item_effect_props'
|
39
42
|
require 'talon_one/models/add_item_catalog_action'
|
40
43
|
require 'talon_one/models/add_loyalty_points'
|
@@ -48,13 +51,14 @@ require 'talon_one/models/analytics_data_point_with_trend'
|
|
48
51
|
require 'talon_one/models/analytics_data_point_with_trend_and_influenced_rate'
|
49
52
|
require 'talon_one/models/analytics_data_point_with_trend_and_uplift'
|
50
53
|
require 'talon_one/models/analytics_product'
|
51
|
-
require 'talon_one/models/
|
54
|
+
require 'talon_one/models/analytics_sku'
|
52
55
|
require 'talon_one/models/application'
|
53
56
|
require 'talon_one/models/application_api_key'
|
54
57
|
require 'talon_one/models/application_analytics_data_point'
|
55
58
|
require 'talon_one/models/application_api_health'
|
56
59
|
require 'talon_one/models/application_cif'
|
57
60
|
require 'talon_one/models/application_cif_expression'
|
61
|
+
require 'talon_one/models/application_cif_references'
|
58
62
|
require 'talon_one/models/application_campaign_analytics'
|
59
63
|
require 'talon_one/models/application_campaign_stats'
|
60
64
|
require 'talon_one/models/application_customer'
|
@@ -98,6 +102,7 @@ require 'talon_one/models/campaign_collection_without_payload'
|
|
98
102
|
require 'talon_one/models/campaign_copy'
|
99
103
|
require 'talon_one/models/campaign_created_notification'
|
100
104
|
require 'talon_one/models/campaign_deleted_notification'
|
105
|
+
require 'talon_one/models/campaign_detail'
|
101
106
|
require 'talon_one/models/campaign_edited_notification'
|
102
107
|
require 'talon_one/models/campaign_entity'
|
103
108
|
require 'talon_one/models/campaign_evaluation_group'
|
@@ -115,6 +120,7 @@ require 'talon_one/models/campaign_set_leaf_node'
|
|
115
120
|
require 'talon_one/models/campaign_set_node'
|
116
121
|
require 'talon_one/models/campaign_state_changed_notification'
|
117
122
|
require 'talon_one/models/campaign_store_budget'
|
123
|
+
require 'talon_one/models/campaign_store_budget_limit_config'
|
118
124
|
require 'talon_one/models/campaign_template'
|
119
125
|
require 'talon_one/models/campaign_template_collection'
|
120
126
|
require 'talon_one/models/campaign_template_coupon_reservation_settings'
|
@@ -207,6 +213,7 @@ require 'talon_one/models/generate_rule_title_rule'
|
|
207
213
|
require 'talon_one/models/get_integration_coupon_request'
|
208
214
|
require 'talon_one/models/giveaway'
|
209
215
|
require 'talon_one/models/giveaways_pool'
|
216
|
+
require 'talon_one/models/hidden_conditions_effects'
|
210
217
|
require 'talon_one/models/identifiable_entity'
|
211
218
|
require 'talon_one/models/import'
|
212
219
|
require 'talon_one/models/import_entity'
|
@@ -253,6 +260,9 @@ require 'talon_one/models/inline_response20043'
|
|
253
260
|
require 'talon_one/models/inline_response20044'
|
254
261
|
require 'talon_one/models/inline_response20045'
|
255
262
|
require 'talon_one/models/inline_response20046'
|
263
|
+
require 'talon_one/models/inline_response20047'
|
264
|
+
require 'talon_one/models/inline_response20048'
|
265
|
+
require 'talon_one/models/inline_response20049'
|
256
266
|
require 'talon_one/models/inline_response2005'
|
257
267
|
require 'talon_one/models/inline_response2006'
|
258
268
|
require 'talon_one/models/inline_response2007'
|
@@ -297,6 +307,7 @@ require 'talon_one/models/loyalty_dashboard_data'
|
|
297
307
|
require 'talon_one/models/loyalty_dashboard_points_breakdown'
|
298
308
|
require 'talon_one/models/loyalty_ledger'
|
299
309
|
require 'talon_one/models/loyalty_ledger_entry'
|
310
|
+
require 'talon_one/models/loyalty_ledger_entry_flags'
|
300
311
|
require 'talon_one/models/loyalty_ledger_transactions'
|
301
312
|
require 'talon_one/models/loyalty_membership'
|
302
313
|
require 'talon_one/models/loyalty_program'
|
@@ -312,6 +323,7 @@ require 'talon_one/models/message_log_entries'
|
|
312
323
|
require 'talon_one/models/message_log_entry'
|
313
324
|
require 'talon_one/models/message_log_request'
|
314
325
|
require 'talon_one/models/message_log_response'
|
326
|
+
require 'talon_one/models/message_test'
|
315
327
|
require 'talon_one/models/meta'
|
316
328
|
require 'talon_one/models/model_return'
|
317
329
|
require 'talon_one/models/multi_application_entity'
|
@@ -363,8 +375,8 @@ require 'talon_one/models/new_invite_email'
|
|
363
375
|
require 'talon_one/models/new_loyalty_program'
|
364
376
|
require 'talon_one/models/new_loyalty_tier'
|
365
377
|
require 'talon_one/models/new_management_key'
|
378
|
+
require 'talon_one/models/new_message_test'
|
366
379
|
require 'talon_one/models/new_multiple_audiences_item'
|
367
|
-
require 'talon_one/models/new_notification_test'
|
368
380
|
require 'talon_one/models/new_notification_webhook'
|
369
381
|
require 'talon_one/models/new_outgoing_integration_webhook'
|
370
382
|
require 'talon_one/models/new_password'
|
@@ -385,7 +397,6 @@ require 'talon_one/models/new_webhook'
|
|
385
397
|
require 'talon_one/models/notification'
|
386
398
|
require 'talon_one/models/notification_activation'
|
387
399
|
require 'talon_one/models/notification_list_item'
|
388
|
-
require 'talon_one/models/notification_test'
|
389
400
|
require 'talon_one/models/okta_event'
|
390
401
|
require 'talon_one/models/okta_event_payload'
|
391
402
|
require 'talon_one/models/okta_event_payload_data'
|
@@ -407,8 +418,9 @@ require 'talon_one/models/pending_points_notification_policy'
|
|
407
418
|
require 'talon_one/models/picklist'
|
408
419
|
require 'talon_one/models/product'
|
409
420
|
require 'talon_one/models/product_search_match'
|
410
|
-
require 'talon_one/models/product_sku_unit_analytics'
|
411
421
|
require 'talon_one/models/product_unit_analytics'
|
422
|
+
require 'talon_one/models/product_unit_analytics_data_point'
|
423
|
+
require 'talon_one/models/product_unit_analytics_totals'
|
412
424
|
require 'talon_one/models/profile_audiences_changes'
|
413
425
|
require 'talon_one/models/projected_tier'
|
414
426
|
require 'talon_one/models/redeem_referral_effect_props'
|
@@ -475,6 +487,8 @@ require 'talon_one/models/set_discount_per_additional_cost_per_item_effect_props
|
|
475
487
|
require 'talon_one/models/set_discount_per_item_effect_props'
|
476
488
|
require 'talon_one/models/show_bundle_metadata_effect_props'
|
477
489
|
require 'talon_one/models/show_notification_effect_props'
|
490
|
+
require 'talon_one/models/sku_unit_analytics'
|
491
|
+
require 'talon_one/models/sku_unit_analytics_data_point'
|
478
492
|
require 'talon_one/models/slot_def'
|
479
493
|
require 'talon_one/models/store'
|
480
494
|
require 'talon_one/models/strikethrough_changed_item'
|
@@ -59,7 +59,7 @@ describe 'IntegrationApi' do
|
|
59
59
|
|
60
60
|
# unit tests for create_referral
|
61
61
|
# Create referral code for an advocate
|
62
|
-
# Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the `campaignId` parameter, and will be associated with the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile.
|
62
|
+
# Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the `campaignId` parameter, and will be associated with the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. **Note:** Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) set are ignored when you use this endpoint.
|
63
63
|
# @param body body
|
64
64
|
# @param [Hash] opts the optional parameters
|
65
65
|
# @return [Referral]
|
@@ -71,10 +71,10 @@ describe 'IntegrationApi' do
|
|
71
71
|
|
72
72
|
# unit tests for create_referrals_for_multiple_advocates
|
73
73
|
# Create referral codes for multiple advocates
|
74
|
-
# Creates unique referral codes for multiple advocates. The code will be valid for the referral campaign for which it is created, indicated in the `campaignId` parameter, and one referral code will be associated with one advocate using the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile.
|
74
|
+
# Creates unique referral codes for multiple advocates. The code will be valid for the referral campaign for which it is created, indicated in the `campaignId` parameter, and one referral code will be associated with one advocate using the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. **Note:** Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) set are ignored when you use this endpoint.
|
75
75
|
# @param body body
|
76
76
|
# @param [Hash] opts the optional parameters
|
77
|
-
# @option opts [String] :silent Possible values: `yes` or `no`. - `yes`: Increases the
|
77
|
+
# @option opts [String] :silent Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles.
|
78
78
|
# @return [InlineResponse201]
|
79
79
|
describe 'create_referrals_for_multiple_advocates test' do
|
80
80
|
it 'should work' do
|
@@ -144,6 +144,42 @@ describe 'IntegrationApi' do
|
|
144
144
|
end
|
145
145
|
end
|
146
146
|
|
147
|
+
# unit tests for get_customer_achievement_history
|
148
|
+
# List customer's achievement history
|
149
|
+
# Retrieve all progress history of a given customer in the given achievement.
|
150
|
+
# @param integration_id The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.
|
151
|
+
# @param achievement_id The achievement identifier.
|
152
|
+
# @param [Hash] opts the optional parameters
|
153
|
+
# @option opts [Array<String>] :progress_status Filter by customer progress status in the achievement.
|
154
|
+
# @option opts [DateTime] :start_date Timestamp that filters the results to only contain achievements created on or after the start date.
|
155
|
+
# @option opts [DateTime] :end_date Timestamp that filters the results to only contain achievements created before or on the end date.
|
156
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
157
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
158
|
+
# @return [InlineResponse2002]
|
159
|
+
describe 'get_customer_achievement_history test' do
|
160
|
+
it 'should work' do
|
161
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
# unit tests for get_customer_achievements
|
166
|
+
# List customer's available achievements
|
167
|
+
# Retrieve all the achievements available to a given customer and their progress in them.
|
168
|
+
# @param integration_id The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.
|
169
|
+
# @param [Hash] opts the optional parameters
|
170
|
+
# @option opts [Array<String>] :campaign_ids Filter by one or more Campaign IDs, separated by a comma. **Note:** If no campaigns are specified, data for all the campaigns in the Application is returned.
|
171
|
+
# @option opts [Array<String>] :achievement_ids Filter by one or more Achievement IDs, separated by a comma. **Note:** If no achievements are specified, data for all the achievements in the Application is returned.
|
172
|
+
# @option opts [Array<String>] :achievement_status Filter by status of the achievement. **Note:** If the achievement status is not specified, only data for all active achievements in the Application is returned.
|
173
|
+
# @option opts [Array<String>] :current_progress_status Filter by customer progress status in the achievement.
|
174
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
175
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
176
|
+
# @return [InlineResponse2001]
|
177
|
+
describe 'get_customer_achievements test' do
|
178
|
+
it 'should work' do
|
179
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
147
183
|
# unit tests for get_customer_inventory
|
148
184
|
# List customer data
|
149
185
|
# Return the customer inventory regarding entities referencing this customer profile's `integrationId`. Typical entities returned are: customer profile information, referral codes, loyalty points, loyalty cards and reserved coupons. Reserved coupons also include redeemed coupons.
|
@@ -216,7 +252,7 @@ describe 'IntegrationApi' do
|
|
216
252
|
# @option opts [Array<String>] :subledger_id Filter results by one or more subledger IDs. Must be exact match.
|
217
253
|
# @option opts [Integer] :page_size The number of items in the response.
|
218
254
|
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
219
|
-
# @return [
|
255
|
+
# @return [InlineResponse2005]
|
220
256
|
describe 'get_loyalty_card_points test' do
|
221
257
|
it 'should work' do
|
222
258
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -235,7 +271,7 @@ describe 'IntegrationApi' do
|
|
235
271
|
# @option opts [DateTime] :end_date Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
236
272
|
# @option opts [Integer] :page_size The number of items in the response.
|
237
273
|
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
238
|
-
# @return [
|
274
|
+
# @return [InlineResponse2003]
|
239
275
|
describe 'get_loyalty_card_transactions test' do
|
240
276
|
it 'should work' do
|
241
277
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -252,7 +288,7 @@ describe 'IntegrationApi' do
|
|
252
288
|
# @option opts [String] :subledger_id The ID of the subledger by which we filter the data.
|
253
289
|
# @option opts [Integer] :page_size The number of items in the response.
|
254
290
|
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
255
|
-
# @return [
|
291
|
+
# @return [InlineResponse2006]
|
256
292
|
describe 'get_loyalty_program_profile_points test' do
|
257
293
|
it 'should work' do
|
258
294
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -271,7 +307,7 @@ describe 'IntegrationApi' do
|
|
271
307
|
# @option opts [DateTime] :end_date Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
272
308
|
# @option opts [Integer] :page_size The number of items in the response.
|
273
309
|
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
274
|
-
# @return [
|
310
|
+
# @return [InlineResponse2004]
|
275
311
|
describe 'get_loyalty_program_profile_transactions test' do
|
276
312
|
it 'should work' do
|
277
313
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -348,7 +384,7 @@ describe 'IntegrationApi' do
|
|
348
384
|
# Triggers a custom event. To use this endpoint: 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) in the Campaign Manager. 1. Update or create a rule to check for this event. 1. Trigger the event with this endpoint. After you have successfully sent an event to Talon.One, you can list the received events in the **Events** view in the Campaign Manager. Talon.One also offers a set of [built-in events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure you do not create a custom event when you can use a built-in event. For example, use this endpoint to trigger an event when a customer shares a link to a product. See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing). <div class=\"redoc-section\"> <p class=\"title\">Important</p> 1. `profileId` is required even though the schema does not say it. 1. If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered. 1. We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
|
349
385
|
# @param body body
|
350
386
|
# @param [Hash] opts the optional parameters
|
351
|
-
# @option opts [String] :silent Possible values: `yes` or `no`. - `yes`: Increases the
|
387
|
+
# @option opts [String] :silent Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles.
|
352
388
|
# @option opts [Boolean] :dry Indicates whether to persist the changes. Changes are ignored when `dry=true`.
|
353
389
|
# @return [TrackEventV2Response]
|
354
390
|
describe 'track_event_v2 test' do
|
@@ -415,7 +451,7 @@ describe 'IntegrationApi' do
|
|
415
451
|
# Update (or create) up to 1000 [customer profiles](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles) in 1 request. The `integrationId` must be any identifier that remains stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. A customer profile [can be linked to one or more sessions](https://docs.talon.one/integration-api#tag/Customer-sessions). **Note:** This endpoint does not trigger the Rule Engine. To trigger the Rule Engine for customer profile updates, use the [Update customer profile](#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint.
|
416
452
|
# @param body body
|
417
453
|
# @param [Hash] opts the optional parameters
|
418
|
-
# @option opts [String] :silent Possible values: `yes` or `no`. - `yes`: Increases the
|
454
|
+
# @option opts [String] :silent Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles.
|
419
455
|
# @return [MultipleCustomerProfileIntegrationResponseV2]
|
420
456
|
describe 'update_customer_profiles_v2 test' do
|
421
457
|
it 'should work' do
|