talon_one 0.1.0 → 1.1.1

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