talon_one 2.1.1 → 2.2.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/Gemfile +1 -1
- data/README.md +29 -9
- data/docs/AccountAnalytics.md +25 -19
- data/docs/AccountLimits.md +13 -13
- data/docs/AddLoyaltyPointsEffectProps.md +4 -2
- data/docs/Application.md +9 -1
- data/docs/ApplicationAPIKey.md +8 -6
- data/docs/ApplicationCustomer.md +3 -1
- data/docs/ApplicationSession.md +1 -1
- data/docs/Audience.md +27 -0
- data/docs/AudienceMembership.md +19 -0
- data/docs/Campaign.md +2 -0
- data/docs/CampaignAnalytics.md +9 -1
- data/docs/CampaignCopy.md +1 -1
- data/docs/CampaignGroup.md +31 -0
- data/docs/CampaignGroupEntity.md +17 -0
- data/docs/CreateApplicationAPIKey.md +3 -1
- data/docs/CustomerActivityReport.md +1 -1
- data/docs/CustomerInventory.md +2 -0
- data/docs/CustomerProfile.md +3 -1
- data/docs/CustomerProfileAudienceRequest.md +17 -0
- data/docs/CustomerProfileAudienceRequestItem.md +21 -0
- data/docs/CustomerProfileIntegrationRequestV2.md +19 -0
- data/docs/CustomerSession.md +1 -1
- data/docs/CustomerSessionV2.md +1 -1
- data/docs/EntityWithTalangVisibleID.md +19 -0
- data/docs/FeedNotification.md +27 -0
- data/docs/InlineResponse20012.md +3 -1
- data/docs/IntegrationApi.md +139 -18
- data/docs/IntegrationEntity.md +1 -1
- data/docs/LoyaltyLedgerEntry.md +2 -0
- data/docs/LoyaltyPoints.md +4 -2
- data/docs/LoyaltyProgram.md +3 -1
- data/docs/LoyaltyStatistics.md +23 -0
- data/docs/LoyaltySubLedger.md +18 -4
- data/docs/ManagementApi.md +75 -10
- data/docs/Meta.md +1 -1
- data/docs/MultipleCustomerProfileIntegrationRequest.md +17 -0
- data/docs/MultipleCustomerProfileIntegrationRequestItem.md +19 -0
- data/docs/MultipleCustomerProfileIntegrationResponseV2.md +17 -0
- data/docs/NewApplication.md +9 -1
- data/docs/NewApplicationAPIKey.md +7 -5
- data/docs/NewAudience.md +21 -0
- data/docs/NewCampaign.md +3 -1
- data/docs/NewCampaignGroup.md +23 -0
- data/docs/NewLoyaltyProgram.md +3 -1
- data/docs/Role.md +3 -1
- data/docs/SetDiscountEffectProps.md +3 -1
- data/docs/SetDiscountPerItemEffectProps.md +3 -1
- data/docs/UpdateApplication.md +10 -2
- data/docs/UpdateAudience.md +17 -0
- data/docs/UpdateCampaign.md +3 -1
- data/docs/UpdateCampaignGroup.md +23 -0
- data/docs/UpdateLoyaltyProgram.md +3 -1
- data/docs/UpdateUser.md +0 -4
- data/docs/UpdateUserLatestFeedTimestamp.md +17 -0
- data/docs/User.md +3 -5
- data/docs/UserFeedNotifications.md +19 -0
- data/lib/talon_one.rb +20 -3
- data/lib/talon_one/api/integration_api.rb +163 -25
- data/lib/talon_one/api/management_api.rb +86 -14
- data/lib/talon_one/api_client.rb +8 -6
- data/lib/talon_one/api_error.rb +1 -1
- data/lib/talon_one/configuration.rb +1 -1
- data/lib/talon_one/models/accept_coupon_effect_props.rb +1 -1
- data/lib/talon_one/models/accept_referral_effect_props.rb +1 -1
- data/lib/talon_one/models/access_log_entry.rb +1 -1
- data/lib/talon_one/models/account.rb +1 -1
- data/lib/talon_one/models/account_additional_cost.rb +1 -1
- data/lib/talon_one/models/account_analytics.rb +102 -57
- data/lib/talon_one/models/account_entity.rb +1 -1
- data/lib/talon_one/models/account_limits.rb +28 -23
- data/lib/talon_one/models/add_free_item_effect_props.rb +1 -1
- data/lib/talon_one/models/add_loyalty_points_effect_props.rb +19 -14
- data/lib/talon_one/models/additional_cost.rb +1 -1
- data/lib/talon_one/models/api_error.rb +1 -1
- data/lib/talon_one/models/application.rb +55 -3
- data/lib/talon_one/models/application_api_health.rb +1 -1
- data/lib/talon_one/models/application_api_key.rb +79 -34
- data/lib/talon_one/models/application_customer.rb +15 -3
- data/lib/talon_one/models/application_customer_entity.rb +1 -1
- data/lib/talon_one/models/application_customer_search.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_session.rb +2 -2
- data/lib/talon_one/models/application_session_entity.rb +1 -1
- data/lib/talon_one/models/attribute.rb +1 -1
- data/lib/talon_one/models/attributes_mandatory.rb +1 -1
- data/lib/talon_one/models/attributes_settings.rb +1 -1
- data/lib/talon_one/models/audience.rb +360 -0
- data/lib/talon_one/models/audience_membership.rb +227 -0
- data/lib/talon_one/models/base_saml_connection.rb +1 -1
- data/lib/talon_one/models/binding.rb +1 -1
- data/lib/talon_one/models/campaign.rb +14 -2
- data/lib/talon_one/models/campaign_analytics.rb +65 -5
- data/lib/talon_one/models/campaign_copy.rb +2 -2
- data/lib/talon_one/models/campaign_entity.rb +1 -1
- data/lib/talon_one/models/campaign_group.rb +326 -0
- data/lib/talon_one/models/campaign_group_entity.rb +209 -0
- data/lib/talon_one/models/campaign_search.rb +1 -1
- data/lib/talon_one/models/campaign_set.rb +1 -1
- data/lib/talon_one/models/campaign_set_branch_node.rb +1 -1
- data/lib/talon_one/models/campaign_set_leaf_node.rb +1 -1
- data/lib/talon_one/models/campaign_set_node.rb +1 -1
- data/lib/talon_one/models/cart_item.rb +1 -1
- data/lib/talon_one/models/cart_item_adjustment.rb +1 -1
- data/lib/talon_one/models/change.rb +1 -1
- data/lib/talon_one/models/change_profile_password.rb +1 -1
- data/lib/talon_one/models/code_generator_settings.rb +1 -1
- data/lib/talon_one/models/coupon.rb +1 -1
- data/lib/talon_one/models/coupon_constraints.rb +1 -1
- data/lib/talon_one/models/coupon_created_effect_props.rb +1 -1
- data/lib/talon_one/models/coupon_rejection_reason.rb +3 -3
- data/lib/talon_one/models/coupon_reservations.rb +1 -1
- data/lib/talon_one/models/coupon_search.rb +1 -1
- data/lib/talon_one/models/coupon_value.rb +1 -1
- data/lib/talon_one/models/create_application_api_key.rb +49 -5
- data/lib/talon_one/models/customer_activity_report.rb +2 -2
- data/lib/talon_one/models/customer_analytics.rb +1 -1
- data/lib/talon_one/models/customer_inventory.rb +11 -2
- data/lib/talon_one/models/customer_profile.rb +15 -3
- data/lib/talon_one/models/{misc_update_user_latest_feature.rb → customer_profile_audience_request.rb} +13 -11
- data/lib/talon_one/models/customer_profile_audience_request_item.rb +273 -0
- data/lib/talon_one/models/customer_profile_integration_request_v2.rb +242 -0
- data/lib/talon_one/models/customer_profile_search_query.rb +1 -1
- data/lib/talon_one/models/customer_session.rb +2 -2
- data/lib/talon_one/models/customer_session_v2.rb +2 -2
- data/lib/talon_one/models/deduct_loyalty_points_effect_props.rb +1 -1
- data/lib/talon_one/models/effect.rb +1 -1
- data/lib/talon_one/models/effect_entity.rb +1 -1
- data/lib/talon_one/models/email_entity.rb +1 -1
- data/lib/talon_one/models/entity.rb +1 -1
- data/lib/talon_one/models/entity_with_talang_visible_id.rb +227 -0
- data/lib/talon_one/models/environment.rb +1 -1
- data/lib/talon_one/models/error_effect_props.rb +1 -1
- data/lib/talon_one/models/error_response.rb +1 -1
- data/lib/talon_one/models/error_source.rb +1 -1
- data/lib/talon_one/models/event.rb +1 -1
- data/lib/talon_one/models/event_type.rb +1 -1
- data/lib/talon_one/models/export.rb +1 -1
- data/lib/talon_one/models/feature_flag.rb +1 -1
- data/lib/talon_one/models/feature_flags.rb +1 -1
- data/lib/talon_one/models/features_feed.rb +1 -1
- data/lib/talon_one/models/feed_notification.rb +322 -0
- data/lib/talon_one/models/func_arg_def.rb +1 -1
- data/lib/talon_one/models/function_def.rb +1 -1
- data/lib/talon_one/models/import.rb +1 -1
- data/lib/talon_one/models/import_coupons.rb +1 -1
- data/lib/talon_one/models/inline_response200.rb +1 -1
- data/lib/talon_one/models/inline_response2001.rb +1 -1
- data/lib/talon_one/models/inline_response20010.rb +1 -1
- data/lib/talon_one/models/inline_response20011.rb +1 -1
- data/lib/talon_one/models/inline_response20012.rb +11 -7
- 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 +1 -1
- data/lib/talon_one/models/inline_response20016.rb +1 -1
- data/lib/talon_one/models/inline_response20017.rb +1 -1
- data/lib/talon_one/models/inline_response20018.rb +1 -1
- data/lib/talon_one/models/inline_response20019.rb +1 -1
- data/lib/talon_one/models/inline_response2002.rb +1 -1
- data/lib/talon_one/models/inline_response20020.rb +1 -1
- data/lib/talon_one/models/inline_response20021.rb +1 -1
- data/lib/talon_one/models/inline_response20022.rb +1 -1
- data/lib/talon_one/models/inline_response20023.rb +1 -1
- data/lib/talon_one/models/inline_response20024.rb +1 -1
- data/lib/talon_one/models/inline_response20025.rb +1 -1
- data/lib/talon_one/models/inline_response20026.rb +1 -1
- data/lib/talon_one/models/inline_response20027.rb +1 -1
- data/lib/talon_one/models/inline_response20028.rb +1 -1
- data/lib/talon_one/models/inline_response20029.rb +1 -1
- data/lib/talon_one/models/inline_response2003.rb +1 -1
- data/lib/talon_one/models/inline_response20030.rb +1 -1
- data/lib/talon_one/models/inline_response2004.rb +1 -1
- data/lib/talon_one/models/inline_response2005.rb +1 -1
- data/lib/talon_one/models/inline_response2006.rb +1 -1
- 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 +1 -1
- data/lib/talon_one/models/integration_entity.rb +2 -2
- data/lib/talon_one/models/integration_event.rb +1 -1
- data/lib/talon_one/models/integration_profile_entity.rb +1 -1
- data/lib/talon_one/models/integration_request.rb +1 -1
- data/lib/talon_one/models/integration_state.rb +1 -1
- data/lib/talon_one/models/integration_state_v2.rb +1 -1
- data/lib/talon_one/models/ledger_entry.rb +1 -1
- data/lib/talon_one/models/library_attribute.rb +1 -1
- data/lib/talon_one/models/limit_config.rb +1 -1
- data/lib/talon_one/models/login_params.rb +1 -1
- data/lib/talon_one/models/loyalty.rb +1 -1
- data/lib/talon_one/models/loyalty_ledger.rb +1 -1
- data/lib/talon_one/models/loyalty_ledger_entry.rb +11 -2
- data/lib/talon_one/models/loyalty_membership.rb +1 -1
- data/lib/talon_one/models/loyalty_points.rb +19 -9
- data/lib/talon_one/models/loyalty_program.rb +18 -3
- data/lib/talon_one/models/loyalty_program_balance.rb +1 -1
- data/lib/talon_one/models/loyalty_program_ledgers.rb +1 -1
- data/lib/talon_one/models/loyalty_statistics.rb +258 -0
- data/lib/talon_one/models/loyalty_sub_ledger.rb +104 -7
- data/lib/talon_one/models/manager_config.rb +1 -1
- data/lib/talon_one/models/meta.rb +2 -1
- data/lib/talon_one/models/multi_application_entity.rb +1 -1
- data/lib/talon_one/models/multiple_customer_profile_integration_request.rb +208 -0
- data/lib/talon_one/models/multiple_customer_profile_integration_request_item.rb +223 -0
- data/lib/talon_one/models/{customer_profile_update.rb → multiple_customer_profile_integration_response_v2.rb} +13 -16
- data/lib/talon_one/models/mutable_entity.rb +1 -1
- data/lib/talon_one/models/new_account.rb +1 -1
- data/lib/talon_one/models/new_account_sign_up.rb +1 -1
- data/lib/talon_one/models/new_additional_cost.rb +1 -1
- data/lib/talon_one/models/new_application.rb +55 -3
- data/lib/talon_one/models/new_application_api_key.rb +76 -32
- data/lib/talon_one/models/new_attribute.rb +1 -1
- data/lib/talon_one/models/new_audience.rb +314 -0
- data/lib/talon_one/models/new_campaign.rb +17 -5
- data/lib/talon_one/models/new_campaign_group.rb +265 -0
- data/lib/talon_one/models/new_campaign_set.rb +1 -1
- data/lib/talon_one/models/new_coupons.rb +1 -1
- data/lib/talon_one/models/new_customer_profile.rb +1 -1
- data/lib/talon_one/models/new_customer_session.rb +1 -1
- data/lib/talon_one/models/new_customer_session_v2.rb +1 -1
- data/lib/talon_one/models/new_event.rb +1 -1
- data/lib/talon_one/models/new_event_type.rb +1 -1
- data/lib/talon_one/models/new_feature_flags.rb +1 -1
- data/lib/talon_one/models/new_import.rb +1 -1
- data/lib/talon_one/models/new_invitation.rb +1 -1
- data/lib/talon_one/models/new_invite_email.rb +1 -1
- data/lib/talon_one/models/new_loyalty_program.rb +18 -3
- data/lib/talon_one/models/new_password.rb +1 -1
- data/lib/talon_one/models/new_password_email.rb +1 -1
- data/lib/talon_one/models/new_referral.rb +1 -1
- data/lib/talon_one/models/new_role.rb +1 -1
- data/lib/talon_one/models/new_ruleset.rb +1 -1
- data/lib/talon_one/models/new_saml_connection.rb +1 -1
- data/lib/talon_one/models/new_template_def.rb +1 -1
- data/lib/talon_one/models/new_user.rb +1 -1
- data/lib/talon_one/models/new_webhook.rb +1 -1
- data/lib/talon_one/models/notification.rb +1 -1
- data/lib/talon_one/models/redeem_referral_effect_props.rb +1 -1
- data/lib/talon_one/models/referral.rb +1 -1
- data/lib/talon_one/models/referral_created_effect_props.rb +1 -1
- data/lib/talon_one/models/referral_rejection_reason.rb +3 -3
- data/lib/talon_one/models/reject_coupon_effect_props.rb +1 -1
- data/lib/talon_one/models/reject_referral_effect_props.rb +1 -1
- data/lib/talon_one/models/role.rb +14 -4
- data/lib/talon_one/models/role_assign.rb +1 -1
- data/lib/talon_one/models/role_membership.rb +1 -1
- data/lib/talon_one/models/rollback_coupon_effect_props.rb +1 -1
- data/lib/talon_one/models/rollback_discount_effect_props.rb +1 -1
- data/lib/talon_one/models/rule.rb +1 -1
- data/lib/talon_one/models/ruleset.rb +1 -1
- data/lib/talon_one/models/saml_connection.rb +1 -1
- data/lib/talon_one/models/saml_connection_metadata.rb +1 -1
- data/lib/talon_one/models/saml_login_endpoint.rb +1 -1
- data/lib/talon_one/models/session.rb +1 -1
- data/lib/talon_one/models/set_discount_effect_props.rb +16 -6
- data/lib/talon_one/models/set_discount_per_item_effect_props.rb +15 -5
- data/lib/talon_one/models/show_bundle_metadata_effect_props.rb +1 -1
- data/lib/talon_one/models/show_notification_effect_props.rb +1 -1
- data/lib/talon_one/models/slot_def.rb +1 -1
- data/lib/talon_one/models/template_arg_def.rb +1 -1
- data/lib/talon_one/models/template_def.rb +1 -1
- data/lib/talon_one/models/trigger_webhook_effect_props.rb +1 -1
- data/lib/talon_one/models/update_account.rb +1 -1
- data/lib/talon_one/models/update_application.rb +58 -6
- data/lib/talon_one/models/update_attribute_effect_props.rb +1 -1
- data/lib/talon_one/models/update_audience.rb +231 -0
- data/lib/talon_one/models/update_campaign.rb +17 -5
- data/lib/talon_one/models/update_campaign_group.rb +266 -0
- data/lib/talon_one/models/update_coupon.rb +1 -1
- data/lib/talon_one/models/update_coupon_batch.rb +1 -1
- data/lib/talon_one/models/update_loyalty_program.rb +13 -3
- data/lib/talon_one/models/update_role.rb +1 -1
- data/lib/talon_one/models/update_user.rb +2 -22
- data/lib/talon_one/models/update_user_latest_feed_timestamp.rb +213 -0
- data/lib/talon_one/models/user.rb +11 -26
- data/lib/talon_one/models/user_entity.rb +1 -1
- data/lib/talon_one/models/user_feed_notifications.rb +230 -0
- data/lib/talon_one/models/webhook.rb +1 -1
- data/lib/talon_one/models/webhook_activation_log_entry.rb +1 -1
- data/lib/talon_one/models/webhook_log_entry.rb +1 -1
- data/lib/talon_one/version.rb +2 -2
- data/spec/api/integration_api_spec.rb +36 -8
- data/spec/api/management_api_spec.rb +19 -3
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/accept_coupon_effect_props_spec.rb +1 -1
- data/spec/models/accept_referral_effect_props_spec.rb +1 -1
- data/spec/models/access_log_entry_spec.rb +1 -1
- data/spec/models/account_additional_cost_spec.rb +1 -1
- data/spec/models/account_analytics_spec.rb +27 -9
- data/spec/models/account_entity_spec.rb +1 -1
- data/spec/models/account_limits_spec.rb +7 -7
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/add_free_item_effect_props_spec.rb +1 -1
- data/spec/models/add_loyalty_points_effect_props_spec.rb +8 -2
- data/spec/models/additional_cost_spec.rb +1 -1
- data/spec/models/api_error_spec.rb +1 -1
- data/spec/models/application_api_health_spec.rb +1 -1
- data/spec/models/application_api_key_spec.rb +18 -8
- data/spec/models/application_customer_entity_spec.rb +1 -1
- data/spec/models/application_customer_search_spec.rb +1 -1
- data/spec/models/application_customer_spec.rb +7 -1
- data/spec/models/application_entity_spec.rb +1 -1
- data/spec/models/application_event_spec.rb +1 -1
- data/spec/models/application_session_entity_spec.rb +1 -1
- data/spec/models/application_session_spec.rb +1 -1
- data/spec/models/application_spec.rb +29 -1
- data/spec/models/attribute_spec.rb +1 -1
- data/spec/models/attributes_mandatory_spec.rb +1 -1
- data/spec/models/attributes_settings_spec.rb +1 -1
- data/spec/models/audience_membership_spec.rb +47 -0
- data/spec/models/audience_spec.rb +75 -0
- data/spec/models/base_saml_connection_spec.rb +1 -1
- data/spec/models/binding_spec.rb +1 -1
- data/spec/models/campaign_analytics_spec.rb +25 -1
- data/spec/models/campaign_copy_spec.rb +1 -1
- data/spec/models/campaign_entity_spec.rb +1 -1
- data/spec/models/{misc_update_user_latest_feature_spec.rb → campaign_group_entity_spec.rb} +8 -8
- data/spec/models/campaign_group_spec.rb +83 -0
- data/spec/models/campaign_search_spec.rb +1 -1
- data/spec/models/campaign_set_branch_node_spec.rb +1 -1
- data/spec/models/campaign_set_leaf_node_spec.rb +1 -1
- data/spec/models/campaign_set_node_spec.rb +1 -1
- data/spec/models/campaign_set_spec.rb +1 -1
- data/spec/models/campaign_spec.rb +7 -1
- data/spec/models/cart_item_adjustment_spec.rb +1 -1
- data/spec/models/cart_item_spec.rb +1 -1
- data/spec/models/change_profile_password_spec.rb +1 -1
- data/spec/models/change_spec.rb +1 -1
- data/spec/models/code_generator_settings_spec.rb +1 -1
- data/spec/models/coupon_constraints_spec.rb +1 -1
- data/spec/models/coupon_created_effect_props_spec.rb +1 -1
- data/spec/models/coupon_rejection_reason_spec.rb +2 -2
- data/spec/models/coupon_reservations_spec.rb +1 -1
- data/spec/models/coupon_search_spec.rb +1 -1
- data/spec/models/coupon_spec.rb +1 -1
- data/spec/models/coupon_value_spec.rb +1 -1
- data/spec/models/create_application_api_key_spec.rb +11 -1
- data/spec/models/customer_activity_report_spec.rb +1 -1
- data/spec/models/customer_analytics_spec.rb +1 -1
- data/spec/models/customer_inventory_spec.rb +7 -1
- data/spec/models/customer_profile_audience_request_item_spec.rb +57 -0
- data/spec/models/{customer_profile_update_spec.rb → customer_profile_audience_request_spec.rb} +8 -8
- data/spec/models/customer_profile_integration_request_v2_spec.rb +51 -0
- data/spec/models/customer_profile_search_query_spec.rb +1 -1
- data/spec/models/customer_profile_spec.rb +7 -1
- data/spec/models/customer_session_spec.rb +1 -1
- data/spec/models/customer_session_v2_spec.rb +1 -1
- data/spec/models/deduct_loyalty_points_effect_props_spec.rb +1 -1
- data/spec/models/effect_entity_spec.rb +1 -1
- data/spec/models/effect_spec.rb +1 -1
- data/spec/models/email_entity_spec.rb +1 -1
- data/spec/models/entity_spec.rb +1 -1
- data/spec/models/entity_with_talang_visible_id_spec.rb +47 -0
- data/spec/models/environment_spec.rb +1 -1
- data/spec/models/error_effect_props_spec.rb +1 -1
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/error_source_spec.rb +1 -1
- data/spec/models/event_spec.rb +1 -1
- data/spec/models/event_type_spec.rb +1 -1
- data/spec/models/export_spec.rb +1 -1
- data/spec/models/feature_flag_spec.rb +1 -1
- data/spec/models/feature_flags_spec.rb +1 -1
- data/spec/models/features_feed_spec.rb +1 -1
- data/spec/models/feed_notification_spec.rb +75 -0
- data/spec/models/func_arg_def_spec.rb +1 -1
- data/spec/models/function_def_spec.rb +1 -1
- data/spec/models/import_coupons_spec.rb +1 -1
- data/spec/models/import_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +1 -1
- data/spec/models/inline_response20012_spec.rb +7 -1
- data/spec/models/inline_response20013_spec.rb +1 -1
- data/spec/models/inline_response20014_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 +1 -1
- data/spec/models/inline_response20018_spec.rb +1 -1
- data/spec/models/inline_response20019_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response20020_spec.rb +1 -1
- data/spec/models/inline_response20021_spec.rb +1 -1
- data/spec/models/inline_response20022_spec.rb +1 -1
- data/spec/models/inline_response20023_spec.rb +1 -1
- data/spec/models/inline_response20024_spec.rb +1 -1
- data/spec/models/inline_response20025_spec.rb +1 -1
- data/spec/models/inline_response20026_spec.rb +1 -1
- data/spec/models/inline_response20027_spec.rb +1 -1
- data/spec/models/inline_response20028_spec.rb +1 -1
- data/spec/models/inline_response20029_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response20030_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/integration_entity_spec.rb +1 -1
- data/spec/models/integration_event_spec.rb +1 -1
- data/spec/models/integration_profile_entity_spec.rb +1 -1
- data/spec/models/integration_request_spec.rb +1 -1
- data/spec/models/integration_state_spec.rb +1 -1
- data/spec/models/integration_state_v2_spec.rb +1 -1
- data/spec/models/ledger_entry_spec.rb +1 -1
- data/spec/models/library_attribute_spec.rb +1 -1
- data/spec/models/limit_config_spec.rb +1 -1
- data/spec/models/login_params_spec.rb +1 -1
- data/spec/models/loyalty_ledger_entry_spec.rb +7 -1
- data/spec/models/loyalty_ledger_spec.rb +1 -1
- data/spec/models/loyalty_membership_spec.rb +1 -1
- data/spec/models/loyalty_points_spec.rb +8 -2
- data/spec/models/loyalty_program_balance_spec.rb +1 -1
- data/spec/models/loyalty_program_ledgers_spec.rb +1 -1
- data/spec/models/loyalty_program_spec.rb +7 -1
- data/spec/models/loyalty_spec.rb +1 -1
- data/spec/models/loyalty_statistics_spec.rb +59 -0
- data/spec/models/loyalty_sub_ledger_spec.rb +43 -1
- data/spec/models/manager_config_spec.rb +1 -1
- data/spec/models/meta_spec.rb +1 -1
- data/spec/models/multi_application_entity_spec.rb +1 -1
- data/spec/models/multiple_customer_profile_integration_request_item_spec.rb +47 -0
- data/spec/models/multiple_customer_profile_integration_request_spec.rb +41 -0
- data/spec/models/multiple_customer_profile_integration_response_v2_spec.rb +41 -0
- data/spec/models/mutable_entity_spec.rb +1 -1
- data/spec/models/new_account_sign_up_spec.rb +1 -1
- data/spec/models/new_account_spec.rb +1 -1
- data/spec/models/new_additional_cost_spec.rb +1 -1
- data/spec/models/new_application_api_key_spec.rb +18 -8
- data/spec/models/new_application_spec.rb +29 -1
- data/spec/models/new_attribute_spec.rb +1 -1
- data/spec/models/new_audience_spec.rb +57 -0
- data/spec/models/new_campaign_group_spec.rb +59 -0
- data/spec/models/new_campaign_set_spec.rb +1 -1
- data/spec/models/new_campaign_spec.rb +7 -1
- data/spec/models/new_coupons_spec.rb +1 -1
- data/spec/models/new_customer_profile_spec.rb +1 -1
- data/spec/models/new_customer_session_spec.rb +1 -1
- data/spec/models/new_customer_session_v2_spec.rb +1 -1
- data/spec/models/new_event_spec.rb +1 -1
- data/spec/models/new_event_type_spec.rb +1 -1
- data/spec/models/new_feature_flags_spec.rb +1 -1
- data/spec/models/new_import_spec.rb +1 -1
- data/spec/models/new_invitation_spec.rb +1 -1
- data/spec/models/new_invite_email_spec.rb +1 -1
- data/spec/models/new_loyalty_program_spec.rb +7 -1
- data/spec/models/new_password_email_spec.rb +1 -1
- data/spec/models/new_password_spec.rb +1 -1
- data/spec/models/new_referral_spec.rb +1 -1
- data/spec/models/new_role_spec.rb +1 -1
- data/spec/models/new_ruleset_spec.rb +1 -1
- data/spec/models/new_saml_connection_spec.rb +1 -1
- data/spec/models/new_template_def_spec.rb +1 -1
- data/spec/models/new_user_spec.rb +1 -1
- data/spec/models/new_webhook_spec.rb +1 -1
- data/spec/models/notification_spec.rb +1 -1
- data/spec/models/redeem_referral_effect_props_spec.rb +1 -1
- data/spec/models/referral_created_effect_props_spec.rb +1 -1
- data/spec/models/referral_rejection_reason_spec.rb +2 -2
- data/spec/models/referral_spec.rb +1 -1
- data/spec/models/reject_coupon_effect_props_spec.rb +1 -1
- data/spec/models/reject_referral_effect_props_spec.rb +1 -1
- data/spec/models/role_assign_spec.rb +1 -1
- data/spec/models/role_membership_spec.rb +1 -1
- data/spec/models/role_spec.rb +7 -1
- data/spec/models/rollback_coupon_effect_props_spec.rb +1 -1
- data/spec/models/rollback_discount_effect_props_spec.rb +1 -1
- data/spec/models/rule_spec.rb +1 -1
- data/spec/models/ruleset_spec.rb +1 -1
- data/spec/models/saml_connection_metadata_spec.rb +1 -1
- data/spec/models/saml_connection_spec.rb +1 -1
- data/spec/models/saml_login_endpoint_spec.rb +1 -1
- data/spec/models/session_spec.rb +1 -1
- data/spec/models/set_discount_effect_props_spec.rb +7 -1
- data/spec/models/set_discount_per_item_effect_props_spec.rb +7 -1
- data/spec/models/show_bundle_metadata_effect_props_spec.rb +1 -1
- data/spec/models/show_notification_effect_props_spec.rb +1 -1
- data/spec/models/slot_def_spec.rb +1 -1
- data/spec/models/template_arg_def_spec.rb +1 -1
- data/spec/models/template_def_spec.rb +1 -1
- data/spec/models/trigger_webhook_effect_props_spec.rb +1 -1
- data/spec/models/update_account_spec.rb +1 -1
- data/spec/models/update_application_spec.rb +29 -1
- data/spec/models/update_attribute_effect_props_spec.rb +1 -1
- data/spec/models/update_audience_spec.rb +41 -0
- data/spec/models/update_campaign_group_spec.rb +59 -0
- data/spec/models/update_campaign_spec.rb +7 -1
- data/spec/models/update_coupon_batch_spec.rb +1 -1
- data/spec/models/update_coupon_spec.rb +1 -1
- data/spec/models/update_loyalty_program_spec.rb +7 -1
- data/spec/models/update_role_spec.rb +1 -1
- data/spec/models/update_user_latest_feed_timestamp_spec.rb +41 -0
- data/spec/models/update_user_spec.rb +1 -13
- data/spec/models/user_entity_spec.rb +1 -1
- data/spec/models/user_feed_notifications_spec.rb +47 -0
- data/spec/models/user_spec.rb +2 -8
- data/spec/models/webhook_activation_log_entry_spec.rb +1 -1
- data/spec/models/webhook_log_entry_spec.rb +1 -1
- data/spec/models/webhook_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/talon_one.gemspec +1 -1
- metadata +78 -10
- data/docs/CustomerProfileUpdate.md +0 -17
- data/docs/MiscUpdateUserLatestFeature.md +0 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fc8a2c6ef0d0fdbf9ab4cea3aabbd200e7ffcf58726e2a133f0a203fbb774f2d
|
|
4
|
+
data.tar.gz: a522e06144d1f7c61af0f3d0fa86001ba7af5a0e101e5208fa6421fb590d2865
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3fd75661ebafe84c59177d924cad4dd057443448a4d78cebf57388e3b41f94ccefeffaf312aa73a9a2be471cebc8172b40ff50760de6f452544ed77170a762bc
|
|
7
|
+
data.tar.gz: be44a5bc6b8867a8fa0a3651e0d54661ed284f76143c33275e9b206ce740f429f8a5253ff4b1459a63c8c554a1eb76730765bc7d78a49d188e77e05906281dfc
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -17,7 +17,7 @@ The API is available at the same hostname as these docs. For example, if you are
|
|
|
17
17
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
18
18
|
|
|
19
19
|
- API version: 1.0.0
|
|
20
|
-
- Package version: 2.
|
|
20
|
+
- Package version: 2.2.0
|
|
21
21
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
22
22
|
|
|
23
23
|
## Installation
|
|
@@ -33,16 +33,16 @@ gem build talon_one.gemspec
|
|
|
33
33
|
Then either install the gem locally:
|
|
34
34
|
|
|
35
35
|
```shell
|
|
36
|
-
gem install ./talon_one-2.
|
|
36
|
+
gem install ./talon_one-2.2.0.gem
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
(for development, run `gem install --dev ./talon_one-2.
|
|
39
|
+
(for development, run `gem install --dev ./talon_one-2.2.0.gem` to install the development dependencies)
|
|
40
40
|
|
|
41
41
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
42
42
|
|
|
43
43
|
Finally add this to the Gemfile:
|
|
44
44
|
|
|
45
|
-
gem 'talon_one', '~> 2.
|
|
45
|
+
gem 'talon_one', '~> 2.2.0'
|
|
46
46
|
|
|
47
47
|
### Install from Git
|
|
48
48
|
|
|
@@ -246,9 +246,11 @@ Class | Method | HTTP request | Description
|
|
|
246
246
|
*TalonOne::IntegrationApi* | [**get_customer_inventory**](docs/IntegrationApi.md#get_customer_inventory) | **GET** /v1/customer_profiles/{integrationId}/inventory | Get an inventory of all data associated with a specific customer profile.
|
|
247
247
|
*TalonOne::IntegrationApi* | [**get_reserved_customers**](docs/IntegrationApi.md#get_reserved_customers) | **GET** /v1/coupon_reservations/customerprofiles/{couponValue} | Get the users that have this coupon reserved
|
|
248
248
|
*TalonOne::IntegrationApi* | [**track_event**](docs/IntegrationApi.md#track_event) | **POST** /v1/events | Track an Event
|
|
249
|
-
*TalonOne::IntegrationApi* | [**update_customer_profile**](docs/IntegrationApi.md#update_customer_profile) | **PUT** /v1/customer_profiles/{integrationId} | Update a Customer Profile
|
|
250
|
-
*TalonOne::IntegrationApi* | [**
|
|
251
|
-
*TalonOne::IntegrationApi* | [**
|
|
249
|
+
*TalonOne::IntegrationApi* | [**update_customer_profile**](docs/IntegrationApi.md#update_customer_profile) | **PUT** /v1/customer_profiles/{integrationId} | Update a Customer Profile V1
|
|
250
|
+
*TalonOne::IntegrationApi* | [**update_customer_profile_audiences**](docs/IntegrationApi.md#update_customer_profile_audiences) | **POST** /v2/customer_audiences | Update a Customer Profile Audiences
|
|
251
|
+
*TalonOne::IntegrationApi* | [**update_customer_profile_v2**](docs/IntegrationApi.md#update_customer_profile_v2) | **PUT** /v2/customer_profiles/{integrationId} | Update a Customer Profile
|
|
252
|
+
*TalonOne::IntegrationApi* | [**update_customer_profiles_v2**](docs/IntegrationApi.md#update_customer_profiles_v2) | **PUT** /v2/customer_profiles | Update multiple Customer Profiles
|
|
253
|
+
*TalonOne::IntegrationApi* | [**update_customer_session**](docs/IntegrationApi.md#update_customer_session) | **PUT** /v1/customer_sessions/{customerSessionId} | Update a Customer Session V1
|
|
252
254
|
*TalonOne::IntegrationApi* | [**update_customer_session_v2**](docs/IntegrationApi.md#update_customer_session_v2) | **PUT** /v2/customer_sessions/{customerSessionId} | Update a Customer Session
|
|
253
255
|
*TalonOne::ManagementApi* | [**add_loyalty_points**](docs/ManagementApi.md#add_loyalty_points) | **PUT** /v1/loyalty_programs/{programID}/profile/{integrationID}/add_points | Add points in a certain loyalty program for the specified customer
|
|
254
256
|
*TalonOne::ManagementApi* | [**copy_campaign_to_applications**](docs/ManagementApi.md#copy_campaign_to_applications) | **POST** /v1/applications/{applicationId}/campaigns/{campaignId}/copy | Copy the campaign into every specified application
|
|
@@ -307,6 +309,7 @@ Class | Method | HTTP request | Description
|
|
|
307
309
|
*TalonOne::ManagementApi* | [**get_loyalty_points**](docs/ManagementApi.md#get_loyalty_points) | **GET** /v1/loyalty_programs/{programID}/profile/{integrationID} | get the Loyalty Ledger for this integrationID
|
|
308
310
|
*TalonOne::ManagementApi* | [**get_loyalty_program**](docs/ManagementApi.md#get_loyalty_program) | **GET** /v1/loyalty_programs/{programID} | Get a loyalty program
|
|
309
311
|
*TalonOne::ManagementApi* | [**get_loyalty_programs**](docs/ManagementApi.md#get_loyalty_programs) | **GET** /v1/loyalty_programs | List all loyalty Programs
|
|
312
|
+
*TalonOne::ManagementApi* | [**get_loyalty_statistics**](docs/ManagementApi.md#get_loyalty_statistics) | **GET** /v1/loyalty_programs/{programID}/statistics | Get loyalty program statistics by loyalty program ID
|
|
310
313
|
*TalonOne::ManagementApi* | [**get_referrals**](docs/ManagementApi.md#get_referrals) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/referrals | List Referrals (with total count)
|
|
311
314
|
*TalonOne::ManagementApi* | [**get_referrals_without_total_count**](docs/ManagementApi.md#get_referrals_without_total_count) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/referrals/no_total | List Referrals
|
|
312
315
|
*TalonOne::ManagementApi* | [**get_role**](docs/ManagementApi.md#get_role) | **GET** /v1/roles/{roleId} | Get information for the specified role.
|
|
@@ -359,12 +362,16 @@ Class | Method | HTTP request | Description
|
|
|
359
362
|
- [TalonOne::Attribute](docs/Attribute.md)
|
|
360
363
|
- [TalonOne::AttributesMandatory](docs/AttributesMandatory.md)
|
|
361
364
|
- [TalonOne::AttributesSettings](docs/AttributesSettings.md)
|
|
365
|
+
- [TalonOne::Audience](docs/Audience.md)
|
|
366
|
+
- [TalonOne::AudienceMembership](docs/AudienceMembership.md)
|
|
362
367
|
- [TalonOne::BaseSamlConnection](docs/BaseSamlConnection.md)
|
|
363
368
|
- [TalonOne::Binding](docs/Binding.md)
|
|
364
369
|
- [TalonOne::Campaign](docs/Campaign.md)
|
|
365
370
|
- [TalonOne::CampaignAnalytics](docs/CampaignAnalytics.md)
|
|
366
371
|
- [TalonOne::CampaignCopy](docs/CampaignCopy.md)
|
|
367
372
|
- [TalonOne::CampaignEntity](docs/CampaignEntity.md)
|
|
373
|
+
- [TalonOne::CampaignGroup](docs/CampaignGroup.md)
|
|
374
|
+
- [TalonOne::CampaignGroupEntity](docs/CampaignGroupEntity.md)
|
|
368
375
|
- [TalonOne::CampaignSearch](docs/CampaignSearch.md)
|
|
369
376
|
- [TalonOne::CampaignSet](docs/CampaignSet.md)
|
|
370
377
|
- [TalonOne::CampaignSetBranchNode](docs/CampaignSetBranchNode.md)
|
|
@@ -387,8 +394,10 @@ Class | Method | HTTP request | Description
|
|
|
387
394
|
- [TalonOne::CustomerAnalytics](docs/CustomerAnalytics.md)
|
|
388
395
|
- [TalonOne::CustomerInventory](docs/CustomerInventory.md)
|
|
389
396
|
- [TalonOne::CustomerProfile](docs/CustomerProfile.md)
|
|
397
|
+
- [TalonOne::CustomerProfileAudienceRequest](docs/CustomerProfileAudienceRequest.md)
|
|
398
|
+
- [TalonOne::CustomerProfileAudienceRequestItem](docs/CustomerProfileAudienceRequestItem.md)
|
|
399
|
+
- [TalonOne::CustomerProfileIntegrationRequestV2](docs/CustomerProfileIntegrationRequestV2.md)
|
|
390
400
|
- [TalonOne::CustomerProfileSearchQuery](docs/CustomerProfileSearchQuery.md)
|
|
391
|
-
- [TalonOne::CustomerProfileUpdate](docs/CustomerProfileUpdate.md)
|
|
392
401
|
- [TalonOne::CustomerSession](docs/CustomerSession.md)
|
|
393
402
|
- [TalonOne::CustomerSessionV2](docs/CustomerSessionV2.md)
|
|
394
403
|
- [TalonOne::DeductLoyaltyPointsEffectProps](docs/DeductLoyaltyPointsEffectProps.md)
|
|
@@ -396,6 +405,7 @@ Class | Method | HTTP request | Description
|
|
|
396
405
|
- [TalonOne::EffectEntity](docs/EffectEntity.md)
|
|
397
406
|
- [TalonOne::EmailEntity](docs/EmailEntity.md)
|
|
398
407
|
- [TalonOne::Entity](docs/Entity.md)
|
|
408
|
+
- [TalonOne::EntityWithTalangVisibleID](docs/EntityWithTalangVisibleID.md)
|
|
399
409
|
- [TalonOne::Environment](docs/Environment.md)
|
|
400
410
|
- [TalonOne::ErrorEffectProps](docs/ErrorEffectProps.md)
|
|
401
411
|
- [TalonOne::ErrorResponse](docs/ErrorResponse.md)
|
|
@@ -406,6 +416,7 @@ Class | Method | HTTP request | Description
|
|
|
406
416
|
- [TalonOne::FeatureFlag](docs/FeatureFlag.md)
|
|
407
417
|
- [TalonOne::FeatureFlags](docs/FeatureFlags.md)
|
|
408
418
|
- [TalonOne::FeaturesFeed](docs/FeaturesFeed.md)
|
|
419
|
+
- [TalonOne::FeedNotification](docs/FeedNotification.md)
|
|
409
420
|
- [TalonOne::FuncArgDef](docs/FuncArgDef.md)
|
|
410
421
|
- [TalonOne::FunctionDef](docs/FunctionDef.md)
|
|
411
422
|
- [TalonOne::Import](docs/Import.md)
|
|
@@ -459,11 +470,14 @@ Class | Method | HTTP request | Description
|
|
|
459
470
|
- [TalonOne::LoyaltyProgram](docs/LoyaltyProgram.md)
|
|
460
471
|
- [TalonOne::LoyaltyProgramBalance](docs/LoyaltyProgramBalance.md)
|
|
461
472
|
- [TalonOne::LoyaltyProgramLedgers](docs/LoyaltyProgramLedgers.md)
|
|
473
|
+
- [TalonOne::LoyaltyStatistics](docs/LoyaltyStatistics.md)
|
|
462
474
|
- [TalonOne::LoyaltySubLedger](docs/LoyaltySubLedger.md)
|
|
463
475
|
- [TalonOne::ManagerConfig](docs/ManagerConfig.md)
|
|
464
476
|
- [TalonOne::Meta](docs/Meta.md)
|
|
465
|
-
- [TalonOne::MiscUpdateUserLatestFeature](docs/MiscUpdateUserLatestFeature.md)
|
|
466
477
|
- [TalonOne::MultiApplicationEntity](docs/MultiApplicationEntity.md)
|
|
478
|
+
- [TalonOne::MultipleCustomerProfileIntegrationRequest](docs/MultipleCustomerProfileIntegrationRequest.md)
|
|
479
|
+
- [TalonOne::MultipleCustomerProfileIntegrationRequestItem](docs/MultipleCustomerProfileIntegrationRequestItem.md)
|
|
480
|
+
- [TalonOne::MultipleCustomerProfileIntegrationResponseV2](docs/MultipleCustomerProfileIntegrationResponseV2.md)
|
|
467
481
|
- [TalonOne::MutableEntity](docs/MutableEntity.md)
|
|
468
482
|
- [TalonOne::NewAccount](docs/NewAccount.md)
|
|
469
483
|
- [TalonOne::NewAccountSignUp](docs/NewAccountSignUp.md)
|
|
@@ -471,7 +485,9 @@ Class | Method | HTTP request | Description
|
|
|
471
485
|
- [TalonOne::NewApplication](docs/NewApplication.md)
|
|
472
486
|
- [TalonOne::NewApplicationAPIKey](docs/NewApplicationAPIKey.md)
|
|
473
487
|
- [TalonOne::NewAttribute](docs/NewAttribute.md)
|
|
488
|
+
- [TalonOne::NewAudience](docs/NewAudience.md)
|
|
474
489
|
- [TalonOne::NewCampaign](docs/NewCampaign.md)
|
|
490
|
+
- [TalonOne::NewCampaignGroup](docs/NewCampaignGroup.md)
|
|
475
491
|
- [TalonOne::NewCampaignSet](docs/NewCampaignSet.md)
|
|
476
492
|
- [TalonOne::NewCoupons](docs/NewCoupons.md)
|
|
477
493
|
- [TalonOne::NewCustomerProfile](docs/NewCustomerProfile.md)
|
|
@@ -522,14 +538,18 @@ Class | Method | HTTP request | Description
|
|
|
522
538
|
- [TalonOne::UpdateAccount](docs/UpdateAccount.md)
|
|
523
539
|
- [TalonOne::UpdateApplication](docs/UpdateApplication.md)
|
|
524
540
|
- [TalonOne::UpdateAttributeEffectProps](docs/UpdateAttributeEffectProps.md)
|
|
541
|
+
- [TalonOne::UpdateAudience](docs/UpdateAudience.md)
|
|
525
542
|
- [TalonOne::UpdateCampaign](docs/UpdateCampaign.md)
|
|
543
|
+
- [TalonOne::UpdateCampaignGroup](docs/UpdateCampaignGroup.md)
|
|
526
544
|
- [TalonOne::UpdateCoupon](docs/UpdateCoupon.md)
|
|
527
545
|
- [TalonOne::UpdateCouponBatch](docs/UpdateCouponBatch.md)
|
|
528
546
|
- [TalonOne::UpdateLoyaltyProgram](docs/UpdateLoyaltyProgram.md)
|
|
529
547
|
- [TalonOne::UpdateRole](docs/UpdateRole.md)
|
|
530
548
|
- [TalonOne::UpdateUser](docs/UpdateUser.md)
|
|
549
|
+
- [TalonOne::UpdateUserLatestFeedTimestamp](docs/UpdateUserLatestFeedTimestamp.md)
|
|
531
550
|
- [TalonOne::User](docs/User.md)
|
|
532
551
|
- [TalonOne::UserEntity](docs/UserEntity.md)
|
|
552
|
+
- [TalonOne::UserFeedNotifications](docs/UserFeedNotifications.md)
|
|
533
553
|
- [TalonOne::Webhook](docs/Webhook.md)
|
|
534
554
|
- [TalonOne::WebhookActivationLogEntry](docs/WebhookActivationLogEntry.md)
|
|
535
555
|
- [TalonOne::WebhookLogEntry](docs/WebhookLogEntry.md)
|
data/docs/AccountAnalytics.md
CHANGED
|
@@ -4,21 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**applications** | **Integer** | Total
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**
|
|
11
|
-
**
|
|
12
|
-
**
|
|
13
|
-
**
|
|
14
|
-
**
|
|
15
|
-
**
|
|
16
|
-
**
|
|
17
|
-
**
|
|
18
|
-
**
|
|
19
|
-
**
|
|
20
|
-
**
|
|
21
|
-
**
|
|
7
|
+
**applications** | **Integer** | Total number of applications in the account |
|
|
8
|
+
**live_applications** | **Integer** | Total number of live applications in the account |
|
|
9
|
+
**sandbox_applications** | **Integer** | Total number of sandbox applications in the account |
|
|
10
|
+
**campaigns** | **Integer** | Total number of campaigns in the account |
|
|
11
|
+
**active_campaigns** | **Integer** | Total number of active campaigns in the account |
|
|
12
|
+
**live_active_campaigns** | **Integer** | Total number of active campaigns in live applications in the account |
|
|
13
|
+
**coupons** | **Integer** | Total number of coupons in the account |
|
|
14
|
+
**active_coupons** | **Integer** | Total number of active coupons in the account |
|
|
15
|
+
**expired_coupons** | **Integer** | Total number of expired coupons in the account |
|
|
16
|
+
**referral_codes** | **Integer** | Total number of referral codes in the account |
|
|
17
|
+
**active_referral_codes** | **Integer** | Total number of active referral codes in the account |
|
|
18
|
+
**expired_referral_codes** | **Integer** | Total number of expired referral codes in the account |
|
|
19
|
+
**active_rules** | **Integer** | Total number of active rules in the account |
|
|
20
|
+
**users** | **Integer** | Total number of users in the account |
|
|
21
|
+
**roles** | **Integer** | Total number of roles in the account |
|
|
22
|
+
**custom_attributes** | **Integer** | Total number of custom attributes in the account |
|
|
23
|
+
**webhooks** | **Integer** | Total number of webhooks in the account |
|
|
24
|
+
**loyalty_programs** | **Integer** | Total number of loyalty programs in the account |
|
|
22
25
|
|
|
23
26
|
## Code Sample
|
|
24
27
|
|
|
@@ -26,20 +29,23 @@ Name | Type | Description | Notes
|
|
|
26
29
|
require 'TalonOne'
|
|
27
30
|
|
|
28
31
|
instance = TalonOne::AccountAnalytics.new(applications: null,
|
|
29
|
-
|
|
32
|
+
live_applications: null,
|
|
33
|
+
sandbox_applications: null,
|
|
30
34
|
campaigns: null,
|
|
35
|
+
active_campaigns: null,
|
|
36
|
+
live_active_campaigns: null,
|
|
31
37
|
coupons: null,
|
|
32
38
|
active_coupons: null,
|
|
33
39
|
expired_coupons: null,
|
|
34
|
-
custom_attributes: null,
|
|
35
40
|
referral_codes: null,
|
|
36
41
|
active_referral_codes: null,
|
|
37
42
|
expired_referral_codes: null,
|
|
43
|
+
active_rules: null,
|
|
38
44
|
users: null,
|
|
39
45
|
roles: null,
|
|
46
|
+
custom_attributes: null,
|
|
40
47
|
webhooks: null,
|
|
41
|
-
loyalty_programs: null
|
|
42
|
-
active_rules: null)
|
|
48
|
+
loyalty_programs: null)
|
|
43
49
|
```
|
|
44
50
|
|
|
45
51
|
|
data/docs/AccountLimits.md
CHANGED
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**live_applications** | **Integer** | Total
|
|
8
|
-
**sandbox_applications** | **Integer** | Total
|
|
9
|
-
**active_campaigns** | **Integer** | Total
|
|
10
|
-
**coupons** | **Integer** | Total
|
|
11
|
-
**referral_codes** | **Integer** | Total
|
|
12
|
-
**
|
|
13
|
-
**
|
|
14
|
-
**
|
|
15
|
-
**
|
|
16
|
-
**
|
|
17
|
-
**
|
|
18
|
-
**promotion_types** | **Array<String>** |
|
|
7
|
+
**live_applications** | **Integer** | Total number of allowed live applications in the account |
|
|
8
|
+
**sandbox_applications** | **Integer** | Total number of allowed sandbox applications in the account |
|
|
9
|
+
**active_campaigns** | **Integer** | Total number of allowed active campaigns in live applications in the account |
|
|
10
|
+
**coupons** | **Integer** | Total number of allowed coupons in the account |
|
|
11
|
+
**referral_codes** | **Integer** | Total number of allowed referral codes in the account |
|
|
12
|
+
**active_rules** | **Integer** | Total number of allowed active rulesets in the account |
|
|
13
|
+
**live_loyalty_programs** | **Integer** | Total number of allowed live loyalty programs in the account |
|
|
14
|
+
**sandbox_loyalty_programs** | **Integer** | Total number of allowed sandbox loyalty programs in the account |
|
|
15
|
+
**webhooks** | **Integer** | Total number of allowed webhooks in the account |
|
|
16
|
+
**users** | **Integer** | Total number of allowed users in the account |
|
|
17
|
+
**api_volume** | **Integer** | Allowed volume of API requests to the account |
|
|
18
|
+
**promotion_types** | **Array<String>** | Array of promotion types that are employed in the account |
|
|
19
19
|
|
|
20
20
|
## Code Sample
|
|
21
21
|
|
|
@@ -27,12 +27,12 @@ instance = TalonOne::AccountLimits.new(live_applications: null,
|
|
|
27
27
|
active_campaigns: null,
|
|
28
28
|
coupons: null,
|
|
29
29
|
referral_codes: null,
|
|
30
|
+
active_rules: null,
|
|
30
31
|
live_loyalty_programs: null,
|
|
31
32
|
sandbox_loyalty_programs: null,
|
|
32
33
|
webhooks: null,
|
|
33
34
|
users: null,
|
|
34
35
|
api_volume: null,
|
|
35
|
-
active_rules: null,
|
|
36
36
|
promotion_types: null)
|
|
37
37
|
```
|
|
38
38
|
|
|
@@ -9,7 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**sub_ledger_id** | **String** | The ID of the subledger within the loyalty program where these points were added |
|
|
10
10
|
**value** | **Float** | The amount of points that were added |
|
|
11
11
|
**recipient_integration_id** | **String** | The user for whom these points were added |
|
|
12
|
-
**
|
|
12
|
+
**start_date** | **DateTime** | Date after which points will be valid | [optional]
|
|
13
|
+
**expiry_date** | **DateTime** | Date after which points will expire | [optional]
|
|
13
14
|
|
|
14
15
|
## Code Sample
|
|
15
16
|
|
|
@@ -21,7 +22,8 @@ instance = TalonOne::AddLoyaltyPointsEffectProps.new(name: null,
|
|
|
21
22
|
sub_ledger_id: null,
|
|
22
23
|
value: null,
|
|
23
24
|
recipient_integration_id: null,
|
|
24
|
-
|
|
25
|
+
start_date: null,
|
|
26
|
+
expiry_date: null)
|
|
25
27
|
```
|
|
26
28
|
|
|
27
29
|
|
data/docs/Application.md
CHANGED
|
@@ -15,8 +15,12 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**case_sensitivity** | **String** | A string indicating how should campaigns in this application deal with case sensitivity on coupon codes. | [optional]
|
|
16
16
|
**attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign | [optional]
|
|
17
17
|
**limits** | [**Array<LimitConfig>**](LimitConfig.md) | Default limits for campaigns created in this application | [optional]
|
|
18
|
-
**campaign_priority** | **String** | Default priority for campaigns created in this application, can be one of (universal, stackable, exclusive) | [optional]
|
|
18
|
+
**campaign_priority** | **String** | Default priority for campaigns created in this application, can be one of (universal, stackable, exclusive). If no value is provided, this is set to \"universal\" | [optional]
|
|
19
|
+
**exclusive_campaigns_strategy** | **String** | The strategy used when choosing exclusive campaigns for evaluation, can be one of (listOrder, lowestDiscount, highestDiscount). If no value is provided, this is set to \"listOrder\" | [optional]
|
|
20
|
+
**enable_cascading_discounts** | **Boolean** | Flag indicating if discounts should cascade for this application | [optional]
|
|
21
|
+
**enable_flattened_cart_items** | **Boolean** | Flag indicating if cart items of quantity larger than one should be separated into different items of quantity one | [optional]
|
|
19
22
|
**attributes_settings** | [**AttributesSettings**](AttributesSettings.md) | | [optional]
|
|
23
|
+
**sandbox** | **Boolean** | Flag indicating if this is a live or sandbox application | [optional]
|
|
20
24
|
**loyalty_programs** | [**Array<LoyaltyProgram>**](LoyaltyProgram.md) | An array containing all the loyalty programs to which this application is subscribed |
|
|
21
25
|
|
|
22
26
|
## Code Sample
|
|
@@ -36,7 +40,11 @@ instance = TalonOne::Application.new(id: null,
|
|
|
36
40
|
attributes: null,
|
|
37
41
|
limits: null,
|
|
38
42
|
campaign_priority: null,
|
|
43
|
+
exclusive_campaigns_strategy: null,
|
|
44
|
+
enable_cascading_discounts: null,
|
|
45
|
+
enable_flattened_cart_items: null,
|
|
39
46
|
attributes_settings: null,
|
|
47
|
+
sandbox: null,
|
|
40
48
|
loyalty_programs: null)
|
|
41
49
|
```
|
|
42
50
|
|
data/docs/ApplicationAPIKey.md
CHANGED
|
@@ -4,26 +4,28 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**title** | **String** | Title for API Key |
|
|
8
|
+
**expires** | **DateTime** | The date the API key expired |
|
|
9
|
+
**platform** | **String** | Platform the API key is valid for. | [optional]
|
|
7
10
|
**id** | **Integer** | ID of the API Key |
|
|
8
11
|
**created_by** | **Integer** | ID of user who created |
|
|
9
|
-
**title** | **String** | Title for API Key |
|
|
10
12
|
**account_id** | **Integer** | ID of account the key is used for |
|
|
11
13
|
**application_id** | **Integer** | ID of application the key is used for |
|
|
12
14
|
**created** | **DateTime** | The date the API key was created |
|
|
13
|
-
**expires** | **DateTime** | The date the API key expired |
|
|
14
15
|
|
|
15
16
|
## Code Sample
|
|
16
17
|
|
|
17
18
|
```ruby
|
|
18
19
|
require 'TalonOne'
|
|
19
20
|
|
|
20
|
-
instance = TalonOne::ApplicationAPIKey.new(
|
|
21
|
+
instance = TalonOne::ApplicationAPIKey.new(title: null,
|
|
22
|
+
expires: null,
|
|
23
|
+
platform: null,
|
|
24
|
+
id: null,
|
|
21
25
|
created_by: null,
|
|
22
|
-
title: null,
|
|
23
26
|
account_id: null,
|
|
24
27
|
application_id: null,
|
|
25
|
-
created: null
|
|
26
|
-
expires: null)
|
|
28
|
+
created: null)
|
|
27
29
|
```
|
|
28
30
|
|
|
29
31
|
|
data/docs/ApplicationCustomer.md
CHANGED
|
@@ -6,12 +6,13 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**id** | **Integer** | Unique ID for this entity. |
|
|
8
8
|
**created** | **DateTime** | The exact moment this entity was created. The exact moment this entity was created. The exact moment this entity was created. |
|
|
9
|
-
**integration_id** | **String** | The ID
|
|
9
|
+
**integration_id** | **String** | The integration ID for this entity sent to and used in the Talon.One system. The integration ID for this entity sent to and used in the Talon.One system. |
|
|
10
10
|
**attributes** | [**Object**](.md) | Arbitrary properties associated with this item |
|
|
11
11
|
**account_id** | **Integer** | The ID of the Talon.One account that owns this profile. The ID of the Talon.One account that owns this profile. |
|
|
12
12
|
**closed_sessions** | **Integer** | The total amount of closed sessions by a customer. A closed session is a successful purchase. |
|
|
13
13
|
**total_sales** | **Float** | Sum of all purchases made by this customer |
|
|
14
14
|
**loyalty_memberships** | [**Array<LoyaltyMembership>**](LoyaltyMembership.md) | A list of loyalty programs joined by the customer | [optional]
|
|
15
|
+
**audience_memberships** | [**Array<AudienceMembership>**](AudienceMembership.md) | A list of audiences the customer belongs to | [optional]
|
|
15
16
|
**last_activity** | **DateTime** | Timestamp of the most recent event received from this customer |
|
|
16
17
|
|
|
17
18
|
## Code Sample
|
|
@@ -27,6 +28,7 @@ instance = TalonOne::ApplicationCustomer.new(id: null,
|
|
|
27
28
|
closed_sessions: null,
|
|
28
29
|
total_sales: null,
|
|
29
30
|
loyalty_memberships: null,
|
|
31
|
+
audience_memberships: null,
|
|
30
32
|
last_activity: null)
|
|
31
33
|
```
|
|
32
34
|
|
data/docs/ApplicationSession.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**created** | **DateTime** | The exact moment this entity was created. The exact moment this entity was created. |
|
|
9
9
|
**application_id** | **Integer** | The ID of the application that owns this entity. |
|
|
10
10
|
**profile_id** | **Integer** | The globally unique Talon.One ID of the customer that created this entity. | [optional]
|
|
11
|
-
**integration_id** | **String** | The ID
|
|
11
|
+
**integration_id** | **String** | The integration ID for this entity sent to and used in the Talon.One system. |
|
|
12
12
|
**profileintegrationid** | **String** | Integration ID of the customer for the session. | [optional]
|
|
13
13
|
**coupon** | **String** | Any coupon code entered. |
|
|
14
14
|
**referral** | **String** | Any referral code entered. |
|
data/docs/Audience.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# TalonOne::Audience
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**account_id** | **Integer** | The ID of the account that owns this entity. |
|
|
8
|
+
**id** | **Integer** | Unique ID for this entity. |
|
|
9
|
+
**created** | **DateTime** | The exact moment this entity was created. |
|
|
10
|
+
**name** | **String** | The human-friendly display name for this Audience. |
|
|
11
|
+
**integration** | **String** | Integration that this audience was created in. |
|
|
12
|
+
**integration_id** | **String** | The ID of this Audience in the third-party integration |
|
|
13
|
+
|
|
14
|
+
## Code Sample
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'TalonOne'
|
|
18
|
+
|
|
19
|
+
instance = TalonOne::Audience.new(account_id: null,
|
|
20
|
+
id: null,
|
|
21
|
+
created: null,
|
|
22
|
+
name: null,
|
|
23
|
+
integration: null,
|
|
24
|
+
integration_id: null)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# TalonOne::AudienceMembership
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**id** | **Integer** | The ID of the audience belonging to this entity. |
|
|
8
|
+
**name** | **String** | The Name of the audience belonging to this entity. |
|
|
9
|
+
|
|
10
|
+
## Code Sample
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'TalonOne'
|
|
14
|
+
|
|
15
|
+
instance = TalonOne::AudienceMembership.new(id: null,
|
|
16
|
+
name: null)
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
data/docs/Campaign.md
CHANGED
|
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
|
|
|
20
20
|
**coupon_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
|
|
21
21
|
**referral_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
|
|
22
22
|
**limits** | [**Array<LimitConfig>**](LimitConfig.md) | The set of limits that will operate for this campaign |
|
|
23
|
+
**campaign_groups** | **Array<Integer>** | The IDs of the campaign groups that own this entity. | [optional]
|
|
23
24
|
**coupon_redemption_count** | **Integer** | Number of coupons redeemed in the campaign. | [optional]
|
|
24
25
|
**referral_redemption_count** | **Integer** | Number of referral codes redeemed in the campaign. | [optional]
|
|
25
26
|
**discount_count** | **Integer** | Total amount of discounts redeemed in the campaign. | [optional]
|
|
@@ -51,6 +52,7 @@ instance = TalonOne::Campaign.new(id: null,
|
|
|
51
52
|
coupon_settings: null,
|
|
52
53
|
referral_settings: null,
|
|
53
54
|
limits: null,
|
|
55
|
+
campaign_groups: null,
|
|
54
56
|
coupon_redemption_count: null,
|
|
55
57
|
referral_redemption_count: null,
|
|
56
58
|
discount_count: null,
|