talon_one 10.0.0 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autorelease.yml +123 -0
  3. data/README.md +55 -11
  4. data/docker-compose.yml +2 -2
  5. data/docs/AccountLimits.md +5 -1
  6. data/docs/Achievement.md +2 -0
  7. data/docs/AchievementBase.md +3 -1
  8. data/docs/AchievementProgressWithDefinition.md +3 -1
  9. data/docs/AchievementStatusEntry.md +2 -0
  10. data/docs/AddLoyaltyPoints.md +1 -1
  11. data/docs/AddedDeductedPointsNotification.md +41 -0
  12. data/docs/AnalyticsSKU.md +6 -2
  13. data/docs/ApplicationCustomer.md +1 -1
  14. data/docs/AsyncCouponsData.md +25 -0
  15. data/docs/AudienceCustomer.md +1 -1
  16. data/docs/AudienceReference.md +21 -0
  17. data/docs/BaseLoyaltyProgram.md +1 -1
  18. data/docs/BestPriorPrice.md +27 -0
  19. data/docs/BestPriorPriceMetadata.md +19 -0
  20. data/docs/BestPriorPriceRequest.md +25 -0
  21. data/docs/BestPriorPriceRequestTarget.md +19 -0
  22. data/docs/CampaignCollectionEditedNotification.md +6 -6
  23. data/docs/CampaignCollectionEditedNotificationItem.md +23 -0
  24. data/docs/CampaignCreatedNotification.md +6 -6
  25. data/docs/CampaignCreatedNotificationItem.md +23 -0
  26. data/docs/CampaignDeletedNotification.md +6 -4
  27. data/docs/CampaignDeletedNotificationItem.md +21 -0
  28. data/docs/CampaignEditedNotification.md +6 -6
  29. data/docs/CampaignEditedNotificationItem.md +23 -0
  30. data/docs/CampaignEvaluationTreeChangedMessage.md +21 -0
  31. data/docs/CampaignNotificationBase.md +19 -0
  32. data/docs/CampaignNotificationGeneric.md +21 -0
  33. data/docs/CampaignNotificationItemBase.md +17 -0
  34. data/docs/CampaignNotificationPolicy.md +1 -1
  35. data/docs/CampaignRulesetChangedNotification.md +6 -6
  36. data/docs/CampaignRulesetChangedNotificationItem.md +23 -0
  37. data/docs/CampaignStateChangedNotification.md +6 -8
  38. data/docs/CampaignStateChangedNotificationItem.md +25 -0
  39. data/docs/CardAddedDeductedPointsNotification.md +45 -0
  40. data/docs/CardExpiringPointsNotificationPolicy.md +1 -1
  41. data/docs/CardLedgerPointsEntryIntegrationAPI.md +2 -0
  42. data/docs/CardLedgerTransactionLogEntry.md +3 -1
  43. data/docs/CardLedgerTransactionLogEntryIntegrationAPI.md +3 -1
  44. data/docs/CatalogsStrikethroughNotificationPolicy.md +3 -1
  45. data/docs/CouponsNotificationData.md +27 -0
  46. data/docs/CouponsNotificationPolicy.md +1 -1
  47. data/docs/CreateAchievement.md +3 -1
  48. data/docs/CreateCouponData.md +29 -0
  49. data/docs/CustomerProfile.md +1 -1
  50. data/docs/DeleteCouponsData.md +31 -0
  51. data/docs/Effect.md +1 -1
  52. data/docs/ExpiringCardPointsData.md +29 -0
  53. data/docs/ExpiringCardPointsNotification.md +21 -0
  54. data/docs/ExpiringCouponsData.md +35 -0
  55. data/docs/ExpiringCouponsNotification.md +21 -0
  56. data/docs/ExpiringCouponsNotificationPolicy.md +1 -1
  57. data/docs/ExpiringPointsData.md +25 -0
  58. data/docs/ExpiringPointsNotification.md +21 -0
  59. data/docs/ExpiringPointsNotificationPolicy.md +1 -1
  60. data/docs/ExtendLoyaltyPointsExpiryDateEffectProps.md +2 -4
  61. data/docs/ExtendedCoupon.md +61 -0
  62. data/docs/GenerateAuditLogSummary.md +17 -0
  63. data/docs/GenerateCampaignDescription.md +3 -1
  64. data/docs/GenerateCouponFailureDetailedSummary.md +25 -0
  65. data/docs/GenerateCouponFailureSummary.md +19 -0
  66. data/docs/GenerateUserSessionSummary.md +19 -0
  67. data/docs/GetIntegrationCouponRequest.md +1 -1
  68. data/docs/InlineResponse20040.md +1 -1
  69. data/docs/InlineResponse20041.md +1 -1
  70. data/docs/InlineResponse20042.md +4 -2
  71. data/docs/InlineResponse20043.md +1 -1
  72. data/docs/InlineResponse20044.md +2 -4
  73. data/docs/InlineResponse20045.md +5 -3
  74. data/docs/InlineResponse20046.md +2 -4
  75. data/docs/InlineResponse20047.md +2 -6
  76. data/docs/InlineResponse20048.md +4 -2
  77. data/docs/InlineResponse20049.md +4 -2
  78. data/docs/IntegrationApi.md +88 -3
  79. data/docs/JWT.md +19 -0
  80. data/docs/LabelTargetAudience.md +19 -0
  81. data/docs/LabelTargetNone.md +17 -0
  82. data/docs/LedgerPointsEntryIntegrationAPI.md +2 -0
  83. data/docs/LedgerTransactionLogEntryIntegrationAPI.md +3 -1
  84. data/docs/LoyaltyDashboardData.md +2 -0
  85. data/docs/LoyaltyLedgerEntryExpiryDateChange.md +21 -0
  86. data/docs/LoyaltyProgram.md +1 -1
  87. data/docs/LoyaltyProgramTransaction.md +2 -0
  88. data/docs/ManagementApi.md +1083 -366
  89. data/docs/NewLoyaltyProgram.md +1 -1
  90. data/docs/NewMessageTest.md +6 -6
  91. data/docs/NewPriceAdjustment.md +3 -1
  92. data/docs/NewPriceType.md +4 -4
  93. data/docs/NewSecondaryDeployment.md +17 -0
  94. data/docs/NewWebhook.md +3 -1
  95. data/docs/PendingActivePointsData.md +29 -0
  96. data/docs/PendingActivePointsNotification.md +21 -0
  97. data/docs/PendingPointsNotificationPolicy.md +1 -1
  98. data/docs/PriceDetail.md +2 -0
  99. data/docs/PriceType.md +4 -4
  100. data/docs/PriceTypeReferenceDetail.md +23 -0
  101. data/docs/PriceTypeReferences.md +19 -0
  102. data/docs/RoleV2RolesGroup.md +3 -1
  103. data/docs/SecondaryDeployment.md +31 -0
  104. data/docs/SetLoyaltyPointsExpiryDateEffectProps.md +23 -0
  105. data/docs/StrikethroughChangedItem.md +2 -0
  106. data/docs/StrikethroughEffect.md +9 -1
  107. data/docs/StrikethroughLabelingNotification.md +3 -1
  108. data/docs/TierDowngradeData.md +31 -0
  109. data/docs/TierDowngradeNotification.md +21 -0
  110. data/docs/TierDowngradeNotificationPolicy.md +1 -1
  111. data/docs/TierUpgradeData.md +35 -0
  112. data/docs/TierUpgradeNotification.md +21 -0
  113. data/docs/TierUpgradeNotificationPolicy.md +1 -1
  114. data/docs/TierWillDowngradeData.md +31 -0
  115. data/docs/TierWillDowngradeNotification.md +21 -0
  116. data/docs/TierWillDowngradeNotificationPolicy.md +1 -1
  117. data/docs/UpdateAchievement.md +3 -1
  118. data/docs/UpdateCouponsData.md +29 -0
  119. data/docs/UpdateLoyaltyProgram.md +1 -1
  120. data/docs/UpdatePriceType.md +21 -0
  121. data/docs/Webhook.md +3 -1
  122. data/docs/WebhookWithOutgoingIntegrationDetails.md +2 -0
  123. data/lib/talon_one/api/integration_api.rb +104 -2
  124. data/lib/talon_one/api/management_api.rb +226 -400
  125. data/lib/talon_one/models/account_limits.rb +34 -4
  126. data/lib/talon_one/models/achievement.rb +11 -1
  127. data/lib/talon_one/models/achievement_base.rb +14 -4
  128. data/lib/talon_one/models/achievement_progress_with_definition.rb +14 -4
  129. data/lib/talon_one/models/achievement_status_entry.rb +11 -1
  130. data/lib/talon_one/models/add_loyalty_points.rb +1 -10
  131. data/lib/talon_one/models/added_deducted_points_notification.rb +478 -0
  132. data/lib/talon_one/models/analytics_sku.rb +23 -3
  133. data/lib/talon_one/models/application_customer.rb +1 -1
  134. data/lib/talon_one/models/async_coupons_data.rb +272 -0
  135. data/lib/talon_one/models/audience_customer.rb +1 -1
  136. data/lib/talon_one/models/audience_reference.rb +256 -0
  137. data/lib/talon_one/models/base_loyalty_program.rb +1 -1
  138. data/lib/talon_one/models/best_prior_price.rb +285 -0
  139. data/lib/talon_one/models/best_prior_price_metadata.rb +219 -0
  140. data/lib/talon_one/models/best_prior_price_request.rb +268 -0
  141. data/lib/talon_one/models/best_prior_price_request_target.rb +257 -0
  142. data/lib/talon_one/models/campaign_collection_edited_notification.rb +30 -26
  143. data/lib/talon_one/models/campaign_collection_edited_notification_item.rb +250 -0
  144. data/lib/talon_one/models/campaign_created_notification.rb +30 -26
  145. data/lib/talon_one/models/campaign_created_notification_item.rb +250 -0
  146. data/lib/talon_one/models/campaign_deleted_notification.rb +33 -21
  147. data/lib/talon_one/models/campaign_deleted_notification_item.rb +242 -0
  148. data/lib/talon_one/models/campaign_edited_notification.rb +30 -26
  149. data/lib/talon_one/models/campaign_edited_notification_item.rb +250 -0
  150. data/lib/talon_one/models/campaign_evaluation_tree_changed_message.rb +239 -0
  151. data/lib/talon_one/models/campaign_notification_base.rb +227 -0
  152. data/lib/talon_one/models/campaign_notification_generic.rb +244 -0
  153. data/lib/talon_one/models/campaign_notification_item_base.rb +212 -0
  154. data/lib/talon_one/models/campaign_notification_policy.rb +2 -0
  155. data/lib/talon_one/models/campaign_ruleset_changed_notification.rb +32 -23
  156. data/lib/talon_one/models/campaign_ruleset_changed_notification_item.rb +245 -0
  157. data/lib/talon_one/models/campaign_state_changed_notification.rb +30 -42
  158. data/lib/talon_one/models/campaign_state_changed_notification_item.rb +266 -0
  159. data/lib/talon_one/models/card_added_deducted_points_notification.rb +510 -0
  160. data/lib/talon_one/models/card_expiring_points_notification_policy.rb +2 -0
  161. data/lib/talon_one/models/card_ledger_points_entry_integration_api.rb +16 -1
  162. data/lib/talon_one/models/card_ledger_transaction_log_entry.rb +16 -1
  163. data/lib/talon_one/models/card_ledger_transaction_log_entry_integration_api.rb +16 -1
  164. data/lib/talon_one/models/catalogs_strikethrough_notification_policy.rb +16 -4
  165. data/lib/talon_one/models/coupons_notification_data.rb +278 -0
  166. data/lib/talon_one/models/coupons_notification_policy.rb +2 -0
  167. data/lib/talon_one/models/create_achievement.rb +14 -4
  168. data/lib/talon_one/models/create_coupon_data.rb +288 -0
  169. data/lib/talon_one/models/customer_profile.rb +1 -1
  170. data/lib/talon_one/models/deduct_loyalty_points.rb +0 -9
  171. data/lib/talon_one/models/delete_coupons_data.rb +310 -0
  172. data/lib/talon_one/models/effect.rb +0 -1
  173. data/lib/talon_one/models/expiring_card_points_data.rb +342 -0
  174. data/lib/talon_one/models/expiring_card_points_notification.rb +277 -0
  175. data/lib/talon_one/models/expiring_coupons_data.rb +369 -0
  176. data/lib/talon_one/models/expiring_coupons_notification.rb +277 -0
  177. data/lib/talon_one/models/expiring_coupons_notification_policy.rb +2 -0
  178. data/lib/talon_one/models/expiring_points_data.rb +291 -0
  179. data/lib/talon_one/models/expiring_points_notification.rb +277 -0
  180. data/lib/talon_one/models/expiring_points_notification_policy.rb +2 -0
  181. data/lib/talon_one/models/extend_loyalty_points_expiry_date_effect_props.rb +9 -24
  182. data/lib/talon_one/models/extended_coupon.rb +578 -0
  183. data/lib/talon_one/models/generate_audit_log_summary.rb +212 -0
  184. data/lib/talon_one/models/generate_campaign_description.rb +16 -1
  185. data/lib/talon_one/models/generate_coupon_failure_detailed_summary.rb +286 -0
  186. data/lib/talon_one/models/generate_coupon_failure_summary.rb +222 -0
  187. data/lib/talon_one/models/generate_user_session_summary.rb +227 -0
  188. data/lib/talon_one/models/get_integration_coupon_request.rb +2 -0
  189. data/lib/talon_one/models/inline_response20040.rb +1 -1
  190. data/lib/talon_one/models/inline_response20041.rb +1 -1
  191. data/lib/talon_one/models/inline_response20042.rb +11 -7
  192. data/lib/talon_one/models/inline_response20043.rb +1 -1
  193. data/lib/talon_one/models/inline_response20044.rb +7 -11
  194. data/lib/talon_one/models/inline_response20045.rb +11 -7
  195. data/lib/talon_one/models/inline_response20046.rb +2 -21
  196. data/lib/talon_one/models/inline_response20047.rb +2 -25
  197. data/lib/talon_one/models/inline_response20048.rb +16 -2
  198. data/lib/talon_one/models/inline_response20049.rb +21 -2
  199. data/lib/talon_one/models/jwt.rb +228 -0
  200. data/lib/talon_one/models/label_target_audience.rb +260 -0
  201. data/lib/talon_one/models/label_target_none.rb +246 -0
  202. data/lib/talon_one/models/ledger_points_entry_integration_api.rb +16 -1
  203. data/lib/talon_one/models/ledger_transaction_log_entry_integration_api.rb +17 -2
  204. data/lib/talon_one/models/loyalty_dashboard_data.rb +16 -1
  205. data/lib/talon_one/models/loyalty_ledger_entry_expiry_date_change.rb +238 -0
  206. data/lib/talon_one/models/loyalty_program.rb +1 -1
  207. data/lib/talon_one/models/loyalty_program_transaction.rb +16 -1
  208. data/lib/talon_one/models/new_loyalty_program.rb +1 -1
  209. data/lib/talon_one/models/new_message_test.rb +28 -43
  210. data/lib/talon_one/models/new_price_adjustment.rb +33 -4
  211. data/lib/talon_one/models/new_price_type.rb +3 -3
  212. data/lib/talon_one/models/new_secondary_deployment.rb +242 -0
  213. data/lib/talon_one/models/new_webhook.rb +14 -4
  214. data/lib/talon_one/models/pending_active_points_data.rb +308 -0
  215. data/lib/talon_one/models/pending_active_points_notification.rb +277 -0
  216. data/lib/talon_one/models/pending_points_notification_policy.rb +2 -0
  217. data/lib/talon_one/models/price_detail.rb +11 -1
  218. data/lib/talon_one/models/price_type.rb +3 -3
  219. data/lib/talon_one/models/price_type_reference_detail.rb +286 -0
  220. data/lib/talon_one/models/price_type_references.rb +224 -0
  221. data/lib/talon_one/models/role_v2_roles_group.rb +14 -4
  222. data/lib/talon_one/models/secondary_deployment.rb +367 -0
  223. data/lib/talon_one/models/set_loyalty_points_expiry_date_effect_props.rb +255 -0
  224. data/lib/talon_one/models/strikethrough_changed_item.rb +13 -1
  225. data/lib/talon_one/models/strikethrough_effect.rb +46 -4
  226. data/lib/talon_one/models/strikethrough_labeling_notification.rb +19 -4
  227. data/lib/talon_one/models/tier_downgrade_data.rb +328 -0
  228. data/lib/talon_one/models/tier_downgrade_notification.rb +277 -0
  229. data/lib/talon_one/models/tier_downgrade_notification_policy.rb +2 -0
  230. data/lib/talon_one/models/tier_upgrade_data.rb +353 -0
  231. data/lib/talon_one/models/tier_upgrade_notification.rb +277 -0
  232. data/lib/talon_one/models/tier_upgrade_notification_policy.rb +2 -0
  233. data/lib/talon_one/models/tier_will_downgrade_data.rb +328 -0
  234. data/lib/talon_one/models/tier_will_downgrade_notification.rb +277 -0
  235. data/lib/talon_one/models/tier_will_downgrade_notification_policy.rb +2 -0
  236. data/lib/talon_one/models/update_achievement.rb +14 -4
  237. data/lib/talon_one/models/update_coupons_data.rb +296 -0
  238. data/lib/talon_one/models/update_loyalty_program.rb +1 -1
  239. data/lib/talon_one/models/update_price_type.rb +239 -0
  240. data/lib/talon_one/models/webhook.rb +14 -4
  241. data/lib/talon_one/models/webhook_with_outgoing_integration_details.rb +11 -1
  242. data/lib/talon_one/version.rb +1 -1
  243. data/lib/talon_one.rb +51 -6
  244. data/spec/api/integration_api_spec.rb +23 -1
  245. data/spec/api/management_api_spec.rb +18 -54
  246. data/spec/models/account_limits_spec.rb +12 -0
  247. data/spec/models/achievement_base_spec.rb +6 -0
  248. data/spec/models/achievement_progress_with_definition_spec.rb +6 -0
  249. data/spec/models/achievement_spec.rb +6 -0
  250. data/spec/models/achievement_status_entry_spec.rb +6 -0
  251. data/spec/models/added_deducted_points_notification_spec.rb +125 -0
  252. data/spec/models/analytics_sku_spec.rb +12 -0
  253. data/spec/models/async_coupons_data_spec.rb +65 -0
  254. data/spec/models/audience_reference_spec.rb +53 -0
  255. data/spec/models/best_prior_price_metadata_spec.rb +47 -0
  256. data/spec/models/best_prior_price_request_spec.rb +65 -0
  257. data/spec/models/best_prior_price_request_target_spec.rb +51 -0
  258. data/spec/models/best_prior_price_spec.rb +71 -0
  259. data/spec/models/campaign_collection_edited_notification_item_spec.rb +59 -0
  260. data/spec/models/campaign_collection_edited_notification_spec.rb +3 -3
  261. data/spec/models/campaign_created_notification_item_spec.rb +59 -0
  262. data/spec/models/campaign_created_notification_spec.rb +3 -3
  263. data/spec/models/campaign_deleted_notification_item_spec.rb +53 -0
  264. data/spec/models/campaign_deleted_notification_spec.rb +8 -2
  265. data/spec/models/campaign_edited_notification_item_spec.rb +59 -0
  266. data/spec/models/campaign_edited_notification_spec.rb +3 -3
  267. data/spec/models/campaign_evaluation_tree_changed_message_spec.rb +53 -0
  268. data/spec/models/campaign_notification_base_spec.rb +47 -0
  269. data/spec/models/campaign_notification_generic_spec.rb +53 -0
  270. data/spec/models/campaign_notification_item_base_spec.rb +41 -0
  271. data/spec/models/campaign_ruleset_changed_notification_item_spec.rb +59 -0
  272. data/spec/models/campaign_ruleset_changed_notification_spec.rb +3 -3
  273. data/spec/models/campaign_state_changed_notification_item_spec.rb +65 -0
  274. data/spec/models/campaign_state_changed_notification_spec.rb +3 -9
  275. data/spec/models/card_added_deducted_points_notification_spec.rb +137 -0
  276. data/spec/models/card_ledger_points_entry_integration_api_spec.rb +6 -0
  277. data/spec/models/card_ledger_transaction_log_entry_integration_api_spec.rb +6 -0
  278. data/spec/models/card_ledger_transaction_log_entry_spec.rb +6 -0
  279. data/spec/models/catalogs_strikethrough_notification_policy_spec.rb +6 -0
  280. data/spec/models/coupons_notification_data_spec.rb +71 -0
  281. data/spec/models/create_achievement_spec.rb +6 -0
  282. data/spec/models/create_coupon_data_spec.rb +77 -0
  283. data/spec/models/delete_coupons_data_spec.rb +83 -0
  284. data/spec/models/expiring_card_points_data_spec.rb +77 -0
  285. data/spec/models/expiring_card_points_notification_spec.rb +57 -0
  286. data/spec/models/expiring_coupons_data_spec.rb +95 -0
  287. data/spec/models/expiring_coupons_notification_spec.rb +57 -0
  288. data/spec/models/expiring_points_data_spec.rb +65 -0
  289. data/spec/models/expiring_points_notification_spec.rb +57 -0
  290. data/spec/models/extend_loyalty_points_expiry_date_effect_props_spec.rb +1 -7
  291. data/spec/models/extended_coupon_spec.rb +173 -0
  292. data/spec/models/generate_audit_log_summary_spec.rb +41 -0
  293. data/spec/models/generate_campaign_description_spec.rb +6 -0
  294. data/spec/models/generate_coupon_failure_detailed_summary_spec.rb +65 -0
  295. data/spec/models/generate_coupon_failure_summary_spec.rb +47 -0
  296. data/spec/models/generate_user_session_summary_spec.rb +47 -0
  297. data/spec/models/inline_response20042_spec.rb +6 -0
  298. data/spec/models/inline_response20044_spec.rb +0 -6
  299. data/spec/models/inline_response20045_spec.rb +6 -0
  300. data/spec/models/inline_response20046_spec.rb +0 -6
  301. data/spec/models/inline_response20047_spec.rb +0 -12
  302. data/spec/models/inline_response20048_spec.rb +6 -0
  303. data/spec/models/inline_response20049_spec.rb +6 -0
  304. data/spec/models/jwt_spec.rb +47 -0
  305. data/spec/models/label_target_audience_spec.rb +51 -0
  306. data/spec/models/label_target_none_spec.rb +45 -0
  307. data/spec/models/ledger_points_entry_integration_api_spec.rb +6 -0
  308. data/spec/models/ledger_transaction_log_entry_integration_api_spec.rb +6 -0
  309. data/spec/models/loyalty_dashboard_data_spec.rb +6 -0
  310. data/spec/models/loyalty_ledger_entry_expiry_date_change_spec.rb +53 -0
  311. data/spec/models/loyalty_program_transaction_spec.rb +6 -0
  312. data/spec/models/new_message_test_spec.rb +10 -14
  313. data/spec/models/new_price_adjustment_spec.rb +6 -0
  314. data/spec/models/new_secondary_deployment_spec.rb +41 -0
  315. data/spec/models/new_webhook_spec.rb +6 -0
  316. data/spec/models/pending_active_points_data_spec.rb +77 -0
  317. data/spec/models/pending_active_points_notification_spec.rb +57 -0
  318. data/spec/models/price_detail_spec.rb +6 -0
  319. data/spec/models/price_type_reference_detail_spec.rb +63 -0
  320. data/spec/models/price_type_references_spec.rb +47 -0
  321. data/spec/models/role_v2_roles_group_spec.rb +6 -0
  322. data/spec/models/secondary_deployment_spec.rb +87 -0
  323. data/spec/models/set_loyalty_points_expiry_date_effect_props_spec.rb +59 -0
  324. data/spec/models/strikethrough_changed_item_spec.rb +6 -0
  325. data/spec/models/strikethrough_effect_spec.rb +24 -0
  326. data/spec/models/strikethrough_labeling_notification_spec.rb +6 -0
  327. data/spec/models/tier_downgrade_data_spec.rb +83 -0
  328. data/spec/models/tier_downgrade_notification_spec.rb +57 -0
  329. data/spec/models/tier_upgrade_data_spec.rb +95 -0
  330. data/spec/models/tier_upgrade_notification_spec.rb +57 -0
  331. data/spec/models/tier_will_downgrade_data_spec.rb +83 -0
  332. data/spec/models/tier_will_downgrade_notification_spec.rb +57 -0
  333. data/spec/models/update_achievement_spec.rb +6 -0
  334. data/spec/models/update_coupons_data_spec.rb +77 -0
  335. data/spec/models/update_price_type_spec.rb +53 -0
  336. data/spec/models/webhook_spec.rb +6 -0
  337. data/spec/models/webhook_with_outgoing_integration_details_spec.rb +6 -0
  338. metadata +206 -2
  339. data/.github/dependabot.yml +0 -10
@@ -63,7 +63,7 @@ module TalonOne
63
63
  return_type = opts[:return_type]
64
64
 
65
65
  # auth_names
66
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
66
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
67
67
 
68
68
  new_options = opts.merge(
69
69
  :header_params => header_params,
@@ -143,7 +143,7 @@ module TalonOne
143
143
  return_type = opts[:return_type]
144
144
 
145
145
  # auth_names
146
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
146
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
147
147
 
148
148
  new_options = opts.merge(
149
149
  :header_params => header_params,
@@ -219,7 +219,7 @@ module TalonOne
219
219
  return_type = opts[:return_type]
220
220
 
221
221
  # auth_names
222
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
222
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
223
223
 
224
224
  new_options = opts.merge(
225
225
  :header_params => header_params,
@@ -295,7 +295,7 @@ module TalonOne
295
295
  return_type = opts[:return_type] || 'InlineResponse2008'
296
296
 
297
297
  # auth_names
298
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
298
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
299
299
 
300
300
  new_options = opts.merge(
301
301
  :header_params => header_params,
@@ -359,7 +359,7 @@ module TalonOne
359
359
  return_type = opts[:return_type] || 'Collection'
360
360
 
361
361
  # auth_names
362
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
362
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
363
363
 
364
364
  new_options = opts.merge(
365
365
  :header_params => header_params,
@@ -435,7 +435,7 @@ module TalonOne
435
435
  return_type = opts[:return_type] || 'Achievement'
436
436
 
437
437
  # auth_names
438
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
438
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
439
439
 
440
440
  new_options = opts.merge(
441
441
  :header_params => header_params,
@@ -499,7 +499,7 @@ module TalonOne
499
499
  return_type = opts[:return_type] || 'AccountAdditionalCost'
500
500
 
501
501
  # auth_names
502
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
502
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
503
503
 
504
504
  new_options = opts.merge(
505
505
  :header_params => header_params,
@@ -563,7 +563,7 @@ module TalonOne
563
563
  return_type = opts[:return_type] || 'Attribute'
564
564
 
565
565
  # auth_names
566
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
566
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
567
567
 
568
568
  new_options = opts.merge(
569
569
  :header_params => header_params,
@@ -633,7 +633,7 @@ module TalonOne
633
633
  return_type = opts[:return_type] || 'LoyaltyCardBatchResponse'
634
634
 
635
635
  # auth_names
636
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
636
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
637
637
 
638
638
  new_options = opts.merge(
639
639
  :header_params => header_params,
@@ -703,7 +703,7 @@ module TalonOne
703
703
  return_type = opts[:return_type] || 'CreateTemplateCampaignResponse'
704
704
 
705
705
  # auth_names
706
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
706
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
707
707
 
708
708
  new_options = opts.merge(
709
709
  :header_params => header_params,
@@ -779,7 +779,7 @@ module TalonOne
779
779
  return_type = opts[:return_type]
780
780
 
781
781
  # auth_names
782
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
782
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
783
783
 
784
784
  new_options = opts.merge(
785
785
  :header_params => header_params,
@@ -855,7 +855,7 @@ module TalonOne
855
855
  return_type = opts[:return_type] || 'Collection'
856
856
 
857
857
  # auth_names
858
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
858
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
859
859
 
860
860
  new_options = opts.merge(
861
861
  :header_params => header_params,
@@ -934,7 +934,7 @@ module TalonOne
934
934
  return_type = opts[:return_type] || 'InlineResponse20010'
935
935
 
936
936
  # auth_names
937
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
937
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
938
938
 
939
939
  new_options = opts.merge(
940
940
  :header_params => header_params,
@@ -1010,7 +1010,7 @@ module TalonOne
1010
1010
  return_type = opts[:return_type] || 'AsyncCouponCreationResponse'
1011
1011
 
1012
1012
  # auth_names
1013
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1013
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1014
1014
 
1015
1015
  new_options = opts.merge(
1016
1016
  :header_params => header_params,
@@ -1086,7 +1086,7 @@ module TalonOne
1086
1086
  return_type = opts[:return_type] || 'AsyncCouponDeletionJobResponse'
1087
1087
 
1088
1088
  # auth_names
1089
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1089
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1090
1090
 
1091
1091
  new_options = opts.merge(
1092
1092
  :header_params => header_params,
@@ -1165,7 +1165,7 @@ module TalonOne
1165
1165
  return_type = opts[:return_type] || 'InlineResponse20010'
1166
1166
 
1167
1167
  # auth_names
1168
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1168
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1169
1169
 
1170
1170
  new_options = opts.merge(
1171
1171
  :header_params => header_params,
@@ -1229,7 +1229,7 @@ module TalonOne
1229
1229
  return_type = opts[:return_type] || 'NewInviteEmail'
1230
1230
 
1231
1231
  # auth_names
1232
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1232
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1233
1233
 
1234
1234
  new_options = opts.merge(
1235
1235
  :header_params => header_params,
@@ -1293,7 +1293,7 @@ module TalonOne
1293
1293
  return_type = opts[:return_type] || 'User'
1294
1294
 
1295
1295
  # auth_names
1296
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1296
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1297
1297
 
1298
1298
  new_options = opts.merge(
1299
1299
  :header_params => header_params,
@@ -1357,7 +1357,7 @@ module TalonOne
1357
1357
  return_type = opts[:return_type] || 'NewPasswordEmail'
1358
1358
 
1359
1359
  # auth_names
1360
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1360
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1361
1361
 
1362
1362
  new_options = opts.merge(
1363
1363
  :header_params => header_params,
@@ -1421,7 +1421,7 @@ module TalonOne
1421
1421
  return_type = opts[:return_type] || 'Session'
1422
1422
 
1423
1423
  # auth_names
1424
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1424
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1425
1425
 
1426
1426
  new_options = opts.merge(
1427
1427
  :header_params => header_params,
@@ -1491,7 +1491,7 @@ module TalonOne
1491
1491
  return_type = opts[:return_type] || 'Store'
1492
1492
 
1493
1493
  # auth_names
1494
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1494
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1495
1495
 
1496
1496
  new_options = opts.merge(
1497
1497
  :header_params => header_params,
@@ -1553,7 +1553,7 @@ module TalonOne
1553
1553
  return_type = opts[:return_type]
1554
1554
 
1555
1555
  # auth_names
1556
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1556
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1557
1557
 
1558
1558
  new_options = opts.merge(
1559
1559
  :header_params => header_params,
@@ -1633,7 +1633,7 @@ module TalonOne
1633
1633
  return_type = opts[:return_type]
1634
1634
 
1635
1635
  # auth_names
1636
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1636
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1637
1637
 
1638
1638
  new_options = opts.merge(
1639
1639
  :header_params => header_params,
@@ -1695,7 +1695,7 @@ module TalonOne
1695
1695
  return_type = opts[:return_type]
1696
1696
 
1697
1697
  # auth_names
1698
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1698
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1699
1699
 
1700
1700
  new_options = opts.merge(
1701
1701
  :header_params => header_params,
@@ -1769,7 +1769,7 @@ module TalonOne
1769
1769
  return_type = opts[:return_type]
1770
1770
 
1771
1771
  # auth_names
1772
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1772
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1773
1773
 
1774
1774
  new_options = opts.merge(
1775
1775
  :header_params => header_params,
@@ -1835,7 +1835,7 @@ module TalonOne
1835
1835
  return_type = opts[:return_type]
1836
1836
 
1837
1837
  # auth_names
1838
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1838
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1839
1839
 
1840
1840
  new_options = opts.merge(
1841
1841
  :header_params => header_params,
@@ -1917,7 +1917,7 @@ module TalonOne
1917
1917
  return_type = opts[:return_type]
1918
1918
 
1919
1919
  # auth_names
1920
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1920
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1921
1921
 
1922
1922
  new_options = opts.merge(
1923
1923
  :header_params => header_params,
@@ -1991,7 +1991,7 @@ module TalonOne
1991
1991
  return_type = opts[:return_type]
1992
1992
 
1993
1993
  # auth_names
1994
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
1994
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
1995
1995
 
1996
1996
  new_options = opts.merge(
1997
1997
  :header_params => header_params,
@@ -2063,7 +2063,7 @@ module TalonOne
2063
2063
  return_type = opts[:return_type]
2064
2064
 
2065
2065
  # auth_names
2066
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2066
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2067
2067
 
2068
2068
  new_options = opts.merge(
2069
2069
  :header_params => header_params,
@@ -2176,7 +2176,7 @@ module TalonOne
2176
2176
  return_type = opts[:return_type]
2177
2177
 
2178
2178
  # auth_names
2179
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2179
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2180
2180
 
2181
2181
  new_options = opts.merge(
2182
2182
  :header_params => header_params,
@@ -2248,7 +2248,7 @@ module TalonOne
2248
2248
  return_type = opts[:return_type]
2249
2249
 
2250
2250
  # auth_names
2251
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2251
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2252
2252
 
2253
2253
  new_options = opts.merge(
2254
2254
  :header_params => header_params,
@@ -2320,7 +2320,7 @@ module TalonOne
2320
2320
  return_type = opts[:return_type]
2321
2321
 
2322
2322
  # auth_names
2323
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2323
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2324
2324
 
2325
2325
  new_options = opts.merge(
2326
2326
  :header_params => header_params,
@@ -2388,7 +2388,7 @@ module TalonOne
2388
2388
  return_type = opts[:return_type]
2389
2389
 
2390
2390
  # auth_names
2391
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2391
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2392
2392
 
2393
2393
  new_options = opts.merge(
2394
2394
  :header_params => header_params,
@@ -2448,7 +2448,7 @@ module TalonOne
2448
2448
  return_type = opts[:return_type]
2449
2449
 
2450
2450
  # auth_names
2451
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2451
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2452
2452
 
2453
2453
  new_options = opts.merge(
2454
2454
  :header_params => header_params,
@@ -2510,7 +2510,7 @@ module TalonOne
2510
2510
  return_type = opts[:return_type]
2511
2511
 
2512
2512
  # auth_names
2513
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2513
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2514
2514
 
2515
2515
  new_options = opts.merge(
2516
2516
  :header_params => header_params,
@@ -2564,7 +2564,7 @@ module TalonOne
2564
2564
  return_type = opts[:return_type]
2565
2565
 
2566
2566
  # auth_names
2567
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2567
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2568
2568
 
2569
2569
  new_options = opts.merge(
2570
2570
  :header_params => header_params,
@@ -2632,7 +2632,7 @@ module TalonOne
2632
2632
  return_type = opts[:return_type]
2633
2633
 
2634
2634
  # auth_names
2635
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2635
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2636
2636
 
2637
2637
  new_options = opts.merge(
2638
2638
  :header_params => header_params,
@@ -2694,7 +2694,7 @@ module TalonOne
2694
2694
  return_type = opts[:return_type] || 'String'
2695
2695
 
2696
2696
  # auth_names
2697
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2697
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2698
2698
 
2699
2699
  new_options = opts.merge(
2700
2700
  :header_params => header_params,
@@ -2768,7 +2768,7 @@ module TalonOne
2768
2768
  return_type = opts[:return_type] || 'String'
2769
2769
 
2770
2770
  # auth_names
2771
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2771
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2772
2772
 
2773
2773
  new_options = opts.merge(
2774
2774
  :header_params => header_params,
@@ -2830,7 +2830,7 @@ module TalonOne
2830
2830
  return_type = opts[:return_type] || 'String'
2831
2831
 
2832
2832
  # auth_names
2833
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2833
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2834
2834
 
2835
2835
  new_options = opts.merge(
2836
2836
  :header_params => header_params,
@@ -2912,7 +2912,7 @@ module TalonOne
2912
2912
  return_type = opts[:return_type] || 'String'
2913
2913
 
2914
2914
  # auth_names
2915
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2915
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2916
2916
 
2917
2917
  new_options = opts.merge(
2918
2918
  :header_params => header_params,
@@ -2980,7 +2980,7 @@ module TalonOne
2980
2980
  return_type = opts[:return_type] || 'String'
2981
2981
 
2982
2982
  # auth_names
2983
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
2983
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
2984
2984
 
2985
2985
  new_options = opts.merge(
2986
2986
  :header_params => header_params,
@@ -3054,7 +3054,7 @@ module TalonOne
3054
3054
  return_type = opts[:return_type] || 'String'
3055
3055
 
3056
3056
  # auth_names
3057
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
3057
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
3058
3058
 
3059
3059
  new_options = opts.merge(
3060
3060
  :header_params => header_params,
@@ -3174,7 +3174,7 @@ module TalonOne
3174
3174
  return_type = opts[:return_type] || 'String'
3175
3175
 
3176
3176
  # auth_names
3177
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
3177
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
3178
3178
 
3179
3179
  new_options = opts.merge(
3180
3180
  :header_params => header_params,
@@ -3259,7 +3259,7 @@ module TalonOne
3259
3259
  return_type = opts[:return_type] || 'String'
3260
3260
 
3261
3261
  # auth_names
3262
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
3262
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
3263
3263
 
3264
3264
  new_options = opts.merge(
3265
3265
  :header_params => header_params,
@@ -3327,7 +3327,7 @@ module TalonOne
3327
3327
  return_type = opts[:return_type] || 'String'
3328
3328
 
3329
3329
  # auth_names
3330
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
3330
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
3331
3331
 
3332
3332
  new_options = opts.merge(
3333
3333
  :header_params => header_params,
@@ -3405,7 +3405,7 @@ module TalonOne
3405
3405
  return_type = opts[:return_type] || 'String'
3406
3406
 
3407
3407
  # auth_names
3408
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
3408
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
3409
3409
 
3410
3410
  new_options = opts.merge(
3411
3411
  :header_params => header_params,
@@ -3470,7 +3470,7 @@ module TalonOne
3470
3470
  return_type = opts[:return_type] || 'String'
3471
3471
 
3472
3472
  # auth_names
3473
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
3473
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
3474
3474
 
3475
3475
  new_options = opts.merge(
3476
3476
  :header_params => header_params,
@@ -3535,7 +3535,7 @@ module TalonOne
3535
3535
  return_type = opts[:return_type] || 'String'
3536
3536
 
3537
3537
  # auth_names
3538
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
3538
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
3539
3539
 
3540
3540
  new_options = opts.merge(
3541
3541
  :header_params => header_params,
@@ -3600,7 +3600,7 @@ module TalonOne
3600
3600
  return_type = opts[:return_type] || 'String'
3601
3601
 
3602
3602
  # auth_names
3603
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
3603
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
3604
3604
 
3605
3605
  new_options = opts.merge(
3606
3606
  :header_params => header_params,
@@ -3693,7 +3693,7 @@ module TalonOne
3693
3693
  return_type = opts[:return_type] || 'String'
3694
3694
 
3695
3695
  # auth_names
3696
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
3696
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
3697
3697
 
3698
3698
  new_options = opts.merge(
3699
3699
  :header_params => header_params,
@@ -3771,7 +3771,7 @@ module TalonOne
3771
3771
  return_type = opts[:return_type] || 'String'
3772
3772
 
3773
3773
  # auth_names
3774
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
3774
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
3775
3775
 
3776
3776
  new_options = opts.merge(
3777
3777
  :header_params => header_params,
@@ -3790,7 +3790,7 @@ module TalonOne
3790
3790
  end
3791
3791
 
3792
3792
  # Export customer's transaction logs
3793
- # Download a CSV file containing a customer's transaction logs in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance.
3793
+ # Download a CSV file containing a customer's transaction logs in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance. - `transactionUUID`: Unique identifier of the transaction in the UUID format.
3794
3794
  # @param range_start [DateTime] Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
3795
3795
  # @param range_end [DateTime] Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
3796
3796
  # @param loyalty_program_id [String] The identifier for the loyalty program.
@@ -3804,7 +3804,7 @@ module TalonOne
3804
3804
  end
3805
3805
 
3806
3806
  # Export customer's transaction logs
3807
- # Download a CSV file containing a customer's transaction logs in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance.
3807
+ # Download a CSV file containing a customer's transaction logs in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance. - `transactionUUID`: Unique identifier of the transaction in the UUID format.
3808
3808
  # @param range_start [DateTime] Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
3809
3809
  # @param range_end [DateTime] Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
3810
3810
  # @param loyalty_program_id [String] The identifier for the loyalty program.
@@ -3860,7 +3860,7 @@ module TalonOne
3860
3860
  return_type = opts[:return_type] || 'String'
3861
3861
 
3862
3862
  # auth_names
3863
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
3863
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
3864
3864
 
3865
3865
  new_options = opts.merge(
3866
3866
  :header_params => header_params,
@@ -3928,7 +3928,7 @@ module TalonOne
3928
3928
  return_type = opts[:return_type] || 'String'
3929
3929
 
3930
3930
  # auth_names
3931
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
3931
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
3932
3932
 
3933
3933
  new_options = opts.merge(
3934
3934
  :header_params => header_params,
@@ -4023,7 +4023,7 @@ module TalonOne
4023
4023
  return_type = opts[:return_type] || 'String'
4024
4024
 
4025
4025
  # auth_names
4026
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4026
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4027
4027
 
4028
4028
  new_options = opts.merge(
4029
4029
  :header_params => header_params,
@@ -4133,7 +4133,7 @@ module TalonOne
4133
4133
  return_type = opts[:return_type] || 'InlineResponse20022'
4134
4134
 
4135
4135
  # auth_names
4136
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4136
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4137
4137
 
4138
4138
  new_options = opts.merge(
4139
4139
  :header_params => header_params,
@@ -4195,7 +4195,7 @@ module TalonOne
4195
4195
  return_type = opts[:return_type] || 'Account'
4196
4196
 
4197
4197
  # auth_names
4198
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4198
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4199
4199
 
4200
4200
  new_options = opts.merge(
4201
4201
  :header_params => header_params,
@@ -4257,7 +4257,7 @@ module TalonOne
4257
4257
  return_type = opts[:return_type] || 'AccountAnalytics'
4258
4258
 
4259
4259
  # auth_names
4260
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4260
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4261
4261
 
4262
4262
  new_options = opts.merge(
4263
4263
  :header_params => header_params,
@@ -4319,7 +4319,7 @@ module TalonOne
4319
4319
  return_type = opts[:return_type] || 'Collection'
4320
4320
 
4321
4321
  # auth_names
4322
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4322
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4323
4323
 
4324
4324
  new_options = opts.merge(
4325
4325
  :header_params => header_params,
@@ -4393,7 +4393,7 @@ module TalonOne
4393
4393
  return_type = opts[:return_type] || 'Achievement'
4394
4394
 
4395
4395
  # auth_names
4396
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4396
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4397
4397
 
4398
4398
  new_options = opts.merge(
4399
4399
  :header_params => header_params,
@@ -4455,7 +4455,7 @@ module TalonOne
4455
4455
  return_type = opts[:return_type] || 'AccountAdditionalCost'
4456
4456
 
4457
4457
  # auth_names
4458
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4458
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4459
4459
 
4460
4460
  new_options = opts.merge(
4461
4461
  :header_params => header_params,
@@ -4528,7 +4528,7 @@ module TalonOne
4528
4528
  return_type = opts[:return_type] || 'InlineResponse20038'
4529
4529
 
4530
4530
  # auth_names
4531
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4531
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4532
4532
 
4533
4533
  new_options = opts.merge(
4534
4534
  :header_params => header_params,
@@ -4590,7 +4590,7 @@ module TalonOne
4590
4590
  return_type = opts[:return_type] || 'Application'
4591
4591
 
4592
4592
  # auth_names
4593
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4593
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4594
4594
 
4595
4595
  new_options = opts.merge(
4596
4596
  :header_params => header_params,
@@ -4652,7 +4652,7 @@ module TalonOne
4652
4652
  return_type = opts[:return_type] || 'ApplicationApiHealth'
4653
4653
 
4654
4654
  # auth_names
4655
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4655
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4656
4656
 
4657
4657
  new_options = opts.merge(
4658
4658
  :header_params => header_params,
@@ -4720,7 +4720,7 @@ module TalonOne
4720
4720
  return_type = opts[:return_type] || 'ApplicationCustomer'
4721
4721
 
4722
4722
  # auth_names
4723
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4723
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4724
4724
 
4725
4725
  new_options = opts.merge(
4726
4726
  :header_params => header_params,
@@ -4808,7 +4808,7 @@ module TalonOne
4808
4808
  return_type = opts[:return_type] || 'InlineResponse20035'
4809
4809
 
4810
4810
  # auth_names
4811
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4811
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4812
4812
 
4813
4813
  new_options = opts.merge(
4814
4814
  :header_params => header_params,
@@ -4890,7 +4890,7 @@ module TalonOne
4890
4890
  return_type = opts[:return_type] || 'InlineResponse20024'
4891
4891
 
4892
4892
  # auth_names
4893
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4893
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4894
4894
 
4895
4895
  new_options = opts.merge(
4896
4896
  :header_params => header_params,
@@ -4977,7 +4977,7 @@ module TalonOne
4977
4977
  return_type = opts[:return_type] || 'InlineResponse20025'
4978
4978
 
4979
4979
  # auth_names
4980
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
4980
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
4981
4981
 
4982
4982
  new_options = opts.merge(
4983
4983
  :header_params => header_params,
@@ -5056,7 +5056,7 @@ module TalonOne
5056
5056
  return_type = opts[:return_type] || 'InlineResponse20031'
5057
5057
 
5058
5058
  # auth_names
5059
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
5059
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
5060
5060
 
5061
5061
  new_options = opts.merge(
5062
5062
  :header_params => header_params,
@@ -5092,6 +5092,7 @@ module TalonOne
5092
5092
  # @option opts [String] :referral_code Referral code
5093
5093
  # @option opts [String] :rule_query Rule name filter for events
5094
5094
  # @option opts [String] :campaign_query Campaign name filter for events
5095
+ # @option opts [String] :effect_type The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects).
5095
5096
  # @return [InlineResponse20030]
5096
5097
  def get_application_events_without_total_count(application_id, opts = {})
5097
5098
  data, _status_code, _headers = get_application_events_without_total_count_with_http_info(application_id, opts)
@@ -5116,6 +5117,7 @@ module TalonOne
5116
5117
  # @option opts [String] :referral_code Referral code
5117
5118
  # @option opts [String] :rule_query Rule name filter for events
5118
5119
  # @option opts [String] :campaign_query Campaign name filter for events
5120
+ # @option opts [String] :effect_type The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects).
5119
5121
  # @return [Array<(InlineResponse20030, Integer, Hash)>] InlineResponse20030 data, response status code and response headers
5120
5122
  def get_application_events_without_total_count_with_http_info(application_id, opts = {})
5121
5123
  if @api_client.config.debugging
@@ -5160,6 +5162,7 @@ module TalonOne
5160
5162
  query_params[:'referralCode'] = opts[:'referral_code'] if !opts[:'referral_code'].nil?
5161
5163
  query_params[:'ruleQuery'] = opts[:'rule_query'] if !opts[:'rule_query'].nil?
5162
5164
  query_params[:'campaignQuery'] = opts[:'campaign_query'] if !opts[:'campaign_query'].nil?
5165
+ query_params[:'effectType'] = opts[:'effect_type'] if !opts[:'effect_type'].nil?
5163
5166
 
5164
5167
  # header parameters
5165
5168
  header_params = opts[:header_params] || {}
@@ -5176,7 +5179,7 @@ module TalonOne
5176
5179
  return_type = opts[:return_type] || 'InlineResponse20030'
5177
5180
 
5178
5181
  # auth_names
5179
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
5182
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
5180
5183
 
5181
5184
  new_options = opts.merge(
5182
5185
  :header_params => header_params,
@@ -5244,7 +5247,7 @@ module TalonOne
5244
5247
  return_type = opts[:return_type] || 'ApplicationSession'
5245
5248
 
5246
5249
  # auth_names
5247
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
5250
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
5248
5251
 
5249
5252
  new_options = opts.merge(
5250
5253
  :header_params => header_params,
@@ -5351,7 +5354,7 @@ module TalonOne
5351
5354
  return_type = opts[:return_type] || 'InlineResponse20029'
5352
5355
 
5353
5356
  # auth_names
5354
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
5357
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
5355
5358
 
5356
5359
  new_options = opts.merge(
5357
5360
  :header_params => header_params,
@@ -5424,7 +5427,7 @@ module TalonOne
5424
5427
  return_type = opts[:return_type] || 'InlineResponse2007'
5425
5428
 
5426
5429
  # auth_names
5427
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
5430
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
5428
5431
 
5429
5432
  new_options = opts.merge(
5430
5433
  :header_params => header_params,
@@ -5486,7 +5489,7 @@ module TalonOne
5486
5489
  return_type = opts[:return_type] || 'Attribute'
5487
5490
 
5488
5491
  # auth_names
5489
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
5492
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
5490
5493
 
5491
5494
  new_options = opts.merge(
5492
5495
  :header_params => header_params,
@@ -5562,7 +5565,7 @@ module TalonOne
5562
5565
  return_type = opts[:return_type] || 'InlineResponse20036'
5563
5566
 
5564
5567
  # auth_names
5565
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
5568
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
5566
5569
 
5567
5570
  new_options = opts.merge(
5568
5571
  :header_params => header_params,
@@ -5644,7 +5647,7 @@ module TalonOne
5644
5647
  return_type = opts[:return_type] || 'InlineResponse20034'
5645
5648
 
5646
5649
  # auth_names
5647
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
5650
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
5648
5651
 
5649
5652
  new_options = opts.merge(
5650
5653
  :header_params => header_params,
@@ -5720,7 +5723,7 @@ module TalonOne
5720
5723
  return_type = opts[:return_type] || 'InlineResponse20032'
5721
5724
 
5722
5725
  # auth_names
5723
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
5726
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
5724
5727
 
5725
5728
  new_options = opts.merge(
5726
5729
  :header_params => header_params,
@@ -5786,7 +5789,7 @@ module TalonOne
5786
5789
  return_type = opts[:return_type] || 'InlineResponse20033'
5787
5790
 
5788
5791
  # auth_names
5789
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
5792
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
5790
5793
 
5791
5794
  new_options = opts.merge(
5792
5795
  :header_params => header_params,
@@ -5854,7 +5857,7 @@ module TalonOne
5854
5857
  return_type = opts[:return_type] || 'Campaign'
5855
5858
 
5856
5859
  # auth_names
5857
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
5860
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
5858
5861
 
5859
5862
  new_options = opts.merge(
5860
5863
  :header_params => header_params,
@@ -5943,7 +5946,7 @@ module TalonOne
5943
5946
  return_type = opts[:return_type] || 'InlineResponse20023'
5944
5947
 
5945
5948
  # auth_names
5946
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
5949
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
5947
5950
 
5948
5951
  new_options = opts.merge(
5949
5952
  :header_params => header_params,
@@ -6037,7 +6040,7 @@ module TalonOne
6037
6040
  return_type = opts[:return_type] || 'InlineResponse2008'
6038
6041
 
6039
6042
  # auth_names
6040
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
6043
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
6041
6044
 
6042
6045
  new_options = opts.merge(
6043
6046
  :header_params => header_params,
@@ -6099,7 +6102,7 @@ module TalonOne
6099
6102
  return_type = opts[:return_type] || 'CampaignGroup'
6100
6103
 
6101
6104
  # auth_names
6102
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
6105
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
6103
6106
 
6104
6107
  new_options = opts.merge(
6105
6108
  :header_params => header_params,
@@ -6172,7 +6175,7 @@ module TalonOne
6172
6175
  return_type = opts[:return_type] || 'InlineResponse20013'
6173
6176
 
6174
6177
  # auth_names
6175
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
6178
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
6176
6179
 
6177
6180
  new_options = opts.merge(
6178
6181
  :header_params => header_params,
@@ -6261,7 +6264,7 @@ module TalonOne
6261
6264
  return_type = opts[:return_type] || 'InlineResponse20014'
6262
6265
 
6263
6266
  # auth_names
6264
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
6267
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
6265
6268
 
6266
6269
  new_options = opts.merge(
6267
6270
  :header_params => header_params,
@@ -6368,7 +6371,7 @@ module TalonOne
6368
6371
  return_type = opts[:return_type] || 'InlineResponse2008'
6369
6372
 
6370
6373
  # auth_names
6371
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
6374
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
6372
6375
 
6373
6376
  new_options = opts.merge(
6374
6377
  :header_params => header_params,
@@ -6400,7 +6403,7 @@ module TalonOne
6400
6403
  # @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When &#x60;true&#x60;: &#x60;hasMore&#x60; is true when there is a next page. &#x60;totalResultSize&#x60; is always zero. - When &#x60;false&#x60;: &#x60;hasMore&#x60; is always false. &#x60;totalResultSize&#x60; contains the total number of results for this query.
6401
6404
  # @option opts [Integer] :management_key_id Filter results that match the given management key ID.
6402
6405
  # @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.
6403
- # @return [InlineResponse20044]
6406
+ # @return [InlineResponse20042]
6404
6407
  def get_changes(opts = {})
6405
6408
  data, _status_code, _headers = get_changes_with_http_info(opts)
6406
6409
  data
@@ -6420,7 +6423,7 @@ module TalonOne
6420
6423
  # @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When &#x60;true&#x60;: &#x60;hasMore&#x60; is true when there is a next page. &#x60;totalResultSize&#x60; is always zero. - When &#x60;false&#x60;: &#x60;hasMore&#x60; is always false. &#x60;totalResultSize&#x60; contains the total number of results for this query.
6421
6424
  # @option opts [Integer] :management_key_id Filter results that match the given management key ID.
6422
6425
  # @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.
6423
- # @return [Array<(InlineResponse20044, Integer, Hash)>] InlineResponse20044 data, response status code and response headers
6426
+ # @return [Array<(InlineResponse20042, Integer, Hash)>] InlineResponse20042 data, response status code and response headers
6424
6427
  def get_changes_with_http_info(opts = {})
6425
6428
  if @api_client.config.debugging
6426
6429
  @api_client.config.logger.debug 'Calling API: ManagementApi.get_changes ...'
@@ -6462,10 +6465,10 @@ module TalonOne
6462
6465
  post_body = opts[:body]
6463
6466
 
6464
6467
  # return_type
6465
- return_type = opts[:return_type] || 'InlineResponse20044'
6468
+ return_type = opts[:return_type] || 'InlineResponse20042'
6466
6469
 
6467
6470
  # auth_names
6468
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
6471
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
6469
6472
 
6470
6473
  new_options = opts.merge(
6471
6474
  :header_params => header_params,
@@ -6539,7 +6542,7 @@ module TalonOne
6539
6542
  return_type = opts[:return_type] || 'Collection'
6540
6543
 
6541
6544
  # auth_names
6542
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
6545
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
6543
6546
 
6544
6547
  new_options = opts.merge(
6545
6548
  :header_params => header_params,
@@ -6615,7 +6618,7 @@ module TalonOne
6615
6618
  return_type = opts[:return_type] || 'InlineResponse20021'
6616
6619
 
6617
6620
  # auth_names
6618
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
6621
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
6619
6622
 
6620
6623
  new_options = opts.merge(
6621
6624
  :header_params => header_params,
@@ -6757,7 +6760,7 @@ module TalonOne
6757
6760
  return_type = opts[:return_type] || 'InlineResponse20011'
6758
6761
 
6759
6762
  # auth_names
6760
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
6763
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
6761
6764
 
6762
6765
  new_options = opts.merge(
6763
6766
  :header_params => header_params,
@@ -6853,7 +6856,7 @@ module TalonOne
6853
6856
  return_type = opts[:return_type] || 'CustomerActivityReport'
6854
6857
 
6855
6858
  # auth_names
6856
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
6859
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
6857
6860
 
6858
6861
  new_options = opts.merge(
6859
6862
  :header_params => header_params,
@@ -6958,7 +6961,7 @@ module TalonOne
6958
6961
  return_type = opts[:return_type] || 'InlineResponse20028'
6959
6962
 
6960
6963
  # auth_names
6961
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
6964
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
6962
6965
 
6963
6966
  new_options = opts.merge(
6964
6967
  :header_params => header_params,
@@ -7043,7 +7046,7 @@ module TalonOne
7043
7046
  return_type = opts[:return_type] || 'CustomerAnalytics'
7044
7047
 
7045
7048
  # auth_names
7046
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7049
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7047
7050
 
7048
7051
  new_options = opts.merge(
7049
7052
  :header_params => header_params,
@@ -7105,7 +7108,7 @@ module TalonOne
7105
7108
  return_type = opts[:return_type] || 'CustomerProfile'
7106
7109
 
7107
7110
  # auth_names
7108
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7111
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7109
7112
 
7110
7113
  new_options = opts.merge(
7111
7114
  :header_params => header_params,
@@ -7132,7 +7135,7 @@ module TalonOne
7132
7135
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
7133
7136
  # @option opts [Integer] :achievement_id The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint.
7134
7137
  # @option opts [String] :title Filter results by the &#x60;title&#x60; of an achievement.
7135
- # @return [InlineResponse20051]
7138
+ # @return [InlineResponse20049]
7136
7139
  def get_customer_profile_achievement_progress(application_id, integration_id, opts = {})
7137
7140
  data, _status_code, _headers = get_customer_profile_achievement_progress_with_http_info(application_id, integration_id, opts)
7138
7141
  data
@@ -7147,7 +7150,7 @@ module TalonOne
7147
7150
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
7148
7151
  # @option opts [Integer] :achievement_id The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint.
7149
7152
  # @option opts [String] :title Filter results by the &#x60;title&#x60; of an achievement.
7150
- # @return [Array<(InlineResponse20051, Integer, Hash)>] InlineResponse20051 data, response status code and response headers
7153
+ # @return [Array<(InlineResponse20049, Integer, Hash)>] InlineResponse20049 data, response status code and response headers
7151
7154
  def get_customer_profile_achievement_progress_with_http_info(application_id, integration_id, opts = {})
7152
7155
  if @api_client.config.debugging
7153
7156
  @api_client.config.logger.debug 'Calling API: ManagementApi.get_customer_profile_achievement_progress ...'
@@ -7190,10 +7193,10 @@ module TalonOne
7190
7193
  post_body = opts[:body]
7191
7194
 
7192
7195
  # return_type
7193
- return_type = opts[:return_type] || 'InlineResponse20051'
7196
+ return_type = opts[:return_type] || 'InlineResponse20049'
7194
7197
 
7195
7198
  # auth_names
7196
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7199
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7197
7200
 
7198
7201
  new_options = opts.merge(
7199
7202
  :header_params => header_params,
@@ -7266,7 +7269,7 @@ module TalonOne
7266
7269
  return_type = opts[:return_type] || 'InlineResponse20027'
7267
7270
 
7268
7271
  # auth_names
7269
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7272
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7270
7273
 
7271
7274
  new_options = opts.merge(
7272
7275
  :header_params => header_params,
@@ -7347,7 +7350,7 @@ module TalonOne
7347
7350
  return_type = opts[:return_type] || 'InlineResponse20026'
7348
7351
 
7349
7352
  # auth_names
7350
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7353
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7351
7354
 
7352
7355
  new_options = opts.merge(
7353
7356
  :header_params => header_params,
@@ -7426,7 +7429,7 @@ module TalonOne
7426
7429
  return_type = opts[:return_type] || 'InlineResponse20016'
7427
7430
 
7428
7431
  # auth_names
7429
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7432
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7430
7433
 
7431
7434
  new_options = opts.merge(
7432
7435
  :header_params => header_params,
@@ -7452,7 +7455,7 @@ module TalonOne
7452
7455
  # @option opts [Integer] :page_size The number of items in the response. (default to 1000)
7453
7456
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
7454
7457
  # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with &#x60;-&#x60;. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
7455
- # @return [InlineResponse20042]
7458
+ # @return [InlineResponse20040]
7456
7459
  def get_event_types(opts = {})
7457
7460
  data, _status_code, _headers = get_event_types_with_http_info(opts)
7458
7461
  data
@@ -7466,7 +7469,7 @@ module TalonOne
7466
7469
  # @option opts [Integer] :page_size The number of items in the response.
7467
7470
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
7468
7471
  # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with &#x60;-&#x60;. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
7469
- # @return [Array<(InlineResponse20042, Integer, Hash)>] InlineResponse20042 data, response status code and response headers
7472
+ # @return [Array<(InlineResponse20040, Integer, Hash)>] InlineResponse20040 data, response status code and response headers
7470
7473
  def get_event_types_with_http_info(opts = {})
7471
7474
  if @api_client.config.debugging
7472
7475
  @api_client.config.logger.debug 'Calling API: ManagementApi.get_event_types ...'
@@ -7502,10 +7505,10 @@ module TalonOne
7502
7505
  post_body = opts[:body]
7503
7506
 
7504
7507
  # return_type
7505
- return_type = opts[:return_type] || 'InlineResponse20042'
7508
+ return_type = opts[:return_type] || 'InlineResponse20040'
7506
7509
 
7507
7510
  # auth_names
7508
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7511
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7509
7512
 
7510
7513
  new_options = opts.merge(
7511
7514
  :header_params => header_params,
@@ -7531,7 +7534,7 @@ module TalonOne
7531
7534
  # @option opts [Float] :application_id Filter results by Application ID.
7532
7535
  # @option opts [Integer] :campaign_id Filter by the campaign ID on which the limit counters are used.
7533
7536
  # @option opts [String] :entity The name of the entity type that was exported.
7534
- # @return [InlineResponse20045]
7537
+ # @return [InlineResponse20043]
7535
7538
  def get_exports(opts = {})
7536
7539
  data, _status_code, _headers = get_exports_with_http_info(opts)
7537
7540
  data
@@ -7545,7 +7548,7 @@ module TalonOne
7545
7548
  # @option opts [Float] :application_id Filter results by Application ID.
7546
7549
  # @option opts [Integer] :campaign_id Filter by the campaign ID on which the limit counters are used.
7547
7550
  # @option opts [String] :entity The name of the entity type that was exported.
7548
- # @return [Array<(InlineResponse20045, Integer, Hash)>] InlineResponse20045 data, response status code and response headers
7551
+ # @return [Array<(InlineResponse20043, Integer, Hash)>] InlineResponse20043 data, response status code and response headers
7549
7552
  def get_exports_with_http_info(opts = {})
7550
7553
  if @api_client.config.debugging
7551
7554
  @api_client.config.logger.debug 'Calling API: ManagementApi.get_exports ...'
@@ -7585,10 +7588,10 @@ module TalonOne
7585
7588
  post_body = opts[:body]
7586
7589
 
7587
7590
  # return_type
7588
- return_type = opts[:return_type] || 'InlineResponse20045'
7591
+ return_type = opts[:return_type] || 'InlineResponse20043'
7589
7592
 
7590
7593
  # auth_names
7591
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7594
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7592
7595
 
7593
7596
  new_options = opts.merge(
7594
7597
  :header_params => header_params,
@@ -7660,7 +7663,7 @@ module TalonOne
7660
7663
  return_type = opts[:return_type] || 'LoyaltyCard'
7661
7664
 
7662
7665
  # auth_names
7663
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7666
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7664
7667
 
7665
7668
  new_options = opts.merge(
7666
7669
  :header_params => header_params,
@@ -7688,6 +7691,8 @@ module TalonOne
7688
7691
  # @option opts [Integer] :page_size The number of items in the response. (default to 1000)
7689
7692
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
7690
7693
  # @option opts [String] :subledger_id The ID of the subledger by which we filter the data.
7694
+ # @option opts [Array<String>] :customer_session_i_ds Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, &#x60;?customerSessionIDs&#x3D;id1&amp;customerSessionIDs&#x3D;id2&#x60;. The response contains only data associated with the specified sessions.
7695
+ # @option opts [Array<String>] :transaction_uui_ds Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, &#x60;?transactionUUIDs&#x3D;uuid1&amp;transactionUUIDs&#x3D;uuid2&#x60;. The response contains only data associated with the specified transactions.
7691
7696
  # @return [InlineResponse20019]
7692
7697
  def get_loyalty_card_transaction_logs(loyalty_program_id, loyalty_card_id, opts = {})
7693
7698
  data, _status_code, _headers = get_loyalty_card_transaction_logs_with_http_info(loyalty_program_id, loyalty_card_id, opts)
@@ -7704,6 +7709,8 @@ module TalonOne
7704
7709
  # @option opts [Integer] :page_size The number of items in the response.
7705
7710
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
7706
7711
  # @option opts [String] :subledger_id The ID of the subledger by which we filter the data.
7712
+ # @option opts [Array<String>] :customer_session_i_ds Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, &#x60;?customerSessionIDs&#x3D;id1&amp;customerSessionIDs&#x3D;id2&#x60;. The response contains only data associated with the specified sessions.
7713
+ # @option opts [Array<String>] :transaction_uui_ds Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, &#x60;?transactionUUIDs&#x3D;uuid1&amp;transactionUUIDs&#x3D;uuid2&#x60;. The response contains only data associated with the specified transactions.
7707
7714
  # @return [Array<(InlineResponse20019, Integer, Hash)>] InlineResponse20019 data, response status code and response headers
7708
7715
  def get_loyalty_card_transaction_logs_with_http_info(loyalty_program_id, loyalty_card_id, opts = {})
7709
7716
  if @api_client.config.debugging
@@ -7739,6 +7746,8 @@ module TalonOne
7739
7746
  query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
7740
7747
  query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
7741
7748
  query_params[:'subledgerId'] = opts[:'subledger_id'] if !opts[:'subledger_id'].nil?
7749
+ query_params[:'customerSessionIDs'] = @api_client.build_collection_param(opts[:'customer_session_i_ds'], :multi) if !opts[:'customer_session_i_ds'].nil?
7750
+ query_params[:'transactionUUIDs'] = @api_client.build_collection_param(opts[:'transaction_uui_ds'], :multi) if !opts[:'transaction_uui_ds'].nil?
7742
7751
 
7743
7752
  # header parameters
7744
7753
  header_params = opts[:header_params] || {}
@@ -7755,7 +7764,7 @@ module TalonOne
7755
7764
  return_type = opts[:return_type] || 'InlineResponse20019'
7756
7765
 
7757
7766
  # auth_names
7758
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7767
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7759
7768
 
7760
7769
  new_options = opts.merge(
7761
7770
  :header_params => header_params,
@@ -7851,7 +7860,7 @@ module TalonOne
7851
7860
  return_type = opts[:return_type] || 'InlineResponse20018'
7852
7861
 
7853
7862
  # auth_names
7854
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7863
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7855
7864
 
7856
7865
  new_options = opts.merge(
7857
7866
  :header_params => header_params,
@@ -7919,7 +7928,7 @@ module TalonOne
7919
7928
  return_type = opts[:return_type] || 'LoyaltyLedger'
7920
7929
 
7921
7930
  # auth_names
7922
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7931
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7923
7932
 
7924
7933
  new_options = opts.merge(
7925
7934
  :header_params => header_params,
@@ -7981,7 +7990,7 @@ module TalonOne
7981
7990
  return_type = opts[:return_type] || 'LoyaltyProgram'
7982
7991
 
7983
7992
  # auth_names
7984
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
7993
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
7985
7994
 
7986
7995
  new_options = opts.merge(
7987
7996
  :header_params => header_params,
@@ -8005,6 +8014,8 @@ module TalonOne
8005
8014
  # @param [Hash] opts the optional parameters
8006
8015
  # @option opts [String] :loyalty_transaction_type Filter results by loyalty transaction type: - &#x60;manual&#x60;: Loyalty transaction that was done manually. - &#x60;session&#x60;: Loyalty transaction that resulted from a customer session. - &#x60;import&#x60;: Loyalty transaction that was imported from a CSV file.
8007
8016
  # @option opts [String] :subledger_id The ID of the subledger by which we filter the data.
8017
+ # @option opts [Array<String>] :customer_session_i_ds Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, &#x60;?customerSessionIDs&#x3D;id1&amp;customerSessionIDs&#x3D;id2&#x60;. The response contains only data associated with the specified sessions.
8018
+ # @option opts [Array<String>] :transaction_uui_ds Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, &#x60;?transactionUUIDs&#x3D;uuid1&amp;transactionUUIDs&#x3D;uuid2&#x60;. The response contains only data associated with the specified transactions.
8008
8019
  # @option opts [DateTime] :start_date Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, &#x60;T23:59:59&#x60; to specify the end of the day. The time zone setting considered is &#x60;UTC&#x60;. If you do not include a time component, a default time value of &#x60;T00:00:00&#x60; (midnight) in &#x60;UTC&#x60; is considered.
8009
8020
  # @option opts [DateTime] :end_date Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, &#x60;T23:59:59&#x60; to specify the end of the day. The time zone setting considered is &#x60;UTC&#x60;. If you do not include a time component, a default time value of &#x60;T00:00:00&#x60; (midnight) in &#x60;UTC&#x60; is considered.
8010
8021
  # @option opts [Integer] :page_size The number of items in the response. (default to 50)
@@ -8021,6 +8032,8 @@ module TalonOne
8021
8032
  # @param [Hash] opts the optional parameters
8022
8033
  # @option opts [String] :loyalty_transaction_type Filter results by loyalty transaction type: - &#x60;manual&#x60;: Loyalty transaction that was done manually. - &#x60;session&#x60;: Loyalty transaction that resulted from a customer session. - &#x60;import&#x60;: Loyalty transaction that was imported from a CSV file.
8023
8034
  # @option opts [String] :subledger_id The ID of the subledger by which we filter the data.
8035
+ # @option opts [Array<String>] :customer_session_i_ds Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, &#x60;?customerSessionIDs&#x3D;id1&amp;customerSessionIDs&#x3D;id2&#x60;. The response contains only data associated with the specified sessions.
8036
+ # @option opts [Array<String>] :transaction_uui_ds Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, &#x60;?transactionUUIDs&#x3D;uuid1&amp;transactionUUIDs&#x3D;uuid2&#x60;. The response contains only data associated with the specified transactions.
8024
8037
  # @option opts [DateTime] :start_date Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, &#x60;T23:59:59&#x60; to specify the end of the day. The time zone setting considered is &#x60;UTC&#x60;. If you do not include a time component, a default time value of &#x60;T00:00:00&#x60; (midnight) in &#x60;UTC&#x60; is considered.
8025
8038
  # @option opts [DateTime] :end_date Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, &#x60;T23:59:59&#x60; to specify the end of the day. The time zone setting considered is &#x60;UTC&#x60;. If you do not include a time component, a default time value of &#x60;T00:00:00&#x60; (midnight) in &#x60;UTC&#x60; is considered.
8026
8039
  # @option opts [Integer] :page_size The number of items in the response.
@@ -8038,8 +8051,8 @@ module TalonOne
8038
8051
  if @api_client.config.client_side_validation && opts[:'loyalty_transaction_type'] && !allowable_values.include?(opts[:'loyalty_transaction_type'])
8039
8052
  fail ArgumentError, "invalid value for \"loyalty_transaction_type\", must be one of #{allowable_values}"
8040
8053
  end
8041
- if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 50
8042
- fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling ManagementApi.get_loyalty_program_transactions, must be smaller than or equal to 50.'
8054
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 1000
8055
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling ManagementApi.get_loyalty_program_transactions, must be smaller than or equal to 1000.'
8043
8056
  end
8044
8057
 
8045
8058
  if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
@@ -8053,6 +8066,8 @@ module TalonOne
8053
8066
  query_params = opts[:query_params] || {}
8054
8067
  query_params[:'loyaltyTransactionType'] = opts[:'loyalty_transaction_type'] if !opts[:'loyalty_transaction_type'].nil?
8055
8068
  query_params[:'subledgerId'] = opts[:'subledger_id'] if !opts[:'subledger_id'].nil?
8069
+ query_params[:'customerSessionIDs'] = @api_client.build_collection_param(opts[:'customer_session_i_ds'], :multi) if !opts[:'customer_session_i_ds'].nil?
8070
+ query_params[:'transactionUUIDs'] = @api_client.build_collection_param(opts[:'transaction_uui_ds'], :multi) if !opts[:'transaction_uui_ds'].nil?
8056
8071
  query_params[:'startDate'] = opts[:'start_date'] if !opts[:'start_date'].nil?
8057
8072
  query_params[:'endDate'] = opts[:'end_date'] if !opts[:'end_date'].nil?
8058
8073
  query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
@@ -8073,7 +8088,7 @@ module TalonOne
8073
8088
  return_type = opts[:return_type] || 'InlineResponse20017'
8074
8089
 
8075
8090
  # auth_names
8076
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8091
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
8077
8092
 
8078
8093
  new_options = opts.merge(
8079
8094
  :header_params => header_params,
@@ -8129,7 +8144,7 @@ module TalonOne
8129
8144
  return_type = opts[:return_type] || 'InlineResponse20015'
8130
8145
 
8131
8146
  # auth_names
8132
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8147
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
8133
8148
 
8134
8149
  new_options = opts.merge(
8135
8150
  :header_params => header_params,
@@ -8191,7 +8206,7 @@ module TalonOne
8191
8206
  return_type = opts[:return_type] || 'LoyaltyDashboardData'
8192
8207
 
8193
8208
  # auth_names
8194
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8209
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
8195
8210
 
8196
8211
  new_options = opts.merge(
8197
8212
  :header_params => header_params,
@@ -8216,8 +8231,8 @@ module TalonOne
8216
8231
  # @option opts [String] :message_id Filter results by message ID.
8217
8232
  # @option opts [String] :change_type Filter results by change type.
8218
8233
  # @option opts [String] :notification_i_ds Filter results by notification ID (include up to 30 values, separated by a comma).
8219
- # @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. You can use any time zone setting. Talon.One will convert to UTC internally.
8220
- # @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. You can use any time zone setting. Talon.One will convert to UTC internally.
8234
+ # @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. Use UTC time.
8235
+ # @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. Use UTC time.
8221
8236
  # @option opts [String] :cursor A specific unique value in the database. If this value is not given, the server fetches results starting with the first record.
8222
8237
  # @option opts [String] :period Filter results by time period. Choose between the available relative time frames.
8223
8238
  # @option opts [Boolean] :is_successful Indicates whether to return log entries with either successful or unsuccessful HTTP response codes. When set to&#x60;true&#x60;, only log entries with &#x60;2xx&#x60; response codes are returned. When set to &#x60;false&#x60;, only log entries with &#x60;4xx&#x60; and &#x60;5xx&#x60; response codes are returned.
@@ -8239,8 +8254,8 @@ module TalonOne
8239
8254
  # @option opts [String] :message_id Filter results by message ID.
8240
8255
  # @option opts [String] :change_type Filter results by change type.
8241
8256
  # @option opts [String] :notification_i_ds Filter results by notification ID (include up to 30 values, separated by a comma).
8242
- # @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. You can use any time zone setting. Talon.One will convert to UTC internally.
8243
- # @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. You can use any time zone setting. Talon.One will convert to UTC internally.
8257
+ # @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. Use UTC time.
8258
+ # @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. Use UTC time.
8244
8259
  # @option opts [String] :cursor A specific unique value in the database. If this value is not given, the server fetches results starting with the first record.
8245
8260
  # @option opts [String] :period Filter results by time period. Choose between the available relative time frames.
8246
8261
  # @option opts [Boolean] :is_successful Indicates whether to return log entries with either successful or unsuccessful HTTP response codes. When set to&#x60;true&#x60;, only log entries with &#x60;2xx&#x60; response codes are returned. When set to &#x60;false&#x60;, only log entries with &#x60;4xx&#x60; and &#x60;5xx&#x60; response codes are returned.
@@ -8306,7 +8321,7 @@ module TalonOne
8306
8321
  return_type = opts[:return_type] || 'MessageLogEntries'
8307
8322
 
8308
8323
  # auth_names
8309
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8324
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
8310
8325
 
8311
8326
  new_options = opts.merge(
8312
8327
  :header_params => header_params,
@@ -8417,7 +8432,7 @@ module TalonOne
8417
8432
  return_type = opts[:return_type] || 'InlineResponse20012'
8418
8433
 
8419
8434
  # auth_names
8420
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8435
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
8421
8436
 
8422
8437
  new_options = opts.merge(
8423
8438
  :header_params => header_params,
@@ -8479,7 +8494,7 @@ module TalonOne
8479
8494
  return_type = opts[:return_type] || 'RoleV2'
8480
8495
 
8481
8496
  # auth_names
8482
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8497
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
8483
8498
 
8484
8499
  new_options = opts.merge(
8485
8500
  :header_params => header_params,
@@ -8553,7 +8568,7 @@ module TalonOne
8553
8568
  return_type = opts[:return_type] || 'Ruleset'
8554
8569
 
8555
8570
  # auth_names
8556
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8571
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
8557
8572
 
8558
8573
  new_options = opts.merge(
8559
8574
  :header_params => header_params,
@@ -8638,7 +8653,7 @@ module TalonOne
8638
8653
  return_type = opts[:return_type] || 'InlineResponse2009'
8639
8654
 
8640
8655
  # auth_names
8641
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8656
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
8642
8657
 
8643
8658
  new_options = opts.merge(
8644
8659
  :header_params => header_params,
@@ -8706,7 +8721,7 @@ module TalonOne
8706
8721
  return_type = opts[:return_type] || 'Store'
8707
8722
 
8708
8723
  # auth_names
8709
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8724
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
8710
8725
 
8711
8726
  new_options = opts.merge(
8712
8727
  :header_params => header_params,
@@ -8768,7 +8783,7 @@ module TalonOne
8768
8783
  return_type = opts[:return_type] || 'User'
8769
8784
 
8770
8785
  # auth_names
8771
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8786
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
8772
8787
 
8773
8788
  new_options = opts.merge(
8774
8789
  :header_params => header_params,
@@ -8792,7 +8807,7 @@ module TalonOne
8792
8807
  # @option opts [Integer] :page_size The number of items in the response. (default to 1000)
8793
8808
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
8794
8809
  # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with &#x60;-&#x60;. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
8795
- # @return [InlineResponse20043]
8810
+ # @return [InlineResponse20041]
8796
8811
  def get_users(opts = {})
8797
8812
  data, _status_code, _headers = get_users_with_http_info(opts)
8798
8813
  data
@@ -8804,7 +8819,7 @@ module TalonOne
8804
8819
  # @option opts [Integer] :page_size The number of items in the response.
8805
8820
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
8806
8821
  # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with &#x60;-&#x60;. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
8807
- # @return [Array<(InlineResponse20043, Integer, Hash)>] InlineResponse20043 data, response status code and response headers
8822
+ # @return [Array<(InlineResponse20041, Integer, Hash)>] InlineResponse20041 data, response status code and response headers
8808
8823
  def get_users_with_http_info(opts = {})
8809
8824
  if @api_client.config.debugging
8810
8825
  @api_client.config.logger.debug 'Calling API: ManagementApi.get_users ...'
@@ -8838,10 +8853,10 @@ module TalonOne
8838
8853
  post_body = opts[:body]
8839
8854
 
8840
8855
  # return_type
8841
- return_type = opts[:return_type] || 'InlineResponse20043'
8856
+ return_type = opts[:return_type] || 'InlineResponse20041'
8842
8857
 
8843
8858
  # auth_names
8844
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8859
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
8845
8860
 
8846
8861
  new_options = opts.merge(
8847
8862
  :header_params => header_params,
@@ -8903,7 +8918,7 @@ module TalonOne
8903
8918
  return_type = opts[:return_type] || 'Webhook'
8904
8919
 
8905
8920
  # auth_names
8906
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8921
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
8907
8922
 
8908
8923
  new_options = opts.merge(
8909
8924
  :header_params => header_params,
@@ -8921,195 +8936,6 @@ module TalonOne
8921
8936
  return data, status_code, headers
8922
8937
  end
8923
8938
 
8924
- # List webhook activation log entries
8925
- # Webhook activation log entries are created as soon as an integration request triggers a webhook effect. See the [docs](https://docs.talon.one/docs/dev/getting-started/webhooks).
8926
- # @param [Hash] opts the optional parameters
8927
- # @option opts [Integer] :page_size The number of items in the response. (default to 1000)
8928
- # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
8929
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with &#x60;-&#x60;. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
8930
- # @option opts [String] :integration_request_uuid Filter results by integration request UUID.
8931
- # @option opts [Float] :webhook_id Filter results by webhook id.
8932
- # @option opts [Float] :application_id Filter results by Application ID.
8933
- # @option opts [Float] :campaign_id Filter results by campaign ID.
8934
- # @option opts [DateTime] :created_before Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally.
8935
- # @option opts [DateTime] :created_after Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally.
8936
- # @return [InlineResponse20040]
8937
- def get_webhook_activation_logs(opts = {})
8938
- data, _status_code, _headers = get_webhook_activation_logs_with_http_info(opts)
8939
- data
8940
- end
8941
-
8942
- # List webhook activation log entries
8943
- # Webhook activation log entries are created as soon as an integration request triggers a webhook effect. See the [docs](https://docs.talon.one/docs/dev/getting-started/webhooks).
8944
- # @param [Hash] opts the optional parameters
8945
- # @option opts [Integer] :page_size The number of items in the response.
8946
- # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
8947
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with &#x60;-&#x60;. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
8948
- # @option opts [String] :integration_request_uuid Filter results by integration request UUID.
8949
- # @option opts [Float] :webhook_id Filter results by webhook id.
8950
- # @option opts [Float] :application_id Filter results by Application ID.
8951
- # @option opts [Float] :campaign_id Filter results by campaign ID.
8952
- # @option opts [DateTime] :created_before Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally.
8953
- # @option opts [DateTime] :created_after Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally.
8954
- # @return [Array<(InlineResponse20040, Integer, Hash)>] InlineResponse20040 data, response status code and response headers
8955
- def get_webhook_activation_logs_with_http_info(opts = {})
8956
- if @api_client.config.debugging
8957
- @api_client.config.logger.debug 'Calling API: ManagementApi.get_webhook_activation_logs ...'
8958
- end
8959
- if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 1000
8960
- fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling ManagementApi.get_webhook_activation_logs, must be smaller than or equal to 1000.'
8961
- end
8962
-
8963
- if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
8964
- fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling ManagementApi.get_webhook_activation_logs, must be greater than or equal to 1.'
8965
- end
8966
-
8967
- # resource path
8968
- local_var_path = '/v1/webhook_activation_logs'
8969
-
8970
- # query parameters
8971
- query_params = opts[:query_params] || {}
8972
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
8973
- query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
8974
- query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
8975
- query_params[:'integrationRequestUuid'] = opts[:'integration_request_uuid'] if !opts[:'integration_request_uuid'].nil?
8976
- query_params[:'webhookId'] = opts[:'webhook_id'] if !opts[:'webhook_id'].nil?
8977
- query_params[:'applicationId'] = opts[:'application_id'] if !opts[:'application_id'].nil?
8978
- query_params[:'campaignId'] = opts[:'campaign_id'] if !opts[:'campaign_id'].nil?
8979
- query_params[:'createdBefore'] = opts[:'created_before'] if !opts[:'created_before'].nil?
8980
- query_params[:'createdAfter'] = opts[:'created_after'] if !opts[:'created_after'].nil?
8981
-
8982
- # header parameters
8983
- header_params = opts[:header_params] || {}
8984
- # HTTP header 'Accept' (if needed)
8985
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8986
-
8987
- # form parameters
8988
- form_params = opts[:form_params] || {}
8989
-
8990
- # http body (model)
8991
- post_body = opts[:body]
8992
-
8993
- # return_type
8994
- return_type = opts[:return_type] || 'InlineResponse20040'
8995
-
8996
- # auth_names
8997
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
8998
-
8999
- new_options = opts.merge(
9000
- :header_params => header_params,
9001
- :query_params => query_params,
9002
- :form_params => form_params,
9003
- :body => post_body,
9004
- :auth_names => auth_names,
9005
- :return_type => return_type
9006
- )
9007
-
9008
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
9009
- if @api_client.config.debugging
9010
- @api_client.config.logger.debug "API called: ManagementApi#get_webhook_activation_logs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9011
- end
9012
- return data, status_code, headers
9013
- end
9014
-
9015
- # List webhook log entries
9016
- # Retrieve all webhook log entries.
9017
- # @param [Hash] opts the optional parameters
9018
- # @option opts [Integer] :page_size The number of items in the response. (default to 1000)
9019
- # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
9020
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with &#x60;-&#x60;. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
9021
- # @option opts [String] :status Filter results by HTTP status codes.
9022
- # @option opts [Float] :webhook_id Filter results by webhook id.
9023
- # @option opts [Float] :application_id Filter results by Application ID.
9024
- # @option opts [Float] :campaign_id Filter results by campaign ID.
9025
- # @option opts [String] :request_uuid Filter results by request UUID.
9026
- # @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. You can use any time zone setting. Talon.One will convert to UTC internally.
9027
- # @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. You can use any time zone setting. Talon.One will convert to UTC internally.
9028
- # @return [InlineResponse20041]
9029
- def get_webhook_logs(opts = {})
9030
- data, _status_code, _headers = get_webhook_logs_with_http_info(opts)
9031
- data
9032
- end
9033
-
9034
- # List webhook log entries
9035
- # Retrieve all webhook log entries.
9036
- # @param [Hash] opts the optional parameters
9037
- # @option opts [Integer] :page_size The number of items in the response.
9038
- # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
9039
- # @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with &#x60;-&#x60;. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
9040
- # @option opts [String] :status Filter results by HTTP status codes.
9041
- # @option opts [Float] :webhook_id Filter results by webhook id.
9042
- # @option opts [Float] :application_id Filter results by Application ID.
9043
- # @option opts [Float] :campaign_id Filter results by campaign ID.
9044
- # @option opts [String] :request_uuid Filter results by request UUID.
9045
- # @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. You can use any time zone setting. Talon.One will convert to UTC internally.
9046
- # @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. You can use any time zone setting. Talon.One will convert to UTC internally.
9047
- # @return [Array<(InlineResponse20041, Integer, Hash)>] InlineResponse20041 data, response status code and response headers
9048
- def get_webhook_logs_with_http_info(opts = {})
9049
- if @api_client.config.debugging
9050
- @api_client.config.logger.debug 'Calling API: ManagementApi.get_webhook_logs ...'
9051
- end
9052
- if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 1000
9053
- fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling ManagementApi.get_webhook_logs, must be smaller than or equal to 1000.'
9054
- end
9055
-
9056
- if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
9057
- fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling ManagementApi.get_webhook_logs, must be greater than or equal to 1.'
9058
- end
9059
-
9060
- allowable_values = ["success", "error"]
9061
- if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
9062
- fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
9063
- end
9064
- # resource path
9065
- local_var_path = '/v1/webhook_logs'
9066
-
9067
- # query parameters
9068
- query_params = opts[:query_params] || {}
9069
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
9070
- query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
9071
- query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
9072
- query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
9073
- query_params[:'webhookId'] = opts[:'webhook_id'] if !opts[:'webhook_id'].nil?
9074
- query_params[:'applicationId'] = opts[:'application_id'] if !opts[:'application_id'].nil?
9075
- query_params[:'campaignId'] = opts[:'campaign_id'] if !opts[:'campaign_id'].nil?
9076
- query_params[:'requestUuid'] = opts[:'request_uuid'] if !opts[:'request_uuid'].nil?
9077
- query_params[:'createdBefore'] = opts[:'created_before'] if !opts[:'created_before'].nil?
9078
- query_params[:'createdAfter'] = opts[:'created_after'] if !opts[:'created_after'].nil?
9079
-
9080
- # header parameters
9081
- header_params = opts[:header_params] || {}
9082
- # HTTP header 'Accept' (if needed)
9083
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
9084
-
9085
- # form parameters
9086
- form_params = opts[:form_params] || {}
9087
-
9088
- # http body (model)
9089
- post_body = opts[:body]
9090
-
9091
- # return_type
9092
- return_type = opts[:return_type] || 'InlineResponse20041'
9093
-
9094
- # auth_names
9095
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9096
-
9097
- new_options = opts.merge(
9098
- :header_params => header_params,
9099
- :query_params => query_params,
9100
- :form_params => form_params,
9101
- :body => post_body,
9102
- :auth_names => auth_names,
9103
- :return_type => return_type
9104
- )
9105
-
9106
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
9107
- if @api_client.config.debugging
9108
- @api_client.config.logger.debug "API called: ManagementApi#get_webhook_logs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9109
- end
9110
- return data, status_code, headers
9111
- end
9112
-
9113
8939
  # List webhooks
9114
8940
  # List all webhooks.
9115
8941
  # @param [Hash] opts the optional parameters
@@ -9188,7 +9014,7 @@ module TalonOne
9188
9014
  return_type = opts[:return_type] || 'InlineResponse20039'
9189
9015
 
9190
9016
  # auth_names
9191
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9017
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
9192
9018
 
9193
9019
  new_options = opts.merge(
9194
9020
  :header_params => header_params,
@@ -9255,7 +9081,7 @@ module TalonOne
9255
9081
  return_type = opts[:return_type] || 'Import'
9256
9082
 
9257
9083
  # auth_names
9258
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9084
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
9259
9085
 
9260
9086
  new_options = opts.merge(
9261
9087
  :header_params => header_params,
@@ -9322,7 +9148,7 @@ module TalonOne
9322
9148
  return_type = opts[:return_type] || 'Import'
9323
9149
 
9324
9150
  # auth_names
9325
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9151
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
9326
9152
 
9327
9153
  new_options = opts.merge(
9328
9154
  :header_params => header_params,
@@ -9389,7 +9215,7 @@ module TalonOne
9389
9215
  return_type = opts[:return_type] || 'Import'
9390
9216
 
9391
9217
  # auth_names
9392
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9218
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
9393
9219
 
9394
9220
  new_options = opts.merge(
9395
9221
  :header_params => header_params,
@@ -9476,7 +9302,7 @@ module TalonOne
9476
9302
  return_type = opts[:return_type] || 'Import'
9477
9303
 
9478
9304
  # auth_names
9479
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9305
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
9480
9306
 
9481
9307
  new_options = opts.merge(
9482
9308
  :header_params => header_params,
@@ -9549,7 +9375,7 @@ module TalonOne
9549
9375
  return_type = opts[:return_type] || 'Import'
9550
9376
 
9551
9377
  # auth_names
9552
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9378
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
9553
9379
 
9554
9380
  new_options = opts.merge(
9555
9381
  :header_params => header_params,
@@ -9628,7 +9454,7 @@ module TalonOne
9628
9454
  return_type = opts[:return_type] || 'Import'
9629
9455
 
9630
9456
  # auth_names
9631
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9457
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
9632
9458
 
9633
9459
  new_options = opts.merge(
9634
9460
  :header_params => header_params,
@@ -9704,7 +9530,7 @@ module TalonOne
9704
9530
  return_type = opts[:return_type] || 'Import'
9705
9531
 
9706
9532
  # auth_names
9707
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9533
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
9708
9534
 
9709
9535
  new_options = opts.merge(
9710
9536
  :header_params => header_params,
@@ -9771,7 +9597,7 @@ module TalonOne
9771
9597
  return_type = opts[:return_type] || 'Import'
9772
9598
 
9773
9599
  # auth_names
9774
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9600
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
9775
9601
 
9776
9602
  new_options = opts.merge(
9777
9603
  :header_params => header_params,
@@ -9838,7 +9664,7 @@ module TalonOne
9838
9664
  return_type = opts[:return_type] || 'Import'
9839
9665
 
9840
9666
  # auth_names
9841
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9667
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
9842
9668
 
9843
9669
  new_options = opts.merge(
9844
9670
  :header_params => header_params,
@@ -9908,7 +9734,7 @@ module TalonOne
9908
9734
  return_type = opts[:return_type] || 'Import'
9909
9735
 
9910
9736
  # auth_names
9911
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9737
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
9912
9738
 
9913
9739
  new_options = opts.merge(
9914
9740
  :header_params => header_params,
@@ -9975,7 +9801,7 @@ module TalonOne
9975
9801
  return_type = opts[:return_type] || 'Import'
9976
9802
 
9977
9803
  # auth_names
9978
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9804
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
9979
9805
 
9980
9806
  new_options = opts.merge(
9981
9807
  :header_params => header_params,
@@ -10048,7 +9874,7 @@ module TalonOne
10048
9874
  return_type = opts[:return_type] || 'Import'
10049
9875
 
10050
9876
  # auth_names
10051
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9877
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10052
9878
 
10053
9879
  new_options = opts.merge(
10054
9880
  :header_params => header_params,
@@ -10110,7 +9936,7 @@ module TalonOne
10110
9936
  return_type = opts[:return_type]
10111
9937
 
10112
9938
  # auth_names
10113
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
9939
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10114
9940
 
10115
9941
  new_options = opts.merge(
10116
9942
  :header_params => header_params,
@@ -10189,7 +10015,7 @@ module TalonOne
10189
10015
  return_type = opts[:return_type] || 'InlineResponse20020'
10190
10016
 
10191
10017
  # auth_names
10192
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10018
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10193
10019
 
10194
10020
  new_options = opts.merge(
10195
10021
  :header_params => header_params,
@@ -10215,7 +10041,7 @@ module TalonOne
10215
10041
  # @option opts [Integer] :page_size The number of items in the response. (default to 50)
10216
10042
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
10217
10043
  # @option opts [String] :title Filter by the display name for the achievement in the campaign manager. **Note**: If no &#x60;title&#x60; is provided, all the achievements from the campaign are returned.
10218
- # @return [InlineResponse20050]
10044
+ # @return [InlineResponse20048]
10219
10045
  def list_achievements(application_id, campaign_id, opts = {})
10220
10046
  data, _status_code, _headers = list_achievements_with_http_info(application_id, campaign_id, opts)
10221
10047
  data
@@ -10229,7 +10055,7 @@ module TalonOne
10229
10055
  # @option opts [Integer] :page_size The number of items in the response.
10230
10056
  # @option opts [Integer] :skip The number of items to skip when paging through large result sets.
10231
10057
  # @option opts [String] :title Filter by the display name for the achievement in the campaign manager. **Note**: If no &#x60;title&#x60; is provided, all the achievements from the campaign are returned.
10232
- # @return [Array<(InlineResponse20050, Integer, Hash)>] InlineResponse20050 data, response status code and response headers
10058
+ # @return [Array<(InlineResponse20048, Integer, Hash)>] InlineResponse20048 data, response status code and response headers
10233
10059
  def list_achievements_with_http_info(application_id, campaign_id, opts = {})
10234
10060
  if @api_client.config.debugging
10235
10061
  @api_client.config.logger.debug 'Calling API: ManagementApi.list_achievements ...'
@@ -10271,10 +10097,10 @@ module TalonOne
10271
10097
  post_body = opts[:body]
10272
10098
 
10273
10099
  # return_type
10274
- return_type = opts[:return_type] || 'InlineResponse20050'
10100
+ return_type = opts[:return_type] || 'InlineResponse20048'
10275
10101
 
10276
10102
  # auth_names
10277
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10103
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10278
10104
 
10279
10105
  new_options = opts.merge(
10280
10106
  :header_params => header_params,
@@ -10295,7 +10121,7 @@ module TalonOne
10295
10121
  # List roles
10296
10122
  # List all roles.
10297
10123
  # @param [Hash] opts the optional parameters
10298
- # @return [InlineResponse20046]
10124
+ # @return [InlineResponse20044]
10299
10125
  def list_all_roles_v2(opts = {})
10300
10126
  data, _status_code, _headers = list_all_roles_v2_with_http_info(opts)
10301
10127
  data
@@ -10304,7 +10130,7 @@ module TalonOne
10304
10130
  # List roles
10305
10131
  # List all roles.
10306
10132
  # @param [Hash] opts the optional parameters
10307
- # @return [Array<(InlineResponse20046, Integer, Hash)>] InlineResponse20046 data, response status code and response headers
10133
+ # @return [Array<(InlineResponse20044, Integer, Hash)>] InlineResponse20044 data, response status code and response headers
10308
10134
  def list_all_roles_v2_with_http_info(opts = {})
10309
10135
  if @api_client.config.debugging
10310
10136
  @api_client.config.logger.debug 'Calling API: ManagementApi.list_all_roles_v2 ...'
@@ -10327,10 +10153,10 @@ module TalonOne
10327
10153
  post_body = opts[:body]
10328
10154
 
10329
10155
  # return_type
10330
- return_type = opts[:return_type] || 'InlineResponse20046'
10156
+ return_type = opts[:return_type] || 'InlineResponse20044'
10331
10157
 
10332
10158
  # auth_names
10333
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10159
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10334
10160
 
10335
10161
  new_options = opts.merge(
10336
10162
  :header_params => header_params,
@@ -10355,7 +10181,7 @@ module TalonOne
10355
10181
  # @param [Hash] opts the optional parameters
10356
10182
  # @option opts [String] :action The action that this budget is limiting.
10357
10183
  # @option opts [String] :period The period to which the limit applies. **Note**: For budgets with no period, set this to &#x60;overall&#x60;.
10358
- # @return [InlineResponse20048]
10184
+ # @return [InlineResponse20046]
10359
10185
  def list_campaign_store_budget_limits(application_id, campaign_id, opts = {})
10360
10186
  data, _status_code, _headers = list_campaign_store_budget_limits_with_http_info(application_id, campaign_id, opts)
10361
10187
  data
@@ -10368,7 +10194,7 @@ module TalonOne
10368
10194
  # @param [Hash] opts the optional parameters
10369
10195
  # @option opts [String] :action The action that this budget is limiting.
10370
10196
  # @option opts [String] :period The period to which the limit applies. **Note**: For budgets with no period, set this to &#x60;overall&#x60;.
10371
- # @return [Array<(InlineResponse20048, Integer, Hash)>] InlineResponse20048 data, response status code and response headers
10197
+ # @return [Array<(InlineResponse20046, Integer, Hash)>] InlineResponse20046 data, response status code and response headers
10372
10198
  def list_campaign_store_budget_limits_with_http_info(application_id, campaign_id, opts = {})
10373
10199
  if @api_client.config.debugging
10374
10200
  @api_client.config.logger.debug 'Calling API: ManagementApi.list_campaign_store_budget_limits ...'
@@ -10409,10 +10235,10 @@ module TalonOne
10409
10235
  post_body = opts[:body]
10410
10236
 
10411
10237
  # return_type
10412
- return_type = opts[:return_type] || 'InlineResponse20048'
10238
+ return_type = opts[:return_type] || 'InlineResponse20046'
10413
10239
 
10414
10240
  # auth_names
10415
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10241
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10416
10242
 
10417
10243
  new_options = opts.merge(
10418
10244
  :header_params => header_params,
@@ -10497,7 +10323,7 @@ module TalonOne
10497
10323
  return_type = opts[:return_type] || 'InlineResponse20037'
10498
10324
 
10499
10325
  # auth_names
10500
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10326
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10501
10327
 
10502
10328
  new_options = opts.merge(
10503
10329
  :header_params => header_params,
@@ -10588,7 +10414,7 @@ module TalonOne
10588
10414
  return_type = opts[:return_type] || 'InlineResponse20020'
10589
10415
 
10590
10416
  # auth_names
10591
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10417
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10592
10418
 
10593
10419
  new_options = opts.merge(
10594
10420
  :header_params => header_params,
@@ -10673,7 +10499,7 @@ module TalonOne
10673
10499
  return_type = opts[:return_type] || 'InlineResponse20020'
10674
10500
 
10675
10501
  # auth_names
10676
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10502
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10677
10503
 
10678
10504
  new_options = opts.merge(
10679
10505
  :header_params => header_params,
@@ -10703,7 +10529,7 @@ module TalonOne
10703
10529
  # @option opts [String] :name The name of the store.
10704
10530
  # @option opts [String] :integration_id The integration ID of the store.
10705
10531
  # @option opts [String] :query Filter results by &#x60;name&#x60; or &#x60;integrationId&#x60;.
10706
- # @return [InlineResponse20047]
10532
+ # @return [InlineResponse20045]
10707
10533
  def list_stores(application_id, opts = {})
10708
10534
  data, _status_code, _headers = list_stores_with_http_info(application_id, opts)
10709
10535
  data
@@ -10721,7 +10547,7 @@ module TalonOne
10721
10547
  # @option opts [String] :name The name of the store.
10722
10548
  # @option opts [String] :integration_id The integration ID of the store.
10723
10549
  # @option opts [String] :query Filter results by &#x60;name&#x60; or &#x60;integrationId&#x60;.
10724
- # @return [Array<(InlineResponse20047, Integer, Hash)>] InlineResponse20047 data, response status code and response headers
10550
+ # @return [Array<(InlineResponse20045, Integer, Hash)>] InlineResponse20045 data, response status code and response headers
10725
10551
  def list_stores_with_http_info(application_id, opts = {})
10726
10552
  if @api_client.config.debugging
10727
10553
  @api_client.config.logger.debug 'Calling API: ManagementApi.list_stores ...'
@@ -10764,10 +10590,10 @@ module TalonOne
10764
10590
  post_body = opts[:body]
10765
10591
 
10766
10592
  # return_type
10767
- return_type = opts[:return_type] || 'InlineResponse20047'
10593
+ return_type = opts[:return_type] || 'InlineResponse20045'
10768
10594
 
10769
10595
  # auth_names
10770
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10596
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10771
10597
 
10772
10598
  new_options = opts.merge(
10773
10599
  :header_params => header_params,
@@ -10821,7 +10647,7 @@ module TalonOne
10821
10647
  return_type = opts[:return_type]
10822
10648
 
10823
10649
  # auth_names
10824
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10650
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10825
10651
 
10826
10652
  new_options = opts.merge(
10827
10653
  :header_params => header_params,
@@ -10897,7 +10723,7 @@ module TalonOne
10897
10723
  return_type = opts[:return_type]
10898
10724
 
10899
10725
  # auth_names
10900
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10726
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10901
10727
 
10902
10728
  new_options = opts.merge(
10903
10729
  :header_params => header_params,
@@ -10961,7 +10787,7 @@ module TalonOne
10961
10787
  return_type = opts[:return_type] || 'NewPassword'
10962
10788
 
10963
10789
  # auth_names
10964
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10790
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
10965
10791
 
10966
10792
  new_options = opts.merge(
10967
10793
  :header_params => header_params,
@@ -11025,7 +10851,7 @@ module TalonOne
11025
10851
  return_type = opts[:return_type] || 'ScimGroup'
11026
10852
 
11027
10853
  # auth_names
11028
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10854
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11029
10855
 
11030
10856
  new_options = opts.merge(
11031
10857
  :header_params => header_params,
@@ -11089,7 +10915,7 @@ module TalonOne
11089
10915
  return_type = opts[:return_type] || 'ScimUser'
11090
10916
 
11091
10917
  # auth_names
11092
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10918
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11093
10919
 
11094
10920
  new_options = opts.merge(
11095
10921
  :header_params => header_params,
@@ -11149,7 +10975,7 @@ module TalonOne
11149
10975
  return_type = opts[:return_type]
11150
10976
 
11151
10977
  # auth_names
11152
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
10978
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11153
10979
 
11154
10980
  new_options = opts.merge(
11155
10981
  :header_params => header_params,
@@ -11209,7 +11035,7 @@ module TalonOne
11209
11035
  return_type = opts[:return_type]
11210
11036
 
11211
11037
  # auth_names
11212
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11038
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11213
11039
 
11214
11040
  new_options = opts.merge(
11215
11041
  :header_params => header_params,
@@ -11271,7 +11097,7 @@ module TalonOne
11271
11097
  return_type = opts[:return_type] || 'ScimGroup'
11272
11098
 
11273
11099
  # auth_names
11274
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11100
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11275
11101
 
11276
11102
  new_options = opts.merge(
11277
11103
  :header_params => header_params,
@@ -11327,7 +11153,7 @@ module TalonOne
11327
11153
  return_type = opts[:return_type] || 'ScimGroupsListResponse'
11328
11154
 
11329
11155
  # auth_names
11330
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11156
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11331
11157
 
11332
11158
  new_options = opts.merge(
11333
11159
  :header_params => header_params,
@@ -11383,7 +11209,7 @@ module TalonOne
11383
11209
  return_type = opts[:return_type] || 'ScimResourceTypesListResponse'
11384
11210
 
11385
11211
  # auth_names
11386
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11212
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11387
11213
 
11388
11214
  new_options = opts.merge(
11389
11215
  :header_params => header_params,
@@ -11439,7 +11265,7 @@ module TalonOne
11439
11265
  return_type = opts[:return_type] || 'ScimSchemasListResponse'
11440
11266
 
11441
11267
  # auth_names
11442
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11268
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11443
11269
 
11444
11270
  new_options = opts.merge(
11445
11271
  :header_params => header_params,
@@ -11495,7 +11321,7 @@ module TalonOne
11495
11321
  return_type = opts[:return_type] || 'ScimServiceProviderConfigResponse'
11496
11322
 
11497
11323
  # auth_names
11498
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11324
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11499
11325
 
11500
11326
  new_options = opts.merge(
11501
11327
  :header_params => header_params,
@@ -11557,7 +11383,7 @@ module TalonOne
11557
11383
  return_type = opts[:return_type] || 'ScimUser'
11558
11384
 
11559
11385
  # auth_names
11560
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11386
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11561
11387
 
11562
11388
  new_options = opts.merge(
11563
11389
  :header_params => header_params,
@@ -11613,7 +11439,7 @@ module TalonOne
11613
11439
  return_type = opts[:return_type] || 'ScimUsersListResponse'
11614
11440
 
11615
11441
  # auth_names
11616
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11442
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11617
11443
 
11618
11444
  new_options = opts.merge(
11619
11445
  :header_params => header_params,
@@ -11683,7 +11509,7 @@ module TalonOne
11683
11509
  return_type = opts[:return_type] || 'ScimGroup'
11684
11510
 
11685
11511
  # auth_names
11686
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11512
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11687
11513
 
11688
11514
  new_options = opts.merge(
11689
11515
  :header_params => header_params,
@@ -11753,7 +11579,7 @@ module TalonOne
11753
11579
  return_type = opts[:return_type] || 'ScimUser'
11754
11580
 
11755
11581
  # auth_names
11756
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11582
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11757
11583
 
11758
11584
  new_options = opts.merge(
11759
11585
  :header_params => header_params,
@@ -11823,7 +11649,7 @@ module TalonOne
11823
11649
  return_type = opts[:return_type] || 'ScimGroup'
11824
11650
 
11825
11651
  # auth_names
11826
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11652
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11827
11653
 
11828
11654
  new_options = opts.merge(
11829
11655
  :header_params => header_params,
@@ -11893,7 +11719,7 @@ module TalonOne
11893
11719
  return_type = opts[:return_type] || 'ScimUser'
11894
11720
 
11895
11721
  # auth_names
11896
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11722
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
11897
11723
 
11898
11724
  new_options = opts.merge(
11899
11725
  :header_params => header_params,
@@ -12022,7 +11848,7 @@ module TalonOne
12022
11848
  return_type = opts[:return_type] || 'InlineResponse20011'
12023
11849
 
12024
11850
  # auth_names
12025
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11851
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12026
11852
 
12027
11853
  new_options = opts.merge(
12028
11854
  :header_params => header_params,
@@ -12150,7 +11976,7 @@ module TalonOne
12150
11976
  return_type = opts[:return_type] || 'InlineResponse20011'
12151
11977
 
12152
11978
  # auth_names
12153
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
11979
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12154
11980
 
12155
11981
  new_options = opts.merge(
12156
11982
  :header_params => header_params,
@@ -12173,7 +11999,7 @@ module TalonOne
12173
11999
  # @param application_id [Integer] The ID of the Application. It is displayed in your Talon.One deployment URL.
12174
12000
  # @param campaign_id [Integer] The ID of the campaign. It is displayed in your Talon.One deployment URL.
12175
12001
  # @param [Hash] opts the optional parameters
12176
- # @return [InlineResponse20049]
12002
+ # @return [InlineResponse20047]
12177
12003
  def summarize_campaign_store_budget(application_id, campaign_id, opts = {})
12178
12004
  data, _status_code, _headers = summarize_campaign_store_budget_with_http_info(application_id, campaign_id, opts)
12179
12005
  data
@@ -12184,7 +12010,7 @@ module TalonOne
12184
12010
  # @param application_id [Integer] The ID of the Application. It is displayed in your Talon.One deployment URL.
12185
12011
  # @param campaign_id [Integer] The ID of the campaign. It is displayed in your Talon.One deployment URL.
12186
12012
  # @param [Hash] opts the optional parameters
12187
- # @return [Array<(InlineResponse20049, Integer, Hash)>] InlineResponse20049 data, response status code and response headers
12013
+ # @return [Array<(InlineResponse20047, Integer, Hash)>] InlineResponse20047 data, response status code and response headers
12188
12014
  def summarize_campaign_store_budget_with_http_info(application_id, campaign_id, opts = {})
12189
12015
  if @api_client.config.debugging
12190
12016
  @api_client.config.logger.debug 'Calling API: ManagementApi.summarize_campaign_store_budget ...'
@@ -12215,10 +12041,10 @@ module TalonOne
12215
12041
  post_body = opts[:body]
12216
12042
 
12217
12043
  # return_type
12218
- return_type = opts[:return_type] || 'InlineResponse20049'
12044
+ return_type = opts[:return_type] || 'InlineResponse20047'
12219
12045
 
12220
12046
  # auth_names
12221
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12047
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12222
12048
 
12223
12049
  new_options = opts.merge(
12224
12050
  :header_params => header_params,
@@ -12298,7 +12124,7 @@ module TalonOne
12298
12124
  return_type = opts[:return_type]
12299
12125
 
12300
12126
  # auth_names
12301
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12127
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12302
12128
 
12303
12129
  new_options = opts.merge(
12304
12130
  :header_params => header_params,
@@ -12368,7 +12194,7 @@ module TalonOne
12368
12194
  return_type = opts[:return_type] || 'Collection'
12369
12195
 
12370
12196
  # auth_names
12371
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12197
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12372
12198
 
12373
12199
  new_options = opts.merge(
12374
12200
  :header_params => header_params,
@@ -12450,7 +12276,7 @@ module TalonOne
12450
12276
  return_type = opts[:return_type] || 'Achievement'
12451
12277
 
12452
12278
  # auth_names
12453
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12279
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12454
12280
 
12455
12281
  new_options = opts.merge(
12456
12282
  :header_params => header_params,
@@ -12520,7 +12346,7 @@ module TalonOne
12520
12346
  return_type = opts[:return_type] || 'AccountAdditionalCost'
12521
12347
 
12522
12348
  # auth_names
12523
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12349
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12524
12350
 
12525
12351
  new_options = opts.merge(
12526
12352
  :header_params => header_params,
@@ -12590,7 +12416,7 @@ module TalonOne
12590
12416
  return_type = opts[:return_type] || 'Attribute'
12591
12417
 
12592
12418
  # auth_names
12593
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12419
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12594
12420
 
12595
12421
  new_options = opts.merge(
12596
12422
  :header_params => header_params,
@@ -12666,7 +12492,7 @@ module TalonOne
12666
12492
  return_type = opts[:return_type] || 'Campaign'
12667
12493
 
12668
12494
  # auth_names
12669
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12495
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12670
12496
 
12671
12497
  new_options = opts.merge(
12672
12498
  :header_params => header_params,
@@ -12748,7 +12574,7 @@ module TalonOne
12748
12574
  return_type = opts[:return_type] || 'Collection'
12749
12575
 
12750
12576
  # auth_names
12751
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12577
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12752
12578
 
12753
12579
  new_options = opts.merge(
12754
12580
  :header_params => header_params,
@@ -12830,7 +12656,7 @@ module TalonOne
12830
12656
  return_type = opts[:return_type] || 'Coupon'
12831
12657
 
12832
12658
  # auth_names
12833
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12659
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12834
12660
 
12835
12661
  new_options = opts.merge(
12836
12662
  :header_params => header_params,
@@ -12904,7 +12730,7 @@ module TalonOne
12904
12730
  return_type = opts[:return_type]
12905
12731
 
12906
12732
  # auth_names
12907
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12733
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12908
12734
 
12909
12735
  new_options = opts.merge(
12910
12736
  :header_params => header_params,
@@ -12984,7 +12810,7 @@ module TalonOne
12984
12810
  return_type = opts[:return_type] || 'LoyaltyCard'
12985
12811
 
12986
12812
  # auth_names
12987
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12813
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
12988
12814
 
12989
12815
  new_options = opts.merge(
12990
12816
  :header_params => header_params,
@@ -13066,7 +12892,7 @@ module TalonOne
13066
12892
  return_type = opts[:return_type] || 'Referral'
13067
12893
 
13068
12894
  # auth_names
13069
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12895
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
13070
12896
 
13071
12897
  new_options = opts.merge(
13072
12898
  :header_params => header_params,
@@ -13136,7 +12962,7 @@ module TalonOne
13136
12962
  return_type = opts[:return_type] || 'RoleV2'
13137
12963
 
13138
12964
  # auth_names
13139
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
12965
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
13140
12966
 
13141
12967
  new_options = opts.merge(
13142
12968
  :header_params => header_params,
@@ -13212,7 +13038,7 @@ module TalonOne
13212
13038
  return_type = opts[:return_type] || 'Store'
13213
13039
 
13214
13040
  # auth_names
13215
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
13041
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
13216
13042
 
13217
13043
  new_options = opts.merge(
13218
13044
  :header_params => header_params,
@@ -13282,7 +13108,7 @@ module TalonOne
13282
13108
  return_type = opts[:return_type] || 'User'
13283
13109
 
13284
13110
  # auth_names
13285
- auth_names = opts[:auth_names] || ['management_key', 'manager_auth']
13111
+ auth_names = opts[:auth_names] || ['api_key_v1', 'management_key', 'manager_auth']
13286
13112
 
13287
13113
  new_options = opts.merge(
13288
13114
  :header_params => header_params,