voucherify 5.0.1 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2894) hide show
  1. checksums.yaml +4 -4
  2. data/DEPRECATED_CHANGELOG.md +35 -0
  3. data/Dockerfile +1 -1
  4. data/ENDPOINTS-COVERAGE.md +307 -824
  5. data/EXAMPLES.md +3 -3
  6. data/Gemfile.lock +9 -9
  7. data/README.md +948 -306
  8. data/__tests__/lib/campaigns.rb +27 -7
  9. data/__tests__/lib/config.rb +9 -4
  10. data/__tests__/lib/customers.rb +1 -1
  11. data/__tests__/lib/loyalties.rb +32 -0
  12. data/__tests__/lib/order.rb +67 -0
  13. data/__tests__/lib/stackables.rb +30 -6
  14. data/__tests__/lib/utils.rb +4 -0
  15. data/__tests__/lib/voucherify_data.rb +9 -0
  16. data/__tests__/spec/01_products_spec.rb +132 -0
  17. data/__tests__/spec/02_campaigns_spec.rb +133 -0
  18. data/__tests__/spec/03_customers_spec.rb +39 -0
  19. data/__tests__/spec/04_publications_spec.rb +31 -0
  20. data/__tests__/spec/05_qualifications_spec.rb +42 -0
  21. data/__tests__/spec/06_validations_spec.rb +140 -0
  22. data/__tests__/spec/07_vouchers_spec.rb +59 -0
  23. data/__tests__/spec/08_events_spec.rb +23 -0
  24. data/__tests__/spec/09_redemptions_spec.rb +47 -0
  25. data/__tests__/spec/10_orders_spec.rb +61 -0
  26. data/__tests__/spec/11_loyalties_spec.rb +40 -0
  27. data/__tests__/spec/12_validation_rules_spec.rb +39 -0
  28. data/__tests__/spec/snapshots/campaigns/added_loyalty_card_to_campaign.snap +1 -0
  29. data/__tests__/spec/snapshots/campaigns/added_voucher_to_campaign.snap +1 -0
  30. data/__tests__/spec/snapshots/campaigns/created_discount_campaign.snap +1 -0
  31. data/__tests__/spec/snapshots/campaigns/created_discount_campaign_with_val_rule.snap +1 -0
  32. data/__tests__/spec/snapshots/campaigns/created_loyalty_campaign.snap +1 -0
  33. data/__tests__/spec/snapshots/campaigns/created_promotion_campaign.snap +1 -0
  34. data/__tests__/spec/snapshots/campaigns/created_validation_rule_applicable_to.snap +1 -0
  35. data/__tests__/spec/snapshots/campaigns/created_validation_rule_more_than.snap +1 -0
  36. data/__tests__/spec/snapshots/customers/created_customer.snap +1 -0
  37. data/__tests__/spec/snapshots/customers/deleted_customer.snap +1 -0
  38. data/__tests__/spec/snapshots/events/created_event.snap +1 -0
  39. data/__tests__/spec/snapshots/loyalties/member_transactions.snap +1 -0
  40. data/__tests__/spec/snapshots/loyalties/updated_loyalty_member_card.snap +1 -0
  41. data/__tests__/spec/snapshots/orders/created_order.snap +1 -0
  42. data/__tests__/spec/snapshots/orders/list_orders.snap +1 -0
  43. data/__tests__/spec/snapshots/orders/updated_created_order_to_paid_status.snap +1 -0
  44. data/__tests__/spec/snapshots/products/added_sku_to_product.snap +1 -0
  45. data/__tests__/spec/snapshots/products/created_product.snap +1 -0
  46. data/__tests__/spec/snapshots/products/created_product2.snap +1 -0
  47. data/__tests__/spec/snapshots/products/get_previously_created_product.snap +1 -0
  48. data/__tests__/spec/snapshots/products/get_product_sku.snap +1 -0
  49. data/__tests__/spec/snapshots/products/list_skus.snap +1 -0
  50. data/__tests__/spec/snapshots/products/updated_product_price.snap +1 -0
  51. data/__tests__/spec/snapshots/products/updated_product_sku.snap +1 -0
  52. data/__tests__/spec/snapshots/publications/created_publication.snap +1 -0
  53. data/__tests__/spec/snapshots/qualifications/checked_eligibility.snap +1 -0
  54. data/__tests__/spec/snapshots/redemptions/redeem_stacked_applicable_discounts.snap +1 -0
  55. data/__tests__/spec/snapshots/redemptions/redeem_stacked_skipped_discounts.snap +1 -0
  56. data/__tests__/spec/snapshots/validation_rules/created_validation_rule_assignment.snap +1 -0
  57. data/__tests__/spec/snapshots/validations/applicable_stacked_validation.snap +1 -0
  58. data/__tests__/spec/snapshots/validations/inapplicable_stacked_validation.snap +1 -0
  59. data/__tests__/spec/snapshots/validations/redeemable_items_necessary_keys.snap +1 -0
  60. data/__tests__/spec/snapshots/validations/validations_succesful_order.snap +1 -0
  61. data/__tests__/spec/snapshots/validations_rules/created_validation_rule_assignment.snap +1 -0
  62. data/__tests__/spec/snapshots/vouchers/disabled_previously_created_voucher.snap +1 -0
  63. data/__tests__/spec/snapshots/vouchers/enabled_previously_created_voucher.snap +1 -0
  64. data/__tests__/spec/snapshots/vouchers/get_previously_created_voucher.snap +1 -0
  65. data/__tests__/spec/snapshots/vouchers/updated_loyalty_card_balance.snap +1 -0
  66. data/__tests__/spec/support/get_snapshot_without_uniq_keys.rb +47 -0
  67. data/__tests__/spec/support/snapshot_helper.rb +15 -0
  68. data/__tests__/spec/support/validate_deep_match.rb +41 -0
  69. data/docs/AccessSettingsCampaignAssignmentsList.md +11 -0
  70. data/docs/ApplicableTo.md +8 -5
  71. data/docs/ApplicableToResultList.md +4 -4
  72. data/docs/AreaStoreCampaignAssignment.md +12 -0
  73. data/docs/AsyncActionBase.md +17 -0
  74. data/docs/AsyncActionGetResponseBody.md +18 -0
  75. data/docs/AsyncActionsApi.md +129 -0
  76. data/docs/AsyncActionsListResponseBody.md +10 -0
  77. data/docs/BinApi.md +132 -0
  78. data/docs/BusValRuleAssignment.md +6 -6
  79. data/docs/Campaign.md +21 -18
  80. data/docs/CampaignBase.md +20 -18
  81. data/docs/CampaignLoyaltyCard.md +1 -1
  82. data/docs/CampaignLoyaltyCardExpirationRules.md +4 -4
  83. data/docs/CampaignLoyaltyVoucher.md +1 -1
  84. data/docs/CampaignTemplate.md +14 -0
  85. data/docs/CampaignVoucher.md +7 -5
  86. data/docs/CampaignVoucherRedemption.md +1 -1
  87. data/docs/CampaignsApi.md +26 -22
  88. data/docs/CampaignsCreateRequestBody.md +25 -54
  89. data/docs/CampaignsCreateRequestBodyPromotion.md +8 -0
  90. data/docs/CampaignsCreateRequestBodyVoucher.md +14 -0
  91. data/docs/CampaignsCreateRequestBodyVoucherRedemption.md +8 -0
  92. data/docs/CampaignsCreateResponseBody.md +21 -18
  93. data/docs/CampaignsGetResponseBody.md +21 -18
  94. data/docs/CampaignsImportCreateResponseBody.md +1 -1
  95. data/docs/CampaignsImportCsvCreateResponseBody.md +1 -1
  96. data/docs/CampaignsImportVoucherItem.md +10 -9
  97. data/docs/CampaignsListResponseBody.md +1 -1
  98. data/docs/CampaignsUpdateRequestBody.md +23 -54
  99. data/docs/CampaignsUpdateRequestBodyOptions.md +8 -0
  100. data/docs/CampaignsUpdateResponseBody.md +21 -18
  101. data/docs/CampaignsVouchersCreateCombinedResponseBody.md +37 -0
  102. data/docs/CampaignsVouchersCreateCombinedResponseBodyGift.md +10 -0
  103. data/docs/CampaignsVouchersCreateCombinedResponseBodyLoyaltyCard.md +11 -0
  104. data/docs/CampaignsVouchersCreateCombinedResponseBodyPublish.md +10 -0
  105. data/docs/CampaignsVouchersCreateCombinedResponseBodyRedemption.md +12 -0
  106. data/docs/CampaignsVouchersCreateInBulkRequestBody.md +3 -3
  107. data/docs/CampaignsVouchersCreateInBulkRequestBodyRedemption.md +8 -0
  108. data/docs/CampaignsVouchersCreateRequestBody.md +1 -1
  109. data/docs/CampaignsVouchersCreateRequestBodyRedemption.md +8 -0
  110. data/docs/CampaignsVouchersCreateResponseBody.md +12 -13
  111. data/docs/CampaignsVouchersCreateResponseBodyGift.md +10 -0
  112. data/docs/CampaignsVouchersCreateResponseBodyLoyaltyCard.md +11 -0
  113. data/docs/CampaignsVouchersCreateResponseBodyPublish.md +10 -0
  114. data/docs/CampaignsVouchersCreateResponseBodyRedemption.md +12 -0
  115. data/docs/CategoriesApi.md +2 -2
  116. data/docs/CategoriesCreateRequestBody.md +2 -2
  117. data/docs/CategoriesCreateResponseBody.md +5 -5
  118. data/docs/CategoriesGetResponseBody.md +6 -7
  119. data/docs/CategoriesListResponseBody.md +4 -4
  120. data/docs/CategoriesUpdateRequestBody.md +2 -2
  121. data/docs/CategoriesUpdateResponseBody.md +6 -6
  122. data/docs/Category.md +6 -7
  123. data/docs/CategoryWithStackingRulesType.md +14 -0
  124. data/docs/ClientEventsCreateRequestBody.md +1 -1
  125. data/docs/ClientEventsCreateRequestBodyLoyalty.md +1 -1
  126. data/docs/ClientEventsCreateRequestBodyReferral.md +1 -1
  127. data/docs/ClientEventsCreateResponseBody.md +5 -4
  128. data/docs/ClientPromotionsTiersListResponseBody.md +12 -0
  129. data/docs/ClientQualificationsCheckEligibilityRequestBody.md +1 -2
  130. data/docs/ClientRedemptionsRedeemRequestBody.md +2 -2
  131. data/docs/ClientRedemptionsRedeemRequestBodyOptions.md +8 -0
  132. data/docs/ClientRedemptionsRedeemRequestBodyRedeemablesItem.md +11 -0
  133. data/docs/ClientRedemptionsRedeemRequestBodyRedeemablesItemGift.md +8 -0
  134. data/docs/ClientRedemptionsRedeemRequestBodyRedeemablesItemReward.md +9 -0
  135. data/docs/ClientSideApi.md +43 -36
  136. data/docs/ClientValidationsValidateRequestBody.md +2 -2
  137. data/docs/ClientValidationsValidateRequestBodyOptions.md +8 -0
  138. data/docs/ClientValidationsValidateRequestBodyRedeemablesItem.md +11 -0
  139. data/docs/ClientValidationsValidateRequestBodyRedeemablesItemGift.md +8 -0
  140. data/docs/ClientValidationsValidateRequestBodyRedeemablesItemReward.md +9 -0
  141. data/docs/ClientValidationsValidateResponseBody.md +4 -3
  142. data/docs/ClientValidationsValidateResponseBodyRedeemablesItem.md +16 -0
  143. data/docs/ClientValidationsValidateResponseBodyRedeemablesItemResult.md +12 -0
  144. data/docs/ClientValidationsValidateResponseBodyRedeemablesItemResultDetails.md +9 -0
  145. data/docs/ClientValidationsValidateResponseBodyRedeemablesItemResultDiscount.md +24 -0
  146. data/docs/ClientValidationsValidateResponseBodyRedeemablesItemResultDiscountProduct.md +10 -0
  147. data/docs/ClientValidationsValidateResponseBodyRedeemablesItemResultGift.md +8 -0
  148. data/docs/ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard.md +8 -0
  149. data/docs/CodeConfig.md +1 -1
  150. data/docs/CreatePublicationCampaign.md +1 -1
  151. data/docs/Customer.md +4 -4
  152. data/docs/CustomerActivity.md +2 -1
  153. data/docs/CustomerAddress.md +13 -0
  154. data/docs/CustomerId.md +2 -2
  155. data/docs/CustomerLoyalty.md +3 -3
  156. data/docs/CustomerLoyaltyCampaignsEntry.md +10 -0
  157. data/docs/CustomerRedeemable.md +17 -0
  158. data/docs/CustomerRedeemableRedeemable.md +10 -0
  159. data/docs/CustomerReferrals.md +2 -2
  160. data/docs/CustomerSummaryOrders.md +4 -4
  161. data/docs/CustomerSummaryRedemptions.md +8 -8
  162. data/docs/CustomerSummaryRedemptionsGift.md +2 -2
  163. data/docs/CustomerSummaryRedemptionsLoyaltyCard.md +2 -2
  164. data/docs/CustomerWithSummaryLoyaltyReferrals.md +12 -12
  165. data/docs/CustomerWithSummaryLoyaltyReferralsAddress.md +13 -0
  166. data/docs/CustomerWithSummaryLoyaltyReferralsAssets.md +8 -0
  167. data/docs/CustomersActivitiesListResponseBody.md +4 -4
  168. data/docs/CustomersActivityListResponseBody.md +12 -0
  169. data/docs/CustomersApi.md +182 -94
  170. data/docs/CustomersCreateRequestBody.md +2 -2
  171. data/docs/CustomersCreateRequestBodyAddress.md +13 -0
  172. data/docs/CustomersCreateResponseBody.md +9 -9
  173. data/docs/CustomersCreateResponseBodyAddress.md +13 -0
  174. data/docs/CustomersCreateResponseBodyAssets.md +8 -0
  175. data/docs/CustomersGetResponseBody.md +9 -9
  176. data/docs/CustomersGetResponseBodyAddress.md +13 -0
  177. data/docs/CustomersGetResponseBodyAssets.md +8 -0
  178. data/docs/CustomersImportCsvCreateResponseBody.md +1 -1
  179. data/docs/CustomersListResponseBody.md +5 -5
  180. data/docs/CustomersMetadataUpdateInBulkRequestBody.md +2 -2
  181. data/docs/CustomersMetadataUpdateInBulkResponseBody.md +1 -1
  182. data/docs/CustomersPermanentDeletionCreateResponseBody.md +7 -7
  183. data/docs/CustomersPermanentDeletionCreateResponseBodyDataJson.md +7 -7
  184. data/docs/CustomersRedeemablesListResponseBody.md +13 -0
  185. data/docs/CustomersSegmentsListResponseBody.md +4 -4
  186. data/docs/CustomersUpdateInBulkRequestBody.md +3 -3
  187. data/docs/CustomersUpdateInBulkRequestBodyAddress.md +13 -0
  188. data/docs/CustomersUpdateInBulkResponseBody.md +1 -1
  189. data/docs/CustomersUpdateRequestBody.md +2 -2
  190. data/docs/CustomersUpdateRequestBodyAddress.md +13 -0
  191. data/docs/CustomersUpdateResponseBody.md +9 -9
  192. data/docs/CustomersUpdateResponseBodyAddress.md +13 -0
  193. data/docs/CustomersUpdateResponseBodyAssets.md +8 -0
  194. data/docs/Discount.md +21 -52
  195. data/docs/DiscountUnitMultipleOneUnit.md +2 -2
  196. data/docs/EarningRule.md +19 -17
  197. data/docs/EarningRuleCustomEvent.md +8 -0
  198. data/docs/EarningRuleLoyalty.md +14 -0
  199. data/docs/EarningRuleLoyaltyCustomEvent.md +8 -0
  200. data/docs/EarningRuleLoyaltyCustomEventMetadata.md +10 -0
  201. data/docs/EarningRuleLoyaltyCustomer.md +8 -0
  202. data/docs/EarningRuleLoyaltyCustomerMetadata.md +10 -0
  203. data/docs/EarningRuleLoyaltyOrder.md +10 -0
  204. data/docs/EarningRuleLoyaltyOrderAmount.md +9 -0
  205. data/docs/EarningRuleLoyaltyOrderItems.md +10 -0
  206. data/docs/EarningRuleLoyaltyOrderItemsAmount.md +11 -0
  207. data/docs/EarningRuleLoyaltyOrderItemsQuantity.md +11 -0
  208. data/docs/EarningRuleLoyaltyOrderItemsSubtotalAmount.md +11 -0
  209. data/docs/EarningRuleLoyaltyOrderMetadata.md +10 -0
  210. data/docs/EarningRuleLoyaltyOrderTotalAmount.md +9 -0
  211. data/docs/EarningRuleLoyaltyTier.md +8 -0
  212. data/docs/EarningRuleSegment.md +8 -0
  213. data/docs/EarningRuleSource.md +10 -0
  214. data/docs/Error.md +5 -5
  215. data/docs/EventsApi.md +1 -1
  216. data/docs/EventsCreateRequestBody.md +3 -3
  217. data/docs/EventsCreateRequestBodyLoyalty.md +8 -0
  218. data/docs/EventsCreateRequestBodyReferral.md +9 -0
  219. data/docs/EventsCreateResponseBody.md +5 -4
  220. data/docs/Export.md +13 -56
  221. data/docs/ExportParameters.md +10 -0
  222. data/docs/ExportParametersFilters.md +11 -0
  223. data/docs/ExportResult.md +8 -0
  224. data/docs/ExportsApi.md +19 -7
  225. data/docs/ExportsCreateRequestBody.md +5 -55
  226. data/docs/ExportsCreateRequestBodyParameters.md +10 -0
  227. data/docs/ExportsCreateRequestBodyParametersFilters.md +11 -0
  228. data/docs/ExportsCreateResponseBody.md +13 -56
  229. data/docs/ExportsCreateResponseBodyParameters.md +10 -0
  230. data/docs/ExportsCreateResponseBodyParametersFilters.md +11 -0
  231. data/docs/ExportsGetResponseBody.md +8 -8
  232. data/docs/ExportsGetResponseBodyParameters.md +10 -0
  233. data/docs/ExportsGetResponseBodyParametersFilters.md +11 -0
  234. data/docs/ExportsGetResponseBodyResult.md +8 -0
  235. data/docs/ExportsListResponseBody.md +4 -4
  236. data/docs/FilterConditionsDateTime.md +13 -0
  237. data/docs/FilterConditionsString.md +4 -4
  238. data/docs/FiltersCondition.md +25 -25
  239. data/docs/Gift.md +2 -2
  240. data/docs/InapplicableTo.md +8 -5
  241. data/docs/InapplicableToResultList.md +4 -4
  242. data/docs/ListPublicationsItemVoucher.md +3 -3
  243. data/docs/Location.md +13 -0
  244. data/docs/LocationShape.md +11 -0
  245. data/docs/LocationShapeDistance.md +9 -0
  246. data/docs/LocationShapeGeojson.md +9 -0
  247. data/docs/LocationsApi.md +133 -0
  248. data/docs/LocationsGetResponseBody.md +13 -0
  249. data/docs/LocationsGetResponseBodyShape.md +11 -0
  250. data/docs/LocationsGetResponseBodyShapeDistance.md +9 -0
  251. data/docs/LocationsGetResponseBodyShapeGeojson.md +9 -0
  252. data/docs/LocationsListResponseBody.md +12 -0
  253. data/docs/LoyaltiesApi.md +1492 -324
  254. data/docs/LoyaltiesCreateCampaignRequestBody.md +26 -0
  255. data/docs/LoyaltiesCreateCampaignResponseBody.md +38 -0
  256. data/docs/LoyaltiesDeleteResponseBody.md +1 -1
  257. data/docs/LoyaltiesEarningRulesCreateRequestBodyItem.md +21 -0
  258. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent.md +8 -0
  259. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyalty.md +14 -0
  260. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyCustomEvent.md +8 -0
  261. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyCustomEventMetadata.md +10 -0
  262. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyCustomer.md +8 -0
  263. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyCustomerMetadata.md +10 -0
  264. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrder.md +10 -0
  265. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderAmount.md +9 -0
  266. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItems.md +10 -0
  267. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsAmount.md +11 -0
  268. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsQuantity.md +11 -0
  269. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsSubtotalAmount.md +11 -0
  270. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderMetadata.md +10 -0
  271. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderTotalAmount.md +9 -0
  272. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyTier.md +8 -0
  273. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemSegment.md +8 -0
  274. data/docs/LoyaltiesEarningRulesCreateRequestBodyItemSource.md +8 -0
  275. data/docs/LoyaltiesEarningRulesCreateResponseBody.md +26 -0
  276. data/docs/LoyaltiesEarningRulesCreateResponseBodyCustomEvent.md +8 -0
  277. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyalty.md +14 -0
  278. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyCustomEvent.md +8 -0
  279. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyCustomEventMetadata.md +10 -0
  280. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyCustomer.md +8 -0
  281. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyCustomerMetadata.md +10 -0
  282. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrder.md +10 -0
  283. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderAmount.md +9 -0
  284. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItems.md +10 -0
  285. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsAmount.md +11 -0
  286. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsQuantity.md +11 -0
  287. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsSubtotalAmount.md +11 -0
  288. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderMetadata.md +10 -0
  289. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderTotalAmount.md +9 -0
  290. data/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier.md +8 -0
  291. data/docs/LoyaltiesEarningRulesCreateResponseBodySegment.md +8 -0
  292. data/docs/LoyaltiesEarningRulesCreateResponseBodySource.md +10 -0
  293. data/docs/LoyaltiesEarningRulesDisableResponseBody.md +18 -16
  294. data/docs/LoyaltiesEarningRulesDisableResponseBodyCustomEvent.md +8 -0
  295. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyalty.md +14 -0
  296. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyCustomEvent.md +8 -0
  297. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyCustomEventMetadata.md +10 -0
  298. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyCustomer.md +8 -0
  299. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyCustomerMetadata.md +10 -0
  300. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrder.md +10 -0
  301. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderAmount.md +9 -0
  302. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItems.md +10 -0
  303. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsAmount.md +11 -0
  304. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsQuantity.md +11 -0
  305. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsSubtotalAmount.md +11 -0
  306. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderMetadata.md +10 -0
  307. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderTotalAmount.md +9 -0
  308. data/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyTier.md +8 -0
  309. data/docs/LoyaltiesEarningRulesDisableResponseBodySegment.md +8 -0
  310. data/docs/LoyaltiesEarningRulesDisableResponseBodySource.md +10 -0
  311. data/docs/LoyaltiesEarningRulesEnableResponseBody.md +18 -16
  312. data/docs/LoyaltiesEarningRulesEnableResponseBodyCustomEvent.md +8 -0
  313. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyalty.md +14 -0
  314. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyCustomEvent.md +8 -0
  315. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyCustomEventMetadata.md +10 -0
  316. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyCustomer.md +8 -0
  317. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyCustomerMetadata.md +10 -0
  318. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrder.md +10 -0
  319. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderAmount.md +9 -0
  320. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItems.md +10 -0
  321. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsAmount.md +11 -0
  322. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsQuantity.md +11 -0
  323. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsSubtotalAmount.md +11 -0
  324. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderMetadata.md +10 -0
  325. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderTotalAmount.md +9 -0
  326. data/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyTier.md +8 -0
  327. data/docs/LoyaltiesEarningRulesEnableResponseBodySegment.md +8 -0
  328. data/docs/LoyaltiesEarningRulesEnableResponseBodySource.md +10 -0
  329. data/docs/LoyaltiesEarningRulesGetResponseBody.md +19 -17
  330. data/docs/LoyaltiesEarningRulesGetResponseBodyCustomEvent.md +8 -0
  331. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyalty.md +14 -0
  332. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomEvent.md +8 -0
  333. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomEventMetadata.md +10 -0
  334. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomer.md +8 -0
  335. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomerMetadata.md +10 -0
  336. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrder.md +10 -0
  337. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderAmount.md +9 -0
  338. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItems.md +10 -0
  339. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsAmount.md +11 -0
  340. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsQuantity.md +11 -0
  341. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsSubtotalAmount.md +11 -0
  342. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderMetadata.md +10 -0
  343. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderTotalAmount.md +9 -0
  344. data/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyTier.md +8 -0
  345. data/docs/LoyaltiesEarningRulesGetResponseBodySegment.md +8 -0
  346. data/docs/LoyaltiesEarningRulesGetResponseBodySource.md +10 -0
  347. data/docs/LoyaltiesEarningRulesListResponseBody.md +11 -0
  348. data/docs/LoyaltiesEarningRulesUpdateRequestBody.md +17 -0
  349. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyalty.md +14 -0
  350. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyCustomEvent.md +8 -0
  351. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyCustomEventMetadata.md +10 -0
  352. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyCustomer.md +8 -0
  353. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyCustomerMetadata.md +10 -0
  354. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrder.md +10 -0
  355. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderAmount.md +9 -0
  356. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItems.md +10 -0
  357. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsAmount.md +11 -0
  358. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsQuantity.md +11 -0
  359. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsSubtotalAmount.md +11 -0
  360. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderMetadata.md +10 -0
  361. data/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderTotalAmount.md +9 -0
  362. data/docs/LoyaltiesEarningRulesUpdateRequestBodySource.md +8 -0
  363. data/docs/LoyaltiesEarningRulesUpdateResponseBody.md +26 -0
  364. data/docs/LoyaltiesEarningRulesUpdateResponseBodyCustomEvent.md +8 -0
  365. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyalty.md +14 -0
  366. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyCustomEvent.md +8 -0
  367. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyCustomEventMetadata.md +10 -0
  368. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyCustomer.md +8 -0
  369. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyCustomerMetadata.md +10 -0
  370. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrder.md +10 -0
  371. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderAmount.md +9 -0
  372. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItems.md +10 -0
  373. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsAmount.md +11 -0
  374. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsQuantity.md +11 -0
  375. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsSubtotalAmount.md +11 -0
  376. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderMetadata.md +10 -0
  377. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderTotalAmount.md +9 -0
  378. data/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyTier.md +8 -0
  379. data/docs/LoyaltiesEarningRulesUpdateResponseBodySegment.md +8 -0
  380. data/docs/LoyaltiesEarningRulesUpdateResponseBodySource.md +10 -0
  381. data/docs/LoyaltiesGetCampaignResponseBody.md +38 -0
  382. data/docs/LoyaltiesListCampaignsResponseBody.md +11 -0
  383. data/docs/LoyaltiesListMembersResponseBody.md +11 -0
  384. data/docs/LoyaltiesLoyaltyTierReward.md +1 -1
  385. data/docs/LoyaltiesMemberActivityListResponseBody.md +12 -0
  386. data/docs/LoyaltiesMembersBalanceUpdateRequestBody.md +2 -2
  387. data/docs/LoyaltiesMembersBalanceUpdateResponseBody.md +6 -6
  388. data/docs/LoyaltiesMembersBalanceUpdateResponseBodyRelatedObject.md +2 -2
  389. data/docs/LoyaltiesMembersCreateRequestBody.md +12 -0
  390. data/docs/LoyaltiesMembersCreateResponseBody.md +33 -0
  391. data/docs/LoyaltiesMembersCreateResponseBodyLoyaltyCard.md +11 -0
  392. data/docs/LoyaltiesMembersCreateResponseBodyPublish.md +10 -0
  393. data/docs/LoyaltiesMembersCreateResponseBodyRedemption.md +12 -0
  394. data/docs/LoyaltiesMembersGetResponseBody.md +33 -0
  395. data/docs/LoyaltiesMembersGetResponseBodyLoyaltyCard.md +11 -0
  396. data/docs/LoyaltiesMembersGetResponseBodyPublish.md +10 -0
  397. data/docs/LoyaltiesMembersGetResponseBodyRedemption.md +12 -0
  398. data/docs/LoyaltiesMembersPointsExpirationListResponseBody.md +4 -4
  399. data/docs/LoyaltiesMembersPointsExpirationListResponseBodyDataItem.md +3 -3
  400. data/docs/LoyaltiesMembersRedemptionRedeemResponseBody.md +20 -20
  401. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyChannel.md +9 -0
  402. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyGift.md +8 -0
  403. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyLoyaltyCard.md +8 -0
  404. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyRelatedRedemptions.md +9 -0
  405. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyRelatedRedemptionsRedemptionsItem.md +9 -0
  406. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyRelatedRedemptionsRollbacksItem.md +9 -0
  407. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucher.md +37 -0
  408. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherGift.md +10 -0
  409. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherLoyaltyCard.md +11 -0
  410. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherPublish.md +10 -0
  411. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherRedemption.md +12 -0
  412. data/docs/LoyaltiesMembersRewardsListResponseBody.md +4 -4
  413. data/docs/LoyaltiesMembersRewardsListResponseBodyDataItem.md +1 -1
  414. data/docs/LoyaltiesMembersTiersListResponseBody.md +4 -4
  415. data/docs/LoyaltiesMembersTransactionsExportCreateResponseBody.md +8 -8
  416. data/docs/LoyaltiesMembersTransactionsExportCreateResponseBodyParameters.md +10 -0
  417. data/docs/LoyaltiesMembersTransactionsListResponseBody.md +5 -4
  418. data/docs/LoyaltiesMembersTransfersCreateResponseBody.md +16 -15
  419. data/docs/LoyaltiesMembersTransfersCreateResponseBodyLoyaltyCard.md +2 -2
  420. data/docs/LoyaltiesMembersTransfersCreateResponseBodyPublish.md +2 -2
  421. data/docs/LoyaltiesMembersTransfersCreateResponseBodyRedemption.md +3 -4
  422. data/docs/LoyaltiesPointsExpirationExportCreateRequestBody.md +8 -0
  423. data/docs/LoyaltiesPointsExpirationExportCreateRequestBodyParameters.md +10 -0
  424. data/docs/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFilters.md +10 -0
  425. data/docs/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFiltersCampaignId.md +8 -0
  426. data/docs/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFiltersCampaignIdConditions.md +11 -0
  427. data/docs/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFiltersVoucherId.md +8 -0
  428. data/docs/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFiltersVoucherIdConditions.md +11 -0
  429. data/docs/LoyaltiesPointsExpirationExportCreateResponseBody.md +16 -0
  430. data/docs/LoyaltiesPointsExpirationExportCreateResponseBodyParameters.md +10 -0
  431. data/docs/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFilters.md +10 -0
  432. data/docs/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFiltersCampaignId.md +8 -0
  433. data/docs/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFiltersCampaignIdConditions.md +11 -0
  434. data/docs/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFiltersVoucherId.md +8 -0
  435. data/docs/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFiltersVoucherIdConditions.md +11 -0
  436. data/docs/LoyaltiesRewardAssignmentsGetResponseBody.md +8 -8
  437. data/docs/LoyaltiesRewardAssignmentsGetResponseBodyParameters.md +8 -0
  438. data/docs/LoyaltiesRewardAssignmentsGetResponseBodyParametersLoyalty.md +9 -0
  439. data/docs/LoyaltiesRewardAssignmentsListResponseBody.md +11 -0
  440. data/docs/LoyaltiesRewardAssignmentsRewardGetResponseBody.md +10 -10
  441. data/docs/LoyaltiesRewardAssignmentsRewardGetResponseBodyAttributes.md +9 -0
  442. data/docs/LoyaltiesRewardsCreateAssignmentItemRequestBody.md +10 -0
  443. data/docs/LoyaltiesRewardsCreateAssignmentItemRequestBodyParameters.md +8 -0
  444. data/docs/LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty.md +8 -0
  445. data/docs/LoyaltiesRewardsCreateAssignmentResponseBody.md +15 -0
  446. data/docs/LoyaltiesRewardsCreateAssignmentResponseBodyParameters.md +8 -0
  447. data/docs/LoyaltiesRewardsCreateAssignmentResponseBodyParametersLoyalty.md +9 -0
  448. data/docs/LoyaltiesRewardsGetResponseBody.md +8 -8
  449. data/docs/LoyaltiesRewardsGetResponseBodyParameters.md +8 -0
  450. data/docs/LoyaltiesRewardsGetResponseBodyParametersLoyalty.md +9 -0
  451. data/docs/LoyaltiesRewardsListAssignmentsResponseBody.md +11 -0
  452. data/docs/LoyaltiesRewardsUpdateAssignmentRequestBody.md +8 -0
  453. data/docs/LoyaltiesRewardsUpdateAssignmentRequestBodyParameters.md +8 -0
  454. data/docs/LoyaltiesRewardsUpdateAssignmentRequestBodyParametersLoyalty.md +9 -0
  455. data/docs/LoyaltiesRewardsUpdateAssignmentResponseBody.md +15 -0
  456. data/docs/LoyaltiesRewardsUpdateAssignmentResponseBodyParameters.md +8 -0
  457. data/docs/LoyaltiesRewardsUpdateAssignmentResponseBodyParametersLoyalty.md +9 -0
  458. data/docs/LoyaltiesTiersCreateInBulkRequestBodyItem.md +2 -2
  459. data/docs/LoyaltiesTiersEarningRulesListResponseBody.md +4 -4
  460. data/docs/LoyaltiesTiersGetResponseBody.md +9 -9
  461. data/docs/LoyaltiesTiersGetResponseBodyConfig.md +8 -0
  462. data/docs/LoyaltiesTiersGetResponseBodyConfigPoints.md +9 -0
  463. data/docs/LoyaltiesTiersGetResponseBodyPoints.md +9 -0
  464. data/docs/LoyaltiesTiersListResponseBody.md +4 -4
  465. data/docs/LoyaltiesTiersRewardsListResponseBody.md +4 -4
  466. data/docs/LoyaltiesTransferPoints.md +3 -3
  467. data/docs/LoyaltiesUpdateCampaignRequestBody.md +23 -0
  468. data/docs/LoyaltiesUpdateCampaignRequestBodyOptions.md +8 -0
  469. data/docs/LoyaltiesUpdateCampaignResponseBody.md +38 -0
  470. data/docs/LoyaltyCampaign.md +38 -0
  471. data/docs/LoyaltyCampaignVoucher.md +17 -0
  472. data/docs/LoyaltyCampaignVoucherRedemption.md +8 -0
  473. data/docs/LoyaltyCardTransaction.md +9 -9
  474. data/docs/LoyaltyCardTransactionDetails.md +20 -0
  475. data/docs/LoyaltyCardTransactionDetailsBalance.md +13 -0
  476. data/docs/LoyaltyCardTransactionDetailsBalanceRelatedObject.md +9 -0
  477. data/docs/LoyaltyCardTransactionDetailsCustomEvent.md +9 -0
  478. data/docs/LoyaltyCardTransactionDetailsEarningRule.md +9 -0
  479. data/docs/LoyaltyCardTransactionDetailsEarningRuleSource.md +8 -0
  480. data/docs/LoyaltyCardTransactionDetailsEvent.md +9 -0
  481. data/docs/LoyaltyCardTransactionDetailsEventSchema.md +9 -0
  482. data/docs/LoyaltyCardTransactionDetailsLoyaltyTier.md +9 -0
  483. data/docs/LoyaltyCardTransactionDetailsOrder.md +9 -0
  484. data/docs/LoyaltyCardTransactionDetailsRedemption.md +8 -0
  485. data/docs/LoyaltyCardTransactionDetailsReward.md +9 -0
  486. data/docs/LoyaltyCardTransactionDetailsRollback.md +8 -0
  487. data/docs/LoyaltyCardTransactionDetailsSegment.md +9 -0
  488. data/docs/LoyaltyMember.md +33 -0
  489. data/docs/LoyaltyMemberLoyaltyCard.md +11 -0
  490. data/docs/LoyaltyMemberPublish.md +10 -0
  491. data/docs/LoyaltyMemberRedemption.md +12 -0
  492. data/docs/LoyaltyTier.md +9 -9
  493. data/docs/LoyaltyTierBase.md +2 -2
  494. data/docs/LoyaltyTierConfig.md +8 -0
  495. data/docs/LoyaltyTierConfigPoints.md +9 -0
  496. data/docs/LoyaltyTierExpiration.md +5 -5
  497. data/docs/LoyaltyTierPoints.md +9 -0
  498. data/docs/LoyaltyTiersExpirationAll.md +3 -3
  499. data/docs/LoyaltyTiersExpirationAllExpirationDate.md +2 -2
  500. data/docs/LoyaltyTiersExpirationAllStartDate.md +1 -1
  501. data/docs/ManagementApi.md +2348 -0
  502. data/docs/ManagementProject.md +30 -0
  503. data/docs/ManagementProjectApiUsageNotifications.md +13 -0
  504. data/docs/ManagementProjectDefaultCodeConfig.md +8 -0
  505. data/docs/ManagementProjectLimits.md +9 -0
  506. data/docs/ManagementProjectLimitsApiCallsItem.md +9 -0
  507. data/docs/ManagementProjectLimitsBulkApiCallsItem.md +9 -0
  508. data/docs/ManagementProjectWebhooksCalloutNotifications.md +9 -0
  509. data/docs/ManagementProjectWebhooksCalloutNotificationsDistributions.md +10 -0
  510. data/docs/ManagementProjectWebhooksCalloutNotificationsWebhooks.md +10 -0
  511. data/docs/ManagementProjectsBranding.md +12 -0
  512. data/docs/ManagementProjectsBrandingAddress.md +12 -0
  513. data/docs/ManagementProjectsBrandingBrand.md +12 -0
  514. data/docs/ManagementProjectsBrandingCockpits.md +15 -0
  515. data/docs/ManagementProjectsBrandingContact.md +9 -0
  516. data/docs/ManagementProjectsBrandingCreateRequestBody.md +11 -0
  517. data/docs/ManagementProjectsBrandingCreateRequestBodyAddress.md +12 -0
  518. data/docs/ManagementProjectsBrandingCreateRequestBodyBrand.md +12 -0
  519. data/docs/ManagementProjectsBrandingCreateRequestBodyCockpits.md +15 -0
  520. data/docs/ManagementProjectsBrandingCreateRequestBodyContact.md +9 -0
  521. data/docs/ManagementProjectsBrandingCreateResponseBody.md +12 -0
  522. data/docs/ManagementProjectsBrandingCreateResponseBodyAddress.md +12 -0
  523. data/docs/ManagementProjectsBrandingCreateResponseBodyBrand.md +12 -0
  524. data/docs/ManagementProjectsBrandingCreateResponseBodyCockpits.md +15 -0
  525. data/docs/ManagementProjectsBrandingCreateResponseBodyContact.md +9 -0
  526. data/docs/ManagementProjectsBrandingGetResponseBody.md +12 -0
  527. data/docs/ManagementProjectsBrandingGetResponseBodyAddress.md +12 -0
  528. data/docs/ManagementProjectsBrandingGetResponseBodyBrand.md +12 -0
  529. data/docs/ManagementProjectsBrandingGetResponseBodyCockpits.md +15 -0
  530. data/docs/ManagementProjectsBrandingGetResponseBodyContact.md +9 -0
  531. data/docs/ManagementProjectsBrandingListResponseBody.md +11 -0
  532. data/docs/ManagementProjectsBrandingUpdateRequestBody.md +11 -0
  533. data/docs/ManagementProjectsBrandingUpdateRequestBodyAddress.md +12 -0
  534. data/docs/ManagementProjectsBrandingUpdateRequestBodyBrand.md +12 -0
  535. data/docs/ManagementProjectsBrandingUpdateRequestBodyCockpits.md +15 -0
  536. data/docs/ManagementProjectsBrandingUpdateRequestBodyContact.md +9 -0
  537. data/docs/ManagementProjectsBrandingUpdateResponseBody.md +12 -0
  538. data/docs/ManagementProjectsBrandingUpdateResponseBodyAddress.md +12 -0
  539. data/docs/ManagementProjectsBrandingUpdateResponseBodyBrand.md +12 -0
  540. data/docs/ManagementProjectsBrandingUpdateResponseBodyCockpits.md +15 -0
  541. data/docs/ManagementProjectsBrandingUpdateResponseBodyContact.md +9 -0
  542. data/docs/ManagementProjectsCreateRequestBody.md +26 -0
  543. data/docs/ManagementProjectsCreateRequestBodyApiUsageNotifications.md +12 -0
  544. data/docs/ManagementProjectsCreateRequestBodyUsersItem.md +10 -0
  545. data/docs/ManagementProjectsCreateRequestBodyWebhooksCalloutNotifications.md +9 -0
  546. data/docs/ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsDistributions.md +10 -0
  547. data/docs/ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks.md +10 -0
  548. data/docs/ManagementProjectsCreateResponseBody.md +30 -0
  549. data/docs/ManagementProjectsCreateResponseBodyApiUsageNotifications.md +13 -0
  550. data/docs/ManagementProjectsCreateResponseBodyClientSideKey.md +9 -0
  551. data/docs/ManagementProjectsCreateResponseBodyServerSideKey.md +9 -0
  552. data/docs/ManagementProjectsCreateResponseBodyWebhooksCalloutNotifications.md +9 -0
  553. data/docs/ManagementProjectsCreateResponseBodyWebhooksCalloutNotificationsDistributions.md +10 -0
  554. data/docs/ManagementProjectsCreateResponseBodyWebhooksCalloutNotificationsWebhooks.md +10 -0
  555. data/docs/ManagementProjectsCustomEventSchema.md +13 -0
  556. data/docs/ManagementProjectsCustomEventSchemaSchema.md +8 -0
  557. data/docs/ManagementProjectsCustomEventSchemasCreateRequestBody.md +9 -0
  558. data/docs/ManagementProjectsCustomEventSchemasCreateRequestBodySchema.md +8 -0
  559. data/docs/ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry.md +10 -0
  560. data/docs/ManagementProjectsCustomEventSchemasCreateResponseBody.md +13 -0
  561. data/docs/ManagementProjectsCustomEventSchemasCreateResponseBodySchema.md +8 -0
  562. data/docs/ManagementProjectsCustomEventSchemasGetResponseBody.md +13 -0
  563. data/docs/ManagementProjectsCustomEventSchemasGetResponseBodySchema.md +8 -0
  564. data/docs/ManagementProjectsCustomEventSchemasListResponseBody.md +11 -0
  565. data/docs/ManagementProjectsCustomEventSchemasUpdateRequestBody.md +8 -0
  566. data/docs/ManagementProjectsCustomEventSchemasUpdateRequestBodySchema.md +8 -0
  567. data/docs/ManagementProjectsCustomEventSchemasUpdateResponseBody.md +13 -0
  568. data/docs/ManagementProjectsCustomEventSchemasUpdateResponseBodySchema.md +8 -0
  569. data/docs/ManagementProjectsGetResponseBody.md +30 -0
  570. data/docs/ManagementProjectsGetResponseBodyApiUsageNotifications.md +13 -0
  571. data/docs/ManagementProjectsGetResponseBodyDefaultCodeConfig.md +8 -0
  572. data/docs/ManagementProjectsGetResponseBodyLimits.md +9 -0
  573. data/docs/ManagementProjectsGetResponseBodyLimitsApiCallsItem.md +9 -0
  574. data/docs/ManagementProjectsGetResponseBodyLimitsBulkApiCallsItem.md +9 -0
  575. data/docs/ManagementProjectsGetResponseBodyWebhooksCalloutNotifications.md +9 -0
  576. data/docs/ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions.md +10 -0
  577. data/docs/ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsWebhooks.md +10 -0
  578. data/docs/ManagementProjectsListResponseBody.md +11 -0
  579. data/docs/ManagementProjectsMetadataSchema.md +14 -0
  580. data/docs/ManagementProjectsMetadataSchemaDefinition.md +21 -0
  581. data/docs/ManagementProjectsMetadataSchemasCreateRequestBody.md +10 -0
  582. data/docs/ManagementProjectsMetadataSchemasCreateResponseBody.md +14 -0
  583. data/docs/ManagementProjectsMetadataSchemasGetResponseBody.md +14 -0
  584. data/docs/ManagementProjectsMetadataSchemasListResponseBody.md +11 -0
  585. data/docs/ManagementProjectsMetadataSchemasUpdateRequestBody.md +9 -0
  586. data/docs/ManagementProjectsMetadataSchemasUpdateResponseBody.md +14 -0
  587. data/docs/ManagementProjectsStackingRules.md +22 -0
  588. data/docs/ManagementProjectsStackingRulesCreateRequestBody.md +19 -0
  589. data/docs/ManagementProjectsStackingRulesCreateResponseBody.md +22 -0
  590. data/docs/ManagementProjectsStackingRulesGetResponseBody.md +22 -0
  591. data/docs/ManagementProjectsStackingRulesListResponseBody.md +11 -0
  592. data/docs/ManagementProjectsStackingRulesUpdateRequestBody.md +19 -0
  593. data/docs/ManagementProjectsStackingRulesUpdateResponseBody.md +22 -0
  594. data/docs/ManagementProjectsTemplatesCampaignsCopyCreateRequestBody.md +10 -0
  595. data/docs/ManagementProjectsTemplatesCampaignsCopyCreateResponseBody.md +13 -0
  596. data/docs/ManagementProjectsTemplatesCampaignsListResponseBody.md +13 -0
  597. data/docs/ManagementProjectsUpdateRequestBody.md +23 -0
  598. data/docs/ManagementProjectsUpdateRequestBodyApiUsageNotifications.md +12 -0
  599. data/docs/ManagementProjectsUpdateRequestBodyDefaultCodeConfig.md +8 -0
  600. data/docs/ManagementProjectsUpdateRequestBodyWebhooksCalloutNotifications.md +9 -0
  601. data/docs/ManagementProjectsUpdateRequestBodyWebhooksCalloutNotificationsDistributions.md +10 -0
  602. data/docs/ManagementProjectsUpdateRequestBodyWebhooksCalloutNotificationsWebhooks.md +10 -0
  603. data/docs/ManagementProjectsUpdateResponseBody.md +30 -0
  604. data/docs/ManagementProjectsUpdateResponseBodyApiUsageNotifications.md +13 -0
  605. data/docs/ManagementProjectsUpdateResponseBodyDefaultCodeConfig.md +8 -0
  606. data/docs/ManagementProjectsUpdateResponseBodyLimits.md +9 -0
  607. data/docs/ManagementProjectsUpdateResponseBodyLimitsApiCallsItem.md +9 -0
  608. data/docs/ManagementProjectsUpdateResponseBodyLimitsBulkApiCallsItem.md +9 -0
  609. data/docs/ManagementProjectsUpdateResponseBodyWebhooksCalloutNotifications.md +9 -0
  610. data/docs/ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsDistributions.md +10 -0
  611. data/docs/ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks.md +10 -0
  612. data/docs/ManagementProjectsUsersAssignRequestBody.md +10 -0
  613. data/docs/ManagementProjectsUsersAssignResponseBody.md +14 -0
  614. data/docs/ManagementProjectsUsersGetUserResponseBody.md +14 -0
  615. data/docs/ManagementProjectsUsersInviteCreateRequestBody.md +11 -0
  616. data/docs/ManagementProjectsUsersListResponseBody.md +11 -0
  617. data/docs/ManagementProjectsUsersUpdateRoleRequestBody.md +8 -0
  618. data/docs/ManagementProjectsUsersUpdateRoleResponseBody.md +14 -0
  619. data/docs/ManagementProjectsWebhook.md +13 -0
  620. data/docs/ManagementProjectsWebhooksCreateRequestBody.md +10 -0
  621. data/docs/ManagementProjectsWebhooksCreateResponseBody.md +13 -0
  622. data/docs/ManagementProjectsWebhooksGetResponseBody.md +13 -0
  623. data/docs/ManagementProjectsWebhooksListResponseBody.md +11 -0
  624. data/docs/ManagementProjectsWebhooksUpdateRequestBody.md +10 -0
  625. data/docs/ManagementProjectsWebhooksUpdateResponseBody.md +13 -0
  626. data/docs/MappingPoints.md +6 -45
  627. data/docs/MemberActivity.md +12 -0
  628. data/docs/MetadataSchemaDefinitionDeprecated.md +21 -0
  629. data/docs/MetadataSchemaDeprecated.md +14 -0
  630. data/docs/MetadataSchemasApi.md +122 -0
  631. data/docs/MetadataSchemasGetResponseBody.md +14 -0
  632. data/docs/MetadataSchemasListResponseBody.md +11 -0
  633. data/docs/Order.md +5 -9
  634. data/docs/OrderCalculated.md +10 -10
  635. data/docs/OrderCalculatedItem.md +28 -0
  636. data/docs/OrderCalculatedItemProduct.md +13 -0
  637. data/docs/OrderCalculatedItemSku.md +12 -0
  638. data/docs/OrderItem.md +5 -5
  639. data/docs/OrderItemProduct.md +2 -2
  640. data/docs/OrderItemSku.md +1 -1
  641. data/docs/OrderRedemptionsEntry.md +15 -0
  642. data/docs/OrdersApi.md +4 -4
  643. data/docs/OrdersCreateRequestBody.md +6 -6
  644. data/docs/OrdersCreateResponseBody.md +10 -10
  645. data/docs/OrdersExportCreateResponseBody.md +8 -8
  646. data/docs/OrdersExportCreateResponseBodyParameters.md +10 -0
  647. data/docs/OrdersGetResponseBody.md +8 -8
  648. data/docs/OrdersImportCreateRequestBodyItem.md +8 -7
  649. data/docs/OrdersImportCreateResponseBody.md +1 -1
  650. data/docs/OrdersListResponseBody.md +4 -4
  651. data/docs/OrdersUpdateRequestBody.md +7 -6
  652. data/docs/OrdersUpdateResponseBody.md +10 -10
  653. data/docs/ParameterActivityCategory.md +7 -0
  654. data/docs/ParameterCreatedBeforeAfter.md +2 -2
  655. data/docs/ParameterFiltersListBin.md +12 -0
  656. data/docs/ParameterFiltersListBinId.md +8 -0
  657. data/docs/ParameterFiltersListBinResourceId.md +8 -0
  658. data/docs/ParameterFiltersListBinResourceName.md +8 -0
  659. data/docs/ParameterFiltersListBinResourceType.md +8 -0
  660. data/docs/ParameterFiltersListBinResourceTypeConditions.md +15 -0
  661. data/docs/ParameterFiltersListCampaigns.md +14 -0
  662. data/docs/ParameterFiltersListCampaignsCampaignStatus.md +8 -0
  663. data/docs/ParameterFiltersListCampaignsCampaignStatusConditions.md +15 -0
  664. data/docs/ParameterFiltersListCampaignsCategories.md +8 -0
  665. data/docs/ParameterFiltersListCampaignsCategoryIds.md +8 -0
  666. data/docs/ParameterFiltersListCampaignsIsReferralCode.md +9 -0
  667. data/docs/ParameterFiltersListCampaignsValidityTimeframe.md +8 -0
  668. data/docs/ParameterFiltersListCampaignsVoucherType.md +8 -0
  669. data/docs/ParameterFiltersListCustomerRedeemables.md +16 -0
  670. data/docs/ParameterFiltersListCustomerRedeemablesCampaignId.md +8 -0
  671. data/docs/ParameterFiltersListCustomerRedeemablesCampaignType.md +8 -0
  672. data/docs/ParameterFiltersListCustomerRedeemablesCampaignTypeConditions.md +15 -0
  673. data/docs/ParameterFiltersListCustomerRedeemablesCreatedAt.md +8 -0
  674. data/docs/ParameterFiltersListCustomerRedeemablesHolderRole.md +8 -0
  675. data/docs/ParameterFiltersListCustomerRedeemablesHolderRoleConditions.md +15 -0
  676. data/docs/ParameterFiltersListCustomerRedeemablesId.md +8 -0
  677. data/docs/ParameterFiltersListCustomerRedeemablesRedeemableId.md +8 -0
  678. data/docs/ParameterFiltersListCustomerRedeemablesRedeemableObject.md +8 -0
  679. data/docs/ParameterFiltersListCustomerRedeemablesRedeemableObjectConditions.md +15 -0
  680. data/docs/ParameterFiltersListCustomerRedeemablesVoucherType.md +8 -0
  681. data/docs/ParameterFiltersListCustomerRedeemablesVoucherTypeConditions.md +15 -0
  682. data/docs/ParameterFiltersListLocations.md +10 -0
  683. data/docs/ParameterFiltersListLocationsCreatedAt.md +8 -0
  684. data/docs/ParameterFiltersListLocationsName.md +8 -0
  685. data/docs/ParameterFiltersListLocationsUpdatedAt.md +8 -0
  686. data/docs/ParameterFiltersListPublications.md +17 -0
  687. data/docs/ParameterFiltersListPublicationsCampaignName.md +8 -0
  688. data/docs/ParameterFiltersListPublicationsCustomerId.md +8 -0
  689. data/docs/ParameterFiltersListPublicationsFailureCode.md +8 -0
  690. data/docs/ParameterFiltersListPublicationsIsReferralCode.md +8 -0
  691. data/docs/ParameterFiltersListPublicationsParentObjectId.md +8 -0
  692. data/docs/ParameterFiltersListPublicationsRelatedObjectId.md +8 -0
  693. data/docs/ParameterFiltersListPublicationsResult.md +8 -0
  694. data/docs/ParameterFiltersListPublicationsSourceId.md +8 -0
  695. data/docs/ParameterFiltersListPublicationsVoucherType.md +8 -0
  696. data/docs/ParameterFiltersListRedemptions.md +1 -0
  697. data/docs/ParameterFiltersListRedemptionsCampaignName.md +0 -1
  698. data/docs/ParameterFiltersListRedemptionsCustomerId.md +0 -1
  699. data/docs/ParameterFiltersListRedemptionsFailureCode.md +0 -1
  700. data/docs/ParameterFiltersListRedemptionsObject.md +0 -1
  701. data/docs/ParameterFiltersListRedemptionsParentRedemptionId.md +0 -1
  702. data/docs/ParameterFiltersListRedemptionsRelatedObjectId.md +0 -1
  703. data/docs/ParameterFiltersListRedemptionsRelatedObjectParentId.md +0 -1
  704. data/docs/ParameterFiltersListRedemptionsResult.md +0 -1
  705. data/docs/ParameterFiltersListRedemptionsUserLogin.md +0 -1
  706. data/docs/ParameterFiltersListRedemptionsVoucherCode.md +0 -1
  707. data/docs/ParameterFiltersListReferralsRedeemableHolders.md +12 -0
  708. data/docs/ParameterFiltersListReferralsRedeemableHoldersCreatedAt.md +8 -0
  709. data/docs/ParameterFiltersListReferralsRedeemableHoldersCustomerId.md +8 -0
  710. data/docs/ParameterFiltersListReferralsRedeemableHoldersHolderRole.md +8 -0
  711. data/docs/ParameterFiltersListReferralsRedeemableHoldersHolderRoleConditions.md +15 -0
  712. data/docs/ParameterFiltersListReferralsRedeemableHoldersId.md +8 -0
  713. data/docs/ParameterFiltersListTemplates.md +11 -0
  714. data/docs/ParameterFiltersListTemplatesCampaignType.md +8 -0
  715. data/docs/ParameterFiltersListTemplatesCampaignTypeConditions.md +15 -0
  716. data/docs/ParameterFiltersListTemplatesId.md +8 -0
  717. data/docs/ParameterFiltersListTemplatesName.md +8 -0
  718. data/docs/ParameterOrderCreatedAt.md +7 -0
  719. data/docs/ParameterOrderListBin.md +7 -0
  720. data/docs/ParameterOrderListEarningRules.md +7 -0
  721. data/docs/ParameterOrderListLocations.md +7 -0
  722. data/docs/ParameterOrderListPromotionTiers.md +7 -0
  723. data/docs/ParameterOrderListPromotionTiersClientSide.md +7 -0
  724. data/docs/ParameterOrderListRedeemables.md +7 -0
  725. data/docs/ParameterOrderListTransactions.md +7 -0
  726. data/docs/ParameterOrderVouchers.md +7 -0
  727. data/docs/ParameterTemplatesList.md +7 -0
  728. data/docs/ParameterUpdatedBeforeAfter.md +2 -2
  729. data/docs/Product.md +9 -9
  730. data/docs/ProductCollectionsApi.md +9 -9
  731. data/docs/ProductCollectionsCreateRequestBody.md +8 -46
  732. data/docs/ProductCollectionsCreateRequestBodyProductsItem.md +10 -0
  733. data/docs/ProductCollectionsCreateResponseBody.md +7 -7
  734. data/docs/ProductCollectionsCreateResponseBodyProductsItem.md +10 -0
  735. data/docs/ProductCollectionsGetResponseBody.md +7 -7
  736. data/docs/ProductCollectionsGetResponseBodyProductsItem.md +10 -0
  737. data/docs/ProductCollectionsItem.md +6 -6
  738. data/docs/ProductCollectionsItemProductsItem.md +1 -1
  739. data/docs/ProductCollectionsListResponseBody.md +4 -4
  740. data/docs/ProductCollectionsProductsListResponseBody.md +4 -4
  741. data/docs/ProductCollectionsProductsListResponseBodyDataItem.md +21 -0
  742. data/docs/ProductWithoutSkus.md +9 -9
  743. data/docs/ProductsApi.md +38 -34
  744. data/docs/ProductsCreateResponseBody.md +9 -9
  745. data/docs/ProductsGetResponseBody.md +9 -9
  746. data/docs/ProductsImportCsvCreateResponseBody.md +1 -1
  747. data/docs/ProductsListResponseBody.md +4 -4
  748. data/docs/ProductsMetadataUpdateInBulkRequestBody.md +2 -2
  749. data/docs/ProductsMetadataUpdateInBulkResponseBody.md +1 -1
  750. data/docs/ProductsSkusCreateResponseBody.md +11 -11
  751. data/docs/ProductsSkusListResponseBody.md +4 -4
  752. data/docs/ProductsSkusUpdateResponseBody.md +11 -11
  753. data/docs/ProductsUpdateInBulkRequestBody.md +1 -1
  754. data/docs/ProductsUpdateInBulkResponseBody.md +1 -1
  755. data/docs/ProductsUpdateResponseBody.md +9 -9
  756. data/docs/PromotionStack.md +9 -9
  757. data/docs/PromotionStackBase.md +2 -2
  758. data/docs/PromotionStackBaseTiers.md +1 -1
  759. data/docs/PromotionStackTiers.md +9 -0
  760. data/docs/PromotionTier.md +6 -5
  761. data/docs/PromotionTierCampaign.md +4 -3
  762. data/docs/PromotionTierCreateParams.md +5 -4
  763. data/docs/PromotionTierCreateParamsAction.md +8 -0
  764. data/docs/PromotionTiersList.md +2 -2
  765. data/docs/PromotionsApi.md +198 -5
  766. data/docs/PromotionsStacksCreateRequestBody.md +2 -2
  767. data/docs/PromotionsStacksCreateRequestBodyTiers.md +9 -0
  768. data/docs/PromotionsStacksCreateResponseBody.md +8 -8
  769. data/docs/PromotionsStacksCreateResponseBodyTiers.md +9 -0
  770. data/docs/PromotionsStacksGetResponseBody.md +9 -9
  771. data/docs/PromotionsStacksGetResponseBodyTiers.md +9 -0
  772. data/docs/PromotionsStacksListResponseBody.md +4 -4
  773. data/docs/PromotionsStacksUpdateRequestBodyTiers.md +1 -1
  774. data/docs/PromotionsStacksUpdateResponseBody.md +9 -9
  775. data/docs/PromotionsStacksUpdateResponseBodyTiers.md +9 -0
  776. data/docs/PromotionsTiersCreateRequestBody.md +21 -0
  777. data/docs/PromotionsTiersCreateRequestBodyAction.md +8 -0
  778. data/docs/PromotionsTiersCreateResponseBody.md +29 -0
  779. data/docs/PromotionsTiersCreateResponseBodyAction.md +8 -0
  780. data/docs/PromotionsTiersCreateResponseBodyCampaign.md +16 -0
  781. data/docs/PromotionsTiersCreateResponseBodySummary.md +9 -0
  782. data/docs/PromotionsTiersCreateResponseBodySummaryOrders.md +9 -0
  783. data/docs/PromotionsTiersCreateResponseBodySummaryRedemptions.md +8 -0
  784. data/docs/PromotionsTiersDisableResponseBody.md +9 -8
  785. data/docs/PromotionsTiersDisableResponseBodyAction.md +8 -0
  786. data/docs/PromotionsTiersDisableResponseBodyCampaign.md +16 -0
  787. data/docs/PromotionsTiersDisableResponseBodySummary.md +9 -0
  788. data/docs/PromotionsTiersDisableResponseBodySummaryOrders.md +9 -0
  789. data/docs/PromotionsTiersDisableResponseBodySummaryRedemptions.md +8 -0
  790. data/docs/PromotionsTiersEnableResponseBody.md +9 -8
  791. data/docs/PromotionsTiersEnableResponseBodyAction.md +8 -0
  792. data/docs/PromotionsTiersEnableResponseBodyCampaign.md +16 -0
  793. data/docs/PromotionsTiersEnableResponseBodySummary.md +9 -0
  794. data/docs/PromotionsTiersEnableResponseBodySummaryOrders.md +9 -0
  795. data/docs/PromotionsTiersEnableResponseBodySummaryRedemptions.md +8 -0
  796. data/docs/PromotionsTiersGetResponseBody.md +9 -8
  797. data/docs/PromotionsTiersGetResponseBodyAction.md +8 -0
  798. data/docs/PromotionsTiersGetResponseBodyCampaign.md +16 -0
  799. data/docs/PromotionsTiersGetResponseBodySummary.md +9 -0
  800. data/docs/PromotionsTiersGetResponseBodySummaryOrders.md +9 -0
  801. data/docs/PromotionsTiersGetResponseBodySummaryRedemptions.md +8 -0
  802. data/docs/PromotionsTiersListResponseBody.md +2 -2
  803. data/docs/PromotionsTiersUpdateRequestBody.md +20 -0
  804. data/docs/PromotionsTiersUpdateRequestBodyAction.md +8 -0
  805. data/docs/PromotionsTiersUpdateResponseBody.md +29 -0
  806. data/docs/PromotionsTiersUpdateResponseBodyAction.md +8 -0
  807. data/docs/PromotionsTiersUpdateResponseBodyCampaign.md +16 -0
  808. data/docs/PromotionsTiersUpdateResponseBodySummary.md +9 -0
  809. data/docs/PromotionsTiersUpdateResponseBodySummaryOrders.md +9 -0
  810. data/docs/PromotionsTiersUpdateResponseBodySummaryRedemptions.md +8 -0
  811. data/docs/PublicationsApi.md +10 -10
  812. data/docs/PublicationsCreateRequestBody.md +10 -46
  813. data/docs/PublicationsCreateResponseBody.md +17 -46
  814. data/docs/PublicationsListResponseBody.md +4 -4
  815. data/docs/PublicationsListResponseBodyPublicationsItem.md +19 -48
  816. data/docs/PublicationsListResponseBodyPublicationsItemMetadata.md +10 -0
  817. data/docs/QualificationsApi.md +1 -1
  818. data/docs/QualificationsCheckEligibilityRequestBody.md +1 -2
  819. data/docs/QualificationsFiltersCondition.md +6 -6
  820. data/docs/QualificationsOption.md +1 -1
  821. data/docs/QualificationsOptionFilters.md +2 -0
  822. data/docs/QualificationsOptionFiltersCampaignType.md +8 -0
  823. data/docs/QualificationsOptionFiltersCampaignTypeConditions.md +11 -0
  824. data/docs/QualificationsOptionFiltersHolderRole.md +8 -0
  825. data/docs/QualificationsOptionFiltersHolderRoleConditions.md +11 -0
  826. data/docs/QualificationsOptionFiltersResourceTypeConditions.md +4 -4
  827. data/docs/QualificationsRedeemable.md +2 -2
  828. data/docs/QualificationsRedeemableBase.md +2 -2
  829. data/docs/QualificationsRedeemables.md +6 -6
  830. data/docs/RedeemableHolder.md +18 -0
  831. data/docs/RedeemableLoyaltyCard.md +1 -1
  832. data/docs/RedeemableVoucher.md +35 -0
  833. data/docs/RedeemableVoucherGift.md +10 -0
  834. data/docs/RedeemableVoucherLoyaltyCard.md +11 -0
  835. data/docs/RedeemableVoucherPublish.md +10 -0
  836. data/docs/RedeemableVoucherRedemption.md +12 -0
  837. data/docs/Redemption.md +16 -16
  838. data/docs/RedemptionChannel.md +2 -2
  839. data/docs/RedemptionEntry.md +31 -0
  840. data/docs/RedemptionEntryChannel.md +9 -0
  841. data/docs/RedemptionEntryCustomer.md +13 -0
  842. data/docs/RedemptionEntryGift.md +8 -0
  843. data/docs/RedemptionEntryLoyaltyCard.md +8 -0
  844. data/docs/RedemptionEntryOrder.md +29 -0
  845. data/docs/RedemptionEntryOrderCustomer.md +9 -0
  846. data/docs/RedemptionEntryOrderReferrer.md +9 -0
  847. data/docs/RedemptionEntryPromotionTier.md +29 -0
  848. data/docs/RedemptionEntryPromotionTierAction.md +8 -0
  849. data/docs/RedemptionEntryPromotionTierCampaign.md +16 -0
  850. data/docs/RedemptionEntryPromotionTierSummary.md +9 -0
  851. data/docs/RedemptionEntryPromotionTierSummaryOrders.md +9 -0
  852. data/docs/RedemptionEntryPromotionTierSummaryRedemptions.md +8 -0
  853. data/docs/RedemptionEntryRelatedRedemptions.md +9 -0
  854. data/docs/RedemptionEntryRelatedRedemptionsRedemptionsItem.md +9 -0
  855. data/docs/RedemptionEntryRelatedRedemptionsRollbacksItem.md +9 -0
  856. data/docs/RedemptionEntryVoucher.md +37 -0
  857. data/docs/RedemptionEntryVoucherGift.md +10 -0
  858. data/docs/RedemptionEntryVoucherLoyaltyCard.md +11 -0
  859. data/docs/RedemptionEntryVoucherPublish.md +10 -0
  860. data/docs/RedemptionEntryVoucherRedemption.md +12 -0
  861. data/docs/RedemptionGift.md +1 -1
  862. data/docs/RedemptionLoyaltyCard.md +1 -1
  863. data/docs/RedemptionRelatedRedemptions.md +1 -1
  864. data/docs/RedemptionRelatedRedemptionsRedemptionsItem.md +9 -0
  865. data/docs/RedemptionRelatedRedemptionsRollbacksItem.md +1 -1
  866. data/docs/RedemptionRewardResult.md +9 -8
  867. data/docs/RedemptionRewardResultParametersProduct.md +1 -1
  868. data/docs/RedemptionRollback.md +17 -17
  869. data/docs/RedemptionRollbackChannel.md +9 -0
  870. data/docs/RedemptionRollbackGift.md +8 -0
  871. data/docs/RedemptionRollbackLoyaltyCard.md +8 -0
  872. data/docs/RedemptionRollbackRelatedRedemptions.md +1 -1
  873. data/docs/RedemptionRollbackRelatedRedemptionsRedemptionsItem.md +9 -0
  874. data/docs/RedemptionRollbackRelatedRedemptionsRollbacksItem.md +2 -2
  875. data/docs/RedemptionVoucher.md +37 -0
  876. data/docs/RedemptionVoucherGift.md +10 -0
  877. data/docs/RedemptionVoucherLoyaltyCard.md +11 -0
  878. data/docs/RedemptionVoucherPublish.md +10 -0
  879. data/docs/RedemptionVoucherRedemption.md +12 -0
  880. data/docs/RedemptionsApi.md +7 -7
  881. data/docs/RedemptionsGetResponseBody.md +28 -46
  882. data/docs/RedemptionsGetResponseBodyChannel.md +9 -0
  883. data/docs/RedemptionsGetResponseBodyCustomer.md +13 -0
  884. data/docs/RedemptionsGetResponseBodyGift.md +8 -0
  885. data/docs/RedemptionsGetResponseBodyLoyaltyCard.md +8 -0
  886. data/docs/RedemptionsGetResponseBodyOrder.md +29 -0
  887. data/docs/RedemptionsGetResponseBodyOrderCustomer.md +9 -0
  888. data/docs/RedemptionsGetResponseBodyOrderReferrer.md +9 -0
  889. data/docs/RedemptionsGetResponseBodyPromotionTier.md +29 -0
  890. data/docs/RedemptionsGetResponseBodyPromotionTierAction.md +8 -0
  891. data/docs/RedemptionsGetResponseBodyPromotionTierCampaign.md +16 -0
  892. data/docs/RedemptionsGetResponseBodyPromotionTierSummary.md +9 -0
  893. data/docs/RedemptionsGetResponseBodyPromotionTierSummaryOrders.md +9 -0
  894. data/docs/RedemptionsGetResponseBodyPromotionTierSummaryRedemptions.md +8 -0
  895. data/docs/RedemptionsGetResponseBodyRelatedRedemptions.md +9 -0
  896. data/docs/RedemptionsGetResponseBodyRelatedRedemptionsRedemptionsItem.md +9 -0
  897. data/docs/RedemptionsGetResponseBodyRelatedRedemptionsRollbacksItem.md +9 -0
  898. data/docs/RedemptionsGetResponseBodyVoucher.md +37 -0
  899. data/docs/RedemptionsGetResponseBodyVoucherGift.md +10 -0
  900. data/docs/RedemptionsGetResponseBodyVoucherLoyaltyCard.md +11 -0
  901. data/docs/RedemptionsGetResponseBodyVoucherPublish.md +10 -0
  902. data/docs/RedemptionsGetResponseBodyVoucherRedemption.md +12 -0
  903. data/docs/RedemptionsListResponseBody.md +4 -4
  904. data/docs/RedemptionsListResponseBodyRedemptionsItem.md +28 -46
  905. data/docs/RedemptionsListResponseBodyRedemptionsItemChannel.md +9 -0
  906. data/docs/RedemptionsListResponseBodyRedemptionsItemCustomer.md +13 -0
  907. data/docs/RedemptionsListResponseBodyRedemptionsItemGift.md +8 -0
  908. data/docs/RedemptionsListResponseBodyRedemptionsItemLoyaltyCard.md +8 -0
  909. data/docs/RedemptionsListResponseBodyRedemptionsItemOrder.md +29 -0
  910. data/docs/RedemptionsListResponseBodyRedemptionsItemOrderCustomer.md +9 -0
  911. data/docs/RedemptionsListResponseBodyRedemptionsItemOrderReferrer.md +9 -0
  912. data/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTier.md +29 -0
  913. data/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTierAction.md +8 -0
  914. data/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTierCampaign.md +16 -0
  915. data/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTierSummary.md +9 -0
  916. data/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders.md +9 -0
  917. data/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryRedemptions.md +8 -0
  918. data/docs/RedemptionsListResponseBodyRedemptionsItemRelatedRedemptions.md +9 -0
  919. data/docs/RedemptionsListResponseBodyRedemptionsItemRelatedRedemptionsRedemptionsItem.md +9 -0
  920. data/docs/RedemptionsListResponseBodyRedemptionsItemRelatedRedemptionsRollbacksItem.md +9 -0
  921. data/docs/RedemptionsListResponseBodyRedemptionsItemVoucher.md +37 -0
  922. data/docs/RedemptionsListResponseBodyRedemptionsItemVoucherGift.md +10 -0
  923. data/docs/RedemptionsListResponseBodyRedemptionsItemVoucherLoyaltyCard.md +11 -0
  924. data/docs/RedemptionsListResponseBodyRedemptionsItemVoucherPublish.md +10 -0
  925. data/docs/RedemptionsListResponseBodyRedemptionsItemVoucherRedemption.md +12 -0
  926. data/docs/RedemptionsRedeemRequestBody.md +2 -2
  927. data/docs/RedemptionsRedeemRequestBodyOptions.md +8 -0
  928. data/docs/RedemptionsRedeemRequestBodyRedeemablesItem.md +11 -0
  929. data/docs/RedemptionsRedeemRequestBodyRedeemablesItemGift.md +8 -0
  930. data/docs/RedemptionsRedeemRequestBodyRedeemablesItemReward.md +9 -0
  931. data/docs/RedemptionsRollbackCreateResponseBody.md +18 -18
  932. data/docs/RedemptionsRollbackCreateResponseBodyChannel.md +9 -0
  933. data/docs/RedemptionsRollbackCreateResponseBodyGift.md +8 -0
  934. data/docs/RedemptionsRollbackCreateResponseBodyLoyaltyCard.md +8 -0
  935. data/docs/RedemptionsRollbackCreateResponseBodyRelatedRedemptions.md +9 -0
  936. data/docs/RedemptionsRollbackCreateResponseBodyRelatedRedemptionsRedemptionsItem.md +9 -0
  937. data/docs/RedemptionsRollbackCreateResponseBodyRelatedRedemptionsRollbacksItem.md +9 -0
  938. data/docs/RedemptionsRollbacksCreateResponseBody.md +1 -1
  939. data/docs/ReferralsApi.md +397 -0
  940. data/docs/ReferralsMembersHoldersCreateInBulkRequestBody.md +9 -0
  941. data/docs/ReferralsMembersHoldersCreateInBulkResponseBody.md +8 -0
  942. data/docs/ReferralsMembersHoldersListResponseBody.md +13 -0
  943. data/docs/Referrer.md +2 -2
  944. data/docs/ReferrerAddress.md +13 -0
  945. data/docs/ReferrerId.md +2 -2
  946. data/docs/Reward.md +9 -9
  947. data/docs/RewardAssignment.md +8 -8
  948. data/docs/RewardAssignmentParameters.md +1 -1
  949. data/docs/RewardAssignmentParametersLoyalty.md +9 -0
  950. data/docs/RewardType.md +6 -47
  951. data/docs/RewardTypeCampaign.md +3 -1
  952. data/docs/RewardTypeCoin.md +2 -1
  953. data/docs/RewardTypeProduct.md +9 -0
  954. data/docs/RewardsApi.md +253 -5
  955. data/docs/RewardsAssignmentsCreateRequestBody.md +6 -45
  956. data/docs/RewardsAssignmentsCreateRequestBodyParameters.md +8 -0
  957. data/docs/RewardsAssignmentsCreateRequestBodyParametersLoyalty.md +9 -0
  958. data/docs/RewardsAssignmentsCreateResponseBody.md +8 -8
  959. data/docs/RewardsAssignmentsCreateResponseBodyParameters.md +8 -0
  960. data/docs/RewardsAssignmentsCreateResponseBodyParametersLoyalty.md +9 -0
  961. data/docs/RewardsAssignmentsGetResponseBody.md +8 -8
  962. data/docs/RewardsAssignmentsGetResponseBodyParameters.md +8 -0
  963. data/docs/RewardsAssignmentsGetResponseBodyParametersLoyalty.md +9 -0
  964. data/docs/RewardsAssignmentsListResponseBody.md +4 -4
  965. data/docs/RewardsAssignmentsUpdateRequestBodyParametersLoyalty.md +1 -0
  966. data/docs/RewardsAssignmentsUpdateResponseBody.md +8 -8
  967. data/docs/RewardsAssignmentsUpdateResponseBodyParameters.md +8 -0
  968. data/docs/RewardsAssignmentsUpdateResponseBodyParametersLoyalty.md +9 -0
  969. data/docs/RewardsCreateRequestBody.md +12 -0
  970. data/docs/RewardsCreateRequestBodyAttributes.md +9 -0
  971. data/docs/RewardsCreateRequestBodyParameters.md +10 -0
  972. data/docs/RewardsCreateRequestBodyParametersCampaign.md +9 -0
  973. data/docs/RewardsCreateRequestBodyParametersCoin.md +9 -0
  974. data/docs/RewardsCreateRequestBodyParametersProduct.md +9 -0
  975. data/docs/RewardsCreateResponseBody.md +18 -0
  976. data/docs/RewardsCreateResponseBodyAttributes.md +9 -0
  977. data/docs/RewardsListResponseBody.md +11 -0
  978. data/docs/RewardsUpdateRequestBody.md +12 -0
  979. data/docs/RewardsUpdateRequestBodyAttributes.md +9 -0
  980. data/docs/RewardsUpdateRequestBodyParameters.md +10 -0
  981. data/docs/RewardsUpdateRequestBodyParametersCampaign.md +9 -0
  982. data/docs/RewardsUpdateRequestBodyParametersCoin.md +9 -0
  983. data/docs/RewardsUpdateRequestBodyParametersProduct.md +9 -0
  984. data/docs/RewardsUpdateResponseBody.md +18 -0
  985. data/docs/RewardsUpdateResponseBodyAttributes.md +9 -0
  986. data/docs/SegmentsApi.md +120 -0
  987. data/docs/SegmentsCreateRequestBody.md +11 -0
  988. data/docs/SegmentsCreateResponseBody.md +14 -0
  989. data/docs/SegmentsGetResponseBody.md +14 -0
  990. data/docs/Session.md +2 -2
  991. data/docs/SimpleCustomer.md +4 -4
  992. data/docs/SimpleCustomerRequiredObjectType.md +2 -2
  993. data/docs/SimpleLoyaltyCard.md +11 -0
  994. data/docs/SimpleProductDiscountUnit.md +2 -2
  995. data/docs/SimpleSegment.md +3 -3
  996. data/docs/SimpleSkuDiscountUnit.md +2 -2
  997. data/docs/SimpleVoucher.md +16 -8
  998. data/docs/SimpleVoucherRedemption.md +9 -0
  999. data/docs/Sku.md +11 -11
  1000. data/docs/SkusGetResponseBody.md +11 -11
  1001. data/docs/SkusImportCsvCreateResponseBody.md +1 -1
  1002. data/docs/SkusListForProduct.md +4 -4
  1003. data/docs/StackingRules.md +8 -5
  1004. data/docs/TemplatesApi.md +443 -0
  1005. data/docs/TemplatesCampaignsCampaignSetupCreateRequestBody.md +24 -0
  1006. data/docs/TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher.md +9 -0
  1007. data/docs/TemplatesCampaignsCampaignSetupCreateRequestBodyVoucherRedemption.md +8 -0
  1008. data/docs/TemplatesCampaignsCampaignSetupCreateResponseBody.md +10 -0
  1009. data/docs/TemplatesCampaignsCampaignSetupCreateResponseBodyCreatedResourcesItem.md +9 -0
  1010. data/docs/TemplatesCampaignsCreateRequestBody.md +11 -0
  1011. data/docs/TemplatesCampaignsCreateTemplateResponseBody.md +13 -0
  1012. data/docs/TemplatesCampaignsGetResponseBody.md +14 -0
  1013. data/docs/TemplatesCampaignsListResponseBody.md +13 -0
  1014. data/docs/TemplatesCampaignsTierSetupCreateRequestBody.md +20 -0
  1015. data/docs/TemplatesCampaignsTierSetupCreateResponseBody.md +10 -0
  1016. data/docs/TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem.md +9 -0
  1017. data/docs/TemplatesCampaignsUpdateRequestBody.md +9 -0
  1018. data/docs/TemplatesCampaignsUpdateResponseBody.md +14 -0
  1019. data/docs/TrashBinItem.md +15 -0
  1020. data/docs/TrashBinListResponseBody.md +13 -0
  1021. data/docs/UsageNotifications.md +11 -0
  1022. data/docs/User.md +14 -0
  1023. data/docs/ValidationRule.md +10 -10
  1024. data/docs/ValidationRuleApplicableTo.md +10 -0
  1025. data/docs/ValidationRuleAssignment.md +6 -6
  1026. data/docs/ValidationRuleAssignmentsList.md +4 -4
  1027. data/docs/ValidationRuleError.md +8 -0
  1028. data/docs/ValidationRulesApi.md +13 -13
  1029. data/docs/ValidationRulesAssignmentsCreateRequestBody.md +2 -2
  1030. data/docs/ValidationRulesAssignmentsCreateResponseBody.md +6 -6
  1031. data/docs/ValidationRulesAssignmentsList.md +4 -4
  1032. data/docs/ValidationRulesAssignmentsListResponseBody.md +4 -4
  1033. data/docs/ValidationRulesCreateRequestBody.md +4 -4
  1034. data/docs/ValidationRulesCreateRequestBodyApplicableTo.md +10 -0
  1035. data/docs/ValidationRulesCreateRequestBodyError.md +8 -0
  1036. data/docs/ValidationRulesCreateResponseBody.md +10 -10
  1037. data/docs/ValidationRulesCreateResponseBodyApplicableTo.md +10 -0
  1038. data/docs/ValidationRulesCreateResponseBodyError.md +8 -0
  1039. data/docs/ValidationRulesGetResponseBody.md +10 -10
  1040. data/docs/ValidationRulesGetResponseBodyApplicableTo.md +10 -0
  1041. data/docs/ValidationRulesGetResponseBodyError.md +8 -0
  1042. data/docs/ValidationRulesListResponseBody.md +4 -4
  1043. data/docs/ValidationRulesUpdateRequestBody.md +3 -3
  1044. data/docs/ValidationRulesUpdateRequestBodyApplicableTo.md +10 -0
  1045. data/docs/ValidationRulesUpdateRequestBodyError.md +8 -0
  1046. data/docs/ValidationRulesUpdateResponseBody.md +10 -10
  1047. data/docs/ValidationRulesUpdateResponseBodyApplicableTo.md +10 -0
  1048. data/docs/ValidationRulesUpdateResponseBodyError.md +8 -0
  1049. data/docs/ValidationsApi.md +1 -1
  1050. data/docs/ValidationsRedeemableInapplicable.md +2 -0
  1051. data/docs/ValidationsRedeemableInapplicableResult.md +1 -0
  1052. data/docs/ValidationsRedeemableInapplicableResultDetails.md +9 -0
  1053. data/docs/ValidationsRedeemableSkipped.md +3 -1
  1054. data/docs/ValidationsRedeemableSkippedResult.md +8 -0
  1055. data/docs/ValidationsRedeemableSkippedResultDetails.md +9 -0
  1056. data/docs/ValidationsValidateRequestBody.md +2 -2
  1057. data/docs/ValidationsValidateRequestBodyOptions.md +8 -0
  1058. data/docs/ValidationsValidateRequestBodyRedeemablesItem.md +11 -0
  1059. data/docs/ValidationsValidateRequestBodyRedeemablesItemGift.md +8 -0
  1060. data/docs/ValidationsValidateRequestBodyRedeemablesItemReward.md +9 -0
  1061. data/docs/ValidationsValidateResponseBody.md +4 -3
  1062. data/docs/ValidationsValidateResponseBodyRedeemablesItem.md +16 -0
  1063. data/docs/ValidationsValidateResponseBodyRedeemablesItemResult.md +12 -0
  1064. data/docs/ValidationsValidateResponseBodyRedeemablesItemResultDetails.md +9 -0
  1065. data/docs/ValidationsValidateResponseBodyRedeemablesItemResultDiscount.md +24 -0
  1066. data/docs/ValidationsValidateResponseBodyRedeemablesItemResultDiscountProduct.md +10 -0
  1067. data/docs/ValidationsValidateResponseBodyRedeemablesItemResultGift.md +8 -0
  1068. data/docs/ValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard.md +8 -0
  1069. data/docs/ValidityHours.md +8 -0
  1070. data/docs/ValidityHoursDailyItem.md +10 -0
  1071. data/docs/ValidityTimeframe.md +9 -0
  1072. data/docs/Voucher.md +9 -10
  1073. data/docs/VoucherAssets.md +2 -2
  1074. data/docs/VoucherAssetsBarcode.md +9 -0
  1075. data/docs/VoucherAssetsQr.md +9 -0
  1076. data/docs/VoucherLoyaltyCard.md +1 -1
  1077. data/docs/VoucherPublish.md +2 -2
  1078. data/docs/VoucherRedemption.md +2 -3
  1079. data/docs/VoucherTransaction.md +9 -9
  1080. data/docs/VoucherTransactionDetailsBalance.md +6 -6
  1081. data/docs/VoucherTransactionDetailsBalanceRelatedObject.md +2 -2
  1082. data/docs/VoucherTransactionDetailsCustomEvent.md +2 -2
  1083. data/docs/VoucherTransactionDetailsEarningRule.md +2 -2
  1084. data/docs/VoucherTransactionDetailsEarningRuleSource.md +1 -1
  1085. data/docs/VoucherTransactionDetailsEvent.md +2 -2
  1086. data/docs/VoucherTransactionDetailsEventSchema.md +2 -2
  1087. data/docs/VoucherTransactionDetailsLoyaltyTier.md +2 -2
  1088. data/docs/VoucherTransactionDetailsOrder.md +2 -2
  1089. data/docs/VoucherTransactionDetailsRedemption.md +1 -1
  1090. data/docs/VoucherTransactionDetailsReward.md +2 -2
  1091. data/docs/VoucherTransactionDetailsRollback.md +1 -1
  1092. data/docs/VoucherTransactionDetailsSegment.md +2 -2
  1093. data/docs/VoucherTransactionsExportFilterConditions.md +1 -1
  1094. data/docs/VoucherTransactionsExportFilterConditionsVoucherId.md +1 -1
  1095. data/docs/VoucherTransactionsExportFilterConditionsVoucherIdConditions.md +1 -1
  1096. data/docs/VoucherTransactionsExportParameters.md +1 -1
  1097. data/docs/VoucherTransactionsFilters.md +1 -1
  1098. data/docs/VoucherWithCategories.md +35 -0
  1099. data/docs/VoucherWithCategoriesGift.md +10 -0
  1100. data/docs/VoucherWithCategoriesLoyaltyCard.md +11 -0
  1101. data/docs/VoucherWithCategoriesPublish.md +10 -0
  1102. data/docs/VoucherWithCategoriesRedemption.md +12 -0
  1103. data/docs/VouchersApi.md +459 -12
  1104. data/docs/VouchersBalanceUpdateRequestBody.md +2 -2
  1105. data/docs/VouchersBalanceUpdateResponseBody.md +7 -7
  1106. data/docs/VouchersBalanceUpdateResponseBodyRelatedObject.md +2 -2
  1107. data/docs/VouchersCreateResponseBody.md +36 -0
  1108. data/docs/VouchersCreateResponseBodyGift.md +10 -0
  1109. data/docs/VouchersCreateResponseBodyLoyaltyCard.md +11 -0
  1110. data/docs/VouchersCreateResponseBodyPublish.md +10 -0
  1111. data/docs/VouchersCreateResponseBodyRedemption.md +12 -0
  1112. data/docs/VouchersCreateWithSpecificCodeRequestBody.md +25 -0
  1113. data/docs/VouchersCreateWithSpecificCodeRequestBodyRedemption.md +8 -0
  1114. data/docs/VouchersDisableResponseBody.md +12 -13
  1115. data/docs/VouchersDisableResponseBodyGift.md +10 -0
  1116. data/docs/VouchersDisableResponseBodyLoyaltyCard.md +11 -0
  1117. data/docs/VouchersDisableResponseBodyPublish.md +10 -0
  1118. data/docs/VouchersDisableResponseBodyRedemption.md +12 -0
  1119. data/docs/VouchersEnableResponseBody.md +12 -13
  1120. data/docs/VouchersEnableResponseBodyGift.md +10 -0
  1121. data/docs/VouchersEnableResponseBodyLoyaltyCard.md +11 -0
  1122. data/docs/VouchersEnableResponseBodyPublish.md +10 -0
  1123. data/docs/VouchersEnableResponseBodyRedemption.md +12 -0
  1124. data/docs/VouchersGetResponseBody.md +12 -13
  1125. data/docs/VouchersGetResponseBodyGift.md +10 -0
  1126. data/docs/VouchersGetResponseBodyLoyaltyCard.md +11 -0
  1127. data/docs/VouchersGetResponseBodyPublish.md +10 -0
  1128. data/docs/VouchersGetResponseBodyRedemption.md +12 -0
  1129. data/docs/VouchersImportCreateItemRequestBody.md +20 -0
  1130. data/docs/VouchersImportCreateItemRequestBodyRedemption.md +8 -0
  1131. data/docs/VouchersImportCreateResponseBody.md +8 -0
  1132. data/docs/VouchersImportCsvCreateResponseBody.md +1 -1
  1133. data/docs/VouchersListResponseBody.md +11 -0
  1134. data/docs/VouchersMetadataUpdateInBulkRequestBody.md +9 -0
  1135. data/docs/VouchersMetadataUpdateInBulkResponseBody.md +8 -0
  1136. data/docs/VouchersRedemptionGetResponseBody.md +7 -7
  1137. data/docs/VouchersTransactionsExportCreateResponseBody.md +8 -8
  1138. data/docs/VouchersTransactionsExportCreateResponseBodyResult.md +8 -0
  1139. data/docs/VouchersTransactionsListResponseBody.md +5 -4
  1140. data/docs/VouchersUpdateInBulkItemRequestBody.md +9 -0
  1141. data/docs/VouchersUpdateInBulkResponseBody.md +8 -0
  1142. data/docs/VouchersUpdateRequestBody.md +21 -0
  1143. data/docs/VouchersUpdateResponseBody.md +36 -0
  1144. data/docs/VouchersUpdateResponseBodyGift.md +10 -0
  1145. data/docs/VouchersUpdateResponseBodyLoyaltyCard.md +11 -0
  1146. data/docs/VouchersUpdateResponseBodyPublish.md +10 -0
  1147. data/docs/VouchersUpdateResponseBodyRedemption.md +12 -0
  1148. data/lib/VoucherifySdk/api/async_actions_api.rb +144 -0
  1149. data/lib/VoucherifySdk/api/bin_api.rb +148 -0
  1150. data/lib/VoucherifySdk/api/campaigns_api.rb +26 -79
  1151. data/lib/VoucherifySdk/api/categories_api.rb +0 -12
  1152. data/lib/VoucherifySdk/api/client_side_api.rb +69 -77
  1153. data/lib/VoucherifySdk/api/customers_api.rb +191 -150
  1154. data/lib/VoucherifySdk/api/exports_api.rb +7 -31
  1155. data/lib/VoucherifySdk/api/locations_api.rb +150 -0
  1156. data/lib/VoucherifySdk/api/loyalties_api.rb +1315 -337
  1157. data/lib/VoucherifySdk/api/management_api.rb +2407 -0
  1158. data/lib/VoucherifySdk/api/metadata_schemas_api.rb +138 -0
  1159. data/lib/VoucherifySdk/api/orders_api.rb +4 -24
  1160. data/lib/VoucherifySdk/api/product_collections_api.rb +8 -44
  1161. data/lib/VoucherifySdk/api/products_api.rb +40 -112
  1162. data/lib/VoucherifySdk/api/promotions_api.rb +205 -68
  1163. data/lib/VoucherifySdk/api/publications_api.rb +8 -24
  1164. data/lib/VoucherifySdk/api/qualifications_api.rb +2 -2
  1165. data/lib/VoucherifySdk/api/redemptions_api.rb +8 -36
  1166. data/lib/VoucherifySdk/api/referrals_api.rb +420 -0
  1167. data/lib/VoucherifySdk/api/rewards_api.rb +259 -52
  1168. data/lib/VoucherifySdk/api/segments_api.rb +123 -4
  1169. data/lib/VoucherifySdk/api/templates_api.rb +472 -0
  1170. data/lib/VoucherifySdk/api/validation_rules_api.rb +12 -76
  1171. data/lib/VoucherifySdk/api/vouchers_api.rb +495 -70
  1172. data/lib/VoucherifySdk/api_client.rb +22 -1
  1173. data/lib/VoucherifySdk/configuration.rb +14 -0
  1174. data/lib/VoucherifySdk/models/access_settings_campaign_assignments_list.rb +280 -0
  1175. data/lib/VoucherifySdk/models/applicable_to.rb +54 -45
  1176. data/lib/VoucherifySdk/models/applicable_to_effect.rb +6 -4
  1177. data/lib/VoucherifySdk/models/applicable_to_result_list.rb +8 -69
  1178. data/lib/VoucherifySdk/models/area_store_campaign_assignment.rb +280 -0
  1179. data/lib/VoucherifySdk/models/async_action_base.rb +347 -0
  1180. data/lib/VoucherifySdk/models/async_action_get_response_body.rb +357 -0
  1181. data/lib/VoucherifySdk/models/async_actions_list_response_body.rb +263 -0
  1182. data/lib/VoucherifySdk/models/bus_val_rule_assignment.rb +11 -62
  1183. data/lib/VoucherifySdk/models/campaign.rb +63 -157
  1184. data/lib/VoucherifySdk/models/campaign_base.rb +51 -147
  1185. data/lib/VoucherifySdk/models/campaign_loyalty_card.rb +2 -14
  1186. data/lib/VoucherifySdk/models/campaign_loyalty_card_expiration_rules.rb +31 -34
  1187. data/lib/VoucherifySdk/models/campaign_loyalty_voucher.rb +2 -22
  1188. data/lib/VoucherifySdk/models/campaign_loyalty_voucher_redemption.rb +0 -7
  1189. data/lib/VoucherifySdk/models/campaign_template.rb +303 -0
  1190. data/lib/VoucherifySdk/models/campaign_voucher.rb +53 -33
  1191. data/lib/VoucherifySdk/models/campaign_voucher_redemption.rb +0 -9
  1192. data/lib/VoucherifySdk/models/campaigns_create_request_body.rb +425 -82
  1193. data/lib/VoucherifySdk/models/campaigns_create_request_body_promotion.rb +210 -0
  1194. data/lib/VoucherifySdk/models/campaigns_create_request_body_voucher.rb +289 -0
  1195. data/lib/VoucherifySdk/models/campaigns_create_request_body_voucher_redemption.rb +209 -0
  1196. data/lib/VoucherifySdk/models/campaigns_create_response_body.rb +64 -158
  1197. data/lib/VoucherifySdk/models/campaigns_delete_response_body.rb +1 -7
  1198. data/lib/VoucherifySdk/models/campaigns_get_response_body.rb +64 -158
  1199. data/lib/VoucherifySdk/models/campaigns_import_create_response_body.rb +2 -22
  1200. data/lib/VoucherifySdk/models/campaigns_import_csv_create_response_body.rb +2 -22
  1201. data/lib/VoucherifySdk/models/campaigns_import_voucher_item.rb +47 -55
  1202. data/lib/VoucherifySdk/models/campaigns_import_voucher_item_redemption.rb +1 -8
  1203. data/lib/VoucherifySdk/models/campaigns_list_response_body.rb +6 -9
  1204. data/lib/VoucherifySdk/models/campaigns_update_request_body.rb +392 -82
  1205. data/lib/VoucherifySdk/models/campaigns_update_request_body_options.rb +209 -0
  1206. data/lib/VoucherifySdk/models/campaigns_update_response_body.rb +64 -158
  1207. data/lib/VoucherifySdk/models/campaigns_vouchers_create_combined_response_body.rb +543 -0
  1208. data/lib/VoucherifySdk/models/campaigns_vouchers_create_combined_response_body_gift.rb +256 -0
  1209. data/lib/VoucherifySdk/models/campaigns_vouchers_create_combined_response_body_loyalty_card.rb +243 -0
  1210. data/lib/VoucherifySdk/models/campaigns_vouchers_create_combined_response_body_publish.rb +234 -0
  1211. data/lib/VoucherifySdk/models/campaigns_vouchers_create_combined_response_body_redemption.rb +256 -0
  1212. data/lib/VoucherifySdk/models/campaigns_vouchers_create_in_bulk_request_body.rb +32 -39
  1213. data/lib/VoucherifySdk/models/campaigns_vouchers_create_in_bulk_request_body_redemption.rb +210 -0
  1214. data/lib/VoucherifySdk/models/campaigns_vouchers_create_request_body.rb +8 -16
  1215. data/lib/VoucherifySdk/models/campaigns_vouchers_create_request_body_redemption.rb +210 -0
  1216. data/lib/VoucherifySdk/models/campaigns_vouchers_create_response_body.rb +71 -85
  1217. data/lib/VoucherifySdk/models/campaigns_vouchers_create_response_body_gift.rb +256 -0
  1218. data/lib/VoucherifySdk/models/campaigns_vouchers_create_response_body_loyalty_card.rb +243 -0
  1219. data/lib/VoucherifySdk/models/campaigns_vouchers_create_response_body_publish.rb +234 -0
  1220. data/lib/VoucherifySdk/models/campaigns_vouchers_create_response_body_redemption.rb +256 -0
  1221. data/lib/VoucherifySdk/models/categories_create_request_body.rb +7 -21
  1222. data/lib/VoucherifySdk/models/categories_create_response_body.rb +11 -51
  1223. data/lib/VoucherifySdk/models/categories_get_response_body.rb +18 -86
  1224. data/lib/VoucherifySdk/models/categories_list_response_body.rb +6 -53
  1225. data/lib/VoucherifySdk/models/categories_update_request_body.rb +7 -21
  1226. data/lib/VoucherifySdk/models/categories_update_response_body.rb +13 -59
  1227. data/lib/VoucherifySdk/models/category.rb +17 -78
  1228. data/lib/VoucherifySdk/models/category_with_stacking_rules_type.rb +309 -0
  1229. data/lib/VoucherifySdk/models/client_events_create_request_body.rb +9 -37
  1230. data/lib/VoucherifySdk/models/client_events_create_request_body_loyalty.rb +1 -14
  1231. data/lib/VoucherifySdk/models/client_events_create_request_body_referral.rb +2 -14
  1232. data/lib/VoucherifySdk/models/client_events_create_response_body.rb +18 -39
  1233. data/lib/VoucherifySdk/models/client_promotions_tiers_list_response_body.rb +260 -0
  1234. data/lib/VoucherifySdk/models/client_qualifications_check_eligibility_request_body.rb +6 -42
  1235. data/lib/VoucherifySdk/models/client_qualifications_check_eligibility_response_body.rb +2 -8
  1236. data/lib/VoucherifySdk/models/client_redemptions_redeem_request_body.rb +19 -65
  1237. data/lib/VoucherifySdk/models/client_redemptions_redeem_request_body_options.rb +234 -0
  1238. data/lib/VoucherifySdk/models/client_redemptions_redeem_request_body_redeemables_item.rb +260 -0
  1239. data/lib/VoucherifySdk/models/client_redemptions_redeem_request_body_redeemables_item_gift.rb +210 -0
  1240. data/lib/VoucherifySdk/models/client_redemptions_redeem_request_body_redeemables_item_reward.rb +221 -0
  1241. data/lib/VoucherifySdk/models/client_redemptions_redeem_response_body.rb +4 -8
  1242. data/lib/VoucherifySdk/models/client_validations_validate_request_body.rb +19 -65
  1243. data/lib/VoucherifySdk/models/client_validations_validate_request_body_options.rb +234 -0
  1244. data/lib/VoucherifySdk/models/client_validations_validate_request_body_redeemables_item.rb +260 -0
  1245. data/lib/VoucherifySdk/models/client_validations_validate_request_body_redeemables_item_gift.rb +210 -0
  1246. data/lib/VoucherifySdk/models/client_validations_validate_request_body_redeemables_item_reward.rb +221 -0
  1247. data/lib/VoucherifySdk/models/client_validations_validate_response_body.rb +26 -34
  1248. data/lib/VoucherifySdk/models/client_validations_validate_response_body_redeemables_item.rb +312 -0
  1249. data/lib/VoucherifySdk/models/client_validations_validate_response_body_redeemables_item_result.rb +244 -0
  1250. data/lib/VoucherifySdk/models/client_validations_validate_response_body_redeemables_item_result_details.rb +216 -0
  1251. data/lib/VoucherifySdk/models/client_validations_validate_response_body_redeemables_item_result_discount.rb +400 -0
  1252. data/lib/VoucherifySdk/models/client_validations_validate_response_body_redeemables_item_result_discount_product.rb +231 -0
  1253. data/lib/VoucherifySdk/models/client_validations_validate_response_body_redeemables_item_result_gift.rb +210 -0
  1254. data/lib/VoucherifySdk/models/client_validations_validate_response_body_redeemables_item_result_loyalty_card.rb +209 -0
  1255. data/lib/VoucherifySdk/models/code_config.rb +8 -9
  1256. data/lib/VoucherifySdk/models/create_publication_campaign.rb +2 -32
  1257. data/lib/VoucherifySdk/models/customer.rb +35 -40
  1258. data/lib/VoucherifySdk/models/customer_activity.rb +20 -48
  1259. data/lib/VoucherifySdk/models/customer_address.rb +265 -0
  1260. data/lib/VoucherifySdk/models/customer_id.rb +3 -30
  1261. data/lib/VoucherifySdk/models/customer_loyalty.rb +4 -29
  1262. data/lib/VoucherifySdk/models/customer_loyalty_campaigns_entry.rb +229 -0
  1263. data/lib/VoucherifySdk/models/customer_redeemable.rb +342 -0
  1264. data/lib/VoucherifySdk/models/customer_redeemable_redeemable.rb +263 -0
  1265. data/lib/VoucherifySdk/models/customer_referrals.rb +2 -21
  1266. data/lib/VoucherifySdk/models/customer_referrals_campaigns_item.rb +0 -7
  1267. data/lib/VoucherifySdk/models/customer_summary.rb +0 -7
  1268. data/lib/VoucherifySdk/models/customer_summary_orders.rb +5 -35
  1269. data/lib/VoucherifySdk/models/customer_summary_redemptions.rb +8 -63
  1270. data/lib/VoucherifySdk/models/customer_summary_redemptions_gift.rb +2 -17
  1271. data/lib/VoucherifySdk/models/customer_summary_redemptions_loyalty_card.rb +2 -21
  1272. data/lib/VoucherifySdk/models/customer_with_summary_loyalty_referrals.rb +101 -125
  1273. data/lib/VoucherifySdk/models/customer_with_summary_loyalty_referrals_address.rb +265 -0
  1274. data/lib/VoucherifySdk/models/customer_with_summary_loyalty_referrals_assets.rb +210 -0
  1275. data/lib/VoucherifySdk/models/customers_activities_list_response_body.rb +6 -33
  1276. data/lib/VoucherifySdk/models/customers_activity_list_response_body.rb +284 -0
  1277. data/lib/VoucherifySdk/models/customers_create_request_body.rb +12 -17
  1278. data/lib/VoucherifySdk/models/customers_create_request_body_address.rb +265 -0
  1279. data/lib/VoucherifySdk/models/customers_create_response_body.rb +21 -45
  1280. data/lib/VoucherifySdk/models/customers_create_response_body_address.rb +265 -0
  1281. data/lib/VoucherifySdk/models/customers_create_response_body_assets.rb +210 -0
  1282. data/lib/VoucherifySdk/models/customers_get_response_body.rb +21 -45
  1283. data/lib/VoucherifySdk/models/customers_get_response_body_address.rb +265 -0
  1284. data/lib/VoucherifySdk/models/customers_get_response_body_assets.rb +210 -0
  1285. data/lib/VoucherifySdk/models/customers_import_csv_create_response_body.rb +2 -22
  1286. data/lib/VoucherifySdk/models/customers_list_response_body.rb +8 -34
  1287. data/lib/VoucherifySdk/models/customers_metadata_update_in_bulk_request_body.rb +3 -22
  1288. data/lib/VoucherifySdk/models/customers_metadata_update_in_bulk_response_body.rb +2 -22
  1289. data/lib/VoucherifySdk/models/customers_permanent_deletion_create_response_body.rb +9 -52
  1290. data/lib/VoucherifySdk/models/customers_permanent_deletion_create_response_body_data_json.rb +7 -54
  1291. data/lib/VoucherifySdk/models/customers_redeemables_list_response_body.rb +271 -0
  1292. data/lib/VoucherifySdk/models/customers_segments_list_response_body.rb +6 -40
  1293. data/lib/VoucherifySdk/models/customers_update_in_bulk_request_body.rb +25 -38
  1294. data/lib/VoucherifySdk/models/customers_update_in_bulk_request_body_address.rb +265 -0
  1295. data/lib/VoucherifySdk/models/customers_update_in_bulk_response_body.rb +2 -22
  1296. data/lib/VoucherifySdk/models/customers_update_request_body.rb +10 -17
  1297. data/lib/VoucherifySdk/models/customers_update_request_body_address.rb +265 -0
  1298. data/lib/VoucherifySdk/models/customers_update_response_body.rb +21 -45
  1299. data/lib/VoucherifySdk/models/customers_update_response_body_address.rb +265 -0
  1300. data/lib/VoucherifySdk/models/customers_update_response_body_assets.rb +210 -0
  1301. data/lib/VoucherifySdk/models/discount.rb +374 -81
  1302. data/lib/VoucherifySdk/models/discount_unit_multiple_one_unit.rb +4 -31
  1303. data/lib/VoucherifySdk/models/earning_rule.rb +43 -94
  1304. data/lib/VoucherifySdk/models/earning_rule_custom_event.rb +210 -0
  1305. data/lib/VoucherifySdk/models/earning_rule_loyalty.rb +295 -0
  1306. data/lib/VoucherifySdk/models/earning_rule_loyalty_custom_event.rb +208 -0
  1307. data/lib/VoucherifySdk/models/earning_rule_loyalty_custom_event_metadata.rb +232 -0
  1308. data/lib/VoucherifySdk/models/earning_rule_loyalty_customer.rb +208 -0
  1309. data/lib/VoucherifySdk/models/earning_rule_loyalty_customer_metadata.rb +232 -0
  1310. data/lib/VoucherifySdk/models/earning_rule_loyalty_order.rb +228 -0
  1311. data/lib/VoucherifySdk/models/earning_rule_loyalty_order_amount.rb +221 -0
  1312. data/lib/VoucherifySdk/models/earning_rule_loyalty_order_items.rb +228 -0
  1313. data/lib/VoucherifySdk/models/earning_rule_loyalty_order_items_amount.rb +267 -0
  1314. data/lib/VoucherifySdk/models/earning_rule_loyalty_order_items_quantity.rb +267 -0
  1315. data/lib/VoucherifySdk/models/earning_rule_loyalty_order_items_subtotal_amount.rb +267 -0
  1316. data/lib/VoucherifySdk/models/earning_rule_loyalty_order_metadata.rb +232 -0
  1317. data/lib/VoucherifySdk/models/earning_rule_loyalty_order_total_amount.rb +221 -0
  1318. data/lib/VoucherifySdk/models/earning_rule_loyalty_tier.rb +210 -0
  1319. data/lib/VoucherifySdk/models/earning_rule_segment.rb +210 -0
  1320. data/lib/VoucherifySdk/models/earning_rule_source.rb +258 -0
  1321. data/lib/VoucherifySdk/models/error.rb +8 -43
  1322. data/lib/VoucherifySdk/models/events_create_request_body.rb +11 -39
  1323. data/lib/VoucherifySdk/models/events_create_request_body_loyalty.rb +210 -0
  1324. data/lib/VoucherifySdk/models/events_create_request_body_referral.rb +221 -0
  1325. data/lib/VoucherifySdk/models/events_create_response_body.rb +18 -39
  1326. data/lib/VoucherifySdk/models/export.rb +293 -79
  1327. data/lib/VoucherifySdk/models/export_parameters.rb +255 -0
  1328. data/lib/VoucherifySdk/models/export_parameters_filters.rb +256 -0
  1329. data/lib/VoucherifySdk/models/export_result.rb +209 -0
  1330. data/lib/VoucherifySdk/models/export_voucher_transactions_filters.rb +0 -7
  1331. data/lib/VoucherifySdk/models/exports_create_request_body.rb +211 -80
  1332. data/lib/VoucherifySdk/models/exports_create_request_body_parameters.rb +255 -0
  1333. data/lib/VoucherifySdk/models/exports_create_request_body_parameters_filters.rb +256 -0
  1334. data/lib/VoucherifySdk/models/exports_create_response_body.rb +296 -80
  1335. data/lib/VoucherifySdk/models/exports_create_response_body_parameters.rb +255 -0
  1336. data/lib/VoucherifySdk/models/exports_create_response_body_parameters_filters.rb +256 -0
  1337. data/lib/VoucherifySdk/models/exports_get_response_body.rb +11 -86
  1338. data/lib/VoucherifySdk/models/exports_get_response_body_parameters.rb +255 -0
  1339. data/lib/VoucherifySdk/models/exports_get_response_body_parameters_filters.rb +256 -0
  1340. data/lib/VoucherifySdk/models/exports_get_response_body_result.rb +209 -0
  1341. data/lib/VoucherifySdk/models/exports_list_response_body.rb +6 -53
  1342. data/lib/VoucherifySdk/models/field_conditions.rb +0 -7
  1343. data/lib/VoucherifySdk/models/filter_conditions_date_time.rb +265 -0
  1344. data/lib/VoucherifySdk/models/filter_conditions_string.rb +13 -12
  1345. data/lib/VoucherifySdk/models/filters_condition.rb +50 -32
  1346. data/lib/VoucherifySdk/models/gift.rb +3 -31
  1347. data/lib/VoucherifySdk/models/inapplicable_to.rb +54 -52
  1348. data/lib/VoucherifySdk/models/inapplicable_to_result_list.rb +8 -69
  1349. data/lib/VoucherifySdk/models/list_publications_item_voucher.rb +6 -37
  1350. data/lib/VoucherifySdk/models/location.rb +290 -0
  1351. data/lib/VoucherifySdk/models/location_shape.rb +264 -0
  1352. data/lib/VoucherifySdk/models/location_shape_distance.rb +221 -0
  1353. data/lib/VoucherifySdk/models/location_shape_geojson.rb +244 -0
  1354. data/lib/VoucherifySdk/models/locations_get_response_body.rb +290 -0
  1355. data/lib/VoucherifySdk/models/locations_get_response_body_shape.rb +264 -0
  1356. data/lib/VoucherifySdk/models/locations_get_response_body_shape_distance.rb +221 -0
  1357. data/lib/VoucherifySdk/models/locations_get_response_body_shape_geojson.rb +244 -0
  1358. data/lib/VoucherifySdk/models/locations_list_response_body.rb +260 -0
  1359. data/lib/VoucherifySdk/models/loyalties_create_campaign_request_body.rb +438 -0
  1360. data/lib/VoucherifySdk/models/loyalties_create_campaign_response_body.rb +565 -0
  1361. data/lib/VoucherifySdk/models/loyalties_delete_response_body.rb +1 -21
  1362. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item.rb +360 -0
  1363. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_custom_event.rb +210 -0
  1364. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty.rb +291 -0
  1365. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_custom_event.rb +208 -0
  1366. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_custom_event_metadata.rb +232 -0
  1367. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_customer.rb +208 -0
  1368. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_customer_metadata.rb +232 -0
  1369. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_order.rb +228 -0
  1370. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_order_amount.rb +221 -0
  1371. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_order_items.rb +228 -0
  1372. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_order_items_amount.rb +267 -0
  1373. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_order_items_quantity.rb +267 -0
  1374. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_order_items_subtotal_amount.rb +267 -0
  1375. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_order_metadata.rb +232 -0
  1376. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_order_total_amount.rb +221 -0
  1377. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_loyalty_tier.rb +210 -0
  1378. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_segment.rb +210 -0
  1379. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_request_body_item_source.rb +209 -0
  1380. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body.rb +424 -0
  1381. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_custom_event.rb +210 -0
  1382. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty.rb +295 -0
  1383. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_custom_event.rb +208 -0
  1384. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_custom_event_metadata.rb +232 -0
  1385. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_customer.rb +208 -0
  1386. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_customer_metadata.rb +232 -0
  1387. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_order.rb +228 -0
  1388. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_order_amount.rb +221 -0
  1389. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_order_items.rb +228 -0
  1390. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_order_items_amount.rb +267 -0
  1391. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_order_items_quantity.rb +267 -0
  1392. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_order_items_subtotal_amount.rb +267 -0
  1393. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_order_metadata.rb +232 -0
  1394. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_order_total_amount.rb +221 -0
  1395. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_loyalty_tier.rb +210 -0
  1396. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_segment.rb +210 -0
  1397. data/lib/VoucherifySdk/models/loyalties_earning_rules_create_response_body_source.rb +258 -0
  1398. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body.rb +44 -91
  1399. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_custom_event.rb +210 -0
  1400. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty.rb +295 -0
  1401. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_custom_event.rb +208 -0
  1402. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_custom_event_metadata.rb +232 -0
  1403. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_customer.rb +208 -0
  1404. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_customer_metadata.rb +232 -0
  1405. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_order.rb +228 -0
  1406. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_order_amount.rb +221 -0
  1407. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_order_items.rb +228 -0
  1408. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_order_items_amount.rb +267 -0
  1409. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_order_items_quantity.rb +267 -0
  1410. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_order_items_subtotal_amount.rb +267 -0
  1411. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_order_metadata.rb +232 -0
  1412. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_order_total_amount.rb +221 -0
  1413. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_loyalty_tier.rb +210 -0
  1414. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_segment.rb +210 -0
  1415. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body_source.rb +258 -0
  1416. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body.rb +44 -91
  1417. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_custom_event.rb +210 -0
  1418. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty.rb +295 -0
  1419. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_custom_event.rb +208 -0
  1420. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_custom_event_metadata.rb +232 -0
  1421. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_customer.rb +208 -0
  1422. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_customer_metadata.rb +232 -0
  1423. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_order.rb +228 -0
  1424. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_order_amount.rb +221 -0
  1425. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_order_items.rb +228 -0
  1426. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_order_items_amount.rb +267 -0
  1427. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_order_items_quantity.rb +267 -0
  1428. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_order_items_subtotal_amount.rb +267 -0
  1429. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_order_metadata.rb +232 -0
  1430. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_order_total_amount.rb +221 -0
  1431. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_loyalty_tier.rb +210 -0
  1432. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_segment.rb +210 -0
  1433. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body_source.rb +258 -0
  1434. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body.rb +44 -95
  1435. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_custom_event.rb +210 -0
  1436. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty.rb +295 -0
  1437. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_custom_event.rb +208 -0
  1438. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_custom_event_metadata.rb +232 -0
  1439. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_customer.rb +208 -0
  1440. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_customer_metadata.rb +232 -0
  1441. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_order.rb +228 -0
  1442. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_order_amount.rb +221 -0
  1443. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_order_items.rb +228 -0
  1444. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_order_items_amount.rb +267 -0
  1445. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_order_items_quantity.rb +267 -0
  1446. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_order_items_subtotal_amount.rb +267 -0
  1447. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_order_metadata.rb +232 -0
  1448. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_order_total_amount.rb +221 -0
  1449. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_loyalty_tier.rb +210 -0
  1450. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_segment.rb +210 -0
  1451. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body_source.rb +258 -0
  1452. data/lib/VoucherifySdk/models/loyalties_earning_rules_list_response_body.rb +273 -0
  1453. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body.rb +325 -0
  1454. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty.rb +295 -0
  1455. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty_custom_event.rb +208 -0
  1456. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty_custom_event_metadata.rb +232 -0
  1457. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty_customer.rb +208 -0
  1458. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty_customer_metadata.rb +232 -0
  1459. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty_order.rb +228 -0
  1460. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty_order_amount.rb +221 -0
  1461. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty_order_items.rb +228 -0
  1462. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty_order_items_amount.rb +267 -0
  1463. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty_order_items_quantity.rb +267 -0
  1464. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty_order_items_subtotal_amount.rb +267 -0
  1465. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty_order_metadata.rb +232 -0
  1466. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_loyalty_order_total_amount.rb +221 -0
  1467. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_request_body_source.rb +210 -0
  1468. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body.rb +424 -0
  1469. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_custom_event.rb +210 -0
  1470. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty.rb +295 -0
  1471. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_custom_event.rb +208 -0
  1472. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_custom_event_metadata.rb +232 -0
  1473. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_customer.rb +208 -0
  1474. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_customer_metadata.rb +232 -0
  1475. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_order.rb +228 -0
  1476. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_order_amount.rb +221 -0
  1477. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_order_items.rb +228 -0
  1478. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_order_items_amount.rb +267 -0
  1479. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_order_items_quantity.rb +267 -0
  1480. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_order_items_subtotal_amount.rb +267 -0
  1481. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_order_metadata.rb +232 -0
  1482. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_order_total_amount.rb +221 -0
  1483. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_loyalty_tier.rb +210 -0
  1484. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_segment.rb +210 -0
  1485. data/lib/VoucherifySdk/models/loyalties_earning_rules_update_response_body_source.rb +258 -0
  1486. data/lib/VoucherifySdk/models/loyalties_get_campaign_response_body.rb +565 -0
  1487. data/lib/VoucherifySdk/models/loyalties_list_campaigns_response_body.rb +273 -0
  1488. data/lib/VoucherifySdk/models/loyalties_list_members_response_body.rb +273 -0
  1489. data/lib/VoucherifySdk/models/loyalties_loyalty_tier_reward.rb +1 -18
  1490. data/lib/VoucherifySdk/models/loyalties_member_activity_list_response_body.rb +284 -0
  1491. data/lib/VoucherifySdk/models/loyalties_members_balance_update_request_body.rb +6 -16
  1492. data/lib/VoucherifySdk/models/loyalties_members_balance_update_response_body.rb +13 -97
  1493. data/lib/VoucherifySdk/models/loyalties_members_balance_update_response_body_related_object.rb +2 -29
  1494. data/lib/VoucherifySdk/models/loyalties_members_create_request_body.rb +252 -0
  1495. data/lib/VoucherifySdk/models/loyalties_members_create_response_body.rb +503 -0
  1496. data/lib/VoucherifySdk/models/loyalties_members_create_response_body_loyalty_card.rb +243 -0
  1497. data/lib/VoucherifySdk/models/loyalties_members_create_response_body_publish.rb +234 -0
  1498. data/lib/VoucherifySdk/models/loyalties_members_create_response_body_redemption.rb +256 -0
  1499. data/lib/VoucherifySdk/models/loyalties_members_get_response_body.rb +503 -0
  1500. data/lib/VoucherifySdk/models/loyalties_members_get_response_body_loyalty_card.rb +243 -0
  1501. data/lib/VoucherifySdk/models/loyalties_members_get_response_body_publish.rb +234 -0
  1502. data/lib/VoucherifySdk/models/loyalties_members_get_response_body_redemption.rb +256 -0
  1503. data/lib/VoucherifySdk/models/loyalties_members_points_expiration_list_response_body.rb +10 -57
  1504. data/lib/VoucherifySdk/models/loyalties_members_points_expiration_list_response_body_data_item.rb +3 -20
  1505. data/lib/VoucherifySdk/models/loyalties_members_points_expiration_list_response_body_data_item_bucket.rb +0 -7
  1506. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_request_body.rb +3 -8
  1507. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_request_body_reward.rb +2 -7
  1508. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body.rb +36 -150
  1509. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_channel.rb +245 -0
  1510. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_gift.rb +210 -0
  1511. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_loyalty_card.rb +210 -0
  1512. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_related_redemptions.rb +222 -0
  1513. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_related_redemptions_redemptions_item.rb +218 -0
  1514. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_related_redemptions_rollbacks_item.rb +218 -0
  1515. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_voucher.rb +542 -0
  1516. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_voucher_gift.rb +256 -0
  1517. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_voucher_loyalty_card.rb +243 -0
  1518. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_voucher_publish.rb +234 -0
  1519. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_voucher_redemption.rb +256 -0
  1520. data/lib/VoucherifySdk/models/loyalties_members_rewards_list_response_body.rb +8 -69
  1521. data/lib/VoucherifySdk/models/loyalties_members_rewards_list_response_body_data_item.rb +1 -18
  1522. data/lib/VoucherifySdk/models/loyalties_members_tiers_list_response_body.rb +6 -53
  1523. data/lib/VoucherifySdk/models/loyalties_members_transactions_export_create_request_body.rb +2 -8
  1524. data/lib/VoucherifySdk/models/loyalties_members_transactions_export_create_request_body_parameters.rb +1 -7
  1525. data/lib/VoucherifySdk/models/loyalties_members_transactions_export_create_response_body.rb +10 -84
  1526. data/lib/VoucherifySdk/models/loyalties_members_transactions_export_create_response_body_parameters.rb +252 -0
  1527. data/lib/VoucherifySdk/models/loyalties_members_transactions_list_response_body.rb +26 -62
  1528. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body.rb +35 -83
  1529. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_assets.rb +2 -7
  1530. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_assets_barcode.rb +2 -7
  1531. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_assets_qr.rb +2 -7
  1532. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_loyalty_card.rb +5 -22
  1533. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_publish.rb +6 -24
  1534. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_redemption.rb +7 -33
  1535. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_request_body.rb +208 -0
  1536. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_request_body_parameters.rb +256 -0
  1537. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_request_body_parameters_filters.rb +250 -0
  1538. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_request_body_parameters_filters_campaign_id.rb +209 -0
  1539. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_request_body_parameters_filters_campaign_id_conditions.rb +247 -0
  1540. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_request_body_parameters_filters_voucher_id.rb +209 -0
  1541. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_request_body_parameters_filters_voucher_id_conditions.rb +247 -0
  1542. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_response_body.rb +332 -0
  1543. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_response_body_parameters.rb +256 -0
  1544. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_response_body_parameters_filters.rb +250 -0
  1545. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_response_body_parameters_filters_campaign_id.rb +209 -0
  1546. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_response_body_parameters_filters_campaign_id_conditions.rb +247 -0
  1547. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_response_body_parameters_filters_voucher_id.rb +209 -0
  1548. data/lib/VoucherifySdk/models/loyalties_points_expiration_export_create_response_body_parameters_filters_voucher_id_conditions.rb +247 -0
  1549. data/lib/VoucherifySdk/models/loyalties_reward_assignments_get_response_body.rb +12 -79
  1550. data/lib/VoucherifySdk/models/loyalties_reward_assignments_get_response_body_parameters.rb +209 -0
  1551. data/lib/VoucherifySdk/models/loyalties_reward_assignments_get_response_body_parameters_loyalty.rb +221 -0
  1552. data/lib/VoucherifySdk/models/loyalties_reward_assignments_list_response_body.rb +273 -0
  1553. data/lib/VoucherifySdk/models/loyalties_reward_assignments_reward_get_response_body.rb +11 -80
  1554. data/lib/VoucherifySdk/models/loyalties_reward_assignments_reward_get_response_body_attributes.rb +221 -0
  1555. data/lib/VoucherifySdk/models/loyalties_rewards_create_assignment_item_request_body.rb +231 -0
  1556. data/lib/VoucherifySdk/models/loyalties_rewards_create_assignment_item_request_body_parameters.rb +209 -0
  1557. data/lib/VoucherifySdk/models/loyalties_rewards_create_assignment_item_request_body_parameters_loyalty.rb +210 -0
  1558. data/lib/VoucherifySdk/models/loyalties_rewards_create_assignment_response_body.rb +316 -0
  1559. data/lib/VoucherifySdk/models/loyalties_rewards_create_assignment_response_body_parameters.rb +209 -0
  1560. data/lib/VoucherifySdk/models/loyalties_rewards_create_assignment_response_body_parameters_loyalty.rb +221 -0
  1561. data/lib/VoucherifySdk/models/loyalties_rewards_get_response_body.rb +12 -79
  1562. data/lib/VoucherifySdk/models/loyalties_rewards_get_response_body_parameters.rb +209 -0
  1563. data/lib/VoucherifySdk/models/loyalties_rewards_get_response_body_parameters_loyalty.rb +221 -0
  1564. data/lib/VoucherifySdk/models/loyalties_rewards_list_assignments_response_body.rb +273 -0
  1565. data/lib/VoucherifySdk/models/loyalties_rewards_update_assignment_request_body.rb +209 -0
  1566. data/lib/VoucherifySdk/models/loyalties_rewards_update_assignment_request_body_parameters.rb +209 -0
  1567. data/lib/VoucherifySdk/models/loyalties_rewards_update_assignment_request_body_parameters_loyalty.rb +221 -0
  1568. data/lib/VoucherifySdk/models/loyalties_rewards_update_assignment_response_body.rb +316 -0
  1569. data/lib/VoucherifySdk/models/loyalties_rewards_update_assignment_response_body_parameters.rb +209 -0
  1570. data/lib/VoucherifySdk/models/loyalties_rewards_update_assignment_response_body_parameters_loyalty.rb +221 -0
  1571. data/lib/VoucherifySdk/models/loyalties_tiers_create_in_bulk_request_body_item.rb +4 -21
  1572. data/lib/VoucherifySdk/models/loyalties_tiers_earning_rules_list_response_body.rb +6 -53
  1573. data/lib/VoucherifySdk/models/loyalties_tiers_get_response_body.rb +15 -79
  1574. data/lib/VoucherifySdk/models/loyalties_tiers_get_response_body_config.rb +209 -0
  1575. data/lib/VoucherifySdk/models/loyalties_tiers_get_response_body_config_points.rb +221 -0
  1576. data/lib/VoucherifySdk/models/loyalties_tiers_get_response_body_points.rb +221 -0
  1577. data/lib/VoucherifySdk/models/loyalties_tiers_list_response_body.rb +7 -54
  1578. data/lib/VoucherifySdk/models/loyalties_tiers_rewards_list_response_body.rb +6 -33
  1579. data/lib/VoucherifySdk/models/loyalties_transfer_points.rb +5 -29
  1580. data/lib/VoucherifySdk/models/loyalties_update_campaign_request_body.rb +395 -0
  1581. data/lib/VoucherifySdk/models/loyalties_update_campaign_request_body_options.rb +209 -0
  1582. data/lib/VoucherifySdk/models/loyalties_update_campaign_response_body.rb +565 -0
  1583. data/lib/VoucherifySdk/models/loyalty_campaign.rb +564 -0
  1584. data/lib/VoucherifySdk/models/loyalty_campaign_voucher.rb +334 -0
  1585. data/lib/VoucherifySdk/models/loyalty_campaign_voucher_redemption.rb +210 -0
  1586. data/lib/VoucherifySdk/models/loyalty_card_transaction.rb +8 -60
  1587. data/lib/VoucherifySdk/models/loyalty_card_transaction_details.rb +327 -0
  1588. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_balance.rb +306 -0
  1589. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_balance_related_object.rb +253 -0
  1590. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_custom_event.rb +221 -0
  1591. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_earning_rule.rb +220 -0
  1592. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_earning_rule_source.rb +210 -0
  1593. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_event.rb +221 -0
  1594. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_event_schema.rb +221 -0
  1595. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_loyalty_tier.rb +219 -0
  1596. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_order.rb +221 -0
  1597. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_redemption.rb +210 -0
  1598. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_reward.rb +221 -0
  1599. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_rollback.rb +210 -0
  1600. data/lib/VoucherifySdk/models/loyalty_card_transaction_details_segment.rb +219 -0
  1601. data/lib/VoucherifySdk/models/loyalty_card_transactions_type.rb +1 -2
  1602. data/lib/VoucherifySdk/models/loyalty_member.rb +503 -0
  1603. data/lib/VoucherifySdk/models/loyalty_member_loyalty_card.rb +243 -0
  1604. data/lib/VoucherifySdk/models/loyalty_member_publish.rb +234 -0
  1605. data/lib/VoucherifySdk/models/loyalty_member_redemption.rb +256 -0
  1606. data/lib/VoucherifySdk/models/loyalty_tier.rb +14 -78
  1607. data/lib/VoucherifySdk/models/loyalty_tier_base.rb +4 -21
  1608. data/lib/VoucherifySdk/models/loyalty_tier_base_points.rb +2 -7
  1609. data/lib/VoucherifySdk/models/loyalty_tier_config.rb +209 -0
  1610. data/lib/VoucherifySdk/models/loyalty_tier_config_points.rb +221 -0
  1611. data/lib/VoucherifySdk/models/loyalty_tier_expiration.rb +9 -37
  1612. data/lib/VoucherifySdk/models/loyalty_tier_points.rb +221 -0
  1613. data/lib/VoucherifySdk/models/loyalty_tiers_expiration_all.rb +4 -48
  1614. data/lib/VoucherifySdk/models/loyalty_tiers_expiration_all_expiration_date.rb +2 -31
  1615. data/lib/VoucherifySdk/models/loyalty_tiers_expiration_all_expiration_date_rounding.rb +4 -37
  1616. data/lib/VoucherifySdk/models/loyalty_tiers_expiration_all_start_date.rb +1 -24
  1617. data/lib/VoucherifySdk/models/management_project.rb +479 -0
  1618. data/lib/VoucherifySdk/models/management_project_api_usage_notifications.rb +253 -0
  1619. data/lib/VoucherifySdk/models/management_project_default_code_config.rb +210 -0
  1620. data/lib/VoucherifySdk/models/management_project_limits.rb +223 -0
  1621. data/lib/VoucherifySdk/models/management_project_limits_api_calls_item.rb +219 -0
  1622. data/lib/VoucherifySdk/models/management_project_limits_bulk_api_calls_item.rb +219 -0
  1623. data/lib/VoucherifySdk/models/management_project_webhooks_callout_notifications.rb +219 -0
  1624. data/lib/VoucherifySdk/models/management_project_webhooks_callout_notifications_distributions.rb +234 -0
  1625. data/lib/VoucherifySdk/models/management_project_webhooks_callout_notifications_webhooks.rb +234 -0
  1626. data/lib/VoucherifySdk/models/management_projects_branding.rb +250 -0
  1627. data/lib/VoucherifySdk/models/management_projects_branding_address.rb +254 -0
  1628. data/lib/VoucherifySdk/models/management_projects_branding_brand.rb +254 -0
  1629. data/lib/VoucherifySdk/models/management_projects_branding_cockpits.rb +311 -0
  1630. data/lib/VoucherifySdk/models/management_projects_branding_contact.rb +221 -0
  1631. data/lib/VoucherifySdk/models/management_projects_branding_create_request_body.rb +239 -0
  1632. data/lib/VoucherifySdk/models/management_projects_branding_create_request_body_address.rb +254 -0
  1633. data/lib/VoucherifySdk/models/management_projects_branding_create_request_body_brand.rb +256 -0
  1634. data/lib/VoucherifySdk/models/management_projects_branding_create_request_body_cockpits.rb +325 -0
  1635. data/lib/VoucherifySdk/models/management_projects_branding_create_request_body_contact.rb +221 -0
  1636. data/lib/VoucherifySdk/models/management_projects_branding_create_response_body.rb +250 -0
  1637. data/lib/VoucherifySdk/models/management_projects_branding_create_response_body_address.rb +254 -0
  1638. data/lib/VoucherifySdk/models/management_projects_branding_create_response_body_brand.rb +254 -0
  1639. data/lib/VoucherifySdk/models/management_projects_branding_create_response_body_cockpits.rb +311 -0
  1640. data/lib/VoucherifySdk/models/management_projects_branding_create_response_body_contact.rb +221 -0
  1641. data/lib/VoucherifySdk/models/management_projects_branding_get_response_body.rb +250 -0
  1642. data/lib/VoucherifySdk/models/management_projects_branding_get_response_body_address.rb +254 -0
  1643. data/lib/VoucherifySdk/models/management_projects_branding_get_response_body_brand.rb +254 -0
  1644. data/lib/VoucherifySdk/models/management_projects_branding_get_response_body_cockpits.rb +311 -0
  1645. data/lib/VoucherifySdk/models/management_projects_branding_get_response_body_contact.rb +221 -0
  1646. data/lib/VoucherifySdk/models/management_projects_branding_list_response_body.rb +275 -0
  1647. data/lib/VoucherifySdk/models/management_projects_branding_update_request_body.rb +238 -0
  1648. data/lib/VoucherifySdk/models/management_projects_branding_update_request_body_address.rb +254 -0
  1649. data/lib/VoucherifySdk/models/management_projects_branding_update_request_body_brand.rb +254 -0
  1650. data/lib/VoucherifySdk/models/management_projects_branding_update_request_body_cockpits.rb +311 -0
  1651. data/lib/VoucherifySdk/models/management_projects_branding_update_request_body_contact.rb +221 -0
  1652. data/lib/VoucherifySdk/models/management_projects_branding_update_response_body.rb +250 -0
  1653. data/lib/VoucherifySdk/models/management_projects_branding_update_response_body_address.rb +254 -0
  1654. data/lib/VoucherifySdk/models/management_projects_branding_update_response_body_brand.rb +254 -0
  1655. data/lib/VoucherifySdk/models/management_projects_branding_update_response_body_cockpits.rb +311 -0
  1656. data/lib/VoucherifySdk/models/management_projects_branding_update_response_body_contact.rb +221 -0
  1657. data/lib/VoucherifySdk/models/management_projects_create_request_body.rb +440 -0
  1658. data/lib/VoucherifySdk/models/management_projects_create_request_body_api_usage_notifications.rb +244 -0
  1659. data/lib/VoucherifySdk/models/management_projects_create_request_body_users_item.rb +236 -0
  1660. data/lib/VoucherifySdk/models/management_projects_create_request_body_webhooks_callout_notifications.rb +219 -0
  1661. data/lib/VoucherifySdk/models/management_projects_create_request_body_webhooks_callout_notifications_distributions.rb +234 -0
  1662. data/lib/VoucherifySdk/models/management_projects_create_request_body_webhooks_callout_notifications_webhooks.rb +234 -0
  1663. data/lib/VoucherifySdk/models/management_projects_create_response_body.rb +480 -0
  1664. data/lib/VoucherifySdk/models/management_projects_create_response_body_api_usage_notifications.rb +253 -0
  1665. data/lib/VoucherifySdk/models/management_projects_create_response_body_client_side_key.rb +221 -0
  1666. data/lib/VoucherifySdk/models/management_projects_create_response_body_server_side_key.rb +221 -0
  1667. data/lib/VoucherifySdk/models/management_projects_create_response_body_webhooks_callout_notifications.rb +219 -0
  1668. data/lib/VoucherifySdk/models/management_projects_create_response_body_webhooks_callout_notifications_distributions.rb +234 -0
  1669. data/lib/VoucherifySdk/models/management_projects_create_response_body_webhooks_callout_notifications_webhooks.rb +234 -0
  1670. data/lib/VoucherifySdk/models/management_projects_custom_event_schema.rb +290 -0
  1671. data/lib/VoucherifySdk/models/management_projects_custom_event_schema_schema.rb +212 -0
  1672. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_create_request_body.rb +220 -0
  1673. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_create_request_body_schema.rb +212 -0
  1674. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_create_request_body_schema_properties_entry.rb +267 -0
  1675. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_create_response_body.rb +290 -0
  1676. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_create_response_body_schema.rb +212 -0
  1677. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_get_response_body.rb +290 -0
  1678. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_get_response_body_schema.rb +212 -0
  1679. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_list_response_body.rb +275 -0
  1680. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_update_request_body.rb +209 -0
  1681. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_update_request_body_schema.rb +212 -0
  1682. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_update_response_body.rb +290 -0
  1683. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_update_response_body_schema.rb +212 -0
  1684. data/lib/VoucherifySdk/models/management_projects_get_response_body.rb +479 -0
  1685. data/lib/VoucherifySdk/models/management_projects_get_response_body_api_usage_notifications.rb +253 -0
  1686. data/lib/VoucherifySdk/models/management_projects_get_response_body_default_code_config.rb +210 -0
  1687. data/lib/VoucherifySdk/models/management_projects_get_response_body_limits.rb +223 -0
  1688. data/lib/VoucherifySdk/models/management_projects_get_response_body_limits_api_calls_item.rb +219 -0
  1689. data/lib/VoucherifySdk/models/management_projects_get_response_body_limits_bulk_api_calls_item.rb +219 -0
  1690. data/lib/VoucherifySdk/models/management_projects_get_response_body_webhooks_callout_notifications.rb +219 -0
  1691. data/lib/VoucherifySdk/models/management_projects_get_response_body_webhooks_callout_notifications_distributions.rb +234 -0
  1692. data/lib/VoucherifySdk/models/management_projects_get_response_body_webhooks_callout_notifications_webhooks.rb +234 -0
  1693. data/lib/VoucherifySdk/models/management_projects_list_response_body.rb +275 -0
  1694. data/lib/VoucherifySdk/models/management_projects_metadata_schema.rb +280 -0
  1695. data/lib/VoucherifySdk/models/management_projects_metadata_schema_definition.rb +380 -0
  1696. data/lib/VoucherifySdk/models/management_projects_metadata_schemas_create_request_body.rb +236 -0
  1697. data/lib/VoucherifySdk/models/management_projects_metadata_schemas_create_response_body.rb +280 -0
  1698. data/lib/VoucherifySdk/models/management_projects_metadata_schemas_get_response_body.rb +280 -0
  1699. data/lib/VoucherifySdk/models/management_projects_metadata_schemas_list_response_body.rb +275 -0
  1700. data/lib/VoucherifySdk/models/management_projects_metadata_schemas_update_request_body.rb +223 -0
  1701. data/lib/VoucherifySdk/models/management_projects_metadata_schemas_update_response_body.rb +280 -0
  1702. data/lib/VoucherifySdk/models/management_projects_stacking_rules.rb +425 -0
  1703. data/lib/VoucherifySdk/models/management_projects_stacking_rules_create_request_body.rb +392 -0
  1704. data/lib/VoucherifySdk/models/management_projects_stacking_rules_create_response_body.rb +425 -0
  1705. data/lib/VoucherifySdk/models/management_projects_stacking_rules_get_response_body.rb +425 -0
  1706. data/lib/VoucherifySdk/models/management_projects_stacking_rules_list_response_body.rb +275 -0
  1707. data/lib/VoucherifySdk/models/management_projects_stacking_rules_update_request_body.rb +392 -0
  1708. data/lib/VoucherifySdk/models/management_projects_stacking_rules_update_response_body.rb +425 -0
  1709. data/lib/VoucherifySdk/models/management_projects_templates_campaigns_copy_create_request_body.rb +232 -0
  1710. data/lib/VoucherifySdk/models/management_projects_templates_campaigns_copy_create_response_body.rb +293 -0
  1711. data/lib/VoucherifySdk/models/management_projects_templates_campaigns_list_response_body.rb +297 -0
  1712. data/lib/VoucherifySdk/models/management_projects_update_request_body.rb +400 -0
  1713. data/lib/VoucherifySdk/models/management_projects_update_request_body_api_usage_notifications.rb +244 -0
  1714. data/lib/VoucherifySdk/models/management_projects_update_request_body_default_code_config.rb +210 -0
  1715. data/lib/VoucherifySdk/models/management_projects_update_request_body_webhooks_callout_notifications.rb +219 -0
  1716. data/lib/VoucherifySdk/models/management_projects_update_request_body_webhooks_callout_notifications_distributions.rb +234 -0
  1717. data/lib/VoucherifySdk/models/management_projects_update_request_body_webhooks_callout_notifications_webhooks.rb +234 -0
  1718. data/lib/VoucherifySdk/models/management_projects_update_response_body.rb +479 -0
  1719. data/lib/VoucherifySdk/models/management_projects_update_response_body_api_usage_notifications.rb +253 -0
  1720. data/lib/VoucherifySdk/models/management_projects_update_response_body_default_code_config.rb +210 -0
  1721. data/lib/VoucherifySdk/models/management_projects_update_response_body_limits.rb +223 -0
  1722. data/lib/VoucherifySdk/models/management_projects_update_response_body_limits_api_calls_item.rb +219 -0
  1723. data/lib/VoucherifySdk/models/management_projects_update_response_body_limits_bulk_api_calls_item.rb +219 -0
  1724. data/lib/VoucherifySdk/models/management_projects_update_response_body_webhooks_callout_notifications.rb +219 -0
  1725. data/lib/VoucherifySdk/models/management_projects_update_response_body_webhooks_callout_notifications_distributions.rb +234 -0
  1726. data/lib/VoucherifySdk/models/management_projects_update_response_body_webhooks_callout_notifications_webhooks.rb +234 -0
  1727. data/lib/VoucherifySdk/models/management_projects_users_assign_request_body.rb +231 -0
  1728. data/lib/VoucherifySdk/models/management_projects_users_assign_response_body.rb +278 -0
  1729. data/lib/VoucherifySdk/models/management_projects_users_get_user_response_body.rb +278 -0
  1730. data/lib/VoucherifySdk/models/management_projects_users_invite_create_request_body.rb +245 -0
  1731. data/lib/VoucherifySdk/models/management_projects_users_list_response_body.rb +275 -0
  1732. data/lib/VoucherifySdk/models/management_projects_users_update_role_request_body.rb +209 -0
  1733. data/lib/VoucherifySdk/models/management_projects_users_update_role_response_body.rb +278 -0
  1734. data/lib/VoucherifySdk/models/management_projects_webhook.rb +295 -0
  1735. data/lib/VoucherifySdk/models/management_projects_webhooks_create_request_body.rb +258 -0
  1736. data/lib/VoucherifySdk/models/management_projects_webhooks_create_response_body.rb +295 -0
  1737. data/lib/VoucherifySdk/models/management_projects_webhooks_get_response_body.rb +295 -0
  1738. data/lib/VoucherifySdk/models/management_projects_webhooks_list_response_body.rb +275 -0
  1739. data/lib/VoucherifySdk/models/management_projects_webhooks_update_request_body.rb +258 -0
  1740. data/lib/VoucherifySdk/models/management_projects_webhooks_update_response_body.rb +295 -0
  1741. data/lib/VoucherifySdk/models/mapping_points.rb +223 -74
  1742. data/lib/VoucherifySdk/models/member_activity.rb +254 -0
  1743. data/lib/VoucherifySdk/models/metadata_schema_definition_deprecated.rb +380 -0
  1744. data/lib/VoucherifySdk/models/metadata_schema_deprecated.rb +280 -0
  1745. data/lib/VoucherifySdk/models/metadata_schemas_get_response_body.rb +280 -0
  1746. data/lib/VoucherifySdk/models/metadata_schemas_list_response_body.rb +275 -0
  1747. data/lib/VoucherifySdk/models/order.rb +45 -98
  1748. data/lib/VoucherifySdk/models/order_calculated.rb +66 -94
  1749. data/lib/VoucherifySdk/models/order_calculated_item.rb +455 -0
  1750. data/lib/VoucherifySdk/models/order_calculated_item_product.rb +265 -0
  1751. data/lib/VoucherifySdk/models/order_calculated_item_sku.rb +254 -0
  1752. data/lib/VoucherifySdk/models/order_item.rb +19 -22
  1753. data/lib/VoucherifySdk/models/order_item_product.rb +8 -9
  1754. data/lib/VoucherifySdk/models/order_item_sku.rb +6 -8
  1755. data/lib/VoucherifySdk/models/order_redemptions_entry.rb +292 -0
  1756. data/lib/VoucherifySdk/models/orders_create_request_body.rb +53 -67
  1757. data/lib/VoucherifySdk/models/orders_create_response_body.rb +66 -95
  1758. data/lib/VoucherifySdk/models/orders_export_create_request_body.rb +2 -8
  1759. data/lib/VoucherifySdk/models/orders_export_create_request_body_parameters.rb +1 -7
  1760. data/lib/VoucherifySdk/models/orders_export_create_response_body.rb +10 -85
  1761. data/lib/VoucherifySdk/models/orders_export_create_response_body_parameters.rb +253 -0
  1762. data/lib/VoucherifySdk/models/orders_get_response_body.rb +65 -94
  1763. data/lib/VoucherifySdk/models/orders_import_create_request_body_item.rb +69 -67
  1764. data/lib/VoucherifySdk/models/orders_import_create_response_body.rb +2 -22
  1765. data/lib/VoucherifySdk/models/orders_list_response_body.rb +7 -54
  1766. data/lib/VoucherifySdk/models/orders_update_request_body.rb +62 -67
  1767. data/lib/VoucherifySdk/models/orders_update_response_body.rb +66 -95
  1768. data/lib/VoucherifySdk/models/parameter_activity_category.rb +40 -0
  1769. data/lib/VoucherifySdk/models/parameter_campaign_type.rb +1 -2
  1770. data/lib/VoucherifySdk/models/parameter_created_before_after.rb +4 -9
  1771. data/lib/VoucherifySdk/models/parameter_filters_list_bin.rb +269 -0
  1772. data/lib/VoucherifySdk/models/parameter_filters_list_bin_id.rb +208 -0
  1773. data/lib/VoucherifySdk/models/parameter_filters_list_bin_resource_id.rb +208 -0
  1774. data/lib/VoucherifySdk/models/parameter_filters_list_bin_resource_name.rb +208 -0
  1775. data/lib/VoucherifySdk/models/parameter_filters_list_bin_resource_type.rb +208 -0
  1776. data/lib/VoucherifySdk/models/parameter_filters_list_bin_resource_type_conditions.rb +316 -0
  1777. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns.rb +289 -0
  1778. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_campaign_status.rb +208 -0
  1779. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_campaign_status_conditions.rb +316 -0
  1780. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_categories.rb +208 -0
  1781. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_category_ids.rb +208 -0
  1782. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_is_referral_code.rb +247 -0
  1783. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_validity_timeframe.rb +208 -0
  1784. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_voucher_type.rb +208 -0
  1785. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables.rb +309 -0
  1786. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_campaign_id.rb +208 -0
  1787. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_campaign_type.rb +208 -0
  1788. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_campaign_type_conditions.rb +316 -0
  1789. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_created_at.rb +208 -0
  1790. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_holder_role.rb +208 -0
  1791. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_holder_role_conditions.rb +316 -0
  1792. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_id.rb +208 -0
  1793. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_redeemable_id.rb +208 -0
  1794. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_redeemable_object.rb +208 -0
  1795. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_redeemable_object_conditions.rb +320 -0
  1796. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_voucher_type.rb +208 -0
  1797. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_voucher_type_conditions.rb +316 -0
  1798. data/lib/VoucherifySdk/models/parameter_filters_list_locations.rb +228 -0
  1799. data/lib/VoucherifySdk/models/parameter_filters_list_locations_created_at.rb +208 -0
  1800. data/lib/VoucherifySdk/models/parameter_filters_list_locations_name.rb +207 -0
  1801. data/lib/VoucherifySdk/models/parameter_filters_list_locations_updated_at.rb +208 -0
  1802. data/lib/VoucherifySdk/models/parameter_filters_list_publications.rb +319 -0
  1803. data/lib/VoucherifySdk/models/parameter_filters_list_publications_campaign_name.rb +208 -0
  1804. data/lib/VoucherifySdk/models/parameter_filters_list_publications_customer_id.rb +208 -0
  1805. data/lib/VoucherifySdk/models/parameter_filters_list_publications_failure_code.rb +208 -0
  1806. data/lib/VoucherifySdk/models/parameter_filters_list_publications_is_referral_code.rb +208 -0
  1807. data/lib/VoucherifySdk/models/parameter_filters_list_publications_parent_object_id.rb +208 -0
  1808. data/lib/VoucherifySdk/models/parameter_filters_list_publications_related_object_id.rb +208 -0
  1809. data/lib/VoucherifySdk/models/parameter_filters_list_publications_result.rb +208 -0
  1810. data/lib/VoucherifySdk/models/parameter_filters_list_publications_source_id.rb +208 -0
  1811. data/lib/VoucherifySdk/models/parameter_filters_list_publications_voucher_type.rb +208 -0
  1812. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions.rb +45 -11
  1813. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_campaign_name.rb +4 -42
  1814. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_customer_id.rb +4 -42
  1815. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_failure_code.rb +4 -42
  1816. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_object.rb +4 -42
  1817. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_parent_redemption_id.rb +4 -42
  1818. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_related_object_id.rb +4 -42
  1819. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_related_object_parent_id.rb +4 -42
  1820. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_result.rb +4 -42
  1821. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_user_login.rb +4 -42
  1822. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_voucher_code.rb +4 -42
  1823. data/lib/VoucherifySdk/models/parameter_filters_list_referrals_redeemable_holders.rb +269 -0
  1824. data/lib/VoucherifySdk/models/parameter_filters_list_referrals_redeemable_holders_created_at.rb +208 -0
  1825. data/lib/VoucherifySdk/models/parameter_filters_list_referrals_redeemable_holders_customer_id.rb +208 -0
  1826. data/lib/VoucherifySdk/models/parameter_filters_list_referrals_redeemable_holders_holder_role.rb +208 -0
  1827. data/lib/VoucherifySdk/models/parameter_filters_list_referrals_redeemable_holders_holder_role_conditions.rb +316 -0
  1828. data/lib/VoucherifySdk/models/parameter_filters_list_referrals_redeemable_holders_id.rb +208 -0
  1829. data/lib/VoucherifySdk/models/parameter_filters_list_templates.rb +259 -0
  1830. data/lib/VoucherifySdk/models/parameter_filters_list_templates_campaign_type.rb +209 -0
  1831. data/lib/VoucherifySdk/models/parameter_filters_list_templates_campaign_type_conditions.rb +317 -0
  1832. data/lib/VoucherifySdk/models/parameter_filters_list_templates_id.rb +208 -0
  1833. data/lib/VoucherifySdk/models/parameter_filters_list_templates_name.rb +208 -0
  1834. data/lib/VoucherifySdk/models/parameter_order_created_at.rb +40 -0
  1835. data/lib/VoucherifySdk/models/parameter_order_list_bin.rb +40 -0
  1836. data/lib/VoucherifySdk/models/parameter_order_list_earning_rules.rb +42 -0
  1837. data/lib/VoucherifySdk/models/parameter_order_list_locations.rb +42 -0
  1838. data/lib/VoucherifySdk/models/parameter_order_list_promotion_tiers.rb +42 -0
  1839. data/lib/VoucherifySdk/models/parameter_order_list_promotion_tiers_client_side.rb +42 -0
  1840. data/lib/VoucherifySdk/models/parameter_order_list_redeemables.rb +40 -0
  1841. data/lib/VoucherifySdk/models/parameter_order_list_transactions.rb +40 -0
  1842. data/lib/VoucherifySdk/models/parameter_order_vouchers.rb +44 -0
  1843. data/lib/VoucherifySdk/models/parameter_templates_list.rb +40 -0
  1844. data/lib/VoucherifySdk/models/parameter_updated_before_after.rb +4 -9
  1845. data/lib/VoucherifySdk/models/parameter_voucher_type_list_publications.rb +1 -2
  1846. data/lib/VoucherifySdk/models/product.rb +8 -59
  1847. data/lib/VoucherifySdk/models/product_collections_create_request_body.rb +238 -75
  1848. data/lib/VoucherifySdk/models/product_collections_create_request_body_products_item.rb +266 -0
  1849. data/lib/VoucherifySdk/models/product_collections_create_response_body.rb +13 -72
  1850. data/lib/VoucherifySdk/models/product_collections_create_response_body_products_item.rb +266 -0
  1851. data/lib/VoucherifySdk/models/product_collections_get_response_body.rb +13 -72
  1852. data/lib/VoucherifySdk/models/product_collections_get_response_body_products_item.rb +266 -0
  1853. data/lib/VoucherifySdk/models/product_collections_item.rb +11 -63
  1854. data/lib/VoucherifySdk/models/product_collections_item_products_item.rb +1 -18
  1855. data/lib/VoucherifySdk/models/product_collections_list_response_body.rb +6 -60
  1856. data/lib/VoucherifySdk/models/product_collections_products_list_response_body.rb +7 -42
  1857. data/lib/VoucherifySdk/models/product_collections_products_list_response_body_data_item.rb +362 -0
  1858. data/lib/VoucherifySdk/models/product_without_skus.rb +8 -52
  1859. data/lib/VoucherifySdk/models/products_create_request_body.rb +8 -8
  1860. data/lib/VoucherifySdk/models/products_create_response_body.rb +9 -60
  1861. data/lib/VoucherifySdk/models/products_get_response_body.rb +9 -60
  1862. data/lib/VoucherifySdk/models/products_import_csv_create_response_body.rb +2 -22
  1863. data/lib/VoucherifySdk/models/products_list_response_body.rb +6 -33
  1864. data/lib/VoucherifySdk/models/products_metadata_update_in_bulk_request_body.rb +3 -22
  1865. data/lib/VoucherifySdk/models/products_metadata_update_in_bulk_response_body.rb +2 -22
  1866. data/lib/VoucherifySdk/models/products_skus_create_request_body.rb +9 -8
  1867. data/lib/VoucherifySdk/models/products_skus_create_response_body.rb +10 -78
  1868. data/lib/VoucherifySdk/models/products_skus_list_response_body.rb +6 -40
  1869. data/lib/VoucherifySdk/models/products_skus_update_request_body.rb +7 -8
  1870. data/lib/VoucherifySdk/models/products_skus_update_response_body.rb +10 -78
  1871. data/lib/VoucherifySdk/models/products_update_in_bulk_request_body.rb +7 -15
  1872. data/lib/VoucherifySdk/models/products_update_in_bulk_response_body.rb +2 -22
  1873. data/lib/VoucherifySdk/models/products_update_request_body.rb +6 -8
  1874. data/lib/VoucherifySdk/models/products_update_response_body.rb +9 -60
  1875. data/lib/VoucherifySdk/models/promotion_stack.rb +12 -77
  1876. data/lib/VoucherifySdk/models/promotion_stack_base.rb +2 -21
  1877. data/lib/VoucherifySdk/models/promotion_stack_base_tiers.rb +5 -41
  1878. data/lib/VoucherifySdk/models/promotion_stack_tiers.rb +253 -0
  1879. data/lib/VoucherifySdk/models/promotion_tier.rb +55 -13
  1880. data/lib/VoucherifySdk/models/promotion_tier_action.rb +0 -7
  1881. data/lib/VoucherifySdk/models/promotion_tier_campaign.rb +41 -11
  1882. data/lib/VoucherifySdk/models/promotion_tier_create_params.rb +46 -18
  1883. data/lib/VoucherifySdk/models/promotion_tier_create_params_action.rb +208 -0
  1884. data/lib/VoucherifySdk/models/promotion_tier_summary.rb +2 -7
  1885. data/lib/VoucherifySdk/models/promotion_tier_summary_orders.rb +2 -7
  1886. data/lib/VoucherifySdk/models/promotion_tier_summary_redemptions.rb +1 -7
  1887. data/lib/VoucherifySdk/models/promotion_tiers_list.rb +7 -9
  1888. data/lib/VoucherifySdk/models/promotions_stacks_create_request_body.rb +5 -30
  1889. data/lib/VoucherifySdk/models/promotions_stacks_create_request_body_tiers.rb +253 -0
  1890. data/lib/VoucherifySdk/models/promotions_stacks_create_response_body.rb +11 -77
  1891. data/lib/VoucherifySdk/models/promotions_stacks_create_response_body_tiers.rb +253 -0
  1892. data/lib/VoucherifySdk/models/promotions_stacks_get_response_body.rb +13 -78
  1893. data/lib/VoucherifySdk/models/promotions_stacks_get_response_body_tiers.rb +253 -0
  1894. data/lib/VoucherifySdk/models/promotions_stacks_list_response_body.rb +8 -69
  1895. data/lib/VoucherifySdk/models/promotions_stacks_update_request_body.rb +4 -8
  1896. data/lib/VoucherifySdk/models/promotions_stacks_update_request_body_tiers.rb +4 -19
  1897. data/lib/VoucherifySdk/models/promotions_stacks_update_response_body.rb +13 -85
  1898. data/lib/VoucherifySdk/models/promotions_stacks_update_response_body_tiers.rb +253 -0
  1899. data/lib/VoucherifySdk/models/promotions_tiers_create_request_body.rb +369 -0
  1900. data/lib/VoucherifySdk/models/promotions_tiers_create_request_body_action.rb +208 -0
  1901. data/lib/VoucherifySdk/models/promotions_tiers_create_response_body.rb +458 -0
  1902. data/lib/VoucherifySdk/models/promotions_tiers_create_response_body_action.rb +208 -0
  1903. data/lib/VoucherifySdk/models/promotions_tiers_create_response_body_campaign.rb +319 -0
  1904. data/lib/VoucherifySdk/models/promotions_tiers_create_response_body_summary.rb +219 -0
  1905. data/lib/VoucherifySdk/models/promotions_tiers_create_response_body_summary_orders.rb +221 -0
  1906. data/lib/VoucherifySdk/models/promotions_tiers_create_response_body_summary_redemptions.rb +210 -0
  1907. data/lib/VoucherifySdk/models/promotions_tiers_disable_response_body.rb +59 -24
  1908. data/lib/VoucherifySdk/models/promotions_tiers_disable_response_body_action.rb +208 -0
  1909. data/lib/VoucherifySdk/models/promotions_tiers_disable_response_body_campaign.rb +319 -0
  1910. data/lib/VoucherifySdk/models/promotions_tiers_disable_response_body_summary.rb +219 -0
  1911. data/lib/VoucherifySdk/models/promotions_tiers_disable_response_body_summary_orders.rb +221 -0
  1912. data/lib/VoucherifySdk/models/promotions_tiers_disable_response_body_summary_redemptions.rb +210 -0
  1913. data/lib/VoucherifySdk/models/promotions_tiers_enable_response_body.rb +59 -24
  1914. data/lib/VoucherifySdk/models/promotions_tiers_enable_response_body_action.rb +208 -0
  1915. data/lib/VoucherifySdk/models/promotions_tiers_enable_response_body_campaign.rb +319 -0
  1916. data/lib/VoucherifySdk/models/promotions_tiers_enable_response_body_summary.rb +219 -0
  1917. data/lib/VoucherifySdk/models/promotions_tiers_enable_response_body_summary_orders.rb +221 -0
  1918. data/lib/VoucherifySdk/models/promotions_tiers_enable_response_body_summary_redemptions.rb +210 -0
  1919. data/lib/VoucherifySdk/models/promotions_tiers_get_response_body.rb +59 -24
  1920. data/lib/VoucherifySdk/models/promotions_tiers_get_response_body_action.rb +208 -0
  1921. data/lib/VoucherifySdk/models/promotions_tiers_get_response_body_campaign.rb +319 -0
  1922. data/lib/VoucherifySdk/models/promotions_tiers_get_response_body_summary.rb +219 -0
  1923. data/lib/VoucherifySdk/models/promotions_tiers_get_response_body_summary_orders.rb +221 -0
  1924. data/lib/VoucherifySdk/models/promotions_tiers_get_response_body_summary_redemptions.rb +210 -0
  1925. data/lib/VoucherifySdk/models/promotions_tiers_list_response_body.rb +8 -17
  1926. data/lib/VoucherifySdk/models/promotions_tiers_update_request_body.rb +358 -0
  1927. data/lib/VoucherifySdk/models/promotions_tiers_update_request_body_action.rb +208 -0
  1928. data/lib/VoucherifySdk/models/promotions_tiers_update_response_body.rb +458 -0
  1929. data/lib/VoucherifySdk/models/promotions_tiers_update_response_body_action.rb +208 -0
  1930. data/lib/VoucherifySdk/models/promotions_tiers_update_response_body_campaign.rb +319 -0
  1931. data/lib/VoucherifySdk/models/promotions_tiers_update_response_body_summary.rb +219 -0
  1932. data/lib/VoucherifySdk/models/promotions_tiers_update_response_body_summary_orders.rb +221 -0
  1933. data/lib/VoucherifySdk/models/promotions_tiers_update_response_body_summary_redemptions.rb +210 -0
  1934. data/lib/VoucherifySdk/models/publications_create_request_body.rb +229 -76
  1935. data/lib/VoucherifySdk/models/publications_create_response_body.rb +346 -78
  1936. data/lib/VoucherifySdk/models/publications_list_response_body.rb +7 -34
  1937. data/lib/VoucherifySdk/models/publications_list_response_body_publications_item.rb +358 -79
  1938. data/lib/VoucherifySdk/models/publications_list_response_body_publications_item_metadata.rb +231 -0
  1939. data/lib/VoucherifySdk/models/qualifications_check_eligibility_request_body.rb +6 -42
  1940. data/lib/VoucherifySdk/models/qualifications_check_eligibility_response_body.rb +2 -8
  1941. data/lib/VoucherifySdk/models/qualifications_field_conditions.rb +0 -7
  1942. data/lib/VoucherifySdk/models/qualifications_filters_condition.rb +24 -17
  1943. data/lib/VoucherifySdk/models/qualifications_option.rb +5 -32
  1944. data/lib/VoucherifySdk/models/qualifications_option_filters.rb +25 -11
  1945. data/lib/VoucherifySdk/models/qualifications_option_filters_campaign_type.rb +209 -0
  1946. data/lib/VoucherifySdk/models/qualifications_option_filters_campaign_type_conditions.rb +247 -0
  1947. data/lib/VoucherifySdk/models/qualifications_option_filters_holder_role.rb +208 -0
  1948. data/lib/VoucherifySdk/models/qualifications_option_filters_holder_role_conditions.rb +273 -0
  1949. data/lib/VoucherifySdk/models/qualifications_option_filters_resource_type.rb +1 -7
  1950. data/lib/VoucherifySdk/models/qualifications_option_filters_resource_type_conditions.rb +13 -36
  1951. data/lib/VoucherifySdk/models/qualifications_redeemable.rb +13 -26
  1952. data/lib/VoucherifySdk/models/qualifications_redeemable_base.rb +12 -19
  1953. data/lib/VoucherifySdk/models/qualifications_redeemables.rb +9 -61
  1954. data/lib/VoucherifySdk/models/redeemable_gift.rb +2 -7
  1955. data/lib/VoucherifySdk/models/redeemable_holder.rb +354 -0
  1956. data/lib/VoucherifySdk/models/redeemable_loyalty_card.rb +6 -8
  1957. data/lib/VoucherifySdk/models/redeemable_result.rb +0 -7
  1958. data/lib/VoucherifySdk/models/redeemable_voucher.rb +524 -0
  1959. data/lib/VoucherifySdk/models/redeemable_voucher_gift.rb +256 -0
  1960. data/lib/VoucherifySdk/models/redeemable_voucher_loyalty_card.rb +243 -0
  1961. data/lib/VoucherifySdk/models/redeemable_voucher_publish.rb +234 -0
  1962. data/lib/VoucherifySdk/models/redeemable_voucher_redemption.rb +256 -0
  1963. data/lib/VoucherifySdk/models/redemption.rb +33 -133
  1964. data/lib/VoucherifySdk/models/redemption_channel.rb +5 -20
  1965. data/lib/VoucherifySdk/models/redemption_entry.rb +477 -0
  1966. data/lib/VoucherifySdk/models/redemption_entry_channel.rb +242 -0
  1967. data/lib/VoucherifySdk/models/redemption_entry_customer.rb +289 -0
  1968. data/lib/VoucherifySdk/models/redemption_entry_gift.rb +209 -0
  1969. data/lib/VoucherifySdk/models/redemption_entry_loyalty_card.rb +209 -0
  1970. data/lib/VoucherifySdk/models/redemption_entry_order.rb +466 -0
  1971. data/lib/VoucherifySdk/models/redemption_entry_order_customer.rb +246 -0
  1972. data/lib/VoucherifySdk/models/redemption_entry_order_referrer.rb +246 -0
  1973. data/lib/VoucherifySdk/models/redemption_entry_promotion_tier.rb +456 -0
  1974. data/lib/VoucherifySdk/models/redemption_entry_promotion_tier_action.rb +207 -0
  1975. data/lib/VoucherifySdk/models/redemption_entry_promotion_tier_campaign.rb +318 -0
  1976. data/lib/VoucherifySdk/models/redemption_entry_promotion_tier_summary.rb +218 -0
  1977. data/lib/VoucherifySdk/models/redemption_entry_promotion_tier_summary_orders.rb +220 -0
  1978. data/lib/VoucherifySdk/models/redemption_entry_promotion_tier_summary_redemptions.rb +209 -0
  1979. data/lib/VoucherifySdk/models/redemption_entry_related_redemptions.rb +222 -0
  1980. data/lib/VoucherifySdk/models/redemption_entry_related_redemptions_redemptions_item.rb +218 -0
  1981. data/lib/VoucherifySdk/models/redemption_entry_related_redemptions_rollbacks_item.rb +217 -0
  1982. data/lib/VoucherifySdk/models/redemption_entry_voucher.rb +540 -0
  1983. data/lib/VoucherifySdk/models/redemption_entry_voucher_gift.rb +255 -0
  1984. data/lib/VoucherifySdk/models/redemption_entry_voucher_loyalty_card.rb +242 -0
  1985. data/lib/VoucherifySdk/models/redemption_entry_voucher_publish.rb +233 -0
  1986. data/lib/VoucherifySdk/models/redemption_entry_voucher_redemption.rb +255 -0
  1987. data/lib/VoucherifySdk/models/redemption_gift.rb +3 -9
  1988. data/lib/VoucherifySdk/models/redemption_loyalty_card.rb +3 -9
  1989. data/lib/VoucherifySdk/models/redemption_related_redemptions.rb +3 -8
  1990. data/lib/VoucherifySdk/models/redemption_related_redemptions_redemptions_item.rb +218 -0
  1991. data/lib/VoucherifySdk/models/redemption_related_redemptions_rollbacks_item.rb +1 -8
  1992. data/lib/VoucherifySdk/models/redemption_reward_result.rb +24 -49
  1993. data/lib/VoucherifySdk/models/redemption_reward_result_parameters.rb +3 -7
  1994. data/lib/VoucherifySdk/models/redemption_reward_result_parameters_campaign.rb +3 -7
  1995. data/lib/VoucherifySdk/models/redemption_reward_result_parameters_coin.rb +2 -7
  1996. data/lib/VoucherifySdk/models/redemption_reward_result_parameters_product.rb +3 -8
  1997. data/lib/VoucherifySdk/models/redemption_rollback.rb +24 -124
  1998. data/lib/VoucherifySdk/models/redemption_rollback_channel.rb +245 -0
  1999. data/lib/VoucherifySdk/models/redemption_rollback_gift.rb +210 -0
  2000. data/lib/VoucherifySdk/models/redemption_rollback_loyalty_card.rb +210 -0
  2001. data/lib/VoucherifySdk/models/redemption_rollback_related_redemptions.rb +3 -8
  2002. data/lib/VoucherifySdk/models/redemption_rollback_related_redemptions_redemptions_item.rb +218 -0
  2003. data/lib/VoucherifySdk/models/redemption_rollback_related_redemptions_rollbacks_item.rb +2 -9
  2004. data/lib/VoucherifySdk/models/redemption_voucher.rb +542 -0
  2005. data/lib/VoucherifySdk/models/redemption_voucher_gift.rb +256 -0
  2006. data/lib/VoucherifySdk/models/redemption_voucher_loyalty_card.rb +243 -0
  2007. data/lib/VoucherifySdk/models/redemption_voucher_publish.rb +234 -0
  2008. data/lib/VoucherifySdk/models/redemption_voucher_redemption.rb +256 -0
  2009. data/lib/VoucherifySdk/models/redemptions_get_response_body.rb +449 -78
  2010. data/lib/VoucherifySdk/models/redemptions_get_response_body_channel.rb +242 -0
  2011. data/lib/VoucherifySdk/models/redemptions_get_response_body_customer.rb +289 -0
  2012. data/lib/VoucherifySdk/models/redemptions_get_response_body_gift.rb +209 -0
  2013. data/lib/VoucherifySdk/models/redemptions_get_response_body_loyalty_card.rb +209 -0
  2014. data/lib/VoucherifySdk/models/redemptions_get_response_body_order.rb +466 -0
  2015. data/lib/VoucherifySdk/models/redemptions_get_response_body_order_customer.rb +246 -0
  2016. data/lib/VoucherifySdk/models/redemptions_get_response_body_order_referrer.rb +246 -0
  2017. data/lib/VoucherifySdk/models/redemptions_get_response_body_promotion_tier.rb +456 -0
  2018. data/lib/VoucherifySdk/models/redemptions_get_response_body_promotion_tier_action.rb +207 -0
  2019. data/lib/VoucherifySdk/models/redemptions_get_response_body_promotion_tier_campaign.rb +318 -0
  2020. data/lib/VoucherifySdk/models/redemptions_get_response_body_promotion_tier_summary.rb +218 -0
  2021. data/lib/VoucherifySdk/models/redemptions_get_response_body_promotion_tier_summary_orders.rb +220 -0
  2022. data/lib/VoucherifySdk/models/redemptions_get_response_body_promotion_tier_summary_redemptions.rb +209 -0
  2023. data/lib/VoucherifySdk/models/redemptions_get_response_body_related_redemptions.rb +222 -0
  2024. data/lib/VoucherifySdk/models/redemptions_get_response_body_related_redemptions_redemptions_item.rb +218 -0
  2025. data/lib/VoucherifySdk/models/redemptions_get_response_body_related_redemptions_rollbacks_item.rb +217 -0
  2026. data/lib/VoucherifySdk/models/redemptions_get_response_body_voucher.rb +540 -0
  2027. data/lib/VoucherifySdk/models/redemptions_get_response_body_voucher_gift.rb +255 -0
  2028. data/lib/VoucherifySdk/models/redemptions_get_response_body_voucher_loyalty_card.rb +242 -0
  2029. data/lib/VoucherifySdk/models/redemptions_get_response_body_voucher_publish.rb +233 -0
  2030. data/lib/VoucherifySdk/models/redemptions_get_response_body_voucher_redemption.rb +255 -0
  2031. data/lib/VoucherifySdk/models/redemptions_list_response_body.rb +6 -33
  2032. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item.rb +435 -77
  2033. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_channel.rb +240 -0
  2034. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_customer.rb +288 -0
  2035. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_gift.rb +208 -0
  2036. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_loyalty_card.rb +208 -0
  2037. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_order.rb +462 -0
  2038. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_order_customer.rb +246 -0
  2039. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_order_referrer.rb +246 -0
  2040. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_promotion_tier.rb +452 -0
  2041. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_promotion_tier_action.rb +207 -0
  2042. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_promotion_tier_campaign.rb +318 -0
  2043. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_promotion_tier_summary.rb +216 -0
  2044. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_promotion_tier_summary_orders.rb +220 -0
  2045. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_promotion_tier_summary_redemptions.rb +209 -0
  2046. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_related_redemptions.rb +221 -0
  2047. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_related_redemptions_redemptions_item.rb +218 -0
  2048. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_related_redemptions_rollbacks_item.rb +217 -0
  2049. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_voucher.rb +535 -0
  2050. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_voucher_gift.rb +255 -0
  2051. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_voucher_loyalty_card.rb +242 -0
  2052. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_voucher_publish.rb +233 -0
  2053. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_voucher_redemption.rb +255 -0
  2054. data/lib/VoucherifySdk/models/redemptions_redeem_request_body.rb +19 -65
  2055. data/lib/VoucherifySdk/models/redemptions_redeem_request_body_options.rb +234 -0
  2056. data/lib/VoucherifySdk/models/redemptions_redeem_request_body_redeemables_item.rb +260 -0
  2057. data/lib/VoucherifySdk/models/redemptions_redeem_request_body_redeemables_item_gift.rb +210 -0
  2058. data/lib/VoucherifySdk/models/redemptions_redeem_request_body_redeemables_item_reward.rb +221 -0
  2059. data/lib/VoucherifySdk/models/redemptions_redeem_response_body.rb +4 -8
  2060. data/lib/VoucherifySdk/models/redemptions_rollback_create_request_body.rb +4 -8
  2061. data/lib/VoucherifySdk/models/redemptions_rollback_create_response_body.rb +26 -133
  2062. data/lib/VoucherifySdk/models/redemptions_rollback_create_response_body_channel.rb +245 -0
  2063. data/lib/VoucherifySdk/models/redemptions_rollback_create_response_body_gift.rb +210 -0
  2064. data/lib/VoucherifySdk/models/redemptions_rollback_create_response_body_loyalty_card.rb +210 -0
  2065. data/lib/VoucherifySdk/models/redemptions_rollback_create_response_body_related_redemptions.rb +222 -0
  2066. data/lib/VoucherifySdk/models/redemptions_rollback_create_response_body_related_redemptions_redemptions_item.rb +218 -0
  2067. data/lib/VoucherifySdk/models/redemptions_rollback_create_response_body_related_redemptions_rollbacks_item.rb +218 -0
  2068. data/lib/VoucherifySdk/models/redemptions_rollbacks_create_request_body.rb +4 -8
  2069. data/lib/VoucherifySdk/models/redemptions_rollbacks_create_response_body.rb +3 -9
  2070. data/lib/VoucherifySdk/models/referral_program.rb +3 -17
  2071. data/lib/VoucherifySdk/models/referral_program_custom_event.rb +2 -7
  2072. data/lib/VoucherifySdk/models/referral_program_referee_reward.rb +4 -18
  2073. data/lib/VoucherifySdk/models/referral_program_referee_reward_related_object_parent.rb +3 -17
  2074. data/lib/VoucherifySdk/models/referrals_members_holders_create_in_bulk_request_body.rb +223 -0
  2075. data/lib/VoucherifySdk/models/referrals_members_holders_create_in_bulk_response_body.rb +212 -0
  2076. data/lib/VoucherifySdk/models/referrals_members_holders_list_response_body.rb +271 -0
  2077. data/lib/VoucherifySdk/models/referrer.rb +11 -16
  2078. data/lib/VoucherifySdk/models/referrer_address.rb +265 -0
  2079. data/lib/VoucherifySdk/models/referrer_id.rb +3 -37
  2080. data/lib/VoucherifySdk/models/reward.rb +9 -71
  2081. data/lib/VoucherifySdk/models/reward_assignment.rb +11 -79
  2082. data/lib/VoucherifySdk/models/reward_assignment_parameters.rb +9 -14
  2083. data/lib/VoucherifySdk/models/reward_assignment_parameters_loyalty.rb +221 -0
  2084. data/lib/VoucherifySdk/models/reward_attributes.rb +2 -7
  2085. data/lib/VoucherifySdk/models/reward_type.rb +198 -76
  2086. data/lib/VoucherifySdk/models/reward_type_campaign.rb +56 -21
  2087. data/lib/VoucherifySdk/models/reward_type_coin.rb +21 -21
  2088. data/lib/VoucherifySdk/models/reward_type_product.rb +221 -0
  2089. data/lib/VoucherifySdk/models/rewards_assignments_create_request_body.rb +201 -76
  2090. data/lib/VoucherifySdk/models/rewards_assignments_create_request_body_parameters.rb +209 -0
  2091. data/lib/VoucherifySdk/models/rewards_assignments_create_request_body_parameters_loyalty.rb +226 -0
  2092. data/lib/VoucherifySdk/models/rewards_assignments_create_response_body.rb +12 -79
  2093. data/lib/VoucherifySdk/models/rewards_assignments_create_response_body_parameters.rb +209 -0
  2094. data/lib/VoucherifySdk/models/rewards_assignments_create_response_body_parameters_loyalty.rb +221 -0
  2095. data/lib/VoucherifySdk/models/rewards_assignments_get_response_body.rb +12 -79
  2096. data/lib/VoucherifySdk/models/rewards_assignments_get_response_body_parameters.rb +209 -0
  2097. data/lib/VoucherifySdk/models/rewards_assignments_get_response_body_parameters_loyalty.rb +221 -0
  2098. data/lib/VoucherifySdk/models/rewards_assignments_list_response_body.rb +6 -33
  2099. data/lib/VoucherifySdk/models/rewards_assignments_update_request_body.rb +2 -8
  2100. data/lib/VoucherifySdk/models/rewards_assignments_update_request_body_parameters.rb +1 -7
  2101. data/lib/VoucherifySdk/models/rewards_assignments_update_request_body_parameters_loyalty.rb +16 -11
  2102. data/lib/VoucherifySdk/models/rewards_assignments_update_response_body.rb +12 -79
  2103. data/lib/VoucherifySdk/models/rewards_assignments_update_response_body_parameters.rb +209 -0
  2104. data/lib/VoucherifySdk/models/rewards_assignments_update_response_body_parameters_loyalty.rb +221 -0
  2105. data/lib/VoucherifySdk/models/rewards_create_request_body.rb +250 -0
  2106. data/lib/VoucherifySdk/models/rewards_create_request_body_attributes.rb +221 -0
  2107. data/lib/VoucherifySdk/models/rewards_create_request_body_parameters.rb +228 -0
  2108. data/lib/VoucherifySdk/models/rewards_create_request_body_parameters_campaign.rb +219 -0
  2109. data/lib/VoucherifySdk/models/rewards_create_request_body_parameters_coin.rb +221 -0
  2110. data/lib/VoucherifySdk/models/rewards_create_request_body_parameters_product.rb +221 -0
  2111. data/lib/VoucherifySdk/models/rewards_create_response_body.rb +349 -0
  2112. data/lib/VoucherifySdk/models/rewards_create_response_body_attributes.rb +221 -0
  2113. data/lib/VoucherifySdk/models/rewards_list_response_body.rb +249 -0
  2114. data/lib/VoucherifySdk/models/rewards_update_request_body.rb +250 -0
  2115. data/lib/VoucherifySdk/models/rewards_update_request_body_attributes.rb +221 -0
  2116. data/lib/VoucherifySdk/models/rewards_update_request_body_parameters.rb +228 -0
  2117. data/lib/VoucherifySdk/models/rewards_update_request_body_parameters_campaign.rb +219 -0
  2118. data/lib/VoucherifySdk/models/rewards_update_request_body_parameters_coin.rb +221 -0
  2119. data/lib/VoucherifySdk/models/rewards_update_request_body_parameters_product.rb +221 -0
  2120. data/lib/VoucherifySdk/models/rewards_update_response_body.rb +349 -0
  2121. data/lib/VoucherifySdk/models/rewards_update_response_body_attributes.rb +221 -0
  2122. data/lib/VoucherifySdk/models/segments_create_request_body.rb +267 -0
  2123. data/lib/VoucherifySdk/models/segments_create_response_body.rb +305 -0
  2124. data/lib/VoucherifySdk/models/segments_get_response_body.rb +305 -0
  2125. data/lib/VoucherifySdk/models/session.rb +5 -42
  2126. data/lib/VoucherifySdk/models/simple_customer.rb +21 -31
  2127. data/lib/VoucherifySdk/models/simple_customer_required_object_type.rb +8 -14
  2128. data/lib/VoucherifySdk/models/simple_loyalty_card.rb +243 -0
  2129. data/lib/VoucherifySdk/models/simple_product_discount_unit.rb +3 -21
  2130. data/lib/VoucherifySdk/models/simple_segment.rb +4 -37
  2131. data/lib/VoucherifySdk/models/simple_sku_discount_unit.rb +3 -21
  2132. data/lib/VoucherifySdk/models/simple_voucher.rb +110 -47
  2133. data/lib/VoucherifySdk/models/simple_voucher_redemption.rb +221 -0
  2134. data/lib/VoucherifySdk/models/sku.rb +9 -70
  2135. data/lib/VoucherifySdk/models/skus_get_response_body.rb +10 -78
  2136. data/lib/VoucherifySdk/models/skus_import_csv_create_response_body.rb +2 -22
  2137. data/lib/VoucherifySdk/models/skus_list_for_product.rb +5 -32
  2138. data/lib/VoucherifySdk/models/stacking_rules.rb +85 -156
  2139. data/lib/VoucherifySdk/models/templates_campaigns_campaign_setup_create_request_body.rb +406 -0
  2140. data/lib/VoucherifySdk/models/templates_campaigns_campaign_setup_create_request_body_voucher.rb +218 -0
  2141. data/lib/VoucherifySdk/models/templates_campaigns_campaign_setup_create_request_body_voucher_redemption.rb +210 -0
  2142. data/lib/VoucherifySdk/models/templates_campaigns_campaign_setup_create_response_body.rb +265 -0
  2143. data/lib/VoucherifySdk/models/templates_campaigns_campaign_setup_create_response_body_created_resources_item.rb +242 -0
  2144. data/lib/VoucherifySdk/models/templates_campaigns_create_request_body.rb +243 -0
  2145. data/lib/VoucherifySdk/models/templates_campaigns_create_template_response_body.rb +293 -0
  2146. data/lib/VoucherifySdk/models/templates_campaigns_get_response_body.rb +304 -0
  2147. data/lib/VoucherifySdk/models/templates_campaigns_list_response_body.rb +297 -0
  2148. data/lib/VoucherifySdk/models/templates_campaigns_tier_setup_create_request_body.rb +361 -0
  2149. data/lib/VoucherifySdk/models/templates_campaigns_tier_setup_create_response_body.rb +258 -0
  2150. data/lib/VoucherifySdk/models/templates_campaigns_tier_setup_create_response_body_created_resources_item.rb +242 -0
  2151. data/lib/VoucherifySdk/models/templates_campaigns_update_request_body.rb +221 -0
  2152. data/lib/VoucherifySdk/models/templates_campaigns_update_response_body.rb +304 -0
  2153. data/lib/VoucherifySdk/models/trash_bin_item.rb +313 -0
  2154. data/lib/VoucherifySdk/models/trash_bin_list_response_body.rb +297 -0
  2155. data/lib/VoucherifySdk/models/usage_notifications.rb +254 -0
  2156. data/lib/VoucherifySdk/models/user.rb +278 -0
  2157. data/lib/VoucherifySdk/models/validation_rule.rb +17 -91
  2158. data/lib/VoucherifySdk/models/validation_rule_applicable_to.rb +235 -0
  2159. data/lib/VoucherifySdk/models/validation_rule_assignment.rb +8 -69
  2160. data/lib/VoucherifySdk/models/validation_rule_assignments_list.rb +5 -32
  2161. data/lib/VoucherifySdk/models/validation_rule_error.rb +210 -0
  2162. data/lib/VoucherifySdk/models/validation_rules_assignments_create_request_body.rb +5 -20
  2163. data/lib/VoucherifySdk/models/validation_rules_assignments_create_response_body.rb +9 -77
  2164. data/lib/VoucherifySdk/models/validation_rules_assignments_list.rb +7 -68
  2165. data/lib/VoucherifySdk/models/validation_rules_assignments_list_response_body.rb +6 -40
  2166. data/lib/VoucherifySdk/models/validation_rules_create_request_body.rb +10 -46
  2167. data/lib/VoucherifySdk/models/validation_rules_create_request_body_applicable_to.rb +235 -0
  2168. data/lib/VoucherifySdk/models/validation_rules_create_request_body_error.rb +210 -0
  2169. data/lib/VoucherifySdk/models/validation_rules_create_response_body.rb +18 -92
  2170. data/lib/VoucherifySdk/models/validation_rules_create_response_body_applicable_to.rb +235 -0
  2171. data/lib/VoucherifySdk/models/validation_rules_create_response_body_error.rb +210 -0
  2172. data/lib/VoucherifySdk/models/validation_rules_get_response_body.rb +18 -92
  2173. data/lib/VoucherifySdk/models/validation_rules_get_response_body_applicable_to.rb +235 -0
  2174. data/lib/VoucherifySdk/models/validation_rules_get_response_body_error.rb +210 -0
  2175. data/lib/VoucherifySdk/models/validation_rules_list_response_body.rb +6 -33
  2176. data/lib/VoucherifySdk/models/validation_rules_update_request_body.rb +10 -39
  2177. data/lib/VoucherifySdk/models/validation_rules_update_request_body_applicable_to.rb +235 -0
  2178. data/lib/VoucherifySdk/models/validation_rules_update_request_body_error.rb +210 -0
  2179. data/lib/VoucherifySdk/models/validation_rules_update_response_body.rb +18 -92
  2180. data/lib/VoucherifySdk/models/validation_rules_update_response_body_applicable_to.rb +235 -0
  2181. data/lib/VoucherifySdk/models/validation_rules_update_response_body_error.rb +210 -0
  2182. data/lib/VoucherifySdk/models/validations_redeemable_inapplicable.rb +31 -31
  2183. data/lib/VoucherifySdk/models/validations_redeemable_inapplicable_result.rb +15 -11
  2184. data/lib/VoucherifySdk/models/validations_redeemable_inapplicable_result_details.rb +221 -0
  2185. data/lib/VoucherifySdk/models/validations_redeemable_skipped.rb +31 -31
  2186. data/lib/VoucherifySdk/models/validations_redeemable_skipped_result.rb +209 -0
  2187. data/lib/VoucherifySdk/models/validations_redeemable_skipped_result_details.rb +242 -0
  2188. data/lib/VoucherifySdk/models/validations_validate_request_body.rb +19 -65
  2189. data/lib/VoucherifySdk/models/validations_validate_request_body_options.rb +234 -0
  2190. data/lib/VoucherifySdk/models/validations_validate_request_body_redeemables_item.rb +260 -0
  2191. data/lib/VoucherifySdk/models/validations_validate_request_body_redeemables_item_gift.rb +210 -0
  2192. data/lib/VoucherifySdk/models/validations_validate_request_body_redeemables_item_reward.rb +221 -0
  2193. data/lib/VoucherifySdk/models/validations_validate_response_body.rb +26 -27
  2194. data/lib/VoucherifySdk/models/validations_validate_response_body_redeemables_item.rb +312 -0
  2195. data/lib/VoucherifySdk/models/validations_validate_response_body_redeemables_item_result.rb +244 -0
  2196. data/lib/VoucherifySdk/models/validations_validate_response_body_redeemables_item_result_details.rb +216 -0
  2197. data/lib/VoucherifySdk/models/validations_validate_response_body_redeemables_item_result_discount.rb +400 -0
  2198. data/lib/VoucherifySdk/models/validations_validate_response_body_redeemables_item_result_discount_product.rb +231 -0
  2199. data/lib/VoucherifySdk/models/validations_validate_response_body_redeemables_item_result_gift.rb +210 -0
  2200. data/lib/VoucherifySdk/models/validations_validate_response_body_redeemables_item_result_loyalty_card.rb +209 -0
  2201. data/lib/VoucherifySdk/models/validity_hours.rb +212 -0
  2202. data/lib/VoucherifySdk/models/validity_hours_daily_item.rb +253 -0
  2203. data/lib/VoucherifySdk/models/validity_timeframe.rb +221 -0
  2204. data/lib/VoucherifySdk/models/voucher.rb +68 -75
  2205. data/lib/VoucherifySdk/models/voucher_assets.rb +4 -9
  2206. data/lib/VoucherifySdk/models/voucher_assets_barcode.rb +221 -0
  2207. data/lib/VoucherifySdk/models/voucher_assets_qr.rb +221 -0
  2208. data/lib/VoucherifySdk/models/voucher_gift.rb +3 -17
  2209. data/lib/VoucherifySdk/models/voucher_loyalty_card.rb +5 -8
  2210. data/lib/VoucherifySdk/models/voucher_publish.rb +6 -10
  2211. data/lib/VoucherifySdk/models/voucher_redemption.rb +8 -20
  2212. data/lib/VoucherifySdk/models/voucher_transaction.rb +7 -52
  2213. data/lib/VoucherifySdk/models/voucher_transaction_details.rb +11 -7
  2214. data/lib/VoucherifySdk/models/voucher_transaction_details_balance.rb +14 -73
  2215. data/lib/VoucherifySdk/models/voucher_transaction_details_balance_related_object.rb +4 -31
  2216. data/lib/VoucherifySdk/models/voucher_transaction_details_custom_event.rb +2 -21
  2217. data/lib/VoucherifySdk/models/voucher_transaction_details_earning_rule.rb +2 -21
  2218. data/lib/VoucherifySdk/models/voucher_transaction_details_earning_rule_source.rb +1 -14
  2219. data/lib/VoucherifySdk/models/voucher_transaction_details_event.rb +2 -21
  2220. data/lib/VoucherifySdk/models/voucher_transaction_details_event_schema.rb +2 -21
  2221. data/lib/VoucherifySdk/models/voucher_transaction_details_loyalty_tier.rb +2 -21
  2222. data/lib/VoucherifySdk/models/voucher_transaction_details_order.rb +3 -22
  2223. data/lib/VoucherifySdk/models/voucher_transaction_details_redemption.rb +1 -14
  2224. data/lib/VoucherifySdk/models/voucher_transaction_details_reward.rb +2 -21
  2225. data/lib/VoucherifySdk/models/voucher_transaction_details_rollback.rb +1 -14
  2226. data/lib/VoucherifySdk/models/voucher_transaction_details_segment.rb +2 -21
  2227. data/lib/VoucherifySdk/models/voucher_transactions_export_filter_conditions.rb +1 -14
  2228. data/lib/VoucherifySdk/models/voucher_transactions_export_filter_conditions_voucher_id.rb +2 -15
  2229. data/lib/VoucherifySdk/models/voucher_transactions_export_filter_conditions_voucher_id_conditions.rb +6 -37
  2230. data/lib/VoucherifySdk/models/voucher_transactions_export_parameters.rb +3 -18
  2231. data/lib/VoucherifySdk/models/voucher_transactions_filters.rb +3 -18
  2232. data/lib/VoucherifySdk/models/voucher_with_categories.rb +524 -0
  2233. data/lib/VoucherifySdk/models/voucher_with_categories_gift.rb +256 -0
  2234. data/lib/VoucherifySdk/models/voucher_with_categories_loyalty_card.rb +243 -0
  2235. data/lib/VoucherifySdk/models/voucher_with_categories_publish.rb +234 -0
  2236. data/lib/VoucherifySdk/models/voucher_with_categories_redemption.rb +256 -0
  2237. data/lib/VoucherifySdk/models/vouchers_balance_update_request_body.rb +4 -15
  2238. data/lib/VoucherifySdk/models/vouchers_balance_update_response_body.rb +8 -83
  2239. data/lib/VoucherifySdk/models/vouchers_balance_update_response_body_related_object.rb +2 -29
  2240. data/lib/VoucherifySdk/models/vouchers_create_response_body.rb +533 -0
  2241. data/lib/VoucherifySdk/models/vouchers_create_response_body_gift.rb +256 -0
  2242. data/lib/VoucherifySdk/models/vouchers_create_response_body_loyalty_card.rb +243 -0
  2243. data/lib/VoucherifySdk/models/vouchers_create_response_body_publish.rb +234 -0
  2244. data/lib/VoucherifySdk/models/vouchers_create_response_body_redemption.rb +256 -0
  2245. data/lib/VoucherifySdk/models/vouchers_create_with_specific_code_request_body.rb +410 -0
  2246. data/lib/VoucherifySdk/models/vouchers_create_with_specific_code_request_body_redemption.rb +209 -0
  2247. data/lib/VoucherifySdk/models/vouchers_disable_response_body.rb +71 -85
  2248. data/lib/VoucherifySdk/models/vouchers_disable_response_body_gift.rb +256 -0
  2249. data/lib/VoucherifySdk/models/vouchers_disable_response_body_loyalty_card.rb +243 -0
  2250. data/lib/VoucherifySdk/models/vouchers_disable_response_body_publish.rb +234 -0
  2251. data/lib/VoucherifySdk/models/vouchers_disable_response_body_redemption.rb +256 -0
  2252. data/lib/VoucherifySdk/models/vouchers_enable_response_body.rb +71 -85
  2253. data/lib/VoucherifySdk/models/vouchers_enable_response_body_gift.rb +256 -0
  2254. data/lib/VoucherifySdk/models/vouchers_enable_response_body_loyalty_card.rb +243 -0
  2255. data/lib/VoucherifySdk/models/vouchers_enable_response_body_publish.rb +234 -0
  2256. data/lib/VoucherifySdk/models/vouchers_enable_response_body_redemption.rb +256 -0
  2257. data/lib/VoucherifySdk/models/vouchers_get_response_body.rb +71 -85
  2258. data/lib/VoucherifySdk/models/vouchers_get_response_body_gift.rb +256 -0
  2259. data/lib/VoucherifySdk/models/vouchers_get_response_body_loyalty_card.rb +243 -0
  2260. data/lib/VoucherifySdk/models/vouchers_get_response_body_publish.rb +234 -0
  2261. data/lib/VoucherifySdk/models/vouchers_get_response_body_redemption.rb +256 -0
  2262. data/lib/VoucherifySdk/models/vouchers_import_create_item_request_body.rb +357 -0
  2263. data/lib/VoucherifySdk/models/vouchers_import_create_item_request_body_redemption.rb +209 -0
  2264. data/lib/VoucherifySdk/models/vouchers_import_create_response_body.rb +210 -0
  2265. data/lib/VoucherifySdk/models/vouchers_import_csv_create_response_body.rb +2 -22
  2266. data/lib/VoucherifySdk/models/vouchers_list_response_body.rb +275 -0
  2267. data/lib/VoucherifySdk/models/vouchers_metadata_update_in_bulk_request_body.rb +223 -0
  2268. data/lib/VoucherifySdk/models/vouchers_metadata_update_in_bulk_response_body.rb +210 -0
  2269. data/lib/VoucherifySdk/models/vouchers_redemption_get_response_body.rb +8 -43
  2270. data/lib/VoucherifySdk/models/vouchers_transactions_export_create_request_body.rb +1 -8
  2271. data/lib/VoucherifySdk/models/vouchers_transactions_export_create_response_body.rb +8 -84
  2272. data/lib/VoucherifySdk/models/vouchers_transactions_export_create_response_body_result.rb +210 -0
  2273. data/lib/VoucherifySdk/models/vouchers_transactions_list_response_body.rb +48 -38
  2274. data/lib/VoucherifySdk/models/vouchers_update_in_bulk_item_request_body.rb +220 -0
  2275. data/lib/VoucherifySdk/models/vouchers_update_in_bulk_response_body.rb +210 -0
  2276. data/lib/VoucherifySdk/models/vouchers_update_request_body.rb +365 -0
  2277. data/lib/VoucherifySdk/models/vouchers_update_response_body.rb +533 -0
  2278. data/lib/VoucherifySdk/models/vouchers_update_response_body_gift.rb +256 -0
  2279. data/lib/VoucherifySdk/models/vouchers_update_response_body_loyalty_card.rb +243 -0
  2280. data/lib/VoucherifySdk/models/vouchers_update_response_body_publish.rb +234 -0
  2281. data/lib/VoucherifySdk/models/vouchers_update_response_body_redemption.rb +256 -0
  2282. data/lib/VoucherifySdk/version.rb +1 -1
  2283. data/lib/VoucherifySdk.rb +769 -294
  2284. metadata +1649 -622
  2285. data/CHANGELOG.md +0 -33
  2286. data/__tests__/spec/1_products_spec.rb +0 -101
  2287. data/__tests__/spec/2_campaigns_spec.rb +0 -95
  2288. data/__tests__/spec/3_customers_spec.rb +0 -24
  2289. data/__tests__/spec/4_publications_spec.rb +0 -23
  2290. data/__tests__/spec/5_qualifications_spec.rb +0 -27
  2291. data/__tests__/spec/6_validations_spec.rb +0 -126
  2292. data/__tests__/spec/7_vouchers_spec.rb +0 -40
  2293. data/__tests__/spec/8_events_spec.rb +0 -16
  2294. data/__tests__/spec/9_redemptions_spec.rb +0 -14
  2295. data/__tests__/spec/a1_validation_rules_spec.rb +0 -33
  2296. data/docs/Any.md +0 -53
  2297. data/docs/ArrayInner.md +0 -51
  2298. data/docs/AsyncActions.md +0 -8
  2299. data/docs/CampaignBaseValidityTimeframe.md +0 -9
  2300. data/docs/CampaignsCreateBase.md +0 -23
  2301. data/docs/CampaignsCreateDiscountCouponsCampaign.md +0 -25
  2302. data/docs/CampaignsCreateGiftCampaign.md +0 -25
  2303. data/docs/CampaignsCreateGiveawayCampaign.md +0 -26
  2304. data/docs/CampaignsCreateLoyaltyCampaign.md +0 -25
  2305. data/docs/CampaignsCreatePromotionCampaign.md +0 -25
  2306. data/docs/CampaignsCreateReferralCampaign.md +0 -26
  2307. data/docs/CampaignsDisableResponseBody.md +0 -7
  2308. data/docs/CampaignsEnableResponseBody.md +0 -7
  2309. data/docs/CampaignsImportVoucherLoyaltyCard.md +0 -8
  2310. data/docs/CampaignsUpdateBase.md +0 -16
  2311. data/docs/CampaignsUpdateCouponCampaignBase.md +0 -20
  2312. data/docs/CampaignsUpdateDiscountCouponsCampaign.md +0 -21
  2313. data/docs/CampaignsUpdateGiftCampaign.md +0 -21
  2314. data/docs/CampaignsUpdateGiveawayCampaign.md +0 -23
  2315. data/docs/CampaignsUpdateLoyaltyCampaign.md +0 -22
  2316. data/docs/CampaignsUpdatePromotionCampaign.md +0 -16
  2317. data/docs/CampaignsUpdateReferralCampaign.md +0 -22
  2318. data/docs/CampaignsVouchersCreateBaseRequestBody.md +0 -13
  2319. data/docs/CampaignsVouchersCreateInBulkResponseBody.md +0 -8
  2320. data/docs/ClientQualificationsCheckEligibilityRequestBodyOptions.md +0 -12
  2321. data/docs/ClientQualificationsCheckEligibilityRequestBodyOptionsFilters.md +0 -14
  2322. data/docs/ClientRedemptionsRedeemRequestBodyAllOfOptions.md +0 -8
  2323. data/docs/ClientValidationsValidateRequestBodyAllOfOptions.md +0 -8
  2324. data/docs/CodeConfigRequiredLengthCharsetPattern.md +0 -13
  2325. data/docs/CreatePublicationBase.md +0 -10
  2326. data/docs/CreatePublicationWithCampaign.md +0 -11
  2327. data/docs/CreatePublicationWithSpecificVoucher.md +0 -11
  2328. data/docs/CustomEvent.md +0 -15
  2329. data/docs/CustomEventReferral.md +0 -10
  2330. data/docs/CustomerActivityData.md +0 -183
  2331. data/docs/CustomerBase.md +0 -15
  2332. data/docs/CustomerBaseAddress.md +0 -13
  2333. data/docs/CustomerLoyaltyCampaignsValue.md +0 -10
  2334. data/docs/CustomerResponseDataAssets.md +0 -8
  2335. data/docs/CustomerSegmentsList.md +0 -11
  2336. data/docs/DiscountAmount.md +0 -13
  2337. data/docs/DiscountAmountVouchersEffectTypes.md +0 -7
  2338. data/docs/DiscountCouponsCampaignVoucher.md +0 -11
  2339. data/docs/DiscountFixed.md +0 -12
  2340. data/docs/DiscountFixedVouchersEffectTypes.md +0 -7
  2341. data/docs/DiscountPercent.md +0 -14
  2342. data/docs/DiscountPercentVouchersEffectTypes.md +0 -7
  2343. data/docs/DiscountUnit.md +0 -15
  2344. data/docs/DiscountUnitMultiple.md +0 -10
  2345. data/docs/DiscountUnitVouchersEffectTypes.md +0 -7
  2346. data/docs/EarningRuleBase.md +0 -21
  2347. data/docs/EarningRuleBaseCustomEvent.md +0 -8
  2348. data/docs/EarningRuleBaseLoyalty.md +0 -49
  2349. data/docs/EarningRuleBaseSegment.md +0 -8
  2350. data/docs/EarningRuleBaseSource.md +0 -10
  2351. data/docs/EarningRuleBaseValidityTimeframe.md +0 -9
  2352. data/docs/EarningRuleEvent.md +0 -7
  2353. data/docs/EarningRuleFixed.md +0 -9
  2354. data/docs/EarningRuleProportional.md +0 -53
  2355. data/docs/EarningRuleProportionalCustomEvent.md +0 -10
  2356. data/docs/EarningRuleProportionalCustomEventCustomEvent.md +0 -8
  2357. data/docs/EarningRuleProportionalCustomEventCustomEventMetadata.md +0 -10
  2358. data/docs/EarningRuleProportionalCustomerMetadata.md +0 -10
  2359. data/docs/EarningRuleProportionalCustomerMetadataCustomer.md +0 -8
  2360. data/docs/EarningRuleProportionalCustomerMetadataCustomerMetadata.md +0 -10
  2361. data/docs/EarningRuleProportionalOrder.md +0 -51
  2362. data/docs/EarningRuleProportionalOrderAmount.md +0 -10
  2363. data/docs/EarningRuleProportionalOrderAmountOrder.md +0 -8
  2364. data/docs/EarningRuleProportionalOrderAmountOrderAmount.md +0 -9
  2365. data/docs/EarningRuleProportionalOrderItems.md +0 -51
  2366. data/docs/EarningRuleProportionalOrderItemsAmount.md +0 -10
  2367. data/docs/EarningRuleProportionalOrderItemsAmountOrderItems.md +0 -8
  2368. data/docs/EarningRuleProportionalOrderItemsAmountOrderItemsAmount.md +0 -11
  2369. data/docs/EarningRuleProportionalOrderItemsQuantity.md +0 -10
  2370. data/docs/EarningRuleProportionalOrderItemsQuantityOrderItems.md +0 -8
  2371. data/docs/EarningRuleProportionalOrderItemsSubtotalAmount.md +0 -10
  2372. data/docs/EarningRuleProportionalOrderItemsSubtotalAmountOrderItems.md +0 -8
  2373. data/docs/EarningRuleProportionalOrderMetadata.md +0 -10
  2374. data/docs/EarningRuleProportionalOrderMetadataOrder.md +0 -8
  2375. data/docs/EarningRuleProportionalOrderMetadataOrderMetadata.md +0 -10
  2376. data/docs/EarningRuleProportionalOrderTotalAmount.md +0 -10
  2377. data/docs/EarningRuleProportionalOrderTotalAmountOrder.md +0 -8
  2378. data/docs/EventCustomerActiveCampaignFailed.md +0 -10
  2379. data/docs/EventCustomerActiveCampaignRecovered.md +0 -10
  2380. data/docs/EventCustomerActiveCampaignSent.md +0 -10
  2381. data/docs/EventCustomerBatchFailed.md +0 -10
  2382. data/docs/EventCustomerBatchRecovered.md +0 -10
  2383. data/docs/EventCustomerBatchSent.md +0 -10
  2384. data/docs/EventCustomerBrazeFailed.md +0 -10
  2385. data/docs/EventCustomerBrazeRecovered.md +0 -10
  2386. data/docs/EventCustomerBrazeSent.md +0 -10
  2387. data/docs/EventCustomerConfirmed.md +0 -9
  2388. data/docs/EventCustomerConfirmedUnconfirmedCustomer.md +0 -8
  2389. data/docs/EventCustomerConsents.md +0 -9
  2390. data/docs/EventCustomerConsentsGiven.md +0 -9
  2391. data/docs/EventCustomerConsentsRevoked.md +0 -9
  2392. data/docs/EventCustomerCreated.md +0 -8
  2393. data/docs/EventCustomerCustomEvent.md +0 -8
  2394. data/docs/EventCustomerDeleted.md +0 -8
  2395. data/docs/EventCustomerEmailFailed.md +0 -10
  2396. data/docs/EventCustomerEmailRecovered.md +0 -10
  2397. data/docs/EventCustomerEmailSent.md +0 -10
  2398. data/docs/EventCustomerFailed.md +0 -10
  2399. data/docs/EventCustomerGiftVoucherBalanceAdded.md +0 -12
  2400. data/docs/EventCustomerIntercomFailed.md +0 -10
  2401. data/docs/EventCustomerIntercomRecovered.md +0 -10
  2402. data/docs/EventCustomerIntercomSent.md +0 -10
  2403. data/docs/EventCustomerKlaviyoFailed.md +0 -10
  2404. data/docs/EventCustomerKlaviyoRecovered.md +0 -10
  2405. data/docs/EventCustomerKlaviyoSent.md +0 -10
  2406. data/docs/EventCustomerLoyaltyCardPointsAdded.md +0 -12
  2407. data/docs/EventCustomerLoyaltyCardPointsTransferred.md +0 -14
  2408. data/docs/EventCustomerLoyaltyTierBase.md +0 -9
  2409. data/docs/EventCustomerLoyaltyTierDowngraded.md +0 -12
  2410. data/docs/EventCustomerLoyaltyTierExpirationChanged.md +0 -12
  2411. data/docs/EventCustomerLoyaltyTierJoined.md +0 -11
  2412. data/docs/EventCustomerLoyaltyTierLeft.md +0 -11
  2413. data/docs/EventCustomerLoyaltyTierProlonged.md +0 -11
  2414. data/docs/EventCustomerLoyaltyTierUpgraded.md +0 -12
  2415. data/docs/EventCustomerLoyaltyUpdated.md +0 -11
  2416. data/docs/EventCustomerMailchimpFailed.md +0 -10
  2417. data/docs/EventCustomerMailchimpRecovered.md +0 -10
  2418. data/docs/EventCustomerMailchimpSent.md +0 -10
  2419. data/docs/EventCustomerOrder.md +0 -11
  2420. data/docs/EventCustomerOrderCanceled.md +0 -11
  2421. data/docs/EventCustomerOrderCreated.md +0 -11
  2422. data/docs/EventCustomerOrderFulfilled.md +0 -11
  2423. data/docs/EventCustomerOrderPaid.md +0 -11
  2424. data/docs/EventCustomerOrderProcessing.md +0 -11
  2425. data/docs/EventCustomerOrderUpdated.md +0 -11
  2426. data/docs/EventCustomerPublicationFailed.md +0 -10
  2427. data/docs/EventCustomerPublicationSucceeded.md +0 -10
  2428. data/docs/EventCustomerRecovered.md +0 -10
  2429. data/docs/EventCustomerRedemption.md +0 -14
  2430. data/docs/EventCustomerRedemptionFailed.md +0 -14
  2431. data/docs/EventCustomerRedemptionRollbackFailed.md +0 -15
  2432. data/docs/EventCustomerRedemptionRollbackSucceeded.md +0 -15
  2433. data/docs/EventCustomerRedemptionSucceeded.md +0 -14
  2434. data/docs/EventCustomerReferred.md +0 -13
  2435. data/docs/EventCustomerRewardRedemptions.md +0 -16
  2436. data/docs/EventCustomerRewardRedemptionsCompleted.md +0 -16
  2437. data/docs/EventCustomerRewardRedemptionsCreated.md +0 -16
  2438. data/docs/EventCustomerRewardRedemptionsPending.md +0 -16
  2439. data/docs/EventCustomerRewardRedemptionsRolledBack.md +0 -16
  2440. data/docs/EventCustomerRewarded.md +0 -17
  2441. data/docs/EventCustomerRewardedLoyaltyPoints.md +0 -16
  2442. data/docs/EventCustomerSegmentEntered.md +0 -9
  2443. data/docs/EventCustomerSegmentLeft.md +0 -9
  2444. data/docs/EventCustomerSent.md +0 -10
  2445. data/docs/EventCustomerShopifyFailed.md +0 -10
  2446. data/docs/EventCustomerShopifyRecovered.md +0 -10
  2447. data/docs/EventCustomerShopifySent.md +0 -10
  2448. data/docs/EventCustomerSmsFailed.md +0 -10
  2449. data/docs/EventCustomerSmsRecovered.md +0 -10
  2450. data/docs/EventCustomerSmsSent.md +0 -10
  2451. data/docs/EventCustomerUpdated.md +0 -8
  2452. data/docs/EventCustomerValidationFailed.md +0 -9
  2453. data/docs/EventCustomerValidationSucceeded.md +0 -9
  2454. data/docs/EventCustomerVoucherDeleted.md +0 -10
  2455. data/docs/EventCustomerVouchersLoyaltyPointsExpired.md +0 -13
  2456. data/docs/ExportBase.md +0 -14
  2457. data/docs/ExportBaseResult.md +0 -8
  2458. data/docs/ExportCustomer.md +0 -16
  2459. data/docs/ExportCustomerBase.md +0 -9
  2460. data/docs/ExportCustomerBaseParameters.md +0 -10
  2461. data/docs/ExportCustomerFields.md +0 -7
  2462. data/docs/ExportCustomerFilters.md +0 -38
  2463. data/docs/ExportCustomerOrder.md +0 -7
  2464. data/docs/ExportCustomerScheduled.md +0 -16
  2465. data/docs/ExportOrder.md +0 -16
  2466. data/docs/ExportOrderBase.md +0 -9
  2467. data/docs/ExportOrderFilters.md +0 -21
  2468. data/docs/ExportOrderScheduled.md +0 -16
  2469. data/docs/ExportPointsExpiration.md +0 -16
  2470. data/docs/ExportPointsExpirationBase.md +0 -9
  2471. data/docs/ExportPointsExpirationBaseParameters.md +0 -10
  2472. data/docs/ExportPointsExpirationFields.md +0 -7
  2473. data/docs/ExportPointsExpirationFilters.md +0 -10
  2474. data/docs/ExportPointsExpirationOrder.md +0 -7
  2475. data/docs/ExportPointsExpirationScheduled.md +0 -16
  2476. data/docs/ExportPublication.md +0 -16
  2477. data/docs/ExportPublicationBase.md +0 -9
  2478. data/docs/ExportPublicationBaseParameters.md +0 -10
  2479. data/docs/ExportPublicationFields.md +0 -7
  2480. data/docs/ExportPublicationFilters.md +0 -16
  2481. data/docs/ExportPublicationOrder.md +0 -7
  2482. data/docs/ExportPublicationScheduled.md +0 -16
  2483. data/docs/ExportRedemption.md +0 -16
  2484. data/docs/ExportRedemptionBase.md +0 -9
  2485. data/docs/ExportRedemptionBaseParameters.md +0 -10
  2486. data/docs/ExportRedemptionFields.md +0 -7
  2487. data/docs/ExportRedemptionFilters.md +0 -25
  2488. data/docs/ExportRedemptionOrder.md +0 -7
  2489. data/docs/ExportRedemptionScheduled.md +0 -16
  2490. data/docs/ExportScheduledBase.md +0 -14
  2491. data/docs/ExportVoucher.md +0 -16
  2492. data/docs/ExportVoucherBase.md +0 -9
  2493. data/docs/ExportVoucherBaseParameters.md +0 -10
  2494. data/docs/ExportVoucherFields.md +0 -7
  2495. data/docs/ExportVoucherFilters.md +0 -38
  2496. data/docs/ExportVoucherOrder.md +0 -7
  2497. data/docs/ExportVoucherScheduled.md +0 -16
  2498. data/docs/ExportVoucherTransactions.md +0 -16
  2499. data/docs/ExportVoucherTransactionsBase.md +0 -9
  2500. data/docs/ExportVoucherTransactionsScheduled.md +0 -16
  2501. data/docs/GiftCampaignVoucher.md +0 -11
  2502. data/docs/GiveawayCampaignVoucher.md +0 -12
  2503. data/docs/ListPublicationsItemBase.md +0 -17
  2504. data/docs/ListPublicationsItemInvalid.md +0 -20
  2505. data/docs/ListPublicationsItemValidMultipleVouchers.md +0 -19
  2506. data/docs/ListPublicationsItemValidSingleVoucher.md +0 -19
  2507. data/docs/LoyaltiesMembersTransfersCreateResponseBodyValidityTimeframe.md +0 -9
  2508. data/docs/LoyaltyTierAllOfConfig.md +0 -8
  2509. data/docs/LoyaltyTierAllOfConfigPoints.md +0 -9
  2510. data/docs/LuckyDraw.md +0 -10
  2511. data/docs/MappingFixed.md +0 -9
  2512. data/docs/MappingMultiply.md +0 -9
  2513. data/docs/OrderBase.md +0 -17
  2514. data/docs/OrderCalculatedBase.md +0 -27
  2515. data/docs/OrderCalculatedCustomer.md +0 -49
  2516. data/docs/OrderCalculatedNoCustomerData.md +0 -29
  2517. data/docs/OrderCalculatedReferrer.md +0 -49
  2518. data/docs/OrderItemCalculated.md +0 -25
  2519. data/docs/OrderRedemptions.md +0 -15
  2520. data/docs/ProductCollectionsCreateDynamicRequestBody.md +0 -10
  2521. data/docs/ProductCollectionsCreateDynamicRequestBodyFilter.md +0 -20
  2522. data/docs/ProductCollectionsCreateDynamicRequestBodyProductsItem.md +0 -10
  2523. data/docs/ProductCollectionsCreateStaticRequestBody.md +0 -10
  2524. data/docs/ProductCollectionsList.md +0 -11
  2525. data/docs/ProductCollectionsProductsList.md +0 -11
  2526. data/docs/ProductCollectionsProductsListProductsItem.md +0 -49
  2527. data/docs/PromotionTierCampaignValidityTimeframe.md +0 -9
  2528. data/docs/PromotionTierValidityTimeframe.md +0 -9
  2529. data/docs/PropertiesForLoyaltyCampaignOptions.md +0 -8
  2530. data/docs/PublicationsCreateBaseResponseBody.md +0 -18
  2531. data/docs/PublicationsCreateVoucherResponseBody.md +0 -19
  2532. data/docs/PublicationsCreateVouchersResponseBody.md +0 -19
  2533. data/docs/QualificationsStackingRules.md +0 -12
  2534. data/docs/RedeemGiftCard.md +0 -10
  2535. data/docs/RedeemGiftCardAllOfGift.md +0 -8
  2536. data/docs/RedeemLoyaltyCard.md +0 -10
  2537. data/docs/RedeemLoyaltyCardAllOfReward.md +0 -9
  2538. data/docs/RedeemPromotionStack.md +0 -9
  2539. data/docs/RedeemPromotionTier.md +0 -9
  2540. data/docs/RedeemVoucher.md +0 -9
  2541. data/docs/RedeemableResultGiftCard.md +0 -8
  2542. data/docs/RedeemableResultGiftCardGift.md +0 -8
  2543. data/docs/RedeemableResultLoyaltyCard.md +0 -8
  2544. data/docs/RedeemableResultLoyaltyCardLoyaltyCard.md +0 -8
  2545. data/docs/RedeemableResultPromotionStack.md +0 -8
  2546. data/docs/RedeemableResultPromotionTier.md +0 -8
  2547. data/docs/RedeemableResultPromotionTierDiscount.md +0 -55
  2548. data/docs/RedeemableResultVoucherCode.md +0 -8
  2549. data/docs/RedemptionInternal.md +0 -34
  2550. data/docs/RedemptionInternalRelatedRedemptions.md +0 -9
  2551. data/docs/RedemptionInternalRelatedRedemptionsItem.md +0 -9
  2552. data/docs/RedemptionInternalRelatedRedemptionsRollbacksItem.md +0 -9
  2553. data/docs/RedemptionRelatedRedemptionsItem.md +0 -9
  2554. data/docs/RedemptionRewardResultProduct.md +0 -18
  2555. data/docs/RedemptionRewardResultSku.md +0 -19
  2556. data/docs/RedemptionRewardResultVoucher.md +0 -37
  2557. data/docs/RedemptionRollbackRelatedRedemptionsItem.md +0 -9
  2558. data/docs/ReferralCampaignVoucher.md +0 -12
  2559. data/docs/ReferrerWithSummaryLoyaltyReferrals.md +0 -25
  2560. data/docs/RewardAssignmentBase.md +0 -14
  2561. data/docs/RewardAssignmentParametersParameters.md +0 -8
  2562. data/docs/RewardAssignmentParametersParametersLoyalty.md +0 -8
  2563. data/docs/RewardAssignmentsCreateCoinRewardRequestBody.md +0 -9
  2564. data/docs/RewardAssignmentsCreateDigitalOrMaterialRewardRequestBody.md +0 -9
  2565. data/docs/RewardAssignmentsCreateDigitalOrMaterialRewardRequestBodyParameters.md +0 -8
  2566. data/docs/RewardAssignmentsCreateDigitalOrMaterialRewardRequestBodyParametersLoyalty.md +0 -8
  2567. data/docs/RewardTypeCampaignCampaign.md +0 -10
  2568. data/docs/RewardTypeCoinCoin.md +0 -9
  2569. data/docs/RewardTypeMaterial.md +0 -8
  2570. data/docs/RewardTypeMaterialProduct.md +0 -9
  2571. data/docs/SchemaThatContainsUniquePropertiesForPromotionCampaignPromotion.md +0 -8
  2572. data/docs/SimpleCampaign.md +0 -20
  2573. data/docs/SimpleConsent.md +0 -10
  2574. data/docs/SimpleOrder.md +0 -23
  2575. data/docs/SimpleOrderItem.md +0 -18
  2576. data/docs/SimpleProduct.md +0 -10
  2577. data/docs/SimplePromotionTier.md +0 -11
  2578. data/docs/SimplePromotionTierCampaign.md +0 -8
  2579. data/docs/SimpleRedemption.md +0 -20
  2580. data/docs/SimpleRedemptionRewardResult.md +0 -20
  2581. data/docs/SimpleReferralTier.md +0 -11
  2582. data/docs/SimpleSku.md +0 -10
  2583. data/docs/SkuWithProduct.md +0 -20
  2584. data/docs/SkusList.md +0 -11
  2585. data/docs/StackableDiscountsApi.md +0 -412
  2586. data/docs/StackableValidateRedeemBase.md +0 -13
  2587. data/docs/StackableValidateRedeemBaseRedeemablesItem.md +0 -55
  2588. data/docs/ValidationEntity.md +0 -15
  2589. data/docs/ValidationRuleBase.md +0 -13
  2590. data/docs/ValidationRuleBaseApplicableTo.md +0 -10
  2591. data/docs/ValidationRuleBaseError.md +0 -8
  2592. data/docs/ValidationsRedeemableApplicable.md +0 -16
  2593. data/docs/ValidationsRedeemableApplicableResult.md +0 -55
  2594. data/docs/ValidationsValidateAllResponseBody.md +0 -13
  2595. data/docs/ValidationsValidateAllResponseBodyRedeemablesItem.md +0 -51
  2596. data/docs/ValidationsValidatePartialResponseBody.md +0 -14
  2597. data/docs/VoucherTransactionsExport.md +0 -16
  2598. data/docs/VoucherTransactionsExportResult.md +0 -8
  2599. data/docs/VoucherValidityTimeframe.md +0 -9
  2600. data/docs/VouchersRedemptionGetResponseBodyRedemptionEntriesItem.md +0 -49
  2601. data/lib/VoucherifySdk/models/any.rb +0 -107
  2602. data/lib/VoucherifySdk/models/array_inner.rb +0 -106
  2603. data/lib/VoucherifySdk/models/async_actions.rb +0 -223
  2604. data/lib/VoucherifySdk/models/campaign_base_validity_timeframe.rb +0 -226
  2605. data/lib/VoucherifySdk/models/campaigns_create_base.rb +0 -422
  2606. data/lib/VoucherifySdk/models/campaigns_create_discount_coupons_campaign.rb +0 -461
  2607. data/lib/VoucherifySdk/models/campaigns_create_gift_campaign.rb +0 -461
  2608. data/lib/VoucherifySdk/models/campaigns_create_giveaway_campaign.rb +0 -470
  2609. data/lib/VoucherifySdk/models/campaigns_create_loyalty_campaign.rb +0 -461
  2610. data/lib/VoucherifySdk/models/campaigns_create_promotion_campaign.rb +0 -461
  2611. data/lib/VoucherifySdk/models/campaigns_create_referral_campaign.rb +0 -470
  2612. data/lib/VoucherifySdk/models/campaigns_disable_response_body.rb +0 -206
  2613. data/lib/VoucherifySdk/models/campaigns_enable_response_body.rb +0 -206
  2614. data/lib/VoucherifySdk/models/campaigns_import_voucher_loyalty_card.rb +0 -223
  2615. data/lib/VoucherifySdk/models/campaigns_update_base.rb +0 -300
  2616. data/lib/VoucherifySdk/models/campaigns_update_coupon_campaign_base.rb +0 -381
  2617. data/lib/VoucherifySdk/models/campaigns_update_discount_coupons_campaign.rb +0 -389
  2618. data/lib/VoucherifySdk/models/campaigns_update_gift_campaign.rb +0 -389
  2619. data/lib/VoucherifySdk/models/campaigns_update_giveaway_campaign.rb +0 -420
  2620. data/lib/VoucherifySdk/models/campaigns_update_loyalty_campaign.rb +0 -398
  2621. data/lib/VoucherifySdk/models/campaigns_update_promotion_campaign.rb +0 -306
  2622. data/lib/VoucherifySdk/models/campaigns_update_referral_campaign.rb +0 -398
  2623. data/lib/VoucherifySdk/models/campaigns_vouchers_create_base_request_body.rb +0 -264
  2624. data/lib/VoucherifySdk/models/campaigns_vouchers_create_in_bulk_response_body.rb +0 -230
  2625. data/lib/VoucherifySdk/models/client_redemptions_redeem_request_body_all_of_options.rb +0 -240
  2626. data/lib/VoucherifySdk/models/client_validations_validate_request_body_all_of_options.rb +0 -240
  2627. data/lib/VoucherifySdk/models/code_config_required_length_charset_pattern.rb +0 -293
  2628. data/lib/VoucherifySdk/models/create_publication_base.rb +0 -242
  2629. data/lib/VoucherifySdk/models/create_publication_with_campaign.rb +0 -265
  2630. data/lib/VoucherifySdk/models/create_publication_with_specific_voucher.rb +0 -266
  2631. data/lib/VoucherifySdk/models/custom_event.rb +0 -351
  2632. data/lib/VoucherifySdk/models/custom_event_referral.rb +0 -236
  2633. data/lib/VoucherifySdk/models/customer_activity_data.rb +0 -173
  2634. data/lib/VoucherifySdk/models/customer_base.rb +0 -285
  2635. data/lib/VoucherifySdk/models/customer_base_address.rb +0 -266
  2636. data/lib/VoucherifySdk/models/customer_loyalty_campaigns_value.rb +0 -236
  2637. data/lib/VoucherifySdk/models/customer_response_data_assets.rb +0 -216
  2638. data/lib/VoucherifySdk/models/customer_segments_list.rb +0 -276
  2639. data/lib/VoucherifySdk/models/discount_amount.rb +0 -311
  2640. data/lib/VoucherifySdk/models/discount_amount_vouchers_effect_types.rb +0 -43
  2641. data/lib/VoucherifySdk/models/discount_coupons_campaign_voucher.rb +0 -290
  2642. data/lib/VoucherifySdk/models/discount_fixed.rb +0 -301
  2643. data/lib/VoucherifySdk/models/discount_fixed_vouchers_effect_types.rb +0 -40
  2644. data/lib/VoucherifySdk/models/discount_percent.rb +0 -321
  2645. data/lib/VoucherifySdk/models/discount_percent_vouchers_effect_types.rb +0 -40
  2646. data/lib/VoucherifySdk/models/discount_unit.rb +0 -329
  2647. data/lib/VoucherifySdk/models/discount_unit_multiple.rb +0 -298
  2648. data/lib/VoucherifySdk/models/discount_unit_vouchers_effect_types.rb +0 -41
  2649. data/lib/VoucherifySdk/models/earning_rule_base.rb +0 -424
  2650. data/lib/VoucherifySdk/models/earning_rule_base_custom_event.rb +0 -221
  2651. data/lib/VoucherifySdk/models/earning_rule_base_loyalty.rb +0 -105
  2652. data/lib/VoucherifySdk/models/earning_rule_base_segment.rb +0 -223
  2653. data/lib/VoucherifySdk/models/earning_rule_base_source.rb +0 -284
  2654. data/lib/VoucherifySdk/models/earning_rule_base_validity_timeframe.rb +0 -240
  2655. data/lib/VoucherifySdk/models/earning_rule_event.rb +0 -46
  2656. data/lib/VoucherifySdk/models/earning_rule_fixed.rb +0 -261
  2657. data/lib/VoucherifySdk/models/earning_rule_proportional.rb +0 -107
  2658. data/lib/VoucherifySdk/models/earning_rule_proportional_custom_event.rb +0 -301
  2659. data/lib/VoucherifySdk/models/earning_rule_proportional_custom_event_custom_event.rb +0 -221
  2660. data/lib/VoucherifySdk/models/earning_rule_proportional_custom_event_custom_event_metadata.rb +0 -257
  2661. data/lib/VoucherifySdk/models/earning_rule_proportional_customer_metadata.rb +0 -301
  2662. data/lib/VoucherifySdk/models/earning_rule_proportional_customer_metadata_customer.rb +0 -221
  2663. data/lib/VoucherifySdk/models/earning_rule_proportional_customer_metadata_customer_metadata.rb +0 -257
  2664. data/lib/VoucherifySdk/models/earning_rule_proportional_order.rb +0 -106
  2665. data/lib/VoucherifySdk/models/earning_rule_proportional_order_amount.rb +0 -301
  2666. data/lib/VoucherifySdk/models/earning_rule_proportional_order_amount_order.rb +0 -221
  2667. data/lib/VoucherifySdk/models/earning_rule_proportional_order_amount_order_amount.rb +0 -240
  2668. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items.rb +0 -106
  2669. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_amount.rb +0 -301
  2670. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_amount_order_items.rb +0 -221
  2671. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_amount_order_items_amount.rb +0 -308
  2672. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_quantity.rb +0 -301
  2673. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_quantity_order_items.rb +0 -221
  2674. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_subtotal_amount.rb +0 -301
  2675. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_subtotal_amount_order_items.rb +0 -221
  2676. data/lib/VoucherifySdk/models/earning_rule_proportional_order_metadata.rb +0 -301
  2677. data/lib/VoucherifySdk/models/earning_rule_proportional_order_metadata_order.rb +0 -222
  2678. data/lib/VoucherifySdk/models/earning_rule_proportional_order_metadata_order_metadata.rb +0 -257
  2679. data/lib/VoucherifySdk/models/earning_rule_proportional_order_total_amount.rb +0 -301
  2680. data/lib/VoucherifySdk/models/earning_rule_proportional_order_total_amount_order.rb +0 -221
  2681. data/lib/VoucherifySdk/models/event_customer_active_campaign_failed.rb +0 -248
  2682. data/lib/VoucherifySdk/models/event_customer_active_campaign_recovered.rb +0 -248
  2683. data/lib/VoucherifySdk/models/event_customer_active_campaign_sent.rb +0 -248
  2684. data/lib/VoucherifySdk/models/event_customer_batch_failed.rb +0 -248
  2685. data/lib/VoucherifySdk/models/event_customer_batch_recovered.rb +0 -248
  2686. data/lib/VoucherifySdk/models/event_customer_batch_sent.rb +0 -248
  2687. data/lib/VoucherifySdk/models/event_customer_braze_failed.rb +0 -248
  2688. data/lib/VoucherifySdk/models/event_customer_braze_recovered.rb +0 -248
  2689. data/lib/VoucherifySdk/models/event_customer_braze_sent.rb +0 -248
  2690. data/lib/VoucherifySdk/models/event_customer_confirmed.rb +0 -224
  2691. data/lib/VoucherifySdk/models/event_customer_confirmed_unconfirmed_customer.rb +0 -214
  2692. data/lib/VoucherifySdk/models/event_customer_consents.rb +0 -225
  2693. data/lib/VoucherifySdk/models/event_customer_consents_given.rb +0 -233
  2694. data/lib/VoucherifySdk/models/event_customer_consents_revoked.rb +0 -233
  2695. data/lib/VoucherifySdk/models/event_customer_created.rb +0 -215
  2696. data/lib/VoucherifySdk/models/event_customer_custom_event.rb +0 -222
  2697. data/lib/VoucherifySdk/models/event_customer_deleted.rb +0 -215
  2698. data/lib/VoucherifySdk/models/event_customer_email_failed.rb +0 -248
  2699. data/lib/VoucherifySdk/models/event_customer_email_recovered.rb +0 -248
  2700. data/lib/VoucherifySdk/models/event_customer_email_sent.rb +0 -248
  2701. data/lib/VoucherifySdk/models/event_customer_failed.rb +0 -240
  2702. data/lib/VoucherifySdk/models/event_customer_gift_voucher_balance_added.rb +0 -251
  2703. data/lib/VoucherifySdk/models/event_customer_intercom_failed.rb +0 -248
  2704. data/lib/VoucherifySdk/models/event_customer_intercom_recovered.rb +0 -248
  2705. data/lib/VoucherifySdk/models/event_customer_intercom_sent.rb +0 -248
  2706. data/lib/VoucherifySdk/models/event_customer_klaviyo_failed.rb +0 -248
  2707. data/lib/VoucherifySdk/models/event_customer_klaviyo_recovered.rb +0 -248
  2708. data/lib/VoucherifySdk/models/event_customer_klaviyo_sent.rb +0 -248
  2709. data/lib/VoucherifySdk/models/event_customer_loyalty_card_points_added.rb +0 -251
  2710. data/lib/VoucherifySdk/models/event_customer_loyalty_card_points_transferred.rb +0 -269
  2711. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_base.rb +0 -223
  2712. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_downgraded.rb +0 -279
  2713. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_expiration_changed.rb +0 -279
  2714. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_joined.rb +0 -263
  2715. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_left.rb +0 -263
  2716. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_prolonged.rb +0 -263
  2717. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_upgraded.rb +0 -272
  2718. data/lib/VoucherifySdk/models/event_customer_loyalty_updated.rb +0 -249
  2719. data/lib/VoucherifySdk/models/event_customer_mailchimp_failed.rb +0 -248
  2720. data/lib/VoucherifySdk/models/event_customer_mailchimp_recovered.rb +0 -248
  2721. data/lib/VoucherifySdk/models/event_customer_mailchimp_sent.rb +0 -248
  2722. data/lib/VoucherifySdk/models/event_customer_order.rb +0 -241
  2723. data/lib/VoucherifySdk/models/event_customer_order_canceled.rb +0 -249
  2724. data/lib/VoucherifySdk/models/event_customer_order_created.rb +0 -249
  2725. data/lib/VoucherifySdk/models/event_customer_order_fulfilled.rb +0 -249
  2726. data/lib/VoucherifySdk/models/event_customer_order_paid.rb +0 -249
  2727. data/lib/VoucherifySdk/models/event_customer_order_processing.rb +0 -249
  2728. data/lib/VoucherifySdk/models/event_customer_order_updated.rb +0 -249
  2729. data/lib/VoucherifySdk/models/event_customer_publication_failed.rb +0 -233
  2730. data/lib/VoucherifySdk/models/event_customer_publication_succeeded.rb +0 -233
  2731. data/lib/VoucherifySdk/models/event_customer_recovered.rb +0 -240
  2732. data/lib/VoucherifySdk/models/event_customer_redemption.rb +0 -268
  2733. data/lib/VoucherifySdk/models/event_customer_redemption_failed.rb +0 -276
  2734. data/lib/VoucherifySdk/models/event_customer_redemption_rollback_failed.rb +0 -285
  2735. data/lib/VoucherifySdk/models/event_customer_redemption_rollback_succeeded.rb +0 -285
  2736. data/lib/VoucherifySdk/models/event_customer_redemption_succeeded.rb +0 -276
  2737. data/lib/VoucherifySdk/models/event_customer_referred.rb +0 -288
  2738. data/lib/VoucherifySdk/models/event_customer_reward_redemptions.rb +0 -286
  2739. data/lib/VoucherifySdk/models/event_customer_reward_redemptions_completed.rb +0 -294
  2740. data/lib/VoucherifySdk/models/event_customer_reward_redemptions_created.rb +0 -294
  2741. data/lib/VoucherifySdk/models/event_customer_reward_redemptions_pending.rb +0 -294
  2742. data/lib/VoucherifySdk/models/event_customer_reward_redemptions_rolled_back.rb +0 -294
  2743. data/lib/VoucherifySdk/models/event_customer_rewarded.rb +0 -296
  2744. data/lib/VoucherifySdk/models/event_customer_rewarded_loyalty_points.rb +0 -287
  2745. data/lib/VoucherifySdk/models/event_customer_segment_entered.rb +0 -238
  2746. data/lib/VoucherifySdk/models/event_customer_segment_left.rb +0 -238
  2747. data/lib/VoucherifySdk/models/event_customer_sent.rb +0 -240
  2748. data/lib/VoucherifySdk/models/event_customer_shopify_failed.rb +0 -248
  2749. data/lib/VoucherifySdk/models/event_customer_shopify_recovered.rb +0 -248
  2750. data/lib/VoucherifySdk/models/event_customer_shopify_sent.rb +0 -248
  2751. data/lib/VoucherifySdk/models/event_customer_sms_failed.rb +0 -248
  2752. data/lib/VoucherifySdk/models/event_customer_sms_recovered.rb +0 -248
  2753. data/lib/VoucherifySdk/models/event_customer_sms_sent.rb +0 -248
  2754. data/lib/VoucherifySdk/models/event_customer_updated.rb +0 -215
  2755. data/lib/VoucherifySdk/models/event_customer_validation_failed.rb +0 -224
  2756. data/lib/VoucherifySdk/models/event_customer_validation_succeeded.rb +0 -224
  2757. data/lib/VoucherifySdk/models/event_customer_voucher_deleted.rb +0 -233
  2758. data/lib/VoucherifySdk/models/event_customer_vouchers_loyalty_points_expired.rb +0 -262
  2759. data/lib/VoucherifySdk/models/export_base.rb +0 -354
  2760. data/lib/VoucherifySdk/models/export_base_result.rb +0 -223
  2761. data/lib/VoucherifySdk/models/export_customer.rb +0 -400
  2762. data/lib/VoucherifySdk/models/export_customer_base.rb +0 -265
  2763. data/lib/VoucherifySdk/models/export_customer_base_parameters.rb +0 -259
  2764. data/lib/VoucherifySdk/models/export_customer_fields.rb +0 -68
  2765. data/lib/VoucherifySdk/models/export_customer_order.rb +0 -50
  2766. data/lib/VoucherifySdk/models/export_customer_scheduled.rb +0 -405
  2767. data/lib/VoucherifySdk/models/export_order.rb +0 -400
  2768. data/lib/VoucherifySdk/models/export_order_base.rb +0 -265
  2769. data/lib/VoucherifySdk/models/export_order_scheduled.rb +0 -405
  2770. data/lib/VoucherifySdk/models/export_points_expiration.rb +0 -400
  2771. data/lib/VoucherifySdk/models/export_points_expiration_base.rb +0 -265
  2772. data/lib/VoucherifySdk/models/export_points_expiration_base_parameters.rb +0 -258
  2773. data/lib/VoucherifySdk/models/export_points_expiration_fields.rb +0 -44
  2774. data/lib/VoucherifySdk/models/export_points_expiration_filters.rb +0 -254
  2775. data/lib/VoucherifySdk/models/export_points_expiration_order.rb +0 -40
  2776. data/lib/VoucherifySdk/models/export_points_expiration_scheduled.rb +0 -405
  2777. data/lib/VoucherifySdk/models/export_publication.rb +0 -400
  2778. data/lib/VoucherifySdk/models/export_publication_base.rb +0 -265
  2779. data/lib/VoucherifySdk/models/export_publication_base_parameters.rb +0 -259
  2780. data/lib/VoucherifySdk/models/export_publication_fields.rb +0 -46
  2781. data/lib/VoucherifySdk/models/export_publication_order.rb +0 -50
  2782. data/lib/VoucherifySdk/models/export_publication_scheduled.rb +0 -405
  2783. data/lib/VoucherifySdk/models/export_redemption.rb +0 -400
  2784. data/lib/VoucherifySdk/models/export_redemption_base.rb +0 -265
  2785. data/lib/VoucherifySdk/models/export_redemption_base_parameters.rb +0 -259
  2786. data/lib/VoucherifySdk/models/export_redemption_fields.rb +0 -55
  2787. data/lib/VoucherifySdk/models/export_redemption_order.rb +0 -48
  2788. data/lib/VoucherifySdk/models/export_redemption_scheduled.rb +0 -405
  2789. data/lib/VoucherifySdk/models/export_scheduled_base.rb +0 -359
  2790. data/lib/VoucherifySdk/models/export_voucher.rb +0 -400
  2791. data/lib/VoucherifySdk/models/export_voucher_base.rb +0 -265
  2792. data/lib/VoucherifySdk/models/export_voucher_base_parameters.rb +0 -258
  2793. data/lib/VoucherifySdk/models/export_voucher_fields.rb +0 -68
  2794. data/lib/VoucherifySdk/models/export_voucher_order.rb +0 -44
  2795. data/lib/VoucherifySdk/models/export_voucher_scheduled.rb +0 -405
  2796. data/lib/VoucherifySdk/models/export_voucher_transactions.rb +0 -400
  2797. data/lib/VoucherifySdk/models/export_voucher_transactions_base.rb +0 -265
  2798. data/lib/VoucherifySdk/models/export_voucher_transactions_scheduled.rb +0 -405
  2799. data/lib/VoucherifySdk/models/gift_campaign_voucher.rb +0 -291
  2800. data/lib/VoucherifySdk/models/giveaway_campaign_voucher.rb +0 -300
  2801. data/lib/VoucherifySdk/models/list_publications_item_base.rb +0 -399
  2802. data/lib/VoucherifySdk/models/list_publications_item_invalid.rb +0 -455
  2803. data/lib/VoucherifySdk/models/list_publications_item_valid_multiple_vouchers.rb +0 -454
  2804. data/lib/VoucherifySdk/models/list_publications_item_valid_single_voucher.rb +0 -451
  2805. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_validity_timeframe.rb +0 -226
  2806. data/lib/VoucherifySdk/models/loyalty_tier_all_of_config.rb +0 -222
  2807. data/lib/VoucherifySdk/models/loyalty_tier_all_of_config_points.rb +0 -226
  2808. data/lib/VoucherifySdk/models/lucky_draw.rb +0 -246
  2809. data/lib/VoucherifySdk/models/mapping_fixed.rb +0 -261
  2810. data/lib/VoucherifySdk/models/mapping_multiply.rb +0 -261
  2811. data/lib/VoucherifySdk/models/order_base.rb +0 -339
  2812. data/lib/VoucherifySdk/models/order_calculated_base.rb +0 -472
  2813. data/lib/VoucherifySdk/models/order_calculated_customer.rb +0 -105
  2814. data/lib/VoucherifySdk/models/order_calculated_no_customer_data.rb +0 -496
  2815. data/lib/VoucherifySdk/models/order_calculated_referrer.rb +0 -105
  2816. data/lib/VoucherifySdk/models/order_item_calculated.rb +0 -436
  2817. data/lib/VoucherifySdk/models/order_redemptions.rb +0 -291
  2818. data/lib/VoucherifySdk/models/product_collections_create_dynamic_request_body.rb +0 -290
  2819. data/lib/VoucherifySdk/models/product_collections_create_dynamic_request_body_filter.rb +0 -352
  2820. data/lib/VoucherifySdk/models/product_collections_create_dynamic_request_body_products_item.rb +0 -283
  2821. data/lib/VoucherifySdk/models/product_collections_create_static_request_body.rb +0 -286
  2822. data/lib/VoucherifySdk/models/product_collections_list.rb +0 -322
  2823. data/lib/VoucherifySdk/models/product_collections_products_list.rb +0 -276
  2824. data/lib/VoucherifySdk/models/product_collections_products_list_products_item.rb +0 -105
  2825. data/lib/VoucherifySdk/models/promotion_tier_campaign_validity_timeframe.rb +0 -226
  2826. data/lib/VoucherifySdk/models/promotion_tier_validity_timeframe.rb +0 -226
  2827. data/lib/VoucherifySdk/models/properties_for_loyalty_campaign_options.rb +0 -215
  2828. data/lib/VoucherifySdk/models/publications_create_base_response_body.rb +0 -440
  2829. data/lib/VoucherifySdk/models/publications_create_voucher_response_body.rb +0 -464
  2830. data/lib/VoucherifySdk/models/publications_create_vouchers_response_body.rb +0 -467
  2831. data/lib/VoucherifySdk/models/redeem_gift_card.rb +0 -289
  2832. data/lib/VoucherifySdk/models/redeem_gift_card_all_of_gift.rb +0 -216
  2833. data/lib/VoucherifySdk/models/redeem_loyalty_card.rb +0 -289
  2834. data/lib/VoucherifySdk/models/redeem_loyalty_card_all_of_reward.rb +0 -226
  2835. data/lib/VoucherifySdk/models/redeem_promotion_stack.rb +0 -274
  2836. data/lib/VoucherifySdk/models/redeem_promotion_tier.rb +0 -274
  2837. data/lib/VoucherifySdk/models/redeem_voucher.rb +0 -274
  2838. data/lib/VoucherifySdk/models/redeemable_result_gift_card.rb +0 -215
  2839. data/lib/VoucherifySdk/models/redeemable_result_gift_card_gift.rb +0 -216
  2840. data/lib/VoucherifySdk/models/redeemable_result_loyalty_card.rb +0 -215
  2841. data/lib/VoucherifySdk/models/redeemable_result_loyalty_card_loyalty_card.rb +0 -216
  2842. data/lib/VoucherifySdk/models/redeemable_result_promotion_stack.rb +0 -215
  2843. data/lib/VoucherifySdk/models/redeemable_result_promotion_tier.rb +0 -215
  2844. data/lib/VoucherifySdk/models/redeemable_result_promotion_tier_discount.rb +0 -109
  2845. data/lib/VoucherifySdk/models/redeemable_result_voucher_code.rb +0 -215
  2846. data/lib/VoucherifySdk/models/redemption_internal.rb +0 -542
  2847. data/lib/VoucherifySdk/models/redemption_internal_related_redemptions.rb +0 -227
  2848. data/lib/VoucherifySdk/models/redemption_internal_related_redemptions_item.rb +0 -225
  2849. data/lib/VoucherifySdk/models/redemption_internal_related_redemptions_rollbacks_item.rb +0 -225
  2850. data/lib/VoucherifySdk/models/redemption_related_redemptions_item.rb +0 -225
  2851. data/lib/VoucherifySdk/models/redemption_reward_result_product.rb +0 -397
  2852. data/lib/VoucherifySdk/models/redemption_reward_result_sku.rb +0 -425
  2853. data/lib/VoucherifySdk/models/redemption_reward_result_voucher.rb +0 -547
  2854. data/lib/VoucherifySdk/models/redemption_rollback_related_redemptions_item.rb +0 -225
  2855. data/lib/VoucherifySdk/models/referral_campaign_voucher.rb +0 -307
  2856. data/lib/VoucherifySdk/models/referrer_with_summary_loyalty_referrals.rb +0 -438
  2857. data/lib/VoucherifySdk/models/reward_assignment_base.rb +0 -366
  2858. data/lib/VoucherifySdk/models/reward_assignment_parameters_parameters.rb +0 -222
  2859. data/lib/VoucherifySdk/models/reward_assignment_parameters_parameters_loyalty.rb +0 -216
  2860. data/lib/VoucherifySdk/models/reward_assignments_create_coin_reward_request_body.rb +0 -234
  2861. data/lib/VoucherifySdk/models/reward_assignments_create_digital_or_material_reward_request_body.rb +0 -239
  2862. data/lib/VoucherifySdk/models/reward_assignments_create_digital_or_material_reward_request_body_parameters.rb +0 -222
  2863. data/lib/VoucherifySdk/models/reward_assignments_create_digital_or_material_reward_request_body_parameters_loyalty.rb +0 -216
  2864. data/lib/VoucherifySdk/models/reward_type_campaign_campaign.rb +0 -284
  2865. data/lib/VoucherifySdk/models/reward_type_coin_coin.rb +0 -233
  2866. data/lib/VoucherifySdk/models/reward_type_material.rb +0 -221
  2867. data/lib/VoucherifySdk/models/reward_type_material_product.rb +0 -236
  2868. data/lib/VoucherifySdk/models/schema_that_contains_unique_properties_for_promotion_campaign_promotion.rb +0 -217
  2869. data/lib/VoucherifySdk/models/simple_campaign.rb +0 -381
  2870. data/lib/VoucherifySdk/models/simple_consent.rb +0 -273
  2871. data/lib/VoucherifySdk/models/simple_order.rb +0 -423
  2872. data/lib/VoucherifySdk/models/simple_order_item.rb +0 -363
  2873. data/lib/VoucherifySdk/models/simple_product.rb +0 -235
  2874. data/lib/VoucherifySdk/models/simple_promotion_tier.rb +0 -245
  2875. data/lib/VoucherifySdk/models/simple_promotion_tier_campaign.rb +0 -216
  2876. data/lib/VoucherifySdk/models/simple_redemption.rb +0 -368
  2877. data/lib/VoucherifySdk/models/simple_redemption_reward_result.rb +0 -380
  2878. data/lib/VoucherifySdk/models/simple_referral_tier.rb +0 -245
  2879. data/lib/VoucherifySdk/models/simple_sku.rb +0 -235
  2880. data/lib/VoucherifySdk/models/sku_with_product.rb +0 -433
  2881. data/lib/VoucherifySdk/models/skus_list.rb +0 -276
  2882. data/lib/VoucherifySdk/models/stackable_validate_redeem_base.rb +0 -299
  2883. data/lib/VoucherifySdk/models/stackable_validate_redeem_base_redeemables_item.rb +0 -108
  2884. data/lib/VoucherifySdk/models/validation_entity.rb +0 -325
  2885. data/lib/VoucherifySdk/models/validation_rule_base.rb +0 -314
  2886. data/lib/VoucherifySdk/models/validation_rule_base_applicable_to.rb +0 -239
  2887. data/lib/VoucherifySdk/models/validation_rule_base_error.rb +0 -216
  2888. data/lib/VoucherifySdk/models/validations_redeemable_applicable.rb +0 -340
  2889. data/lib/VoucherifySdk/models/validations_redeemable_applicable_result.rb +0 -109
  2890. data/lib/VoucherifySdk/models/validations_validate_all_response_body_redeemables_item.rb +0 -106
  2891. data/lib/VoucherifySdk/models/voucher_transactions_export.rb +0 -407
  2892. data/lib/VoucherifySdk/models/voucher_transactions_export_result.rb +0 -223
  2893. data/lib/VoucherifySdk/models/voucher_validity_timeframe.rb +0 -226
  2894. data/lib/VoucherifySdk/models/vouchers_redemption_get_response_body_redemption_entries_item.rb +0 -105
@@ -19,6 +19,72 @@ module VoucherifySdk
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Add Promotion Tier to Campaign
23
+ # This method allows you to add a new promotion tier to an existing campaign. The tier hierarchy will be set as the next consequtive integer following the lowest ranking tier.
24
+ # @param campaign_id [String] Unique campaign ID assigned by Voucherify.
25
+ # @param [Hash] opts the optional parameters
26
+ # @option opts [PromotionsTiersCreateRequestBody] :promotions_tiers_create_request_body Specify the promotion tier parameters.
27
+ # @return [PromotionsTiersCreateResponseBody]
28
+ def add_promotion_tier_to_campaign(campaign_id, opts = {})
29
+ data, _status_code, _headers = add_promotion_tier_to_campaign_with_http_info(campaign_id, opts)
30
+ data
31
+ end
32
+
33
+ # Add Promotion Tier to Campaign
34
+ # This method allows you to add a new promotion tier to an existing campaign. The tier hierarchy will be set as the next consequtive integer following the lowest ranking tier.
35
+ # @param campaign_id [String] Unique campaign ID assigned by Voucherify.
36
+ # @param [Hash] opts the optional parameters
37
+ # @option opts [PromotionsTiersCreateRequestBody] :promotions_tiers_create_request_body Specify the promotion tier parameters.
38
+ # @return [Array<(PromotionsTiersCreateResponseBody, Integer, Hash)>] PromotionsTiersCreateResponseBody data, response status code and response headers
39
+ private def add_promotion_tier_to_campaign_with_http_info(campaign_id, opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: PromotionsApi.add_promotion_tier_to_campaign ...'
42
+ end
43
+ # resource path
44
+ local_var_path = '/v1/promotions/{campaignId}/tiers'.sub('{' + 'campaignId' + '}', CGI.escape(campaign_id.to_s))
45
+
46
+ # query parameters
47
+ query_params = opts[:query_params] || {}
48
+
49
+ # header parameters
50
+ header_params = opts[:header_params] || {}
51
+ # HTTP header 'Accept' (if needed)
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
+ # HTTP header 'Content-Type'
54
+ content_type = @api_client.select_header_content_type(['application/json'])
55
+ if !content_type.nil?
56
+ header_params['Content-Type'] = content_type
57
+ end
58
+
59
+ # form parameters
60
+ form_params = opts[:form_params] || {}
61
+
62
+ # http body (model)
63
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'promotions_tiers_create_request_body'])
64
+
65
+ # return_type
66
+ return_type = opts[:debug_return_type] || 'PromotionsTiersCreateResponseBody'
67
+
68
+ # auth_names
69
+ auth_names = opts[:debug_auth_names] || ['X-App-Id', 'X-App-Token']
70
+
71
+ new_options = opts.merge(
72
+ :operation => :"PromotionsApi.add_promotion_tier_to_campaign",
73
+ :header_params => header_params,
74
+ :query_params => query_params,
75
+ :form_params => form_params,
76
+ :body => post_body,
77
+ :auth_names => auth_names,
78
+ :return_type => return_type
79
+ )
80
+
81
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
82
+ if @api_client.config.debugging
83
+ @api_client.config.logger.debug "API called: PromotionsApi#add_promotion_tier_to_campaign\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
84
+ end
85
+ return data, status_code, headers
86
+ end
87
+
22
88
  # Create Promotion Stack
23
89
  # This method creates one promotion stack. The sequence of promotion tier IDs will determine the promotion stacking order.
24
90
  # @param campaign_id [String] Unique campaign ID.
@@ -40,10 +106,6 @@ module VoucherifySdk
40
106
  if @api_client.config.debugging
41
107
  @api_client.config.logger.debug 'Calling API: PromotionsApi.create_promotion_stack ...'
42
108
  end
43
- # verify the required parameter 'campaign_id' is set
44
- if @api_client.config.client_side_validation && campaign_id.nil?
45
- fail ArgumentError, "Missing the required parameter 'campaign_id' when calling PromotionsApi.create_promotion_stack"
46
- end
47
109
  # resource path
48
110
  local_var_path = '/v1/promotions/{campaignId}/stacks'.sub('{' + 'campaignId' + '}', CGI.escape(campaign_id.to_s))
49
111
 
@@ -110,14 +172,6 @@ module VoucherifySdk
110
172
  if @api_client.config.debugging
111
173
  @api_client.config.logger.debug 'Calling API: PromotionsApi.delete_promotion_stack ...'
112
174
  end
113
- # verify the required parameter 'campaign_id' is set
114
- if @api_client.config.client_side_validation && campaign_id.nil?
115
- fail ArgumentError, "Missing the required parameter 'campaign_id' when calling PromotionsApi.delete_promotion_stack"
116
- end
117
- # verify the required parameter 'stack_id' is set
118
- if @api_client.config.client_side_validation && stack_id.nil?
119
- fail ArgumentError, "Missing the required parameter 'stack_id' when calling PromotionsApi.delete_promotion_stack"
120
- end
121
175
  # resource path
122
176
  local_var_path = '/v1/promotions/{campaignId}/stacks/{stackId}'.sub('{' + 'campaignId' + '}', CGI.escape(campaign_id.to_s)).sub('{' + 'stackId' + '}', CGI.escape(stack_id.to_s))
123
177
 
@@ -175,10 +229,6 @@ module VoucherifySdk
175
229
  if @api_client.config.debugging
176
230
  @api_client.config.logger.debug 'Calling API: PromotionsApi.delete_promotion_tier ...'
177
231
  end
178
- # verify the required parameter 'promotion_tier_id' is set
179
- if @api_client.config.client_side_validation && promotion_tier_id.nil?
180
- fail ArgumentError, "Missing the required parameter 'promotion_tier_id' when calling PromotionsApi.delete_promotion_tier"
181
- end
182
232
  # resource path
183
233
  local_var_path = '/v1/promotions/tiers/{promotionTierId}'.sub('{' + 'promotionTierId' + '}', CGI.escape(promotion_tier_id.to_s))
184
234
 
@@ -236,10 +286,6 @@ module VoucherifySdk
236
286
  if @api_client.config.debugging
237
287
  @api_client.config.logger.debug 'Calling API: PromotionsApi.disable_promotion_tier ...'
238
288
  end
239
- # verify the required parameter 'promotion_tier_id' is set
240
- if @api_client.config.client_side_validation && promotion_tier_id.nil?
241
- fail ArgumentError, "Missing the required parameter 'promotion_tier_id' when calling PromotionsApi.disable_promotion_tier"
242
- end
243
289
  # resource path
244
290
  local_var_path = '/v1/promotions/tiers/{promotionTierId}/disable'.sub('{' + 'promotionTierId' + '}', CGI.escape(promotion_tier_id.to_s))
245
291
 
@@ -299,10 +345,6 @@ module VoucherifySdk
299
345
  if @api_client.config.debugging
300
346
  @api_client.config.logger.debug 'Calling API: PromotionsApi.enable_promotion_tier ...'
301
347
  end
302
- # verify the required parameter 'promotion_tier_id' is set
303
- if @api_client.config.client_side_validation && promotion_tier_id.nil?
304
- fail ArgumentError, "Missing the required parameter 'promotion_tier_id' when calling PromotionsApi.enable_promotion_tier"
305
- end
306
348
  # resource path
307
349
  local_var_path = '/v1/promotions/tiers/{promotionTierId}/enable'.sub('{' + 'promotionTierId' + '}', CGI.escape(promotion_tier_id.to_s))
308
350
 
@@ -364,14 +406,6 @@ module VoucherifySdk
364
406
  if @api_client.config.debugging
365
407
  @api_client.config.logger.debug 'Calling API: PromotionsApi.get_promotion_stack ...'
366
408
  end
367
- # verify the required parameter 'campaign_id' is set
368
- if @api_client.config.client_side_validation && campaign_id.nil?
369
- fail ArgumentError, "Missing the required parameter 'campaign_id' when calling PromotionsApi.get_promotion_stack"
370
- end
371
- # verify the required parameter 'stack_id' is set
372
- if @api_client.config.client_side_validation && stack_id.nil?
373
- fail ArgumentError, "Missing the required parameter 'stack_id' when calling PromotionsApi.get_promotion_stack"
374
- end
375
409
  # resource path
376
410
  local_var_path = '/v1/promotions/{campaignId}/stacks/{stackId}'.sub('{' + 'campaignId' + '}', CGI.escape(campaign_id.to_s)).sub('{' + 'stackId' + '}', CGI.escape(stack_id.to_s))
377
411
 
@@ -431,10 +465,6 @@ module VoucherifySdk
431
465
  if @api_client.config.debugging
432
466
  @api_client.config.logger.debug 'Calling API: PromotionsApi.get_promotion_tier ...'
433
467
  end
434
- # verify the required parameter 'promotion_tier_id' is set
435
- if @api_client.config.client_side_validation && promotion_tier_id.nil?
436
- fail ArgumentError, "Missing the required parameter 'promotion_tier_id' when calling PromotionsApi.get_promotion_tier"
437
- end
438
468
  # resource path
439
469
  local_var_path = '/v1/promotions/tiers/{promotionTierId}'.sub('{' + 'promotionTierId' + '}', CGI.escape(promotion_tier_id.to_s))
440
470
 
@@ -478,8 +508,8 @@ module VoucherifySdk
478
508
  # List Promotion Stacks
479
509
  # This method enables you to list promotion stacks irrespective of the campaign they are associated with. You can use filters in the query parameters to specify the stacks to be returned in the response. # Advanced filters for fetching promotion stacks
480
510
  # @param [Hash] opts the optional parameters
481
- # @option opts [Integer] :limit A limit on the number of objects to be returned. Limit can range between 1 and 100 items.
482
- # @option opts [Integer] :page Which page of results to return.
511
+ # @option opts [Integer] :limit Limits the number of objects to be returned. The limit can range between 1 and 100 items.
512
+ # @option opts [Integer] :page Which page of results to return. The lowest value is 1.
483
513
  # @option opts [ParameterOrderListAllPromotionStacks] :order Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
484
514
  # @option opts [ParameterCreatedBeforeAfter] :created_at A filter on the list based on the object created_at field. The value is a dictionary with the following options: before, after. A date value must be presented in ISO 8601 format (2016-11-16T14:14:31Z or 2016-11-16). An example: [created_at][before] 2017-09-08T13:52:18.227Z
485
515
  # @option opts [ParameterUpdatedBeforeAfter] :updated_at A filter on the list based on the object updated_at field. The value is a dictionary with the following options: before, after. A date value must be presented in ISO 8601 format (2016-11-16T14:14:31Z or 2016-11-16). An example: [updated_at][before] 2017-09-08T13:52:18.227Z
@@ -492,8 +522,8 @@ module VoucherifySdk
492
522
  # List Promotion Stacks
493
523
  # This method enables you to list promotion stacks irrespective of the campaign they are associated with. You can use filters in the query parameters to specify the stacks to be returned in the response. # Advanced filters for fetching promotion stacks
494
524
  # @param [Hash] opts the optional parameters
495
- # @option opts [Integer] :limit A limit on the number of objects to be returned. Limit can range between 1 and 100 items.
496
- # @option opts [Integer] :page Which page of results to return.
525
+ # @option opts [Integer] :limit Limits the number of objects to be returned. The limit can range between 1 and 100 items.
526
+ # @option opts [Integer] :page Which page of results to return. The lowest value is 1.
497
527
  # @option opts [ParameterOrderListAllPromotionStacks] :order Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
498
528
  # @option opts [ParameterCreatedBeforeAfter] :created_at A filter on the list based on the object created_at field. The value is a dictionary with the following options: before, after. A date value must be presented in ISO 8601 format (2016-11-16T14:14:31Z or 2016-11-16). An example: [created_at][before] 2017-09-08T13:52:18.227Z
499
529
  # @option opts [ParameterUpdatedBeforeAfter] :updated_at A filter on the list based on the object updated_at field. The value is a dictionary with the following options: before, after. A date value must be presented in ISO 8601 format (2016-11-16T14:14:31Z or 2016-11-16). An example: [updated_at][before] 2017-09-08T13:52:18.227Z
@@ -502,18 +532,6 @@ module VoucherifySdk
502
532
  if @api_client.config.debugging
503
533
  @api_client.config.logger.debug 'Calling API: PromotionsApi.list_all_promotion_stacks ...'
504
534
  end
505
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 100
506
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling PromotionsApi.list_all_promotion_stacks, must be smaller than or equal to 100.'
507
- end
508
-
509
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
510
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling PromotionsApi.list_all_promotion_stacks, must be greater than or equal to 1.'
511
- end
512
-
513
- if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] > 100
514
- fail ArgumentError, 'invalid value for "opts[:"page"]" when calling PromotionsApi.list_all_promotion_stacks, must be smaller than or equal to 100.'
515
- end
516
-
517
535
  # resource path
518
536
  local_var_path = '/v1/promotions/stacks'
519
537
 
@@ -578,10 +596,6 @@ module VoucherifySdk
578
596
  if @api_client.config.debugging
579
597
  @api_client.config.logger.debug 'Calling API: PromotionsApi.list_promotion_stacks_in_campaign ...'
580
598
  end
581
- # verify the required parameter 'campaign_id' is set
582
- if @api_client.config.client_side_validation && campaign_id.nil?
583
- fail ArgumentError, "Missing the required parameter 'campaign_id' when calling PromotionsApi.list_promotion_stacks_in_campaign"
584
- end
585
599
  # resource path
586
600
  local_var_path = '/v1/promotions/{campaignId}/stacks'.sub('{' + 'campaignId' + '}', CGI.escape(campaign_id.to_s))
587
601
 
@@ -622,6 +636,75 @@ module VoucherifySdk
622
636
  return data, status_code, headers
623
637
  end
624
638
 
639
+ # List Promotion Tiers
640
+ # This method enables you to list promotion tiers.
641
+ # @param [Hash] opts the optional parameters
642
+ # @option opts [Boolean] :is_available This parameter allows filtering promotions that are only available at the moment. When set to true, it selects only non-expired and active promotions.
643
+ # @option opts [Integer] :limit Limits the number of objects to be returned. The limit can range between 1 and 100 items.
644
+ # @option opts [Integer] :page Which page of results to return. The lowest value is 1.
645
+ # @option opts [ParameterOrderListPromotionTiers] :order Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
646
+ # @return [PromotionsTiersListResponseBody]
647
+ def list_promotion_tiers(opts = {})
648
+ data, _status_code, _headers = list_promotion_tiers_with_http_info(opts)
649
+ data
650
+ end
651
+
652
+ # List Promotion Tiers
653
+ # This method enables you to list promotion tiers.
654
+ # @param [Hash] opts the optional parameters
655
+ # @option opts [Boolean] :is_available This parameter allows filtering promotions that are only available at the moment. When set to true, it selects only non-expired and active promotions.
656
+ # @option opts [Integer] :limit Limits the number of objects to be returned. The limit can range between 1 and 100 items.
657
+ # @option opts [Integer] :page Which page of results to return. The lowest value is 1.
658
+ # @option opts [ParameterOrderListPromotionTiers] :order Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
659
+ # @return [Array<(PromotionsTiersListResponseBody, Integer, Hash)>] PromotionsTiersListResponseBody data, response status code and response headers
660
+ private def list_promotion_tiers_with_http_info(opts = {})
661
+ if @api_client.config.debugging
662
+ @api_client.config.logger.debug 'Calling API: PromotionsApi.list_promotion_tiers ...'
663
+ end
664
+ # resource path
665
+ local_var_path = '/v1/promotions/tiers'
666
+
667
+ # query parameters
668
+ query_params = opts[:query_params] || {}
669
+ query_params[:'is_available'] = opts[:'is_available'] if !opts[:'is_available'].nil?
670
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
671
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
672
+ query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
673
+
674
+ # header parameters
675
+ header_params = opts[:header_params] || {}
676
+ # HTTP header 'Accept' (if needed)
677
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
678
+
679
+ # form parameters
680
+ form_params = opts[:form_params] || {}
681
+
682
+ # http body (model)
683
+ post_body = opts[:debug_body]
684
+
685
+ # return_type
686
+ return_type = opts[:debug_return_type] || 'PromotionsTiersListResponseBody'
687
+
688
+ # auth_names
689
+ auth_names = opts[:debug_auth_names] || ['X-App-Id', 'X-App-Token']
690
+
691
+ new_options = opts.merge(
692
+ :operation => :"PromotionsApi.list_promotion_tiers",
693
+ :header_params => header_params,
694
+ :query_params => query_params,
695
+ :form_params => form_params,
696
+ :body => post_body,
697
+ :auth_names => auth_names,
698
+ :return_type => return_type
699
+ )
700
+
701
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
702
+ if @api_client.config.debugging
703
+ @api_client.config.logger.debug "API called: PromotionsApi#list_promotion_tiers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
704
+ end
705
+ return data, status_code, headers
706
+ end
707
+
625
708
  # List Promotion Tiers from Campaign
626
709
  # This method enables you to list promotion tiers from a specified campaign.
627
710
  # @param campaign_id [String] Unique campaign ID assigned by Voucherify.
@@ -641,10 +724,6 @@ module VoucherifySdk
641
724
  if @api_client.config.debugging
642
725
  @api_client.config.logger.debug 'Calling API: PromotionsApi.list_promotion_tiers_from_campaign ...'
643
726
  end
644
- # verify the required parameter 'campaign_id' is set
645
- if @api_client.config.client_side_validation && campaign_id.nil?
646
- fail ArgumentError, "Missing the required parameter 'campaign_id' when calling PromotionsApi.list_promotion_tiers_from_campaign"
647
- end
648
727
  # resource path
649
728
  local_var_path = '/v1/promotions/{campaignId}/tiers'.sub('{' + 'campaignId' + '}', CGI.escape(campaign_id.to_s))
650
729
 
@@ -708,14 +787,6 @@ module VoucherifySdk
708
787
  if @api_client.config.debugging
709
788
  @api_client.config.logger.debug 'Calling API: PromotionsApi.update_promotion_stack ...'
710
789
  end
711
- # verify the required parameter 'campaign_id' is set
712
- if @api_client.config.client_side_validation && campaign_id.nil?
713
- fail ArgumentError, "Missing the required parameter 'campaign_id' when calling PromotionsApi.update_promotion_stack"
714
- end
715
- # verify the required parameter 'stack_id' is set
716
- if @api_client.config.client_side_validation && stack_id.nil?
717
- fail ArgumentError, "Missing the required parameter 'stack_id' when calling PromotionsApi.update_promotion_stack"
718
- end
719
790
  # resource path
720
791
  local_var_path = '/v1/promotions/{campaignId}/stacks/{stackId}'.sub('{' + 'campaignId' + '}', CGI.escape(campaign_id.to_s)).sub('{' + 'stackId' + '}', CGI.escape(stack_id.to_s))
721
792
 
@@ -760,5 +831,71 @@ module VoucherifySdk
760
831
  end
761
832
  return data, status_code, headers
762
833
  end
834
+
835
+ # Update Promotion Tier
836
+ # This method updates a promotion tier.
837
+ # @param promotion_tier_id [String] Unique promotion tier ID.
838
+ # @param [Hash] opts the optional parameters
839
+ # @option opts [PromotionsTiersUpdateRequestBody] :promotions_tiers_update_request_body Specify the promotion tier parameters that you would like to update.
840
+ # @return [PromotionsTiersUpdateResponseBody]
841
+ def update_promotion_tier(promotion_tier_id, opts = {})
842
+ data, _status_code, _headers = update_promotion_tier_with_http_info(promotion_tier_id, opts)
843
+ data
844
+ end
845
+
846
+ # Update Promotion Tier
847
+ # This method updates a promotion tier.
848
+ # @param promotion_tier_id [String] Unique promotion tier ID.
849
+ # @param [Hash] opts the optional parameters
850
+ # @option opts [PromotionsTiersUpdateRequestBody] :promotions_tiers_update_request_body Specify the promotion tier parameters that you would like to update.
851
+ # @return [Array<(PromotionsTiersUpdateResponseBody, Integer, Hash)>] PromotionsTiersUpdateResponseBody data, response status code and response headers
852
+ private def update_promotion_tier_with_http_info(promotion_tier_id, opts = {})
853
+ if @api_client.config.debugging
854
+ @api_client.config.logger.debug 'Calling API: PromotionsApi.update_promotion_tier ...'
855
+ end
856
+ # resource path
857
+ local_var_path = '/v1/promotions/tiers/{promotionTierId}'.sub('{' + 'promotionTierId' + '}', CGI.escape(promotion_tier_id.to_s))
858
+
859
+ # query parameters
860
+ query_params = opts[:query_params] || {}
861
+
862
+ # header parameters
863
+ header_params = opts[:header_params] || {}
864
+ # HTTP header 'Accept' (if needed)
865
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
866
+ # HTTP header 'Content-Type'
867
+ content_type = @api_client.select_header_content_type(['application/json'])
868
+ if !content_type.nil?
869
+ header_params['Content-Type'] = content_type
870
+ end
871
+
872
+ # form parameters
873
+ form_params = opts[:form_params] || {}
874
+
875
+ # http body (model)
876
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'promotions_tiers_update_request_body'])
877
+
878
+ # return_type
879
+ return_type = opts[:debug_return_type] || 'PromotionsTiersUpdateResponseBody'
880
+
881
+ # auth_names
882
+ auth_names = opts[:debug_auth_names] || ['X-App-Id', 'X-App-Token']
883
+
884
+ new_options = opts.merge(
885
+ :operation => :"PromotionsApi.update_promotion_tier",
886
+ :header_params => header_params,
887
+ :query_params => query_params,
888
+ :form_params => form_params,
889
+ :body => post_body,
890
+ :auth_names => auth_names,
891
+ :return_type => return_type
892
+ )
893
+
894
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
895
+ if @api_client.config.debugging
896
+ @api_client.config.logger.debug "API called: PromotionsApi#update_promotion_tier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
897
+ end
898
+ return data, status_code, headers
899
+ end
763
900
  end
764
901
  end
@@ -93,7 +93,7 @@ module VoucherifySdk
93
93
  # @option opts [Boolean] :join_once Through this flag, you can control if a particular person gets only one and always the same code even if the app sends multiple publication requests. It means that if you have a referral program, a referrer is assigned only to one code if an integration sends publication requests more than once for the same customer.
94
94
  # @option opts [String] :voucher Code of voucher being published.
95
95
  # @option opts [CreatePublicationCampaign] :campaign Create publication with campaign.
96
- # @option opts [String] :source_id The merchant’s publication ID if it is different from the Voucherify publication ID. Its an optional tracking identifier of a publication. It is really useful in case of an integration between multiple systems. It can be a publication ID from a CRM system, database or 3rd-party service. If source_id is provided only 1 voucher can be published per request.
96
+ # @option opts [String] :source_id The merchants publication ID if it is different from the Voucherify publication ID. Its an optional tracking identifier of a publication. It is really useful in case of an integration between multiple systems. It can be a publication ID from a CRM system, database or 3rd-party service. If source_id is provided only 1 voucher can be published per request.
97
97
  # @option opts [Object] :metadata The metadata object stores all custom attributes assigned to the publication. A set of key/value pairs that you can attach to a publication object. It can be useful for storing additional information about the publication in a structured format.
98
98
  # @return [PublicationsCreateResponseBody]
99
99
  def create_publication1(customer, opts = {})
@@ -108,17 +108,13 @@ module VoucherifySdk
108
108
  # @option opts [Boolean] :join_once Through this flag, you can control if a particular person gets only one and always the same code even if the app sends multiple publication requests. It means that if you have a referral program, a referrer is assigned only to one code if an integration sends publication requests more than once for the same customer.
109
109
  # @option opts [String] :voucher Code of voucher being published.
110
110
  # @option opts [CreatePublicationCampaign] :campaign Create publication with campaign.
111
- # @option opts [String] :source_id The merchant’s publication ID if it is different from the Voucherify publication ID. Its an optional tracking identifier of a publication. It is really useful in case of an integration between multiple systems. It can be a publication ID from a CRM system, database or 3rd-party service. If source_id is provided only 1 voucher can be published per request.
111
+ # @option opts [String] :source_id The merchants publication ID if it is different from the Voucherify publication ID. Its an optional tracking identifier of a publication. It is really useful in case of an integration between multiple systems. It can be a publication ID from a CRM system, database or 3rd-party service. If source_id is provided only 1 voucher can be published per request.
112
112
  # @option opts [Object] :metadata The metadata object stores all custom attributes assigned to the publication. A set of key/value pairs that you can attach to a publication object. It can be useful for storing additional information about the publication in a structured format.
113
113
  # @return [Array<(PublicationsCreateResponseBody, Integer, Hash)>] PublicationsCreateResponseBody data, response status code and response headers
114
114
  private def create_publication1_with_http_info(customer, opts = {})
115
115
  if @api_client.config.debugging
116
116
  @api_client.config.logger.debug 'Calling API: PublicationsApi.create_publication1 ...'
117
117
  end
118
- # verify the required parameter 'customer' is set
119
- if @api_client.config.client_side_validation && customer.nil?
120
- fail ArgumentError, "Missing the required parameter 'customer' when calling PublicationsApi.create_publication1"
121
- end
122
118
  # resource path
123
119
  local_var_path = '/v1/publications/create'
124
120
 
@@ -168,8 +164,8 @@ module VoucherifySdk
168
164
  # List Publications
169
165
  # Retrieve a list of publications. To return a **particular** publication, you can use the source_id query parameter and provide the source_id of the publication you are looking for specifically. # Pagination 🚧 Important! If you want to scroll through a huge set of records, it is recommended to use the Exports API. This API will return an error page_over_limit if you reach a page above 1000. # Filter Query The filters query parameter allows for joining multiple parameters with logical operators. The syntax looks as follows: ## Operators: ## Examples
170
166
  # @param [Hash] opts the optional parameters
171
- # @option opts [Integer] :limit A limit on the number of objects to be returned. Limit can range between 1 and 100 items.
172
- # @option opts [Integer] :page Which page of results to return.
167
+ # @option opts [Integer] :limit Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
168
+ # @option opts [Integer] :page Which page of results to return. The lowest value is 1.
173
169
  # @option opts [ParameterOrderListPublications] :order Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
174
170
  # @option opts [String] :campaign Filters by a given campaign name.
175
171
  # @option opts [String] :customer Filters by a unique customer ID.
@@ -177,7 +173,7 @@ module VoucherifySdk
177
173
  # @option opts [ParameterResultListPublications] :result Filters by a publication result.
178
174
  # @option opts [ParameterVoucherTypeListPublications] :voucher_type Filters by a voucher type.
179
175
  # @option opts [Boolean] :is_referral_code This filter works only for the true option. If set to true, the query returns only publications of codes from referral campaigns.
180
- # @option opts [String] :filters Allows for combining the filters mentioned in the endpoint description.
176
+ # @option opts [ParameterFiltersListPublications] :filters Filters for listing publications.
181
177
  # @option opts [String] :source_id Using this endpoint with a particular publication source_id, which was sent with the original request to create a publication, returns in the response, exactly the same code published initially because the code was assigned to the given publication. As a result, you can use this endpoint as a reference and return a code that was assigned in a publication by using a particular source_id.
182
178
  # @return [PublicationsListResponseBody]
183
179
  def list_publications(opts = {})
@@ -188,8 +184,8 @@ module VoucherifySdk
188
184
  # List Publications
189
185
  # Retrieve a list of publications. To return a **particular** publication, you can use the source_id query parameter and provide the source_id of the publication you are looking for specifically. # Pagination 🚧 Important! If you want to scroll through a huge set of records, it is recommended to use the Exports API. This API will return an error page_over_limit if you reach a page above 1000. # Filter Query The filters query parameter allows for joining multiple parameters with logical operators. The syntax looks as follows: ## Operators: ## Examples
190
186
  # @param [Hash] opts the optional parameters
191
- # @option opts [Integer] :limit A limit on the number of objects to be returned. Limit can range between 1 and 100 items.
192
- # @option opts [Integer] :page Which page of results to return.
187
+ # @option opts [Integer] :limit Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
188
+ # @option opts [Integer] :page Which page of results to return. The lowest value is 1.
193
189
  # @option opts [ParameterOrderListPublications] :order Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
194
190
  # @option opts [String] :campaign Filters by a given campaign name.
195
191
  # @option opts [String] :customer Filters by a unique customer ID.
@@ -197,25 +193,13 @@ module VoucherifySdk
197
193
  # @option opts [ParameterResultListPublications] :result Filters by a publication result.
198
194
  # @option opts [ParameterVoucherTypeListPublications] :voucher_type Filters by a voucher type.
199
195
  # @option opts [Boolean] :is_referral_code This filter works only for the true option. If set to true, the query returns only publications of codes from referral campaigns.
200
- # @option opts [String] :filters Allows for combining the filters mentioned in the endpoint description.
196
+ # @option opts [ParameterFiltersListPublications] :filters Filters for listing publications.
201
197
  # @option opts [String] :source_id Using this endpoint with a particular publication source_id, which was sent with the original request to create a publication, returns in the response, exactly the same code published initially because the code was assigned to the given publication. As a result, you can use this endpoint as a reference and return a code that was assigned in a publication by using a particular source_id.
202
198
  # @return [Array<(PublicationsListResponseBody, Integer, Hash)>] PublicationsListResponseBody data, response status code and response headers
203
199
  private def list_publications_with_http_info(opts = {})
204
200
  if @api_client.config.debugging
205
201
  @api_client.config.logger.debug 'Calling API: PublicationsApi.list_publications ...'
206
202
  end
207
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 100
208
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling PublicationsApi.list_publications, must be smaller than or equal to 100.'
209
- end
210
-
211
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
212
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling PublicationsApi.list_publications, must be greater than or equal to 1.'
213
- end
214
-
215
- if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] > 100
216
- fail ArgumentError, 'invalid value for "opts[:"page"]" when calling PublicationsApi.list_publications, must be smaller than or equal to 100.'
217
- end
218
-
219
203
  # resource path
220
204
  local_var_path = '/v1/publications'
221
205
 
@@ -20,7 +20,7 @@ module VoucherifySdk
20
20
  @api_client = api_client
21
21
  end
22
22
  # Check Eligibility
23
- # 🚧 The Qualifications endpoint in the basic mode ignores the rules checking: - Limit of total redeemed discount amount per campaign - Limit of total redemptions count per campaign - Redemptions per customer - Redemptions per customer in a campaign Generate a list of redeemables that are applicable in the context of the customer and order. The new qualifications method is an improved version of Campaign Qualifications, Voucher Qualifications, and Promotions Validation API requests. The new qualification method introduces the following improvements: - Qualification results are returned faster - No limit on the number of returned redeemables - Introduces new qualification scenarios, not available in the previous version 👍 Scenario Guide Read our dedicated guide to learn about some use cases this endpoint can cover here. # Paging The Voucherify Qualifications API request will return to you all of the redeemables available for the customer in batches of up to 50 redeemables. To get the next batch of redeemables, you need to use the starting_after cursor. To process of paging the redeemables works in the following manner: - You send the first API request for Qualifications without the starting_after parameter. - The response will contain a parameter named has_more. If the parameters value is set to true, then more redeemables are available. - Get the value of the created_at parameter of the last returned redeemable. The value of this parameter will be used as a cursor to retrieve the next page of redeemables. - Send another API request for Qualification with the starting_after parameter set to the value taken from the created_at parameter from the last returned redeemable. - Voucherify will return the next page of redeemables. - If the has_more parameter is set to true, apply steps 3-5 to get the next page of redeemables.
23
+ # 🚧 The Qualifications endpoint ignores the rules checking: - Limit of total redeemed discount amount per campaign - Limit of total redemptions count per campaign - Redemptions per customer - Redemptions per customer in a campaign Generate a list of redeemables that are applicable in the context of the customer and order. The new qualifications method is an improved version of Campaign Qualifications, Voucher Qualifications, and Promotions Validation API requests. The new qualification method introduces the following improvements: - Qualification results are returned faster - No limit on the number of returned redeemables - Introduces new qualification scenarios, not available in the previous version 👍 Scenario Guide Read the dedicated guide to learn about some use cases this endpoint can cover. # Paging The Voucherify Qualifications API request will return to you all of the redeemables available for the customer in batches of up to 50 redeemables. To get the next batch of redeemables, you need to use the starting_after cursor. To process of paging the redeemables works in the following manner: - You send the first API request for Qualifications without the starting_after parameter. - The response will contain a parameter named has_more. If the parameters value is set to true, then more redeemables are available. - Get the value of the created_at parameter of the last returned redeemable. The value of this parameter will be used as a cursor to retrieve the next page of redeemables. - Send another API request for Qualification with the starting_after parameter set to the value taken from the created_at parameter from the last returned redeemable. - Voucherify will return the next page of redeemables. - If the has_more parameter is set to true, apply steps 3-5 to get the next page of redeemables.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [QualificationsCheckEligibilityRequestBody] :qualifications_check_eligibility_request_body Define order and customer context.
26
26
  # @return [QualificationsCheckEligibilityResponseBody]
@@ -30,7 +30,7 @@ module VoucherifySdk
30
30
  end
31
31
 
32
32
  # Check Eligibility
33
- # 🚧 The Qualifications endpoint in the basic mode ignores the rules checking: - Limit of total redeemed discount amount per campaign - Limit of total redemptions count per campaign - Redemptions per customer - Redemptions per customer in a campaign Generate a list of redeemables that are applicable in the context of the customer and order. The new qualifications method is an improved version of Campaign Qualifications, Voucher Qualifications, and Promotions Validation API requests. The new qualification method introduces the following improvements: - Qualification results are returned faster - No limit on the number of returned redeemables - Introduces new qualification scenarios, not available in the previous version 👍 Scenario Guide Read our dedicated guide to learn about some use cases this endpoint can cover here. # Paging The Voucherify Qualifications API request will return to you all of the redeemables available for the customer in batches of up to 50 redeemables. To get the next batch of redeemables, you need to use the starting_after cursor. To process of paging the redeemables works in the following manner: - You send the first API request for Qualifications without the starting_after parameter. - The response will contain a parameter named has_more. If the parameters value is set to true, then more redeemables are available. - Get the value of the created_at parameter of the last returned redeemable. The value of this parameter will be used as a cursor to retrieve the next page of redeemables. - Send another API request for Qualification with the starting_after parameter set to the value taken from the created_at parameter from the last returned redeemable. - Voucherify will return the next page of redeemables. - If the has_more parameter is set to true, apply steps 3-5 to get the next page of redeemables.
33
+ # 🚧 The Qualifications endpoint ignores the rules checking: - Limit of total redeemed discount amount per campaign - Limit of total redemptions count per campaign - Redemptions per customer - Redemptions per customer in a campaign Generate a list of redeemables that are applicable in the context of the customer and order. The new qualifications method is an improved version of Campaign Qualifications, Voucher Qualifications, and Promotions Validation API requests. The new qualification method introduces the following improvements: - Qualification results are returned faster - No limit on the number of returned redeemables - Introduces new qualification scenarios, not available in the previous version 👍 Scenario Guide Read the dedicated guide to learn about some use cases this endpoint can cover. # Paging The Voucherify Qualifications API request will return to you all of the redeemables available for the customer in batches of up to 50 redeemables. To get the next batch of redeemables, you need to use the starting_after cursor. To process of paging the redeemables works in the following manner: - You send the first API request for Qualifications without the starting_after parameter. - The response will contain a parameter named has_more. If the parameters value is set to true, then more redeemables are available. - Get the value of the created_at parameter of the last returned redeemable. The value of this parameter will be used as a cursor to retrieve the next page of redeemables. - Send another API request for Qualification with the starting_after parameter set to the value taken from the created_at parameter from the last returned redeemable. - Voucherify will return the next page of redeemables. - If the has_more parameter is set to true, apply steps 3-5 to get the next page of redeemables.
34
34
  # @param [Hash] opts the optional parameters
35
35
  # @option opts [QualificationsCheckEligibilityRequestBody] :qualifications_check_eligibility_request_body Define order and customer context.
36
36
  # @return [Array<(QualificationsCheckEligibilityResponseBody, Integer, Hash)>] QualificationsCheckEligibilityResponseBody data, response status code and response headers
@@ -38,10 +38,6 @@ module VoucherifySdk
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: RedemptionsApi.get_redemption ...'
40
40
  end
41
- # verify the required parameter 'redemption_id' is set
42
- if @api_client.config.client_side_validation && redemption_id.nil?
43
- fail ArgumentError, "Missing the required parameter 'redemption_id' when calling RedemptionsApi.get_redemption"
44
- end
45
41
  # resource path
46
42
  local_var_path = '/v1/redemptions/{redemptionId}'.sub('{' + 'redemptionId' + '}', CGI.escape(redemption_id.to_s))
47
43
 
@@ -101,10 +97,6 @@ module VoucherifySdk
101
97
  if @api_client.config.debugging
102
98
  @api_client.config.logger.debug 'Calling API: RedemptionsApi.get_voucher_redemptions ...'
103
99
  end
104
- # verify the required parameter 'code' is set
105
- if @api_client.config.client_side_validation && code.nil?
106
- fail ArgumentError, "Missing the required parameter 'code' when calling RedemptionsApi.get_voucher_redemptions"
107
- end
108
100
  # resource path
109
101
  local_var_path = '/v1/vouchers/{code}/redemption'.sub('{' + 'code' + '}', CGI.escape(code.to_s))
110
102
 
@@ -148,8 +140,8 @@ module VoucherifySdk
148
140
  # List Redemptions
149
141
  # Returns a list of redemptions previously created. The redemptions are returned in a sorted order, with the most recent redemptions appearing first. The response returns a list of redemptions of all vouchers. # Filtering results The result can be narrowed according to specified (or default) filters, for example, you can sort redemptions by date: https://api.voucherify.io/v1/redemptions?limit 3&[created_at][before] 2017-09-08T13:52:18.227Z. A filter based on the object created_at field narrows down the results and lists redemptions done before or after a particular date time. You can use the following options: [created_at][after], [created_at][before]. A date value must be presented in ISO 8601 format (2016-11-16T14:14:31Z or 2016-11-16). An example: [created_at][before] 2017-09-08T13:52:18.227Z. # Failed Redemptions A redemption may fail for various reasons. You can figure out an exact reason from the failure_code: - resource_not_found - voucher with given code does not exist - voucher_not_active - voucher is not active yet (before start date) - voucher_expired - voucher has already expired (after expiration date) - voucher_disabled - voucher has been disabled (active: false) - quantity_exceeded - vouchers redemptions limit has been exceeded - gift_amount_exceeded - gift amount has been exceeded - customer_rules_violated - customer did not match the segment - order_rules_violated - order did not match validation rules - invalid_order - order was specified incorrectly - invalid_amount - order amount was specified incorrectly - missing_amount - order amount was not specified - missing_order_items - order items were not specified - missing_customer - customer was not specified
150
142
  # @param [Hash] opts the optional parameters
151
- # @option opts [Integer] :limit A limit on the number of objects to be returned. Limit can range between 1 and 100 items.
152
- # @option opts [Integer] :page Which page of results to return.
143
+ # @option opts [Integer] :limit Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
144
+ # @option opts [Integer] :page Which page of results to return. The lowest value is 1.
153
145
  # @option opts [String] :result A filter on the list based on the redemption result. Available options are: SUCCESS, FAILURE. You can provide multiple values by repeating the param.
154
146
  # @option opts [String] :campaign A filter by the campaign **name** that the redemption resources originate from.
155
147
  # @option opts [String] :customer Return redemptions performed by the customer with given id or source_id.
@@ -165,8 +157,8 @@ module VoucherifySdk
165
157
  # List Redemptions
166
158
  # Returns a list of redemptions previously created. The redemptions are returned in a sorted order, with the most recent redemptions appearing first. The response returns a list of redemptions of all vouchers. # Filtering results The result can be narrowed according to specified (or default) filters, for example, you can sort redemptions by date: https://api.voucherify.io/v1/redemptions?limit 3&amp;[created_at][before] 2017-09-08T13:52:18.227Z. A filter based on the object created_at field narrows down the results and lists redemptions done before or after a particular date time. You can use the following options: [created_at][after], [created_at][before]. A date value must be presented in ISO 8601 format (2016-11-16T14:14:31Z or 2016-11-16). An example: [created_at][before] 2017-09-08T13:52:18.227Z. # Failed Redemptions A redemption may fail for various reasons. You can figure out an exact reason from the failure_code: - resource_not_found - voucher with given code does not exist - voucher_not_active - voucher is not active yet (before start date) - voucher_expired - voucher has already expired (after expiration date) - voucher_disabled - voucher has been disabled (active: false) - quantity_exceeded - vouchers redemptions limit has been exceeded - gift_amount_exceeded - gift amount has been exceeded - customer_rules_violated - customer did not match the segment - order_rules_violated - order did not match validation rules - invalid_order - order was specified incorrectly - invalid_amount - order amount was specified incorrectly - missing_amount - order amount was not specified - missing_order_items - order items were not specified - missing_customer - customer was not specified
167
159
  # @param [Hash] opts the optional parameters
168
- # @option opts [Integer] :limit A limit on the number of objects to be returned. Limit can range between 1 and 100 items.
169
- # @option opts [Integer] :page Which page of results to return.
160
+ # @option opts [Integer] :limit Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
161
+ # @option opts [Integer] :page Which page of results to return. The lowest value is 1.
170
162
  # @option opts [String] :result A filter on the list based on the redemption result. Available options are: SUCCESS, FAILURE. You can provide multiple values by repeating the param.
171
163
  # @option opts [String] :campaign A filter by the campaign **name** that the redemption resources originate from.
172
164
  # @option opts [String] :customer Return redemptions performed by the customer with given id or source_id.
@@ -178,18 +170,6 @@ module VoucherifySdk
178
170
  if @api_client.config.debugging
179
171
  @api_client.config.logger.debug 'Calling API: RedemptionsApi.list_redemptions ...'
180
172
  end
181
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 100
182
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling RedemptionsApi.list_redemptions, must be smaller than or equal to 100.'
183
- end
184
-
185
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
186
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling RedemptionsApi.list_redemptions, must be greater than or equal to 1.'
187
- end
188
-
189
- if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] > 100
190
- fail ArgumentError, 'invalid value for "opts[:"page"]" when calling RedemptionsApi.list_redemptions, must be smaller than or equal to 100.'
191
- end
192
-
193
173
  # resource path
194
174
  local_var_path = '/v1/redemptions'
195
175
 
@@ -303,7 +283,7 @@ module VoucherifySdk
303
283
  end
304
284
 
305
285
  # Rollback Redemption
306
- # Your business logic may include a case when you need to undo a redemption. You can revert a redemption by calling this API endpoint. # Effect The operation - creates a rollback entry in vouchers redemption history (redemption.redemption_entries) and - gives 1 redemption back to the pool (decreases redeemed_quantity by 1). # Returned funds In case of *gift card vouchers*, this method returns funds back according to the source redemption. In case of *loyalty card vouchers*, this method returns points back according to the source redemption.
286
+ # Your business logic may include a case when you need to undo a redemption. You can revert a redemption by calling this API endpoint. 🚧 You can roll back a redemption up to 3 months back. # Effect The operation - creates a rollback entry in vouchers redemption history (redemption.redemption_entries) and - gives 1 redemption back to the pool (decreases redeemed_quantity by 1). # Returned funds In case of *gift card vouchers*, this method returns funds back according to the source redemption. In case of *loyalty card vouchers*, this method returns points back according to the source redemption.
307
287
  # @param redemption_id [String] The original redemption ID to be rolled back (undone).
308
288
  # @param [Hash] opts the optional parameters
309
289
  # @option opts [String] :reason Reason for the rollback.
@@ -316,7 +296,7 @@ module VoucherifySdk
316
296
  end
317
297
 
318
298
  # Rollback Redemption
319
- # Your business logic may include a case when you need to undo a redemption. You can revert a redemption by calling this API endpoint. # Effect The operation - creates a rollback entry in vouchers redemption history (redemption.redemption_entries) and - gives 1 redemption back to the pool (decreases redeemed_quantity by 1). # Returned funds In case of *gift card vouchers*, this method returns funds back according to the source redemption. In case of *loyalty card vouchers*, this method returns points back according to the source redemption.
299
+ # Your business logic may include a case when you need to undo a redemption. You can revert a redemption by calling this API endpoint. 🚧 You can roll back a redemption up to 3 months back. # Effect The operation - creates a rollback entry in vouchers redemption history (redemption.redemption_entries) and - gives 1 redemption back to the pool (decreases redeemed_quantity by 1). # Returned funds In case of *gift card vouchers*, this method returns funds back according to the source redemption. In case of *loyalty card vouchers*, this method returns points back according to the source redemption.
320
300
  # @param redemption_id [String] The original redemption ID to be rolled back (undone).
321
301
  # @param [Hash] opts the optional parameters
322
302
  # @option opts [String] :reason Reason for the rollback.
@@ -327,10 +307,6 @@ module VoucherifySdk
327
307
  if @api_client.config.debugging
328
308
  @api_client.config.logger.debug 'Calling API: RedemptionsApi.rollback_redemption ...'
329
309
  end
330
- # verify the required parameter 'redemption_id' is set
331
- if @api_client.config.client_side_validation && redemption_id.nil?
332
- fail ArgumentError, "Missing the required parameter 'redemption_id' when calling RedemptionsApi.rollback_redemption"
333
- end
334
310
  # resource path
335
311
  local_var_path = '/v1/redemptions/{redemptionId}/rollback'.sub('{' + 'redemptionId' + '}', CGI.escape(redemption_id.to_s))
336
312
 
@@ -379,7 +355,7 @@ module VoucherifySdk
379
355
  end
380
356
 
381
357
  # Rollback Stackable Redemptions
382
- # Rollback a stackable redemption. When you rollback a stacked redemption, all child redemptions will be rolled back. Provide the parent redemption ID as the path parameter.
358
+ # Rollback a stackable redemption. When you rollback a stacked redemption, all child redemptions will be rolled back. Provide the parent redemption ID as the path parameter. 🚧 You can roll back a redemption up to 3 months back.
383
359
  # @param parent_redemption_id [String] Unique identifier of a parent redemption, e.g. r_JQfm73zWSJFQxs3bGxweYjgm.
384
360
  # @param [Hash] opts the optional parameters
385
361
  # @option opts [String] :reason Reason for the rollback.
@@ -392,7 +368,7 @@ module VoucherifySdk
392
368
  end
393
369
 
394
370
  # Rollback Stackable Redemptions
395
- # Rollback a stackable redemption. When you rollback a stacked redemption, all child redemptions will be rolled back. Provide the parent redemption ID as the path parameter.
371
+ # Rollback a stackable redemption. When you rollback a stacked redemption, all child redemptions will be rolled back. Provide the parent redemption ID as the path parameter. 🚧 You can roll back a redemption up to 3 months back.
396
372
  # @param parent_redemption_id [String] Unique identifier of a parent redemption, e.g. r_JQfm73zWSJFQxs3bGxweYjgm.
397
373
  # @param [Hash] opts the optional parameters
398
374
  # @option opts [String] :reason Reason for the rollback.
@@ -403,10 +379,6 @@ module VoucherifySdk
403
379
  if @api_client.config.debugging
404
380
  @api_client.config.logger.debug 'Calling API: RedemptionsApi.rollback_stacked_redemptions ...'
405
381
  end
406
- # verify the required parameter 'parent_redemption_id' is set
407
- if @api_client.config.client_side_validation && parent_redemption_id.nil?
408
- fail ArgumentError, "Missing the required parameter 'parent_redemption_id' when calling RedemptionsApi.rollback_stacked_redemptions"
409
- end
410
382
  # resource path
411
383
  local_var_path = '/v1/redemptions/{parentRedemptionId}/rollbacks'.sub('{' + 'parentRedemptionId' + '}', CGI.escape(parent_redemption_id.to_s))
412
384