voucherify 8.1.0 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Dockerfile +1 -1
- data/ENDPOINTS-COVERAGE.md +192 -56
- data/Gemfile.lock +7 -7
- data/README.md +422 -0
- data/__tests__/LOYALTY_V2_COVERAGE.md +161 -0
- data/__tests__/lib/config.rb +20 -0
- data/__tests__/lib/loyalty_v2_fixture.rb +199 -0
- data/__tests__/lib/loyalty_v2_http.rb +209 -0
- data/__tests__/spec/13_management_spec.rb +6 -1
- data/__tests__/spec/15_loyalty_v2_spec.rb +403 -0
- data/docs/ActivitySource.md +10 -0
- data/docs/ActivitySourceApiKey.md +10 -0
- data/docs/ActivitySourceUser.md +8 -0
- data/docs/BenefitPointsProportionalApplicableTo.md +11 -0
- data/docs/BenefitPointsProportionalCustomEvent.md +8 -0
- data/docs/BenefitPointsProportionalCustomEventMetadata.md +10 -0
- data/docs/BenefitPointsProportionalCustomer.md +8 -0
- data/docs/BenefitPointsProportionalCustomerMetadata.md +10 -0
- data/docs/BenefitPointsProportionalOrder.md +10 -0
- data/docs/BenefitPointsProportionalOrderAmount.md +9 -0
- data/docs/BenefitPointsProportionalOrderItems.md +10 -0
- data/docs/BenefitPointsProportionalOrderItemsAmount.md +10 -0
- data/docs/BenefitPointsProportionalOrderItemsQuantity.md +10 -0
- data/docs/BenefitPointsProportionalOrderItemsSubtotalAmount.md +10 -0
- data/docs/BenefitPointsProportionalOrderMetadata.md +10 -0
- data/docs/BenefitPointsProportionalOrderTotalAmount.md +9 -0
- data/docs/BenefitTransaction.md +18 -0
- data/docs/BenefitTransactionDetails.md +11 -0
- data/docs/BenefitTransactionDetailsMetadata.md +9 -0
- data/docs/BenefitTransactionDetailsResult.md +8 -0
- data/docs/BenefitTransactionRejection.md +9 -0
- data/docs/CampaignsApi.md +7 -7
- data/docs/Card.md +19 -0
- data/docs/CardActivity.md +14 -0
- data/docs/CardActivityData.md +12 -0
- data/docs/CardBalance.md +9 -0
- data/docs/CardCodeGenerationFailureResult.md +8 -0
- data/docs/CardDailyReportEntry.md +24 -0
- data/docs/CardDefinitionIdFilterConditions.md +8 -0
- data/docs/CardDefinitionIdFilterConditionsConditions.md +11 -0
- data/docs/CardLifetimeBucket.md +9 -0
- data/docs/CardLifetimeBucketPendingPoints.md +10 -0
- data/docs/CardLifetimeBucketPoints.md +19 -0
- data/docs/CardNextActivation.md +11 -0
- data/docs/CardNextExpiration.md +9 -0
- data/docs/CardPendingPointsBucket.md +20 -0
- data/docs/CardPendingPointsBucketPoints.md +8 -0
- data/docs/CardPointsBucket.md +21 -0
- data/docs/CardPointsBucketPoints.md +8 -0
- data/docs/CardSimple.md +16 -0
- data/docs/CardTransaction.md +19 -0
- data/docs/CardTransactionDetails.md +22 -0
- data/docs/CardTransactionDetailsCardTransaction.md +8 -0
- data/docs/CardTransactionDetailsOrder.md +8 -0
- data/docs/CardTransactionDetailsOrderTransaction.md +8 -0
- data/docs/CardTransactionDetailsPoints.md +12 -0
- data/docs/CardTransactionDetailsPurchase.md +9 -0
- data/docs/CardTransactionDetailsPurchaseCardTransaction.md +8 -0
- data/docs/CardTransactionDetailsPurchaseRewardTransaction.md +8 -0
- data/docs/CardTransactionDetailsPurchaseTransaction.md +8 -0
- data/docs/CardTransactionDetailsRejection.md +9 -0
- data/docs/CardTransactionDetailsReward.md +8 -0
- data/docs/CardTransactionDetailsRewardTransaction.md +8 -0
- data/docs/CardTransactionDetailsTargetCard.md +8 -0
- data/docs/ClientRedemptionsRedeemRequestBody.md +1 -1
- data/docs/ClientSideApi.md +2 -2
- data/docs/ClientValidationsValidateRequestBody.md +1 -1
- data/docs/ClientValidationsValidateResponseBody.md +1 -1
- data/docs/CustomerLoyaltyMembership.md +11 -0
- data/docs/CustomerLoyaltyMembershipCard.md +13 -0
- data/docs/CustomerLoyaltyMembershipMember.md +11 -0
- data/docs/CustomerLoyaltyMembershipTier.md +12 -0
- data/docs/CustomerWithSummaryLoyaltyReferrals.md +1 -0
- data/docs/CustomersApi.md +8 -6
- data/docs/CustomersCreateResponseBody.md +1 -0
- data/docs/CustomersGetResponseBody.md +1 -0
- data/docs/CustomersRedeemablesListResponseBody.md +1 -1
- data/docs/CustomersUpdateResponseBody.md +1 -0
- data/docs/DateFilter.md +8 -0
- data/docs/DateFilterConditions.md +14 -0
- data/docs/EarningRuleDailyReportEntry.md +10 -0
- data/docs/EarningRuleEarning.md +12 -0
- data/docs/EarningRuleEffect.md +11 -0
- data/docs/EarningRuleEffectPoints.md +10 -0
- data/docs/EarningRuleEffectPointsExpiration.md +11 -0
- data/docs/EarningRuleEffectPointsExpirationCalendarExpiration.md +8 -0
- data/docs/EarningRuleEffectPointsExpirationRollingExpiration.md +9 -0
- data/docs/EarningRuleEffectPointsExpirationSlidingExpiration.md +9 -0
- data/docs/EarningRuleEffectPointsProportional.md +14 -0
- data/docs/EarningRuleIdFilterConditions.md +8 -0
- data/docs/EarningRuleIdFilterConditionsConditions.md +11 -0
- data/docs/EarningRulePointsProportionalApplicableTo.md +11 -0
- data/docs/EarningRulePointsProportionalCustomEvent.md +8 -0
- data/docs/EarningRulePointsProportionalCustomer.md +8 -0
- data/docs/EarningRulePointsProportionalOrder.md +10 -0
- data/docs/EarningRulePointsProportionalOrderItems.md +10 -0
- data/docs/EarningRulePointsProportionalOrderItemsCalculation.md +10 -0
- data/docs/EarningRuleTierRules.md +9 -0
- data/docs/EarningRuleTrigger.md +10 -0
- data/docs/EarningRuleTriggerLimitsCooldown.md +9 -0
- data/docs/EarningRuleTriggerLimitsCooldownFixedCooldown.md +8 -0
- data/docs/EarningRuleTriggerLimitsFrequency.md +9 -0
- data/docs/EarningRuleValidityHours.md +9 -0
- data/docs/EarningRulesReportDailyEntry.md +13 -0
- data/docs/EarningRulesReportFailuresBreakdown.md +9 -0
- data/docs/EarningRulesReportListFilters.md +9 -0
- data/docs/EarningRulesReportSummaryEntry.md +13 -0
- data/docs/ErrorError.md +1 -1
- data/docs/ExamineCardReference.md +12 -0
- data/docs/ExamineCustomerIdentification.md +11 -0
- data/docs/ExamineCustomerReference.md +11 -0
- data/docs/ExamineMemberReference.md +12 -0
- data/docs/ExamineProgramReference.md +11 -0
- data/docs/ExportParameters.md +2 -2
- data/docs/ExportsApi.md +6 -6
- data/docs/ExportsCreateRequestBodyParameters.md +2 -2
- data/docs/ExportsCreateResponseBodyParameters.md +2 -2
- data/docs/ExportsGetResponseBodyParameters.md +2 -2
- data/docs/LV2BenefitsApi.md +66 -0
- data/docs/LV2EarningRulesApi.md +66 -0
- data/docs/LV2ExamineApi.md +129 -0
- data/docs/LV2ProgramsApi.md +2935 -0
- data/docs/LV2RewardsApi.md +66 -0
- data/docs/ListCursor.md +9 -0
- data/docs/LoyaltiesApi.md +52 -52
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBody.md +12 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomEventAll.md +8 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomEventSpecific.md +9 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomer.md +8 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomerCustomEvent.md +10 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomerCustomEventAll.md +10 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomerCustomEventSpecific.md +10 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomerOrderPaid.md +10 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyCustomerSegmentEntered.md +9 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyMember.md +8 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyOrder.md +12 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyOrderItem.md +19 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyOrderItemProduct.md +10 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyOrderItemSku.md +10 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyTrigger.md +9 -0
- data/docs/LoyaltiesExamineEarningRulesExamineRequestBodyTriggerSpecific.md +8 -0
- data/docs/LoyaltiesExamineEarningRulesExamineResponseBody.md +12 -0
- data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyBenefitEarningRuleEstimation.md +9 -0
- data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyBenefitEstimation.md +10 -0
- data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyBenefitReference.md +11 -0
- data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyCardEarningRuleEstimation.md +10 -0
- data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyCardEstimation.md +11 -0
- data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyEarningRuleDetail.md +11 -0
- data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyEarningRuleReference.md +9 -0
- data/docs/LoyaltiesExamineEarningRulesExamineResponseBodyMembership.md +12 -0
- data/docs/LoyaltiesExamineRewardsExamineRequestBody.md +10 -0
- data/docs/LoyaltiesExamineRewardsExamineRequestBodyCustomer.md +8 -0
- data/docs/LoyaltiesExamineRewardsExamineRequestBodyMember.md +8 -0
- data/docs/LoyaltiesExamineRewardsExamineResponseBody.md +11 -0
- data/docs/LoyaltiesExamineRewardsExamineResponseBodyCardEstimation.md +10 -0
- data/docs/LoyaltiesExamineRewardsExamineResponseBodyCardRewardEstimation.md +12 -0
- data/docs/LoyaltiesExamineRewardsExamineResponseBodyMembership.md +11 -0
- data/docs/LoyaltiesExamineRewardsExamineResponseBodyRewardCost.md +9 -0
- data/docs/LoyaltiesExamineRewardsExamineResponseBodyRewardDetail.md +13 -0
- data/docs/LoyaltiesExamineRewardsExamineResponseBodyRewardReference.md +9 -0
- data/docs/LoyaltiesExamineRewardsExamineResponseBodyRewardUnavailabilityReason.md +10 -0
- data/docs/LoyaltiesProgramsMembersActivitiesListRequestQueryFiltersId.md +8 -0
- data/docs/LoyaltiesProgramsMembersActivitiesListRequestQueryFiltersIdConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersActivitiesListRequestQueryFiltersType.md +8 -0
- data/docs/LoyaltiesProgramsMembersActivitiesListRequestQueryFiltersTypeConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersBenefitsTransactionsListRequestQueryBenefitId.md +8 -0
- data/docs/LoyaltiesProgramsMembersBenefitsTransactionsListRequestQueryBenefitIdConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersCardsActivitiesListRequestQueryFiltersId.md +8 -0
- data/docs/LoyaltiesProgramsMembersCardsActivitiesListRequestQueryFiltersIdConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersCardsActivitiesListRequestQueryFiltersType.md +8 -0
- data/docs/LoyaltiesProgramsMembersCardsActivitiesListRequestQueryFiltersTypeConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersCardsReportsDailyListResponseBody.md +9 -0
- data/docs/LoyaltiesProgramsMembersCardsTransactionsListRequestQueryId.md +8 -0
- data/docs/LoyaltiesProgramsMembersCardsTransactionsListRequestQueryIdConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersListRequestQueryCustomerId.md +8 -0
- data/docs/LoyaltiesProgramsMembersListRequestQueryCustomerIdConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersListRequestQueryId.md +8 -0
- data/docs/LoyaltiesProgramsMembersListRequestQueryIdConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersListRequestQueryStatus.md +8 -0
- data/docs/LoyaltiesProgramsMembersListRequestQueryStatusConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersOrdersPaymentsCreateCombinedResponseBody.md +10 -0
- data/docs/LoyaltiesProgramsMembersOrdersPaymentsCreateCombinedResponseBodyTransaction.md +20 -0
- data/docs/LoyaltiesProgramsMembersOrdersPaymentsCreateCombinedResponseBodyTransactionDetails.md +12 -0
- data/docs/LoyaltiesProgramsMembersOrdersPaymentsCreateRequestBodyLimit.md +10 -0
- data/docs/LoyaltiesProgramsMembersOrdersPaymentsListRequestQueryId.md +8 -0
- data/docs/LoyaltiesProgramsMembersOrdersPaymentsListRequestQueryIdConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersRewardsPurchasesCreateCombinedResponseBody.md +10 -0
- data/docs/LoyaltiesProgramsMembersRewardsPurchasesCreateCombinedResponseBodyTransaction.md +20 -0
- data/docs/LoyaltiesProgramsMembersRewardsPurchasesCreateCombinedResponseBodyTransactionDetails.md +12 -0
- data/docs/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionId.md +8 -0
- data/docs/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionIdConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryId.md +8 -0
- data/docs/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryIdConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryRewardId.md +8 -0
- data/docs/LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryRewardIdConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardDefinitionId.md +8 -0
- data/docs/LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardDefinitionIdConditions.md +11 -0
- data/docs/LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardId.md +8 -0
- data/docs/LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardIdConditions.md +11 -0
- data/docs/LoyaltiesProgramsReportsMembersDailyListResponseBody.md +9 -0
- data/docs/LoyaltiesProgramsReportsMembersSummaryListResponseBody.md +9 -0
- data/docs/LoyaltiesProgramsReportsRewardsDailyListResponseBody.md +9 -0
- data/docs/LoyaltiesProgramsReportsRewardsSpendingsDailyListResponseBody.md +9 -0
- data/docs/LoyaltiesProgramsReportsRewardsSpendingsSummaryListResponseBody.md +9 -0
- data/docs/LoyaltiesProgramsReportsRewardsSummaryListResponseBody.md +9 -0
- data/docs/LoyaltiesProgramsReportsSpendingDailyListResponseBody.md +9 -0
- data/docs/LoyaltiesProgramsReportsSpendingSummaryListResponseBody.md +9 -0
- data/docs/LoyaltyV2ActivityBenefitPointsProportionalApplicableToProduct.md +8 -0
- data/docs/LoyaltyV2ActivityBenefitPointsProportionalApplicableToProductsCollection.md +8 -0
- data/docs/LoyaltyV2ActivityBenefitPointsProportionalApplicableToSku.md +8 -0
- data/docs/LoyaltyV2ActivityBenefitStockLimited.md +8 -0
- data/docs/LoyaltyV2ActivityCardDefinitionLimitTimeBasedPeriod.md +9 -0
- data/docs/LoyaltyV2ActivityCardDefinitionLimitTimeBasedPeriodCurrentPeriod.md +8 -0
- data/docs/LoyaltyV2ActivityEarningRuleEarningLimits.md +8 -0
- data/docs/LoyaltyV2ActivityEarningRuleEarningLimitsGlobal.md +9 -0
- data/docs/LoyaltyV2ActivityEarningRuleEffectBenefit.md +8 -0
- data/docs/LoyaltyV2ActivityEarningRuleEffectPointsExpirationCalendarExpirationDate.md +9 -0
- data/docs/LoyaltyV2ActivityEarningRuleEffectPointsExpirationRollingExpirationPeriod.md +9 -0
- data/docs/LoyaltyV2ActivityEarningRuleEffectPointsExpirationRollingExpirationRounding.md +9 -0
- data/docs/LoyaltyV2ActivityEarningRuleEffectPointsExpirationSlidingExpirationPeriod.md +9 -0
- data/docs/LoyaltyV2ActivityEarningRuleError.md +8 -0
- data/docs/LoyaltyV2ActivityEarningRulePointsProportionalApplicableToProduct.md +8 -0
- data/docs/LoyaltyV2ActivityEarningRulePointsProportionalApplicableToProductsCollection.md +8 -0
- data/docs/LoyaltyV2ActivityEarningRulePointsProportionalApplicableToSku.md +8 -0
- data/docs/LoyaltyV2ActivityEarningRulePointsProportionalEvery.md +9 -0
- data/docs/LoyaltyV2ActivityEarningRulePointsProportionalMetadata.md +10 -0
- data/docs/LoyaltyV2ActivityEarningRuleTierRulesAnyOfEntry.md +9 -0
- data/docs/LoyaltyV2ActivityEarningRuleTriggerCustomEvent.md +8 -0
- data/docs/LoyaltyV2ActivityEarningRuleTriggerLimitsCooldownFixedCooldownPeriod.md +9 -0
- data/docs/LoyaltyV2ActivityEarningRuleTriggerSegment.md +8 -0
- data/docs/LoyaltyV2ActivityEarningRuleValidityDailyHours.md +10 -0
- data/docs/LoyaltyV2ActivityRewardCostSpendingResponse.md +11 -0
- data/docs/LoyaltyV2ActivityRewardDigitalDiscountCoupons.md +8 -0
- data/docs/LoyaltyV2ActivityRewardDigitalGiftVouchersResponse.md +9 -0
- data/docs/LoyaltyV2ActivityRewardDigitalLoyaltyCardPointsResponse.md +9 -0
- data/docs/LoyaltyV2ActivityRewardMaterialProduct.md +8 -0
- data/docs/LoyaltyV2ActivityRewardMaterialSKU.md +9 -0
- data/docs/LoyaltyV2ActivityRewardPurchaseLimitsCooldownFixedCooldownPeriod.md +9 -0
- data/docs/LoyaltyV2ActivityRewardPurchaseLimitsFrequencyLimitTriggers.md +8 -0
- data/docs/LoyaltyV2ActivityRewardRefunds.md +8 -0
- data/docs/LoyaltyV2ActivityRewardValidityDailyHoursResponse.md +10 -0
- data/docs/LoyaltyV2CardPointsBucketSimple.md +11 -0
- data/docs/LoyaltyV2CardPointsBucketSimplePoints.md +8 -0
- data/docs/LpmOrdPayCcrbTxDetailsMetadata.md +9 -0
- data/docs/LpmOrdPayCcrbTxDetailsRejection.md +9 -0
- data/docs/LpmOrdPayCcrbTxDetailsRejectionDetails.md +10 -0
- data/docs/LpmOrdPayCcrbTxDetailsSpendingCap.md +10 -0
- data/docs/LpmRewPurchCcrbTxDetailsPoints.md +8 -0
- data/docs/LpmRewPurchCcrbTxDetailsRejection.md +9 -0
- data/docs/LpmRewPurchCcrbTxDetailsResult.md +11 -0
- data/docs/LpmRewPurchCcrbTxDetailsResultDigLcPoints.md +10 -0
- data/docs/LpmRewPurchCcrbTxDetailsResultDigital.md +11 -0
- data/docs/LpmRewPurchCcrbTxDetailsResultMaterial.md +10 -0
- data/docs/LpmRewPurchCcrbTxDetailsResultReward.md +9 -0
- data/docs/ManagementApi.md +26 -26
- data/docs/ManagementProjectsMetadataSchemaDefinition.md +1 -1
- data/docs/Member.md +15 -0
- data/docs/MemberCard.md +11 -0
- data/docs/MemberCreate.md +10 -0
- data/docs/MemberTierProgress.md +13 -0
- data/docs/MemberTierProgressCurrent.md +11 -0
- data/docs/MemberTierProgressDeferred.md +10 -0
- data/docs/MemberTierProgressOpportunity.md +10 -0
- data/docs/MemberTierProgressPoints.md +10 -0
- data/docs/MemberTierProgressRisk.md +10 -0
- data/docs/MemberTierProgressTier.md +9 -0
- data/docs/MemberTierProgressTierStructure.md +9 -0
- data/docs/MembersReportDailyEntry.md +13 -0
- data/docs/MembersReportSummaryEntry.md +13 -0
- data/docs/MembershipCard.md +12 -0
- data/docs/MetadataSchemasApi.md +2 -2
- data/docs/OrderPaymentLimitDefinition.md +8 -0
- data/docs/OrderPaymentOrder.md +9 -0
- data/docs/OrderPaymentPaymentDetails.md +11 -0
- data/docs/OrderPaymentRejection.md +9 -0
- data/docs/OrderPaymentTransaction.md +20 -0
- data/docs/OrderPaymentTransactionDetails.md +12 -0
- data/docs/OrderPaymentTransactionDetailsSpendingCap.md +10 -0
- data/docs/OrdersApi.md +2 -2
- data/docs/PointsEarningsReportDailyEntry.md +15 -0
- data/docs/PointsEarningsReportListFilters.md +10 -0
- data/docs/PointsEarningsReportSummaryEntry.md +15 -0
- data/docs/ProductCollectionsApi.md +1 -1
- data/docs/ProductCollectionsProductsListResponseBody.md +1 -1
- data/docs/ProductsApi.md +4 -4
- data/docs/Program.md +17 -0
- data/docs/ProgramEarningRuleAssignment.md +10 -0
- data/docs/ProgramListCursor.md +9 -0
- data/docs/ProgramRewardAssignment.md +13 -0
- data/docs/ProgramRewardAssignmentStock.md +9 -0
- data/docs/ProgramRewardAssignmentStockLimited.md +8 -0
- data/docs/ProgramSimple.md +12 -0
- data/docs/ProgramTierStructureAssignment.md +10 -0
- data/docs/ProgramValidityDailyHours.md +10 -0
- data/docs/ProgramValidityHours.md +9 -0
- data/docs/PromotionTierCampaign.md +1 -1
- data/docs/PromotionsTiersCreateResponseBodyCampaign.md +1 -1
- data/docs/PromotionsTiersDisableResponseBodyCampaign.md +1 -1
- data/docs/PromotionsTiersEnableResponseBodyCampaign.md +1 -1
- data/docs/PromotionsTiersGetResponseBodyCampaign.md +1 -1
- data/docs/PromotionsTiersUpdateResponseBodyCampaign.md +1 -1
- data/docs/PublicationsApi.md +3 -3
- data/docs/PublicationsListResponseBody.md +1 -1
- data/docs/QualificationsApi.md +1 -1
- data/docs/RedemptionEntryPromotionTierCampaign.md +1 -1
- data/docs/RedemptionRewardResultParametersCoin.md +1 -1
- data/docs/RedemptionsApi.md +3 -3
- data/docs/RedemptionsGetResponseBodyPromotionTierCampaign.md +1 -1
- data/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTierCampaign.md +1 -1
- data/docs/RedemptionsRedeemRequestBody.md +1 -1
- data/docs/RedemptionsRedeemRequestBodyOptions.md +1 -0
- data/docs/ReferralsApi.md +4 -4
- data/docs/ReferralsMembersHoldersListResponseBody.md +1 -1
- data/docs/ReportCardDefinitionIdFilterConditions.md +8 -0
- data/docs/ReportCardDefinitionIdFilterConditionsConditions.md +11 -0
- data/docs/RewardCostResponse.md +12 -0
- data/docs/RewardCostTierRulesAnyOfEntryResponse.md +9 -0
- data/docs/RewardCostTierRulesResponse.md +9 -0
- data/docs/RewardDigitalResponse.md +11 -0
- data/docs/RewardMaterialResponse.md +10 -0
- data/docs/RewardPurchaseDigitalCoupon.md +10 -0
- data/docs/RewardPurchaseDigitalGiftVoucher.md +12 -0
- data/docs/RewardPurchaseLimits.md +9 -0
- data/docs/RewardPurchaseLimitsCooldown.md +9 -0
- data/docs/RewardPurchaseLimitsCooldownFixedCooldown.md +8 -0
- data/docs/RewardPurchaseLimitsFrequency.md +9 -0
- data/docs/RewardPurchaseLimitsFrequencyLimit.md +10 -0
- data/docs/RewardPurchaseRefundPolicies.md +9 -0
- data/docs/RewardPurchaseTransaction.md +20 -0
- data/docs/RewardValidityHoursResponse.md +9 -0
- data/docs/RewardsCreateRequestBodyParametersCoin.md +1 -1
- data/docs/RewardsReportDailyEntry.md +13 -0
- data/docs/RewardsReportFilterRewardIdConditions.md +8 -0
- data/docs/RewardsReportFilterRewardIdConditionsConditions.md +11 -0
- data/docs/RewardsReportListFilters.md +9 -0
- data/docs/RewardsReportSummaryEntry.md +13 -0
- data/docs/RewardsSpendingsReportDailyEntry.md +15 -0
- data/docs/RewardsSpendingsReportFilterCostIdConditions.md +8 -0
- data/docs/RewardsSpendingsReportFilterCostIdConditionsConditions.md +11 -0
- data/docs/RewardsSpendingsReportFilterSpendingIdConditions.md +8 -0
- data/docs/RewardsSpendingsReportFilterSpendingIdConditionsConditions.md +11 -0
- data/docs/RewardsSpendingsReportListFilters.md +12 -0
- data/docs/RewardsSpendingsReportSummaryEntry.md +15 -0
- data/docs/RewardsUpdateRequestBodyParametersCoin.md +1 -1
- data/docs/SegmentsApi.md +1 -1
- data/docs/SpendingReportDailyEntry.md +17 -0
- data/docs/SpendingReportListFilters.md +9 -0
- data/docs/SpendingReportSummaryEntry.md +17 -0
- data/docs/TemplatesApi.md +7 -7
- data/docs/TierTransaction.md +20 -0
- data/docs/TierTransactionDetails.md +14 -0
- data/docs/TierTransactionOrigin.md +10 -0
- data/docs/TierTransactionRejection.md +9 -0
- data/docs/TiersReportDailyEntry.md +16 -0
- data/docs/TiersReportFilterTierIdConditions.md +8 -0
- data/docs/TiersReportFilterTierIdConditionsConditions.md +11 -0
- data/docs/TiersReportFilterTierStructureIdConditions.md +8 -0
- data/docs/TiersReportFilterTierStructureIdConditionsConditions.md +11 -0
- data/docs/TiersReportListFilters.md +10 -0
- data/docs/TiersReportSummaryEntry.md +16 -0
- data/docs/TransactionFilterDateConditions.md +8 -0
- data/docs/TransactionFilterDateConditionsConditions.md +14 -0
- data/docs/V2LoyaltiesBenefitsGetResponseBody.md +19 -0
- data/docs/V2LoyaltiesBenefitsGetResponseBodyPoints.md +9 -0
- data/docs/V2LoyaltiesBenefitsGetResponseBodyPointsProportional.md +13 -0
- data/docs/V2LoyaltiesBenefitsGetResponseBodyStock.md +9 -0
- data/docs/V2LoyaltiesEarningRulesGetResponseBody.md +22 -0
- data/docs/V2LoyaltiesEarningRulesGetResponseBodyTriggerLimits.md +9 -0
- data/docs/V2LoyaltiesProgramsEarningRulesListResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersActivateResponseBody.md +15 -0
- data/docs/V2LoyaltiesProgramsMembersActivitiesListRequestQueryFilters.md +11 -0
- data/docs/V2LoyaltiesProgramsMembersActivitiesListResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersBenefitsTransactionsListRequestQuery.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersBenefitsTransactionsListResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersBenefitsTransactionsListResponseBodyCursor.md +9 -0
- data/docs/V2LoyaltiesProgramsMembersCardsActivitiesListRequestQueryFilters.md +11 -0
- data/docs/V2LoyaltiesProgramsMembersCardsActivitiesListResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersCardsExpiringPointsExpireResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersCardsExpiringPointsListRequestQuery.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersCardsExpiringPointsListResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersCardsPendingPointsActivateResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersCardsPendingPointsCancelResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersCardsPendingPointsListRequestQuery.md +9 -0
- data/docs/V2LoyaltiesProgramsMembersCardsPendingPointsListResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersCardsPointsAdjustRequestBody.md +9 -0
- data/docs/V2LoyaltiesProgramsMembersCardsPointsAdjustResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersCardsTransactionsListRequestQuery.md +11 -0
- data/docs/V2LoyaltiesProgramsMembersCardsTransactionsListResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersCreateInBulkResponseBody.md +8 -0
- data/docs/V2LoyaltiesProgramsMembersCreateRequestBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersCreateResponseBody.md +16 -0
- data/docs/V2LoyaltiesProgramsMembersDeactivateResponseBody.md +15 -0
- data/docs/V2LoyaltiesProgramsMembersDeleteResponseBody.md +15 -0
- data/docs/V2LoyaltiesProgramsMembersEarningRulesReportsDailyListResponseBody.md +9 -0
- data/docs/V2LoyaltiesProgramsMembersGetResponseBody.md +16 -0
- data/docs/V2LoyaltiesProgramsMembersListRequestQuery.md +12 -0
- data/docs/V2LoyaltiesProgramsMembersListResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersOrdersPaymentsCreateRequestBody.md +11 -0
- data/docs/V2LoyaltiesProgramsMembersOrdersPaymentsListRequestQuery.md +11 -0
- data/docs/V2LoyaltiesProgramsMembersOrdersPaymentsListResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersOrdersPaymentsListResponseBodyCursor.md +9 -0
- data/docs/V2LoyaltiesProgramsMembersRewardsPurchasesCreateRequestBody.md +9 -0
- data/docs/V2LoyaltiesProgramsMembersRewardsPurchasesListRequestQuery.md +12 -0
- data/docs/V2LoyaltiesProgramsMembersRewardsPurchasesListResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersRewardsPurchasesListResponseBodyCursor.md +9 -0
- data/docs/V2LoyaltiesProgramsMembersTiersTransactionsListRequestQuery.md +11 -0
- data/docs/V2LoyaltiesProgramsMembersTiersTransactionsListResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsMembersUpdateRequestBody.md +8 -0
- data/docs/V2LoyaltiesProgramsMembersUpdateResponseBody.md +15 -0
- data/docs/V2LoyaltiesProgramsMembershipsGetResponseBody.md +11 -0
- data/docs/V2LoyaltiesProgramsReportsEarningRulesDailyListResponseBody.md +9 -0
- data/docs/V2LoyaltiesProgramsReportsEarningRulesSummaryListResponseBody.md +9 -0
- data/docs/V2LoyaltiesProgramsReportsPointsEarningsDailyListResponseBody.md +9 -0
- data/docs/V2LoyaltiesProgramsReportsPointsEarningsSummaryListResponseBody.md +9 -0
- data/docs/V2LoyaltiesProgramsReportsTiersDailyListResponseBody.md +9 -0
- data/docs/V2LoyaltiesProgramsReportsTiersSummaryListResponseBody.md +9 -0
- data/docs/V2LoyaltiesProgramsRewardsListResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsRewardsPurchasesRefundRequestBody.md +8 -0
- data/docs/V2LoyaltiesProgramsRewardsPurchasesRefundResponseBody.md +10 -0
- data/docs/V2LoyaltiesProgramsTierStructuresListResponseBody.md +10 -0
- data/docs/V2LoyaltiesRewardsGetResponseBody.md +23 -0
- data/docs/VLMemberActivity.md +14 -0
- data/docs/VLMemberActivityData.md +11 -0
- data/docs/ValidationRulesApi.md +2 -2
- data/docs/ValidationsValidateRequestBody.md +1 -1
- data/docs/ValidationsValidateRequestBodyOptions.md +1 -0
- data/docs/ValidationsValidateResponseBody.md +1 -1
- data/docs/VouchersApi.md +8 -8
- data/lib/VoucherifySdk/api/campaigns_api.rb +14 -14
- data/lib/VoucherifySdk/api/client_side_api.rb +4 -4
- data/lib/VoucherifySdk/api/customers_api.rb +13 -10
- data/lib/VoucherifySdk/api/exports_api.rb +8 -8
- data/lib/VoucherifySdk/api/loyalties_api.rb +104 -104
- data/lib/VoucherifySdk/api/lv2_benefits_api.rb +81 -0
- data/lib/VoucherifySdk/api/lv2_earning_rules_api.rb +81 -0
- data/lib/VoucherifySdk/api/lv2_examine_api.rb +150 -0
- data/lib/VoucherifySdk/api/lv2_programs_api.rb +3008 -0
- data/lib/VoucherifySdk/api/lv2_rewards_api.rb +81 -0
- data/lib/VoucherifySdk/api/management_api.rb +52 -52
- data/lib/VoucherifySdk/api/metadata_schemas_api.rb +4 -4
- data/lib/VoucherifySdk/api/orders_api.rb +4 -4
- data/lib/VoucherifySdk/api/product_collections_api.rb +2 -2
- data/lib/VoucherifySdk/api/products_api.rb +8 -8
- data/lib/VoucherifySdk/api/publications_api.rb +6 -6
- data/lib/VoucherifySdk/api/qualifications_api.rb +2 -2
- data/lib/VoucherifySdk/api/redemptions_api.rb +6 -6
- data/lib/VoucherifySdk/api/referrals_api.rb +8 -8
- data/lib/VoucherifySdk/api/segments_api.rb +2 -2
- data/lib/VoucherifySdk/api/templates_api.rb +14 -14
- data/lib/VoucherifySdk/api/validation_rules_api.rb +4 -4
- data/lib/VoucherifySdk/api/vouchers_api.rb +16 -16
- data/lib/VoucherifySdk/configuration.rb +8 -0
- data/lib/VoucherifySdk/models/activity_source.rb +252 -0
- data/lib/VoucherifySdk/models/activity_source_api_key.rb +232 -0
- data/lib/VoucherifySdk/models/activity_source_user.rb +210 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_applicable_to.rb +261 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_custom_event.rb +209 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_custom_event_metadata.rb +257 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_customer.rb +209 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_customer_metadata.rb +257 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_order.rb +229 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_order_amount.rb +241 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_order_items.rb +229 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_order_items_amount.rb +259 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_order_items_quantity.rb +259 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_order_items_subtotal_amount.rb +259 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_order_metadata.rb +257 -0
- data/lib/VoucherifySdk/models/benefit_points_proportional_order_total_amount.rb +241 -0
- data/lib/VoucherifySdk/models/benefit_transaction.rb +350 -0
- data/lib/VoucherifySdk/models/benefit_transaction_details.rb +238 -0
- data/lib/VoucherifySdk/models/benefit_transaction_details_metadata.rb +227 -0
- data/lib/VoucherifySdk/models/benefit_transaction_details_result.rb +210 -0
- data/lib/VoucherifySdk/models/benefit_transaction_rejection.rb +220 -0
- data/lib/VoucherifySdk/models/card.rb +387 -0
- data/lib/VoucherifySdk/models/card_activity.rb +308 -0
- data/lib/VoucherifySdk/models/card_activity_data.rb +258 -0
- data/lib/VoucherifySdk/models/card_balance.rb +225 -0
- data/lib/VoucherifySdk/models/card_code_generation_failure_result.rb +210 -0
- data/lib/VoucherifySdk/models/card_daily_report_entry.rb +412 -0
- data/lib/VoucherifySdk/models/card_definition_id_filter_conditions.rb +209 -0
- data/lib/VoucherifySdk/models/card_definition_id_filter_conditions_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/card_lifetime_bucket.rb +231 -0
- data/lib/VoucherifySdk/models/card_lifetime_bucket_pending_points.rb +238 -0
- data/lib/VoucherifySdk/models/card_lifetime_bucket_points.rb +355 -0
- data/lib/VoucherifySdk/models/card_next_activation.rb +269 -0
- data/lib/VoucherifySdk/models/card_next_expiration.rb +223 -0
- data/lib/VoucherifySdk/models/card_pending_points_bucket.rb +405 -0
- data/lib/VoucherifySdk/models/card_pending_points_bucket_points.rb +210 -0
- data/lib/VoucherifySdk/models/card_points_bucket.rb +422 -0
- data/lib/VoucherifySdk/models/card_points_bucket_points.rb +210 -0
- data/lib/VoucherifySdk/models/card_simple.rb +332 -0
- data/lib/VoucherifySdk/models/card_transaction.rb +393 -0
- data/lib/VoucherifySdk/models/card_transaction_details.rb +354 -0
- data/lib/VoucherifySdk/models/card_transaction_details_card_transaction.rb +210 -0
- data/lib/VoucherifySdk/models/card_transaction_details_order.rb +210 -0
- data/lib/VoucherifySdk/models/card_transaction_details_order_transaction.rb +210 -0
- data/lib/VoucherifySdk/models/card_transaction_details_points.rb +280 -0
- data/lib/VoucherifySdk/models/card_transaction_details_purchase.rb +219 -0
- data/lib/VoucherifySdk/models/card_transaction_details_purchase_card_transaction.rb +209 -0
- data/lib/VoucherifySdk/models/card_transaction_details_purchase_reward_transaction.rb +209 -0
- data/lib/VoucherifySdk/models/card_transaction_details_purchase_transaction.rb +210 -0
- data/lib/VoucherifySdk/models/card_transaction_details_rejection.rb +221 -0
- data/lib/VoucherifySdk/models/card_transaction_details_reward.rb +210 -0
- data/lib/VoucherifySdk/models/card_transaction_details_reward_transaction.rb +210 -0
- data/lib/VoucherifySdk/models/card_transaction_details_target_card.rb +210 -0
- data/lib/VoucherifySdk/models/client_redemptions_redeem_request_body.rb +11 -0
- data/lib/VoucherifySdk/models/client_validations_validate_request_body.rb +11 -0
- data/lib/VoucherifySdk/models/client_validations_validate_response_body.rb +1 -0
- data/lib/VoucherifySdk/models/customer_loyalty_membership.rb +251 -0
- data/lib/VoucherifySdk/models/customer_loyalty_membership_card.rb +277 -0
- data/lib/VoucherifySdk/models/customer_loyalty_membership_member.rb +275 -0
- data/lib/VoucherifySdk/models/customer_loyalty_membership_tier.rb +278 -0
- data/lib/VoucherifySdk/models/customer_with_summary_loyalty_referrals.rb +14 -1
- data/lib/VoucherifySdk/models/customers_create_response_body.rb +14 -1
- data/lib/VoucherifySdk/models/customers_get_response_body.rb +14 -1
- data/lib/VoucherifySdk/models/customers_redeemables_list_response_body.rb +1 -1
- data/lib/VoucherifySdk/models/customers_update_response_body.rb +14 -1
- data/lib/VoucherifySdk/models/date_filter.rb +209 -0
- data/lib/VoucherifySdk/models/date_filter_conditions.rb +268 -0
- data/lib/VoucherifySdk/models/earning_rule_daily_report_entry.rb +258 -0
- data/lib/VoucherifySdk/models/earning_rule_earning.rb +281 -0
- data/lib/VoucherifySdk/models/earning_rule_effect.rb +261 -0
- data/lib/VoucherifySdk/models/earning_rule_effect_points.rb +246 -0
- data/lib/VoucherifySdk/models/earning_rule_effect_points_expiration.rb +261 -0
- data/lib/VoucherifySdk/models/earning_rule_effect_points_expiration_calendar_expiration.rb +222 -0
- data/lib/VoucherifySdk/models/earning_rule_effect_points_expiration_rolling_expiration.rb +224 -0
- data/lib/VoucherifySdk/models/earning_rule_effect_points_expiration_sliding_expiration.rb +226 -0
- data/lib/VoucherifySdk/models/earning_rule_effect_points_proportional.rb +296 -0
- data/lib/VoucherifySdk/models/earning_rule_id_filter_conditions.rb +209 -0
- data/lib/VoucherifySdk/models/earning_rule_id_filter_conditions_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/earning_rule_points_proportional_applicable_to.rb +261 -0
- data/lib/VoucherifySdk/models/earning_rule_points_proportional_custom_event.rb +215 -0
- data/lib/VoucherifySdk/models/earning_rule_points_proportional_customer.rb +215 -0
- data/lib/VoucherifySdk/models/earning_rule_points_proportional_order.rb +226 -0
- data/lib/VoucherifySdk/models/earning_rule_points_proportional_order_items.rb +226 -0
- data/lib/VoucherifySdk/models/earning_rule_points_proportional_order_items_calculation.rb +259 -0
- data/lib/VoucherifySdk/models/earning_rule_tier_rules.rb +252 -0
- data/lib/VoucherifySdk/models/earning_rule_trigger.rb +252 -0
- data/lib/VoucherifySdk/models/earning_rule_trigger_limits_cooldown.rb +243 -0
- data/lib/VoucherifySdk/models/earning_rule_trigger_limits_cooldown_fixed_cooldown.rb +215 -0
- data/lib/VoucherifySdk/models/earning_rule_trigger_limits_frequency.rb +257 -0
- data/lib/VoucherifySdk/models/earning_rule_validity_hours.rb +252 -0
- data/lib/VoucherifySdk/models/earning_rules_report_daily_entry.rb +297 -0
- data/lib/VoucherifySdk/models/earning_rules_report_failures_breakdown.rb +221 -0
- data/lib/VoucherifySdk/models/earning_rules_report_list_filters.rb +243 -0
- data/lib/VoucherifySdk/models/earning_rules_report_summary_entry.rb +308 -0
- data/lib/VoucherifySdk/models/error_error.rb +2 -2
- data/lib/VoucherifySdk/models/examine_card_reference.rb +284 -0
- data/lib/VoucherifySdk/models/examine_customer_identification.rb +279 -0
- data/lib/VoucherifySdk/models/examine_customer_reference.rb +271 -0
- data/lib/VoucherifySdk/models/examine_member_reference.rb +282 -0
- data/lib/VoucherifySdk/models/examine_program_reference.rb +271 -0
- data/lib/VoucherifySdk/models/export.rb +1 -1
- data/lib/VoucherifySdk/models/export_parameters.rb +3 -3
- data/lib/VoucherifySdk/models/exports_create_request_body.rb +1 -1
- data/lib/VoucherifySdk/models/exports_create_request_body_parameters.rb +3 -3
- data/lib/VoucherifySdk/models/exports_create_response_body.rb +1 -1
- data/lib/VoucherifySdk/models/exports_create_response_body_parameters.rb +3 -3
- data/lib/VoucherifySdk/models/exports_get_response_body.rb +1 -1
- data/lib/VoucherifySdk/models/exports_get_response_body_parameters.rb +3 -3
- data/lib/VoucherifySdk/models/list_cursor.rb +221 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body.rb +258 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_custom_event_all.rb +211 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_custom_event_specific.rb +228 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_customer.rb +211 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_customer_custom_event.rb +252 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_customer_custom_event_all.rb +226 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_customer_custom_event_specific.rb +226 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_customer_order_paid.rb +226 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_customer_segment_entered.rb +217 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_member.rb +211 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_order.rb +262 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_order_item.rb +352 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_order_item_product.rb +232 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_order_item_sku.rb +232 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_trigger.rb +243 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_request_body_trigger_specific.rb +234 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body.rb +282 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_benefit_earning_rule_estimation.rb +245 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_benefit_estimation.rb +258 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_benefit_reference.rb +271 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_card_earning_rule_estimation.rb +256 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_card_estimation.rb +269 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_earning_rule_detail.rb +271 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_earning_rule_reference.rb +247 -0
- data/lib/VoucherifySdk/models/loyalties_examine_earning_rules_examine_response_body_membership.rb +280 -0
- data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_request_body.rb +235 -0
- data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_request_body_customer.rb +211 -0
- data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_request_body_member.rb +211 -0
- data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body.rb +278 -0
- data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_card_estimation.rb +265 -0
- data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_card_reward_estimation.rb +294 -0
- data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_membership.rb +281 -0
- data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_reward_cost.rb +247 -0
- data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_reward_detail.rb +293 -0
- data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_reward_reference.rb +247 -0
- data/lib/VoucherifySdk/models/loyalties_examine_rewards_examine_response_body_reward_unavailability_reason.rb +261 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_activities_list_request_query_filters_id.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_activities_list_request_query_filters_id_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_activities_list_request_query_filters_type.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_activities_list_request_query_filters_type_conditions.rb +272 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_benefits_transactions_list_request_query_benefit_id.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_benefits_transactions_list_request_query_benefit_id_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_cards_activities_list_request_query_filters_id.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_cards_activities_list_request_query_filters_id_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_cards_activities_list_request_query_filters_type.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_cards_activities_list_request_query_filters_type_conditions.rb +272 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_cards_reports_daily_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_cards_transactions_list_request_query_id.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_cards_transactions_list_request_query_id_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_list_request_query_customer_id.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_list_request_query_customer_id_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_list_request_query_id.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_list_request_query_id_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_list_request_query_status.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_list_request_query_status_conditions.rb +272 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_orders_payments_create_combined_response_body.rb +252 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_orders_payments_create_combined_response_body_transaction.rb +371 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_orders_payments_create_combined_response_body_transaction_details.rb +248 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_orders_payments_create_request_body_limit.rb +250 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_orders_payments_list_request_query_id.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_orders_payments_list_request_query_id_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_create_combined_response_body.rb +252 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_create_combined_response_body_transaction.rb +369 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_create_combined_response_body_transaction_details.rb +252 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_list_request_query_card_definition_id.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_list_request_query_card_definition_id_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_list_request_query_id.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_list_request_query_id_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_list_request_query_reward_id.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_rewards_purchases_list_request_query_reward_id_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_tiers_transactions_list_request_query_card_definition_id.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_tiers_transactions_list_request_query_card_definition_id_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_tiers_transactions_list_request_query_card_id.rb +209 -0
- data/lib/VoucherifySdk/models/loyalties_programs_members_tiers_transactions_list_request_query_card_id_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/loyalties_programs_reports_members_daily_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/loyalties_programs_reports_members_summary_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/loyalties_programs_reports_rewards_daily_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/loyalties_programs_reports_rewards_spendings_daily_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/loyalties_programs_reports_rewards_spendings_summary_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/loyalties_programs_reports_rewards_summary_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/loyalties_programs_reports_spending_daily_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/loyalties_programs_reports_spending_summary_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_benefit_points_proportional_applicable_to_product.rb +216 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_benefit_points_proportional_applicable_to_products_collection.rb +216 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_benefit_points_proportional_applicable_to_sku.rb +216 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_benefit_stock_limited.rb +220 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_card_definition_limit_time_based_period.rb +246 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_card_definition_limit_time_based_period_current_period.rb +234 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_earning_limits.rb +215 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_earning_limits_global.rb +257 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_effect_benefit.rb +216 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_effect_points_expiration_calendar_expiration_date.rb +241 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_effect_points_expiration_rolling_expiration_period.rb +250 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_effect_points_expiration_rolling_expiration_rounding.rb +255 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_effect_points_expiration_sliding_expiration_period.rb +250 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_error.rb +220 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_points_proportional_applicable_to_product.rb +216 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_points_proportional_applicable_to_products_collection.rb +216 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_points_proportional_applicable_to_sku.rb +216 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_points_proportional_every.rb +241 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_points_proportional_metadata.rb +257 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_tier_rules_any_of_entry.rb +234 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_trigger_custom_event.rb +216 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_trigger_limits_cooldown_fixed_cooldown_period.rb +250 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_trigger_segment.rb +216 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_earning_rule_validity_daily_hours.rb +244 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_cost_spending_response.rb +260 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_digital_discount_coupons.rb +216 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_digital_gift_vouchers_response.rb +227 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_digital_loyalty_card_points_response.rb +227 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_material_product.rb +216 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_material_sku.rb +233 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_purchase_limits_cooldown_fixed_cooldown_period.rb +250 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_purchase_limits_frequency_limit_triggers.rb +215 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_refunds.rb +234 -0
- data/lib/VoucherifySdk/models/loyalty_v2_activity_reward_validity_daily_hours_response.rb +234 -0
- data/lib/VoucherifySdk/models/loyalty_v2_card_points_bucket_simple.rb +272 -0
- data/lib/VoucherifySdk/models/loyalty_v2_card_points_bucket_simple_points.rb +210 -0
- data/lib/VoucherifySdk/models/lpm_ord_pay_ccrb_tx_details_metadata.rb +220 -0
- data/lib/VoucherifySdk/models/lpm_ord_pay_ccrb_tx_details_rejection.rb +219 -0
- data/lib/VoucherifySdk/models/lpm_ord_pay_ccrb_tx_details_rejection_details.rb +231 -0
- data/lib/VoucherifySdk/models/lpm_ord_pay_ccrb_tx_details_spending_cap.rb +257 -0
- data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_points.rb +209 -0
- data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_rejection.rb +222 -0
- data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_result.rb +239 -0
- data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_result_dig_lc_points.rb +231 -0
- data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_result_digital.rb +269 -0
- data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_result_material.rb +259 -0
- data/lib/VoucherifySdk/models/lpm_rew_purch_ccrb_tx_details_result_reward.rb +244 -0
- data/lib/VoucherifySdk/models/management_projects_metadata_schema_definition.rb +1 -0
- data/lib/VoucherifySdk/models/member.rb +333 -0
- data/lib/VoucherifySdk/models/member_card.rb +269 -0
- data/lib/VoucherifySdk/models/member_create.rb +257 -0
- data/lib/VoucherifySdk/models/member_tier_progress.rb +293 -0
- data/lib/VoucherifySdk/models/member_tier_progress_current.rb +239 -0
- data/lib/VoucherifySdk/models/member_tier_progress_deferred.rb +230 -0
- data/lib/VoucherifySdk/models/member_tier_progress_opportunity.rb +230 -0
- data/lib/VoucherifySdk/models/member_tier_progress_points.rb +232 -0
- data/lib/VoucherifySdk/models/member_tier_progress_risk.rb +254 -0
- data/lib/VoucherifySdk/models/member_tier_progress_tier.rb +227 -0
- data/lib/VoucherifySdk/models/member_tier_progress_tier_structure.rb +253 -0
- data/lib/VoucherifySdk/models/members_report_daily_entry.rb +291 -0
- data/lib/VoucherifySdk/models/members_report_summary_entry.rb +297 -0
- data/lib/VoucherifySdk/models/membership_card.rb +278 -0
- data/lib/VoucherifySdk/models/order_payment_limit_definition.rb +215 -0
- data/lib/VoucherifySdk/models/order_payment_order.rb +232 -0
- data/lib/VoucherifySdk/models/order_payment_payment_details.rb +243 -0
- data/lib/VoucherifySdk/models/order_payment_rejection.rb +221 -0
- data/lib/VoucherifySdk/models/order_payment_transaction.rb +372 -0
- data/lib/VoucherifySdk/models/order_payment_transaction_details.rb +249 -0
- data/lib/VoucherifySdk/models/order_payment_transaction_details_spending_cap.rb +258 -0
- data/lib/VoucherifySdk/models/parameter_filters_list_publications_parent_object_id.rb +1 -1
- data/lib/VoucherifySdk/models/parameter_filters_list_publications_related_object_id.rb +1 -1
- data/lib/VoucherifySdk/models/parameter_filters_list_publications_source_id.rb +1 -1
- data/lib/VoucherifySdk/models/points_earnings_report_daily_entry.rb +331 -0
- data/lib/VoucherifySdk/models/points_earnings_report_list_filters.rb +252 -0
- data/lib/VoucherifySdk/models/points_earnings_report_summary_entry.rb +337 -0
- data/lib/VoucherifySdk/models/product_collections_products_list_response_body.rb +1 -0
- data/lib/VoucherifySdk/models/program.rb +341 -0
- data/lib/VoucherifySdk/models/program_earning_rule_assignment.rb +264 -0
- data/lib/VoucherifySdk/models/program_list_cursor.rb +221 -0
- data/lib/VoucherifySdk/models/program_reward_assignment.rb +302 -0
- data/lib/VoucherifySdk/models/program_reward_assignment_stock.rb +243 -0
- data/lib/VoucherifySdk/models/program_reward_assignment_stock_limited.rb +220 -0
- data/lib/VoucherifySdk/models/program_simple.rb +288 -0
- data/lib/VoucherifySdk/models/program_tier_structure_assignment.rb +264 -0
- data/lib/VoucherifySdk/models/program_validity_daily_hours.rb +234 -0
- data/lib/VoucherifySdk/models/program_validity_hours.rb +247 -0
- data/lib/VoucherifySdk/models/promotion_tier_campaign.rb +1 -1
- data/lib/VoucherifySdk/models/promotions_tiers_create_response_body_campaign.rb +1 -1
- data/lib/VoucherifySdk/models/promotions_tiers_disable_response_body_campaign.rb +1 -1
- data/lib/VoucherifySdk/models/promotions_tiers_enable_response_body_campaign.rb +1 -1
- data/lib/VoucherifySdk/models/promotions_tiers_get_response_body_campaign.rb +1 -1
- data/lib/VoucherifySdk/models/promotions_tiers_update_response_body_campaign.rb +1 -1
- data/lib/VoucherifySdk/models/publications_list_response_body.rb +1 -1
- data/lib/VoucherifySdk/models/redemption_entry_promotion_tier_campaign.rb +1 -1
- data/lib/VoucherifySdk/models/redemption_reward_result_parameters_coin.rb +1 -1
- data/lib/VoucherifySdk/models/redemptions_get_response_body_promotion_tier_campaign.rb +1 -1
- data/lib/VoucherifySdk/models/redemptions_list_response_body_redemptions_item_promotion_tier_campaign.rb +1 -1
- data/lib/VoucherifySdk/models/redemptions_redeem_request_body.rb +11 -0
- data/lib/VoucherifySdk/models/redemptions_redeem_request_body_options.rb +28 -6
- data/lib/VoucherifySdk/models/referrals_members_holders_list_response_body.rb +1 -1
- data/lib/VoucherifySdk/models/report_card_definition_id_filter_conditions.rb +209 -0
- data/lib/VoucherifySdk/models/report_card_definition_id_filter_conditions_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/reward_cost_response.rb +271 -0
- data/lib/VoucherifySdk/models/reward_cost_tier_rules_any_of_entry_response.rb +234 -0
- data/lib/VoucherifySdk/models/reward_cost_tier_rules_response.rb +252 -0
- data/lib/VoucherifySdk/models/reward_digital_response.rb +261 -0
- data/lib/VoucherifySdk/models/reward_material_response.rb +252 -0
- data/lib/VoucherifySdk/models/reward_purchase_digital_coupon.rb +256 -0
- data/lib/VoucherifySdk/models/reward_purchase_digital_gift_voucher.rb +278 -0
- data/lib/VoucherifySdk/models/reward_purchase_limits.rb +231 -0
- data/lib/VoucherifySdk/models/reward_purchase_limits_cooldown.rb +243 -0
- data/lib/VoucherifySdk/models/reward_purchase_limits_cooldown_fixed_cooldown.rb +215 -0
- data/lib/VoucherifySdk/models/reward_purchase_limits_frequency.rb +247 -0
- data/lib/VoucherifySdk/models/reward_purchase_limits_frequency_limit.rb +268 -0
- data/lib/VoucherifySdk/models/reward_purchase_refund_policies.rb +247 -0
- data/lib/VoucherifySdk/models/reward_purchase_transaction.rb +371 -0
- data/lib/VoucherifySdk/models/reward_validity_hours_response.rb +247 -0
- data/lib/VoucherifySdk/models/rewards_create_request_body_parameters_coin.rb +1 -1
- data/lib/VoucherifySdk/models/rewards_report_daily_entry.rb +297 -0
- data/lib/VoucherifySdk/models/rewards_report_filter_reward_id_conditions.rb +209 -0
- data/lib/VoucherifySdk/models/rewards_report_filter_reward_id_conditions_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/rewards_report_list_filters.rb +243 -0
- data/lib/VoucherifySdk/models/rewards_report_summary_entry.rb +309 -0
- data/lib/VoucherifySdk/models/rewards_spendings_report_daily_entry.rb +337 -0
- data/lib/VoucherifySdk/models/rewards_spendings_report_filter_cost_id_conditions.rb +209 -0
- data/lib/VoucherifySdk/models/rewards_spendings_report_filter_cost_id_conditions_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/rewards_spendings_report_filter_spending_id_conditions.rb +209 -0
- data/lib/VoucherifySdk/models/rewards_spendings_report_filter_spending_id_conditions_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/rewards_spendings_report_list_filters.rb +270 -0
- data/lib/VoucherifySdk/models/rewards_spendings_report_summary_entry.rb +343 -0
- data/lib/VoucherifySdk/models/rewards_update_request_body_parameters_coin.rb +1 -1
- data/lib/VoucherifySdk/models/spending_report_daily_entry.rb +335 -0
- data/lib/VoucherifySdk/models/spending_report_list_filters.rb +243 -0
- data/lib/VoucherifySdk/models/spending_report_summary_entry.rb +335 -0
- data/lib/VoucherifySdk/models/tier_transaction.rb +377 -0
- data/lib/VoucherifySdk/models/tier_transaction_details.rb +272 -0
- data/lib/VoucherifySdk/models/tier_transaction_origin.rb +260 -0
- data/lib/VoucherifySdk/models/tier_transaction_rejection.rb +221 -0
- data/lib/VoucherifySdk/models/tiers_report_daily_entry.rb +336 -0
- data/lib/VoucherifySdk/models/tiers_report_filter_tier_id_conditions.rb +209 -0
- data/lib/VoucherifySdk/models/tiers_report_filter_tier_id_conditions_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/tiers_report_filter_tier_structure_id_conditions.rb +209 -0
- data/lib/VoucherifySdk/models/tiers_report_filter_tier_structure_id_conditions_conditions.rb +238 -0
- data/lib/VoucherifySdk/models/tiers_report_list_filters.rb +252 -0
- data/lib/VoucherifySdk/models/tiers_report_summary_entry.rb +342 -0
- data/lib/VoucherifySdk/models/transaction_filter_date_conditions.rb +209 -0
- data/lib/VoucherifySdk/models/transaction_filter_date_conditions_conditions.rb +268 -0
- data/lib/VoucherifySdk/models/v2_loyalties_benefits_get_response_body.rb +362 -0
- data/lib/VoucherifySdk/models/v2_loyalties_benefits_get_response_body_points.rb +237 -0
- data/lib/VoucherifySdk/models/v2_loyalties_benefits_get_response_body_points_proportional.rb +287 -0
- data/lib/VoucherifySdk/models/v2_loyalties_benefits_get_response_body_stock.rb +243 -0
- data/lib/VoucherifySdk/models/v2_loyalties_earning_rules_get_response_body.rb +430 -0
- data/lib/VoucherifySdk/models/v2_loyalties_earning_rules_get_response_body_trigger_limits.rb +217 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_earning_rules_list_response_body.rb +258 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_activate_response_body.rb +333 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_activities_list_request_query_filters.rb +261 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_activities_list_response_body.rb +258 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_benefits_transactions_list_request_query.rb +252 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_benefits_transactions_list_response_body.rb +259 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_benefits_transactions_list_response_body_cursor.rb +221 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_activities_list_request_query_filters.rb +261 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_activities_list_response_body.rb +258 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_expiring_points_expire_response_body.rb +267 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_expiring_points_list_request_query.rb +252 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_expiring_points_list_response_body.rb +258 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_pending_points_activate_response_body.rb +267 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_pending_points_cancel_response_body.rb +267 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_pending_points_list_request_query.rb +243 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_pending_points_list_response_body.rb +258 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_points_adjust_request_body.rb +236 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_points_adjust_response_body.rb +256 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_transactions_list_request_query.rb +261 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_cards_transactions_list_response_body.rb +258 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_create_in_bulk_response_body.rb +216 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_create_request_body.rb +257 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_create_response_body.rb +346 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_deactivate_response_body.rb +333 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_delete_response_body.rb +333 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_earning_rules_reports_daily_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_get_response_body.rb +346 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_list_request_query.rb +270 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_list_response_body.rb +258 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_orders_payments_create_request_body.rb +270 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_orders_payments_list_request_query.rb +261 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_orders_payments_list_response_body.rb +259 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_orders_payments_list_response_body_cursor.rb +221 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_rewards_purchases_create_request_body.rb +247 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_rewards_purchases_list_request_query.rb +270 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_rewards_purchases_list_response_body.rb +259 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_rewards_purchases_list_response_body_cursor.rb +221 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_tiers_transactions_list_request_query.rb +261 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_tiers_transactions_list_response_body.rb +258 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_update_request_body.rb +210 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_members_update_response_body.rb +333 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_memberships_get_response_body.rb +267 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_reports_earning_rules_daily_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_reports_earning_rules_summary_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_reports_points_earnings_daily_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_reports_points_earnings_summary_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_reports_tiers_daily_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_reports_tiers_summary_list_response_body.rb +249 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_rewards_list_response_body.rb +258 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_rewards_purchases_refund_request_body.rb +208 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_rewards_purchases_refund_response_body.rb +263 -0
- data/lib/VoucherifySdk/models/v2_loyalties_programs_tier_structures_list_response_body.rb +258 -0
- data/lib/VoucherifySdk/models/v2_loyalties_rewards_get_response_body.rb +424 -0
- data/lib/VoucherifySdk/models/validations_redeemable_skipped_result_details.rb +1 -1
- data/lib/VoucherifySdk/models/validations_validate_request_body.rb +11 -0
- data/lib/VoucherifySdk/models/validations_validate_request_body_options.rb +28 -6
- data/lib/VoucherifySdk/models/validations_validate_response_body.rb +1 -0
- data/lib/VoucherifySdk/models/vl_member_activity.rb +308 -0
- data/lib/VoucherifySdk/models/vl_member_activity_data.rb +249 -0
- data/lib/VoucherifySdk/version.rb +1 -1
- data/lib/VoucherifySdk.rb +366 -0
- metadata +767 -30
|
@@ -157,7 +157,7 @@ module VoucherifySdk
|
|
|
157
157
|
end
|
|
158
158
|
|
|
159
159
|
# Create Campaign
|
|
160
|
-
# Method to create a batch of vouchers aggregated in one campaign. You can choose a variety of voucher types and define a unique pattern for generating codes.
|
|
160
|
+
# Method to create a batch of vouchers aggregated in one campaign. You can choose a variety of voucher types and define a unique pattern for generating codes. <Note> <Badge color blue>Global uniqueness</Badge> All campaign codes are unique across the whole project. Voucherify will not allow you to generate 2 campaigns with the same coupon code. </Note> <Warning> <Badge color yellow>Code generation status</Badge> This is an asynchronous action; you cant read or modify a newly created campaign until the code generation is completed. See the creation_status field in the [campaign object](/api-reference/campaigns/campaign-object) description. </Warning>
|
|
161
161
|
# @param [Hash] opts the optional parameters
|
|
162
162
|
# @option opts [CampaignsCreateRequestBody] :campaigns_create_request_body Specify the details of the campaign that you would like to create.
|
|
163
163
|
# @return [CampaignsCreateResponseBody]
|
|
@@ -167,7 +167,7 @@ module VoucherifySdk
|
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
# Create Campaign
|
|
170
|
-
# Method to create a batch of vouchers aggregated in one campaign. You can choose a variety of voucher types and define a unique pattern for generating codes.
|
|
170
|
+
# Method to create a batch of vouchers aggregated in one campaign. You can choose a variety of voucher types and define a unique pattern for generating codes. <Note> <Badge color blue>Global uniqueness</Badge> All campaign codes are unique across the whole project. Voucherify will not allow you to generate 2 campaigns with the same coupon code. </Note> <Warning> <Badge color yellow>Code generation status</Badge> This is an asynchronous action; you cant read or modify a newly created campaign until the code generation is completed. See the creation_status field in the [campaign object](/api-reference/campaigns/campaign-object) description. </Warning>
|
|
171
171
|
# @param [Hash] opts the optional parameters
|
|
172
172
|
# @option opts [CampaignsCreateRequestBody] :campaigns_create_request_body Specify the details of the campaign that you would like to create.
|
|
173
173
|
# @return [Array<(CampaignsCreateResponseBody, Integer, Hash)>] CampaignsCreateResponseBody data, response status code and response headers
|
|
@@ -283,7 +283,7 @@ module VoucherifySdk
|
|
|
283
283
|
end
|
|
284
284
|
|
|
285
285
|
# Disable Campaign
|
|
286
|
-
#
|
|
286
|
+
# Sets campaign state to **inactive**. The vouchers in this campaign can no longer be redeemed.
|
|
287
287
|
# @param campaign_id [String] The campaign ID or name of the campaign being disabled. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
288
288
|
# @param [Hash] opts the optional parameters
|
|
289
289
|
# @return [Object]
|
|
@@ -293,7 +293,7 @@ module VoucherifySdk
|
|
|
293
293
|
end
|
|
294
294
|
|
|
295
295
|
# Disable Campaign
|
|
296
|
-
#
|
|
296
|
+
# Sets campaign state to **inactive**. The vouchers in this campaign can no longer be redeemed.
|
|
297
297
|
# @param campaign_id [String] The campaign ID or name of the campaign being disabled. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
298
298
|
# @param [Hash] opts the optional parameters
|
|
299
299
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
@@ -342,7 +342,7 @@ module VoucherifySdk
|
|
|
342
342
|
end
|
|
343
343
|
|
|
344
344
|
# Enable Campaign
|
|
345
|
-
#
|
|
345
|
+
# Sets campaign state to **active**. The vouchers in this campaign can be redeemed - only if the redemption occurs after the start date of the campaign and voucher and the voucher and campaign are not expired.
|
|
346
346
|
# @param campaign_id [String] The campaign ID or name of the campaign being enabled. You can either pass the campaign ID, which was assigned by Voucherify or the name of the campaign as the path parameter value.
|
|
347
347
|
# @param [Hash] opts the optional parameters
|
|
348
348
|
# @return [Object]
|
|
@@ -352,7 +352,7 @@ module VoucherifySdk
|
|
|
352
352
|
end
|
|
353
353
|
|
|
354
354
|
# Enable Campaign
|
|
355
|
-
#
|
|
355
|
+
# Sets campaign state to **active**. The vouchers in this campaign can be redeemed - only if the redemption occurs after the start date of the campaign and voucher and the voucher and campaign are not expired.
|
|
356
356
|
# @param campaign_id [String] The campaign ID or name of the campaign being enabled. You can either pass the campaign ID, which was assigned by Voucherify or the name of the campaign as the path parameter value.
|
|
357
357
|
# @param [Hash] opts the optional parameters
|
|
358
358
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
@@ -401,7 +401,7 @@ module VoucherifySdk
|
|
|
401
401
|
end
|
|
402
402
|
|
|
403
403
|
# Export Campaign Transactions
|
|
404
|
-
# Export transactions is an asynchronous process that generates a CSV file with the data about credit movements on all gift cards or point movements on all loyalty cards in a given campaign. To export transactions: 1. In the export request, use parameters to select which fields will be exported, in what order, and which data will be filtered. 2. Use the returned id to track the export status with the [GET Export](/api-reference/exports/get-export) method. 3. In the GET Export method, when the returned status field has the DONE value, the export file has been generated. 4. Use the URL in the result property to download the file. You must be logged to your Voucherify account on a given cluster in the browser to be able to download the file. An export request will almost always result in a single file being generated by the system. However, when the data volume is large, the system may split the results into multiple files. An example export file can look as follows:
|
|
404
|
+
# Export transactions is an asynchronous process that generates a CSV file with the data about credit movements on all gift cards or point movements on all loyalty cards in a given campaign. To export transactions: 1. In the export request, use parameters to select which fields will be exported, in what order, and which data will be filtered. 2. Use the returned id to track the export status with the [GET Export](/api-reference/exports/get-export) method. 3. In the GET Export method, when the returned status field has the DONE value, the export file has been generated. 4. Use the URL in the result property to download the file. You must be logged to your Voucherify account on a given cluster in the browser to be able to download the file. An export request will almost always result in a single file being generated by the system. However, when the data volume is large, the system may split the results into multiple files. An example export file can look as follows: <Tip> <Badge color green>Export Loyalty Campaign Transactions</Badge> For loyalty campaigns, this method works in the same way the [POST Export Loyalty Campaign Transactions](/api-reference/loyalties/export-loyalty-campaign-transactions) does. </Tip>
|
|
405
405
|
# @param campaign_id [String] You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
406
406
|
# @param [Hash] opts the optional parameters
|
|
407
407
|
# @option opts [CampaignsTransactionsExportCreateRequestBody] :campaigns_transactions_export_create_request_body Specify the parameters for the transaction export.
|
|
@@ -412,7 +412,7 @@ module VoucherifySdk
|
|
|
412
412
|
end
|
|
413
413
|
|
|
414
414
|
# Export Campaign Transactions
|
|
415
|
-
# Export transactions is an asynchronous process that generates a CSV file with the data about credit movements on all gift cards or point movements on all loyalty cards in a given campaign. To export transactions: 1. In the export request, use parameters to select which fields will be exported, in what order, and which data will be filtered. 2. Use the returned id to track the export status with the [GET Export](/api-reference/exports/get-export) method. 3. In the GET Export method, when the returned status field has the DONE value, the export file has been generated. 4. Use the URL in the result property to download the file. You must be logged to your Voucherify account on a given cluster in the browser to be able to download the file. An export request will almost always result in a single file being generated by the system. However, when the data volume is large, the system may split the results into multiple files. An example export file can look as follows:
|
|
415
|
+
# Export transactions is an asynchronous process that generates a CSV file with the data about credit movements on all gift cards or point movements on all loyalty cards in a given campaign. To export transactions: 1. In the export request, use parameters to select which fields will be exported, in what order, and which data will be filtered. 2. Use the returned id to track the export status with the [GET Export](/api-reference/exports/get-export) method. 3. In the GET Export method, when the returned status field has the DONE value, the export file has been generated. 4. Use the URL in the result property to download the file. You must be logged to your Voucherify account on a given cluster in the browser to be able to download the file. An export request will almost always result in a single file being generated by the system. However, when the data volume is large, the system may split the results into multiple files. An example export file can look as follows: <Tip> <Badge color green>Export Loyalty Campaign Transactions</Badge> For loyalty campaigns, this method works in the same way the [POST Export Loyalty Campaign Transactions](/api-reference/loyalties/export-loyalty-campaign-transactions) does. </Tip>
|
|
416
416
|
# @param campaign_id [String] You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
417
417
|
# @param [Hash] opts the optional parameters
|
|
418
418
|
# @option opts [CampaignsTransactionsExportCreateRequestBody] :campaigns_transactions_export_create_request_body Specify the parameters for the transaction export.
|
|
@@ -526,7 +526,7 @@ module VoucherifySdk
|
|
|
526
526
|
end
|
|
527
527
|
|
|
528
528
|
# Get Campaign Summary
|
|
529
|
-
# Returns data for campaign analytics, covering validations, redemptions, publications, and other details specific to a given campaign type. Use start_date and end_date to narrow down the data to specific periods.
|
|
529
|
+
# Returns data for campaign analytics, covering validations, redemptions, publications, and other details specific to a given campaign type. Use start_date and end_date to narrow down the data to specific periods. <Warning> <Badge color yellow>Campaigns created before 17 June 2025</Badge> This endpoint returns analytics data for campaigns that were created after 17 June 2025. Older campaigns return empty data. </Warning>
|
|
530
530
|
# @param campaign_id [String] You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
531
531
|
# @param [Hash] opts the optional parameters
|
|
532
532
|
# @option opts [Date] :start_date Timestamp representing the date which results must begin on. Represented in ISO 8601 format.
|
|
@@ -538,7 +538,7 @@ module VoucherifySdk
|
|
|
538
538
|
end
|
|
539
539
|
|
|
540
540
|
# Get Campaign Summary
|
|
541
|
-
# Returns data for campaign analytics, covering validations, redemptions, publications, and other details specific to a given campaign type. Use start_date and end_date to narrow down the data to specific periods.
|
|
541
|
+
# Returns data for campaign analytics, covering validations, redemptions, publications, and other details specific to a given campaign type. Use start_date and end_date to narrow down the data to specific periods. <Warning> <Badge color yellow>Campaigns created before 17 June 2025</Badge> This endpoint returns analytics data for campaigns that were created after 17 June 2025. Older campaigns return empty data. </Warning>
|
|
542
542
|
# @param campaign_id [String] You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
543
543
|
# @param [Hash] opts the optional parameters
|
|
544
544
|
# @option opts [Date] :start_date Timestamp representing the date which results must begin on. Represented in ISO 8601 format.
|
|
@@ -724,7 +724,7 @@ module VoucherifySdk
|
|
|
724
724
|
end
|
|
725
725
|
|
|
726
726
|
# List Campaign Transactions
|
|
727
|
-
# Retrieves all transactions for the campaign with the given campaign ID or campaign name. The id filter denotes the unique transaction identifier.
|
|
727
|
+
# Retrieves all transactions for the campaign with the given campaign ID or campaign name. The id filter denotes the unique transaction identifier. <Warning> The endpoint works only for gift card and loyalty campaigns. </Warning>
|
|
728
728
|
# @param campaign_id [String] You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
729
729
|
# @param [Hash] opts the optional parameters
|
|
730
730
|
# @option opts [Integer] :limit Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
|
|
@@ -738,7 +738,7 @@ module VoucherifySdk
|
|
|
738
738
|
end
|
|
739
739
|
|
|
740
740
|
# List Campaign Transactions
|
|
741
|
-
# Retrieves all transactions for the campaign with the given campaign ID or campaign name. The id filter denotes the unique transaction identifier.
|
|
741
|
+
# Retrieves all transactions for the campaign with the given campaign ID or campaign name. The id filter denotes the unique transaction identifier. <Warning> The endpoint works only for gift card and loyalty campaigns. </Warning>
|
|
742
742
|
# @param campaign_id [String] You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
743
743
|
# @param [Hash] opts the optional parameters
|
|
744
744
|
# @option opts [Integer] :limit Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
|
|
@@ -870,7 +870,7 @@ module VoucherifySdk
|
|
|
870
870
|
end
|
|
871
871
|
|
|
872
872
|
# Update Campaign
|
|
873
|
-
# Updates the specified campaign by setting the values of the parameters passed in the request body. Any parameters not provided in the payload will be left unchanged. Fields other than the ones listed in the request body wont be modified. Even if provided, they will be silently skipped.
|
|
873
|
+
# Updates the specified campaign by setting the values of the parameters passed in the request body. Any parameters not provided in the payload will be left unchanged. Fields other than the ones listed in the request body wont be modified. Even if provided, they will be silently skipped. <Warning> <Badge color yellow>Vouchers will be affected</Badge> This method will update vouchers aggregated in the campaign. It will affect all vouchers that are not published or redeemed yet. </Warning>
|
|
874
874
|
# @param campaign_id [String] You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
875
875
|
# @param [Hash] opts the optional parameters
|
|
876
876
|
# @option opts [CampaignsUpdateRequestBody] :campaigns_update_request_body Specify the campaign parameters to be updated.
|
|
@@ -881,7 +881,7 @@ module VoucherifySdk
|
|
|
881
881
|
end
|
|
882
882
|
|
|
883
883
|
# Update Campaign
|
|
884
|
-
# Updates the specified campaign by setting the values of the parameters passed in the request body. Any parameters not provided in the payload will be left unchanged. Fields other than the ones listed in the request body wont be modified. Even if provided, they will be silently skipped.
|
|
884
|
+
# Updates the specified campaign by setting the values of the parameters passed in the request body. Any parameters not provided in the payload will be left unchanged. Fields other than the ones listed in the request body wont be modified. Even if provided, they will be silently skipped. <Warning> <Badge color yellow>Vouchers will be affected</Badge> This method will update vouchers aggregated in the campaign. It will affect all vouchers that are not published or redeemed yet. </Warning>
|
|
885
885
|
# @param campaign_id [String] You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
886
886
|
# @param [Hash] opts the optional parameters
|
|
887
887
|
# @option opts [CampaignsUpdateRequestBody] :campaigns_update_request_body Specify the campaign parameters to be updated.
|
|
@@ -20,7 +20,7 @@ module VoucherifySdk
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Check Eligibility (client-side)
|
|
23
|
-
# Generate a list of redeemables that are applicable in the context of the customer and order. The new qualifications method is an improved version of [Campaign Qualifications](/api-reference/campaigns/examine-campaign-qualification), [Voucher Qualifications](/api-reference/vouchers/examine-voucher-qualification) API requests. The new qualification method introduces the following improvements: - Qualification results are returned faster - No limit on the number of returned redeemables - Introduces new qualification scenarios, not available in the previous version
|
|
23
|
+
# Generate a list of redeemables that are applicable in the context of the customer and order. The new qualifications method is an improved version of [Campaign Qualifications](/api-reference/campaigns/examine-campaign-qualification), [Voucher Qualifications](/api-reference/vouchers/examine-voucher-qualification) API requests. The new qualification method introduces the following improvements: - Qualification results are returned faster - No limit on the number of returned redeemables - Introduces new qualification scenarios, not available in the previous version <Tip> <Badge color green>Scenario Guide</Badge> Read our dedicated guide to learn about some use cases this endpoint can cover [here](/guides/checking-eligibility). </Tip> # Paging The Voucherify Qualifications API request will return to you all of the redeemables available for the customer in batches of up to 50 redeemables per page. To get the next batch of redeemables, you need to use the starting_after cursor. To process of paging the redeemables works in the following manner: - You send the first API request for Qualifications without the starting_after parameter. - The response will contain a parameter named has_more. If the parameters value is set to true, then more redeemables are available. - Get the value of the created_at parameter of the last returned redeemable. The value of this parameter will be used as a cursor to retrieve the next page of redeemables. - Send another API request for Qualification with the starting_after parameter set to the value taken from the created_at parameter from the last returned redeemable. - Voucherify will return the next page of redeemables. - If the has_more parameter is set to true, apply steps 3-5 to get the next page of redeemables. # Caching Qualification has a 5-minute cache for the returned results. If you change your campaign settings or validation rules, the changes will apply to qualification results after the cache refreshes.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [ClientQualificationsCheckEligibilityRequestBody] :client_qualifications_check_eligibility_request_body Define order and customer context.
|
|
26
26
|
# @return [ClientQualificationsCheckEligibilityResponseBody]
|
|
@@ -30,7 +30,7 @@ module VoucherifySdk
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
# Check Eligibility (client-side)
|
|
33
|
-
# Generate a list of redeemables that are applicable in the context of the customer and order. The new qualifications method is an improved version of [Campaign Qualifications](/api-reference/campaigns/examine-campaign-qualification), [Voucher Qualifications](/api-reference/vouchers/examine-voucher-qualification) API requests. The new qualification method introduces the following improvements: - Qualification results are returned faster - No limit on the number of returned redeemables - Introduces new qualification scenarios, not available in the previous version
|
|
33
|
+
# Generate a list of redeemables that are applicable in the context of the customer and order. The new qualifications method is an improved version of [Campaign Qualifications](/api-reference/campaigns/examine-campaign-qualification), [Voucher Qualifications](/api-reference/vouchers/examine-voucher-qualification) API requests. The new qualification method introduces the following improvements: - Qualification results are returned faster - No limit on the number of returned redeemables - Introduces new qualification scenarios, not available in the previous version <Tip> <Badge color green>Scenario Guide</Badge> Read our dedicated guide to learn about some use cases this endpoint can cover [here](/guides/checking-eligibility). </Tip> # Paging The Voucherify Qualifications API request will return to you all of the redeemables available for the customer in batches of up to 50 redeemables per page. To get the next batch of redeemables, you need to use the starting_after cursor. To process of paging the redeemables works in the following manner: - You send the first API request for Qualifications without the starting_after parameter. - The response will contain a parameter named has_more. If the parameters value is set to true, then more redeemables are available. - Get the value of the created_at parameter of the last returned redeemable. The value of this parameter will be used as a cursor to retrieve the next page of redeemables. - Send another API request for Qualification with the starting_after parameter set to the value taken from the created_at parameter from the last returned redeemable. - Voucherify will return the next page of redeemables. - If the has_more parameter is set to true, apply steps 3-5 to get the next page of redeemables. # Caching Qualification has a 5-minute cache for the returned results. If you change your campaign settings or validation rules, the changes will apply to qualification results after the cache refreshes.
|
|
34
34
|
# @param [Hash] opts the optional parameters
|
|
35
35
|
# @option opts [ClientQualificationsCheckEligibilityRequestBody] :client_qualifications_check_eligibility_request_body Define order and customer context.
|
|
36
36
|
# @return [Array<(ClientQualificationsCheckEligibilityResponseBody, Integer, Hash)>] ClientQualificationsCheckEligibilityResponseBody data, response status code and response headers
|
|
@@ -156,7 +156,7 @@ module VoucherifySdk
|
|
|
156
156
|
end
|
|
157
157
|
|
|
158
158
|
# Redeem Stackable Discounts (client-side)
|
|
159
|
-
# This method is accessible through public keys which you can use in client side requests coming from mobile and web browser applications. # How API returns calculated discounts and order amounts in the response In the table below, you can see the logic the API follows to calculate discounts and amounts:
|
|
159
|
+
# This method is accessible through public keys which you can use in client side requests coming from mobile and web browser applications. # How API returns calculated discounts and order amounts in the response In the table below, you can see the logic the API follows to calculate discounts and amounts: <Note> <Badge color blue>Rollbacks</Badge> You cant roll back a child redemption. When you call rollback on a stacked redemption, all child redemptions will be rolled back. You need to refer to a parent redemption ID in your [rollback request](/api-reference/redemptions/rollback-stackable-redemptions). </Note>
|
|
160
160
|
# @param origin [String] Indicates the origin (scheme, hostname, and port).
|
|
161
161
|
# @param [Hash] opts the optional parameters
|
|
162
162
|
# @option opts [ClientRedemptionsRedeemRequestBody] :client_redemptions_redeem_request_body
|
|
@@ -167,7 +167,7 @@ module VoucherifySdk
|
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
# Redeem Stackable Discounts (client-side)
|
|
170
|
-
# This method is accessible through public keys which you can use in client side requests coming from mobile and web browser applications. # How API returns calculated discounts and order amounts in the response In the table below, you can see the logic the API follows to calculate discounts and amounts:
|
|
170
|
+
# This method is accessible through public keys which you can use in client side requests coming from mobile and web browser applications. # How API returns calculated discounts and order amounts in the response In the table below, you can see the logic the API follows to calculate discounts and amounts: <Note> <Badge color blue>Rollbacks</Badge> You cant roll back a child redemption. When you call rollback on a stacked redemption, all child redemptions will be rolled back. You need to refer to a parent redemption ID in your [rollback request](/api-reference/redemptions/rollback-stackable-redemptions). </Note>
|
|
171
171
|
# @param origin [String] Indicates the origin (scheme, hostname, and port).
|
|
172
172
|
# @param [Hash] opts the optional parameters
|
|
173
173
|
# @option opts [ClientRedemptionsRedeemRequestBody] :client_redemptions_redeem_request_body
|
|
@@ -20,7 +20,7 @@ module VoucherifySdk
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Create Customer
|
|
23
|
-
# Creates a customer object.
|
|
23
|
+
# Creates a customer object. <Note> <Badge color blue>Upsert Mode</Badge> If you pass an id or a source_id that already exists in the customer database, Voucherify will return a related customer object with updated fields. </Note>
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [CustomersCreateRequestBody] :customers_create_request_body Create a customer with specified parameters.
|
|
26
26
|
# @return [CustomersCreateResponseBody]
|
|
@@ -30,7 +30,7 @@ module VoucherifySdk
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
# Create Customer
|
|
33
|
-
# Creates a customer object.
|
|
33
|
+
# Creates a customer object. <Note> <Badge color blue>Upsert Mode</Badge> If you pass an id or a source_id that already exists in the customer database, Voucherify will return a related customer object with updated fields. </Note>
|
|
34
34
|
# @param [Hash] opts the optional parameters
|
|
35
35
|
# @option opts [CustomersCreateRequestBody] :customers_create_request_body Create a customer with specified parameters.
|
|
36
36
|
# @return [Array<(CustomersCreateResponseBody, Integer, Hash)>] CustomersCreateResponseBody data, response status code and response headers
|
|
@@ -84,7 +84,7 @@ module VoucherifySdk
|
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
# Delete Customer Permanently
|
|
87
|
-
# The organization user can remove
|
|
87
|
+
# The organization user can remove customer data permanently from the Voucherify system by using this API method. It deletes all customer data and connected resources. It makes the customer profile forgotten by Voucherify as per the GDPR.
|
|
88
88
|
# @param customer_id [String] A Voucherify customers id or source_id.
|
|
89
89
|
# @param [Hash] opts the optional parameters
|
|
90
90
|
# @return [CustomersPermanentDeletionCreateResponseBody]
|
|
@@ -94,7 +94,7 @@ module VoucherifySdk
|
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
# Delete Customer Permanently
|
|
97
|
-
# The organization user can remove
|
|
97
|
+
# The organization user can remove customer data permanently from the Voucherify system by using this API method. It deletes all customer data and connected resources. It makes the customer profile forgotten by Voucherify as per the GDPR.
|
|
98
98
|
# @param customer_id [String] A Voucherify customers id or source_id.
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
|
100
100
|
# @return [Array<(CustomersPermanentDeletionCreateResponseBody, Integer, Hash)>] CustomersPermanentDeletionCreateResponseBody data, response status code and response headers
|
|
@@ -143,7 +143,7 @@ module VoucherifySdk
|
|
|
143
143
|
end
|
|
144
144
|
|
|
145
145
|
# Delete Customer
|
|
146
|
-
# This method deletes a customer.
|
|
146
|
+
# This method deletes a customer. The customer is permanently deleted. This means that a new customer with the same source_id can be created. <Note> <Badge color blue>GDPR compliance</Badge> This method does NOT delete all related data, including personal data, from Voucherify databases. To delete these records and fulfil the right to be forgotten in the sense of the GDPR, use the [Delete Customer Permanently](/api-reference/customers/delete-customer-permanently) endpoint or go to [Delete people data](/manage/team-settings#delete-people-data) in the Voucherify [Team settings](/manage/team-settings). </Note>
|
|
147
147
|
# @param customer_id [String] A Voucherify customers id or source_id.
|
|
148
148
|
# @param [Hash] opts the optional parameters
|
|
149
149
|
# @return [nil]
|
|
@@ -153,7 +153,7 @@ module VoucherifySdk
|
|
|
153
153
|
end
|
|
154
154
|
|
|
155
155
|
# Delete Customer
|
|
156
|
-
# This method deletes a customer.
|
|
156
|
+
# This method deletes a customer. The customer is permanently deleted. This means that a new customer with the same source_id can be created. <Note> <Badge color blue>GDPR compliance</Badge> This method does NOT delete all related data, including personal data, from Voucherify databases. To delete these records and fulfil the right to be forgotten in the sense of the GDPR, use the [Delete Customer Permanently](/api-reference/customers/delete-customer-permanently) endpoint or go to [Delete people data](/manage/team-settings#delete-people-data) in the Voucherify [Team settings](/manage/team-settings). </Note>
|
|
157
157
|
# @param customer_id [String] A Voucherify customers id or source_id.
|
|
158
158
|
# @param [Hash] opts the optional parameters
|
|
159
159
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -259,7 +259,7 @@ module VoucherifySdk
|
|
|
259
259
|
end
|
|
260
260
|
|
|
261
261
|
# Import and Update Customers using CSV
|
|
262
|
-
# This API method lets you import or update customer data. To get a proper and valid response, please send a CSV file with data separated by commas. # Request Example # CSV File Format The CSV file has to include headers in the first line. All properties which cannot be mapped to standard customer fields will be added to the metadata object.
|
|
262
|
+
# This API method lets you import or update customer data. To get a proper and valid response, please send a CSV file with data separated by commas. # Request Example # CSV File Format The CSV file has to include headers in the first line. All properties which cannot be mapped to standard customer fields will be added to the metadata object. <Note> <Badge color blue>Standard customer fields mapping</Badge> **No spaces allowed in field names** Id, Name, Email, Phone, Birthdate, Source_id, Address_line_1, Address_line_2, Address_Postal_Code, Address_City, Address_State, Address_Country, Description, Metadata_name_1, Metadata_name_2 </Note> # Update Customers using CSV If you would like to update customers data, you can do it using the CSV file with new data. However, remember to include a source_id in your CSV file to manage the update successfully. This API request starts a process that affects Voucherify data in bulk. In case of small jobs (like bulk update) the request is put into a queue and processed once every other bulk request placed in the queue prior to this request is finished. However, when the job takes a longer time (like vouchers generation) then it is processed in small portions in a round-robin fashion. When there is a list of vouchers generation scheduled, then they will all have the IN_PROGRESS status shortly. This way, small jobs added just after scheduling big jobs of the same type will be processed in a short time window. The result will return the async ID. You can verify the status of your request via this [API request](/api-reference/async-actions/get-async-action).
|
|
263
263
|
# @param [Hash] opts the optional parameters
|
|
264
264
|
# @option opts [File] :file File path.
|
|
265
265
|
# @return [CustomersImportCsvCreateResponseBody]
|
|
@@ -269,7 +269,7 @@ module VoucherifySdk
|
|
|
269
269
|
end
|
|
270
270
|
|
|
271
271
|
# Import and Update Customers using CSV
|
|
272
|
-
# This API method lets you import or update customer data. To get a proper and valid response, please send a CSV file with data separated by commas. # Request Example # CSV File Format The CSV file has to include headers in the first line. All properties which cannot be mapped to standard customer fields will be added to the metadata object.
|
|
272
|
+
# This API method lets you import or update customer data. To get a proper and valid response, please send a CSV file with data separated by commas. # Request Example # CSV File Format The CSV file has to include headers in the first line. All properties which cannot be mapped to standard customer fields will be added to the metadata object. <Note> <Badge color blue>Standard customer fields mapping</Badge> **No spaces allowed in field names** Id, Name, Email, Phone, Birthdate, Source_id, Address_line_1, Address_line_2, Address_Postal_Code, Address_City, Address_State, Address_Country, Description, Metadata_name_1, Metadata_name_2 </Note> # Update Customers using CSV If you would like to update customers data, you can do it using the CSV file with new data. However, remember to include a source_id in your CSV file to manage the update successfully. This API request starts a process that affects Voucherify data in bulk. In case of small jobs (like bulk update) the request is put into a queue and processed once every other bulk request placed in the queue prior to this request is finished. However, when the job takes a longer time (like vouchers generation) then it is processed in small portions in a round-robin fashion. When there is a list of vouchers generation scheduled, then they will all have the IN_PROGRESS status shortly. This way, small jobs added just after scheduling big jobs of the same type will be processed in a short time window. The result will return the async ID. You can verify the status of your request via this [API request](/api-reference/async-actions/get-async-action).
|
|
273
273
|
# @param [Hash] opts the optional parameters
|
|
274
274
|
# @option opts [File] :file File path.
|
|
275
275
|
# @return [Array<(CustomersImportCsvCreateResponseBody, Integer, Hash)>] CustomersImportCsvCreateResponseBody data, response status code and response headers
|
|
@@ -324,7 +324,7 @@ module VoucherifySdk
|
|
|
324
324
|
end
|
|
325
325
|
|
|
326
326
|
# List Customer Activities
|
|
327
|
-
# >
|
|
327
|
+
# <Danger> <Badge color red>Deprecated</Badge> This endpoint represents the deprecated version of the API responsible for listing customer activities and we do not recommend using it. Developers are encouraged to migrate to the latest version to take advantage of the latest enhancements and bug fixes. No updates will be provided to the deprecated endpoint. </Danger> Retrieve customer activities.
|
|
328
328
|
# @param customer_id [String] A Voucherify customers id or source ID of the customer who performed the activities.
|
|
329
329
|
# @param [Hash] opts the optional parameters
|
|
330
330
|
# @option opts [Integer] :limit Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
|
|
@@ -343,7 +343,7 @@ module VoucherifySdk
|
|
|
343
343
|
end
|
|
344
344
|
|
|
345
345
|
# List Customer Activities
|
|
346
|
-
# >
|
|
346
|
+
# <Danger> <Badge color red>Deprecated</Badge> This endpoint represents the deprecated version of the API responsible for listing customer activities and we do not recommend using it. Developers are encouraged to migrate to the latest version to take advantage of the latest enhancements and bug fixes. No updates will be provided to the deprecated endpoint. </Danger> Retrieve customer activities.
|
|
347
347
|
# @param customer_id [String] A Voucherify customers id or source ID of the customer who performed the activities.
|
|
348
348
|
# @param [Hash] opts the optional parameters
|
|
349
349
|
# @option opts [Integer] :limit Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
|
|
@@ -640,6 +640,7 @@ module VoucherifySdk
|
|
|
640
640
|
# @option opts [Time] :updated_at_after Filter customers by date customer was updated last time.
|
|
641
641
|
# @option opts [ParameterOrderListCustomers] :order This is a property that controls the sorting direction of the results. Sort the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
|
|
642
642
|
# @option opts [Time] :starting_after A cursor for pagination. This is a date-time value that defines your place in the list based on created_at property from the customer object. For instance, if you make a list request and receive 100 objects, ending with an object created at 2020-05-24T13:43:09.024Z, your subsequent call can include starting_after 2020-05-24T13:43:09.024Z in order to fetch the next page of the list.
|
|
643
|
+
# @option opts [Object] :filters Filters customers by field conditions. Read [Advanced filters for fetching resources](/api-reference/listing#advanced-filters-for-fetching-resources) for examples.
|
|
643
644
|
# @return [CustomersListResponseBody]
|
|
644
645
|
def list_customers(opts = {})
|
|
645
646
|
data, _status_code, _headers = list_customers_with_http_info(opts)
|
|
@@ -661,6 +662,7 @@ module VoucherifySdk
|
|
|
661
662
|
# @option opts [Time] :updated_at_after Filter customers by date customer was updated last time.
|
|
662
663
|
# @option opts [ParameterOrderListCustomers] :order This is a property that controls the sorting direction of the results. Sort the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
|
|
663
664
|
# @option opts [Time] :starting_after A cursor for pagination. This is a date-time value that defines your place in the list based on created_at property from the customer object. For instance, if you make a list request and receive 100 objects, ending with an object created at 2020-05-24T13:43:09.024Z, your subsequent call can include starting_after 2020-05-24T13:43:09.024Z in order to fetch the next page of the list.
|
|
665
|
+
# @option opts [Object] :filters Filters customers by field conditions. Read [Advanced filters for fetching resources](/api-reference/listing#advanced-filters-for-fetching-resources) for examples.
|
|
664
666
|
# @return [Array<(CustomersListResponseBody, Integer, Hash)>] CustomersListResponseBody data, response status code and response headers
|
|
665
667
|
private def list_customers_with_http_info(opts = {})
|
|
666
668
|
if @api_client.config.debugging
|
|
@@ -683,6 +685,7 @@ module VoucherifySdk
|
|
|
683
685
|
query_params[:'updated_at[after]'] = opts[:'updated_at_after'] if !opts[:'updated_at_after'].nil?
|
|
684
686
|
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
|
685
687
|
query_params[:'starting_after'] = opts[:'starting_after'] if !opts[:'starting_after'].nil?
|
|
688
|
+
query_params[:'filters'] = opts[:'filters'] if !opts[:'filters'].nil?
|
|
686
689
|
|
|
687
690
|
# header parameters
|
|
688
691
|
header_params = opts[:header_params] || {}
|
|
@@ -20,7 +20,7 @@ module VoucherifySdk
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Create Export
|
|
23
|
-
# Create export object. The export can be any of the following types: voucher, redemption, publication, customer, order, points_expiration, voucher_transactions, product, or sku. # Defaults If you only specify the object type in the request body without specifying the fields, the API will return the following fields per export object:
|
|
23
|
+
# Create export object. The export can be any of the following types: voucher, redemption, publication, customer, order, points_expiration, voucher_transactions, product, or sku. # Defaults If you only specify the object type in the request body without specifying the fields, the API will return the following fields per export object: <Note> <Badge color blue>Date and time in the export API</Badge> The exported date and times are always provided in the UTC time zone. </Note> # Fetching particular data sets Using the parameters body parameter, you can narrow down which fields to export and how to filter the results. The fields are an array of strings containing the data that you would like to export. These fields define the headers in the CSV file. The array can be a combination of any of the following available fields: # Orders # Vouchers # Publications # Redemptions # Customers # Points Expirations # Gift Card Transactions # Loyalty Card Transactions # Products # SKUs
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [ExportsCreateRequestBody] :exports_create_request_body Specify the details of the export that you would like to create.
|
|
26
26
|
# @return [ExportsCreateResponseBody]
|
|
@@ -30,7 +30,7 @@ module VoucherifySdk
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
# Create Export
|
|
33
|
-
# Create export object. The export can be any of the following types: voucher, redemption, publication, customer, order, points_expiration, voucher_transactions, product, or sku. # Defaults If you only specify the object type in the request body without specifying the fields, the API will return the following fields per export object:
|
|
33
|
+
# Create export object. The export can be any of the following types: voucher, redemption, publication, customer, order, points_expiration, voucher_transactions, product, or sku. # Defaults If you only specify the object type in the request body without specifying the fields, the API will return the following fields per export object: <Note> <Badge color blue>Date and time in the export API</Badge> The exported date and times are always provided in the UTC time zone. </Note> # Fetching particular data sets Using the parameters body parameter, you can narrow down which fields to export and how to filter the results. The fields are an array of strings containing the data that you would like to export. These fields define the headers in the CSV file. The array can be a combination of any of the following available fields: # Orders # Vouchers # Publications # Redemptions # Customers # Points Expirations # Gift Card Transactions # Loyalty Card Transactions # Products # SKUs
|
|
34
34
|
# @param [Hash] opts the optional parameters
|
|
35
35
|
# @option opts [ExportsCreateRequestBody] :exports_create_request_body Specify the details of the export that you would like to create.
|
|
36
36
|
# @return [Array<(ExportsCreateResponseBody, Integer, Hash)>] ExportsCreateResponseBody data, response status code and response headers
|
|
@@ -85,7 +85,7 @@ module VoucherifySdk
|
|
|
85
85
|
|
|
86
86
|
# Delete Export
|
|
87
87
|
# This method deletes a previously created export object.
|
|
88
|
-
# @param export_id [String] Unique export object ID of previously created export. This object can be a: voucher, redemption, publication, customer, order, points_expiration, or
|
|
88
|
+
# @param export_id [String] Unique export object ID of previously created export. This object can be a: voucher, redemption, publication, customer, order, points_expiration, voucher_transactions, product, or sku.
|
|
89
89
|
# @param [Hash] opts the optional parameters
|
|
90
90
|
# @return [nil]
|
|
91
91
|
def delete_export(export_id, opts = {})
|
|
@@ -95,7 +95,7 @@ module VoucherifySdk
|
|
|
95
95
|
|
|
96
96
|
# Delete Export
|
|
97
97
|
# This method deletes a previously created export object.
|
|
98
|
-
# @param export_id [String] Unique export object ID of previously created export. This object can be a: voucher, redemption, publication, customer, order, points_expiration, or
|
|
98
|
+
# @param export_id [String] Unique export object ID of previously created export. This object can be a: voucher, redemption, publication, customer, order, points_expiration, voucher_transactions, product, or sku.
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
|
100
100
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
101
101
|
private def delete_export_with_http_info(export_id, opts = {})
|
|
@@ -141,7 +141,7 @@ module VoucherifySdk
|
|
|
141
141
|
end
|
|
142
142
|
|
|
143
143
|
# Download Export
|
|
144
|
-
# Download the contents of the exported CSV file.
|
|
144
|
+
# Download the contents of the exported CSV file. <Note> <Badge color blue>Important notes</Badge> **Base URL:** - https://download.voucherify.io (Europe) - https://us1.download.voucherify.io (US) - https://as1.download.voucherify.io (Asia) **Token:** Can be found within the result parameter of the [Get Export](/api-reference/exports/get-export) method response. </Note>
|
|
145
145
|
# @param export_id [String] Unique export object ID.
|
|
146
146
|
# @param [Hash] opts the optional parameters
|
|
147
147
|
# @option opts [String] :token Token that was issued to the export, to get this token, get the export first
|
|
@@ -152,7 +152,7 @@ module VoucherifySdk
|
|
|
152
152
|
end
|
|
153
153
|
|
|
154
154
|
# Download Export
|
|
155
|
-
# Download the contents of the exported CSV file.
|
|
155
|
+
# Download the contents of the exported CSV file. <Note> <Badge color blue>Important notes</Badge> **Base URL:** - https://download.voucherify.io (Europe) - https://us1.download.voucherify.io (US) - https://as1.download.voucherify.io (Asia) **Token:** Can be found within the result parameter of the [Get Export](/api-reference/exports/get-export) method response. </Note>
|
|
156
156
|
# @param export_id [String] Unique export object ID.
|
|
157
157
|
# @param [Hash] opts the optional parameters
|
|
158
158
|
# @option opts [String] :token Token that was issued to the export, to get this token, get the export first
|
|
@@ -204,7 +204,7 @@ module VoucherifySdk
|
|
|
204
204
|
|
|
205
205
|
# Get Export
|
|
206
206
|
# Retrieves the URL of the downloadable file, which was generated via the [Create Export](/api-reference/exports/create-export) method.
|
|
207
|
-
# @param export_id [String] Unique export object ID of previously created export. This object can be a: voucher, redemption, publication, customer, order, points_expiration, or
|
|
207
|
+
# @param export_id [String] Unique export object ID of previously created export. This object can be a: voucher, redemption, publication, customer, order, points_expiration, voucher_transactions, product, or sku.
|
|
208
208
|
# @param [Hash] opts the optional parameters
|
|
209
209
|
# @return [ExportsGetResponseBody]
|
|
210
210
|
def get_export(export_id, opts = {})
|
|
@@ -214,7 +214,7 @@ module VoucherifySdk
|
|
|
214
214
|
|
|
215
215
|
# Get Export
|
|
216
216
|
# Retrieves the URL of the downloadable file, which was generated via the [Create Export](/api-reference/exports/create-export) method.
|
|
217
|
-
# @param export_id [String] Unique export object ID of previously created export. This object can be a: voucher, redemption, publication, customer, order, points_expiration, or
|
|
217
|
+
# @param export_id [String] Unique export object ID of previously created export. This object can be a: voucher, redemption, publication, customer, order, points_expiration, voucher_transactions, product, or sku.
|
|
218
218
|
# @param [Hash] opts the optional parameters
|
|
219
219
|
# @return [Array<(ExportsGetResponseBody, Integer, Hash)>] ExportsGetResponseBody data, response status code and response headers
|
|
220
220
|
private def get_export_with_http_info(export_id, opts = {})
|