talon_one 2.5.1 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1133) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +164 -56
  3. data/docs/AcceptCouponEffectProps.md +1 -1
  4. data/docs/AcceptReferralEffectProps.md +1 -1
  5. data/docs/AccessLogEntry.md +15 -10
  6. data/docs/Account.md +6 -6
  7. data/docs/AccountAdditionalCost.md +10 -10
  8. data/docs/AccountAnalytics.md +19 -19
  9. data/docs/AccountDashboardStatistic.md +27 -0
  10. data/docs/AccountDashboardStatisticApiCalls.md +19 -0
  11. data/docs/AccountDashboardStatisticCampaigns.md +19 -0
  12. data/docs/AccountDashboardStatisticDiscount.md +21 -0
  13. data/docs/AccountDashboardStatisticLoyaltyPoints.md +19 -0
  14. data/docs/AccountDashboardStatisticReferrals.md +19 -0
  15. data/docs/AccountDashboardStatisticRevenue.md +21 -0
  16. data/docs/AccountLimits.md +12 -12
  17. data/docs/AddFreeItemEffectProps.md +2 -2
  18. data/docs/AddItemCatalogAction.md +23 -0
  19. data/docs/AddLoyaltyPoints.md +31 -0
  20. data/docs/AddLoyaltyPointsEffectProps.md +8 -4
  21. data/docs/AddedDeductedPointsNotificationPolicy.md +19 -0
  22. data/docs/Application.md +13 -13
  23. data/docs/ApplicationAPIKey.md +7 -7
  24. data/docs/ApplicationApiHealth.md +2 -2
  25. data/docs/ApplicationCampaignStats.md +6 -6
  26. data/docs/ApplicationCustomer.md +9 -7
  27. data/docs/ApplicationEvent.md +3 -3
  28. data/docs/ApplicationReferee.md +4 -4
  29. data/docs/ApplicationSession.md +5 -5
  30. data/docs/ApplicationSessionEntity.md +1 -1
  31. data/docs/Attribute.md +17 -13
  32. data/docs/Audience.md +14 -6
  33. data/docs/AudienceAnalytics.md +19 -0
  34. data/docs/AudienceCustomer.md +41 -0
  35. data/docs/AudienceIntegrationID.md +17 -0
  36. data/docs/AudienceMembership.md +2 -2
  37. data/docs/AwardGiveawayEffectProps.md +5 -5
  38. data/docs/BaseLoyaltyProgram.md +7 -5
  39. data/docs/BaseNotification.md +21 -0
  40. data/docs/BaseNotificationEntity.md +17 -0
  41. data/docs/BaseNotificationWebhook.md +25 -0
  42. data/docs/BaseNotifications.md +17 -0
  43. data/docs/BaseSamlConnection.md +1 -1
  44. data/docs/BulkApplicationNotification.md +1 -1
  45. data/docs/BulkCampaignNotification.md +1 -1
  46. data/docs/Campaign.md +27 -25
  47. data/docs/CampaignActivationRequest.md +17 -0
  48. data/docs/CampaignAnalytics.md +8 -8
  49. data/docs/CampaignCollection.md +3 -3
  50. data/docs/CampaignCollectionWithoutPayload.md +3 -3
  51. data/docs/CampaignCopy.md +8 -8
  52. data/docs/CampaignCreatedNotification.md +5 -1
  53. data/docs/CampaignDeletedNotification.md +3 -1
  54. data/docs/CampaignEditedNotification.md +3 -1
  55. data/docs/CampaignGroup.md +8 -8
  56. data/docs/CampaignNotification.md +1 -1
  57. data/docs/CampaignPrioritiesChangedNotification.md +4 -4
  58. data/docs/CampaignRulesetChangedNotification.md +1 -1
  59. data/docs/CampaignSearch.md +1 -1
  60. data/docs/CampaignSet.md +7 -5
  61. data/docs/CampaignSetBranchNode.md +6 -6
  62. data/docs/CampaignSetIDs.md +1 -1
  63. data/docs/CampaignSetLeafNode.md +1 -1
  64. data/docs/CampaignSetNode.md +1 -1
  65. data/docs/CampaignSetV2.md +4 -4
  66. data/docs/CampaignStateChangedNotification.md +4 -2
  67. data/docs/CampaignTemplate.md +23 -21
  68. data/docs/CampaignTemplateParams.md +5 -3
  69. data/docs/CardLedgerTransactionLogEntry.md +41 -0
  70. data/docs/CardLedgerTransactionLogEntryIntegrationAPI.md +41 -0
  71. data/docs/CartItem.md +15 -13
  72. data/docs/Catalog.md +8 -8
  73. data/docs/CatalogAction.md +19 -0
  74. data/docs/CatalogActionFilter.md +21 -0
  75. data/docs/CatalogItem.md +29 -0
  76. data/docs/CatalogSyncRequest.md +19 -0
  77. data/docs/CatalogsStrikethroughNotificationPolicy.md +17 -0
  78. data/docs/Change.md +10 -8
  79. data/docs/ChangeProfilePassword.md +2 -2
  80. data/docs/CodeGeneratorSettings.md +2 -2
  81. data/docs/Collection.md +3 -3
  82. data/docs/CollectionItem.md +17 -0
  83. data/docs/CollectionWithoutPayload.md +3 -3
  84. data/docs/Coupon.md +18 -12
  85. data/docs/CouponConstraints.md +6 -4
  86. data/docs/CouponCreatedEffectProps.md +2 -2
  87. data/docs/CouponCreationJob.md +16 -14
  88. data/docs/CouponReservations.md +2 -2
  89. data/docs/CouponSearch.md +1 -1
  90. data/docs/CouponsNotificationPolicy.md +19 -0
  91. data/docs/CreateApplicationAPIKey.md +2 -2
  92. data/docs/CreateManagementKey.md +23 -0
  93. data/docs/CreateTemplateCampaign.md +2 -0
  94. data/docs/CustomEffect.md +9 -7
  95. data/docs/CustomEffectProps.md +11 -3
  96. data/docs/CustomerActivityReport.md +2 -2
  97. data/docs/CustomerAnalytics.md +7 -7
  98. data/docs/CustomerProfile.md +10 -8
  99. data/docs/CustomerProfileIntegrationRequestV2.md +4 -2
  100. data/docs/CustomerProfileUpdateV2Response.md +17 -0
  101. data/docs/CustomerSession.md +10 -10
  102. data/docs/CustomerSessionV2.md +17 -15
  103. data/docs/DeductLoyaltyPoints.md +23 -0
  104. data/docs/DeductLoyaltyPointsEffectProps.md +7 -7
  105. data/docs/Effect.md +9 -7
  106. data/docs/EffectEntity.md +9 -7
  107. data/docs/Endpoint.md +17 -0
  108. data/docs/Entity.md +2 -2
  109. data/docs/EntityWithTalangVisibleID.md +2 -2
  110. data/docs/Environment.md +3 -3
  111. data/docs/ErrorSource.md +1 -1
  112. data/docs/EvaluableCampaignIds.md +17 -0
  113. data/docs/Event.md +6 -6
  114. data/docs/EventType.md +8 -8
  115. data/docs/EventV2.md +6 -4
  116. data/docs/ExpiringPointsNotificationPolicy.md +19 -0
  117. data/docs/ExpiringPointsNotificationTrigger.md +19 -0
  118. data/docs/Export.md +5 -5
  119. data/docs/FeatureFlag.md +7 -7
  120. data/docs/FeedNotification.md +6 -6
  121. data/docs/FrontendState.md +16 -0
  122. data/docs/Giveaway.md +10 -6
  123. data/docs/GiveawaysPool.md +8 -6
  124. data/docs/Import.md +4 -4
  125. data/docs/ImportEntity.md +1 -1
  126. data/docs/InlineResponse200.md +1 -1
  127. data/docs/InlineResponse2001.md +3 -3
  128. data/docs/InlineResponse20010.md +2 -2
  129. data/docs/InlineResponse20011.md +2 -2
  130. data/docs/InlineResponse20012.md +3 -3
  131. data/docs/InlineResponse20013.md +3 -5
  132. data/docs/InlineResponse20014.md +3 -3
  133. data/docs/InlineResponse20015.md +4 -2
  134. data/docs/InlineResponse20016.md +1 -1
  135. data/docs/InlineResponse20017.md +3 -1
  136. data/docs/InlineResponse20018.md +1 -1
  137. data/docs/InlineResponse20019.md +2 -2
  138. data/docs/InlineResponse2002.md +3 -3
  139. data/docs/InlineResponse20020.md +3 -5
  140. data/docs/InlineResponse20021.md +5 -5
  141. data/docs/InlineResponse20022.md +5 -3
  142. data/docs/InlineResponse20023.md +5 -3
  143. data/docs/InlineResponse20024.md +3 -3
  144. data/docs/InlineResponse20025.md +3 -3
  145. data/docs/InlineResponse20026.md +3 -3
  146. data/docs/InlineResponse20027.md +3 -3
  147. data/docs/InlineResponse20028.md +2 -2
  148. data/docs/InlineResponse20029.md +4 -4
  149. data/docs/InlineResponse2003.md +2 -2
  150. data/docs/InlineResponse20030.md +5 -3
  151. data/docs/InlineResponse20031.md +2 -2
  152. data/docs/InlineResponse20032.md +19 -0
  153. data/docs/InlineResponse20033.md +19 -0
  154. data/docs/InlineResponse20034.md +19 -0
  155. data/docs/InlineResponse20035.md +19 -0
  156. data/docs/InlineResponse20036.md +19 -0
  157. data/docs/InlineResponse20037.md +19 -0
  158. data/docs/InlineResponse20038.md +21 -0
  159. data/docs/InlineResponse20039.md +19 -0
  160. data/docs/InlineResponse2004.md +2 -2
  161. data/docs/InlineResponse20040.md +19 -0
  162. data/docs/InlineResponse2005.md +3 -3
  163. data/docs/InlineResponse2006.md +3 -3
  164. data/docs/InlineResponse2007.md +2 -2
  165. data/docs/InlineResponse2008.md +3 -5
  166. data/docs/InlineResponse2009.md +3 -5
  167. data/docs/InlineResponse201.md +1 -1
  168. data/docs/IntegrationApi.md +516 -87
  169. data/docs/IntegrationCoupon.md +59 -0
  170. data/docs/IntegrationCustomerSessionResponse.md +3 -1
  171. data/docs/IntegrationEntity.md +2 -2
  172. data/docs/IntegrationEvent.md +2 -2
  173. data/docs/IntegrationEventV2Request.md +6 -4
  174. data/docs/IntegrationProfileEntity.md +1 -1
  175. data/docs/IntegrationRequest.md +1 -1
  176. data/docs/IntegrationStateV2.md +2 -2
  177. data/docs/InventoryCoupon.md +18 -12
  178. data/docs/InventoryReferral.md +6 -6
  179. data/docs/ItemAttribute.md +21 -0
  180. data/docs/LedgerEntry.md +12 -12
  181. data/docs/LedgerInfo.md +12 -12
  182. data/docs/LedgerTransactionLogEntryIntegrationAPI.md +39 -0
  183. data/docs/LimitCounter.md +9 -9
  184. data/docs/LoyaltyBalance.md +23 -0
  185. data/docs/LoyaltyBalances.md +19 -0
  186. data/docs/LoyaltyCard.md +13 -9
  187. data/docs/LoyaltyCardProfileRegistration.md +3 -3
  188. data/docs/LoyaltyCardRegistration.md +1 -1
  189. data/docs/LoyaltyDashboardData.md +6 -6
  190. data/docs/LoyaltyDashboardPointsBreakdown.md +2 -2
  191. data/docs/LoyaltyLedger.md +1 -1
  192. data/docs/LoyaltyLedgerEntry.md +17 -15
  193. data/docs/LoyaltyLedgerTransactions.md +19 -0
  194. data/docs/LoyaltyProgram.md +8 -6
  195. data/docs/LoyaltyProgramBalance.md +11 -9
  196. data/docs/LoyaltyProgramLedgers.md +4 -4
  197. data/docs/LoyaltyProgramTransaction.md +49 -0
  198. data/docs/LoyaltyStatistics.md +6 -6
  199. data/docs/LoyaltySubLedger.md +1 -1
  200. data/docs/LoyaltyTier.md +3 -3
  201. data/docs/ManagementApi.md +2621 -736
  202. data/docs/ManagementKey.md +31 -0
  203. data/docs/ModelReturn.md +3 -3
  204. data/docs/MultiApplicationEntity.md +1 -1
  205. data/docs/MultipleAudiences.md +19 -0
  206. data/docs/MultipleAudiencesItem.md +25 -0
  207. data/docs/MultipleCustomerProfileIntegrationRequestItem.md +2 -2
  208. data/docs/MultipleCustomerProfileIntegrationResponseV2.md +1 -1
  209. data/docs/MultipleNewAudiences.md +17 -0
  210. data/docs/MutableEntity.md +1 -1
  211. data/docs/NewAdditionalCost.md +8 -8
  212. data/docs/NewApplication.md +10 -10
  213. data/docs/NewApplicationAPIKey.md +8 -8
  214. data/docs/NewAttribute.md +15 -11
  215. data/docs/NewAudience.md +12 -4
  216. data/docs/NewBaseNotification.md +19 -0
  217. data/docs/NewCampaign.md +6 -6
  218. data/docs/NewCampaignGroup.md +5 -5
  219. data/docs/NewCampaignSet.md +2 -2
  220. data/docs/NewCampaignSetV2.md +2 -2
  221. data/docs/NewCampaignTemplate.md +7 -5
  222. data/docs/NewCatalog.md +5 -5
  223. data/docs/NewCouponCreationJob.md +8 -6
  224. data/docs/NewCoupons.md +14 -10
  225. data/docs/NewCouponsForMultipleRecipients.md +12 -10
  226. data/docs/NewCustomEffect.md +4 -2
  227. data/docs/NewCustomerProfile.md +1 -1
  228. data/docs/NewCustomerSession.md +6 -6
  229. data/docs/NewCustomerSessionV2.md +7 -5
  230. data/docs/NewEvent.md +2 -2
  231. data/docs/NewEventType.md +6 -6
  232. data/docs/NewGiveawaysPool.md +6 -4
  233. data/docs/NewInternalAudience.md +21 -0
  234. data/docs/NewInvitation.md +4 -4
  235. data/docs/NewLoyaltyProgram.md +7 -5
  236. data/docs/NewLoyaltyTier.md +1 -1
  237. data/docs/NewManagementKey.md +33 -0
  238. data/docs/NewMultipleAudiencesItem.md +19 -0
  239. data/docs/NewNotificationWebhook.md +4 -4
  240. data/docs/NewOutgoingIntegrationWebhook.md +19 -0
  241. data/docs/NewPassword.md +2 -2
  242. data/docs/NewPicklist.md +19 -0
  243. data/docs/NewReferral.md +3 -3
  244. data/docs/NewReferralsForMultipleAdvocates.md +4 -4
  245. data/docs/NewReturn.md +1 -1
  246. data/docs/NewRole.md +8 -8
  247. data/docs/NewRuleset.md +3 -1
  248. data/docs/NewSamlConnection.md +1 -1
  249. data/docs/NewWebhook.md +17 -15
  250. data/docs/Notification.md +3 -3
  251. data/docs/NotificationWebhook.md +7 -7
  252. data/docs/OutgoingIntegrationBrazePolicy.md +19 -0
  253. data/docs/OutgoingIntegrationConfiguration.md +23 -0
  254. data/docs/OutgoingIntegrationType.md +25 -0
  255. data/docs/OutgoingIntegrationTypes.md +17 -0
  256. data/docs/OutgoingIntegrationWebhookTemplate.md +29 -0
  257. data/docs/OutgoingIntegrationWebhookTemplates.md +17 -0
  258. data/docs/PatchItemCatalogAction.md +23 -0
  259. data/docs/PatchManyItemsCatalogAction.md +21 -0
  260. data/docs/Picklist.md +31 -0
  261. data/docs/PriorityPosition.md +19 -0
  262. data/docs/ProfileAudiencesChanges.md +2 -2
  263. data/docs/RedeemReferralEffectProps.md +2 -2
  264. data/docs/Referral.md +6 -6
  265. data/docs/ReferralConstraints.md +1 -1
  266. data/docs/ReferralCreatedEffectProps.md +1 -1
  267. data/docs/ReferralRejectionReason.md +1 -1
  268. data/docs/RejectCouponEffectProps.md +5 -5
  269. data/docs/RejectReferralEffectProps.md +5 -5
  270. data/docs/RemoveItemCatalogAction.md +17 -0
  271. data/docs/RemoveManyItemsCatalogAction.md +17 -0
  272. data/docs/ReopenSessionResponse.md +17 -0
  273. data/docs/ReserveCouponEffectProps.md +21 -0
  274. data/docs/ReturnIntegrationRequest.md +1 -1
  275. data/docs/ReturnedCartItem.md +1 -1
  276. data/docs/Role.md +13 -13
  277. data/docs/RoleAssign.md +4 -4
  278. data/docs/RoleMembership.md +2 -2
  279. data/docs/RoleV2.md +25 -0
  280. data/docs/RoleV2ApplicationDetails.md +21 -0
  281. data/docs/RoleV2PermissionSet.md +19 -0
  282. data/docs/RoleV2Permissions.md +19 -0
  283. data/docs/RoleV2PermissionsRoles.md +21 -0
  284. data/docs/RollbackAddedLoyaltyPointsEffectProps.md +8 -8
  285. data/docs/RollbackCouponEffectProps.md +1 -1
  286. data/docs/RollbackDeductedLoyaltyPointsEffectProps.md +10 -10
  287. data/docs/RollbackDiscountEffectProps.md +3 -3
  288. data/docs/RollbackReferralEffectProps.md +1 -1
  289. data/docs/Rule.md +5 -1
  290. data/docs/RuleFailureReason.md +12 -12
  291. data/docs/Ruleset.md +7 -5
  292. data/docs/SamlConnection.md +3 -3
  293. data/docs/Session.md +2 -2
  294. data/docs/SetDiscountEffectProps.md +4 -4
  295. data/docs/SetDiscountPerAdditionalCostEffectProps.md +5 -5
  296. data/docs/SetDiscountPerAdditionalCostPerItemEffectProps.md +5 -5
  297. data/docs/SetDiscountPerItemEffectProps.md +9 -5
  298. data/docs/ShowBundleMetadataEffectProps.md +3 -3
  299. data/docs/ShowNotificationEffectProps.md +3 -3
  300. data/docs/StrikethroughChangedItem.md +29 -0
  301. data/docs/StrikethroughCustomEffectPerItemProps.md +21 -0
  302. data/docs/StrikethroughEffect.md +27 -0
  303. data/docs/StrikethroughLabelingNotification.md +25 -0
  304. data/docs/StrikethroughSetDiscountPerItemEffectProps.md +19 -0
  305. data/docs/StrikethroughTrigger.md +25 -0
  306. data/docs/TalangAttribute.md +33 -0
  307. data/docs/TalangAttributeVisibility.md +19 -0
  308. data/docs/TemplateArgDef.md +5 -1
  309. data/docs/TemplateDef.md +2 -2
  310. data/docs/Tier.md +2 -2
  311. data/docs/TransferLoyaltyCard.md +17 -0
  312. data/docs/TriggerWebhookEffectProps.md +2 -2
  313. data/docs/UpdateAccount.md +2 -2
  314. data/docs/UpdateApplication.md +9 -9
  315. data/docs/UpdateAttributeEffectProps.md +2 -2
  316. data/docs/UpdateAudience.md +1 -1
  317. data/docs/UpdateCampaign.md +12 -12
  318. data/docs/UpdateCampaignGroup.md +5 -5
  319. data/docs/UpdateCampaignTemplate.md +16 -14
  320. data/docs/UpdateCatalog.md +2 -2
  321. data/docs/UpdateCoupon.md +12 -8
  322. data/docs/UpdateCouponBatch.md +7 -5
  323. data/docs/UpdateCustomEffect.md +4 -2
  324. data/docs/UpdateLoyaltyCard.md +2 -2
  325. data/docs/UpdateLoyaltyProgram.md +7 -5
  326. data/docs/UpdatePicklist.md +19 -0
  327. data/docs/UpdateReferral.md +3 -3
  328. data/docs/UpdateReferralBatch.md +2 -2
  329. data/docs/UpdateRole.md +8 -8
  330. data/docs/UpdateUser.md +7 -7
  331. data/docs/UpdateUserLatestFeedTimestamp.md +1 -1
  332. data/docs/User.md +5 -5
  333. data/docs/UserEntity.md +2 -2
  334. data/docs/UserFeedNotifications.md +2 -2
  335. data/docs/Webhook.md +20 -18
  336. data/docs/WebhookActivationLogEntry.md +9 -9
  337. data/docs/WebhookLogEntry.md +18 -15
  338. data/docs/WillAwardGiveawayEffectProps.md +3 -3
  339. data/lib/talon_one/api/integration_api.rb +640 -99
  340. data/lib/talon_one/api/management_api.rb +2432 -799
  341. data/lib/talon_one/api_client.rb +2 -2
  342. data/lib/talon_one/api_error.rb +2 -2
  343. data/lib/talon_one/configuration.rb +12 -5
  344. data/lib/talon_one/models/accept_coupon_effect_props.rb +3 -3
  345. data/lib/talon_one/models/accept_referral_effect_props.rb +3 -3
  346. data/lib/talon_one/models/access_log_entry.rb +6 -6
  347. data/lib/talon_one/models/account.rb +8 -8
  348. data/lib/talon_one/models/account_additional_cost.rb +7 -7
  349. data/lib/talon_one/models/account_analytics.rb +21 -21
  350. data/lib/talon_one/models/account_dashboard_statistic.rb +271 -0
  351. data/lib/talon_one/models/account_dashboard_statistic_api_calls.rb +227 -0
  352. data/lib/talon_one/models/account_dashboard_statistic_campaigns.rb +227 -0
  353. data/lib/talon_one/models/account_dashboard_statistic_discount.rb +242 -0
  354. data/lib/talon_one/models/account_dashboard_statistic_loyalty_points.rb +227 -0
  355. data/lib/talon_one/models/account_dashboard_statistic_referrals.rb +227 -0
  356. data/lib/talon_one/models/account_dashboard_statistic_revenue.rb +242 -0
  357. data/lib/talon_one/models/account_entity.rb +2 -2
  358. data/lib/talon_one/models/account_limits.rb +14 -14
  359. data/lib/talon_one/models/add_free_item_effect_props.rb +4 -4
  360. data/lib/talon_one/models/add_item_catalog_action.rb +245 -0
  361. data/lib/talon_one/models/add_loyalty_points.rb +311 -0
  362. data/lib/talon_one/models/add_loyalty_points_effect_props.rb +43 -8
  363. data/lib/talon_one/models/added_deducted_points_notification_policy.rb +269 -0
  364. data/lib/talon_one/models/additional_cost.rb +2 -2
  365. data/lib/talon_one/models/api_error.rb +2 -2
  366. data/lib/talon_one/models/application.rb +7 -7
  367. data/lib/talon_one/models/application_api_health.rb +5 -5
  368. data/lib/talon_one/models/application_api_key.rb +11 -11
  369. data/lib/talon_one/models/application_campaign_stats.rb +9 -9
  370. data/lib/talon_one/models/application_customer.rb +20 -10
  371. data/lib/talon_one/models/application_customer_entity.rb +2 -2
  372. data/lib/talon_one/models/application_entity.rb +2 -2
  373. data/lib/talon_one/models/application_event.rb +5 -5
  374. data/lib/talon_one/models/application_notification.rb +2 -2
  375. data/lib/talon_one/models/application_referee.rb +6 -6
  376. data/lib/talon_one/models/application_session.rb +7 -7
  377. data/lib/talon_one/models/application_session_entity.rb +2 -2
  378. data/lib/talon_one/models/async_coupon_creation_response.rb +2 -2
  379. data/lib/talon_one/models/attribute.rb +30 -6
  380. data/lib/talon_one/models/attributes_mandatory.rb +2 -2
  381. data/lib/talon_one/models/attributes_settings.rb +2 -2
  382. data/lib/talon_one/models/audience.rb +50 -10
  383. data/lib/talon_one/models/audience_analytics.rb +218 -0
  384. data/lib/talon_one/models/audience_customer.rb +395 -0
  385. data/lib/talon_one/models/{loyalty_projection_data.rb → audience_integration_id.rb} +33 -59
  386. data/lib/talon_one/models/audience_membership.rb +2 -2
  387. data/lib/talon_one/models/award_giveaway_effect_props.rb +2 -2
  388. data/lib/talon_one/models/base_loyalty_program.rb +19 -9
  389. data/lib/talon_one/models/base_notification.rb +260 -0
  390. data/lib/talon_one/models/base_notification_entity.rb +211 -0
  391. data/lib/talon_one/models/base_notification_webhook.rb +275 -0
  392. data/lib/talon_one/models/base_notifications.rb +209 -0
  393. data/lib/talon_one/models/base_saml_connection.rb +2 -2
  394. data/lib/talon_one/models/binding.rb +2 -2
  395. data/lib/talon_one/models/bulk_application_notification.rb +2 -2
  396. data/lib/talon_one/models/bulk_campaign_notification.rb +2 -2
  397. data/lib/talon_one/models/campaign.rb +18 -8
  398. data/lib/talon_one/models/campaign_activation_request.rb +214 -0
  399. data/lib/talon_one/models/campaign_analytics.rb +2 -2
  400. data/lib/talon_one/models/campaign_collection.rb +5 -5
  401. data/lib/talon_one/models/campaign_collection_without_payload.rb +5 -5
  402. data/lib/talon_one/models/campaign_copy.rb +4 -4
  403. data/lib/talon_one/models/campaign_created_notification.rb +29 -6
  404. data/lib/talon_one/models/campaign_deleted_notification.rb +21 -6
  405. data/lib/talon_one/models/campaign_edited_notification.rb +15 -6
  406. data/lib/talon_one/models/campaign_entity.rb +2 -2
  407. data/lib/talon_one/models/campaign_group.rb +7 -7
  408. data/lib/talon_one/models/campaign_group_entity.rb +2 -2
  409. data/lib/talon_one/models/campaign_notification.rb +2 -2
  410. data/lib/talon_one/models/campaign_priorities_changed_notification.rb +17 -22
  411. data/lib/talon_one/models/campaign_priorities_v2.rb +2 -2
  412. data/lib/talon_one/models/campaign_ruleset_changed_notification.rb +2 -7
  413. data/lib/talon_one/models/campaign_search.rb +3 -3
  414. data/lib/talon_one/models/campaign_set.rb +19 -9
  415. data/lib/talon_one/models/campaign_set_branch_node.rb +5 -5
  416. data/lib/talon_one/models/campaign_set_i_ds.rb +2 -2
  417. data/lib/talon_one/models/campaign_set_leaf_node.rb +3 -3
  418. data/lib/talon_one/models/campaign_set_node.rb +2 -2
  419. data/lib/talon_one/models/campaign_set_v2.rb +5 -5
  420. data/lib/talon_one/models/campaign_state_changed_notification.rb +15 -6
  421. data/lib/talon_one/models/campaign_template.rb +25 -15
  422. data/lib/talon_one/models/campaign_template_collection.rb +2 -2
  423. data/lib/talon_one/models/campaign_template_params.rb +16 -6
  424. data/lib/talon_one/models/card_ledger_transaction_log_entry.rb +508 -0
  425. data/lib/talon_one/models/card_ledger_transaction_log_entry_integration_api.rb +508 -0
  426. data/lib/talon_one/models/cart_item.rb +28 -47
  427. data/lib/talon_one/models/catalog.rb +7 -7
  428. data/lib/talon_one/models/catalog_action.rb +261 -0
  429. data/lib/talon_one/models/catalog_action_filter.rb +277 -0
  430. data/lib/talon_one/models/catalog_item.rb +313 -0
  431. data/lib/talon_one/models/catalog_sync_request.rb +238 -0
  432. data/lib/talon_one/models/catalogs_strikethrough_notification_policy.rb +231 -0
  433. data/lib/talon_one/models/change.rb +20 -10
  434. data/lib/talon_one/models/change_profile_password.rb +2 -2
  435. data/lib/talon_one/models/code_generator_settings.rb +3 -3
  436. data/lib/talon_one/models/collection.rb +5 -5
  437. data/lib/talon_one/models/collection_item.rb +212 -0
  438. data/lib/talon_one/models/collection_without_payload.rb +5 -5
  439. data/lib/talon_one/models/coupon.rb +68 -12
  440. data/lib/talon_one/models/coupon_constraints.rb +39 -5
  441. data/lib/talon_one/models/coupon_created_effect_props.rb +4 -4
  442. data/lib/talon_one/models/coupon_creation_job.rb +58 -15
  443. data/lib/talon_one/models/coupon_limit_configs.rb +2 -2
  444. data/lib/talon_one/models/coupon_rejection_reason.rb +4 -4
  445. data/lib/talon_one/models/coupon_reservations.rb +3 -3
  446. data/lib/talon_one/models/coupon_search.rb +3 -3
  447. data/lib/talon_one/models/coupon_value.rb +2 -2
  448. data/lib/talon_one/models/coupons_notification_policy.rb +269 -0
  449. data/lib/talon_one/models/create_application_api_key.rb +6 -6
  450. data/lib/talon_one/models/create_management_key.rb +256 -0
  451. data/lib/talon_one/models/create_template_campaign.rb +15 -3
  452. data/lib/talon_one/models/create_template_campaign_response.rb +2 -2
  453. data/lib/talon_one/models/custom_effect.rb +18 -8
  454. data/lib/talon_one/models/custom_effect_props.rb +44 -4
  455. data/lib/talon_one/models/customer_activity_report.rb +5 -5
  456. data/lib/talon_one/models/customer_analytics.rb +10 -10
  457. data/lib/talon_one/models/customer_inventory.rb +2 -2
  458. data/lib/talon_one/models/customer_profile.rb +23 -13
  459. data/lib/talon_one/models/customer_profile_audience_request.rb +2 -2
  460. data/lib/talon_one/models/customer_profile_audience_request_item.rb +2 -2
  461. data/lib/talon_one/models/customer_profile_integration_request_v2.rb +17 -5
  462. data/lib/talon_one/models/customer_profile_search_query.rb +2 -2
  463. data/lib/talon_one/models/customer_profile_update_v2_response.rb +212 -0
  464. data/lib/talon_one/models/customer_session.rb +8 -8
  465. data/lib/talon_one/models/customer_session_v2.rb +27 -15
  466. data/lib/talon_one/models/{loyalty_points.rb → deduct_loyalty_points.rb} +23 -33
  467. data/lib/talon_one/models/deduct_loyalty_points_effect_props.rb +23 -8
  468. data/lib/talon_one/models/effect.rb +20 -9
  469. data/lib/talon_one/models/effect_entity.rb +23 -13
  470. data/lib/talon_one/models/email_entity.rb +2 -2
  471. data/lib/talon_one/models/endpoint.rb +212 -0
  472. data/lib/talon_one/models/entity.rb +4 -4
  473. data/lib/talon_one/models/entity_with_talang_visible_id.rb +2 -2
  474. data/lib/talon_one/models/environment.rb +5 -5
  475. data/lib/talon_one/models/error_effect_props.rb +2 -2
  476. data/lib/talon_one/models/error_response.rb +2 -2
  477. data/lib/talon_one/models/error_response_with_status.rb +2 -2
  478. data/lib/talon_one/models/error_source.rb +3 -3
  479. data/lib/talon_one/models/evaluable_campaign_ids.rb +209 -0
  480. data/lib/talon_one/models/event.rb +6 -6
  481. data/lib/talon_one/models/event_type.rb +7 -7
  482. data/lib/talon_one/models/event_v2.rb +18 -6
  483. data/lib/talon_one/models/expiring_points_notification_policy.rb +247 -0
  484. data/lib/talon_one/models/expiring_points_notification_trigger.rb +280 -0
  485. data/lib/talon_one/models/export.rb +6 -6
  486. data/lib/talon_one/models/feature_flag.rb +6 -6
  487. data/lib/talon_one/models/features_feed.rb +2 -2
  488. data/lib/talon_one/models/feed_notification.rb +9 -9
  489. data/lib/talon_one/models/frontend_state.rb +39 -0
  490. data/lib/talon_one/models/func_arg_def.rb +4 -4
  491. data/lib/talon_one/models/function_def.rb +2 -2
  492. data/lib/talon_one/models/giveaway.rb +28 -8
  493. data/lib/talon_one/models/giveaways_pool.rb +22 -7
  494. data/lib/talon_one/models/import.rb +5 -5
  495. data/lib/talon_one/models/import_entity.rb +2 -2
  496. data/lib/talon_one/models/inline_response200.rb +2 -2
  497. data/lib/talon_one/models/inline_response2001.rb +13 -13
  498. data/lib/talon_one/models/inline_response20010.rb +3 -3
  499. data/lib/talon_one/models/inline_response20011.rb +3 -3
  500. data/lib/talon_one/models/inline_response20012.rb +13 -13
  501. data/lib/talon_one/models/inline_response20013.rb +9 -13
  502. data/lib/talon_one/models/inline_response20014.rb +5 -3
  503. data/lib/talon_one/models/inline_response20015.rb +13 -9
  504. data/lib/talon_one/models/inline_response20016.rb +3 -3
  505. data/lib/talon_one/models/inline_response20017.rb +13 -4
  506. data/lib/talon_one/models/inline_response20018.rb +3 -3
  507. data/lib/talon_one/models/inline_response20019.rb +3 -3
  508. data/lib/talon_one/models/inline_response2002.rb +13 -13
  509. data/lib/talon_one/models/inline_response20020.rb +9 -13
  510. data/lib/talon_one/models/inline_response20021.rb +13 -23
  511. data/lib/talon_one/models/inline_response20022.rb +13 -9
  512. data/lib/talon_one/models/inline_response20023.rb +13 -9
  513. data/lib/talon_one/models/inline_response20024.rb +13 -13
  514. data/lib/talon_one/models/inline_response20025.rb +13 -13
  515. data/lib/talon_one/models/inline_response20026.rb +10 -15
  516. data/lib/talon_one/models/inline_response20027.rb +13 -13
  517. data/lib/talon_one/models/inline_response20028.rb +3 -3
  518. data/lib/talon_one/models/inline_response20029.rb +13 -13
  519. data/lib/talon_one/models/inline_response2003.rb +3 -3
  520. data/lib/talon_one/models/inline_response20030.rb +13 -9
  521. data/lib/talon_one/models/inline_response20031.rb +3 -3
  522. data/lib/talon_one/models/inline_response20032.rb +227 -0
  523. data/lib/talon_one/models/inline_response20033.rb +227 -0
  524. data/lib/talon_one/models/inline_response20034.rb +227 -0
  525. data/lib/talon_one/models/inline_response20035.rb +227 -0
  526. data/lib/talon_one/models/inline_response20036.rb +227 -0
  527. data/lib/talon_one/models/inline_response20037.rb +227 -0
  528. data/lib/talon_one/models/inline_response20038.rb +231 -0
  529. data/lib/talon_one/models/inline_response20039.rb +227 -0
  530. data/lib/talon_one/models/inline_response2004.rb +3 -3
  531. data/lib/talon_one/models/inline_response20040.rb +227 -0
  532. data/lib/talon_one/models/inline_response2005.rb +13 -13
  533. data/lib/talon_one/models/inline_response2006.rb +13 -13
  534. data/lib/talon_one/models/inline_response2007.rb +3 -3
  535. data/lib/talon_one/models/inline_response2008.rb +9 -13
  536. data/lib/talon_one/models/inline_response2009.rb +9 -13
  537. data/lib/talon_one/models/inline_response201.rb +2 -2
  538. data/lib/talon_one/models/integration_coupon.rb +569 -0
  539. data/lib/talon_one/models/integration_customer_session_response.rb +17 -6
  540. data/lib/talon_one/models/integration_entity.rb +4 -4
  541. data/lib/talon_one/models/integration_event.rb +3 -3
  542. data/lib/talon_one/models/integration_event_v2_request.rb +18 -6
  543. data/lib/talon_one/models/integration_profile_entity.rb +3 -3
  544. data/lib/talon_one/models/integration_request.rb +3 -3
  545. data/lib/talon_one/models/integration_state.rb +2 -2
  546. data/lib/talon_one/models/integration_state_v2.rb +5 -4
  547. data/lib/talon_one/models/inventory_coupon.rb +65 -9
  548. data/lib/talon_one/models/inventory_referral.rb +6 -6
  549. data/lib/talon_one/models/item_attribute.rb +243 -0
  550. data/lib/talon_one/models/ledger_entry.rb +11 -11
  551. data/lib/talon_one/models/ledger_info.rb +21 -20
  552. data/lib/talon_one/models/ledger_transaction_log_entry_integration_api.rb +474 -0
  553. data/lib/talon_one/models/library_attribute.rb +2 -2
  554. data/lib/talon_one/models/limit_config.rb +2 -2
  555. data/lib/talon_one/models/limit_counter.rb +4 -4
  556. data/lib/talon_one/models/login_params.rb +2 -2
  557. data/lib/talon_one/models/loyalty.rb +2 -2
  558. data/lib/talon_one/models/loyalty_balance.rb +238 -0
  559. data/lib/talon_one/models/loyalty_balances.rb +219 -0
  560. data/lib/talon_one/models/loyalty_card.rb +81 -12
  561. data/lib/talon_one/models/loyalty_card_profile_registration.rb +4 -4
  562. data/lib/talon_one/models/loyalty_card_registration.rb +2 -2
  563. data/lib/talon_one/models/loyalty_dashboard_data.rb +2 -2
  564. data/lib/talon_one/models/loyalty_dashboard_points_breakdown.rb +2 -2
  565. data/lib/talon_one/models/loyalty_ledger.rb +2 -2
  566. data/lib/talon_one/models/loyalty_ledger_entry.rb +18 -8
  567. data/lib/talon_one/models/loyalty_ledger_transactions.rb +220 -0
  568. data/lib/talon_one/models/loyalty_membership.rb +2 -2
  569. data/lib/talon_one/models/loyalty_program.rb +23 -8
  570. data/lib/talon_one/models/loyalty_program_balance.rb +21 -11
  571. data/lib/talon_one/models/loyalty_program_entity.rb +2 -2
  572. data/lib/talon_one/models/loyalty_program_ledgers.rb +6 -6
  573. data/lib/talon_one/models/loyalty_program_transaction.rb +553 -0
  574. data/lib/talon_one/models/loyalty_statistics.rb +2 -2
  575. data/lib/talon_one/models/loyalty_sub_ledger.rb +3 -3
  576. data/lib/talon_one/models/loyalty_tier.rb +5 -5
  577. data/lib/talon_one/models/management_key.rb +317 -0
  578. data/lib/talon_one/models/manager_config.rb +2 -2
  579. data/lib/talon_one/models/meta.rb +2 -2
  580. data/lib/talon_one/models/model_return.rb +5 -5
  581. data/lib/talon_one/models/multi_application_entity.rb +3 -3
  582. data/lib/talon_one/models/multiple_attribute.rb +2 -2
  583. data/lib/talon_one/models/{loyalty_projection.rb → multiple_audiences.rb} +27 -38
  584. data/lib/talon_one/models/multiple_audiences_item.rb +354 -0
  585. data/lib/talon_one/models/multiple_customer_profile_integration_request.rb +2 -2
  586. data/lib/talon_one/models/multiple_customer_profile_integration_request_item.rb +4 -4
  587. data/lib/talon_one/models/multiple_customer_profile_integration_response_v2.rb +3 -3
  588. data/lib/talon_one/models/multiple_new_attribute.rb +2 -2
  589. data/lib/talon_one/models/multiple_new_audiences.rb +213 -0
  590. data/lib/talon_one/models/mutable_entity.rb +3 -3
  591. data/lib/talon_one/models/new_account.rb +2 -2
  592. data/lib/talon_one/models/new_account_sign_up.rb +2 -2
  593. data/lib/talon_one/models/new_additional_cost.rb +5 -5
  594. data/lib/talon_one/models/new_application.rb +4 -4
  595. data/lib/talon_one/models/new_application_api_key.rb +12 -12
  596. data/lib/talon_one/models/new_attribute.rb +31 -7
  597. data/lib/talon_one/models/new_audience.rb +49 -8
  598. data/lib/talon_one/models/new_base_notification.rb +226 -0
  599. data/lib/talon_one/models/new_campaign.rb +6 -6
  600. data/lib/talon_one/models/new_campaign_collection.rb +2 -2
  601. data/lib/talon_one/models/new_campaign_group.rb +4 -4
  602. data/lib/talon_one/models/new_campaign_set.rb +3 -3
  603. data/lib/talon_one/models/new_campaign_set_v2.rb +3 -3
  604. data/lib/talon_one/models/new_campaign_template.rb +20 -10
  605. data/lib/talon_one/models/new_catalog.rb +4 -4
  606. data/lib/talon_one/models/new_collection.rb +2 -2
  607. data/lib/talon_one/models/new_coupon_creation_job.rb +50 -7
  608. data/lib/talon_one/models/new_coupons.rb +57 -11
  609. data/lib/talon_one/models/new_coupons_for_multiple_recipients.rb +41 -7
  610. data/lib/talon_one/models/new_custom_effect.rb +15 -5
  611. data/lib/talon_one/models/new_customer_profile.rb +3 -3
  612. data/lib/talon_one/models/new_customer_session.rb +5 -5
  613. data/lib/talon_one/models/new_customer_session_v2.rb +21 -9
  614. data/lib/talon_one/models/new_event.rb +3 -3
  615. data/lib/talon_one/models/new_event_type.rb +5 -5
  616. data/lib/talon_one/models/new_giveaways_pool.rb +22 -7
  617. data/lib/talon_one/models/new_internal_audience.rb +251 -0
  618. data/lib/talon_one/models/new_invitation.rb +5 -5
  619. data/lib/talon_one/models/new_invite_email.rb +2 -2
  620. data/lib/talon_one/models/new_loyalty_program.rb +22 -7
  621. data/lib/talon_one/models/new_loyalty_tier.rb +4 -4
  622. data/lib/talon_one/models/new_management_key.rb +332 -0
  623. data/lib/talon_one/models/new_multiple_audiences_item.rb +266 -0
  624. data/lib/talon_one/models/new_notification_webhook.rb +4 -4
  625. data/lib/talon_one/models/new_outgoing_integration_webhook.rb +229 -0
  626. data/lib/talon_one/models/new_password.rb +2 -2
  627. data/lib/talon_one/models/new_password_email.rb +2 -2
  628. data/lib/talon_one/models/new_picklist.rb +263 -0
  629. data/lib/talon_one/models/new_referral.rb +4 -4
  630. data/lib/talon_one/models/new_referrals_for_multiple_advocates.rb +4 -4
  631. data/lib/talon_one/models/new_return.rb +3 -3
  632. data/lib/talon_one/models/new_role.rb +6 -6
  633. data/lib/talon_one/models/new_ruleset.rb +15 -3
  634. data/lib/talon_one/models/new_saml_connection.rb +2 -2
  635. data/lib/talon_one/models/new_template_def.rb +2 -2
  636. data/lib/talon_one/models/new_user.rb +2 -2
  637. data/lib/talon_one/models/new_webhook.rb +10 -10
  638. data/lib/talon_one/models/notification.rb +5 -5
  639. data/lib/talon_one/models/notification_webhook.rb +7 -7
  640. data/lib/talon_one/models/outgoing_integration_braze_policy.rb +227 -0
  641. data/lib/talon_one/models/outgoing_integration_configuration.rb +256 -0
  642. data/lib/talon_one/models/outgoing_integration_type.rb +357 -0
  643. data/lib/talon_one/models/outgoing_integration_types.rb +209 -0
  644. data/lib/talon_one/models/outgoing_integration_webhook_template.rb +377 -0
  645. data/lib/talon_one/models/outgoing_integration_webhook_templates.rb +209 -0
  646. data/lib/talon_one/models/patch_item_catalog_action.rb +245 -0
  647. data/lib/talon_one/models/patch_many_items_catalog_action.rb +230 -0
  648. data/lib/talon_one/models/picklist.rb +339 -0
  649. data/lib/talon_one/models/priority_position.rb +264 -0
  650. data/lib/talon_one/models/profile_audiences_changes.rb +2 -2
  651. data/lib/talon_one/models/redeem_referral_effect_props.rb +5 -5
  652. data/lib/talon_one/models/referral.rb +6 -6
  653. data/lib/talon_one/models/referral_constraints.rb +3 -3
  654. data/lib/talon_one/models/referral_created_effect_props.rb +3 -3
  655. data/lib/talon_one/models/referral_rejection_reason.rb +4 -4
  656. data/lib/talon_one/models/reject_coupon_effect_props.rb +7 -7
  657. data/lib/talon_one/models/reject_referral_effect_props.rb +7 -7
  658. data/lib/talon_one/models/remove_item_catalog_action.rb +213 -0
  659. data/lib/talon_one/models/remove_many_items_catalog_action.rb +210 -0
  660. data/lib/talon_one/models/reopen_session_response.rb +215 -0
  661. data/lib/talon_one/models/reserve_coupon_effect_props.rb +243 -0
  662. data/lib/talon_one/models/return_integration_request.rb +3 -3
  663. data/lib/talon_one/models/returned_cart_item.rb +3 -3
  664. data/lib/talon_one/models/role.rb +10 -10
  665. data/lib/talon_one/models/role_assign.rb +4 -4
  666. data/lib/talon_one/models/role_membership.rb +4 -4
  667. data/lib/talon_one/models/role_v2.rb +248 -0
  668. data/lib/talon_one/models/role_v2_application_details.rb +227 -0
  669. data/lib/talon_one/models/role_v2_permission_set.rb +228 -0
  670. data/lib/talon_one/models/role_v2_permissions.rb +218 -0
  671. data/lib/talon_one/models/role_v2_permissions_roles.rb +230 -0
  672. data/lib/talon_one/models/rollback_added_loyalty_points_effect_props.rb +23 -8
  673. data/lib/talon_one/models/rollback_coupon_effect_props.rb +3 -3
  674. data/lib/talon_one/models/rollback_deducted_loyalty_points_effect_props.rb +25 -10
  675. data/lib/talon_one/models/rollback_discount_effect_props.rb +5 -5
  676. data/lib/talon_one/models/rollback_referral_effect_props.rb +3 -3
  677. data/lib/talon_one/models/rule.rb +23 -3
  678. data/lib/talon_one/models/rule_failure_reason.rb +14 -14
  679. data/lib/talon_one/models/ruleset.rb +18 -6
  680. data/lib/talon_one/models/saml_connection.rb +4 -4
  681. data/lib/talon_one/models/saml_connection_metadata.rb +2 -2
  682. data/lib/talon_one/models/saml_login_endpoint.rb +2 -2
  683. data/lib/talon_one/models/session.rb +3 -3
  684. data/lib/talon_one/models/set_discount_effect_props.rb +6 -6
  685. data/lib/talon_one/models/set_discount_per_additional_cost_effect_props.rb +7 -7
  686. data/lib/talon_one/models/set_discount_per_additional_cost_per_item_effect_props.rb +7 -7
  687. data/lib/talon_one/models/set_discount_per_item_effect_props.rb +30 -10
  688. data/lib/talon_one/models/show_bundle_metadata_effect_props.rb +6 -6
  689. data/lib/talon_one/models/show_notification_effect_props.rb +5 -5
  690. data/lib/talon_one/models/slot_def.rb +2 -2
  691. data/lib/talon_one/models/strikethrough_changed_item.rb +318 -0
  692. data/lib/talon_one/models/strikethrough_custom_effect_per_item_props.rb +243 -0
  693. data/lib/talon_one/models/strikethrough_effect.rb +287 -0
  694. data/lib/talon_one/models/strikethrough_labeling_notification.rb +273 -0
  695. data/lib/talon_one/models/strikethrough_set_discount_per_item_effect_props.rb +228 -0
  696. data/lib/talon_one/models/strikethrough_trigger.rb +273 -0
  697. data/lib/talon_one/models/talang_attribute.rb +363 -0
  698. data/lib/talon_one/models/talang_attribute_visibility.rb +221 -0
  699. data/lib/talon_one/models/template_arg_def.rb +28 -8
  700. data/lib/talon_one/models/template_def.rb +4 -4
  701. data/lib/talon_one/models/template_limit_config.rb +2 -2
  702. data/lib/talon_one/models/tier.rb +4 -4
  703. data/lib/talon_one/models/transfer_loyalty_card.rb +231 -0
  704. data/lib/talon_one/models/trigger_webhook_effect_props.rb +4 -4
  705. data/lib/talon_one/models/update_account.rb +4 -4
  706. data/lib/talon_one/models/update_application.rb +3 -3
  707. data/lib/talon_one/models/update_attribute_effect_props.rb +4 -4
  708. data/lib/talon_one/models/update_audience.rb +2 -2
  709. data/lib/talon_one/models/update_campaign.rb +4 -4
  710. data/lib/talon_one/models/update_campaign_collection.rb +2 -2
  711. data/lib/talon_one/models/update_campaign_group.rb +4 -4
  712. data/lib/talon_one/models/update_campaign_template.rb +23 -13
  713. data/lib/talon_one/models/update_catalog.rb +4 -4
  714. data/lib/talon_one/models/update_collection.rb +2 -2
  715. data/lib/talon_one/models/update_coupon.rb +56 -10
  716. data/lib/talon_one/models/update_coupon_batch.rb +40 -6
  717. data/lib/talon_one/models/update_custom_effect.rb +15 -5
  718. data/lib/talon_one/models/update_loyalty_card.rb +3 -3
  719. data/lib/talon_one/models/update_loyalty_program.rb +17 -7
  720. data/lib/talon_one/models/update_picklist.rb +264 -0
  721. data/lib/talon_one/models/update_referral.rb +5 -5
  722. data/lib/talon_one/models/update_referral_batch.rb +4 -4
  723. data/lib/talon_one/models/update_role.rb +6 -6
  724. data/lib/talon_one/models/update_user.rb +5 -5
  725. data/lib/talon_one/models/update_user_latest_feed_timestamp.rb +4 -4
  726. data/lib/talon_one/models/user.rb +7 -7
  727. data/lib/talon_one/models/user_entity.rb +3 -3
  728. data/lib/talon_one/models/user_feed_notifications.rb +5 -5
  729. data/lib/talon_one/models/webhook.rb +13 -13
  730. data/lib/talon_one/models/webhook_activation_log_entry.rb +7 -7
  731. data/lib/talon_one/models/webhook_log_entry.rb +8 -8
  732. data/lib/talon_one/models/will_award_giveaway_effect_props.rb +2 -2
  733. data/lib/talon_one/version.rb +3 -3
  734. data/lib/talon_one.rb +92 -5
  735. data/spec/api/integration_api_spec.rb +151 -49
  736. data/spec/api/management_api_spec.rb +564 -260
  737. data/spec/api_client_spec.rb +2 -2
  738. data/spec/configuration_spec.rb +5 -5
  739. data/spec/models/accept_coupon_effect_props_spec.rb +2 -2
  740. data/spec/models/accept_referral_effect_props_spec.rb +2 -2
  741. data/spec/models/access_log_entry_spec.rb +2 -2
  742. data/spec/models/account_additional_cost_spec.rb +2 -2
  743. data/spec/models/account_analytics_spec.rb +2 -2
  744. data/spec/models/account_dashboard_statistic_api_calls_spec.rb +47 -0
  745. data/spec/models/account_dashboard_statistic_campaigns_spec.rb +47 -0
  746. data/spec/models/account_dashboard_statistic_discount_spec.rb +53 -0
  747. data/spec/models/account_dashboard_statistic_loyalty_points_spec.rb +47 -0
  748. data/spec/models/account_dashboard_statistic_referrals_spec.rb +47 -0
  749. data/spec/models/account_dashboard_statistic_revenue_spec.rb +53 -0
  750. data/spec/models/account_dashboard_statistic_spec.rb +71 -0
  751. data/spec/models/account_entity_spec.rb +2 -2
  752. data/spec/models/account_limits_spec.rb +2 -2
  753. data/spec/models/account_spec.rb +2 -2
  754. data/spec/models/add_free_item_effect_props_spec.rb +2 -2
  755. data/spec/models/{loyalty_projection_data_spec.rb → add_item_catalog_action_spec.rb} +12 -12
  756. data/spec/models/add_loyalty_points_effect_props_spec.rb +14 -2
  757. data/spec/models/add_loyalty_points_spec.rb +83 -0
  758. data/spec/models/added_deducted_points_notification_policy_spec.rb +51 -0
  759. data/spec/models/additional_cost_spec.rb +2 -2
  760. data/spec/models/api_error_spec.rb +2 -2
  761. data/spec/models/application_api_health_spec.rb +2 -2
  762. data/spec/models/application_api_key_spec.rb +3 -3
  763. data/spec/models/application_campaign_stats_spec.rb +2 -2
  764. data/spec/models/application_customer_entity_spec.rb +2 -2
  765. data/spec/models/application_customer_spec.rb +8 -2
  766. data/spec/models/application_entity_spec.rb +2 -2
  767. data/spec/models/application_event_spec.rb +2 -2
  768. data/spec/models/application_notification_spec.rb +2 -2
  769. data/spec/models/application_referee_spec.rb +2 -2
  770. data/spec/models/application_session_entity_spec.rb +2 -2
  771. data/spec/models/application_session_spec.rb +2 -2
  772. data/spec/models/application_spec.rb +2 -2
  773. data/spec/models/async_coupon_creation_response_spec.rb +2 -2
  774. data/spec/models/attribute_spec.rb +18 -2
  775. data/spec/models/attributes_mandatory_spec.rb +2 -2
  776. data/spec/models/attributes_settings_spec.rb +2 -2
  777. data/spec/models/audience_analytics_spec.rb +47 -0
  778. data/spec/models/audience_customer_spec.rb +113 -0
  779. data/spec/models/audience_integration_id_spec.rb +41 -0
  780. data/spec/models/audience_membership_spec.rb +2 -2
  781. data/spec/models/audience_spec.rb +26 -2
  782. data/spec/models/award_giveaway_effect_props_spec.rb +2 -2
  783. data/spec/models/base_loyalty_program_spec.rb +8 -2
  784. data/spec/models/base_notification_entity_spec.rb +41 -0
  785. data/spec/models/{loyalty_projection_spec.rb → base_notification_spec.rb} +11 -11
  786. data/spec/models/base_notification_webhook_spec.rb +65 -0
  787. data/spec/models/base_notifications_spec.rb +41 -0
  788. data/spec/models/base_saml_connection_spec.rb +2 -2
  789. data/spec/models/binding_spec.rb +2 -2
  790. data/spec/models/bulk_application_notification_spec.rb +2 -2
  791. data/spec/models/bulk_campaign_notification_spec.rb +2 -2
  792. data/spec/models/campaign_activation_request_spec.rb +41 -0
  793. data/spec/models/campaign_analytics_spec.rb +2 -2
  794. data/spec/models/campaign_collection_spec.rb +2 -2
  795. data/spec/models/campaign_collection_without_payload_spec.rb +2 -2
  796. data/spec/models/campaign_copy_spec.rb +2 -2
  797. data/spec/models/campaign_created_notification_spec.rb +14 -2
  798. data/spec/models/campaign_deleted_notification_spec.rb +8 -2
  799. data/spec/models/campaign_edited_notification_spec.rb +8 -2
  800. data/spec/models/campaign_entity_spec.rb +2 -2
  801. data/spec/models/campaign_group_entity_spec.rb +2 -2
  802. data/spec/models/campaign_group_spec.rb +2 -2
  803. data/spec/models/campaign_notification_spec.rb +2 -2
  804. data/spec/models/campaign_priorities_changed_notification_spec.rb +3 -3
  805. data/spec/models/campaign_priorities_v2_spec.rb +2 -2
  806. data/spec/models/campaign_ruleset_changed_notification_spec.rb +2 -2
  807. data/spec/models/campaign_search_spec.rb +2 -2
  808. data/spec/models/campaign_set_branch_node_spec.rb +2 -2
  809. data/spec/models/campaign_set_i_ds_spec.rb +2 -2
  810. data/spec/models/campaign_set_leaf_node_spec.rb +2 -2
  811. data/spec/models/campaign_set_node_spec.rb +2 -2
  812. data/spec/models/campaign_set_spec.rb +8 -2
  813. data/spec/models/campaign_set_v2_spec.rb +2 -2
  814. data/spec/models/campaign_spec.rb +9 -3
  815. data/spec/models/campaign_state_changed_notification_spec.rb +8 -2
  816. data/spec/models/campaign_template_collection_spec.rb +2 -2
  817. data/spec/models/campaign_template_params_spec.rb +8 -2
  818. data/spec/models/campaign_template_spec.rb +9 -3
  819. data/spec/models/card_ledger_transaction_log_entry_integration_api_spec.rb +117 -0
  820. data/spec/models/card_ledger_transaction_log_entry_spec.rb +117 -0
  821. data/spec/models/cart_item_spec.rb +8 -2
  822. data/spec/models/catalog_action_filter_spec.rb +57 -0
  823. data/spec/models/catalog_action_spec.rb +51 -0
  824. data/spec/models/catalog_item_spec.rb +77 -0
  825. data/spec/models/catalog_spec.rb +2 -2
  826. data/spec/models/catalog_sync_request_spec.rb +47 -0
  827. data/spec/models/catalogs_strikethrough_notification_policy_spec.rb +41 -0
  828. data/spec/models/change_profile_password_spec.rb +2 -2
  829. data/spec/models/change_spec.rb +8 -2
  830. data/spec/models/code_generator_settings_spec.rb +2 -2
  831. data/spec/models/collection_item_spec.rb +41 -0
  832. data/spec/models/collection_spec.rb +2 -2
  833. data/spec/models/collection_without_payload_spec.rb +2 -2
  834. data/spec/models/coupon_constraints_spec.rb +8 -2
  835. data/spec/models/coupon_created_effect_props_spec.rb +2 -2
  836. data/spec/models/coupon_creation_job_spec.rb +8 -2
  837. data/spec/models/coupon_limit_configs_spec.rb +2 -2
  838. data/spec/models/coupon_rejection_reason_spec.rb +3 -3
  839. data/spec/models/coupon_reservations_spec.rb +2 -2
  840. data/spec/models/coupon_search_spec.rb +2 -2
  841. data/spec/models/coupon_spec.rb +20 -2
  842. data/spec/models/coupon_value_spec.rb +2 -2
  843. data/spec/models/coupons_notification_policy_spec.rb +51 -0
  844. data/spec/models/create_application_api_key_spec.rb +3 -3
  845. data/spec/models/create_management_key_spec.rb +59 -0
  846. data/spec/models/create_template_campaign_response_spec.rb +2 -2
  847. data/spec/models/create_template_campaign_spec.rb +8 -2
  848. data/spec/models/custom_effect_props_spec.rb +26 -2
  849. data/spec/models/custom_effect_spec.rb +8 -2
  850. data/spec/models/customer_activity_report_spec.rb +2 -2
  851. data/spec/models/customer_analytics_spec.rb +2 -2
  852. data/spec/models/customer_inventory_spec.rb +2 -2
  853. data/spec/models/customer_profile_audience_request_item_spec.rb +2 -2
  854. data/spec/models/customer_profile_audience_request_spec.rb +2 -2
  855. data/spec/models/customer_profile_integration_request_v2_spec.rb +8 -2
  856. data/spec/models/customer_profile_search_query_spec.rb +2 -2
  857. data/spec/models/customer_profile_spec.rb +8 -2
  858. data/spec/models/customer_profile_update_v2_response_spec.rb +41 -0
  859. data/spec/models/customer_session_spec.rb +2 -2
  860. data/spec/models/customer_session_v2_spec.rb +8 -2
  861. data/spec/models/deduct_loyalty_points_effect_props_spec.rb +2 -2
  862. data/spec/models/deduct_loyalty_points_spec.rb +59 -0
  863. data/spec/models/effect_entity_spec.rb +8 -2
  864. data/spec/models/effect_spec.rb +8 -2
  865. data/spec/models/email_entity_spec.rb +2 -2
  866. data/spec/models/endpoint_spec.rb +41 -0
  867. data/spec/models/entity_spec.rb +2 -2
  868. data/spec/models/entity_with_talang_visible_id_spec.rb +2 -2
  869. data/spec/models/environment_spec.rb +2 -2
  870. data/spec/models/error_effect_props_spec.rb +2 -2
  871. data/spec/models/error_response_spec.rb +2 -2
  872. data/spec/models/error_response_with_status_spec.rb +2 -2
  873. data/spec/models/error_source_spec.rb +2 -2
  874. data/spec/models/evaluable_campaign_ids_spec.rb +41 -0
  875. data/spec/models/event_spec.rb +2 -2
  876. data/spec/models/event_type_spec.rb +2 -2
  877. data/spec/models/event_v2_spec.rb +8 -2
  878. data/spec/models/expiring_points_notification_policy_spec.rb +47 -0
  879. data/spec/models/expiring_points_notification_trigger_spec.rb +51 -0
  880. data/spec/models/export_spec.rb +2 -2
  881. data/spec/models/feature_flag_spec.rb +2 -2
  882. data/spec/models/features_feed_spec.rb +2 -2
  883. data/spec/models/feed_notification_spec.rb +2 -2
  884. data/spec/models/frontend_state_spec.rb +35 -0
  885. data/spec/models/func_arg_def_spec.rb +3 -3
  886. data/spec/models/function_def_spec.rb +2 -2
  887. data/spec/models/giveaway_spec.rb +14 -2
  888. data/spec/models/giveaways_pool_spec.rb +8 -2
  889. data/spec/models/import_entity_spec.rb +2 -2
  890. data/spec/models/import_spec.rb +2 -2
  891. data/spec/models/inline_response20010_spec.rb +2 -2
  892. data/spec/models/inline_response20011_spec.rb +2 -2
  893. data/spec/models/inline_response20012_spec.rb +3 -3
  894. data/spec/models/inline_response20013_spec.rb +2 -8
  895. data/spec/models/inline_response20014_spec.rb +2 -2
  896. data/spec/models/inline_response20015_spec.rb +8 -2
  897. data/spec/models/inline_response20016_spec.rb +2 -2
  898. data/spec/models/inline_response20017_spec.rb +8 -2
  899. data/spec/models/inline_response20018_spec.rb +2 -2
  900. data/spec/models/inline_response20019_spec.rb +2 -2
  901. data/spec/models/inline_response2001_spec.rb +3 -3
  902. data/spec/models/inline_response20020_spec.rb +2 -8
  903. data/spec/models/inline_response20021_spec.rb +4 -4
  904. data/spec/models/inline_response20022_spec.rb +8 -2
  905. data/spec/models/inline_response20023_spec.rb +8 -2
  906. data/spec/models/inline_response20024_spec.rb +3 -3
  907. data/spec/models/inline_response20025_spec.rb +3 -3
  908. data/spec/models/inline_response20026_spec.rb +3 -3
  909. data/spec/models/inline_response20027_spec.rb +3 -3
  910. data/spec/models/inline_response20028_spec.rb +2 -2
  911. data/spec/models/inline_response20029_spec.rb +4 -4
  912. data/spec/models/inline_response2002_spec.rb +3 -3
  913. data/spec/models/inline_response20030_spec.rb +8 -2
  914. data/spec/models/inline_response20031_spec.rb +2 -2
  915. data/spec/models/inline_response20032_spec.rb +47 -0
  916. data/spec/models/inline_response20033_spec.rb +47 -0
  917. data/spec/models/inline_response20034_spec.rb +47 -0
  918. data/spec/models/inline_response20035_spec.rb +47 -0
  919. data/spec/models/inline_response20036_spec.rb +47 -0
  920. data/spec/models/inline_response20037_spec.rb +47 -0
  921. data/spec/models/inline_response20038_spec.rb +53 -0
  922. data/spec/models/inline_response20039_spec.rb +47 -0
  923. data/spec/models/inline_response2003_spec.rb +2 -2
  924. data/spec/models/inline_response20040_spec.rb +47 -0
  925. data/spec/models/inline_response2004_spec.rb +2 -2
  926. data/spec/models/inline_response2005_spec.rb +3 -3
  927. data/spec/models/inline_response2006_spec.rb +3 -3
  928. data/spec/models/inline_response2007_spec.rb +2 -2
  929. data/spec/models/inline_response2008_spec.rb +2 -8
  930. data/spec/models/inline_response2009_spec.rb +2 -8
  931. data/spec/models/inline_response200_spec.rb +2 -2
  932. data/spec/models/inline_response201_spec.rb +2 -2
  933. data/spec/models/integration_coupon_spec.rb +167 -0
  934. data/spec/models/integration_customer_session_response_spec.rb +8 -2
  935. data/spec/models/integration_entity_spec.rb +2 -2
  936. data/spec/models/integration_event_spec.rb +2 -2
  937. data/spec/models/integration_event_v2_request_spec.rb +8 -2
  938. data/spec/models/integration_profile_entity_spec.rb +2 -2
  939. data/spec/models/integration_request_spec.rb +2 -2
  940. data/spec/models/integration_state_spec.rb +2 -2
  941. data/spec/models/integration_state_v2_spec.rb +2 -2
  942. data/spec/models/inventory_coupon_spec.rb +20 -2
  943. data/spec/models/inventory_referral_spec.rb +2 -2
  944. data/spec/models/item_attribute_spec.rb +53 -0
  945. data/spec/models/ledger_entry_spec.rb +2 -2
  946. data/spec/models/ledger_info_spec.rb +5 -5
  947. data/spec/models/ledger_transaction_log_entry_integration_api_spec.rb +111 -0
  948. data/spec/models/library_attribute_spec.rb +2 -2
  949. data/spec/models/limit_config_spec.rb +2 -2
  950. data/spec/models/limit_counter_spec.rb +2 -2
  951. data/spec/models/login_params_spec.rb +2 -2
  952. data/spec/models/loyalty_balance_spec.rb +59 -0
  953. data/spec/models/loyalty_balances_spec.rb +47 -0
  954. data/spec/models/loyalty_card_profile_registration_spec.rb +2 -2
  955. data/spec/models/loyalty_card_registration_spec.rb +2 -2
  956. data/spec/models/loyalty_card_spec.rb +14 -2
  957. data/spec/models/loyalty_dashboard_data_spec.rb +2 -2
  958. data/spec/models/loyalty_dashboard_points_breakdown_spec.rb +2 -2
  959. data/spec/models/loyalty_ledger_entry_spec.rb +8 -2
  960. data/spec/models/loyalty_ledger_spec.rb +2 -2
  961. data/spec/models/loyalty_ledger_transactions_spec.rb +47 -0
  962. data/spec/models/loyalty_membership_spec.rb +2 -2
  963. data/spec/models/loyalty_program_balance_spec.rb +8 -2
  964. data/spec/models/loyalty_program_entity_spec.rb +2 -2
  965. data/spec/models/loyalty_program_ledgers_spec.rb +2 -2
  966. data/spec/models/loyalty_program_spec.rb +8 -2
  967. data/spec/models/loyalty_program_transaction_spec.rb +141 -0
  968. data/spec/models/loyalty_spec.rb +2 -2
  969. data/spec/models/loyalty_statistics_spec.rb +2 -2
  970. data/spec/models/loyalty_sub_ledger_spec.rb +2 -2
  971. data/spec/models/loyalty_tier_spec.rb +2 -2
  972. data/spec/models/management_key_spec.rb +83 -0
  973. data/spec/models/manager_config_spec.rb +2 -2
  974. data/spec/models/meta_spec.rb +2 -2
  975. data/spec/models/model_return_spec.rb +2 -2
  976. data/spec/models/multi_application_entity_spec.rb +2 -2
  977. data/spec/models/multiple_attribute_spec.rb +2 -2
  978. data/spec/models/multiple_audiences_item_spec.rb +69 -0
  979. data/spec/models/multiple_audiences_spec.rb +47 -0
  980. data/spec/models/multiple_customer_profile_integration_request_item_spec.rb +2 -2
  981. data/spec/models/multiple_customer_profile_integration_request_spec.rb +2 -2
  982. data/spec/models/multiple_customer_profile_integration_response_v2_spec.rb +2 -2
  983. data/spec/models/multiple_new_attribute_spec.rb +2 -2
  984. data/spec/models/multiple_new_audiences_spec.rb +41 -0
  985. data/spec/models/mutable_entity_spec.rb +2 -2
  986. data/spec/models/new_account_sign_up_spec.rb +2 -2
  987. data/spec/models/new_account_spec.rb +2 -2
  988. data/spec/models/new_additional_cost_spec.rb +2 -2
  989. data/spec/models/new_application_api_key_spec.rb +3 -3
  990. data/spec/models/new_application_spec.rb +2 -2
  991. data/spec/models/new_attribute_spec.rb +18 -2
  992. data/spec/models/new_audience_spec.rb +26 -2
  993. data/spec/models/new_base_notification_spec.rb +47 -0
  994. data/spec/models/new_campaign_collection_spec.rb +2 -2
  995. data/spec/models/new_campaign_group_spec.rb +2 -2
  996. data/spec/models/new_campaign_set_spec.rb +2 -2
  997. data/spec/models/new_campaign_set_v2_spec.rb +2 -2
  998. data/spec/models/new_campaign_spec.rb +3 -3
  999. data/spec/models/new_campaign_template_spec.rb +9 -3
  1000. data/spec/models/new_catalog_spec.rb +2 -2
  1001. data/spec/models/new_collection_spec.rb +2 -2
  1002. data/spec/models/new_coupon_creation_job_spec.rb +8 -2
  1003. data/spec/models/new_coupons_for_multiple_recipients_spec.rb +8 -2
  1004. data/spec/models/new_coupons_spec.rb +14 -2
  1005. data/spec/models/new_custom_effect_spec.rb +8 -2
  1006. data/spec/models/new_customer_profile_spec.rb +2 -2
  1007. data/spec/models/new_customer_session_spec.rb +2 -2
  1008. data/spec/models/new_customer_session_v2_spec.rb +8 -2
  1009. data/spec/models/new_event_spec.rb +2 -2
  1010. data/spec/models/new_event_type_spec.rb +2 -2
  1011. data/spec/models/new_giveaways_pool_spec.rb +8 -2
  1012. data/spec/models/new_internal_audience_spec.rb +53 -0
  1013. data/spec/models/new_invitation_spec.rb +2 -2
  1014. data/spec/models/new_invite_email_spec.rb +2 -2
  1015. data/spec/models/new_loyalty_program_spec.rb +8 -2
  1016. data/spec/models/new_loyalty_tier_spec.rb +2 -2
  1017. data/spec/models/new_management_key_spec.rb +89 -0
  1018. data/spec/models/new_multiple_audiences_item_spec.rb +47 -0
  1019. data/spec/models/new_notification_webhook_spec.rb +2 -2
  1020. data/spec/models/new_outgoing_integration_webhook_spec.rb +47 -0
  1021. data/spec/models/new_password_email_spec.rb +2 -2
  1022. data/spec/models/new_password_spec.rb +2 -2
  1023. data/spec/models/new_picklist_spec.rb +51 -0
  1024. data/spec/models/new_referral_spec.rb +2 -2
  1025. data/spec/models/new_referrals_for_multiple_advocates_spec.rb +2 -2
  1026. data/spec/models/new_return_spec.rb +2 -2
  1027. data/spec/models/new_role_spec.rb +2 -2
  1028. data/spec/models/new_ruleset_spec.rb +8 -2
  1029. data/spec/models/new_saml_connection_spec.rb +2 -2
  1030. data/spec/models/new_template_def_spec.rb +2 -2
  1031. data/spec/models/new_user_spec.rb +2 -2
  1032. data/spec/models/new_webhook_spec.rb +2 -2
  1033. data/spec/models/notification_spec.rb +2 -2
  1034. data/spec/models/notification_webhook_spec.rb +2 -2
  1035. data/spec/models/outgoing_integration_braze_policy_spec.rb +47 -0
  1036. data/spec/models/outgoing_integration_configuration_spec.rb +59 -0
  1037. data/spec/models/outgoing_integration_type_spec.rb +65 -0
  1038. data/spec/models/outgoing_integration_types_spec.rb +41 -0
  1039. data/spec/models/outgoing_integration_webhook_template_spec.rb +75 -0
  1040. data/spec/models/outgoing_integration_webhook_templates_spec.rb +41 -0
  1041. data/spec/models/patch_item_catalog_action_spec.rb +59 -0
  1042. data/spec/models/patch_many_items_catalog_action_spec.rb +53 -0
  1043. data/spec/models/picklist_spec.rb +87 -0
  1044. data/spec/models/priority_position_spec.rb +51 -0
  1045. data/spec/models/profile_audiences_changes_spec.rb +2 -2
  1046. data/spec/models/redeem_referral_effect_props_spec.rb +2 -2
  1047. data/spec/models/referral_constraints_spec.rb +2 -2
  1048. data/spec/models/referral_created_effect_props_spec.rb +2 -2
  1049. data/spec/models/referral_rejection_reason_spec.rb +3 -3
  1050. data/spec/models/referral_spec.rb +2 -2
  1051. data/spec/models/reject_coupon_effect_props_spec.rb +2 -2
  1052. data/spec/models/reject_referral_effect_props_spec.rb +2 -2
  1053. data/spec/models/remove_item_catalog_action_spec.rb +41 -0
  1054. data/spec/models/remove_many_items_catalog_action_spec.rb +41 -0
  1055. data/spec/models/reopen_session_response_spec.rb +41 -0
  1056. data/spec/models/reserve_coupon_effect_props_spec.rb +53 -0
  1057. data/spec/models/return_integration_request_spec.rb +2 -2
  1058. data/spec/models/returned_cart_item_spec.rb +2 -2
  1059. data/spec/models/role_assign_spec.rb +2 -2
  1060. data/spec/models/role_membership_spec.rb +2 -2
  1061. data/spec/models/role_spec.rb +2 -2
  1062. data/spec/models/role_v2_application_details_spec.rb +53 -0
  1063. data/spec/models/role_v2_permission_set_spec.rb +47 -0
  1064. data/spec/models/role_v2_permissions_roles_spec.rb +53 -0
  1065. data/spec/models/role_v2_permissions_spec.rb +47 -0
  1066. data/spec/models/{loyalty_points_spec.rb → role_v2_spec.rb} +13 -13
  1067. data/spec/models/rollback_added_loyalty_points_effect_props_spec.rb +2 -2
  1068. data/spec/models/rollback_coupon_effect_props_spec.rb +2 -2
  1069. data/spec/models/rollback_deducted_loyalty_points_effect_props_spec.rb +2 -2
  1070. data/spec/models/rollback_discount_effect_props_spec.rb +2 -2
  1071. data/spec/models/rollback_referral_effect_props_spec.rb +2 -2
  1072. data/spec/models/rule_failure_reason_spec.rb +2 -2
  1073. data/spec/models/rule_spec.rb +14 -2
  1074. data/spec/models/ruleset_spec.rb +8 -2
  1075. data/spec/models/saml_connection_metadata_spec.rb +2 -2
  1076. data/spec/models/saml_connection_spec.rb +2 -2
  1077. data/spec/models/saml_login_endpoint_spec.rb +2 -2
  1078. data/spec/models/session_spec.rb +2 -2
  1079. data/spec/models/set_discount_effect_props_spec.rb +2 -2
  1080. data/spec/models/set_discount_per_additional_cost_effect_props_spec.rb +2 -2
  1081. data/spec/models/set_discount_per_additional_cost_per_item_effect_props_spec.rb +2 -2
  1082. data/spec/models/set_discount_per_item_effect_props_spec.rb +14 -2
  1083. data/spec/models/show_bundle_metadata_effect_props_spec.rb +2 -2
  1084. data/spec/models/show_notification_effect_props_spec.rb +2 -2
  1085. data/spec/models/slot_def_spec.rb +2 -2
  1086. data/spec/models/strikethrough_changed_item_spec.rb +77 -0
  1087. data/spec/models/strikethrough_custom_effect_per_item_props_spec.rb +53 -0
  1088. data/spec/models/strikethrough_effect_spec.rb +71 -0
  1089. data/spec/models/strikethrough_labeling_notification_spec.rb +65 -0
  1090. data/spec/models/strikethrough_set_discount_per_item_effect_props_spec.rb +47 -0
  1091. data/spec/models/strikethrough_trigger_spec.rb +65 -0
  1092. data/spec/models/talang_attribute_spec.rb +97 -0
  1093. data/spec/models/talang_attribute_visibility_spec.rb +47 -0
  1094. data/spec/models/template_arg_def_spec.rb +15 -3
  1095. data/spec/models/template_def_spec.rb +2 -2
  1096. data/spec/models/template_limit_config_spec.rb +2 -2
  1097. data/spec/models/tier_spec.rb +2 -2
  1098. data/spec/models/transfer_loyalty_card_spec.rb +41 -0
  1099. data/spec/models/trigger_webhook_effect_props_spec.rb +2 -2
  1100. data/spec/models/update_account_spec.rb +2 -2
  1101. data/spec/models/update_application_spec.rb +2 -2
  1102. data/spec/models/update_attribute_effect_props_spec.rb +2 -2
  1103. data/spec/models/update_audience_spec.rb +2 -2
  1104. data/spec/models/update_campaign_collection_spec.rb +2 -2
  1105. data/spec/models/update_campaign_group_spec.rb +2 -2
  1106. data/spec/models/update_campaign_spec.rb +3 -3
  1107. data/spec/models/update_campaign_template_spec.rb +9 -3
  1108. data/spec/models/update_catalog_spec.rb +2 -2
  1109. data/spec/models/update_collection_spec.rb +2 -2
  1110. data/spec/models/update_coupon_batch_spec.rb +8 -2
  1111. data/spec/models/update_coupon_spec.rb +14 -2
  1112. data/spec/models/update_custom_effect_spec.rb +8 -2
  1113. data/spec/models/update_loyalty_card_spec.rb +2 -2
  1114. data/spec/models/update_loyalty_program_spec.rb +8 -2
  1115. data/spec/models/update_picklist_spec.rb +51 -0
  1116. data/spec/models/update_referral_batch_spec.rb +2 -2
  1117. data/spec/models/update_referral_spec.rb +2 -2
  1118. data/spec/models/update_role_spec.rb +2 -2
  1119. data/spec/models/update_user_latest_feed_timestamp_spec.rb +2 -2
  1120. data/spec/models/update_user_spec.rb +2 -2
  1121. data/spec/models/user_entity_spec.rb +2 -2
  1122. data/spec/models/user_feed_notifications_spec.rb +2 -2
  1123. data/spec/models/user_spec.rb +2 -2
  1124. data/spec/models/webhook_activation_log_entry_spec.rb +2 -2
  1125. data/spec/models/webhook_log_entry_spec.rb +2 -2
  1126. data/spec/models/webhook_spec.rb +2 -2
  1127. data/spec/models/will_award_giveaway_effect_props_spec.rb +2 -2
  1128. data/spec/spec_helper.rb +2 -2
  1129. data/talon_one.gemspec +2 -2
  1130. metadata +362 -14
  1131. data/docs/LoyaltyPoints.md +0 -25
  1132. data/docs/LoyaltyProjection.md +0 -21
  1133. data/docs/LoyaltyProjectionData.md +0 -23
@@ -4,13 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **application_ids** | **Array<Integer>** | The IDs of the applications that are related to this entity. |
7
+ **application_ids** | **Array<Integer>** | The IDs of the Applications that are related to this entity. |
8
+ **is_per_item** | **Boolean** | Indicates if this effect is per item or not. | [optional]
8
9
  **name** | **String** | The name of this effect. |
9
10
  **title** | **String** | The title of this effect. |
10
11
  **payload** | **String** | The JSON payload of this effect. |
11
12
  **description** | **String** | The description of this effect. | [optional]
12
13
  **enabled** | **Boolean** | Determines if this effect is active. |
13
- **params** | [**Array<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions | [optional]
14
+ **params** | [**Array<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions. | [optional]
14
15
 
15
16
  ## Code Sample
16
17
 
@@ -18,6 +19,7 @@ Name | Type | Description | Notes
18
19
  require 'TalonOne'
19
20
 
20
21
  instance = TalonOne::NewCustomEffect.new(application_ids: null,
22
+ is_per_item: null,
21
23
  name: null,
22
24
  title: null,
23
25
  payload: null,
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **attributes** | [**Object**](.md) | Arbitrary properties associated with this item | [optional]
7
+ **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional]
8
8
 
9
9
  ## Code Sample
10
10
 
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **profile_id** | **String** | ID of the customers profile as used within this Talon.One account. **Note:** If the customer does not yet have a known profileId, we recommend you use a guest profileId. | [optional]
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
  **coupon** | **String** | Any coupon code entered. | [optional]
9
9
  **referral** | **String** | Any referral code entered. | [optional]
10
- **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. `closed` → `cancelled` or `partially_returned` 4. `partially_returned` → `cancelled` For more information, see [Entities](/docs/dev/concepts/entities#customer-session). | [optional] [default to 'open']
10
+ **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. `closed` → `cancelled` or `partially_returned` 4. `partially_returned` → `cancelled` For more information, see [Customer session states](https://docs.talon.one/docs/dev/concepts/entities#customer-session). | [optional] [default to 'open']
11
11
  **cart_items** | [**Array<CartItem>**](CartItem.md) | Serialized JSON representation. | [optional]
12
- **identifiers** | **Array<String>** | Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers/). | [optional]
12
+ **identifiers** | **Array<String>** | Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). | [optional]
13
13
  **total** | **Float** | The total sum of the cart in one session. | [optional]
14
14
  **attributes** | [**Object**](.md) | A key-value map of the sessions attributes. The potentially valid attributes are configured in your accounts developer settings. | [optional]
15
15
 
@@ -19,9 +19,9 @@ Name | Type | Description | Notes
19
19
  require 'TalonOne'
20
20
 
21
21
  instance = TalonOne::NewCustomerSession.new(profile_id: URNGV8294NV,
22
- coupon: null,
23
- referral: null,
24
- state: null,
22
+ coupon: XMAS-2021,
23
+ referral: 2740-tbjua-6720,
24
+ state: open,
25
25
  cart_items: null,
26
26
  identifiers: [91.11.156.141],
27
27
  total: null,
@@ -4,15 +4,16 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **profile_id** | **String** | ID of the customers profile as used within this Talon.One account. **Note:** If the customer does not yet have a known profileId, we recommend you use a guest profileId. | [optional]
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
+ **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]
8
9
  **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]
9
10
  **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
11
  **loyalty_cards** | **Array<String>** | Any loyalty cards used. | [optional]
11
- **state** | **String** | Indicates the current state of the session. Sessions can be created as `open` or `closed`, after which valid transitions are: 1. `open` → `closed` 2. `open` → `cancelled` 3. `closed` → `cancelled` For more information, see [Entites](/docs/dev/concepts/entities#customer-session). | [optional] [default to 'open']
12
+ **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-session). | [optional] [default to 'open']
12
13
  **cart_items** | [**Array<CartItem>**](CartItem.md) | The items to add to this sessions. - If cart item flattening is disabled: **Do not exceed 1000 items** (regardless of their `quantity`) per request. - If cart item flattening is enabled: **Do not exceed 1000 items** and ensure the sum of all cart item's `quantity` **does not exceed 10.000** per request. | [optional]
13
- **additional_costs** | [**Hash<String, AdditionalCost>**](AdditionalCost.md) | Any costs associated with the session that can not be explicitly attributed to cart items. Examples include shipping costs and service fees. [Create them in the Campaign Manager](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs/#creating-additional-costs) before setting them with this property. | [optional]
14
- **identifiers** | **Array<String>** | Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers/). **Important**: If you [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains an identifier by the time you close it. | [optional]
15
- **attributes** | [**Object**](.md) | A key-value map of the sessions attributes. If you use custom attributes, they must be created in the Campaign Manager before you set them with this property. For more information, see [Attributes](https://docs.talon.one/docs/dev/concepts/attributes). | [optional]
14
+ **additional_costs** | [**Hash<String, AdditionalCost>**](AdditionalCost.md) | Use this property to set a value for the additional costs of this session, such as a shipping cost. They must be created in the Campaign Manager before you set them with this property. See [Managing additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs). | [optional]
15
+ **identifiers** | **Array<String>** | Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). | [optional]
16
+ **attributes** | [**Object**](.md) | Use this property to set a value for the attributes of your choice. Attributes represent any information to attach to your session, like the shipping city. You can use [built-in attributes](https://docs.talon.one/docs/dev/concepts/attributes#built-in-attributes) or [custom ones](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes). Custom attributes must be created in the Campaign Manager before you set them with this property. | [optional]
16
17
 
17
18
  ## Code Sample
18
19
 
@@ -20,6 +21,7 @@ Name | Type | Description | Notes
20
21
  require 'TalonOne'
21
22
 
22
23
  instance = TalonOne::NewCustomerSessionV2.new(profile_id: URNGV8294NV,
24
+ evaluable_campaign_ids: [10, 12],
23
25
  coupon_codes: [XMAS-20-2021],
24
26
  referral_code: NT2K54D9,
25
27
  loyalty_cards: [loyalty-card-1],
data/docs/NewEvent.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **profile_id** | **String** | ID of the customers profile as used within this Talon.One account. **Note:** If the customer does not yet have a known profileId, we recommend you use a guest profileId. | [optional]
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
  **type** | **String** | A string representing the event. Must not be a reserved event name. |
9
9
  **attributes** | [**Object**](.md) | Arbitrary additional JSON data associated with the event. |
10
10
  **session_id** | **String** | The ID of the session that this event occurred in. |
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  require 'TalonOne'
16
16
 
17
17
  instance = TalonOne::NewEvent.new(profile_id: URNGV8294NV,
18
- type: pageViews,
18
+ type: pageViewed,
19
19
  attributes: {"myAttribute":"myValue"},
20
20
  session_id: 175KJPS947296)
21
21
  ```
data/docs/NewEventType.md CHANGED
@@ -4,18 +4,18 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **title** | **String** | The human-friendly display name for this event type. Use a short, past-tense, description of the event. |
8
- **name** | **String** | The machine-friendly canonical name for this event type. This will be used in URLs, and cannot be changed after an event type has been created. |
9
- **description** | **String** | An explanation of when the event type is triggered. Write this with a campaign manager in mind. For example: > The \"Payment Accepted\" event is triggered after successful processing of a payment by our payment gateway. | [optional]
7
+ **title** | **String** | The human-friendly name for this event type. |
8
+ **name** | **String** | The integration name for this event type. This will be used in URLs and cannot be changed after an event type has been created. |
9
+ **description** | **String** | A description of what the event represents. | [optional]
10
10
 
11
11
  ## Code Sample
12
12
 
13
13
  ```ruby
14
14
  require 'TalonOne'
15
15
 
16
- instance = TalonOne::NewEventType.new(title: null,
17
- name: null,
18
- description: null)
16
+ instance = TalonOne::NewEventType.new(title: Survey Completed,
17
+ name: surveyCompleted,
18
+ description: The survey was submitted by the customer.)
19
19
  ```
20
20
 
21
21
 
@@ -6,16 +6,18 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | The name of this giveaways pool. |
8
8
  **description** | **String** | The description of this giveaways pool. | [optional]
9
- **subscribed_applications_ids** | **Array<Integer>** | A list of the IDs of the applications that this giveaways pool is enabled for | [optional]
9
+ **subscribed_applications_ids** | **Array<Integer>** | A list of the IDs of the applications that this giveaways pool is enabled for. | [optional]
10
+ **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. |
10
11
 
11
12
  ## Code Sample
12
13
 
13
14
  ```ruby
14
15
  require 'TalonOne'
15
16
 
16
- instance = TalonOne::NewGiveawaysPool.new(name: null,
17
- description: null,
18
- subscribed_applications_ids: null)
17
+ instance = TalonOne::NewGiveawaysPool.new(name: My giveaway pool,
18
+ description: Generic pool,
19
+ subscribed_applications_ids: [2, 4],
20
+ sandbox: true)
19
21
  ```
20
22
 
21
23
 
@@ -0,0 +1,21 @@
1
+ # TalonOne::NewInternalAudience
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The human-friendly display name for this audience. |
8
+ **sandbox** | **Boolean** | Indicates if this is a live or sandbox Application. | [optional]
9
+ **description** | **String** | A description of the audience. | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TalonOne'
15
+
16
+ instance = TalonOne::NewInternalAudience.new(name: Travel audience,
17
+ sandbox: true,
18
+ description: Travel audience 18-25)
19
+ ```
20
+
21
+
@@ -6,16 +6,16 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | Name of the user being invited. | [optional]
8
8
  **email** | **String** | |
9
- **acl** | **String** | The `Access Control List` json defining the role of the user. This represents the actual access control on the user level. Use one of the following: - normal user: `{\"Role\": 0}` - admin: `{\"Role\": 127}` |
10
- **roles** | **Array<Integer>** | An array of roleIDs to assign the new user to | [optional]
9
+ **acl** | **String** | The `Access Control List` json defining the role of the user. This represents the access control on the user level. Use one of the following: - normal user: `{\"Role\": 0}` - admin: `{\"Role\": 127}` |
10
+ **roles** | **Array<Integer>** | An array of roleIDs to assign the new user to. | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'TalonOne'
16
16
 
17
- instance = TalonOne::NewInvitation.new(name: null,
18
- email: john@example.com,
17
+ instance = TalonOne::NewInvitation.new(name: John Doe,
18
+ email: john.doe@example.com,
19
19
  acl: {"Role":0},
20
20
  roles: null)
21
21
  ```
@@ -7,12 +7,13 @@ Name | Type | Description | Notes
7
7
  **title** | **String** | The display title for the Loyalty Program. |
8
8
  **description** | **String** | Description of our Loyalty Program. | [optional]
9
9
  **subscribed_applications** | **Array<Integer>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | [optional]
10
- **default_validity** | **String** | Indicates the default duration after which new loyalty points should expire. The format is a number, followed by one letter indicating the unit; like '1h' or '40m'. |
11
- **default_pending** | **String** | Indicates the default duration for the pending time, after which points will be valid. The format is a number followed by a duration unit, like '1h' or '40m'. |
12
- **allow_subledger** | **Boolean** | Indicates if this program supports subledgers inside the program |
10
+ **default_validity** | **String** | The default duration after which new loyalty points should expire. Can be 'unlimited' or a specific time. The time format is a number followed by one letter indicating the time unit, like '30s', '40m', '1h', '5D', '7W', or 10M'. These rounding suffixes are also supported: - '_D' for rounding down. Can be used as a suffix after 'D', and signifies the start of the day. - '_U' for rounding up. Can be used as a suffix after 'D', 'W', and 'M', and signifies the end of the day, week, and month. |
11
+ **default_pending** | **String** | The default duration of the pending time after which points should be valid. Can be 'immediate' or a specific time. The time format is a number followed by one letter indicating the time unit, like '30s', '40m', '1h', '5D', '7W', or 10M'. These rounding suffixes are also supported: - '_D' for rounding down. Can be used as a suffix after 'D', and signifies the start of the day. - '_U' for rounding up. Can be used as a suffix after 'D', 'W', and 'M', and signifies the end of the day, week, and month. |
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
+ **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. |
14
15
  **name** | **String** | The internal name for the Loyalty Program. This is an immutable value. |
15
- **tiers** | [**Array<NewLoyaltyTier>**](NewLoyaltyTier.md) | The tiers in this loyalty program | [optional]
16
+ **tiers** | [**Array<NewLoyaltyTier>**](NewLoyaltyTier.md) | The tiers in this loyalty program. | [optional]
16
17
  **timezone** | **String** | A string containing an IANA timezone descriptor. |
17
18
  **card_based** | **Boolean** | Defines the type of loyalty program: - `true`: the program is a card-based. - `false`: the program is profile-based. | [default to false]
18
19
 
@@ -24,10 +25,11 @@ require 'TalonOne'
24
25
  instance = TalonOne::NewLoyaltyProgram.new(title: Point collection,
25
26
  description: Customers collect 10 points per 1$ spent,
26
27
  subscribed_applications: [132, 97],
27
- default_validity: unlimited,
28
+ default_validity: 2W_U,
28
29
  default_pending: immediate,
29
30
  allow_subledger: false,
30
31
  users_per_card_limit: 111,
32
+ sandbox: true,
31
33
  name: GeneralPointCollection,
32
34
  tiers: null,
33
35
  timezone: null,
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | The name of the tier |
8
- **min_points** | **Float** | The minimum amount of points required to be eligible for the tier |
8
+ **min_points** | **Float** | The minimum amount of points required to be eligible for the tier. |
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -0,0 +1,33 @@
1
+ # TalonOne::NewManagementKey
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | Name for management key. |
8
+ **expiry_date** | **DateTime** | The date the management key expires. |
9
+ **endpoints** | [**Array<Endpoint>**](Endpoint.md) | The list of endpoints that can be accessed with the key |
10
+ **allowed_application_ids** | **Array<Integer>** | A list of Application IDs that you can access with the management key. An empty or missing list means the management key can be used for all Applications in the account. | [optional]
11
+ **id** | **Integer** | ID of the management key. |
12
+ **created_by** | **Integer** | ID of the user who created it. |
13
+ **account_id** | **Integer** | ID of account the key is used for. |
14
+ **created** | **DateTime** | The date the management key was created. |
15
+ **key** | **String** | The management key. |
16
+
17
+ ## Code Sample
18
+
19
+ ```ruby
20
+ require 'TalonOne'
21
+
22
+ instance = TalonOne::NewManagementKey.new(name: My generated key,
23
+ expiry_date: 2023-08-24T14:00Z,
24
+ endpoints: null,
25
+ allowed_application_ids: [1, 2, 3],
26
+ id: 34,
27
+ created_by: 280,
28
+ account_id: 13,
29
+ created: 2022-03-02T16:46:17.758585Z,
30
+ key: f45f90d21dcd9bac965c45e547e9754a3196891d09948e35adbcbedc4e9e4b01)
31
+ ```
32
+
33
+
@@ -0,0 +1,19 @@
1
+ # TalonOne::NewMultipleAudiencesItem
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The human-friendly display name for this audience. |
8
+ **integration_id** | **String** | The ID of this audience in the third-party integration. | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'TalonOne'
14
+
15
+ instance = TalonOne::NewMultipleAudiencesItem.new(name: Travel audience,
16
+ integration_id: 382370BKDB946)
17
+ ```
18
+
19
+
@@ -4,16 +4,16 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **url** | **String** | API url for this notification webhook |
8
- **headers** | **Array<String>** | List of API HTTP headers for this notification webhook |
7
+ **url** | **String** | API URL for the given webhook-based notification. |
8
+ **headers** | **Array<String>** | List of API HTTP headers for the given webhook-based notification. |
9
9
 
10
10
  ## Code Sample
11
11
 
12
12
  ```ruby
13
13
  require 'TalonOne'
14
14
 
15
- instance = TalonOne::NewNotificationWebhook.new(url: null,
16
- headers: null)
15
+ instance = TalonOne::NewNotificationWebhook.new(url: www.my-company.com/my-endpoint-name,
16
+ headers: content-type: application/json)
17
17
  ```
18
18
 
19
19
 
@@ -0,0 +1,19 @@
1
+ # TalonOne::NewOutgoingIntegrationWebhook
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **title** | **String** | Webhook title. |
8
+ **application_ids** | **Array<Integer>** | IDs of the Applications to which a webhook must be linked. |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'TalonOne'
14
+
15
+ instance = TalonOne::NewOutgoingIntegrationWebhook.new(title: Send email to customer via Braze,
16
+ application_ids: [1, 2, 3])
17
+ ```
18
+
19
+
data/docs/NewPassword.md CHANGED
@@ -12,8 +12,8 @@ Name | Type | Description | Notes
12
12
  ```ruby
13
13
  require 'TalonOne'
14
14
 
15
- instance = TalonOne::NewPassword.new(password: null,
16
- reset_token: null)
15
+ instance = TalonOne::NewPassword.new(password: Admin&12943!7,
16
+ reset_token: Z2VgacVNkexLKBUIzsRDDZSGxnIkC53y)
17
17
  ```
18
18
 
19
19
 
@@ -0,0 +1,19 @@
1
+ # TalonOne::NewPicklist
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **type** | **String** | The type of allowed values in the picklist. If type time is chosen, it must be an RFC3339 timestamp string. |
8
+ **values** | **Array<String>** | The list of allowed values provided by this picklist. |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'TalonOne'
14
+
15
+ instance = TalonOne::NewPicklist.new(type: 2012-11-01T22:08:41+00:00,
16
+ values: [Jeans, Shirt, Coat])
17
+ ```
18
+
19
+
data/docs/NewReferral.md CHANGED
@@ -5,11 +5,11 @@
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** | Expiry 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, zero, or negative. | [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. |
12
- **friend_profile_integration_id** | **String** | An optional Integration ID of the Friend's Profile | [optional]
12
+ **friend_profile_integration_id** | **String** | An optional Integration ID of the Friend's Profile. | [optional]
13
13
  **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional]
14
14
 
15
15
  ## Code Sample
@@ -23,7 +23,7 @@ instance = TalonOne::NewReferral.new(start_date: 2020-11-10T23:00Z,
23
23
  campaign_id: 78,
24
24
  advocate_profile_integration_id: URNGV8294NV,
25
25
  friend_profile_integration_id: BZGGC2454PA,
26
- attributes: null)
26
+ attributes: {"channel":"web"})
27
27
  ```
28
28
 
29
29
 
@@ -5,11 +5,11 @@
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** | Expiry 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, zero, or negative. | [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. |
12
- **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional]
12
+ **attributes** | [**Object**](.md) | Arbitrary properties associated with this referral code. | [optional]
13
13
  **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]
14
14
  **referral_pattern** | **String** | The pattern used to generate referrals. The character `#` is a placeholder and is replaced by a random character from the `validCharacters` set. | [optional]
15
15
 
@@ -23,8 +23,8 @@ instance = TalonOne::NewReferralsForMultipleAdvocates.new(start_date: 2020-11-10
23
23
  usage_limit: 1,
24
24
  campaign_id: 45,
25
25
  advocate_profile_integration_ids: [URNGV8294NV, DRPVV9476AF],
26
- attributes: null,
27
- valid_characters: [E, F, I, Z, 1, 2, 3],
26
+ attributes: {"channel":"web"},
27
+ valid_characters: [A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z],
28
28
  referral_pattern: REF-###-###)
29
29
  ```
30
30
 
data/docs/NewReturn.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **returned_cart_items** | [**Array<ReturnedCartItem>**](ReturnedCartItem.md) | List of cart items to be returned |
7
+ **returned_cart_items** | [**Array<ReturnedCartItem>**](ReturnedCartItem.md) | List of cart items to be returned. |
8
8
 
9
9
  ## Code Sample
10
10
 
data/docs/NewRole.md CHANGED
@@ -4,20 +4,20 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | Name of the role |
8
- **description** | **String** | Description of the role | [optional]
9
- **acl** | **String** | Role Policy this should be a stringified blob of json |
10
- **members** | **Array<Integer>** | An array of user identifiers |
7
+ **name** | **String** | Name of the role. |
8
+ **description** | **String** | Description of the role. | [optional]
9
+ **acl** | **String** | The `Access Control List` json defining the role of the user. This represents the access control on the user level. |
10
+ **members** | **Array<Integer>** | An array of user identifiers. |
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'TalonOne'
16
16
 
17
- instance = TalonOne::NewRole.new(name: null,
18
- description: null,
19
- acl: null,
20
- members: null)
17
+ instance = TalonOne::NewRole.new(name: Campaign Manager,
18
+ description: Manages the campaigns,
19
+ acl: ,
20
+ members: [48, 562, 475, 18])
21
21
  ```
22
22
 
23
23
 
data/docs/NewRuleset.md CHANGED
@@ -5,6 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **rules** | [**Array<Rule>**](Rule.md) | Set of rules to apply. |
8
+ **strikethrough_rules** | [**Array<Rule>**](Rule.md) | Set of rules to apply for strikethrough. | [optional]
8
9
  **bindings** | [**Array<Binding>**](Binding.md) | An array that provides objects with variable names (name) and talang expressions to whose result they are bound (expression) during rule evaluation. The order of the evaluation is decided by the position in the array. |
9
10
  **rb_version** | **String** | The version of the rulebuilder used to create this ruleset. | [optional]
10
11
  **activate** | **Boolean** | Indicates whether this created ruleset should be activated for the campaign that owns it. | [optional]
@@ -15,9 +16,10 @@ Name | Type | Description | Notes
15
16
  require 'TalonOne'
16
17
 
17
18
  instance = TalonOne::NewRuleset.new(rules: null,
19
+ strikethrough_rules: null,
18
20
  bindings: [],
19
21
  rb_version: v2,
20
- activate: null)
22
+ activate: true)
21
23
  ```
22
24
 
23
25
 
@@ -20,7 +20,7 @@ Name | Type | Description | Notes
20
20
  require 'TalonOne'
21
21
 
22
22
  instance = TalonOne::NewSamlConnection.new(x509certificate: null,
23
- account_id: null,
23
+ account_id: 3885,
24
24
  name: null,
25
25
  enabled: null,
26
26
  issuer: null,
data/docs/NewWebhook.md CHANGED
@@ -4,14 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **application_ids** | **Array<Integer>** | The IDs of the applications that are related to this entity. |
8
- **title** | **String** | Friendly title for this webhook |
9
- **verb** | **String** | API method for this webhook |
10
- **url** | **String** | API url (supports templating using parameters) for this webhook |
11
- **headers** | **Array<String>** | List of API HTTP headers for this webhook |
12
- **payload** | **String** | API payload (supports templating using parameters) for this webhook | [optional]
13
- **params** | [**Array<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions |
14
- **enabled** | **Boolean** | Enables or disables webhook from showing in rule builder |
7
+ **application_ids** | **Array<Integer>** | The IDs of the Applications that are related to this entity. |
8
+ **title** | **String** | Name or title for this webhook. |
9
+ **verb** | **String** | API method for this webhook. |
10
+ **url** | **String** | API URL (supports templating using parameters) for this webhook. |
11
+ **headers** | **Array<String>** | List of API HTTP headers for this webhook. |
12
+ **payload** | **String** | API payload (supports templating using parameters) for this webhook. | [optional]
13
+ **params** | [**Array<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions. |
14
+ **enabled** | **Boolean** | Enables or disables webhook from showing in the Rule Builder. |
15
15
 
16
16
  ## Code Sample
17
17
 
@@ -19,13 +19,15 @@ Name | Type | Description | Notes
19
19
  require 'TalonOne'
20
20
 
21
21
  instance = TalonOne::NewWebhook.new(application_ids: null,
22
- title: null,
23
- verb: null,
24
- url: null,
25
- headers: null,
26
- payload: null,
27
- params: null,
28
- enabled: null)
22
+ title: Send message,
23
+ verb: POST,
24
+ url: www.my-company.com/my-endpoint-name,
25
+ headers: [{"Authorization": "Basic bmF2ZWVua3VtYXIU="}, {"Content-Type": "application/json"}],
26
+ payload: {
27
+ "message": "${message}"
28
+ },
29
+ params: [],
30
+ enabled: true)
29
31
  ```
30
32
 
31
33
 
data/docs/Notification.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **Integer** | id of the notification |
8
- **name** | **String** | name of the notification |
9
- **description** | **String** | description of the notification |
7
+ **id** | **Integer** | id of the notification. |
8
+ **name** | **String** | name of the notification. |
9
+ **description** | **String** | description of the notification. |
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **Integer** | Unique ID for this entity. |
8
- **created** | **DateTime** | The exact moment this entity was created. |
9
- **modified** | **DateTime** | The exact moment this entity was last modified. |
7
+ **id** | **Integer** | Internal ID of this entity. |
8
+ **created** | **DateTime** | The time this entity was created. |
9
+ **modified** | **DateTime** | The time this entity was last modified. |
10
10
  **application_id** | **Integer** | The ID of the application that owns this entity. |
11
- **url** | **String** | API url for this notification webhook |
12
- **headers** | **Array<String>** | List of API HTTP headers for this notification webhook |
11
+ **url** | **String** | API URL for the given webhook-based notification. |
12
+ **headers** | **Array<String>** | List of API HTTP headers for the given webhook-based notification. |
13
13
 
14
14
  ## Code Sample
15
15
 
@@ -20,8 +20,8 @@ instance = TalonOne::NotificationWebhook.new(id: 6,
20
20
  created: 2020-06-10T09:05:27.993483Z,
21
21
  modified: 2021-09-12T10:12:42Z,
22
22
  application_id: 322,
23
- url: null,
24
- headers: null)
23
+ url: www.my-company.com/my-endpoint-name,
24
+ headers: content-type: application/json)
25
25
  ```
26
26
 
27
27