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