talon_one 0.1.3 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (531) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +6 -0
  3. data/Gemfile +4 -0
  4. data/README.md +399 -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 +19 -0
  21. data/docs/ApplicationSessionEntity.md +8 -0
  22. data/docs/Attribute.md +18 -0
  23. data/docs/AttributeQuery.md +7 -0
  24. data/docs/Binding.md +9 -0
  25. data/docs/Campaign.md +32 -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 +11 -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 +10 -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 +12 -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 +5077 -0
  113. data/docs/ManagerConfig.md +8 -0
  114. data/docs/Meta.md +12 -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/NewSamlConnection.md +15 -0
  141. data/docs/NewTemplateDef.md +14 -0
  142. data/docs/NewUser.md +11 -0
  143. data/docs/NewWebhook.md +15 -0
  144. data/docs/Notification.md +10 -0
  145. data/docs/Notifications.md +7 -0
  146. data/docs/Referral.md +17 -0
  147. data/docs/ReferralRejectionReason.md +10 -0
  148. data/docs/Role.md +13 -0
  149. data/docs/RoleAssign.md +9 -0
  150. data/docs/RoleMembership.md +9 -0
  151. data/docs/Rule.md +12 -0
  152. data/docs/Ruleset.md +16 -0
  153. data/docs/SamlConnection.md +19 -0
  154. data/docs/Session.md +10 -0
  155. data/docs/SlotDef.md +13 -0
  156. data/docs/TemplateArgDef.md +11 -0
  157. data/docs/TemplateDef.md +18 -0
  158. data/docs/UpdateAccount.md +10 -0
  159. data/docs/UpdateApplication.md +14 -0
  160. data/docs/UpdateCampaign.md +19 -0
  161. data/docs/UpdateCoupon.md +12 -0
  162. data/docs/UpdateCouponBatch.md +12 -0
  163. data/docs/UpdateLoyaltyProgram.md +12 -0
  164. data/docs/UpdateRole.md +11 -0
  165. data/docs/UpdateUser.md +17 -0
  166. data/docs/User.md +21 -0
  167. data/docs/UserEntity.md +8 -0
  168. data/docs/Webhook.md +18 -0
  169. data/docs/WebhookActivationLogEntry.md +12 -0
  170. data/docs/WebhookLogEntry.md +17 -0
  171. data/git_push.sh +55 -0
  172. data/lib/talon_one.rb +201 -4
  173. data/lib/talon_one/api/integration_api.rb +531 -0
  174. data/lib/talon_one/api/management_api.rb +5535 -0
  175. data/lib/talon_one/api_client.rb +389 -0
  176. data/lib/talon_one/api_error.rb +38 -0
  177. data/lib/talon_one/configuration.rb +223 -0
  178. data/lib/talon_one/models/access_log_entry.rb +280 -0
  179. data/lib/talon_one/models/account.rb +462 -0
  180. data/lib/talon_one/models/account_analytics.rb +384 -0
  181. data/lib/talon_one/models/account_entity.rb +189 -0
  182. data/lib/talon_one/models/account_limits.rb +341 -0
  183. data/lib/talon_one/models/api_error.rb +213 -0
  184. data/lib/talon_one/models/application.rb +482 -0
  185. data/lib/talon_one/models/application_api_health.rb +239 -0
  186. data/lib/talon_one/models/application_api_key.rb +279 -0
  187. data/lib/talon_one/models/application_customer.rb +307 -0
  188. data/lib/talon_one/models/application_customer_entity.rb +184 -0
  189. data/lib/talon_one/models/application_customer_search.rb +206 -0
  190. data/lib/talon_one/models/application_entity.rb +189 -0
  191. data/lib/talon_one/models/application_event.rb +287 -0
  192. data/lib/talon_one/models/application_session.rb +378 -0
  193. data/lib/talon_one/models/application_session_entity.rb +189 -0
  194. data/lib/talon_one/models/attribute.rb +382 -0
  195. data/lib/talon_one/models/attribute_query.rb +174 -0
  196. data/lib/talon_one/models/binding.rb +206 -0
  197. data/lib/talon_one/models/campaign.rb +534 -0
  198. data/lib/talon_one/models/campaign_analytics.rb +399 -0
  199. data/lib/talon_one/models/campaign_copy.rb +201 -0
  200. data/lib/talon_one/models/campaign_entity.rb +189 -0
  201. data/lib/talon_one/models/campaign_search.rb +189 -0
  202. data/lib/talon_one/models/campaign_set.rb +234 -0
  203. data/lib/talon_one/models/campaign_set_branch_node.rb +282 -0
  204. data/lib/talon_one/models/campaign_set_leaf_node.rb +238 -0
  205. data/lib/talon_one/models/campaign_set_node.rb +188 -0
  206. data/lib/talon_one/models/cart_item.rb +365 -0
  207. data/lib/talon_one/models/cart_item_adjustment.rb +248 -0
  208. data/lib/talon_one/models/change.rb +255 -0
  209. data/lib/talon_one/models/code_generator_settings.rb +225 -0
  210. data/lib/talon_one/models/coupon.rb +392 -0
  211. data/lib/talon_one/models/coupon_constraints.rb +228 -0
  212. data/lib/talon_one/models/coupon_rejection_reason.rb +251 -0
  213. data/lib/talon_one/models/coupon_reservations.rb +191 -0
  214. data/lib/talon_one/models/coupon_search.rb +189 -0
  215. data/lib/talon_one/models/coupon_value.rb +199 -0
  216. data/lib/talon_one/models/create_application_api_key.rb +204 -0
  217. data/lib/talon_one/models/customer_activity_report.rb +365 -0
  218. data/lib/talon_one/models/customer_analytics.rb +280 -0
  219. data/lib/talon_one/models/customer_profile.rb +292 -0
  220. data/lib/talon_one/models/customer_profile_search_query.rb +206 -0
  221. data/lib/talon_one/models/customer_session.rb +407 -0
  222. data/lib/talon_one/models/email_entity.rb +189 -0
  223. data/lib/talon_one/models/entity.rb +204 -0
  224. data/lib/talon_one/models/environment.rb +285 -0
  225. data/lib/talon_one/models/error_response.rb +201 -0
  226. data/lib/talon_one/models/error_source.rb +215 -0
  227. data/lib/talon_one/models/event.rb +332 -0
  228. data/lib/talon_one/models/event_type.rb +426 -0
  229. data/lib/talon_one/models/export.rb +299 -0
  230. data/lib/talon_one/models/feature_flag.rb +224 -0
  231. data/lib/talon_one/models/feature_flags.rb +220 -0
  232. data/lib/talon_one/models/features_feed.rb +193 -0
  233. data/lib/talon_one/models/func_arg_def.rb +243 -0
  234. data/lib/talon_one/models/function_def.rb +260 -0
  235. data/lib/talon_one/models/import.rb +318 -0
  236. data/lib/talon_one/models/import_coupons.rb +188 -0
  237. data/lib/talon_one/models/inline_response_200.rb +204 -0
  238. data/lib/talon_one/models/inline_response_200_1.rb +204 -0
  239. data/lib/talon_one/models/inline_response_200_10.rb +204 -0
  240. data/lib/talon_one/models/inline_response_200_11.rb +204 -0
  241. data/lib/talon_one/models/inline_response_200_12.rb +204 -0
  242. data/lib/talon_one/models/inline_response_200_13.rb +204 -0
  243. data/lib/talon_one/models/inline_response_200_14.rb +204 -0
  244. data/lib/talon_one/models/inline_response_200_15.rb +204 -0
  245. data/lib/talon_one/models/inline_response_200_16.rb +204 -0
  246. data/lib/talon_one/models/inline_response_200_17.rb +204 -0
  247. data/lib/talon_one/models/inline_response_200_18.rb +204 -0
  248. data/lib/talon_one/models/inline_response_200_19.rb +204 -0
  249. data/lib/talon_one/models/inline_response_200_2.rb +204 -0
  250. data/lib/talon_one/models/inline_response_200_20.rb +204 -0
  251. data/lib/talon_one/models/inline_response_200_21.rb +204 -0
  252. data/lib/talon_one/models/inline_response_200_22.rb +204 -0
  253. data/lib/talon_one/models/inline_response_200_23.rb +204 -0
  254. data/lib/talon_one/models/inline_response_200_24.rb +204 -0
  255. data/lib/talon_one/models/inline_response_200_25.rb +208 -0
  256. data/lib/talon_one/models/inline_response_200_26.rb +204 -0
  257. data/lib/talon_one/models/inline_response_200_27.rb +204 -0
  258. data/lib/talon_one/models/inline_response_200_28.rb +204 -0
  259. data/lib/talon_one/models/inline_response_200_3.rb +204 -0
  260. data/lib/talon_one/models/inline_response_200_4.rb +204 -0
  261. data/lib/talon_one/models/inline_response_200_5.rb +204 -0
  262. data/lib/talon_one/models/inline_response_200_6.rb +204 -0
  263. data/lib/talon_one/models/inline_response_200_7.rb +204 -0
  264. data/lib/talon_one/models/inline_response_200_8.rb +204 -0
  265. data/lib/talon_one/models/inline_response_200_9.rb +204 -0
  266. data/lib/talon_one/models/integration_entity.rb +204 -0
  267. data/lib/talon_one/models/integration_event.rb +234 -0
  268. data/lib/talon_one/models/integration_profile_entity.rb +184 -0
  269. data/lib/talon_one/models/integration_state.rb +235 -0
  270. data/lib/talon_one/models/ledger_entry.rb +320 -0
  271. data/lib/talon_one/models/library_attribute.rb +330 -0
  272. data/lib/talon_one/models/limit_config.rb +274 -0
  273. data/lib/talon_one/models/login_params.rb +205 -0
  274. data/lib/talon_one/models/loyalty.rb +192 -0
  275. data/lib/talon_one/models/loyalty_ledger.rb +202 -0
  276. data/lib/talon_one/models/loyalty_ledger_entry.rb +336 -0
  277. data/lib/talon_one/models/loyalty_membership.rb +199 -0
  278. data/lib/talon_one/models/loyalty_points.rb +220 -0
  279. data/lib/talon_one/models/loyalty_program.rb +297 -0
  280. data/lib/talon_one/models/loyalty_program_balance.rb +189 -0
  281. data/lib/talon_one/models/loyalty_program_ledgers.rb +232 -0
  282. data/lib/talon_one/models/loyalty_sub_ledger.rb +213 -0
  283. data/lib/talon_one/models/manager_config.rb +188 -0
  284. data/lib/talon_one/models/meta.rb +221 -0
  285. data/lib/talon_one/models/misc_update_user_latest_feature.rb +183 -0
  286. data/lib/talon_one/models/multi_application_entity.rb +191 -0
  287. data/lib/talon_one/models/mutable_entity.rb +189 -0
  288. data/lib/talon_one/models/new_account.rb +207 -0
  289. data/lib/talon_one/models/new_account_sign_up.rb +238 -0
  290. data/lib/talon_one/models/new_application.rb +396 -0
  291. data/lib/talon_one/models/new_application_api_key.rb +295 -0
  292. data/lib/talon_one/models/new_attribute.rb +337 -0
  293. data/lib/talon_one/models/new_campaign.rb +378 -0
  294. data/lib/talon_one/models/new_campaign_set.rb +204 -0
  295. data/lib/talon_one/models/new_coupons.rb +334 -0
  296. data/lib/talon_one/models/new_customer_profile.rb +184 -0
  297. data/lib/talon_one/models/new_customer_session.rb +295 -0
  298. data/lib/talon_one/models/new_event.rb +268 -0
  299. data/lib/talon_one/models/new_event_type.rb +396 -0
  300. data/lib/talon_one/models/new_feature_flags.rb +204 -0
  301. data/lib/talon_one/models/new_import.rb +224 -0
  302. data/lib/talon_one/models/new_invitation.rb +226 -0
  303. data/lib/talon_one/models/new_invite_email.rb +240 -0
  304. data/lib/talon_one/models/new_loyalty_program.rb +257 -0
  305. data/lib/talon_one/models/new_password.rb +222 -0
  306. data/lib/talon_one/models/new_password_email.rb +207 -0
  307. data/lib/talon_one/models/new_referral.rb +234 -0
  308. data/lib/talon_one/models/new_role.rb +232 -0
  309. data/lib/talon_one/models/new_ruleset.rb +228 -0
  310. data/lib/talon_one/models/new_saml_connection.rb +356 -0
  311. data/lib/talon_one/models/new_template_def.rb +308 -0
  312. data/lib/talon_one/models/new_user.rb +248 -0
  313. data/lib/talon_one/models/new_webhook.rb +330 -0
  314. data/lib/talon_one/models/notification.rb +219 -0
  315. data/lib/talon_one/models/notifications.rb +174 -0
  316. data/lib/talon_one/models/referral.rb +348 -0
  317. data/lib/talon_one/models/referral_rejection_reason.rb +251 -0
  318. data/lib/talon_one/models/role.rb +247 -0
  319. data/lib/talon_one/models/role_assign.rb +209 -0
  320. data/lib/talon_one/models/role_membership.rb +204 -0
  321. data/lib/talon_one/models/rule.rb +245 -0
  322. data/lib/talon_one/models/ruleset.rb +299 -0
  323. data/lib/talon_one/models/saml_connection.rb +420 -0
  324. data/lib/talon_one/models/session.rb +219 -0
  325. data/lib/talon_one/models/slot_def.rb +254 -0
  326. data/lib/talon_one/models/template_arg_def.rb +293 -0
  327. data/lib/talon_one/models/template_def.rb +398 -0
  328. data/lib/talon_one/models/update_account.rb +233 -0
  329. data/lib/talon_one/models/update_application.rb +352 -0
  330. data/lib/talon_one/models/update_campaign.rb +373 -0
  331. data/lib/talon_one/models/update_coupon.rb +249 -0
  332. data/lib/talon_one/models/update_coupon_batch.rb +254 -0
  333. data/lib/talon_one/models/update_loyalty_program.rb +227 -0
  334. data/lib/talon_one/models/update_role.rb +216 -0
  335. data/lib/talon_one/models/update_user.rb +315 -0
  336. data/lib/talon_one/models/user.rb +400 -0
  337. data/lib/talon_one/models/user_entity.rb +189 -0
  338. data/lib/talon_one/models/webhook.rb +375 -0
  339. data/lib/talon_one/models/webhook_activation_log_entry.rb +250 -0
  340. data/lib/talon_one/models/webhook_log_entry.rb +305 -0
  341. data/lib/talon_one/version.rb +15 -0
  342. data/spec/api/integration_api_spec.rb +147 -0
  343. data/spec/api/management_api_spec.rb +1304 -0
  344. data/spec/api_client_spec.rb +226 -0
  345. data/spec/configuration_spec.rb +42 -0
  346. data/spec/models/access_log_entry_spec.rb +77 -0
  347. data/spec/models/account_analytics_spec.rb +119 -0
  348. data/spec/models/account_entity_spec.rb +41 -0
  349. data/spec/models/account_limits_spec.rb +101 -0
  350. data/spec/models/account_spec.rb +147 -0
  351. data/spec/models/api_error_spec.rb +53 -0
  352. data/spec/models/application_api_health_spec.rb +51 -0
  353. data/spec/models/application_api_key_spec.rb +77 -0
  354. data/spec/models/application_customer_entity_spec.rb +41 -0
  355. data/spec/models/application_customer_search_spec.rb +53 -0
  356. data/spec/models/application_customer_spec.rb +89 -0
  357. data/spec/models/application_entity_spec.rb +41 -0
  358. data/spec/models/application_event_spec.rb +83 -0
  359. data/spec/models/application_session_entity_spec.rb +41 -0
  360. data/spec/models/application_session_spec.rb +111 -0
  361. data/spec/models/application_spec.rb +117 -0
  362. data/spec/models/attribute_query_spec.rb +35 -0
  363. data/spec/models/attribute_spec.rb +109 -0
  364. data/spec/models/binding_spec.rb +47 -0
  365. data/spec/models/campaign_analytics_spec.rb +125 -0
  366. data/spec/models/campaign_copy_spec.rb +47 -0
  367. data/spec/models/campaign_entity_spec.rb +41 -0
  368. data/spec/models/campaign_search_spec.rb +41 -0
  369. data/spec/models/campaign_set_branch_node_spec.rb +67 -0
  370. data/spec/models/campaign_set_leaf_node_spec.rb +51 -0
  371. data/spec/models/campaign_set_node_spec.rb +41 -0
  372. data/spec/models/campaign_set_spec.rb +59 -0
  373. data/spec/models/campaign_spec.rb +193 -0
  374. data/spec/models/cart_item_adjustment_spec.rb +53 -0
  375. data/spec/models/cart_item_spec.rb +107 -0
  376. data/spec/models/change_spec.rb +71 -0
  377. data/spec/models/code_generator_settings_spec.rb +47 -0
  378. data/spec/models/coupon_constraints_spec.rb +53 -0
  379. data/spec/models/coupon_rejection_reason_spec.rb +57 -0
  380. data/spec/models/coupon_reservations_spec.rb +41 -0
  381. data/spec/models/coupon_search_spec.rb +41 -0
  382. data/spec/models/coupon_spec.rb +119 -0
  383. data/spec/models/coupon_value_spec.rb +41 -0
  384. data/spec/models/create_application_api_key_spec.rb +47 -0
  385. data/spec/models/customer_activity_report_spec.rb +113 -0
  386. data/spec/models/customer_analytics_spec.rb +77 -0
  387. data/spec/models/customer_profile_search_query_spec.rb +53 -0
  388. data/spec/models/customer_profile_spec.rb +83 -0
  389. data/spec/models/customer_session_spec.rb +117 -0
  390. data/spec/models/email_entity_spec.rb +41 -0
  391. data/spec/models/entity_spec.rb +47 -0
  392. data/spec/models/environment_spec.rb +77 -0
  393. data/spec/models/error_response_spec.rb +47 -0
  394. data/spec/models/error_source_spec.rb +59 -0
  395. data/spec/models/event_spec.rb +95 -0
  396. data/spec/models/event_type_spec.rb +115 -0
  397. data/spec/models/export_spec.rb +75 -0
  398. data/spec/models/feature_flag_spec.rb +59 -0
  399. data/spec/models/feature_flags_spec.rb +59 -0
  400. data/spec/models/features_feed_spec.rb +47 -0
  401. data/spec/models/func_arg_def_spec.rb +51 -0
  402. data/spec/models/function_def_spec.rb +65 -0
  403. data/spec/models/import_coupons_spec.rb +41 -0
  404. data/spec/models/import_spec.rb +75 -0
  405. data/spec/models/inline_response_200_10_spec.rb +47 -0
  406. data/spec/models/inline_response_200_11_spec.rb +47 -0
  407. data/spec/models/inline_response_200_12_spec.rb +47 -0
  408. data/spec/models/inline_response_200_13_spec.rb +47 -0
  409. data/spec/models/inline_response_200_14_spec.rb +47 -0
  410. data/spec/models/inline_response_200_15_spec.rb +47 -0
  411. data/spec/models/inline_response_200_16_spec.rb +47 -0
  412. data/spec/models/inline_response_200_17_spec.rb +47 -0
  413. data/spec/models/inline_response_200_18_spec.rb +47 -0
  414. data/spec/models/inline_response_200_19_spec.rb +47 -0
  415. data/spec/models/inline_response_200_1_spec.rb +47 -0
  416. data/spec/models/inline_response_200_20_spec.rb +47 -0
  417. data/spec/models/inline_response_200_21_spec.rb +47 -0
  418. data/spec/models/inline_response_200_22_spec.rb +47 -0
  419. data/spec/models/inline_response_200_23_spec.rb +47 -0
  420. data/spec/models/inline_response_200_24_spec.rb +47 -0
  421. data/spec/models/inline_response_200_25_spec.rb +53 -0
  422. data/spec/models/inline_response_200_26_spec.rb +47 -0
  423. data/spec/models/inline_response_200_27_spec.rb +47 -0
  424. data/spec/models/inline_response_200_28_spec.rb +47 -0
  425. data/spec/models/inline_response_200_2_spec.rb +47 -0
  426. data/spec/models/inline_response_200_3_spec.rb +47 -0
  427. data/spec/models/inline_response_200_4_spec.rb +47 -0
  428. data/spec/models/inline_response_200_5_spec.rb +47 -0
  429. data/spec/models/inline_response_200_6_spec.rb +47 -0
  430. data/spec/models/inline_response_200_7_spec.rb +47 -0
  431. data/spec/models/inline_response_200_8_spec.rb +47 -0
  432. data/spec/models/inline_response_200_9_spec.rb +47 -0
  433. data/spec/models/inline_response_200_spec.rb +47 -0
  434. data/spec/models/integration_entity_spec.rb +47 -0
  435. data/spec/models/integration_event_spec.rb +53 -0
  436. data/spec/models/integration_profile_entity_spec.rb +41 -0
  437. data/spec/models/integration_state_spec.rb +65 -0
  438. data/spec/models/ledger_entry_spec.rb +95 -0
  439. data/spec/models/library_attribute_spec.rb +85 -0
  440. data/spec/models/limit_config_spec.rb +61 -0
  441. data/spec/models/login_params_spec.rb +47 -0
  442. data/spec/models/loyalty_ledger_entry_spec.rb +99 -0
  443. data/spec/models/loyalty_ledger_spec.rb +47 -0
  444. data/spec/models/loyalty_membership_spec.rb +47 -0
  445. data/spec/models/loyalty_points_spec.rb +59 -0
  446. data/spec/models/loyalty_program_balance_spec.rb +41 -0
  447. data/spec/models/loyalty_program_ledgers_spec.rb +59 -0
  448. data/spec/models/loyalty_program_spec.rb +83 -0
  449. data/spec/models/loyalty_spec.rb +41 -0
  450. data/spec/models/loyalty_sub_ledger_spec.rb +53 -0
  451. data/spec/models/manager_config_spec.rb +41 -0
  452. data/spec/models/meta_spec.rb +65 -0
  453. data/spec/models/misc_update_user_latest_feature_spec.rb +41 -0
  454. data/spec/models/multi_application_entity_spec.rb +41 -0
  455. data/spec/models/mutable_entity_spec.rb +41 -0
  456. data/spec/models/new_account_sign_up_spec.rb +53 -0
  457. data/spec/models/new_account_spec.rb +41 -0
  458. data/spec/models/new_application_api_key_spec.rb +83 -0
  459. data/spec/models/new_application_spec.rb +87 -0
  460. data/spec/models/new_attribute_spec.rb +91 -0
  461. data/spec/models/new_campaign_set_spec.rb +47 -0
  462. data/spec/models/new_campaign_spec.rb +115 -0
  463. data/spec/models/new_coupons_spec.rb +89 -0
  464. data/spec/models/new_customer_profile_spec.rb +41 -0
  465. data/spec/models/new_customer_session_spec.rb +87 -0
  466. data/spec/models/new_event_spec.rb +59 -0
  467. data/spec/models/new_event_type_spec.rb +103 -0
  468. data/spec/models/new_feature_flags_spec.rb +53 -0
  469. data/spec/models/new_import_spec.rb +45 -0
  470. data/spec/models/new_invitation_spec.rb +59 -0
  471. data/spec/models/new_invite_email_spec.rb +47 -0
  472. data/spec/models/new_loyalty_program_spec.rb +71 -0
  473. data/spec/models/new_password_email_spec.rb +41 -0
  474. data/spec/models/new_password_spec.rb +47 -0
  475. data/spec/models/new_referral_spec.rb +65 -0
  476. data/spec/models/new_role_spec.rb +59 -0
  477. data/spec/models/new_ruleset_spec.rb +59 -0
  478. data/spec/models/new_saml_connection_spec.rb +83 -0
  479. data/spec/models/new_template_def_spec.rb +77 -0
  480. data/spec/models/new_user_spec.rb +59 -0
  481. data/spec/models/new_webhook_spec.rb +87 -0
  482. data/spec/models/notification_spec.rb +53 -0
  483. data/spec/models/notifications_spec.rb +35 -0
  484. data/spec/models/referral_rejection_reason_spec.rb +57 -0
  485. data/spec/models/referral_spec.rb +95 -0
  486. data/spec/models/role_assign_spec.rb +47 -0
  487. data/spec/models/role_membership_spec.rb +47 -0
  488. data/spec/models/role_spec.rb +71 -0
  489. data/spec/models/rule_spec.rb +65 -0
  490. data/spec/models/ruleset_spec.rb +89 -0
  491. data/spec/models/saml_connection_spec.rb +107 -0
  492. data/spec/models/session_spec.rb +53 -0
  493. data/spec/models/slot_def_spec.rb +71 -0
  494. data/spec/models/template_arg_def_spec.rb +63 -0
  495. data/spec/models/template_def_spec.rb +101 -0
  496. data/spec/models/update_account_spec.rb +53 -0
  497. data/spec/models/update_application_spec.rb +81 -0
  498. data/spec/models/update_campaign_spec.rb +115 -0
  499. data/spec/models/update_coupon_batch_spec.rb +65 -0
  500. data/spec/models/update_coupon_spec.rb +65 -0
  501. data/spec/models/update_loyalty_program_spec.rb +65 -0
  502. data/spec/models/update_role_spec.rb +59 -0
  503. data/spec/models/update_user_spec.rb +99 -0
  504. data/spec/models/user_entity_spec.rb +41 -0
  505. data/spec/models/user_spec.rb +123 -0
  506. data/spec/models/webhook_activation_log_entry_spec.rb +65 -0
  507. data/spec/models/webhook_log_entry_spec.rb +95 -0
  508. data/spec/models/webhook_spec.rb +105 -0
  509. data/spec/spec_helper.rb +111 -0
  510. data/talon_one-1.0.0.gem +0 -0
  511. data/talon_one-1.1.0.gem +0 -0
  512. data/talon_one-1.1.1.gem +0 -0
  513. data/talon_one-1.1.2.gem +0 -0
  514. data/talon_one-1.2.0.gem +0 -0
  515. data/talon_one.gemspec +43 -15
  516. metadata +834 -33
  517. data/.gitignore +0 -4
  518. data/.travis.yml +0 -5
  519. data/lib/integration/client.rb +0 -95
  520. data/lib/integration/client_error.rb +0 -9
  521. data/lib/integration/customer_profile.rb +0 -21
  522. data/lib/integration/effect.rb +0 -24
  523. data/lib/integration/event.rb +0 -50
  524. data/lib/integration/meta_data.rb +0 -18
  525. data/lib/integration/referral_code.rb +0 -49
  526. data/lib/integration/rule_engine_result.rb +0 -23
  527. data/lib/integration/search_profiles_result.rb +0 -17
  528. data/lib/management/client.rb +0 -116
  529. data/test/test_helper.rb +0 -20
  530. data/test/test_integration_api_live.rb +0 -94
  531. data/test/test_integration_params.rb +0 -23
@@ -0,0 +1,1304 @@
1
+ =begin
2
+ #Talon.One API
3
+
4
+ #The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. ### Where is the API? The API is available at the same hostname as these docs. For example, if you are reading this page at `https://mycompany.talon.one/docs/api/`, the URL for the [updateCustomerProfile][] operation is `https://mycompany.talon.one/v1/customer_profiles/id` [updateCustomerProfile]: #operation--v1-customer_profiles--integrationId--put
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.7
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for TalonOne::ManagementApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'ManagementApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = TalonOne::ManagementApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ManagementApi' do
30
+ it 'should create an instance of ManagementApi' do
31
+ expect(@instance).to be_instance_of(TalonOne::ManagementApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for add_loyalty_points
36
+ # Add points in a certain loyalty program for the specified customer
37
+ #
38
+ # @param program_id
39
+ # @param integration_id
40
+ # @param body
41
+ # @param [Hash] opts the optional parameters
42
+ # @return [nil]
43
+ describe 'add_loyalty_points test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
49
+ # unit tests for copy_campaign_to_applications
50
+ # Copy the campaign into every specified application
51
+ # Copy the campaign into every specified application.
52
+ # @param application_id
53
+ # @param campaign_id
54
+ # @param body
55
+ # @param [Hash] opts the optional parameters
56
+ # @return [InlineResponse2003]
57
+ describe 'copy_campaign_to_applications test' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
63
+ # unit tests for create_campaign
64
+ # Create a Campaign
65
+ #
66
+ # @param application_id
67
+ # @param body
68
+ # @param [Hash] opts the optional parameters
69
+ # @return [Campaign]
70
+ describe 'create_campaign test' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ # unit tests for create_coupons
77
+ # Create Coupons
78
+ # Create coupons according to some pattern. Up to 20.000 coupons can be created without a unique prefix. When a unique prefix is provided, up to 200.000 coupns can be created.
79
+ # @param application_id
80
+ # @param campaign_id
81
+ # @param body
82
+ # @param [Hash] opts the optional parameters
83
+ # @option opts [String] :silent If set to 'yes', response will be an empty 204, otherwise a list of the coupons generated (to to 1000).
84
+ # @return [InlineResponse2001]
85
+ describe 'create_coupons test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ end
89
+ end
90
+
91
+ # unit tests for create_password_recovery_email
92
+ # Request a password reset
93
+ # Sends an email with a password recovery link to the email of an existing account.
94
+ # @param body
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [NewPasswordEmail]
97
+ describe 'create_password_recovery_email test' do
98
+ it 'should work' do
99
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
100
+ end
101
+ end
102
+
103
+ # unit tests for create_ruleset
104
+ # Create a Ruleset
105
+ #
106
+ # @param application_id
107
+ # @param campaign_id
108
+ # @param body
109
+ # @param [Hash] opts the optional parameters
110
+ # @return [Ruleset]
111
+ describe 'create_ruleset test' do
112
+ it 'should work' do
113
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
114
+ end
115
+ end
116
+
117
+ # unit tests for create_session
118
+ # Create a Session
119
+ #
120
+ # @param body
121
+ # @param [Hash] opts the optional parameters
122
+ # @return [Session]
123
+ describe 'create_session test' do
124
+ it 'should work' do
125
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
126
+ end
127
+ end
128
+
129
+ # unit tests for delete_campaign
130
+ # Delete a Campaign
131
+ #
132
+ # @param application_id
133
+ # @param campaign_id
134
+ # @param [Hash] opts the optional parameters
135
+ # @return [nil]
136
+ describe 'delete_campaign test' do
137
+ it 'should work' do
138
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
139
+ end
140
+ end
141
+
142
+ # unit tests for delete_coupon
143
+ # Delete one Coupon
144
+ #
145
+ # @param application_id
146
+ # @param campaign_id
147
+ # @param coupon_id The ID of the coupon code to delete
148
+ # @param [Hash] opts the optional parameters
149
+ # @return [nil]
150
+ describe 'delete_coupon test' do
151
+ it 'should work' do
152
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
153
+ end
154
+ end
155
+
156
+ # unit tests for delete_coupons
157
+ # Delete Coupons
158
+ #
159
+ # @param application_id
160
+ # @param campaign_id
161
+ # @param [Hash] opts the optional parameters
162
+ # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
163
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
164
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
165
+ # @option opts [DateTime] :starts_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
166
+ # @option opts [DateTime] :starts_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
167
+ # @option opts [DateTime] :expires_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
168
+ # @option opts [DateTime] :expires_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
169
+ # @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiry date is set and in the past. The second matches coupons in which start date is null or in the past and expiry date is null or in the future, the third matches coupons in which start date is set and in the future.
170
+ # @option opts [String] :batch_id Filter results by batches of coupons
171
+ # @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
172
+ # @option opts [Integer] :referral_id Filter the results by matching them with the Id of a referral, that meaning the coupons that had been created as an effect of the usage of a referral code.
173
+ # @option opts [String] :recipient_integration_id Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field
174
+ # @option opts [BOOLEAN] :exact_match Filter results to an exact case-insensitive matching against the coupon code
175
+ # @return [nil]
176
+ describe 'delete_coupons test' do
177
+ it 'should work' do
178
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
179
+ end
180
+ end
181
+
182
+ # unit tests for delete_referral
183
+ # Delete one Referral
184
+ #
185
+ # @param application_id
186
+ # @param campaign_id
187
+ # @param referral_id The ID of the referral code to delete
188
+ # @param [Hash] opts the optional parameters
189
+ # @return [nil]
190
+ describe 'delete_referral test' do
191
+ it 'should work' do
192
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
193
+ end
194
+ end
195
+
196
+ # unit tests for delete_ruleset
197
+ # Delete a Ruleset
198
+ #
199
+ # @param application_id
200
+ # @param campaign_id
201
+ # @param ruleset_id
202
+ # @param [Hash] opts the optional parameters
203
+ # @return [nil]
204
+ describe 'delete_ruleset test' do
205
+ it 'should work' do
206
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
207
+ end
208
+ end
209
+
210
+ # unit tests for get_access_logs
211
+ # Get access logs for application
212
+ #
213
+ # @param application_id
214
+ # @param range_start Only return results from after this timestamp, must be an RFC3339 timestamp string
215
+ # @param range_end Only return results from before this timestamp, must be an RFC3339 timestamp string
216
+ # @param [Hash] opts the optional parameters
217
+ # @option opts [String] :path Only return results where the request path matches the given regular expresssion.
218
+ # @option opts [String] :method Only return results where the request method matches the given regular expresssion.
219
+ # @option opts [String] :status Filter results by HTTP status codes.
220
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
221
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
222
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
223
+ # @return [InlineResponse2009]
224
+ describe 'get_access_logs test' do
225
+ it 'should work' do
226
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
227
+ end
228
+ end
229
+
230
+ # unit tests for get_access_logs_without_total_count
231
+ # Get access logs for application
232
+ #
233
+ # @param application_id
234
+ # @param range_start Only return results from after this timestamp, must be an RFC3339 timestamp string
235
+ # @param range_end Only return results from before this timestamp, must be an RFC3339 timestamp string
236
+ # @param [Hash] opts the optional parameters
237
+ # @option opts [String] :path Only return results where the request path matches the given regular expresssion.
238
+ # @option opts [String] :method Only return results where the request method matches the given regular expresssion.
239
+ # @option opts [String] :status Filter results by HTTP status codes.
240
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
241
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
242
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
243
+ # @return [InlineResponse20010]
244
+ describe 'get_access_logs_without_total_count test' do
245
+ it 'should work' do
246
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
247
+ end
248
+ end
249
+
250
+ # unit tests for get_account
251
+ # Get Account Details
252
+ # Return the details of your companies Talon.One account.
253
+ # @param account_id
254
+ # @param [Hash] opts the optional parameters
255
+ # @return [Account]
256
+ describe 'get_account test' do
257
+ it 'should work' do
258
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
259
+ end
260
+ end
261
+
262
+ # unit tests for get_account_analytics
263
+ # Get Account Analytics
264
+ # Return the analytics of your companies Talon.One account.
265
+ # @param account_id
266
+ # @param [Hash] opts the optional parameters
267
+ # @return [AccountAnalytics]
268
+ describe 'get_account_analytics test' do
269
+ it 'should work' do
270
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
271
+ end
272
+ end
273
+
274
+ # unit tests for get_account_limits
275
+ # Get Account Limits
276
+ # Returns a list of all account limits set
277
+ # @param account_id
278
+ # @param [Hash] opts the optional parameters
279
+ # @return [AccountLimits]
280
+ describe 'get_account_limits test' do
281
+ it 'should work' do
282
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
283
+ end
284
+ end
285
+
286
+ # unit tests for get_all_access_logs
287
+ # Get all access logs
288
+ # Fetches the access logs for the entire account. Sensitive requests (logins) are _always_ filtered from the logs.
289
+ # @param range_start Only return results from after this timestamp, must be an RFC3339 timestamp string
290
+ # @param range_end Only return results from before this timestamp, must be an RFC3339 timestamp string
291
+ # @param [Hash] opts the optional parameters
292
+ # @option opts [String] :path Only return results where the request path matches the given regular expresssion.
293
+ # @option opts [String] :method Only return results where the request method matches the given regular expresssion.
294
+ # @option opts [String] :status Filter results by HTTP status codes.
295
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
296
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
297
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
298
+ # @return [InlineResponse2009]
299
+ describe 'get_all_access_logs test' do
300
+ it 'should work' do
301
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
302
+ end
303
+ end
304
+
305
+ # unit tests for get_all_roles
306
+ # Get all roles.
307
+ # @param [Hash] opts the optional parameters
308
+ # @return [InlineResponse20028]
309
+ describe 'get_all_roles test' do
310
+ it 'should work' do
311
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
312
+ end
313
+ end
314
+
315
+ # unit tests for get_application
316
+ # Get Application
317
+ # Get the application specified by the ID.
318
+ # @param application_id
319
+ # @param [Hash] opts the optional parameters
320
+ # @return [Application]
321
+ describe 'get_application test' do
322
+ it 'should work' do
323
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
324
+ end
325
+ end
326
+
327
+ # unit tests for get_application_api_health
328
+ # Get report of health of application API
329
+ #
330
+ # @param application_id
331
+ # @param [Hash] opts the optional parameters
332
+ # @return [ApplicationApiHealth]
333
+ describe 'get_application_api_health test' do
334
+ it 'should work' do
335
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
336
+ end
337
+ end
338
+
339
+ # unit tests for get_application_customer
340
+ # Get Application Customer
341
+ #
342
+ # @param application_id
343
+ # @param customer_id
344
+ # @param [Hash] opts the optional parameters
345
+ # @return [ApplicationCustomer]
346
+ describe 'get_application_customer test' do
347
+ it 'should work' do
348
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
349
+ end
350
+ end
351
+
352
+ # unit tests for get_application_customers
353
+ # List Application Customers
354
+ #
355
+ # @param application_id
356
+ # @param [Hash] opts the optional parameters
357
+ # @return [InlineResponse20012]
358
+ describe 'get_application_customers test' do
359
+ it 'should work' do
360
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
361
+ end
362
+ end
363
+
364
+ # unit tests for get_application_customers_by_attributes
365
+ # Get a list of the customer profiles that match the given attributes
366
+ # Gets a list of all the customer profiles for the account that exactly match a set of attributes. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. [Customer Profile]: http://help.talon.one/customer/en/portal/articles/2525263-data-model?b_id=14115#customer-profile
367
+ # @param body
368
+ # @param [Hash] opts the optional parameters
369
+ # @return [InlineResponse20013]
370
+ describe 'get_application_customers_by_attributes test' do
371
+ it 'should work' do
372
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
373
+ end
374
+ end
375
+
376
+ # unit tests for get_application_event_types
377
+ # List Applications Event Types
378
+ # Get all of the distinct values of the Event `type` property for events recorded in the application. See also: [Track an event](/integration-api/reference/#trackEvent)
379
+ # @param application_id
380
+ # @param [Hash] opts the optional parameters
381
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
382
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
383
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
384
+ # @return [InlineResponse20019]
385
+ describe 'get_application_event_types test' do
386
+ it 'should work' do
387
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
388
+ end
389
+ end
390
+
391
+ # unit tests for get_application_events
392
+ # List Applications Events
393
+ # Lists all events recorded for an application.
394
+ # @param application_id
395
+ # @param [Hash] opts the optional parameters
396
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
397
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
398
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
399
+ # @option opts [String] :type Comma-separated list of types by which to filter events. Must be exact match(es).
400
+ # @option opts [DateTime] :created_before Only return events created before this date
401
+ # @option opts [DateTime] :created_after Only return events created after this date
402
+ # @option opts [String] :session Session integration ID filter for events. Must be exact match.
403
+ # @option opts [String] :profile Profile integration ID filter for events. Must be exact match.
404
+ # @option opts [String] :customer_name Customer name filter for events. Will match substrings case-insensitively.
405
+ # @option opts [String] :customer_email Customer e-mail address filter for events. Will match substrings case-insensitively.
406
+ # @option opts [String] :effects_query Effects filter for events. Will perform a full-text search on the text content of the events effects, if any.
407
+ # @option opts [String] :attributes_query Attributes filter for events. Will perform a full-text search on the text content of the events attributes, both keys and values.
408
+ # @option opts [String] :rule_query Rule name filter for events
409
+ # @option opts [String] :campaign_query Campaign name filter for events
410
+ # @return [InlineResponse20017]
411
+ describe 'get_application_events test' do
412
+ it 'should work' do
413
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
414
+ end
415
+ end
416
+
417
+ # unit tests for get_application_events_without_total_count
418
+ # List Applications Events
419
+ # Lists all events recorded for an application. Instead of having the total number of results in the response, this endpoint only if there are more results.
420
+ # @param application_id
421
+ # @param [Hash] opts the optional parameters
422
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
423
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
424
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
425
+ # @option opts [String] :type Comma-separated list of types by which to filter events. Must be exact match(es).
426
+ # @option opts [DateTime] :created_before Only return events created before this date
427
+ # @option opts [DateTime] :created_after Only return events created after this date
428
+ # @option opts [String] :session Session integration ID filter for events. Must be exact match.
429
+ # @option opts [String] :profile Profile integration ID filter for events. Must be exact match.
430
+ # @option opts [String] :customer_name Customer name filter for events. Will match substrings case-insensitively.
431
+ # @option opts [String] :customer_email Customer e-mail address filter for events. Will match substrings case-insensitively.
432
+ # @option opts [String] :effects_query Effects filter for events. Will perform a full-text search on the text content of the events effects, if any.
433
+ # @option opts [String] :attributes_query Attributes filter for events. Will perform a full-text search on the text content of the events attributes, both keys and values.
434
+ # @option opts [String] :rule_query Rule name filter for events
435
+ # @option opts [String] :campaign_query Campaign name filter for events
436
+ # @return [InlineResponse20018]
437
+ describe 'get_application_events_without_total_count test' do
438
+ it 'should work' do
439
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
440
+ end
441
+ end
442
+
443
+ # unit tests for get_application_session
444
+ # Get Application Session
445
+ #
446
+ # @param application_id
447
+ # @param session_id
448
+ # @param [Hash] opts the optional parameters
449
+ # @return [ApplicationSession]
450
+ describe 'get_application_session test' do
451
+ it 'should work' do
452
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
453
+ end
454
+ end
455
+
456
+ # unit tests for get_application_sessions
457
+ # List Application Sessions
458
+ #
459
+ # @param application_id
460
+ # @param [Hash] opts the optional parameters
461
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
462
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
463
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
464
+ # @option opts [String] :profile Profile integration ID filter for sessions. Must be exact match.
465
+ # @option opts [String] :state Filter by sessions with this state. Must be exact match.
466
+ # @option opts [String] :coupon Filter by sessions with this coupon. Must be exact match.
467
+ # @return [InlineResponse20016]
468
+ describe 'get_application_sessions test' do
469
+ it 'should work' do
470
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
471
+ end
472
+ end
473
+
474
+ # unit tests for get_applications
475
+ # List Applications
476
+ # List all application in the current account.
477
+ # @param [Hash] opts the optional parameters
478
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
479
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
480
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
481
+ # @return [InlineResponse2002]
482
+ describe 'get_applications test' do
483
+ it 'should work' do
484
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
485
+ end
486
+ end
487
+
488
+ # unit tests for get_attribute
489
+ # Get a custom attribute
490
+ # Returns custom attribute for the account by its id.
491
+ # @param attribute_id
492
+ # @param [Hash] opts the optional parameters
493
+ # @return [Attribute]
494
+ describe 'get_attribute test' do
495
+ it 'should work' do
496
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
497
+ end
498
+ end
499
+
500
+ # unit tests for get_campaign
501
+ # Get a Campaign
502
+ #
503
+ # @param application_id
504
+ # @param campaign_id
505
+ # @param [Hash] opts the optional parameters
506
+ # @return [Campaign]
507
+ describe 'get_campaign test' do
508
+ it 'should work' do
509
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
510
+ end
511
+ end
512
+
513
+ # unit tests for get_campaign_analytics
514
+ # Get analytics of campaigns
515
+ #
516
+ # @param application_id
517
+ # @param campaign_id
518
+ # @param range_start Only return results from after this timestamp, must be an RFC3339 timestamp string
519
+ # @param range_end Only return results from before this timestamp, must be an RFC3339 timestamp string
520
+ # @param [Hash] opts the optional parameters
521
+ # @option opts [String] :granularity The time interval between the results in the returned time-series.
522
+ # @return [InlineResponse20011]
523
+ describe 'get_campaign_analytics test' do
524
+ it 'should work' do
525
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
526
+ end
527
+ end
528
+
529
+ # unit tests for get_campaign_by_attributes
530
+ # Get a list of all campaigns that match the given attributes
531
+ # Gets a list of all the campaigns that exactly match a set of attributes.
532
+ # @param application_id
533
+ # @param body
534
+ # @param [Hash] opts the optional parameters
535
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
536
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
537
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
538
+ # @option opts [String] :campaign_state Filter results by the state of the campaign.
539
+ # @return [InlineResponse2003]
540
+ describe 'get_campaign_by_attributes test' do
541
+ it 'should work' do
542
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
543
+ end
544
+ end
545
+
546
+ # unit tests for get_campaign_set
547
+ # List CampaignSet
548
+ #
549
+ # @param application_id
550
+ # @param [Hash] opts the optional parameters
551
+ # @return [CampaignSet]
552
+ describe 'get_campaign_set test' do
553
+ it 'should work' do
554
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
555
+ end
556
+ end
557
+
558
+ # unit tests for get_campaigns
559
+ # List your Campaigns
560
+ #
561
+ # @param application_id
562
+ # @param [Hash] opts the optional parameters
563
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
564
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
565
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
566
+ # @option opts [String] :campaign_state Filter results by the state of the campaign.
567
+ # @option opts [String] :name Filter results performing case-insensitive matching against the name of the campaign.
568
+ # @option opts [String] :tags Filter results performing case-insensitive matching against the tags of the campaign. When used in conjunction with the \"name\" query parameter, a logical OR will be performed to search both tags and name for the provided values
569
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign creation timestamp.
570
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign creation timestamp.
571
+ # @return [InlineResponse2003]
572
+ describe 'get_campaigns test' do
573
+ it 'should work' do
574
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
575
+ end
576
+ end
577
+
578
+ # unit tests for get_changes
579
+ # Get audit log for an account
580
+ # Get list of changes caused by API calls for an account. Only accessible for admins.
581
+ # @param [Hash] opts the optional parameters
582
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
583
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
584
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
585
+ # @option opts [Integer] :application_id
586
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp.
587
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp.
588
+ # @option opts [BOOLEAN] :with_total_result_size When this flag is set, the result will include the total size of the result, across all pages. This might decrease performance on large data sets. With this flag set to true, hasMore will be be true whenever there is a next page. totalResultSize will always be zero. With this flag set to false, hasMore will always be set to false. totalResultSize will contain the total number of results for this query.
589
+ # @option opts [BOOLEAN] :include_old When this flag is set to false, the state without the change will not be returned. The default value is true.
590
+ # @return [InlineResponse20025]
591
+ describe 'get_changes test' do
592
+ it 'should work' do
593
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
594
+ end
595
+ end
596
+
597
+ # unit tests for get_coupons
598
+ # List Coupons
599
+ #
600
+ # @param application_id
601
+ # @param campaign_id
602
+ # @param [Hash] opts the optional parameters
603
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
604
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
605
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
606
+ # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
607
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
608
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
609
+ # @option opts [DateTime] :starts_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
610
+ # @option opts [DateTime] :starts_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
611
+ # @option opts [DateTime] :expires_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
612
+ # @option opts [DateTime] :expires_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
613
+ # @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiry date is set and in the past. The second matches coupons in which start date is null or in the past and expiry date is null or in the future, the third matches coupons in which start date is set and in the future.
614
+ # @option opts [String] :batch_id Filter results by batches of coupons
615
+ # @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
616
+ # @option opts [Integer] :referral_id Filter the results by matching them with the Id of a referral, that meaning the coupons that had been created as an effect of the usage of a referral code.
617
+ # @option opts [String] :recipient_integration_id Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field
618
+ # @option opts [BOOLEAN] :exact_match Filter results to an exact case-insensitive matching against the coupon code
619
+ # @return [InlineResponse2001]
620
+ describe 'get_coupons test' do
621
+ it 'should work' do
622
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
623
+ end
624
+ end
625
+
626
+ # unit tests for get_coupons_by_attributes
627
+ # Get a list of the coupons that match the given attributes
628
+ # Gets a list of all the coupons that exactly match a set of attributes. The match is successful if all the attributes of the request are found in a coupon, even if the coupon has more attributes that are not present on the request.
629
+ # @param application_id
630
+ # @param campaign_id
631
+ # @param body
632
+ # @param [Hash] opts the optional parameters
633
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
634
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
635
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
636
+ # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
637
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
638
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
639
+ # @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiry date is set and in the past. The second matches coupons in which start date is null or in the past and expiry date is null or in the future, the third matches coupons in which start date is set and in the future.
640
+ # @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
641
+ # @option opts [Integer] :referral_id Filter the results by matching them with the Id of a referral, that meaning the coupons that had been created as an effect of the usage of a referral code.
642
+ # @option opts [String] :recipient_integration_id Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field
643
+ # @option opts [BOOLEAN] :exact_match Filter results to an exact case-insensitive matching against the coupon code
644
+ # @option opts [String] :batch_id Filter results by batches of coupons
645
+ # @return [InlineResponse2001]
646
+ describe 'get_coupons_by_attributes test' do
647
+ it 'should work' do
648
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
649
+ end
650
+ end
651
+
652
+ # unit tests for get_coupons_by_attributes_application_wide
653
+ # Get a list of the coupons that match the given attributes in all active campaigns of an application
654
+ # Gets a list of all the coupons with attributes matching the query criteria Application wide
655
+ # @param application_id
656
+ # @param body
657
+ # @param [Hash] opts the optional parameters
658
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
659
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
660
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
661
+ # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
662
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
663
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
664
+ # @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiry date is set and in the past. The second matches coupons in which start date is null or in the past and expiry date is null or in the future, the third matches coupons in which start date is set and in the future.
665
+ # @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
666
+ # @option opts [Integer] :referral_id Filter the results by matching them with the Id of a referral, that meaning the coupons that had been created as an effect of the usage of a referral code.
667
+ # @option opts [String] :recipient_integration_id Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field
668
+ # @option opts [String] :batch_id Filter results by batches of coupons
669
+ # @option opts [BOOLEAN] :exact_match Filter results to an exact case-insensitive matching against the coupon code
670
+ # @option opts [String] :campaign_state Filter results by the state of the campaign.
671
+ # @return [InlineResponse2001]
672
+ describe 'get_coupons_by_attributes_application_wide test' do
673
+ it 'should work' do
674
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
675
+ end
676
+ end
677
+
678
+ # unit tests for get_coupons_without_total_count
679
+ # List Coupons
680
+ #
681
+ # @param application_id
682
+ # @param campaign_id
683
+ # @param [Hash] opts the optional parameters
684
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
685
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
686
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
687
+ # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
688
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
689
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
690
+ # @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiry date is set and in the past. The second matches coupons in which start date is null or in the past and expiry date is null or in the future, the third matches coupons in which start date is set and in the future.
691
+ # @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
692
+ # @option opts [Integer] :referral_id Filter the results by matching them with the Id of a referral, that meaning the coupons that had been created as an effect of the usage of a referral code.
693
+ # @option opts [String] :recipient_integration_id Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field
694
+ # @option opts [String] :batch_id Filter results by batches of coupons
695
+ # @option opts [BOOLEAN] :exact_match Filter results to an exact case-insensitive matching against the coupon code
696
+ # @return [InlineResponse2005]
697
+ describe 'get_coupons_without_total_count test' do
698
+ it 'should work' do
699
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
700
+ end
701
+ end
702
+
703
+ # unit tests for get_customer_activity_report
704
+ # Get Activity Report for Single Customer
705
+ # Fetch summary report for single application customer based on a time range
706
+ # @param range_start Only return results from after this timestamp, must be an RFC3339 timestamp string
707
+ # @param range_end Only return results from before this timestamp, must be an RFC3339 timestamp string
708
+ # @param application_id
709
+ # @param customer_id
710
+ # @param [Hash] opts the optional parameters
711
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
712
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
713
+ # @return [CustomerActivityReport]
714
+ describe 'get_customer_activity_report test' do
715
+ it 'should work' do
716
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
717
+ end
718
+ end
719
+
720
+ # unit tests for get_customer_activity_reports
721
+ # Get Activity Reports for Application Customers
722
+ # Fetch summary reports for all application customers based on a time range
723
+ # @param range_start Only return results from after this timestamp, must be an RFC3339 timestamp string
724
+ # @param range_end Only return results from before this timestamp, must be an RFC3339 timestamp string
725
+ # @param application_id
726
+ # @param [Hash] opts the optional parameters
727
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
728
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
729
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
730
+ # @option opts [String] :name Only return reports matching the customer name
731
+ # @option opts [String] :integration_id Only return reports matching the integrationId
732
+ # @option opts [String] :campaign_name Only return reports matching the campaignName
733
+ # @option opts [String] :advocate_name Only return reports matching the current customer referrer name
734
+ # @return [InlineResponse20014]
735
+ describe 'get_customer_activity_reports test' do
736
+ it 'should work' do
737
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
738
+ end
739
+ end
740
+
741
+ # unit tests for get_customer_activity_reports_without_total_count
742
+ # Get Activity Reports for Application Customers
743
+ # Fetch summary reports for all application customers based on a time range. Instead of having the total number of results in the response, this endpoint only if there are more results.
744
+ # @param range_start Only return results from after this timestamp, must be an RFC3339 timestamp string
745
+ # @param range_end Only return results from before this timestamp, must be an RFC3339 timestamp string
746
+ # @param application_id
747
+ # @param [Hash] opts the optional parameters
748
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
749
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
750
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
751
+ # @option opts [String] :name Only return reports matching the customer name
752
+ # @option opts [String] :integration_id Only return reports matching the integrationId
753
+ # @option opts [String] :campaign_name Only return reports matching the campaignName
754
+ # @option opts [String] :advocate_name Only return reports matching the current customer referrer name
755
+ # @return [InlineResponse20015]
756
+ describe 'get_customer_activity_reports_without_total_count test' do
757
+ it 'should work' do
758
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
759
+ end
760
+ end
761
+
762
+ # unit tests for get_customer_analytics
763
+ # Get Analytics Report for a Customer
764
+ # Fetch analytics for single application customer
765
+ # @param application_id
766
+ # @param customer_id
767
+ # @param [Hash] opts the optional parameters
768
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
769
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
770
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
771
+ # @return [CustomerAnalytics]
772
+ describe 'get_customer_analytics test' do
773
+ it 'should work' do
774
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
775
+ end
776
+ end
777
+
778
+ # unit tests for get_customer_profile
779
+ # Get Customer Profile
780
+ #
781
+ # @param application_id
782
+ # @param customer_id
783
+ # @param [Hash] opts the optional parameters
784
+ # @return [ApplicationCustomer]
785
+ describe 'get_customer_profile test' do
786
+ it 'should work' do
787
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
788
+ end
789
+ end
790
+
791
+ # unit tests for get_customer_profiles
792
+ # List Customer Profiles
793
+ #
794
+ # @param [Hash] opts the optional parameters
795
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
796
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
797
+ # @return [InlineResponse20013]
798
+ describe 'get_customer_profiles test' do
799
+ it 'should work' do
800
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
801
+ end
802
+ end
803
+
804
+ # unit tests for get_customers_by_attributes
805
+ # Get a list of the customer profiles that match the given attributes
806
+ # Gets a list of all the customer profiles for the account that exactly match a set of attributes. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request. [Customer Profile]: http://help.talon.one/customer/en/portal/articles/2525263-data-model?b_id=14115#customer-profile
807
+ # @param body
808
+ # @param [Hash] opts the optional parameters
809
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
810
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
811
+ # @return [InlineResponse20013]
812
+ describe 'get_customers_by_attributes test' do
813
+ it 'should work' do
814
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
815
+ end
816
+ end
817
+
818
+ # unit tests for get_event_types
819
+ # List Event Types
820
+ # Fetch all event type definitions for your account. Each event type can be
821
+ # @param [Hash] opts the optional parameters
822
+ # @option opts [String] :application_ids Filter by one or more application ids separated by comma
823
+ # @option opts [String] :name Filter results to event types with the given name. This parameter implies `includeOldVersions`.
824
+ # @option opts [BOOLEAN] :include_old_versions Include all versions of every event type.
825
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
826
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
827
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
828
+ # @return [InlineResponse20023]
829
+ describe 'get_event_types test' do
830
+ it 'should work' do
831
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
832
+ end
833
+ end
834
+
835
+ # unit tests for get_exports
836
+ # Get Exports
837
+ # Get a list of all past exports
838
+ # @param [Hash] opts the optional parameters
839
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
840
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
841
+ # @option opts [Integer] :application_id
842
+ # @option opts [Integer] :campaign_id
843
+ # @option opts [String] :entity The name of the entity type that was exported.
844
+ # @return [InlineResponse20026]
845
+ describe 'get_exports test' do
846
+ it 'should work' do
847
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
848
+ end
849
+ end
850
+
851
+ # unit tests for get_imports
852
+ # Get Imports
853
+ # Get a list of all past imports
854
+ # @param [Hash] opts the optional parameters
855
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
856
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
857
+ # @return [InlineResponse20027]
858
+ describe 'get_imports test' do
859
+ it 'should work' do
860
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
861
+ end
862
+ end
863
+
864
+ # unit tests for get_loyalty_points
865
+ # get the Loyalty Ledger for this integrationID
866
+ # Get the Loyalty Ledger for this profile integration ID.
867
+ # @param program_id The identifier for the application, must be unique within the account.
868
+ # @param integration_id The identifier for the application, must be unique within the account.
869
+ # @param [Hash] opts the optional parameters
870
+ # @return [LoyaltyLedger]
871
+ describe 'get_loyalty_points test' do
872
+ it 'should work' do
873
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
874
+ end
875
+ end
876
+
877
+ # unit tests for get_loyalty_program
878
+ # Get a loyalty program
879
+ #
880
+ # @param program_id
881
+ # @param [Hash] opts the optional parameters
882
+ # @return [LoyaltyProgram]
883
+ describe 'get_loyalty_program test' do
884
+ it 'should work' do
885
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
886
+ end
887
+ end
888
+
889
+ # unit tests for get_loyalty_programs
890
+ # List all loyalty Programs
891
+ #
892
+ # @param [Hash] opts the optional parameters
893
+ # @return [InlineResponse2008]
894
+ describe 'get_loyalty_programs test' do
895
+ it 'should work' do
896
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
897
+ end
898
+ end
899
+
900
+ # unit tests for get_referrals
901
+ # List Referrals
902
+ #
903
+ # @param application_id
904
+ # @param campaign_id
905
+ # @param [Hash] opts the optional parameters
906
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
907
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
908
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
909
+ # @option opts [String] :code Filter results performing case-insensitive matching against the referral code. Both the code and the query are folded to remove all non-alpha-numeric characters.
910
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp.
911
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp.
912
+ # @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches referrals in which the expiry date is set and in the past. The second matches referrals in which start date is null or in the past and expiry date is null or in the future, the third matches referrals in which start date is set and in the future.
913
+ # @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`.
914
+ # @option opts [String] :advocate Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field
915
+ # @return [InlineResponse2006]
916
+ describe 'get_referrals test' do
917
+ it 'should work' do
918
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
919
+ end
920
+ end
921
+
922
+ # unit tests for get_referrals_without_total_count
923
+ # List Referrals
924
+ #
925
+ # @param application_id
926
+ # @param campaign_id
927
+ # @param [Hash] opts the optional parameters
928
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
929
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
930
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
931
+ # @option opts [String] :code Filter results performing case-insensitive matching against the referral code. Both the code and the query are folded to remove all non-alpha-numeric characters.
932
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp.
933
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp.
934
+ # @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches referrals in which the expiry date is set and in the past. The second matches referrals in which start date is null or in the past and expiry date is null or in the future, the third matches referrals in which start date is set and in the future.
935
+ # @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`.
936
+ # @option opts [String] :advocate Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field
937
+ # @return [InlineResponse2007]
938
+ describe 'get_referrals_without_total_count test' do
939
+ it 'should work' do
940
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
941
+ end
942
+ end
943
+
944
+ # unit tests for get_role
945
+ # Get information for the specified role.
946
+ # @param role_id
947
+ # @param [Hash] opts the optional parameters
948
+ # @return [Role]
949
+ describe 'get_role test' do
950
+ it 'should work' do
951
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
952
+ end
953
+ end
954
+
955
+ # unit tests for get_ruleset
956
+ # Get a Ruleset
957
+ #
958
+ # @param application_id
959
+ # @param campaign_id
960
+ # @param ruleset_id
961
+ # @param [Hash] opts the optional parameters
962
+ # @return [Ruleset]
963
+ describe 'get_ruleset test' do
964
+ it 'should work' do
965
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
966
+ end
967
+ end
968
+
969
+ # unit tests for get_rulesets
970
+ # List Campaign Rulesets
971
+ #
972
+ # @param application_id
973
+ # @param campaign_id
974
+ # @param [Hash] opts the optional parameters
975
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
976
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
977
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
978
+ # @return [InlineResponse2004]
979
+ describe 'get_rulesets test' do
980
+ it 'should work' do
981
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
982
+ end
983
+ end
984
+
985
+ # unit tests for get_user
986
+ # Get a single User
987
+ # Retrieves the data (including an invitation code) for a user. Non-admin users can only get themselves.
988
+ # @param user_id
989
+ # @param [Hash] opts the optional parameters
990
+ # @return [User]
991
+ describe 'get_user test' do
992
+ it 'should work' do
993
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
994
+ end
995
+ end
996
+
997
+ # unit tests for get_users
998
+ # List Users in your account
999
+ # Retrieve all users in your account.
1000
+ # @param [Hash] opts the optional parameters
1001
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
1002
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
1003
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
1004
+ # @return [InlineResponse20024]
1005
+ describe 'get_users test' do
1006
+ it 'should work' do
1007
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1008
+ end
1009
+ end
1010
+
1011
+ # unit tests for get_webhook
1012
+ # Get Webhook
1013
+ # Returns an webhook by its id.
1014
+ # @param webhook_id
1015
+ # @param [Hash] opts the optional parameters
1016
+ # @return [Webhook]
1017
+ describe 'get_webhook test' do
1018
+ it 'should work' do
1019
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1020
+ end
1021
+ end
1022
+
1023
+ # unit tests for get_webhook_activation_logs
1024
+ # List Webhook activation Log Entries
1025
+ # Webhook activation log entries would be created as soon as an integration request triggered an effect with a webhook
1026
+ # @param [Hash] opts the optional parameters
1027
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
1028
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
1029
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
1030
+ # @option opts [String] :integration_request_uuid Filter results by integration request UUID.
1031
+ # @option opts [Float] :webhook_id Filter results by Webhook.
1032
+ # @option opts [Float] :application_id
1033
+ # @option opts [Float] :campaign_id Filter results by campaign.
1034
+ # @option opts [DateTime] :created_before Only return events created before this date.
1035
+ # @option opts [DateTime] :created_after Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string.
1036
+ # @return [InlineResponse20021]
1037
+ describe 'get_webhook_activation_logs test' do
1038
+ it 'should work' do
1039
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1040
+ end
1041
+ end
1042
+
1043
+ # unit tests for get_webhook_logs
1044
+ # List Webhook Log Entries
1045
+ #
1046
+ # @param [Hash] opts the optional parameters
1047
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
1048
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
1049
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
1050
+ # @option opts [String] :status Filter results by HTTP status codes.
1051
+ # @option opts [Float] :webhook_id Filter results by Webhook.
1052
+ # @option opts [Float] :application_id
1053
+ # @option opts [Float] :campaign_id Filter results by campaign.
1054
+ # @option opts [String] :request_uuid Filter results by request UUID.
1055
+ # @option opts [DateTime] :created_before Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string.
1056
+ # @option opts [DateTime] :created_after Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string.
1057
+ # @return [InlineResponse20022]
1058
+ describe 'get_webhook_logs test' do
1059
+ it 'should work' do
1060
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1061
+ end
1062
+ end
1063
+
1064
+ # unit tests for get_webhooks
1065
+ # List Webhooks
1066
+ #
1067
+ # @param [Hash] opts the optional parameters
1068
+ # @option opts [String] :application_ids Filter by one or more application ids separated by comma
1069
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
1070
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
1071
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
1072
+ # @return [InlineResponse20020]
1073
+ describe 'get_webhooks test' do
1074
+ it 'should work' do
1075
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1076
+ end
1077
+ end
1078
+
1079
+ # unit tests for refresh_analytics
1080
+ # Trigger refresh on stale analytics.
1081
+ # Should be used to trigger a manual refresh of analytics.
1082
+ # @param [Hash] opts the optional parameters
1083
+ # @return [nil]
1084
+ describe 'refresh_analytics test' do
1085
+ it 'should work' do
1086
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1087
+ end
1088
+ end
1089
+
1090
+ # unit tests for remove_loyalty_points
1091
+ # Deduct points in a certain loyalty program for the specified customer
1092
+ #
1093
+ # @param program_id
1094
+ # @param integration_id
1095
+ # @param body
1096
+ # @param [Hash] opts the optional parameters
1097
+ # @return [nil]
1098
+ describe 'remove_loyalty_points test' do
1099
+ it 'should work' do
1100
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1101
+ end
1102
+ end
1103
+
1104
+ # unit tests for reset_password
1105
+ # Reset password
1106
+ # Consumes the supplied password reset token and updates the password for the associated account.
1107
+ # @param body
1108
+ # @param [Hash] opts the optional parameters
1109
+ # @return [NewPassword]
1110
+ describe 'reset_password test' do
1111
+ it 'should work' do
1112
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1113
+ end
1114
+ end
1115
+
1116
+ # unit tests for search_coupons_advanced
1117
+ # Get a list of the coupons that match the given attributes
1118
+ # Gets a list of all the coupons with attributes matching the query criteria
1119
+ # @param application_id
1120
+ # @param campaign_id
1121
+ # @param body
1122
+ # @param [Hash] opts the optional parameters
1123
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
1124
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
1125
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
1126
+ # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
1127
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
1128
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
1129
+ # @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiry date is set and in the past. The second matches coupons in which start date is null or in the past and expiry date is null or in the future, the third matches coupons in which start date is set and in the future.
1130
+ # @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
1131
+ # @option opts [Integer] :referral_id Filter the results by matching them with the Id of a referral, that meaning the coupons that had been created as an effect of the usage of a referral code.
1132
+ # @option opts [String] :recipient_integration_id Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field
1133
+ # @option opts [BOOLEAN] :exact_match Filter results to an exact case-insensitive matching against the coupon code
1134
+ # @option opts [String] :batch_id Filter results by batches of coupons
1135
+ # @return [InlineResponse2001]
1136
+ describe 'search_coupons_advanced test' do
1137
+ it 'should work' do
1138
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1139
+ end
1140
+ end
1141
+
1142
+ # unit tests for search_coupons_advanced_application_wide
1143
+ # Get a list of the coupons that match the given attributes in all active campaigns of an application
1144
+ # Gets a list of all the coupons with attributes matching the query criteria in all active campaigns of an application
1145
+ # @param application_id
1146
+ # @param body
1147
+ # @param [Hash] opts the optional parameters
1148
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
1149
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
1150
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
1151
+ # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
1152
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
1153
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
1154
+ # @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiry date is set and in the past. The second matches coupons in which start date is null or in the past and expiry date is null or in the future, the third matches coupons in which start date is set and in the future.
1155
+ # @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
1156
+ # @option opts [Integer] :referral_id Filter the results by matching them with the Id of a referral, that meaning the coupons that had been created as an effect of the usage of a referral code.
1157
+ # @option opts [String] :recipient_integration_id Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field
1158
+ # @option opts [String] :batch_id Filter results by batches of coupons
1159
+ # @option opts [BOOLEAN] :exact_match Filter results to an exact case-insensitive matching against the coupon code
1160
+ # @option opts [String] :campaign_state Filter results by the state of the campaign.
1161
+ # @return [InlineResponse2001]
1162
+ describe 'search_coupons_advanced_application_wide test' do
1163
+ it 'should work' do
1164
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1165
+ end
1166
+ end
1167
+
1168
+ # unit tests for search_coupons_advanced_application_wide_without_total_count
1169
+ # Get a list of the coupons that match the given attributes in all active campaigns of an application
1170
+ # Gets a list of all the coupons with attributes matching the query criteria in all active campaigns of an application
1171
+ # @param application_id
1172
+ # @param body
1173
+ # @param [Hash] opts the optional parameters
1174
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
1175
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
1176
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
1177
+ # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
1178
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
1179
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
1180
+ # @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiry date is set and in the past. The second matches coupons in which start date is null or in the past and expiry date is null or in the future, the third matches coupons in which start date is set and in the future.
1181
+ # @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
1182
+ # @option opts [Integer] :referral_id Filter the results by matching them with the Id of a referral, that meaning the coupons that had been created as an effect of the usage of a referral code.
1183
+ # @option opts [String] :recipient_integration_id Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field
1184
+ # @option opts [String] :batch_id Filter results by batches of coupons
1185
+ # @option opts [BOOLEAN] :exact_match Filter results to an exact case-insensitive matching against the coupon code
1186
+ # @option opts [String] :campaign_state Filter results by the state of the campaign.
1187
+ # @return [InlineResponse2005]
1188
+ describe 'search_coupons_advanced_application_wide_without_total_count test' do
1189
+ it 'should work' do
1190
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1191
+ end
1192
+ end
1193
+
1194
+ # unit tests for search_coupons_advanced_without_total_count
1195
+ # Get a list of the coupons that match the given attributes
1196
+ # Gets a list of all the coupons with attributes matching the query criteria
1197
+ # @param application_id
1198
+ # @param campaign_id
1199
+ # @param body
1200
+ # @param [Hash] opts the optional parameters
1201
+ # @option opts [Integer] :page_size The number of items to include in this response. When omitted, the maximum value of 1000 will be used.
1202
+ # @option opts [Integer] :skip Skips the given number of items when paging through large result sets.
1203
+ # @option opts [String] :sort The field by which results should be sorted. Sorting defaults to ascending order, prefix the field name with `-` to sort in descending order.
1204
+ # @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
1205
+ # @option opts [DateTime] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
1206
+ # @option opts [DateTime] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp.
1207
+ # @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiry date is set and in the past. The second matches coupons in which start date is null or in the past and expiry date is null or in the future, the third matches coupons in which start date is set and in the future.
1208
+ # @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
1209
+ # @option opts [Integer] :referral_id Filter the results by matching them with the Id of a referral, that meaning the coupons that had been created as an effect of the usage of a referral code.
1210
+ # @option opts [String] :recipient_integration_id Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field
1211
+ # @option opts [BOOLEAN] :exact_match Filter results to an exact case-insensitive matching against the coupon code
1212
+ # @option opts [String] :batch_id Filter results by batches of coupons
1213
+ # @return [InlineResponse2005]
1214
+ describe 'search_coupons_advanced_without_total_count test' do
1215
+ it 'should work' do
1216
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1217
+ end
1218
+ end
1219
+
1220
+ # unit tests for set_account_limits
1221
+ # Set account limits
1222
+ # sets account limits
1223
+ # @param account_id
1224
+ # @param body
1225
+ # @param [Hash] opts the optional parameters
1226
+ # @return [nil]
1227
+ describe 'set_account_limits test' do
1228
+ it 'should work' do
1229
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1230
+ end
1231
+ end
1232
+
1233
+ # unit tests for update_campaign
1234
+ # Update a Campaign
1235
+ #
1236
+ # @param application_id
1237
+ # @param campaign_id
1238
+ # @param body
1239
+ # @param [Hash] opts the optional parameters
1240
+ # @return [Campaign]
1241
+ describe 'update_campaign test' do
1242
+ it 'should work' do
1243
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1244
+ end
1245
+ end
1246
+
1247
+ # unit tests for update_campaign_set
1248
+ # Update a Campaign Set
1249
+ #
1250
+ # @param application_id
1251
+ # @param body
1252
+ # @param [Hash] opts the optional parameters
1253
+ # @return [CampaignSet]
1254
+ describe 'update_campaign_set test' do
1255
+ it 'should work' do
1256
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1257
+ end
1258
+ end
1259
+
1260
+ # unit tests for update_coupon
1261
+ # Update a Coupon
1262
+ #
1263
+ # @param application_id
1264
+ # @param campaign_id
1265
+ # @param coupon_id The ID of the coupon code to update
1266
+ # @param body
1267
+ # @param [Hash] opts the optional parameters
1268
+ # @return [Coupon]
1269
+ describe 'update_coupon test' do
1270
+ it 'should work' do
1271
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1272
+ end
1273
+ end
1274
+
1275
+ # unit tests for update_coupon_batch
1276
+ # Update a Batch of Coupons
1277
+ #
1278
+ # @param application_id
1279
+ # @param campaign_id
1280
+ # @param body
1281
+ # @param [Hash] opts the optional parameters
1282
+ # @return [nil]
1283
+ describe 'update_coupon_batch test' do
1284
+ it 'should work' do
1285
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1286
+ end
1287
+ end
1288
+
1289
+ # unit tests for update_ruleset
1290
+ # Update a Ruleset
1291
+ #
1292
+ # @param application_id
1293
+ # @param campaign_id
1294
+ # @param ruleset_id
1295
+ # @param body
1296
+ # @param [Hash] opts the optional parameters
1297
+ # @return [Ruleset]
1298
+ describe 'update_ruleset test' do
1299
+ it 'should work' do
1300
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1301
+ end
1302
+ end
1303
+
1304
+ end