talon_one 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +63 -0
- data/Gemfile +7 -0
- data/README.md +423 -0
- data/Rakefile +8 -0
- data/docs/APIError.md +10 -0
- data/docs/AccessLogEntry.md +14 -0
- data/docs/Account.md +25 -0
- data/docs/AccountAnalytics.md +22 -0
- data/docs/AccountEntity.md +8 -0
- data/docs/AccountLimits.md +19 -0
- data/docs/Application.md +21 -0
- data/docs/ApplicationAPIKey.md +14 -0
- data/docs/ApplicationApiHealth.md +9 -0
- data/docs/ApplicationCustomer.md +16 -0
- data/docs/ApplicationCustomerEntity.md +8 -0
- data/docs/ApplicationCustomerSearch.md +10 -0
- data/docs/ApplicationEntity.md +8 -0
- data/docs/ApplicationEvent.md +15 -0
- data/docs/ApplicationSession.md +19 -0
- data/docs/ApplicationSessionEntity.md +8 -0
- data/docs/Attribute.md +18 -0
- data/docs/AttributeQuery.md +7 -0
- data/docs/AttributesMandatory.md +9 -0
- data/docs/AttributesSettings.md +8 -0
- data/docs/BaseSamlConnection.md +15 -0
- data/docs/Binding.md +9 -0
- data/docs/Campaign.md +32 -0
- data/docs/CampaignAnalytics.md +28 -0
- data/docs/CampaignCopy.md +13 -0
- data/docs/CampaignEntity.md +8 -0
- data/docs/CampaignSearch.md +8 -0
- data/docs/CampaignSet.md +11 -0
- data/docs/CampaignSetBranchNode.md +11 -0
- data/docs/CampaignSetLeafNode.md +9 -0
- data/docs/CampaignSetNode.md +8 -0
- data/docs/CartItem.md +19 -0
- data/docs/CartItemAdjustment.md +10 -0
- data/docs/Change.md +13 -0
- data/docs/CodeGeneratorSettings.md +9 -0
- data/docs/Coupon.md +21 -0
- data/docs/CouponConstraints.md +10 -0
- data/docs/CouponRejectionReason.md +10 -0
- data/docs/CouponReservations.md +8 -0
- data/docs/CouponSearch.md +8 -0
- data/docs/CouponValue.md +8 -0
- data/docs/CreateApplicationAPIKey.md +9 -0
- data/docs/CustomerActivityReport.md +20 -0
- data/docs/CustomerAnalytics.md +14 -0
- data/docs/CustomerInventory.md +9 -0
- data/docs/CustomerProfile.md +15 -0
- data/docs/CustomerProfileSearchQuery.md +10 -0
- data/docs/CustomerSession.md +20 -0
- data/docs/EmailEntity.md +8 -0
- data/docs/Entity.md +9 -0
- data/docs/Environment.md +14 -0
- data/docs/ErrorResponse.md +9 -0
- data/docs/ErrorSource.md +11 -0
- data/docs/Event.md +17 -0
- data/docs/EventType.md +19 -0
- data/docs/Export.md +13 -0
- data/docs/FeatureFlag.md +11 -0
- data/docs/FeatureFlags.md +11 -0
- data/docs/FeaturesFeed.md +9 -0
- data/docs/FuncArgDef.md +9 -0
- data/docs/FunctionDef.md +12 -0
- data/docs/Import.md +13 -0
- data/docs/ImportCoupons.md +8 -0
- data/docs/InlineResponse200.md +9 -0
- data/docs/InlineResponse2001.md +9 -0
- data/docs/InlineResponse20010.md +9 -0
- data/docs/InlineResponse20011.md +9 -0
- data/docs/InlineResponse20012.md +9 -0
- data/docs/InlineResponse20013.md +9 -0
- data/docs/InlineResponse20014.md +9 -0
- data/docs/InlineResponse20015.md +9 -0
- data/docs/InlineResponse20016.md +9 -0
- data/docs/InlineResponse20017.md +9 -0
- data/docs/InlineResponse20018.md +9 -0
- data/docs/InlineResponse20019.md +9 -0
- data/docs/InlineResponse2002.md +9 -0
- data/docs/InlineResponse20020.md +9 -0
- data/docs/InlineResponse20021.md +9 -0
- data/docs/InlineResponse20022.md +9 -0
- data/docs/InlineResponse20023.md +9 -0
- data/docs/InlineResponse20024.md +9 -0
- data/docs/InlineResponse20025.md +9 -0
- data/docs/InlineResponse20026.md +10 -0
- data/docs/InlineResponse20027.md +9 -0
- data/docs/InlineResponse20028.md +9 -0
- data/docs/InlineResponse20029.md +9 -0
- data/docs/InlineResponse2003.md +9 -0
- data/docs/InlineResponse2004.md +9 -0
- data/docs/InlineResponse2005.md +9 -0
- data/docs/InlineResponse2006.md +9 -0
- data/docs/InlineResponse2007.md +9 -0
- data/docs/InlineResponse2008.md +9 -0
- data/docs/InlineResponse2009.md +9 -0
- data/docs/IntegrationApi.md +624 -0
- data/docs/IntegrationEntity.md +9 -0
- data/docs/IntegrationEvent.md +10 -0
- data/docs/IntegrationProfileEntity.md +8 -0
- data/docs/IntegrationState.md +12 -0
- data/docs/LedgerEntry.md +17 -0
- data/docs/LibraryAttribute.md +14 -0
- data/docs/LimitConfig.md +10 -0
- data/docs/LoginParams.md +9 -0
- data/docs/Loyalty.md +8 -0
- data/docs/LoyaltyLedger.md +9 -0
- data/docs/LoyaltyLedgerEntry.md +17 -0
- data/docs/LoyaltyMembership.md +9 -0
- data/docs/LoyaltyPoints.md +11 -0
- data/docs/LoyaltyProgram.md +15 -0
- data/docs/LoyaltyProgramBalance.md +8 -0
- data/docs/LoyaltyProgramLedgers.md +11 -0
- data/docs/LoyaltySubLedger.md +10 -0
- data/docs/ManagementApi.md +5138 -0
- data/docs/ManagerConfig.md +8 -0
- data/docs/Meta.md +12 -0
- data/docs/MiscUpdateUserLatestFeature.md +8 -0
- data/docs/MultiApplicationEntity.md +8 -0
- data/docs/MutableEntity.md +8 -0
- data/docs/NewAccount.md +8 -0
- data/docs/NewAccountSignUp.md +10 -0
- data/docs/NewApplication.md +16 -0
- data/docs/NewApplicationAPIKey.md +15 -0
- data/docs/NewAttribute.md +15 -0
- data/docs/NewCampaign.md +19 -0
- data/docs/NewCampaignSet.md +9 -0
- data/docs/NewCoupons.md +16 -0
- data/docs/NewCustomerProfile.md +8 -0
- data/docs/NewCustomerSession.md +15 -0
- data/docs/NewEvent.md +11 -0
- data/docs/NewEventType.md +17 -0
- data/docs/NewFeatureFlags.md +10 -0
- data/docs/NewImport.md +8 -0
- data/docs/NewInvitation.md +11 -0
- data/docs/NewInviteEmail.md +9 -0
- data/docs/NewLoyaltyProgram.md +13 -0
- data/docs/NewPassword.md +9 -0
- data/docs/NewPasswordEmail.md +8 -0
- data/docs/NewReferral.md +12 -0
- data/docs/NewRole.md +11 -0
- data/docs/NewRuleset.md +11 -0
- data/docs/NewSamlConnection.md +16 -0
- data/docs/NewTemplateDef.md +14 -0
- data/docs/NewUser.md +11 -0
- data/docs/NewWebhook.md +15 -0
- data/docs/Notification.md +10 -0
- data/docs/Notifications.md +7 -0
- data/docs/Referral.md +17 -0
- data/docs/ReferralRejectionReason.md +10 -0
- data/docs/Role.md +13 -0
- data/docs/RoleAssign.md +9 -0
- data/docs/RoleMembership.md +9 -0
- data/docs/Rule.md +12 -0
- data/docs/Ruleset.md +16 -0
- data/docs/SamlConnection.md +18 -0
- data/docs/SamlConnectionMetadata.md +11 -0
- data/docs/Session.md +10 -0
- data/docs/SlotDef.md +13 -0
- data/docs/TemplateArgDef.md +11 -0
- data/docs/TemplateDef.md +18 -0
- data/docs/UpdateAccount.md +10 -0
- data/docs/UpdateApplication.md +15 -0
- data/docs/UpdateCampaign.md +19 -0
- data/docs/UpdateCoupon.md +12 -0
- data/docs/UpdateCouponBatch.md +12 -0
- data/docs/UpdateLoyaltyProgram.md +12 -0
- data/docs/UpdateRole.md +11 -0
- data/docs/UpdateUser.md +17 -0
- data/docs/User.md +21 -0
- data/docs/UserEntity.md +8 -0
- data/docs/Webhook.md +18 -0
- data/docs/WebhookActivationLogEntry.md +12 -0
- data/docs/WebhookLogEntry.md +17 -0
- data/git_push.sh +55 -0
- data/lib/talon_one.rb +210 -0
- data/lib/talon_one/api/integration_api.rb +591 -0
- data/lib/talon_one/api/management_api.rb +5593 -0
- data/lib/talon_one/api_client.rb +389 -0
- data/lib/talon_one/api_error.rb +38 -0
- data/lib/talon_one/configuration.rb +223 -0
- data/lib/talon_one/models/access_log_entry.rb +280 -0
- data/lib/talon_one/models/account.rb +462 -0
- data/lib/talon_one/models/account_analytics.rb +399 -0
- data/lib/talon_one/models/account_entity.rb +189 -0
- data/lib/talon_one/models/account_limits.rb +351 -0
- data/lib/talon_one/models/api_error.rb +213 -0
- data/lib/talon_one/models/application.rb +491 -0
- data/lib/talon_one/models/application_api_health.rb +239 -0
- data/lib/talon_one/models/application_api_key.rb +279 -0
- data/lib/talon_one/models/application_customer.rb +307 -0
- data/lib/talon_one/models/application_customer_entity.rb +184 -0
- data/lib/talon_one/models/application_customer_search.rb +206 -0
- data/lib/talon_one/models/application_entity.rb +189 -0
- data/lib/talon_one/models/application_event.rb +287 -0
- data/lib/talon_one/models/application_session.rb +378 -0
- data/lib/talon_one/models/application_session_entity.rb +189 -0
- data/lib/talon_one/models/attribute.rb +382 -0
- data/lib/talon_one/models/attribute_query.rb +174 -0
- data/lib/talon_one/models/attributes_mandatory.rb +199 -0
- data/lib/talon_one/models/attributes_settings.rb +184 -0
- data/lib/talon_one/models/base_saml_connection.rb +336 -0
- data/lib/talon_one/models/binding.rb +206 -0
- data/lib/talon_one/models/campaign.rb +534 -0
- data/lib/talon_one/models/campaign_analytics.rb +489 -0
- data/lib/talon_one/models/campaign_copy.rb +243 -0
- data/lib/talon_one/models/campaign_entity.rb +189 -0
- data/lib/talon_one/models/campaign_search.rb +189 -0
- data/lib/talon_one/models/campaign_set.rb +234 -0
- data/lib/talon_one/models/campaign_set_branch_node.rb +282 -0
- data/lib/talon_one/models/campaign_set_leaf_node.rb +238 -0
- data/lib/talon_one/models/campaign_set_node.rb +188 -0
- data/lib/talon_one/models/cart_item.rb +365 -0
- data/lib/talon_one/models/cart_item_adjustment.rb +248 -0
- data/lib/talon_one/models/change.rb +255 -0
- data/lib/talon_one/models/code_generator_settings.rb +225 -0
- data/lib/talon_one/models/coupon.rb +392 -0
- data/lib/talon_one/models/coupon_constraints.rb +228 -0
- data/lib/talon_one/models/coupon_rejection_reason.rb +251 -0
- data/lib/talon_one/models/coupon_reservations.rb +191 -0
- data/lib/talon_one/models/coupon_search.rb +189 -0
- data/lib/talon_one/models/coupon_value.rb +199 -0
- data/lib/talon_one/models/create_application_api_key.rb +204 -0
- data/lib/talon_one/models/customer_activity_report.rb +365 -0
- data/lib/talon_one/models/customer_analytics.rb +280 -0
- data/lib/talon_one/models/customer_inventory.rb +194 -0
- data/lib/talon_one/models/customer_profile.rb +292 -0
- data/lib/talon_one/models/customer_profile_search_query.rb +206 -0
- data/lib/talon_one/models/customer_session.rb +407 -0
- data/lib/talon_one/models/email_entity.rb +189 -0
- data/lib/talon_one/models/entity.rb +204 -0
- data/lib/talon_one/models/environment.rb +285 -0
- data/lib/talon_one/models/error_response.rb +201 -0
- data/lib/talon_one/models/error_source.rb +215 -0
- data/lib/talon_one/models/event.rb +332 -0
- data/lib/talon_one/models/event_type.rb +426 -0
- data/lib/talon_one/models/export.rb +299 -0
- data/lib/talon_one/models/feature_flag.rb +224 -0
- data/lib/talon_one/models/feature_flags.rb +220 -0
- data/lib/talon_one/models/features_feed.rb +193 -0
- data/lib/talon_one/models/func_arg_def.rb +243 -0
- data/lib/talon_one/models/function_def.rb +260 -0
- data/lib/talon_one/models/import.rb +318 -0
- data/lib/talon_one/models/import_coupons.rb +188 -0
- data/lib/talon_one/models/inline_response_200.rb +204 -0
- data/lib/talon_one/models/inline_response_200_1.rb +204 -0
- data/lib/talon_one/models/inline_response_200_10.rb +204 -0
- data/lib/talon_one/models/inline_response_200_11.rb +204 -0
- data/lib/talon_one/models/inline_response_200_12.rb +204 -0
- data/lib/talon_one/models/inline_response_200_13.rb +204 -0
- data/lib/talon_one/models/inline_response_200_14.rb +204 -0
- data/lib/talon_one/models/inline_response_200_15.rb +204 -0
- data/lib/talon_one/models/inline_response_200_16.rb +204 -0
- data/lib/talon_one/models/inline_response_200_17.rb +204 -0
- data/lib/talon_one/models/inline_response_200_18.rb +204 -0
- data/lib/talon_one/models/inline_response_200_19.rb +204 -0
- data/lib/talon_one/models/inline_response_200_2.rb +204 -0
- data/lib/talon_one/models/inline_response_200_20.rb +204 -0
- data/lib/talon_one/models/inline_response_200_21.rb +204 -0
- data/lib/talon_one/models/inline_response_200_22.rb +204 -0
- data/lib/talon_one/models/inline_response_200_23.rb +204 -0
- data/lib/talon_one/models/inline_response_200_24.rb +204 -0
- data/lib/talon_one/models/inline_response_200_25.rb +204 -0
- data/lib/talon_one/models/inline_response_200_26.rb +208 -0
- data/lib/talon_one/models/inline_response_200_27.rb +204 -0
- data/lib/talon_one/models/inline_response_200_28.rb +204 -0
- data/lib/talon_one/models/inline_response_200_29.rb +204 -0
- data/lib/talon_one/models/inline_response_200_3.rb +204 -0
- data/lib/talon_one/models/inline_response_200_4.rb +204 -0
- data/lib/talon_one/models/inline_response_200_5.rb +204 -0
- data/lib/talon_one/models/inline_response_200_6.rb +204 -0
- data/lib/talon_one/models/inline_response_200_7.rb +204 -0
- data/lib/talon_one/models/inline_response_200_8.rb +204 -0
- data/lib/talon_one/models/inline_response_200_9.rb +204 -0
- data/lib/talon_one/models/integration_entity.rb +204 -0
- data/lib/talon_one/models/integration_event.rb +234 -0
- data/lib/talon_one/models/integration_profile_entity.rb +184 -0
- data/lib/talon_one/models/integration_state.rb +235 -0
- data/lib/talon_one/models/ledger_entry.rb +320 -0
- data/lib/talon_one/models/library_attribute.rb +330 -0
- data/lib/talon_one/models/limit_config.rb +274 -0
- data/lib/talon_one/models/login_params.rb +205 -0
- data/lib/talon_one/models/loyalty.rb +192 -0
- data/lib/talon_one/models/loyalty_ledger.rb +202 -0
- data/lib/talon_one/models/loyalty_ledger_entry.rb +336 -0
- data/lib/talon_one/models/loyalty_membership.rb +199 -0
- data/lib/talon_one/models/loyalty_points.rb +220 -0
- data/lib/talon_one/models/loyalty_program.rb +297 -0
- data/lib/talon_one/models/loyalty_program_balance.rb +189 -0
- data/lib/talon_one/models/loyalty_program_ledgers.rb +232 -0
- data/lib/talon_one/models/loyalty_sub_ledger.rb +213 -0
- data/lib/talon_one/models/manager_config.rb +188 -0
- data/lib/talon_one/models/meta.rb +221 -0
- data/lib/talon_one/models/misc_update_user_latest_feature.rb +183 -0
- data/lib/talon_one/models/multi_application_entity.rb +191 -0
- data/lib/talon_one/models/mutable_entity.rb +189 -0
- data/lib/talon_one/models/new_account.rb +207 -0
- data/lib/talon_one/models/new_account_sign_up.rb +238 -0
- data/lib/talon_one/models/new_application.rb +405 -0
- data/lib/talon_one/models/new_application_api_key.rb +295 -0
- data/lib/talon_one/models/new_attribute.rb +337 -0
- data/lib/talon_one/models/new_campaign.rb +378 -0
- data/lib/talon_one/models/new_campaign_set.rb +204 -0
- data/lib/talon_one/models/new_coupons.rb +334 -0
- data/lib/talon_one/models/new_customer_profile.rb +184 -0
- data/lib/talon_one/models/new_customer_session.rb +295 -0
- data/lib/talon_one/models/new_event.rb +268 -0
- data/lib/talon_one/models/new_event_type.rb +396 -0
- data/lib/talon_one/models/new_feature_flags.rb +204 -0
- data/lib/talon_one/models/new_import.rb +224 -0
- data/lib/talon_one/models/new_invitation.rb +226 -0
- data/lib/talon_one/models/new_invite_email.rb +240 -0
- data/lib/talon_one/models/new_loyalty_program.rb +257 -0
- data/lib/talon_one/models/new_password.rb +222 -0
- data/lib/talon_one/models/new_password_email.rb +207 -0
- data/lib/talon_one/models/new_referral.rb +234 -0
- data/lib/talon_one/models/new_role.rb +232 -0
- data/lib/talon_one/models/new_ruleset.rb +228 -0
- data/lib/talon_one/models/new_saml_connection.rb +371 -0
- data/lib/talon_one/models/new_template_def.rb +308 -0
- data/lib/talon_one/models/new_user.rb +248 -0
- data/lib/talon_one/models/new_webhook.rb +330 -0
- data/lib/talon_one/models/notification.rb +219 -0
- data/lib/talon_one/models/notifications.rb +174 -0
- data/lib/talon_one/models/referral.rb +348 -0
- data/lib/talon_one/models/referral_rejection_reason.rb +251 -0
- data/lib/talon_one/models/role.rb +247 -0
- data/lib/talon_one/models/role_assign.rb +209 -0
- data/lib/talon_one/models/role_membership.rb +204 -0
- data/lib/talon_one/models/rule.rb +245 -0
- data/lib/talon_one/models/ruleset.rb +299 -0
- data/lib/talon_one/models/saml_connection.rb +387 -0
- data/lib/talon_one/models/saml_connection_metadata.rb +271 -0
- data/lib/talon_one/models/session.rb +219 -0
- data/lib/talon_one/models/slot_def.rb +254 -0
- data/lib/talon_one/models/template_arg_def.rb +293 -0
- data/lib/talon_one/models/template_def.rb +398 -0
- data/lib/talon_one/models/update_account.rb +233 -0
- data/lib/talon_one/models/update_application.rb +361 -0
- data/lib/talon_one/models/update_campaign.rb +373 -0
- data/lib/talon_one/models/update_coupon.rb +249 -0
- data/lib/talon_one/models/update_coupon_batch.rb +254 -0
- data/lib/talon_one/models/update_loyalty_program.rb +227 -0
- data/lib/talon_one/models/update_role.rb +216 -0
- data/lib/talon_one/models/update_user.rb +315 -0
- data/lib/talon_one/models/user.rb +400 -0
- data/lib/talon_one/models/user_entity.rb +189 -0
- data/lib/talon_one/models/webhook.rb +375 -0
- data/lib/talon_one/models/webhook_activation_log_entry.rb +250 -0
- data/lib/talon_one/models/webhook_log_entry.rb +305 -0
- data/lib/talon_one/version.rb +15 -0
- data/spec/api/integration_api_spec.rb +161 -0
- data/spec/api/management_api_spec.rb +1318 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/access_log_entry_spec.rb +77 -0
- data/spec/models/account_analytics_spec.rb +125 -0
- data/spec/models/account_entity_spec.rb +41 -0
- data/spec/models/account_limits_spec.rb +107 -0
- data/spec/models/account_spec.rb +147 -0
- data/spec/models/api_error_spec.rb +53 -0
- data/spec/models/application_api_health_spec.rb +51 -0
- data/spec/models/application_api_key_spec.rb +77 -0
- data/spec/models/application_customer_entity_spec.rb +41 -0
- data/spec/models/application_customer_search_spec.rb +53 -0
- data/spec/models/application_customer_spec.rb +89 -0
- data/spec/models/application_entity_spec.rb +41 -0
- data/spec/models/application_event_spec.rb +83 -0
- data/spec/models/application_session_entity_spec.rb +41 -0
- data/spec/models/application_session_spec.rb +111 -0
- data/spec/models/application_spec.rb +123 -0
- data/spec/models/attribute_query_spec.rb +35 -0
- data/spec/models/attribute_spec.rb +109 -0
- data/spec/models/attributes_mandatory_spec.rb +47 -0
- data/spec/models/attributes_settings_spec.rb +41 -0
- data/spec/models/base_saml_connection_spec.rb +83 -0
- data/spec/models/binding_spec.rb +47 -0
- data/spec/models/campaign_analytics_spec.rb +161 -0
- data/spec/models/campaign_copy_spec.rb +71 -0
- data/spec/models/campaign_entity_spec.rb +41 -0
- data/spec/models/campaign_search_spec.rb +41 -0
- data/spec/models/campaign_set_branch_node_spec.rb +67 -0
- data/spec/models/campaign_set_leaf_node_spec.rb +51 -0
- data/spec/models/campaign_set_node_spec.rb +41 -0
- data/spec/models/campaign_set_spec.rb +59 -0
- data/spec/models/campaign_spec.rb +193 -0
- data/spec/models/cart_item_adjustment_spec.rb +53 -0
- data/spec/models/cart_item_spec.rb +107 -0
- data/spec/models/change_spec.rb +71 -0
- data/spec/models/code_generator_settings_spec.rb +47 -0
- data/spec/models/coupon_constraints_spec.rb +53 -0
- data/spec/models/coupon_rejection_reason_spec.rb +57 -0
- data/spec/models/coupon_reservations_spec.rb +41 -0
- data/spec/models/coupon_search_spec.rb +41 -0
- data/spec/models/coupon_spec.rb +119 -0
- data/spec/models/coupon_value_spec.rb +41 -0
- data/spec/models/create_application_api_key_spec.rb +47 -0
- data/spec/models/customer_activity_report_spec.rb +113 -0
- data/spec/models/customer_analytics_spec.rb +77 -0
- data/spec/models/customer_inventory_spec.rb +47 -0
- data/spec/models/customer_profile_search_query_spec.rb +53 -0
- data/spec/models/customer_profile_spec.rb +83 -0
- data/spec/models/customer_session_spec.rb +117 -0
- data/spec/models/email_entity_spec.rb +41 -0
- data/spec/models/entity_spec.rb +47 -0
- data/spec/models/environment_spec.rb +77 -0
- data/spec/models/error_response_spec.rb +47 -0
- data/spec/models/error_source_spec.rb +59 -0
- data/spec/models/event_spec.rb +95 -0
- data/spec/models/event_type_spec.rb +115 -0
- data/spec/models/export_spec.rb +75 -0
- data/spec/models/feature_flag_spec.rb +59 -0
- data/spec/models/feature_flags_spec.rb +59 -0
- data/spec/models/features_feed_spec.rb +47 -0
- data/spec/models/func_arg_def_spec.rb +51 -0
- data/spec/models/function_def_spec.rb +65 -0
- data/spec/models/import_coupons_spec.rb +41 -0
- data/spec/models/import_spec.rb +75 -0
- data/spec/models/inline_response_200_10_spec.rb +47 -0
- data/spec/models/inline_response_200_11_spec.rb +47 -0
- data/spec/models/inline_response_200_12_spec.rb +47 -0
- data/spec/models/inline_response_200_13_spec.rb +47 -0
- data/spec/models/inline_response_200_14_spec.rb +47 -0
- data/spec/models/inline_response_200_15_spec.rb +47 -0
- data/spec/models/inline_response_200_16_spec.rb +47 -0
- data/spec/models/inline_response_200_17_spec.rb +47 -0
- data/spec/models/inline_response_200_18_spec.rb +47 -0
- data/spec/models/inline_response_200_19_spec.rb +47 -0
- data/spec/models/inline_response_200_1_spec.rb +47 -0
- data/spec/models/inline_response_200_20_spec.rb +47 -0
- data/spec/models/inline_response_200_21_spec.rb +47 -0
- data/spec/models/inline_response_200_22_spec.rb +47 -0
- data/spec/models/inline_response_200_23_spec.rb +47 -0
- data/spec/models/inline_response_200_24_spec.rb +47 -0
- data/spec/models/inline_response_200_25_spec.rb +47 -0
- data/spec/models/inline_response_200_26_spec.rb +53 -0
- data/spec/models/inline_response_200_27_spec.rb +47 -0
- data/spec/models/inline_response_200_28_spec.rb +47 -0
- data/spec/models/inline_response_200_29_spec.rb +47 -0
- data/spec/models/inline_response_200_2_spec.rb +47 -0
- data/spec/models/inline_response_200_3_spec.rb +47 -0
- data/spec/models/inline_response_200_4_spec.rb +47 -0
- data/spec/models/inline_response_200_5_spec.rb +47 -0
- data/spec/models/inline_response_200_6_spec.rb +47 -0
- data/spec/models/inline_response_200_7_spec.rb +47 -0
- data/spec/models/inline_response_200_8_spec.rb +47 -0
- data/spec/models/inline_response_200_9_spec.rb +47 -0
- data/spec/models/inline_response_200_spec.rb +47 -0
- data/spec/models/integration_entity_spec.rb +47 -0
- data/spec/models/integration_event_spec.rb +53 -0
- data/spec/models/integration_profile_entity_spec.rb +41 -0
- data/spec/models/integration_state_spec.rb +65 -0
- data/spec/models/ledger_entry_spec.rb +95 -0
- data/spec/models/library_attribute_spec.rb +85 -0
- data/spec/models/limit_config_spec.rb +61 -0
- data/spec/models/login_params_spec.rb +47 -0
- data/spec/models/loyalty_ledger_entry_spec.rb +99 -0
- data/spec/models/loyalty_ledger_spec.rb +47 -0
- data/spec/models/loyalty_membership_spec.rb +47 -0
- data/spec/models/loyalty_points_spec.rb +59 -0
- data/spec/models/loyalty_program_balance_spec.rb +41 -0
- data/spec/models/loyalty_program_ledgers_spec.rb +59 -0
- data/spec/models/loyalty_program_spec.rb +83 -0
- data/spec/models/loyalty_spec.rb +41 -0
- data/spec/models/loyalty_sub_ledger_spec.rb +53 -0
- data/spec/models/manager_config_spec.rb +41 -0
- data/spec/models/meta_spec.rb +65 -0
- data/spec/models/misc_update_user_latest_feature_spec.rb +41 -0
- data/spec/models/multi_application_entity_spec.rb +41 -0
- data/spec/models/mutable_entity_spec.rb +41 -0
- data/spec/models/new_account_sign_up_spec.rb +53 -0
- data/spec/models/new_account_spec.rb +41 -0
- data/spec/models/new_application_api_key_spec.rb +83 -0
- data/spec/models/new_application_spec.rb +93 -0
- data/spec/models/new_attribute_spec.rb +91 -0
- data/spec/models/new_campaign_set_spec.rb +47 -0
- data/spec/models/new_campaign_spec.rb +115 -0
- data/spec/models/new_coupons_spec.rb +89 -0
- data/spec/models/new_customer_profile_spec.rb +41 -0
- data/spec/models/new_customer_session_spec.rb +87 -0
- data/spec/models/new_event_spec.rb +59 -0
- data/spec/models/new_event_type_spec.rb +103 -0
- data/spec/models/new_feature_flags_spec.rb +53 -0
- data/spec/models/new_import_spec.rb +45 -0
- data/spec/models/new_invitation_spec.rb +59 -0
- data/spec/models/new_invite_email_spec.rb +47 -0
- data/spec/models/new_loyalty_program_spec.rb +71 -0
- data/spec/models/new_password_email_spec.rb +41 -0
- data/spec/models/new_password_spec.rb +47 -0
- data/spec/models/new_referral_spec.rb +65 -0
- data/spec/models/new_role_spec.rb +59 -0
- data/spec/models/new_ruleset_spec.rb +59 -0
- data/spec/models/new_saml_connection_spec.rb +89 -0
- data/spec/models/new_template_def_spec.rb +77 -0
- data/spec/models/new_user_spec.rb +59 -0
- data/spec/models/new_webhook_spec.rb +87 -0
- data/spec/models/notification_spec.rb +53 -0
- data/spec/models/notifications_spec.rb +35 -0
- data/spec/models/referral_rejection_reason_spec.rb +57 -0
- data/spec/models/referral_spec.rb +95 -0
- data/spec/models/role_assign_spec.rb +47 -0
- data/spec/models/role_membership_spec.rb +47 -0
- data/spec/models/role_spec.rb +71 -0
- data/spec/models/rule_spec.rb +65 -0
- data/spec/models/ruleset_spec.rb +89 -0
- data/spec/models/saml_connection_metadata_spec.rb +59 -0
- data/spec/models/saml_connection_spec.rb +101 -0
- data/spec/models/session_spec.rb +53 -0
- data/spec/models/slot_def_spec.rb +71 -0
- data/spec/models/template_arg_def_spec.rb +63 -0
- data/spec/models/template_def_spec.rb +101 -0
- data/spec/models/update_account_spec.rb +53 -0
- data/spec/models/update_application_spec.rb +87 -0
- data/spec/models/update_campaign_spec.rb +115 -0
- data/spec/models/update_coupon_batch_spec.rb +65 -0
- data/spec/models/update_coupon_spec.rb +65 -0
- data/spec/models/update_loyalty_program_spec.rb +65 -0
- data/spec/models/update_role_spec.rb +59 -0
- data/spec/models/update_user_spec.rb +99 -0
- data/spec/models/user_entity_spec.rb +41 -0
- data/spec/models/user_spec.rb +123 -0
- data/spec/models/webhook_activation_log_entry_spec.rb +65 -0
- data/spec/models/webhook_log_entry_spec.rb +95 -0
- data/spec/models/webhook_spec.rb +105 -0
- data/spec/spec_helper.rb +111 -0
- data/talon_one-1.0.0.gem +0 -0
- data/talon_one-1.1.0.gem +0 -0
- data/talon_one-1.1.1.gem +0 -0
- data/talon_one-1.1.2.gem +0 -0
- data/talon_one-1.2.0.gem +0 -0
- data/talon_one-1.3.0.gem +0 -0
- data/talon_one.gemspec +45 -0
- metadata +933 -0
data/Rakefile
ADDED
data/docs/APIError.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# TalonOne::APIError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**title** | **String** | Short description of the problem. |
|
7
|
+
**details** | **String** | Longer description of this specific instance of the problem. | [optional]
|
8
|
+
**source** | [**ErrorSource**](ErrorSource.md) | |
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# TalonOne::AccessLogEntry
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**uuid** | **String** | UUID reference of request |
|
7
|
+
**status** | **Integer** | HTTP status code of response |
|
8
|
+
**method** | **String** | HTTP method of request |
|
9
|
+
**request_uri** | **String** | target URI of request |
|
10
|
+
**time** | **DateTime** | timestamp of request |
|
11
|
+
**request_payload** | **String** | payload of request |
|
12
|
+
**response_payload** | **String** | payload of response |
|
13
|
+
|
14
|
+
|
data/docs/Account.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# TalonOne::Account
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | Unique ID for this entity. |
|
7
|
+
**created** | **DateTime** | The exact moment this entity was created. |
|
8
|
+
**modified** | **DateTime** | The exact moment this entity was last modified. |
|
9
|
+
**company_name** | **String** | |
|
10
|
+
**domain_name** | **String** | Subdomain Name for yourcompany.talon.one |
|
11
|
+
**state** | **String** | State of the account (trial, active, trial_expired) |
|
12
|
+
**billing_email** | **String** | The billing email address associated with your company account. |
|
13
|
+
**plan_name** | **String** | The name of your booked plan. | [optional]
|
14
|
+
**plan_expires** | **DateTime** | The point in time at which your current plan expires. | [optional]
|
15
|
+
**application_limit** | **Integer** | The maximum number of Applications covered by your plan. | [optional]
|
16
|
+
**user_limit** | **Integer** | The maximum number of Campaign Manager Users covered by your plan. | [optional]
|
17
|
+
**campaign_limit** | **Integer** | The maximum number of Campaigns covered by your plan. | [optional]
|
18
|
+
**api_limit** | **Integer** | The maximum number of Integration API calls covered by your plan per billing period. | [optional]
|
19
|
+
**application_count** | **Integer** | The current number of Applications in your account. |
|
20
|
+
**user_count** | **Integer** | The current number of Campaign Manager Users in your account. |
|
21
|
+
**campaigns_active_count** | **Integer** | The current number of active Campaigns in your account. |
|
22
|
+
**campaigns_inactive_count** | **Integer** | The current number of inactive Campaigns in your account. |
|
23
|
+
**attributes** | **Object** | Arbitrary properties associated with this campaign | [optional]
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# TalonOne::AccountAnalytics
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**applications** | **Integer** | Total Number of Applications inside the account |
|
7
|
+
**active_campaigns** | **Integer** | Total Number of Active Applications inside the account |
|
8
|
+
**campaigns** | **Integer** | Total Number of campaigns inside the account |
|
9
|
+
**coupons** | **Integer** | Total Number of coupons inside the account |
|
10
|
+
**active_coupons** | **Integer** | Total Number of active coupons inside the account |
|
11
|
+
**expired_coupons** | **Integer** | Total Number of expired coupons inside the account |
|
12
|
+
**custom_attributes** | **Integer** | Total Number of custom attributes inside the account |
|
13
|
+
**referral_codes** | **Integer** | Total Number of referral codes inside the account |
|
14
|
+
**active_referral_codes** | **Integer** | Total Number of active referral codes inside the account |
|
15
|
+
**expired_referral_codes** | **Integer** | Total Number of expired referral codes inside the account |
|
16
|
+
**users** | **Integer** | Total Number of users inside the account |
|
17
|
+
**roles** | **Integer** | Total Number of roles inside the account |
|
18
|
+
**webhooks** | **Integer** | Total Number of webhooks inside the account |
|
19
|
+
**loyalty_programs** | **Integer** | Total Number of loyalty programs inside the account |
|
20
|
+
**active_rules** | **Integer** | Total Number of active rules in the account |
|
21
|
+
|
22
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# TalonOne::AccountLimits
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**live_applications** | **Integer** | Total Number of allowed live applications in the account |
|
7
|
+
**sandbox_applications** | **Integer** | Total Number of allowed sandbox applications in the account |
|
8
|
+
**active_campaigns** | **Integer** | Total Number of allowed active campaigns in the account |
|
9
|
+
**coupons** | **Integer** | Total Number of allowed coupons in the account |
|
10
|
+
**referral_codes** | **Integer** | Total Number of allowed referral codes in the account |
|
11
|
+
**live_loyalty_programs** | **Integer** | Total Number of allowed live loyalty programs in the account |
|
12
|
+
**sandbox_loyalty_programs** | **Integer** | Total Number of allowed sandbox loyalty programs in the account |
|
13
|
+
**webhooks** | **Integer** | Total Number of allowed webhooks in the account |
|
14
|
+
**users** | **Integer** | Total Number of allowed users in the account |
|
15
|
+
**api_volume** | **Integer** | Total allowed api volume |
|
16
|
+
**active_rules** | **Integer** | Total allowed active rulesets | [optional]
|
17
|
+
**promotion_types** | **Array<String>** | array of rulesets where webhook is used |
|
18
|
+
|
19
|
+
|
data/docs/Application.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# TalonOne::Application
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | Unique ID for this entity. |
|
7
|
+
**created** | **DateTime** | The exact moment this entity was created. |
|
8
|
+
**modified** | **DateTime** | The exact moment this entity was last modified. |
|
9
|
+
**account_id** | **Integer** | The ID of the account that owns this entity. |
|
10
|
+
**name** | **String** | The name of this application. |
|
11
|
+
**description** | **String** | A longer description of the application. | [optional]
|
12
|
+
**timezone** | **String** | A string containing an IANA timezone descriptor. |
|
13
|
+
**currency** | **String** | A string describing a default currency for new customer sessions. |
|
14
|
+
**case_sensitivity** | **String** | A string indicating how should campaigns in this application deal with case sensitivity on coupon codes. | [optional]
|
15
|
+
**attributes** | **Object** | Arbitrary properties associated with this campaign | [optional]
|
16
|
+
**limits** | [**Array<LimitConfig>**](LimitConfig.md) | Default limits for campaigns created in this application | [optional]
|
17
|
+
**attributes_settings** | [**AttributesSettings**](AttributesSettings.md) | | [optional]
|
18
|
+
**key** | **String** | Hex key for HMAC-signing API calls as coming from this application (16 hex digits) |
|
19
|
+
**loyalty_programs** | [**Array<LoyaltyProgram>**](LoyaltyProgram.md) | An array containing all the loyalty programs to which this application is subscribed |
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# TalonOne::ApplicationAPIKey
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | ID of the API Key |
|
7
|
+
**created_by** | **Integer** | ID of user who created |
|
8
|
+
**title** | **String** | Title for API Key |
|
9
|
+
**account_id** | **Integer** | ID of account the key is used for |
|
10
|
+
**application_id** | **Integer** | ID of application the key is used for |
|
11
|
+
**created** | **DateTime** | The date the API key was created |
|
12
|
+
**expires** | **DateTime** | The date the API key expired |
|
13
|
+
|
14
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# TalonOne::ApplicationApiHealth
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**summary** | **String** | One-word summary of the health of the API connection of an application |
|
7
|
+
**last_used** | **DateTime** | time of last request relevant to the API health test |
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# TalonOne::ApplicationCustomer
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | Unique ID for this entity. |
|
7
|
+
**created** | **DateTime** | The exact moment this entity was created. The exact moment this entity was created. The exact moment this entity was created. |
|
8
|
+
**integration_id** | **String** | The ID used for this entity in the application system. The ID used for this entity in the application system. |
|
9
|
+
**attributes** | **Object** | Arbitrary properties associated with this item |
|
10
|
+
**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. |
|
11
|
+
**closed_sessions** | **Integer** | The total amount of closed sessions by a customer. A closed session is a successful purchase. |
|
12
|
+
**total_sales** | **Float** | Sum of all purchases made by this customer |
|
13
|
+
**loyalty_memberships** | [**Array<LoyaltyMembership>**](LoyaltyMembership.md) | A list of loyalty programs joined by the customer | [optional]
|
14
|
+
**last_activity** | **DateTime** | Timestamp of the most recent event received from this customer |
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# TalonOne::ApplicationCustomerEntity
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**profile_id** | **Integer** | The globally unique Talon.One ID of the customer that created this entity. | [optional]
|
7
|
+
|
8
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# TalonOne::ApplicationCustomerSearch
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**attributes** | **Object** | Properties to match against a customer profile. All provided attributes will be exactly matched against profile attributes | [optional]
|
7
|
+
**integration_i_ds** | **Array<String>** | | [optional]
|
8
|
+
**profile_i_ds** | **Array<Integer>** | | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# TalonOne::ApplicationEvent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | Unique ID for this entity. |
|
7
|
+
**created** | **DateTime** | The exact moment this entity was created. |
|
8
|
+
**application_id** | **Integer** | The ID of the application that owns this entity. |
|
9
|
+
**profile_id** | **Integer** | The globally unique Talon.One ID of the customer that created this entity. | [optional]
|
10
|
+
**session_id** | **Integer** | The globally unique Talon.One ID of the session that contains this event. | [optional]
|
11
|
+
**type** | **String** | A string representing the event. Must not be a reserved event name. |
|
12
|
+
**attributes** | **Object** | Additional JSON serialized data associated with the event. |
|
13
|
+
**effects** | **Array<Object>** | An array containing the effects that were applied as a result of this event. |
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# TalonOne::ApplicationSession
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | Unique ID for this entity. |
|
7
|
+
**created** | **DateTime** | The exact moment this entity was created. The exact moment this entity was created. |
|
8
|
+
**application_id** | **Integer** | The ID of the application that owns this entity. |
|
9
|
+
**profile_id** | **Integer** | The globally unique Talon.One ID of the customer that created this entity. | [optional]
|
10
|
+
**integration_id** | **String** | The ID used for this entity in the application system. |
|
11
|
+
**coupon** | **String** | Any coupon code entered. |
|
12
|
+
**referral** | **String** | Any referral code entered. |
|
13
|
+
**state** | **String** | Indicating if the customer session is in progress (\"open\"), \"closed\", or \"cancelled\". |
|
14
|
+
**cart_items** | [**Array<CartItem>**](CartItem.md) | Serialized JSON representation. |
|
15
|
+
**discounts** | **Hash<String, Float>** | A map of labelled discount values, in the same currency as the session. |
|
16
|
+
**total** | **Float** | The total sum of the session before any discounts applied. | [optional]
|
17
|
+
**attributes** | **Object** | Arbitrary properties associated with this item | [optional]
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# TalonOne::ApplicationSessionEntity
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**session_id** | **Integer** | The globally unique Talon.One ID of the session where this entity was created. |
|
7
|
+
|
8
|
+
|
data/docs/Attribute.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# TalonOne::Attribute
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | Unique ID for this entity. |
|
7
|
+
**created** | **DateTime** | The exact moment this entity was created. |
|
8
|
+
**account_id** | **Integer** | The ID of the account that owns this entity. |
|
9
|
+
**entity** | **String** | The name of the entity that can have this attribute. When creating or updating the entities of a given type, you can include an `attributes` object with keys corresponding to the `name` of the custom attributes for that type. |
|
10
|
+
**event_type** | **String** | | [optional]
|
11
|
+
**name** | **String** | The attribute name that will be used in API requests and Talang. E.g. if `name == \"region\"` then you would set the region attribute by including an `attributes.region` property in your request payload. |
|
12
|
+
**title** | **String** | The human-readable name for the attribute that will be shown in the Campaign Manager. Like `name`, the combination of entity and title must also be unique. |
|
13
|
+
**type** | **String** | The data type of the attribute, a `time` attribute must be sent as a string that conforms to the [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp format. |
|
14
|
+
**description** | **String** | A description of this attribute. |
|
15
|
+
**suggestions** | **Array<String>** | A list of suggestions for the attribute. |
|
16
|
+
**editable** | **BOOLEAN** | Whether or not this attribute can be edited. |
|
17
|
+
|
18
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# TalonOne::AttributesMandatory
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**campaigns** | **Array<String>** | List of mandatory attributes for campaigns. | [optional]
|
7
|
+
**coupons** | **Array<String>** | List of mandatory attributes for campaigns. | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# TalonOne::BaseSamlConnection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**account_id** | **Integer** | The ID of the account that owns this entity. |
|
7
|
+
**name** | **String** | ID of the SAML service. |
|
8
|
+
**enabled** | **BOOLEAN** | Determines if this SAML connection active. |
|
9
|
+
**issuer** | **String** | Identity Provider Entity ID. |
|
10
|
+
**sign_on_url** | **String** | Single Sign-On URL. |
|
11
|
+
**sign_out_url** | **String** | Single Sign-Out URL. | [optional]
|
12
|
+
**metadata_url** | **String** | Metadata URL. | [optional]
|
13
|
+
**audience_uri** | **String** | The application-defined unique identifier that is the intended audience of the SAML assertion. This is most often the SP Entity ID of your application. When not specified, the ACS URL will be used. | [optional]
|
14
|
+
|
15
|
+
|
data/docs/Binding.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# TalonOne::Binding
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**name** | **String** | A descriptive name for the value to be bound. |
|
7
|
+
**expression** | **Array<Object>** | A Talang expression that will be evaluated and its result attached to the name of the binding. |
|
8
|
+
|
9
|
+
|
data/docs/Campaign.md
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# TalonOne::Campaign
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | Unique ID for this entity. |
|
7
|
+
**created** | **DateTime** | The exact moment this entity was created. |
|
8
|
+
**application_id** | **Integer** | The ID of the application that owns this entity. |
|
9
|
+
**user_id** | **Integer** | The ID of the account that owns this entity. |
|
10
|
+
**name** | **String** | A friendly name for this campaign. |
|
11
|
+
**description** | **String** | A detailed description of the campaign. |
|
12
|
+
**start_time** | **DateTime** | Datetime when the campaign will become active. | [optional]
|
13
|
+
**end_time** | **DateTime** | Datetime when the campaign will become in-active. | [optional]
|
14
|
+
**attributes** | **Object** | Arbitrary properties associated with this campaign | [optional]
|
15
|
+
**state** | **String** | A disabled or archived campaign is not evaluated for rules or coupons. | [default to 'enabled']
|
16
|
+
**active_ruleset_id** | **Integer** | ID of Ruleset this campaign applies on customer session evaluation. | [optional]
|
17
|
+
**tags** | **Array<String>** | A list of tags for the campaign. |
|
18
|
+
**features** | **Array<String>** | A list of features for the campaign. |
|
19
|
+
**coupon_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
|
20
|
+
**referral_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
|
21
|
+
**limits** | [**Array<LimitConfig>**](LimitConfig.md) | The set of limits that will operate for this campaign |
|
22
|
+
**coupon_redemption_count** | **Integer** | Number of coupons redeemed in the campaign. | [optional]
|
23
|
+
**referral_redemption_count** | **Integer** | Number of referral codes redeemed in the campaign. | [optional]
|
24
|
+
**discount_count** | **Integer** | Total amount of discounts redeemed in the campaign. | [optional]
|
25
|
+
**discount_effect_count** | **Integer** | Total number of times discounts were redeemed in this campaign. | [optional]
|
26
|
+
**coupon_creation_count** | **Integer** | Total number of coupons created by rules in this campaign. | [optional]
|
27
|
+
**last_activity** | **DateTime** | Timestamp of the most recent event received by this campaign. | [optional]
|
28
|
+
**updated** | **DateTime** | Timestamp of the most recent update to the campaign or any of its elements. | [optional]
|
29
|
+
**created_by** | **String** | Name of the user who created this campaign if available. | [optional]
|
30
|
+
**updated_by** | **String** | Name of the user who last updated this campaign if available. | [optional]
|
31
|
+
|
32
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# TalonOne::CampaignAnalytics
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**date** | **DateTime** | |
|
7
|
+
**campaign_revenue** | **Float** | Amount of revenue in this campaign (for coupon or discount sessions). |
|
8
|
+
**total_campaign_revenue** | **Float** | Amount of revenue in this campaign since it began (for coupon or discount sessions). |
|
9
|
+
**campaign_refund** | **Float** | Amount of refunds in this campaign (for coupon or discount sessions). |
|
10
|
+
**total_campaign_refund** | **Float** | Amount of refunds in this campaign since it began (for coupon or discount sessions). |
|
11
|
+
**campaign_discount_costs** | **Float** | Amount of cost caused by discounts given in the campaign. |
|
12
|
+
**total_campaign_discount_costs** | **Float** | Amount of cost caused by discounts given in the campaign since it began. |
|
13
|
+
**campaign_refunded_discounts** | **Float** | Amount of discounts rolledback due to refund in the campaign. |
|
14
|
+
**total_campaign_refunded_discounts** | **Float** | Amount of discounts rolledback due to refund in the campaign since it began. |
|
15
|
+
**campaign_free_items** | **Integer** | Amount of free items given in the campaign. |
|
16
|
+
**total_campaign_free_items** | **Integer** | Amount of free items given in the campaign since it began. |
|
17
|
+
**coupon_redemptions** | **Integer** | Number of coupon redemptions in the campaign. |
|
18
|
+
**total_coupon_redemptions** | **Integer** | Number of coupon redemptions in the campaign since it began. |
|
19
|
+
**coupon_rolledback_redemptions** | **Integer** | Number of coupon redemptions that have been rolled back (due to canceling closed session) in the campaign. |
|
20
|
+
**total_coupon_rolledback_redemptions** | **Integer** | Number of coupon redemptions that have been rolled back (due to canceling closed session) in the campaign since it began. |
|
21
|
+
**referral_redemptions** | **Integer** | Number of referral redemptions in the campaign. |
|
22
|
+
**total_referral_redemptions** | **Integer** | Number of referral redemptions in the campaign since it began. |
|
23
|
+
**coupons_created** | **Integer** | Number of coupons created in the campaign by the rule engine. |
|
24
|
+
**total_coupons_created** | **Integer** | Number of coupons created in the campaign by the rule engine since it began. |
|
25
|
+
**referrals_created** | **Integer** | Number of referrals created in the campaign by the rule engine. |
|
26
|
+
**total_referrals_created** | **Integer** | Number of referrals created in the campaign by the rule engine since it began. |
|
27
|
+
|
28
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# TalonOne::CampaignCopy
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**name** | **String** | Name of the copied campaign (Defaults to \"Copy of original campaign name\") | [optional]
|
7
|
+
**application_ids** | **Array<String>** | Application IDs of the applications to which a campaign should be copied to |
|
8
|
+
**description** | **String** | A detailed description of the campaign. | [optional]
|
9
|
+
**start_time** | **DateTime** | Datetime when the campaign will become active. | [optional]
|
10
|
+
**end_time** | **DateTime** | Datetime when the campaign will become in-active. | [optional]
|
11
|
+
**tags** | **Array<String>** | A list of tags for the campaign. | [optional]
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# TalonOne::CampaignSearch
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**attributes** | **Object** | Properties to match against a campaign. All provided attributes will be exactly matched against campaign attributes |
|
7
|
+
|
8
|
+
|
data/docs/CampaignSet.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# TalonOne::CampaignSet
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | Unique ID for this entity. |
|
7
|
+
**created** | **DateTime** | The exact moment this entity was created. |
|
8
|
+
**application_id** | **Integer** | The ID of the application that owns this entity. |
|
9
|
+
**set** | [**CampaignSetBranchNode**](CampaignSetBranchNode.md) | |
|
10
|
+
|
11
|
+
|