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
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersCreateResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | Identifies the member. | [optional] |
|
|
8
|
+
| **customer_id** | **String** | Identifies the enrolled customer. | [optional] |
|
|
9
|
+
| **program_id** | **String** | Identifies the loyalty program. | [optional] |
|
|
10
|
+
| **status** | **String** | Current member status. Allowed values: `ACTIVE`, `INACTIVE`, `DELETED`. `INACTIVE` members cannot earn points or redeem rewards. | [optional] |
|
|
11
|
+
| **metadata** | **Object** | Stores custom member metadata. Empty object when none is set. | [optional] |
|
|
12
|
+
| **created_at** | **Time** | Records when the member was created (ISO 8601). | [optional] |
|
|
13
|
+
| **updated_at** | **Time** | Records the last update (ISO 8601). `null` if the member has never been updated. | [optional] |
|
|
14
|
+
| **object** | **String** | Object type. Always `member`. | [optional][default to 'member'] |
|
|
15
|
+
| **cards** | [**Array<MemberCard>**](MemberCard.md) | Member's loyalty cards - one per card definition assigned to the program. Card codes are generated asynchronously, so `card.code` may be `null` right after member creation. | [optional] |
|
|
16
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersDeactivateResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | Identifies the member. | [optional] |
|
|
8
|
+
| **customer_id** | **String** | Identifies the enrolled customer. | [optional] |
|
|
9
|
+
| **program_id** | **String** | Identifies the loyalty program. | [optional] |
|
|
10
|
+
| **status** | **String** | Current member status. Allowed values: `ACTIVE`, `INACTIVE`, `DELETED`. `INACTIVE` members cannot earn points or redeem rewards. | [optional] |
|
|
11
|
+
| **metadata** | **Object** | Stores custom member metadata. Empty object when none is set. | [optional] |
|
|
12
|
+
| **created_at** | **Time** | Records when the member was created (ISO 8601). | [optional] |
|
|
13
|
+
| **updated_at** | **Time** | Records the last update (ISO 8601). `null` if the member has never been updated. | [optional] |
|
|
14
|
+
| **object** | **String** | Object type. Always `member`. | [optional][default to 'member'] |
|
|
15
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersDeleteResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | Identifies the member. | [optional] |
|
|
8
|
+
| **customer_id** | **String** | Identifies the enrolled customer. | [optional] |
|
|
9
|
+
| **program_id** | **String** | Identifies the loyalty program. | [optional] |
|
|
10
|
+
| **status** | **String** | Current member status. Allowed values: `ACTIVE`, `INACTIVE`, `DELETED`. `INACTIVE` members cannot earn points or redeem rewards. | [optional] |
|
|
11
|
+
| **metadata** | **Object** | Stores custom member metadata. Empty object when none is set. | [optional] |
|
|
12
|
+
| **created_at** | **Time** | Records when the member was created (ISO 8601). | [optional] |
|
|
13
|
+
| **updated_at** | **Time** | Records the last update (ISO 8601). `null` if the member has never been updated. | [optional] |
|
|
14
|
+
| **object** | **String** | Object type. Always `member`. | [optional][default to 'member'] |
|
|
15
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersEarningRulesReportsDailyListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<EarningRuleDailyReportEntry>**](EarningRuleDailyReportEntry.md) | List of report entries, one per aggregation period with recorded activity, ordered by `date` ascending. Empty when no activity was recorded in the range. | [optional] |
|
|
8
|
+
| **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
|
|
9
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersGetResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | Identifies the member. | [optional] |
|
|
8
|
+
| **customer_id** | **String** | Identifies the enrolled customer. | [optional] |
|
|
9
|
+
| **program_id** | **String** | Identifies the loyalty program. | [optional] |
|
|
10
|
+
| **status** | **String** | Current member status. Allowed values: `ACTIVE`, `INACTIVE`, `DELETED`. `INACTIVE` members cannot earn points or redeem rewards. | [optional] |
|
|
11
|
+
| **metadata** | **Object** | Stores custom member metadata. Empty object when none is set. | [optional] |
|
|
12
|
+
| **created_at** | **Time** | Records when the member was created (ISO 8601). | [optional] |
|
|
13
|
+
| **updated_at** | **Time** | Records the last update (ISO 8601). `null` if the member has never been updated. | [optional] |
|
|
14
|
+
| **object** | **String** | Object type. Always `member`. | [optional][default to 'member'] |
|
|
15
|
+
| **cards** | [**Array<MemberCard>**](MemberCard.md) | Member's loyalty cards - one per card definition assigned to the program. Card codes are generated asynchronously, so `card.code` may be `null` right after member creation. | [optional] |
|
|
16
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersListRequestQuery
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **junction** | **String** | Joins the field filters. Allowed values are `AND` and `OR`. Defaults to `AND`. | [optional] |
|
|
8
|
+
| **id** | [**LoyaltiesProgramsMembersListRequestQueryId**](LoyaltiesProgramsMembersListRequestQueryId.md) | | [optional] |
|
|
9
|
+
| **status** | [**LoyaltiesProgramsMembersListRequestQueryStatus**](LoyaltiesProgramsMembersListRequestQueryStatus.md) | | [optional] |
|
|
10
|
+
| **customer_id** | [**LoyaltiesProgramsMembersListRequestQueryCustomerId**](LoyaltiesProgramsMembersListRequestQueryCustomerId.md) | | [optional] |
|
|
11
|
+
| **created_at** | [**DateFilter**](DateFilter.md) | | [optional] |
|
|
12
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<Member>**](Member.md) | Members on the current page (without the `cards` array). | [optional] |
|
|
8
|
+
| **cursor** | [**ListCursor**](ListCursor.md) | | [optional] |
|
|
9
|
+
| **object** | **String** | Object type marker, always `list`. | [optional][default to 'list'] |
|
|
10
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersOrdersPaymentsCreateRequestBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **card_id** | **String** | Unique identifier of the member's loyalty card to spend points from (format `lcrd_...`). | [optional] |
|
|
8
|
+
| **order** | [**OrderPaymentOrder**](OrderPaymentOrder.md) | | |
|
|
9
|
+
| **payment_limit** | [**LoyaltiesProgramsMembersOrdersPaymentsCreateRequestBodyLimit**](LoyaltiesProgramsMembersOrdersPaymentsCreateRequestBodyLimit.md) | | [optional] |
|
|
10
|
+
| **mode** | **String** | Payment mode. `TRANSACTION` creates a `PENDING` order transaction processed asynchronously (HTTP `202`). `DRY_RUN` only simulates the payment and returns the calculation result (HTTP `200`); no transaction is created. Defaults to `TRANSACTION` when omitted or `null`. | [optional] |
|
|
11
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersOrdersPaymentsListRequestQuery
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **junction** | **String** | Joins the field filters. Allowed values are `AND` and `OR`. Defaults to `AND`. | [optional] |
|
|
8
|
+
| **id** | [**LoyaltiesProgramsMembersOrdersPaymentsListRequestQueryId**](LoyaltiesProgramsMembersOrdersPaymentsListRequestQueryId.md) | | [optional] |
|
|
9
|
+
| **card_definition_id** | [**LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionId**](LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionId.md) | | [optional] |
|
|
10
|
+
| **created_at** | [**TransactionFilterDateConditions**](TransactionFilterDateConditions.md) | | [optional] |
|
|
11
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersOrdersPaymentsListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<OrderPaymentTransaction>**](OrderPaymentTransaction.md) | Order payment transactions. | [optional] |
|
|
8
|
+
| **cursor** | [**V2LoyaltiesProgramsMembersOrdersPaymentsListResponseBodyCursor**](V2LoyaltiesProgramsMembersOrdersPaymentsListResponseBodyCursor.md) | | [optional] |
|
|
9
|
+
| **object** | **String** | Object type marker. Always `list`. | [optional][default to 'list'] |
|
|
10
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersOrdersPaymentsListResponseBodyCursor
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **_next** | **String** | Pass as the `cursor` query parameter to fetch the next page (format `lcrsotx_...`). | [optional] |
|
|
8
|
+
| **expires_at** | **Time** | Timestamp when the cursor expires (ISO 8601). | [optional] |
|
|
9
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersRewardsPurchasesCreateRequestBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **reward_id** | **String** | Unique identifier of the reward to purchase (format `lrew_...`). | [optional] |
|
|
8
|
+
| **mode** | **String** | Purchase mode. `TRANSACTION` creates a `PENDING` reward transaction processed asynchronously (HTTP `202`). `DRY_RUN` only simulates the purchase and returns the calculation result (HTTP `200`); no transaction is created. Defaults to `TRANSACTION` when omitted. | [optional][default to 'TRANSACTION'] |
|
|
9
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersRewardsPurchasesListRequestQuery
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **junction** | **String** | Joins the field filters. Allowed values are `AND` and `OR`. Defaults to `AND`. | [optional] |
|
|
8
|
+
| **id** | [**LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryId**](LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryId.md) | | [optional] |
|
|
9
|
+
| **reward_id** | [**LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryRewardId**](LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryRewardId.md) | | [optional] |
|
|
10
|
+
| **card_definition_id** | [**LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionId**](LoyaltiesProgramsMembersRewardsPurchasesListRequestQueryCardDefinitionId.md) | | [optional] |
|
|
11
|
+
| **created_at** | [**TransactionFilterDateConditions**](TransactionFilterDateConditions.md) | | [optional] |
|
|
12
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersRewardsPurchasesListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<RewardPurchaseTransaction>**](RewardPurchaseTransaction.md) | Reward purchase transactions (type `PURCHASE` only). | [optional] |
|
|
8
|
+
| **cursor** | [**V2LoyaltiesProgramsMembersRewardsPurchasesListResponseBodyCursor**](V2LoyaltiesProgramsMembersRewardsPurchasesListResponseBodyCursor.md) | | [optional] |
|
|
9
|
+
| **object** | **String** | Object type marker. Always `list`. | [optional][default to 'list'] |
|
|
10
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersRewardsPurchasesListResponseBodyCursor
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **_next** | **String** | Cursor to pass as the `cursor` query parameter to fetch the next page (format `lcrstrx_...`). | [optional] |
|
|
8
|
+
| **expires_at** | **Time** | Timestamp when the cursor expires. | [optional] |
|
|
9
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersTiersTransactionsListRequestQuery
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **junction** | **String** | Joins the field filters. Allowed values are `AND` and `OR`. Defaults to `AND`. | [optional] |
|
|
8
|
+
| **card_id** | [**LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardId**](LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardId.md) | | [optional] |
|
|
9
|
+
| **card_definition_id** | [**LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardDefinitionId**](LoyaltiesProgramsMembersTiersTransactionsListRequestQueryCardDefinitionId.md) | | [optional] |
|
|
10
|
+
| **created_at** | [**TransactionFilterDateConditions**](TransactionFilterDateConditions.md) | | [optional] |
|
|
11
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersTiersTransactionsListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<TierTransaction>**](TierTransaction.md) | List of tier transactions. | [optional] |
|
|
8
|
+
| **cursor** | [**ListCursor**](ListCursor.md) | | [optional] |
|
|
9
|
+
| **object** | **String** | Object type marker. Always `list`. | [optional][default to 'list'] |
|
|
10
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersUpdateRequestBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **metadata** | **Object** | Member metadata to apply. Object keys are merged into existing metadata (omitted keys are preserved). Validated against the `vl_member` metadata schema when configured. Pass `null` to clear all metadata. | [optional] |
|
|
8
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembersUpdateResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | Identifies the member. | [optional] |
|
|
8
|
+
| **customer_id** | **String** | Identifies the enrolled customer. | [optional] |
|
|
9
|
+
| **program_id** | **String** | Identifies the loyalty program. | [optional] |
|
|
10
|
+
| **status** | **String** | Current member status. Allowed values: `ACTIVE`, `INACTIVE`, `DELETED`. `INACTIVE` members cannot earn points or redeem rewards. | [optional] |
|
|
11
|
+
| **metadata** | **Object** | Stores custom member metadata. Empty object when none is set. | [optional] |
|
|
12
|
+
| **created_at** | **Time** | Records when the member was created (ISO 8601). | [optional] |
|
|
13
|
+
| **updated_at** | **Time** | Records the last update (ISO 8601). `null` if the member has never been updated. | [optional] |
|
|
14
|
+
| **object** | **String** | Object type. Always `member`. | [optional][default to 'member'] |
|
|
15
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsMembershipsGetResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **member** | [**Member**](Member.md) | | [optional] |
|
|
8
|
+
| **program** | [**ProgramSimple**](ProgramSimple.md) | | [optional] |
|
|
9
|
+
| **object** | **String** | Object type marker, always `membership`. | [optional][default to 'membership'] |
|
|
10
|
+
| **cards** | [**Array<MembershipCard>**](MembershipCard.md) | Member's loyalty cards, one per card definition assigned to the program. `tier_progress` is present when that card definition has a tier structure and the member has a tier on the card. Otherwise it is omitted. `card.code` can be `null` right after member creation, while code generation is still running. | [optional] |
|
|
11
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsReportsEarningRulesDailyListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<EarningRulesReportDailyEntry>**](EarningRulesReportDailyEntry.md) | List of report entries, one per aggregation period and earning rule with recorded activity, ordered by `date` ascending. Empty when no activity was recorded in the range. | [optional] |
|
|
8
|
+
| **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
|
|
9
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsReportsEarningRulesSummaryListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<EarningRulesReportSummaryEntry>**](EarningRulesReportSummaryEntry.md) | List of summary rows, one per earning rule with recorded activity, ordered by `id` descending. Contains at most 100 rows. Empty when no activity was recorded. | [optional] |
|
|
8
|
+
| **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
|
|
9
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsReportsPointsEarningsDailyListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<PointsEarningsReportDailyEntry>**](PointsEarningsReportDailyEntry.md) | List of report entries, one per aggregation period, earning rule, earning item, and card definition with recorded activity, ordered by `date` ascending. Empty when no activity was recorded in the range. | [optional] |
|
|
8
|
+
| **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
|
|
9
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsReportsPointsEarningsSummaryListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<PointsEarningsReportSummaryEntry>**](PointsEarningsReportSummaryEntry.md) | List of summary rows, one per earning rule, earning item, and card definition with recorded activity, ordered by `id` descending. Contains at most 100 rows. Empty when no activity was recorded. | [optional] |
|
|
8
|
+
| **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
|
|
9
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsReportsTiersDailyListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<TiersReportDailyEntry>**](TiersReportDailyEntry.md) | List of report entries, one per tier structure, tier, and aggregation period with recorded movement, ordered by `date` ascending. Empty when no movement was recorded in the range. | [optional] |
|
|
8
|
+
| **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
|
|
9
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsReportsTiersSummaryListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<TiersReportSummaryEntry>**](TiersReportSummaryEntry.md) | List of summary rows, one per tier structure and tier with recorded movement, ordered by `id` descending. Contains at most 100 rows. Empty when no movement was recorded. | [optional] |
|
|
8
|
+
| **object** | **String** | Object type marker. Always `report`. | [optional][default to 'report'] |
|
|
9
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsRewardsListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **object** | **String** | Object type marker. Always `list`. | [optional][default to 'list'] |
|
|
8
|
+
| **data** | [**Array<ProgramRewardAssignment>**](ProgramRewardAssignment.md) | Reward assignments on the current page. | [optional] |
|
|
9
|
+
| **cursor** | [**ProgramListCursor**](ProgramListCursor.md) | | [optional] |
|
|
10
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsRewardsPurchasesRefundRequestBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **policies** | [**RewardPurchaseRefundPolicies**](RewardPurchaseRefundPolicies.md) | | [optional] |
|
|
8
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsRewardsPurchasesRefundResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **transaction** | [**RewardPurchaseTransaction**](RewardPurchaseTransaction.md) | | |
|
|
8
|
+
| **status** | **String** | Result status. Always `APPROVED` on success. | [optional][default to 'APPROVED'] |
|
|
9
|
+
| **message** | **String** | Returns the result message: \"Reward refund transaction created. Points will be returned to the member's card shortly.\". | [optional] |
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesProgramsTierStructuresListResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **object** | **String** | Object type marker. | [optional][default to 'list'] |
|
|
8
|
+
| **data** | [**Array<ProgramTierStructureAssignment>**](ProgramTierStructureAssignment.md) | Tier structure assignments on the current page. | [optional] |
|
|
9
|
+
| **cursor** | [**ProgramListCursor**](ProgramListCursor.md) | | [optional] |
|
|
10
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# VoucherifySdk::V2LoyaltiesRewardsGetResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | Unique reward identifier, prefixed with `lrew_`. | [optional] |
|
|
8
|
+
| **name** | **String** | Display name of the reward. | [optional] |
|
|
9
|
+
| **type** | **String** | Reward type. | [optional] |
|
|
10
|
+
| **status** | **String** | Current lifecycle status of the reward. | [optional] |
|
|
11
|
+
| **start_date** | **Time** | Date from which the reward is available, or `null` when not set. | [optional] |
|
|
12
|
+
| **end_date** | **Time** | Date until which the reward is available, or `null` when not set. | [optional] |
|
|
13
|
+
| **validity_hours** | [**RewardValidityHoursResponse**](RewardValidityHoursResponse.md) | | |
|
|
14
|
+
| **material** | [**RewardMaterialResponse**](RewardMaterialResponse.md) | | [optional] |
|
|
15
|
+
| **digital** | [**RewardDigitalResponse**](RewardDigitalResponse.md) | | [optional] |
|
|
16
|
+
| **refunds** | [**LoyaltyV2ActivityRewardRefunds**](LoyaltyV2ActivityRewardRefunds.md) | | |
|
|
17
|
+
| **costs** | [**Array<RewardCostResponse>**](RewardCostResponse.md) | Point costs of the reward. Empty array when no costs are defined. | [optional] |
|
|
18
|
+
| **purchase_limits** | [**RewardPurchaseLimits**](RewardPurchaseLimits.md) | | |
|
|
19
|
+
| **metadata** | **Object** | Arbitrary key-value metadata attached to the reward. Empty object when not set. | [optional] |
|
|
20
|
+
| **created_at** | **Time** | Timestamp when the reward was created (ISO-8601). | [optional] |
|
|
21
|
+
| **updated_at** | **Time** | Timestamp when the reward was last updated (ISO-8601), or `null` when never updated. | [optional] |
|
|
22
|
+
| **object** | **String** | Object type marker; always `reward`. | [optional][default to 'reward'] |
|
|
23
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# VoucherifySdk::VLMemberActivity
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **created_at** | **Time** | Timestamp when the activity was recorded (ISO 8601). | [optional] |
|
|
8
|
+
| **group_id** | **String** | ID grouping activities recorded within the same request. | [optional] |
|
|
9
|
+
| **source** | [**ActivitySource**](ActivitySource.md) | | [optional] |
|
|
10
|
+
| **id** | **String** | Unique activity ID. | [optional] |
|
|
11
|
+
| **member_id** | **String** | ID of the member the activity relates to. | [optional] |
|
|
12
|
+
| **type** | **String** | Activity type. Allowed values: `vl.member.created`, `vl.member.updated`, `vl.member.deleted`, `vl.member.activated`, `vl.member.deactivated`, `vl.member.card.assigned`, and `vl.member.card.unassigned`. | [optional] |
|
|
13
|
+
| **data** | [**VLMemberActivityData**](VLMemberActivityData.md) | | [optional] |
|
|
14
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# VoucherifySdk::VLMemberActivityData
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **member** | [**Member**](Member.md) | | |
|
|
8
|
+
| **program** | [**Program**](Program.md) | | |
|
|
9
|
+
| **card** | [**Card**](Card.md) | | [optional] |
|
|
10
|
+
| **member_card** | [**MemberCard**](MemberCard.md) | | [optional] |
|
|
11
|
+
|
data/docs/ValidationRulesApi.md
CHANGED
|
@@ -85,7 +85,7 @@ end
|
|
|
85
85
|
|
|
86
86
|
Create Validation Rules
|
|
87
87
|
|
|
88
|
-
Create a validation rule.
|
|
88
|
+
Create a validation rule. <Warning> <Badge color yellow>Managing validation rules</Badge> It is recommended to [create or update validation rules](/personalize/create-validation-rules) in the Voucherify dashboard. The rule builder in the dashboard helps configuring the desired conditions in a convenient way. The API should not be used as a preferable way to create and manage validation rules. </Warning>
|
|
89
89
|
|
|
90
90
|
### Examples
|
|
91
91
|
|
|
@@ -521,7 +521,7 @@ end
|
|
|
521
521
|
|
|
522
522
|
Update Validation Rule
|
|
523
523
|
|
|
524
|
-
Update validation rule parameters.
|
|
524
|
+
Update validation rule parameters. <Warning> <Badge color yellow>Managing validation rules</Badge> It is recommended to [create or update validation rules](/personalize/create-validation-rules) in the Voucherify dashboard. The rule builder in the dashboard helps configuring the desired conditions in a convenient way. The API should not be used as a preferable way to create and manage validation rules. </Warning>
|
|
525
525
|
|
|
526
526
|
### Examples
|
|
527
527
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **options** | [**ValidationsValidateRequestBodyOptions**](ValidationsValidateRequestBodyOptions.md) | | [optional] |
|
|
8
|
-
| **redeemables** | [**Array<ValidationsValidateRequestBodyRedeemablesItem>**](ValidationsValidateRequestBodyRedeemablesItem.md) |
|
|
8
|
+
| **redeemables** | [**Array<ValidationsValidateRequestBodyRedeemablesItem>**](ValidationsValidateRequestBodyRedeemablesItem.md) | An array of redeemables. You can combine `voucher`(s) and `promotion_tier`(s). Alternatively, send one unique`promotion_stack` in the array. Each unique redeemable can be sent in one request only once. | [optional] |
|
|
9
9
|
| **order** | [**Order**](Order.md) | | [optional] |
|
|
10
10
|
| **customer** | [**Customer**](Customer.md) | | [optional] |
|
|
11
11
|
| **session** | [**Session**](Session.md) | | [optional] |
|
|
@@ -5,4 +5,5 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **expand** | **Array<String>** | The expand array lets you configure the parameters included in the response. Depending on the strings included in the array, the response will contain different details. | **Expand Option** | **Response Body** | |:---|:---| | [\"order\"] | - Same response as fallback response (without an options object).<br />- Order data with calculated discounts are listed in each child redeemable object.<br />- Metadata not included for each discount type. | | [\"redeemable\"] | Expands redeemable objects by including `metadata` for each discount type. | | [\"order\", \"redeemable\"] | - Order data with calculated discounts are listed in each child redeemable object.<br />- Includes `metadata` for each discount type. | | [\"category\"] | - Returns an expanded `categories` object, showing details about the category. | | [optional] |
|
|
8
|
+
| **language** | **String** | Selects the language for the custom validation-rule error message. Returns the message in this language when a validation rule fails. Falls back to the Error Message Library default language when omitted or when the requested language has no message. Omits the custom error when no message can be resolved. | [optional] |
|
|
8
9
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | Unique identifier of the validation, assigned by Voucherify. | [optional] |
|
|
8
8
|
| **valid** | **Boolean** | The result of the validation. It takes all of the redeemables into account and returns a `false` if at least one redeemable is inapplicable. Returns `true` if all redeemables are applicable. | [optional] |
|
|
9
|
-
| **redeemables** | [**Array<ValidationsValidateResponseBodyRedeemablesItem>**](ValidationsValidateResponseBodyRedeemablesItem.md) | | [optional] |
|
|
9
|
+
| **redeemables** | [**Array<ValidationsValidateResponseBodyRedeemablesItem>**](ValidationsValidateResponseBodyRedeemablesItem.md) | Lists validation results of each redeemable. If `redeemables_application_mode` is `PARTIAL` in the `stacking_rules` object, all redeemables here will be `APPLICABLE`. Read more in [the Stacking rules article](/orchestrate/stacking-rules). | [optional] |
|
|
10
10
|
| **skipped_redeemables** | [**Array<ValidationsRedeemableSkipped>**](ValidationsRedeemableSkipped.md) | Lists validation results of each skipped redeemable. | [optional] |
|
|
11
11
|
| **inapplicable_redeemables** | [**Array<ValidationsRedeemableInapplicable>**](ValidationsRedeemableInapplicable.md) | Lists validation results of each inapplicable redeemable. | [optional] |
|
|
12
12
|
| **order** | [**OrderCalculated**](OrderCalculated.md) | | [optional] |
|
data/docs/VouchersApi.md
CHANGED
|
@@ -28,7 +28,7 @@ All URIs are relative to *https://api.voucherify.io*
|
|
|
28
28
|
|
|
29
29
|
Create Voucher
|
|
30
30
|
|
|
31
|
-
Create a generic (standalone) voucher or a voucher in a campaign. You can choose to create a GIFT_VOUCHER, a DISCOUNT_VOUCHER, or a LOYALTY_CARD. The code path parameter can use all letters of the English alphabet, Arabic numerals and special characters. When you create a new voucher, you can specify a type to create it. If no campaign name or campaign_id is provided, the new voucher will be a generic (standalone) one. However, if an ID or name of a campaign with the type set to STANDALONE is provided, the voucher will be added to this campaign. For a loyalty card, a campaign name or ID is required.
|
|
31
|
+
Create a generic (standalone) voucher or a voucher in a campaign. You can choose to create a GIFT_VOUCHER, a DISCOUNT_VOUCHER, or a LOYALTY_CARD. The code path parameter can use all letters of the English alphabet, Arabic numerals and special characters. When you create a new voucher, you can specify a type to create it. If no campaign name or campaign_id is provided, the new voucher will be a generic (standalone) one. However, if an ID or name of a campaign with the type set to STANDALONE is provided, the voucher will be added to this campaign. For a loyalty card, a campaign name or ID is required. <Warning> <Badge color yellow>Standalone Vouchers and Campaigns</Badge> Generic (standalone) vouchers created through the Voucherify dashboard always create a campaign for that voucher. However, vouchers created through The vouchers created with POST Create voucher and POST Generate random code endpoints do not have a campaign attached, so the values for campaign and campaign_id are null. To create a generic (standalone) voucher with a type: STANDALONE, use the [POST Create campaign](/api-reference/campaigns/create-campaign) endpoint. </Warning>
|
|
32
32
|
|
|
33
33
|
### Examples
|
|
34
34
|
|
|
@@ -151,7 +151,7 @@ nil (empty response body)
|
|
|
151
151
|
|
|
152
152
|
Disable Voucher
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
This method sets the voucher state to **inactive**. The voucher cannot be redeemed.
|
|
155
155
|
|
|
156
156
|
### Examples
|
|
157
157
|
|
|
@@ -209,7 +209,7 @@ end
|
|
|
209
209
|
|
|
210
210
|
Enable Voucher
|
|
211
211
|
|
|
212
|
-
|
|
212
|
+
The method sets the voucher state to **active**. The voucher can be redeemed - only if the redemption occurs after the start date and the voucher is not expired.
|
|
213
213
|
|
|
214
214
|
### Examples
|
|
215
215
|
|
|
@@ -329,7 +329,7 @@ end
|
|
|
329
329
|
|
|
330
330
|
Generate Random Code
|
|
331
331
|
|
|
332
|
-
Create a generic (standalone) vouchers. You can choose to create a GIFT_VOUCHER, a DISCOUNT_VOUCHER, or a LOYALTY_CARD. When you create a new voucher, you can specify a type to create it. Creating a new voucher will create a new generic (standalone) vouchers if no campaign name or campaign_id is provided. However, if an ID or name of a campaign with the type set to STANDALONE is provided, the voucher will be added to such campaign. In case of the loyalty card, a campaign name is required. You can optionally use the code parameter to define a specific code or the code_config parameter to design rules for Voucherify API to create a random code. If neither of the two parameters are passed, then a random code is generated by the Voucherify API. This method will return an error when trying to create a voucher that already exists.
|
|
332
|
+
Create a generic (standalone) vouchers. You can choose to create a GIFT_VOUCHER, a DISCOUNT_VOUCHER, or a LOYALTY_CARD. When you create a new voucher, you can specify a type to create it. Creating a new voucher will create a new generic (standalone) vouchers if no campaign name or campaign_id is provided. However, if an ID or name of a campaign with the type set to STANDALONE is provided, the voucher will be added to such campaign. In case of the loyalty card, a campaign name is required. You can optionally use the code parameter to define a specific code or the code_config parameter to design rules for Voucherify API to create a random code. If neither of the two parameters are passed, then a random code is generated by the Voucherify API. This method will return an error when trying to create a voucher that already exists. <Warning> <Badge color yellow>Standalone Vouchers and Campaigns</Badge> Generic (standalone) vouchers created through the Voucherify dashboard always create a campaign for that voucher. The vouchers created with POST Create voucher and POST Generate random code endpoints do not have a campaign attached, so the values for campaign and campaign_id are null. To create a generic (standalone) voucher with a type: STANDALONE, use the [POST Create campaign](/api-reference/campaigns/create-campaign) endpoint. </Warning>
|
|
333
333
|
|
|
334
334
|
### Examples
|
|
335
335
|
|
|
@@ -447,7 +447,7 @@ end
|
|
|
447
447
|
|
|
448
448
|
Import Vouchers
|
|
449
449
|
|
|
450
|
-
Import generic (standalone) vouchers and gift cards into the repository. You can upload up to 100,000 codes to a campaign, as a campaign can have up to 100,000 codes by default. Also, the request can include up to **10 MB** of data.
|
|
450
|
+
Import generic (standalone) vouchers and gift cards into the repository. You can upload up to 100,000 codes to a campaign, as a campaign can have up to 100,000 codes by default. Also, the request can include up to **10 MB** of data. <Note> <Badge color blue>Important notes</Badge> - **Start and expiration dates** need to be provided in compliance with the ISO 8601 standard. For example, 2020-03-11T09:00:00.000Z. - Custom code attributes (not supported by-default) need to be added as code **metadata**. - You **cannot import the same codes** to a single Voucherify Project. </Note> Any parameters not provided in the payload will be left blank or null. For both **standalone discount vouchers and gift cards**, you can import the following fields: - code - category - active - type - start_date - expiration_date - redemption.quantity - additional_info - metadata For **gift cards**, you can also import the following field: - gift.amount For **discount vouchers**, you can import the discount object. The object will slightly vary depending on the type of discount. Each discount type **requires** the type to be defined in the import. Fields other than the ones listed above wont be imported. Even if provided, they will be silently skipped. 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). <Warning> <Badge color yellow>Standalone Vouchers and Campaigns</Badge> Generic (standalone) vouchers created through the Voucherify dashboard always create a campaign for that voucher. However, vouchers imported through the dashboard in the Vouchers section or through the API do not have a campaign attached, so the values for campaign and campaign_id are null. To create a generic (standalone) voucher with a type: STANDALONE, use the [POST Create campaign](/api-reference/campaigns/create-campaign) endpoint. </Warning>
|
|
451
451
|
|
|
452
452
|
### Examples
|
|
453
453
|
|
|
@@ -505,7 +505,7 @@ end
|
|
|
505
505
|
|
|
506
506
|
Import Vouchers using CSV
|
|
507
507
|
|
|
508
|
-
Import generic (standalone) vouchers into the repository using a CSV file. The CSV file has to include headers in the first line. All properties listed in the file headers that cannot be mapped to standard voucher fields will be added to the metadata object. You can upload up to 100,000 codes to a campaign, as a campaign can have up to 100,000 codes by default. Also, the request can include a max. **10 MB** CSV file. You can find an example CSV file [here](/build/discount-code-import). ___
|
|
508
|
+
Import generic (standalone) vouchers into the repository using a CSV file. The CSV file has to include headers in the first line. All properties listed in the file headers that cannot be mapped to standard voucher fields will be added to the metadata object. You can upload up to 100,000 codes to a campaign, as a campaign can have up to 100,000 codes by default. Also, the request can include a max. **10 MB** CSV file. You can find an example CSV file [here](/build/discount-code-import). ___ <Note> <Badge color blue>Standard voucher fields mapping</Badge> - Go to the [import vouchers](/api-reference/vouchers/import-vouchers) endpoint to see all standard CSV fields description (body params section). - Supported CSV file headers: Code,Voucher Type,Value,Discount Type,Category,Start Date,Expiration Date,Redemption Limit,Redeemed Quantity, Redeemed Amount,Active,Additional Info,Custom Metadata Property Name - **Start and expiration dates** need to be provided in compliance with the ISO 8601 standard. For example, 2020-03-11T09:00:00.000Z. - YYYY-MM-DD - YYYY-MM-DDTHH - YYYY-MM-DDTHH:mm - YYYY-MM-DDTHH:mm:ss - YYYY-MM-DDTHH:mm:ssZ - YYYY-MM-DDTHH:mm:ssZ - YYYY-MM-DDTHH:mm:ss.SSSZ - Custom code attributes (not supported by-default) need to be added as code **metadata**. - You **cannot import the same codes** to a single Voucherify project. - You can, however, upload the same codes to update them. </Note> <Note> <Badge color blue>Categories</Badge> In the structure representing your data, you can define a category that the voucher belongs to. You can later use the category of a voucher to group and search by specific criteria in the Dashboard and using the [List Vouchers](/api-reference/vouchers/list-vouchers) endpoint. </Note> 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). You can pass the webhooks_enable true parameter to trigger a webhook sendout for created or updated vouchers. Configure the [respective webhooks](/api-reference/introduction-to-webhooks) in Project settings. For updated webhooks, a webhook is sent even if the voucher hasnt been changed in the CSV file. <Warning> <Badge color yellow>Generic (standalone) vouchers and campaigns</Badge> Generic (standalone) vouchers created through the Voucherify dashboard always create a campaign for that voucher. However, vouchers imported through the dashboard in the Vouchers section or through the API do not have a campaign attached, so the values for campaign and campaign_id are null. </Warning>
|
|
509
509
|
|
|
510
510
|
### Examples
|
|
511
511
|
|
|
@@ -713,7 +713,7 @@ end
|
|
|
713
713
|
|
|
714
714
|
Release Validation Session
|
|
715
715
|
|
|
716
|
-
Manually release
|
|
716
|
+
Manually release the validation session lock for the voucher in the path. This undoes the lock described in the [Locking validation session](/guides/locking-validation-session) guide for that voucher only. If several redeemables were locked with the same session key (for example in a stackable validation), this call removes the lock for the path voucher only. Other redeemables that still use the same session key stay locked. A session-released event is recorded only for the unlocked voucher, and only when a lock was actually removed. Calling this endpoint again when the voucher no longer has that session lock still returns 204 and does not create another session-released event. <Note> <Badge color blue>Release session in the Dashboard</Badge> On a redeemables details **Validations** tab, **Release session** unlocks only that redeemable (same scope as this endpoint). To unlock the session for every redeemable that still holds the key, use **Redemptions** > **Sessions**. See [Validations and redemptions](/optimize/validations-and-redemptions#sessions). </Note>
|
|
717
717
|
|
|
718
718
|
### Examples
|
|
719
719
|
|
|
@@ -892,7 +892,7 @@ end
|
|
|
892
892
|
|
|
893
893
|
Update Vouchers in Bulk
|
|
894
894
|
|
|
895
|
-
Updates specific metadata parameters for each code, respectively, in one asynchronous operation. The request can include up to **10 MB** of data. Upserts are not supported.
|
|
895
|
+
Updates specific metadata parameters for each code, respectively, in one asynchronous operation. The request can include up to **10 MB** of data. Upserts are not supported. <Warning> Currently, only **metadata** updates are supported. </Warning> The response returns a unique asynchronous action ID. Use this ID in the query paramater of the [GET Async Action](/api-reference/async-actions/get-async-action) endpoint to check, e.g.: - The status of your request (in queue, in progress, done, or failed) - Resources that failed to be updated - The report file with details about the update This API request starts a process that affects Voucherify data in bulk. In the case of small jobs (like bulk update), the request is put into a queue and processed when every other bulk request placed in the queue prior to this request is finished.
|
|
896
896
|
|
|
897
897
|
### Examples
|
|
898
898
|
|