talon_one 5.0.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (327) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +77 -17
  3. data/docs/AchievementProgress.md +2 -0
  4. data/docs/AdditionalCampaignProperties.md +3 -1
  5. data/docs/AnalyticsDataPoint.md +19 -0
  6. data/docs/AnalyticsDataPointWithTrend.md +19 -0
  7. data/docs/AnalyticsDataPointWithTrendAndInfluencedRate.md +21 -0
  8. data/docs/AnalyticsDataPointWithTrendAndUplift.md +21 -0
  9. data/docs/Application.md +4 -0
  10. data/docs/ApplicationAnalyticsDataPoint.md +6 -6
  11. data/docs/ApplicationCIF.md +33 -0
  12. data/docs/ApplicationCIFExpression.md +27 -0
  13. data/docs/ApplicationCampaignAnalytics.md +13 -19
  14. data/docs/ApplicationCampaignStats.md +1 -3
  15. data/docs/AsyncCouponDeletionJobResponse.md +17 -0
  16. data/docs/BaseLoyaltyProgram.md +8 -4
  17. data/docs/BaseNotification.md +1 -1
  18. data/docs/BaseNotificationEntity.md +1 -1
  19. data/docs/Campaign.md +15 -1
  20. data/docs/CampaignCollectionEditedNotification.md +21 -0
  21. data/docs/CampaignNotificationPolicy.md +3 -1
  22. data/docs/CampaignStateChangedNotification.md +2 -2
  23. data/docs/CampaignStoreBudget.md +25 -0
  24. data/docs/CampaignVersions.md +27 -0
  25. data/docs/CardAddedDeductedPointsNotificationPolicy.md +19 -0
  26. data/docs/CartItem.md +1 -1
  27. data/docs/CodeGeneratorSettings.md +1 -1
  28. data/docs/Coupon.md +1 -1
  29. data/docs/CouponConstraints.md +1 -1
  30. data/docs/CouponCreationJob.md +1 -1
  31. data/docs/CouponDeletionFilters.md +43 -0
  32. data/docs/CouponDeletionJob.md +39 -0
  33. data/docs/CustomerSessionV2.md +2 -2
  34. data/docs/Effect.md +8 -0
  35. data/docs/EffectEntity.md +9 -1
  36. data/docs/Environment.md +3 -1
  37. data/docs/Event.md +1 -1
  38. data/docs/GenerateCampaignDescription.md +19 -0
  39. data/docs/GenerateCampaignTags.md +17 -0
  40. data/docs/GenerateItemFilterDescription.md +17 -0
  41. data/docs/GenerateLoyaltyCard.md +19 -0
  42. data/docs/GenerateRuleTitle.md +19 -0
  43. data/docs/GenerateRuleTitleRule.md +19 -0
  44. data/docs/IncreaseAchievementProgressEffectProps.md +1 -1
  45. data/docs/IntegrationApi.md +67 -6
  46. data/docs/IntegrationCoupon.md +1 -1
  47. data/docs/InventoryCoupon.md +1 -1
  48. data/docs/InventoryReferral.md +1 -1
  49. data/docs/LoyaltyBalanceWithTier.md +31 -0
  50. data/docs/LoyaltyBalancesWithTiers.md +19 -0
  51. data/docs/LoyaltyCard.md +6 -2
  52. data/docs/LoyaltyCardBatch.md +21 -0
  53. data/docs/LoyaltyCardBatchResponse.md +19 -0
  54. data/docs/LoyaltyProgram.md +14 -6
  55. data/docs/ManagementApi.md +1044 -69
  56. data/docs/MessageLogResponse.md +3 -3
  57. data/docs/NewAppWideCouponDeletionJob.md +19 -0
  58. data/docs/NewApplication.md +3 -1
  59. data/docs/NewApplicationCIF.md +27 -0
  60. data/docs/NewApplicationCIFExpression.md +21 -0
  61. data/docs/NewBaseNotification.md +1 -1
  62. data/docs/NewCouponCreationJob.md +1 -1
  63. data/docs/NewCouponDeletionJob.md +17 -0
  64. data/docs/NewCoupons.md +1 -1
  65. data/docs/NewCouponsForMultipleRecipients.md +1 -1
  66. data/docs/NewCustomerSessionV2.md +2 -2
  67. data/docs/NewLoyaltyProgram.md +8 -4
  68. data/docs/NewOutgoingIntegrationWebhook.md +2 -0
  69. data/docs/NewReferral.md +1 -1
  70. data/docs/NewReferralsForMultipleAdvocates.md +1 -1
  71. data/docs/NewRevisionVersion.md +37 -0
  72. data/docs/NewWebhook.md +2 -0
  73. data/docs/OktaEvent.md +19 -0
  74. data/docs/OktaEventPayload.md +17 -0
  75. data/docs/OktaEventPayloadData.md +17 -0
  76. data/docs/OktaEventTarget.md +21 -0
  77. data/docs/ProjectedTier.md +21 -0
  78. data/docs/Referral.md +1 -1
  79. data/docs/ReferralConstraints.md +1 -1
  80. data/docs/RejectCouponEffectProps.md +3 -1
  81. data/docs/RejectReferralEffectProps.md +3 -1
  82. data/docs/Revision.md +35 -0
  83. data/docs/RevisionActivation.md +17 -0
  84. data/docs/RevisionVersion.md +53 -0
  85. data/docs/RollbackIncreasedAchievementProgressEffectProps.md +27 -0
  86. data/docs/RuleFailureReason.md +5 -1
  87. data/docs/SSOConfig.md +3 -1
  88. data/docs/ScimBaseUser.md +23 -0
  89. data/docs/ScimBaseUserName.md +17 -0
  90. data/docs/ScimNewUser.md +23 -0
  91. data/docs/ScimPatchOperation.md +21 -0
  92. data/docs/ScimPatchRequest.md +19 -0
  93. data/docs/ScimResource.md +21 -0
  94. data/docs/ScimResourceTypesListResponse.md +17 -0
  95. data/docs/ScimSchemaResource.md +23 -0
  96. data/docs/ScimSchemasListResponse.md +21 -0
  97. data/docs/ScimServiceProviderConfigResponse.md +27 -0
  98. data/docs/ScimServiceProviderConfigResponseBulk.md +21 -0
  99. data/docs/ScimServiceProviderConfigResponseChangePassword.md +17 -0
  100. data/docs/ScimServiceProviderConfigResponseFilter.md +19 -0
  101. data/docs/ScimServiceProviderConfigResponsePatch.md +17 -0
  102. data/docs/ScimUser.md +25 -0
  103. data/docs/ScimUsersListResponse.md +21 -0
  104. data/docs/Tier.md +3 -1
  105. data/docs/TransferLoyaltyCard.md +3 -1
  106. data/docs/UpdateApplication.md +5 -1
  107. data/docs/UpdateApplicationCIF.md +23 -0
  108. data/docs/UpdateCampaign.md +1 -1
  109. data/docs/UpdateCoupon.md +1 -1
  110. data/docs/UpdateCouponBatch.md +1 -1
  111. data/docs/UpdateLoyaltyCard.md +4 -2
  112. data/docs/UpdateLoyaltyProgram.md +8 -4
  113. data/docs/UpdateReferral.md +1 -1
  114. data/docs/UpdateReferralBatch.md +1 -1
  115. data/docs/User.md +3 -1
  116. data/docs/Webhook.md +2 -0
  117. data/docs/WebhookWithOutgoingIntegrationDetails.md +2 -0
  118. data/lib/talon_one/api/integration_api.rb +83 -7
  119. data/lib/talon_one/api/management_api.rb +1127 -78
  120. data/lib/talon_one/models/achievement_progress.rb +16 -1
  121. data/lib/talon_one/models/additional_campaign_properties.rb +21 -6
  122. data/lib/talon_one/models/analytics_data_point.rb +225 -0
  123. data/lib/talon_one/models/analytics_data_point_with_trend.rb +225 -0
  124. data/lib/talon_one/models/analytics_data_point_with_trend_and_influenced_rate.rb +239 -0
  125. data/lib/talon_one/models/analytics_data_point_with_trend_and_uplift.rb +239 -0
  126. data/lib/talon_one/models/application.rb +21 -1
  127. data/lib/talon_one/models/application_analytics_data_point.rb +14 -4
  128. data/lib/talon_one/models/application_campaign_analytics.rb +39 -41
  129. data/lib/talon_one/models/application_campaign_stats.rb +1 -16
  130. data/lib/talon_one/models/application_cif.rb +308 -0
  131. data/lib/talon_one/models/application_cif_expression.rb +275 -0
  132. data/lib/talon_one/models/async_coupon_deletion_job_response.rb +213 -0
  133. data/lib/talon_one/models/attribute.rb +2 -2
  134. data/lib/talon_one/models/base_loyalty_program.rb +44 -25
  135. data/lib/talon_one/models/base_notification.rb +3 -2
  136. data/lib/talon_one/models/base_notification_entity.rb +1 -0
  137. data/lib/talon_one/models/campaign.rb +83 -6
  138. data/lib/talon_one/models/campaign_collection_edited_notification.rb +235 -0
  139. data/lib/talon_one/models/campaign_notification_policy.rb +16 -4
  140. data/lib/talon_one/models/campaign_state_changed_notification.rb +2 -2
  141. data/lib/talon_one/models/campaign_store_budget.rb +275 -0
  142. data/lib/talon_one/models/campaign_versions.rb +259 -0
  143. data/lib/talon_one/models/card_added_deducted_points_notification_policy.rb +269 -0
  144. data/lib/talon_one/models/cart_item.rb +1 -1
  145. data/lib/talon_one/models/code_generator_settings.rb +1 -1
  146. data/lib/talon_one/models/coupon.rb +1 -1
  147. data/lib/talon_one/models/coupon_constraints.rb +1 -1
  148. data/lib/talon_one/models/coupon_creation_job.rb +1 -1
  149. data/lib/talon_one/models/coupon_deletion_filters.rb +375 -0
  150. data/lib/talon_one/models/coupon_deletion_job.rb +370 -0
  151. data/lib/talon_one/models/customer_session_v2.rb +2 -2
  152. data/lib/talon_one/models/effect.rb +41 -1
  153. data/lib/talon_one/models/effect_entity.rb +44 -4
  154. data/lib/talon_one/models/environment.rb +16 -4
  155. data/lib/talon_one/models/event.rb +0 -5
  156. data/lib/talon_one/models/generate_campaign_description.rb +227 -0
  157. data/lib/talon_one/models/generate_campaign_tags.rb +212 -0
  158. data/lib/talon_one/models/generate_item_filter_description.rb +214 -0
  159. data/lib/talon_one/models/generate_loyalty_card.rb +256 -0
  160. data/lib/talon_one/models/generate_rule_title.rb +226 -0
  161. data/lib/talon_one/models/generate_rule_title_rule.rb +221 -0
  162. data/lib/talon_one/models/increase_achievement_progress_effect_props.rb +1 -1
  163. data/lib/talon_one/models/integration_coupon.rb +1 -1
  164. data/lib/talon_one/models/inventory_coupon.rb +1 -1
  165. data/lib/talon_one/models/inventory_referral.rb +1 -1
  166. data/lib/talon_one/models/loyalty_balance_with_tier.rb +276 -0
  167. data/lib/talon_one/models/loyalty_balances_with_tiers.rb +219 -0
  168. data/lib/talon_one/models/loyalty_card.rb +25 -5
  169. data/lib/talon_one/models/loyalty_card_batch.rb +304 -0
  170. data/lib/talon_one/models/loyalty_card_batch_response.rb +227 -0
  171. data/lib/talon_one/models/loyalty_program.rb +70 -29
  172. data/lib/talon_one/models/message_log_response.rb +3 -22
  173. data/lib/talon_one/models/new_app_wide_coupon_deletion_job.rb +227 -0
  174. data/lib/talon_one/models/new_application.rb +14 -4
  175. data/lib/talon_one/models/new_application_cif.rb +262 -0
  176. data/lib/talon_one/models/new_application_cif_expression.rb +229 -0
  177. data/lib/talon_one/models/new_attribute.rb +2 -2
  178. data/lib/talon_one/models/new_base_notification.rb +1 -0
  179. data/lib/talon_one/models/new_coupon_creation_job.rb +1 -1
  180. data/lib/talon_one/models/new_coupon_deletion_job.rb +211 -0
  181. data/lib/talon_one/models/new_coupons.rb +1 -1
  182. data/lib/talon_one/models/new_coupons_for_multiple_recipients.rb +1 -1
  183. data/lib/talon_one/models/new_customer_session_v2.rb +2 -2
  184. data/lib/talon_one/models/new_loyalty_program.rb +44 -25
  185. data/lib/talon_one/models/new_notification_test.rb +2 -2
  186. data/lib/talon_one/models/new_outgoing_integration_webhook.rb +11 -1
  187. data/lib/talon_one/models/new_referral.rb +1 -1
  188. data/lib/talon_one/models/new_referrals_for_multiple_advocates.rb +1 -1
  189. data/lib/talon_one/models/new_revision_version.rb +352 -0
  190. data/lib/talon_one/models/new_webhook.rb +11 -1
  191. data/lib/talon_one/models/okta_event.rb +229 -0
  192. data/lib/talon_one/models/okta_event_payload.rb +212 -0
  193. data/lib/talon_one/models/okta_event_payload_data.rb +214 -0
  194. data/lib/talon_one/models/okta_event_target.rb +243 -0
  195. data/lib/talon_one/models/projected_tier.rb +232 -0
  196. data/lib/talon_one/models/referral.rb +1 -1
  197. data/lib/talon_one/models/referral_constraints.rb +1 -1
  198. data/lib/talon_one/models/reject_coupon_effect_props.rb +14 -4
  199. data/lib/talon_one/models/reject_referral_effect_props.rb +14 -4
  200. data/lib/talon_one/models/revision.rb +319 -0
  201. data/lib/talon_one/models/revision_activation.rb +206 -0
  202. data/lib/talon_one/models/revision_version.rb +466 -0
  203. data/lib/talon_one/models/rollback_increased_achievement_progress_effect_props.rb +288 -0
  204. data/lib/talon_one/models/rule_failure_reason.rb +24 -4
  205. data/lib/talon_one/models/scim_base_user.rb +237 -0
  206. data/lib/talon_one/models/scim_base_user_name.rb +208 -0
  207. data/lib/talon_one/models/scim_new_user.rb +237 -0
  208. data/lib/talon_one/models/scim_patch_operation.rb +267 -0
  209. data/lib/talon_one/models/scim_patch_request.rb +226 -0
  210. data/lib/talon_one/models/scim_resource.rb +228 -0
  211. data/lib/talon_one/models/scim_resource_types_list_response.rb +214 -0
  212. data/lib/talon_one/models/scim_schema_resource.rb +239 -0
  213. data/lib/talon_one/models/scim_schemas_list_response.rb +236 -0
  214. data/lib/talon_one/models/scim_service_provider_config_response.rb +256 -0
  215. data/lib/talon_one/models/scim_service_provider_config_response_bulk.rb +228 -0
  216. data/lib/talon_one/models/scim_service_provider_config_response_change_password.rb +208 -0
  217. data/lib/talon_one/models/scim_service_provider_config_response_filter.rb +218 -0
  218. data/lib/talon_one/models/scim_service_provider_config_response_patch.rb +208 -0
  219. data/lib/talon_one/models/scim_user.rb +252 -0
  220. data/lib/talon_one/models/scim_users_list_response.rb +236 -0
  221. data/lib/talon_one/models/sso_config.rb +14 -4
  222. data/lib/talon_one/models/tier.rb +12 -2
  223. data/lib/talon_one/models/transfer_loyalty_card.rb +14 -4
  224. data/lib/talon_one/models/update_application.rb +24 -4
  225. data/lib/talon_one/models/update_application_cif.rb +237 -0
  226. data/lib/talon_one/models/update_campaign.rb +1 -1
  227. data/lib/talon_one/models/update_coupon.rb +1 -1
  228. data/lib/talon_one/models/update_coupon_batch.rb +1 -1
  229. data/lib/talon_one/models/update_loyalty_card.rb +15 -5
  230. data/lib/talon_one/models/update_loyalty_program.rb +44 -25
  231. data/lib/talon_one/models/update_referral.rb +1 -1
  232. data/lib/talon_one/models/update_referral_batch.rb +1 -1
  233. data/lib/talon_one/models/user.rb +14 -4
  234. data/lib/talon_one/models/webhook.rb +11 -1
  235. data/lib/talon_one/models/webhook_with_outgoing_integration_details.rb +11 -1
  236. data/lib/talon_one/version.rb +1 -1
  237. data/lib/talon_one.rb +54 -11
  238. data/spec/api/integration_api_spec.rb +18 -3
  239. data/spec/api/management_api_spec.rb +227 -23
  240. data/spec/models/achievement_progress_spec.rb +6 -0
  241. data/spec/models/additional_campaign_properties_spec.rb +7 -1
  242. data/spec/models/analytics_data_point_spec.rb +47 -0
  243. data/spec/models/analytics_data_point_with_trend_and_influenced_rate_spec.rb +53 -0
  244. data/spec/models/analytics_data_point_with_trend_and_uplift_spec.rb +53 -0
  245. data/spec/models/analytics_data_point_with_trend_spec.rb +47 -0
  246. data/spec/models/application_campaign_analytics_spec.rb +1 -19
  247. data/spec/models/application_campaign_stats_spec.rb +0 -6
  248. data/spec/models/application_cif_expression_spec.rb +71 -0
  249. data/spec/models/application_cif_spec.rb +89 -0
  250. data/spec/models/application_spec.rb +12 -0
  251. data/spec/models/async_coupon_deletion_job_response_spec.rb +41 -0
  252. data/spec/models/attribute_spec.rb +1 -1
  253. data/spec/models/base_loyalty_program_spec.rb +18 -6
  254. data/spec/models/base_notification_spec.rb +1 -1
  255. data/spec/models/campaign_collection_edited_notification_spec.rb +53 -0
  256. data/spec/models/campaign_notification_policy_spec.rb +6 -0
  257. data/spec/models/campaign_spec.rb +43 -1
  258. data/spec/models/campaign_store_budget_spec.rb +65 -0
  259. data/spec/models/campaign_versions_spec.rb +71 -0
  260. data/spec/models/card_added_deducted_points_notification_policy_spec.rb +51 -0
  261. data/spec/models/coupon_deletion_filters_spec.rb +123 -0
  262. data/spec/models/coupon_deletion_job_spec.rb +107 -0
  263. data/spec/models/effect_entity_spec.rb +24 -0
  264. data/spec/models/effect_spec.rb +24 -0
  265. data/spec/models/environment_spec.rb +6 -0
  266. data/spec/models/generate_campaign_description_spec.rb +47 -0
  267. data/spec/models/generate_campaign_tags_spec.rb +41 -0
  268. data/spec/models/generate_item_filter_description_spec.rb +41 -0
  269. data/spec/models/generate_loyalty_card_spec.rb +51 -0
  270. data/spec/models/generate_rule_title_rule_spec.rb +47 -0
  271. data/spec/models/generate_rule_title_spec.rb +47 -0
  272. data/spec/models/loyalty_balance_with_tier_spec.rb +83 -0
  273. data/spec/models/loyalty_balances_with_tiers_spec.rb +47 -0
  274. data/spec/models/loyalty_card_batch_response_spec.rb +47 -0
  275. data/spec/models/loyalty_card_batch_spec.rb +57 -0
  276. data/spec/models/loyalty_card_spec.rb +12 -0
  277. data/spec/models/loyalty_program_spec.rb +30 -6
  278. data/spec/models/new_app_wide_coupon_deletion_job_spec.rb +47 -0
  279. data/spec/models/new_application_cif_expression_spec.rb +53 -0
  280. data/spec/models/new_application_cif_spec.rb +71 -0
  281. data/spec/models/new_application_spec.rb +6 -0
  282. data/spec/models/new_attribute_spec.rb +1 -1
  283. data/spec/models/new_coupon_deletion_job_spec.rb +41 -0
  284. data/spec/models/new_loyalty_program_spec.rb +18 -6
  285. data/spec/models/new_notification_test_spec.rb +1 -1
  286. data/spec/models/new_outgoing_integration_webhook_spec.rb +6 -0
  287. data/spec/models/new_revision_version_spec.rb +105 -0
  288. data/spec/models/new_webhook_spec.rb +6 -0
  289. data/spec/models/okta_event_payload_data_spec.rb +41 -0
  290. data/spec/models/okta_event_payload_spec.rb +41 -0
  291. data/spec/models/okta_event_spec.rb +47 -0
  292. data/spec/models/okta_event_target_spec.rb +53 -0
  293. data/spec/models/projected_tier_spec.rb +53 -0
  294. data/spec/models/reject_coupon_effect_props_spec.rb +6 -0
  295. data/spec/models/reject_referral_effect_props_spec.rb +6 -0
  296. data/spec/models/revision_activation_spec.rb +41 -0
  297. data/spec/models/revision_spec.rb +95 -0
  298. data/spec/models/revision_version_spec.rb +153 -0
  299. data/spec/models/rollback_increased_achievement_progress_effect_props_spec.rb +71 -0
  300. data/spec/models/rule_failure_reason_spec.rb +12 -0
  301. data/spec/models/scim_base_user_name_spec.rb +41 -0
  302. data/spec/models/scim_base_user_spec.rb +59 -0
  303. data/spec/models/scim_new_user_spec.rb +59 -0
  304. data/spec/models/scim_patch_operation_spec.rb +57 -0
  305. data/spec/models/scim_patch_request_spec.rb +47 -0
  306. data/spec/models/scim_resource_spec.rb +53 -0
  307. data/spec/models/scim_resource_types_list_response_spec.rb +41 -0
  308. data/spec/models/scim_schema_resource_spec.rb +59 -0
  309. data/spec/models/scim_schemas_list_response_spec.rb +53 -0
  310. data/spec/models/scim_service_provider_config_response_bulk_spec.rb +53 -0
  311. data/spec/models/scim_service_provider_config_response_change_password_spec.rb +41 -0
  312. data/spec/models/scim_service_provider_config_response_filter_spec.rb +47 -0
  313. data/spec/models/scim_service_provider_config_response_patch_spec.rb +41 -0
  314. data/spec/models/scim_service_provider_config_response_spec.rb +71 -0
  315. data/spec/models/scim_user_spec.rb +65 -0
  316. data/spec/models/scim_users_list_response_spec.rb +53 -0
  317. data/spec/models/sso_config_spec.rb +6 -0
  318. data/spec/models/tier_spec.rb +6 -0
  319. data/spec/models/transfer_loyalty_card_spec.rb +6 -0
  320. data/spec/models/update_application_cif_spec.rb +59 -0
  321. data/spec/models/update_application_spec.rb +12 -0
  322. data/spec/models/update_loyalty_card_spec.rb +6 -0
  323. data/spec/models/update_loyalty_program_spec.rb +18 -6
  324. data/spec/models/user_spec.rb +6 -0
  325. data/spec/models/webhook_spec.rb +6 -0
  326. data/spec/models/webhook_with_outgoing_integration_details_spec.rb +6 -0
  327. metadata +219 -3
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **created_at** | **DateTime** | Timestamp when the response was received. |
8
- **response** | **String** | Raw response data. |
9
- **status** | **Integer** | HTTP status code of the response. |
7
+ **created_at** | **DateTime** | Timestamp when the response was received. | [optional]
8
+ **response** | **String** | Raw response data. | [optional]
9
+ **status** | **Integer** | HTTP status code of the response. | [optional]
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -0,0 +1,19 @@
1
+ # TalonOne::NewAppWideCouponDeletionJob
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **filters** | [**CouponDeletionFilters**](CouponDeletionFilters.md) | |
8
+ **campaignids** | **Array<Integer>** | |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'TalonOne'
14
+
15
+ instance = TalonOne::NewAppWideCouponDeletionJob.new(filters: null,
16
+ campaignids: null)
17
+ ```
18
+
19
+
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
19
19
  **enable_partial_discounts** | **Boolean** | Indicates if this Application supports partial discounts. | [optional]
20
20
  **default_discount_additional_cost_per_item_scope** | **String** | The default scope to apply `setDiscountPerItem` effects on if no scope was provided with the effect. | [optional]
21
21
  **key** | **String** | Hex key for HMAC-signing API calls as coming from this application (16 hex digits). | [optional]
22
+ **enable_campaign_state_management** | **Boolean** | Indicates whether the campaign staging and revisions feature is enabled for the Application. **Important:** After this feature is enabled, it cannot be disabled. | [optional]
22
23
 
23
24
  ## Code Sample
24
25
 
@@ -39,7 +40,8 @@ instance = TalonOne::NewApplication.new(name: My Application,
39
40
  sandbox: null,
40
41
  enable_partial_discounts: false,
41
42
  default_discount_additional_cost_per_item_scope: null,
42
- key: null)
43
+ key: null,
44
+ enable_campaign_state_management: false)
43
45
  ```
44
46
 
45
47
 
@@ -0,0 +1,27 @@
1
+ # TalonOne::NewApplicationCIF
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The name of the Application cart item filter used in API requests. |
8
+ **description** | **String** | A short description of the Application cart item filter. | [optional]
9
+ **active_expression_id** | **Integer** | The ID of the expression that the Application cart item filter uses. | [optional]
10
+ **modified_by** | **Integer** | The ID of the user who last updated the Application cart item filter. | [optional]
11
+ **created_by** | **Integer** | The ID of the user who created the Application cart item filter. | [optional]
12
+ **modified** | **DateTime** | Timestamp of the most recent update to the Application cart item filter. | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'TalonOne'
18
+
19
+ instance = TalonOne::NewApplicationCIF.new(name: Filter items by product,
20
+ description: This filter allows filtering by shoes,
21
+ active_expression_id: 1,
22
+ modified_by: 334,
23
+ created_by: 216,
24
+ modified: null)
25
+ ```
26
+
27
+
@@ -0,0 +1,21 @@
1
+ # TalonOne::NewApplicationCIFExpression
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **cart_item_filter_id** | **Integer** | The ID of the Application cart item filter. | [optional]
8
+ **created_by** | **Integer** | The ID of the user who created the Application cart item filter. | [optional]
9
+ **expression** | **Array<Object>** | Arbitrary additional JSON data associated with the Application cart item filter. | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TalonOne'
15
+
16
+ instance = TalonOne::NewApplicationCIFExpression.new(cart_item_filter_id: 216,
17
+ created_by: 216,
18
+ expression: {expr=[filter, [., Session, CartItems], [[Item], [catch, false, [=, [., Item, Category], Kitchen]]]]})
19
+ ```
20
+
21
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **policy** | [**Object**](.md) | |
7
+ **policy** | [**Object**](.md) | Indicates which notification properties to apply. |
8
8
  **enabled** | **Boolean** | Indicates whether the notification is activated. | [optional] [default to true]
9
9
  **webhook** | [**NewNotificationWebhook**](NewNotificationWebhook.md) | |
10
10
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **discount_limit** | **Float** | The total discount value that the code can give. Typically used to represent a gift card value. | [optional]
9
9
  **reservation_limit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional]
10
10
  **start_date** | **DateTime** | Timestamp at which point the coupon becomes valid. | [optional]
11
- **expiry_date** | **DateTime** | Expiration date of the coupon. Coupon never expires if this is omitted, zero, or negative. | [optional]
11
+ **expiry_date** | **DateTime** | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional]
12
12
  **number_of_coupons** | **Integer** | The number of new coupon codes to generate for the campaign. |
13
13
  **coupon_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
14
14
  **attributes** | [**Object**](.md) | Arbitrary properties associated with coupons. |
@@ -0,0 +1,17 @@
1
+ # TalonOne::NewCouponDeletionJob
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **filters** | [**CouponDeletionFilters**](CouponDeletionFilters.md) | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TalonOne'
13
+
14
+ instance = TalonOne::NewCouponDeletionJob.new(filters: null)
15
+ ```
16
+
17
+
data/docs/NewCoupons.md CHANGED
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **discount_limit** | **Float** | The total discount value that the code can give. Typically used to represent a gift card value. | [optional]
9
9
  **reservation_limit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional]
10
10
  **start_date** | **DateTime** | Timestamp at which point the coupon becomes valid. | [optional]
11
- **expiry_date** | **DateTime** | Expiration date of the coupon. Coupon never expires if this is omitted, zero, or negative. | [optional]
11
+ **expiry_date** | **DateTime** | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional]
12
12
  **limits** | [**Array<LimitConfig>**](LimitConfig.md) | Limits configuration for a coupon. These limits will override the limits set from the campaign. **Note:** Only usable when creating a single coupon which is not tied to a specific recipient. Only per-profile limits are allowed to be configured. | [optional]
13
13
  **number_of_coupons** | **Integer** | The number of new coupon codes to generate for the campaign. Must be at least 1. |
14
14
  **unique_prefix** | **String** | **DEPRECATED** To create more than 20,000 coupons in one request, use [Create coupons asynchronously](https://docs.talon.one/management-api#operation/createCouponsAsync) endpoint. | [optional]
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **discount_limit** | **Float** | The total discount value that the code can give. Typically used to represent a gift card value. | [optional]
9
9
  **reservation_limit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional]
10
10
  **start_date** | **DateTime** | Timestamp at which point the coupon becomes valid. | [optional]
11
- **expiry_date** | **DateTime** | Expiration date of the coupon. Coupon never expires if this is omitted, zero, or negative. | [optional]
11
+ **expiry_date** | **DateTime** | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional]
12
12
  **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional]
13
13
  **recipients_integration_ids** | **Array<String>** | The integration IDs for recipients. |
14
14
  **valid_characters** | **Array<String>** | List of characters used to generate the random parts of a code. By default, the list of characters is equivalent to the `[A-Z, 0-9]` regular expression. | [optional]
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **profile_id** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | [optional]
8
8
  **store_integration_id** | **String** | The integration ID of the store. You choose this ID when you create a store. | [optional]
9
9
  **evaluable_campaign_ids** | **Array<Integer>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional]
10
- **coupon_codes** | **Array<String>** | Any coupon codes entered. **Important**: If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. | [optional]
11
- **referral_code** | **String** | Any referral code entered. **Important**: If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. | [optional]
10
+ **coupon_codes** | **Array<String>** | Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. | [optional]
11
+ **referral_code** | **String** | Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. | [optional]
12
12
  **loyalty_cards** | **Array<String>** | Identifier of a loyalty card. | [optional]
13
13
  **state** | **String** | Indicates the current state of the session. Sessions can be created as `open` or `closed`. The state transitions are: 1. `open` → `closed` 2. `open` → `cancelled` 3. Either: - `closed` → `cancelled` (**only** via [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)) or - `closed` → `partially_returned` (**only** via [Return cart items](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/returnCartItems)) - `closed` → `open` (**only** via [Reopen customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/reopenCustomerSession)) 4. `partially_returned` → `cancelled` For more information, see [Customer session states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). | [optional] [default to 'open']
14
14
  **cart_items** | [**Array<CartItem>**](CartItem.md) | The items to add to this session. **Do not exceed 1000 items** and ensure the sum of all cart item's `quantity` **does not exceed 10.000** per request. | [optional]
@@ -12,10 +12,12 @@ Name | Type | Description | Notes
12
12
  **allow_subledger** | **Boolean** | Indicates if this program supports subledgers inside the program. |
13
13
  **users_per_card_limit** | **Integer** | The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. | [optional]
14
14
  **sandbox** | **Boolean** | Indicates if this program is a live or sandbox program. Programs of a given type can only be connected to Applications of the same type. |
15
- **tiers_expiration_policy** | **String** | The policy that defines which date is used to calculate the expiration date of a customer's current tier. - `tier_start_date`: The tier expiration date is calculated based on when the customer joined the current tier. - `program_join_date`: The tier expiration date is calculated based on when the customer joined the loyalty program. | [optional]
16
- **tiers_expire_in** | **String** | The amount of time after which the tier expires. The time format is an **integer** followed by one letter indicating the time unit. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can round certain units up or down: - `_D` for rounding down days only. Signifies the start of the day. - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. | [optional]
17
- **tiers_downgrade_policy** | **String** | Customers's tier downgrade policy. - `one_down`: Once the tier expires and if the user doesn't have enough points to stay in the tier, the user is downgraded one tier down. - `balance_based`: Once the tier expires, the user's tier is evaluated based on the amount of active points the user has at this instant. | [optional]
18
15
  **program_join_policy** | **String** | The policy that defines when the customer joins the loyalty program. - `not_join`: The customer does not join the loyalty program but can still earn and spend loyalty points. **Note**: The customer does not have a program join date. - `points_activated`: The customer joins the loyalty program only when their earned loyalty points become active for the first time. - `points_earned`: The customer joins the loyalty program when they earn loyalty points for the first time. | [optional]
16
+ **tiers_expiration_policy** | **String** | The policy that defines how tier expiration, used to reevaluate the customer's current tier, is determined. - `tier_start_date`: The tier expiration is relative to when the customer joined the current tier. - `program_join_date`: The tier expiration is relative to when the customer joined the loyalty program. - `customer_attribute`: The tier expiration is determined by a custom customer attribute. - `absolute_expiration`: The tier is reevaluated at the start of each tier cycle. For this policy, it is required to provide a `tierCycleStartDate`. | [optional]
17
+ **tier_cycle_start_date** | **DateTime** | Timestamp at which the tier cycle starts for all customers in the loyalty program. **Note**: This is only required when the tier expiration policy is set to `absolute_expiration`. | [optional]
18
+ **tiers_expire_in** | **String** | The amount of time after which the tier expires and is reevaluated. The time format is an **integer** followed by one letter indicating the time unit. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can round certain units up or down: - `_D` for rounding down days only. Signifies the start of the day. - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. | [optional]
19
+ **tiers_downgrade_policy** | **String** | The policy that defines how customer tiers are downgraded in the loyalty program after tier reevaluation. - `one_down`: If the customer doesn't have enough points to stay in the current tier, they are downgraded by one tier. - `balance_based`: The customer's tier is reevaluated based on the amount of active points they have at the moment. | [optional]
20
+ **card_code_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
19
21
  **name** | **String** | The internal name for the Loyalty Program. This is an immutable value. |
20
22
  **tiers** | [**Array<NewLoyaltyTier>**](NewLoyaltyTier.md) | The tiers in this loyalty program. | [optional]
21
23
  **timezone** | **String** | A string containing an IANA timezone descriptor. |
@@ -34,10 +36,12 @@ instance = TalonOne::NewLoyaltyProgram.new(title: Point collection,
34
36
  allow_subledger: false,
35
37
  users_per_card_limit: 111,
36
38
  sandbox: true,
39
+ program_join_policy: null,
37
40
  tiers_expiration_policy: null,
41
+ tier_cycle_start_date: 2021-09-12T10:12:42Z,
38
42
  tiers_expire_in: 27W_U,
39
43
  tiers_downgrade_policy: null,
40
- program_join_policy: null,
44
+ card_code_settings: null,
41
45
  name: GeneralPointCollection,
42
46
  tiers: null,
43
47
  timezone: null,
@@ -5,6 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **title** | **String** | Webhook title. |
8
+ **description** | **String** | A description of the webhook. | [optional]
8
9
  **application_ids** | **Array<Integer>** | IDs of the Applications to which a webhook must be linked. |
9
10
 
10
11
  ## Code Sample
@@ -13,6 +14,7 @@ Name | Type | Description | Notes
13
14
  require 'TalonOne'
14
15
 
15
16
  instance = TalonOne::NewOutgoingIntegrationWebhook.new(title: Send email to customer via Braze,
17
+ description: A webhook to send a coupon to the user.,
16
18
  application_ids: [1, 2, 3])
17
19
  ```
18
20
 
data/docs/NewReferral.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **start_date** | **DateTime** | Timestamp at which point the referral code becomes valid. | [optional]
8
- **expiry_date** | **DateTime** | Expiration date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional]
8
+ **expiry_date** | **DateTime** | Expiration date of the referral code. Referral never expires if this is omitted. | [optional]
9
9
  **usage_limit** | **Integer** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | [optional]
10
10
  **campaign_id** | **Integer** | ID of the campaign from which the referral received the referral code. |
11
11
  **advocate_profile_integration_id** | **String** | The Integration ID of the Advocate's Profile. |
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **start_date** | **DateTime** | Timestamp at which point the referral code becomes valid. | [optional]
8
- **expiry_date** | **DateTime** | Expiration date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional]
8
+ **expiry_date** | **DateTime** | Expiration date of the referral code. Referral never expires if this is omitted. | [optional]
9
9
  **usage_limit** | **Integer** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. |
10
10
  **campaign_id** | **Integer** | The ID of the campaign from which the referral received the referral code. |
11
11
  **advocate_profile_integration_ids** | **Array<String>** | An array containing all the respective advocate profiles. |
@@ -0,0 +1,37 @@
1
+ # TalonOne::NewRevisionVersion
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | A user-facing name for this campaign. | [optional]
8
+ **start_time** | **DateTime** | Timestamp when the campaign will become active. | [optional]
9
+ **end_time** | **DateTime** | Timestamp when the campaign will become inactive. | [optional]
10
+ **attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional]
11
+ **description** | **String** | A detailed description of the campaign. | [optional]
12
+ **active_ruleset_id** | **Integer** | The ID of the ruleset this campaign template will use. | [optional]
13
+ **tags** | **Array<String>** | A list of tags for the campaign template. | [optional]
14
+ **coupon_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
15
+ **referral_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
16
+ **limits** | [**Array<LimitConfig>**](LimitConfig.md) | The set of limits that will operate for this campaign version. | [optional]
17
+ **features** | **Array<String>** | A list of features for the campaign template. | [optional]
18
+
19
+ ## Code Sample
20
+
21
+ ```ruby
22
+ require 'TalonOne'
23
+
24
+ instance = TalonOne::NewRevisionVersion.new(name: Summer promotions,
25
+ start_time: 2021-07-20T22:00Z,
26
+ end_time: 2021-09-22T22:00Z,
27
+ attributes: null,
28
+ description: Campaign for all summer 2021 promotions,
29
+ active_ruleset_id: 5,
30
+ tags: null,
31
+ coupon_settings: null,
32
+ referral_settings: null,
33
+ limits: null,
34
+ features: null)
35
+ ```
36
+
37
+
data/docs/NewWebhook.md CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **application_ids** | **Array<Integer>** | The IDs of the Applications that are related to this entity. |
8
8
  **title** | **String** | Name or title for this webhook. |
9
+ **description** | **String** | A description of the webhook. | [optional]
9
10
  **verb** | **String** | API method for this webhook. |
10
11
  **url** | **String** | API URL (supports templating using parameters) for this webhook. |
11
12
  **headers** | **Array<String>** | List of API HTTP headers for this webhook. |
@@ -20,6 +21,7 @@ require 'TalonOne'
20
21
 
21
22
  instance = TalonOne::NewWebhook.new(application_ids: null,
22
23
  title: Send message,
24
+ description: A webhook to send a coupon to the user.,
23
25
  verb: POST,
24
26
  url: www.my-company.com/my-endpoint-name,
25
27
  headers: [{"Authorization": "Basic bmF2ZWVua3VtYXIU="}, {"Content-Type": "application/json"}],
data/docs/OktaEvent.md ADDED
@@ -0,0 +1,19 @@
1
+ # TalonOne::OktaEvent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **event_type** | **String** | Event type defining an action. |
8
+ **target** | [**Array<OktaEventTarget>**](OktaEventTarget.md) | |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'TalonOne'
14
+
15
+ instance = TalonOne::OktaEvent.new(event_type: application.user_membership.add,
16
+ target: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,17 @@
1
+ # TalonOne::OktaEventPayload
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**OktaEventPayloadData**](OktaEventPayloadData.md) | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TalonOne'
13
+
14
+ instance = TalonOne::OktaEventPayload.new(data: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,17 @@
1
+ # TalonOne::OktaEventPayloadData
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **events** | [**Array<OktaEvent>**](OktaEvent.md) | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TalonOne'
13
+
14
+ instance = TalonOne::OktaEventPayloadData.new(events: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,21 @@
1
+ # TalonOne::OktaEventTarget
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **type** | **String** | Type of the event target. |
8
+ **alternate_id** | **String** | Identifier of the event target, depending on its type. |
9
+ **display_name** | **String** | Display name of the event target. |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TalonOne'
15
+
16
+ instance = TalonOne::OktaEventTarget.new(type: AppUser,
17
+ alternate_id: john.doe@example.com,
18
+ display_name: John Doe)
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # TalonOne::ProjectedTier
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **projected_active_points** | **Float** | The active points of the customer when their current tier expires. |
8
+ **stay_in_tier_points** | **Float** | The number of points the customer needs to stay in the current tier. **Note**: This is included in the response when the customer is projected to be downgraded. | [optional]
9
+ **projected_tier_name** | **String** | The name of the tier the user will enter once their current tier expires. | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TalonOne'
15
+
16
+ instance = TalonOne::ProjectedTier.new(projected_active_points: 198.0,
17
+ stay_in_tier_points: 2.0,
18
+ projected_tier_name: Tier 1)
19
+ ```
20
+
21
+
data/docs/Referral.md CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **id** | **Integer** | Internal ID of this entity. |
8
8
  **created** | **DateTime** | The time this entity was created. |
9
9
  **start_date** | **DateTime** | Timestamp at which point the referral code becomes valid. | [optional]
10
- **expiry_date** | **DateTime** | Expiration date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional]
10
+ **expiry_date** | **DateTime** | Expiration date of the referral code. Referral never expires if this is omitted. | [optional]
11
11
  **usage_limit** | **Integer** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. |
12
12
  **campaign_id** | **Integer** | ID of the campaign from which the referral received the referral code. |
13
13
  **advocate_profile_integration_id** | **String** | The Integration ID of the Advocate's Profile. |
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **start_date** | **DateTime** | Timestamp at which point the referral code becomes valid. | [optional]
8
- **expiry_date** | **DateTime** | Expiration date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional]
8
+ **expiry_date** | **DateTime** | Expiration date of the referral code. Referral never expires if this is omitted. | [optional]
9
9
  **usage_limit** | **Integer** | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | [optional]
10
10
 
11
11
  ## Code Sample
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **condition_index** | **Integer** | The index of the condition that caused the rejection of the coupon. | [optional]
10
10
  **effect_index** | **Integer** | The index of the effect that caused the rejection of the coupon. | [optional]
11
11
  **details** | **String** | More details about the failure. | [optional]
12
+ **campaign_exclusion_reason** | **String** | The reason why the campaign was not applied. | [optional]
12
13
 
13
14
  ## Code Sample
14
15
 
@@ -19,7 +20,8 @@ instance = TalonOne::RejectCouponEffectProps.new(value: null,
19
20
  rejection_reason: null,
20
21
  condition_index: null,
21
22
  effect_index: null,
22
- details: null)
23
+ details: null,
24
+ campaign_exclusion_reason: CampaignGaveLowerDiscount)
23
25
  ```
24
26
 
25
27
 
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **condition_index** | **Integer** | The index of the condition that caused the rejection of the referral. | [optional]
10
10
  **effect_index** | **Integer** | The index of the effect that caused the rejection of the referral. | [optional]
11
11
  **details** | **String** | More details about the failure. | [optional]
12
+ **campaign_exclusion_reason** | **String** | The reason why the campaign was not applied. | [optional]
12
13
 
13
14
  ## Code Sample
14
15
 
@@ -19,7 +20,8 @@ instance = TalonOne::RejectReferralEffectProps.new(value: null,
19
20
  rejection_reason: null,
20
21
  condition_index: null,
21
22
  effect_index: null,
22
- details: null)
23
+ details: null,
24
+ campaign_exclusion_reason: CampaignGaveLowerDiscount)
23
25
  ```
24
26
 
25
27
 
data/docs/Revision.md ADDED
@@ -0,0 +1,35 @@
1
+ # TalonOne::Revision
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **Integer** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. |
8
+ **activate_at** | **DateTime** | | [optional]
9
+ **account_id** | **Integer** | |
10
+ **application_id** | **Integer** | |
11
+ **campaign_id** | **Integer** | |
12
+ **created** | **DateTime** | |
13
+ **created_by** | **Integer** | |
14
+ **activated_at** | **DateTime** | | [optional]
15
+ **activated_by** | **Integer** | | [optional]
16
+ **current_version** | [**RevisionVersion**](RevisionVersion.md) | | [optional]
17
+
18
+ ## Code Sample
19
+
20
+ ```ruby
21
+ require 'TalonOne'
22
+
23
+ instance = TalonOne::Revision.new(id: 6,
24
+ activate_at: null,
25
+ account_id: null,
26
+ application_id: null,
27
+ campaign_id: null,
28
+ created: null,
29
+ created_by: null,
30
+ activated_at: null,
31
+ activated_by: null,
32
+ current_version: null)
33
+ ```
34
+
35
+
@@ -0,0 +1,17 @@
1
+ # TalonOne::RevisionActivation
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **activate_at** | **DateTime** | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TalonOne'
13
+
14
+ instance = TalonOne::RevisionActivation.new(activate_at: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,53 @@
1
+ # TalonOne::RevisionVersion
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **Integer** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. |
8
+ **account_id** | **Integer** | |
9
+ **application_id** | **Integer** | |
10
+ **campaign_id** | **Integer** | |
11
+ **created** | **DateTime** | |
12
+ **created_by** | **Integer** | |
13
+ **revision_id** | **Integer** | |
14
+ **version** | **Integer** | |
15
+ **name** | **String** | A user-facing name for this campaign. | [optional]
16
+ **start_time** | **DateTime** | Timestamp when the campaign will become active. | [optional]
17
+ **end_time** | **DateTime** | Timestamp when the campaign will become inactive. | [optional]
18
+ **attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional]
19
+ **description** | **String** | A detailed description of the campaign. | [optional]
20
+ **active_ruleset_id** | **Integer** | The ID of the ruleset this campaign template will use. | [optional]
21
+ **tags** | **Array<String>** | A list of tags for the campaign template. | [optional]
22
+ **coupon_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
23
+ **referral_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
24
+ **limits** | [**Array<LimitConfig>**](LimitConfig.md) | The set of limits that will operate for this campaign version. | [optional]
25
+ **features** | **Array<String>** | A list of features for the campaign template. | [optional]
26
+
27
+ ## Code Sample
28
+
29
+ ```ruby
30
+ require 'TalonOne'
31
+
32
+ instance = TalonOne::RevisionVersion.new(id: 6,
33
+ account_id: null,
34
+ application_id: null,
35
+ campaign_id: null,
36
+ created: null,
37
+ created_by: null,
38
+ revision_id: null,
39
+ version: null,
40
+ name: Summer promotions,
41
+ start_time: 2021-07-20T22:00Z,
42
+ end_time: 2021-09-22T22:00Z,
43
+ attributes: null,
44
+ description: Campaign for all summer 2021 promotions,
45
+ active_ruleset_id: 5,
46
+ tags: null,
47
+ coupon_settings: null,
48
+ referral_settings: null,
49
+ limits: null,
50
+ features: null)
51
+ ```
52
+
53
+
@@ -0,0 +1,27 @@
1
+ # TalonOne::RollbackIncreasedAchievementProgressEffectProps
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **achievement_id** | **Integer** | The internal ID of the achievement. |
8
+ **achievement_name** | **String** | The name of the achievement. |
9
+ **progress_tracker_id** | **Integer** | The internal ID of the achievement progress tracker. |
10
+ **decrease_progress_by** | **Float** | The value by which the customer's current progress in the achievement is decreased. |
11
+ **current_progress** | **Float** | The current progress of the customer in the achievement. |
12
+ **target** | **Float** | The target value to complete the achievement. |
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'TalonOne'
18
+
19
+ instance = TalonOne::RollbackIncreasedAchievementProgressEffectProps.new(achievement_id: 10,
20
+ achievement_name: FreeCoffee10Orders,
21
+ progress_tracker_id: null,
22
+ decrease_progress_by: null,
23
+ current_progress: null,
24
+ target: null)
25
+ ```
26
+
27
+
@@ -16,6 +16,8 @@ Name | Type | Description | Notes
16
16
  **condition_index** | **Integer** | The index of the condition that failed. | [optional]
17
17
  **effect_index** | **Integer** | The index of the effect that failed. | [optional]
18
18
  **details** | **String** | More details about the failure. | [optional]
19
+ **evaluation_group_id** | **Integer** | The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional]
20
+ **evaluation_group_mode** | **String** | The evaluation mode of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign- | [optional]
19
21
 
20
22
  ## Code Sample
21
23
 
@@ -33,7 +35,9 @@ instance = TalonOne::RuleFailureReason.new(campaign_id: null,
33
35
  rule_name: null,
34
36
  condition_index: null,
35
37
  effect_index: null,
36
- details: null)
38
+ details: null,
39
+ evaluation_group_id: 3,
40
+ evaluation_group_mode: stackable)
37
41
  ```
38
42
 
39
43