talon_one_sdk 26.22.1 → 26.24.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 (217) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -0
  3. data/README.md +35 -4
  4. data/docs/AchievementProgressWithDefinition.md +2 -0
  5. data/docs/AchievementV2.md +7 -7
  6. data/docs/ApplicationCustomer.md +1 -1
  7. data/docs/AudienceCustomer.md +1 -1
  8. data/docs/AwardDiscountBlock.md +3 -1
  9. data/docs/Block.md +5 -2
  10. data/docs/Campaign.md +2 -2
  11. data/docs/CampaignEligibilityFailureDetails.md +1 -1
  12. data/docs/CampaignSetNode.md +30 -0
  13. data/docs/CampaignTemplate.md +1 -1
  14. data/docs/CartItem.md +1 -1
  15. data/docs/CatalogActionFilter.md +5 -5
  16. data/docs/CatalogItemSummary.md +30 -0
  17. data/docs/Coupon.md +2 -2
  18. data/docs/CouponWithApplication.md +2 -2
  19. data/docs/CouponWithReservations.md +2 -2
  20. data/docs/CreateAchievementV2.md +4 -4
  21. data/docs/CustomerInventory.md +2 -2
  22. data/docs/CustomerProfile.md +1 -1
  23. data/docs/CustomerProfileReward.md +3 -1
  24. data/docs/CustomerReservation.md +1 -1
  25. data/docs/CustomerReward.md +2 -0
  26. data/docs/CustomerSession.md +7 -7
  27. data/docs/CustomerSessionV2.md +4 -4
  28. data/docs/DigitalPass.md +4 -4
  29. data/docs/ExportJob.md +42 -0
  30. data/docs/ExportJobDestination.md +24 -0
  31. data/docs/ExportJobLog.md +32 -0
  32. data/docs/ExportJobLogResult.md +15 -0
  33. data/docs/ExportJobStatus.md +15 -0
  34. data/docs/ExportJobType.md +15 -0
  35. data/docs/ExtendedCoupon.md +2 -2
  36. data/docs/IntegrationApi.md +7 -7
  37. data/docs/IntegrationCoupon.md +2 -2
  38. data/docs/InventoryCoupon.md +2 -2
  39. data/docs/InventoryReferral.md +1 -1
  40. data/docs/LabelTarget.md +30 -0
  41. data/docs/LedgerEntry.md +1 -1
  42. data/docs/LoyaltyProgram.md +7 -7
  43. data/docs/MCPOAuthServerMetadata.md +3 -1
  44. data/docs/MCPOAuthStaticClient.md +30 -0
  45. data/docs/MCPOAuthStaticClientWithSecret.md +32 -0
  46. data/docs/MCPOAuthTokenRequest.md +2 -0
  47. data/docs/ManagementApi.md +8 -6
  48. data/docs/MultipleAudiencesItem.md +1 -1
  49. data/docs/NewCouponCreationJob.md +1 -1
  50. data/docs/NewCoupons.md +1 -1
  51. data/docs/NewCouponsForMultipleRecipients.md +1 -1
  52. data/docs/NewDigitalPass.md +5 -5
  53. data/docs/NewExportJob.md +32 -0
  54. data/docs/NewMCPOAuthClient.md +1 -1
  55. data/docs/NewMCPOAuthStaticClient.md +22 -0
  56. data/docs/NewReferralsForMultipleAdvocates.md +1 -1
  57. data/docs/NewRewardBudget.md +24 -0
  58. data/docs/OutboundLogStreamCursor.md +18 -0
  59. data/docs/OutboundLogStreamCursorEntry.md +20 -0
  60. data/docs/OutboundLogStreamEntry.md +82 -0
  61. data/docs/OutboundLogStreamEntryType.md +15 -0
  62. data/docs/OutboundLogStreamError.md +20 -0
  63. data/docs/OutboundLogStreamErrorEntry.md +20 -0
  64. data/docs/OutboundLogStreamLogEntry.md +20 -0
  65. data/docs/OutboundLogs.md +1 -1
  66. data/docs/OutboundLogsDataInner.md +79 -0
  67. data/docs/OutboundLogsFormat.md +15 -0
  68. data/docs/OutboundMessage.md +1 -1
  69. data/docs/Referral.md +1 -1
  70. data/docs/RewardBudget.md +30 -0
  71. data/docs/RewardBudgetLimitCounter.md +20 -0
  72. data/docs/RewardBudgetWithLimitCounter.md +32 -0
  73. data/docs/RewardWithBudgets.md +50 -0
  74. data/docs/RewardWithUnlocks.md +1 -1
  75. data/docs/RiskDetail.md +2 -0
  76. data/docs/RuleEligibilityFailureDetails.md +1 -1
  77. data/docs/TemplateDef.md +2 -2
  78. data/docs/UpdateExportJob.md +32 -0
  79. data/docs/UpdateLoyaltyProgramMembershipBlock.md +28 -0
  80. data/docs/UpdateLoyaltyProgramMembershipBlock1Program.md +22 -0
  81. data/docs/UpdateRewardBudget.md +18 -0
  82. data/docs/WebhookAuthentication.md +71 -26
  83. data/docs/WebhookAuthenticationBasic.md +34 -0
  84. data/docs/WebhookAuthenticationCustom.md +34 -0
  85. data/docs/WebhookAuthenticationEntity.md +28 -0
  86. data/lib/talon_one_sdk/api/integration_api.rb +9 -9
  87. data/lib/talon_one_sdk/api/management_api.rb +5 -2
  88. data/lib/talon_one_sdk/models/achievement_progress_with_definition.rb +11 -1
  89. data/lib/talon_one_sdk/models/achievement_v2.rb +87 -8
  90. data/lib/talon_one_sdk/models/application_customer.rb +17 -0
  91. data/lib/talon_one_sdk/models/audience_customer.rb +17 -0
  92. data/lib/talon_one_sdk/models/award_discount_block.rb +14 -4
  93. data/lib/talon_one_sdk/models/block.rb +4 -2
  94. data/lib/talon_one_sdk/models/campaign.rb +22 -0
  95. data/lib/talon_one_sdk/models/campaign_eligibility_failure_details.rb +1 -1
  96. data/lib/talon_one_sdk/models/campaign_set_node.rb +19 -67
  97. data/lib/talon_one_sdk/models/campaign_template.rb +5 -0
  98. data/lib/talon_one_sdk/models/catalog_action_filter.rb +2 -2
  99. data/lib/talon_one_sdk/models/catalog_item_summary.rb +272 -0
  100. data/lib/talon_one_sdk/models/check_achievement_block.rb +2 -2
  101. data/lib/talon_one_sdk/models/coupon.rb +20 -6
  102. data/lib/talon_one_sdk/models/coupon_with_application.rb +20 -6
  103. data/lib/talon_one_sdk/models/coupon_with_reservations.rb +20 -6
  104. data/lib/talon_one_sdk/models/create_achievement_v2.rb +64 -6
  105. data/lib/talon_one_sdk/models/customer_inventory.rb +2 -1
  106. data/lib/talon_one_sdk/models/customer_profile.rb +17 -0
  107. data/lib/talon_one_sdk/models/customer_profile_reward.rb +14 -4
  108. data/lib/talon_one_sdk/models/customer_reservation.rb +17 -0
  109. data/lib/talon_one_sdk/models/customer_reward.rb +11 -1
  110. data/lib/talon_one_sdk/models/customer_session.rb +91 -4
  111. data/lib/talon_one_sdk/models/customer_session_v2.rb +56 -0
  112. data/lib/talon_one_sdk/models/digital_pass.rb +1 -1
  113. data/lib/talon_one_sdk/models/export_job.rb +539 -0
  114. data/lib/talon_one_sdk/models/export_job_destination.rb +297 -0
  115. data/lib/talon_one_sdk/models/export_job_log.rb +370 -0
  116. data/lib/talon_one_sdk/models/export_job_log_result.rb +40 -0
  117. data/lib/talon_one_sdk/models/export_job_status.rb +40 -0
  118. data/lib/talon_one_sdk/models/export_job_type.rb +41 -0
  119. data/lib/talon_one_sdk/models/extended_coupon.rb +20 -6
  120. data/lib/talon_one_sdk/models/integration_coupon.rb +20 -6
  121. data/lib/talon_one_sdk/models/inventory_coupon.rb +20 -6
  122. data/lib/talon_one_sdk/models/inventory_referral.rb +11 -4
  123. data/lib/talon_one_sdk/models/label_target.rb +19 -67
  124. data/lib/talon_one_sdk/models/ledger_entry.rb +17 -0
  125. data/lib/talon_one_sdk/models/loyalty_program.rb +119 -0
  126. data/lib/talon_one_sdk/models/mcpo_auth_server_metadata.rb +16 -4
  127. data/lib/talon_one_sdk/models/mcpo_auth_static_client.rb +332 -0
  128. data/lib/talon_one_sdk/models/mcpo_auth_static_client_with_secret.rb +359 -0
  129. data/lib/talon_one_sdk/models/mcpo_auth_token_request.rb +11 -1
  130. data/lib/talon_one_sdk/models/multiple_audiences_item.rb +11 -4
  131. data/lib/talon_one_sdk/models/new_coupon_creation_job.rb +11 -4
  132. data/lib/talon_one_sdk/models/new_coupons.rb +11 -4
  133. data/lib/talon_one_sdk/models/new_coupons_for_multiple_recipients.rb +11 -4
  134. data/lib/talon_one_sdk/models/new_digital_pass.rb +23 -32
  135. data/lib/talon_one_sdk/models/new_export_job.rb +415 -0
  136. data/lib/talon_one_sdk/models/new_mcpo_auth_static_client.rb +233 -0
  137. data/lib/talon_one_sdk/models/new_referrals_for_multiple_advocates.rb +11 -4
  138. data/lib/talon_one_sdk/models/new_reward_budget.rb +291 -0
  139. data/lib/talon_one_sdk/models/outbound_log_stream_cursor.rb +179 -0
  140. data/lib/talon_one_sdk/models/outbound_log_stream_cursor_entry.rb +226 -0
  141. data/lib/talon_one_sdk/models/outbound_log_stream_entry.rb +59 -0
  142. data/lib/talon_one_sdk/models/outbound_log_stream_entry_type.rb +41 -0
  143. data/lib/talon_one_sdk/models/outbound_log_stream_error.rb +189 -0
  144. data/lib/talon_one_sdk/models/outbound_log_stream_error_entry.rb +226 -0
  145. data/lib/talon_one_sdk/models/outbound_log_stream_log_entry.rb +226 -0
  146. data/lib/talon_one_sdk/models/outbound_logs.rb +2 -2
  147. data/lib/talon_one_sdk/models/outbound_logs_data_inner.rb +56 -0
  148. data/lib/talon_one_sdk/models/outbound_logs_format.rb +40 -0
  149. data/lib/talon_one_sdk/models/outbound_message.rb +17 -0
  150. data/lib/talon_one_sdk/models/referral.rb +11 -4
  151. data/lib/talon_one_sdk/models/reward_budget.rb +375 -0
  152. data/lib/talon_one_sdk/models/reward_budget_limit_counter.rb +206 -0
  153. data/lib/talon_one_sdk/models/reward_budget_with_limit_counter.rb +415 -0
  154. data/lib/talon_one_sdk/models/reward_with_budgets.rb +514 -0
  155. data/lib/talon_one_sdk/models/reward_with_unlocks.rb +1 -1
  156. data/lib/talon_one_sdk/models/risk_detail.rb +11 -1
  157. data/lib/talon_one_sdk/models/rule_eligibility_failure_details.rb +1 -1
  158. data/lib/talon_one_sdk/models/template_def.rb +34 -0
  159. data/lib/talon_one_sdk/models/update_export_job.rb +422 -0
  160. data/lib/talon_one_sdk/models/update_loyalty_program_membership_block.rb +297 -0
  161. data/lib/talon_one_sdk/models/update_loyalty_program_membership_block1_program.rb +199 -0
  162. data/lib/talon_one_sdk/models/update_reward_budget.rb +187 -0
  163. data/lib/talon_one_sdk/models/webhook_authentication.rb +28 -396
  164. data/lib/talon_one_sdk/models/webhook_authentication_basic.rb +428 -0
  165. data/lib/talon_one_sdk/models/webhook_authentication_custom.rb +428 -0
  166. data/lib/talon_one_sdk/models/webhook_authentication_entity.rb +322 -0
  167. data/lib/talon_one_sdk/version.rb +1 -1
  168. data/lib/talon_one_sdk.rb +32 -1
  169. data/spec/api/integration_api_spec.rb +4 -4
  170. data/spec/api/management_api_spec.rb +2 -1
  171. data/spec/models/achievement_progress_with_definition_spec.rb +6 -0
  172. data/spec/models/award_discount_block_spec.rb +6 -0
  173. data/spec/models/campaign_set_node_spec.rb +12 -0
  174. data/spec/models/catalog_item_summary_spec.rb +72 -0
  175. data/spec/models/check_achievement_block_spec.rb +1 -1
  176. data/spec/models/customer_profile_reward_spec.rb +7 -1
  177. data/spec/models/customer_reward_spec.rb +6 -0
  178. data/spec/models/export_job_destination_spec.rb +62 -0
  179. data/spec/models/export_job_log_result_spec.rb +30 -0
  180. data/spec/models/export_job_log_spec.rb +78 -0
  181. data/spec/models/export_job_spec.rb +108 -0
  182. data/spec/models/export_job_status_spec.rb +30 -0
  183. data/spec/models/export_job_type_spec.rb +30 -0
  184. data/spec/models/label_target_spec.rb +12 -0
  185. data/spec/models/mcpo_auth_server_metadata_spec.rb +6 -0
  186. data/spec/models/mcpo_auth_static_client_spec.rb +72 -0
  187. data/spec/models/mcpo_auth_static_client_with_secret_spec.rb +78 -0
  188. data/spec/models/mcpo_auth_token_request_spec.rb +6 -0
  189. data/spec/models/new_digital_pass_spec.rb +1 -1
  190. data/spec/models/new_export_job_spec.rb +78 -0
  191. data/spec/models/new_mcpo_auth_static_client_spec.rb +48 -0
  192. data/spec/models/new_reward_budget_spec.rb +66 -0
  193. data/spec/models/outbound_log_stream_cursor_entry_spec.rb +42 -0
  194. data/spec/models/outbound_log_stream_cursor_spec.rb +36 -0
  195. data/spec/models/outbound_log_stream_entry_spec.rb +44 -0
  196. data/spec/models/outbound_log_stream_entry_type_spec.rb +30 -0
  197. data/spec/models/outbound_log_stream_error_entry_spec.rb +42 -0
  198. data/spec/models/outbound_log_stream_error_spec.rb +42 -0
  199. data/spec/models/outbound_log_stream_log_entry_spec.rb +42 -0
  200. data/spec/models/{webhook_authentication_all_of_data_spec.rb → outbound_logs_data_inner_spec.rb} +14 -2
  201. data/spec/models/outbound_logs_format_spec.rb +30 -0
  202. data/spec/models/reward_budget_limit_counter_spec.rb +42 -0
  203. data/spec/models/reward_budget_spec.rb +84 -0
  204. data/spec/models/reward_budget_with_limit_counter_spec.rb +90 -0
  205. data/spec/models/reward_with_budgets_spec.rb +136 -0
  206. data/spec/models/risk_detail_spec.rb +6 -0
  207. data/spec/models/update_export_job_spec.rb +78 -0
  208. data/spec/models/update_loyalty_program_membership_block1_program_spec.rb +48 -0
  209. data/spec/models/update_loyalty_program_membership_block_spec.rb +70 -0
  210. data/spec/models/update_reward_budget_spec.rb +36 -0
  211. data/spec/models/webhook_authentication_basic_spec.rb +88 -0
  212. data/spec/models/webhook_authentication_custom_spec.rb +88 -0
  213. data/spec/models/webhook_authentication_entity_spec.rb +66 -0
  214. data/spec/models/webhook_authentication_spec.rb +11 -55
  215. metadata +130 -5
  216. data/docs/WebhookAuthenticationAllOfData.md +0 -49
  217. data/lib/talon_one_sdk/models/webhook_authentication_all_of_data.rb +0 -104
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3089c9906f87ebe7d971d95e72ead7a32f1e714173379cacb47d96d899a7182
4
- data.tar.gz: daf43a78002f2d6cea9663e3bd64f1d642ea5d3fefdfea1e8db758d468f54090
3
+ metadata.gz: fd08a9e0aa13fc9eb0e093a2197a2c149ffef9650e635588647f8c8195d3fd00
4
+ data.tar.gz: c71f63869368788b1273982b1007899fd2ea2b6a38863b595ccbbd60a659dfce
5
5
  SHA512:
6
- metadata.gz: '08bc452c7d08f42143100faaaa113b6eb0d9529e66869d16d8dd8e95540b7a8b65229a226558cbb668cace46be1d10f3d99e01035b90243e3c65be83d70547a5'
7
- data.tar.gz: 38fbe719a57a4517fd3ef40bcffb509cb54f1a80ebc23c6fcaf87105201a3bc0b52408a063bbdb3866c86993b9950e8312c921d33999aeddb500b194197bc7dc
6
+ metadata.gz: 4c495d9309f3d370ac97100fa663b6ba1f4f05f991dc49d74349dfef99f8bdceb0fdbbb72bebd8278b469dd81ff044ef04ca90fe1ec096e087f29435d420b556
7
+ data.tar.gz: 4fb3108a577bcb94fdf9735b7dadbc1b6b964de9e2a3c6a9169bcd17962e6cc3e5aea751136f896764649a612abd42f21c1adbf35dae47d437cc144fe0ba4fdc
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Talon.One GmbH
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -16,7 +16,7 @@ See our [migration guide](MIGRATION.md).
16
16
  Add this to the Gemfile:
17
17
 
18
18
  ```shell
19
- gem 'talon_one_sdk', '~> 26.22.1'
19
+ gem 'talon_one_sdk', '~> 26.24.0'
20
20
  ```
21
21
 
22
22
  ### Build a gem
@@ -32,10 +32,10 @@ gem build talon_one_sdk.gemspec
32
32
  To install the gem locally:
33
33
 
34
34
  ```shell
35
- gem install ./talon_one_sdk-26.22.1.gem
35
+ gem install ./talon_one_sdk-26.24.0.gem
36
36
  ```
37
37
 
38
- For development, run `gem install --dev ./talon_one_sdk-26.22.1.gem` to install the development dependencies.
38
+ For development, run `gem install --dev ./talon_one_sdk-26.24.0.gem` to install the development dependencies.
39
39
 
40
40
  ### RubyGems
41
41
 
@@ -617,6 +617,7 @@ Class | Method | HTTP request | Description
617
617
  - [TalonOne::CatalogActionRemove](docs/CatalogActionRemove.md)
618
618
  - [TalonOne::CatalogActionRemoveMany](docs/CatalogActionRemoveMany.md)
619
619
  - [TalonOne::CatalogItem](docs/CatalogItem.md)
620
+ - [TalonOne::CatalogItemSummary](docs/CatalogItemSummary.md)
620
621
  - [TalonOne::CatalogRule](docs/CatalogRule.md)
621
622
  - [TalonOne::CatalogRuleset](docs/CatalogRuleset.md)
622
623
  - [TalonOne::CatalogSyncRequest](docs/CatalogSyncRequest.md)
@@ -807,6 +808,12 @@ Class | Method | HTTP request | Description
807
808
  - [TalonOne::ExpiringCardPointsData](docs/ExpiringCardPointsData.md)
808
809
  - [TalonOne::ExpiringPointsData](docs/ExpiringPointsData.md)
809
810
  - [TalonOne::Export](docs/Export.md)
811
+ - [TalonOne::ExportJob](docs/ExportJob.md)
812
+ - [TalonOne::ExportJobDestination](docs/ExportJobDestination.md)
813
+ - [TalonOne::ExportJobLog](docs/ExportJobLog.md)
814
+ - [TalonOne::ExportJobLogResult](docs/ExportJobLogResult.md)
815
+ - [TalonOne::ExportJobStatus](docs/ExportJobStatus.md)
816
+ - [TalonOne::ExportJobType](docs/ExportJobType.md)
810
817
  - [TalonOne::ExtendLoyaltyPointsExpiryDateEffectProps](docs/ExtendLoyaltyPointsExpiryDateEffectProps.md)
811
818
  - [TalonOne::ExtendedCoupon](docs/ExtendedCoupon.md)
812
819
  - [TalonOne::FeatureFlag](docs/FeatureFlag.md)
@@ -1017,6 +1024,8 @@ Class | Method | HTTP request | Description
1017
1024
  - [TalonOne::MCPOAuthProtectedResource](docs/MCPOAuthProtectedResource.md)
1018
1025
  - [TalonOne::MCPOAuthServerMetadata](docs/MCPOAuthServerMetadata.md)
1019
1026
  - [TalonOne::MCPOAuthSessionInfo](docs/MCPOAuthSessionInfo.md)
1027
+ - [TalonOne::MCPOAuthStaticClient](docs/MCPOAuthStaticClient.md)
1028
+ - [TalonOne::MCPOAuthStaticClientWithSecret](docs/MCPOAuthStaticClientWithSecret.md)
1020
1029
  - [TalonOne::MCPOAuthToken](docs/MCPOAuthToken.md)
1021
1030
  - [TalonOne::MCPOAuthTokenError](docs/MCPOAuthTokenError.md)
1022
1031
  - [TalonOne::MCPOAuthTokenRequest](docs/MCPOAuthTokenRequest.md)
@@ -1078,6 +1087,7 @@ Class | Method | HTTP request | Description
1078
1087
  - [TalonOne::NewExperimentBlueprint](docs/NewExperimentBlueprint.md)
1079
1088
  - [TalonOne::NewExperimentVariant](docs/NewExperimentVariant.md)
1080
1089
  - [TalonOne::NewExperimentVariantArray](docs/NewExperimentVariantArray.md)
1090
+ - [TalonOne::NewExportJob](docs/NewExportJob.md)
1081
1091
  - [TalonOne::NewExternalInvitation](docs/NewExternalInvitation.md)
1082
1092
  - [TalonOne::NewGiveawaysPool](docs/NewGiveawaysPool.md)
1083
1093
  - [TalonOne::NewIntegrationHubCoupons](docs/NewIntegrationHubCoupons.md)
@@ -1088,6 +1098,7 @@ Class | Method | HTTP request | Description
1088
1098
  - [TalonOne::NewLoyaltyTier](docs/NewLoyaltyTier.md)
1089
1099
  - [TalonOne::NewMCPKey](docs/NewMCPKey.md)
1090
1100
  - [TalonOne::NewMCPOAuthClient](docs/NewMCPOAuthClient.md)
1101
+ - [TalonOne::NewMCPOAuthStaticClient](docs/NewMCPOAuthStaticClient.md)
1091
1102
  - [TalonOne::NewManagementKey](docs/NewManagementKey.md)
1092
1103
  - [TalonOne::NewMessageTest](docs/NewMessageTest.md)
1093
1104
  - [TalonOne::NewMultipleAudiencesItem](docs/NewMultipleAudiencesItem.md)
@@ -1103,6 +1114,7 @@ Class | Method | HTTP request | Description
1103
1114
  - [TalonOne::NewReturn](docs/NewReturn.md)
1104
1115
  - [TalonOne::NewRevisionVersion](docs/NewRevisionVersion.md)
1105
1116
  - [TalonOne::NewReward](docs/NewReward.md)
1117
+ - [TalonOne::NewRewardBudget](docs/NewRewardBudget.md)
1106
1118
  - [TalonOne::NewRiskNotification](docs/NewRiskNotification.md)
1107
1119
  - [TalonOne::NewRole](docs/NewRole.md)
1108
1120
  - [TalonOne::NewRoleV2](docs/NewRoleV2.md)
@@ -1125,7 +1137,16 @@ Class | Method | HTTP request | Description
1125
1137
  - [TalonOne::OutboundLogBase](docs/OutboundLogBase.md)
1126
1138
  - [TalonOne::OutboundLogRequest](docs/OutboundLogRequest.md)
1127
1139
  - [TalonOne::OutboundLogResponse](docs/OutboundLogResponse.md)
1140
+ - [TalonOne::OutboundLogStreamCursor](docs/OutboundLogStreamCursor.md)
1141
+ - [TalonOne::OutboundLogStreamCursorEntry](docs/OutboundLogStreamCursorEntry.md)
1142
+ - [TalonOne::OutboundLogStreamEntry](docs/OutboundLogStreamEntry.md)
1143
+ - [TalonOne::OutboundLogStreamEntryType](docs/OutboundLogStreamEntryType.md)
1144
+ - [TalonOne::OutboundLogStreamError](docs/OutboundLogStreamError.md)
1145
+ - [TalonOne::OutboundLogStreamErrorEntry](docs/OutboundLogStreamErrorEntry.md)
1146
+ - [TalonOne::OutboundLogStreamLogEntry](docs/OutboundLogStreamLogEntry.md)
1128
1147
  - [TalonOne::OutboundLogs](docs/OutboundLogs.md)
1148
+ - [TalonOne::OutboundLogsDataInner](docs/OutboundLogsDataInner.md)
1149
+ - [TalonOne::OutboundLogsFormat](docs/OutboundLogsFormat.md)
1129
1150
  - [TalonOne::OutboundMessage](docs/OutboundMessage.md)
1130
1151
  - [TalonOne::OutboundMessageResponse](docs/OutboundMessageResponse.md)
1131
1152
  - [TalonOne::OutboundMessages](docs/OutboundMessages.md)
@@ -1190,11 +1211,15 @@ Class | Method | HTTP request | Description
1190
1211
  - [TalonOne::RevisionActivationRequest](docs/RevisionActivationRequest.md)
1191
1212
  - [TalonOne::RevisionVersion](docs/RevisionVersion.md)
1192
1213
  - [TalonOne::Reward](docs/Reward.md)
1214
+ - [TalonOne::RewardBudget](docs/RewardBudget.md)
1215
+ - [TalonOne::RewardBudgetLimitCounter](docs/RewardBudgetLimitCounter.md)
1216
+ - [TalonOne::RewardBudgetWithLimitCounter](docs/RewardBudgetWithLimitCounter.md)
1193
1217
  - [TalonOne::RewardCatalogItem](docs/RewardCatalogItem.md)
1194
1218
  - [TalonOne::RewardEligibility](docs/RewardEligibility.md)
1195
1219
  - [TalonOne::RewardEligibilityFailureDetails](docs/RewardEligibilityFailureDetails.md)
1196
1220
  - [TalonOne::RewardPointsRequired](docs/RewardPointsRequired.md)
1197
1221
  - [TalonOne::RewardUnlockRejection](docs/RewardUnlockRejection.md)
1222
+ - [TalonOne::RewardWithBudgets](docs/RewardWithBudgets.md)
1198
1223
  - [TalonOne::RewardWithUnlocks](docs/RewardWithUnlocks.md)
1199
1224
  - [TalonOne::Risk](docs/Risk.md)
1200
1225
  - [TalonOne::RiskAffectedEntityItem](docs/RiskAffectedEntityItem.md)
@@ -1352,17 +1377,21 @@ Class | Method | HTTP request | Description
1352
1377
  - [TalonOne::UpdateExperimentVariant](docs/UpdateExperimentVariant.md)
1353
1378
  - [TalonOne::UpdateExperimentVariantArray](docs/UpdateExperimentVariantArray.md)
1354
1379
  - [TalonOne::UpdateExperimentVariantName](docs/UpdateExperimentVariantName.md)
1380
+ - [TalonOne::UpdateExportJob](docs/UpdateExportJob.md)
1355
1381
  - [TalonOne::UpdateLoyaltyCard](docs/UpdateLoyaltyCard.md)
1356
1382
  - [TalonOne::UpdateLoyaltyCardRequest](docs/UpdateLoyaltyCardRequest.md)
1357
1383
  - [TalonOne::UpdateLoyaltyPointsExpiryBlock](docs/UpdateLoyaltyPointsExpiryBlock.md)
1358
1384
  - [TalonOne::UpdateLoyaltyPointsExpiryBlock1Program](docs/UpdateLoyaltyPointsExpiryBlock1Program.md)
1359
1385
  - [TalonOne::UpdateLoyaltyProgram](docs/UpdateLoyaltyProgram.md)
1386
+ - [TalonOne::UpdateLoyaltyProgramMembershipBlock](docs/UpdateLoyaltyProgramMembershipBlock.md)
1387
+ - [TalonOne::UpdateLoyaltyProgramMembershipBlock1Program](docs/UpdateLoyaltyProgramMembershipBlock1Program.md)
1360
1388
  - [TalonOne::UpdateLoyaltyProgramTier](docs/UpdateLoyaltyProgramTier.md)
1361
1389
  - [TalonOne::UpdatePicklist](docs/UpdatePicklist.md)
1362
1390
  - [TalonOne::UpdatePriceType](docs/UpdatePriceType.md)
1363
1391
  - [TalonOne::UpdateReferral](docs/UpdateReferral.md)
1364
1392
  - [TalonOne::UpdateReferralBatch](docs/UpdateReferralBatch.md)
1365
1393
  - [TalonOne::UpdateReward](docs/UpdateReward.md)
1394
+ - [TalonOne::UpdateRewardBudget](docs/UpdateRewardBudget.md)
1366
1395
  - [TalonOne::UpdateRiskNotification](docs/UpdateRiskNotification.md)
1367
1396
  - [TalonOne::UpdateRole](docs/UpdateRole.md)
1368
1397
  - [TalonOne::UpdateStore](docs/UpdateStore.md)
@@ -1374,12 +1403,14 @@ Class | Method | HTTP request | Description
1374
1403
  - [TalonOne::ValueMap](docs/ValueMap.md)
1375
1404
  - [TalonOne::Webhook](docs/Webhook.md)
1376
1405
  - [TalonOne::WebhookAuthentication](docs/WebhookAuthentication.md)
1377
- - [TalonOne::WebhookAuthenticationAllOfData](docs/WebhookAuthenticationAllOfData.md)
1378
1406
  - [TalonOne::WebhookAuthenticationBase](docs/WebhookAuthenticationBase.md)
1379
1407
  - [TalonOne::WebhookAuthenticationBaseBasic](docs/WebhookAuthenticationBaseBasic.md)
1380
1408
  - [TalonOne::WebhookAuthenticationBaseCustom](docs/WebhookAuthenticationBaseCustom.md)
1409
+ - [TalonOne::WebhookAuthenticationBasic](docs/WebhookAuthenticationBasic.md)
1410
+ - [TalonOne::WebhookAuthenticationCustom](docs/WebhookAuthenticationCustom.md)
1381
1411
  - [TalonOne::WebhookAuthenticationDataBasic](docs/WebhookAuthenticationDataBasic.md)
1382
1412
  - [TalonOne::WebhookAuthenticationDataCustom](docs/WebhookAuthenticationDataCustom.md)
1413
+ - [TalonOne::WebhookAuthenticationEntity](docs/WebhookAuthenticationEntity.md)
1383
1414
  - [TalonOne::WebhookAuthenticationWebhookRef](docs/WebhookAuthenticationWebhookRef.md)
1384
1415
  - [TalonOne::WebhookBlockReference](docs/WebhookBlockReference.md)
1385
1416
  - [TalonOne::WebhookWithOutgoingIntegrationDetails](docs/WebhookWithOutgoingIntegrationDetails.md)
@@ -17,6 +17,7 @@
17
17
  | **campaign_ids** | **Array<Integer>** | The IDs of the campaigns that reference this achievement, in ascending order. | |
18
18
  | **referenced_by_campaigns** | [**Array<CampaignReference>**](CampaignReference.md) | The campaigns that reference this achievement, in ascending order of their `id`. | |
19
19
  | **target** | **Float** | The required number of actions or the transactional milestone to complete the achievement. | [optional] |
20
+ | **achievement_period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. This property is omitted for on-completion achievements which have no specified period. The period is a positive real number followed by one letter indicating the time unit, and an optional rounding suffix. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`, `30D_D`, `1W_U`. The letters indicate the following time units: - `s`: Seconds. - `m`: Minutes. - `h`: Hours. - `D`: Days. - `W`: Weeks. - `M`: Months. - `Y`: Years. If a suffix is present, it indicates the following rounding: - `_D`: Rounds down, to the start of the day. It applies to days only. For example, `30D_D` ends at the start of the day, 30 days after the customer starts the achievement. - `_U`: Rounds up, to the end of the day, week, month or year. It applies to days, weeks, months and years. For example, `1W_U` ends at the end of the week in which the one-week period would end. | [optional] |
20
21
  | **achievement_recurrence_policy** | **String** | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | |
21
22
  | **achievement_activation_policy** | **String** | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | |
22
23
  | **achievement_fixed_start_date** | **Time** | The achievement's start date when `achievementActivationPolicy` is equal to `fixed_schedule`. **Note:** It is an RFC3339 timestamp string. | [optional] |
@@ -42,6 +43,7 @@ instance = TalonOne::AchievementProgressWithDefinition.new(
42
43
  campaign_ids: [1, 14, 27],
43
44
  referenced_by_campaigns: null,
44
45
  target: 10,
46
+ achievement_period: 1W,
45
47
  achievement_recurrence_policy: no_recurrence,
46
48
  achievement_activation_policy: fixed_schedule,
47
49
  achievement_fixed_start_date: 2024-01-15T15:04:05Z07:00,
@@ -6,17 +6,17 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **Integer** | The internal ID of this entity. | |
8
8
  | **created** | **Time** | The time this entity was created. | |
9
- | **name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. | [optional] |
10
- | **title** | **String** | The display name for the achievement in the Campaign Manager. | [optional] |
11
- | **description** | **String** | A description of the achievement. | [optional] |
12
- | **target** | **Float** | The required number of actions or the transactional milestone to complete the achievement. | [optional] |
9
+ | **name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. | |
10
+ | **title** | **String** | The display name for the achievement in the Campaign Manager. | |
11
+ | **description** | **String** | A description of the achievement. | |
12
+ | **target** | **Float** | The required number of actions or the transactional milestone to complete the achievement. | |
13
13
  | **period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional] |
14
- | **recurrence_policy** | **String** | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | [optional] |
15
- | **activation_policy** | **String** | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional] |
14
+ | **recurrence_policy** | **String** | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | |
15
+ | **activation_policy** | **String** | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | |
16
16
  | **fixed_start_date** | **Time** | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional] |
17
17
  | **end_date** | **Time** | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional] |
18
18
  | **allow_rollback_after_completion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional] |
19
- | **subscribed_applications** | **Array<Integer>** | A list containing the IDs of all applications that are subscribed to A list containing the IDs of all Applications that are connected to this achievement. | [optional] |
19
+ | **subscribed_applications** | **Array<Integer>** | A list containing the IDs of all applications that are subscribed to A list containing the IDs of all Applications that are connected to this achievement. | |
20
20
  | **user_id** | **Integer** | The ID of the user that created this achievement. | |
21
21
  | **created_by** | **String** | Name of the user that created the achievement. **Note**: This is not available if the user has been deleted. | [optional] |
22
22
  | **period_end_override** | [**TimePoint**](TimePoint.md) | | [optional] |
@@ -7,7 +7,7 @@
7
7
  | **id** | **Integer** | The internal ID of the customer profile. | |
8
8
  | **created** | **Time** | The time this entity was created. | |
9
9
  | **integration_id** | **String** | The integration ID set by your integration layer. | |
10
- | **attributes** | **Hash<String, Object>** | Arbitrary properties associated with this item. | [optional] |
10
+ | **attributes** | **Hash<String, Object>** | Arbitrary properties associated with this item. | |
11
11
  | **account_id** | **Integer** | The ID of the Talon.One account that owns this profile. | |
12
12
  | **closed_sessions** | **Integer** | The total number of closed sessions. Does not include closed sessions that have been cancelled or reopened. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states). | |
13
13
  | **total_sales** | **Float** | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. | |
@@ -7,7 +7,7 @@
7
7
  | **id** | **Integer** | The internal ID of the customer profile. | |
8
8
  | **created** | **Time** | The time this entity was created. | |
9
9
  | **integration_id** | **String** | The integration ID set by your integration layer. | |
10
- | **attributes** | **Hash<String, Object>** | Arbitrary properties associated with this item. | [optional] |
10
+ | **attributes** | **Hash<String, Object>** | Arbitrary properties associated with this item. | |
11
11
  | **account_id** | **Integer** | The ID of the Talon.One account that owns this profile. | |
12
12
  | **closed_sessions** | **Integer** | The total number of closed sessions. Does not include closed sessions that have been cancelled or reopened. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states). | |
13
13
  | **total_sales** | **Float** | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. | |
@@ -11,6 +11,7 @@
11
11
  | **value** | [**AwardDiscountBlock1Value**](AwardDiscountBlock1Value.md) | | |
12
12
  | **partial** | **Boolean** | Whether to apply a partial discount when the requested value exceeds the configured budget. | |
13
13
  | **target** | [**AwardDiscountTarget**](AwardDiscountTarget.md) | | |
14
+ | **excluded_from_price_history** | **Boolean** | When set to `true`, the applied discount is excluded from the item's [price history](https://docs.talon.one/docs/dev/integration-guides/best-prior-price#price-history). | [optional] |
14
15
 
15
16
  ## Example
16
17
 
@@ -24,7 +25,8 @@ instance = TalonOne::AwardDiscountBlock.new(
24
25
  name: 10% Off,
25
26
  value: null,
26
27
  partial: false,
27
- target: null
28
+ target: null,
29
+ excluded_from_price_history: false
28
30
  )
29
31
  ```
30
32
 
data/docs/Block.md CHANGED
@@ -40,7 +40,8 @@ TalonOne::Block.openapi_one_of
40
40
  # :'UpdateAchievementProgressBlock',
41
41
  # :'UpdateAttributeValueBlock',
42
42
  # :'UpdateAudienceMembershipBlock',
43
- # :'UpdateLoyaltyPointsExpiryBlock'
43
+ # :'UpdateLoyaltyPointsExpiryBlock',
44
+ # :'UpdateLoyaltyProgramMembershipBlock'
44
45
  # ]
45
46
  ```
46
47
 
@@ -95,7 +96,8 @@ TalonOne::Block.openapi_discriminator_mapping
95
96
  # :'updateAchievementProgress' => :'UpdateAchievementProgressBlock',
96
97
  # :'updateAttributeValue' => :'UpdateAttributeValueBlock',
97
98
  # :'updateAudienceMembership' => :'UpdateAudienceMembershipBlock',
98
- # :'updateLoyaltyPointsExpiry' => :'UpdateLoyaltyPointsExpiryBlock'
99
+ # :'updateLoyaltyPointsExpiry' => :'UpdateLoyaltyPointsExpiryBlock',
100
+ # :'updateLoyaltyProgramMembership' => :'UpdateLoyaltyProgramMembershipBlock'
99
101
  # }
100
102
  ```
101
103
 
@@ -150,5 +152,6 @@ TalonOne::Block.build(data_that_doesnt_match)
150
152
  - `UpdateAttributeValueBlock`
151
153
  - `UpdateAudienceMembershipBlock`
152
154
  - `UpdateLoyaltyPointsExpiryBlock`
155
+ - `UpdateLoyaltyProgramMembershipBlock`
153
156
  - `nil` (if no type matches)
154
157
 
data/docs/Campaign.md CHANGED
@@ -9,7 +9,7 @@
9
9
  | **application_id** | **Integer** | The ID of the Application that owns this entity. | |
10
10
  | **user_id** | **Integer** | The ID of the user associated with this entity. | |
11
11
  | **name** | **String** | A user-facing name for this campaign. | |
12
- | **description** | **String** | A detailed description of the campaign. | [optional] |
12
+ | **description** | **String** | A detailed description of the campaign. | |
13
13
  | **start_time** | **Time** | Timestamp when the campaign will become active. | [optional] |
14
14
  | **end_time** | **Time** | Timestamp when the campaign will become inactive. | [optional] |
15
15
  | **attributes** | **Object** | Arbitrary properties associated with this campaign. | [optional] |
@@ -22,7 +22,7 @@
22
22
  | **referral_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] |
23
23
  | **limits** | [**Array<LimitConfig>**](LimitConfig.md) | The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign. | |
24
24
  | **campaign_groups** | **Array<Integer>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional] |
25
- | **type** | **String** | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [optional][default to 'advanced'] |
25
+ | **type** | **String** | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [default to 'advanced'] |
26
26
  | **linked_store_ids** | **Array<Integer>** | A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional] |
27
27
  | **coupon_attributes** | **Object** | Arbitrary properties associated with coupons in this campaign. | [optional] |
28
28
  | **budgets** | [**Array<CampaignBudget>**](CampaignBudget.md) | A list of all the budgets that are defined by this campaign and their usage. **Note:** Budgets that are not defined do not appear in this list and their usage is not counted until they are defined. | [optional] |
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **failure_code** | **String** | A code identifying why the customer was not eligible for the campaign. | |
7
+ | **failure_code** | **String** | A code identifying why the customer was not eligible for the campaign. - `ALL_RULES_FAILED`: Every rule in the campaign failed for the customer, so they are not eligible for the campaign. - `SKIPPED`: The campaign was not applied in the current session because it was not selected for evaluation. For example, another campaign in the same evaluation group took precedence. - `AUDIENCE_NOT_MATCHED`: The campaign was not evaluated because the customer profile is not a member of any audience that the campaign targets. | |
8
8
 
9
9
  ## Example
10
10
 
@@ -19,6 +19,36 @@ TalonOne::CampaignSetNode.openapi_one_of
19
19
  # ]
20
20
  ```
21
21
 
22
+ ### `openapi_discriminator_name`
23
+
24
+ Returns the discriminator's property name.
25
+
26
+ #### Example
27
+
28
+ ```ruby
29
+ require 'talon_one_sdk'
30
+
31
+ TalonOne::CampaignSetNode.openapi_discriminator_name
32
+ # => :'type'
33
+ ```
34
+
35
+ ### `openapi_discriminator_name`
36
+
37
+ Returns the discriminator's mapping.
38
+
39
+ #### Example
40
+
41
+ ```ruby
42
+ require 'talon_one_sdk'
43
+
44
+ TalonOne::CampaignSetNode.openapi_discriminator_mapping
45
+ # =>
46
+ # {
47
+ # :'CAMPAIGN' => :'CampaignSetLeafNode',
48
+ # :'SET' => :'CampaignSetBranchNode'
49
+ # }
50
+ ```
51
+
22
52
  ### build
23
53
 
24
54
  Find the appropriate object from the `openapi_one_of` list and casts the data into it.
@@ -26,7 +26,7 @@
26
26
  | **applications_ids** | **Array<Integer>** | | |
27
27
  | **campaign_collections** | [**Array<CampaignTemplateCollection>**](CampaignTemplateCollection.md) | The campaign collections from the blueprint campaign for the template. | [optional] |
28
28
  | **default_campaign_group_id** | **Integer** | The default campaign group ID. | [optional] |
29
- | **campaign_type** | **String** | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [optional][default to 'advanced'] |
29
+ | **campaign_type** | **String** | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [default to 'advanced'] |
30
30
  | **campaigns_count** | **Integer** | The number of Campaigns created from this template. | [optional] |
31
31
  | **updated** | **Time** | Timestamp of the most recent update to the campaign template or any of its elements. | [optional] |
32
32
  | **updated_by** | **String** | Name of the user who last updated this campaign template, if available. | [optional] |
data/docs/CartItem.md CHANGED
@@ -52,7 +52,7 @@ instance = TalonOne::CartItem.new(
52
52
  adjustment_reference_id: 68851723-e6fa-488f-ace9-112581e6c19b,
53
53
  adjustment_effective_from: 2021-09-12T10:12:42Z,
54
54
  adjustment_effective_until: 2021-09-12T10:12:42Z,
55
- prices: {member={price=90, adjustmentReferenceId=68851723-e6fa-488f-ace9-112581e6c19b, effectiveFrom=2025-05-25T00:00:00Z, effectiveUntil=2025-05-30T00:00:00Z}, base={price=100}}
55
+ prices: {member={price=90, adjustmentReferenceId=68851723-e6fa-488f-ace9-112581e6c19b, adjustmentEffectiveFrom=2025-05-25T00:00:00Z, adjustmentEffectiveUntil=2025-05-30T00:00:00Z}, base={price=100}}
56
56
  )
57
57
  ```
58
58
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **attr** | **String** | The name of the attribute to filter on. | |
7
+ | **attr** | **String** | The name of the attribute to filter on. The attribute must exist in the catalog. For the `LT`, `LE`, `GT`, and `GE` comparison operators, the attribute must be of type `number`. | |
8
8
  | **op** | **String** | The filtering operator. | |
9
- | **value** | **Object** | The value to filter for. | |
9
+ | **value** | **Object** | The value to filter for. For the `LT`, `LE`, `GT`, and `GE` comparison operators, the value must be a number or a numeric string. | |
10
10
 
11
11
  ## Example
12
12
 
@@ -14,9 +14,9 @@
14
14
  require 'talon_one_sdk'
15
15
 
16
16
  instance = TalonOne::CatalogActionFilter.new(
17
- attr: null,
18
- op: null,
19
- value: null
17
+ attr: color,
18
+ op: EQ,
19
+ value: blue
20
20
  )
21
21
  ```
22
22
 
@@ -0,0 +1,30 @@
1
+ # TalonOne::CatalogItemSummary
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | The internal ID of the catalog item. | |
8
+ | **catalog_id** | **Integer** | The ID of the catalog the item belongs to. | |
9
+ | **sku** | **String** | The stock keeping unit of the item. | |
10
+ | **price** | **Float** | The price of the item. | [optional] |
11
+ | **product_name** | **String** | The name of the product the item belongs to. | [optional] |
12
+ | **product_id** | **Integer** | The ID of the product the item is linked to. **Note:** Only returned when the product catalog integration is enabled. | [optional] |
13
+ | **sku_id** | **Integer** | The ID of the SKU the item is linked to. **Note:** Only returned when the product catalog integration is enabled. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'talon_one_sdk'
19
+
20
+ instance = TalonOne::CatalogItemSummary.new(
21
+ id: 6,
22
+ catalog_id: 6,
23
+ sku: SKU1241028,
24
+ price: 99.99,
25
+ product_name: Running shoes,
26
+ product_id: 12,
27
+ sku_id: 34
28
+ )
29
+ ```
30
+
data/docs/Coupon.md CHANGED
@@ -7,8 +7,8 @@
7
7
  | **id** | **Integer** | The internal ID of the coupon. | |
8
8
  | **created** | **Time** | The time the coupon was created. | |
9
9
  | **campaign_id** | **Integer** | The ID of the campaign that owns this entity. | |
10
- | **value** | **String** | The coupon code. | [optional] |
11
- | **usage_limit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | [optional] |
10
+ | **value** | **String** | The coupon code. | |
11
+ | **usage_limit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | |
12
12
  | **discount_limit** | **Float** | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] |
13
13
  | **reservation_limit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] |
14
14
  | **start_date** | **Time** | Timestamp at which point the coupon becomes valid. | [optional] |
@@ -7,8 +7,8 @@
7
7
  | **id** | **Integer** | The internal ID of the coupon. | |
8
8
  | **created** | **Time** | The time the coupon was created. | |
9
9
  | **campaign_id** | **Integer** | The ID of the campaign that owns this entity. | |
10
- | **value** | **String** | The coupon code. | [optional] |
11
- | **usage_limit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | [optional] |
10
+ | **value** | **String** | The coupon code. | |
11
+ | **usage_limit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | |
12
12
  | **discount_limit** | **Float** | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] |
13
13
  | **reservation_limit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] |
14
14
  | **start_date** | **Time** | Timestamp at which point the coupon becomes valid. | [optional] |
@@ -7,8 +7,8 @@
7
7
  | **id** | **Integer** | The internal ID of the coupon. | |
8
8
  | **created** | **Time** | The time the coupon was created. | |
9
9
  | **campaign_id** | **Integer** | The ID of the campaign that owns this entity. | |
10
- | **value** | **String** | The coupon code. | [optional] |
11
- | **usage_limit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | [optional] |
10
+ | **value** | **String** | The coupon code. | |
11
+ | **usage_limit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | |
12
12
  | **discount_limit** | **Float** | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] |
13
13
  | **reservation_limit** | **Integer** | The number of reservations that can be made with this coupon code. | [optional] |
14
14
  | **start_date** | **Time** | Timestamp at which point the coupon becomes valid. | [optional] |
@@ -4,10 +4,10 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. | [optional] |
8
- | **title** | **String** | The display name for the achievement in the Campaign Manager. | [optional] |
9
- | **description** | **String** | A description of the achievement. | [optional] |
10
- | **target** | **Float** | The required number of actions or the transactional milestone to complete the achievement. | [optional] |
7
+ | **name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. | |
8
+ | **title** | **String** | The display name for the achievement in the Campaign Manager. | |
9
+ | **description** | **String** | A description of the achievement. | |
10
+ | **target** | **Float** | The required number of actions or the transactional milestone to complete the achievement. | |
11
11
  | **period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional] |
12
12
  | **recurrence_policy** | **String** | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | [optional] |
13
13
  | **activation_policy** | **String** | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional] |
@@ -9,8 +9,8 @@
9
9
  | **referrals** | [**Array<InventoryReferral>**](InventoryReferral.md) | | [optional] |
10
10
  | **coupons** | [**Array<InventoryCoupon>**](InventoryCoupon.md) | The coupons reserved by this profile. This array includes hard and soft reservations. | [optional] |
11
11
  | **giveaways** | [**Array<Giveaway>**](Giveaway.md) | | [optional] |
12
- | **achievements** | [**Array<AchievementProgressWithDefinition>**](AchievementProgressWithDefinition.md) | | [optional] |
13
- | **rewards** | [**Array<RewardWithUnlocks>**](RewardWithUnlocks.md) | The customer rewards that are `unlocked` and not yet `used`. | [optional] |
12
+ | **achievements** | [**Array<AchievementProgressWithDefinition>**](AchievementProgressWithDefinition.md) | The customer's progress in each achievement they have participated in. Only achievements the customer has started are included, whether they are in progress, completed, or expired. Recurring achievements can appear more than once, once per iteration. | [optional] |
13
+ | **rewards** | [**Array<RewardWithUnlocks>**](RewardWithUnlocks.md) | The rewards that the customer has unlocked but not used. Expired customer rewards are not returned. | [optional] |
14
14
 
15
15
  ## Example
16
16
 
@@ -7,7 +7,7 @@
7
7
  | **id** | **Integer** | The internal ID of the customer profile. | |
8
8
  | **created** | **Time** | The time this entity was created. | |
9
9
  | **integration_id** | **String** | The integration ID set by your integration layer. | |
10
- | **attributes** | **Hash<String, Object>** | Arbitrary properties associated with this item. | [optional] |
10
+ | **attributes** | **Hash<String, Object>** | Arbitrary properties associated with this item. | |
11
11
  | **account_id** | **Integer** | The ID of the Talon.One account that owns this profile. | |
12
12
  | **closed_sessions** | **Integer** | The total number of closed sessions. Does not include closed sessions that have been cancelled or reopened. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states). | |
13
13
  | **total_sales** | **Float** | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. | |
@@ -11,9 +11,10 @@
11
11
  | **reward_name** | **String** | The name of the reward. | |
12
12
  | **description** | **String** | The customer-facing description of the reward. | [optional] |
13
13
  | **rule** | [**RuleMetadata**](RuleMetadata.md) | Customer-facing rule metadata for the reward. Only returned when the reward defines a rule. | [optional] |
14
- | **status** | **String** | The status of the customer reward: - `unlocked`: The reward is available for use. - `used`: The reward has been used. | |
14
+ | **status** | **String** | The status of the customer reward: - `unlocked`: The reward is available for use. - `used`: The reward has been used. - `expired`: The reward was not used before its expiry date. | |
15
15
  | **unlocked_at** | **Time** | The date and time when the reward was unlocked. | |
16
16
  | **unlocked_by_profile_integration_id** | **String** | The integration ID of the customer profile that unlocked the reward. For rewards unlocked with a loyalty card, this can be any customer profile linked to that loyalty card. | [optional] |
17
+ | **expiry_date** | **Time** | The date and time when the customer reward expires, based on the `validityDuration` or `expiryDate` of the reward when the reward was unlocked. If the reward does not specify either property, the customer reward has unlimited validity and this field is omitted. **Note**: The expiry date is calculated using the time zone of the Application connected to the reward. | [optional] |
17
18
  | **used_at** | **Time** | The date and time when the reward was used. | [optional] |
18
19
  | **used_by_profile_integration_id** | **String** | The integration ID of the customer profile that used the reward. For rewards unlocked with a loyalty card, this can be any customer profile linked to that loyalty card. Only returned when the reward has been used. | [optional] |
19
20
  | **loyalty_program_id** | **Integer** | The ID of the loyalty program that the loyalty card belongs to. Only returned for rewards unlocked with a loyalty card. | [optional] |
@@ -35,6 +36,7 @@ instance = TalonOne::CustomerProfileReward.new(
35
36
  status: unlocked,
36
37
  unlocked_at: 2026-07-01T09:00:00Z,
37
38
  unlocked_by_profile_integration_id: customer2839,
39
+ expiry_date: 2026-08-31T23:59:59Z,
38
40
  used_at: 2026-07-02T10:30:00Z,
39
41
  used_by_profile_integration_id: customer2840,
40
42
  loyalty_program_id: 9,
@@ -7,7 +7,7 @@
7
7
  | **id** | **Integer** | The internal ID of the customer profile. | |
8
8
  | **created** | **Time** | The time this entity was created. | |
9
9
  | **integration_id** | **String** | The integration ID set by your integration layer. | |
10
- | **attributes** | **Hash<String, Object>** | Arbitrary properties associated with this item. | [optional] |
10
+ | **attributes** | **Hash<String, Object>** | Arbitrary properties associated with this item. | |
11
11
  | **account_id** | **Integer** | The ID of the Talon.One account that owns this profile. | |
12
12
  | **closed_sessions** | **Integer** | The total number of closed sessions. Does not include closed sessions that have been cancelled or reopened. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states). | |
13
13
  | **total_sales** | **Float** | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. | |
@@ -8,6 +8,7 @@
8
8
  | **profile_integration_id** | **String** | The integration ID of the customer profile that unlocked this reward. | |
9
9
  | **integration_id** | **String** | The integration ID assigned to this reward unlock. | |
10
10
  | **unlocked_at** | **Time** | The date and time when the reward was unlocked. | |
11
+ | **expiry_date** | **Time** | The date and time when the customer reward expires, based on the `validityDuration` or `expiryDate` of the reward when the reward was unlocked. If the reward does not specify either property, the customer reward has unlimited validity and this field is omitted. **Note**: The expiry date is calculated using the time zone of the Application connected to the reward. | [optional] |
11
12
  | **used_at** | **Time** | The date and time when the reward was used. | [optional] |
12
13
 
13
14
  ## Example
@@ -20,6 +21,7 @@ instance = TalonOne::CustomerReward.new(
20
21
  profile_integration_id: customer1,
21
22
  integration_id: reward-unlock-123,
22
23
  unlocked_at: 2024-01-01T00:00:00Z,
24
+ expiry_date: 2024-03-31T23:59:59Z,
23
25
  used_at: 2024-01-02T00:00:00Z
24
26
  )
25
27
  ```
@@ -7,14 +7,14 @@
7
7
  | **integration_id** | **String** | | |
8
8
  | **created** | **Time** | The time this entity was created. | |
9
9
  | **application_id** | **Integer** | The ID of the Application that owns this entity. | |
10
- | **profile_id** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | [optional] |
11
- | **coupon** | **String** | Any coupon code entered. | [optional] |
12
- | **referral** | **String** | Any referral code entered. | [optional] |
13
- | **state** | **String** | Indicates the current state of the session. Sessions can be created as `open` or `closed`. The state transitions are: 1. `open` -> `closed` 2. `open` -> `cancelled` 3. `closed` -> `cancelled` or `partially_returned` 4. `partially_returned` -> `cancelled` For more information, see [Customer session states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). | [optional][default to 'open'] |
14
- | **cart_items** | [**Array<CartItem>**](CartItem.md) | Serialized JSON representation. | [optional] |
10
+ | **profile_id** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | |
11
+ | **coupon** | **String** | Any coupon code entered. | |
12
+ | **referral** | **String** | Any referral code entered. | |
13
+ | **state** | **String** | Indicates the current state of the session. Sessions can be created as `open` or `closed`. The state transitions are: 1. `open` -> `closed` 2. `open` -> `cancelled` 3. `closed` -> `cancelled` or `partially_returned` 4. `partially_returned` -> `cancelled` For more information, see [Customer session states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). | [default to 'open'] |
14
+ | **cart_items** | [**Array<CartItem>**](CartItem.md) | Serialized JSON representation. | |
15
15
  | **identifiers** | **Array<String>** | Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). | [optional] |
16
- | **total** | **Float** | The total sum of the cart in one session. | [optional] |
17
- | **attributes** | **Object** | A key-value map of the sessions attributes. The potentially valid attributes are configured in your accounts developer settings. | [optional] |
16
+ | **total** | **Float** | The total sum of the cart in one session. | |
17
+ | **attributes** | **Object** | A key-value map of the sessions attributes. The potentially valid attributes are configured in your accounts developer settings. | |
18
18
  | **first_session** | **Boolean** | Indicates whether this is the first session for the customer's profile. Will always be true for anonymous sessions. | |
19
19
  | **update_count** | **Integer** | The number of times the session was updated. When the session is created, this value is initialized to `1`. | |
20
20
  | **discounts** | **Hash<String, Float>** | A map of labelled discount values, values will be in the same currency as the application associated with the session. | |