voucherify 4.1.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1429) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +14 -0
  3. data/ENDPOINTS-COVERAGE.md +868 -0
  4. data/EXAMPLES.md +112 -0
  5. data/Gemfile +6 -1
  6. data/Gemfile.lock +72 -0
  7. data/LICENSE +2 -2
  8. data/README.md +881 -867
  9. data/Rakefile +9 -4
  10. data/VoucherifySdk.gemspec +37 -0
  11. data/__tests__/README.md +35 -0
  12. data/__tests__/lib/campaigns.rb +128 -0
  13. data/__tests__/lib/config.rb +70 -0
  14. data/__tests__/lib/customers.rb +34 -0
  15. data/__tests__/lib/events.rb +24 -0
  16. data/__tests__/lib/products.rb +116 -0
  17. data/__tests__/lib/stackables.rb +59 -0
  18. data/__tests__/lib/utils.rb +5 -0
  19. data/__tests__/lib/voucherify_data.rb +95 -0
  20. data/__tests__/spec/1_products_spec.rb +101 -0
  21. data/__tests__/spec/2_campaigns_spec.rb +95 -0
  22. data/__tests__/spec/3_customers_spec.rb +24 -0
  23. data/__tests__/spec/4_publications_spec.rb +23 -0
  24. data/__tests__/spec/5_qualifications_spec.rb +27 -0
  25. data/__tests__/spec/6_validations_spec.rb +126 -0
  26. data/__tests__/spec/7_vouchers_spec.rb +40 -0
  27. data/__tests__/spec/8_events_spec.rb +16 -0
  28. data/__tests__/spec/9_redemptions_spec.rb +14 -0
  29. data/docs/Any.md +53 -0
  30. data/docs/ApplicableTo.md +21 -0
  31. data/docs/ApplicableToEffect.md +7 -0
  32. data/docs/ApplicableToResultList.md +11 -0
  33. data/docs/ArrayInner.md +51 -0
  34. data/docs/AsyncActions.md +8 -0
  35. data/docs/BusValRuleAssignment.md +16 -0
  36. data/docs/Campaign.md +37 -0
  37. data/docs/CampaignBase.md +35 -0
  38. data/docs/CampaignBaseValidityTimeframe.md +9 -0
  39. data/docs/CampaignLoyaltyCard.md +9 -0
  40. data/docs/CampaignLoyaltyCardExpirationRules.md +11 -0
  41. data/docs/CampaignLoyaltyVoucher.md +11 -0
  42. data/docs/CampaignLoyaltyVoucherRedemption.md +8 -0
  43. data/docs/CampaignVoucher.md +17 -0
  44. data/docs/CampaignVoucherRedemption.md +8 -0
  45. data/docs/CampaignsApi.md +694 -0
  46. data/docs/CampaignsCreateBase.md +23 -0
  47. data/docs/CampaignsCreateDiscountCouponsCampaign.md +25 -0
  48. data/docs/CampaignsCreateGiftCampaign.md +25 -0
  49. data/docs/CampaignsCreateGiveawayCampaign.md +26 -0
  50. data/docs/CampaignsCreateLoyaltyCampaign.md +25 -0
  51. data/docs/CampaignsCreatePromotionCampaign.md +25 -0
  52. data/docs/CampaignsCreateReferralCampaign.md +26 -0
  53. data/docs/CampaignsCreateRequestBody.md +57 -0
  54. data/docs/CampaignsCreateResponseBody.md +37 -0
  55. data/docs/CampaignsDeleteResponseBody.md +8 -0
  56. data/docs/CampaignsDisableResponseBody.md +7 -0
  57. data/docs/CampaignsEnableResponseBody.md +7 -0
  58. data/docs/CampaignsGetResponseBody.md +37 -0
  59. data/docs/CampaignsImportCreateResponseBody.md +8 -0
  60. data/docs/CampaignsImportCsvCreateResponseBody.md +8 -0
  61. data/docs/CampaignsImportVoucherItem.md +20 -0
  62. data/docs/CampaignsImportVoucherItemRedemption.md +8 -0
  63. data/docs/CampaignsImportVoucherLoyaltyCard.md +8 -0
  64. data/docs/CampaignsListResponseBody.md +11 -0
  65. data/docs/CampaignsUpdateBase.md +16 -0
  66. data/docs/CampaignsUpdateCouponCampaignBase.md +20 -0
  67. data/docs/CampaignsUpdateDiscountCouponsCampaign.md +21 -0
  68. data/docs/CampaignsUpdateGiftCampaign.md +21 -0
  69. data/docs/CampaignsUpdateGiveawayCampaign.md +23 -0
  70. data/docs/CampaignsUpdateLoyaltyCampaign.md +22 -0
  71. data/docs/CampaignsUpdatePromotionCampaign.md +16 -0
  72. data/docs/CampaignsUpdateReferralCampaign.md +22 -0
  73. data/docs/CampaignsUpdateRequestBody.md +57 -0
  74. data/docs/CampaignsUpdateResponseBody.md +37 -0
  75. data/docs/CampaignsVouchersCreateBaseRequestBody.md +13 -0
  76. data/docs/CampaignsVouchersCreateInBulkRequestBody.md +15 -0
  77. data/docs/CampaignsVouchersCreateInBulkResponseBody.md +8 -0
  78. data/docs/CampaignsVouchersCreateRequestBody.md +13 -0
  79. data/docs/CampaignsVouchersCreateResponseBody.md +37 -0
  80. data/docs/CategoriesApi.md +304 -0
  81. data/docs/CategoriesCreateRequestBody.md +9 -0
  82. data/docs/CategoriesCreateResponseBody.md +12 -0
  83. data/docs/CategoriesGetResponseBody.md +14 -0
  84. data/docs/CategoriesListResponseBody.md +11 -0
  85. data/docs/CategoriesUpdateRequestBody.md +9 -0
  86. data/docs/CategoriesUpdateResponseBody.md +13 -0
  87. data/docs/Category.md +14 -0
  88. data/docs/ClientEventsCreateRequestBody.md +12 -0
  89. data/docs/ClientEventsCreateRequestBodyLoyalty.md +8 -0
  90. data/docs/ClientEventsCreateRequestBodyReferral.md +9 -0
  91. data/docs/ClientEventsCreateResponseBody.md +12 -0
  92. data/docs/ClientQualificationsCheckEligibilityRequestBody.md +14 -0
  93. data/docs/ClientQualificationsCheckEligibilityRequestBodyOptions.md +12 -0
  94. data/docs/ClientQualificationsCheckEligibilityRequestBodyOptionsFilters.md +14 -0
  95. data/docs/ClientQualificationsCheckEligibilityResponseBody.md +11 -0
  96. data/docs/ClientRedemptionsRedeemRequestBody.md +14 -0
  97. data/docs/ClientRedemptionsRedeemRequestBodyAllOfOptions.md +8 -0
  98. data/docs/ClientRedemptionsRedeemResponseBody.md +12 -0
  99. data/docs/ClientSideApi.md +319 -0
  100. data/docs/ClientValidationsValidateRequestBody.md +14 -0
  101. data/docs/ClientValidationsValidateRequestBodyAllOfOptions.md +8 -0
  102. data/docs/ClientValidationsValidateResponseBody.md +14 -0
  103. data/docs/CodeConfig.md +13 -0
  104. data/docs/CodeConfigRequiredLengthCharsetPattern.md +13 -0
  105. data/docs/CreatePublicationBase.md +10 -0
  106. data/docs/CreatePublicationCampaign.md +9 -0
  107. data/docs/CreatePublicationWithCampaign.md +11 -0
  108. data/docs/CreatePublicationWithSpecificVoucher.md +11 -0
  109. data/docs/CustomEvent.md +15 -0
  110. data/docs/CustomEventReferral.md +10 -0
  111. data/docs/Customer.md +17 -0
  112. data/docs/CustomerActivity.md +11 -0
  113. data/docs/CustomerActivityData.md +183 -0
  114. data/docs/CustomerBase.md +15 -0
  115. data/docs/CustomerBaseAddress.md +13 -0
  116. data/docs/CustomerId.md +9 -0
  117. data/docs/CustomerLoyalty.md +10 -0
  118. data/docs/CustomerLoyaltyCampaignsValue.md +10 -0
  119. data/docs/CustomerReferrals.md +9 -0
  120. data/docs/CustomerReferralsCampaignsItem.md +12 -0
  121. data/docs/CustomerResponseDataAssets.md +8 -0
  122. data/docs/CustomerSegmentsList.md +11 -0
  123. data/docs/CustomerSummary.md +9 -0
  124. data/docs/CustomerSummaryOrders.md +12 -0
  125. data/docs/CustomerSummaryRedemptions.md +15 -0
  126. data/docs/CustomerSummaryRedemptionsGift.md +9 -0
  127. data/docs/CustomerSummaryRedemptionsLoyaltyCard.md +9 -0
  128. data/docs/CustomerWithSummaryLoyaltyReferrals.md +25 -0
  129. data/docs/CustomersActivitiesListResponseBody.md +11 -0
  130. data/docs/CustomersApi.md +771 -0
  131. data/docs/CustomersCreateRequestBody.md +17 -0
  132. data/docs/CustomersCreateResponseBody.md +25 -0
  133. data/docs/CustomersGetResponseBody.md +25 -0
  134. data/docs/CustomersImportCsvCreateResponseBody.md +8 -0
  135. data/docs/CustomersListResponseBody.md +12 -0
  136. data/docs/CustomersMetadataUpdateInBulkRequestBody.md +9 -0
  137. data/docs/CustomersMetadataUpdateInBulkResponseBody.md +8 -0
  138. data/docs/CustomersPermanentDeletionCreateResponseBody.md +14 -0
  139. data/docs/CustomersPermanentDeletionCreateResponseBodyDataJson.md +14 -0
  140. data/docs/CustomersSegmentsListResponseBody.md +11 -0
  141. data/docs/CustomersUpdateInBulkRequestBody.md +16 -0
  142. data/docs/CustomersUpdateInBulkResponseBody.md +8 -0
  143. data/docs/CustomersUpdateRequestBody.md +15 -0
  144. data/docs/CustomersUpdateResponseBody.md +25 -0
  145. data/docs/Discount.md +55 -0
  146. data/docs/DiscountAmount.md +13 -0
  147. data/docs/DiscountAmountVouchersEffectTypes.md +7 -0
  148. data/docs/DiscountCouponsCampaignVoucher.md +11 -0
  149. data/docs/DiscountFixed.md +12 -0
  150. data/docs/DiscountFixedVouchersEffectTypes.md +7 -0
  151. data/docs/DiscountPercent.md +14 -0
  152. data/docs/DiscountPercentVouchersEffectTypes.md +7 -0
  153. data/docs/DiscountUnit.md +15 -0
  154. data/docs/DiscountUnitMultiple.md +10 -0
  155. data/docs/DiscountUnitMultipleOneUnit.md +13 -0
  156. data/docs/DiscountUnitVouchersEffectTypes.md +7 -0
  157. data/docs/EarningRule.md +24 -0
  158. data/docs/EarningRuleBase.md +21 -0
  159. data/docs/EarningRuleBaseCustomEvent.md +8 -0
  160. data/docs/EarningRuleBaseLoyalty.md +49 -0
  161. data/docs/EarningRuleBaseSegment.md +8 -0
  162. data/docs/EarningRuleBaseSource.md +10 -0
  163. data/docs/EarningRuleBaseValidityTimeframe.md +9 -0
  164. data/docs/EarningRuleEvent.md +7 -0
  165. data/docs/EarningRuleFixed.md +9 -0
  166. data/docs/EarningRuleProportional.md +53 -0
  167. data/docs/EarningRuleProportionalCustomEvent.md +10 -0
  168. data/docs/EarningRuleProportionalCustomEventCustomEvent.md +8 -0
  169. data/docs/EarningRuleProportionalCustomEventCustomEventMetadata.md +10 -0
  170. data/docs/EarningRuleProportionalCustomerMetadata.md +10 -0
  171. data/docs/EarningRuleProportionalCustomerMetadataCustomer.md +8 -0
  172. data/docs/EarningRuleProportionalCustomerMetadataCustomerMetadata.md +10 -0
  173. data/docs/EarningRuleProportionalOrder.md +51 -0
  174. data/docs/EarningRuleProportionalOrderAmount.md +10 -0
  175. data/docs/EarningRuleProportionalOrderAmountOrder.md +8 -0
  176. data/docs/EarningRuleProportionalOrderAmountOrderAmount.md +9 -0
  177. data/docs/EarningRuleProportionalOrderItems.md +51 -0
  178. data/docs/EarningRuleProportionalOrderItemsAmount.md +10 -0
  179. data/docs/EarningRuleProportionalOrderItemsAmountOrderItems.md +8 -0
  180. data/docs/EarningRuleProportionalOrderItemsAmountOrderItemsAmount.md +11 -0
  181. data/docs/EarningRuleProportionalOrderItemsQuantity.md +10 -0
  182. data/docs/EarningRuleProportionalOrderItemsQuantityOrderItems.md +8 -0
  183. data/docs/EarningRuleProportionalOrderItemsSubtotalAmount.md +10 -0
  184. data/docs/EarningRuleProportionalOrderItemsSubtotalAmountOrderItems.md +8 -0
  185. data/docs/EarningRuleProportionalOrderMetadata.md +10 -0
  186. data/docs/EarningRuleProportionalOrderMetadataOrder.md +8 -0
  187. data/docs/EarningRuleProportionalOrderMetadataOrderMetadata.md +10 -0
  188. data/docs/EarningRuleProportionalOrderTotalAmount.md +10 -0
  189. data/docs/EarningRuleProportionalOrderTotalAmountOrder.md +8 -0
  190. data/docs/Error.md +14 -0
  191. data/docs/EventCustomerActiveCampaignFailed.md +10 -0
  192. data/docs/EventCustomerActiveCampaignRecovered.md +10 -0
  193. data/docs/EventCustomerActiveCampaignSent.md +10 -0
  194. data/docs/EventCustomerBatchFailed.md +10 -0
  195. data/docs/EventCustomerBatchRecovered.md +10 -0
  196. data/docs/EventCustomerBatchSent.md +10 -0
  197. data/docs/EventCustomerBrazeFailed.md +10 -0
  198. data/docs/EventCustomerBrazeRecovered.md +10 -0
  199. data/docs/EventCustomerBrazeSent.md +10 -0
  200. data/docs/EventCustomerConfirmed.md +9 -0
  201. data/docs/EventCustomerConfirmedUnconfirmedCustomer.md +8 -0
  202. data/docs/EventCustomerConsents.md +9 -0
  203. data/docs/EventCustomerConsentsGiven.md +9 -0
  204. data/docs/EventCustomerConsentsRevoked.md +9 -0
  205. data/docs/EventCustomerCreated.md +8 -0
  206. data/docs/EventCustomerCustomEvent.md +8 -0
  207. data/docs/EventCustomerDeleted.md +8 -0
  208. data/docs/EventCustomerEmailFailed.md +10 -0
  209. data/docs/EventCustomerEmailRecovered.md +10 -0
  210. data/docs/EventCustomerEmailSent.md +10 -0
  211. data/docs/EventCustomerFailed.md +10 -0
  212. data/docs/EventCustomerGiftVoucherBalanceAdded.md +12 -0
  213. data/docs/EventCustomerIntercomFailed.md +10 -0
  214. data/docs/EventCustomerIntercomRecovered.md +10 -0
  215. data/docs/EventCustomerIntercomSent.md +10 -0
  216. data/docs/EventCustomerKlaviyoFailed.md +10 -0
  217. data/docs/EventCustomerKlaviyoRecovered.md +10 -0
  218. data/docs/EventCustomerKlaviyoSent.md +10 -0
  219. data/docs/EventCustomerLoyaltyCardPointsAdded.md +12 -0
  220. data/docs/EventCustomerLoyaltyCardPointsTransferred.md +14 -0
  221. data/docs/EventCustomerLoyaltyTierBase.md +9 -0
  222. data/docs/EventCustomerLoyaltyTierDowngraded.md +12 -0
  223. data/docs/EventCustomerLoyaltyTierExpirationChanged.md +12 -0
  224. data/docs/EventCustomerLoyaltyTierJoined.md +11 -0
  225. data/docs/EventCustomerLoyaltyTierLeft.md +11 -0
  226. data/docs/EventCustomerLoyaltyTierProlonged.md +11 -0
  227. data/docs/EventCustomerLoyaltyTierUpgraded.md +12 -0
  228. data/docs/EventCustomerLoyaltyUpdated.md +11 -0
  229. data/docs/EventCustomerMailchimpFailed.md +10 -0
  230. data/docs/EventCustomerMailchimpRecovered.md +10 -0
  231. data/docs/EventCustomerMailchimpSent.md +10 -0
  232. data/docs/EventCustomerOrder.md +11 -0
  233. data/docs/EventCustomerOrderCanceled.md +11 -0
  234. data/docs/EventCustomerOrderCreated.md +11 -0
  235. data/docs/EventCustomerOrderFulfilled.md +11 -0
  236. data/docs/EventCustomerOrderPaid.md +11 -0
  237. data/docs/EventCustomerOrderProcessing.md +11 -0
  238. data/docs/EventCustomerOrderUpdated.md +11 -0
  239. data/docs/EventCustomerPublicationFailed.md +10 -0
  240. data/docs/EventCustomerPublicationSucceeded.md +10 -0
  241. data/docs/EventCustomerRecovered.md +10 -0
  242. data/docs/EventCustomerRedemption.md +14 -0
  243. data/docs/EventCustomerRedemptionFailed.md +14 -0
  244. data/docs/EventCustomerRedemptionRollbackFailed.md +15 -0
  245. data/docs/EventCustomerRedemptionRollbackSucceeded.md +15 -0
  246. data/docs/EventCustomerRedemptionSucceeded.md +14 -0
  247. data/docs/EventCustomerReferred.md +13 -0
  248. data/docs/EventCustomerRewardRedemptions.md +16 -0
  249. data/docs/EventCustomerRewardRedemptionsCompleted.md +16 -0
  250. data/docs/EventCustomerRewardRedemptionsCreated.md +16 -0
  251. data/docs/EventCustomerRewardRedemptionsPending.md +16 -0
  252. data/docs/EventCustomerRewardRedemptionsRolledBack.md +16 -0
  253. data/docs/EventCustomerRewarded.md +17 -0
  254. data/docs/EventCustomerRewardedLoyaltyPoints.md +16 -0
  255. data/docs/EventCustomerSegmentEntered.md +9 -0
  256. data/docs/EventCustomerSegmentLeft.md +9 -0
  257. data/docs/EventCustomerSent.md +10 -0
  258. data/docs/EventCustomerShopifyFailed.md +10 -0
  259. data/docs/EventCustomerShopifyRecovered.md +10 -0
  260. data/docs/EventCustomerShopifySent.md +10 -0
  261. data/docs/EventCustomerSmsFailed.md +10 -0
  262. data/docs/EventCustomerSmsRecovered.md +10 -0
  263. data/docs/EventCustomerSmsSent.md +10 -0
  264. data/docs/EventCustomerUpdated.md +8 -0
  265. data/docs/EventCustomerValidationFailed.md +9 -0
  266. data/docs/EventCustomerValidationSucceeded.md +9 -0
  267. data/docs/EventCustomerVoucherDeleted.md +10 -0
  268. data/docs/EventCustomerVouchersLoyaltyPointsExpired.md +13 -0
  269. data/docs/EventsApi.md +68 -0
  270. data/docs/EventsCreateRequestBody.md +12 -0
  271. data/docs/EventsCreateResponseBody.md +12 -0
  272. data/docs/Export.md +59 -0
  273. data/docs/ExportBase.md +14 -0
  274. data/docs/ExportBaseResult.md +8 -0
  275. data/docs/ExportCustomer.md +16 -0
  276. data/docs/ExportCustomerBase.md +9 -0
  277. data/docs/ExportCustomerBaseParameters.md +10 -0
  278. data/docs/ExportCustomerFields.md +7 -0
  279. data/docs/ExportCustomerFilters.md +38 -0
  280. data/docs/ExportCustomerOrder.md +7 -0
  281. data/docs/ExportCustomerScheduled.md +16 -0
  282. data/docs/ExportOrder.md +16 -0
  283. data/docs/ExportOrderBase.md +9 -0
  284. data/docs/ExportOrderFields.md +7 -0
  285. data/docs/ExportOrderFilters.md +21 -0
  286. data/docs/ExportOrderOrder.md +7 -0
  287. data/docs/ExportOrderScheduled.md +16 -0
  288. data/docs/ExportPointsExpiration.md +16 -0
  289. data/docs/ExportPointsExpirationBase.md +9 -0
  290. data/docs/ExportPointsExpirationBaseParameters.md +10 -0
  291. data/docs/ExportPointsExpirationFields.md +7 -0
  292. data/docs/ExportPointsExpirationFilters.md +10 -0
  293. data/docs/ExportPointsExpirationOrder.md +7 -0
  294. data/docs/ExportPointsExpirationScheduled.md +16 -0
  295. data/docs/ExportPublication.md +16 -0
  296. data/docs/ExportPublicationBase.md +9 -0
  297. data/docs/ExportPublicationBaseParameters.md +10 -0
  298. data/docs/ExportPublicationFields.md +7 -0
  299. data/docs/ExportPublicationFilters.md +16 -0
  300. data/docs/ExportPublicationOrder.md +7 -0
  301. data/docs/ExportPublicationScheduled.md +16 -0
  302. data/docs/ExportRedemption.md +16 -0
  303. data/docs/ExportRedemptionBase.md +9 -0
  304. data/docs/ExportRedemptionBaseParameters.md +10 -0
  305. data/docs/ExportRedemptionFields.md +7 -0
  306. data/docs/ExportRedemptionFilters.md +25 -0
  307. data/docs/ExportRedemptionOrder.md +7 -0
  308. data/docs/ExportRedemptionScheduled.md +16 -0
  309. data/docs/ExportScheduledBase.md +14 -0
  310. data/docs/ExportVoucher.md +16 -0
  311. data/docs/ExportVoucherBase.md +9 -0
  312. data/docs/ExportVoucherBaseParameters.md +10 -0
  313. data/docs/ExportVoucherFields.md +7 -0
  314. data/docs/ExportVoucherFilters.md +38 -0
  315. data/docs/ExportVoucherOrder.md +7 -0
  316. data/docs/ExportVoucherScheduled.md +16 -0
  317. data/docs/ExportVoucherTransactions.md +16 -0
  318. data/docs/ExportVoucherTransactionsBase.md +9 -0
  319. data/docs/ExportVoucherTransactionsFields.md +7 -0
  320. data/docs/ExportVoucherTransactionsFilters.md +11 -0
  321. data/docs/ExportVoucherTransactionsOrder.md +7 -0
  322. data/docs/ExportVoucherTransactionsScheduled.md +16 -0
  323. data/docs/ExportsApi.md +301 -0
  324. data/docs/ExportsCreateRequestBody.md +59 -0
  325. data/docs/ExportsCreateResponseBody.md +59 -0
  326. data/docs/ExportsGetResponseBody.md +16 -0
  327. data/docs/ExportsListResponseBody.md +11 -0
  328. data/docs/FieldConditions.md +8 -0
  329. data/docs/FilterConditionsString.md +15 -0
  330. data/docs/FiltersCondition.md +32 -0
  331. data/docs/Gift.md +10 -0
  332. data/docs/GiftCampaignVoucher.md +11 -0
  333. data/docs/GiveawayCampaignVoucher.md +12 -0
  334. data/docs/InapplicableTo.md +21 -0
  335. data/docs/InapplicableToResultList.md +11 -0
  336. data/docs/Junction.md +7 -0
  337. data/docs/ListPublicationsItemBase.md +17 -0
  338. data/docs/ListPublicationsItemInvalid.md +20 -0
  339. data/docs/ListPublicationsItemValidMultipleVouchers.md +19 -0
  340. data/docs/ListPublicationsItemValidSingleVoucher.md +19 -0
  341. data/docs/ListPublicationsItemVoucher.md +14 -0
  342. data/docs/LoyaltiesApi.md +1643 -0
  343. data/docs/LoyaltiesDeleteResponseBody.md +8 -0
  344. data/docs/LoyaltiesEarningRulesDisableResponseBody.md +23 -0
  345. data/docs/LoyaltiesEarningRulesEnableResponseBody.md +23 -0
  346. data/docs/LoyaltiesEarningRulesGetResponseBody.md +24 -0
  347. data/docs/LoyaltiesLoyaltyTierReward.md +10 -0
  348. data/docs/LoyaltiesMembersBalanceUpdateRequestBody.md +12 -0
  349. data/docs/LoyaltiesMembersBalanceUpdateResponseBody.md +14 -0
  350. data/docs/LoyaltiesMembersBalanceUpdateResponseBodyRelatedObject.md +9 -0
  351. data/docs/LoyaltiesMembersPointsExpirationListResponseBody.md +11 -0
  352. data/docs/LoyaltiesMembersPointsExpirationListResponseBodyDataItem.md +16 -0
  353. data/docs/LoyaltiesMembersPointsExpirationListResponseBodyDataItemBucket.md +8 -0
  354. data/docs/LoyaltiesMembersRedemptionRedeemRequestBody.md +10 -0
  355. data/docs/LoyaltiesMembersRedemptionRedeemRequestBodyReward.md +9 -0
  356. data/docs/LoyaltiesMembersRedemptionRedeemResponseBody.md +30 -0
  357. data/docs/LoyaltiesMembersRewardsListResponseBody.md +11 -0
  358. data/docs/LoyaltiesMembersRewardsListResponseBodyDataItem.md +10 -0
  359. data/docs/LoyaltiesMembersTiersListResponseBody.md +11 -0
  360. data/docs/LoyaltiesMembersTransactionsExportCreateRequestBody.md +8 -0
  361. data/docs/LoyaltiesMembersTransactionsExportCreateRequestBodyParameters.md +10 -0
  362. data/docs/LoyaltiesMembersTransactionsExportCreateResponseBody.md +16 -0
  363. data/docs/LoyaltiesMembersTransactionsListResponseBody.md +11 -0
  364. data/docs/LoyaltiesMembersTransfersCreateResponseBody.md +30 -0
  365. data/docs/LoyaltiesMembersTransfersCreateResponseBodyAssets.md +9 -0
  366. data/docs/LoyaltiesMembersTransfersCreateResponseBodyAssetsBarcode.md +9 -0
  367. data/docs/LoyaltiesMembersTransfersCreateResponseBodyAssetsQr.md +9 -0
  368. data/docs/LoyaltiesMembersTransfersCreateResponseBodyLoyaltyCard.md +11 -0
  369. data/docs/LoyaltiesMembersTransfersCreateResponseBodyPublish.md +11 -0
  370. data/docs/LoyaltiesMembersTransfersCreateResponseBodyRedemption.md +13 -0
  371. data/docs/LoyaltiesMembersTransfersCreateResponseBodyValidityTimeframe.md +9 -0
  372. data/docs/LoyaltiesRewardAssignmentsGetResponseBody.md +15 -0
  373. data/docs/LoyaltiesRewardAssignmentsRewardGetResponseBody.md +18 -0
  374. data/docs/LoyaltiesRewardsGetResponseBody.md +15 -0
  375. data/docs/LoyaltiesTiersCreateInBulkRequestBodyItem.md +12 -0
  376. data/docs/LoyaltiesTiersEarningRulesListResponseBody.md +11 -0
  377. data/docs/LoyaltiesTiersGetResponseBody.md +19 -0
  378. data/docs/LoyaltiesTiersListResponseBody.md +11 -0
  379. data/docs/LoyaltiesTiersRewardsListResponseBody.md +11 -0
  380. data/docs/LoyaltiesTransferPoints.md +11 -0
  381. data/docs/LoyaltyCardTransaction.md +17 -0
  382. data/docs/LoyaltyCardTransactionsType.md +7 -0
  383. data/docs/LoyaltyTier.md +19 -0
  384. data/docs/LoyaltyTierAllOfConfig.md +8 -0
  385. data/docs/LoyaltyTierAllOfConfigPoints.md +9 -0
  386. data/docs/LoyaltyTierBase.md +11 -0
  387. data/docs/LoyaltyTierBasePoints.md +9 -0
  388. data/docs/LoyaltyTierExpiration.md +14 -0
  389. data/docs/LoyaltyTiersExpirationAll.md +11 -0
  390. data/docs/LoyaltyTiersExpirationAllExpirationDate.md +10 -0
  391. data/docs/LoyaltyTiersExpirationAllExpirationDateRounding.md +11 -0
  392. data/docs/LoyaltyTiersExpirationAllStartDate.md +8 -0
  393. data/docs/LuckyDraw.md +10 -0
  394. data/docs/MappingFixed.md +9 -0
  395. data/docs/MappingMultiply.md +9 -0
  396. data/docs/MappingPoints.md +49 -0
  397. data/docs/Order.md +19 -0
  398. data/docs/OrderBase.md +17 -0
  399. data/docs/OrderCalculated.md +29 -0
  400. data/docs/OrderCalculatedBase.md +27 -0
  401. data/docs/OrderCalculatedCustomer.md +49 -0
  402. data/docs/OrderCalculatedNoCustomerData.md +29 -0
  403. data/docs/OrderCalculatedReferrer.md +49 -0
  404. data/docs/OrderItem.md +21 -0
  405. data/docs/OrderItemCalculated.md +25 -0
  406. data/docs/OrderItemProduct.md +13 -0
  407. data/docs/OrderItemSku.md +12 -0
  408. data/docs/OrderRedemptions.md +15 -0
  409. data/docs/OrdersApi.md +377 -0
  410. data/docs/OrdersCreateRequestBody.md +19 -0
  411. data/docs/OrdersCreateResponseBody.md +29 -0
  412. data/docs/OrdersExportCreateRequestBody.md +8 -0
  413. data/docs/OrdersExportCreateRequestBodyParameters.md +10 -0
  414. data/docs/OrdersExportCreateResponseBody.md +16 -0
  415. data/docs/OrdersGetResponseBody.md +29 -0
  416. data/docs/OrdersImportCreateRequestBodyItem.md +18 -0
  417. data/docs/OrdersImportCreateResponseBody.md +8 -0
  418. data/docs/OrdersListResponseBody.md +11 -0
  419. data/docs/OrdersUpdateRequestBody.md +17 -0
  420. data/docs/OrdersUpdateResponseBody.md +29 -0
  421. data/docs/ParameterCampaignType.md +7 -0
  422. data/docs/ParameterCreatedBeforeAfter.md +9 -0
  423. data/docs/ParameterExpandListCampaigns.md +7 -0
  424. data/docs/ParameterFiltersListRedemptions.md +17 -0
  425. data/docs/ParameterFiltersListRedemptionsCampaignName.md +9 -0
  426. data/docs/ParameterFiltersListRedemptionsCustomerId.md +9 -0
  427. data/docs/ParameterFiltersListRedemptionsFailureCode.md +9 -0
  428. data/docs/ParameterFiltersListRedemptionsObject.md +9 -0
  429. data/docs/ParameterFiltersListRedemptionsParentRedemptionId.md +9 -0
  430. data/docs/ParameterFiltersListRedemptionsRelatedObjectId.md +9 -0
  431. data/docs/ParameterFiltersListRedemptionsRelatedObjectParentId.md +9 -0
  432. data/docs/ParameterFiltersListRedemptionsResult.md +9 -0
  433. data/docs/ParameterFiltersListRedemptionsUserLogin.md +9 -0
  434. data/docs/ParameterFiltersListRedemptionsVoucherCode.md +9 -0
  435. data/docs/ParameterOrder.md +7 -0
  436. data/docs/ParameterOrderListAllPromotionStacks.md +7 -0
  437. data/docs/ParameterOrderListCampaigns.md +7 -0
  438. data/docs/ParameterOrderListCustomers.md +7 -0
  439. data/docs/ParameterOrderListExports.md +7 -0
  440. data/docs/ParameterOrderListLoyaltyTiers.md +7 -0
  441. data/docs/ParameterOrderListOrders.md +7 -0
  442. data/docs/ParameterOrderListPublications.md +7 -0
  443. data/docs/ParameterOrderListRedemptions.md +7 -0
  444. data/docs/ParameterOrderListValidationRuleAssignments.md +7 -0
  445. data/docs/ParameterOrderListValidationRules.md +7 -0
  446. data/docs/ParameterResultListPublications.md +7 -0
  447. data/docs/ParameterUpdatedBeforeAfter.md +9 -0
  448. data/docs/ParameterVoucherTypeListPublications.md +7 -0
  449. data/docs/PointsExpirationTypes.md +7 -0
  450. data/docs/Product.md +18 -0
  451. data/docs/ProductCollectionsApi.md +319 -0
  452. data/docs/ProductCollectionsCreateDynamicRequestBody.md +10 -0
  453. data/docs/ProductCollectionsCreateDynamicRequestBodyFilter.md +20 -0
  454. data/docs/ProductCollectionsCreateDynamicRequestBodyProductsItem.md +10 -0
  455. data/docs/ProductCollectionsCreateRequestBody.md +49 -0
  456. data/docs/ProductCollectionsCreateResponseBody.md +14 -0
  457. data/docs/ProductCollectionsCreateStaticRequestBody.md +10 -0
  458. data/docs/ProductCollectionsGetResponseBody.md +14 -0
  459. data/docs/ProductCollectionsItem.md +14 -0
  460. data/docs/ProductCollectionsItemProductsItem.md +10 -0
  461. data/docs/ProductCollectionsList.md +11 -0
  462. data/docs/ProductCollectionsListResponseBody.md +11 -0
  463. data/docs/ProductCollectionsProductsList.md +11 -0
  464. data/docs/ProductCollectionsProductsListProductsItem.md +49 -0
  465. data/docs/ProductCollectionsProductsListResponseBody.md +11 -0
  466. data/docs/ProductWithoutSkus.md +17 -0
  467. data/docs/ProductsApi.md +883 -0
  468. data/docs/ProductsCreateRequestBody.md +14 -0
  469. data/docs/ProductsCreateResponseBody.md +18 -0
  470. data/docs/ProductsGetResponseBody.md +18 -0
  471. data/docs/ProductsImportCsvCreateResponseBody.md +8 -0
  472. data/docs/ProductsListResponseBody.md +11 -0
  473. data/docs/ProductsMetadataUpdateInBulkRequestBody.md +9 -0
  474. data/docs/ProductsMetadataUpdateInBulkResponseBody.md +8 -0
  475. data/docs/ProductsSkusCreateRequestBody.md +15 -0
  476. data/docs/ProductsSkusCreateResponseBody.md +19 -0
  477. data/docs/ProductsSkusListResponseBody.md +11 -0
  478. data/docs/ProductsSkusUpdateRequestBody.md +13 -0
  479. data/docs/ProductsSkusUpdateResponseBody.md +19 -0
  480. data/docs/ProductsUpdateInBulkRequestBody.md +13 -0
  481. data/docs/ProductsUpdateInBulkResponseBody.md +8 -0
  482. data/docs/ProductsUpdateRequestBody.md +12 -0
  483. data/docs/ProductsUpdateResponseBody.md +18 -0
  484. data/docs/PromotionStack.md +16 -0
  485. data/docs/PromotionStackBase.md +9 -0
  486. data/docs/PromotionStackBaseTiers.md +9 -0
  487. data/docs/PromotionTier.md +28 -0
  488. data/docs/PromotionTierAction.md +8 -0
  489. data/docs/PromotionTierCampaign.md +15 -0
  490. data/docs/PromotionTierCampaignValidityTimeframe.md +9 -0
  491. data/docs/PromotionTierCreateParams.md +20 -0
  492. data/docs/PromotionTierSummary.md +9 -0
  493. data/docs/PromotionTierSummaryOrders.md +9 -0
  494. data/docs/PromotionTierSummaryRedemptions.md +8 -0
  495. data/docs/PromotionTierValidityTimeframe.md +9 -0
  496. data/docs/PromotionTiersList.md +12 -0
  497. data/docs/PromotionsApi.md +678 -0
  498. data/docs/PromotionsStacksCreateRequestBody.md +10 -0
  499. data/docs/PromotionsStacksCreateResponseBody.md +15 -0
  500. data/docs/PromotionsStacksGetResponseBody.md +16 -0
  501. data/docs/PromotionsStacksListResponseBody.md +11 -0
  502. data/docs/PromotionsStacksUpdateRequestBody.md +10 -0
  503. data/docs/PromotionsStacksUpdateRequestBodyTiers.md +9 -0
  504. data/docs/PromotionsStacksUpdateResponseBody.md +16 -0
  505. data/docs/PromotionsTiersDisableResponseBody.md +28 -0
  506. data/docs/PromotionsTiersEnableResponseBody.md +28 -0
  507. data/docs/PromotionsTiersGetResponseBody.md +28 -0
  508. data/docs/PromotionsTiersListResponseBody.md +12 -0
  509. data/docs/PropertiesForLoyaltyCampaignOptions.md +8 -0
  510. data/docs/PublicationsApi.md +222 -0
  511. data/docs/PublicationsCreateBaseResponseBody.md +18 -0
  512. data/docs/PublicationsCreateRequestBody.md +49 -0
  513. data/docs/PublicationsCreateResponseBody.md +49 -0
  514. data/docs/PublicationsCreateVoucherResponseBody.md +19 -0
  515. data/docs/PublicationsCreateVouchersResponseBody.md +19 -0
  516. data/docs/PublicationsListResponseBody.md +11 -0
  517. data/docs/PublicationsListResponseBodyPublicationsItem.md +51 -0
  518. data/docs/QualificationsApi.md +68 -0
  519. data/docs/QualificationsCheckEligibilityRequestBody.md +14 -0
  520. data/docs/QualificationsCheckEligibilityResponseBody.md +11 -0
  521. data/docs/QualificationsFieldConditions.md +8 -0
  522. data/docs/QualificationsFiltersCondition.md +13 -0
  523. data/docs/QualificationsOption.md +12 -0
  524. data/docs/QualificationsOptionFilters.md +14 -0
  525. data/docs/QualificationsOptionFiltersResourceType.md +8 -0
  526. data/docs/QualificationsOptionFiltersResourceTypeConditions.md +11 -0
  527. data/docs/QualificationsRedeemable.md +23 -0
  528. data/docs/QualificationsRedeemableBase.md +22 -0
  529. data/docs/QualificationsRedeemables.md +13 -0
  530. data/docs/QualificationsStackingRules.md +12 -0
  531. data/docs/RedeemGiftCard.md +10 -0
  532. data/docs/RedeemGiftCardAllOfGift.md +8 -0
  533. data/docs/RedeemLoyaltyCard.md +10 -0
  534. data/docs/RedeemLoyaltyCardAllOfReward.md +9 -0
  535. data/docs/RedeemPromotionStack.md +9 -0
  536. data/docs/RedeemPromotionTier.md +9 -0
  537. data/docs/RedeemVoucher.md +9 -0
  538. data/docs/RedeemableGift.md +9 -0
  539. data/docs/RedeemableLoyaltyCard.md +12 -0
  540. data/docs/RedeemableResult.md +11 -0
  541. data/docs/RedeemableResultGiftCard.md +8 -0
  542. data/docs/RedeemableResultGiftCardGift.md +8 -0
  543. data/docs/RedeemableResultLoyaltyCard.md +8 -0
  544. data/docs/RedeemableResultLoyaltyCardLoyaltyCard.md +8 -0
  545. data/docs/RedeemableResultPromotionStack.md +8 -0
  546. data/docs/RedeemableResultPromotionTier.md +8 -0
  547. data/docs/RedeemableResultPromotionTierDiscount.md +55 -0
  548. data/docs/RedeemableResultVoucherCode.md +8 -0
  549. data/docs/Redemption.md +30 -0
  550. data/docs/RedemptionChannel.md +9 -0
  551. data/docs/RedemptionGift.md +8 -0
  552. data/docs/RedemptionInternal.md +34 -0
  553. data/docs/RedemptionInternalRelatedRedemptions.md +9 -0
  554. data/docs/RedemptionInternalRelatedRedemptionsItem.md +9 -0
  555. data/docs/RedemptionInternalRelatedRedemptionsRollbacksItem.md +9 -0
  556. data/docs/RedemptionLoyaltyCard.md +8 -0
  557. data/docs/RedemptionRelatedRedemptions.md +9 -0
  558. data/docs/RedemptionRelatedRedemptionsItem.md +9 -0
  559. data/docs/RedemptionRelatedRedemptionsRollbacksItem.md +9 -0
  560. data/docs/RedemptionRewardResult.md +20 -0
  561. data/docs/RedemptionRewardResultParameters.md +10 -0
  562. data/docs/RedemptionRewardResultParametersCampaign.md +10 -0
  563. data/docs/RedemptionRewardResultParametersCoin.md +9 -0
  564. data/docs/RedemptionRewardResultParametersProduct.md +9 -0
  565. data/docs/RedemptionRewardResultProduct.md +18 -0
  566. data/docs/RedemptionRewardResultSku.md +19 -0
  567. data/docs/RedemptionRewardResultVoucher.md +37 -0
  568. data/docs/RedemptionRollback.md +31 -0
  569. data/docs/RedemptionRollbackRelatedRedemptions.md +9 -0
  570. data/docs/RedemptionRollbackRelatedRedemptionsItem.md +9 -0
  571. data/docs/RedemptionRollbackRelatedRedemptionsRollbacksItem.md +9 -0
  572. data/docs/RedemptionsApi.md +395 -0
  573. data/docs/RedemptionsGetResponseBody.md +49 -0
  574. data/docs/RedemptionsListResponseBody.md +11 -0
  575. data/docs/RedemptionsListResponseBodyRedemptionsItem.md +49 -0
  576. data/docs/RedemptionsRedeemRequestBody.md +14 -0
  577. data/docs/RedemptionsRedeemResponseBody.md +12 -0
  578. data/docs/RedemptionsRollbackCreateRequestBody.md +12 -0
  579. data/docs/RedemptionsRollbackCreateResponseBody.md +31 -0
  580. data/docs/RedemptionsRollbacksCreateRequestBody.md +12 -0
  581. data/docs/RedemptionsRollbacksCreateResponseBody.md +10 -0
  582. data/docs/ReferralCampaignVoucher.md +12 -0
  583. data/docs/ReferralProgram.md +10 -0
  584. data/docs/ReferralProgramCustomEvent.md +9 -0
  585. data/docs/ReferralProgramRefereeReward.md +10 -0
  586. data/docs/ReferralProgramRefereeRewardRelatedObjectParent.md +10 -0
  587. data/docs/Referrer.md +17 -0
  588. data/docs/ReferrerId.md +9 -0
  589. data/docs/ReferrerWithSummaryLoyaltyReferrals.md +25 -0
  590. data/docs/ResourceTypes.md +7 -0
  591. data/docs/Reward.md +18 -0
  592. data/docs/RewardAssignment.md +15 -0
  593. data/docs/RewardAssignmentBase.md +14 -0
  594. data/docs/RewardAssignmentParameters.md +8 -0
  595. data/docs/RewardAssignmentParametersParameters.md +8 -0
  596. data/docs/RewardAssignmentParametersParametersLoyalty.md +8 -0
  597. data/docs/RewardAssignmentsCreateCoinRewardRequestBody.md +9 -0
  598. data/docs/RewardAssignmentsCreateDigitalOrMaterialRewardRequestBody.md +9 -0
  599. data/docs/RewardAssignmentsCreateDigitalOrMaterialRewardRequestBodyParameters.md +8 -0
  600. data/docs/RewardAssignmentsCreateDigitalOrMaterialRewardRequestBodyParametersLoyalty.md +8 -0
  601. data/docs/RewardAttributes.md +9 -0
  602. data/docs/RewardType.md +51 -0
  603. data/docs/RewardTypeCampaign.md +8 -0
  604. data/docs/RewardTypeCampaignCampaign.md +10 -0
  605. data/docs/RewardTypeCoin.md +8 -0
  606. data/docs/RewardTypeCoinCoin.md +9 -0
  607. data/docs/RewardTypeMaterial.md +8 -0
  608. data/docs/RewardTypeMaterialProduct.md +9 -0
  609. data/docs/RewardsApi.md +379 -0
  610. data/docs/RewardsAssignmentsCreateRequestBody.md +49 -0
  611. data/docs/RewardsAssignmentsCreateResponseBody.md +15 -0
  612. data/docs/RewardsAssignmentsGetResponseBody.md +15 -0
  613. data/docs/RewardsAssignmentsListResponseBody.md +11 -0
  614. data/docs/RewardsAssignmentsUpdateRequestBody.md +8 -0
  615. data/docs/RewardsAssignmentsUpdateRequestBodyParameters.md +8 -0
  616. data/docs/RewardsAssignmentsUpdateRequestBodyParametersLoyalty.md +8 -0
  617. data/docs/RewardsAssignmentsUpdateResponseBody.md +15 -0
  618. data/docs/SchemaThatContainsUniquePropertiesForPromotionCampaignPromotion.md +8 -0
  619. data/docs/SegmentsApi.md +65 -0
  620. data/docs/Session.md +11 -0
  621. data/docs/SimpleCampaign.md +20 -0
  622. data/docs/SimpleConsent.md +10 -0
  623. data/docs/SimpleCustomer.md +13 -0
  624. data/docs/SimpleCustomerRequiredObjectType.md +13 -0
  625. data/docs/SimpleOrder.md +23 -0
  626. data/docs/SimpleOrderItem.md +18 -0
  627. data/docs/SimpleProduct.md +10 -0
  628. data/docs/SimpleProductDiscountUnit.md +10 -0
  629. data/docs/SimplePromotionTier.md +11 -0
  630. data/docs/SimplePromotionTierCampaign.md +8 -0
  631. data/docs/SimpleRedemption.md +20 -0
  632. data/docs/SimpleRedemptionRewardResult.md +20 -0
  633. data/docs/SimpleReferralTier.md +11 -0
  634. data/docs/SimpleSegment.md +10 -0
  635. data/docs/SimpleSku.md +10 -0
  636. data/docs/SimpleSkuDiscountUnit.md +10 -0
  637. data/docs/SimpleVoucher.md +20 -0
  638. data/docs/Sku.md +19 -0
  639. data/docs/SkuWithProduct.md +20 -0
  640. data/docs/SkusGetResponseBody.md +19 -0
  641. data/docs/SkusImportCsvCreateResponseBody.md +8 -0
  642. data/docs/SkusList.md +11 -0
  643. data/docs/SkusListForProduct.md +11 -0
  644. data/docs/StackableDiscountsApi.md +412 -0
  645. data/docs/StackableValidateRedeemBase.md +13 -0
  646. data/docs/StackableValidateRedeemBaseRedeemablesItem.md +55 -0
  647. data/docs/StackingRules.md +15 -0
  648. data/docs/ValidationEntity.md +15 -0
  649. data/docs/ValidationRule.md +18 -0
  650. data/docs/ValidationRuleAssignment.md +13 -0
  651. data/docs/ValidationRuleAssignmentsList.md +11 -0
  652. data/docs/ValidationRuleBase.md +13 -0
  653. data/docs/ValidationRuleBaseApplicableTo.md +10 -0
  654. data/docs/ValidationRuleBaseError.md +8 -0
  655. data/docs/ValidationRulesApi.md +513 -0
  656. data/docs/ValidationRulesAssignmentsList.md +11 -0
  657. data/docs/ValidationRulesAssignmentsListResponseBody.md +11 -0
  658. data/docs/ValidationRulesCreateRequestBody.md +13 -0
  659. data/docs/ValidationRulesCreateResponseBody.md +18 -0
  660. data/docs/ValidationRulesGetResponseBody.md +18 -0
  661. data/docs/ValidationRulesListResponseBody.md +11 -0
  662. data/docs/ValidationRulesUpdateRequestBody.md +13 -0
  663. data/docs/ValidationRulesUpdateResponseBody.md +18 -0
  664. data/docs/ValidationsApi.md +68 -0
  665. data/docs/ValidationsRedeemableApplicable.md +16 -0
  666. data/docs/ValidationsRedeemableApplicableResult.md +55 -0
  667. data/docs/ValidationsRedeemableInapplicable.md +11 -0
  668. data/docs/ValidationsRedeemableInapplicableResult.md +8 -0
  669. data/docs/ValidationsRedeemableSkipped.md +11 -0
  670. data/docs/ValidationsValidateAllResponseBody.md +13 -0
  671. data/docs/ValidationsValidateAllResponseBodyRedeemablesItem.md +51 -0
  672. data/docs/ValidationsValidatePartialResponseBody.md +14 -0
  673. data/docs/ValidationsValidateRequestBody.md +14 -0
  674. data/docs/ValidationsValidateResponseBody.md +14 -0
  675. data/docs/Voucher.md +37 -0
  676. data/docs/VoucherAssets.md +9 -0
  677. data/docs/VoucherGift.md +10 -0
  678. data/docs/VoucherLoyaltyCard.md +11 -0
  679. data/docs/VoucherPublish.md +10 -0
  680. data/docs/VoucherRedemption.md +13 -0
  681. data/docs/VoucherTransaction.md +17 -0
  682. data/docs/VoucherTransactionDetails.md +20 -0
  683. data/docs/VoucherTransactionDetailsBalance.md +13 -0
  684. data/docs/VoucherTransactionDetailsBalanceRelatedObject.md +9 -0
  685. data/docs/VoucherTransactionDetailsCustomEvent.md +9 -0
  686. data/docs/VoucherTransactionDetailsEarningRule.md +9 -0
  687. data/docs/VoucherTransactionDetailsEarningRuleSource.md +8 -0
  688. data/docs/VoucherTransactionDetailsEvent.md +9 -0
  689. data/docs/VoucherTransactionDetailsEventSchema.md +9 -0
  690. data/docs/VoucherTransactionDetailsLoyaltyTier.md +9 -0
  691. data/docs/VoucherTransactionDetailsOrder.md +9 -0
  692. data/docs/VoucherTransactionDetailsRedemption.md +8 -0
  693. data/docs/VoucherTransactionDetailsReward.md +9 -0
  694. data/docs/VoucherTransactionDetailsRollback.md +8 -0
  695. data/docs/VoucherTransactionDetailsSegment.md +9 -0
  696. data/docs/VoucherTransactionsExport.md +16 -0
  697. data/docs/VoucherTransactionsExportFilterConditions.md +8 -0
  698. data/docs/VoucherTransactionsExportFilterConditionsVoucherId.md +8 -0
  699. data/docs/VoucherTransactionsExportFilterConditionsVoucherIdConditions.md +8 -0
  700. data/docs/VoucherTransactionsExportParameters.md +9 -0
  701. data/docs/VoucherTransactionsExportResult.md +8 -0
  702. data/docs/VoucherTransactionsFilters.md +10 -0
  703. data/docs/VoucherValidityTimeframe.md +9 -0
  704. data/docs/VouchersApi.md +554 -0
  705. data/docs/VouchersBalanceUpdateRequestBody.md +10 -0
  706. data/docs/VouchersBalanceUpdateResponseBody.md +14 -0
  707. data/docs/VouchersBalanceUpdateResponseBodyRelatedObject.md +9 -0
  708. data/docs/VouchersDisableResponseBody.md +37 -0
  709. data/docs/VouchersEnableResponseBody.md +37 -0
  710. data/docs/VouchersGetResponseBody.md +37 -0
  711. data/docs/VouchersImportCsvCreateResponseBody.md +8 -0
  712. data/docs/VouchersRedemptionGetResponseBody.md +14 -0
  713. data/docs/VouchersRedemptionGetResponseBodyRedemptionEntriesItem.md +49 -0
  714. data/docs/VouchersTransactionsExportCreateRequestBody.md +8 -0
  715. data/docs/VouchersTransactionsExportCreateResponseBody.md +16 -0
  716. data/docs/VouchersTransactionsListResponseBody.md +11 -0
  717. data/example.rb +25 -0
  718. data/lib/VoucherifySdk/api/campaigns_api.rb +789 -0
  719. data/lib/VoucherifySdk/api/categories_api.rb +337 -0
  720. data/lib/VoucherifySdk/api/client_side_api.rb +367 -0
  721. data/lib/VoucherifySdk/api/customers_api.rb +874 -0
  722. data/lib/VoucherifySdk/api/events_api.rb +86 -0
  723. data/lib/VoucherifySdk/api/exports_api.rb +354 -0
  724. data/lib/VoucherifySdk/api/loyalties_api.rb +1906 -0
  725. data/lib/VoucherifySdk/api/orders_api.rb +425 -0
  726. data/lib/VoucherifySdk/api/product_collections_api.rb +375 -0
  727. data/lib/VoucherifySdk/api/products_api.rb +1002 -0
  728. data/lib/VoucherifySdk/api/promotions_api.rb +764 -0
  729. data/lib/VoucherifySdk/api/publications_api.rb +270 -0
  730. data/lib/VoucherifySdk/api/qualifications_api.rb +86 -0
  731. data/lib/VoucherifySdk/api/redemptions_api.rb +457 -0
  732. data/lib/VoucherifySdk/api/rewards_api.rb +446 -0
  733. data/lib/VoucherifySdk/api/segments_api.rb +83 -0
  734. data/lib/VoucherifySdk/api/validation_rules_api.rb +599 -0
  735. data/lib/VoucherifySdk/api/validations_api.rb +86 -0
  736. data/lib/VoucherifySdk/api/vouchers_api.rb +636 -0
  737. data/lib/VoucherifySdk/api_client.rb +392 -0
  738. data/lib/VoucherifySdk/api_error.rb +58 -0
  739. data/lib/VoucherifySdk/configuration.rb +332 -0
  740. data/lib/VoucherifySdk/models/any.rb +107 -0
  741. data/lib/VoucherifySdk/models/applicable_to.rb +406 -0
  742. data/lib/VoucherifySdk/models/applicable_to_effect.rb +41 -0
  743. data/lib/VoucherifySdk/models/applicable_to_result_list.rb +340 -0
  744. data/lib/VoucherifySdk/models/array_inner.rb +106 -0
  745. data/lib/VoucherifySdk/models/async_actions.rb +223 -0
  746. data/lib/VoucherifySdk/models/bus_val_rule_assignment.rb +379 -0
  747. data/lib/VoucherifySdk/models/campaign.rb +674 -0
  748. data/lib/VoucherifySdk/models/campaign_base.rb +650 -0
  749. data/lib/VoucherifySdk/models/campaign_base_validity_timeframe.rb +226 -0
  750. data/lib/VoucherifySdk/models/campaign_loyalty_card.rb +232 -0
  751. data/lib/VoucherifySdk/models/campaign_loyalty_card_expiration_rules.rb +273 -0
  752. data/lib/VoucherifySdk/models/campaign_loyalty_voucher.rb +291 -0
  753. data/lib/VoucherifySdk/models/campaign_loyalty_voucher_redemption.rb +217 -0
  754. data/lib/VoucherifySdk/models/campaign_voucher.rb +328 -0
  755. data/lib/VoucherifySdk/models/campaign_voucher_redemption.rb +219 -0
  756. data/lib/VoucherifySdk/models/campaigns_create_base.rb +422 -0
  757. data/lib/VoucherifySdk/models/campaigns_create_discount_coupons_campaign.rb +461 -0
  758. data/lib/VoucherifySdk/models/campaigns_create_gift_campaign.rb +461 -0
  759. data/lib/VoucherifySdk/models/campaigns_create_giveaway_campaign.rb +470 -0
  760. data/lib/VoucherifySdk/models/campaigns_create_loyalty_campaign.rb +461 -0
  761. data/lib/VoucherifySdk/models/campaigns_create_promotion_campaign.rb +461 -0
  762. data/lib/VoucherifySdk/models/campaigns_create_referral_campaign.rb +470 -0
  763. data/lib/VoucherifySdk/models/campaigns_create_request_body.rb +110 -0
  764. data/lib/VoucherifySdk/models/campaigns_create_response_body.rb +675 -0
  765. data/lib/VoucherifySdk/models/campaigns_delete_response_body.rb +216 -0
  766. data/lib/VoucherifySdk/models/campaigns_disable_response_body.rb +206 -0
  767. data/lib/VoucherifySdk/models/campaigns_enable_response_body.rb +206 -0
  768. data/lib/VoucherifySdk/models/campaigns_get_response_body.rb +675 -0
  769. data/lib/VoucherifySdk/models/campaigns_import_create_response_body.rb +230 -0
  770. data/lib/VoucherifySdk/models/campaigns_import_csv_create_response_body.rb +230 -0
  771. data/lib/VoucherifySdk/models/campaigns_import_voucher_item.rb +374 -0
  772. data/lib/VoucherifySdk/models/campaigns_import_voucher_item_redemption.rb +216 -0
  773. data/lib/VoucherifySdk/models/campaigns_import_voucher_loyalty_card.rb +223 -0
  774. data/lib/VoucherifySdk/models/campaigns_list_response_body.rb +252 -0
  775. data/lib/VoucherifySdk/models/campaigns_update_base.rb +300 -0
  776. data/lib/VoucherifySdk/models/campaigns_update_coupon_campaign_base.rb +381 -0
  777. data/lib/VoucherifySdk/models/campaigns_update_discount_coupons_campaign.rb +389 -0
  778. data/lib/VoucherifySdk/models/campaigns_update_gift_campaign.rb +389 -0
  779. data/lib/VoucherifySdk/models/campaigns_update_giveaway_campaign.rb +420 -0
  780. data/lib/VoucherifySdk/models/campaigns_update_loyalty_campaign.rb +398 -0
  781. data/lib/VoucherifySdk/models/campaigns_update_promotion_campaign.rb +306 -0
  782. data/lib/VoucherifySdk/models/campaigns_update_referral_campaign.rb +398 -0
  783. data/lib/VoucherifySdk/models/campaigns_update_request_body.rb +110 -0
  784. data/lib/VoucherifySdk/models/campaigns_update_response_body.rb +675 -0
  785. data/lib/VoucherifySdk/models/campaigns_vouchers_create_base_request_body.rb +264 -0
  786. data/lib/VoucherifySdk/models/campaigns_vouchers_create_in_bulk_request_body.rb +291 -0
  787. data/lib/VoucherifySdk/models/campaigns_vouchers_create_in_bulk_response_body.rb +230 -0
  788. data/lib/VoucherifySdk/models/campaigns_vouchers_create_request_body.rb +272 -0
  789. data/lib/VoucherifySdk/models/campaigns_vouchers_create_response_body.rb +547 -0
  790. data/lib/VoucherifySdk/models/categories_create_request_body.rb +240 -0
  791. data/lib/VoucherifySdk/models/categories_create_response_body.rb +324 -0
  792. data/lib/VoucherifySdk/models/categories_get_response_body.rb +364 -0
  793. data/lib/VoucherifySdk/models/categories_list_response_body.rb +321 -0
  794. data/lib/VoucherifySdk/models/categories_update_request_body.rb +240 -0
  795. data/lib/VoucherifySdk/models/categories_update_response_body.rb +341 -0
  796. data/lib/VoucherifySdk/models/category.rb +357 -0
  797. data/lib/VoucherifySdk/models/client_events_create_request_body.rb +295 -0
  798. data/lib/VoucherifySdk/models/client_events_create_request_body_loyalty.rb +223 -0
  799. data/lib/VoucherifySdk/models/client_events_create_request_body_referral.rb +233 -0
  800. data/lib/VoucherifySdk/models/client_events_create_response_body.rb +316 -0
  801. data/lib/VoucherifySdk/models/client_qualifications_check_eligibility_request_body.rb +319 -0
  802. data/lib/VoucherifySdk/models/client_qualifications_check_eligibility_response_body.rb +243 -0
  803. data/lib/VoucherifySdk/models/client_redemptions_redeem_request_body.rb +316 -0
  804. data/lib/VoucherifySdk/models/client_redemptions_redeem_request_body_all_of_options.rb +240 -0
  805. data/lib/VoucherifySdk/models/client_redemptions_redeem_response_body.rb +259 -0
  806. data/lib/VoucherifySdk/models/client_validations_validate_request_body.rb +316 -0
  807. data/lib/VoucherifySdk/models/client_validations_validate_request_body_all_of_options.rb +240 -0
  808. data/lib/VoucherifySdk/models/client_validations_validate_response_body.rb +301 -0
  809. data/lib/VoucherifySdk/models/code_config.rb +266 -0
  810. data/lib/VoucherifySdk/models/code_config_required_length_charset_pattern.rb +293 -0
  811. data/lib/VoucherifySdk/models/create_publication_base.rb +242 -0
  812. data/lib/VoucherifySdk/models/create_publication_campaign.rb +261 -0
  813. data/lib/VoucherifySdk/models/create_publication_with_campaign.rb +265 -0
  814. data/lib/VoucherifySdk/models/create_publication_with_specific_voucher.rb +266 -0
  815. data/lib/VoucherifySdk/models/custom_event.rb +351 -0
  816. data/lib/VoucherifySdk/models/custom_event_referral.rb +236 -0
  817. data/lib/VoucherifySdk/models/customer.rb +312 -0
  818. data/lib/VoucherifySdk/models/customer_activity.rb +282 -0
  819. data/lib/VoucherifySdk/models/customer_activity_data.rb +173 -0
  820. data/lib/VoucherifySdk/models/customer_base.rb +285 -0
  821. data/lib/VoucherifySdk/models/customer_base_address.rb +266 -0
  822. data/lib/VoucherifySdk/models/customer_id.rb +273 -0
  823. data/lib/VoucherifySdk/models/customer_loyalty.rb +258 -0
  824. data/lib/VoucherifySdk/models/customer_loyalty_campaigns_value.rb +236 -0
  825. data/lib/VoucherifySdk/models/customer_referrals.rb +242 -0
  826. data/lib/VoucherifySdk/models/customer_referrals_campaigns_item.rb +291 -0
  827. data/lib/VoucherifySdk/models/customer_response_data_assets.rb +216 -0
  828. data/lib/VoucherifySdk/models/customer_segments_list.rb +276 -0
  829. data/lib/VoucherifySdk/models/customer_summary.rb +237 -0
  830. data/lib/VoucherifySdk/models/customer_summary_orders.rb +283 -0
  831. data/lib/VoucherifySdk/models/customer_summary_redemptions.rb +339 -0
  832. data/lib/VoucherifySdk/models/customer_summary_redemptions_gift.rb +240 -0
  833. data/lib/VoucherifySdk/models/customer_summary_redemptions_loyalty_card.rb +240 -0
  834. data/lib/VoucherifySdk/models/customer_with_summary_loyalty_referrals.rb +438 -0
  835. data/lib/VoucherifySdk/models/customers_activities_list_response_body.rb +276 -0
  836. data/lib/VoucherifySdk/models/customers_create_request_body.rb +313 -0
  837. data/lib/VoucherifySdk/models/customers_create_response_body.rb +439 -0
  838. data/lib/VoucherifySdk/models/customers_get_response_body.rb +439 -0
  839. data/lib/VoucherifySdk/models/customers_import_csv_create_response_body.rb +230 -0
  840. data/lib/VoucherifySdk/models/customers_list_response_body.rb +286 -0
  841. data/lib/VoucherifySdk/models/customers_metadata_update_in_bulk_request_body.rb +242 -0
  842. data/lib/VoucherifySdk/models/customers_metadata_update_in_bulk_response_body.rb +230 -0
  843. data/lib/VoucherifySdk/models/customers_permanent_deletion_create_response_body.rb +324 -0
  844. data/lib/VoucherifySdk/models/customers_permanent_deletion_create_response_body_data_json.rb +325 -0
  845. data/lib/VoucherifySdk/models/customers_segments_list_response_body.rb +283 -0
  846. data/lib/VoucherifySdk/models/customers_update_in_bulk_request_body.rb +310 -0
  847. data/lib/VoucherifySdk/models/customers_update_in_bulk_response_body.rb +230 -0
  848. data/lib/VoucherifySdk/models/customers_update_request_body.rb +293 -0
  849. data/lib/VoucherifySdk/models/customers_update_response_body.rb +439 -0
  850. data/lib/VoucherifySdk/models/discount.rb +109 -0
  851. data/lib/VoucherifySdk/models/discount_amount.rb +311 -0
  852. data/lib/VoucherifySdk/models/discount_amount_vouchers_effect_types.rb +43 -0
  853. data/lib/VoucherifySdk/models/discount_coupons_campaign_voucher.rb +290 -0
  854. data/lib/VoucherifySdk/models/discount_fixed.rb +301 -0
  855. data/lib/VoucherifySdk/models/discount_fixed_vouchers_effect_types.rb +40 -0
  856. data/lib/VoucherifySdk/models/discount_percent.rb +321 -0
  857. data/lib/VoucherifySdk/models/discount_percent_vouchers_effect_types.rb +40 -0
  858. data/lib/VoucherifySdk/models/discount_unit.rb +329 -0
  859. data/lib/VoucherifySdk/models/discount_unit_multiple.rb +298 -0
  860. data/lib/VoucherifySdk/models/discount_unit_multiple_one_unit.rb +310 -0
  861. data/lib/VoucherifySdk/models/discount_unit_vouchers_effect_types.rb +41 -0
  862. data/lib/VoucherifySdk/models/earning_rule.rb +474 -0
  863. data/lib/VoucherifySdk/models/earning_rule_base.rb +424 -0
  864. data/lib/VoucherifySdk/models/earning_rule_base_custom_event.rb +221 -0
  865. data/lib/VoucherifySdk/models/earning_rule_base_loyalty.rb +105 -0
  866. data/lib/VoucherifySdk/models/earning_rule_base_segment.rb +223 -0
  867. data/lib/VoucherifySdk/models/earning_rule_base_source.rb +284 -0
  868. data/lib/VoucherifySdk/models/earning_rule_base_validity_timeframe.rb +240 -0
  869. data/lib/VoucherifySdk/models/earning_rule_event.rb +46 -0
  870. data/lib/VoucherifySdk/models/earning_rule_fixed.rb +261 -0
  871. data/lib/VoucherifySdk/models/earning_rule_proportional.rb +107 -0
  872. data/lib/VoucherifySdk/models/earning_rule_proportional_custom_event.rb +301 -0
  873. data/lib/VoucherifySdk/models/earning_rule_proportional_custom_event_custom_event.rb +221 -0
  874. data/lib/VoucherifySdk/models/earning_rule_proportional_custom_event_custom_event_metadata.rb +257 -0
  875. data/lib/VoucherifySdk/models/earning_rule_proportional_customer_metadata.rb +301 -0
  876. data/lib/VoucherifySdk/models/earning_rule_proportional_customer_metadata_customer.rb +221 -0
  877. data/lib/VoucherifySdk/models/earning_rule_proportional_customer_metadata_customer_metadata.rb +257 -0
  878. data/lib/VoucherifySdk/models/earning_rule_proportional_order.rb +106 -0
  879. data/lib/VoucherifySdk/models/earning_rule_proportional_order_amount.rb +301 -0
  880. data/lib/VoucherifySdk/models/earning_rule_proportional_order_amount_order.rb +221 -0
  881. data/lib/VoucherifySdk/models/earning_rule_proportional_order_amount_order_amount.rb +240 -0
  882. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items.rb +106 -0
  883. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_amount.rb +301 -0
  884. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_amount_order_items.rb +221 -0
  885. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_amount_order_items_amount.rb +308 -0
  886. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_quantity.rb +301 -0
  887. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_quantity_order_items.rb +221 -0
  888. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_subtotal_amount.rb +301 -0
  889. data/lib/VoucherifySdk/models/earning_rule_proportional_order_items_subtotal_amount_order_items.rb +221 -0
  890. data/lib/VoucherifySdk/models/earning_rule_proportional_order_metadata.rb +301 -0
  891. data/lib/VoucherifySdk/models/earning_rule_proportional_order_metadata_order.rb +222 -0
  892. data/lib/VoucherifySdk/models/earning_rule_proportional_order_metadata_order_metadata.rb +257 -0
  893. data/lib/VoucherifySdk/models/earning_rule_proportional_order_total_amount.rb +301 -0
  894. data/lib/VoucherifySdk/models/earning_rule_proportional_order_total_amount_order.rb +221 -0
  895. data/lib/VoucherifySdk/models/error.rb +311 -0
  896. data/lib/VoucherifySdk/models/event_customer_active_campaign_failed.rb +248 -0
  897. data/lib/VoucherifySdk/models/event_customer_active_campaign_recovered.rb +248 -0
  898. data/lib/VoucherifySdk/models/event_customer_active_campaign_sent.rb +248 -0
  899. data/lib/VoucherifySdk/models/event_customer_batch_failed.rb +248 -0
  900. data/lib/VoucherifySdk/models/event_customer_batch_recovered.rb +248 -0
  901. data/lib/VoucherifySdk/models/event_customer_batch_sent.rb +248 -0
  902. data/lib/VoucherifySdk/models/event_customer_braze_failed.rb +248 -0
  903. data/lib/VoucherifySdk/models/event_customer_braze_recovered.rb +248 -0
  904. data/lib/VoucherifySdk/models/event_customer_braze_sent.rb +248 -0
  905. data/lib/VoucherifySdk/models/event_customer_confirmed.rb +224 -0
  906. data/lib/VoucherifySdk/models/event_customer_confirmed_unconfirmed_customer.rb +214 -0
  907. data/lib/VoucherifySdk/models/event_customer_consents.rb +225 -0
  908. data/lib/VoucherifySdk/models/event_customer_consents_given.rb +233 -0
  909. data/lib/VoucherifySdk/models/event_customer_consents_revoked.rb +233 -0
  910. data/lib/VoucherifySdk/models/event_customer_created.rb +215 -0
  911. data/lib/VoucherifySdk/models/event_customer_custom_event.rb +222 -0
  912. data/lib/VoucherifySdk/models/event_customer_deleted.rb +215 -0
  913. data/lib/VoucherifySdk/models/event_customer_email_failed.rb +248 -0
  914. data/lib/VoucherifySdk/models/event_customer_email_recovered.rb +248 -0
  915. data/lib/VoucherifySdk/models/event_customer_email_sent.rb +248 -0
  916. data/lib/VoucherifySdk/models/event_customer_failed.rb +240 -0
  917. data/lib/VoucherifySdk/models/event_customer_gift_voucher_balance_added.rb +251 -0
  918. data/lib/VoucherifySdk/models/event_customer_intercom_failed.rb +248 -0
  919. data/lib/VoucherifySdk/models/event_customer_intercom_recovered.rb +248 -0
  920. data/lib/VoucherifySdk/models/event_customer_intercom_sent.rb +248 -0
  921. data/lib/VoucherifySdk/models/event_customer_klaviyo_failed.rb +248 -0
  922. data/lib/VoucherifySdk/models/event_customer_klaviyo_recovered.rb +248 -0
  923. data/lib/VoucherifySdk/models/event_customer_klaviyo_sent.rb +248 -0
  924. data/lib/VoucherifySdk/models/event_customer_loyalty_card_points_added.rb +251 -0
  925. data/lib/VoucherifySdk/models/event_customer_loyalty_card_points_transferred.rb +269 -0
  926. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_base.rb +223 -0
  927. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_downgraded.rb +279 -0
  928. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_expiration_changed.rb +279 -0
  929. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_joined.rb +263 -0
  930. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_left.rb +263 -0
  931. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_prolonged.rb +263 -0
  932. data/lib/VoucherifySdk/models/event_customer_loyalty_tier_upgraded.rb +272 -0
  933. data/lib/VoucherifySdk/models/event_customer_loyalty_updated.rb +249 -0
  934. data/lib/VoucherifySdk/models/event_customer_mailchimp_failed.rb +248 -0
  935. data/lib/VoucherifySdk/models/event_customer_mailchimp_recovered.rb +248 -0
  936. data/lib/VoucherifySdk/models/event_customer_mailchimp_sent.rb +248 -0
  937. data/lib/VoucherifySdk/models/event_customer_order.rb +241 -0
  938. data/lib/VoucherifySdk/models/event_customer_order_canceled.rb +249 -0
  939. data/lib/VoucherifySdk/models/event_customer_order_created.rb +249 -0
  940. data/lib/VoucherifySdk/models/event_customer_order_fulfilled.rb +249 -0
  941. data/lib/VoucherifySdk/models/event_customer_order_paid.rb +249 -0
  942. data/lib/VoucherifySdk/models/event_customer_order_processing.rb +249 -0
  943. data/lib/VoucherifySdk/models/event_customer_order_updated.rb +249 -0
  944. data/lib/VoucherifySdk/models/event_customer_publication_failed.rb +233 -0
  945. data/lib/VoucherifySdk/models/event_customer_publication_succeeded.rb +233 -0
  946. data/lib/VoucherifySdk/models/event_customer_recovered.rb +240 -0
  947. data/lib/VoucherifySdk/models/event_customer_redemption.rb +268 -0
  948. data/lib/VoucherifySdk/models/event_customer_redemption_failed.rb +276 -0
  949. data/lib/VoucherifySdk/models/event_customer_redemption_rollback_failed.rb +285 -0
  950. data/lib/VoucherifySdk/models/event_customer_redemption_rollback_succeeded.rb +285 -0
  951. data/lib/VoucherifySdk/models/event_customer_redemption_succeeded.rb +276 -0
  952. data/lib/VoucherifySdk/models/event_customer_referred.rb +288 -0
  953. data/lib/VoucherifySdk/models/event_customer_reward_redemptions.rb +286 -0
  954. data/lib/VoucherifySdk/models/event_customer_reward_redemptions_completed.rb +294 -0
  955. data/lib/VoucherifySdk/models/event_customer_reward_redemptions_created.rb +294 -0
  956. data/lib/VoucherifySdk/models/event_customer_reward_redemptions_pending.rb +294 -0
  957. data/lib/VoucherifySdk/models/event_customer_reward_redemptions_rolled_back.rb +294 -0
  958. data/lib/VoucherifySdk/models/event_customer_rewarded.rb +296 -0
  959. data/lib/VoucherifySdk/models/event_customer_rewarded_loyalty_points.rb +287 -0
  960. data/lib/VoucherifySdk/models/event_customer_segment_entered.rb +238 -0
  961. data/lib/VoucherifySdk/models/event_customer_segment_left.rb +238 -0
  962. data/lib/VoucherifySdk/models/event_customer_sent.rb +240 -0
  963. data/lib/VoucherifySdk/models/event_customer_shopify_failed.rb +248 -0
  964. data/lib/VoucherifySdk/models/event_customer_shopify_recovered.rb +248 -0
  965. data/lib/VoucherifySdk/models/event_customer_shopify_sent.rb +248 -0
  966. data/lib/VoucherifySdk/models/event_customer_sms_failed.rb +248 -0
  967. data/lib/VoucherifySdk/models/event_customer_sms_recovered.rb +248 -0
  968. data/lib/VoucherifySdk/models/event_customer_sms_sent.rb +248 -0
  969. data/lib/VoucherifySdk/models/event_customer_updated.rb +215 -0
  970. data/lib/VoucherifySdk/models/event_customer_validation_failed.rb +224 -0
  971. data/lib/VoucherifySdk/models/event_customer_validation_succeeded.rb +224 -0
  972. data/lib/VoucherifySdk/models/event_customer_voucher_deleted.rb +233 -0
  973. data/lib/VoucherifySdk/models/event_customer_vouchers_loyalty_points_expired.rb +262 -0
  974. data/lib/VoucherifySdk/models/events_create_request_body.rb +295 -0
  975. data/lib/VoucherifySdk/models/events_create_response_body.rb +316 -0
  976. data/lib/VoucherifySdk/models/export.rb +110 -0
  977. data/lib/VoucherifySdk/models/export_base.rb +354 -0
  978. data/lib/VoucherifySdk/models/export_base_result.rb +223 -0
  979. data/lib/VoucherifySdk/models/export_customer.rb +400 -0
  980. data/lib/VoucherifySdk/models/export_customer_base.rb +265 -0
  981. data/lib/VoucherifySdk/models/export_customer_base_parameters.rb +259 -0
  982. data/lib/VoucherifySdk/models/export_customer_fields.rb +68 -0
  983. data/lib/VoucherifySdk/models/export_customer_order.rb +50 -0
  984. data/lib/VoucherifySdk/models/export_customer_scheduled.rb +405 -0
  985. data/lib/VoucherifySdk/models/export_order.rb +400 -0
  986. data/lib/VoucherifySdk/models/export_order_base.rb +265 -0
  987. data/lib/VoucherifySdk/models/export_order_fields.rb +51 -0
  988. data/lib/VoucherifySdk/models/export_order_order.rb +44 -0
  989. data/lib/VoucherifySdk/models/export_order_scheduled.rb +405 -0
  990. data/lib/VoucherifySdk/models/export_points_expiration.rb +400 -0
  991. data/lib/VoucherifySdk/models/export_points_expiration_base.rb +265 -0
  992. data/lib/VoucherifySdk/models/export_points_expiration_base_parameters.rb +258 -0
  993. data/lib/VoucherifySdk/models/export_points_expiration_fields.rb +44 -0
  994. data/lib/VoucherifySdk/models/export_points_expiration_filters.rb +254 -0
  995. data/lib/VoucherifySdk/models/export_points_expiration_order.rb +40 -0
  996. data/lib/VoucherifySdk/models/export_points_expiration_scheduled.rb +405 -0
  997. data/lib/VoucherifySdk/models/export_publication.rb +400 -0
  998. data/lib/VoucherifySdk/models/export_publication_base.rb +265 -0
  999. data/lib/VoucherifySdk/models/export_publication_base_parameters.rb +259 -0
  1000. data/lib/VoucherifySdk/models/export_publication_fields.rb +46 -0
  1001. data/lib/VoucherifySdk/models/export_publication_order.rb +50 -0
  1002. data/lib/VoucherifySdk/models/export_publication_scheduled.rb +405 -0
  1003. data/lib/VoucherifySdk/models/export_redemption.rb +400 -0
  1004. data/lib/VoucherifySdk/models/export_redemption_base.rb +265 -0
  1005. data/lib/VoucherifySdk/models/export_redemption_base_parameters.rb +259 -0
  1006. data/lib/VoucherifySdk/models/export_redemption_fields.rb +55 -0
  1007. data/lib/VoucherifySdk/models/export_redemption_order.rb +48 -0
  1008. data/lib/VoucherifySdk/models/export_redemption_scheduled.rb +405 -0
  1009. data/lib/VoucherifySdk/models/export_scheduled_base.rb +359 -0
  1010. data/lib/VoucherifySdk/models/export_voucher.rb +400 -0
  1011. data/lib/VoucherifySdk/models/export_voucher_base.rb +265 -0
  1012. data/lib/VoucherifySdk/models/export_voucher_base_parameters.rb +258 -0
  1013. data/lib/VoucherifySdk/models/export_voucher_fields.rb +68 -0
  1014. data/lib/VoucherifySdk/models/export_voucher_order.rb +44 -0
  1015. data/lib/VoucherifySdk/models/export_voucher_scheduled.rb +405 -0
  1016. data/lib/VoucherifySdk/models/export_voucher_transactions.rb +400 -0
  1017. data/lib/VoucherifySdk/models/export_voucher_transactions_base.rb +265 -0
  1018. data/lib/VoucherifySdk/models/export_voucher_transactions_fields.rb +50 -0
  1019. data/lib/VoucherifySdk/models/export_voucher_transactions_filters.rb +263 -0
  1020. data/lib/VoucherifySdk/models/export_voucher_transactions_order.rb +40 -0
  1021. data/lib/VoucherifySdk/models/export_voucher_transactions_scheduled.rb +405 -0
  1022. data/lib/VoucherifySdk/models/exports_create_request_body.rb +111 -0
  1023. data/lib/VoucherifySdk/models/exports_create_response_body.rb +111 -0
  1024. data/lib/VoucherifySdk/models/exports_get_response_body.rb +400 -0
  1025. data/lib/VoucherifySdk/models/exports_list_response_body.rb +322 -0
  1026. data/lib/VoucherifySdk/models/field_conditions.rb +214 -0
  1027. data/lib/VoucherifySdk/models/filter_conditions_string.rb +290 -0
  1028. data/lib/VoucherifySdk/models/filters_condition.rb +430 -0
  1029. data/lib/VoucherifySdk/models/gift.rb +284 -0
  1030. data/lib/VoucherifySdk/models/gift_campaign_voucher.rb +291 -0
  1031. data/lib/VoucherifySdk/models/giveaway_campaign_voucher.rb +300 -0
  1032. data/lib/VoucherifySdk/models/inapplicable_to.rb +413 -0
  1033. data/lib/VoucherifySdk/models/inapplicable_to_result_list.rb +340 -0
  1034. data/lib/VoucherifySdk/models/junction.rb +40 -0
  1035. data/lib/VoucherifySdk/models/list_publications_item_base.rb +399 -0
  1036. data/lib/VoucherifySdk/models/list_publications_item_invalid.rb +455 -0
  1037. data/lib/VoucherifySdk/models/list_publications_item_valid_multiple_vouchers.rb +454 -0
  1038. data/lib/VoucherifySdk/models/list_publications_item_valid_single_voucher.rb +451 -0
  1039. data/lib/VoucherifySdk/models/list_publications_item_voucher.rb +328 -0
  1040. data/lib/VoucherifySdk/models/loyalties_delete_response_body.rb +230 -0
  1041. data/lib/VoucherifySdk/models/loyalties_earning_rules_disable_response_body.rb +462 -0
  1042. data/lib/VoucherifySdk/models/loyalties_earning_rules_enable_response_body.rb +462 -0
  1043. data/lib/VoucherifySdk/models/loyalties_earning_rules_get_response_body.rb +475 -0
  1044. data/lib/VoucherifySdk/models/loyalties_loyalty_tier_reward.rb +289 -0
  1045. data/lib/VoucherifySdk/models/loyalties_members_balance_update_request_body.rb +284 -0
  1046. data/lib/VoucherifySdk/models/loyalties_members_balance_update_response_body.rb +399 -0
  1047. data/lib/VoucherifySdk/models/loyalties_members_balance_update_response_body_related_object.rb +274 -0
  1048. data/lib/VoucherifySdk/models/loyalties_members_points_expiration_list_response_body.rb +334 -0
  1049. data/lib/VoucherifySdk/models/loyalties_members_points_expiration_list_response_body_data_item.rb +390 -0
  1050. data/lib/VoucherifySdk/models/loyalties_members_points_expiration_list_response_body_data_item_bucket.rb +223 -0
  1051. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_request_body.rb +234 -0
  1052. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_request_body_reward.rb +226 -0
  1053. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body.rb +585 -0
  1054. data/lib/VoucherifySdk/models/loyalties_members_rewards_list_response_body.rb +341 -0
  1055. data/lib/VoucherifySdk/models/loyalties_members_rewards_list_response_body_data_item.rb +269 -0
  1056. data/lib/VoucherifySdk/models/loyalties_members_tiers_list_response_body.rb +321 -0
  1057. data/lib/VoucherifySdk/models/loyalties_members_transactions_export_create_request_body.rb +215 -0
  1058. data/lib/VoucherifySdk/models/loyalties_members_transactions_export_create_request_body_parameters.rb +258 -0
  1059. data/lib/VoucherifySdk/models/loyalties_members_transactions_export_create_response_body.rb +405 -0
  1060. data/lib/VoucherifySdk/models/loyalties_members_transactions_list_response_body.rb +334 -0
  1061. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body.rb +544 -0
  1062. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_assets.rb +224 -0
  1063. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_assets_barcode.rb +226 -0
  1064. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_assets_qr.rb +226 -0
  1065. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_loyalty_card.rb +260 -0
  1066. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_publish.rb +288 -0
  1067. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_redemption.rb +306 -0
  1068. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_validity_timeframe.rb +226 -0
  1069. data/lib/VoucherifySdk/models/loyalties_reward_assignments_get_response_body.rb +383 -0
  1070. data/lib/VoucherifySdk/models/loyalties_reward_assignments_reward_get_response_body.rb +418 -0
  1071. data/lib/VoucherifySdk/models/loyalties_rewards_get_response_body.rb +383 -0
  1072. data/lib/VoucherifySdk/models/loyalties_tiers_create_in_bulk_request_body_item.rb +279 -0
  1073. data/lib/VoucherifySdk/models/loyalties_tiers_earning_rules_list_response_body.rb +322 -0
  1074. data/lib/VoucherifySdk/models/loyalties_tiers_get_response_body.rb +421 -0
  1075. data/lib/VoucherifySdk/models/loyalties_tiers_list_response_body.rb +322 -0
  1076. data/lib/VoucherifySdk/models/loyalties_tiers_rewards_list_response_body.rb +276 -0
  1077. data/lib/VoucherifySdk/models/loyalties_transfer_points.rb +266 -0
  1078. data/lib/VoucherifySdk/models/loyalty_card_transaction.rb +386 -0
  1079. data/lib/VoucherifySdk/models/loyalty_card_transactions_type.rb +47 -0
  1080. data/lib/VoucherifySdk/models/loyalty_tier.rb +420 -0
  1081. data/lib/VoucherifySdk/models/loyalty_tier_all_of_config.rb +222 -0
  1082. data/lib/VoucherifySdk/models/loyalty_tier_all_of_config_points.rb +226 -0
  1083. data/lib/VoucherifySdk/models/loyalty_tier_base.rb +262 -0
  1084. data/lib/VoucherifySdk/models/loyalty_tier_base_points.rb +226 -0
  1085. data/lib/VoucherifySdk/models/loyalty_tier_expiration.rb +304 -0
  1086. data/lib/VoucherifySdk/models/loyalty_tiers_expiration_all.rb +311 -0
  1087. data/lib/VoucherifySdk/models/loyalty_tiers_expiration_all_expiration_date.rb +283 -0
  1088. data/lib/VoucherifySdk/models/loyalty_tiers_expiration_all_expiration_date_rounding.rb +306 -0
  1089. data/lib/VoucherifySdk/models/loyalty_tiers_expiration_all_start_date.rb +257 -0
  1090. data/lib/VoucherifySdk/models/lucky_draw.rb +246 -0
  1091. data/lib/VoucherifySdk/models/mapping_fixed.rb +261 -0
  1092. data/lib/VoucherifySdk/models/mapping_multiply.rb +261 -0
  1093. data/lib/VoucherifySdk/models/mapping_points.rb +105 -0
  1094. data/lib/VoucherifySdk/models/order.rb +366 -0
  1095. data/lib/VoucherifySdk/models/order_base.rb +339 -0
  1096. data/lib/VoucherifySdk/models/order_calculated.rb +496 -0
  1097. data/lib/VoucherifySdk/models/order_calculated_base.rb +472 -0
  1098. data/lib/VoucherifySdk/models/order_calculated_customer.rb +105 -0
  1099. data/lib/VoucherifySdk/models/order_calculated_no_customer_data.rb +496 -0
  1100. data/lib/VoucherifySdk/models/order_calculated_referrer.rb +105 -0
  1101. data/lib/VoucherifySdk/models/order_item.rb +377 -0
  1102. data/lib/VoucherifySdk/models/order_item_calculated.rb +436 -0
  1103. data/lib/VoucherifySdk/models/order_item_product.rb +266 -0
  1104. data/lib/VoucherifySdk/models/order_item_sku.rb +256 -0
  1105. data/lib/VoucherifySdk/models/order_redemptions.rb +291 -0
  1106. data/lib/VoucherifySdk/models/orders_create_request_body.rb +367 -0
  1107. data/lib/VoucherifySdk/models/orders_create_response_body.rb +497 -0
  1108. data/lib/VoucherifySdk/models/orders_export_create_request_body.rb +215 -0
  1109. data/lib/VoucherifySdk/models/orders_export_create_request_body_parameters.rb +259 -0
  1110. data/lib/VoucherifySdk/models/orders_export_create_response_body.rb +406 -0
  1111. data/lib/VoucherifySdk/models/orders_get_response_body.rb +497 -0
  1112. data/lib/VoucherifySdk/models/orders_import_create_request_body_item.rb +356 -0
  1113. data/lib/VoucherifySdk/models/orders_import_create_response_body.rb +230 -0
  1114. data/lib/VoucherifySdk/models/orders_list_response_body.rb +322 -0
  1115. data/lib/VoucherifySdk/models/orders_update_request_body.rb +347 -0
  1116. data/lib/VoucherifySdk/models/orders_update_response_body.rb +497 -0
  1117. data/lib/VoucherifySdk/models/parameter_campaign_type.rb +44 -0
  1118. data/lib/VoucherifySdk/models/parameter_created_before_after.rb +225 -0
  1119. data/lib/VoucherifySdk/models/parameter_expand_list_campaigns.rb +39 -0
  1120. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions.rb +295 -0
  1121. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_campaign_name.rb +246 -0
  1122. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_customer_id.rb +246 -0
  1123. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_failure_code.rb +246 -0
  1124. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_object.rb +246 -0
  1125. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_parent_redemption_id.rb +246 -0
  1126. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_related_object_id.rb +246 -0
  1127. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_related_object_parent_id.rb +246 -0
  1128. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_result.rb +246 -0
  1129. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_user_login.rb +246 -0
  1130. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_voucher_code.rb +246 -0
  1131. data/lib/VoucherifySdk/models/parameter_order.rb +50 -0
  1132. data/lib/VoucherifySdk/models/parameter_order_list_all_promotion_stacks.rb +44 -0
  1133. data/lib/VoucherifySdk/models/parameter_order_list_campaigns.rb +42 -0
  1134. data/lib/VoucherifySdk/models/parameter_order_list_customers.rb +44 -0
  1135. data/lib/VoucherifySdk/models/parameter_order_list_exports.rb +42 -0
  1136. data/lib/VoucherifySdk/models/parameter_order_list_loyalty_tiers.rb +42 -0
  1137. data/lib/VoucherifySdk/models/parameter_order_list_orders.rb +42 -0
  1138. data/lib/VoucherifySdk/models/parameter_order_list_publications.rb +50 -0
  1139. data/lib/VoucherifySdk/models/parameter_order_list_redemptions.rb +48 -0
  1140. data/lib/VoucherifySdk/models/parameter_order_list_validation_rule_assignments.rb +40 -0
  1141. data/lib/VoucherifySdk/models/parameter_order_list_validation_rules.rb +44 -0
  1142. data/lib/VoucherifySdk/models/parameter_result_list_publications.rb +40 -0
  1143. data/lib/VoucherifySdk/models/parameter_updated_before_after.rb +225 -0
  1144. data/lib/VoucherifySdk/models/parameter_voucher_type_list_publications.rb +41 -0
  1145. data/lib/VoucherifySdk/models/points_expiration_types.rb +41 -0
  1146. data/lib/VoucherifySdk/models/product.rb +397 -0
  1147. data/lib/VoucherifySdk/models/product_collections_create_dynamic_request_body.rb +290 -0
  1148. data/lib/VoucherifySdk/models/product_collections_create_dynamic_request_body_filter.rb +352 -0
  1149. data/lib/VoucherifySdk/models/product_collections_create_dynamic_request_body_products_item.rb +283 -0
  1150. data/lib/VoucherifySdk/models/product_collections_create_request_body.rb +106 -0
  1151. data/lib/VoucherifySdk/models/product_collections_create_response_body.rb +365 -0
  1152. data/lib/VoucherifySdk/models/product_collections_create_static_request_body.rb +286 -0
  1153. data/lib/VoucherifySdk/models/product_collections_get_response_body.rb +365 -0
  1154. data/lib/VoucherifySdk/models/product_collections_item.rb +358 -0
  1155. data/lib/VoucherifySdk/models/product_collections_item_products_item.rb +283 -0
  1156. data/lib/VoucherifySdk/models/product_collections_list.rb +322 -0
  1157. data/lib/VoucherifySdk/models/product_collections_list_response_body.rb +329 -0
  1158. data/lib/VoucherifySdk/models/product_collections_products_list.rb +276 -0
  1159. data/lib/VoucherifySdk/models/product_collections_products_list_products_item.rb +105 -0
  1160. data/lib/VoucherifySdk/models/product_collections_products_list_response_body.rb +283 -0
  1161. data/lib/VoucherifySdk/models/product_without_skus.rb +380 -0
  1162. data/lib/VoucherifySdk/models/products_create_request_body.rb +278 -0
  1163. data/lib/VoucherifySdk/models/products_create_response_body.rb +397 -0
  1164. data/lib/VoucherifySdk/models/products_get_response_body.rb +397 -0
  1165. data/lib/VoucherifySdk/models/products_import_csv_create_response_body.rb +230 -0
  1166. data/lib/VoucherifySdk/models/products_list_response_body.rb +276 -0
  1167. data/lib/VoucherifySdk/models/products_metadata_update_in_bulk_request_body.rb +242 -0
  1168. data/lib/VoucherifySdk/models/products_metadata_update_in_bulk_response_body.rb +230 -0
  1169. data/lib/VoucherifySdk/models/products_skus_create_request_body.rb +286 -0
  1170. data/lib/VoucherifySdk/models/products_skus_create_response_body.rb +425 -0
  1171. data/lib/VoucherifySdk/models/products_skus_list_response_body.rb +283 -0
  1172. data/lib/VoucherifySdk/models/products_skus_update_request_body.rb +266 -0
  1173. data/lib/VoucherifySdk/models/products_skus_update_response_body.rb +425 -0
  1174. data/lib/VoucherifySdk/models/products_update_in_bulk_request_body.rb +275 -0
  1175. data/lib/VoucherifySdk/models/products_update_in_bulk_response_body.rb +230 -0
  1176. data/lib/VoucherifySdk/models/products_update_request_body.rb +258 -0
  1177. data/lib/VoucherifySdk/models/products_update_response_body.rb +397 -0
  1178. data/lib/VoucherifySdk/models/promotion_stack.rb +389 -0
  1179. data/lib/VoucherifySdk/models/promotion_stack_base.rb +238 -0
  1180. data/lib/VoucherifySdk/models/promotion_stack_base_tiers.rb +289 -0
  1181. data/lib/VoucherifySdk/models/promotion_tier.rb +416 -0
  1182. data/lib/VoucherifySdk/models/promotion_tier_action.rb +215 -0
  1183. data/lib/VoucherifySdk/models/promotion_tier_campaign.rb +289 -0
  1184. data/lib/VoucherifySdk/models/promotion_tier_campaign_validity_timeframe.rb +226 -0
  1185. data/lib/VoucherifySdk/models/promotion_tier_create_params.rb +345 -0
  1186. data/lib/VoucherifySdk/models/promotion_tier_summary.rb +224 -0
  1187. data/lib/VoucherifySdk/models/promotion_tier_summary_orders.rb +226 -0
  1188. data/lib/VoucherifySdk/models/promotion_tier_summary_redemptions.rb +216 -0
  1189. data/lib/VoucherifySdk/models/promotion_tier_validity_timeframe.rb +226 -0
  1190. data/lib/VoucherifySdk/models/promotion_tiers_list.rb +262 -0
  1191. data/lib/VoucherifySdk/models/promotions_stacks_create_request_body.rb +256 -0
  1192. data/lib/VoucherifySdk/models/promotions_stacks_create_response_body.rb +380 -0
  1193. data/lib/VoucherifySdk/models/promotions_stacks_get_response_body.rb +390 -0
  1194. data/lib/VoucherifySdk/models/promotions_stacks_list_response_body.rb +341 -0
  1195. data/lib/VoucherifySdk/models/promotions_stacks_update_request_body.rb +235 -0
  1196. data/lib/VoucherifySdk/models/promotions_stacks_update_request_body_tiers.rb +264 -0
  1197. data/lib/VoucherifySdk/models/promotions_stacks_update_response_body.rb +397 -0
  1198. data/lib/VoucherifySdk/models/promotions_tiers_disable_response_body.rb +423 -0
  1199. data/lib/VoucherifySdk/models/promotions_tiers_enable_response_body.rb +423 -0
  1200. data/lib/VoucherifySdk/models/promotions_tiers_get_response_body.rb +423 -0
  1201. data/lib/VoucherifySdk/models/promotions_tiers_list_response_body.rb +269 -0
  1202. data/lib/VoucherifySdk/models/properties_for_loyalty_campaign_options.rb +215 -0
  1203. data/lib/VoucherifySdk/models/publications_create_base_response_body.rb +440 -0
  1204. data/lib/VoucherifySdk/models/publications_create_request_body.rb +106 -0
  1205. data/lib/VoucherifySdk/models/publications_create_response_body.rb +106 -0
  1206. data/lib/VoucherifySdk/models/publications_create_voucher_response_body.rb +464 -0
  1207. data/lib/VoucherifySdk/models/publications_create_vouchers_response_body.rb +467 -0
  1208. data/lib/VoucherifySdk/models/publications_list_response_body.rb +276 -0
  1209. data/lib/VoucherifySdk/models/publications_list_response_body_publications_item.rb +107 -0
  1210. data/lib/VoucherifySdk/models/qualifications_check_eligibility_request_body.rb +319 -0
  1211. data/lib/VoucherifySdk/models/qualifications_check_eligibility_response_body.rb +243 -0
  1212. data/lib/VoucherifySdk/models/qualifications_field_conditions.rb +214 -0
  1213. data/lib/VoucherifySdk/models/qualifications_filters_condition.rb +259 -0
  1214. data/lib/VoucherifySdk/models/qualifications_option.rb +311 -0
  1215. data/lib/VoucherifySdk/models/qualifications_option_filters.rb +291 -0
  1216. data/lib/VoucherifySdk/models/qualifications_option_filters_resource_type.rb +214 -0
  1217. data/lib/VoucherifySdk/models/qualifications_option_filters_resource_type_conditions.rb +270 -0
  1218. data/lib/VoucherifySdk/models/qualifications_redeemable.rb +404 -0
  1219. data/lib/VoucherifySdk/models/qualifications_redeemable_base.rb +387 -0
  1220. data/lib/VoucherifySdk/models/qualifications_redeemables.rb +349 -0
  1221. data/lib/VoucherifySdk/models/redeem_gift_card.rb +289 -0
  1222. data/lib/VoucherifySdk/models/redeem_gift_card_all_of_gift.rb +216 -0
  1223. data/lib/VoucherifySdk/models/redeem_loyalty_card.rb +289 -0
  1224. data/lib/VoucherifySdk/models/redeem_loyalty_card_all_of_reward.rb +226 -0
  1225. data/lib/VoucherifySdk/models/redeem_promotion_stack.rb +274 -0
  1226. data/lib/VoucherifySdk/models/redeem_promotion_tier.rb +274 -0
  1227. data/lib/VoucherifySdk/models/redeem_voucher.rb +274 -0
  1228. data/lib/VoucherifySdk/models/redeemable_gift.rb +226 -0
  1229. data/lib/VoucherifySdk/models/redeemable_loyalty_card.rb +257 -0
  1230. data/lib/VoucherifySdk/models/redeemable_result.rb +242 -0
  1231. data/lib/VoucherifySdk/models/redeemable_result_gift_card.rb +215 -0
  1232. data/lib/VoucherifySdk/models/redeemable_result_gift_card_gift.rb +216 -0
  1233. data/lib/VoucherifySdk/models/redeemable_result_loyalty_card.rb +215 -0
  1234. data/lib/VoucherifySdk/models/redeemable_result_loyalty_card_loyalty_card.rb +216 -0
  1235. data/lib/VoucherifySdk/models/redeemable_result_promotion_stack.rb +215 -0
  1236. data/lib/VoucherifySdk/models/redeemable_result_promotion_tier.rb +215 -0
  1237. data/lib/VoucherifySdk/models/redeemable_result_promotion_tier_discount.rb +109 -0
  1238. data/lib/VoucherifySdk/models/redeemable_result_voucher_code.rb +215 -0
  1239. data/lib/VoucherifySdk/models/redemption.rb +571 -0
  1240. data/lib/VoucherifySdk/models/redemption_channel.rb +260 -0
  1241. data/lib/VoucherifySdk/models/redemption_gift.rb +216 -0
  1242. data/lib/VoucherifySdk/models/redemption_internal.rb +542 -0
  1243. data/lib/VoucherifySdk/models/redemption_internal_related_redemptions.rb +227 -0
  1244. data/lib/VoucherifySdk/models/redemption_internal_related_redemptions_item.rb +225 -0
  1245. data/lib/VoucherifySdk/models/redemption_internal_related_redemptions_rollbacks_item.rb +225 -0
  1246. data/lib/VoucherifySdk/models/redemption_loyalty_card.rb +216 -0
  1247. data/lib/VoucherifySdk/models/redemption_related_redemptions.rb +227 -0
  1248. data/lib/VoucherifySdk/models/redemption_related_redemptions_item.rb +225 -0
  1249. data/lib/VoucherifySdk/models/redemption_related_redemptions_rollbacks_item.rb +225 -0
  1250. data/lib/VoucherifySdk/models/redemption_reward_result.rb +396 -0
  1251. data/lib/VoucherifySdk/models/redemption_reward_result_parameters.rb +233 -0
  1252. data/lib/VoucherifySdk/models/redemption_reward_result_parameters_campaign.rb +236 -0
  1253. data/lib/VoucherifySdk/models/redemption_reward_result_parameters_coin.rb +226 -0
  1254. data/lib/VoucherifySdk/models/redemption_reward_result_parameters_product.rb +226 -0
  1255. data/lib/VoucherifySdk/models/redemption_reward_result_product.rb +397 -0
  1256. data/lib/VoucherifySdk/models/redemption_reward_result_sku.rb +425 -0
  1257. data/lib/VoucherifySdk/models/redemption_reward_result_voucher.rb +547 -0
  1258. data/lib/VoucherifySdk/models/redemption_rollback.rb +581 -0
  1259. data/lib/VoucherifySdk/models/redemption_rollback_related_redemptions.rb +227 -0
  1260. data/lib/VoucherifySdk/models/redemption_rollback_related_redemptions_item.rb +225 -0
  1261. data/lib/VoucherifySdk/models/redemption_rollback_related_redemptions_rollbacks_item.rb +225 -0
  1262. data/lib/VoucherifySdk/models/redemptions_get_response_body.rb +106 -0
  1263. data/lib/VoucherifySdk/models/redemptions_list_response_body.rb +275 -0
  1264. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item.rb +105 -0
  1265. data/lib/VoucherifySdk/models/redemptions_redeem_request_body.rb +316 -0
  1266. data/lib/VoucherifySdk/models/redemptions_redeem_response_body.rb +259 -0
  1267. data/lib/VoucherifySdk/models/redemptions_rollback_create_request_body.rb +254 -0
  1268. data/lib/VoucherifySdk/models/redemptions_rollback_create_response_body.rb +588 -0
  1269. data/lib/VoucherifySdk/models/redemptions_rollbacks_create_request_body.rb +254 -0
  1270. data/lib/VoucherifySdk/models/redemptions_rollbacks_create_response_body.rb +236 -0
  1271. data/lib/VoucherifySdk/models/referral_campaign_voucher.rb +307 -0
  1272. data/lib/VoucherifySdk/models/referral_program.rb +268 -0
  1273. data/lib/VoucherifySdk/models/referral_program_custom_event.rb +226 -0
  1274. data/lib/VoucherifySdk/models/referral_program_referee_reward.rb +269 -0
  1275. data/lib/VoucherifySdk/models/referral_program_referee_reward_related_object_parent.rb +272 -0
  1276. data/lib/VoucherifySdk/models/referrer.rb +312 -0
  1277. data/lib/VoucherifySdk/models/referrer_id.rb +280 -0
  1278. data/lib/VoucherifySdk/models/referrer_with_summary_loyalty_referrals.rb +438 -0
  1279. data/lib/VoucherifySdk/models/resource_types.rb +41 -0
  1280. data/lib/VoucherifySdk/models/reward.rb +410 -0
  1281. data/lib/VoucherifySdk/models/reward_assignment.rb +383 -0
  1282. data/lib/VoucherifySdk/models/reward_assignment_base.rb +366 -0
  1283. data/lib/VoucherifySdk/models/reward_assignment_parameters.rb +214 -0
  1284. data/lib/VoucherifySdk/models/reward_assignment_parameters_parameters.rb +222 -0
  1285. data/lib/VoucherifySdk/models/reward_assignment_parameters_parameters_loyalty.rb +216 -0
  1286. data/lib/VoucherifySdk/models/reward_assignments_create_coin_reward_request_body.rb +234 -0
  1287. data/lib/VoucherifySdk/models/reward_assignments_create_digital_or_material_reward_request_body.rb +239 -0
  1288. data/lib/VoucherifySdk/models/reward_assignments_create_digital_or_material_reward_request_body_parameters.rb +222 -0
  1289. data/lib/VoucherifySdk/models/reward_assignments_create_digital_or_material_reward_request_body_parameters_loyalty.rb +216 -0
  1290. data/lib/VoucherifySdk/models/reward_attributes.rb +226 -0
  1291. data/lib/VoucherifySdk/models/reward_type.rb +106 -0
  1292. data/lib/VoucherifySdk/models/reward_type_campaign.rb +221 -0
  1293. data/lib/VoucherifySdk/models/reward_type_campaign_campaign.rb +284 -0
  1294. data/lib/VoucherifySdk/models/reward_type_coin.rb +221 -0
  1295. data/lib/VoucherifySdk/models/reward_type_coin_coin.rb +233 -0
  1296. data/lib/VoucherifySdk/models/reward_type_material.rb +221 -0
  1297. data/lib/VoucherifySdk/models/reward_type_material_product.rb +236 -0
  1298. data/lib/VoucherifySdk/models/rewards_assignments_create_request_body.rb +106 -0
  1299. data/lib/VoucherifySdk/models/rewards_assignments_create_response_body.rb +383 -0
  1300. data/lib/VoucherifySdk/models/rewards_assignments_get_response_body.rb +383 -0
  1301. data/lib/VoucherifySdk/models/rewards_assignments_list_response_body.rb +275 -0
  1302. data/lib/VoucherifySdk/models/rewards_assignments_update_request_body.rb +215 -0
  1303. data/lib/VoucherifySdk/models/rewards_assignments_update_request_body_parameters.rb +215 -0
  1304. data/lib/VoucherifySdk/models/rewards_assignments_update_request_body_parameters_loyalty.rb +216 -0
  1305. data/lib/VoucherifySdk/models/rewards_assignments_update_response_body.rb +383 -0
  1306. data/lib/VoucherifySdk/models/schema_that_contains_unique_properties_for_promotion_campaign_promotion.rb +217 -0
  1307. data/lib/VoucherifySdk/models/session.rb +307 -0
  1308. data/lib/VoucherifySdk/models/simple_campaign.rb +381 -0
  1309. data/lib/VoucherifySdk/models/simple_consent.rb +273 -0
  1310. data/lib/VoucherifySdk/models/simple_customer.rb +301 -0
  1311. data/lib/VoucherifySdk/models/simple_customer_required_object_type.rb +273 -0
  1312. data/lib/VoucherifySdk/models/simple_order.rb +423 -0
  1313. data/lib/VoucherifySdk/models/simple_order_item.rb +363 -0
  1314. data/lib/VoucherifySdk/models/simple_product.rb +235 -0
  1315. data/lib/VoucherifySdk/models/simple_product_discount_unit.rb +249 -0
  1316. data/lib/VoucherifySdk/models/simple_promotion_tier.rb +245 -0
  1317. data/lib/VoucherifySdk/models/simple_promotion_tier_campaign.rb +216 -0
  1318. data/lib/VoucherifySdk/models/simple_redemption.rb +368 -0
  1319. data/lib/VoucherifySdk/models/simple_redemption_reward_result.rb +380 -0
  1320. data/lib/VoucherifySdk/models/simple_referral_tier.rb +245 -0
  1321. data/lib/VoucherifySdk/models/simple_segment.rb +290 -0
  1322. data/lib/VoucherifySdk/models/simple_sku.rb +235 -0
  1323. data/lib/VoucherifySdk/models/simple_sku_discount_unit.rb +249 -0
  1324. data/lib/VoucherifySdk/models/simple_voucher.rb +390 -0
  1325. data/lib/VoucherifySdk/models/sku.rb +418 -0
  1326. data/lib/VoucherifySdk/models/sku_with_product.rb +433 -0
  1327. data/lib/VoucherifySdk/models/skus_get_response_body.rb +425 -0
  1328. data/lib/VoucherifySdk/models/skus_import_csv_create_response_body.rb +230 -0
  1329. data/lib/VoucherifySdk/models/skus_list.rb +276 -0
  1330. data/lib/VoucherifySdk/models/skus_list_for_product.rb +276 -0
  1331. data/lib/VoucherifySdk/models/stackable_validate_redeem_base.rb +299 -0
  1332. data/lib/VoucherifySdk/models/stackable_validate_redeem_base_redeemables_item.rb +108 -0
  1333. data/lib/VoucherifySdk/models/stacking_rules.rb +487 -0
  1334. data/lib/VoucherifySdk/models/validation_entity.rb +325 -0
  1335. data/lib/VoucherifySdk/models/validation_rule.rb +422 -0
  1336. data/lib/VoucherifySdk/models/validation_rule_assignment.rb +354 -0
  1337. data/lib/VoucherifySdk/models/validation_rule_assignments_list.rb +276 -0
  1338. data/lib/VoucherifySdk/models/validation_rule_base.rb +314 -0
  1339. data/lib/VoucherifySdk/models/validation_rule_base_applicable_to.rb +239 -0
  1340. data/lib/VoucherifySdk/models/validation_rule_base_error.rb +216 -0
  1341. data/lib/VoucherifySdk/models/validation_rules_assignments_list.rb +341 -0
  1342. data/lib/VoucherifySdk/models/validation_rules_assignments_list_response_body.rb +283 -0
  1343. data/lib/VoucherifySdk/models/validation_rules_create_request_body.rb +328 -0
  1344. data/lib/VoucherifySdk/models/validation_rules_create_response_body.rb +423 -0
  1345. data/lib/VoucherifySdk/models/validation_rules_get_response_body.rb +423 -0
  1346. data/lib/VoucherifySdk/models/validation_rules_list_response_body.rb +276 -0
  1347. data/lib/VoucherifySdk/models/validation_rules_update_request_body.rb +321 -0
  1348. data/lib/VoucherifySdk/models/validation_rules_update_response_body.rb +423 -0
  1349. data/lib/VoucherifySdk/models/validations_redeemable_applicable.rb +340 -0
  1350. data/lib/VoucherifySdk/models/validations_redeemable_applicable_result.rb +109 -0
  1351. data/lib/VoucherifySdk/models/validations_redeemable_inapplicable.rb +292 -0
  1352. data/lib/VoucherifySdk/models/validations_redeemable_inapplicable_result.rb +214 -0
  1353. data/lib/VoucherifySdk/models/validations_redeemable_skipped.rb +292 -0
  1354. data/lib/VoucherifySdk/models/validations_validate_all_response_body_redeemables_item.rb +106 -0
  1355. data/lib/VoucherifySdk/models/validations_validate_request_body.rb +316 -0
  1356. data/lib/VoucherifySdk/models/validations_validate_response_body.rb +294 -0
  1357. data/lib/VoucherifySdk/models/voucher.rb +540 -0
  1358. data/lib/VoucherifySdk/models/voucher_assets.rb +224 -0
  1359. data/lib/VoucherifySdk/models/voucher_gift.rb +270 -0
  1360. data/lib/VoucherifySdk/models/voucher_loyalty_card.rb +246 -0
  1361. data/lib/VoucherifySdk/models/voucher_publish.rb +238 -0
  1362. data/lib/VoucherifySdk/models/voucher_redemption.rb +268 -0
  1363. data/lib/VoucherifySdk/models/voucher_transaction.rb +379 -0
  1364. data/lib/VoucherifySdk/models/voucher_transaction_details.rb +323 -0
  1365. data/lib/VoucherifySdk/models/voucher_transaction_details_balance.rb +365 -0
  1366. data/lib/VoucherifySdk/models/voucher_transaction_details_balance_related_object.rb +280 -0
  1367. data/lib/VoucherifySdk/models/voucher_transaction_details_custom_event.rb +240 -0
  1368. data/lib/VoucherifySdk/models/voucher_transaction_details_earning_rule.rb +239 -0
  1369. data/lib/VoucherifySdk/models/voucher_transaction_details_earning_rule_source.rb +223 -0
  1370. data/lib/VoucherifySdk/models/voucher_transaction_details_event.rb +240 -0
  1371. data/lib/VoucherifySdk/models/voucher_transaction_details_event_schema.rb +240 -0
  1372. data/lib/VoucherifySdk/models/voucher_transaction_details_loyalty_tier.rb +238 -0
  1373. data/lib/VoucherifySdk/models/voucher_transaction_details_order.rb +240 -0
  1374. data/lib/VoucherifySdk/models/voucher_transaction_details_redemption.rb +223 -0
  1375. data/lib/VoucherifySdk/models/voucher_transaction_details_reward.rb +240 -0
  1376. data/lib/VoucherifySdk/models/voucher_transaction_details_rollback.rb +223 -0
  1377. data/lib/VoucherifySdk/models/voucher_transaction_details_segment.rb +238 -0
  1378. data/lib/VoucherifySdk/models/voucher_transactions_export.rb +407 -0
  1379. data/lib/VoucherifySdk/models/voucher_transactions_export_filter_conditions.rb +222 -0
  1380. data/lib/VoucherifySdk/models/voucher_transactions_export_filter_conditions_voucher_id.rb +222 -0
  1381. data/lib/VoucherifySdk/models/voucher_transactions_export_filter_conditions_voucher_id_conditions.rb +252 -0
  1382. data/lib/VoucherifySdk/models/voucher_transactions_export_parameters.rb +262 -0
  1383. data/lib/VoucherifySdk/models/voucher_transactions_export_result.rb +223 -0
  1384. data/lib/VoucherifySdk/models/voucher_transactions_filters.rb +278 -0
  1385. data/lib/VoucherifySdk/models/voucher_validity_timeframe.rb +226 -0
  1386. data/lib/VoucherifySdk/models/vouchers_balance_update_request_body.rb +243 -0
  1387. data/lib/VoucherifySdk/models/vouchers_balance_update_response_body.rb +381 -0
  1388. data/lib/VoucherifySdk/models/vouchers_balance_update_response_body_related_object.rb +274 -0
  1389. data/lib/VoucherifySdk/models/vouchers_disable_response_body.rb +547 -0
  1390. data/lib/VoucherifySdk/models/vouchers_enable_response_body.rb +547 -0
  1391. data/lib/VoucherifySdk/models/vouchers_get_response_body.rb +547 -0
  1392. data/lib/VoucherifySdk/models/vouchers_import_csv_create_response_body.rb +230 -0
  1393. data/lib/VoucherifySdk/models/vouchers_redemption_get_response_body.rb +323 -0
  1394. data/lib/VoucherifySdk/models/vouchers_redemption_get_response_body_redemption_entries_item.rb +105 -0
  1395. data/lib/VoucherifySdk/models/vouchers_transactions_export_create_request_body.rb +215 -0
  1396. data/lib/VoucherifySdk/models/vouchers_transactions_export_create_response_body.rb +414 -0
  1397. data/lib/VoucherifySdk/models/vouchers_transactions_list_response_body.rb +276 -0
  1398. data/lib/VoucherifySdk/version.rb +15 -0
  1399. data/lib/VoucherifySdk.rb +716 -0
  1400. metadata +1430 -72
  1401. data/.gitignore +0 -43
  1402. data/.rspec +0 -2
  1403. data/.travis.yml +0 -9
  1404. data/bin/console +0 -14
  1405. data/bin/setup +0 -8
  1406. data/examples/customers.rb +0 -32
  1407. data/examples/utils.rb +0 -71
  1408. data/examples/vouchers.rb +0 -25
  1409. data/lib/voucherify/client.rb +0 -154
  1410. data/lib/voucherify/service/async_actions.rb +0 -22
  1411. data/lib/voucherify/service/campaigns.rb +0 -39
  1412. data/lib/voucherify/service/consents.rb +0 -17
  1413. data/lib/voucherify/service/customers.rb +0 -37
  1414. data/lib/voucherify/service/distributions.rb +0 -45
  1415. data/lib/voucherify/service/events.rb +0 -24
  1416. data/lib/voucherify/service/loyalties.rb +0 -133
  1417. data/lib/voucherify/service/orders.rb +0 -29
  1418. data/lib/voucherify/service/products.rb +0 -53
  1419. data/lib/voucherify/service/promotions.rb +0 -58
  1420. data/lib/voucherify/service/redemptions.rb +0 -42
  1421. data/lib/voucherify/service/rewards.rb +0 -63
  1422. data/lib/voucherify/service/segments.rb +0 -25
  1423. data/lib/voucherify/service/validation_rules.rb +0 -69
  1424. data/lib/voucherify/service/validations.rb +0 -26
  1425. data/lib/voucherify/service/vouchers.rb +0 -54
  1426. data/lib/voucherify/utils.rb +0 -101
  1427. data/lib/voucherify/version.rb +0 -3
  1428. data/lib/voucherify.rb +0 -23
  1429. data/voucherify.gemspec +0 -28
@@ -0,0 +1,16 @@
1
+ # VoucherifySdk::PromotionsStacksGetResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Promotion stack name. | |
8
+ | **tiers** | [**PromotionStackBaseTiers**](PromotionStackBaseTiers.md) | | |
9
+ | **id** | **String** | Unique promotion stack ID. | |
10
+ | **created_at** | **Time** | Timestamp representing the date and time when the promotion stack was created in ISO 8601 format. | |
11
+ | **updated_at** | **Time** | Timestamp representing the date and time when the promotion stack was updated in ISO 8601 format. | [optional] |
12
+ | **campaign_id** | **String** | Promotion stack's parent campaign's unique ID. | |
13
+ | **object** | **String** | The type of object represented by JSON. | [default to 'promotion_stack'] |
14
+ | **category_id** | **String** | Promotion stack category ID. | |
15
+ | **categories** | [**Array<Category>**](Category.md) | Details about the category assigned to the promotion stack. | |
16
+
@@ -0,0 +1,11 @@
1
+ # VoucherifySdk::PromotionsStacksListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **object** | **String** | The type of object represented by JSON. This object stores information about promotion stacks in a dictionary. | [default to 'list'] |
8
+ | **data_ref** | **String** | Identifies the name of the attribute that contains the array of promotion stack objects. | [default to 'data'] |
9
+ | **data** | [**Array<PromotionStack>**](PromotionStack.md) | Contains array of promotion stack objects. | |
10
+ | **total** | **Integer** | Total number of promotion stacks. | |
11
+
@@ -0,0 +1,10 @@
1
+ # VoucherifySdk::PromotionsStacksUpdateRequestBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Promotion stack name. | [optional] |
8
+ | **tiers** | [**PromotionsStacksUpdateRequestBodyTiers**](PromotionsStacksUpdateRequestBodyTiers.md) | | [optional] |
9
+ | **category_id** | **String** | Promotion stack category ID. | [optional] |
10
+
@@ -0,0 +1,9 @@
1
+ # VoucherifySdk::PromotionsStacksUpdateRequestBodyTiers
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **ids** | **Array<String>** | Contains the list of tiers in a pre-defined sequence. | [optional] |
8
+ | **hierarchy_mode** | **String** | Category hierarchy. | [optional][default to 'MANUAL'] |
9
+
@@ -0,0 +1,16 @@
1
+ # VoucherifySdk::PromotionsStacksUpdateResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Promotion stack name. | |
8
+ | **tiers** | [**PromotionStackBaseTiers**](PromotionStackBaseTiers.md) | | |
9
+ | **id** | **String** | Unique promotion stack ID. | |
10
+ | **created_at** | **Time** | Timestamp representing the date and time when the promotion stack was created in ISO 8601 format. | |
11
+ | **updated_at** | **Time** | Timestamp representing the date and time when the promotion stack was updated in ISO 8601 format. | |
12
+ | **campaign_id** | **String** | Promotion stack's parent campaign's unique ID. | |
13
+ | **object** | **String** | The type of object represented by JSON. | [default to 'promotion_stack'] |
14
+ | **category_id** | **String** | Promotion stack category ID. | |
15
+ | **categories** | [**Array<PromotionStackBase>**](PromotionStackBase.md) | Details about the category assigned to the promotion stack. | |
16
+
@@ -0,0 +1,28 @@
1
+ # VoucherifySdk::PromotionsTiersDisableResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Unique promotion tier ID. | [optional] |
8
+ | **created_at** | **Time** | Timestamp representing the date and time when the promotion tier was created in ISO 8601 format. | [optional] |
9
+ | **updated_at** | **Time** | Timestamp representing the date and time when the promotion tier was updated in ISO 8601 format. | [optional] |
10
+ | **name** | **String** | Name of the promotion tier. | [optional] |
11
+ | **banner** | **String** | Text to be displayed to your customers on your website. | [optional] |
12
+ | **action** | [**PromotionTierAction**](PromotionTierAction.md) | | [optional] |
13
+ | **metadata** | **Object** | The metadata object stores all custom attributes assigned to the promotion tier. A set of key/value pairs that you can attach to a promotion tier object. It can be useful for storing additional information about the promotion tier in a structured format. | [optional] |
14
+ | **hierarchy** | **Integer** | The promotions hierarchy defines the order in which the discounts from different tiers will be applied to a customer's order. If a customer qualifies for discounts from more than one tier, discounts will be applied in the order defined in the hierarchy. | [optional] |
15
+ | **promotion_id** | **String** | Promotion unique ID. | [optional] |
16
+ | **campaign** | [**PromotionTierCampaign**](PromotionTierCampaign.md) | | [optional] |
17
+ | **campaign_id** | **String** | Promotion tier's parent campaign's unique ID. | [optional] |
18
+ | **active** | **Boolean** | A flag to toggle the promotion tier on or off. You can disable a promotion tier even though it's within the active period defined by the `start_date` and `expiration_date`. - `true` indicates an *active* promotion tier - `false` indicates an *inactive* promotion tier | [optional] |
19
+ | **start_date** | **Time** | Activation timestamp defines when the promotion tier starts to be active in ISO 8601 format. Promotion tier is *inactive before* this date. | [optional] |
20
+ | **expiration_date** | **Time** | Activation timestamp defines when the promotion tier expires in ISO 8601 format. Promotion tier is *inactive after* this date. | [optional] |
21
+ | **validity_timeframe** | [**PromotionTierValidityTimeframe**](PromotionTierValidityTimeframe.md) | | [optional] |
22
+ | **validity_day_of_week** | **Array<Integer>** | Integer array corresponding to the particular days of the week in which the promotion tier is valid. - `0` Sunday - `1` Monday - `2` Tuesday - `3` Wednesday - `4` Thursday - `5` Friday - `6` Saturday | [optional] |
23
+ | **summary** | [**PromotionTierSummary**](PromotionTierSummary.md) | | [optional] |
24
+ | **object** | **String** | The type of object represented by JSON. This object stores information about the promotion tier. | [optional][default to 'promotion_tier'] |
25
+ | **validation_rule_assignments** | [**ValidationRuleAssignmentsList**](ValidationRuleAssignmentsList.md) | | [optional] |
26
+ | **category_id** | **String** | Promotion tier category ID. | [optional] |
27
+ | **categories** | [**Array<Category>**](Category.md) | | [optional] |
28
+
@@ -0,0 +1,28 @@
1
+ # VoucherifySdk::PromotionsTiersEnableResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Unique promotion tier ID. | [optional] |
8
+ | **created_at** | **Time** | Timestamp representing the date and time when the promotion tier was created in ISO 8601 format. | [optional] |
9
+ | **updated_at** | **Time** | Timestamp representing the date and time when the promotion tier was updated in ISO 8601 format. | [optional] |
10
+ | **name** | **String** | Name of the promotion tier. | [optional] |
11
+ | **banner** | **String** | Text to be displayed to your customers on your website. | [optional] |
12
+ | **action** | [**PromotionTierAction**](PromotionTierAction.md) | | [optional] |
13
+ | **metadata** | **Object** | The metadata object stores all custom attributes assigned to the promotion tier. A set of key/value pairs that you can attach to a promotion tier object. It can be useful for storing additional information about the promotion tier in a structured format. | [optional] |
14
+ | **hierarchy** | **Integer** | The promotions hierarchy defines the order in which the discounts from different tiers will be applied to a customer's order. If a customer qualifies for discounts from more than one tier, discounts will be applied in the order defined in the hierarchy. | [optional] |
15
+ | **promotion_id** | **String** | Promotion unique ID. | [optional] |
16
+ | **campaign** | [**PromotionTierCampaign**](PromotionTierCampaign.md) | | [optional] |
17
+ | **campaign_id** | **String** | Promotion tier's parent campaign's unique ID. | [optional] |
18
+ | **active** | **Boolean** | A flag to toggle the promotion tier on or off. You can disable a promotion tier even though it's within the active period defined by the `start_date` and `expiration_date`. - `true` indicates an *active* promotion tier - `false` indicates an *inactive* promotion tier | [optional] |
19
+ | **start_date** | **Time** | Activation timestamp defines when the promotion tier starts to be active in ISO 8601 format. Promotion tier is *inactive before* this date. | [optional] |
20
+ | **expiration_date** | **Time** | Activation timestamp defines when the promotion tier expires in ISO 8601 format. Promotion tier is *inactive after* this date. | [optional] |
21
+ | **validity_timeframe** | [**PromotionTierValidityTimeframe**](PromotionTierValidityTimeframe.md) | | [optional] |
22
+ | **validity_day_of_week** | **Array<Integer>** | Integer array corresponding to the particular days of the week in which the promotion tier is valid. - `0` Sunday - `1` Monday - `2` Tuesday - `3` Wednesday - `4` Thursday - `5` Friday - `6` Saturday | [optional] |
23
+ | **summary** | [**PromotionTierSummary**](PromotionTierSummary.md) | | [optional] |
24
+ | **object** | **String** | The type of object represented by JSON. This object stores information about the promotion tier. | [optional][default to 'promotion_tier'] |
25
+ | **validation_rule_assignments** | [**ValidationRuleAssignmentsList**](ValidationRuleAssignmentsList.md) | | [optional] |
26
+ | **category_id** | **String** | Promotion tier category ID. | [optional] |
27
+ | **categories** | [**Array<Category>**](Category.md) | | [optional] |
28
+
@@ -0,0 +1,28 @@
1
+ # VoucherifySdk::PromotionsTiersGetResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Unique promotion tier ID. | [optional] |
8
+ | **created_at** | **Time** | Timestamp representing the date and time when the promotion tier was created in ISO 8601 format. | [optional] |
9
+ | **updated_at** | **Time** | Timestamp representing the date and time when the promotion tier was updated in ISO 8601 format. | [optional] |
10
+ | **name** | **String** | Name of the promotion tier. | [optional] |
11
+ | **banner** | **String** | Text to be displayed to your customers on your website. | [optional] |
12
+ | **action** | [**PromotionTierAction**](PromotionTierAction.md) | | [optional] |
13
+ | **metadata** | **Object** | The metadata object stores all custom attributes assigned to the promotion tier. A set of key/value pairs that you can attach to a promotion tier object. It can be useful for storing additional information about the promotion tier in a structured format. | [optional] |
14
+ | **hierarchy** | **Integer** | The promotions hierarchy defines the order in which the discounts from different tiers will be applied to a customer's order. If a customer qualifies for discounts from more than one tier, discounts will be applied in the order defined in the hierarchy. | [optional] |
15
+ | **promotion_id** | **String** | Promotion unique ID. | [optional] |
16
+ | **campaign** | [**PromotionTierCampaign**](PromotionTierCampaign.md) | | [optional] |
17
+ | **campaign_id** | **String** | Promotion tier's parent campaign's unique ID. | [optional] |
18
+ | **active** | **Boolean** | A flag to toggle the promotion tier on or off. You can disable a promotion tier even though it's within the active period defined by the `start_date` and `expiration_date`. - `true` indicates an *active* promotion tier - `false` indicates an *inactive* promotion tier | [optional] |
19
+ | **start_date** | **Time** | Activation timestamp defines when the promotion tier starts to be active in ISO 8601 format. Promotion tier is *inactive before* this date. | [optional] |
20
+ | **expiration_date** | **Time** | Activation timestamp defines when the promotion tier expires in ISO 8601 format. Promotion tier is *inactive after* this date. | [optional] |
21
+ | **validity_timeframe** | [**PromotionTierValidityTimeframe**](PromotionTierValidityTimeframe.md) | | [optional] |
22
+ | **validity_day_of_week** | **Array<Integer>** | Integer array corresponding to the particular days of the week in which the promotion tier is valid. - `0` Sunday - `1` Monday - `2` Tuesday - `3` Wednesday - `4` Thursday - `5` Friday - `6` Saturday | [optional] |
23
+ | **summary** | [**PromotionTierSummary**](PromotionTierSummary.md) | | [optional] |
24
+ | **object** | **String** | The type of object represented by JSON. This object stores information about the promotion tier. | [optional][default to 'promotion_tier'] |
25
+ | **validation_rule_assignments** | [**ValidationRuleAssignmentsList**](ValidationRuleAssignmentsList.md) | | [optional] |
26
+ | **category_id** | **String** | Promotion tier category ID. | [optional] |
27
+ | **categories** | [**Array<Category>**](Category.md) | | [optional] |
28
+
@@ -0,0 +1,12 @@
1
+ # VoucherifySdk::PromotionsTiersListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **object** | **String** | The type of object represented by JSON. This object stores information about promotion tiers in a dictionary. | [optional][default to 'list'] |
8
+ | **data_ref** | **String** | Identifies the name of the attribute that contains the array of promotion tier objects. | [optional][default to 'tiers'] |
9
+ | **tiers** | [**Array<PromotionTier>**](PromotionTier.md) | Contains array of promotion tier objects. | [optional] |
10
+ | **total** | **Integer** | Total number of promotion tiers. | [optional] |
11
+ | **has_more** | **Boolean** | As query results are always limited (by the limit parameter), the `has_more` flag indicates whether there are more records for given filter parameters. This let's you know if you are able to run another request (with a different page or a different start date filter) to get more records returned in the results. | [optional] |
12
+
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::PropertiesForLoyaltyCampaignOptions
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **recalculate_tiers** | **Boolean** | Determine if tiers should be recalculated or no. | [optional] |
8
+
@@ -0,0 +1,222 @@
1
+ # VoucherifySdk::PublicationsApi
2
+
3
+ All URIs are relative to *https://api.voucherify.io*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create_publication**](PublicationsApi.md#create_publication) | **POST** /v1/publications | Create Publication |
8
+ | [**create_publication1**](PublicationsApi.md#create_publication1) | **GET** /v1/publications/create | Create Publication |
9
+ | [**list_publications**](PublicationsApi.md#list_publications) | **GET** /v1/publications | List Publications |
10
+
11
+
12
+ ## create_publication
13
+
14
+ > <PublicationsCreateResponseBody> create_publication(opts)
15
+
16
+ Create Publication
17
+
18
+ This method selects vouchers that are suitable for publication, adds a publish entry and returns the publication. A voucher is suitable for publication when its active and hasnt been published yet. 🚧 Clearly define the source of the voucher You must clearly define which source you want to publish the voucher code from. It can either be a code from a campaign or a specific voucher identified by a code. 🚧 Publish multiple vouchers In case you want to publish multiple vouchers within a single publication, you need to specify the campaign name and number of vouchers you want to publish. 📘 Auto-update campaign In case you want to ensure the number of publishable codes increases automatically with the number of customers, you should use an **auto-update** campaign.
19
+
20
+ ### Examples
21
+
22
+ ```ruby
23
+ require 'time'
24
+ require 'VoucherifySdk'
25
+ # setup authorization
26
+ VoucherifySdk.configure do |config|
27
+ # Configure API key authorization: X-App-Id
28
+ config.api_key['X-App-Id'] = 'YOUR API KEY'
29
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
30
+ # config.api_key_prefix['X-App-Id'] = 'Bearer'
31
+
32
+ # Configure API key authorization: X-App-Token
33
+ config.api_key['X-App-Token'] = 'YOUR API KEY'
34
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
35
+ # config.api_key_prefix['X-App-Token'] = 'Bearer'
36
+ end
37
+
38
+ api_instance = VoucherifySdk::PublicationsApi.new
39
+ opts = {
40
+ join_once: true, # Boolean | 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.
41
+ publications_create_request_body: VoucherifySdk::CreatePublicationWithCampaign.new({customer: VoucherifySdk::Customer.new, campaign: VoucherifySdk::CreatePublicationCampaign.new({name: 'camp_dphuwqH7BOVkgh4JmpDtS32l'})}) # PublicationsCreateRequestBody | Specify the publication parameters.
42
+ }
43
+
44
+ begin
45
+ # Create Publication
46
+ result = api_instance.create_publication(opts)
47
+ p result
48
+ rescue VoucherifySdk::ApiError => e
49
+ puts "Error when calling PublicationsApi->create_publication: #{e}"
50
+ end
51
+ ```
52
+
53
+ ### Parameters
54
+
55
+ | Name | Type | Description | Notes |
56
+ | ---- | ---- | ----------- | ----- |
57
+ | **join_once** | **Boolean** | 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. | [optional] |
58
+ | **publications_create_request_body** | [**PublicationsCreateRequestBody**](PublicationsCreateRequestBody.md) | Specify the publication parameters. | [optional] |
59
+
60
+ ### Return type
61
+
62
+ [**PublicationsCreateResponseBody**](PublicationsCreateResponseBody.md)
63
+
64
+ ### Authorization
65
+
66
+ [X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token)
67
+
68
+ ### HTTP request headers
69
+
70
+ - **Content-Type**: application/json
71
+ - **Accept**: application/json
72
+
73
+
74
+ ## create_publication1
75
+
76
+ > <PublicationsCreateResponseBody> create_publication1(customer, opts)
77
+
78
+ Create Publication
79
+
80
+ This method selects vouchers that are suitable for publication, adds a publish entry and returns the publication. A voucher is suitable for publication when its active and hasnt been published yet. ❗️ Limited access Access to this endpoint is limited. This endpoint is designed for specific integrations and the API keys need to be configured to access this endpoint. Navigate to the **Dashboard** &rarr; **Project Settings** &rarr; **General** &rarr; **Integration Keys** to set up a pair of API keys and use them to send the request. 🚧 Clearly define the source of the voucher You must clearly define which source you want to publish the voucher code from. It can either be a code from a campaign or a specific voucher identified by a code. 🚧 Publish multiple vouchers This endpoint does not support the publishing of multiple vouchers from a single campaign. In case you want to publish multiple vouchers within a single publication, you need to use a dedicated endpoint. 📘 Auto-update campaign In case you want to ensure the number of publishable codes increases automatically with the number of customers, you should use an **auto-update** campaign. # Example Request ❗️ Required Query param voucher OR campaign MUST be filled out. If you provide both, campaign param will be skipped.
81
+
82
+ ### Examples
83
+
84
+ ```ruby
85
+ require 'time'
86
+ require 'VoucherifySdk'
87
+ # setup authorization
88
+ VoucherifySdk.configure do |config|
89
+ # Configure API key authorization: X-App-Id
90
+ config.api_key['X-App-Id'] = 'YOUR API KEY'
91
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
92
+ # config.api_key_prefix['X-App-Id'] = 'Bearer'
93
+
94
+ # Configure API key authorization: X-App-Token
95
+ config.api_key['X-App-Token'] = 'YOUR API KEY'
96
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
97
+ # config.api_key_prefix['X-App-Token'] = 'Bearer'
98
+ end
99
+
100
+ api_instance = VoucherifySdk::PublicationsApi.new
101
+ customer = VoucherifySdk::Customer.new # Customer | Contains information about the customer to whom the publication was directed.
102
+ opts = {
103
+ join_once: true, # Boolean | 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.
104
+ voucher: 'voucher_example', # String | Code of voucher being published.
105
+ campaign: VoucherifySdk::CreatePublicationCampaign.new({name: 'camp_dphuwqH7BOVkgh4JmpDtS32l'}), # CreatePublicationCampaign | Create publication with campaign.
106
+ source_id: 'source_id_example', # String | 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.
107
+ metadata: { key: 3.56} # Object | 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.
108
+ }
109
+
110
+ begin
111
+ # Create Publication
112
+ result = api_instance.create_publication1(customer, opts)
113
+ p result
114
+ rescue VoucherifySdk::ApiError => e
115
+ puts "Error when calling PublicationsApi->create_publication1: #{e}"
116
+ end
117
+ ```
118
+
119
+ ### Parameters
120
+
121
+ | Name | Type | Description | Notes |
122
+ | ---- | ---- | ----------- | ----- |
123
+ | **customer** | [**Customer**](.md) | Contains information about the customer to whom the publication was directed. | |
124
+ | **join_once** | **Boolean** | 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. | [optional] |
125
+ | **voucher** | **String** | Code of voucher being published. | [optional] |
126
+ | **campaign** | [**CreatePublicationCampaign**](.md) | Create publication with campaign. | [optional] |
127
+ | **source_id** | **String** | 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. | [optional] |
128
+ | **metadata** | [**Object**](.md) | 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. | [optional] |
129
+
130
+ ### Return type
131
+
132
+ [**PublicationsCreateResponseBody**](PublicationsCreateResponseBody.md)
133
+
134
+ ### Authorization
135
+
136
+ [X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token)
137
+
138
+ ### HTTP request headers
139
+
140
+ - **Content-Type**: Not defined
141
+ - **Accept**: application/json
142
+
143
+
144
+ ## list_publications
145
+
146
+ > <PublicationsListResponseBody> list_publications(opts)
147
+
148
+ List Publications
149
+
150
+ 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
151
+
152
+ ### Examples
153
+
154
+ ```ruby
155
+ require 'time'
156
+ require 'VoucherifySdk'
157
+ # setup authorization
158
+ VoucherifySdk.configure do |config|
159
+ # Configure API key authorization: X-App-Id
160
+ config.api_key['X-App-Id'] = 'YOUR API KEY'
161
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
162
+ # config.api_key_prefix['X-App-Id'] = 'Bearer'
163
+
164
+ # Configure API key authorization: X-App-Token
165
+ config.api_key['X-App-Token'] = 'YOUR API KEY'
166
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
167
+ # config.api_key_prefix['X-App-Token'] = 'Bearer'
168
+ end
169
+
170
+ api_instance = VoucherifySdk::PublicationsApi.new
171
+ opts = {
172
+ limit: 56, # Integer | A limit on the number of objects to be returned. Limit can range between 1 and 100 items.
173
+ page: 56, # Integer | Which page of results to return.
174
+ order: VoucherifySdk::ParameterOrderListPublications::ID, # ParameterOrderListPublications | Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
175
+ campaign: 'campaign_example', # String | Filters by a given campaign name.
176
+ customer: 'customer_example', # String | Filters by a unique customer ID.
177
+ voucher: 'voucher_example', # String | Filters by a given voucher code.
178
+ result: VoucherifySdk::ParameterResultListPublications::SUCCESS, # ParameterResultListPublications | Filters by a publication result.
179
+ voucher_type: VoucherifySdk::ParameterVoucherTypeListPublications::DISCOUNT, # ParameterVoucherTypeListPublications | Filters by a voucher type.
180
+ is_referral_code: true, # Boolean | This filter works only for the true option. If set to true, the query returns only publications of codes from referral campaigns.
181
+ filters: 'filters_example', # String | Allows for combining the filters mentioned in the endpoint description.
182
+ source_id: 'source_id_example' # String | 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.
183
+ }
184
+
185
+ begin
186
+ # List Publications
187
+ result = api_instance.list_publications(opts)
188
+ p result
189
+ rescue VoucherifySdk::ApiError => e
190
+ puts "Error when calling PublicationsApi->list_publications: #{e}"
191
+ end
192
+ ```
193
+
194
+ ### Parameters
195
+
196
+ | Name | Type | Description | Notes |
197
+ | ---- | ---- | ----------- | ----- |
198
+ | **limit** | **Integer** | A limit on the number of objects to be returned. Limit can range between 1 and 100 items. | [optional] |
199
+ | **page** | **Integer** | Which page of results to return. | [optional] |
200
+ | **order** | [**ParameterOrderListPublications**](.md) | Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order. | [optional] |
201
+ | **campaign** | **String** | Filters by a given campaign name. | [optional] |
202
+ | **customer** | **String** | Filters by a unique customer ID. | [optional] |
203
+ | **voucher** | **String** | Filters by a given voucher code. | [optional] |
204
+ | **result** | [**ParameterResultListPublications**](.md) | Filters by a publication result. | [optional] |
205
+ | **voucher_type** | [**ParameterVoucherTypeListPublications**](.md) | Filters by a voucher type. | [optional] |
206
+ | **is_referral_code** | **Boolean** | This filter works only for the true option. If set to true, the query returns only publications of codes from referral campaigns. | [optional] |
207
+ | **filters** | **String** | Allows for combining the filters mentioned in the endpoint description. | [optional] |
208
+ | **source_id** | **String** | 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. | [optional] |
209
+
210
+ ### Return type
211
+
212
+ [**PublicationsListResponseBody**](PublicationsListResponseBody.md)
213
+
214
+ ### Authorization
215
+
216
+ [X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token)
217
+
218
+ ### HTTP request headers
219
+
220
+ - **Content-Type**: Not defined
221
+ - **Accept**: application/json
222
+
@@ -0,0 +1,18 @@
1
+ # VoucherifySdk::PublicationsCreateBaseResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Unique publication ID, assigned by Voucherify. | |
8
+ | **object** | **String** | The type of object represented by the JSON. This object stores information about the &#x60;publication&#x60;. | [default to &#39;publication&#39;] |
9
+ | **created_at** | **Time** | Timestamp representing the date and time when the publication was created in ISO 8601 format. | |
10
+ | **customer_id** | **String** | Unique customer ID of the customer receiving the publication. | |
11
+ | **tracking_id** | **String** | Customer&#39;s &#x60;source_id&#x60;. | [optional] |
12
+ | **metadata** | **Object** | 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. | |
13
+ | **channel** | **String** | How the publication was originated. It can be your own custom channel or an example value provided here. | [default to &#39;API&#39;] |
14
+ | **source_id** | **String** | The merchant’s publication ID if it is different from the Voucherify publication ID. It&#39;s 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. | |
15
+ | **result** | **String** | Status of the publication attempt. | [default to &#39;SUCCESS&#39;] |
16
+ | **customer** | [**CustomerWithSummaryLoyaltyReferrals**](CustomerWithSummaryLoyaltyReferrals.md) | | |
17
+ | **vouchers_id** | **Array&lt;String&gt;** | Contains the unique internal voucher ID that was assigned by Voucherify. | |
18
+
@@ -0,0 +1,49 @@
1
+ # VoucherifySdk::PublicationsCreateRequestBody
2
+
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
10
+
11
+ ```ruby
12
+ require 'VoucherifySdk'
13
+
14
+ VoucherifySdk::PublicationsCreateRequestBody.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'CreatePublicationWithCampaign',
18
+ # :'CreatePublicationWithSpecificVoucher'
19
+ # ]
20
+ ```
21
+
22
+ ### build
23
+
24
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
25
+
26
+ #### Example
27
+
28
+ ```ruby
29
+ require 'VoucherifySdk'
30
+
31
+ VoucherifySdk::PublicationsCreateRequestBody.build(data)
32
+ # => #<CreatePublicationWithCampaign:0x00007fdd4aab02a0>
33
+
34
+ VoucherifySdk::PublicationsCreateRequestBody.build(data_that_doesnt_match)
35
+ # => nil
36
+ ```
37
+
38
+ #### Parameters
39
+
40
+ | Name | Type | Description |
41
+ | ---- | ---- | ----------- |
42
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
43
+
44
+ #### Return type
45
+
46
+ - `CreatePublicationWithCampaign`
47
+ - `CreatePublicationWithSpecificVoucher`
48
+ - `nil` (if no type matches)
49
+
@@ -0,0 +1,49 @@
1
+ # VoucherifySdk::PublicationsCreateResponseBody
2
+
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
10
+
11
+ ```ruby
12
+ require 'VoucherifySdk'
13
+
14
+ VoucherifySdk::PublicationsCreateResponseBody.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'PublicationsCreateVoucherResponseBody',
18
+ # :'PublicationsCreateVouchersResponseBody'
19
+ # ]
20
+ ```
21
+
22
+ ### build
23
+
24
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
25
+
26
+ #### Example
27
+
28
+ ```ruby
29
+ require 'VoucherifySdk'
30
+
31
+ VoucherifySdk::PublicationsCreateResponseBody.build(data)
32
+ # => #<PublicationsCreateVoucherResponseBody:0x00007fdd4aab02a0>
33
+
34
+ VoucherifySdk::PublicationsCreateResponseBody.build(data_that_doesnt_match)
35
+ # => nil
36
+ ```
37
+
38
+ #### Parameters
39
+
40
+ | Name | Type | Description |
41
+ | ---- | ---- | ----------- |
42
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
43
+
44
+ #### Return type
45
+
46
+ - `PublicationsCreateVoucherResponseBody`
47
+ - `PublicationsCreateVouchersResponseBody`
48
+ - `nil` (if no type matches)
49
+
@@ -0,0 +1,19 @@
1
+ # VoucherifySdk::PublicationsCreateVoucherResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Unique publication ID, assigned by Voucherify. | |
8
+ | **object** | **String** | The type of object represented by the JSON. This object stores information about the &#x60;publication&#x60;. | [default to &#39;publication&#39;] |
9
+ | **created_at** | **Time** | Timestamp representing the date and time when the publication was created in ISO 8601 format. | |
10
+ | **customer_id** | **String** | Unique customer ID of the customer receiving the publication. | |
11
+ | **tracking_id** | **String** | Customer&#39;s &#x60;source_id&#x60;. | [optional] |
12
+ | **metadata** | **Object** | 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. | |
13
+ | **channel** | **String** | How the publication was originated. It can be your own custom channel or an example value provided here. | [default to &#39;API&#39;] |
14
+ | **source_id** | **String** | The merchant’s publication ID if it is different from the Voucherify publication ID. It&#39;s 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. | |
15
+ | **result** | **String** | Status of the publication attempt. | [default to &#39;SUCCESS&#39;] |
16
+ | **customer** | [**CustomerWithSummaryLoyaltyReferrals**](CustomerWithSummaryLoyaltyReferrals.md) | | |
17
+ | **vouchers_id** | **Array&lt;String&gt;** | Contains the unique internal voucher ID that was assigned by Voucherify. | |
18
+ | **voucher** | [**Voucher**](Voucher.md) | | |
19
+
@@ -0,0 +1,19 @@
1
+ # VoucherifySdk::PublicationsCreateVouchersResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Unique publication ID, assigned by Voucherify. | |
8
+ | **object** | **String** | The type of object represented by the JSON. This object stores information about the &#x60;publication&#x60;. | [default to &#39;publication&#39;] |
9
+ | **created_at** | **Time** | Timestamp representing the date and time when the publication was created in ISO 8601 format. | |
10
+ | **customer_id** | **String** | Unique customer ID of the customer receiving the publication. | |
11
+ | **tracking_id** | **String** | Customer&#39;s &#x60;source_id&#x60;. | [optional] |
12
+ | **metadata** | **Object** | 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. | |
13
+ | **channel** | **String** | How the publication was originated. It can be your own custom channel or an example value provided here. | [default to &#39;API&#39;] |
14
+ | **source_id** | **String** | The merchant’s publication ID if it is different from the Voucherify publication ID. It&#39;s 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. | |
15
+ | **result** | **String** | Status of the publication attempt. | [default to &#39;SUCCESS&#39;] |
16
+ | **customer** | [**CustomerWithSummaryLoyaltyReferrals**](CustomerWithSummaryLoyaltyReferrals.md) | | |
17
+ | **vouchers_id** | **Array&lt;String&gt;** | Contains the unique internal voucher ID that was assigned by Voucherify. | |
18
+ | **vouchers** | **Array&lt;String&gt;** | Contains the unique voucher codes that was assigned by Voucherify. | |
19
+
@@ -0,0 +1,11 @@
1
+ # VoucherifySdk::PublicationsListResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **object** | **String** | The type of object represented by JSON. This object stores information about publications in a dictionary. | [default to &#39;list&#39;] |
8
+ | **data_ref** | **String** | Identifies the name of the attribute that contains the array of publications. | [default to &#39;publications&#39;] |
9
+ | **publications** | [**Array&lt;PublicationsListResponseBodyPublicationsItem&gt;**](PublicationsListResponseBodyPublicationsItem.md) | Contains array of publication objects, voucher object will be simplified. | |
10
+ | **total** | **Integer** | Total number of publications. | |
11
+
@@ -0,0 +1,51 @@
1
+ # VoucherifySdk::PublicationsListResponseBodyPublicationsItem
2
+
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
10
+
11
+ ```ruby
12
+ require 'VoucherifySdk'
13
+
14
+ VoucherifySdk::PublicationsListResponseBodyPublicationsItem.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'ListPublicationsItemInvalid',
18
+ # :'ListPublicationsItemValidMultipleVouchers',
19
+ # :'ListPublicationsItemValidSingleVoucher'
20
+ # ]
21
+ ```
22
+
23
+ ### build
24
+
25
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
26
+
27
+ #### Example
28
+
29
+ ```ruby
30
+ require 'VoucherifySdk'
31
+
32
+ VoucherifySdk::PublicationsListResponseBodyPublicationsItem.build(data)
33
+ # => #<ListPublicationsItemInvalid:0x00007fdd4aab02a0>
34
+
35
+ VoucherifySdk::PublicationsListResponseBodyPublicationsItem.build(data_that_doesnt_match)
36
+ # => nil
37
+ ```
38
+
39
+ #### Parameters
40
+
41
+ | Name | Type | Description |
42
+ | ---- | ---- | ----------- |
43
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
44
+
45
+ #### Return type
46
+
47
+ - `ListPublicationsItemInvalid`
48
+ - `ListPublicationsItemValidMultipleVouchers`
49
+ - `ListPublicationsItemValidSingleVoucher`
50
+ - `nil` (if no type matches)
51
+