talon_one 2.4.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1161) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +43 -0
  3. data/README.md +325 -179
  4. data/docs/AcceptCouponEffectProps.md +1 -1
  5. data/docs/AcceptReferralEffectProps.md +1 -1
  6. data/docs/AccessLogEntry.md +15 -10
  7. data/docs/Account.md +9 -9
  8. data/docs/AccountAdditionalCost.md +13 -11
  9. data/docs/AccountAnalytics.md +37 -35
  10. data/docs/AccountDashboardStatistic.md +27 -0
  11. data/docs/AccountDashboardStatisticApiCalls.md +19 -0
  12. data/docs/AccountDashboardStatisticCampaigns.md +19 -0
  13. data/docs/AccountDashboardStatisticDiscount.md +21 -0
  14. data/docs/AccountDashboardStatisticLoyaltyPoints.md +19 -0
  15. data/docs/AccountDashboardStatisticReferrals.md +19 -0
  16. data/docs/AccountDashboardStatisticRevenue.md +21 -0
  17. data/docs/AccountEntity.md +1 -1
  18. data/docs/AccountLimits.md +12 -12
  19. data/docs/AddFreeItemEffectProps.md +3 -3
  20. data/docs/AddItemCatalogAction.md +23 -0
  21. data/docs/AddLoyaltyPoints.md +31 -0
  22. data/docs/AddLoyaltyPointsEffectProps.md +22 -10
  23. data/docs/AddedDeductedPointsNotificationPolicy.md +19 -0
  24. data/docs/AdditionalCost.md +1 -1
  25. data/docs/Application.md +33 -29
  26. data/docs/ApplicationAPIKey.md +16 -16
  27. data/docs/ApplicationApiHealth.md +3 -3
  28. data/docs/ApplicationCampaignStats.md +6 -6
  29. data/docs/ApplicationCustomer.md +16 -12
  30. data/docs/ApplicationCustomerEntity.md +1 -1
  31. data/docs/ApplicationEntity.md +1 -1
  32. data/docs/ApplicationEvent.md +7 -7
  33. data/docs/ApplicationNotification.md +17 -0
  34. data/docs/ApplicationReferee.md +5 -5
  35. data/docs/ApplicationSession.md +17 -15
  36. data/docs/ApplicationSessionEntity.md +1 -1
  37. data/docs/AsyncCouponCreationResponse.md +17 -0
  38. data/docs/Attribute.md +24 -14
  39. data/docs/Audience.md +19 -11
  40. data/docs/AudienceAnalytics.md +19 -0
  41. data/docs/AudienceCustomer.md +41 -0
  42. data/docs/AudienceIntegrationID.md +17 -0
  43. data/docs/AudienceMembership.md +2 -2
  44. data/docs/AwardGiveawayEffectProps.md +5 -5
  45. data/docs/BaseLoyaltyProgram.md +31 -0
  46. data/docs/BaseNotification.md +21 -0
  47. data/docs/BaseNotificationEntity.md +17 -0
  48. data/docs/BaseNotificationWebhook.md +25 -0
  49. data/docs/BaseNotifications.md +17 -0
  50. data/docs/BaseSamlConnection.md +1 -1
  51. data/docs/Binding.md +6 -4
  52. data/docs/BulkApplicationNotification.md +19 -0
  53. data/docs/BulkCampaignNotification.md +19 -0
  54. data/docs/Campaign.md +47 -37
  55. data/docs/CampaignActivationRequest.md +17 -0
  56. data/docs/CampaignAnalytics.md +8 -8
  57. data/docs/CampaignCollection.md +37 -0
  58. data/docs/CampaignCollectionWithoutPayload.md +35 -0
  59. data/docs/CampaignCopy.md +10 -10
  60. data/docs/CampaignCreatedNotification.md +21 -0
  61. data/docs/CampaignDeletedNotification.md +19 -0
  62. data/docs/CampaignEditedNotification.md +21 -0
  63. data/docs/CampaignEntity.md +1 -1
  64. data/docs/CampaignGroup.md +12 -12
  65. data/docs/CampaignNotification.md +17 -0
  66. data/docs/CampaignPrioritiesChangedNotification.md +21 -0
  67. data/docs/CampaignPrioritiesV2.md +21 -0
  68. data/docs/CampaignRulesetChangedNotification.md +21 -0
  69. data/docs/CampaignSearch.md +1 -1
  70. data/docs/CampaignSet.md +10 -8
  71. data/docs/CampaignSetBranchNode.md +6 -6
  72. data/docs/CampaignSetIDs.md +17 -0
  73. data/docs/CampaignSetLeafNode.md +1 -1
  74. data/docs/CampaignSetNode.md +1 -1
  75. data/docs/CampaignSetV2.md +25 -0
  76. data/docs/CampaignStateChangedNotification.md +23 -0
  77. data/docs/CampaignTemplate.md +61 -0
  78. data/docs/CampaignTemplateCollection.md +19 -0
  79. data/docs/CampaignTemplateParams.md +23 -0
  80. data/docs/CardLedgerTransactionLogEntry.md +41 -0
  81. data/docs/CardLedgerTransactionLogEntryIntegrationAPI.md +41 -0
  82. data/docs/CartItem.md +26 -18
  83. data/docs/Catalog.md +33 -0
  84. data/docs/CatalogAction.md +19 -0
  85. data/docs/CatalogActionFilter.md +21 -0
  86. data/docs/CatalogItem.md +29 -0
  87. data/docs/CatalogSyncRequest.md +19 -0
  88. data/docs/CatalogsStrikethroughNotificationPolicy.md +17 -0
  89. data/docs/Change.md +12 -10
  90. data/docs/ChangeProfilePassword.md +2 -2
  91. data/docs/CodeGeneratorSettings.md +4 -4
  92. data/docs/Collection.md +39 -0
  93. data/docs/CollectionItem.md +17 -0
  94. data/docs/CollectionWithoutPayload.md +37 -0
  95. data/docs/Coupon.md +33 -25
  96. data/docs/CouponConstraints.md +9 -7
  97. data/docs/CouponCreatedEffectProps.md +2 -2
  98. data/docs/CouponCreationJob.md +59 -0
  99. data/docs/CouponLimitConfigs.md +17 -0
  100. data/docs/CouponRejectionReason.md +3 -3
  101. data/docs/CouponReservations.md +2 -2
  102. data/docs/CouponSearch.md +1 -1
  103. data/docs/CouponValue.md +2 -2
  104. data/docs/CouponsNotificationPolicy.md +19 -0
  105. data/docs/CreateApplicationAPIKey.md +6 -6
  106. data/docs/CreateManagementKey.md +23 -0
  107. data/docs/CreateTemplateCampaign.md +31 -0
  108. data/docs/CreateTemplateCampaignResponse.md +21 -0
  109. data/docs/CustomEffect.md +14 -12
  110. data/docs/CustomEffectProps.md +12 -2
  111. data/docs/CustomerActivityReport.md +4 -4
  112. data/docs/CustomerAnalytics.md +7 -7
  113. data/docs/CustomerInventory.md +2 -2
  114. data/docs/CustomerProfile.md +17 -13
  115. data/docs/CustomerProfileAudienceRequestItem.md +6 -6
  116. data/docs/CustomerProfileIntegrationRequestV2.md +6 -4
  117. data/docs/CustomerProfileSearchQuery.md +1 -1
  118. data/docs/CustomerProfileUpdateV2Response.md +17 -0
  119. data/docs/CustomerSession.md +16 -14
  120. data/docs/CustomerSessionV2.md +34 -26
  121. data/docs/DeductLoyaltyPoints.md +23 -0
  122. data/docs/DeductLoyaltyPointsEffectProps.md +10 -6
  123. data/docs/Effect.md +15 -13
  124. data/docs/EffectEntity.md +14 -12
  125. data/docs/EmailEntity.md +1 -1
  126. data/docs/Endpoint.md +17 -0
  127. data/docs/Entity.md +4 -4
  128. data/docs/EntityWithTalangVisibleID.md +2 -2
  129. data/docs/Environment.md +9 -7
  130. data/docs/ErrorResponseWithStatus.md +21 -0
  131. data/docs/ErrorSource.md +1 -1
  132. data/docs/EvaluableCampaignIds.md +17 -0
  133. data/docs/Event.md +11 -11
  134. data/docs/EventType.md +10 -24
  135. data/docs/EventV2.md +23 -0
  136. data/docs/ExpiringPointsNotificationPolicy.md +19 -0
  137. data/docs/ExpiringPointsNotificationTrigger.md +19 -0
  138. data/docs/Export.md +8 -8
  139. data/docs/FeatureFlag.md +7 -7
  140. data/docs/FeedNotification.md +6 -6
  141. data/docs/FrontendState.md +16 -0
  142. data/docs/Giveaway.md +13 -9
  143. data/docs/GiveawaysPool.md +11 -9
  144. data/docs/Import.md +11 -11
  145. data/docs/ImportEntity.md +1 -1
  146. data/docs/InlineResponse200.md +1 -1
  147. data/docs/InlineResponse2001.md +3 -3
  148. data/docs/InlineResponse20010.md +2 -2
  149. data/docs/InlineResponse20011.md +3 -5
  150. data/docs/InlineResponse20012.md +2 -2
  151. data/docs/InlineResponse20013.md +3 -3
  152. data/docs/InlineResponse20014.md +4 -2
  153. data/docs/InlineResponse20015.md +2 -2
  154. data/docs/InlineResponse20016.md +5 -3
  155. data/docs/InlineResponse20017.md +1 -1
  156. data/docs/InlineResponse20018.md +2 -2
  157. data/docs/InlineResponse20019.md +3 -5
  158. data/docs/InlineResponse2002.md +2 -2
  159. data/docs/InlineResponse20020.md +5 -3
  160. data/docs/InlineResponse20021.md +5 -3
  161. data/docs/InlineResponse20022.md +5 -3
  162. data/docs/InlineResponse20023.md +3 -3
  163. data/docs/InlineResponse20024.md +3 -3
  164. data/docs/InlineResponse20025.md +3 -3
  165. data/docs/InlineResponse20026.md +3 -3
  166. data/docs/InlineResponse20027.md +3 -5
  167. data/docs/InlineResponse20028.md +5 -3
  168. data/docs/InlineResponse20029.md +5 -3
  169. data/docs/InlineResponse2003.md +2 -2
  170. data/docs/InlineResponse20030.md +19 -0
  171. data/docs/InlineResponse20031.md +19 -0
  172. data/docs/InlineResponse20032.md +19 -0
  173. data/docs/InlineResponse20033.md +19 -0
  174. data/docs/InlineResponse20034.md +19 -0
  175. data/docs/InlineResponse20035.md +19 -0
  176. data/docs/InlineResponse20036.md +19 -0
  177. data/docs/InlineResponse20037.md +21 -0
  178. data/docs/InlineResponse20038.md +19 -0
  179. data/docs/InlineResponse20039.md +19 -0
  180. data/docs/InlineResponse2004.md +2 -2
  181. data/docs/InlineResponse2005.md +3 -3
  182. data/docs/InlineResponse2006.md +3 -3
  183. data/docs/InlineResponse2007.md +3 -3
  184. data/docs/InlineResponse2008.md +3 -3
  185. data/docs/InlineResponse2009.md +2 -2
  186. data/docs/InlineResponse201.md +1 -1
  187. data/docs/IntegrationApi.md +932 -220
  188. data/docs/IntegrationCoupon.md +59 -0
  189. data/docs/IntegrationCustomerSessionResponse.md +19 -0
  190. data/docs/IntegrationEntity.md +4 -4
  191. data/docs/IntegrationEvent.md +4 -4
  192. data/docs/IntegrationEventV2Request.md +25 -0
  193. data/docs/IntegrationProfileEntity.md +2 -2
  194. data/docs/IntegrationRequest.md +2 -2
  195. data/docs/IntegrationStateV2.md +8 -4
  196. data/docs/InventoryCoupon.md +36 -28
  197. data/docs/InventoryReferral.md +43 -0
  198. data/docs/ItemAttribute.md +21 -0
  199. data/docs/LedgerEntry.md +17 -17
  200. data/docs/LedgerInfo.md +31 -0
  201. data/docs/LedgerTransactionLogEntryIntegrationAPI.md +39 -0
  202. data/docs/LimitConfig.md +8 -6
  203. data/docs/LimitCounter.md +45 -0
  204. data/docs/LoginParams.md +2 -2
  205. data/docs/Loyalty.md +4 -2
  206. data/docs/LoyaltyBalance.md +23 -0
  207. data/docs/LoyaltyBalances.md +19 -0
  208. data/docs/LoyaltyCard.md +39 -0
  209. data/docs/LoyaltyCardProfileRegistration.md +19 -0
  210. data/docs/LoyaltyCardRegistration.md +17 -0
  211. data/docs/LoyaltyDashboardData.md +33 -0
  212. data/docs/LoyaltyDashboardPointsBreakdown.md +19 -0
  213. data/docs/LoyaltyLedger.md +2 -2
  214. data/docs/LoyaltyLedgerEntry.md +19 -15
  215. data/docs/LoyaltyLedgerTransactions.md +19 -0
  216. data/docs/LoyaltyMembership.md +1 -1
  217. data/docs/LoyaltyProgram.md +26 -16
  218. data/docs/LoyaltyProgramBalance.md +12 -10
  219. data/docs/LoyaltyProgramEntity.md +1 -1
  220. data/docs/LoyaltyProgramLedgers.md +8 -8
  221. data/docs/LoyaltyProgramTransaction.md +49 -0
  222. data/docs/LoyaltyStatistics.md +18 -8
  223. data/docs/LoyaltySubLedger.md +13 -11
  224. data/docs/LoyaltyTier.md +8 -8
  225. data/docs/ManagementApi.md +4100 -1835
  226. data/docs/ManagementKey.md +31 -0
  227. data/docs/ModelReturn.md +37 -0
  228. data/docs/MultipleAttribute.md +17 -0
  229. data/docs/MultipleAudiences.md +19 -0
  230. data/docs/MultipleAudiencesItem.md +25 -0
  231. data/docs/MultipleCustomerProfileIntegrationRequestItem.md +4 -4
  232. data/docs/MultipleCustomerProfileIntegrationResponseV2.md +1 -1
  233. data/docs/MultipleNewAttribute.md +17 -0
  234. data/docs/MultipleNewAudiences.md +17 -0
  235. data/docs/MutableEntity.md +2 -2
  236. data/docs/NewAccountSignUp.md +2 -2
  237. data/docs/NewAdditionalCost.md +8 -6
  238. data/docs/NewApplication.md +26 -22
  239. data/docs/NewApplicationAPIKey.md +18 -18
  240. data/docs/NewAttribute.md +17 -9
  241. data/docs/NewAudience.md +14 -6
  242. data/docs/NewBaseNotification.md +19 -0
  243. data/docs/NewCampaign.md +17 -17
  244. data/docs/NewCampaignCollection.md +19 -0
  245. data/docs/NewCampaignGroup.md +5 -5
  246. data/docs/NewCampaignSet.md +3 -3
  247. data/docs/NewCampaignSetV2.md +21 -0
  248. data/docs/NewCampaignTemplate.md +43 -0
  249. data/docs/NewCatalog.md +21 -0
  250. data/docs/NewCollection.md +21 -0
  251. data/docs/NewCouponCreationJob.md +31 -0
  252. data/docs/NewCoupons.md +24 -18
  253. data/docs/NewCouponsForMultipleRecipients.md +17 -15
  254. data/docs/NewCustomEffect.md +6 -4
  255. data/docs/NewCustomerProfile.md +2 -2
  256. data/docs/NewCustomerSession.md +8 -8
  257. data/docs/NewCustomerSessionV2.md +19 -15
  258. data/docs/NewEvent.md +5 -5
  259. data/docs/NewEventType.md +6 -20
  260. data/docs/NewGiveawaysPool.md +6 -4
  261. data/docs/NewInternalAudience.md +21 -0
  262. data/docs/NewInvitation.md +5 -5
  263. data/docs/NewLoyaltyProgram.md +21 -11
  264. data/docs/NewLoyaltyTier.md +3 -3
  265. data/docs/NewManagementKey.md +33 -0
  266. data/docs/NewMultipleAudiencesItem.md +19 -0
  267. data/docs/NewNotificationWebhook.md +19 -0
  268. data/docs/NewPassword.md +2 -2
  269. data/docs/NewPicklist.md +19 -0
  270. data/docs/NewReferral.md +10 -10
  271. data/docs/NewReferralsForMultipleAdvocates.md +13 -13
  272. data/docs/NewReturn.md +17 -0
  273. data/docs/NewRole.md +8 -8
  274. data/docs/NewRuleset.md +7 -5
  275. data/docs/NewSamlConnection.md +1 -1
  276. data/docs/NewUser.md +3 -3
  277. data/docs/NewWebhook.md +16 -14
  278. data/docs/Notification.md +3 -3
  279. data/docs/NotificationWebhook.md +27 -0
  280. data/docs/OutgoingIntegrationBrazePolicy.md +19 -0
  281. data/docs/OutgoingIntegrationConfiguration.md +21 -0
  282. data/docs/OutgoingIntegrationType.md +25 -0
  283. data/docs/OutgoingIntegrationTypes.md +17 -0
  284. data/docs/OutgoingIntegrationWebhookTemplate.md +27 -0
  285. data/docs/OutgoingIntegrationWebhookTemplates.md +17 -0
  286. data/docs/PatchItemCatalogAction.md +23 -0
  287. data/docs/PatchManyItemsCatalogAction.md +21 -0
  288. data/docs/Picklist.md +31 -0
  289. data/docs/PriorityPosition.md +19 -0
  290. data/docs/ProfileAudiencesChanges.md +2 -2
  291. data/docs/RedeemReferralEffectProps.md +2 -2
  292. data/docs/Referral.md +19 -19
  293. data/docs/ReferralConstraints.md +5 -5
  294. data/docs/ReferralCreatedEffectProps.md +1 -1
  295. data/docs/ReferralRejectionReason.md +1 -1
  296. data/docs/RejectCouponEffectProps.md +5 -5
  297. data/docs/RejectReferralEffectProps.md +5 -5
  298. data/docs/RemoveItemCatalogAction.md +17 -0
  299. data/docs/RemoveManyItemsCatalogAction.md +17 -0
  300. data/docs/ReserveCouponEffectProps.md +21 -0
  301. data/docs/ReturnIntegrationRequest.md +19 -0
  302. data/docs/ReturnedCartItem.md +19 -0
  303. data/docs/Role.md +17 -17
  304. data/docs/RoleAssign.md +4 -4
  305. data/docs/RoleMembership.md +2 -2
  306. data/docs/RoleV2.md +25 -0
  307. data/docs/RoleV2ApplicationDetails.md +21 -0
  308. data/docs/RoleV2PermissionSet.md +19 -0
  309. data/docs/RoleV2Permissions.md +19 -0
  310. data/docs/RoleV2PermissionsRoles.md +21 -0
  311. data/docs/RollbackAddedLoyaltyPointsEffectProps.md +12 -6
  312. data/docs/RollbackCouponEffectProps.md +1 -1
  313. data/docs/RollbackDeductedLoyaltyPointsEffectProps.md +11 -9
  314. data/docs/RollbackDiscountEffectProps.md +13 -3
  315. data/docs/RollbackReferralEffectProps.md +1 -1
  316. data/docs/Rule.md +8 -4
  317. data/docs/RuleFailureReason.md +13 -13
  318. data/docs/Ruleset.md +17 -13
  319. data/docs/SamlConnection.md +5 -5
  320. data/docs/Session.md +5 -5
  321. data/docs/SetDiscountEffectProps.md +6 -4
  322. data/docs/SetDiscountPerAdditionalCostEffectProps.md +25 -0
  323. data/docs/SetDiscountPerAdditionalCostPerItemEffectProps.md +29 -0
  324. data/docs/SetDiscountPerItemEffectProps.md +17 -5
  325. data/docs/ShowBundleMetadataEffectProps.md +3 -3
  326. data/docs/ShowNotificationEffectProps.md +3 -3
  327. data/docs/StrikethroughChangedItem.md +29 -0
  328. data/docs/StrikethroughEffect.md +27 -0
  329. data/docs/StrikethroughLabelingNotification.md +25 -0
  330. data/docs/StrikethroughSetDiscountPerItemEffectProps.md +19 -0
  331. data/docs/StrikethroughTrigger.md +25 -0
  332. data/docs/TalangAttribute.md +33 -0
  333. data/docs/TalangAttributeVisibility.md +19 -0
  334. data/docs/TemplateArgDef.md +5 -1
  335. data/docs/TemplateDef.md +5 -5
  336. data/docs/TemplateLimitConfig.md +23 -0
  337. data/docs/Tier.md +19 -0
  338. data/docs/TransferLoyaltyCard.md +17 -0
  339. data/docs/TriggerWebhookEffectProps.md +2 -2
  340. data/docs/UpdateAccount.md +2 -2
  341. data/docs/UpdateApplication.md +25 -21
  342. data/docs/UpdateAttributeEffectProps.md +2 -2
  343. data/docs/UpdateAudience.md +2 -2
  344. data/docs/UpdateCampaign.md +15 -15
  345. data/docs/UpdateCampaignCollection.md +17 -0
  346. data/docs/UpdateCampaignGroup.md +5 -5
  347. data/docs/UpdateCampaignTemplate.md +47 -0
  348. data/docs/UpdateCatalog.md +21 -0
  349. data/docs/UpdateCollection.md +19 -0
  350. data/docs/UpdateCoupon.md +17 -11
  351. data/docs/UpdateCouponBatch.md +11 -9
  352. data/docs/UpdateCustomEffect.md +6 -4
  353. data/docs/UpdateLoyaltyCard.md +17 -0
  354. data/docs/UpdateLoyaltyProgram.md +15 -9
  355. data/docs/UpdatePicklist.md +19 -0
  356. data/docs/UpdateReferral.md +7 -7
  357. data/docs/UpdateReferralBatch.md +25 -0
  358. data/docs/UpdateRole.md +8 -8
  359. data/docs/UpdateUser.md +7 -7
  360. data/docs/UpdateUserLatestFeedTimestamp.md +1 -1
  361. data/docs/User.md +17 -17
  362. data/docs/UserEntity.md +2 -2
  363. data/docs/UserFeedNotifications.md +2 -2
  364. data/docs/Webhook.md +22 -20
  365. data/docs/WebhookActivationLogEntry.md +9 -9
  366. data/docs/WebhookLogEntry.md +18 -15
  367. data/docs/WillAwardGiveawayEffectProps.md +3 -3
  368. data/lib/talon_one/api/integration_api.rb +1168 -231
  369. data/lib/talon_one/api/management_api.rb +5076 -2861
  370. data/lib/talon_one/api_client.rb +2 -2
  371. data/lib/talon_one/api_error.rb +2 -2
  372. data/lib/talon_one/configuration.rb +8 -8
  373. data/lib/talon_one/models/accept_coupon_effect_props.rb +3 -3
  374. data/lib/talon_one/models/accept_referral_effect_props.rb +3 -3
  375. data/lib/talon_one/models/access_log_entry.rb +6 -6
  376. data/lib/talon_one/models/account.rb +8 -8
  377. data/lib/talon_one/models/account_additional_cost.rb +98 -10
  378. data/lib/talon_one/models/account_analytics.rb +39 -24
  379. data/lib/talon_one/models/account_dashboard_statistic.rb +271 -0
  380. data/lib/talon_one/models/account_dashboard_statistic_api_calls.rb +227 -0
  381. data/lib/talon_one/models/account_dashboard_statistic_campaigns.rb +227 -0
  382. data/lib/talon_one/models/account_dashboard_statistic_discount.rb +242 -0
  383. data/lib/talon_one/models/account_dashboard_statistic_loyalty_points.rb +227 -0
  384. data/lib/talon_one/models/account_dashboard_statistic_referrals.rb +227 -0
  385. data/lib/talon_one/models/account_dashboard_statistic_revenue.rb +242 -0
  386. data/lib/talon_one/models/account_entity.rb +2 -2
  387. data/lib/talon_one/models/account_limits.rb +14 -14
  388. data/lib/talon_one/models/add_free_item_effect_props.rb +4 -4
  389. data/lib/talon_one/models/add_item_catalog_action.rb +245 -0
  390. data/lib/talon_one/models/add_loyalty_points.rb +311 -0
  391. data/lib/talon_one/models/add_loyalty_points_effect_props.rb +109 -15
  392. data/lib/talon_one/models/added_deducted_points_notification_policy.rb +269 -0
  393. data/lib/talon_one/models/additional_cost.rb +2 -2
  394. data/lib/talon_one/models/api_error.rb +2 -2
  395. data/lib/talon_one/models/application.rb +53 -17
  396. data/lib/talon_one/models/application_api_health.rb +5 -5
  397. data/lib/talon_one/models/application_api_key.rb +12 -12
  398. data/lib/talon_one/models/application_campaign_stats.rb +9 -9
  399. data/lib/talon_one/models/application_customer.rb +68 -14
  400. data/lib/talon_one/models/application_customer_entity.rb +2 -2
  401. data/lib/talon_one/models/application_entity.rb +2 -2
  402. data/lib/talon_one/models/application_event.rb +5 -5
  403. data/lib/talon_one/models/application_notification.rb +212 -0
  404. data/lib/talon_one/models/application_referee.rb +44 -6
  405. data/lib/talon_one/models/application_session.rb +60 -11
  406. data/lib/talon_one/models/application_session_entity.rb +2 -2
  407. data/lib/talon_one/models/async_coupon_creation_response.rb +212 -0
  408. data/lib/talon_one/models/attribute.rb +108 -9
  409. data/lib/talon_one/models/attributes_mandatory.rb +2 -2
  410. data/lib/talon_one/models/attributes_settings.rb +2 -2
  411. data/lib/talon_one/models/audience.rb +57 -56
  412. data/lib/talon_one/models/audience_analytics.rb +218 -0
  413. data/lib/talon_one/models/audience_customer.rb +395 -0
  414. data/lib/talon_one/models/audience_integration_id.rb +231 -0
  415. data/lib/talon_one/models/audience_membership.rb +2 -2
  416. data/lib/talon_one/models/award_giveaway_effect_props.rb +21 -2
  417. data/lib/talon_one/models/base_loyalty_program.rb +294 -0
  418. data/lib/talon_one/models/base_notification.rb +260 -0
  419. data/lib/talon_one/models/base_notification_entity.rb +211 -0
  420. data/lib/talon_one/models/base_notification_webhook.rb +275 -0
  421. data/lib/talon_one/models/base_notifications.rb +209 -0
  422. data/lib/talon_one/models/base_saml_connection.rb +2 -2
  423. data/lib/talon_one/models/binding.rb +17 -7
  424. data/lib/talon_one/models/bulk_application_notification.rb +227 -0
  425. data/lib/talon_one/models/bulk_campaign_notification.rb +227 -0
  426. data/lib/talon_one/models/campaign.rb +66 -16
  427. data/lib/talon_one/models/campaign_activation_request.rb +214 -0
  428. data/lib/talon_one/models/campaign_analytics.rb +2 -2
  429. data/lib/talon_one/models/campaign_collection.rb +370 -0
  430. data/lib/talon_one/models/campaign_collection_without_payload.rb +358 -0
  431. data/lib/talon_one/models/campaign_copy.rb +6 -6
  432. data/lib/talon_one/models/campaign_created_notification.rb +235 -0
  433. data/lib/talon_one/models/campaign_deleted_notification.rb +227 -0
  434. data/lib/talon_one/models/campaign_edited_notification.rb +235 -0
  435. data/lib/talon_one/models/campaign_entity.rb +2 -2
  436. data/lib/talon_one/models/campaign_group.rb +7 -7
  437. data/lib/talon_one/models/campaign_group_entity.rb +2 -2
  438. data/lib/talon_one/models/campaign_notification.rb +212 -0
  439. data/lib/talon_one/models/campaign_priorities_changed_notification.rb +236 -0
  440. data/lib/talon_one/models/campaign_priorities_v2.rb +230 -0
  441. data/lib/talon_one/models/campaign_ruleset_changed_notification.rb +230 -0
  442. data/lib/talon_one/models/campaign_search.rb +3 -3
  443. data/lib/talon_one/models/campaign_set.rb +19 -9
  444. data/lib/talon_one/models/campaign_set_branch_node.rb +5 -5
  445. data/lib/talon_one/models/campaign_set_i_ds.rb +208 -0
  446. data/lib/talon_one/models/campaign_set_leaf_node.rb +3 -3
  447. data/lib/talon_one/models/campaign_set_node.rb +2 -2
  448. data/lib/talon_one/models/campaign_set_v2.rb +291 -0
  449. data/lib/talon_one/models/campaign_state_changed_notification.rb +251 -0
  450. data/lib/talon_one/models/campaign_template.rb +543 -0
  451. data/lib/talon_one/models/campaign_template_collection.rb +252 -0
  452. data/lib/talon_one/models/campaign_template_params.rb +305 -0
  453. data/lib/talon_one/models/card_ledger_transaction_log_entry.rb +508 -0
  454. data/lib/talon_one/models/card_ledger_transaction_log_entry_integration_api.rb +508 -0
  455. data/lib/talon_one/models/cart_item.rb +59 -41
  456. data/lib/talon_one/models/catalog.rb +330 -0
  457. data/lib/talon_one/models/catalog_action.rb +261 -0
  458. data/lib/talon_one/models/catalog_action_filter.rb +277 -0
  459. data/lib/talon_one/models/catalog_item.rb +313 -0
  460. data/lib/talon_one/models/catalog_sync_request.rb +238 -0
  461. data/lib/talon_one/models/catalogs_strikethrough_notification_policy.rb +231 -0
  462. data/lib/talon_one/models/change.rb +20 -10
  463. data/lib/talon_one/models/change_profile_password.rb +2 -2
  464. data/lib/talon_one/models/code_generator_settings.rb +4 -4
  465. data/lib/talon_one/models/collection.rb +382 -0
  466. data/lib/talon_one/models/collection_item.rb +212 -0
  467. data/lib/talon_one/models/collection_without_payload.rb +370 -0
  468. data/lib/talon_one/models/coupon.rb +100 -15
  469. data/lib/talon_one/models/coupon_constraints.rb +40 -6
  470. data/lib/talon_one/models/coupon_created_effect_props.rb +4 -4
  471. data/lib/talon_one/models/coupon_creation_job.rb +603 -0
  472. data/lib/talon_one/models/coupon_limit_configs.rb +209 -0
  473. data/lib/talon_one/models/coupon_rejection_reason.rb +4 -4
  474. data/lib/talon_one/models/coupon_reservations.rb +3 -3
  475. data/lib/talon_one/models/coupon_search.rb +3 -3
  476. data/lib/talon_one/models/coupon_value.rb +3 -3
  477. data/lib/talon_one/models/coupons_notification_policy.rb +269 -0
  478. data/lib/talon_one/models/create_application_api_key.rb +7 -7
  479. data/lib/talon_one/models/create_management_key.rb +256 -0
  480. data/lib/talon_one/models/create_template_campaign.rb +314 -0
  481. data/lib/talon_one/models/create_template_campaign_response.rb +236 -0
  482. data/lib/talon_one/models/custom_effect.rb +76 -19
  483. data/lib/talon_one/models/custom_effect_props.rb +67 -12
  484. data/lib/talon_one/models/customer_activity_report.rb +24 -5
  485. data/lib/talon_one/models/customer_analytics.rb +10 -10
  486. data/lib/talon_one/models/customer_inventory.rb +4 -3
  487. data/lib/talon_one/models/customer_profile.rb +66 -22
  488. data/lib/talon_one/models/customer_profile_audience_request.rb +2 -2
  489. data/lib/talon_one/models/customer_profile_audience_request_item.rb +24 -2
  490. data/lib/talon_one/models/customer_profile_integration_request_v2.rb +17 -5
  491. data/lib/talon_one/models/customer_profile_search_query.rb +3 -3
  492. data/lib/talon_one/models/customer_profile_update_v2_response.rb +212 -0
  493. data/lib/talon_one/models/customer_session.rb +47 -13
  494. data/lib/talon_one/models/customer_session_v2.rb +103 -30
  495. data/lib/talon_one/models/{loyalty_points.rb → deduct_loyalty_points.rb} +28 -38
  496. data/lib/talon_one/models/deduct_loyalty_points_effect_props.rb +51 -11
  497. data/lib/talon_one/models/effect.rb +20 -9
  498. data/lib/talon_one/models/effect_entity.rb +23 -13
  499. data/lib/talon_one/models/email_entity.rb +2 -2
  500. data/lib/talon_one/models/endpoint.rb +212 -0
  501. data/lib/talon_one/models/entity.rb +4 -4
  502. data/lib/talon_one/models/entity_with_talang_visible_id.rb +2 -2
  503. data/lib/talon_one/models/environment.rb +24 -11
  504. data/lib/talon_one/models/error_effect_props.rb +2 -2
  505. data/lib/talon_one/models/error_response.rb +2 -2
  506. data/lib/talon_one/models/error_response_with_status.rb +228 -0
  507. data/lib/talon_one/models/error_source.rb +3 -3
  508. data/lib/talon_one/models/evaluable_campaign_ids.rb +209 -0
  509. data/lib/talon_one/models/event.rb +6 -6
  510. data/lib/talon_one/models/event_type.rb +11 -154
  511. data/lib/talon_one/models/event_v2.rb +264 -0
  512. data/lib/talon_one/models/expiring_points_notification_policy.rb +247 -0
  513. data/lib/talon_one/models/expiring_points_notification_trigger.rb +280 -0
  514. data/lib/talon_one/models/export.rb +8 -8
  515. data/lib/talon_one/models/feature_flag.rb +6 -6
  516. data/lib/talon_one/models/features_feed.rb +2 -2
  517. data/lib/talon_one/models/feed_notification.rb +9 -9
  518. data/lib/talon_one/models/frontend_state.rb +39 -0
  519. data/lib/talon_one/models/func_arg_def.rb +4 -4
  520. data/lib/talon_one/models/function_def.rb +2 -2
  521. data/lib/talon_one/models/giveaway.rb +29 -9
  522. data/lib/talon_one/models/giveaways_pool.rb +22 -7
  523. data/lib/talon_one/models/import.rb +7 -7
  524. data/lib/talon_one/models/import_entity.rb +2 -2
  525. data/lib/talon_one/models/inline_response200.rb +2 -2
  526. data/lib/talon_one/models/inline_response2001.rb +13 -13
  527. data/lib/talon_one/models/inline_response20010.rb +3 -3
  528. data/lib/talon_one/models/inline_response20011.rb +9 -13
  529. data/lib/talon_one/models/inline_response20012.rb +3 -3
  530. data/lib/talon_one/models/inline_response20013.rb +15 -13
  531. data/lib/talon_one/models/inline_response20014.rb +13 -9
  532. data/lib/talon_one/models/inline_response20015.rb +8 -3
  533. data/lib/talon_one/models/inline_response20016.rb +13 -9
  534. data/lib/talon_one/models/inline_response20017.rb +3 -3
  535. data/lib/talon_one/models/inline_response20018.rb +3 -3
  536. data/lib/talon_one/models/inline_response20019.rb +9 -13
  537. data/lib/talon_one/models/inline_response2002.rb +3 -3
  538. data/lib/talon_one/models/inline_response20020.rb +13 -9
  539. data/lib/talon_one/models/inline_response20021.rb +13 -9
  540. data/lib/talon_one/models/inline_response20022.rb +13 -9
  541. data/lib/talon_one/models/inline_response20023.rb +13 -13
  542. data/lib/talon_one/models/inline_response20024.rb +13 -13
  543. data/lib/talon_one/models/inline_response20025.rb +10 -15
  544. data/lib/talon_one/models/inline_response20026.rb +13 -13
  545. data/lib/talon_one/models/inline_response20027.rb +9 -13
  546. data/lib/talon_one/models/inline_response20028.rb +13 -9
  547. data/lib/talon_one/models/inline_response20029.rb +13 -9
  548. data/lib/talon_one/models/inline_response2003.rb +3 -3
  549. data/lib/talon_one/models/inline_response20030.rb +227 -0
  550. data/lib/talon_one/models/inline_response20031.rb +227 -0
  551. data/lib/talon_one/models/inline_response20032.rb +227 -0
  552. data/lib/talon_one/models/inline_response20033.rb +227 -0
  553. data/lib/talon_one/models/inline_response20034.rb +227 -0
  554. data/lib/talon_one/models/inline_response20035.rb +227 -0
  555. data/lib/talon_one/models/inline_response20036.rb +227 -0
  556. data/lib/talon_one/models/inline_response20037.rb +231 -0
  557. data/lib/talon_one/models/inline_response20038.rb +227 -0
  558. data/lib/talon_one/models/inline_response20039.rb +227 -0
  559. data/lib/talon_one/models/inline_response2004.rb +3 -3
  560. data/lib/talon_one/models/inline_response2005.rb +13 -13
  561. data/lib/talon_one/models/inline_response2006.rb +13 -13
  562. data/lib/talon_one/models/inline_response2007.rb +13 -13
  563. data/lib/talon_one/models/inline_response2008.rb +13 -13
  564. data/lib/talon_one/models/inline_response2009.rb +3 -3
  565. data/lib/talon_one/models/inline_response201.rb +2 -2
  566. data/lib/talon_one/models/integration_coupon.rb +569 -0
  567. data/lib/talon_one/models/integration_customer_session_response.rb +217 -0
  568. data/lib/talon_one/models/integration_entity.rb +23 -4
  569. data/lib/talon_one/models/integration_event.rb +3 -3
  570. data/lib/talon_one/models/integration_event_v2_request.rb +298 -0
  571. data/lib/talon_one/models/integration_profile_entity.rb +3 -3
  572. data/lib/talon_one/models/integration_request.rb +3 -3
  573. data/lib/talon_one/models/integration_state.rb +2 -2
  574. data/lib/talon_one/models/integration_state_v2.rb +30 -9
  575. data/lib/talon_one/models/inventory_coupon.rb +98 -13
  576. data/lib/talon_one/models/inventory_referral.rb +446 -0
  577. data/lib/talon_one/models/item_attribute.rb +243 -0
  578. data/lib/talon_one/models/ledger_entry.rb +11 -11
  579. data/lib/talon_one/models/ledger_info.rb +302 -0
  580. data/lib/talon_one/models/ledger_transaction_log_entry_integration_api.rb +474 -0
  581. data/lib/talon_one/models/library_attribute.rb +2 -2
  582. data/lib/talon_one/models/limit_config.rb +28 -6
  583. data/lib/talon_one/models/limit_counter.rb +398 -0
  584. data/lib/talon_one/models/login_params.rb +2 -2
  585. data/lib/talon_one/models/loyalty.rb +16 -4
  586. data/lib/talon_one/models/loyalty_balance.rb +238 -0
  587. data/lib/talon_one/models/{new_feature_flags.rb → loyalty_balances.rb} +22 -30
  588. data/lib/talon_one/models/loyalty_card.rb +419 -0
  589. data/lib/talon_one/models/loyalty_card_profile_registration.rb +246 -0
  590. data/lib/talon_one/models/loyalty_card_registration.rb +212 -0
  591. data/lib/talon_one/models/loyalty_dashboard_data.rb +331 -0
  592. data/lib/talon_one/models/loyalty_dashboard_points_breakdown.rb +225 -0
  593. data/lib/talon_one/models/loyalty_ledger.rb +4 -4
  594. data/lib/talon_one/models/loyalty_ledger_entry.rb +27 -13
  595. data/lib/talon_one/models/loyalty_ledger_transactions.rb +220 -0
  596. data/lib/talon_one/models/loyalty_membership.rb +2 -2
  597. data/lib/talon_one/models/loyalty_program.rb +143 -37
  598. data/lib/talon_one/models/loyalty_program_balance.rb +21 -11
  599. data/lib/talon_one/models/loyalty_program_entity.rb +2 -2
  600. data/lib/talon_one/models/loyalty_program_ledgers.rb +8 -8
  601. data/lib/talon_one/models/loyalty_program_transaction.rb +553 -0
  602. data/lib/talon_one/models/loyalty_statistics.rb +83 -10
  603. data/lib/talon_one/models/loyalty_sub_ledger.rb +26 -17
  604. data/lib/talon_one/models/loyalty_tier.rb +10 -10
  605. data/lib/talon_one/models/management_key.rb +317 -0
  606. data/lib/talon_one/models/manager_config.rb +2 -2
  607. data/lib/talon_one/models/meta.rb +2 -2
  608. data/lib/talon_one/models/model_return.rb +384 -0
  609. data/lib/talon_one/models/multi_application_entity.rb +2 -2
  610. data/lib/talon_one/models/multiple_attribute.rb +208 -0
  611. data/lib/talon_one/models/{feature_flags.rb → multiple_audiences.rb} +19 -34
  612. data/lib/talon_one/models/multiple_audiences_item.rb +354 -0
  613. data/lib/talon_one/models/multiple_customer_profile_integration_request.rb +2 -2
  614. data/lib/talon_one/models/multiple_customer_profile_integration_request_item.rb +23 -4
  615. data/lib/talon_one/models/multiple_customer_profile_integration_response_v2.rb +3 -3
  616. data/lib/talon_one/models/multiple_new_attribute.rb +208 -0
  617. data/lib/talon_one/models/multiple_new_audiences.rb +213 -0
  618. data/lib/talon_one/models/mutable_entity.rb +3 -3
  619. data/lib/talon_one/models/new_account.rb +2 -2
  620. data/lib/talon_one/models/new_account_sign_up.rb +2 -2
  621. data/lib/talon_one/models/new_additional_cost.rb +96 -8
  622. data/lib/talon_one/models/new_application.rb +50 -14
  623. data/lib/talon_one/models/new_application_api_key.rb +13 -13
  624. data/lib/talon_one/models/new_attribute.rb +97 -7
  625. data/lib/talon_one/models/new_audience.rb +56 -54
  626. data/lib/talon_one/models/new_base_notification.rb +226 -0
  627. data/lib/talon_one/models/new_campaign.rb +10 -10
  628. data/lib/talon_one/models/new_campaign_collection.rb +253 -0
  629. data/lib/talon_one/models/new_campaign_group.rb +4 -4
  630. data/lib/talon_one/models/new_campaign_set.rb +3 -3
  631. data/lib/talon_one/models/new_campaign_set_v2.rb +261 -0
  632. data/lib/talon_one/models/new_campaign_template.rb +418 -0
  633. data/lib/talon_one/models/new_catalog.rb +240 -0
  634. data/lib/talon_one/models/new_collection.rb +265 -0
  635. data/lib/talon_one/models/new_coupon_creation_job.rb +396 -0
  636. data/lib/talon_one/models/new_coupons.rb +87 -14
  637. data/lib/talon_one/models/new_coupons_for_multiple_recipients.rb +44 -10
  638. data/lib/talon_one/models/new_custom_effect.rb +74 -16
  639. data/lib/talon_one/models/new_customer_profile.rb +3 -3
  640. data/lib/talon_one/models/new_customer_session.rb +7 -7
  641. data/lib/talon_one/models/new_customer_session_v2.rb +38 -14
  642. data/lib/talon_one/models/new_event.rb +3 -3
  643. data/lib/talon_one/models/new_event_type.rb +9 -152
  644. data/lib/talon_one/models/new_giveaways_pool.rb +22 -7
  645. data/lib/talon_one/models/{update_loyalty_tier.rb → new_internal_audience.rb} +34 -39
  646. data/lib/talon_one/models/new_invitation.rb +5 -5
  647. data/lib/talon_one/models/new_invite_email.rb +2 -2
  648. data/lib/talon_one/models/new_loyalty_program.rb +128 -25
  649. data/lib/talon_one/models/new_loyalty_tier.rb +9 -9
  650. data/lib/talon_one/models/new_management_key.rb +332 -0
  651. data/lib/talon_one/models/new_multiple_audiences_item.rb +266 -0
  652. data/lib/talon_one/models/new_notification_webhook.rb +229 -0
  653. data/lib/talon_one/models/new_password.rb +2 -2
  654. data/lib/talon_one/models/new_password_email.rb +2 -2
  655. data/lib/talon_one/models/new_picklist.rb +263 -0
  656. data/lib/talon_one/models/new_referral.rb +24 -5
  657. data/lib/talon_one/models/new_referrals_for_multiple_advocates.rb +7 -7
  658. data/lib/talon_one/models/new_return.rb +214 -0
  659. data/lib/talon_one/models/new_role.rb +17 -17
  660. data/lib/talon_one/models/new_ruleset.rb +17 -5
  661. data/lib/talon_one/models/new_saml_connection.rb +2 -2
  662. data/lib/talon_one/models/new_template_def.rb +2 -2
  663. data/lib/talon_one/models/new_user.rb +2 -2
  664. data/lib/talon_one/models/new_webhook.rb +30 -9
  665. data/lib/talon_one/models/notification.rb +5 -5
  666. data/lib/talon_one/models/notification_webhook.rb +290 -0
  667. data/lib/talon_one/models/outgoing_integration_braze_policy.rb +227 -0
  668. data/lib/talon_one/models/outgoing_integration_configuration.rb +241 -0
  669. data/lib/talon_one/models/outgoing_integration_type.rb +357 -0
  670. data/lib/talon_one/models/outgoing_integration_types.rb +209 -0
  671. data/lib/talon_one/models/outgoing_integration_webhook_template.rb +328 -0
  672. data/lib/talon_one/models/outgoing_integration_webhook_templates.rb +209 -0
  673. data/lib/talon_one/models/patch_item_catalog_action.rb +245 -0
  674. data/lib/talon_one/models/patch_many_items_catalog_action.rb +230 -0
  675. data/lib/talon_one/models/picklist.rb +339 -0
  676. data/lib/talon_one/models/priority_position.rb +264 -0
  677. data/lib/talon_one/models/profile_audiences_changes.rb +2 -2
  678. data/lib/talon_one/models/redeem_referral_effect_props.rb +5 -5
  679. data/lib/talon_one/models/referral.rb +27 -8
  680. data/lib/talon_one/models/referral_constraints.rb +4 -4
  681. data/lib/talon_one/models/referral_created_effect_props.rb +3 -3
  682. data/lib/talon_one/models/referral_rejection_reason.rb +4 -4
  683. data/lib/talon_one/models/reject_coupon_effect_props.rb +7 -7
  684. data/lib/talon_one/models/reject_referral_effect_props.rb +7 -7
  685. data/lib/talon_one/models/remove_item_catalog_action.rb +213 -0
  686. data/lib/talon_one/models/remove_many_items_catalog_action.rb +210 -0
  687. data/lib/talon_one/models/reserve_coupon_effect_props.rb +243 -0
  688. data/lib/talon_one/models/return_integration_request.rb +246 -0
  689. data/lib/talon_one/models/returned_cart_item.rb +222 -0
  690. data/lib/talon_one/models/role.rb +10 -10
  691. data/lib/talon_one/models/role_assign.rb +4 -4
  692. data/lib/talon_one/models/role_membership.rb +4 -4
  693. data/lib/talon_one/models/role_v2.rb +248 -0
  694. data/lib/talon_one/models/role_v2_application_details.rb +227 -0
  695. data/lib/talon_one/models/role_v2_permission_set.rb +228 -0
  696. data/lib/talon_one/models/role_v2_permissions.rb +218 -0
  697. data/lib/talon_one/models/role_v2_permissions_roles.rb +230 -0
  698. data/lib/talon_one/models/rollback_added_loyalty_points_effect_props.rb +74 -10
  699. data/lib/talon_one/models/rollback_coupon_effect_props.rb +3 -3
  700. data/lib/talon_one/models/rollback_deducted_loyalty_points_effect_props.rb +57 -13
  701. data/lib/talon_one/models/rollback_discount_effect_props.rb +59 -9
  702. data/lib/talon_one/models/rollback_referral_effect_props.rb +3 -3
  703. data/lib/talon_one/models/rule.rb +23 -3
  704. data/lib/talon_one/models/rule_failure_reason.rb +15 -15
  705. data/lib/talon_one/models/ruleset.rb +40 -23
  706. data/lib/talon_one/models/saml_connection.rb +4 -4
  707. data/lib/talon_one/models/saml_connection_metadata.rb +2 -2
  708. data/lib/talon_one/models/saml_login_endpoint.rb +2 -2
  709. data/lib/talon_one/models/session.rb +4 -4
  710. data/lib/talon_one/models/set_discount_effect_props.rb +19 -9
  711. data/lib/talon_one/models/set_discount_per_additional_cost_effect_props.rb +268 -0
  712. data/lib/talon_one/models/set_discount_per_additional_cost_per_item_effect_props.rb +293 -0
  713. data/lib/talon_one/models/set_discount_per_item_effect_props.rb +71 -11
  714. data/lib/talon_one/models/show_bundle_metadata_effect_props.rb +6 -6
  715. data/lib/talon_one/models/show_notification_effect_props.rb +5 -5
  716. data/lib/talon_one/models/slot_def.rb +2 -2
  717. data/lib/talon_one/models/strikethrough_changed_item.rb +318 -0
  718. data/lib/talon_one/models/strikethrough_effect.rb +287 -0
  719. data/lib/talon_one/models/strikethrough_labeling_notification.rb +273 -0
  720. data/lib/talon_one/models/strikethrough_set_discount_per_item_effect_props.rb +228 -0
  721. data/lib/talon_one/models/strikethrough_trigger.rb +273 -0
  722. data/lib/talon_one/models/talang_attribute.rb +363 -0
  723. data/lib/talon_one/models/{application_customer_search.rb → talang_attribute_visibility.rb} +22 -30
  724. data/lib/talon_one/models/template_arg_def.rb +28 -8
  725. data/lib/talon_one/models/template_def.rb +4 -4
  726. data/lib/talon_one/models/template_limit_config.rb +308 -0
  727. data/lib/talon_one/models/tier.rb +227 -0
  728. data/lib/talon_one/models/transfer_loyalty_card.rb +231 -0
  729. data/lib/talon_one/models/trigger_webhook_effect_props.rb +4 -4
  730. data/lib/talon_one/models/update_account.rb +4 -4
  731. data/lib/talon_one/models/update_application.rb +52 -16
  732. data/lib/talon_one/models/update_attribute_effect_props.rb +4 -4
  733. data/lib/talon_one/models/update_audience.rb +3 -3
  734. data/lib/talon_one/models/update_campaign.rb +7 -7
  735. data/lib/talon_one/models/update_campaign_collection.rb +207 -0
  736. data/lib/talon_one/models/update_campaign_group.rb +4 -4
  737. data/lib/talon_one/models/update_campaign_template.rb +445 -0
  738. data/lib/talon_one/models/update_catalog.rb +229 -0
  739. data/lib/talon_one/models/update_collection.rb +219 -0
  740. data/lib/talon_one/models/update_coupon.rb +84 -11
  741. data/lib/talon_one/models/update_coupon_batch.rb +39 -10
  742. data/lib/talon_one/models/update_custom_effect.rb +73 -16
  743. data/lib/talon_one/models/update_loyalty_card.rb +212 -0
  744. data/lib/talon_one/models/update_loyalty_program.rb +57 -10
  745. data/lib/talon_one/models/update_picklist.rb +264 -0
  746. data/lib/talon_one/models/update_referral.rb +20 -5
  747. data/lib/talon_one/models/update_referral_batch.rb +276 -0
  748. data/lib/talon_one/models/update_role.rb +14 -14
  749. data/lib/talon_one/models/update_user.rb +5 -5
  750. data/lib/talon_one/models/update_user_latest_feed_timestamp.rb +4 -4
  751. data/lib/talon_one/models/user.rb +7 -7
  752. data/lib/talon_one/models/user_entity.rb +3 -3
  753. data/lib/talon_one/models/user_feed_notifications.rb +5 -5
  754. data/lib/talon_one/models/webhook.rb +33 -12
  755. data/lib/talon_one/models/webhook_activation_log_entry.rb +7 -7
  756. data/lib/talon_one/models/webhook_log_entry.rb +8 -8
  757. data/lib/talon_one/models/will_award_giveaway_effect_props.rb +21 -2
  758. data/lib/talon_one/version.rb +3 -3
  759. data/lib/talon_one.rb +153 -7
  760. data/spec/api/integration_api_spec.rb +249 -72
  761. data/spec/api/management_api_spec.rb +951 -580
  762. data/spec/api_client_spec.rb +2 -2
  763. data/spec/configuration_spec.rb +5 -5
  764. data/spec/models/accept_coupon_effect_props_spec.rb +2 -2
  765. data/spec/models/accept_referral_effect_props_spec.rb +2 -2
  766. data/spec/models/access_log_entry_spec.rb +2 -2
  767. data/spec/models/account_additional_cost_spec.rb +12 -2
  768. data/spec/models/account_analytics_spec.rb +8 -2
  769. data/spec/models/account_dashboard_statistic_api_calls_spec.rb +47 -0
  770. data/spec/models/account_dashboard_statistic_campaigns_spec.rb +47 -0
  771. data/spec/models/account_dashboard_statistic_discount_spec.rb +53 -0
  772. data/spec/models/account_dashboard_statistic_loyalty_points_spec.rb +47 -0
  773. data/spec/models/account_dashboard_statistic_referrals_spec.rb +47 -0
  774. data/spec/models/account_dashboard_statistic_revenue_spec.rb +53 -0
  775. data/spec/models/account_dashboard_statistic_spec.rb +71 -0
  776. data/spec/models/account_entity_spec.rb +2 -2
  777. data/spec/models/account_limits_spec.rb +2 -2
  778. data/spec/models/account_spec.rb +2 -2
  779. data/spec/models/add_free_item_effect_props_spec.rb +2 -2
  780. data/spec/models/add_item_catalog_action_spec.rb +59 -0
  781. data/spec/models/add_loyalty_points_effect_props_spec.rb +38 -2
  782. data/spec/models/add_loyalty_points_spec.rb +83 -0
  783. data/spec/models/added_deducted_points_notification_policy_spec.rb +51 -0
  784. data/spec/models/additional_cost_spec.rb +2 -2
  785. data/spec/models/api_error_spec.rb +2 -2
  786. data/spec/models/application_api_health_spec.rb +2 -2
  787. data/spec/models/application_api_key_spec.rb +3 -3
  788. data/spec/models/application_campaign_stats_spec.rb +2 -2
  789. data/spec/models/application_customer_entity_spec.rb +2 -2
  790. data/spec/models/application_customer_spec.rb +14 -2
  791. data/spec/models/application_entity_spec.rb +2 -2
  792. data/spec/models/application_event_spec.rb +2 -2
  793. data/spec/models/application_notification_spec.rb +41 -0
  794. data/spec/models/application_referee_spec.rb +2 -2
  795. data/spec/models/application_session_entity_spec.rb +2 -2
  796. data/spec/models/application_session_spec.rb +9 -3
  797. data/spec/models/application_spec.rb +18 -2
  798. data/spec/models/async_coupon_creation_response_spec.rb +41 -0
  799. data/spec/models/attribute_spec.rb +36 -2
  800. data/spec/models/attributes_mandatory_spec.rb +2 -2
  801. data/spec/models/attributes_settings_spec.rb +2 -2
  802. data/spec/models/audience_analytics_spec.rb +47 -0
  803. data/spec/models/audience_customer_spec.rb +113 -0
  804. data/spec/models/audience_integration_id_spec.rb +41 -0
  805. data/spec/models/audience_membership_spec.rb +2 -2
  806. data/spec/models/audience_spec.rb +26 -6
  807. data/spec/models/award_giveaway_effect_props_spec.rb +2 -2
  808. data/spec/models/base_loyalty_program_spec.rb +83 -0
  809. data/spec/models/base_notification_entity_spec.rb +41 -0
  810. data/spec/models/base_notification_spec.rb +53 -0
  811. data/spec/models/base_notification_webhook_spec.rb +65 -0
  812. data/spec/models/base_notifications_spec.rb +41 -0
  813. data/spec/models/base_saml_connection_spec.rb +2 -2
  814. data/spec/models/binding_spec.rb +8 -2
  815. data/spec/models/bulk_application_notification_spec.rb +47 -0
  816. data/spec/models/bulk_campaign_notification_spec.rb +47 -0
  817. data/spec/models/campaign_activation_request_spec.rb +41 -0
  818. data/spec/models/campaign_analytics_spec.rb +2 -2
  819. data/spec/models/campaign_collection_spec.rb +101 -0
  820. data/spec/models/campaign_collection_without_payload_spec.rb +95 -0
  821. data/spec/models/campaign_copy_spec.rb +2 -2
  822. data/spec/models/campaign_created_notification_spec.rb +53 -0
  823. data/spec/models/campaign_deleted_notification_spec.rb +47 -0
  824. data/spec/models/campaign_edited_notification_spec.rb +53 -0
  825. data/spec/models/campaign_entity_spec.rb +2 -2
  826. data/spec/models/campaign_group_entity_spec.rb +2 -2
  827. data/spec/models/campaign_group_spec.rb +2 -2
  828. data/spec/models/campaign_notification_spec.rb +41 -0
  829. data/spec/models/campaign_priorities_changed_notification_spec.rb +53 -0
  830. data/spec/models/campaign_priorities_v2_spec.rb +53 -0
  831. data/spec/models/campaign_ruleset_changed_notification_spec.rb +53 -0
  832. data/spec/models/campaign_search_spec.rb +2 -2
  833. data/spec/models/campaign_set_branch_node_spec.rb +2 -2
  834. data/spec/models/campaign_set_i_ds_spec.rb +41 -0
  835. data/spec/models/campaign_set_leaf_node_spec.rb +2 -2
  836. data/spec/models/campaign_set_node_spec.rb +2 -2
  837. data/spec/models/campaign_set_spec.rb +8 -2
  838. data/spec/models/campaign_set_v2_spec.rb +65 -0
  839. data/spec/models/campaign_spec.rb +33 -3
  840. data/spec/models/campaign_state_changed_notification_spec.rb +59 -0
  841. data/spec/models/campaign_template_collection_spec.rb +47 -0
  842. data/spec/models/campaign_template_params_spec.rb +63 -0
  843. data/spec/models/campaign_template_spec.rb +181 -0
  844. data/spec/models/card_ledger_transaction_log_entry_integration_api_spec.rb +117 -0
  845. data/spec/models/card_ledger_transaction_log_entry_spec.rb +117 -0
  846. data/spec/models/cart_item_spec.rb +26 -2
  847. data/spec/models/catalog_action_filter_spec.rb +57 -0
  848. data/spec/models/catalog_action_spec.rb +51 -0
  849. data/spec/models/catalog_item_spec.rb +77 -0
  850. data/spec/models/catalog_spec.rb +89 -0
  851. data/spec/models/catalog_sync_request_spec.rb +47 -0
  852. data/spec/models/catalogs_strikethrough_notification_policy_spec.rb +41 -0
  853. data/spec/models/change_profile_password_spec.rb +2 -2
  854. data/spec/models/change_spec.rb +8 -2
  855. data/spec/models/code_generator_settings_spec.rb +2 -2
  856. data/spec/models/collection_item_spec.rb +41 -0
  857. data/spec/models/collection_spec.rb +107 -0
  858. data/spec/models/collection_without_payload_spec.rb +101 -0
  859. data/spec/models/coupon_constraints_spec.rb +8 -2
  860. data/spec/models/coupon_created_effect_props_spec.rb +2 -2
  861. data/spec/models/coupon_creation_job_spec.rb +167 -0
  862. data/spec/models/coupon_limit_configs_spec.rb +41 -0
  863. data/spec/models/coupon_rejection_reason_spec.rb +3 -3
  864. data/spec/models/coupon_reservations_spec.rb +2 -2
  865. data/spec/models/coupon_search_spec.rb +2 -2
  866. data/spec/models/coupon_spec.rb +26 -2
  867. data/spec/models/coupon_value_spec.rb +2 -2
  868. data/spec/models/coupons_notification_policy_spec.rb +51 -0
  869. data/spec/models/create_application_api_key_spec.rb +3 -3
  870. data/spec/models/create_management_key_spec.rb +59 -0
  871. data/spec/models/create_template_campaign_response_spec.rb +53 -0
  872. data/spec/models/create_template_campaign_spec.rb +83 -0
  873. data/spec/models/custom_effect_props_spec.rb +33 -3
  874. data/spec/models/custom_effect_spec.rb +14 -8
  875. data/spec/models/customer_activity_report_spec.rb +2 -2
  876. data/spec/models/customer_analytics_spec.rb +2 -2
  877. data/spec/models/customer_inventory_spec.rb +2 -2
  878. data/spec/models/customer_profile_audience_request_item_spec.rb +2 -2
  879. data/spec/models/customer_profile_audience_request_spec.rb +2 -2
  880. data/spec/models/customer_profile_integration_request_v2_spec.rb +8 -2
  881. data/spec/models/customer_profile_search_query_spec.rb +2 -2
  882. data/spec/models/customer_profile_spec.rb +15 -3
  883. data/spec/models/customer_profile_update_v2_response_spec.rb +41 -0
  884. data/spec/models/customer_session_spec.rb +9 -3
  885. data/spec/models/customer_session_v2_spec.rb +28 -4
  886. data/spec/models/deduct_loyalty_points_effect_props_spec.rb +14 -2
  887. data/spec/models/deduct_loyalty_points_spec.rb +59 -0
  888. data/spec/models/effect_entity_spec.rb +8 -2
  889. data/spec/models/effect_spec.rb +8 -2
  890. data/spec/models/email_entity_spec.rb +2 -2
  891. data/spec/models/endpoint_spec.rb +41 -0
  892. data/spec/models/entity_spec.rb +2 -2
  893. data/spec/models/entity_with_talang_visible_id_spec.rb +2 -2
  894. data/spec/models/environment_spec.rb +9 -3
  895. data/spec/models/error_effect_props_spec.rb +2 -2
  896. data/spec/models/error_response_spec.rb +2 -2
  897. data/spec/models/error_response_with_status_spec.rb +53 -0
  898. data/spec/models/error_source_spec.rb +2 -2
  899. data/spec/models/evaluable_campaign_ids_spec.rb +41 -0
  900. data/spec/models/event_spec.rb +2 -2
  901. data/spec/models/event_type_spec.rb +2 -52
  902. data/spec/models/event_v2_spec.rb +59 -0
  903. data/spec/models/expiring_points_notification_policy_spec.rb +47 -0
  904. data/spec/models/expiring_points_notification_trigger_spec.rb +51 -0
  905. data/spec/models/export_spec.rb +3 -3
  906. data/spec/models/feature_flag_spec.rb +2 -2
  907. data/spec/models/features_feed_spec.rb +2 -2
  908. data/spec/models/feed_notification_spec.rb +2 -2
  909. data/spec/models/frontend_state_spec.rb +35 -0
  910. data/spec/models/func_arg_def_spec.rb +3 -3
  911. data/spec/models/function_def_spec.rb +2 -2
  912. data/spec/models/giveaway_spec.rb +14 -2
  913. data/spec/models/giveaways_pool_spec.rb +8 -2
  914. data/spec/models/import_entity_spec.rb +2 -2
  915. data/spec/models/import_spec.rb +2 -2
  916. data/spec/models/inline_response20010_spec.rb +2 -2
  917. data/spec/models/inline_response20011_spec.rb +2 -8
  918. data/spec/models/inline_response20012_spec.rb +2 -2
  919. data/spec/models/inline_response20013_spec.rb +3 -3
  920. data/spec/models/inline_response20014_spec.rb +8 -2
  921. data/spec/models/inline_response20015_spec.rb +2 -2
  922. data/spec/models/inline_response20016_spec.rb +8 -2
  923. data/spec/models/inline_response20017_spec.rb +2 -2
  924. data/spec/models/inline_response20018_spec.rb +2 -2
  925. data/spec/models/inline_response20019_spec.rb +2 -8
  926. data/spec/models/inline_response2001_spec.rb +3 -3
  927. data/spec/models/inline_response20020_spec.rb +8 -2
  928. data/spec/models/inline_response20021_spec.rb +8 -2
  929. data/spec/models/inline_response20022_spec.rb +8 -2
  930. data/spec/models/inline_response20023_spec.rb +3 -3
  931. data/spec/models/inline_response20024_spec.rb +3 -3
  932. data/spec/models/inline_response20025_spec.rb +3 -3
  933. data/spec/models/inline_response20026_spec.rb +3 -3
  934. data/spec/models/inline_response20027_spec.rb +2 -8
  935. data/spec/models/inline_response20028_spec.rb +8 -2
  936. data/spec/models/inline_response20029_spec.rb +8 -2
  937. data/spec/models/inline_response2002_spec.rb +2 -2
  938. data/spec/models/inline_response20030_spec.rb +47 -0
  939. data/spec/models/inline_response20031_spec.rb +47 -0
  940. data/spec/models/inline_response20032_spec.rb +47 -0
  941. data/spec/models/inline_response20033_spec.rb +47 -0
  942. data/spec/models/inline_response20034_spec.rb +47 -0
  943. data/spec/models/inline_response20035_spec.rb +47 -0
  944. data/spec/models/inline_response20036_spec.rb +47 -0
  945. data/spec/models/inline_response20037_spec.rb +53 -0
  946. data/spec/models/inline_response20038_spec.rb +47 -0
  947. data/spec/models/inline_response20039_spec.rb +47 -0
  948. data/spec/models/inline_response2003_spec.rb +2 -2
  949. data/spec/models/inline_response2004_spec.rb +2 -2
  950. data/spec/models/inline_response2005_spec.rb +3 -3
  951. data/spec/models/inline_response2006_spec.rb +3 -3
  952. data/spec/models/inline_response2007_spec.rb +3 -3
  953. data/spec/models/inline_response2008_spec.rb +3 -3
  954. data/spec/models/inline_response2009_spec.rb +2 -2
  955. data/spec/models/inline_response200_spec.rb +2 -2
  956. data/spec/models/inline_response201_spec.rb +2 -2
  957. data/spec/models/integration_coupon_spec.rb +167 -0
  958. data/spec/models/integration_customer_session_response_spec.rb +47 -0
  959. data/spec/models/integration_entity_spec.rb +2 -2
  960. data/spec/models/integration_event_spec.rb +2 -2
  961. data/spec/models/integration_event_v2_request_spec.rb +69 -0
  962. data/spec/models/integration_profile_entity_spec.rb +2 -2
  963. data/spec/models/integration_request_spec.rb +3 -3
  964. data/spec/models/integration_state_spec.rb +2 -2
  965. data/spec/models/integration_state_v2_spec.rb +14 -2
  966. data/spec/models/inventory_coupon_spec.rb +26 -2
  967. data/spec/models/inventory_referral_spec.rb +119 -0
  968. data/spec/models/item_attribute_spec.rb +53 -0
  969. data/spec/models/ledger_entry_spec.rb +2 -2
  970. data/spec/models/ledger_info_spec.rb +83 -0
  971. data/spec/models/ledger_transaction_log_entry_integration_api_spec.rb +111 -0
  972. data/spec/models/library_attribute_spec.rb +2 -2
  973. data/spec/models/limit_config_spec.rb +12 -2
  974. data/spec/models/limit_counter_spec.rb +125 -0
  975. data/spec/models/login_params_spec.rb +2 -2
  976. data/spec/models/loyalty_balance_spec.rb +59 -0
  977. data/spec/models/loyalty_balances_spec.rb +47 -0
  978. data/spec/models/loyalty_card_profile_registration_spec.rb +47 -0
  979. data/spec/models/loyalty_card_registration_spec.rb +41 -0
  980. data/spec/models/loyalty_card_spec.rb +107 -0
  981. data/spec/models/loyalty_dashboard_data_spec.rb +89 -0
  982. data/spec/models/loyalty_dashboard_points_breakdown_spec.rb +47 -0
  983. data/spec/models/loyalty_ledger_entry_spec.rb +14 -2
  984. data/spec/models/loyalty_ledger_spec.rb +2 -2
  985. data/spec/models/loyalty_ledger_transactions_spec.rb +47 -0
  986. data/spec/models/loyalty_membership_spec.rb +2 -2
  987. data/spec/models/loyalty_program_balance_spec.rb +8 -2
  988. data/spec/models/loyalty_program_entity_spec.rb +2 -2
  989. data/spec/models/loyalty_program_ledgers_spec.rb +2 -2
  990. data/spec/models/loyalty_program_spec.rb +39 -9
  991. data/spec/models/loyalty_program_transaction_spec.rb +141 -0
  992. data/spec/models/loyalty_spec.rb +8 -2
  993. data/spec/models/loyalty_statistics_spec.rb +32 -2
  994. data/spec/models/loyalty_sub_ledger_spec.rb +8 -2
  995. data/spec/models/loyalty_tier_spec.rb +2 -2
  996. data/spec/models/management_key_spec.rb +83 -0
  997. data/spec/models/manager_config_spec.rb +2 -2
  998. data/spec/models/meta_spec.rb +2 -2
  999. data/spec/models/model_return_spec.rb +101 -0
  1000. data/spec/models/multi_application_entity_spec.rb +2 -2
  1001. data/spec/models/multiple_attribute_spec.rb +41 -0
  1002. data/spec/models/multiple_audiences_item_spec.rb +69 -0
  1003. data/spec/models/multiple_audiences_spec.rb +47 -0
  1004. data/spec/models/multiple_customer_profile_integration_request_item_spec.rb +2 -2
  1005. data/spec/models/multiple_customer_profile_integration_request_spec.rb +2 -2
  1006. data/spec/models/multiple_customer_profile_integration_response_v2_spec.rb +2 -2
  1007. data/spec/models/multiple_new_attribute_spec.rb +41 -0
  1008. data/spec/models/multiple_new_audiences_spec.rb +41 -0
  1009. data/spec/models/mutable_entity_spec.rb +2 -2
  1010. data/spec/models/new_account_sign_up_spec.rb +2 -2
  1011. data/spec/models/new_account_spec.rb +2 -2
  1012. data/spec/models/new_additional_cost_spec.rb +12 -2
  1013. data/spec/models/new_application_api_key_spec.rb +3 -3
  1014. data/spec/models/new_application_spec.rb +18 -2
  1015. data/spec/models/new_attribute_spec.rb +30 -2
  1016. data/spec/models/new_audience_spec.rb +26 -6
  1017. data/spec/models/new_base_notification_spec.rb +47 -0
  1018. data/spec/models/new_campaign_collection_spec.rb +47 -0
  1019. data/spec/models/new_campaign_group_spec.rb +2 -2
  1020. data/spec/models/new_campaign_set_spec.rb +2 -2
  1021. data/spec/models/new_campaign_set_v2_spec.rb +53 -0
  1022. data/spec/models/new_campaign_spec.rb +3 -3
  1023. data/spec/models/new_campaign_template_spec.rb +127 -0
  1024. data/spec/models/new_catalog_spec.rb +53 -0
  1025. data/spec/models/new_collection_spec.rb +53 -0
  1026. data/spec/models/new_coupon_creation_job_spec.rb +83 -0
  1027. data/spec/models/new_coupons_for_multiple_recipients_spec.rb +8 -2
  1028. data/spec/models/new_coupons_spec.rb +20 -2
  1029. data/spec/models/new_custom_effect_spec.rb +14 -8
  1030. data/spec/models/new_customer_profile_spec.rb +2 -2
  1031. data/spec/models/new_customer_session_spec.rb +3 -3
  1032. data/spec/models/new_customer_session_v2_spec.rb +15 -3
  1033. data/spec/models/new_event_spec.rb +2 -2
  1034. data/spec/models/new_event_type_spec.rb +2 -52
  1035. data/spec/models/new_giveaways_pool_spec.rb +8 -2
  1036. data/spec/models/new_internal_audience_spec.rb +53 -0
  1037. data/spec/models/new_invitation_spec.rb +2 -2
  1038. data/spec/models/new_invite_email_spec.rb +2 -2
  1039. data/spec/models/new_loyalty_program_spec.rb +38 -8
  1040. data/spec/models/new_loyalty_tier_spec.rb +2 -2
  1041. data/spec/models/new_management_key_spec.rb +89 -0
  1042. data/spec/models/new_multiple_audiences_item_spec.rb +47 -0
  1043. data/spec/models/new_notification_webhook_spec.rb +47 -0
  1044. data/spec/models/new_password_email_spec.rb +2 -2
  1045. data/spec/models/new_password_spec.rb +2 -2
  1046. data/spec/models/new_picklist_spec.rb +51 -0
  1047. data/spec/models/new_referral_spec.rb +2 -2
  1048. data/spec/models/new_referrals_for_multiple_advocates_spec.rb +2 -2
  1049. data/spec/models/new_return_spec.rb +41 -0
  1050. data/spec/models/new_role_spec.rb +3 -3
  1051. data/spec/models/new_ruleset_spec.rb +8 -2
  1052. data/spec/models/new_saml_connection_spec.rb +2 -2
  1053. data/spec/models/new_template_def_spec.rb +2 -2
  1054. data/spec/models/new_user_spec.rb +2 -2
  1055. data/spec/models/new_webhook_spec.rb +2 -2
  1056. data/spec/models/notification_spec.rb +2 -2
  1057. data/spec/models/notification_webhook_spec.rb +71 -0
  1058. data/spec/models/outgoing_integration_braze_policy_spec.rb +47 -0
  1059. data/spec/models/outgoing_integration_configuration_spec.rb +53 -0
  1060. data/spec/models/outgoing_integration_type_spec.rb +65 -0
  1061. data/spec/models/outgoing_integration_types_spec.rb +41 -0
  1062. data/spec/models/outgoing_integration_webhook_template_spec.rb +65 -0
  1063. data/spec/models/outgoing_integration_webhook_templates_spec.rb +41 -0
  1064. data/spec/models/patch_item_catalog_action_spec.rb +59 -0
  1065. data/spec/models/patch_many_items_catalog_action_spec.rb +53 -0
  1066. data/spec/models/picklist_spec.rb +87 -0
  1067. data/spec/models/priority_position_spec.rb +51 -0
  1068. data/spec/models/profile_audiences_changes_spec.rb +2 -2
  1069. data/spec/models/redeem_referral_effect_props_spec.rb +2 -2
  1070. data/spec/models/referral_constraints_spec.rb +2 -2
  1071. data/spec/models/referral_created_effect_props_spec.rb +2 -2
  1072. data/spec/models/referral_rejection_reason_spec.rb +3 -3
  1073. data/spec/models/referral_spec.rb +2 -2
  1074. data/spec/models/reject_coupon_effect_props_spec.rb +2 -2
  1075. data/spec/models/reject_referral_effect_props_spec.rb +2 -2
  1076. data/spec/models/remove_item_catalog_action_spec.rb +41 -0
  1077. data/spec/models/remove_many_items_catalog_action_spec.rb +41 -0
  1078. data/spec/models/reserve_coupon_effect_props_spec.rb +53 -0
  1079. data/spec/models/return_integration_request_spec.rb +51 -0
  1080. data/spec/models/returned_cart_item_spec.rb +47 -0
  1081. data/spec/models/role_assign_spec.rb +2 -2
  1082. data/spec/models/role_membership_spec.rb +2 -2
  1083. data/spec/models/role_spec.rb +2 -2
  1084. data/spec/models/role_v2_application_details_spec.rb +53 -0
  1085. data/spec/models/role_v2_permission_set_spec.rb +47 -0
  1086. data/spec/models/role_v2_permissions_roles_spec.rb +53 -0
  1087. data/spec/models/role_v2_permissions_spec.rb +47 -0
  1088. data/spec/models/role_v2_spec.rb +65 -0
  1089. data/spec/models/rollback_added_loyalty_points_effect_props_spec.rb +20 -2
  1090. data/spec/models/rollback_coupon_effect_props_spec.rb +2 -2
  1091. data/spec/models/rollback_deducted_loyalty_points_effect_props_spec.rb +8 -2
  1092. data/spec/models/rollback_discount_effect_props_spec.rb +32 -2
  1093. data/spec/models/rollback_referral_effect_props_spec.rb +2 -2
  1094. data/spec/models/rule_failure_reason_spec.rb +2 -2
  1095. data/spec/models/rule_spec.rb +14 -2
  1096. data/spec/models/ruleset_spec.rb +17 -5
  1097. data/spec/models/saml_connection_metadata_spec.rb +2 -2
  1098. data/spec/models/saml_connection_spec.rb +2 -2
  1099. data/spec/models/saml_login_endpoint_spec.rb +2 -2
  1100. data/spec/models/session_spec.rb +2 -2
  1101. data/spec/models/set_discount_effect_props_spec.rb +8 -2
  1102. data/spec/models/set_discount_per_additional_cost_effect_props_spec.rb +65 -0
  1103. data/spec/models/set_discount_per_additional_cost_per_item_effect_props_spec.rb +77 -0
  1104. data/spec/models/set_discount_per_item_effect_props_spec.rb +38 -2
  1105. data/spec/models/show_bundle_metadata_effect_props_spec.rb +2 -2
  1106. data/spec/models/show_notification_effect_props_spec.rb +2 -2
  1107. data/spec/models/slot_def_spec.rb +2 -2
  1108. data/spec/models/strikethrough_changed_item_spec.rb +77 -0
  1109. data/spec/models/strikethrough_effect_spec.rb +71 -0
  1110. data/spec/models/strikethrough_labeling_notification_spec.rb +65 -0
  1111. data/spec/models/strikethrough_set_discount_per_item_effect_props_spec.rb +47 -0
  1112. data/spec/models/strikethrough_trigger_spec.rb +65 -0
  1113. data/spec/models/talang_attribute_spec.rb +97 -0
  1114. data/spec/models/talang_attribute_visibility_spec.rb +47 -0
  1115. data/spec/models/template_arg_def_spec.rb +15 -3
  1116. data/spec/models/template_def_spec.rb +2 -2
  1117. data/spec/models/template_limit_config_spec.rb +67 -0
  1118. data/spec/models/tier_spec.rb +47 -0
  1119. data/spec/models/transfer_loyalty_card_spec.rb +41 -0
  1120. data/spec/models/trigger_webhook_effect_props_spec.rb +2 -2
  1121. data/spec/models/update_account_spec.rb +2 -2
  1122. data/spec/models/update_application_spec.rb +18 -2
  1123. data/spec/models/update_attribute_effect_props_spec.rb +2 -2
  1124. data/spec/models/update_audience_spec.rb +2 -2
  1125. data/spec/models/update_campaign_collection_spec.rb +41 -0
  1126. data/spec/models/update_campaign_group_spec.rb +2 -2
  1127. data/spec/models/update_campaign_spec.rb +3 -3
  1128. data/spec/models/update_campaign_template_spec.rb +139 -0
  1129. data/spec/models/update_catalog_spec.rb +53 -0
  1130. data/spec/models/update_collection_spec.rb +47 -0
  1131. data/spec/models/update_coupon_batch_spec.rb +8 -2
  1132. data/spec/models/update_coupon_spec.rb +20 -2
  1133. data/spec/models/update_custom_effect_spec.rb +14 -8
  1134. data/spec/models/update_loyalty_card_spec.rb +41 -0
  1135. data/spec/models/update_loyalty_program_spec.rb +20 -2
  1136. data/spec/models/update_picklist_spec.rb +51 -0
  1137. data/spec/models/update_referral_batch_spec.rb +65 -0
  1138. data/spec/models/update_referral_spec.rb +2 -2
  1139. data/spec/models/update_role_spec.rb +3 -3
  1140. data/spec/models/update_user_latest_feed_timestamp_spec.rb +2 -2
  1141. data/spec/models/update_user_spec.rb +2 -2
  1142. data/spec/models/user_entity_spec.rb +2 -2
  1143. data/spec/models/user_feed_notifications_spec.rb +2 -2
  1144. data/spec/models/user_spec.rb +2 -2
  1145. data/spec/models/webhook_activation_log_entry_spec.rb +2 -2
  1146. data/spec/models/webhook_log_entry_spec.rb +2 -2
  1147. data/spec/models/webhook_spec.rb +2 -2
  1148. data/spec/models/will_award_giveaway_effect_props_spec.rb +2 -2
  1149. data/spec/spec_helper.rb +2 -2
  1150. data/talon_one.gemspec +2 -2
  1151. metadata +828 -243
  1152. data/docs/ApplicationCustomerSearch.md +0 -21
  1153. data/docs/FeatureFlags.md +0 -23
  1154. data/docs/LoyaltyPoints.md +0 -25
  1155. data/docs/NewFeatureFlags.md +0 -21
  1156. data/docs/UpdateLoyaltyTier.md +0 -19
  1157. data/spec/models/application_customer_search_spec.rb +0 -53
  1158. data/spec/models/feature_flags_spec.rb +0 -59
  1159. data/spec/models/loyalty_points_spec.rb +0 -65
  1160. data/spec/models/new_feature_flags_spec.rb +0 -53
  1161. data/spec/models/update_loyalty_tier_spec.rb +0 -47
data/docs/Application.md CHANGED
@@ -4,49 +4,53 @@
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
  **account_id** | **Integer** | The ID of the account that owns this entity. |
11
11
  **name** | **String** | The name of this application. |
12
12
  **description** | **String** | A longer description of the application. | [optional]
13
13
  **timezone** | **String** | A string containing an IANA timezone descriptor. |
14
- **currency** | **String** | A string describing a default currency for new customer sessions. |
15
- **case_sensitivity** | **String** | A string indicating how should campaigns in this application deal with case sensitivity on coupon codes. | [optional]
16
- **attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign | [optional]
17
- **limits** | [**Array<LimitConfig>**](LimitConfig.md) | Default limits for campaigns created in this application | [optional]
18
- **campaign_priority** | **String** | Default priority for campaigns created in this application, can be one of (universal, stackable, exclusive). If no value is provided, this is set to \"universal\" | [optional]
19
- **exclusive_campaigns_strategy** | **String** | The strategy used when choosing exclusive campaigns for evaluation, can be one of (listOrder, lowestDiscount, highestDiscount). If no value is provided, this is set to \"listOrder\" | [optional]
20
- **default_discount_scope** | **String** | The default scope to apply \"setDiscount\" effects on if no scope was provided with the effect. | [optional]
21
- **enable_cascading_discounts** | **Boolean** | Flag indicating if discounts should cascade for this application | [optional]
22
- **enable_flattened_cart_items** | **Boolean** | Flag indicating if cart items of quantity larger than one should be separated into different items of quantity one | [optional]
14
+ **currency** | **String** | The default currency for new customer sessions. |
15
+ **case_sensitivity** | **String** | The case sensitivity behavior to check coupon codes in the campaigns of this Application. | [optional]
16
+ **attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional]
17
+ **limits** | [**Array<LimitConfig>**](LimitConfig.md) | Default limits for campaigns created in this application. | [optional]
18
+ **campaign_priority** | **String** | Default [priority](https://docs.talon.one/docs/product/applications/setting-up-campaign-priorities) for campaigns created in this Application. | [optional] [default to 'universal']
19
+ **exclusive_campaigns_strategy** | **String** | The strategy used when choosing exclusive campaigns for evaluation. | [optional] [default to 'listOrder']
20
+ **default_discount_scope** | **String** | The default scope to apply `setDiscount` effects on if no scope was provided with the effect. | [optional]
21
+ **enable_cascading_discounts** | **Boolean** | Indicates if discounts should cascade for this Application. | [optional]
22
+ **enable_flattened_cart_items** | **Boolean** | Indicates if cart items of quantity larger than one should be separated into different items of quantity one. See the [docs](https://docs.talon.one/docs/product/campaigns/campaign-evaluation#flattening). | [optional]
23
23
  **attributes_settings** | [**AttributesSettings**](AttributesSettings.md) | | [optional]
24
- **sandbox** | **Boolean** | Flag indicating if this is a live or sandbox application | [optional]
25
- **loyalty_programs** | [**Array<LoyaltyProgram>**](LoyaltyProgram.md) | An array containing all the loyalty programs to which this application is subscribed |
24
+ **sandbox** | **Boolean** | Indicates if this is a live or sandbox Application. | [optional]
25
+ **enable_partial_discounts** | **Boolean** | Indicates if this Application supports partial discounts. | [optional]
26
+ **default_discount_additional_cost_per_item_scope** | **String** | The default scope to apply `setDiscountPerItem` effects on if no scope was provided with the effect. | [optional]
27
+ **loyalty_programs** | [**Array<LoyaltyProgram>**](LoyaltyProgram.md) | An array containing all the loyalty programs to which this application is subscribed. |
26
28
 
27
29
  ## Code Sample
28
30
 
29
31
  ```ruby
30
32
  require 'TalonOne'
31
33
 
32
- instance = TalonOne::Application.new(id: null,
33
- created: null,
34
- modified: null,
35
- account_id: null,
36
- name: null,
37
- description: null,
38
- timezone: null,
39
- currency: null,
40
- case_sensitivity: null,
34
+ instance = TalonOne::Application.new(id: 6,
35
+ created: 2020-06-10T09:05:27.993483Z,
36
+ modified: 2021-09-12T10:12:42Z,
37
+ account_id: 3886,
38
+ name: My Application,
39
+ description: A test Application,
40
+ timezone: Europe/Berlin,
41
+ currency: EUR,
42
+ case_sensitivity: sensitive,
41
43
  attributes: null,
42
44
  limits: null,
43
- campaign_priority: null,
44
- exclusive_campaigns_strategy: null,
45
- default_discount_scope: null,
46
- enable_cascading_discounts: null,
47
- enable_flattened_cart_items: null,
45
+ campaign_priority: universal,
46
+ exclusive_campaigns_strategy: listOrder,
47
+ default_discount_scope: sessionTotal,
48
+ enable_cascading_discounts: true,
49
+ enable_flattened_cart_items: true,
48
50
  attributes_settings: null,
49
- sandbox: null,
51
+ sandbox: true,
52
+ enable_partial_discounts: false,
53
+ default_discount_additional_cost_per_item_scope: price,
50
54
  loyalty_programs: null)
51
55
  ```
52
56
 
@@ -4,28 +4,28 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **title** | **String** | Title for API Key |
8
- **expires** | **DateTime** | The date the API key expired |
9
- **platform** | **String** | Platform the API key is valid for. | [optional]
10
- **id** | **Integer** | ID of the API Key |
11
- **created_by** | **Integer** | ID of user who created |
12
- **account_id** | **Integer** | ID of account the key is used for |
13
- **application_id** | **Integer** | ID of application the key is used for |
14
- **created** | **DateTime** | The date the API key was created |
7
+ **title** | **String** | Title for API Key. |
8
+ **expires** | **DateTime** | The date the API key expired. |
9
+ **platform** | **String** | The third-party platform the API key is valid for. Use `none` for a generic API key to be used from your own integration layer. | [optional]
10
+ **id** | **Integer** | ID of the API Key. |
11
+ **created_by** | **Integer** | ID of user who created. |
12
+ **account_id** | **Integer** | ID of account the key is used for. |
13
+ **application_id** | **Integer** | ID of application the key is used for. |
14
+ **created** | **DateTime** | The date the API key was created. |
15
15
 
16
16
  ## Code Sample
17
17
 
18
18
  ```ruby
19
19
  require 'TalonOne'
20
20
 
21
- instance = TalonOne::ApplicationAPIKey.new(title: null,
22
- expires: null,
23
- platform: null,
24
- id: null,
25
- created_by: null,
26
- account_id: null,
27
- application_id: null,
28
- created: null)
21
+ instance = TalonOne::ApplicationAPIKey.new(title: My generated key,
22
+ expires: 2023-08-24T14:00Z,
23
+ platform: none,
24
+ id: 34,
25
+ created_by: 280,
26
+ account_id: 13,
27
+ application_id: 54,
28
+ created: 2022-03-02T16:46:17.758585Z)
29
29
  ```
30
30
 
31
31
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **summary** | **String** | One-word summary of the health of the API connection of an application |
8
- **last_used** | **DateTime** | time of last request relevant to the API health test |
7
+ **summary** | **String** | One-word summary of the health of the API connection of an application. Possible values are: - `OK`: The Application has received only successful API requests in the last 5 minutes. - `WARNING`: The Application received at least one failed request in the last 50 minutes. - `ERROR`: More than 50% of received requests failed. - `CRITICAL`: All received requests failed. - `NONE`: During the last 5 minutes, the Application hasn't recorded any integration API requests. |
8
+ **last_used** | **DateTime** | time of last request relevant to the API health test. |
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  require 'TalonOne'
14
14
 
15
15
  instance = TalonOne::ApplicationApiHealth.new(summary: null,
16
- last_used: null)
16
+ last_used: 2021-09-12T10:12:42Z)
17
17
  ```
18
18
 
19
19
 
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **draft** | **Integer** | Number of draft campaigns |
8
- **disabled** | **Integer** | Number of disabled campaigns |
9
- **scheduled** | **Integer** | Number of scheduled campaigns |
10
- **running** | **Integer** | Number of running campaigns |
11
- **expired** | **Integer** | Number of expired campaigns |
12
- **archived** | **Integer** | Number of archived campaigns |
7
+ **draft** | **Integer** | Number of draft campaigns. |
8
+ **disabled** | **Integer** | Number of disabled campaigns. |
9
+ **scheduled** | **Integer** | Number of scheduled campaigns. |
10
+ **running** | **Integer** | Number of running campaigns. |
11
+ **expired** | **Integer** | Number of expired campaigns. |
12
+ **archived** | **Integer** | Number of archived campaigns. |
13
13
 
14
14
  ## Code Sample
15
15
 
@@ -4,16 +4,18 @@
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. The exact moment this entity was created. The exact moment this entity was created. |
9
- **integration_id** | **String** | The integration ID for this entity sent to and used in the Talon.One system. The integration ID for this entity sent to and used in the Talon.One system. |
10
- **attributes** | [**Object**](.md) | Arbitrary properties associated with this item |
7
+ **id** | **Integer** | Internal ID of this entity. Internal ID of this entity. |
8
+ **created** | **DateTime** | The time this entity was created. The time this entity was created. The time this entity was created. The time this entity was created. |
9
+ **integration_id** | **String** | The integration ID set by your integration layer. The integration ID set by your integration layer. |
10
+ **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. |
11
11
  **account_id** | **Integer** | The ID of the Talon.One account that owns this profile. The ID of the Talon.One account that owns this profile. |
12
12
  **closed_sessions** | **Integer** | The total amount of closed sessions by a customer. A closed session is a successful purchase. |
13
- **total_sales** | **Float** | Sum of all purchases made by this customer |
14
- **loyalty_memberships** | [**Array<LoyaltyMembership>**](LoyaltyMembership.md) | A list of loyalty programs joined by the customer | [optional]
15
- **audience_memberships** | [**Array<AudienceMembership>**](AudienceMembership.md) | A list of audiences the customer belongs to | [optional]
16
- **last_activity** | **DateTime** | Timestamp of the most recent event received from this customer |
13
+ **total_sales** | **Float** | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. |
14
+ **loyalty_memberships** | [**Array<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED** A list of loyalty programs joined by the customer. | [optional]
15
+ **audience_memberships** | [**Array<AudienceMembership>**](AudienceMembership.md) | The audiences the customer belongs to. | [optional]
16
+ **last_activity** | **DateTime** | Timestamp of the most recent event received from this customer. This field is updated on calls that trigger the rule-engine and that are not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay). For example, [reserving a coupon](https://docs.talon.one/integration-api#operation/createCouponReservation) for a customer doesn't impact this field. |
17
+ **sandbox** | **Boolean** | Shows whether the customer is part of a sandbox or live Application. See the [docs](https://docs.talon.one/docs/product/applications/overview#application-environments). | [optional]
18
+ **advocate_integration_id** | **String** | The Integration ID of the Customer Profile that referred this Customer in the Application. | [optional]
17
19
 
18
20
  ## Code Sample
19
21
 
@@ -23,13 +25,15 @@ require 'TalonOne'
23
25
  instance = TalonOne::ApplicationCustomer.new(id: null,
24
26
  created: null,
25
27
  integration_id: null,
26
- attributes: null,
28
+ attributes: {"Language":"english","ShippingCountry":"DE"},
27
29
  account_id: null,
28
- closed_sessions: null,
29
- total_sales: null,
30
+ closed_sessions: 3,
31
+ total_sales: 299.99,
30
32
  loyalty_memberships: null,
31
33
  audience_memberships: null,
32
- last_activity: null)
34
+ last_activity: 2020-02-08T14:15:20Z,
35
+ sandbox: false,
36
+ advocate_integration_id: null)
33
37
  ```
34
38
 
35
39
 
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  ```ruby
12
12
  require 'TalonOne'
13
13
 
14
- instance = TalonOne::ApplicationCustomerEntity.new(profile_id: null)
14
+ instance = TalonOne::ApplicationCustomerEntity.new(profile_id: 138)
15
15
  ```
16
16
 
17
17
 
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  ```ruby
12
12
  require 'TalonOne'
13
13
 
14
- instance = TalonOne::ApplicationEntity.new(application_id: null)
14
+ instance = TalonOne::ApplicationEntity.new(application_id: 322)
15
15
  ```
16
16
 
17
17
 
@@ -4,14 +4,14 @@
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. |
7
+ **id** | **Integer** | Internal ID of this entity. |
8
+ **created** | **DateTime** | The time this entity was created. |
9
9
  **application_id** | **Integer** | The ID of the application that owns this entity. |
10
10
  **profile_id** | **Integer** | The globally unique Talon.One ID of the customer that created this entity. | [optional]
11
11
  **session_id** | **Integer** | The globally unique Talon.One ID of the session that contains this event. | [optional]
12
12
  **type** | **String** | A string representing the event. Must not be a reserved event name. |
13
13
  **attributes** | [**Object**](.md) | Additional JSON serialized data associated with the event. |
14
- **effects** | **Array<Object>** | An array containing the effects that were applied as a result of this event. |
14
+ **effects** | [**Array<Effect>**](Effect.md) | An array containing the effects that were applied as a result of this event. |
15
15
  **rule_failure_reasons** | [**Array<RuleFailureReason>**](RuleFailureReason.md) | An array containing the rule failure reasons which happened during this event. | [optional]
16
16
 
17
17
  ## Code Sample
@@ -19,10 +19,10 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'TalonOne'
21
21
 
22
- instance = TalonOne::ApplicationEvent.new(id: null,
23
- created: null,
24
- application_id: null,
25
- profile_id: null,
22
+ instance = TalonOne::ApplicationEvent.new(id: 6,
23
+ created: 2020-06-10T09:05:27.993483Z,
24
+ application_id: 322,
25
+ profile_id: 138,
26
26
  session_id: null,
27
27
  type: null,
28
28
  attributes: null,
@@ -0,0 +1,17 @@
1
+ # TalonOne::ApplicationNotification
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **event** | **String** | Event type. It can be one of the following: ['campaign_priorities_changed'] |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TalonOne'
13
+
14
+ instance = TalonOne::ApplicationNotification.new(event: null)
15
+ ```
16
+
17
+
@@ -5,18 +5,18 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **application_id** | **Integer** | The ID of the application that owns this entity. |
8
- **session_id** | **String** | Integration ID of the session in which the customer redeemed the referral |
9
- **advocate_integration_id** | **String** | Integration ID of the Advocate's Profile |
10
- **friend_integration_id** | **String** | Integration ID of the Friend's Profile |
8
+ **session_id** | **String** | Integration ID of the session in which the customer redeemed the referral. |
9
+ **advocate_integration_id** | **String** | Integration ID of the Advocate's Profile. |
10
+ **friend_integration_id** | **String** | Integration ID of the Friend's Profile. |
11
11
  **code** | **String** | Advocate's referral code. |
12
- **created** | **DateTime** | Timestamp of the moment the customer redeemed the referral |
12
+ **created** | **DateTime** | Timestamp of the moment the customer redeemed the referral. |
13
13
 
14
14
  ## Code Sample
15
15
 
16
16
  ```ruby
17
17
  require 'TalonOne'
18
18
 
19
- instance = TalonOne::ApplicationReferee.new(application_id: null,
19
+ instance = TalonOne::ApplicationReferee.new(application_id: 322,
20
20
  session_id: null,
21
21
  advocate_integration_id: null,
22
22
  friend_integration_id: null,
@@ -4,37 +4,39 @@
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. The exact moment this entity was created. |
7
+ **id** | **Integer** | Internal ID of this entity. |
8
+ **created** | **DateTime** | The time this entity was created. The time this entity was created. |
9
9
  **application_id** | **Integer** | The ID of the application that owns this entity. |
10
10
  **profile_id** | **Integer** | The globally unique Talon.One ID of the customer that created this entity. | [optional]
11
- **integration_id** | **String** | The integration ID for this entity sent to and used in the Talon.One system. |
11
+ **integration_id** | **String** | The integration ID set by your integration layer. |
12
12
  **profileintegrationid** | **String** | Integration ID of the customer for the session. | [optional]
13
13
  **coupon** | **String** | Any coupon code entered. |
14
14
  **referral** | **String** | Any referral code entered. |
15
- **state** | **String** | Indicating if the customer session is in progress (\"open\"), \"closed\", or \"cancelled\". |
15
+ **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). |
16
16
  **cart_items** | [**Array<CartItem>**](CartItem.md) | Serialized JSON representation. |
17
- **discounts** | **Hash<String, Float>** | A map of labelled discount values, in the same currency as the session. |
17
+ **discounts** | **Hash<String, Float>** | **API V1 only.** A map of labeled discount values, in the same currency as the session. If you are using the V2 endpoints, refer to the `totalDiscounts` property instead. |
18
+ **total_discounts** | **Float** | The total sum of the discounts applied to this session. |
18
19
  **total** | **Float** | The total sum of the session before any discounts applied. |
19
- **attributes** | [**Object**](.md) | Arbitrary properties associated with this item | [optional]
20
+ **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional]
20
21
 
21
22
  ## Code Sample
22
23
 
23
24
  ```ruby
24
25
  require 'TalonOne'
25
26
 
26
- instance = TalonOne::ApplicationSession.new(id: null,
27
+ instance = TalonOne::ApplicationSession.new(id: 6,
27
28
  created: null,
28
- application_id: null,
29
- profile_id: null,
30
- integration_id: null,
31
- profileintegrationid: null,
32
- coupon: null,
33
- referral: null,
34
- state: null,
29
+ application_id: 322,
30
+ profile_id: 138,
31
+ integration_id: URNGV8294NV,
32
+ profileintegrationid: 382370BKDB946,
33
+ coupon: BKDB946,
34
+ referral: BKDB946,
35
+ state: closed,
35
36
  cart_items: null,
36
37
  discounts: null,
37
- total: null,
38
+ total_discounts: 100.0,
39
+ total: 200.0,
38
40
  attributes: null)
39
41
  ```
40
42
 
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  ```ruby
12
12
  require 'TalonOne'
13
13
 
14
- instance = TalonOne::ApplicationSessionEntity.new(session_id: null)
14
+ instance = TalonOne::ApplicationSessionEntity.new(session_id: 2)
15
15
  ```
16
16
 
17
17
 
@@ -0,0 +1,17 @@
1
+ # TalonOne::AsyncCouponCreationResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **batch_id** | **String** | The batch ID that all coupons created by the request will have. |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TalonOne'
13
+
14
+ instance = TalonOne::AsyncCouponCreationResponse.new(batch_id: tqyrgahe)
15
+ ```
16
+
17
+
data/docs/Attribute.md CHANGED
@@ -4,8 +4,8 @@
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. |
7
+ **id** | **Integer** | Internal ID of this entity. |
8
+ **created** | **DateTime** | The time this entity was created. |
9
9
  **account_id** | **Integer** | The ID of the account that owns this entity. |
10
10
  **entity** | **String** | The name of the entity that can have this attribute. When creating or updating the entities of a given type, you can include an `attributes` object with keys corresponding to the `name` of the custom attributes for that type. |
11
11
  **event_type** | **String** | | [optional]
@@ -14,26 +14,36 @@ Name | Type | Description | Notes
14
14
  **type** | **String** | The data type of the attribute, a `time` attribute must be sent as a string that conforms to the [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp format. |
15
15
  **description** | **String** | A description of this attribute. |
16
16
  **suggestions** | **Array<String>** | A list of suggestions for the attribute. |
17
+ **has_allowed_list** | **Boolean** | Whether or not this attribute has an allowed list of values associated with it. | [optional] [default to false]
18
+ **restricted_by_suggestions** | **Boolean** | Whether or not this attribute's value is restricted by suggestions (`suggestions` property) or by an allowed list of value (`hasAllowedList` property). | [optional] [default to false]
17
19
  **editable** | **Boolean** | Whether or not this attribute can be edited. |
18
- **subscribed_applications_ids** | **Array<Integer>** | A list of the IDs of the applications that are subscribed to this attribute | [optional]
20
+ **subscribed_applications_ids** | **Array<Integer>** | A list of the IDs of the applications where this attribute is available. | [optional]
21
+ **subscribed_catalogs_ids** | **Array<Integer>** | A list of the IDs of the catalogs where this attribute is available. | [optional]
22
+ **allowed_subscriptions** | **Array<String>** | A list of allowed subscription types for this attribute. **Note:** This only applies to attributes associated with the `CartItem` entity. | [optional]
23
+ **event_type_id** | **Integer** | | [optional]
19
24
 
20
25
  ## Code Sample
21
26
 
22
27
  ```ruby
23
28
  require 'TalonOne'
24
29
 
25
- instance = TalonOne::Attribute.new(id: null,
26
- created: null,
27
- account_id: null,
28
- entity: null,
29
- event_type: null,
30
- name: null,
31
- title: null,
32
- type: null,
33
- description: null,
30
+ instance = TalonOne::Attribute.new(id: 6,
31
+ created: 2020-06-10T09:05:27.993483Z,
32
+ account_id: 3886,
33
+ entity: Event,
34
+ event_type: pageViewed,
35
+ name: pageViewed,
36
+ title: Page view event,
37
+ type: string,
38
+ description: Event triggered when a customer displays a page.,
34
39
  suggestions: null,
35
- editable: null,
36
- subscribed_applications_ids: null)
40
+ has_allowed_list: false,
41
+ restricted_by_suggestions: false,
42
+ editable: true,
43
+ subscribed_applications_ids: [1, 4, 9],
44
+ subscribed_catalogs_ids: [2, 5],
45
+ allowed_subscriptions: [application, catalog],
46
+ event_type_id: 22)
37
47
  ```
38
48
 
39
49
 
data/docs/Audience.md CHANGED
@@ -5,23 +5,31 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **account_id** | **Integer** | The ID of the account that owns this entity. |
8
- **id** | **Integer** | Unique ID for this entity. |
9
- **created** | **DateTime** | The exact moment this entity was created. |
10
- **name** | **String** | The human-friendly display name for this Audience. |
11
- **integration** | **String** | Integration that this audience was created in. |
12
- **integration_id** | **String** | The ID of this Audience in the third-party integration |
8
+ **id** | **Integer** | Internal ID of this entity. |
9
+ **created** | **DateTime** | The time this entity was created. |
10
+ **name** | **String** | The human-friendly display name for this audience. |
11
+ **sandbox** | **Boolean** | Indicates if this is a live or sandbox Application. | [optional]
12
+ **description** | **String** | A description of the audience. | [optional]
13
+ **integration** | **String** | The Talon.One-supported [3rd-party platform](https://docs.talon.one/docs/dev/technology-partners/overview) that this audience was created in. For example, `mParticle`, `Segment`, `Selligent`, `Braze`, or `Iterable`. **Note:** If you do not integrate with any of these platforms, do not use this property. | [optional]
14
+ **integration_id** | **String** | The ID of this audience in the third-party integration. **Note:** To create an audience that doesn't come from a 3rd party platform, do not use this property. | [optional]
15
+ **created_in3rd_party** | **Boolean** | Determines if this audience is a 3rd party audience or not. | [optional]
16
+ **last_update** | **DateTime** | The last time that the audience memberships changed. | [optional]
13
17
 
14
18
  ## Code Sample
15
19
 
16
20
  ```ruby
17
21
  require 'TalonOne'
18
22
 
19
- instance = TalonOne::Audience.new(account_id: null,
20
- id: null,
21
- created: null,
22
- name: null,
23
- integration: null,
24
- integration_id: null)
23
+ instance = TalonOne::Audience.new(account_id: 3886,
24
+ id: 6,
25
+ created: 2020-06-10T09:05:27.993483Z,
26
+ name: Travel audience,
27
+ sandbox: true,
28
+ description: Travel audience 18-25,
29
+ integration: mparticle,
30
+ integration_id: 382370BKDB946,
31
+ created_in3rd_party: false,
32
+ last_update: 2022-04-26T11:02:38Z)
25
33
  ```
26
34
 
27
35
 
@@ -0,0 +1,19 @@
1
+ # TalonOne::AudienceAnalytics
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **audience_id** | **Integer** | The ID of the audience. | [optional]
8
+ **members_count** | **Integer** | The count of members under a single audience. | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'TalonOne'
14
+
15
+ instance = TalonOne::AudienceAnalytics.new(audience_id: 1,
16
+ members_count: 1234)
17
+ ```
18
+
19
+
@@ -0,0 +1,41 @@
1
+ # TalonOne::AudienceCustomer
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **Integer** | Internal ID of this entity. |
8
+ **created** | **DateTime** | The time this entity was created. The time this entity was created. |
9
+ **integration_id** | **String** | The integration ID set by your integration layer. |
10
+ **attributes** | [**Object**](.md) | Arbitrary properties associated with this item. |
11
+ **account_id** | **Integer** | The ID of the Talon.One account that owns this profile. |
12
+ **closed_sessions** | **Integer** | The total amount of closed sessions by a customer. A closed session is a successful purchase. |
13
+ **total_sales** | **Float** | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. |
14
+ **loyalty_memberships** | [**Array<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED** A list of loyalty programs joined by the customer. | [optional]
15
+ **audience_memberships** | [**Array<AudienceMembership>**](AudienceMembership.md) | The audiences the customer belongs to. | [optional]
16
+ **last_activity** | **DateTime** | Timestamp of the most recent event received from this customer. This field is updated on calls that trigger the rule-engine and that are not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay). For example, [reserving a coupon](https://docs.talon.one/integration-api#operation/createCouponReservation) for a customer doesn't impact this field. |
17
+ **sandbox** | **Boolean** | Shows whether the customer is part of a sandbox or live Application. See the [docs](https://docs.talon.one/docs/product/applications/overview#application-environments). | [optional]
18
+ **connected_applications_ids** | **Array<Integer>** | A list of the IDs of the Applications that are connected to this customer profile. | [optional]
19
+ **connected_audiences** | **Array<Integer>** | A list of the IDs of the audiences that are connected to this customer profile. | [optional]
20
+
21
+ ## Code Sample
22
+
23
+ ```ruby
24
+ require 'TalonOne'
25
+
26
+ instance = TalonOne::AudienceCustomer.new(id: 6,
27
+ created: null,
28
+ integration_id: URNGV8294NV,
29
+ attributes: {"Language":"english","ShippingCountry":"DE"},
30
+ account_id: 31,
31
+ closed_sessions: 3,
32
+ total_sales: 299.99,
33
+ loyalty_memberships: null,
34
+ audience_memberships: null,
35
+ last_activity: 2020-02-08T14:15:20Z,
36
+ sandbox: false,
37
+ connected_applications_ids: [1, 2, 3],
38
+ connected_audiences: [1, 2, 3])
39
+ ```
40
+
41
+
@@ -0,0 +1,17 @@
1
+ # TalonOne::AudienceIntegrationID
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **integration_id** | **String** | The ID of this audience in the third-party integration. | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TalonOne'
13
+
14
+ instance = TalonOne::AudienceIntegrationID.new(integration_id: 382370BKDB946)
15
+ ```
16
+
17
+
@@ -12,8 +12,8 @@ Name | Type | Description | Notes
12
12
  ```ruby
13
13
  require 'TalonOne'
14
14
 
15
- instance = TalonOne::AudienceMembership.new(id: null,
16
- name: null)
15
+ instance = TalonOne::AudienceMembership.new(id: 2,
16
+ name: Travel audience)
17
17
  ```
18
18
 
19
19
 
@@ -15,11 +15,11 @@ Name | Type | Description | Notes
15
15
  ```ruby
16
16
  require 'TalonOne'
17
17
 
18
- instance = TalonOne::AwardGiveawayEffectProps.new(pool_id: null,
19
- pool_name: null,
20
- recipient_integration_id: null,
21
- giveaway_id: null,
22
- code: null)
18
+ instance = TalonOne::AwardGiveawayEffectProps.new(pool_id: 2,
19
+ pool_name: My pool,
20
+ recipient_integration_id: URNGV8294NV,
21
+ giveaway_id: 5,
22
+ code: 57638t-67439hty)
23
23
  ```
24
24
 
25
25