talon_one 0.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (510) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/Gemfile +4 -0
  4. data/README.md +393 -57
  5. data/Rakefile +6 -8
  6. data/docs/APIError.md +10 -0
  7. data/docs/AccessLogEntry.md +14 -0
  8. data/docs/Account.md +25 -0
  9. data/docs/AccountAnalytics.md +21 -0
  10. data/docs/AccountEntity.md +8 -0
  11. data/docs/AccountLimits.md +18 -0
  12. data/docs/Application.md +20 -0
  13. data/docs/ApplicationAPIKey.md +14 -0
  14. data/docs/ApplicationApiHealth.md +9 -0
  15. data/docs/ApplicationCustomer.md +16 -0
  16. data/docs/ApplicationCustomerEntity.md +8 -0
  17. data/docs/ApplicationCustomerSearch.md +10 -0
  18. data/docs/ApplicationEntity.md +8 -0
  19. data/docs/ApplicationEvent.md +15 -0
  20. data/docs/ApplicationSession.md +18 -0
  21. data/docs/ApplicationSessionEntity.md +8 -0
  22. data/docs/Attribute.md +20 -0
  23. data/docs/AttributeQuery.md +7 -0
  24. data/docs/Binding.md +9 -0
  25. data/docs/Campaign.md +30 -0
  26. data/docs/CampaignAnalytics.md +22 -0
  27. data/docs/CampaignCopy.md +9 -0
  28. data/docs/CampaignEntity.md +8 -0
  29. data/docs/CampaignSearch.md +8 -0
  30. data/docs/CampaignSet.md +11 -0
  31. data/docs/CampaignSetBranchNode.md +11 -0
  32. data/docs/CampaignSetLeafNode.md +9 -0
  33. data/docs/CampaignSetNode.md +8 -0
  34. data/docs/CartItem.md +19 -0
  35. data/docs/CartItemAdjustment.md +10 -0
  36. data/docs/Change.md +13 -0
  37. data/docs/CodeGeneratorSettings.md +9 -0
  38. data/docs/Coupon.md +21 -0
  39. data/docs/CouponConstraints.md +10 -0
  40. data/docs/CouponRejectionReason.md +10 -0
  41. data/docs/CouponReservations.md +8 -0
  42. data/docs/CouponSearch.md +8 -0
  43. data/docs/CouponValue.md +8 -0
  44. data/docs/CreateApplicationAPIKey.md +9 -0
  45. data/docs/CustomerActivityReport.md +20 -0
  46. data/docs/CustomerAnalytics.md +14 -0
  47. data/docs/CustomerProfile.md +15 -0
  48. data/docs/CustomerProfileSearchQuery.md +10 -0
  49. data/docs/CustomerSession.md +20 -0
  50. data/docs/EmailEntity.md +8 -0
  51. data/docs/Entity.md +9 -0
  52. data/docs/Environment.md +14 -0
  53. data/docs/ErrorResponse.md +9 -0
  54. data/docs/ErrorSource.md +10 -0
  55. data/docs/Event.md +17 -0
  56. data/docs/EventType.md +19 -0
  57. data/docs/Export.md +13 -0
  58. data/docs/FeatureFlag.md +11 -0
  59. data/docs/FeatureFlags.md +11 -0
  60. data/docs/FeaturesFeed.md +9 -0
  61. data/docs/FuncArgDef.md +9 -0
  62. data/docs/FunctionDef.md +12 -0
  63. data/docs/Import.md +13 -0
  64. data/docs/ImportCoupons.md +8 -0
  65. data/docs/InlineResponse200.md +9 -0
  66. data/docs/InlineResponse2001.md +9 -0
  67. data/docs/InlineResponse20010.md +9 -0
  68. data/docs/InlineResponse20011.md +9 -0
  69. data/docs/InlineResponse20012.md +9 -0
  70. data/docs/InlineResponse20013.md +9 -0
  71. data/docs/InlineResponse20014.md +9 -0
  72. data/docs/InlineResponse20015.md +9 -0
  73. data/docs/InlineResponse20016.md +9 -0
  74. data/docs/InlineResponse20017.md +9 -0
  75. data/docs/InlineResponse20018.md +9 -0
  76. data/docs/InlineResponse20019.md +9 -0
  77. data/docs/InlineResponse2002.md +9 -0
  78. data/docs/InlineResponse20020.md +9 -0
  79. data/docs/InlineResponse20021.md +9 -0
  80. data/docs/InlineResponse20022.md +9 -0
  81. data/docs/InlineResponse20023.md +9 -0
  82. data/docs/InlineResponse20024.md +9 -0
  83. data/docs/InlineResponse20025.md +9 -0
  84. data/docs/InlineResponse20026.md +9 -0
  85. data/docs/InlineResponse20027.md +9 -0
  86. data/docs/InlineResponse20028.md +9 -0
  87. data/docs/InlineResponse2003.md +9 -0
  88. data/docs/InlineResponse2004.md +9 -0
  89. data/docs/InlineResponse2005.md +9 -0
  90. data/docs/InlineResponse2006.md +9 -0
  91. data/docs/InlineResponse2007.md +9 -0
  92. data/docs/InlineResponse2008.md +9 -0
  93. data/docs/InlineResponse2009.md +9 -0
  94. data/docs/IntegrationApi.md +558 -0
  95. data/docs/IntegrationEntity.md +9 -0
  96. data/docs/IntegrationEvent.md +10 -0
  97. data/docs/IntegrationProfileEntity.md +8 -0
  98. data/docs/IntegrationState.md +11 -0
  99. data/docs/LedgerEntry.md +17 -0
  100. data/docs/LibraryAttribute.md +14 -0
  101. data/docs/LimitConfig.md +10 -0
  102. data/docs/LoginParams.md +9 -0
  103. data/docs/Loyalty.md +8 -0
  104. data/docs/LoyaltyLedger.md +9 -0
  105. data/docs/LoyaltyLedgerEntry.md +17 -0
  106. data/docs/LoyaltyMembership.md +9 -0
  107. data/docs/LoyaltyPoints.md +11 -0
  108. data/docs/LoyaltyProgram.md +15 -0
  109. data/docs/LoyaltyProgramBalance.md +8 -0
  110. data/docs/LoyaltyProgramLedgers.md +11 -0
  111. data/docs/LoyaltySubLedger.md +10 -0
  112. data/docs/ManagementApi.md +5067 -0
  113. data/docs/ManagerConfig.md +8 -0
  114. data/docs/Meta.md +11 -0
  115. data/docs/MiscUpdateUserLatestFeature.md +8 -0
  116. data/docs/MultiApplicationEntity.md +8 -0
  117. data/docs/MutableEntity.md +8 -0
  118. data/docs/NewAccount.md +8 -0
  119. data/docs/NewAccountSignUp.md +10 -0
  120. data/docs/NewApplication.md +15 -0
  121. data/docs/NewApplicationAPIKey.md +15 -0
  122. data/docs/NewAttribute.md +15 -0
  123. data/docs/NewCampaign.md +19 -0
  124. data/docs/NewCampaignSet.md +9 -0
  125. data/docs/NewCoupons.md +16 -0
  126. data/docs/NewCustomerProfile.md +8 -0
  127. data/docs/NewCustomerSession.md +15 -0
  128. data/docs/NewEvent.md +11 -0
  129. data/docs/NewEventType.md +17 -0
  130. data/docs/NewFeatureFlags.md +10 -0
  131. data/docs/NewImport.md +8 -0
  132. data/docs/NewInvitation.md +11 -0
  133. data/docs/NewInviteEmail.md +9 -0
  134. data/docs/NewLoyaltyProgram.md +13 -0
  135. data/docs/NewPassword.md +9 -0
  136. data/docs/NewPasswordEmail.md +8 -0
  137. data/docs/NewReferral.md +12 -0
  138. data/docs/NewRole.md +11 -0
  139. data/docs/NewRuleset.md +11 -0
  140. data/docs/NewTemplateDef.md +14 -0
  141. data/docs/NewUser.md +11 -0
  142. data/docs/NewWebhook.md +15 -0
  143. data/docs/Referral.md +17 -0
  144. data/docs/Role.md +13 -0
  145. data/docs/RoleAssign.md +9 -0
  146. data/docs/RoleMembership.md +9 -0
  147. data/docs/Rule.md +12 -0
  148. data/docs/Ruleset.md +16 -0
  149. data/docs/Session.md +10 -0
  150. data/docs/SlotDef.md +13 -0
  151. data/docs/TemplateArgDef.md +11 -0
  152. data/docs/TemplateDef.md +18 -0
  153. data/docs/UpdateAccount.md +10 -0
  154. data/docs/UpdateCampaign.md +19 -0
  155. data/docs/UpdateCoupon.md +12 -0
  156. data/docs/UpdateCouponBatch.md +12 -0
  157. data/docs/UpdateLoyaltyProgram.md +12 -0
  158. data/docs/UpdateRole.md +11 -0
  159. data/docs/UpdateUser.md +16 -0
  160. data/docs/User.md +19 -0
  161. data/docs/UserEntity.md +8 -0
  162. data/docs/Webhook.md +19 -0
  163. data/docs/WebhookActivationLogEntry.md +12 -0
  164. data/docs/WebhookLogEntry.md +17 -0
  165. data/git_push.sh +55 -0
  166. data/lib/talon_one.rb +195 -4
  167. data/lib/talon_one/api/integration_api.rb +531 -0
  168. data/lib/talon_one/api/management_api.rb +5520 -0
  169. data/lib/talon_one/api_client.rb +389 -0
  170. data/lib/talon_one/api_error.rb +38 -0
  171. data/lib/talon_one/configuration.rb +223 -0
  172. data/lib/talon_one/models/access_log_entry.rb +280 -0
  173. data/lib/talon_one/models/account.rb +462 -0
  174. data/lib/talon_one/models/account_analytics.rb +384 -0
  175. data/lib/talon_one/models/account_entity.rb +189 -0
  176. data/lib/talon_one/models/account_limits.rb +341 -0
  177. data/lib/talon_one/models/api_error.rb +213 -0
  178. data/lib/talon_one/models/application.rb +482 -0
  179. data/lib/talon_one/models/application_api_health.rb +239 -0
  180. data/lib/talon_one/models/application_api_key.rb +279 -0
  181. data/lib/talon_one/models/application_customer.rb +307 -0
  182. data/lib/talon_one/models/application_customer_entity.rb +184 -0
  183. data/lib/talon_one/models/application_customer_search.rb +206 -0
  184. data/lib/talon_one/models/application_entity.rb +189 -0
  185. data/lib/talon_one/models/application_event.rb +287 -0
  186. data/lib/talon_one/models/application_session.rb +368 -0
  187. data/lib/talon_one/models/application_session_entity.rb +189 -0
  188. data/lib/talon_one/models/attribute.rb +416 -0
  189. data/lib/talon_one/models/attribute_query.rb +174 -0
  190. data/lib/talon_one/models/binding.rb +206 -0
  191. data/lib/talon_one/models/campaign.rb +514 -0
  192. data/lib/talon_one/models/campaign_analytics.rb +399 -0
  193. data/lib/talon_one/models/campaign_copy.rb +201 -0
  194. data/lib/talon_one/models/campaign_entity.rb +189 -0
  195. data/lib/talon_one/models/campaign_search.rb +189 -0
  196. data/lib/talon_one/models/campaign_set.rb +234 -0
  197. data/lib/talon_one/models/campaign_set_branch_node.rb +282 -0
  198. data/lib/talon_one/models/campaign_set_leaf_node.rb +238 -0
  199. data/lib/talon_one/models/campaign_set_node.rb +188 -0
  200. data/lib/talon_one/models/cart_item.rb +365 -0
  201. data/lib/talon_one/models/cart_item_adjustment.rb +248 -0
  202. data/lib/talon_one/models/change.rb +255 -0
  203. data/lib/talon_one/models/code_generator_settings.rb +225 -0
  204. data/lib/talon_one/models/coupon.rb +392 -0
  205. data/lib/talon_one/models/coupon_constraints.rb +228 -0
  206. data/lib/talon_one/models/coupon_rejection_reason.rb +251 -0
  207. data/lib/talon_one/models/coupon_reservations.rb +191 -0
  208. data/lib/talon_one/models/coupon_search.rb +189 -0
  209. data/lib/talon_one/models/coupon_value.rb +199 -0
  210. data/lib/talon_one/models/create_application_api_key.rb +204 -0
  211. data/lib/talon_one/models/customer_activity_report.rb +365 -0
  212. data/lib/talon_one/models/customer_analytics.rb +280 -0
  213. data/lib/talon_one/models/customer_profile.rb +292 -0
  214. data/lib/talon_one/models/customer_profile_search_query.rb +206 -0
  215. data/lib/talon_one/models/customer_session.rb +407 -0
  216. data/lib/talon_one/models/email_entity.rb +189 -0
  217. data/lib/talon_one/models/entity.rb +204 -0
  218. data/lib/talon_one/models/environment.rb +285 -0
  219. data/lib/talon_one/models/error_response.rb +201 -0
  220. data/lib/talon_one/models/error_source.rb +205 -0
  221. data/lib/talon_one/models/event.rb +332 -0
  222. data/lib/talon_one/models/event_type.rb +426 -0
  223. data/lib/talon_one/models/export.rb +299 -0
  224. data/lib/talon_one/models/feature_flag.rb +224 -0
  225. data/lib/talon_one/models/feature_flags.rb +220 -0
  226. data/lib/talon_one/models/features_feed.rb +193 -0
  227. data/lib/talon_one/models/func_arg_def.rb +243 -0
  228. data/lib/talon_one/models/function_def.rb +260 -0
  229. data/lib/talon_one/models/import.rb +318 -0
  230. data/lib/talon_one/models/import_coupons.rb +188 -0
  231. data/lib/talon_one/models/inline_response_200.rb +204 -0
  232. data/lib/talon_one/models/inline_response_200_1.rb +204 -0
  233. data/lib/talon_one/models/inline_response_200_10.rb +204 -0
  234. data/lib/talon_one/models/inline_response_200_11.rb +204 -0
  235. data/lib/talon_one/models/inline_response_200_12.rb +204 -0
  236. data/lib/talon_one/models/inline_response_200_13.rb +204 -0
  237. data/lib/talon_one/models/inline_response_200_14.rb +204 -0
  238. data/lib/talon_one/models/inline_response_200_15.rb +204 -0
  239. data/lib/talon_one/models/inline_response_200_16.rb +204 -0
  240. data/lib/talon_one/models/inline_response_200_17.rb +204 -0
  241. data/lib/talon_one/models/inline_response_200_18.rb +204 -0
  242. data/lib/talon_one/models/inline_response_200_19.rb +204 -0
  243. data/lib/talon_one/models/inline_response_200_2.rb +204 -0
  244. data/lib/talon_one/models/inline_response_200_20.rb +204 -0
  245. data/lib/talon_one/models/inline_response_200_21.rb +204 -0
  246. data/lib/talon_one/models/inline_response_200_22.rb +204 -0
  247. data/lib/talon_one/models/inline_response_200_23.rb +204 -0
  248. data/lib/talon_one/models/inline_response_200_24.rb +204 -0
  249. data/lib/talon_one/models/inline_response_200_25.rb +204 -0
  250. data/lib/talon_one/models/inline_response_200_26.rb +204 -0
  251. data/lib/talon_one/models/inline_response_200_27.rb +204 -0
  252. data/lib/talon_one/models/inline_response_200_28.rb +204 -0
  253. data/lib/talon_one/models/inline_response_200_3.rb +204 -0
  254. data/lib/talon_one/models/inline_response_200_4.rb +204 -0
  255. data/lib/talon_one/models/inline_response_200_5.rb +204 -0
  256. data/lib/talon_one/models/inline_response_200_6.rb +204 -0
  257. data/lib/talon_one/models/inline_response_200_7.rb +204 -0
  258. data/lib/talon_one/models/inline_response_200_8.rb +204 -0
  259. data/lib/talon_one/models/inline_response_200_9.rb +204 -0
  260. data/lib/talon_one/models/integration_entity.rb +204 -0
  261. data/lib/talon_one/models/integration_event.rb +234 -0
  262. data/lib/talon_one/models/integration_profile_entity.rb +184 -0
  263. data/lib/talon_one/models/integration_state.rb +226 -0
  264. data/lib/talon_one/models/ledger_entry.rb +320 -0
  265. data/lib/talon_one/models/library_attribute.rb +330 -0
  266. data/lib/talon_one/models/limit_config.rb +274 -0
  267. data/lib/talon_one/models/login_params.rb +205 -0
  268. data/lib/talon_one/models/loyalty.rb +192 -0
  269. data/lib/talon_one/models/loyalty_ledger.rb +202 -0
  270. data/lib/talon_one/models/loyalty_ledger_entry.rb +336 -0
  271. data/lib/talon_one/models/loyalty_membership.rb +199 -0
  272. data/lib/talon_one/models/loyalty_points.rb +220 -0
  273. data/lib/talon_one/models/loyalty_program.rb +297 -0
  274. data/lib/talon_one/models/loyalty_program_balance.rb +189 -0
  275. data/lib/talon_one/models/loyalty_program_ledgers.rb +232 -0
  276. data/lib/talon_one/models/loyalty_sub_ledger.rb +213 -0
  277. data/lib/talon_one/models/manager_config.rb +188 -0
  278. data/lib/talon_one/models/meta.rb +212 -0
  279. data/lib/talon_one/models/misc_update_user_latest_feature.rb +183 -0
  280. data/lib/talon_one/models/multi_application_entity.rb +191 -0
  281. data/lib/talon_one/models/mutable_entity.rb +189 -0
  282. data/lib/talon_one/models/new_account.rb +207 -0
  283. data/lib/talon_one/models/new_account_sign_up.rb +238 -0
  284. data/lib/talon_one/models/new_application.rb +404 -0
  285. data/lib/talon_one/models/new_application_api_key.rb +295 -0
  286. data/lib/talon_one/models/new_attribute.rb +337 -0
  287. data/lib/talon_one/models/new_campaign.rb +378 -0
  288. data/lib/talon_one/models/new_campaign_set.rb +204 -0
  289. data/lib/talon_one/models/new_coupons.rb +334 -0
  290. data/lib/talon_one/models/new_customer_profile.rb +184 -0
  291. data/lib/talon_one/models/new_customer_session.rb +295 -0
  292. data/lib/talon_one/models/new_event.rb +268 -0
  293. data/lib/talon_one/models/new_event_type.rb +396 -0
  294. data/lib/talon_one/models/new_feature_flags.rb +204 -0
  295. data/lib/talon_one/models/new_import.rb +224 -0
  296. data/lib/talon_one/models/new_invitation.rb +226 -0
  297. data/lib/talon_one/models/new_invite_email.rb +240 -0
  298. data/lib/talon_one/models/new_loyalty_program.rb +257 -0
  299. data/lib/talon_one/models/new_password.rb +222 -0
  300. data/lib/talon_one/models/new_password_email.rb +207 -0
  301. data/lib/talon_one/models/new_referral.rb +234 -0
  302. data/lib/talon_one/models/new_role.rb +232 -0
  303. data/lib/talon_one/models/new_ruleset.rb +228 -0
  304. data/lib/talon_one/models/new_template_def.rb +308 -0
  305. data/lib/talon_one/models/new_user.rb +248 -0
  306. data/lib/talon_one/models/new_webhook.rb +330 -0
  307. data/lib/talon_one/models/referral.rb +348 -0
  308. data/lib/talon_one/models/role.rb +247 -0
  309. data/lib/talon_one/models/role_assign.rb +209 -0
  310. data/lib/talon_one/models/role_membership.rb +204 -0
  311. data/lib/talon_one/models/rule.rb +245 -0
  312. data/lib/talon_one/models/ruleset.rb +299 -0
  313. data/lib/talon_one/models/session.rb +219 -0
  314. data/lib/talon_one/models/slot_def.rb +254 -0
  315. data/lib/talon_one/models/template_arg_def.rb +293 -0
  316. data/lib/talon_one/models/template_def.rb +398 -0
  317. data/lib/talon_one/models/update_account.rb +233 -0
  318. data/lib/talon_one/models/update_campaign.rb +373 -0
  319. data/lib/talon_one/models/update_coupon.rb +249 -0
  320. data/lib/talon_one/models/update_coupon_batch.rb +254 -0
  321. data/lib/talon_one/models/update_loyalty_program.rb +227 -0
  322. data/lib/talon_one/models/update_role.rb +216 -0
  323. data/lib/talon_one/models/update_user.rb +306 -0
  324. data/lib/talon_one/models/user.rb +381 -0
  325. data/lib/talon_one/models/user_entity.rb +189 -0
  326. data/lib/talon_one/models/webhook.rb +392 -0
  327. data/lib/talon_one/models/webhook_activation_log_entry.rb +250 -0
  328. data/lib/talon_one/models/webhook_log_entry.rb +305 -0
  329. data/lib/talon_one/version.rb +15 -0
  330. data/spec/api/integration_api_spec.rb +147 -0
  331. data/spec/api/management_api_spec.rb +1299 -0
  332. data/spec/api_client_spec.rb +226 -0
  333. data/spec/configuration_spec.rb +42 -0
  334. data/spec/models/access_log_entry_spec.rb +77 -0
  335. data/spec/models/account_analytics_spec.rb +119 -0
  336. data/spec/models/account_entity_spec.rb +41 -0
  337. data/spec/models/account_limits_spec.rb +101 -0
  338. data/spec/models/account_spec.rb +147 -0
  339. data/spec/models/api_error_spec.rb +53 -0
  340. data/spec/models/application_api_health_spec.rb +51 -0
  341. data/spec/models/application_api_key_spec.rb +77 -0
  342. data/spec/models/application_customer_entity_spec.rb +41 -0
  343. data/spec/models/application_customer_search_spec.rb +53 -0
  344. data/spec/models/application_customer_spec.rb +89 -0
  345. data/spec/models/application_entity_spec.rb +41 -0
  346. data/spec/models/application_event_spec.rb +83 -0
  347. data/spec/models/application_session_entity_spec.rb +41 -0
  348. data/spec/models/application_session_spec.rb +105 -0
  349. data/spec/models/application_spec.rb +117 -0
  350. data/spec/models/attribute_query_spec.rb +35 -0
  351. data/spec/models/attribute_spec.rb +121 -0
  352. data/spec/models/binding_spec.rb +47 -0
  353. data/spec/models/campaign_analytics_spec.rb +125 -0
  354. data/spec/models/campaign_copy_spec.rb +47 -0
  355. data/spec/models/campaign_entity_spec.rb +41 -0
  356. data/spec/models/campaign_search_spec.rb +41 -0
  357. data/spec/models/campaign_set_branch_node_spec.rb +67 -0
  358. data/spec/models/campaign_set_leaf_node_spec.rb +51 -0
  359. data/spec/models/campaign_set_node_spec.rb +41 -0
  360. data/spec/models/campaign_set_spec.rb +59 -0
  361. data/spec/models/campaign_spec.rb +181 -0
  362. data/spec/models/cart_item_adjustment_spec.rb +53 -0
  363. data/spec/models/cart_item_spec.rb +107 -0
  364. data/spec/models/change_spec.rb +71 -0
  365. data/spec/models/code_generator_settings_spec.rb +47 -0
  366. data/spec/models/coupon_constraints_spec.rb +53 -0
  367. data/spec/models/coupon_rejection_reason_spec.rb +57 -0
  368. data/spec/models/coupon_reservations_spec.rb +41 -0
  369. data/spec/models/coupon_search_spec.rb +41 -0
  370. data/spec/models/coupon_spec.rb +119 -0
  371. data/spec/models/coupon_value_spec.rb +41 -0
  372. data/spec/models/create_application_api_key_spec.rb +47 -0
  373. data/spec/models/customer_activity_report_spec.rb +113 -0
  374. data/spec/models/customer_analytics_spec.rb +77 -0
  375. data/spec/models/customer_profile_search_query_spec.rb +53 -0
  376. data/spec/models/customer_profile_spec.rb +83 -0
  377. data/spec/models/customer_session_spec.rb +117 -0
  378. data/spec/models/email_entity_spec.rb +41 -0
  379. data/spec/models/entity_spec.rb +47 -0
  380. data/spec/models/environment_spec.rb +77 -0
  381. data/spec/models/error_response_spec.rb +47 -0
  382. data/spec/models/error_source_spec.rb +53 -0
  383. data/spec/models/event_spec.rb +95 -0
  384. data/spec/models/event_type_spec.rb +115 -0
  385. data/spec/models/export_spec.rb +75 -0
  386. data/spec/models/feature_flag_spec.rb +59 -0
  387. data/spec/models/feature_flags_spec.rb +59 -0
  388. data/spec/models/features_feed_spec.rb +47 -0
  389. data/spec/models/func_arg_def_spec.rb +51 -0
  390. data/spec/models/function_def_spec.rb +65 -0
  391. data/spec/models/import_coupons_spec.rb +41 -0
  392. data/spec/models/import_spec.rb +75 -0
  393. data/spec/models/inline_response_200_10_spec.rb +47 -0
  394. data/spec/models/inline_response_200_11_spec.rb +47 -0
  395. data/spec/models/inline_response_200_12_spec.rb +47 -0
  396. data/spec/models/inline_response_200_13_spec.rb +47 -0
  397. data/spec/models/inline_response_200_14_spec.rb +47 -0
  398. data/spec/models/inline_response_200_15_spec.rb +47 -0
  399. data/spec/models/inline_response_200_16_spec.rb +47 -0
  400. data/spec/models/inline_response_200_17_spec.rb +47 -0
  401. data/spec/models/inline_response_200_18_spec.rb +47 -0
  402. data/spec/models/inline_response_200_19_spec.rb +47 -0
  403. data/spec/models/inline_response_200_1_spec.rb +47 -0
  404. data/spec/models/inline_response_200_20_spec.rb +47 -0
  405. data/spec/models/inline_response_200_21_spec.rb +47 -0
  406. data/spec/models/inline_response_200_22_spec.rb +47 -0
  407. data/spec/models/inline_response_200_23_spec.rb +47 -0
  408. data/spec/models/inline_response_200_24_spec.rb +47 -0
  409. data/spec/models/inline_response_200_25_spec.rb +47 -0
  410. data/spec/models/inline_response_200_26_spec.rb +47 -0
  411. data/spec/models/inline_response_200_27_spec.rb +47 -0
  412. data/spec/models/inline_response_200_28_spec.rb +47 -0
  413. data/spec/models/inline_response_200_2_spec.rb +47 -0
  414. data/spec/models/inline_response_200_3_spec.rb +47 -0
  415. data/spec/models/inline_response_200_4_spec.rb +47 -0
  416. data/spec/models/inline_response_200_5_spec.rb +47 -0
  417. data/spec/models/inline_response_200_6_spec.rb +47 -0
  418. data/spec/models/inline_response_200_7_spec.rb +47 -0
  419. data/spec/models/inline_response_200_8_spec.rb +47 -0
  420. data/spec/models/inline_response_200_9_spec.rb +47 -0
  421. data/spec/models/inline_response_200_spec.rb +47 -0
  422. data/spec/models/integration_entity_spec.rb +47 -0
  423. data/spec/models/integration_event_spec.rb +53 -0
  424. data/spec/models/integration_profile_entity_spec.rb +41 -0
  425. data/spec/models/integration_state_spec.rb +59 -0
  426. data/spec/models/ledger_entry_spec.rb +95 -0
  427. data/spec/models/library_attribute_spec.rb +85 -0
  428. data/spec/models/limit_config_spec.rb +61 -0
  429. data/spec/models/login_params_spec.rb +47 -0
  430. data/spec/models/loyalty_ledger_entry_spec.rb +99 -0
  431. data/spec/models/loyalty_ledger_spec.rb +47 -0
  432. data/spec/models/loyalty_membership_spec.rb +47 -0
  433. data/spec/models/loyalty_points_spec.rb +59 -0
  434. data/spec/models/loyalty_program_balance_spec.rb +41 -0
  435. data/spec/models/loyalty_program_ledgers_spec.rb +59 -0
  436. data/spec/models/loyalty_program_spec.rb +83 -0
  437. data/spec/models/loyalty_spec.rb +41 -0
  438. data/spec/models/loyalty_sub_ledger_spec.rb +53 -0
  439. data/spec/models/manager_config_spec.rb +41 -0
  440. data/spec/models/meta_spec.rb +59 -0
  441. data/spec/models/misc_update_user_latest_feature_spec.rb +41 -0
  442. data/spec/models/multi_application_entity_spec.rb +41 -0
  443. data/spec/models/mutable_entity_spec.rb +41 -0
  444. data/spec/models/new_account_sign_up_spec.rb +53 -0
  445. data/spec/models/new_account_spec.rb +41 -0
  446. data/spec/models/new_application_api_key_spec.rb +83 -0
  447. data/spec/models/new_application_spec.rb +87 -0
  448. data/spec/models/new_attribute_spec.rb +91 -0
  449. data/spec/models/new_campaign_set_spec.rb +47 -0
  450. data/spec/models/new_campaign_spec.rb +115 -0
  451. data/spec/models/new_coupons_spec.rb +89 -0
  452. data/spec/models/new_customer_profile_spec.rb +41 -0
  453. data/spec/models/new_customer_session_spec.rb +87 -0
  454. data/spec/models/new_event_spec.rb +59 -0
  455. data/spec/models/new_event_type_spec.rb +103 -0
  456. data/spec/models/new_feature_flags_spec.rb +53 -0
  457. data/spec/models/new_import_spec.rb +45 -0
  458. data/spec/models/new_invitation_spec.rb +59 -0
  459. data/spec/models/new_invite_email_spec.rb +47 -0
  460. data/spec/models/new_loyalty_program_spec.rb +71 -0
  461. data/spec/models/new_password_email_spec.rb +41 -0
  462. data/spec/models/new_password_spec.rb +47 -0
  463. data/spec/models/new_referral_spec.rb +65 -0
  464. data/spec/models/new_role_spec.rb +59 -0
  465. data/spec/models/new_ruleset_spec.rb +59 -0
  466. data/spec/models/new_template_def_spec.rb +77 -0
  467. data/spec/models/new_user_spec.rb +59 -0
  468. data/spec/models/new_webhook_spec.rb +87 -0
  469. data/spec/models/referral_spec.rb +95 -0
  470. data/spec/models/role_assign_spec.rb +47 -0
  471. data/spec/models/role_membership_spec.rb +47 -0
  472. data/spec/models/role_spec.rb +71 -0
  473. data/spec/models/rule_spec.rb +65 -0
  474. data/spec/models/ruleset_spec.rb +89 -0
  475. data/spec/models/session_spec.rb +53 -0
  476. data/spec/models/slot_def_spec.rb +71 -0
  477. data/spec/models/template_arg_def_spec.rb +63 -0
  478. data/spec/models/template_def_spec.rb +101 -0
  479. data/spec/models/update_account_spec.rb +53 -0
  480. data/spec/models/update_campaign_spec.rb +115 -0
  481. data/spec/models/update_coupon_batch_spec.rb +65 -0
  482. data/spec/models/update_coupon_spec.rb +65 -0
  483. data/spec/models/update_loyalty_program_spec.rb +65 -0
  484. data/spec/models/update_role_spec.rb +59 -0
  485. data/spec/models/update_user_spec.rb +93 -0
  486. data/spec/models/user_entity_spec.rb +41 -0
  487. data/spec/models/user_spec.rb +111 -0
  488. data/spec/models/webhook_activation_log_entry_spec.rb +65 -0
  489. data/spec/models/webhook_log_entry_spec.rb +95 -0
  490. data/spec/models/webhook_spec.rb +111 -0
  491. data/spec/spec_helper.rb +111 -0
  492. data/talon_one-1.0.0.gem +0 -0
  493. data/talon_one-1.1.0.gem +0 -0
  494. data/talon_one-1.1.1.gem +0 -0
  495. data/talon_one.gemspec +43 -15
  496. metadata +808 -32
  497. data/.gitignore +0 -3
  498. data/.travis.yml +0 -5
  499. data/lib/integration/client.rb +0 -89
  500. data/lib/integration/client_error.rb +0 -9
  501. data/lib/integration/customer_profile.rb +0 -21
  502. data/lib/integration/effect.rb +0 -24
  503. data/lib/integration/event.rb +0 -45
  504. data/lib/integration/referral_code.rb +0 -49
  505. data/lib/integration/rule_engine_result.rb +0 -23
  506. data/lib/integration/search_profiles_result.rb +0 -17
  507. data/lib/management/client.rb +0 -112
  508. data/test/test_helper.rb +0 -20
  509. data/test/test_integration_api_live.rb +0 -86
  510. data/test/test_integration_params.rb +0 -23
@@ -0,0 +1,8 @@
1
+ # TalonOne::ManagerConfig
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **schema_version** | **Integer** | |
7
+
8
+
@@ -0,0 +1,11 @@
1
+ # TalonOne::Meta
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **campaigns** | **Object** | Maps each evaluated campaign ID to a key-value list of that campaigns attributes. Campaigns without attributes will be omitted. | [optional]
7
+ **coupons** | **Object** | Maps the coupon value to a key-value list of that coupons attributes. | [optional]
8
+ **coupon_rejection_reason** | [**CouponRejectionReason**](CouponRejectionReason.md) | | [optional]
9
+ **warnings** | **Object** | | [optional]
10
+
11
+
@@ -0,0 +1,8 @@
1
+ # TalonOne::MiscUpdateUserLatestFeature
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **latest_feature** | **String** | | [optional]
7
+
8
+
@@ -0,0 +1,8 @@
1
+ # TalonOne::MultiApplicationEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **application_ids** | **Array<Integer>** | The IDs of the applications that are related to this entity. |
7
+
8
+
@@ -0,0 +1,8 @@
1
+ # TalonOne::MutableEntity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **modified** | **DateTime** | The exact moment this entity was last modified. |
7
+
8
+
@@ -0,0 +1,8 @@
1
+ # TalonOne::NewAccount
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **company_name** | **String** | |
7
+
8
+
@@ -0,0 +1,10 @@
1
+ # TalonOne::NewAccountSignUp
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **email** | **String** | The email address associated with your account. |
7
+ **password** | **String** | The password for your account. |
8
+ **company_name** | **String** | |
9
+
10
+
@@ -0,0 +1,15 @@
1
+ # TalonOne::NewApplication
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | The name of this application. |
7
+ **description** | **String** | A longer description of the application. | [optional]
8
+ **key** | **String** | Hex key for HMAC-signing API calls as coming from this application (16 hex digits) |
9
+ **timezone** | **String** | A string containing an IANA timezone descriptor. |
10
+ **currency** | **String** | A string describing a default currency for new customer sessions. |
11
+ **case_sensitivity** | **String** | A string indicating how should campaigns in this application deal with case sensitivity on coupon codes. | [optional]
12
+ **attributes** | **Object** | Arbitrary properties associated with this campaign | [optional]
13
+ **limits** | [**Array<LimitConfig>**](LimitConfig.md) | Default limits for campaigns created in this application | [optional]
14
+
15
+
@@ -0,0 +1,15 @@
1
+ # TalonOne::NewApplicationAPIKey
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | ID of the API Key |
7
+ **created_by** | **Integer** | ID of user who created |
8
+ **title** | **String** | Title for API Key |
9
+ **account_id** | **Integer** | ID of account the key is used for |
10
+ **application_id** | **Integer** | ID of application the key is used for |
11
+ **created** | **DateTime** | The date the API key was created |
12
+ **expires** | **DateTime** | The date the API key expired |
13
+ **key** | **String** | Raw API Key |
14
+
15
+
@@ -0,0 +1,15 @@
1
+ # TalonOne::NewAttribute
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **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. |
7
+ **event_type** | **String** | | [optional]
8
+ **name** | **String** | The attribute name that will be used in API requests and Talang. E.g. if `name == \"region\"` then you would set the region attribute by including an `attributes.region` property in your request payload. |
9
+ **title** | **String** | The human-readable name for the attribute that will be shown in the Campaign Manager. Like `name`, the combination of entity and title must also be unique. |
10
+ **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. |
11
+ **description** | **String** | A description of this attribute. |
12
+ **suggestions** | **Array<String>** | A list of suggestions for the attribute. |
13
+ **editable** | **BOOLEAN** | Whether or not this attribute can be edited. |
14
+
15
+
@@ -0,0 +1,19 @@
1
+ # TalonOne::NewCampaign
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | A friendly name for this campaign. |
7
+ **description** | **String** | A detailed description of the campaign. | [optional]
8
+ **start_time** | **DateTime** | Datetime when the campaign will become active. | [optional]
9
+ **end_time** | **DateTime** | Datetime when the campaign will become in-active. | [optional]
10
+ **attributes** | **Object** | Arbitrary properties associated with this campaign | [optional]
11
+ **state** | **String** | A disabled or archived campaign is not evaluated for rules or coupons. | [default to 'enabled']
12
+ **active_ruleset_id** | **Integer** | ID of Ruleset this campaign applies on customer session evaluation. | [optional]
13
+ **tags** | **Array<String>** | A list of tags for the campaign. |
14
+ **features** | **Array<String>** | A list of features for the campaign. |
15
+ **coupon_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
16
+ **referral_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
17
+ **limits** | [**Array<LimitConfig>**](LimitConfig.md) | The set of limits that will operate for this campaign |
18
+
19
+
@@ -0,0 +1,9 @@
1
+ # TalonOne::NewCampaignSet
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **application_id** | **Integer** | The ID of the application that owns this entity. |
7
+ **set** | [**CampaignSetBranchNode**](CampaignSetBranchNode.md) | |
8
+
9
+
@@ -0,0 +1,16 @@
1
+ # TalonOne::NewCoupons
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **usage_limit** | **Integer** | The number of times a coupon code can be redeemed. This can be set to 0 for no limit, but any campaign usage limits will still apply. |
7
+ **start_date** | **DateTime** | Timestamp at which point the coupon becomes valid. | [optional]
8
+ **expiry_date** | **DateTime** | Expiry date of the coupon. Coupon never expires if this is omitted, zero, or negative. | [optional]
9
+ **valid_characters** | **Array<String>** | Set of characters to be used when generating random part of code. Defaults to [A-Z, 0-9] (in terms of RegExp). |
10
+ **coupon_pattern** | **String** | The pattern that will be used to generate coupon codes. The character `#` acts as a placeholder and will be replaced by a random character from the `validCharacters` set. |
11
+ **number_of_coupons** | **Integer** | The number of new coupon codes to generate for the campaign. Must be at least 1. |
12
+ **unique_prefix** | **String** | A unique prefix to prepend to all generated coupons. | [optional]
13
+ **attributes** | **Object** | Arbitrary properties associated with this item | [optional]
14
+ **recipient_integration_id** | **String** | The integration ID for this coupon's beneficiary's profile | [optional]
15
+
16
+
@@ -0,0 +1,8 @@
1
+ # TalonOne::NewCustomerProfile
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **attributes** | **Object** | Arbitrary properties associated with this item | [optional]
7
+
8
+
@@ -0,0 +1,15 @@
1
+ # TalonOne::NewCustomerSession
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **profile_id** | **String** | ID of the customers profile as used within this Talon.One account. May be omitted or set to the empty string if the customer does not yet have a known profile ID. | [optional]
7
+ **coupon** | **String** | Any coupon code entered. | [optional]
8
+ **referral** | **String** | Any referral code entered. | [optional]
9
+ **state** | **String** | Indicates the current state of the session. All sessions must start in the \"open\" state, after which valid transitions are... 1. open -> closed 2. open -> cancelled 3. closed -> cancelled | [optional] [default to 'open']
10
+ **cart_items** | [**Array<CartItem>**](CartItem.md) | Serialized JSON representation. | [optional]
11
+ **identifiers** | **Array<String>** | Identifiers for the customer, this can be used for limits on values such as device ID. | [optional]
12
+ **total** | **Float** | The total sum of the cart in one session. | [optional]
13
+ **attributes** | **Object** | A key-value map of the sessions attributes. The potentially valid attributes are configured in your accounts developer settings. | [optional]
14
+
15
+
@@ -0,0 +1,11 @@
1
+ # TalonOne::NewEvent
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **profile_id** | **String** | ID of the customers profile as used within this Talon.One account. May be omitted or set to the empty string if the customer does not yet have a known profile ID. | [optional]
7
+ **type** | **String** | A string representing the event. Must not be a reserved event name. |
8
+ **attributes** | **Object** | Arbitrary additional JSON data associated with the event. |
9
+ **session_id** | **String** | The ID of the session that this event occurred in. |
10
+
11
+
@@ -0,0 +1,17 @@
1
+ # TalonOne::NewEventType
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **application_ids** | **Array<Integer>** | The IDs of the applications that are related to this entity. |
7
+ **title** | **String** | The human-friendly display name for this event type. Use a short, past-tense, description of the event. |
8
+ **name** | **String** | The machine-friendly canonical name for this event type. This will be used in URLs, and cannot be changed after an event type has been created. |
9
+ **description** | **String** | An explanation of when the event type is triggered. Write this with a campaign manager in mind. For example: > The \"Payment Accepted\" event is triggered after successful processing of a payment by our payment gateway. |
10
+ **mime_type** | **String** | This defines how the request payload will be parsed before your handler code is run. |
11
+ **example_payload** | **String** | It is often helpful to include an example payload with the event type definition for documentation purposes. | [optional]
12
+ **schema** | **Object** | It is strongly recommended to define a JSON schema that will be used to perform structural validation of request payloads after parsing. | [optional]
13
+ **handler_language** | **String** | The language of the handler code. Currently only `\"talang\"` is supported. | [optional]
14
+ **handler** | **String** | Code that will be run after successful parsing & validation of the payload for this event. This code _may_ choose to evaluate campaign rules. |
15
+ **version** | **Integer** | The version of this event type. When updating an existing event type this must be **exactly** `currentVersion + 1`. |
16
+
17
+
@@ -0,0 +1,10 @@
1
+ # TalonOne::NewFeatureFlags
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **loyalty** | **BOOLEAN** | Whether the account has access to the loyalty features or not | [optional]
7
+ **coupons_without_count** | **BOOLEAN** | Whether the account queries coupons with or without total result size | [optional]
8
+ **beta_effects** | **BOOLEAN** | Whether the account can test beta effects or not | [optional]
9
+
10
+
@@ -0,0 +1,8 @@
1
+ # TalonOne::NewImport
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **entity** | **String** | The name of the entity that was imported. |
7
+
8
+
@@ -0,0 +1,11 @@
1
+ # TalonOne::NewInvitation
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | Name of the user being invited. | [optional]
7
+ **email** | **String** | |
8
+ **acl** | **String** | a blob of acl json |
9
+ **roles** | **Array<Integer>** | An array of roleIDs to assign the new user to | [optional]
10
+
11
+
@@ -0,0 +1,9 @@
1
+ # TalonOne::NewInviteEmail
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **email** | **String** | |
7
+ **token** | **String** | |
8
+
9
+
@@ -0,0 +1,13 @@
1
+ # TalonOne::NewLoyaltyProgram
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | The internal name for the Loyalty Program. This is an immutable value. |
7
+ **title** | **String** | The display title for the Loyalty Program. |
8
+ **description** | **String** | Description of our Loyalty Program. | [optional]
9
+ **subscribed_applications** | **Array<Integer>** | A list containing the IDs of all applications that are subscribed to this Loyalty Program. | [optional]
10
+ **default_validity** | **String** | Indicates the default duration after which new loyalty points should expire. The format is a number, followed by one letter indicating the unit; like '1h' or '40m' or '30d'. |
11
+ **allow_subledger** | **BOOLEAN** | Indicates if this program supports subledgers inside the program |
12
+
13
+
@@ -0,0 +1,9 @@
1
+ # TalonOne::NewPassword
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **password** | **String** | The new password for your account. |
7
+ **reset_token** | **String** | |
8
+
9
+
@@ -0,0 +1,8 @@
1
+ # TalonOne::NewPasswordEmail
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **email** | **String** | |
7
+
8
+
@@ -0,0 +1,12 @@
1
+ # TalonOne::NewReferral
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **campaign_id** | **Integer** | ID of the campaign from which the referral received the referral code. |
7
+ **advocate_profile_integration_id** | **String** | The Integration Id of the Advocate's Profile |
8
+ **friend_profile_integration_id** | **String** | An optional Integration ID of the Friend's Profile | [optional]
9
+ **start_date** | **DateTime** | Timestamp at which point the referral code becomes valid. | [optional]
10
+ **expiry_date** | **DateTime** | Expiry date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional]
11
+
12
+
@@ -0,0 +1,11 @@
1
+ # TalonOne::NewRole
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | Name of the role |
7
+ **description** | **String** | Description of the role | [optional]
8
+ **acl** | **String** | Role Policy this should be a stringified blob of json |
9
+ **users** | **Array<Integer>** | An array of userIDs |
10
+
11
+
@@ -0,0 +1,11 @@
1
+ # TalonOne::NewRuleset
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **rules** | [**Array<Rule>**](Rule.md) | Set of rules to apply. |
7
+ **bindings** | [**Array<Binding>**](Binding.md) | An array that provides objects with variable names (name) and talang expressions to whose result they are bound (expression) during rule evaluation. The order of the evaluation is decided by the position in the array. |
8
+ **rb_version** | **String** | A string indicating which version of the rulebuilder was used to create this ruleset. | [optional]
9
+ **activate** | **BOOLEAN** | A boolean indicating whether this newly created ruleset should also be activated for the campaign owns it | [optional]
10
+
11
+
@@ -0,0 +1,14 @@
1
+ # TalonOne::NewTemplateDef
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **title** | **String** | Campaigner-friendly name for the template that will be shown in the rule editor. |
7
+ **description** | **String** | A short description of the template that will be shown in the rule editor. | [optional]
8
+ **help** | **String** | Extended help text for the template. | [optional]
9
+ **category** | **String** | Used for grouping templates in the rule editor sidebar. |
10
+ **expr** | **Array<Object>** | A Talang expression that contains variable bindings referring to args. |
11
+ **args** | [**Array<TemplateArgDef>**](TemplateArgDef.md) | An array of argument definitions. |
12
+ **expose** | **BOOLEAN** | A flag to control exposure in Rule Builder. | [optional] [default to false]
13
+
14
+
@@ -0,0 +1,11 @@
1
+ # TalonOne::NewUser
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **email** | **String** | The email address associated with your account. |
7
+ **password** | **String** | The password for your account. |
8
+ **name** | **String** | Your name. | [optional]
9
+ **invite_token** | **String** | |
10
+
11
+
@@ -0,0 +1,15 @@
1
+ # TalonOne::NewWebhook
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **application_ids** | **Array<Integer>** | The IDs of the applications that are related to this entity. |
7
+ **title** | **String** | Friendly title for this webhook |
8
+ **verb** | **String** | API method for this webhook |
9
+ **url** | **String** | API url (supports templating using parameters) for this webhook |
10
+ **headers** | **Array<String>** | List of API HTTP headers for this webhook |
11
+ **payload** | **String** | API payload (supports templating using parameters) for this webhook | [optional]
12
+ **params** | [**Array<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions |
13
+ **enabled** | **BOOLEAN** | Enables or disables webhook from showing in rule builder |
14
+
15
+
@@ -0,0 +1,17 @@
1
+ # TalonOne::Referral
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | Unique ID for this entity. |
7
+ **created** | **DateTime** | The exact moment this entity was created. |
8
+ **campaign_id** | **Integer** | ID of the campaign from which the referral received the referral code. |
9
+ **advocate_profile_integration_id** | **String** | The Integration Id of the Advocate's Profile |
10
+ **friend_profile_integration_id** | **String** | An optional Integration ID of the Friend's Profile | [optional]
11
+ **start_date** | **DateTime** | Timestamp at which point the referral code becomes valid. | [optional]
12
+ **expiry_date** | **DateTime** | Expiry date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional]
13
+ **code** | **String** | The actual referral code. |
14
+ **usage_counter** | **Integer** | The number of times this referral code has been successfully used. |
15
+ **usage_limit** | **Integer** | The number of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. |
16
+
17
+
@@ -0,0 +1,13 @@
1
+ # TalonOne::Role
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | The ID of the role corresponding to the DB row |
7
+ **account_id** | **Integer** | The ID of the Talon.One account that owns this role. |
8
+ **name** | **String** | Name of the role | [optional]
9
+ **description** | **String** | Description of the role | [optional]
10
+ **members** | **Array<Integer>** | A list of userid in this role | [optional]
11
+ **acl** | **String** | Role Policy this should be a stringified blob of json | [optional]
12
+
13
+
@@ -0,0 +1,9 @@
1
+ # TalonOne::RoleAssign
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **users** | **Array<Integer>** | An array of userIDs |
7
+ **roles** | **Array<Integer>** | An array of roleIDs |
8
+
9
+
@@ -0,0 +1,9 @@
1
+ # TalonOne::RoleMembership
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **role_id** | **Integer** | ID of role |
7
+ **user_id** | **Integer** | ID of User |
8
+
9
+