voucherify 8.1.0 → 8.2.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 (859) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +1 -1
  3. data/ENDPOINTS-COVERAGE.md +192 -56
  4. data/Gemfile.lock +7 -7
  5. data/README.md +422 -0
  6. data/__tests__/LOYALTY_V2_COVERAGE.md +161 -0
  7. data/__tests__/lib/config.rb +20 -0
  8. data/__tests__/lib/loyalty_v2_fixture.rb +199 -0
  9. data/__tests__/lib/loyalty_v2_http.rb +209 -0
  10. data/__tests__/spec/13_management_spec.rb +6 -1
  11. data/__tests__/spec/15_loyalty_v2_spec.rb +403 -0
  12. data/docs/ActivitySource.md +10 -0
  13. data/docs/ActivitySourceApiKey.md +10 -0
  14. data/docs/ActivitySourceUser.md +8 -0
  15. data/docs/BenefitPointsProportionalApplicableTo.md +11 -0
  16. data/docs/BenefitPointsProportionalCustomEvent.md +8 -0
  17. data/docs/BenefitPointsProportionalCustomEventMetadata.md +10 -0
  18. data/docs/BenefitPointsProportionalCustomer.md +8 -0
  19. data/docs/BenefitPointsProportionalCustomerMetadata.md +10 -0
  20. data/docs/BenefitPointsProportionalOrder.md +10 -0
  21. data/docs/BenefitPointsProportionalOrderAmount.md +9 -0
  22. data/docs/BenefitPointsProportionalOrderItems.md +10 -0
  23. data/docs/BenefitPointsProportionalOrderItemsAmount.md +10 -0
  24. data/docs/BenefitPointsProportionalOrderItemsQuantity.md +10 -0
  25. data/docs/BenefitPointsProportionalOrderItemsSubtotalAmount.md +10 -0
  26. data/docs/BenefitPointsProportionalOrderMetadata.md +10 -0
  27. data/docs/BenefitPointsProportionalOrderTotalAmount.md +9 -0
  28. data/docs/BenefitTransaction.md +18 -0
  29. data/docs/BenefitTransactionDetails.md +11 -0
  30. data/docs/BenefitTransactionDetailsMetadata.md +9 -0
  31. data/docs/BenefitTransactionDetailsResult.md +8 -0
  32. data/docs/BenefitTransactionRejection.md +9 -0
  33. data/docs/CampaignsApi.md +7 -7
  34. data/docs/Card.md +19 -0
  35. data/docs/CardActivity.md +14 -0
  36. data/docs/CardActivityData.md +12 -0
  37. data/docs/CardBalance.md +9 -0
  38. data/docs/CardCodeGenerationFailureResult.md +8 -0
  39. data/docs/CardDailyReportEntry.md +24 -0
  40. data/docs/CardDefinitionIdFilterConditions.md +8 -0
  41. data/docs/CardDefinitionIdFilterConditionsConditions.md +11 -0
  42. data/docs/CardLifetimeBucket.md +9 -0
  43. data/docs/CardLifetimeBucketPendingPoints.md +10 -0
  44. data/docs/CardLifetimeBucketPoints.md +19 -0
  45. data/docs/CardNextActivation.md +11 -0
  46. data/docs/CardNextExpiration.md +9 -0
  47. data/docs/CardPendingPointsBucket.md +20 -0
  48. data/docs/CardPendingPointsBucketPoints.md +8 -0
  49. data/docs/CardPointsBucket.md +21 -0
  50. data/docs/CardPointsBucketPoints.md +8 -0
  51. data/docs/CardSimple.md +16 -0
  52. data/docs/CardTransaction.md +19 -0
  53. data/docs/CardTransactionDetails.md +22 -0
  54. data/docs/CardTransactionDetailsCardTransaction.md +8 -0
  55. data/docs/CardTransactionDetailsOrder.md +8 -0
  56. data/docs/CardTransactionDetailsOrderTransaction.md +8 -0
  57. data/docs/CardTransactionDetailsPoints.md +12 -0
  58. data/docs/CardTransactionDetailsPurchase.md +9 -0
  59. data/docs/CardTransactionDetailsPurchaseCardTransaction.md +8 -0
  60. data/docs/CardTransactionDetailsPurchaseRewardTransaction.md +8 -0
  61. data/docs/CardTransactionDetailsPurchaseTransaction.md +8 -0
  62. data/docs/CardTransactionDetailsRejection.md +9 -0
  63. data/docs/CardTransactionDetailsReward.md +8 -0
  64. data/docs/CardTransactionDetailsRewardTransaction.md +8 -0
  65. data/docs/CardTransactionDetailsTargetCard.md +8 -0
  66. data/docs/ClientRedemptionsRedeemRequestBody.md +1 -1
  67. data/docs/ClientSideApi.md +2 -2
  68. data/docs/ClientValidationsValidateRequestBody.md +1 -1
  69. data/docs/ClientValidationsValidateResponseBody.md +1 -1
  70. data/docs/CustomerLoyaltyMembership.md +11 -0
  71. data/docs/CustomerLoyaltyMembershipCard.md +13 -0
  72. data/docs/CustomerLoyaltyMembershipMember.md +11 -0
  73. data/docs/CustomerLoyaltyMembershipTier.md +12 -0
  74. data/docs/CustomerWithSummaryLoyaltyReferrals.md +1 -0
  75. data/docs/CustomersApi.md +8 -6
  76. data/docs/CustomersCreateResponseBody.md +1 -0
  77. data/docs/CustomersGetResponseBody.md +1 -0
  78. data/docs/CustomersRedeemablesListResponseBody.md +1 -1
  79. data/docs/CustomersUpdateResponseBody.md +1 -0
  80. data/docs/DateFilter.md +8 -0
  81. data/docs/DateFilterConditions.md +14 -0
  82. data/docs/EarningRuleDailyReportEntry.md +10 -0
  83. data/docs/EarningRuleEarning.md +12 -0
  84. data/docs/EarningRuleEffect.md +11 -0
  85. data/docs/EarningRuleEffectPoints.md +10 -0
  86. data/docs/EarningRuleEffectPointsExpiration.md +11 -0
  87. data/docs/EarningRuleEffectPointsExpirationCalendarExpiration.md +8 -0
  88. data/docs/EarningRuleEffectPointsExpirationRollingExpiration.md +9 -0
  89. data/docs/EarningRuleEffectPointsExpirationSlidingExpiration.md +9 -0
  90. data/docs/EarningRuleEffectPointsProportional.md +14 -0
  91. data/docs/EarningRuleIdFilterConditions.md +8 -0
  92. data/docs/EarningRuleIdFilterConditionsConditions.md +11 -0
  93. data/docs/EarningRulePointsProportionalApplicableTo.md +11 -0
  94. data/docs/EarningRulePointsProportionalCustomEvent.md +8 -0
  95. data/docs/EarningRulePointsProportionalCustomer.md +8 -0
  96. data/docs/EarningRulePointsProportionalOrder.md +10 -0
  97. data/docs/EarningRulePointsProportionalOrderItems.md +10 -0
  98. data/docs/EarningRulePointsProportionalOrderItemsCalculation.md +10 -0
  99. data/docs/EarningRuleTierRules.md +9 -0
  100. data/docs/EarningRuleTrigger.md +10 -0
  101. data/docs/EarningRuleTriggerLimitsCooldown.md +9 -0
  102. data/docs/EarningRuleTriggerLimitsCooldownFixedCooldown.md +8 -0
  103. data/docs/EarningRuleTriggerLimitsFrequency.md +9 -0
  104. data/docs/EarningRuleValidityHours.md +9 -0
  105. data/docs/EarningRulesReportDailyEntry.md +13 -0
  106. data/docs/EarningRulesReportFailuresBreakdown.md +9 -0
  107. data/docs/EarningRulesReportListFilters.md +9 -0
  108. data/docs/EarningRulesReportSummaryEntry.md +13 -0
  109. data/docs/ErrorError.md +1 -1
  110. data/docs/ExamineCardReference.md +12 -0
  111. data/docs/ExamineCustomerIdentification.md +11 -0
  112. data/docs/ExamineCustomerReference.md +11 -0
  113. data/docs/ExamineMemberReference.md +12 -0
  114. data/docs/ExamineProgramReference.md +11 -0
  115. data/docs/ExportParameters.md +2 -2
  116. data/docs/ExportsApi.md +6 -6
  117. data/docs/ExportsCreateRequestBodyParameters.md +2 -2
  118. data/docs/ExportsCreateResponseBodyParameters.md +2 -2
  119. data/docs/ExportsGetResponseBodyParameters.md +2 -2
  120. data/docs/LV2BenefitsApi.md +66 -0
  121. data/docs/LV2EarningRulesApi.md +66 -0
  122. data/docs/LV2ExamineApi.md +129 -0
  123. data/docs/LV2ProgramsApi.md +2935 -0
  124. data/docs/LV2RewardsApi.md +66 -0
  125. data/docs/ListCursor.md +9 -0
  126. data/docs/LoyaltiesApi.md +52 -52
  127. data/docs/LoyaltiesExamineEarningRulesExamineRequestBody.md +12 -0
  128. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomEventAll.md +8 -0
  129. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomEventSpecific.md +9 -0
  130. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomer.md +8 -0
  131. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomerCustomEvent.md +10 -0
  132. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomerCustomEventAll.md +10 -0
  133. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomerCustomEventSpecific.md +10 -0
  134. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomerOrderPaid.md +10 -0
  135. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomerSegmentEntered.md +9 -0
  136. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyMember.md +8 -0
  137. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyOrder.md +12 -0
  138. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyOrderItem.md +19 -0
  139. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyOrderItemProduct.md +10 -0
  140. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyOrderItemSku.md +10 -0
  141. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyTrigger.md +9 -0
  142. data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyTriggerSpecific.md +8 -0
  143. data/docs/LoyaltiesExamineEarningRulesExamineResponseBody.md +12 -0
  144. data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyBenefitEarningRuleEstimation.md +9 -0
  145. data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyBenefitEstimation.md +10 -0
  146. data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyBenefitReference.md +11 -0
  147. data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyCardEarningRuleEstimation.md +10 -0
  148. data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyCardEstimation.md +11 -0
  149. data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyEarningRuleDetail.md +11 -0
  150. data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyEarningRuleReference.md +9 -0
  151. data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyMembership.md +12 -0
  152. data/docs/LoyaltiesExamineRewardsExamineRequestBody.md +10 -0
  153. data/docs/LoyaltiesExamineRewardsExamineRequestBodyCustomer.md +8 -0
  154. data/docs/LoyaltiesExamineRewardsExamineRequestBodyMember.md +8 -0
  155. data/docs/LoyaltiesExamineRewardsExamineResponseBody.md +11 -0
  156. data/docs/LoyaltiesExamineRewardsExamineResponseBodyCardEstimation.md +10 -0
  157. data/docs/LoyaltiesExamineRewardsExamineResponseBodyCardRewardEstimation.md +12 -0
  158. data/docs/LoyaltiesExamineRewardsExamineResponseBodyMembership.md +11 -0
  159. data/docs/LoyaltiesExamineRewardsExamineResponseBodyRewardCost.md +9 -0
  160. data/docs/LoyaltiesExamineRewardsExamineResponseBodyRewardDetail.md +13 -0
  161. data/docs/LoyaltiesExamineRewardsExamineResponseBodyRewardReference.md +9 -0
  162. data/docs/LoyaltiesExamineRewardsExamineResponseBodyRewardUnavailabilityReason.md +10 -0
  163. data/docs/LoyaltiesProgramsMembersActivitiesListRequestQueryFiltersId.md +8 -0
  164. data/docs/LoyaltiesProgramsMembersActivitiesListRequestQueryFiltersIdConditions.md +11 -0
  165. data/docs/LoyaltiesProgramsMembersActivitiesListRequestQueryFiltersType.md +8 -0
  166. data/docs/LoyaltiesProgramsMembersActivitiesListRequestQueryFiltersTypeConditions.md +11 -0
  167. data/docs/LoyaltiesProgramsMembersBenefitsTransactionsListRequestQueryBenefitId.md +8 -0
  168. data/docs/LoyaltiesProgramsMembersBenefitsTransactionsListRequestQueryBenefitIdConditions.md +11 -0
  169. data/docs/LoyaltiesProgramsMembersCardsActivitiesListRequestQueryFiltersId.md +8 -0
  170. data/docs/LoyaltiesProgramsMembersCardsActivitiesListRequestQueryFiltersIdConditions.md +11 -0
  171. data/docs/LoyaltiesProgramsMembersCardsActivitiesListRequestQueryFiltersType.md +8 -0
  172. data/docs/LoyaltiesProgramsMembersCardsActivitiesListRequestQueryFiltersTypeConditions.md +11 -0
  173. data/docs/LoyaltiesProgramsMembersCardsReportsDailyListResponseBody.md +9 -0
  174. data/docs/LoyaltiesProgramsMembersCardsTransactionsListRequestQueryId.md +8 -0
  175. data/docs/LoyaltiesProgramsMembersCardsTransactionsListRequestQueryIdConditions.md +11 -0
  176. data/docs/LoyaltiesProgramsMembersListRequestQueryCustomerId.md +8 -0
  177. data/docs/LoyaltiesProgramsMembersListRequestQueryCustomerIdConditions.md +11 -0
  178. data/docs/LoyaltiesProgramsMembersListRequestQueryId.md +8 -0
  179. data/docs/LoyaltiesProgramsMembersListRequestQueryIdConditions.md +11 -0
  180. data/docs/LoyaltiesProgramsMembersListRequestQueryStatus.md +8 -0
  181. data/docs/LoyaltiesProgramsMembersListRequestQueryStatusConditions.md +11 -0
  182. data/docs/LoyaltiesProgramsMembersOrdersPaymentsCreateCombinedResponseBody.md +10 -0
  183. data/docs/LoyaltiesProgramsMembersOrdersPaymentsCreateCombinedResponseBodyTransaction.md +20 -0
  184. data/docs/LoyaltiesProgramsMembersOrdersPaymentsCreateCombinedResponseBodyTransactionDetails.md +12 -0
  185. data/docs/LoyaltiesProgramsMembersOrdersPaymentsCreateRequestBodyLimit.md +10 -0
  186. data/docs/LoyaltiesProgramsMembersOrdersPaymentsListRequestQueryId.md +8 -0
  187. data/docs/LoyaltiesProgramsMembersOrdersPaymentsListRequestQueryIdConditions.md +11 -0
  188. data/docs/LoyaltiesProgramsMembersRewardsPurchasesCreateCombinedResponseBody.md +10 -0
  189. data/docs/LoyaltiesProgramsMembersRewardsPurchasesCreateCombinedResponseBodyTransaction.md +20 -0
  190. data/docs/LoyaltiesProgramsMembersRewardsPurchasesCreateCombinedResponseBodyTransactionDetails.md +12 -0
  191. data/docs/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionId.md +8 -0
  192. data/docs/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionIdConditions.md +11 -0
  193. data/docs/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryId.md +8 -0
  194. data/docs/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryIdConditions.md +11 -0
  195. data/docs/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryRewardId.md +8 -0
  196. data/docs/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryRewardIdConditions.md +11 -0
  197. data/docs/LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardDefinitionId.md +8 -0
  198. data/docs/LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardDefinitionIdConditions.md +11 -0
  199. data/docs/LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardId.md +8 -0
  200. data/docs/LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardIdConditions.md +11 -0
  201. data/docs/LoyaltiesProgramsReportsMembersDailyListResponseBody.md +9 -0
  202. data/docs/LoyaltiesProgramsReportsMembersSummaryListResponseBody.md +9 -0
  203. data/docs/LoyaltiesProgramsReportsRewardsDailyListResponseBody.md +9 -0
  204. data/docs/LoyaltiesProgramsReportsRewardsSpendingsDailyListResponseBody.md +9 -0
  205. data/docs/LoyaltiesProgramsReportsRewardsSpendingsSummaryListResponseBody.md +9 -0
  206. data/docs/LoyaltiesProgramsReportsRewardsSummaryListResponseBody.md +9 -0
  207. data/docs/LoyaltiesProgramsReportsSpendingDailyListResponseBody.md +9 -0
  208. data/docs/LoyaltiesProgramsReportsSpendingSummaryListResponseBody.md +9 -0
  209. data/docs/LoyaltyV2ActivityBenefitPointsProportionalApplicableToProduct.md +8 -0
  210. data/docs/LoyaltyV2ActivityBenefitPointsProportionalApplicableToProductsCollection.md +8 -0
  211. data/docs/LoyaltyV2ActivityBenefitPointsProportionalApplicableToSku.md +8 -0
  212. data/docs/LoyaltyV2ActivityBenefitStockLimited.md +8 -0
  213. data/docs/LoyaltyV2ActivityCardDefinitionLimitTimeBasedPeriod.md +9 -0
  214. data/docs/LoyaltyV2ActivityCardDefinitionLimitTimeBasedPeriodCurrentPeriod.md +8 -0
  215. data/docs/LoyaltyV2ActivityEarningRuleEarningLimits.md +8 -0
  216. data/docs/LoyaltyV2ActivityEarningRuleEarningLimitsGlobal.md +9 -0
  217. data/docs/LoyaltyV2ActivityEarningRuleEffectBenefit.md +8 -0
  218. data/docs/LoyaltyV2ActivityEarningRuleEffectPointsExpirationCalendarExpirationDate.md +9 -0
  219. data/docs/LoyaltyV2ActivityEarningRuleEffectPointsExpirationRollingExpirationPeriod.md +9 -0
  220. data/docs/LoyaltyV2ActivityEarningRuleEffectPointsExpirationRollingExpirationRounding.md +9 -0
  221. data/docs/LoyaltyV2ActivityEarningRuleEffectPointsExpirationSlidingExpirationPeriod.md +9 -0
  222. data/docs/LoyaltyV2ActivityEarningRuleError.md +8 -0
  223. data/docs/LoyaltyV2ActivityEarningRulePointsProportionalApplicableToProduct.md +8 -0
  224. data/docs/LoyaltyV2ActivityEarningRulePointsProportionalApplicableToProductsCollection.md +8 -0
  225. data/docs/LoyaltyV2ActivityEarningRulePointsProportionalApplicableToSku.md +8 -0
  226. data/docs/LoyaltyV2ActivityEarningRulePointsProportionalEvery.md +9 -0
  227. data/docs/LoyaltyV2ActivityEarningRulePointsProportionalMetadata.md +10 -0
  228. data/docs/LoyaltyV2ActivityEarningRuleTierRulesAnyOfEntry.md +9 -0
  229. data/docs/LoyaltyV2ActivityEarningRuleTriggerCustomEvent.md +8 -0
  230. data/docs/LoyaltyV2ActivityEarningRuleTriggerLimitsCooldownFixedCooldownPeriod.md +9 -0
  231. data/docs/LoyaltyV2ActivityEarningRuleTriggerSegment.md +8 -0
  232. data/docs/LoyaltyV2ActivityEarningRuleValidityDailyHours.md +10 -0
  233. data/docs/LoyaltyV2ActivityRewardCostSpendingResponse.md +11 -0
  234. data/docs/LoyaltyV2ActivityRewardDigitalDiscountCoupons.md +8 -0
  235. data/docs/LoyaltyV2ActivityRewardDigitalGiftVouchersResponse.md +9 -0
  236. data/docs/LoyaltyV2ActivityRewardDigitalLoyaltyCardPointsResponse.md +9 -0
  237. data/docs/LoyaltyV2ActivityRewardMaterialProduct.md +8 -0
  238. data/docs/LoyaltyV2ActivityRewardMaterialSKU.md +9 -0
  239. data/docs/LoyaltyV2ActivityRewardPurchaseLimitsCooldownFixedCooldownPeriod.md +9 -0
  240. data/docs/LoyaltyV2ActivityRewardPurchaseLimitsFrequencyLimitTriggers.md +8 -0
  241. data/docs/LoyaltyV2ActivityRewardRefunds.md +8 -0
  242. data/docs/LoyaltyV2ActivityRewardValidityDailyHoursResponse.md +10 -0
  243. data/docs/LoyaltyV2CardPointsBucketSimple.md +11 -0
  244. data/docs/LoyaltyV2CardPointsBucketSimplePoints.md +8 -0
  245. data/docs/LpmOrdPayCcrbTxDetailsMetadata.md +9 -0
  246. data/docs/LpmOrdPayCcrbTxDetailsRejection.md +9 -0
  247. data/docs/LpmOrdPayCcrbTxDetailsRejectionDetails.md +10 -0
  248. data/docs/LpmOrdPayCcrbTxDetailsSpendingCap.md +10 -0
  249. data/docs/LpmRewPurchCcrbTxDetailsPoints.md +8 -0
  250. data/docs/LpmRewPurchCcrbTxDetailsRejection.md +9 -0
  251. data/docs/LpmRewPurchCcrbTxDetailsResult.md +11 -0
  252. data/docs/LpmRewPurchCcrbTxDetailsResultDigLcPoints.md +10 -0
  253. data/docs/LpmRewPurchCcrbTxDetailsResultDigital.md +11 -0
  254. data/docs/LpmRewPurchCcrbTxDetailsResultMaterial.md +10 -0
  255. data/docs/LpmRewPurchCcrbTxDetailsResultReward.md +9 -0
  256. data/docs/ManagementApi.md +26 -26
  257. data/docs/ManagementProjectsMetadataSchemaDefinition.md +1 -1
  258. data/docs/Member.md +15 -0
  259. data/docs/MemberCard.md +11 -0
  260. data/docs/MemberCreate.md +10 -0
  261. data/docs/MemberTierProgress.md +13 -0
  262. data/docs/MemberTierProgressCurrent.md +11 -0
  263. data/docs/MemberTierProgressDeferred.md +10 -0
  264. data/docs/MemberTierProgressOpportunity.md +10 -0
  265. data/docs/MemberTierProgressPoints.md +10 -0
  266. data/docs/MemberTierProgressRisk.md +10 -0
  267. data/docs/MemberTierProgressTier.md +9 -0
  268. data/docs/MemberTierProgressTierStructure.md +9 -0
  269. data/docs/MembersReportDailyEntry.md +13 -0
  270. data/docs/MembersReportSummaryEntry.md +13 -0
  271. data/docs/MembershipCard.md +12 -0
  272. data/docs/MetadataSchemasApi.md +2 -2
  273. data/docs/OrderPaymentLimitDefinition.md +8 -0
  274. data/docs/OrderPaymentOrder.md +9 -0
  275. data/docs/OrderPaymentPaymentDetails.md +11 -0
  276. data/docs/OrderPaymentRejection.md +9 -0
  277. data/docs/OrderPaymentTransaction.md +20 -0
  278. data/docs/OrderPaymentTransactionDetails.md +12 -0
  279. data/docs/OrderPaymentTransactionDetailsSpendingCap.md +10 -0
  280. data/docs/OrdersApi.md +2 -2
  281. data/docs/PointsEarningsReportDailyEntry.md +15 -0
  282. data/docs/PointsEarningsReportListFilters.md +10 -0
  283. data/docs/PointsEarningsReportSummaryEntry.md +15 -0
  284. data/docs/ProductCollectionsApi.md +1 -1
  285. data/docs/ProductCollectionsProductsListResponseBody.md +1 -1
  286. data/docs/ProductsApi.md +4 -4
  287. data/docs/Program.md +17 -0
  288. data/docs/ProgramEarningRuleAssignment.md +10 -0
  289. data/docs/ProgramListCursor.md +9 -0
  290. data/docs/ProgramRewardAssignment.md +13 -0
  291. data/docs/ProgramRewardAssignmentStock.md +9 -0
  292. data/docs/ProgramRewardAssignmentStockLimited.md +8 -0
  293. data/docs/ProgramSimple.md +12 -0
  294. data/docs/ProgramTierStructureAssignment.md +10 -0
  295. data/docs/ProgramValidityDailyHours.md +10 -0
  296. data/docs/ProgramValidityHours.md +9 -0
  297. data/docs/PromotionTierCampaign.md +1 -1
  298. data/docs/PromotionsTiersCreateResponseBodyCampaign.md +1 -1
  299. data/docs/PromotionsTiersDisableResponseBodyCampaign.md +1 -1
  300. data/docs/PromotionsTiersEnableResponseBodyCampaign.md +1 -1
  301. data/docs/PromotionsTiersGetResponseBodyCampaign.md +1 -1
  302. data/docs/PromotionsTiersUpdateResponseBodyCampaign.md +1 -1
  303. data/docs/PublicationsApi.md +3 -3
  304. data/docs/PublicationsListResponseBody.md +1 -1
  305. data/docs/QualificationsApi.md +1 -1
  306. data/docs/RedemptionEntryPromotionTierCampaign.md +1 -1
  307. data/docs/RedemptionRewardResultParametersCoin.md +1 -1
  308. data/docs/RedemptionsApi.md +3 -3
  309. data/docs/RedemptionsGetResponseBodyPromotionTierCampaign.md +1 -1
  310. data/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTierCampaign.md +1 -1
  311. data/docs/RedemptionsRedeemRequestBody.md +1 -1
  312. data/docs/RedemptionsRedeemRequestBodyOptions.md +1 -0
  313. data/docs/ReferralsApi.md +4 -4
  314. data/docs/ReferralsMembersHoldersListResponseBody.md +1 -1
  315. data/docs/ReportCardDefinitionIdFilterConditions.md +8 -0
  316. data/docs/ReportCardDefinitionIdFilterConditionsConditions.md +11 -0
  317. data/docs/RewardCostResponse.md +12 -0
  318. data/docs/RewardCostTierRulesAnyOfEntryResponse.md +9 -0
  319. data/docs/RewardCostTierRulesResponse.md +9 -0
  320. data/docs/RewardDigitalResponse.md +11 -0
  321. data/docs/RewardMaterialResponse.md +10 -0
  322. data/docs/RewardPurchaseDigitalCoupon.md +10 -0
  323. data/docs/RewardPurchaseDigitalGiftVoucher.md +12 -0
  324. data/docs/RewardPurchaseLimits.md +9 -0
  325. data/docs/RewardPurchaseLimitsCooldown.md +9 -0
  326. data/docs/RewardPurchaseLimitsCooldownFixedCooldown.md +8 -0
  327. data/docs/RewardPurchaseLimitsFrequency.md +9 -0
  328. data/docs/RewardPurchaseLimitsFrequencyLimit.md +10 -0
  329. data/docs/RewardPurchaseRefundPolicies.md +9 -0
  330. data/docs/RewardPurchaseTransaction.md +20 -0
  331. data/docs/RewardValidityHoursResponse.md +9 -0
  332. data/docs/RewardsCreateRequestBodyParametersCoin.md +1 -1
  333. data/docs/RewardsReportDailyEntry.md +13 -0
  334. data/docs/RewardsReportFilterRewardIdConditions.md +8 -0
  335. data/docs/RewardsReportFilterRewardIdConditionsConditions.md +11 -0
  336. data/docs/RewardsReportListFilters.md +9 -0
  337. data/docs/RewardsReportSummaryEntry.md +13 -0
  338. data/docs/RewardsSpendingsReportDailyEntry.md +15 -0
  339. data/docs/RewardsSpendingsReportFilterCostIdConditions.md +8 -0
  340. data/docs/RewardsSpendingsReportFilterCostIdConditionsConditions.md +11 -0
  341. data/docs/RewardsSpendingsReportFilterSpendingIdConditions.md +8 -0
  342. data/docs/RewardsSpendingsReportFilterSpendingIdConditionsConditions.md +11 -0
  343. data/docs/RewardsSpendingsReportListFilters.md +12 -0
  344. data/docs/RewardsSpendingsReportSummaryEntry.md +15 -0
  345. data/docs/RewardsUpdateRequestBodyParametersCoin.md +1 -1
  346. data/docs/SegmentsApi.md +1 -1
  347. data/docs/SpendingReportDailyEntry.md +17 -0
  348. data/docs/SpendingReportListFilters.md +9 -0
  349. data/docs/SpendingReportSummaryEntry.md +17 -0
  350. data/docs/TemplatesApi.md +7 -7
  351. data/docs/TierTransaction.md +20 -0
  352. data/docs/TierTransactionDetails.md +14 -0
  353. data/docs/TierTransactionOrigin.md +10 -0
  354. data/docs/TierTransactionRejection.md +9 -0
  355. data/docs/TiersReportDailyEntry.md +16 -0
  356. data/docs/TiersReportFilterTierIdConditions.md +8 -0
  357. data/docs/TiersReportFilterTierIdConditionsConditions.md +11 -0
  358. data/docs/TiersReportFilterTierStructureIdConditions.md +8 -0
  359. data/docs/TiersReportFilterTierStructureIdConditionsConditions.md +11 -0
  360. data/docs/TiersReportListFilters.md +10 -0
  361. data/docs/TiersReportSummaryEntry.md +16 -0
  362. data/docs/TransactionFilterDateConditions.md +8 -0
  363. data/docs/TransactionFilterDateConditionsConditions.md +14 -0
  364. data/docs/V2LoyaltiesBenefitsGetResponseBody.md +19 -0
  365. data/docs/V2LoyaltiesBenefitsGetResponseBodyPoints.md +9 -0
  366. data/docs/V2LoyaltiesBenefitsGetResponseBodyPointsProportional.md +13 -0
  367. data/docs/V2LoyaltiesBenefitsGetResponseBodyStock.md +9 -0
  368. data/docs/V2LoyaltiesEarningRulesGetResponseBody.md +22 -0
  369. data/docs/V2LoyaltiesEarningRulesGetResponseBodyTriggerLimits.md +9 -0
  370. data/docs/V2LoyaltiesProgramsEarningRulesListResponseBody.md +10 -0
  371. data/docs/V2LoyaltiesProgramsMembersActivateResponseBody.md +15 -0
  372. data/docs/V2LoyaltiesProgramsMembersActivitiesListRequestQueryFilters.md +11 -0
  373. data/docs/V2LoyaltiesProgramsMembersActivitiesListResponseBody.md +10 -0
  374. data/docs/V2LoyaltiesProgramsMembersBenefitsTransactionsListRequestQuery.md +10 -0
  375. data/docs/V2LoyaltiesProgramsMembersBenefitsTransactionsListResponseBody.md +10 -0
  376. data/docs/V2LoyaltiesProgramsMembersBenefitsTransactionsListResponseBodyCursor.md +9 -0
  377. data/docs/V2LoyaltiesProgramsMembersCardsActivitiesListRequestQueryFilters.md +11 -0
  378. data/docs/V2LoyaltiesProgramsMembersCardsActivitiesListResponseBody.md +10 -0
  379. data/docs/V2LoyaltiesProgramsMembersCardsExpiringPointsExpireResponseBody.md +10 -0
  380. data/docs/V2LoyaltiesProgramsMembersCardsExpiringPointsListRequestQuery.md +10 -0
  381. data/docs/V2LoyaltiesProgramsMembersCardsExpiringPointsListResponseBody.md +10 -0
  382. data/docs/V2LoyaltiesProgramsMembersCardsPendingPointsActivateResponseBody.md +10 -0
  383. data/docs/V2LoyaltiesProgramsMembersCardsPendingPointsCancelResponseBody.md +10 -0
  384. data/docs/V2LoyaltiesProgramsMembersCardsPendingPointsListRequestQuery.md +9 -0
  385. data/docs/V2LoyaltiesProgramsMembersCardsPendingPointsListResponseBody.md +10 -0
  386. data/docs/V2LoyaltiesProgramsMembersCardsPointsAdjustRequestBody.md +9 -0
  387. data/docs/V2LoyaltiesProgramsMembersCardsPointsAdjustResponseBody.md +10 -0
  388. data/docs/V2LoyaltiesProgramsMembersCardsTransactionsListRequestQuery.md +11 -0
  389. data/docs/V2LoyaltiesProgramsMembersCardsTransactionsListResponseBody.md +10 -0
  390. data/docs/V2LoyaltiesProgramsMembersCreateInBulkResponseBody.md +8 -0
  391. data/docs/V2LoyaltiesProgramsMembersCreateRequestBody.md +10 -0
  392. data/docs/V2LoyaltiesProgramsMembersCreateResponseBody.md +16 -0
  393. data/docs/V2LoyaltiesProgramsMembersDeactivateResponseBody.md +15 -0
  394. data/docs/V2LoyaltiesProgramsMembersDeleteResponseBody.md +15 -0
  395. data/docs/V2LoyaltiesProgramsMembersEarningRulesReportsDailyListResponseBody.md +9 -0
  396. data/docs/V2LoyaltiesProgramsMembersGetResponseBody.md +16 -0
  397. data/docs/V2LoyaltiesProgramsMembersListRequestQuery.md +12 -0
  398. data/docs/V2LoyaltiesProgramsMembersListResponseBody.md +10 -0
  399. data/docs/V2LoyaltiesProgramsMembersOrdersPaymentsCreateRequestBody.md +11 -0
  400. data/docs/V2LoyaltiesProgramsMembersOrdersPaymentsListRequestQuery.md +11 -0
  401. data/docs/V2LoyaltiesProgramsMembersOrdersPaymentsListResponseBody.md +10 -0
  402. data/docs/V2LoyaltiesProgramsMembersOrdersPaymentsListResponseBodyCursor.md +9 -0
  403. data/docs/V2LoyaltiesProgramsMembersRewardsPurchasesCreateRequestBody.md +9 -0
  404. data/docs/V2LoyaltiesProgramsMembersRewardsPurchasesListRequestQuery.md +12 -0
  405. data/docs/V2LoyaltiesProgramsMembersRewardsPurchasesListResponseBody.md +10 -0
  406. data/docs/V2LoyaltiesProgramsMembersRewardsPurchasesListResponseBodyCursor.md +9 -0
  407. data/docs/V2LoyaltiesProgramsMembersTiersTransactionsListRequestQuery.md +11 -0
  408. data/docs/V2LoyaltiesProgramsMembersTiersTransactionsListResponseBody.md +10 -0
  409. data/docs/V2LoyaltiesProgramsMembersUpdateRequestBody.md +8 -0
  410. data/docs/V2LoyaltiesProgramsMembersUpdateResponseBody.md +15 -0
  411. data/docs/V2LoyaltiesProgramsMembershipsGetResponseBody.md +11 -0
  412. data/docs/V2LoyaltiesProgramsReportsEarningRulesDailyListResponseBody.md +9 -0
  413. data/docs/V2LoyaltiesProgramsReportsEarningRulesSummaryListResponseBody.md +9 -0
  414. data/docs/V2LoyaltiesProgramsReportsPointsEarningsDailyListResponseBody.md +9 -0
  415. data/docs/V2LoyaltiesProgramsReportsPointsEarningsSummaryListResponseBody.md +9 -0
  416. data/docs/V2LoyaltiesProgramsReportsTiersDailyListResponseBody.md +9 -0
  417. data/docs/V2LoyaltiesProgramsReportsTiersSummaryListResponseBody.md +9 -0
  418. data/docs/V2LoyaltiesProgramsRewardsListResponseBody.md +10 -0
  419. data/docs/V2LoyaltiesProgramsRewardsPurchasesRefundRequestBody.md +8 -0
  420. data/docs/V2LoyaltiesProgramsRewardsPurchasesRefundResponseBody.md +10 -0
  421. data/docs/V2LoyaltiesProgramsTierStructuresListResponseBody.md +10 -0
  422. data/docs/V2LoyaltiesRewardsGetResponseBody.md +23 -0
  423. data/docs/VLMemberActivity.md +14 -0
  424. data/docs/VLMemberActivityData.md +11 -0
  425. data/docs/ValidationRulesApi.md +2 -2
  426. data/docs/ValidationsValidateRequestBody.md +1 -1
  427. data/docs/ValidationsValidateRequestBodyOptions.md +1 -0
  428. data/docs/ValidationsValidateResponseBody.md +1 -1
  429. data/docs/VouchersApi.md +8 -8
  430. data/lib/VoucherifySdk/api/campaigns_api.rb +14 -14
  431. data/lib/VoucherifySdk/api/client_side_api.rb +4 -4
  432. data/lib/VoucherifySdk/api/customers_api.rb +13 -10
  433. data/lib/VoucherifySdk/api/exports_api.rb +8 -8
  434. data/lib/VoucherifySdk/api/loyalties_api.rb +104 -104
  435. data/lib/VoucherifySdk/api/lv2_benefits_api.rb +81 -0
  436. data/lib/VoucherifySdk/api/lv2_earning_rules_api.rb +81 -0
  437. data/lib/VoucherifySdk/api/lv2_examine_api.rb +150 -0
  438. data/lib/VoucherifySdk/api/lv2_programs_api.rb +3008 -0
  439. data/lib/VoucherifySdk/api/lv2_rewards_api.rb +81 -0
  440. data/lib/VoucherifySdk/api/management_api.rb +52 -52
  441. data/lib/VoucherifySdk/api/metadata_schemas_api.rb +4 -4
  442. data/lib/VoucherifySdk/api/orders_api.rb +4 -4
  443. data/lib/VoucherifySdk/api/product_collections_api.rb +2 -2
  444. data/lib/VoucherifySdk/api/products_api.rb +8 -8
  445. data/lib/VoucherifySdk/api/publications_api.rb +6 -6
  446. data/lib/VoucherifySdk/api/qualifications_api.rb +2 -2
  447. data/lib/VoucherifySdk/api/redemptions_api.rb +6 -6
  448. data/lib/VoucherifySdk/api/referrals_api.rb +8 -8
  449. data/lib/VoucherifySdk/api/segments_api.rb +2 -2
  450. data/lib/VoucherifySdk/api/templates_api.rb +14 -14
  451. data/lib/VoucherifySdk/api/validation_rules_api.rb +4 -4
  452. data/lib/VoucherifySdk/api/vouchers_api.rb +16 -16
  453. data/lib/VoucherifySdk/configuration.rb +8 -0
  454. data/lib/VoucherifySdk/models/activity_source.rb +252 -0
  455. data/lib/VoucherifySdk/models/activity_source_api_key.rb +232 -0
  456. data/lib/VoucherifySdk/models/activity_source_user.rb +210 -0
  457. data/lib/VoucherifySdk/models/benefit_points_proportional_applicable_to.rb +261 -0
  458. data/lib/VoucherifySdk/models/benefit_points_proportional_custom_event.rb +209 -0
  459. data/lib/VoucherifySdk/models/benefit_points_proportional_custom_event_metadata.rb +257 -0
  460. data/lib/VoucherifySdk/models/benefit_points_proportional_customer.rb +209 -0
  461. data/lib/VoucherifySdk/models/benefit_points_proportional_customer_metadata.rb +257 -0
  462. data/lib/VoucherifySdk/models/benefit_points_proportional_order.rb +229 -0
  463. data/lib/VoucherifySdk/models/benefit_points_proportional_order_amount.rb +241 -0
  464. data/lib/VoucherifySdk/models/benefit_points_proportional_order_items.rb +229 -0
  465. data/lib/VoucherifySdk/models/benefit_points_proportional_order_items_amount.rb +259 -0
  466. data/lib/VoucherifySdk/models/benefit_points_proportional_order_items_quantity.rb +259 -0
  467. data/lib/VoucherifySdk/models/benefit_points_proportional_order_items_subtotal_amount.rb +259 -0
  468. data/lib/VoucherifySdk/models/benefit_points_proportional_order_metadata.rb +257 -0
  469. data/lib/VoucherifySdk/models/benefit_points_proportional_order_total_amount.rb +241 -0
  470. data/lib/VoucherifySdk/models/benefit_transaction.rb +350 -0
  471. data/lib/VoucherifySdk/models/benefit_transaction_details.rb +238 -0
  472. data/lib/VoucherifySdk/models/benefit_transaction_details_metadata.rb +227 -0
  473. data/lib/VoucherifySdk/models/benefit_transaction_details_result.rb +210 -0
  474. data/lib/VoucherifySdk/models/benefit_transaction_rejection.rb +220 -0
  475. data/lib/VoucherifySdk/models/card.rb +387 -0
  476. data/lib/VoucherifySdk/models/card_activity.rb +308 -0
  477. data/lib/VoucherifySdk/models/card_activity_data.rb +258 -0
  478. data/lib/VoucherifySdk/models/card_balance.rb +225 -0
  479. data/lib/VoucherifySdk/models/card_code_generation_failure_result.rb +210 -0
  480. data/lib/VoucherifySdk/models/card_daily_report_entry.rb +412 -0
  481. data/lib/VoucherifySdk/models/card_definition_id_filter_conditions.rb +209 -0
  482. data/lib/VoucherifySdk/models/card_definition_id_filter_conditions_conditions.rb +238 -0
  483. data/lib/VoucherifySdk/models/card_lifetime_bucket.rb +231 -0
  484. data/lib/VoucherifySdk/models/card_lifetime_bucket_pending_points.rb +238 -0
  485. data/lib/VoucherifySdk/models/card_lifetime_bucket_points.rb +355 -0
  486. data/lib/VoucherifySdk/models/card_next_activation.rb +269 -0
  487. data/lib/VoucherifySdk/models/card_next_expiration.rb +223 -0
  488. data/lib/VoucherifySdk/models/card_pending_points_bucket.rb +405 -0
  489. data/lib/VoucherifySdk/models/card_pending_points_bucket_points.rb +210 -0
  490. data/lib/VoucherifySdk/models/card_points_bucket.rb +422 -0
  491. data/lib/VoucherifySdk/models/card_points_bucket_points.rb +210 -0
  492. data/lib/VoucherifySdk/models/card_simple.rb +332 -0
  493. data/lib/VoucherifySdk/models/card_transaction.rb +393 -0
  494. data/lib/VoucherifySdk/models/card_transaction_details.rb +354 -0
  495. data/lib/VoucherifySdk/models/card_transaction_details_card_transaction.rb +210 -0
  496. data/lib/VoucherifySdk/models/card_transaction_details_order.rb +210 -0
  497. data/lib/VoucherifySdk/models/card_transaction_details_order_transaction.rb +210 -0
  498. data/lib/VoucherifySdk/models/card_transaction_details_points.rb +280 -0
  499. data/lib/VoucherifySdk/models/card_transaction_details_purchase.rb +219 -0
  500. data/lib/VoucherifySdk/models/card_transaction_details_purchase_card_transaction.rb +209 -0
  501. data/lib/VoucherifySdk/models/card_transaction_details_purchase_reward_transaction.rb +209 -0
  502. data/lib/VoucherifySdk/models/card_transaction_details_purchase_transaction.rb +210 -0
  503. data/lib/VoucherifySdk/models/card_transaction_details_rejection.rb +221 -0
  504. data/lib/VoucherifySdk/models/card_transaction_details_reward.rb +210 -0
  505. data/lib/VoucherifySdk/models/card_transaction_details_reward_transaction.rb +210 -0
  506. data/lib/VoucherifySdk/models/card_transaction_details_target_card.rb +210 -0
  507. data/lib/VoucherifySdk/models/client_redemptions_redeem_request_body.rb +11 -0
  508. data/lib/VoucherifySdk/models/client_validations_validate_request_body.rb +11 -0
  509. data/lib/VoucherifySdk/models/client_validations_validate_response_body.rb +1 -0
  510. data/lib/VoucherifySdk/models/customer_loyalty_membership.rb +251 -0
  511. data/lib/VoucherifySdk/models/customer_loyalty_membership_card.rb +277 -0
  512. data/lib/VoucherifySdk/models/customer_loyalty_membership_member.rb +275 -0
  513. data/lib/VoucherifySdk/models/customer_loyalty_membership_tier.rb +278 -0
  514. data/lib/VoucherifySdk/models/customer_with_summary_loyalty_referrals.rb +14 -1
  515. data/lib/VoucherifySdk/models/customers_create_response_body.rb +14 -1
  516. data/lib/VoucherifySdk/models/customers_get_response_body.rb +14 -1
  517. data/lib/VoucherifySdk/models/customers_redeemables_list_response_body.rb +1 -1
  518. data/lib/VoucherifySdk/models/customers_update_response_body.rb +14 -1
  519. data/lib/VoucherifySdk/models/date_filter.rb +209 -0
  520. data/lib/VoucherifySdk/models/date_filter_conditions.rb +268 -0
  521. data/lib/VoucherifySdk/models/earning_rule_daily_report_entry.rb +258 -0
  522. data/lib/VoucherifySdk/models/earning_rule_earning.rb +281 -0
  523. data/lib/VoucherifySdk/models/earning_rule_effect.rb +261 -0
  524. data/lib/VoucherifySdk/models/earning_rule_effect_points.rb +246 -0
  525. data/lib/VoucherifySdk/models/earning_rule_effect_points_expiration.rb +261 -0
  526. data/lib/VoucherifySdk/models/earning_rule_effect_points_expiration_calendar_expiration.rb +222 -0
  527. data/lib/VoucherifySdk/models/earning_rule_effect_points_expiration_rolling_expiration.rb +224 -0
  528. data/lib/VoucherifySdk/models/earning_rule_effect_points_expiration_sliding_expiration.rb +226 -0
  529. data/lib/VoucherifySdk/models/earning_rule_effect_points_proportional.rb +296 -0
  530. data/lib/VoucherifySdk/models/earning_rule_id_filter_conditions.rb +209 -0
  531. data/lib/VoucherifySdk/models/earning_rule_id_filter_conditions_conditions.rb +238 -0
  532. data/lib/VoucherifySdk/models/earning_rule_points_proportional_applicable_to.rb +261 -0
  533. data/lib/VoucherifySdk/models/earning_rule_points_proportional_custom_event.rb +215 -0
  534. data/lib/VoucherifySdk/models/earning_rule_points_proportional_customer.rb +215 -0
  535. data/lib/VoucherifySdk/models/earning_rule_points_proportional_order.rb +226 -0
  536. data/lib/VoucherifySdk/models/earning_rule_points_proportional_order_items.rb +226 -0
  537. data/lib/VoucherifySdk/models/earning_rule_points_proportional_order_items_calculation.rb +259 -0
  538. data/lib/VoucherifySdk/models/earning_rule_tier_rules.rb +252 -0
  539. data/lib/VoucherifySdk/models/earning_rule_trigger.rb +252 -0
  540. data/lib/VoucherifySdk/models/earning_rule_trigger_limits_cooldown.rb +243 -0
  541. data/lib/VoucherifySdk/models/earning_rule_trigger_limits_cooldown_fixed_cooldown.rb +215 -0
  542. data/lib/VoucherifySdk/models/earning_rule_trigger_limits_frequency.rb +257 -0
  543. data/lib/VoucherifySdk/models/earning_rule_validity_hours.rb +252 -0
  544. data/lib/VoucherifySdk/models/earning_rules_report_daily_entry.rb +297 -0
  545. data/lib/VoucherifySdk/models/earning_rules_report_failures_breakdown.rb +221 -0
  546. data/lib/VoucherifySdk/models/earning_rules_report_list_filters.rb +243 -0
  547. data/lib/VoucherifySdk/models/earning_rules_report_summary_entry.rb +308 -0
  548. data/lib/VoucherifySdk/models/error_error.rb +2 -2
  549. data/lib/VoucherifySdk/models/examine_card_reference.rb +284 -0
  550. data/lib/VoucherifySdk/models/examine_customer_identification.rb +279 -0
  551. data/lib/VoucherifySdk/models/examine_customer_reference.rb +271 -0
  552. data/lib/VoucherifySdk/models/examine_member_reference.rb +282 -0
  553. data/lib/VoucherifySdk/models/examine_program_reference.rb +271 -0
  554. data/lib/VoucherifySdk/models/export.rb +1 -1
  555. data/lib/VoucherifySdk/models/export_parameters.rb +3 -3
  556. data/lib/VoucherifySdk/models/exports_create_request_body.rb +1 -1
  557. data/lib/VoucherifySdk/models/exports_create_request_body_parameters.rb +3 -3
  558. data/lib/VoucherifySdk/models/exports_create_response_body.rb +1 -1
  559. data/lib/VoucherifySdk/models/exports_create_response_body_parameters.rb +3 -3
  560. data/lib/VoucherifySdk/models/exports_get_response_body.rb +1 -1
  561. data/lib/VoucherifySdk/models/exports_get_response_body_parameters.rb +3 -3
  562. data/lib/VoucherifySdk/models/list_cursor.rb +221 -0
  563. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body.rb +258 -0
  564. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_custom_event_all.rb +211 -0
  565. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_custom_event_specific.rb +228 -0
  566. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_customer.rb +211 -0
  567. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_customer_custom_event.rb +252 -0
  568. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_customer_custom_event_all.rb +226 -0
  569. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_customer_custom_event_specific.rb +226 -0
  570. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_customer_order_paid.rb +226 -0
  571. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_customer_segment_entered.rb +217 -0
  572. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_member.rb +211 -0
  573. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_order.rb +262 -0
  574. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_order_item.rb +352 -0
  575. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_order_item_product.rb +232 -0
  576. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_order_item_sku.rb +232 -0
  577. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_trigger.rb +243 -0
  578. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_trigger_specific.rb +234 -0
  579. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body.rb +282 -0
  580. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_benefit_earning_rule_estimation.rb +245 -0
  581. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_benefit_estimation.rb +258 -0
  582. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_benefit_reference.rb +271 -0
  583. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_card_earning_rule_estimation.rb +256 -0
  584. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_card_estimation.rb +269 -0
  585. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_earning_rule_detail.rb +271 -0
  586. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_earning_rule_reference.rb +247 -0
  587. data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_membership.rb +280 -0
  588. data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_request_body.rb +235 -0
  589. data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_request_body_customer.rb +211 -0
  590. data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_request_body_member.rb +211 -0
  591. data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body.rb +278 -0
  592. data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_card_estimation.rb +265 -0
  593. data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_card_reward_estimation.rb +294 -0
  594. data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_membership.rb +281 -0
  595. data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_reward_cost.rb +247 -0
  596. data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_reward_detail.rb +293 -0
  597. data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_reward_reference.rb +247 -0
  598. data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_reward_unavailability_reason.rb +261 -0
  599. data/lib/VoucherifySdk/models/loyalties_programs_members_activities_list_request_query_filters_id.rb +209 -0
  600. data/lib/VoucherifySdk/models/loyalties_programs_members_activities_list_request_query_filters_id_conditions.rb +238 -0
  601. data/lib/VoucherifySdk/models/loyalties_programs_members_activities_list_request_query_filters_type.rb +209 -0
  602. data/lib/VoucherifySdk/models/loyalties_programs_members_activities_list_request_query_filters_type_conditions.rb +272 -0
  603. data/lib/VoucherifySdk/models/loyalties_programs_members_benefits_transactions_list_request_query_benefit_id.rb +209 -0
  604. data/lib/VoucherifySdk/models/loyalties_programs_members_benefits_transactions_list_request_query_benefit_id_conditions.rb +238 -0
  605. data/lib/VoucherifySdk/models/loyalties_programs_members_cards_activities_list_request_query_filters_id.rb +209 -0
  606. data/lib/VoucherifySdk/models/loyalties_programs_members_cards_activities_list_request_query_filters_id_conditions.rb +238 -0
  607. data/lib/VoucherifySdk/models/loyalties_programs_members_cards_activities_list_request_query_filters_type.rb +209 -0
  608. data/lib/VoucherifySdk/models/loyalties_programs_members_cards_activities_list_request_query_filters_type_conditions.rb +272 -0
  609. data/lib/VoucherifySdk/models/loyalties_programs_members_cards_reports_daily_list_response_body.rb +249 -0
  610. data/lib/VoucherifySdk/models/loyalties_programs_members_cards_transactions_list_request_query_id.rb +209 -0
  611. data/lib/VoucherifySdk/models/loyalties_programs_members_cards_transactions_list_request_query_id_conditions.rb +238 -0
  612. data/lib/VoucherifySdk/models/loyalties_programs_members_list_request_query_customer_id.rb +209 -0
  613. data/lib/VoucherifySdk/models/loyalties_programs_members_list_request_query_customer_id_conditions.rb +238 -0
  614. data/lib/VoucherifySdk/models/loyalties_programs_members_list_request_query_id.rb +209 -0
  615. data/lib/VoucherifySdk/models/loyalties_programs_members_list_request_query_id_conditions.rb +238 -0
  616. data/lib/VoucherifySdk/models/loyalties_programs_members_list_request_query_status.rb +209 -0
  617. data/lib/VoucherifySdk/models/loyalties_programs_members_list_request_query_status_conditions.rb +272 -0
  618. data/lib/VoucherifySdk/models/loyalties_programs_members_orders_payments_create_combined_response_body.rb +252 -0
  619. data/lib/VoucherifySdk/models/loyalties_programs_members_orders_payments_create_combined_response_body_transaction.rb +371 -0
  620. data/lib/VoucherifySdk/models/loyalties_programs_members_orders_payments_create_combined_response_body_transaction_details.rb +248 -0
  621. data/lib/VoucherifySdk/models/loyalties_programs_members_orders_payments_create_request_body_limit.rb +250 -0
  622. data/lib/VoucherifySdk/models/loyalties_programs_members_orders_payments_list_request_query_id.rb +209 -0
  623. data/lib/VoucherifySdk/models/loyalties_programs_members_orders_payments_list_request_query_id_conditions.rb +238 -0
  624. data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_create_combined_response_body.rb +252 -0
  625. data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_create_combined_response_body_transaction.rb +369 -0
  626. data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_create_combined_response_body_transaction_details.rb +252 -0
  627. data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_list_request_query_card_definition_id.rb +209 -0
  628. data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_list_request_query_card_definition_id_conditions.rb +238 -0
  629. data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_list_request_query_id.rb +209 -0
  630. data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_list_request_query_id_conditions.rb +238 -0
  631. data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_list_request_query_reward_id.rb +209 -0
  632. data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_list_request_query_reward_id_conditions.rb +238 -0
  633. data/lib/VoucherifySdk/models/loyalties_programs_members_tiers_transactions_list_request_query_card_definition_id.rb +209 -0
  634. data/lib/VoucherifySdk/models/loyalties_programs_members_tiers_transactions_list_request_query_card_definition_id_conditions.rb +238 -0
  635. data/lib/VoucherifySdk/models/loyalties_programs_members_tiers_transactions_list_request_query_card_id.rb +209 -0
  636. data/lib/VoucherifySdk/models/loyalties_programs_members_tiers_transactions_list_request_query_card_id_conditions.rb +238 -0
  637. data/lib/VoucherifySdk/models/loyalties_programs_reports_members_daily_list_response_body.rb +249 -0
  638. data/lib/VoucherifySdk/models/loyalties_programs_reports_members_summary_list_response_body.rb +249 -0
  639. data/lib/VoucherifySdk/models/loyalties_programs_reports_rewards_daily_list_response_body.rb +249 -0
  640. data/lib/VoucherifySdk/models/loyalties_programs_reports_rewards_spendings_daily_list_response_body.rb +249 -0
  641. data/lib/VoucherifySdk/models/loyalties_programs_reports_rewards_spendings_summary_list_response_body.rb +249 -0
  642. data/lib/VoucherifySdk/models/loyalties_programs_reports_rewards_summary_list_response_body.rb +249 -0
  643. data/lib/VoucherifySdk/models/loyalties_programs_reports_spending_daily_list_response_body.rb +249 -0
  644. data/lib/VoucherifySdk/models/loyalties_programs_reports_spending_summary_list_response_body.rb +249 -0
  645. data/lib/VoucherifySdk/models/loyalty_v2_activity_benefit_points_proportional_applicable_to_product.rb +216 -0
  646. data/lib/VoucherifySdk/models/loyalty_v2_activity_benefit_points_proportional_applicable_to_products_collection.rb +216 -0
  647. data/lib/VoucherifySdk/models/loyalty_v2_activity_benefit_points_proportional_applicable_to_sku.rb +216 -0
  648. data/lib/VoucherifySdk/models/loyalty_v2_activity_benefit_stock_limited.rb +220 -0
  649. data/lib/VoucherifySdk/models/loyalty_v2_activity_card_definition_limit_time_based_period.rb +246 -0
  650. data/lib/VoucherifySdk/models/loyalty_v2_activity_card_definition_limit_time_based_period_current_period.rb +234 -0
  651. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_earning_limits.rb +215 -0
  652. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_earning_limits_global.rb +257 -0
  653. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_effect_benefit.rb +216 -0
  654. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_effect_points_expiration_calendar_expiration_date.rb +241 -0
  655. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_effect_points_expiration_rolling_expiration_period.rb +250 -0
  656. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_effect_points_expiration_rolling_expiration_rounding.rb +255 -0
  657. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_effect_points_expiration_sliding_expiration_period.rb +250 -0
  658. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_error.rb +220 -0
  659. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_points_proportional_applicable_to_product.rb +216 -0
  660. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_points_proportional_applicable_to_products_collection.rb +216 -0
  661. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_points_proportional_applicable_to_sku.rb +216 -0
  662. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_points_proportional_every.rb +241 -0
  663. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_points_proportional_metadata.rb +257 -0
  664. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_tier_rules_any_of_entry.rb +234 -0
  665. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_trigger_custom_event.rb +216 -0
  666. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_trigger_limits_cooldown_fixed_cooldown_period.rb +250 -0
  667. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_trigger_segment.rb +216 -0
  668. data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_validity_daily_hours.rb +244 -0
  669. data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_cost_spending_response.rb +260 -0
  670. data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_digital_discount_coupons.rb +216 -0
  671. data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_digital_gift_vouchers_response.rb +227 -0
  672. data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_digital_loyalty_card_points_response.rb +227 -0
  673. data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_material_product.rb +216 -0
  674. data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_material_sku.rb +233 -0
  675. data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_purchase_limits_cooldown_fixed_cooldown_period.rb +250 -0
  676. data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_purchase_limits_frequency_limit_triggers.rb +215 -0
  677. data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_refunds.rb +234 -0
  678. data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_validity_daily_hours_response.rb +234 -0
  679. data/lib/VoucherifySdk/models/loyalty_v2_card_points_bucket_simple.rb +272 -0
  680. data/lib/VoucherifySdk/models/loyalty_v2_card_points_bucket_simple_points.rb +210 -0
  681. data/lib/VoucherifySdk/models/lpm_ord_pay_ccrb_tx_details_metadata.rb +220 -0
  682. data/lib/VoucherifySdk/models/lpm_ord_pay_ccrb_tx_details_rejection.rb +219 -0
  683. data/lib/VoucherifySdk/models/lpm_ord_pay_ccrb_tx_details_rejection_details.rb +231 -0
  684. data/lib/VoucherifySdk/models/lpm_ord_pay_ccrb_tx_details_spending_cap.rb +257 -0
  685. data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_points.rb +209 -0
  686. data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_rejection.rb +222 -0
  687. data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_result.rb +239 -0
  688. data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_result_dig_lc_points.rb +231 -0
  689. data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_result_digital.rb +269 -0
  690. data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_result_material.rb +259 -0
  691. data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_result_reward.rb +244 -0
  692. data/lib/VoucherifySdk/models/management_projects_metadata_schema_definition.rb +1 -0
  693. data/lib/VoucherifySdk/models/member.rb +333 -0
  694. data/lib/VoucherifySdk/models/member_card.rb +269 -0
  695. data/lib/VoucherifySdk/models/member_create.rb +257 -0
  696. data/lib/VoucherifySdk/models/member_tier_progress.rb +293 -0
  697. data/lib/VoucherifySdk/models/member_tier_progress_current.rb +239 -0
  698. data/lib/VoucherifySdk/models/member_tier_progress_deferred.rb +230 -0
  699. data/lib/VoucherifySdk/models/member_tier_progress_opportunity.rb +230 -0
  700. data/lib/VoucherifySdk/models/member_tier_progress_points.rb +232 -0
  701. data/lib/VoucherifySdk/models/member_tier_progress_risk.rb +254 -0
  702. data/lib/VoucherifySdk/models/member_tier_progress_tier.rb +227 -0
  703. data/lib/VoucherifySdk/models/member_tier_progress_tier_structure.rb +253 -0
  704. data/lib/VoucherifySdk/models/members_report_daily_entry.rb +291 -0
  705. data/lib/VoucherifySdk/models/members_report_summary_entry.rb +297 -0
  706. data/lib/VoucherifySdk/models/membership_card.rb +278 -0
  707. data/lib/VoucherifySdk/models/order_payment_limit_definition.rb +215 -0
  708. data/lib/VoucherifySdk/models/order_payment_order.rb +232 -0
  709. data/lib/VoucherifySdk/models/order_payment_payment_details.rb +243 -0
  710. data/lib/VoucherifySdk/models/order_payment_rejection.rb +221 -0
  711. data/lib/VoucherifySdk/models/order_payment_transaction.rb +372 -0
  712. data/lib/VoucherifySdk/models/order_payment_transaction_details.rb +249 -0
  713. data/lib/VoucherifySdk/models/order_payment_transaction_details_spending_cap.rb +258 -0
  714. data/lib/VoucherifySdk/models/parameter_filters_list_publications_parent_object_id.rb +1 -1
  715. data/lib/VoucherifySdk/models/parameter_filters_list_publications_related_object_id.rb +1 -1
  716. data/lib/VoucherifySdk/models/parameter_filters_list_publications_source_id.rb +1 -1
  717. data/lib/VoucherifySdk/models/points_earnings_report_daily_entry.rb +331 -0
  718. data/lib/VoucherifySdk/models/points_earnings_report_list_filters.rb +252 -0
  719. data/lib/VoucherifySdk/models/points_earnings_report_summary_entry.rb +337 -0
  720. data/lib/VoucherifySdk/models/product_collections_products_list_response_body.rb +1 -0
  721. data/lib/VoucherifySdk/models/program.rb +341 -0
  722. data/lib/VoucherifySdk/models/program_earning_rule_assignment.rb +264 -0
  723. data/lib/VoucherifySdk/models/program_list_cursor.rb +221 -0
  724. data/lib/VoucherifySdk/models/program_reward_assignment.rb +302 -0
  725. data/lib/VoucherifySdk/models/program_reward_assignment_stock.rb +243 -0
  726. data/lib/VoucherifySdk/models/program_reward_assignment_stock_limited.rb +220 -0
  727. data/lib/VoucherifySdk/models/program_simple.rb +288 -0
  728. data/lib/VoucherifySdk/models/program_tier_structure_assignment.rb +264 -0
  729. data/lib/VoucherifySdk/models/program_validity_daily_hours.rb +234 -0
  730. data/lib/VoucherifySdk/models/program_validity_hours.rb +247 -0
  731. data/lib/VoucherifySdk/models/promotion_tier_campaign.rb +1 -1
  732. data/lib/VoucherifySdk/models/promotions_tiers_create_response_body_campaign.rb +1 -1
  733. data/lib/VoucherifySdk/models/promotions_tiers_disable_response_body_campaign.rb +1 -1
  734. data/lib/VoucherifySdk/models/promotions_tiers_enable_response_body_campaign.rb +1 -1
  735. data/lib/VoucherifySdk/models/promotions_tiers_get_response_body_campaign.rb +1 -1
  736. data/lib/VoucherifySdk/models/promotions_tiers_update_response_body_campaign.rb +1 -1
  737. data/lib/VoucherifySdk/models/publications_list_response_body.rb +1 -1
  738. data/lib/VoucherifySdk/models/redemption_entry_promotion_tier_campaign.rb +1 -1
  739. data/lib/VoucherifySdk/models/redemption_reward_result_parameters_coin.rb +1 -1
  740. data/lib/VoucherifySdk/models/redemptions_get_response_body_promotion_tier_campaign.rb +1 -1
  741. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_promotion_tier_campaign.rb +1 -1
  742. data/lib/VoucherifySdk/models/redemptions_redeem_request_body.rb +11 -0
  743. data/lib/VoucherifySdk/models/redemptions_redeem_request_body_options.rb +28 -6
  744. data/lib/VoucherifySdk/models/referrals_members_holders_list_response_body.rb +1 -1
  745. data/lib/VoucherifySdk/models/report_card_definition_id_filter_conditions.rb +209 -0
  746. data/lib/VoucherifySdk/models/report_card_definition_id_filter_conditions_conditions.rb +238 -0
  747. data/lib/VoucherifySdk/models/reward_cost_response.rb +271 -0
  748. data/lib/VoucherifySdk/models/reward_cost_tier_rules_any_of_entry_response.rb +234 -0
  749. data/lib/VoucherifySdk/models/reward_cost_tier_rules_response.rb +252 -0
  750. data/lib/VoucherifySdk/models/reward_digital_response.rb +261 -0
  751. data/lib/VoucherifySdk/models/reward_material_response.rb +252 -0
  752. data/lib/VoucherifySdk/models/reward_purchase_digital_coupon.rb +256 -0
  753. data/lib/VoucherifySdk/models/reward_purchase_digital_gift_voucher.rb +278 -0
  754. data/lib/VoucherifySdk/models/reward_purchase_limits.rb +231 -0
  755. data/lib/VoucherifySdk/models/reward_purchase_limits_cooldown.rb +243 -0
  756. data/lib/VoucherifySdk/models/reward_purchase_limits_cooldown_fixed_cooldown.rb +215 -0
  757. data/lib/VoucherifySdk/models/reward_purchase_limits_frequency.rb +247 -0
  758. data/lib/VoucherifySdk/models/reward_purchase_limits_frequency_limit.rb +268 -0
  759. data/lib/VoucherifySdk/models/reward_purchase_refund_policies.rb +247 -0
  760. data/lib/VoucherifySdk/models/reward_purchase_transaction.rb +371 -0
  761. data/lib/VoucherifySdk/models/reward_validity_hours_response.rb +247 -0
  762. data/lib/VoucherifySdk/models/rewards_create_request_body_parameters_coin.rb +1 -1
  763. data/lib/VoucherifySdk/models/rewards_report_daily_entry.rb +297 -0
  764. data/lib/VoucherifySdk/models/rewards_report_filter_reward_id_conditions.rb +209 -0
  765. data/lib/VoucherifySdk/models/rewards_report_filter_reward_id_conditions_conditions.rb +238 -0
  766. data/lib/VoucherifySdk/models/rewards_report_list_filters.rb +243 -0
  767. data/lib/VoucherifySdk/models/rewards_report_summary_entry.rb +309 -0
  768. data/lib/VoucherifySdk/models/rewards_spendings_report_daily_entry.rb +337 -0
  769. data/lib/VoucherifySdk/models/rewards_spendings_report_filter_cost_id_conditions.rb +209 -0
  770. data/lib/VoucherifySdk/models/rewards_spendings_report_filter_cost_id_conditions_conditions.rb +238 -0
  771. data/lib/VoucherifySdk/models/rewards_spendings_report_filter_spending_id_conditions.rb +209 -0
  772. data/lib/VoucherifySdk/models/rewards_spendings_report_filter_spending_id_conditions_conditions.rb +238 -0
  773. data/lib/VoucherifySdk/models/rewards_spendings_report_list_filters.rb +270 -0
  774. data/lib/VoucherifySdk/models/rewards_spendings_report_summary_entry.rb +343 -0
  775. data/lib/VoucherifySdk/models/rewards_update_request_body_parameters_coin.rb +1 -1
  776. data/lib/VoucherifySdk/models/spending_report_daily_entry.rb +335 -0
  777. data/lib/VoucherifySdk/models/spending_report_list_filters.rb +243 -0
  778. data/lib/VoucherifySdk/models/spending_report_summary_entry.rb +335 -0
  779. data/lib/VoucherifySdk/models/tier_transaction.rb +377 -0
  780. data/lib/VoucherifySdk/models/tier_transaction_details.rb +272 -0
  781. data/lib/VoucherifySdk/models/tier_transaction_origin.rb +260 -0
  782. data/lib/VoucherifySdk/models/tier_transaction_rejection.rb +221 -0
  783. data/lib/VoucherifySdk/models/tiers_report_daily_entry.rb +336 -0
  784. data/lib/VoucherifySdk/models/tiers_report_filter_tier_id_conditions.rb +209 -0
  785. data/lib/VoucherifySdk/models/tiers_report_filter_tier_id_conditions_conditions.rb +238 -0
  786. data/lib/VoucherifySdk/models/tiers_report_filter_tier_structure_id_conditions.rb +209 -0
  787. data/lib/VoucherifySdk/models/tiers_report_filter_tier_structure_id_conditions_conditions.rb +238 -0
  788. data/lib/VoucherifySdk/models/tiers_report_list_filters.rb +252 -0
  789. data/lib/VoucherifySdk/models/tiers_report_summary_entry.rb +342 -0
  790. data/lib/VoucherifySdk/models/transaction_filter_date_conditions.rb +209 -0
  791. data/lib/VoucherifySdk/models/transaction_filter_date_conditions_conditions.rb +268 -0
  792. data/lib/VoucherifySdk/models/v2_loyalties_benefits_get_response_body.rb +362 -0
  793. data/lib/VoucherifySdk/models/v2_loyalties_benefits_get_response_body_points.rb +237 -0
  794. data/lib/VoucherifySdk/models/v2_loyalties_benefits_get_response_body_points_proportional.rb +287 -0
  795. data/lib/VoucherifySdk/models/v2_loyalties_benefits_get_response_body_stock.rb +243 -0
  796. data/lib/VoucherifySdk/models/v2_loyalties_earning_rules_get_response_body.rb +430 -0
  797. data/lib/VoucherifySdk/models/v2_loyalties_earning_rules_get_response_body_trigger_limits.rb +217 -0
  798. data/lib/VoucherifySdk/models/v2_loyalties_programs_earning_rules_list_response_body.rb +258 -0
  799. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_activate_response_body.rb +333 -0
  800. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_activities_list_request_query_filters.rb +261 -0
  801. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_activities_list_response_body.rb +258 -0
  802. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_benefits_transactions_list_request_query.rb +252 -0
  803. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_benefits_transactions_list_response_body.rb +259 -0
  804. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_benefits_transactions_list_response_body_cursor.rb +221 -0
  805. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_activities_list_request_query_filters.rb +261 -0
  806. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_activities_list_response_body.rb +258 -0
  807. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_expiring_points_expire_response_body.rb +267 -0
  808. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_expiring_points_list_request_query.rb +252 -0
  809. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_expiring_points_list_response_body.rb +258 -0
  810. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_pending_points_activate_response_body.rb +267 -0
  811. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_pending_points_cancel_response_body.rb +267 -0
  812. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_pending_points_list_request_query.rb +243 -0
  813. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_pending_points_list_response_body.rb +258 -0
  814. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_points_adjust_request_body.rb +236 -0
  815. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_points_adjust_response_body.rb +256 -0
  816. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_transactions_list_request_query.rb +261 -0
  817. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_transactions_list_response_body.rb +258 -0
  818. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_create_in_bulk_response_body.rb +216 -0
  819. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_create_request_body.rb +257 -0
  820. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_create_response_body.rb +346 -0
  821. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_deactivate_response_body.rb +333 -0
  822. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_delete_response_body.rb +333 -0
  823. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_earning_rules_reports_daily_list_response_body.rb +249 -0
  824. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_get_response_body.rb +346 -0
  825. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_list_request_query.rb +270 -0
  826. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_list_response_body.rb +258 -0
  827. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_orders_payments_create_request_body.rb +270 -0
  828. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_orders_payments_list_request_query.rb +261 -0
  829. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_orders_payments_list_response_body.rb +259 -0
  830. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_orders_payments_list_response_body_cursor.rb +221 -0
  831. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_rewards_purchases_create_request_body.rb +247 -0
  832. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_rewards_purchases_list_request_query.rb +270 -0
  833. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_rewards_purchases_list_response_body.rb +259 -0
  834. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_rewards_purchases_list_response_body_cursor.rb +221 -0
  835. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_tiers_transactions_list_request_query.rb +261 -0
  836. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_tiers_transactions_list_response_body.rb +258 -0
  837. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_update_request_body.rb +210 -0
  838. data/lib/VoucherifySdk/models/v2_loyalties_programs_members_update_response_body.rb +333 -0
  839. data/lib/VoucherifySdk/models/v2_loyalties_programs_memberships_get_response_body.rb +267 -0
  840. data/lib/VoucherifySdk/models/v2_loyalties_programs_reports_earning_rules_daily_list_response_body.rb +249 -0
  841. data/lib/VoucherifySdk/models/v2_loyalties_programs_reports_earning_rules_summary_list_response_body.rb +249 -0
  842. data/lib/VoucherifySdk/models/v2_loyalties_programs_reports_points_earnings_daily_list_response_body.rb +249 -0
  843. data/lib/VoucherifySdk/models/v2_loyalties_programs_reports_points_earnings_summary_list_response_body.rb +249 -0
  844. data/lib/VoucherifySdk/models/v2_loyalties_programs_reports_tiers_daily_list_response_body.rb +249 -0
  845. data/lib/VoucherifySdk/models/v2_loyalties_programs_reports_tiers_summary_list_response_body.rb +249 -0
  846. data/lib/VoucherifySdk/models/v2_loyalties_programs_rewards_list_response_body.rb +258 -0
  847. data/lib/VoucherifySdk/models/v2_loyalties_programs_rewards_purchases_refund_request_body.rb +208 -0
  848. data/lib/VoucherifySdk/models/v2_loyalties_programs_rewards_purchases_refund_response_body.rb +263 -0
  849. data/lib/VoucherifySdk/models/v2_loyalties_programs_tier_structures_list_response_body.rb +258 -0
  850. data/lib/VoucherifySdk/models/v2_loyalties_rewards_get_response_body.rb +424 -0
  851. data/lib/VoucherifySdk/models/validations_redeemable_skipped_result_details.rb +1 -1
  852. data/lib/VoucherifySdk/models/validations_validate_request_body.rb +11 -0
  853. data/lib/VoucherifySdk/models/validations_validate_request_body_options.rb +28 -6
  854. data/lib/VoucherifySdk/models/validations_validate_response_body.rb +1 -0
  855. data/lib/VoucherifySdk/models/vl_member_activity.rb +308 -0
  856. data/lib/VoucherifySdk/models/vl_member_activity_data.rb +249 -0
  857. data/lib/VoucherifySdk/version.rb +1 -1
  858. data/lib/VoucherifySdk.rb +366 -0
  859. metadata +767 -30
@@ -0,0 +1,16 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersCreateResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Identifies the member. | [optional] |
8
+ | **customer_id** | **String** | Identifies the enrolled customer. | [optional] |
9
+ | **program_id** | **String** | Identifies the loyalty program. | [optional] |
10
+ | **status** | **String** | Current member status. Allowed values: `ACTIVE`, `INACTIVE`, `DELETED`. `INACTIVE` members cannot earn points or redeem rewards. | [optional] |
11
+ | **metadata** | **Object** | Stores custom member metadata. Empty object when none is set. | [optional] |
12
+ | **created_at** | **Time** | Records when the member was created (ISO 8601). | [optional] |
13
+ | **updated_at** | **Time** | Records the last update (ISO 8601). `null` if the member has never been updated. | [optional] |
14
+ | **object** | **String** | Object type. Always `member`. | [optional][default to 'member'] |
15
+ | **cards** | [**Array<MemberCard>**](MemberCard.md) | Member's loyalty cards - one per card definition assigned to the program. Card codes are generated asynchronously, so `card.code` may be `null` right after member creation. | [optional] |
16
+
@@ -0,0 +1,15 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersDeactivateResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Identifies the member. | [optional] |
8
+ | **customer_id** | **String** | Identifies the enrolled customer. | [optional] |
9
+ | **program_id** | **String** | Identifies the loyalty program. | [optional] |
10
+ | **status** | **String** | Current member status. Allowed values: `ACTIVE`, `INACTIVE`, `DELETED`. `INACTIVE` members cannot earn points or redeem rewards. | [optional] |
11
+ | **metadata** | **Object** | Stores custom member metadata. Empty object when none is set. | [optional] |
12
+ | **created_at** | **Time** | Records when the member was created (ISO 8601). | [optional] |
13
+ | **updated_at** | **Time** | Records the last update (ISO 8601). `null` if the member has never been updated. | [optional] |
14
+ | **object** | **String** | Object type. Always `member`. | [optional][default to 'member'] |
15
+
@@ -0,0 +1,15 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersDeleteResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Identifies the member. | [optional] |
8
+ | **customer_id** | **String** | Identifies the enrolled customer. | [optional] |
9
+ | **program_id** | **String** | Identifies the loyalty program. | [optional] |
10
+ | **status** | **String** | Current member status. Allowed values: `ACTIVE`, `INACTIVE`, `DELETED`. `INACTIVE` members cannot earn points or redeem rewards. | [optional] |
11
+ | **metadata** | **Object** | Stores custom member metadata. Empty object when none is set. | [optional] |
12
+ | **created_at** | **Time** | Records when the member was created (ISO 8601). | [optional] |
13
+ | **updated_at** | **Time** | Records the last update (ISO 8601). `null` if the member has never been updated. | [optional] |
14
+ | **object** | **String** | Object type. Always `member`. | [optional][default to 'member'] |
15
+
@@ -0,0 +1,9 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersEarningRulesReportsDailyListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array<EarningRuleDailyReportEntry>**](EarningRuleDailyReportEntry.md) | List of report entries, one per aggregation period with recorded activity, ordered by `date` ascending. Empty when no activity was recorded in the range. | [optional] |
8
+ | **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
9
+
@@ -0,0 +1,16 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersGetResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Identifies the member. | [optional] |
8
+ | **customer_id** | **String** | Identifies the enrolled customer. | [optional] |
9
+ | **program_id** | **String** | Identifies the loyalty program. | [optional] |
10
+ | **status** | **String** | Current member status. Allowed values: `ACTIVE`, `INACTIVE`, `DELETED`. `INACTIVE` members cannot earn points or redeem rewards. | [optional] |
11
+ | **metadata** | **Object** | Stores custom member metadata. Empty object when none is set. | [optional] |
12
+ | **created_at** | **Time** | Records when the member was created (ISO 8601). | [optional] |
13
+ | **updated_at** | **Time** | Records the last update (ISO 8601). `null` if the member has never been updated. | [optional] |
14
+ | **object** | **String** | Object type. Always `member`. | [optional][default to 'member'] |
15
+ | **cards** | [**Array<MemberCard>**](MemberCard.md) | Member's loyalty cards - one per card definition assigned to the program. Card codes are generated asynchronously, so `card.code` may be `null` right after member creation. | [optional] |
16
+
@@ -0,0 +1,12 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersListRequestQuery
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **junction** | **String** | Joins the field filters. Allowed values are `AND` and `OR`. Defaults to `AND`. | [optional] |
8
+ | **id** | [**LoyaltiesProgramsMembersListRequestQueryId**](LoyaltiesProgramsMembersListRequestQueryId.md) | | [optional] |
9
+ | **status** | [**LoyaltiesProgramsMembersListRequestQueryStatus**](LoyaltiesProgramsMembersListRequestQueryStatus.md) | | [optional] |
10
+ | **customer_id** | [**LoyaltiesProgramsMembersListRequestQueryCustomerId**](LoyaltiesProgramsMembersListRequestQueryCustomerId.md) | | [optional] |
11
+ | **created_at** | [**DateFilter**](DateFilter.md) | | [optional] |
12
+
@@ -0,0 +1,10 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array<Member>**](Member.md) | Members on the current page (without the `cards` array). | [optional] |
8
+ | **cursor** | [**ListCursor**](ListCursor.md) | | [optional] |
9
+ | **object** | **String** | Object type marker, always `list`. | [optional][default to 'list'] |
10
+
@@ -0,0 +1,11 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersOrdersPaymentsCreateRequestBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **card_id** | **String** | Unique identifier of the member's loyalty card to spend points from (format `lcrd_...`). | [optional] |
8
+ | **order** | [**OrderPaymentOrder**](OrderPaymentOrder.md) | | |
9
+ | **payment_limit** | [**LoyaltiesProgramsMembersOrdersPaymentsCreateRequestBodyLimit**](LoyaltiesProgramsMembersOrdersPaymentsCreateRequestBodyLimit.md) | | [optional] |
10
+ | **mode** | **String** | Payment mode. `TRANSACTION` creates a `PENDING` order transaction processed asynchronously (HTTP `202`). `DRY_RUN` only simulates the payment and returns the calculation result (HTTP `200`); no transaction is created. Defaults to `TRANSACTION` when omitted or `null`. | [optional] |
11
+
@@ -0,0 +1,11 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersOrdersPaymentsListRequestQuery
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **junction** | **String** | Joins the field filters. Allowed values are `AND` and `OR`. Defaults to `AND`. | [optional] |
8
+ | **id** | [**LoyaltiesProgramsMembersOrdersPaymentsListRequestQueryId**](LoyaltiesProgramsMembersOrdersPaymentsListRequestQueryId.md) | | [optional] |
9
+ | **card_definition_id** | [**LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionId**](LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionId.md) | | [optional] |
10
+ | **created_at** | [**TransactionFilterDateConditions**](TransactionFilterDateConditions.md) | | [optional] |
11
+
@@ -0,0 +1,10 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersOrdersPaymentsListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array<OrderPaymentTransaction>**](OrderPaymentTransaction.md) | Order payment transactions. | [optional] |
8
+ | **cursor** | [**V2LoyaltiesProgramsMembersOrdersPaymentsListResponseBodyCursor**](V2LoyaltiesProgramsMembersOrdersPaymentsListResponseBodyCursor.md) | | [optional] |
9
+ | **object** | **String** | Object type marker. Always `list`. | [optional][default to 'list'] |
10
+
@@ -0,0 +1,9 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersOrdersPaymentsListResponseBodyCursor
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_next** | **String** | Pass as the `cursor` query parameter to fetch the next page (format `lcrsotx_...`). | [optional] |
8
+ | **expires_at** | **Time** | Timestamp when the cursor expires (ISO 8601). | [optional] |
9
+
@@ -0,0 +1,9 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersRewardsPurchasesCreateRequestBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **reward_id** | **String** | Unique identifier of the reward to purchase (format `lrew_...`). | [optional] |
8
+ | **mode** | **String** | Purchase mode. `TRANSACTION` creates a `PENDING` reward transaction processed asynchronously (HTTP `202`). `DRY_RUN` only simulates the purchase and returns the calculation result (HTTP `200`); no transaction is created. Defaults to `TRANSACTION` when omitted. | [optional][default to 'TRANSACTION'] |
9
+
@@ -0,0 +1,12 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersRewardsPurchasesListRequestQuery
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **junction** | **String** | Joins the field filters. Allowed values are `AND` and `OR`. Defaults to `AND`. | [optional] |
8
+ | **id** | [**LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryId**](LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryId.md) | | [optional] |
9
+ | **reward_id** | [**LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryRewardId**](LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryRewardId.md) | | [optional] |
10
+ | **card_definition_id** | [**LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionId**](LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionId.md) | | [optional] |
11
+ | **created_at** | [**TransactionFilterDateConditions**](TransactionFilterDateConditions.md) | | [optional] |
12
+
@@ -0,0 +1,10 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersRewardsPurchasesListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array<RewardPurchaseTransaction>**](RewardPurchaseTransaction.md) | Reward purchase transactions (type `PURCHASE` only). | [optional] |
8
+ | **cursor** | [**V2LoyaltiesProgramsMembersRewardsPurchasesListResponseBodyCursor**](V2LoyaltiesProgramsMembersRewardsPurchasesListResponseBodyCursor.md) | | [optional] |
9
+ | **object** | **String** | Object type marker. Always `list`. | [optional][default to 'list'] |
10
+
@@ -0,0 +1,9 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersRewardsPurchasesListResponseBodyCursor
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_next** | **String** | Cursor to pass as the `cursor` query parameter to fetch the next page (format `lcrstrx_...`). | [optional] |
8
+ | **expires_at** | **Time** | Timestamp when the cursor expires. | [optional] |
9
+
@@ -0,0 +1,11 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersTiersTransactionsListRequestQuery
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **junction** | **String** | Joins the field filters. Allowed values are `AND` and `OR`. Defaults to `AND`. | [optional] |
8
+ | **card_id** | [**LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardId**](LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardId.md) | | [optional] |
9
+ | **card_definition_id** | [**LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardDefinitionId**](LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardDefinitionId.md) | | [optional] |
10
+ | **created_at** | [**TransactionFilterDateConditions**](TransactionFilterDateConditions.md) | | [optional] |
11
+
@@ -0,0 +1,10 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersTiersTransactionsListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array<TierTransaction>**](TierTransaction.md) | List of tier transactions. | [optional] |
8
+ | **cursor** | [**ListCursor**](ListCursor.md) | | [optional] |
9
+ | **object** | **String** | Object type marker. Always `list`. | [optional][default to 'list'] |
10
+
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersUpdateRequestBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **metadata** | **Object** | Member metadata to apply. Object keys are merged into existing metadata (omitted keys are preserved). Validated against the `vl_member` metadata schema when configured. Pass `null` to clear all metadata. | [optional] |
8
+
@@ -0,0 +1,15 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembersUpdateResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Identifies the member. | [optional] |
8
+ | **customer_id** | **String** | Identifies the enrolled customer. | [optional] |
9
+ | **program_id** | **String** | Identifies the loyalty program. | [optional] |
10
+ | **status** | **String** | Current member status. Allowed values: `ACTIVE`, `INACTIVE`, `DELETED`. `INACTIVE` members cannot earn points or redeem rewards. | [optional] |
11
+ | **metadata** | **Object** | Stores custom member metadata. Empty object when none is set. | [optional] |
12
+ | **created_at** | **Time** | Records when the member was created (ISO 8601). | [optional] |
13
+ | **updated_at** | **Time** | Records the last update (ISO 8601). `null` if the member has never been updated. | [optional] |
14
+ | **object** | **String** | Object type. Always `member`. | [optional][default to 'member'] |
15
+
@@ -0,0 +1,11 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsMembershipsGetResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **member** | [**Member**](Member.md) | | [optional] |
8
+ | **program** | [**ProgramSimple**](ProgramSimple.md) | | [optional] |
9
+ | **object** | **String** | Object type marker, always `membership`. | [optional][default to 'membership'] |
10
+ | **cards** | [**Array<MembershipCard>**](MembershipCard.md) | Member's loyalty cards, one per card definition assigned to the program. `tier_progress` is present when that card definition has a tier structure and the member has a tier on the card. Otherwise it is omitted. `card.code` can be `null` right after member creation, while code generation is still running. | [optional] |
11
+
@@ -0,0 +1,9 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsReportsEarningRulesDailyListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array<EarningRulesReportDailyEntry>**](EarningRulesReportDailyEntry.md) | List of report entries, one per aggregation period and earning rule with recorded activity, ordered by `date` ascending. Empty when no activity was recorded in the range. | [optional] |
8
+ | **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
9
+
@@ -0,0 +1,9 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsReportsEarningRulesSummaryListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array<EarningRulesReportSummaryEntry>**](EarningRulesReportSummaryEntry.md) | List of summary rows, one per earning rule with recorded activity, ordered by `id` descending. Contains at most 100 rows. Empty when no activity was recorded. | [optional] |
8
+ | **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
9
+
@@ -0,0 +1,9 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsReportsPointsEarningsDailyListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array<PointsEarningsReportDailyEntry>**](PointsEarningsReportDailyEntry.md) | List of report entries, one per aggregation period, earning rule, earning item, and card definition with recorded activity, ordered by `date` ascending. Empty when no activity was recorded in the range. | [optional] |
8
+ | **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
9
+
@@ -0,0 +1,9 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsReportsPointsEarningsSummaryListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array<PointsEarningsReportSummaryEntry>**](PointsEarningsReportSummaryEntry.md) | List of summary rows, one per earning rule, earning item, and card definition with recorded activity, ordered by `id` descending. Contains at most 100 rows. Empty when no activity was recorded. | [optional] |
8
+ | **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
9
+
@@ -0,0 +1,9 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsReportsTiersDailyListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array<TiersReportDailyEntry>**](TiersReportDailyEntry.md) | List of report entries, one per tier structure, tier, and aggregation period with recorded movement, ordered by `date` ascending. Empty when no movement was recorded in the range. | [optional] |
8
+ | **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
9
+
@@ -0,0 +1,9 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsReportsTiersSummaryListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array<TiersReportSummaryEntry>**](TiersReportSummaryEntry.md) | List of summary rows, one per tier structure and tier with recorded movement, ordered by `id` descending. Contains at most 100 rows. Empty when no movement was recorded. | [optional] |
8
+ | **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
9
+
@@ -0,0 +1,10 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsRewardsListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **object** | **String** | Object type marker. Always `list`. | [optional][default to 'list'] |
8
+ | **data** | [**Array<ProgramRewardAssignment>**](ProgramRewardAssignment.md) | Reward assignments on the current page. | [optional] |
9
+ | **cursor** | [**ProgramListCursor**](ProgramListCursor.md) | | [optional] |
10
+
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsRewardsPurchasesRefundRequestBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **policies** | [**RewardPurchaseRefundPolicies**](RewardPurchaseRefundPolicies.md) | | [optional] |
8
+
@@ -0,0 +1,10 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsRewardsPurchasesRefundResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **transaction** | [**RewardPurchaseTransaction**](RewardPurchaseTransaction.md) | | |
8
+ | **status** | **String** | Result status. Always `APPROVED` on success. | [optional][default to 'APPROVED'] |
9
+ | **message** | **String** | Returns the result message: \"Reward refund transaction created. Points will be returned to the member's card shortly.\". | [optional] |
10
+
@@ -0,0 +1,10 @@
1
+ # VoucherifySdk::V2LoyaltiesProgramsTierStructuresListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **object** | **String** | Object type marker. | [optional][default to 'list'] |
8
+ | **data** | [**Array<ProgramTierStructureAssignment>**](ProgramTierStructureAssignment.md) | Tier structure assignments on the current page. | [optional] |
9
+ | **cursor** | [**ProgramListCursor**](ProgramListCursor.md) | | [optional] |
10
+
@@ -0,0 +1,23 @@
1
+ # VoucherifySdk::V2LoyaltiesRewardsGetResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Unique reward identifier, prefixed with `lrew_`. | [optional] |
8
+ | **name** | **String** | Display name of the reward. | [optional] |
9
+ | **type** | **String** | Reward type. | [optional] |
10
+ | **status** | **String** | Current lifecycle status of the reward. | [optional] |
11
+ | **start_date** | **Time** | Date from which the reward is available, or `null` when not set. | [optional] |
12
+ | **end_date** | **Time** | Date until which the reward is available, or `null` when not set. | [optional] |
13
+ | **validity_hours** | [**RewardValidityHoursResponse**](RewardValidityHoursResponse.md) | | |
14
+ | **material** | [**RewardMaterialResponse**](RewardMaterialResponse.md) | | [optional] |
15
+ | **digital** | [**RewardDigitalResponse**](RewardDigitalResponse.md) | | [optional] |
16
+ | **refunds** | [**LoyaltyV2ActivityRewardRefunds**](LoyaltyV2ActivityRewardRefunds.md) | | |
17
+ | **costs** | [**Array<RewardCostResponse>**](RewardCostResponse.md) | Point costs of the reward. Empty array when no costs are defined. | [optional] |
18
+ | **purchase_limits** | [**RewardPurchaseLimits**](RewardPurchaseLimits.md) | | |
19
+ | **metadata** | **Object** | Arbitrary key-value metadata attached to the reward. Empty object when not set. | [optional] |
20
+ | **created_at** | **Time** | Timestamp when the reward was created (ISO-8601). | [optional] |
21
+ | **updated_at** | **Time** | Timestamp when the reward was last updated (ISO-8601), or `null` when never updated. | [optional] |
22
+ | **object** | **String** | Object type marker; always `reward`. | [optional][default to 'reward'] |
23
+
@@ -0,0 +1,14 @@
1
+ # VoucherifySdk::VLMemberActivity
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **created_at** | **Time** | Timestamp when the activity was recorded (ISO 8601). | [optional] |
8
+ | **group_id** | **String** | ID grouping activities recorded within the same request. | [optional] |
9
+ | **source** | [**ActivitySource**](ActivitySource.md) | | [optional] |
10
+ | **id** | **String** | Unique activity ID. | [optional] |
11
+ | **member_id** | **String** | ID of the member the activity relates to. | [optional] |
12
+ | **type** | **String** | Activity type. Allowed values: `vl.member.created`, `vl.member.updated`, `vl.member.deleted`, `vl.member.activated`, `vl.member.deactivated`, `vl.member.card.assigned`, and `vl.member.card.unassigned`. | [optional] |
13
+ | **data** | [**VLMemberActivityData**](VLMemberActivityData.md) | | [optional] |
14
+
@@ -0,0 +1,11 @@
1
+ # VoucherifySdk::VLMemberActivityData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **member** | [**Member**](Member.md) | | |
8
+ | **program** | [**Program**](Program.md) | | |
9
+ | **card** | [**Card**](Card.md) | | [optional] |
10
+ | **member_card** | [**MemberCard**](MemberCard.md) | | [optional] |
11
+
@@ -85,7 +85,7 @@ end
85
85
 
86
86
  Create Validation Rules
87
87
 
88
- Create a validation rule. 🚧 Managing validation rules It is recommended to [create or update validation rules](/personalize/create-validation-rules) in the Voucherify dashboard. The rule builder in the dashboard helps configuring the desired conditions in a convenient way. The API should not be used as a preferable way to create and manage validation rules.
88
+ Create a validation rule. <Warning> <Badge color yellow>Managing validation rules</Badge> It is recommended to [create or update validation rules](/personalize/create-validation-rules) in the Voucherify dashboard. The rule builder in the dashboard helps configuring the desired conditions in a convenient way. The API should not be used as a preferable way to create and manage validation rules. </Warning>
89
89
 
90
90
  ### Examples
91
91
 
@@ -521,7 +521,7 @@ end
521
521
 
522
522
  Update Validation Rule
523
523
 
524
- Update validation rule parameters. 🚧 Managing validation rules It is recommended to [create or update validation rules](/personalize/create-validation-rules) in the Voucherify dashboard. The rule builder in the dashboard helps configuring the desired conditions in a convenient way. The API should not be used as a preferable way to create and manage validation rules.
524
+ Update validation rule parameters. <Warning> <Badge color yellow>Managing validation rules</Badge> It is recommended to [create or update validation rules](/personalize/create-validation-rules) in the Voucherify dashboard. The rule builder in the dashboard helps configuring the desired conditions in a convenient way. The API should not be used as a preferable way to create and manage validation rules. </Warning>
525
525
 
526
526
  ### Examples
527
527
 
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **options** | [**ValidationsValidateRequestBodyOptions**](ValidationsValidateRequestBodyOptions.md) | | [optional] |
8
- | **redeemables** | [**Array&lt;ValidationsValidateRequestBodyRedeemablesItem&gt;**](ValidationsValidateRequestBodyRedeemablesItem.md) | | [optional] |
8
+ | **redeemables** | [**Array&lt;ValidationsValidateRequestBodyRedeemablesItem&gt;**](ValidationsValidateRequestBodyRedeemablesItem.md) | An array of redeemables. You can combine &#x60;voucher&#x60;(s) and &#x60;promotion_tier&#x60;(s). Alternatively, send one unique&#x60;promotion_stack&#x60; in the array. Each unique redeemable can be sent in one request only once. | [optional] |
9
9
  | **order** | [**Order**](Order.md) | | [optional] |
10
10
  | **customer** | [**Customer**](Customer.md) | | [optional] |
11
11
  | **session** | [**Session**](Session.md) | | [optional] |
@@ -5,4 +5,5 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **expand** | **Array&lt;String&gt;** | The expand array lets you configure the parameters included in the response. Depending on the strings included in the array, the response will contain different details. | **Expand Option** | **Response Body** | |:---|:---| | [\&quot;order\&quot;] | - Same response as fallback response (without an options object).&lt;br /&gt;- Order data with calculated discounts are listed in each child redeemable object.&lt;br /&gt;- Metadata not included for each discount type. | | [\&quot;redeemable\&quot;] | Expands redeemable objects by including &#x60;metadata&#x60; for each discount type. | | [\&quot;order\&quot;, \&quot;redeemable\&quot;] | - Order data with calculated discounts are listed in each child redeemable object.&lt;br /&gt;- Includes &#x60;metadata&#x60; for each discount type. | | [\&quot;category\&quot;] | - Returns an expanded &#x60;categories&#x60; object, showing details about the category. | | [optional] |
8
+ | **language** | **String** | Selects the language for the custom validation-rule error message. Returns the message in this language when a validation rule fails. Falls back to the Error Message Library default language when omitted or when the requested language has no message. Omits the custom error when no message can be resolved. | [optional] |
8
9
 
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | Unique identifier of the validation, assigned by Voucherify. | [optional] |
8
8
  | **valid** | **Boolean** | The result of the validation. It takes all of the redeemables into account and returns a &#x60;false&#x60; if at least one redeemable is inapplicable. Returns &#x60;true&#x60; if all redeemables are applicable. | [optional] |
9
- | **redeemables** | [**Array&lt;ValidationsValidateResponseBodyRedeemablesItem&gt;**](ValidationsValidateResponseBodyRedeemablesItem.md) | | [optional] |
9
+ | **redeemables** | [**Array&lt;ValidationsValidateResponseBodyRedeemablesItem&gt;**](ValidationsValidateResponseBodyRedeemablesItem.md) | Lists validation results of each redeemable. If &#x60;redeemables_application_mode&#x60; is &#x60;PARTIAL&#x60; in the &#x60;stacking_rules&#x60; object, all redeemables here will be &#x60;APPLICABLE&#x60;. Read more in [the Stacking rules article](/orchestrate/stacking-rules). | [optional] |
10
10
  | **skipped_redeemables** | [**Array&lt;ValidationsRedeemableSkipped&gt;**](ValidationsRedeemableSkipped.md) | Lists validation results of each skipped redeemable. | [optional] |
11
11
  | **inapplicable_redeemables** | [**Array&lt;ValidationsRedeemableInapplicable&gt;**](ValidationsRedeemableInapplicable.md) | Lists validation results of each inapplicable redeemable. | [optional] |
12
12
  | **order** | [**OrderCalculated**](OrderCalculated.md) | | [optional] |
data/docs/VouchersApi.md CHANGED
@@ -28,7 +28,7 @@ All URIs are relative to *https://api.voucherify.io*
28
28
 
29
29
  Create Voucher
30
30
 
31
- Create a generic (standalone) voucher or a voucher in a campaign. You can choose to create a GIFT_VOUCHER, a DISCOUNT_VOUCHER, or a LOYALTY_CARD. The code path parameter can use all letters of the English alphabet, Arabic numerals and special characters. When you create a new voucher, you can specify a type to create it. If no campaign name or campaign_id is provided, the new voucher will be a generic (standalone) one. However, if an ID or name of a campaign with the type set to STANDALONE is provided, the voucher will be added to this campaign. For a loyalty card, a campaign name or ID is required. 🚧 Standalone Vouchers and Campaigns Generic (standalone) vouchers created through the Voucherify dashboard always create a campaign for that voucher. However, vouchers created through The vouchers created with POST Create voucher and POST Generate random code endpoints do not have a campaign attached, so the values for campaign and campaign_id are null. To create a generic (standalone) voucher with a type: STANDALONE, use the [POST Create campaign](/api-reference/campaigns/create-campaign) endpoint.
31
+ Create a generic (standalone) voucher or a voucher in a campaign. You can choose to create a GIFT_VOUCHER, a DISCOUNT_VOUCHER, or a LOYALTY_CARD. The code path parameter can use all letters of the English alphabet, Arabic numerals and special characters. When you create a new voucher, you can specify a type to create it. If no campaign name or campaign_id is provided, the new voucher will be a generic (standalone) one. However, if an ID or name of a campaign with the type set to STANDALONE is provided, the voucher will be added to this campaign. For a loyalty card, a campaign name or ID is required. <Warning> <Badge color yellow>Standalone Vouchers and Campaigns</Badge> Generic (standalone) vouchers created through the Voucherify dashboard always create a campaign for that voucher. However, vouchers created through The vouchers created with POST Create voucher and POST Generate random code endpoints do not have a campaign attached, so the values for campaign and campaign_id are null. To create a generic (standalone) voucher with a type: STANDALONE, use the [POST Create campaign](/api-reference/campaigns/create-campaign) endpoint. </Warning>
32
32
 
33
33
  ### Examples
34
34
 
@@ -151,7 +151,7 @@ nil (empty response body)
151
151
 
152
152
  Disable Voucher
153
153
 
154
- There are various times when youll want to manage a vouchers accessibility. This can be done by two API methods for managing the voucher state - *enable* and *disable*. ___ This method sets the voucher state to **inactive**. The voucher cannot be redeemed.
154
+ This method sets the voucher state to **inactive**. The voucher cannot be redeemed.
155
155
 
156
156
  ### Examples
157
157
 
@@ -209,7 +209,7 @@ end
209
209
 
210
210
  Enable Voucher
211
211
 
212
- There are various times when youll want to manage a vouchers accessibility. This can be done by two API methods for managing the voucher state - *enable* and *disable*. ___ The method sets the voucher state to **active**. The voucher can be redeemed - only if the redemption occurs after the start date and the voucher is not expired.
212
+ The method sets the voucher state to **active**. The voucher can be redeemed - only if the redemption occurs after the start date and the voucher is not expired.
213
213
 
214
214
  ### Examples
215
215
 
@@ -329,7 +329,7 @@ end
329
329
 
330
330
  Generate Random Code
331
331
 
332
- Create a generic (standalone) vouchers. You can choose to create a GIFT_VOUCHER, a DISCOUNT_VOUCHER, or a LOYALTY_CARD. When you create a new voucher, you can specify a type to create it. Creating a new voucher will create a new generic (standalone) vouchers if no campaign name or campaign_id is provided. However, if an ID or name of a campaign with the type set to STANDALONE is provided, the voucher will be added to such campaign. In case of the loyalty card, a campaign name is required. You can optionally use the code parameter to define a specific code or the code_config parameter to design rules for Voucherify API to create a random code. If neither of the two parameters are passed, then a random code is generated by the Voucherify API. This method will return an error when trying to create a voucher that already exists. 🚧 Standalone Vouchers and Campaigns Generic (standalone) vouchers created through the Voucherify dashboard always create a campaign for that voucher. The vouchers created with POST Create voucher and POST Generate random code endpoints do not have a campaign attached, so the values for campaign and campaign_id are null. To create a generic (standalone) voucher with a type: STANDALONE, use the [POST Create campaign](/api-reference/campaigns/create-campaign) endpoint.
332
+ Create a generic (standalone) vouchers. You can choose to create a GIFT_VOUCHER, a DISCOUNT_VOUCHER, or a LOYALTY_CARD. When you create a new voucher, you can specify a type to create it. Creating a new voucher will create a new generic (standalone) vouchers if no campaign name or campaign_id is provided. However, if an ID or name of a campaign with the type set to STANDALONE is provided, the voucher will be added to such campaign. In case of the loyalty card, a campaign name is required. You can optionally use the code parameter to define a specific code or the code_config parameter to design rules for Voucherify API to create a random code. If neither of the two parameters are passed, then a random code is generated by the Voucherify API. This method will return an error when trying to create a voucher that already exists. <Warning> <Badge color yellow>Standalone Vouchers and Campaigns</Badge> Generic (standalone) vouchers created through the Voucherify dashboard always create a campaign for that voucher. The vouchers created with POST Create voucher and POST Generate random code endpoints do not have a campaign attached, so the values for campaign and campaign_id are null. To create a generic (standalone) voucher with a type: STANDALONE, use the [POST Create campaign](/api-reference/campaigns/create-campaign) endpoint. </Warning>
333
333
 
334
334
  ### Examples
335
335
 
@@ -447,7 +447,7 @@ end
447
447
 
448
448
  Import Vouchers
449
449
 
450
- Import generic (standalone) vouchers and gift cards into the repository. You can upload up to 100,000 codes to a campaign, as a campaign can have up to 100,000 codes by default. Also, the request can include up to **10 MB** of data. 📘 Important notes - **Start and expiration dates** need to be provided in compliance with the ISO 8601 standard. For example, 2020-03-11T09:00:00.000Z. - Custom code attributes (not supported by-default) need to be added as code **metadata**. - You **cannot import the same codes** to a single Voucherify Project. Any parameters not provided in the payload will be left blank or null. For both **standalone discount vouchers and gift cards**, you can import the following fields: - code - category - active - type - start_date - expiration_date - redemption.quantity - additional_info - metadata For **gift cards**, you can also import the following field: - gift.amount For **discount vouchers**, you can import the discount object. The object will slightly vary depending on the type of discount. Each discount type **requires** the type to be defined in the import. Fields other than the ones listed above wont be imported. Even if provided, they will be silently skipped. This API request starts a process that affects Voucherify data in bulk. In case of small jobs (like bulk update) the request is put into a queue and processed once every other bulk request placed in the queue prior to this request is finished. However, when the job takes a longer time (like vouchers generation) then it is processed in small portions in a round-robin fashion. When there is a list of vouchers generation scheduled, then they will all have the IN_PROGRESS status shortly. This way, small jobs added just after scheduling big jobs of the same type will be processed in a short time window. The result will return the async ID. You can verify the status of your request via this [API request](/api-reference/async-actions/get-async-action). 🚧 Standalone Vouchers and Campaigns Generic (standalone) vouchers created through the Voucherify dashboard always create a campaign for that voucher. However, vouchers imported through the dashboard in the Vouchers section or through the API do not have a campaign attached, so the values for campaign and campaign_id are null. To create a generic (standalone) voucher with a type: STANDALONE, use the [POST Create campaign](/api-reference/campaigns/create-campaign) endpoint.
450
+ Import generic (standalone) vouchers and gift cards into the repository. You can upload up to 100,000 codes to a campaign, as a campaign can have up to 100,000 codes by default. Also, the request can include up to **10 MB** of data. <Note> <Badge color blue>Important notes</Badge> - **Start and expiration dates** need to be provided in compliance with the ISO 8601 standard. For example, 2020-03-11T09:00:00.000Z. - Custom code attributes (not supported by-default) need to be added as code **metadata**. - You **cannot import the same codes** to a single Voucherify Project. </Note> Any parameters not provided in the payload will be left blank or null. For both **standalone discount vouchers and gift cards**, you can import the following fields: - code - category - active - type - start_date - expiration_date - redemption.quantity - additional_info - metadata For **gift cards**, you can also import the following field: - gift.amount For **discount vouchers**, you can import the discount object. The object will slightly vary depending on the type of discount. Each discount type **requires** the type to be defined in the import. Fields other than the ones listed above wont be imported. Even if provided, they will be silently skipped. This API request starts a process that affects Voucherify data in bulk. In case of small jobs (like bulk update) the request is put into a queue and processed once every other bulk request placed in the queue prior to this request is finished. However, when the job takes a longer time (like vouchers generation) then it is processed in small portions in a round-robin fashion. When there is a list of vouchers generation scheduled, then they will all have the IN_PROGRESS status shortly. This way, small jobs added just after scheduling big jobs of the same type will be processed in a short time window. The result will return the async ID. You can verify the status of your request via this [API request](/api-reference/async-actions/get-async-action). <Warning> <Badge color yellow>Standalone Vouchers and Campaigns</Badge> Generic (standalone) vouchers created through the Voucherify dashboard always create a campaign for that voucher. However, vouchers imported through the dashboard in the Vouchers section or through the API do not have a campaign attached, so the values for campaign and campaign_id are null. To create a generic (standalone) voucher with a type: STANDALONE, use the [POST Create campaign](/api-reference/campaigns/create-campaign) endpoint. </Warning>
451
451
 
452
452
  ### Examples
453
453
 
@@ -505,7 +505,7 @@ end
505
505
 
506
506
  Import Vouchers using CSV
507
507
 
508
- Import generic (standalone) vouchers into the repository using a CSV file. The CSV file has to include headers in the first line. All properties listed in the file headers that cannot be mapped to standard voucher fields will be added to the metadata object. You can upload up to 100,000 codes to a campaign, as a campaign can have up to 100,000 codes by default. Also, the request can include a max. **10 MB** CSV file. You can find an example CSV file [here](/build/discount-code-import). ___ 📘 Standard voucher fields mapping - Go to the [import vouchers](/api-reference/vouchers/import-vouchers) endpoint to see all standard CSV fields description (body params section). - Supported CSV file headers: Code,Voucher Type,Value,Discount Type,Category,Start Date,Expiration Date,Redemption Limit,Redeemed Quantity, Redeemed Amount,Active,Additional Info,Custom Metadata Property Name - **Start and expiration dates** need to be provided in compliance with the ISO 8601 standard. For example, 2020-03-11T09:00:00.000Z. - YYYY-MM-DD - YYYY-MM-DDTHH - YYYY-MM-DDTHH:mm - YYYY-MM-DDTHH:mm:ss - YYYY-MM-DDTHH:mm:ssZ - YYYY-MM-DDTHH:mm:ssZ - YYYY-MM-DDTHH:mm:ss.SSSZ - Custom code attributes (not supported by-default) need to be added as code **metadata**. - You **cannot import the same codes** to a single Voucherify project. - You can, however, upload the same codes to update them. 📘 Categories In the structure representing your data, you can define a category that the voucher belongs to. You can later use the category of a voucher to group and search by specific criteria in the Dashboard and using the [List Vouchers](/api-reference/vouchers/list-vouchers) endpoint. This API request starts a process that affects Voucherify data in bulk. In case of small jobs (like bulk update) the request is put into a queue and processed once every other bulk request placed in the queue prior to this request is finished. However, when the job takes a longer time (like vouchers generation) then it is processed in small portions in a round-robin fashion. When there is a list of vouchers generation scheduled, then they will all have the IN_PROGRESS status shortly. This way, small jobs added just after scheduling big jobs of the same type will be processed in a short time window. The result will return the async ID. You can verify the status of your request via this [API request](/api-reference/async-actions/get-async-action). You can pass the webhooks_enable true parameter to trigger a webhook sendout for created or updated vouchers. Configure the [respective webhooks](/api-reference/introduction-to-webhooks) in Project settings. For updated webhooks, a webhook is sent even if the voucher hasnt been changed in the CSV file. 🚧 Generic (standalone) vouchers and campaigns Generic (standalone) vouchers created through the Voucherify dashboard always create a campaign for that voucher. However, vouchers imported through the dashboard in the Vouchers section or through the API do not have a campaign attached, so the values for campaign and campaign_id are null.
508
+ Import generic (standalone) vouchers into the repository using a CSV file. The CSV file has to include headers in the first line. All properties listed in the file headers that cannot be mapped to standard voucher fields will be added to the metadata object. You can upload up to 100,000 codes to a campaign, as a campaign can have up to 100,000 codes by default. Also, the request can include a max. **10 MB** CSV file. You can find an example CSV file [here](/build/discount-code-import). ___ <Note> <Badge color blue>Standard voucher fields mapping</Badge> - Go to the [import vouchers](/api-reference/vouchers/import-vouchers) endpoint to see all standard CSV fields description (body params section). - Supported CSV file headers: Code,Voucher Type,Value,Discount Type,Category,Start Date,Expiration Date,Redemption Limit,Redeemed Quantity, Redeemed Amount,Active,Additional Info,Custom Metadata Property Name - **Start and expiration dates** need to be provided in compliance with the ISO 8601 standard. For example, 2020-03-11T09:00:00.000Z. - YYYY-MM-DD - YYYY-MM-DDTHH - YYYY-MM-DDTHH:mm - YYYY-MM-DDTHH:mm:ss - YYYY-MM-DDTHH:mm:ssZ - YYYY-MM-DDTHH:mm:ssZ - YYYY-MM-DDTHH:mm:ss.SSSZ - Custom code attributes (not supported by-default) need to be added as code **metadata**. - You **cannot import the same codes** to a single Voucherify project. - You can, however, upload the same codes to update them. </Note> <Note> <Badge color blue>Categories</Badge> In the structure representing your data, you can define a category that the voucher belongs to. You can later use the category of a voucher to group and search by specific criteria in the Dashboard and using the [List Vouchers](/api-reference/vouchers/list-vouchers) endpoint. </Note> This API request starts a process that affects Voucherify data in bulk. In case of small jobs (like bulk update) the request is put into a queue and processed once every other bulk request placed in the queue prior to this request is finished. However, when the job takes a longer time (like vouchers generation) then it is processed in small portions in a round-robin fashion. When there is a list of vouchers generation scheduled, then they will all have the IN_PROGRESS status shortly. This way, small jobs added just after scheduling big jobs of the same type will be processed in a short time window. The result will return the async ID. You can verify the status of your request via this [API request](/api-reference/async-actions/get-async-action). You can pass the webhooks_enable true parameter to trigger a webhook sendout for created or updated vouchers. Configure the [respective webhooks](/api-reference/introduction-to-webhooks) in Project settings. For updated webhooks, a webhook is sent even if the voucher hasnt been changed in the CSV file. <Warning> <Badge color yellow>Generic (standalone) vouchers and campaigns</Badge> Generic (standalone) vouchers created through the Voucherify dashboard always create a campaign for that voucher. However, vouchers imported through the dashboard in the Vouchers section or through the API do not have a campaign attached, so the values for campaign and campaign_id are null. </Warning>
509
509
 
510
510
  ### Examples
511
511
 
@@ -713,7 +713,7 @@ end
713
713
 
714
714
  Release Validation Session
715
715
 
716
- Manually release a validation session that has been set up for the voucher. This method undoes the actions that are explained in the [Locking validation session](/guides/locking-validation-session) guide. 📘 Release session in the Dashboard You can also use the [Validations Manager](/optimize/validations-and-redemptions#sessions) in the Dashboard to unlock sessions.
716
+ Manually release the validation session lock for the voucher in the path. This undoes the lock described in the [Locking validation session](/guides/locking-validation-session) guide for that voucher only. If several redeemables were locked with the same session key (for example in a stackable validation), this call removes the lock for the path voucher only. Other redeemables that still use the same session key stay locked. A session-released event is recorded only for the unlocked voucher, and only when a lock was actually removed. Calling this endpoint again when the voucher no longer has that session lock still returns 204 and does not create another session-released event. <Note> <Badge color blue>Release session in the Dashboard</Badge> On a redeemables details **Validations** tab, **Release session** unlocks only that redeemable (same scope as this endpoint). To unlock the session for every redeemable that still holds the key, use **Redemptions** > **Sessions**. See [Validations and redemptions](/optimize/validations-and-redemptions#sessions). </Note>
717
717
 
718
718
  ### Examples
719
719
 
@@ -892,7 +892,7 @@ end
892
892
 
893
893
  Update Vouchers in Bulk
894
894
 
895
- Updates specific metadata parameters for each code, respectively, in one asynchronous operation. The request can include up to **10 MB** of data. Upserts are not supported. 🚧 Currently, only **metadata** updates are supported. The response returns a unique asynchronous action ID. Use this ID in the query paramater of the [GET Async Action](/api-reference/async-actions/get-async-action) endpoint to check, e.g.: - The status of your request (in queue, in progress, done, or failed) - Resources that failed to be updated - The report file with details about the update This API request starts a process that affects Voucherify data in bulk. In the case of small jobs (like bulk update), the request is put into a queue and processed when every other bulk request placed in the queue prior to this request is finished.
895
+ Updates specific metadata parameters for each code, respectively, in one asynchronous operation. The request can include up to **10 MB** of data. Upserts are not supported. <Warning> Currently, only **metadata** updates are supported. </Warning> The response returns a unique asynchronous action ID. Use this ID in the query paramater of the [GET Async Action](/api-reference/async-actions/get-async-action) endpoint to check, e.g.: - The status of your request (in queue, in progress, done, or failed) - Resources that failed to be updated - The report file with details about the update This API request starts a process that affects Voucherify data in bulk. In the case of small jobs (like bulk update), the request is put into a queue and processed when every other bulk request placed in the queue prior to this request is finished.
896
896
 
897
897
  ### Examples
898
898