voucherify 6.0.0 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (750) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +1 -1
  3. data/ENDPOINTS-COVERAGE.md +94 -95
  4. data/EXAMPLES.md +3 -3
  5. data/Gemfile.lock +4 -4
  6. data/README.md +345 -9
  7. data/__tests__/lib/stackables.rb +18 -0
  8. data/__tests__/spec/09_redemptions_spec.rb +5 -0
  9. data/docs/ApplicableTo.md +7 -7
  10. data/docs/BinApi.md +132 -0
  11. data/docs/Campaign.md +40 -0
  12. data/docs/CampaignBase.md +1 -0
  13. data/docs/CampaignTemplate.md +14 -0
  14. data/docs/CampaignsApi.md +3 -1
  15. data/docs/CampaignsCreateRequestBody.md +1 -2
  16. data/docs/CampaignsCreateResponseBody.md +1 -0
  17. data/docs/CampaignsGetResponseBody.md +1 -0
  18. data/docs/CampaignsUpdateRequestBody.md +1 -4
  19. data/docs/CampaignsUpdateResponseBody.md +1 -0
  20. data/docs/CampaignsVouchersCreateCombinedResponseBodyPublish.md +1 -1
  21. data/docs/CampaignsVouchersCreateCombinedResponseBodyRedemption.md +1 -1
  22. data/docs/CampaignsVouchersCreateResponseBodyPublish.md +1 -1
  23. data/docs/CampaignsVouchersCreateResponseBodyRedemption.md +1 -1
  24. data/docs/CategoriesCreateRequestBody.md +1 -1
  25. data/docs/CategoriesCreateResponseBody.md +1 -1
  26. data/docs/CategoriesGetResponseBody.md +1 -2
  27. data/docs/CategoriesUpdateRequestBody.md +1 -1
  28. data/docs/CategoriesUpdateResponseBody.md +1 -1
  29. data/docs/Category.md +1 -2
  30. data/docs/CategoryWithStackingRulesType.md +14 -0
  31. data/docs/ClientPromotionsTiersListResponseBody.md +1 -1
  32. data/docs/ClientValidationsValidateResponseBodyRedeemablesItem.md +1 -1
  33. data/docs/CustomersActivityListResponseBody.md +1 -1
  34. data/docs/CustomersApi.md +2 -64
  35. data/docs/Error.md +1 -1
  36. data/docs/ExportsApi.md +13 -1
  37. data/docs/{ParameterFiltersListCustomerRedeemablesCreatedAtConditions.md → FilterConditionsDateTime.md} +1 -1
  38. data/docs/InapplicableTo.md +7 -7
  39. data/docs/Location.md +13 -0
  40. data/docs/LocationShape.md +11 -0
  41. data/docs/LocationShapeDistance.md +9 -0
  42. data/docs/LocationShapeGeojson.md +9 -0
  43. data/docs/LocationsApi.md +133 -0
  44. data/docs/LocationsGetResponseBody.md +13 -0
  45. data/docs/LocationsGetResponseBodyShape.md +11 -0
  46. data/docs/LocationsGetResponseBodyShapeDistance.md +9 -0
  47. data/docs/LocationsGetResponseBodyShapeGeojson.md +9 -0
  48. data/docs/LocationsListResponseBody.md +12 -0
  49. data/docs/LoyaltiesApi.md +9 -3
  50. data/docs/LoyaltiesCreateCampaignRequestBody.md +1 -1
  51. data/docs/LoyaltiesCreateCampaignResponseBody.md +1 -0
  52. data/docs/LoyaltiesGetCampaignResponseBody.md +1 -0
  53. data/docs/LoyaltiesMemberActivityListResponseBody.md +1 -1
  54. data/docs/LoyaltiesMembersCreateResponseBodyPublish.md +1 -1
  55. data/docs/LoyaltiesMembersCreateResponseBodyRedemption.md +1 -1
  56. data/docs/LoyaltiesMembersGetResponseBodyPublish.md +1 -1
  57. data/docs/LoyaltiesMembersGetResponseBodyRedemption.md +1 -1
  58. data/docs/LoyaltiesMembersRedemptionRedeemResponseBody.md +1 -1
  59. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyChannel.md +2 -2
  60. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucher.md +1 -1
  61. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherPublish.md +1 -1
  62. data/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherRedemption.md +1 -1
  63. data/docs/LoyaltiesMembersTransactionsListResponseBody.md +2 -1
  64. data/docs/LoyaltiesMembersTransfersCreateResponseBodyPublish.md +1 -1
  65. data/docs/LoyaltiesMembersTransfersCreateResponseBodyRedemption.md +1 -1
  66. data/docs/LoyaltiesRewardAssignmentsGetResponseBodyParametersLoyalty.md +1 -0
  67. data/docs/LoyaltiesRewardsCreateAssignmentResponseBodyParametersLoyalty.md +1 -0
  68. data/docs/LoyaltiesRewardsGetResponseBodyParametersLoyalty.md +1 -0
  69. data/docs/LoyaltiesRewardsUpdateAssignmentRequestBodyParametersLoyalty.md +1 -0
  70. data/docs/LoyaltiesRewardsUpdateAssignmentResponseBodyParametersLoyalty.md +1 -0
  71. data/docs/LoyaltiesUpdateCampaignResponseBody.md +1 -0
  72. data/docs/LoyaltyCampaign.md +1 -0
  73. data/docs/LoyaltyMemberPublish.md +1 -1
  74. data/docs/LoyaltyMemberRedemption.md +1 -1
  75. data/docs/ManagementApi.md +2348 -0
  76. data/docs/ManagementProject.md +30 -0
  77. data/docs/ManagementProjectApiUsageNotifications.md +13 -0
  78. data/docs/ManagementProjectDefaultCodeConfig.md +8 -0
  79. data/docs/ManagementProjectLimits.md +9 -0
  80. data/docs/ManagementProjectLimitsApiCallsItem.md +9 -0
  81. data/docs/ManagementProjectLimitsBulkApiCallsItem.md +9 -0
  82. data/docs/ManagementProjectWebhooksCalloutNotifications.md +9 -0
  83. data/docs/ManagementProjectWebhooksCalloutNotificationsDistributions.md +10 -0
  84. data/docs/ManagementProjectWebhooksCalloutNotificationsWebhooks.md +10 -0
  85. data/docs/ManagementProjectsBranding.md +12 -0
  86. data/docs/ManagementProjectsBrandingAddress.md +12 -0
  87. data/docs/ManagementProjectsBrandingBrand.md +12 -0
  88. data/docs/ManagementProjectsBrandingCockpits.md +15 -0
  89. data/docs/ManagementProjectsBrandingContact.md +9 -0
  90. data/docs/ManagementProjectsBrandingCreateRequestBody.md +11 -0
  91. data/docs/ManagementProjectsBrandingCreateRequestBodyAddress.md +12 -0
  92. data/docs/ManagementProjectsBrandingCreateRequestBodyBrand.md +12 -0
  93. data/docs/ManagementProjectsBrandingCreateRequestBodyCockpits.md +15 -0
  94. data/docs/ManagementProjectsBrandingCreateRequestBodyContact.md +9 -0
  95. data/docs/ManagementProjectsBrandingCreateResponseBody.md +12 -0
  96. data/docs/ManagementProjectsBrandingCreateResponseBodyAddress.md +12 -0
  97. data/docs/ManagementProjectsBrandingCreateResponseBodyBrand.md +12 -0
  98. data/docs/ManagementProjectsBrandingCreateResponseBodyCockpits.md +15 -0
  99. data/docs/ManagementProjectsBrandingCreateResponseBodyContact.md +9 -0
  100. data/docs/ManagementProjectsBrandingGetResponseBody.md +12 -0
  101. data/docs/ManagementProjectsBrandingGetResponseBodyAddress.md +12 -0
  102. data/docs/ManagementProjectsBrandingGetResponseBodyBrand.md +12 -0
  103. data/docs/ManagementProjectsBrandingGetResponseBodyCockpits.md +15 -0
  104. data/docs/ManagementProjectsBrandingGetResponseBodyContact.md +9 -0
  105. data/docs/ManagementProjectsBrandingListResponseBody.md +11 -0
  106. data/docs/ManagementProjectsBrandingUpdateRequestBody.md +11 -0
  107. data/docs/ManagementProjectsBrandingUpdateRequestBodyAddress.md +12 -0
  108. data/docs/ManagementProjectsBrandingUpdateRequestBodyBrand.md +12 -0
  109. data/docs/ManagementProjectsBrandingUpdateRequestBodyCockpits.md +15 -0
  110. data/docs/ManagementProjectsBrandingUpdateRequestBodyContact.md +9 -0
  111. data/docs/ManagementProjectsBrandingUpdateResponseBody.md +12 -0
  112. data/docs/ManagementProjectsBrandingUpdateResponseBodyAddress.md +12 -0
  113. data/docs/ManagementProjectsBrandingUpdateResponseBodyBrand.md +12 -0
  114. data/docs/ManagementProjectsBrandingUpdateResponseBodyCockpits.md +15 -0
  115. data/docs/ManagementProjectsBrandingUpdateResponseBodyContact.md +9 -0
  116. data/docs/ManagementProjectsCreateRequestBody.md +26 -0
  117. data/docs/ManagementProjectsCreateRequestBodyApiUsageNotifications.md +12 -0
  118. data/docs/ManagementProjectsCreateRequestBodyUsersItem.md +10 -0
  119. data/docs/ManagementProjectsCreateRequestBodyWebhooksCalloutNotifications.md +9 -0
  120. data/docs/ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsDistributions.md +10 -0
  121. data/docs/ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks.md +10 -0
  122. data/docs/ManagementProjectsCreateResponseBody.md +30 -0
  123. data/docs/ManagementProjectsCreateResponseBodyApiUsageNotifications.md +13 -0
  124. data/docs/ManagementProjectsCreateResponseBodyClientSideKey.md +9 -0
  125. data/docs/ManagementProjectsCreateResponseBodyServerSideKey.md +9 -0
  126. data/docs/ManagementProjectsCreateResponseBodyWebhooksCalloutNotifications.md +9 -0
  127. data/docs/ManagementProjectsCreateResponseBodyWebhooksCalloutNotificationsDistributions.md +10 -0
  128. data/docs/ManagementProjectsCreateResponseBodyWebhooksCalloutNotificationsWebhooks.md +10 -0
  129. data/docs/ManagementProjectsCustomEventSchema.md +13 -0
  130. data/docs/ManagementProjectsCustomEventSchemaSchema.md +8 -0
  131. data/docs/ManagementProjectsCustomEventSchemasCreateRequestBody.md +9 -0
  132. data/docs/ManagementProjectsCustomEventSchemasCreateRequestBodySchema.md +8 -0
  133. data/docs/ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry.md +10 -0
  134. data/docs/ManagementProjectsCustomEventSchemasCreateResponseBody.md +13 -0
  135. data/docs/ManagementProjectsCustomEventSchemasCreateResponseBodySchema.md +8 -0
  136. data/docs/ManagementProjectsCustomEventSchemasGetResponseBody.md +13 -0
  137. data/docs/ManagementProjectsCustomEventSchemasGetResponseBodySchema.md +8 -0
  138. data/docs/ManagementProjectsCustomEventSchemasListResponseBody.md +11 -0
  139. data/docs/ManagementProjectsCustomEventSchemasUpdateRequestBody.md +8 -0
  140. data/docs/ManagementProjectsCustomEventSchemasUpdateRequestBodySchema.md +8 -0
  141. data/docs/ManagementProjectsCustomEventSchemasUpdateResponseBody.md +13 -0
  142. data/docs/ManagementProjectsCustomEventSchemasUpdateResponseBodySchema.md +8 -0
  143. data/docs/ManagementProjectsGetResponseBody.md +30 -0
  144. data/docs/ManagementProjectsGetResponseBodyApiUsageNotifications.md +13 -0
  145. data/docs/ManagementProjectsGetResponseBodyDefaultCodeConfig.md +8 -0
  146. data/docs/ManagementProjectsGetResponseBodyLimits.md +9 -0
  147. data/docs/ManagementProjectsGetResponseBodyLimitsApiCallsItem.md +9 -0
  148. data/docs/ManagementProjectsGetResponseBodyLimitsBulkApiCallsItem.md +9 -0
  149. data/docs/ManagementProjectsGetResponseBodyWebhooksCalloutNotifications.md +9 -0
  150. data/docs/ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions.md +10 -0
  151. data/docs/ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsWebhooks.md +10 -0
  152. data/docs/ManagementProjectsListResponseBody.md +11 -0
  153. data/docs/ManagementProjectsMetadataSchema.md +14 -0
  154. data/docs/ManagementProjectsMetadataSchemaDefinition.md +21 -0
  155. data/docs/ManagementProjectsMetadataSchemasCreateRequestBody.md +10 -0
  156. data/docs/ManagementProjectsMetadataSchemasCreateResponseBody.md +14 -0
  157. data/docs/ManagementProjectsMetadataSchemasGetResponseBody.md +14 -0
  158. data/docs/ManagementProjectsMetadataSchemasListResponseBody.md +11 -0
  159. data/docs/ManagementProjectsMetadataSchemasUpdateRequestBody.md +9 -0
  160. data/docs/ManagementProjectsMetadataSchemasUpdateResponseBody.md +14 -0
  161. data/docs/ManagementProjectsStackingRules.md +22 -0
  162. data/docs/ManagementProjectsStackingRulesCreateRequestBody.md +19 -0
  163. data/docs/ManagementProjectsStackingRulesCreateResponseBody.md +22 -0
  164. data/docs/ManagementProjectsStackingRulesGetResponseBody.md +22 -0
  165. data/docs/ManagementProjectsStackingRulesListResponseBody.md +11 -0
  166. data/docs/ManagementProjectsStackingRulesUpdateRequestBody.md +19 -0
  167. data/docs/ManagementProjectsStackingRulesUpdateResponseBody.md +22 -0
  168. data/docs/ManagementProjectsTemplatesCampaignsCopyCreateRequestBody.md +10 -0
  169. data/docs/ManagementProjectsTemplatesCampaignsCopyCreateResponseBody.md +13 -0
  170. data/docs/ManagementProjectsTemplatesCampaignsListResponseBody.md +13 -0
  171. data/docs/ManagementProjectsUpdateRequestBody.md +23 -0
  172. data/docs/ManagementProjectsUpdateRequestBodyApiUsageNotifications.md +12 -0
  173. data/docs/ManagementProjectsUpdateRequestBodyDefaultCodeConfig.md +8 -0
  174. data/docs/ManagementProjectsUpdateRequestBodyWebhooksCalloutNotifications.md +9 -0
  175. data/docs/ManagementProjectsUpdateRequestBodyWebhooksCalloutNotificationsDistributions.md +10 -0
  176. data/docs/ManagementProjectsUpdateRequestBodyWebhooksCalloutNotificationsWebhooks.md +10 -0
  177. data/docs/ManagementProjectsUpdateResponseBody.md +30 -0
  178. data/docs/ManagementProjectsUpdateResponseBodyApiUsageNotifications.md +13 -0
  179. data/docs/ManagementProjectsUpdateResponseBodyDefaultCodeConfig.md +8 -0
  180. data/docs/ManagementProjectsUpdateResponseBodyLimits.md +9 -0
  181. data/docs/ManagementProjectsUpdateResponseBodyLimitsApiCallsItem.md +9 -0
  182. data/docs/ManagementProjectsUpdateResponseBodyLimitsBulkApiCallsItem.md +9 -0
  183. data/docs/ManagementProjectsUpdateResponseBodyWebhooksCalloutNotifications.md +9 -0
  184. data/docs/ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsDistributions.md +10 -0
  185. data/docs/ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks.md +10 -0
  186. data/docs/ManagementProjectsUsersAssignRequestBody.md +10 -0
  187. data/docs/ManagementProjectsUsersAssignResponseBody.md +14 -0
  188. data/docs/ManagementProjectsUsersGetUserResponseBody.md +14 -0
  189. data/docs/ManagementProjectsUsersInviteCreateRequestBody.md +11 -0
  190. data/docs/ManagementProjectsUsersListResponseBody.md +11 -0
  191. data/docs/ManagementProjectsUsersUpdateRoleRequestBody.md +8 -0
  192. data/docs/ManagementProjectsUsersUpdateRoleResponseBody.md +14 -0
  193. data/docs/ManagementProjectsWebhook.md +13 -0
  194. data/docs/ManagementProjectsWebhooksCreateRequestBody.md +10 -0
  195. data/docs/ManagementProjectsWebhooksCreateResponseBody.md +13 -0
  196. data/docs/ManagementProjectsWebhooksGetResponseBody.md +13 -0
  197. data/docs/ManagementProjectsWebhooksListResponseBody.md +11 -0
  198. data/docs/ManagementProjectsWebhooksUpdateRequestBody.md +10 -0
  199. data/docs/ManagementProjectsWebhooksUpdateResponseBody.md +13 -0
  200. data/docs/MetadataSchemaDefinitionDeprecated.md +21 -0
  201. data/docs/MetadataSchemaDeprecated.md +14 -0
  202. data/docs/MetadataSchemasApi.md +122 -0
  203. data/docs/MetadataSchemasGetResponseBody.md +14 -0
  204. data/docs/MetadataSchemasListResponseBody.md +11 -0
  205. data/docs/Order.md +1 -1
  206. data/docs/OrderCalculated.md +1 -1
  207. data/docs/OrderItemProduct.md +1 -1
  208. data/docs/OrdersCreateRequestBody.md +1 -1
  209. data/docs/OrdersCreateResponseBody.md +1 -1
  210. data/docs/OrdersGetResponseBody.md +1 -1
  211. data/docs/OrdersImportCreateRequestBodyItem.md +1 -1
  212. data/docs/OrdersUpdateRequestBody.md +1 -1
  213. data/docs/OrdersUpdateResponseBody.md +1 -1
  214. data/docs/ParameterFiltersListBin.md +12 -0
  215. data/docs/ParameterFiltersListBinId.md +8 -0
  216. data/docs/ParameterFiltersListBinResourceId.md +8 -0
  217. data/docs/ParameterFiltersListBinResourceName.md +8 -0
  218. data/docs/ParameterFiltersListBinResourceType.md +8 -0
  219. data/docs/ParameterFiltersListBinResourceTypeConditions.md +15 -0
  220. data/docs/ParameterFiltersListCampaigns.md +14 -0
  221. data/docs/ParameterFiltersListCampaignsCampaignStatus.md +8 -0
  222. data/docs/ParameterFiltersListCampaignsCampaignStatusConditions.md +15 -0
  223. data/docs/ParameterFiltersListCampaignsCategories.md +8 -0
  224. data/docs/ParameterFiltersListCampaignsCategoryIds.md +8 -0
  225. data/docs/ParameterFiltersListCampaignsIsReferralCode.md +9 -0
  226. data/docs/ParameterFiltersListCampaignsValidityTimeframe.md +8 -0
  227. data/docs/ParameterFiltersListCampaignsVoucherType.md +8 -0
  228. data/docs/ParameterFiltersListCustomerRedeemables.md +1 -0
  229. data/docs/ParameterFiltersListCustomerRedeemablesCampaignId.md +0 -1
  230. data/docs/ParameterFiltersListCustomerRedeemablesCampaignType.md +0 -1
  231. data/docs/ParameterFiltersListCustomerRedeemablesCreatedAt.md +1 -2
  232. data/docs/ParameterFiltersListCustomerRedeemablesHolderRole.md +0 -1
  233. data/docs/ParameterFiltersListCustomerRedeemablesId.md +0 -1
  234. data/docs/ParameterFiltersListCustomerRedeemablesRedeemableId.md +0 -1
  235. data/docs/ParameterFiltersListCustomerRedeemablesRedeemableObject.md +0 -1
  236. data/docs/ParameterFiltersListCustomerRedeemablesVoucherType.md +0 -1
  237. data/docs/ParameterFiltersListLocations.md +10 -0
  238. data/docs/ParameterFiltersListLocationsCreatedAt.md +8 -0
  239. data/docs/ParameterFiltersListLocationsName.md +8 -0
  240. data/docs/ParameterFiltersListLocationsUpdatedAt.md +8 -0
  241. data/docs/ParameterFiltersListPublications.md +17 -0
  242. data/docs/ParameterFiltersListPublicationsCampaignName.md +8 -0
  243. data/docs/ParameterFiltersListPublicationsCustomerId.md +8 -0
  244. data/docs/ParameterFiltersListPublicationsFailureCode.md +8 -0
  245. data/docs/ParameterFiltersListPublicationsIsReferralCode.md +8 -0
  246. data/docs/ParameterFiltersListPublicationsParentObjectId.md +8 -0
  247. data/docs/ParameterFiltersListPublicationsRelatedObjectId.md +8 -0
  248. data/docs/ParameterFiltersListPublicationsResult.md +8 -0
  249. data/docs/ParameterFiltersListPublicationsSourceId.md +8 -0
  250. data/docs/ParameterFiltersListPublicationsVoucherType.md +8 -0
  251. data/docs/ParameterFiltersListRedemptions.md +1 -0
  252. data/docs/ParameterFiltersListRedemptionsCampaignName.md +0 -1
  253. data/docs/ParameterFiltersListRedemptionsCustomerId.md +0 -1
  254. data/docs/ParameterFiltersListRedemptionsFailureCode.md +0 -1
  255. data/docs/ParameterFiltersListRedemptionsObject.md +0 -1
  256. data/docs/ParameterFiltersListRedemptionsParentRedemptionId.md +0 -1
  257. data/docs/ParameterFiltersListRedemptionsRelatedObjectId.md +0 -1
  258. data/docs/ParameterFiltersListRedemptionsRelatedObjectParentId.md +0 -1
  259. data/docs/ParameterFiltersListRedemptionsResult.md +0 -1
  260. data/docs/ParameterFiltersListRedemptionsUserLogin.md +0 -1
  261. data/docs/ParameterFiltersListRedemptionsVoucherCode.md +0 -1
  262. data/docs/ParameterFiltersListReferralsRedeemableHolders.md +12 -0
  263. data/docs/ParameterFiltersListReferralsRedeemableHoldersCreatedAt.md +8 -0
  264. data/docs/ParameterFiltersListReferralsRedeemableHoldersCustomerId.md +8 -0
  265. data/docs/ParameterFiltersListReferralsRedeemableHoldersHolderRole.md +8 -0
  266. data/docs/ParameterFiltersListReferralsRedeemableHoldersHolderRoleConditions.md +15 -0
  267. data/docs/ParameterFiltersListReferralsRedeemableHoldersId.md +8 -0
  268. data/docs/ParameterFiltersListTemplates.md +11 -0
  269. data/docs/ParameterFiltersListTemplatesCampaignType.md +8 -0
  270. data/docs/ParameterFiltersListTemplatesCampaignTypeConditions.md +15 -0
  271. data/docs/ParameterFiltersListTemplatesId.md +8 -0
  272. data/docs/ParameterFiltersListTemplatesName.md +8 -0
  273. data/docs/ParameterOrderListBin.md +7 -0
  274. data/docs/ParameterOrderListLocations.md +7 -0
  275. data/docs/ParameterOrderListTransactions.md +7 -0
  276. data/docs/ParameterTemplatesList.md +7 -0
  277. data/docs/ProductCollectionsCreateRequestBody.md +1 -1
  278. data/docs/ProductCollectionsCreateResponseBody.md +1 -1
  279. data/docs/ProductCollectionsGetResponseBody.md +1 -1
  280. data/docs/ProductCollectionsItem.md +1 -1
  281. data/docs/ProductsApi.md +2 -2
  282. data/docs/PromotionTiersList.md +1 -1
  283. data/docs/PromotionsStacksUpdateRequestBodyTiers.md +1 -1
  284. data/docs/PromotionsTiersCreateRequestBody.md +2 -2
  285. data/docs/PromotionsTiersListResponseBody.md +1 -1
  286. data/docs/PublicationsApi.md +2 -2
  287. data/docs/PublicationsCreateRequestBody.md +1 -1
  288. data/docs/QualificationsOption.md +1 -1
  289. data/docs/QualificationsRedeemable.md +1 -1
  290. data/docs/QualificationsRedeemableBase.md +1 -1
  291. data/docs/RedeemableHolder.md +18 -0
  292. data/docs/RedeemableVoucherPublish.md +1 -1
  293. data/docs/RedeemableVoucherRedemption.md +1 -1
  294. data/docs/Redemption.md +1 -1
  295. data/docs/RedemptionChannel.md +2 -2
  296. data/docs/RedemptionEntry.md +1 -1
  297. data/docs/RedemptionEntryChannel.md +1 -1
  298. data/docs/RedemptionEntryOrder.md +1 -1
  299. data/docs/RedemptionEntryVoucherPublish.md +1 -1
  300. data/docs/RedemptionEntryVoucherRedemption.md +1 -1
  301. data/docs/RedemptionVoucher.md +1 -1
  302. data/docs/RedemptionVoucherPublish.md +1 -1
  303. data/docs/RedemptionVoucherRedemption.md +1 -1
  304. data/docs/RedemptionsGetResponseBody.md +1 -1
  305. data/docs/RedemptionsGetResponseBodyChannel.md +1 -1
  306. data/docs/RedemptionsGetResponseBodyOrder.md +1 -1
  307. data/docs/RedemptionsGetResponseBodyVoucherPublish.md +1 -1
  308. data/docs/RedemptionsGetResponseBodyVoucherRedemption.md +1 -1
  309. data/docs/RedemptionsListResponseBodyRedemptionsItem.md +1 -1
  310. data/docs/RedemptionsListResponseBodyRedemptionsItemChannel.md +1 -1
  311. data/docs/RedemptionsListResponseBodyRedemptionsItemOrder.md +1 -1
  312. data/docs/RedemptionsListResponseBodyRedemptionsItemVoucherPublish.md +1 -1
  313. data/docs/RedemptionsListResponseBodyRedemptionsItemVoucherRedemption.md +1 -1
  314. data/docs/ReferralsApi.md +397 -0
  315. data/docs/ReferralsMembersHoldersCreateInBulkRequestBody.md +9 -0
  316. data/docs/ReferralsMembersHoldersCreateInBulkResponseBody.md +8 -0
  317. data/docs/ReferralsMembersHoldersListResponseBody.md +13 -0
  318. data/docs/RewardAssignmentParametersLoyalty.md +1 -0
  319. data/docs/RewardsAssignmentsCreateRequestBodyParametersLoyalty.md +1 -0
  320. data/docs/RewardsAssignmentsCreateResponseBodyParametersLoyalty.md +1 -0
  321. data/docs/RewardsAssignmentsGetResponseBodyParametersLoyalty.md +1 -0
  322. data/docs/RewardsAssignmentsUpdateRequestBodyParametersLoyalty.md +1 -0
  323. data/docs/RewardsAssignmentsUpdateResponseBodyParametersLoyalty.md +1 -0
  324. data/docs/TemplatesApi.md +443 -0
  325. data/docs/TemplatesCampaignsCampaignSetupCreateRequestBody.md +24 -0
  326. data/docs/TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher.md +9 -0
  327. data/docs/TemplatesCampaignsCampaignSetupCreateRequestBodyVoucherRedemption.md +8 -0
  328. data/docs/TemplatesCampaignsCampaignSetupCreateResponseBody.md +10 -0
  329. data/docs/TemplatesCampaignsCampaignSetupCreateResponseBodyCreatedResourcesItem.md +9 -0
  330. data/docs/TemplatesCampaignsCreateRequestBody.md +11 -0
  331. data/docs/TemplatesCampaignsCreateTemplateResponseBody.md +13 -0
  332. data/docs/TemplatesCampaignsGetResponseBody.md +14 -0
  333. data/docs/TemplatesCampaignsListResponseBody.md +13 -0
  334. data/docs/TemplatesCampaignsTierSetupCreateRequestBody.md +20 -0
  335. data/docs/TemplatesCampaignsTierSetupCreateResponseBody.md +10 -0
  336. data/docs/TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem.md +9 -0
  337. data/docs/TemplatesCampaignsUpdateRequestBody.md +9 -0
  338. data/docs/TemplatesCampaignsUpdateResponseBody.md +14 -0
  339. data/docs/TrashBinItem.md +15 -0
  340. data/docs/TrashBinListResponseBody.md +13 -0
  341. data/docs/UsageNotifications.md +11 -0
  342. data/docs/User.md +14 -0
  343. data/docs/ValidationRule.md +1 -1
  344. data/docs/ValidationRulesCreateRequestBody.md +1 -1
  345. data/docs/ValidationRulesCreateResponseBody.md +1 -1
  346. data/docs/ValidationRulesGetResponseBody.md +1 -1
  347. data/docs/ValidationRulesUpdateRequestBody.md +1 -1
  348. data/docs/ValidationRulesUpdateResponseBody.md +1 -1
  349. data/docs/ValidationsRedeemableInapplicable.md +1 -1
  350. data/docs/ValidationsRedeemableSkipped.md +1 -1
  351. data/docs/ValidationsValidateResponseBodyRedeemablesItem.md +1 -1
  352. data/docs/VoucherPublish.md +1 -1
  353. data/docs/VoucherRedemption.md +1 -1
  354. data/docs/VoucherWithCategoriesPublish.md +1 -1
  355. data/docs/VoucherWithCategoriesRedemption.md +1 -1
  356. data/docs/VouchersApi.md +4 -2
  357. data/docs/VouchersCreateResponseBodyPublish.md +1 -1
  358. data/docs/VouchersCreateResponseBodyRedemption.md +1 -1
  359. data/docs/VouchersDisableResponseBodyPublish.md +1 -1
  360. data/docs/VouchersDisableResponseBodyRedemption.md +1 -1
  361. data/docs/VouchersEnableResponseBodyPublish.md +1 -1
  362. data/docs/VouchersEnableResponseBodyRedemption.md +1 -1
  363. data/docs/VouchersGetResponseBodyPublish.md +1 -1
  364. data/docs/VouchersGetResponseBodyRedemption.md +1 -1
  365. data/docs/VouchersTransactionsListResponseBody.md +2 -1
  366. data/docs/VouchersUpdateResponseBodyPublish.md +1 -1
  367. data/docs/VouchersUpdateResponseBodyRedemption.md +1 -1
  368. data/lib/VoucherifySdk/api/bin_api.rb +148 -0
  369. data/lib/VoucherifySdk/api/campaigns_api.rb +3 -0
  370. data/lib/VoucherifySdk/api/customers_api.rb +4 -68
  371. data/lib/VoucherifySdk/api/exports_api.rb +1 -1
  372. data/lib/VoucherifySdk/api/locations_api.rb +150 -0
  373. data/lib/VoucherifySdk/api/loyalties_api.rb +12 -3
  374. data/lib/VoucherifySdk/api/management_api.rb +2407 -0
  375. data/lib/VoucherifySdk/api/metadata_schemas_api.rb +138 -0
  376. data/lib/VoucherifySdk/api/products_api.rb +4 -4
  377. data/lib/VoucherifySdk/api/publications_api.rb +2 -2
  378. data/lib/VoucherifySdk/api/referrals_api.rb +420 -0
  379. data/lib/VoucherifySdk/api/templates_api.rb +472 -0
  380. data/lib/VoucherifySdk/api/vouchers_api.rb +6 -3
  381. data/lib/VoucherifySdk/api_client.rb +22 -1
  382. data/lib/VoucherifySdk/configuration.rb +14 -0
  383. data/lib/VoucherifySdk/models/access_settings_campaign_assignments_list.rb +1 -1
  384. data/lib/VoucherifySdk/models/applicable_to.rb +7 -3
  385. data/lib/VoucherifySdk/models/applicable_to_effect.rb +6 -4
  386. data/lib/VoucherifySdk/models/campaign.rb +580 -0
  387. data/lib/VoucherifySdk/models/campaign_base.rb +13 -2
  388. data/lib/VoucherifySdk/models/{product_collections_item_filter.rb → campaign_template.rb} +47 -89
  389. data/lib/VoucherifySdk/models/campaigns_create_request_body.rb +19 -28
  390. data/lib/VoucherifySdk/models/campaigns_create_response_body.rb +13 -2
  391. data/lib/VoucherifySdk/models/campaigns_get_response_body.rb +13 -2
  392. data/lib/VoucherifySdk/models/campaigns_update_request_body.rb +6 -40
  393. data/lib/VoucherifySdk/models/campaigns_update_response_body.rb +13 -2
  394. data/lib/VoucherifySdk/models/campaigns_vouchers_create_combined_response_body_publish.rb +1 -1
  395. data/lib/VoucherifySdk/models/campaigns_vouchers_create_combined_response_body_redemption.rb +1 -1
  396. data/lib/VoucherifySdk/models/campaigns_vouchers_create_response_body_publish.rb +1 -1
  397. data/lib/VoucherifySdk/models/campaigns_vouchers_create_response_body_redemption.rb +1 -1
  398. data/lib/VoucherifySdk/models/categories_create_request_body.rb +6 -1
  399. data/lib/VoucherifySdk/models/categories_create_response_body.rb +6 -1
  400. data/lib/VoucherifySdk/models/categories_get_response_body.rb +11 -19
  401. data/lib/VoucherifySdk/models/categories_update_request_body.rb +6 -1
  402. data/lib/VoucherifySdk/models/categories_update_response_body.rb +6 -1
  403. data/lib/VoucherifySdk/models/category.rb +11 -19
  404. data/lib/VoucherifySdk/models/category_with_stacking_rules_type.rb +309 -0
  405. data/lib/VoucherifySdk/models/client_promotions_tiers_list_response_body.rb +1 -1
  406. data/lib/VoucherifySdk/models/client_validations_validate_response_body.rb +1 -1
  407. data/lib/VoucherifySdk/models/client_validations_validate_response_body_redeemables_item.rb +1 -1
  408. data/lib/VoucherifySdk/models/customer_redeemable.rb +2 -2
  409. data/lib/VoucherifySdk/models/customers_activity_list_response_body.rb +1 -1
  410. data/lib/VoucherifySdk/models/error.rb +1 -1
  411. data/lib/VoucherifySdk/models/{parameter_filters_list_customer_redeemables_created_at_conditions.rb → filter_conditions_date_time.rb} +1 -1
  412. data/lib/VoucherifySdk/models/inapplicable_to.rb +7 -3
  413. data/lib/VoucherifySdk/models/{product_collections_create_response_body_filter.rb → location.rb} +34 -89
  414. data/lib/VoucherifySdk/models/location_shape.rb +264 -0
  415. data/lib/VoucherifySdk/models/location_shape_distance.rb +221 -0
  416. data/lib/VoucherifySdk/models/{lucky_draw.rb → location_shape_geojson.rb} +42 -30
  417. data/lib/VoucherifySdk/models/locations_get_response_body.rb +290 -0
  418. data/lib/VoucherifySdk/models/locations_get_response_body_shape.rb +264 -0
  419. data/lib/VoucherifySdk/models/locations_get_response_body_shape_distance.rb +221 -0
  420. data/lib/VoucherifySdk/models/locations_get_response_body_shape_geojson.rb +244 -0
  421. data/lib/VoucherifySdk/models/locations_list_response_body.rb +260 -0
  422. data/lib/VoucherifySdk/models/loyalties_create_campaign_request_body.rb +14 -14
  423. data/lib/VoucherifySdk/models/loyalties_create_campaign_response_body.rb +12 -1
  424. data/lib/VoucherifySdk/models/loyalties_get_campaign_response_body.rb +12 -1
  425. data/lib/VoucherifySdk/models/loyalties_member_activity_list_response_body.rb +1 -1
  426. data/lib/VoucherifySdk/models/loyalties_members_create_response_body_publish.rb +1 -1
  427. data/lib/VoucherifySdk/models/loyalties_members_create_response_body_redemption.rb +1 -1
  428. data/lib/VoucherifySdk/models/loyalties_members_get_response_body_publish.rb +1 -1
  429. data/lib/VoucherifySdk/models/loyalties_members_get_response_body_redemption.rb +1 -1
  430. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body.rb +15 -15
  431. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_channel.rb +3 -3
  432. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_voucher.rb +2 -2
  433. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_voucher_publish.rb +1 -1
  434. data/lib/VoucherifySdk/models/loyalties_members_redemption_redeem_response_body_voucher_redemption.rb +1 -1
  435. data/lib/VoucherifySdk/models/loyalties_members_transactions_list_response_body.rb +17 -6
  436. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_publish.rb +1 -1
  437. data/lib/VoucherifySdk/models/loyalties_members_transfers_create_response_body_redemption.rb +1 -1
  438. data/lib/VoucherifySdk/models/loyalties_reward_assignments_get_response_body_parameters_loyalty.rb +16 -5
  439. data/lib/VoucherifySdk/models/loyalties_rewards_create_assignment_response_body_parameters_loyalty.rb +16 -5
  440. data/lib/VoucherifySdk/models/loyalties_rewards_get_response_body_parameters_loyalty.rb +16 -5
  441. data/lib/VoucherifySdk/models/loyalties_rewards_update_assignment_request_body_parameters_loyalty.rb +16 -5
  442. data/lib/VoucherifySdk/models/loyalties_rewards_update_assignment_response_body_parameters_loyalty.rb +16 -5
  443. data/lib/VoucherifySdk/models/loyalties_update_campaign_response_body.rb +12 -1
  444. data/lib/VoucherifySdk/models/loyalty_campaign.rb +12 -1
  445. data/lib/VoucherifySdk/models/loyalty_member_publish.rb +1 -1
  446. data/lib/VoucherifySdk/models/loyalty_member_redemption.rb +1 -1
  447. data/lib/VoucherifySdk/models/management_project.rb +479 -0
  448. data/lib/VoucherifySdk/models/management_project_api_usage_notifications.rb +253 -0
  449. data/lib/VoucherifySdk/models/management_project_default_code_config.rb +210 -0
  450. data/lib/VoucherifySdk/models/management_project_limits.rb +223 -0
  451. data/lib/VoucherifySdk/models/management_project_limits_api_calls_item.rb +219 -0
  452. data/lib/VoucherifySdk/models/management_project_limits_bulk_api_calls_item.rb +219 -0
  453. data/lib/VoucherifySdk/models/management_project_webhooks_callout_notifications.rb +219 -0
  454. data/lib/VoucherifySdk/models/management_project_webhooks_callout_notifications_distributions.rb +234 -0
  455. data/lib/VoucherifySdk/models/management_project_webhooks_callout_notifications_webhooks.rb +234 -0
  456. data/lib/VoucherifySdk/models/management_projects_branding.rb +250 -0
  457. data/lib/VoucherifySdk/models/{publications_create_request_body_customer_address.rb → management_projects_branding_address.rb} +32 -42
  458. data/lib/VoucherifySdk/models/management_projects_branding_brand.rb +254 -0
  459. data/lib/VoucherifySdk/models/management_projects_branding_cockpits.rb +311 -0
  460. data/lib/VoucherifySdk/models/management_projects_branding_contact.rb +221 -0
  461. data/lib/VoucherifySdk/models/management_projects_branding_create_request_body.rb +239 -0
  462. data/lib/VoucherifySdk/models/management_projects_branding_create_request_body_address.rb +254 -0
  463. data/lib/VoucherifySdk/models/management_projects_branding_create_request_body_brand.rb +256 -0
  464. data/lib/VoucherifySdk/models/management_projects_branding_create_request_body_cockpits.rb +325 -0
  465. data/lib/VoucherifySdk/models/management_projects_branding_create_request_body_contact.rb +221 -0
  466. data/lib/VoucherifySdk/models/management_projects_branding_create_response_body.rb +250 -0
  467. data/lib/VoucherifySdk/models/management_projects_branding_create_response_body_address.rb +254 -0
  468. data/lib/VoucherifySdk/models/management_projects_branding_create_response_body_brand.rb +254 -0
  469. data/lib/VoucherifySdk/models/management_projects_branding_create_response_body_cockpits.rb +311 -0
  470. data/lib/VoucherifySdk/models/management_projects_branding_create_response_body_contact.rb +221 -0
  471. data/lib/VoucherifySdk/models/management_projects_branding_get_response_body.rb +250 -0
  472. data/lib/VoucherifySdk/models/management_projects_branding_get_response_body_address.rb +254 -0
  473. data/lib/VoucherifySdk/models/management_projects_branding_get_response_body_brand.rb +254 -0
  474. data/lib/VoucherifySdk/models/management_projects_branding_get_response_body_cockpits.rb +311 -0
  475. data/lib/VoucherifySdk/models/management_projects_branding_get_response_body_contact.rb +221 -0
  476. data/lib/VoucherifySdk/models/management_projects_branding_list_response_body.rb +275 -0
  477. data/lib/VoucherifySdk/models/management_projects_branding_update_request_body.rb +238 -0
  478. data/lib/VoucherifySdk/models/management_projects_branding_update_request_body_address.rb +254 -0
  479. data/lib/VoucherifySdk/models/management_projects_branding_update_request_body_brand.rb +254 -0
  480. data/lib/VoucherifySdk/models/management_projects_branding_update_request_body_cockpits.rb +311 -0
  481. data/lib/VoucherifySdk/models/management_projects_branding_update_request_body_contact.rb +221 -0
  482. data/lib/VoucherifySdk/models/management_projects_branding_update_response_body.rb +250 -0
  483. data/lib/VoucherifySdk/models/management_projects_branding_update_response_body_address.rb +254 -0
  484. data/lib/VoucherifySdk/models/management_projects_branding_update_response_body_brand.rb +254 -0
  485. data/lib/VoucherifySdk/models/management_projects_branding_update_response_body_cockpits.rb +311 -0
  486. data/lib/VoucherifySdk/models/management_projects_branding_update_response_body_contact.rb +221 -0
  487. data/lib/VoucherifySdk/models/management_projects_create_request_body.rb +440 -0
  488. data/lib/VoucherifySdk/models/management_projects_create_request_body_api_usage_notifications.rb +244 -0
  489. data/lib/VoucherifySdk/models/management_projects_create_request_body_users_item.rb +236 -0
  490. data/lib/VoucherifySdk/models/management_projects_create_request_body_webhooks_callout_notifications.rb +219 -0
  491. data/lib/VoucherifySdk/models/management_projects_create_request_body_webhooks_callout_notifications_distributions.rb +234 -0
  492. data/lib/VoucherifySdk/models/management_projects_create_request_body_webhooks_callout_notifications_webhooks.rb +234 -0
  493. data/lib/VoucherifySdk/models/management_projects_create_response_body.rb +480 -0
  494. data/lib/VoucherifySdk/models/management_projects_create_response_body_api_usage_notifications.rb +253 -0
  495. data/lib/VoucherifySdk/models/management_projects_create_response_body_client_side_key.rb +221 -0
  496. data/lib/VoucherifySdk/models/management_projects_create_response_body_server_side_key.rb +221 -0
  497. data/lib/VoucherifySdk/models/management_projects_create_response_body_webhooks_callout_notifications.rb +219 -0
  498. data/lib/VoucherifySdk/models/management_projects_create_response_body_webhooks_callout_notifications_distributions.rb +234 -0
  499. data/lib/VoucherifySdk/models/management_projects_create_response_body_webhooks_callout_notifications_webhooks.rb +234 -0
  500. data/lib/VoucherifySdk/models/management_projects_custom_event_schema.rb +290 -0
  501. data/lib/VoucherifySdk/models/management_projects_custom_event_schema_schema.rb +212 -0
  502. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_create_request_body.rb +220 -0
  503. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_create_request_body_schema.rb +212 -0
  504. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_create_request_body_schema_properties_entry.rb +267 -0
  505. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_create_response_body.rb +290 -0
  506. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_create_response_body_schema.rb +212 -0
  507. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_get_response_body.rb +290 -0
  508. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_get_response_body_schema.rb +212 -0
  509. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_list_response_body.rb +275 -0
  510. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_update_request_body.rb +209 -0
  511. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_update_request_body_schema.rb +212 -0
  512. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_update_response_body.rb +290 -0
  513. data/lib/VoucherifySdk/models/management_projects_custom_event_schemas_update_response_body_schema.rb +212 -0
  514. data/lib/VoucherifySdk/models/management_projects_get_response_body.rb +479 -0
  515. data/lib/VoucherifySdk/models/management_projects_get_response_body_api_usage_notifications.rb +253 -0
  516. data/lib/VoucherifySdk/models/management_projects_get_response_body_default_code_config.rb +210 -0
  517. data/lib/VoucherifySdk/models/management_projects_get_response_body_limits.rb +223 -0
  518. data/lib/VoucherifySdk/models/management_projects_get_response_body_limits_api_calls_item.rb +219 -0
  519. data/lib/VoucherifySdk/models/management_projects_get_response_body_limits_bulk_api_calls_item.rb +219 -0
  520. data/lib/VoucherifySdk/models/management_projects_get_response_body_webhooks_callout_notifications.rb +219 -0
  521. data/lib/VoucherifySdk/models/management_projects_get_response_body_webhooks_callout_notifications_distributions.rb +234 -0
  522. data/lib/VoucherifySdk/models/management_projects_get_response_body_webhooks_callout_notifications_webhooks.rb +234 -0
  523. data/lib/VoucherifySdk/models/management_projects_list_response_body.rb +275 -0
  524. data/lib/VoucherifySdk/models/management_projects_metadata_schema.rb +280 -0
  525. data/lib/VoucherifySdk/models/management_projects_metadata_schema_definition.rb +380 -0
  526. data/lib/VoucherifySdk/models/management_projects_metadata_schemas_create_request_body.rb +236 -0
  527. data/lib/VoucherifySdk/models/management_projects_metadata_schemas_create_response_body.rb +280 -0
  528. data/lib/VoucherifySdk/models/management_projects_metadata_schemas_get_response_body.rb +280 -0
  529. data/lib/VoucherifySdk/models/management_projects_metadata_schemas_list_response_body.rb +275 -0
  530. data/lib/VoucherifySdk/models/management_projects_metadata_schemas_update_request_body.rb +223 -0
  531. data/lib/VoucherifySdk/models/management_projects_metadata_schemas_update_response_body.rb +280 -0
  532. data/lib/VoucherifySdk/models/management_projects_stacking_rules.rb +425 -0
  533. data/lib/VoucherifySdk/models/management_projects_stacking_rules_create_request_body.rb +392 -0
  534. data/lib/VoucherifySdk/models/management_projects_stacking_rules_create_response_body.rb +425 -0
  535. data/lib/VoucherifySdk/models/management_projects_stacking_rules_get_response_body.rb +425 -0
  536. data/lib/VoucherifySdk/models/management_projects_stacking_rules_list_response_body.rb +275 -0
  537. data/lib/VoucherifySdk/models/management_projects_stacking_rules_update_request_body.rb +392 -0
  538. data/lib/VoucherifySdk/models/management_projects_stacking_rules_update_response_body.rb +425 -0
  539. data/lib/VoucherifySdk/models/management_projects_templates_campaigns_copy_create_request_body.rb +232 -0
  540. data/lib/VoucherifySdk/models/management_projects_templates_campaigns_copy_create_response_body.rb +293 -0
  541. data/lib/VoucherifySdk/models/management_projects_templates_campaigns_list_response_body.rb +297 -0
  542. data/lib/VoucherifySdk/models/management_projects_update_request_body.rb +400 -0
  543. data/lib/VoucherifySdk/models/management_projects_update_request_body_api_usage_notifications.rb +244 -0
  544. data/lib/VoucherifySdk/models/management_projects_update_request_body_default_code_config.rb +210 -0
  545. data/lib/VoucherifySdk/models/management_projects_update_request_body_webhooks_callout_notifications.rb +219 -0
  546. data/lib/VoucherifySdk/models/management_projects_update_request_body_webhooks_callout_notifications_distributions.rb +234 -0
  547. data/lib/VoucherifySdk/models/management_projects_update_request_body_webhooks_callout_notifications_webhooks.rb +234 -0
  548. data/lib/VoucherifySdk/models/management_projects_update_response_body.rb +479 -0
  549. data/lib/VoucherifySdk/models/management_projects_update_response_body_api_usage_notifications.rb +253 -0
  550. data/lib/VoucherifySdk/models/management_projects_update_response_body_default_code_config.rb +210 -0
  551. data/lib/VoucherifySdk/models/management_projects_update_response_body_limits.rb +223 -0
  552. data/lib/VoucherifySdk/models/management_projects_update_response_body_limits_api_calls_item.rb +219 -0
  553. data/lib/VoucherifySdk/models/management_projects_update_response_body_limits_bulk_api_calls_item.rb +219 -0
  554. data/lib/VoucherifySdk/models/management_projects_update_response_body_webhooks_callout_notifications.rb +219 -0
  555. data/lib/VoucherifySdk/models/management_projects_update_response_body_webhooks_callout_notifications_distributions.rb +234 -0
  556. data/lib/VoucherifySdk/models/management_projects_update_response_body_webhooks_callout_notifications_webhooks.rb +234 -0
  557. data/lib/VoucherifySdk/models/management_projects_users_assign_request_body.rb +231 -0
  558. data/lib/VoucherifySdk/models/management_projects_users_assign_response_body.rb +278 -0
  559. data/lib/VoucherifySdk/models/management_projects_users_get_user_response_body.rb +278 -0
  560. data/lib/VoucherifySdk/models/management_projects_users_invite_create_request_body.rb +245 -0
  561. data/lib/VoucherifySdk/models/management_projects_users_list_response_body.rb +275 -0
  562. data/lib/VoucherifySdk/models/management_projects_users_update_role_request_body.rb +209 -0
  563. data/lib/VoucherifySdk/models/management_projects_users_update_role_response_body.rb +278 -0
  564. data/lib/VoucherifySdk/models/management_projects_webhook.rb +295 -0
  565. data/lib/VoucherifySdk/models/management_projects_webhooks_create_request_body.rb +258 -0
  566. data/lib/VoucherifySdk/models/management_projects_webhooks_create_response_body.rb +295 -0
  567. data/lib/VoucherifySdk/models/management_projects_webhooks_get_response_body.rb +295 -0
  568. data/lib/VoucherifySdk/models/management_projects_webhooks_list_response_body.rb +275 -0
  569. data/lib/VoucherifySdk/models/management_projects_webhooks_update_request_body.rb +258 -0
  570. data/lib/VoucherifySdk/models/management_projects_webhooks_update_response_body.rb +295 -0
  571. data/lib/VoucherifySdk/models/metadata_schema_definition_deprecated.rb +380 -0
  572. data/lib/VoucherifySdk/models/metadata_schema_deprecated.rb +280 -0
  573. data/lib/VoucherifySdk/models/metadata_schemas_get_response_body.rb +280 -0
  574. data/lib/VoucherifySdk/models/metadata_schemas_list_response_body.rb +275 -0
  575. data/lib/VoucherifySdk/models/order.rb +1 -1
  576. data/lib/VoucherifySdk/models/order_calculated.rb +1 -1
  577. data/lib/VoucherifySdk/models/order_item_product.rb +1 -1
  578. data/lib/VoucherifySdk/models/orders_create_request_body.rb +1 -1
  579. data/lib/VoucherifySdk/models/orders_create_response_body.rb +1 -1
  580. data/lib/VoucherifySdk/models/orders_get_response_body.rb +1 -1
  581. data/lib/VoucherifySdk/models/orders_import_create_request_body_item.rb +1 -1
  582. data/lib/VoucherifySdk/models/orders_update_request_body.rb +1 -1
  583. data/lib/VoucherifySdk/models/orders_update_response_body.rb +1 -1
  584. data/lib/VoucherifySdk/models/parameter_campaign_type.rb +1 -2
  585. data/lib/VoucherifySdk/models/parameter_filters_list_bin.rb +269 -0
  586. data/lib/VoucherifySdk/models/parameter_filters_list_bin_id.rb +208 -0
  587. data/lib/VoucherifySdk/models/parameter_filters_list_bin_resource_id.rb +208 -0
  588. data/lib/VoucherifySdk/models/parameter_filters_list_bin_resource_name.rb +208 -0
  589. data/lib/VoucherifySdk/models/parameter_filters_list_bin_resource_type.rb +208 -0
  590. data/lib/VoucherifySdk/models/parameter_filters_list_bin_resource_type_conditions.rb +316 -0
  591. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns.rb +289 -0
  592. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_campaign_status.rb +208 -0
  593. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_campaign_status_conditions.rb +316 -0
  594. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_categories.rb +208 -0
  595. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_category_ids.rb +208 -0
  596. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_is_referral_code.rb +247 -0
  597. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_validity_timeframe.rb +208 -0
  598. data/lib/VoucherifySdk/models/parameter_filters_list_campaigns_voucher_type.rb +208 -0
  599. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables.rb +36 -5
  600. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_campaign_id.rb +4 -35
  601. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_campaign_type.rb +4 -35
  602. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_created_at.rb +4 -36
  603. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_holder_role.rb +4 -35
  604. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_id.rb +4 -35
  605. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_redeemable_id.rb +4 -35
  606. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_redeemable_object.rb +4 -35
  607. data/lib/VoucherifySdk/models/parameter_filters_list_customer_redeemables_voucher_type.rb +4 -35
  608. data/lib/VoucherifySdk/models/parameter_filters_list_locations.rb +228 -0
  609. data/lib/VoucherifySdk/models/parameter_filters_list_locations_created_at.rb +208 -0
  610. data/lib/VoucherifySdk/models/parameter_filters_list_locations_name.rb +207 -0
  611. data/lib/VoucherifySdk/models/parameter_filters_list_locations_updated_at.rb +208 -0
  612. data/lib/VoucherifySdk/models/parameter_filters_list_publications.rb +319 -0
  613. data/lib/VoucherifySdk/models/parameter_filters_list_publications_campaign_name.rb +208 -0
  614. data/lib/VoucherifySdk/models/parameter_filters_list_publications_customer_id.rb +208 -0
  615. data/lib/VoucherifySdk/models/parameter_filters_list_publications_failure_code.rb +208 -0
  616. data/lib/VoucherifySdk/models/parameter_filters_list_publications_is_referral_code.rb +208 -0
  617. data/lib/VoucherifySdk/models/parameter_filters_list_publications_parent_object_id.rb +208 -0
  618. data/lib/VoucherifySdk/models/parameter_filters_list_publications_related_object_id.rb +208 -0
  619. data/lib/VoucherifySdk/models/parameter_filters_list_publications_result.rb +208 -0
  620. data/lib/VoucherifySdk/models/parameter_filters_list_publications_source_id.rb +208 -0
  621. data/lib/VoucherifySdk/models/parameter_filters_list_publications_voucher_type.rb +208 -0
  622. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions.rb +36 -5
  623. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_campaign_name.rb +4 -35
  624. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_customer_id.rb +4 -35
  625. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_failure_code.rb +4 -35
  626. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_object.rb +4 -35
  627. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_parent_redemption_id.rb +4 -35
  628. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_related_object_id.rb +4 -35
  629. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_related_object_parent_id.rb +4 -35
  630. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_result.rb +4 -35
  631. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_user_login.rb +4 -35
  632. data/lib/VoucherifySdk/models/parameter_filters_list_redemptions_voucher_code.rb +4 -35
  633. data/lib/VoucherifySdk/models/parameter_filters_list_referrals_redeemable_holders.rb +269 -0
  634. data/lib/VoucherifySdk/models/parameter_filters_list_referrals_redeemable_holders_created_at.rb +208 -0
  635. data/lib/VoucherifySdk/models/parameter_filters_list_referrals_redeemable_holders_customer_id.rb +208 -0
  636. data/lib/VoucherifySdk/models/parameter_filters_list_referrals_redeemable_holders_holder_role.rb +208 -0
  637. data/lib/VoucherifySdk/models/parameter_filters_list_referrals_redeemable_holders_holder_role_conditions.rb +316 -0
  638. data/lib/VoucherifySdk/models/parameter_filters_list_referrals_redeemable_holders_id.rb +208 -0
  639. data/lib/VoucherifySdk/models/parameter_filters_list_templates.rb +259 -0
  640. data/lib/VoucherifySdk/models/parameter_filters_list_templates_campaign_type.rb +209 -0
  641. data/lib/VoucherifySdk/models/parameter_filters_list_templates_campaign_type_conditions.rb +317 -0
  642. data/lib/VoucherifySdk/models/parameter_filters_list_templates_id.rb +208 -0
  643. data/lib/VoucherifySdk/models/parameter_filters_list_templates_name.rb +208 -0
  644. data/lib/VoucherifySdk/models/parameter_order_list_bin.rb +40 -0
  645. data/lib/VoucherifySdk/models/parameter_order_list_locations.rb +42 -0
  646. data/lib/VoucherifySdk/models/parameter_order_list_transactions.rb +40 -0
  647. data/lib/VoucherifySdk/models/parameter_templates_list.rb +40 -0
  648. data/lib/VoucherifySdk/models/parameter_voucher_type_list_publications.rb +1 -2
  649. data/lib/VoucherifySdk/models/product_collections_create_request_body.rb +2 -1
  650. data/lib/VoucherifySdk/models/product_collections_create_response_body.rb +2 -1
  651. data/lib/VoucherifySdk/models/product_collections_get_response_body.rb +2 -1
  652. data/lib/VoucherifySdk/models/product_collections_item.rb +2 -1
  653. data/lib/VoucherifySdk/models/promotion_tiers_list.rb +1 -1
  654. data/lib/VoucherifySdk/models/promotions_stacks_update_request_body_tiers.rb +1 -1
  655. data/lib/VoucherifySdk/models/promotions_tiers_create_request_body.rb +24 -24
  656. data/lib/VoucherifySdk/models/promotions_tiers_list_response_body.rb +1 -1
  657. data/lib/VoucherifySdk/models/publications_create_request_body.rb +1 -2
  658. data/lib/VoucherifySdk/models/qualifications_option.rb +1 -1
  659. data/lib/VoucherifySdk/models/qualifications_redeemable.rb +1 -1
  660. data/lib/VoucherifySdk/models/qualifications_redeemable_base.rb +1 -1
  661. data/lib/VoucherifySdk/models/redeemable_holder.rb +354 -0
  662. data/lib/VoucherifySdk/models/redeemable_voucher_publish.rb +1 -1
  663. data/lib/VoucherifySdk/models/redeemable_voucher_redemption.rb +1 -1
  664. data/lib/VoucherifySdk/models/redemption.rb +16 -16
  665. data/lib/VoucherifySdk/models/redemption_channel.rb +3 -3
  666. data/lib/VoucherifySdk/models/redemption_entry.rb +11 -11
  667. data/lib/VoucherifySdk/models/redemption_entry_channel.rb +1 -2
  668. data/lib/VoucherifySdk/models/redemption_entry_order.rb +1 -1
  669. data/lib/VoucherifySdk/models/redemption_entry_voucher_publish.rb +1 -1
  670. data/lib/VoucherifySdk/models/redemption_entry_voucher_redemption.rb +1 -1
  671. data/lib/VoucherifySdk/models/redemption_voucher.rb +1 -1
  672. data/lib/VoucherifySdk/models/redemption_voucher_publish.rb +1 -1
  673. data/lib/VoucherifySdk/models/redemption_voucher_redemption.rb +1 -1
  674. data/lib/VoucherifySdk/models/redemptions_get_response_body.rb +11 -11
  675. data/lib/VoucherifySdk/models/redemptions_get_response_body_channel.rb +1 -2
  676. data/lib/VoucherifySdk/models/redemptions_get_response_body_order.rb +1 -1
  677. data/lib/VoucherifySdk/models/redemptions_get_response_body_voucher_publish.rb +1 -1
  678. data/lib/VoucherifySdk/models/redemptions_get_response_body_voucher_redemption.rb +1 -1
  679. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item.rb +10 -10
  680. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_channel.rb +1 -3
  681. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_order.rb +1 -1
  682. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_voucher_publish.rb +1 -1
  683. data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_voucher_redemption.rb +1 -1
  684. data/lib/VoucherifySdk/models/redemptions_rollbacks_create_response_body.rb +1 -1
  685. data/lib/VoucherifySdk/models/referral_program_referee_reward.rb +1 -1
  686. data/lib/VoucherifySdk/models/referrals_members_holders_create_in_bulk_request_body.rb +223 -0
  687. data/lib/VoucherifySdk/models/referrals_members_holders_create_in_bulk_response_body.rb +212 -0
  688. data/lib/VoucherifySdk/models/referrals_members_holders_list_response_body.rb +271 -0
  689. data/lib/VoucherifySdk/models/reward_assignment_parameters_loyalty.rb +16 -5
  690. data/lib/VoucherifySdk/models/rewards_assignments_create_request_body_parameters_loyalty.rb +16 -5
  691. data/lib/VoucherifySdk/models/rewards_assignments_create_response_body.rb +1 -1
  692. data/lib/VoucherifySdk/models/rewards_assignments_create_response_body_parameters_loyalty.rb +16 -5
  693. data/lib/VoucherifySdk/models/rewards_assignments_get_response_body_parameters_loyalty.rb +16 -5
  694. data/lib/VoucherifySdk/models/rewards_assignments_update_request_body_parameters_loyalty.rb +16 -5
  695. data/lib/VoucherifySdk/models/rewards_assignments_update_response_body.rb +1 -1
  696. data/lib/VoucherifySdk/models/rewards_assignments_update_response_body_parameters_loyalty.rb +16 -5
  697. data/lib/VoucherifySdk/models/stacking_rules.rb +1 -1
  698. data/lib/VoucherifySdk/models/templates_campaigns_campaign_setup_create_request_body.rb +406 -0
  699. data/lib/VoucherifySdk/models/templates_campaigns_campaign_setup_create_request_body_voucher.rb +218 -0
  700. data/lib/VoucherifySdk/models/templates_campaigns_campaign_setup_create_request_body_voucher_redemption.rb +210 -0
  701. data/lib/VoucherifySdk/models/templates_campaigns_campaign_setup_create_response_body.rb +265 -0
  702. data/lib/VoucherifySdk/models/templates_campaigns_campaign_setup_create_response_body_created_resources_item.rb +242 -0
  703. data/lib/VoucherifySdk/models/templates_campaigns_create_request_body.rb +243 -0
  704. data/lib/VoucherifySdk/models/{publications_create_request_body_customer.rb → templates_campaigns_create_template_response_body.rb} +55 -68
  705. data/lib/VoucherifySdk/models/{product_collections_get_response_body_filter.rb → templates_campaigns_get_response_body.rb} +48 -89
  706. data/lib/VoucherifySdk/models/templates_campaigns_list_response_body.rb +297 -0
  707. data/lib/VoucherifySdk/models/templates_campaigns_tier_setup_create_request_body.rb +361 -0
  708. data/lib/VoucherifySdk/models/templates_campaigns_tier_setup_create_response_body.rb +258 -0
  709. data/lib/VoucherifySdk/models/templates_campaigns_tier_setup_create_response_body_created_resources_item.rb +242 -0
  710. data/lib/VoucherifySdk/models/templates_campaigns_update_request_body.rb +221 -0
  711. data/lib/VoucherifySdk/models/{product_collections_create_request_body_filter.rb → templates_campaigns_update_response_body.rb} +48 -89
  712. data/lib/VoucherifySdk/models/trash_bin_item.rb +313 -0
  713. data/lib/VoucherifySdk/models/trash_bin_list_response_body.rb +297 -0
  714. data/lib/VoucherifySdk/models/usage_notifications.rb +254 -0
  715. data/lib/VoucherifySdk/models/user.rb +278 -0
  716. data/lib/VoucherifySdk/models/validation_rule.rb +2 -2
  717. data/lib/VoucherifySdk/models/validation_rules_create_request_body.rb +2 -2
  718. data/lib/VoucherifySdk/models/validation_rules_create_response_body.rb +2 -2
  719. data/lib/VoucherifySdk/models/validation_rules_get_response_body.rb +2 -2
  720. data/lib/VoucherifySdk/models/validation_rules_update_request_body.rb +2 -2
  721. data/lib/VoucherifySdk/models/validation_rules_update_response_body.rb +2 -2
  722. data/lib/VoucherifySdk/models/validations_redeemable_inapplicable.rb +1 -1
  723. data/lib/VoucherifySdk/models/validations_redeemable_skipped.rb +1 -1
  724. data/lib/VoucherifySdk/models/validations_validate_response_body.rb +1 -1
  725. data/lib/VoucherifySdk/models/validations_validate_response_body_redeemables_item.rb +1 -1
  726. data/lib/VoucherifySdk/models/voucher_publish.rb +1 -1
  727. data/lib/VoucherifySdk/models/voucher_redemption.rb +1 -1
  728. data/lib/VoucherifySdk/models/voucher_with_categories_publish.rb +1 -1
  729. data/lib/VoucherifySdk/models/voucher_with_categories_redemption.rb +1 -1
  730. data/lib/VoucherifySdk/models/vouchers_create_response_body_publish.rb +1 -1
  731. data/lib/VoucherifySdk/models/vouchers_create_response_body_redemption.rb +1 -1
  732. data/lib/VoucherifySdk/models/vouchers_disable_response_body_publish.rb +1 -1
  733. data/lib/VoucherifySdk/models/vouchers_disable_response_body_redemption.rb +1 -1
  734. data/lib/VoucherifySdk/models/vouchers_enable_response_body_publish.rb +1 -1
  735. data/lib/VoucherifySdk/models/vouchers_enable_response_body_redemption.rb +1 -1
  736. data/lib/VoucherifySdk/models/vouchers_get_response_body_publish.rb +1 -1
  737. data/lib/VoucherifySdk/models/vouchers_get_response_body_redemption.rb +1 -1
  738. data/lib/VoucherifySdk/models/vouchers_transactions_list_response_body.rb +43 -6
  739. data/lib/VoucherifySdk/models/vouchers_update_response_body_publish.rb +1 -1
  740. data/lib/VoucherifySdk/models/vouchers_update_response_body_redemption.rb +1 -1
  741. data/lib/VoucherifySdk/version.rb +1 -1
  742. data/lib/VoucherifySdk.rb +212 -8
  743. metadata +456 -48
  744. data/docs/LuckyDraw.md +0 -10
  745. data/docs/ProductCollectionsCreateRequestBodyFilter.md +0 -20
  746. data/docs/ProductCollectionsCreateResponseBodyFilter.md +0 -20
  747. data/docs/ProductCollectionsGetResponseBodyFilter.md +0 -20
  748. data/docs/ProductCollectionsItemFilter.md +0 -20
  749. data/docs/PublicationsCreateRequestBodyCustomer.md +0 -17
  750. data/docs/PublicationsCreateRequestBodyCustomerAddress.md +0 -13
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::ParameterFiltersListPublicationsResult
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
+
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::ParameterFiltersListPublicationsSourceId
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
+
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::ParameterFiltersListPublicationsVoucherType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
+
@@ -14,4 +14,5 @@
14
14
  | **customer_id** | [**ParameterFiltersListRedemptionsCustomerId**](ParameterFiltersListRedemptionsCustomerId.md) | | [optional] |
15
15
  | **campaign_name** | [**ParameterFiltersListRedemptionsCampaignName**](ParameterFiltersListRedemptionsCampaignName.md) | | [optional] |
16
16
  | **user_login** | [**ParameterFiltersListRedemptionsUserLogin**](ParameterFiltersListRedemptionsUserLogin.md) | | [optional] |
17
+ | **junction** | [**Junction**](Junction.md) | | [optional] |
17
18
 
@@ -5,5 +5,4 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
- | **junction** | [**Junction**](Junction.md) | | [optional] |
9
8
 
@@ -5,5 +5,4 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
- | **junction** | [**Junction**](Junction.md) | | [optional] |
9
8
 
@@ -5,5 +5,4 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
- | **junction** | [**Junction**](Junction.md) | | [optional] |
9
8
 
@@ -5,5 +5,4 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
- | **junction** | [**Junction**](Junction.md) | | [optional] |
9
8
 
@@ -5,5 +5,4 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
- | **junction** | [**Junction**](Junction.md) | | [optional] |
9
8
 
@@ -5,5 +5,4 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
- | **junction** | [**Junction**](Junction.md) | | [optional] |
9
8
 
@@ -5,5 +5,4 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
- | **junction** | [**Junction**](Junction.md) | | [optional] |
9
8
 
@@ -5,5 +5,4 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
- | **junction** | [**Junction**](Junction.md) | | [optional] |
9
8
 
@@ -5,5 +5,4 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
- | **junction** | [**Junction**](Junction.md) | | [optional] |
9
8
 
@@ -5,5 +5,4 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
- | **junction** | [**Junction**](Junction.md) | | [optional] |
9
8
 
@@ -0,0 +1,12 @@
1
+ # VoucherifySdk::ParameterFiltersListReferralsRedeemableHolders
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | [**ParameterFiltersListReferralsRedeemableHoldersId**](ParameterFiltersListReferralsRedeemableHoldersId.md) | | [optional] |
8
+ | **created_at** | [**ParameterFiltersListReferralsRedeemableHoldersCreatedAt**](ParameterFiltersListReferralsRedeemableHoldersCreatedAt.md) | | [optional] |
9
+ | **holder_role** | [**ParameterFiltersListReferralsRedeemableHoldersHolderRole**](ParameterFiltersListReferralsRedeemableHoldersHolderRole.md) | | [optional] |
10
+ | **customer_id** | [**ParameterFiltersListReferralsRedeemableHoldersCustomerId**](ParameterFiltersListReferralsRedeemableHoldersCustomerId.md) | | [optional] |
11
+ | **junction** | [**Junction**](Junction.md) | | [optional] |
12
+
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::ParameterFiltersListReferralsRedeemableHoldersCreatedAt
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conditions** | [**FilterConditionsDateTime**](FilterConditionsDateTime.md) | | [optional] |
8
+
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::ParameterFiltersListReferralsRedeemableHoldersCustomerId
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
+
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::ParameterFiltersListReferralsRedeemableHoldersHolderRole
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conditions** | [**ParameterFiltersListReferralsRedeemableHoldersHolderRoleConditions**](ParameterFiltersListReferralsRedeemableHoldersHolderRoleConditions.md) | | [optional] |
8
+
@@ -0,0 +1,15 @@
1
+ # VoucherifySdk::ParameterFiltersListReferralsRedeemableHoldersHolderRoleConditions
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_in** | **Array<String>** | Array of resource values that should be included in the results (multiple values). | [optional] |
8
+ | **not_in** | **Array<String>** | Array of resource values that should be included in the results (multiple values). | [optional] |
9
+ | **is** | **String** | Value is exactly this value (single value). | [optional] |
10
+ | **is_not** | **String** | Results omit this value (single value). | [optional] |
11
+ | **has_value** | **String** | Value is NOT null. The value for this parameter is an empty string. | [optional] |
12
+ | **is_unknown** | **String** | Value is null. The value for this parameter is an empty string. | [optional] |
13
+ | **starts_with** | **String** | Value starts with the specified string. | [optional] |
14
+ | **ends_with** | **String** | Value ends with the specified string. | [optional] |
15
+
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::ParameterFiltersListReferralsRedeemableHoldersId
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
+
@@ -0,0 +1,11 @@
1
+ # VoucherifySdk::ParameterFiltersListTemplates
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **junction** | [**Junction**](Junction.md) | | [optional] |
8
+ | **id** | [**ParameterFiltersListTemplatesId**](ParameterFiltersListTemplatesId.md) | | [optional] |
9
+ | **name** | [**ParameterFiltersListTemplatesName**](ParameterFiltersListTemplatesName.md) | | [optional] |
10
+ | **campaign_type** | [**ParameterFiltersListTemplatesCampaignType**](ParameterFiltersListTemplatesCampaignType.md) | | [optional] |
11
+
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::ParameterFiltersListTemplatesCampaignType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conditions** | [**ParameterFiltersListTemplatesCampaignTypeConditions**](ParameterFiltersListTemplatesCampaignTypeConditions.md) | | [optional] |
8
+
@@ -0,0 +1,15 @@
1
+ # VoucherifySdk::ParameterFiltersListTemplatesCampaignTypeConditions
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_in** | **Array<String>** | Array of resource values that should be included in the results (multiple values). | [optional] |
8
+ | **not_in** | **Array<String>** | Array of resource values that should be included in the results (multiple values). | [optional] |
9
+ | **is** | **String** | Value is exactly this value (single value). | [optional] |
10
+ | **is_not** | **String** | Results omit this value (single value). | [optional] |
11
+ | **has_value** | **String** | Value is NOT null. The value for this parameter is an empty string. | [optional] |
12
+ | **is_unknown** | **String** | Value is null. The value for this parameter is an empty string. | [optional] |
13
+ | **starts_with** | **String** | Value starts with the specified string. | [optional] |
14
+ | **ends_with** | **String** | Value ends with the specified string. | [optional] |
15
+
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::ParameterFiltersListTemplatesId
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
+
@@ -0,0 +1,8 @@
1
+ # VoucherifySdk::ParameterFiltersListTemplatesName
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conditions** | [**FilterConditionsString**](FilterConditionsString.md) | | [optional] |
8
+
@@ -0,0 +1,7 @@
1
+ # VoucherifySdk::ParameterOrderListBin
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
@@ -0,0 +1,7 @@
1
+ # VoucherifySdk::ParameterOrderListLocations
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
@@ -0,0 +1,7 @@
1
+ # VoucherifySdk::ParameterOrderListTransactions
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
@@ -0,0 +1,7 @@
1
+ # VoucherifySdk::ParameterTemplatesList
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
@@ -7,5 +7,5 @@
7
7
  | **type** | **String** | Show that the product collection is static (manually selected products). | [optional][default to 'STATIC'] |
8
8
  | **name** | **String** | Unique user-defined product collection name. | [optional] |
9
9
  | **products** | [**Array<ProductCollectionsCreateRequestBodyProductsItem>**](ProductCollectionsCreateRequestBodyProductsItem.md) | Defines a set of products for a `STATIC` product collection type. | [optional] |
10
- | **filter** | [**ProductCollectionsCreateRequestBodyFilter**](ProductCollectionsCreateRequestBodyFilter.md) | | [optional] |
10
+ | **filter** | **Object** | Defines a set of criteria and boundary conditions for an `AUTO_UPDATE` product collection type. | [optional] |
11
11
 
@@ -7,7 +7,7 @@
7
7
  | **id** | **String** | Product collection ID. | [optional] |
8
8
  | **name** | **String** | Unique user-defined product collection name. | [optional] |
9
9
  | **type** | **String** | Describes whether the product collection is dynamic (products come in and leave based on set criteria) or static (manually selected products). | [optional] |
10
- | **filter** | [**ProductCollectionsCreateResponseBodyFilter**](ProductCollectionsCreateResponseBodyFilter.md) | | [optional] |
10
+ | **filter** | **Object** | Defines a set of criteria and boundary conditions for an `AUTO_UPDATE` product collection type. | [optional] |
11
11
  | **products** | [**Array<ProductCollectionsCreateResponseBodyProductsItem>**](ProductCollectionsCreateResponseBodyProductsItem.md) | Defines a set of products for a `STATIC` product collection type. | [optional] |
12
12
  | **created_at** | **Time** | Timestamp representing the date and time when the product collection was created. The value is shown in the ISO 8601 format. | [optional] |
13
13
  | **object** | **String** | The type of the object represented by JSON. This object stores information about the static product collection. | [optional][default to 'products_collection'] |
@@ -7,7 +7,7 @@
7
7
  | **id** | **String** | Product collection ID. | [optional] |
8
8
  | **name** | **String** | Unique user-defined product collection name. | [optional] |
9
9
  | **type** | **String** | Describes whether the product collection is dynamic (products come in and leave based on set criteria) or static (manually selected products). | [optional] |
10
- | **filter** | [**ProductCollectionsGetResponseBodyFilter**](ProductCollectionsGetResponseBodyFilter.md) | | [optional] |
10
+ | **filter** | **Object** | Defines a set of criteria and boundary conditions for an `AUTO_UPDATE` product collection type. | [optional] |
11
11
  | **products** | [**Array<ProductCollectionsGetResponseBodyProductsItem>**](ProductCollectionsGetResponseBodyProductsItem.md) | Defines a set of products for a `STATIC` product collection type. | [optional] |
12
12
  | **created_at** | **Time** | Timestamp representing the date and time when the product collection was created. The value is shown in the ISO 8601 format. | [optional] |
13
13
  | **object** | **String** | The type of the object represented by JSON. This object stores information about the static product collection. | [optional][default to 'products_collection'] |
@@ -7,7 +7,7 @@
7
7
  | **id** | **String** | Product collection ID. | [optional] |
8
8
  | **name** | **String** | Unique user-defined product collection name. | [optional] |
9
9
  | **type** | **String** | Describes whether the product collection is dynamic (products come in and leave based on set criteria) or static (manually selected products). | [optional] |
10
- | **filter** | [**ProductCollectionsItemFilter**](ProductCollectionsItemFilter.md) | | [optional] |
10
+ | **filter** | **Object** | Defines a set of criteria and boundary conditions for an `AUTO_UPDATE` product collection type. | [optional] |
11
11
  | **products** | [**Array<ProductCollectionsItemProductsItem>**](ProductCollectionsItemProductsItem.md) | Defines a set of products for a `STATIC` product collection type. | [optional] |
12
12
  | **created_at** | **Time** | Timestamp representing the date and time when the product collection was created. The value is shown in the ISO 8601 format. | [optional] |
13
13
  | **object** | **String** | The type of the object represented by JSON. This object stores information about the static product collection. | [optional][default to 'products_collection'] |
data/docs/ProductsApi.md CHANGED
@@ -708,7 +708,7 @@ end
708
708
 
709
709
  Update Products in Bulk
710
710
 
711
- Update products in one asynchronous operation. The request can include up to **10 MB** of data. The response returns a unique asynchronous action ID. Use this ID in the query paramater of the GET Async Action endpoint to check, e.g.: - The status of your request (in queue, in progress, done, or failed) - Resources that failed to be updated - The report file with details about the update If a product object is not found, it is **upserted**. This is shown in the report file in the GET Async Action endpoint. The upserted resources have value false in the found column and true in the updated column. This API request starts a process that affects Voucherify data in bulk. In the case of small jobs (like bulk update), the request is put into a queue and processed when every other bulk request placed in the queue prior to this request is finished.
711
+ Update products in one asynchronous operation. The request can include up to **10 MB** of data. The response returns a unique asynchronous action ID. Use this ID in the query paramater of the GET Async Action endpoint to check, e.g.: - The status of your request (in queue, in progress, done, or failed) - Resources that failed to be updated - The report file with details about the update If a product object is not found, it is **upserted**. This is shown in the report file in the **GET** Async Action endpoint. The upserted resources have value false in the found column and true in the updated column. This API request starts a process that affects Voucherify data in bulk. In the case of small jobs (like bulk update), the request is put into a queue and processed when every other bulk request placed in the queue prior to this request is finished.
712
712
 
713
713
  ### Examples
714
714
 
@@ -768,7 +768,7 @@ end
768
768
 
769
769
  Update Products' Metadata in Bulk
770
770
 
771
- Updates metadata parameters for a list of products. Every resource in the list will receive the metadata defined in the request. The request can include up to **10 MB** of data. The response returns a unique asynchronous action ID. Use this ID in the query paramater of the GET Async Action endpoint to check, e.g.: - The status of your request (in queue, in progress, done, or failed) - Resources that failed to be updated - The report file with details about the update If a product object is not found, it is **upserted**. This is shown in the report file in the GET Async Action endpoint. The upserted resources have value false in the found column and true in the updated column. This API request starts a process that affects Voucherify data in bulk. In the case of small jobs (like bulk update), the request is put into a queue and processed when every other bulk request placed in the queue prior to this request is finished.
771
+ Updates metadata parameters for a list of products. Every resource in the list will receive the metadata defined in the request. The request can include up to **10 MB** of data. The response returns a unique asynchronous action ID. Use this ID in the query paramater of the GET Async Action endpoint to check, e.g.: - The status of your request (in queue, in progress, done, or failed) - Resources that failed to be updated - The report file with details about the update If a product object is not found, it is **upserted**. This is shown in the report file in the **GET** Async Action endpoint. The upserted resources have value false in the found column and true in the updated column. This API request starts a process that affects Voucherify data in bulk. In the case of small jobs (like bulk update), the request is put into a queue and processed when every other bulk request placed in the queue prior to this request is finished.
772
772
 
773
773
  ### Examples
774
774
 
@@ -8,5 +8,5 @@
8
8
  | **data_ref** | **String** | Identifies the name of the attribute that contains the array of promotion tier objects. | [optional][default to 'tiers'] |
9
9
  | **tiers** | [**Array<PromotionTier>**](PromotionTier.md) | Contains array of promotion tier objects. | [optional] |
10
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 if there are more records for given filter parameters. This lets you know if you can run another request (with a different page or a different start date filter) to get more records returned in the results. | [optional] |
11
+ | **has_more** | **Boolean** | As query results are always limited (by the limit parameter), the `has_more` flag indicates if there are more records for given filter parameters. This lets you know if you can run another request to get more records returned in the results. | [optional] |
12
12
 
@@ -5,5 +5,5 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
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'] |
8
+ | **hierarchy_mode** | **String** | Category hierarchy. Categories with lower hierarchy are processed before categories with higher hierarchy value. | [optional][default to 'MANUAL'] |
9
9
 
@@ -6,7 +6,6 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | Name of the promotion tier. | [optional] |
8
8
  | **banner** | **String** | Text to be displayed to your customers on your website. | [optional] |
9
- | **action** | [**PromotionsTiersCreateRequestBodyAction**](PromotionsTiersCreateRequestBodyAction.md) | | [optional] |
10
9
  | **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] |
11
10
  | **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] |
12
11
  | **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] |
@@ -15,7 +14,8 @@
15
14
  | **validity_timeframe** | [**ValidityTimeframe**](ValidityTimeframe.md) | | [optional] |
16
15
  | **validity_day_of_week** | **Array<Integer>** | Integer array corresponding to the particular days of the week in which the voucher is valid. - `0` Sunday - `1` Monday - `2` Tuesday - `3` Wednesday - `4` Thursday - `5` Friday - `6` Saturday | [optional] |
17
16
  | **validity_hours** | [**ValidityHours**](ValidityHours.md) | | [optional] |
18
- | **validation_rule_assignments** | [**ValidationRuleAssignmentsList**](ValidationRuleAssignmentsList.md) | | [optional] |
19
17
  | **category** | **String** | Assign a new or update the promotion tier's category using name. | [optional] |
20
18
  | **category_id** | **String** | Assign a new or update the promotion tier's category using id | [optional] |
19
+ | **action** | [**PromotionsTiersCreateRequestBodyAction**](PromotionsTiersCreateRequestBodyAction.md) | | [optional] |
20
+ | **validation_rule_assignments** | [**ValidationRuleAssignmentsList**](ValidationRuleAssignmentsList.md) | | [optional] |
21
21
 
@@ -8,5 +8,5 @@
8
8
  | **data_ref** | **String** | Identifies the name of the attribute that contains the array of promotion tier objects. | [optional][default to 'tiers'] |
9
9
  | **tiers** | [**Array<PromotionTier>**](PromotionTier.md) | Contains array of promotion tier objects. | [optional] |
10
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 if there are more records for given filter parameters. This lets you know if you can run another request (with a different page or a different start date filter) to get more records returned in the results. | [optional] |
11
+ | **has_more** | **Boolean** | As query results are always limited (by the limit parameter), the `has_more` flag indicates if there are more records for given filter parameters. This lets you know if you can run another request to get more records returned in the results. | [optional] |
12
12
 
@@ -178,7 +178,7 @@ opts = {
178
178
  result: VoucherifySdk::ParameterResultListPublications::SUCCESS, # ParameterResultListPublications | Filters by a publication result.
179
179
  voucher_type: VoucherifySdk::ParameterVoucherTypeListPublications::DISCOUNT, # ParameterVoucherTypeListPublications | Filters by a voucher type.
180
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.
181
+ filters: VoucherifySdk::ParameterFiltersListPublications.new, # ParameterFiltersListPublications | Filters for listing publications.
182
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
183
  }
184
184
 
@@ -204,7 +204,7 @@ end
204
204
  | **result** | [**ParameterResultListPublications**](.md) | Filters by a publication result. | [optional] |
205
205
  | **voucher_type** | [**ParameterVoucherTypeListPublications**](.md) | Filters by a voucher type. | [optional] |
206
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] |
207
+ | **filters** | [**ParameterFiltersListPublications**](.md) | Filters for listing publications. | [optional] |
208
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
209
 
210
210
  ### Return type
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **voucher** | **String** | Code of the voucher being published. | [optional] |
8
8
  | **source_id** | **String** | The merchant's publication ID if it is different from the Voucherify publication ID. It'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. If `source_id` is provided only 1 voucher can be published per request. | [optional] |
9
- | **customer** | [**PublicationsCreateRequestBodyCustomer**](PublicationsCreateRequestBodyCustomer.md) | | [optional] |
9
+ | **customer** | [**Customer**](Customer.md) | | [optional] |
10
10
  | **metadata** | **Object** | | [optional] |
11
11
  | **channel** | **String** | Specify the distribution channel. | [optional] |
12
12
  | **campaign** | [**CreatePublicationCampaign**](CreatePublicationCampaign.md) | | [optional] |
@@ -7,6 +7,6 @@
7
7
  | **limit** | **Integer** | The maximum number of redeemables to be returned in the API request. The actual number of returned redeemables will be determined by the API. The default value is set to 5 | [optional] |
8
8
  | **starting_after** | **Time** | Cursor used for paging. | [optional] |
9
9
  | **filters** | [**QualificationsOptionFilters**](QualificationsOptionFilters.md) | | [optional] |
10
- | **expand** | **Array<String>** | The expand array lets you configure the parameters included in the response. Depending on the strings included in the array, the response will contain different details. | **Expand Option** | **Response Body** | |:---|:---| | [\"redeemable\"] | - Returns the redeemables' metadata. | | [\"category\"] | - Returns an expanded `categories` object, showing details about the category. | | [\"validation_rules\"] | - Returns an expanded `validation_rules` object, showing details about the validation rules. | | [optional] |
10
+ | **expand** | **Array<String>** | The expand array lets you configure the parameters included in the response. Depending on the strings included in the array, the response will contain different details. | **Expand Option** | **Response Body** | |:---|:---| | [`\"redeemable\"`] | Returns the redeemables':<br>- metadata<br>- redeemable name,<br>- campaign name,<br>- campaign ID| | [`\"category\"`] | - Returns an expanded `categories` object, showing details about the category. | | [`\"validation_rules\"`] | - Returns an expanded `validation_rules` object, showing details about the validation rules. | | [optional] |
11
11
  | **sorting_rule** | **String** | Is used to determine the order in which data is displayed in the result array. - `DEFAULT` - Sorting descending by `created_at` - `BEST_DEAL` - Sorting descending by `total_applied_discount_amount` - `LEAST_DEAL` - Sorting ascending by `total_applied_discount_amount` | [optional] |
12
12
 
@@ -13,7 +13,7 @@
13
13
  | **applicable_to** | [**ApplicableToResultList**](ApplicableToResultList.md) | | [optional] |
14
14
  | **inapplicable_to** | [**InapplicableToResultList**](InapplicableToResultList.md) | | [optional] |
15
15
  | **metadata** | **Object** | The metadata object stores all custom attributes assigned to the product. A set of key/value pairs that you can attach to a product object. It can be useful for storing additional information about the product in a structured format. | [optional] |
16
- | **categories** | [**Array<Category>**](Category.md) | List of category information. | [optional] |
16
+ | **categories** | [**Array<CategoryWithStackingRulesType>**](CategoryWithStackingRulesType.md) | List of category information. | [optional] |
17
17
  | **banner** | **String** | Name of the earning rule. This is displayed as a header for the earning rule in the Dashboard. | [optional] |
18
18
  | **name** | **String** | Name of the redeemable. | [optional] |
19
19
  | **campaign_name** | **String** | Name of the campaign associated to the redeemable. This field is available only if object is not `campaign` | [optional] |
@@ -13,7 +13,7 @@
13
13
  | **applicable_to** | [**ApplicableToResultList**](ApplicableToResultList.md) | | [optional] |
14
14
  | **inapplicable_to** | [**InapplicableToResultList**](InapplicableToResultList.md) | | [optional] |
15
15
  | **metadata** | **Object** | The metadata object stores all custom attributes assigned to the product. A set of key/value pairs that you can attach to a product object. It can be useful for storing additional information about the product in a structured format. | [optional] |
16
- | **categories** | [**Array<Category>**](Category.md) | List of category information. | [optional] |
16
+ | **categories** | [**Array<CategoryWithStackingRulesType>**](CategoryWithStackingRulesType.md) | List of category information. | [optional] |
17
17
  | **banner** | **String** | Name of the earning rule. This is displayed as a header for the earning rule in the Dashboard. | [optional] |
18
18
  | **name** | **String** | Name of the redeemable. | [optional] |
19
19
  | **campaign_name** | **String** | Name of the campaign associated to the redeemable. This field is available only if object is not `campaign` | [optional] |
@@ -0,0 +1,18 @@
1
+ # VoucherifySdk::RedeemableHolder
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Unique identifier of the redeemable holder. | [optional] |
8
+ | **created_at** | **Time** | Timestamp representing the date and time when the redeemable was assigned. The value is shown in the ISO 8601 format. | [optional] |
9
+ | **redeemable_id** | **String** | Identifier of the redeemable item. | [optional] |
10
+ | **redeemable_object** | **String** | Type of the redeemable. | [optional] |
11
+ | **customer_id** | **String** | Unique identifier of the customer. | [optional] |
12
+ | **holder_role** | **String** | Role of the holder. | [optional] |
13
+ | **campaign_id** | **String** | Unique identifier of the campaign as assigned by Voucherify. | [optional] |
14
+ | **campaign_type** | **String** | Defines the type of the campaign. | [optional][default to 'REFERRAL_PROGRAM'] |
15
+ | **voucher_type** | **String** | Defines the type of the voucher. | [optional] |
16
+ | **metadata** | **Object** | A set of custom key/value pairs that you can attach to a redeemable holder. The metadata object stores all custom attributes assigned to the `redeemable_holder` object. | [optional] |
17
+ | **object** | **String** | The type of the object represented by JSON. | [optional][default to 'redeemable_holder'] |
18
+
@@ -6,5 +6,5 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **object** | **String** | The type of the object represented is by default `list`. To get this list, you need to make a call to the endpoint returned in the `url` attribute. | [optional][default to 'list'] |
8
8
  | **count** | **Integer** | Publication events counter. | [optional] |
9
- | **url** | **String** | The endpoint where this list of publications can be accessed using a GET method. `/v1/vouchers/{voucher_code}/publications` | [optional] |
9
+ | **url** | **String** | The endpoint where this list of publications can be accessed using a **GET** method. `/v1/vouchers/{voucher_code}/publications` | [optional] |
10
10
 
@@ -8,5 +8,5 @@
8
8
  | **redeemed_quantity** | **Integer** | How many times a voucher has already been redeemed. | [optional] |
9
9
  | **redeemed_points** | **Integer** | Total loyalty points redeemed. | [optional] |
10
10
  | **object** | **String** | The type of the object represented is by default `list`. To get this list, you need to make a call to the endpoint returned in the url attribute. | [optional][default to 'list'] |
11
- | **url** | **String** | The endpoint where this list of redemptions can be accessed using a GET method. `/v1/vouchers/{voucher_code}/redemptions` | [optional] |
11
+ | **url** | **String** | The endpoint where this list of redemptions can be accessed using a **GET** method. `/v1/vouchers/{voucher_code}/redemptions` | [optional] |
12
12
 
data/docs/Redemption.md CHANGED
@@ -22,9 +22,9 @@
22
22
  | **customer** | [**SimpleCustomer**](SimpleCustomer.md) | | [optional] |
23
23
  | **related_object_type** | **String** | Defines the related object. | [optional] |
24
24
  | **related_object_id** | **String** | Unique related object ID assigned by Voucherify, i.e. v_lfZi4rcEGe0sN9gmnj40bzwK2FH6QUno for a voucher. | [optional] |
25
- | **voucher** | [**RedemptionVoucher**](RedemptionVoucher.md) | | [optional] |
26
25
  | **promotion_tier** | [**PromotionTier**](PromotionTier.md) | | [optional] |
27
26
  | **reward** | [**RedemptionRewardResult**](RedemptionRewardResult.md) | | [optional] |
28
27
  | **gift** | [**RedemptionGift**](RedemptionGift.md) | | [optional] |
29
28
  | **loyalty_card** | [**RedemptionLoyaltyCard**](RedemptionLoyaltyCard.md) | | [optional] |
29
+ | **voucher** | [**RedemptionVoucher**](RedemptionVoucher.md) | | [optional] |
30
30
 
@@ -4,6 +4,6 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **channel_id** | **String** | Unique channel ID of the user performing the redemption. This is either a user ID from a user using the Voucherify Dashboard or an X-APP-Id of a user using the API. | [optional] |
8
- | **channel_type** | **String** | The source of the channel for the redemption. A `USER` corresponds to the Voucherify Dashboard and an `API` corresponds to the API. | [optional] |
7
+ | **channel_id** | **String** | Unique channel ID of the user performing the redemption. This is either a user ID from a user using the Voucherify Dashboard or an X-APP-Id of a user using the API. For `AUTO_REDEEM`, it is the reward assignment ID. | [optional] |
8
+ | **channel_type** | **String** | The source of the channel for the redemption. A `USER` corresponds to the Voucherify Dashboard, `API` corresponds to the API, and `AUTO_REDEEM` corresponds to a loyalty campaign reward that has been redeemed automatically. | [optional] |
9
9
 
@@ -22,10 +22,10 @@
22
22
  | **customer** | [**RedemptionEntryCustomer**](RedemptionEntryCustomer.md) | | [optional] |
23
23
  | **related_object_type** | **String** | Defines the related object. | [optional] |
24
24
  | **related_object_id** | **String** | | [optional] |
25
- | **voucher** | [**RedemptionEntryVoucher**](RedemptionEntryVoucher.md) | | [optional] |
26
25
  | **promotion_tier** | [**RedemptionEntryPromotionTier**](RedemptionEntryPromotionTier.md) | | [optional] |
27
26
  | **reward** | [**RedemptionRewardResult**](RedemptionRewardResult.md) | | [optional] |
28
27
  | **gift** | [**RedemptionEntryGift**](RedemptionEntryGift.md) | | [optional] |
29
28
  | **loyalty_card** | [**RedemptionEntryLoyaltyCard**](RedemptionEntryLoyaltyCard.md) | | [optional] |
29
+ | **voucher** | [**RedemptionEntryVoucher**](RedemptionEntryVoucher.md) | | [optional] |
30
30
  | **reason** | **String** | System generated cause for the redemption being invalid in the context of the provided parameters. | [optional] |
31
31
 
@@ -5,5 +5,5 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **channel_id** | **String** | | [optional] |
8
- | **channel_type** | **String** | The source of the channel for the redemption. A `USER` corresponds to the Voucherify Dashboard and an `API` corresponds to the API. | [optional] |
8
+ | **channel_type** | **String** | | [optional] |
9
9
 
@@ -16,7 +16,7 @@
16
16
  | **applied_discount_amount** | **Integer** | This field shows the order-level discount applied. | [optional] |
17
17
  | **items_applied_discount_amount** | **Integer** | Sum of all product-specific discounts applied in a particular request. `sum(items, i => i.applied_discount_amount)` | [optional] |
18
18
  | **total_applied_discount_amount** | **Integer** | Sum of all order-level AND all product-specific discounts applied in a particular request. `total_applied_discount_amount` = `applied_discount_amount` + `items_applied_discount_amount` | [optional] |
19
- | **items** | [**Array<OrderCalculatedItem>**](OrderCalculatedItem.md) | Array of items applied to the order. | [optional] |
19
+ | **items** | [**Array<OrderCalculatedItem>**](OrderCalculatedItem.md) | Array of items applied to the order. It can include up 500 items. | [optional] |
20
20
  | **metadata** | **Object** | | [optional] |
21
21
  | **object** | **String** | The type of the object represented by JSON. | [optional][default to 'order'] |
22
22
  | **created_at** | **Time** | Timestamp representing the date and time when the order was created. The value is shown in the ISO 8601 format. | [optional] |
@@ -6,5 +6,5 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **object** | **String** | The type of the object represented is by default `list`. To get this list, you need to make a call to the endpoint returned in the `url` attribute. | [optional][default to 'list'] |
8
8
  | **count** | **Integer** | Publication events counter. | [optional] |
9
- | **url** | **String** | The endpoint where this list of publications can be accessed using a GET method. `/v1/vouchers/{voucher_code}/publications` | [optional] |
9
+ | **url** | **String** | The endpoint where this list of publications can be accessed using a **GET** method. `/v1/vouchers/{voucher_code}/publications` | [optional] |
10
10
 
@@ -8,5 +8,5 @@
8
8
  | **redeemed_quantity** | **Integer** | How many times a voucher has already been redeemed. | [optional] |
9
9
  | **redeemed_points** | **Integer** | Total loyalty points redeemed. | [optional] |
10
10
  | **object** | **String** | The type of the object represented is by default `list`. To get this list, you need to make a call to the endpoint returned in the url attribute. | [optional][default to 'list'] |
11
- | **url** | **String** | The endpoint where this list of redemptions can be accessed using a GET method. `/v1/vouchers/{voucher_code}/redemptions` | [optional] |
11
+ | **url** | **String** | The endpoint where this list of redemptions can be accessed using a **GET** method. `/v1/vouchers/{voucher_code}/redemptions` | [optional] |
12
12
 
@@ -31,7 +31,7 @@
31
31
  | **object** | **String** | The type of the object represented by JSON. Default is `voucher`. | [optional][default to 'voucher'] |
32
32
  | **publish** | [**RedemptionVoucherPublish**](RedemptionVoucherPublish.md) | | [optional] |
33
33
  | **redemption** | [**RedemptionVoucherRedemption**](RedemptionVoucherRedemption.md) | | [optional] |
34
- | **categories** | [**Array<Category>**](Category.md) | Contains details about the category. | [optional] |
34
+ | **categories** | [**Array<CategoryWithStackingRulesType>**](CategoryWithStackingRulesType.md) | Contains details about the category. | [optional] |
35
35
  | **validation_rules_assignments** | [**ValidationRulesAssignmentsList**](ValidationRulesAssignmentsList.md) | | [optional] |
36
36
  | **holder** | [**SimpleCustomer**](SimpleCustomer.md) | | [optional] |
37
37
 
@@ -6,5 +6,5 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **object** | **String** | The type of the object represented is by default `list`. To get this list, you need to make a call to the endpoint returned in the `url` attribute. | [optional][default to 'list'] |
8
8
  | **count** | **Integer** | Publication events counter. | [optional] |
9
- | **url** | **String** | The endpoint where this list of publications can be accessed using a GET method. `/v1/vouchers/{voucher_code}/publications` | [optional] |
9
+ | **url** | **String** | The endpoint where this list of publications can be accessed using a **GET** method. `/v1/vouchers/{voucher_code}/publications` | [optional] |
10
10
 
@@ -8,5 +8,5 @@
8
8
  | **redeemed_quantity** | **Integer** | How many times a voucher has already been redeemed. | [optional] |
9
9
  | **redeemed_points** | **Integer** | Total loyalty points redeemed. | [optional] |
10
10
  | **object** | **String** | The type of the object represented is by default `list`. To get this list, you need to make a call to the endpoint returned in the url attribute. | [optional][default to 'list'] |
11
- | **url** | **String** | The endpoint where this list of redemptions can be accessed using a GET method. `/v1/vouchers/{voucher_code}/redemptions` | [optional] |
11
+ | **url** | **String** | The endpoint where this list of redemptions can be accessed using a **GET** method. `/v1/vouchers/{voucher_code}/redemptions` | [optional] |
12
12