talon_one 2.1.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/lib/talon_one/version.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -90,6 +90,7 @@ describe 'IntegrationApi' do
|
|
90
90
|
# @option opts [Boolean] :profile optional flag to decide if you would like customer profile information in the response
|
91
91
|
# @option opts [Boolean] :referrals optional flag to decide if you would like referral information in the response
|
92
92
|
# @option opts [Boolean] :coupons optional flag to decide if you would like coupon information in the response
|
93
|
+
# @option opts [Boolean] :loyalty optional flag to decide if you would like loyalty information in the response
|
93
94
|
# @return [CustomerInventory]
|
94
95
|
describe 'get_customer_inventory test' do
|
95
96
|
it 'should work' do
|
@@ -123,8 +124,8 @@ describe 'IntegrationApi' do
|
|
123
124
|
end
|
124
125
|
|
125
126
|
# unit tests for update_customer_profile
|
126
|
-
# Update a Customer Profile
|
127
|
-
# Update (or create) a [Customer Profile][]. This profile information can then be matched and/or updated by campaign [Rules][]. The `integrationId` may be any identifier that will remain stable for the customer. For example, you might use a database ID, an email, or a phone number as the `integrationId`. It is vital that this ID **not** change over time, so **don't** use any identifier that the customer can update themselves. E.g. if your application allows a customer to update their e-mail address, you should instead use a database ID. Updating a customer profile will return a response with the full integration state. This includes the current state of the customer profile, the customer session, the event that was recorded, and an array of effects that took place. [Customer Profile]: /Getting-Started/entities#customer-profile [Rules]: /Getting-Started/entities#campaigns-rulesets-and-coupons
|
127
|
+
# Update a Customer Profile V1
|
128
|
+
# ⚠️ Deprecation Notice: Support for requests to this endpoint will end on 15.07.2021. We will not remove the endpoint, and it will still be accessible for you to use. For new features support, please migrate to [API V2.0](/Getting-Started/APIV2). Update (or create) a [Customer Profile][]. This profile information can then be matched and/or updated by campaign [Rules][]. The `integrationId` may be any identifier that will remain stable for the customer. For example, you might use a database ID, an email, or a phone number as the `integrationId`. It is vital that this ID **not** change over time, so **don't** use any identifier that the customer can update themselves. E.g. if your application allows a customer to update their e-mail address, you should instead use a database ID. Updating a customer profile will return a response with the full integration state. This includes the current state of the customer profile, the customer session, the event that was recorded, and an array of effects that took place. [Customer Profile]: /Getting-Started/entities#customer-profile [Rules]: /Getting-Started/entities#campaigns-rulesets-and-coupons
|
128
129
|
# @param integration_id The custom identifier for this profile, must be unique within the account.
|
129
130
|
# @param body
|
130
131
|
# @param [Hash] opts the optional parameters
|
@@ -136,22 +137,49 @@ describe 'IntegrationApi' do
|
|
136
137
|
end
|
137
138
|
end
|
138
139
|
|
140
|
+
# unit tests for update_customer_profile_audiences
|
141
|
+
# Update a Customer Profile Audiences
|
142
|
+
# Update one ore multiple Customer Profiles with the specified Audiences
|
143
|
+
# @param body
|
144
|
+
# @param [Hash] opts the optional parameters
|
145
|
+
# @return [nil]
|
146
|
+
describe 'update_customer_profile_audiences test' do
|
147
|
+
it 'should work' do
|
148
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
139
152
|
# unit tests for update_customer_profile_v2
|
140
153
|
# Update a Customer Profile
|
141
|
-
# Update (or create) a [Customer Profile][].
|
142
|
-
# @param
|
154
|
+
# Update (or create) a [Customer Profile][]. The `integrationId` may be any identifier that will remain stable for the customer. For example, you might use a database ID, an email, or a phone number as the `integrationId`. It is vital that this ID **not** change over time, so **don't** use any identifier that the customer can update themselves. E.g. if your application allows a customer to update their e-mail address, you should instead use a database ID. [Customer Profile]: /Getting-Started/entities#customer-profile
|
155
|
+
# @param integration_id The custom identifier for this profile, must be unique within the account.
|
143
156
|
# @param body
|
144
157
|
# @param [Hash] opts the optional parameters
|
145
|
-
# @
|
158
|
+
# @option opts [Boolean] :run_rule_engine Flag to indicate whether to run the rule engine (Defaults to false).
|
159
|
+
# @option opts [Boolean] :dry Flag to indicate whether to skip persisting the changes or not (Will not persist if set to 'true'. Only used when 'runRuleEngine' is set to 'true').
|
160
|
+
# @return [IntegrationStateV2]
|
146
161
|
describe 'update_customer_profile_v2 test' do
|
147
162
|
it 'should work' do
|
148
163
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
149
164
|
end
|
150
165
|
end
|
151
166
|
|
167
|
+
# unit tests for update_customer_profiles_v2
|
168
|
+
# Update multiple Customer Profiles
|
169
|
+
# Update (or create) up to 1000 [Customer Profiles][] in 1 request. The `integrationId` may be any identifier that will remain stable for the customer. For example, you might use a database ID, an email, or a phone number as the `integrationId`. It is vital that this ID **not** change over time, so **don't** use any identifier that the customer can update themselves. E.g. if your application allows a customer to update their e-mail address, you should instead use a database ID. [Customer Profiles]: /Getting-Started/entities#customer-profile
|
170
|
+
# @param body
|
171
|
+
# @param [Hash] opts the optional parameters
|
172
|
+
# @option opts [String] :silent If set to 'yes', response will be an empty 204, otherwise a list of the IntegrationStateV2 generated.
|
173
|
+
# @return [MultipleCustomerProfileIntegrationResponseV2]
|
174
|
+
describe 'update_customer_profiles_v2 test' do
|
175
|
+
it 'should work' do
|
176
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
152
180
|
# unit tests for update_customer_session
|
153
|
-
# Update a Customer Session
|
154
|
-
# Update (or create) a [Customer Session][]. For example, the items in a customers cart are part of a session. The Talon.One platform supports multiple simultaneous sessions for the same profile, so if you have multiple ways of accessing the same application you have the option of either tracking multiple independent sessions or using the same session across all of them. You should share sessions when application access points share other state, such as the users cart. If two points of access to the application have independent state (e.g. a user can have different items in their cart across the two) they should use independent customer session ID's. The `profileId` parameter in the request body should correspond to an `integrationId` for a customer profile, to track an anonymous session use the empty string (`\"\"`) as the `profileId`. Note that you do **not** need to create a customer profile first: if the specified profile does not yet exist, an empty profile will be created automatically. Updating a customer profile will return a response with the full integration state. This includes the current state of the customer profile, the customer session, the event that was recorded, and an array of effects that took place. The currency for the session and the cart items in the session is the same as that of the application with which the session is associated. [Customer Session]: /Getting-Started/entities#customer-session
|
181
|
+
# Update a Customer Session V1
|
182
|
+
# ⚠️ Deprecation Notice: Support for requests to this endpoint will end on 15.07.2021. We will not remove the endpoint, and it will still be accessible for you to use. For new features support, please migrate to [API V2.0](/Getting-Started/APIV2). Update (or create) a [Customer Session][]. For example, the items in a customers cart are part of a session. The Talon.One platform supports multiple simultaneous sessions for the same profile, so if you have multiple ways of accessing the same application you have the option of either tracking multiple independent sessions or using the same session across all of them. You should share sessions when application access points share other state, such as the users cart. If two points of access to the application have independent state (e.g. a user can have different items in their cart across the two) they should use independent customer session ID's. The `profileId` parameter in the request body should correspond to an `integrationId` for a customer profile, to track an anonymous session use the empty string (`\"\"`) as the `profileId`. Note that you do **not** need to create a customer profile first: if the specified profile does not yet exist, an empty profile will be created automatically. Updating a customer profile will return a response with the full integration state. This includes the current state of the customer profile, the customer session, the event that was recorded, and an array of effects that took place. The currency for the session and the cart items in the session is the same as that of the application with which the session is associated. [Customer Session]: /Getting-Started/entities#customer-session
|
155
183
|
# @param customer_session_id The custom identifier for this session, must be unique within the account.
|
156
184
|
# @param body
|
157
185
|
# @param [Hash] opts the optional parameters
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -378,6 +378,10 @@ describe 'ManagementApi' do
|
|
378
378
|
# List Application Customers
|
379
379
|
# @param application_id
|
380
380
|
# @param [Hash] opts the optional parameters
|
381
|
+
# @option opts [String] :integration_id Filter results performing an exact matching against the profile integration identifier.
|
382
|
+
# @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
|
383
|
+
# @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
|
384
|
+
# @option opts [Boolean] :with_total_result_size When this flag is set, the result will include the total size of the result, across all pages. This might decrease performance on large data sets. With this flag set to true, hasMore will be be true whenever there is a next page. totalResultSize will always be zero. With this flag set to false, hasMore will always be set to false. totalResultSize will contain the total number of results for this query.
|
381
385
|
# @return [InlineResponse20012]
|
382
386
|
describe 'get_application_customers test' do
|
383
387
|
it 'should work' do
|
@@ -485,10 +489,11 @@ describe 'ManagementApi' do
|
|
485
489
|
# @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
|
486
490
|
# @option opts [String] :profile Profile integration ID filter for sessions. Must be exact match.
|
487
491
|
# @option opts [String] :state Filter by sessions with this state. Must be exact match.
|
492
|
+
# @option opts [DateTime] :created_before Only return events created before this date
|
493
|
+
# @option opts [DateTime] :created_after Only return events created after this date
|
488
494
|
# @option opts [String] :coupon Filter by sessions with this coupon. Must be exact match.
|
489
495
|
# @option opts [String] :referral Filter by sessions with this referral. Must be exact match.
|
490
496
|
# @option opts [String] :integration_id Filter by sessions with this integrationId. Must be exact match.
|
491
|
-
# @option opts [String] :customer_id Filter by integration ID of the customer for the session
|
492
497
|
# @return [InlineResponse20016]
|
493
498
|
describe 'get_application_sessions test' do
|
494
499
|
it 'should work' do
|
@@ -592,6 +597,7 @@ describe 'ManagementApi' do
|
|
592
597
|
# @option opts [String] :tags Filter results performing case-insensitive matching against the tags of the campaign. When used in conjunction with the \"name\" query parameter, a logical OR will be performed to search both tags and name for the provided values
|
593
598
|
# @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign creation timestamp.
|
594
599
|
# @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign creation timestamp.
|
600
|
+
# @option opts [Integer] :campaign_group_id Filter results to campaigns owned by the specified campaign group ID.
|
595
601
|
# @return [InlineResponse2002]
|
596
602
|
describe 'get_campaigns test' do
|
597
603
|
it 'should work' do
|
@@ -799,7 +805,6 @@ describe 'ManagementApi' do
|
|
799
805
|
|
800
806
|
# unit tests for get_customer_profile
|
801
807
|
# Get Customer Profile
|
802
|
-
# @param application_id
|
803
808
|
# @param customer_id
|
804
809
|
# @param [Hash] opts the optional parameters
|
805
810
|
# @return [ApplicationCustomer]
|
@@ -915,6 +920,17 @@ describe 'ManagementApi' do
|
|
915
920
|
end
|
916
921
|
end
|
917
922
|
|
923
|
+
# unit tests for get_loyalty_statistics
|
924
|
+
# Get loyalty program statistics by loyalty program ID
|
925
|
+
# @param program_id
|
926
|
+
# @param [Hash] opts the optional parameters
|
927
|
+
# @return [LoyaltyStatistics]
|
928
|
+
describe 'get_loyalty_statistics test' do
|
929
|
+
it 'should work' do
|
930
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
918
934
|
# unit tests for get_referrals
|
919
935
|
# List Referrals (with total count)
|
920
936
|
# @param application_id
|
data/spec/api_client_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -156,7 +156,7 @@ describe TalonOne::ApiClient do
|
|
156
156
|
end
|
157
157
|
|
158
158
|
it 'fails for invalid collection format' do
|
159
|
-
expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
159
|
+
expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
160
160
|
end
|
161
161
|
end
|
162
162
|
|
data/spec/configuration_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -38,7 +38,13 @@ describe 'AccountAnalytics' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "live_applications"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "sandbox_applications"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
50
|
end
|
@@ -50,25 +56,31 @@ describe 'AccountAnalytics' do
|
|
50
56
|
end
|
51
57
|
end
|
52
58
|
|
53
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "active_campaigns"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
62
|
end
|
57
63
|
end
|
58
64
|
|
59
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "live_active_campaigns"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
68
|
end
|
63
69
|
end
|
64
70
|
|
65
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "coupons"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
74
|
end
|
69
75
|
end
|
70
76
|
|
71
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "active_coupons"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "expired_coupons"' do
|
72
84
|
it 'should work' do
|
73
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
86
|
end
|
@@ -92,6 +104,12 @@ describe 'AccountAnalytics' do
|
|
92
104
|
end
|
93
105
|
end
|
94
106
|
|
107
|
+
describe 'test attribute "active_rules"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
95
113
|
describe 'test attribute "users"' do
|
96
114
|
it 'should work' do
|
97
115
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -104,19 +122,19 @@ describe 'AccountAnalytics' do
|
|
104
122
|
end
|
105
123
|
end
|
106
124
|
|
107
|
-
describe 'test attribute "
|
125
|
+
describe 'test attribute "custom_attributes"' do
|
108
126
|
it 'should work' do
|
109
127
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
128
|
end
|
111
129
|
end
|
112
130
|
|
113
|
-
describe 'test attribute "
|
131
|
+
describe 'test attribute "webhooks"' do
|
114
132
|
it 'should work' do
|
115
133
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
134
|
end
|
117
135
|
end
|
118
136
|
|
119
|
-
describe 'test attribute "
|
137
|
+
describe 'test attribute "loyalty_programs"' do
|
120
138
|
it 'should work' do
|
121
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
140
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -62,37 +62,37 @@ describe 'AccountLimits' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "active_rules"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "live_loyalty_programs"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "sandbox_loyalty_programs"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "webhooks"' do
|
84
84
|
it 'should work' do
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
-
describe 'test attribute "
|
89
|
+
describe 'test attribute "users"' do
|
90
90
|
it 'should work' do
|
91
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
-
describe 'test attribute "
|
95
|
+
describe 'test attribute "api_volume"' do
|
96
96
|
it 'should work' do
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
98
|
end
|
data/spec/models/account_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -62,7 +62,13 @@ describe 'AddLoyaltyPointsEffectProps' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "start_date"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "expiry_date"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
74
|
end
|