talon_one 1.4.0

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