@voucherify/sdk 3.0.0 → 3.0.1
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.
- package/README.md +233 -150
- package/dist/index.esm.js +34754 -34326
- package/dist/index.js +34754 -34326
- package/dist/types/ApiClient.d.ts +209 -0
- package/dist/types/api/AsyncActionsApi.d.ts +56 -0
- package/dist/types/api/BinApi.d.ts +60 -0
- package/dist/types/api/CampaignsApi.d.ts +325 -0
- package/dist/types/api/CategoriesApi.d.ts +101 -0
- package/dist/types/api/ClientSideApi.d.ts +120 -0
- package/dist/types/api/CustomersApi.d.ts +292 -0
- package/dist/types/api/EventsApi.d.ts +34 -0
- package/dist/types/api/ExportsApi.d.ts +113 -0
- package/dist/types/api/LocationsApi.d.ts +62 -0
- package/dist/types/api/LoyaltiesApi.d.ts +1121 -0
- package/dist/types/api/ManagementApi.d.ts +709 -0
- package/dist/types/api/MetadataSchemasApi.d.ts +49 -0
- package/dist/types/api/OAuthApi.d.ts +79 -0
- package/dist/types/api/OrdersApi.d.ts +132 -0
- package/dist/types/api/ProductCollectionsApi.d.ts +120 -0
- package/dist/types/api/ProductsApi.d.ts +305 -0
- package/dist/types/api/PromotionsApi.d.ts +285 -0
- package/dist/types/api/PublicationsApi.d.ts +115 -0
- package/dist/types/api/QualificationsApi.d.ts +34 -0
- package/dist/types/api/RedemptionsApi.d.ts +158 -0
- package/dist/types/api/ReferralsApi.d.ts +144 -0
- package/dist/types/api/RewardsApi.d.ts +207 -0
- package/dist/types/api/SegmentsApi.d.ts +66 -0
- package/dist/types/api/TemplatesApi.d.ts +154 -0
- package/dist/types/api/ValidationRulesApi.d.ts +210 -0
- package/dist/types/api/ValidationsApi.d.ts +34 -0
- package/dist/types/api/VouchersApi.d.ts +344 -0
- package/dist/types/index.d.ts +1389 -0
- package/dist/types/model/AccessSettings.d.ts +32 -0
- package/dist/types/model/AccessSettingsAssign.d.ts +31 -0
- package/dist/types/model/AccessSettingsCampaignAssignmentsList.d.ts +41 -0
- package/dist/types/model/AccessSettingsUnassign.d.ts +31 -0
- package/dist/types/model/ApplicableTo.d.ts +65 -0
- package/dist/types/model/ApplicableToEffect.d.ts +40 -0
- package/dist/types/model/ApplicableToOrderItemUnitsItem.d.ts +31 -0
- package/dist/types/model/ApplicableToResultList.d.ts +41 -0
- package/dist/types/model/ApplicationDetailsItem.d.ts +35 -0
- package/dist/types/model/AreaStoreCampaignAssignment.d.ts +39 -0
- package/dist/types/model/AsyncActionBase.d.ts +55 -0
- package/dist/types/model/AsyncActionGetResponseBody.d.ts +56 -0
- package/dist/types/model/AsyncActionsListResponseBody.d.ts +41 -0
- package/dist/types/model/Bundle.d.ts +34 -0
- package/dist/types/model/BundleIdentifiedItem.d.ts +60 -0
- package/dist/types/model/BundleMissingItem.d.ts +64 -0
- package/dist/types/model/BusValRuleAssignment.d.ts +47 -0
- package/dist/types/model/Campaign.d.ts +140 -0
- package/dist/types/model/CampaignBase.d.ts +136 -0
- package/dist/types/model/CampaignLoyaltyCard.d.ts +31 -0
- package/dist/types/model/CampaignLoyaltyCardExpirationRules.d.ts +47 -0
- package/dist/types/model/CampaignLoyaltyVoucher.d.ts +48 -0
- package/dist/types/model/CampaignLoyaltyVoucherRedemption.d.ts +29 -0
- package/dist/types/model/CampaignTemplate.d.ts +44 -0
- package/dist/types/model/CampaignVoucher.d.ts +94 -0
- package/dist/types/model/CampaignVoucherRedemption.d.ts +29 -0
- package/dist/types/model/CampaignsCreateRequestBody.d.ts +106 -0
- package/dist/types/model/CampaignsCreateRequestBodyPromotion.d.ts +30 -0
- package/dist/types/model/CampaignsCreateRequestBodyVoucher.d.ts +47 -0
- package/dist/types/model/CampaignsCreateRequestBodyVoucherRedemption.d.ts +29 -0
- package/dist/types/model/CampaignsCreateResponseBody.d.ts +140 -0
- package/dist/types/model/CampaignsDeleteResponseBody.d.ts +29 -0
- package/dist/types/model/CampaignsGetResponseBody.d.ts +140 -0
- package/dist/types/model/CampaignsImportCreateResponseBody.d.ts +29 -0
- package/dist/types/model/CampaignsImportCsvCreateResponseBody.d.ts +29 -0
- package/dist/types/model/CampaignsImportVoucherItem.d.ts +91 -0
- package/dist/types/model/CampaignsImportVoucherItemRedemption.d.ts +29 -0
- package/dist/types/model/CampaignsListResponseBody.d.ts +33 -0
- package/dist/types/model/CampaignsSummaryGetResponseBody.d.ts +75 -0
- package/dist/types/model/CampaignsTransactionsExportCreateRequestBody.d.ts +30 -0
- package/dist/types/model/CampaignsTransactionsExportCreateRequestBodyParameters.d.ts +59 -0
- package/dist/types/model/CampaignsTransactionsExportCreateResponseBody.d.ts +54 -0
- package/dist/types/model/CampaignsTransactionsExportCreateResponseBodyParameters.d.ts +59 -0
- package/dist/types/model/CampaignsTransactionsExportCreateResponseBodyParametersFilters.d.ts +36 -0
- package/dist/types/model/CampaignsTransactionsExportCreateResponseBodyParametersFiltersCampaignId.d.ts +30 -0
- package/dist/types/model/CampaignsTransactionsExportCreateResponseBodyParametersFiltersCampaignIdConditions.d.ts +29 -0
- package/dist/types/model/CampaignsTransactionsExportCreateResponseBodyResult.d.ts +29 -0
- package/dist/types/model/CampaignsTransactionsListResponseBody.d.ts +42 -0
- package/dist/types/model/CampaignsUpdateRequestBody.d.ts +99 -0
- package/dist/types/model/CampaignsUpdateRequestBodyOptions.d.ts +29 -0
- package/dist/types/model/CampaignsUpdateResponseBody.d.ts +140 -0
- package/dist/types/model/CampaignsVouchersCreateCombinedResponseBody.d.ts +112 -0
- package/dist/types/model/CampaignsVouchersCreateCombinedResponseBodyGift.d.ts +38 -0
- package/dist/types/model/CampaignsVouchersCreateCombinedResponseBodyLoyaltyCard.d.ts +35 -0
- package/dist/types/model/CampaignsVouchersCreateCombinedResponseBodyPublish.d.ts +31 -0
- package/dist/types/model/CampaignsVouchersCreateCombinedResponseBodyRedemption.d.ts +33 -0
- package/dist/types/model/CampaignsVouchersCreateInBulkRequestBody.d.ts +38 -0
- package/dist/types/model/CampaignsVouchersCreateInBulkRequestBodyRedemption.d.ts +29 -0
- package/dist/types/model/CampaignsVouchersCreateRequestBody.d.ts +35 -0
- package/dist/types/model/CampaignsVouchersCreateRequestBodyRedemption.d.ts +29 -0
- package/dist/types/model/CampaignsVouchersCreateResponseBody.d.ts +111 -0
- package/dist/types/model/CampaignsVouchersCreateResponseBodyGift.d.ts +38 -0
- package/dist/types/model/CampaignsVouchersCreateResponseBodyLoyaltyCard.d.ts +35 -0
- package/dist/types/model/CampaignsVouchersCreateResponseBodyPublish.d.ts +31 -0
- package/dist/types/model/CampaignsVouchersCreateResponseBodyRedemption.d.ts +33 -0
- package/dist/types/model/CategoriesCreateRequestBody.d.ts +30 -0
- package/dist/types/model/CategoriesCreateResponseBody.d.ts +38 -0
- package/dist/types/model/CategoriesGetResponseBody.d.ts +39 -0
- package/dist/types/model/CategoriesListResponseBody.d.ts +41 -0
- package/dist/types/model/CategoriesUpdateRequestBody.d.ts +30 -0
- package/dist/types/model/CategoriesUpdateResponseBody.d.ts +39 -0
- package/dist/types/model/Category.d.ts +39 -0
- package/dist/types/model/CategoryWithStackingRulesType.d.ts +44 -0
- package/dist/types/model/ClientEventsCreateRequestBody.d.ts +46 -0
- package/dist/types/model/ClientEventsCreateRequestBodyLoyalty.d.ts +29 -0
- package/dist/types/model/ClientEventsCreateRequestBodyReferral.d.ts +30 -0
- package/dist/types/model/ClientEventsCreateResponseBody.d.ts +48 -0
- package/dist/types/model/ClientPromotionsTiersListResponseBody.d.ts +34 -0
- package/dist/types/model/ClientQualificationsCheckEligibilityRequestBody.d.ts +51 -0
- package/dist/types/model/ClientQualificationsCheckEligibilityRequestBodySession.d.ts +34 -0
- package/dist/types/model/ClientQualificationsCheckEligibilityResponseBody.d.ts +35 -0
- package/dist/types/model/ClientQualificationsCheckEligibilityResponseBodyOrder.d.ts +64 -0
- package/dist/types/model/ClientQualificationsCheckEligibilityResponseBodyOrderItemsItem.d.ts +62 -0
- package/dist/types/model/ClientRedemptionsRedeemRequestBody.d.ts +40 -0
- package/dist/types/model/ClientRedemptionsRedeemRequestBodyOptions.d.ts +37 -0
- package/dist/types/model/ClientRedemptionsRedeemRequestBodyRedeemablesItem.d.ts +41 -0
- package/dist/types/model/ClientRedemptionsRedeemRequestBodyRedeemablesItemGift.d.ts +29 -0
- package/dist/types/model/ClientRedemptionsRedeemRequestBodyRedeemablesItemReward.d.ts +30 -0
- package/dist/types/model/ClientRedemptionsRedeemResponseBody.d.ts +37 -0
- package/dist/types/model/ClientRedemptionsRedeemResponseBodyOrder.d.ts +64 -0
- package/dist/types/model/ClientRedemptionsRedeemResponseBodyOrderItemsItem.d.ts +62 -0
- package/dist/types/model/ClientValidationsValidateRequestBody.d.ts +40 -0
- package/dist/types/model/ClientValidationsValidateRequestBodyOptions.d.ts +37 -0
- package/dist/types/model/ClientValidationsValidateRequestBodyRedeemablesItem.d.ts +41 -0
- package/dist/types/model/ClientValidationsValidateRequestBodyRedeemablesItemGift.d.ts +29 -0
- package/dist/types/model/ClientValidationsValidateRequestBodyRedeemablesItemReward.d.ts +30 -0
- package/dist/types/model/ClientValidationsValidateResponseBody.d.ts +53 -0
- package/dist/types/model/ClientValidationsValidateResponseBodyOrder.d.ts +64 -0
- package/dist/types/model/ClientValidationsValidateResponseBodyOrderItemsItem.d.ts +62 -0
- package/dist/types/model/ClientValidationsValidateResponseBodyRedeemablesItem.d.ts +56 -0
- package/dist/types/model/ClientValidationsValidateResponseBodyRedeemablesItemOrder.d.ts +64 -0
- package/dist/types/model/ClientValidationsValidateResponseBodyRedeemablesItemOrderCustomer.d.ts +35 -0
- package/dist/types/model/ClientValidationsValidateResponseBodyRedeemablesItemOrderReferrer.d.ts +35 -0
- package/dist/types/model/ClientValidationsValidateResponseBodyRedeemablesItemResult.d.ts +40 -0
- package/dist/types/model/ClientValidationsValidateResponseBodyRedeemablesItemResultDetails.d.ts +30 -0
- package/dist/types/model/ClientValidationsValidateResponseBodyRedeemablesItemResultDiscount.d.ts +66 -0
- package/dist/types/model/ClientValidationsValidateResponseBodyRedeemablesItemResultDiscountProduct.d.ts +31 -0
- package/dist/types/model/ClientValidationsValidateResponseBodyRedeemablesItemResultGift.d.ts +30 -0
- package/dist/types/model/ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard.d.ts +29 -0
- package/dist/types/model/CodeConfig.d.ts +34 -0
- package/dist/types/model/CreatePublicationCampaign.d.ts +30 -0
- package/dist/types/model/CustomEvent.d.ts +51 -0
- package/dist/types/model/CustomEventLoyalty.d.ts +29 -0
- package/dist/types/model/CustomEventReferral.d.ts +31 -0
- package/dist/types/model/Customer.d.ts +39 -0
- package/dist/types/model/CustomerActivity.d.ts +407 -0
- package/dist/types/model/CustomerAddress.d.ts +34 -0
- package/dist/types/model/CustomerId.d.ts +35 -0
- package/dist/types/model/CustomerLoyalty.d.ts +31 -0
- package/dist/types/model/CustomerLoyaltyCampaignsEntryValue.d.ts +31 -0
- package/dist/types/model/CustomerRedeemable.d.ts +58 -0
- package/dist/types/model/CustomerRedeemableRedeemable.d.ts +50 -0
- package/dist/types/model/CustomerReferrals.d.ts +31 -0
- package/dist/types/model/CustomerReferralsCampaignsItem.d.ts +47 -0
- package/dist/types/model/CustomerSummary.d.ts +42 -0
- package/dist/types/model/CustomerSummaryOrders.d.ts +33 -0
- package/dist/types/model/CustomerSummaryRedemptions.d.ts +38 -0
- package/dist/types/model/CustomerSummaryRedemptionsGift.d.ts +30 -0
- package/dist/types/model/CustomerSummaryRedemptionsLoyaltyCard.d.ts +30 -0
- package/dist/types/model/CustomerWithSummaryLoyaltyReferrals.d.ts +56 -0
- package/dist/types/model/CustomerWithSummaryLoyaltyReferralsAddress.d.ts +34 -0
- package/dist/types/model/CustomerWithSummaryLoyaltyReferralsAssets.d.ts +29 -0
- package/dist/types/model/CustomersActivityListResponseBody.d.ts +39 -0
- package/dist/types/model/CustomersCreateRequestBody.d.ts +39 -0
- package/dist/types/model/CustomersCreateRequestBodyAddress.d.ts +34 -0
- package/dist/types/model/CustomersCreateResponseBody.d.ts +56 -0
- package/dist/types/model/CustomersCreateResponseBodyAddress.d.ts +34 -0
- package/dist/types/model/CustomersCreateResponseBodyAssets.d.ts +29 -0
- package/dist/types/model/CustomersGetResponseBody.d.ts +56 -0
- package/dist/types/model/CustomersGetResponseBodyAddress.d.ts +34 -0
- package/dist/types/model/CustomersGetResponseBodyAssets.d.ts +29 -0
- package/dist/types/model/CustomersImportCsvCreateResponseBody.d.ts +29 -0
- package/dist/types/model/CustomersListResponseBody.d.ts +34 -0
- package/dist/types/model/CustomersMetadataUpdateInBulkRequestBody.d.ts +30 -0
- package/dist/types/model/CustomersMetadataUpdateInBulkResponseBody.d.ts +29 -0
- package/dist/types/model/CustomersPermanentDeletionCreateResponseBody.d.ts +36 -0
- package/dist/types/model/CustomersPermanentDeletionCreateResponseBodyDataJson.d.ts +35 -0
- package/dist/types/model/CustomersRedeemablesListResponseBody.d.ts +35 -0
- package/dist/types/model/CustomersSegmentsListResponseBody.d.ts +33 -0
- package/dist/types/model/CustomersUpdateInBulkRequestBody.d.ts +38 -0
- package/dist/types/model/CustomersUpdateInBulkRequestBodyAddress.d.ts +34 -0
- package/dist/types/model/CustomersUpdateInBulkResponseBody.d.ts +29 -0
- package/dist/types/model/CustomersUpdateRequestBody.d.ts +37 -0
- package/dist/types/model/CustomersUpdateRequestBodyAddress.d.ts +34 -0
- package/dist/types/model/CustomersUpdateResponseBody.d.ts +56 -0
- package/dist/types/model/CustomersUpdateResponseBodyAddress.d.ts +34 -0
- package/dist/types/model/CustomersUpdateResponseBodyAssets.d.ts +29 -0
- package/dist/types/model/Discount.d.ts +66 -0
- package/dist/types/model/DiscountProduct.d.ts +31 -0
- package/dist/types/model/DiscountUnitMultipleOneUnit.d.ts +42 -0
- package/dist/types/model/EarningRule.d.ts +100 -0
- package/dist/types/model/EarningRuleCustomEvent.d.ts +29 -0
- package/dist/types/model/EarningRuleExpirationRules.d.ts +47 -0
- package/dist/types/model/EarningRuleLoyalty.d.ts +56 -0
- package/dist/types/model/EarningRuleLoyaltyCustomEvent.d.ts +30 -0
- package/dist/types/model/EarningRuleLoyaltyCustomEventMetadata.d.ts +32 -0
- package/dist/types/model/EarningRuleLoyaltyCustomer.d.ts +30 -0
- package/dist/types/model/EarningRuleLoyaltyCustomerMetadata.d.ts +32 -0
- package/dist/types/model/EarningRuleLoyaltyOrder.d.ts +34 -0
- package/dist/types/model/EarningRuleLoyaltyOrderAmount.d.ts +31 -0
- package/dist/types/model/EarningRuleLoyaltyOrderItems.d.ts +34 -0
- package/dist/types/model/EarningRuleLoyaltyOrderItemsAmount.d.ts +42 -0
- package/dist/types/model/EarningRuleLoyaltyOrderItemsAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/EarningRuleLoyaltyOrderItemsQuantity.d.ts +42 -0
- package/dist/types/model/EarningRuleLoyaltyOrderItemsQuantityApplicableToItem.d.ts +37 -0
- package/dist/types/model/EarningRuleLoyaltyOrderItemsSubtotalAmount.d.ts +42 -0
- package/dist/types/model/EarningRuleLoyaltyOrderItemsSubtotalAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/EarningRuleLoyaltyOrderMetadata.d.ts +32 -0
- package/dist/types/model/EarningRuleLoyaltyOrderTotalAmount.d.ts +31 -0
- package/dist/types/model/EarningRuleLoyaltyTier.d.ts +29 -0
- package/dist/types/model/EarningRulePendingPoints.d.ts +35 -0
- package/dist/types/model/EarningRuleSegment.d.ts +29 -0
- package/dist/types/model/EarningRuleSource.d.ts +36 -0
- package/dist/types/model/Error.d.ts +37 -0
- package/dist/types/model/ErrorError.d.ts +29 -0
- package/dist/types/model/EventSource.d.ts +41 -0
- package/dist/types/model/EventSourceApiKey.d.ts +30 -0
- package/dist/types/model/EventSourceUser.d.ts +29 -0
- package/dist/types/model/EventsCreateRequestBody.d.ts +46 -0
- package/dist/types/model/EventsCreateRequestBodyLoyalty.d.ts +29 -0
- package/dist/types/model/EventsCreateRequestBodyReferral.d.ts +30 -0
- package/dist/types/model/EventsCreateResponseBody.d.ts +48 -0
- package/dist/types/model/Export.d.ts +60 -0
- package/dist/types/model/ExportCampaignTransactionsFilters.d.ts +34 -0
- package/dist/types/model/ExportOrderFields.d.ts +80 -0
- package/dist/types/model/ExportOrderOrder.d.ts +45 -0
- package/dist/types/model/ExportParameters.d.ts +257 -0
- package/dist/types/model/ExportResult.d.ts +29 -0
- package/dist/types/model/ExportVoucherTransactionsFields.d.ts +75 -0
- package/dist/types/model/ExportVoucherTransactionsFilters.d.ts +34 -0
- package/dist/types/model/ExportVoucherTransactionsOrder.d.ts +25 -0
- package/dist/types/model/ExportsCreateRequestBody.d.ts +42 -0
- package/dist/types/model/ExportsCreateRequestBodyParameters.d.ts +257 -0
- package/dist/types/model/ExportsCreateResponseBody.d.ts +56 -0
- package/dist/types/model/ExportsCreateResponseBodyParameters.d.ts +257 -0
- package/dist/types/model/ExportsGetResponseBody.d.ts +60 -0
- package/dist/types/model/ExportsGetResponseBodyParameters.d.ts +257 -0
- package/dist/types/model/ExportsGetResponseBodyResult.d.ts +29 -0
- package/dist/types/model/ExportsListResponseBody.d.ts +41 -0
- package/dist/types/model/FieldConditions.d.ts +30 -0
- package/dist/types/model/FilterConditionsDateTime.d.ts +34 -0
- package/dist/types/model/FilterConditionsString.d.ts +38 -0
- package/dist/types/model/FiltersCondition.d.ts +53 -0
- package/dist/types/model/Gift.d.ts +38 -0
- package/dist/types/model/InapplicableTo.d.ts +65 -0
- package/dist/types/model/InapplicableToOrderItemUnitsItem.d.ts +31 -0
- package/dist/types/model/InapplicableToResultList.d.ts +41 -0
- package/dist/types/model/Junction.d.ts +25 -0
- package/dist/types/model/ListPublicationsItemValidSingleVoucher.d.ts +52 -0
- package/dist/types/model/ListPublicationsItemValidSingleVoucherMetadata.d.ts +31 -0
- package/dist/types/model/ListPublicationsItemVoucher.d.ts +42 -0
- package/dist/types/model/Location.d.ts +40 -0
- package/dist/types/model/LocationShape.d.ts +44 -0
- package/dist/types/model/LocationShapeDistance.d.ts +30 -0
- package/dist/types/model/LocationShapeGeojson.d.ts +36 -0
- package/dist/types/model/LocationsGetResponseBody.d.ts +40 -0
- package/dist/types/model/LocationsGetResponseBodyShape.d.ts +44 -0
- package/dist/types/model/LocationsGetResponseBodyShapeDistance.d.ts +30 -0
- package/dist/types/model/LocationsGetResponseBodyShapeGeojson.d.ts +36 -0
- package/dist/types/model/LocationsListResponseBody.d.ts +34 -0
- package/dist/types/model/LoyaltiesCreateCampaignRequestBody.d.ts +97 -0
- package/dist/types/model/LoyaltiesCreateCampaignResponseBody.d.ts +131 -0
- package/dist/types/model/LoyaltiesDeleteResponseBody.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItem.d.ts +92 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyalty.d.ts +56 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyCustomEvent.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyCustomEventMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyCustomer.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyCustomerMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrder.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItems.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsQuantity.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsQuantityApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsSubtotalAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsSubtotalAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderTotalAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyTier.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemPendingPoints.d.ts +35 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemSegment.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateRequestBodyItemSource.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBody.d.ts +100 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyCustomEvent.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyalty.d.ts +56 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyCustomEvent.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyCustomEventMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyCustomer.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyCustomerMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrder.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItems.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsQuantity.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsQuantityApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsSubtotalAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsSubtotalAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderTotalAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodyPendingPoints.d.ts +35 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodySegment.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesCreateResponseBodySource.d.ts +36 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBody.d.ts +99 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyCustomEvent.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyalty.d.ts +56 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyCustomEvent.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyCustomEventMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyCustomer.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyCustomerMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrder.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItems.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsQuantity.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsQuantityApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsSubtotalAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsSubtotalAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderTotalAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyLoyaltyTier.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodyPendingPoints.d.ts +35 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodySegment.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesDisableResponseBodySource.d.ts +36 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBody.d.ts +99 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyCustomEvent.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyalty.d.ts +56 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyCustomEvent.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyCustomEventMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyCustomer.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyCustomerMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrder.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItems.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsQuantity.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsQuantityApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsSubtotalAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsSubtotalAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderTotalAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyLoyaltyTier.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodyPendingPoints.d.ts +35 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodySegment.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesEnableResponseBodySource.d.ts +36 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBody.d.ts +100 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyCustomEvent.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyalty.d.ts +56 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomEvent.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomEventMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomer.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomerMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrder.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItems.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsQuantity.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsQuantityApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsSubtotalAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsSubtotalAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderTotalAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyLoyaltyTier.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodyPendingPoints.d.ts +35 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodySegment.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesGetResponseBodySource.d.ts +36 -0
- package/dist/types/model/LoyaltiesEarningRulesListResponseBody.d.ts +38 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBody.d.ts +85 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyalty.d.ts +56 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyCustomEvent.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyCustomEventMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyCustomer.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyCustomerMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrder.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItems.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsQuantity.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsQuantityApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsSubtotalAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsSubtotalAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderTotalAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodyPendingPoints.d.ts +35 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateRequestBodySource.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBody.d.ts +100 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyCustomEvent.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyalty.d.ts +56 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyCustomEvent.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyCustomEventMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyCustomer.d.ts +30 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyCustomerMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrder.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItems.d.ts +34 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsQuantity.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsQuantityApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsSubtotalAmount.d.ts +42 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsSubtotalAmountApplicableToItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderMetadata.d.ts +32 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderTotalAmount.d.ts +31 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyTier.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodyPendingPoints.d.ts +35 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodySegment.d.ts +29 -0
- package/dist/types/model/LoyaltiesEarningRulesUpdateResponseBodySource.d.ts +36 -0
- package/dist/types/model/LoyaltiesGetCampaignResponseBody.d.ts +131 -0
- package/dist/types/model/LoyaltiesListCampaignsResponseBody.d.ts +38 -0
- package/dist/types/model/LoyaltiesListMembersResponseBody.d.ts +38 -0
- package/dist/types/model/LoyaltiesLoyaltyTierReward.d.ts +54 -0
- package/dist/types/model/LoyaltiesMemberActivityListResponseBody.d.ts +39 -0
- package/dist/types/model/LoyaltiesMembersBalanceUpdateRequestBody.d.ts +34 -0
- package/dist/types/model/LoyaltiesMembersBalanceUpdateResponseBody.d.ts +49 -0
- package/dist/types/model/LoyaltiesMembersBalanceUpdateResponseBodyRelatedObject.d.ts +35 -0
- package/dist/types/model/LoyaltiesMembersCreateRequestBody.d.ts +34 -0
- package/dist/types/model/LoyaltiesMembersCreateResponseBody.d.ts +102 -0
- package/dist/types/model/LoyaltiesMembersCreateResponseBodyLoyaltyCard.d.ts +35 -0
- package/dist/types/model/LoyaltiesMembersCreateResponseBodyPublish.d.ts +31 -0
- package/dist/types/model/LoyaltiesMembersCreateResponseBodyRedemption.d.ts +33 -0
- package/dist/types/model/LoyaltiesMembersGetResponseBody.d.ts +102 -0
- package/dist/types/model/LoyaltiesMembersGetResponseBodyLoyaltyCard.d.ts +35 -0
- package/dist/types/model/LoyaltiesMembersGetResponseBodyPublish.d.ts +31 -0
- package/dist/types/model/LoyaltiesMembersGetResponseBodyRedemption.d.ts +33 -0
- package/dist/types/model/LoyaltiesMembersPendingPointsActivateResponseBody.d.ts +47 -0
- package/dist/types/model/LoyaltiesMembersPendingPointsActivateResponseBodyRelatedObject.d.ts +35 -0
- package/dist/types/model/LoyaltiesMembersPendingPointsBalanceRequestBody.d.ts +29 -0
- package/dist/types/model/LoyaltiesMembersPendingPointsBalanceResponseBody.d.ts +42 -0
- package/dist/types/model/LoyaltiesMembersPendingPointsBalanceResponseBodyRelatedObject.d.ts +35 -0
- package/dist/types/model/LoyaltiesMembersPendingPointsListResponseBody.d.ts +42 -0
- package/dist/types/model/LoyaltiesMembersPointsExpirationListResponseBody.d.ts +41 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemRequestBody.d.ts +33 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemRequestBodyReward.d.ts +30 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBody.d.ts +82 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyChannel.d.ts +37 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyGift.d.ts +29 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyLoyaltyCard.d.ts +29 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyOrder.d.ts +64 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyOrderCustomer.d.ts +35 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyOrderItemsItem.d.ts +62 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyOrderReferrer.d.ts +35 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyRelatedRedemptions.d.ts +32 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyRelatedRedemptionsRedemptionsItem.d.ts +30 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyRelatedRedemptionsRollbacksItem.d.ts +37 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodySession.d.ts +29 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyVoucher.d.ts +112 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherGift.d.ts +38 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherLoyaltyCard.d.ts +35 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherPublish.d.ts +31 -0
- package/dist/types/model/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherRedemption.d.ts +33 -0
- package/dist/types/model/LoyaltiesMembersRewardsListResponseBody.d.ts +41 -0
- package/dist/types/model/LoyaltiesMembersRewardsListResponseBodyDataItem.d.ts +38 -0
- package/dist/types/model/LoyaltiesMembersTiersListResponseBody.d.ts +41 -0
- package/dist/types/model/LoyaltiesMembersTransactionsExportCreateRequestBody.d.ts +30 -0
- package/dist/types/model/LoyaltiesMembersTransactionsExportCreateRequestBodyParameters.d.ts +34 -0
- package/dist/types/model/LoyaltiesMembersTransactionsExportCreateResponseBody.d.ts +50 -0
- package/dist/types/model/LoyaltiesMembersTransactionsExportCreateResponseBodyParameters.d.ts +34 -0
- package/dist/types/model/LoyaltiesMembersTransactionsListResponseBody.d.ts +42 -0
- package/dist/types/model/LoyaltiesMembersTransfersCreateResponseBody.d.ts +146 -0
- package/dist/types/model/LoyaltiesMembersTransfersCreateResponseBodyAssets.d.ts +32 -0
- package/dist/types/model/LoyaltiesMembersTransfersCreateResponseBodyAssetsBarcode.d.ts +30 -0
- package/dist/types/model/LoyaltiesMembersTransfersCreateResponseBodyAssetsQr.d.ts +30 -0
- package/dist/types/model/LoyaltiesMembersTransfersCreateResponseBodyLoyaltyCard.d.ts +35 -0
- package/dist/types/model/LoyaltiesMembersTransfersCreateResponseBodyPublish.d.ts +37 -0
- package/dist/types/model/LoyaltiesMembersTransfersCreateResponseBodyRedemption.d.ts +38 -0
- package/dist/types/model/LoyaltiesPendingPointsListResponseBody.d.ts +42 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateRequestBody.d.ts +30 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateRequestBodyParameters.d.ts +54 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFilters.d.ts +34 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFiltersCampaignId.d.ts +30 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFiltersCampaignIdConditions.d.ts +32 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFiltersVoucherId.d.ts +30 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFiltersVoucherIdConditions.d.ts +32 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateResponseBody.d.ts +54 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateResponseBodyParameters.d.ts +54 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFilters.d.ts +34 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFiltersCampaignId.d.ts +30 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFiltersCampaignIdConditions.d.ts +32 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFiltersVoucherId.d.ts +30 -0
- package/dist/types/model/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFiltersVoucherIdConditions.d.ts +32 -0
- package/dist/types/model/LoyaltiesRewardAssignmentsGetResponseBody.d.ts +45 -0
- package/dist/types/model/LoyaltiesRewardAssignmentsGetResponseBodyParameters.d.ts +30 -0
- package/dist/types/model/LoyaltiesRewardAssignmentsGetResponseBodyParametersLoyalty.d.ts +30 -0
- package/dist/types/model/LoyaltiesRewardAssignmentsListResponseBody.d.ts +38 -0
- package/dist/types/model/LoyaltiesRewardAssignmentsRewardGetResponseBody.d.ts +65 -0
- package/dist/types/model/LoyaltiesRewardAssignmentsRewardGetResponseBodyAttributes.d.ts +30 -0
- package/dist/types/model/LoyaltiesRewardsCreateAssignmentItemRequestBody.d.ts +32 -0
- package/dist/types/model/LoyaltiesRewardsCreateAssignmentItemRequestBodyParameters.d.ts +30 -0
- package/dist/types/model/LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty.d.ts +29 -0
- package/dist/types/model/LoyaltiesRewardsCreateAssignmentResponseBody.d.ts +45 -0
- package/dist/types/model/LoyaltiesRewardsCreateAssignmentResponseBodyParameters.d.ts +30 -0
- package/dist/types/model/LoyaltiesRewardsCreateAssignmentResponseBodyParametersLoyalty.d.ts +30 -0
- package/dist/types/model/LoyaltiesRewardsGetResponseBody.d.ts +45 -0
- package/dist/types/model/LoyaltiesRewardsGetResponseBodyParameters.d.ts +30 -0
- package/dist/types/model/LoyaltiesRewardsGetResponseBodyParametersLoyalty.d.ts +30 -0
- package/dist/types/model/LoyaltiesRewardsListAssignmentsResponseBody.d.ts +38 -0
- package/dist/types/model/LoyaltiesRewardsUpdateAssignmentRequestBody.d.ts +30 -0
- package/dist/types/model/LoyaltiesRewardsUpdateAssignmentRequestBodyParameters.d.ts +30 -0
- package/dist/types/model/LoyaltiesRewardsUpdateAssignmentRequestBodyParametersLoyalty.d.ts +30 -0
- package/dist/types/model/LoyaltiesRewardsUpdateAssignmentResponseBody.d.ts +45 -0
- package/dist/types/model/LoyaltiesRewardsUpdateAssignmentResponseBodyParameters.d.ts +30 -0
- package/dist/types/model/LoyaltiesRewardsUpdateAssignmentResponseBodyParametersLoyalty.d.ts +30 -0
- package/dist/types/model/LoyaltiesTiersCreateInBulkRequestBodyItem.d.ts +34 -0
- package/dist/types/model/LoyaltiesTiersEarningRulesListResponseBody.d.ts +41 -0
- package/dist/types/model/LoyaltiesTiersGetResponseBody.d.ts +48 -0
- package/dist/types/model/LoyaltiesTiersGetResponseBodyConfig.d.ts +30 -0
- package/dist/types/model/LoyaltiesTiersGetResponseBodyConfigPoints.d.ts +30 -0
- package/dist/types/model/LoyaltiesTiersGetResponseBodyPoints.d.ts +30 -0
- package/dist/types/model/LoyaltiesTiersListResponseBody.d.ts +41 -0
- package/dist/types/model/LoyaltiesTiersRewardsListResponseBody.d.ts +33 -0
- package/dist/types/model/LoyaltiesTransactionsExportCreateRequestBody.d.ts +30 -0
- package/dist/types/model/LoyaltiesTransactionsExportCreateRequestBodyParameters.d.ts +59 -0
- package/dist/types/model/LoyaltiesTransactionsListResponseBody.d.ts +42 -0
- package/dist/types/model/LoyaltiesTransferPoints.d.ts +32 -0
- package/dist/types/model/LoyaltiesUpdateCampaignRequestBody.d.ts +93 -0
- package/dist/types/model/LoyaltiesUpdateCampaignRequestBodyOptions.d.ts +29 -0
- package/dist/types/model/LoyaltiesUpdateCampaignResponseBody.d.ts +131 -0
- package/dist/types/model/LoyaltyCampaign.d.ts +131 -0
- package/dist/types/model/LoyaltyCampaignVoucher.d.ts +93 -0
- package/dist/types/model/LoyaltyCampaignVoucherRedemption.d.ts +29 -0
- package/dist/types/model/LoyaltyCardTransaction.d.ts +40 -0
- package/dist/types/model/LoyaltyCardTransactionDetails.d.ts +57 -0
- package/dist/types/model/LoyaltyCardTransactionDetailsCustomEvent.d.ts +30 -0
- package/dist/types/model/LoyaltyCardTransactionDetailsEarningRule.d.ts +31 -0
- package/dist/types/model/LoyaltyCardTransactionDetailsEarningRuleSource.d.ts +29 -0
- package/dist/types/model/LoyaltyCardTransactionDetailsEvent.d.ts +30 -0
- package/dist/types/model/LoyaltyCardTransactionDetailsEventSchema.d.ts +30 -0
- package/dist/types/model/LoyaltyCardTransactionDetailsHolderLoyaltyTier.d.ts +30 -0
- package/dist/types/model/LoyaltyCardTransactionDetailsLoyaltyTier.d.ts +30 -0
- package/dist/types/model/LoyaltyCardTransactionDetailsOrder.d.ts +30 -0
- package/dist/types/model/LoyaltyCardTransactionDetailsRedemption.d.ts +29 -0
- package/dist/types/model/LoyaltyCardTransactionDetailsReward.d.ts +30 -0
- package/dist/types/model/LoyaltyCardTransactionDetailsRollback.d.ts +29 -0
- package/dist/types/model/LoyaltyCardTransactionDetailsSegment.d.ts +30 -0
- package/dist/types/model/LoyaltyCardTransactionsType.d.ts +60 -0
- package/dist/types/model/LoyaltyMember.d.ts +102 -0
- package/dist/types/model/LoyaltyMemberLoyaltyCard.d.ts +35 -0
- package/dist/types/model/LoyaltyMemberPublish.d.ts +31 -0
- package/dist/types/model/LoyaltyMemberRedemption.d.ts +33 -0
- package/dist/types/model/LoyaltyPendingPoints.d.ts +49 -0
- package/dist/types/model/LoyaltyPendingPointsDetails.d.ts +38 -0
- package/dist/types/model/LoyaltyPendingPointsDetailsEarningRule.d.ts +31 -0
- package/dist/types/model/LoyaltyPendingPointsDetailsEarningRuleSource.d.ts +29 -0
- package/dist/types/model/LoyaltyPendingPointsDetailsEvent.d.ts +49 -0
- package/dist/types/model/LoyaltyPendingPointsDetailsHolderLoyaltyTier.d.ts +30 -0
- package/dist/types/model/LoyaltyPendingPointsDetailsLoyaltyTier.d.ts +30 -0
- package/dist/types/model/LoyaltyPendingPointsDetailsOrder.d.ts +30 -0
- package/dist/types/model/LoyaltyPointsBucket.d.ts +43 -0
- package/dist/types/model/LoyaltyPointsBucketBucket.d.ts +29 -0
- package/dist/types/model/LoyaltyTier.d.ts +48 -0
- package/dist/types/model/LoyaltyTierBase.d.ts +33 -0
- package/dist/types/model/LoyaltyTierBasePoints.d.ts +30 -0
- package/dist/types/model/LoyaltyTierConfig.d.ts +30 -0
- package/dist/types/model/LoyaltyTierConfigPoints.d.ts +30 -0
- package/dist/types/model/LoyaltyTierExpiration.d.ts +35 -0
- package/dist/types/model/LoyaltyTierPoints.d.ts +30 -0
- package/dist/types/model/LoyaltyTiersExpirationAll.d.ts +46 -0
- package/dist/types/model/LoyaltyTiersExpirationAllExpirationDate.d.ts +40 -0
- package/dist/types/model/LoyaltyTiersExpirationAllExpirationDateRounding.d.ts +49 -0
- package/dist/types/model/LoyaltyTiersExpirationAllStartDate.d.ts +35 -0
- package/dist/types/model/ManagementProject.d.ts +71 -0
- package/dist/types/model/ManagementProjectApiUsageNotifications.d.ts +35 -0
- package/dist/types/model/ManagementProjectDefaultCodeConfig.d.ts +29 -0
- package/dist/types/model/ManagementProjectLimits.d.ts +32 -0
- package/dist/types/model/ManagementProjectLimitsApiCallsItem.d.ts +30 -0
- package/dist/types/model/ManagementProjectLimitsBulkApiCallsItem.d.ts +30 -0
- package/dist/types/model/ManagementProjectWebhooksCalloutNotifications.d.ts +32 -0
- package/dist/types/model/ManagementProjectWebhooksCalloutNotificationsDistributions.d.ts +31 -0
- package/dist/types/model/ManagementProjectWebhooksCalloutNotificationsWebhooks.d.ts +31 -0
- package/dist/types/model/ManagementProjectsBranding.d.ts +37 -0
- package/dist/types/model/ManagementProjectsBrandingAddress.d.ts +33 -0
- package/dist/types/model/ManagementProjectsBrandingBrand.d.ts +33 -0
- package/dist/types/model/ManagementProjectsBrandingCockpits.d.ts +80 -0
- package/dist/types/model/ManagementProjectsBrandingContact.d.ts +30 -0
- package/dist/types/model/ManagementProjectsBrandingCreateRequestBody.d.ts +36 -0
- package/dist/types/model/ManagementProjectsBrandingCreateRequestBodyAddress.d.ts +33 -0
- package/dist/types/model/ManagementProjectsBrandingCreateRequestBodyBrand.d.ts +33 -0
- package/dist/types/model/ManagementProjectsBrandingCreateRequestBodyCockpits.d.ts +80 -0
- package/dist/types/model/ManagementProjectsBrandingCreateRequestBodyContact.d.ts +30 -0
- package/dist/types/model/ManagementProjectsBrandingCreateResponseBody.d.ts +37 -0
- package/dist/types/model/ManagementProjectsBrandingCreateResponseBodyAddress.d.ts +33 -0
- package/dist/types/model/ManagementProjectsBrandingCreateResponseBodyBrand.d.ts +33 -0
- package/dist/types/model/ManagementProjectsBrandingCreateResponseBodyCockpits.d.ts +80 -0
- package/dist/types/model/ManagementProjectsBrandingCreateResponseBodyContact.d.ts +30 -0
- package/dist/types/model/ManagementProjectsBrandingGetResponseBody.d.ts +37 -0
- package/dist/types/model/ManagementProjectsBrandingGetResponseBodyAddress.d.ts +33 -0
- package/dist/types/model/ManagementProjectsBrandingGetResponseBodyBrand.d.ts +33 -0
- package/dist/types/model/ManagementProjectsBrandingGetResponseBodyCockpits.d.ts +80 -0
- package/dist/types/model/ManagementProjectsBrandingGetResponseBodyContact.d.ts +30 -0
- package/dist/types/model/ManagementProjectsBrandingListResponseBody.d.ts +41 -0
- package/dist/types/model/ManagementProjectsBrandingUpdateRequestBody.d.ts +36 -0
- package/dist/types/model/ManagementProjectsBrandingUpdateRequestBodyAddress.d.ts +33 -0
- package/dist/types/model/ManagementProjectsBrandingUpdateRequestBodyBrand.d.ts +33 -0
- package/dist/types/model/ManagementProjectsBrandingUpdateRequestBodyCockpits.d.ts +75 -0
- package/dist/types/model/ManagementProjectsBrandingUpdateRequestBodyContact.d.ts +30 -0
- package/dist/types/model/ManagementProjectsBrandingUpdateResponseBody.d.ts +37 -0
- package/dist/types/model/ManagementProjectsBrandingUpdateResponseBodyAddress.d.ts +33 -0
- package/dist/types/model/ManagementProjectsBrandingUpdateResponseBodyBrand.d.ts +33 -0
- package/dist/types/model/ManagementProjectsBrandingUpdateResponseBodyCockpits.d.ts +80 -0
- package/dist/types/model/ManagementProjectsBrandingUpdateResponseBodyContact.d.ts +30 -0
- package/dist/types/model/ManagementProjectsCreateRequestBody.d.ts +66 -0
- package/dist/types/model/ManagementProjectsCreateRequestBodyApiUsageNotifications.d.ts +34 -0
- package/dist/types/model/ManagementProjectsCreateRequestBodyUsersItem.d.ts +41 -0
- package/dist/types/model/ManagementProjectsCreateRequestBodyWebhooksCalloutNotifications.d.ts +32 -0
- package/dist/types/model/ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsDistributions.d.ts +31 -0
- package/dist/types/model/ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks.d.ts +31 -0
- package/dist/types/model/ManagementProjectsCreateResponseBody.d.ts +71 -0
- package/dist/types/model/ManagementProjectsCreateResponseBodyApiUsageNotifications.d.ts +35 -0
- package/dist/types/model/ManagementProjectsCreateResponseBodyClientSideKey.d.ts +30 -0
- package/dist/types/model/ManagementProjectsCreateResponseBodyServerSideKey.d.ts +30 -0
- package/dist/types/model/ManagementProjectsCreateResponseBodyWebhooksCalloutNotifications.d.ts +32 -0
- package/dist/types/model/ManagementProjectsCreateResponseBodyWebhooksCalloutNotificationsDistributions.d.ts +31 -0
- package/dist/types/model/ManagementProjectsCreateResponseBodyWebhooksCalloutNotificationsWebhooks.d.ts +31 -0
- package/dist/types/model/ManagementProjectsCustomEventSchema.d.ts +44 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemaSchema.d.ts +29 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemasCreateRequestBody.d.ts +31 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemasCreateRequestBodySchema.d.ts +29 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntryValue.d.ts +75 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemasCreateResponseBody.d.ts +44 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemasCreateResponseBodySchema.d.ts +29 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemasGetResponseBody.d.ts +44 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemasGetResponseBodySchema.d.ts +29 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemasListResponseBody.d.ts +41 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemasUpdateRequestBody.d.ts +30 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemasUpdateRequestBodySchema.d.ts +29 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemasUpdateResponseBody.d.ts +44 -0
- package/dist/types/model/ManagementProjectsCustomEventSchemasUpdateResponseBodySchema.d.ts +29 -0
- package/dist/types/model/ManagementProjectsGetResponseBody.d.ts +71 -0
- package/dist/types/model/ManagementProjectsGetResponseBodyApiUsageNotifications.d.ts +35 -0
- package/dist/types/model/ManagementProjectsGetResponseBodyDefaultCodeConfig.d.ts +29 -0
- package/dist/types/model/ManagementProjectsGetResponseBodyLimits.d.ts +32 -0
- package/dist/types/model/ManagementProjectsGetResponseBodyLimitsApiCallsItem.d.ts +30 -0
- package/dist/types/model/ManagementProjectsGetResponseBodyLimitsBulkApiCallsItem.d.ts +30 -0
- package/dist/types/model/ManagementProjectsGetResponseBodyWebhooksCalloutNotifications.d.ts +32 -0
- package/dist/types/model/ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions.d.ts +31 -0
- package/dist/types/model/ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsWebhooks.d.ts +31 -0
- package/dist/types/model/ManagementProjectsListResponseBody.d.ts +41 -0
- package/dist/types/model/ManagementProjectsMetadataSchema.d.ts +35 -0
- package/dist/types/model/ManagementProjectsMetadataSchemaDefinition.d.ts +54 -0
- package/dist/types/model/ManagementProjectsMetadataSchemasCreateRequestBody.d.ts +31 -0
- package/dist/types/model/ManagementProjectsMetadataSchemasCreateResponseBody.d.ts +35 -0
- package/dist/types/model/ManagementProjectsMetadataSchemasGetResponseBody.d.ts +35 -0
- package/dist/types/model/ManagementProjectsMetadataSchemasListResponseBody.d.ts +41 -0
- package/dist/types/model/ManagementProjectsMetadataSchemasUpdateRequestBody.d.ts +30 -0
- package/dist/types/model/ManagementProjectsMetadataSchemasUpdateResponseBody.d.ts +35 -0
- package/dist/types/model/ManagementProjectsStackingRules.d.ts +75 -0
- package/dist/types/model/ManagementProjectsStackingRulesCreateRequestBody.d.ts +72 -0
- package/dist/types/model/ManagementProjectsStackingRulesCreateResponseBody.d.ts +75 -0
- package/dist/types/model/ManagementProjectsStackingRulesGetResponseBody.d.ts +75 -0
- package/dist/types/model/ManagementProjectsStackingRulesListResponseBody.d.ts +41 -0
- package/dist/types/model/ManagementProjectsStackingRulesUpdateRequestBody.d.ts +72 -0
- package/dist/types/model/ManagementProjectsStackingRulesUpdateResponseBody.d.ts +75 -0
- package/dist/types/model/ManagementProjectsTemplatesCampaignsCopyCreateRequestBody.d.ts +31 -0
- package/dist/types/model/ManagementProjectsTemplatesCampaignsCopyCreateResponseBody.d.ts +43 -0
- package/dist/types/model/ManagementProjectsTemplatesCampaignsListResponseBody.d.ts +43 -0
- package/dist/types/model/ManagementProjectsUpdateRequestBody.d.ts +56 -0
- package/dist/types/model/ManagementProjectsUpdateRequestBodyApiUsageNotifications.d.ts +34 -0
- package/dist/types/model/ManagementProjectsUpdateRequestBodyDefaultCodeConfig.d.ts +29 -0
- package/dist/types/model/ManagementProjectsUpdateRequestBodyWebhooksCalloutNotifications.d.ts +32 -0
- package/dist/types/model/ManagementProjectsUpdateRequestBodyWebhooksCalloutNotificationsDistributions.d.ts +31 -0
- package/dist/types/model/ManagementProjectsUpdateRequestBodyWebhooksCalloutNotificationsWebhooks.d.ts +31 -0
- package/dist/types/model/ManagementProjectsUpdateResponseBody.d.ts +71 -0
- package/dist/types/model/ManagementProjectsUpdateResponseBodyApiUsageNotifications.d.ts +35 -0
- package/dist/types/model/ManagementProjectsUpdateResponseBodyDefaultCodeConfig.d.ts +29 -0
- package/dist/types/model/ManagementProjectsUpdateResponseBodyLimits.d.ts +32 -0
- package/dist/types/model/ManagementProjectsUpdateResponseBodyLimitsApiCallsItem.d.ts +30 -0
- package/dist/types/model/ManagementProjectsUpdateResponseBodyLimitsBulkApiCallsItem.d.ts +30 -0
- package/dist/types/model/ManagementProjectsUpdateResponseBodyWebhooksCalloutNotifications.d.ts +32 -0
- package/dist/types/model/ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsDistributions.d.ts +31 -0
- package/dist/types/model/ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks.d.ts +31 -0
- package/dist/types/model/ManagementProjectsUsersAssignRequestBody.d.ts +31 -0
- package/dist/types/model/ManagementProjectsUsersAssignResponseBody.d.ts +35 -0
- package/dist/types/model/ManagementProjectsUsersGetUserResponseBody.d.ts +35 -0
- package/dist/types/model/ManagementProjectsUsersInviteCreateRequestBody.d.ts +32 -0
- package/dist/types/model/ManagementProjectsUsersListResponseBody.d.ts +41 -0
- package/dist/types/model/ManagementProjectsUsersUpdateRoleRequestBody.d.ts +29 -0
- package/dist/types/model/ManagementProjectsUsersUpdateRoleResponseBody.d.ts +35 -0
- package/dist/types/model/ManagementProjectsWebhook.d.ts +341 -0
- package/dist/types/model/ManagementProjectsWebhooksCreateRequestBody.d.ts +335 -0
- package/dist/types/model/ManagementProjectsWebhooksCreateResponseBody.d.ts +341 -0
- package/dist/types/model/ManagementProjectsWebhooksGetResponseBody.d.ts +341 -0
- package/dist/types/model/ManagementProjectsWebhooksListResponseBody.d.ts +41 -0
- package/dist/types/model/ManagementProjectsWebhooksUpdateRequestBody.d.ts +335 -0
- package/dist/types/model/ManagementProjectsWebhooksUpdateResponseBody.d.ts +341 -0
- package/dist/types/model/MappingPoints.d.ts +37 -0
- package/dist/types/model/MemberActivity.d.ts +168 -0
- package/dist/types/model/MemberActivityData.d.ts +82 -0
- package/dist/types/model/MemberActivityData1.d.ts +32 -0
- package/dist/types/model/MemberActivityDataBalance.d.ts +50 -0
- package/dist/types/model/MemberActivityDataBalanceRelatedObject.d.ts +35 -0
- package/dist/types/model/MemberActivityDataCustomerEvent.d.ts +31 -0
- package/dist/types/model/MemberActivityDataOrder.d.ts +64 -0
- package/dist/types/model/MemberActivityDataOrderCustomer.d.ts +35 -0
- package/dist/types/model/MemberActivityDataOrderItemsItem.d.ts +60 -0
- package/dist/types/model/MemberActivityDataOrderItemsItemProduct.d.ts +34 -0
- package/dist/types/model/MemberActivityDataOrderItemsItemSku.d.ts +34 -0
- package/dist/types/model/MemberActivityDataOrderReferrer.d.ts +35 -0
- package/dist/types/model/MemberActivityDataRedemption.d.ts +96 -0
- package/dist/types/model/MemberActivityDataRedemptionChannel.d.ts +37 -0
- package/dist/types/model/MemberActivityDataRedemptionOrder.d.ts +64 -0
- package/dist/types/model/MemberActivityDataRedemptionOrderCustomer.d.ts +35 -0
- package/dist/types/model/MemberActivityDataRedemptionOrderItemsItem.d.ts +60 -0
- package/dist/types/model/MemberActivityDataRedemptionOrderItemsItemProduct.d.ts +34 -0
- package/dist/types/model/MemberActivityDataRedemptionOrderItemsItemSku.d.ts +34 -0
- package/dist/types/model/MemberActivityDataRedemptionOrderReferrer.d.ts +35 -0
- package/dist/types/model/MemberActivityDataRedemptionPreviousOrder.d.ts +64 -0
- package/dist/types/model/MemberActivityDataRedemptionPreviousOrderCustomer.d.ts +35 -0
- package/dist/types/model/MemberActivityDataRedemptionPreviousOrderReferrer.d.ts +35 -0
- package/dist/types/model/MemberActivityDataRedemptionPromotionTier.d.ts +96 -0
- package/dist/types/model/MemberActivityDataRedemptionPromotionTierAction.d.ts +30 -0
- package/dist/types/model/MemberActivityDataRedemptionPromotionTierCampaign.d.ts +78 -0
- package/dist/types/model/MemberActivityDataRedemptionPromotionTierSummary.d.ts +32 -0
- package/dist/types/model/MemberActivityDataRedemptionPromotionTierSummaryOrders.d.ts +30 -0
- package/dist/types/model/MemberActivityDataRedemptionPromotionTierSummaryRedemptions.d.ts +29 -0
- package/dist/types/model/MemberActivityDataRedemptionRelatedRedemptions.d.ts +32 -0
- package/dist/types/model/MemberActivityDataRedemptionRelatedRedemptionsRedemptionsItem.d.ts +30 -0
- package/dist/types/model/MemberActivityDataRedemptionRelatedRedemptionsRollbacksItem.d.ts +30 -0
- package/dist/types/model/MemberActivityDataRedemptionReward.d.ts +57 -0
- package/dist/types/model/MemberActivityDataRedemptionRewardCustomer.d.ts +39 -0
- package/dist/types/model/MemberActivityDataRedemptionRewardParameters.d.ts +34 -0
- package/dist/types/model/MemberActivityDataRedemptionRewardParametersCampaign.d.ts +31 -0
- package/dist/types/model/MemberActivityDataRedemptionRewardParametersCoin.d.ts +30 -0
- package/dist/types/model/MemberActivityDataRedemptionRewardParametersProduct.d.ts +30 -0
- package/dist/types/model/MemberActivityDataRedemptionRewardProduct.d.ts +45 -0
- package/dist/types/model/MemberActivityDataRedemptionRewardSku.d.ts +45 -0
- package/dist/types/model/MemberActivityDataRedemptionRewardVoucher.d.ts +111 -0
- package/dist/types/model/MemberActivityDataRedemptionRewardVoucherGift.d.ts +38 -0
- package/dist/types/model/MemberActivityDataRedemptionRewardVoucherLoyaltyCard.d.ts +35 -0
- package/dist/types/model/MemberActivityDataRedemptionRewardVoucherPublish.d.ts +31 -0
- package/dist/types/model/MemberActivityDataRedemptionRewardVoucherRedemption.d.ts +33 -0
- package/dist/types/model/MemberActivityDataRedemptionVoucher.d.ts +113 -0
- package/dist/types/model/MemberActivityDataRedemptionVoucherGift.d.ts +38 -0
- package/dist/types/model/MemberActivityDataRedemptionVoucherLoyaltyCard.d.ts +35 -0
- package/dist/types/model/MemberActivityDataRedemptionVoucherPublish.d.ts +31 -0
- package/dist/types/model/MemberActivityDataRedemptionVoucherRedemption.d.ts +33 -0
- package/dist/types/model/MemberActivityDataTransaction.d.ts +56 -0
- package/dist/types/model/MemberActivityDataTransactionDetails.d.ts +58 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsCustomEvent.d.ts +30 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsDestinationVoucher.d.ts +64 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsDestinationVoucherGift.d.ts +38 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsDestinationVoucherLoyaltyCard.d.ts +35 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsDestinationVoucherRedemption.d.ts +31 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsEarningRule.d.ts +31 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsEarningRuleSource.d.ts +29 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsEvent.d.ts +30 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsEventSchema.d.ts +30 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsHolderLoyaltyTier.d.ts +30 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsLoyaltyTier.d.ts +30 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsOrder.d.ts +30 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsRedemption.d.ts +29 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsReward.d.ts +30 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsRollback.d.ts +29 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsSegment.d.ts +30 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsSourceVoucher.d.ts +64 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsSourceVoucherGift.d.ts +38 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsSourceVoucherLoyaltyCard.d.ts +35 -0
- package/dist/types/model/MemberActivityDataTransactionDetailsSourceVoucherRedemption.d.ts +31 -0
- package/dist/types/model/MetadataSchemaDefinitionDeprecated.d.ts +54 -0
- package/dist/types/model/MetadataSchemaDeprecated.d.ts +35 -0
- package/dist/types/model/MetadataSchemasGetResponseBody.d.ts +35 -0
- package/dist/types/model/MetadataSchemasListResponseBody.d.ts +41 -0
- package/dist/types/model/OAuthTokenGenerateResponseBody.d.ts +39 -0
- package/dist/types/model/OAuthTokenIntrospectResponseBody.d.ts +40 -0
- package/dist/types/model/Order.d.ts +45 -0
- package/dist/types/model/OrderCalculated.d.ts +62 -0
- package/dist/types/model/OrderCalculatedItem.d.ts +60 -0
- package/dist/types/model/OrderCalculatedItemProduct.d.ts +34 -0
- package/dist/types/model/OrderCalculatedItemSku.d.ts +34 -0
- package/dist/types/model/OrderItem.d.ts +50 -0
- package/dist/types/model/OrderItemProduct.d.ts +34 -0
- package/dist/types/model/OrderItemSku.d.ts +34 -0
- package/dist/types/model/OrderRedemptionsEntry.d.ts +36 -0
- package/dist/types/model/OrdersCreateRequestBody.d.ts +51 -0
- package/dist/types/model/OrdersCreateResponseBody.d.ts +64 -0
- package/dist/types/model/OrdersExportCreateRequestBody.d.ts +30 -0
- package/dist/types/model/OrdersExportCreateRequestBodyParameters.d.ts +33 -0
- package/dist/types/model/OrdersExportCreateResponseBody.d.ts +50 -0
- package/dist/types/model/OrdersExportCreateResponseBodyParameters.d.ts +33 -0
- package/dist/types/model/OrdersGetResponseBody.d.ts +64 -0
- package/dist/types/model/OrdersImportCreateRequestBodyItem.d.ts +51 -0
- package/dist/types/model/OrdersImportCreateResponseBody.d.ts +29 -0
- package/dist/types/model/OrdersListResponseBody.d.ts +41 -0
- package/dist/types/model/OrdersListResponseBodyOrdersItem.d.ts +64 -0
- package/dist/types/model/OrdersUpdateRequestBody.d.ts +50 -0
- package/dist/types/model/OrdersUpdateResponseBody.d.ts +64 -0
- package/dist/types/model/ParameterActivityCategory.d.ts +25 -0
- package/dist/types/model/ParameterCampaignStatusListCampaigns.d.ts +40 -0
- package/dist/types/model/ParameterCampaignType.d.ts +40 -0
- package/dist/types/model/ParameterCampaignsAccessSetttings.d.ts +30 -0
- package/dist/types/model/ParameterCampaignsAccessSetttingsFilter.d.ts +31 -0
- package/dist/types/model/ParameterCreatedBeforeAfter.d.ts +30 -0
- package/dist/types/model/ParameterCustomerEvent.d.ts +350 -0
- package/dist/types/model/ParameterExpandListCampaigns.d.ts +25 -0
- package/dist/types/model/ParameterFiltersListBin.d.ts +38 -0
- package/dist/types/model/ParameterFiltersListBinId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListBinResourceId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListBinResourceName.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListBinResourceType.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListBinResourceTypeConditions.d.ts +74 -0
- package/dist/types/model/ParameterFiltersListCampaigns.d.ts +62 -0
- package/dist/types/model/ParameterFiltersListCampaignsActive.d.ts +32 -0
- package/dist/types/model/ParameterFiltersListCampaignsCampaignStatus.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsCampaignStatusConditions.d.ts +81 -0
- package/dist/types/model/ParameterFiltersListCampaignsCampaigns.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsCampaignsId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsCategories.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsCategoryIds.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsCreatedDate.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsExpirationDate.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsIsReferralCode.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsIsReferralCodeConditions.d.ts +42 -0
- package/dist/types/model/ParameterFiltersListCampaignsStartDate.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsStatus.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsStatusConditions.d.ts +33 -0
- package/dist/types/model/ParameterFiltersListCampaignsType.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsTypeConditions.d.ts +48 -0
- package/dist/types/model/ParameterFiltersListCampaignsUpdatedAt.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsValidityDayOfWeek.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsValidityDayOfWeekConditions.d.ts +68 -0
- package/dist/types/model/ParameterFiltersListCampaignsValidityTimeframe.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsVoucherType.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCampaignsVoucherTypeConditions.d.ts +67 -0
- package/dist/types/model/ParameterFiltersListCustomerRedeemables.d.ts +46 -0
- package/dist/types/model/ParameterFiltersListCustomerRedeemablesCampaignId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCustomerRedeemablesCampaignType.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCustomerRedeemablesCampaignTypeConditions.d.ts +74 -0
- package/dist/types/model/ParameterFiltersListCustomerRedeemablesCreatedAt.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCustomerRedeemablesHolderRole.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCustomerRedeemablesHolderRoleConditions.d.ts +67 -0
- package/dist/types/model/ParameterFiltersListCustomerRedeemablesId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCustomerRedeemablesRedeemableId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCustomerRedeemablesRedeemableObject.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListCustomerRedeemablesRedeemableObjectConditions.d.ts +53 -0
- package/dist/types/model/ParameterFiltersListCustomerRedeemablesVoucherType.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListLocations.d.ts +34 -0
- package/dist/types/model/ParameterFiltersListLocationsCreatedAt.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListLocationsName.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListLocationsUpdatedAt.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListMemberTransactions.d.ts +32 -0
- package/dist/types/model/ParameterFiltersListPublications.d.ts +48 -0
- package/dist/types/model/ParameterFiltersListPublicationsCampaignName.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListPublicationsCustomerId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListPublicationsFailureCode.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListPublicationsIsReferralCode.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListPublicationsParentObjectId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListPublicationsRelatedObjectId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListPublicationsResult.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListPublicationsSourceId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListPublicationsVoucherType.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListRedemptions.d.ts +50 -0
- package/dist/types/model/ParameterFiltersListRedemptionsCampaignName.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListRedemptionsCustomerId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListRedemptionsFailureCode.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListRedemptionsObject.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListRedemptionsParentRedemptionId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListRedemptionsRelatedObjectId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListRedemptionsRelatedObjectParentId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListRedemptionsResult.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListRedemptionsUserLogin.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListRedemptionsVoucherCode.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListReferralsRedeemableHolders.d.ts +38 -0
- package/dist/types/model/ParameterFiltersListReferralsRedeemableHoldersCreatedAt.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListReferralsRedeemableHoldersCustomerId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListReferralsRedeemableHoldersHolderRole.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListReferralsRedeemableHoldersHolderRoleConditions.d.ts +60 -0
- package/dist/types/model/ParameterFiltersListReferralsRedeemableHoldersId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListTemplates.d.ts +36 -0
- package/dist/types/model/ParameterFiltersListTemplatesCampaignType.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListTemplatesCampaignTypeConditions.d.ts +60 -0
- package/dist/types/model/ParameterFiltersListTemplatesId.d.ts +30 -0
- package/dist/types/model/ParameterFiltersListTemplatesName.d.ts +30 -0
- package/dist/types/model/ParameterOrder.d.ts +75 -0
- package/dist/types/model/ParameterOrderCreatedAt.d.ts +25 -0
- package/dist/types/model/ParameterOrderListAllPromotionStacks.d.ts +45 -0
- package/dist/types/model/ParameterOrderListBin.d.ts +25 -0
- package/dist/types/model/ParameterOrderListCampaigns.d.ts +35 -0
- package/dist/types/model/ParameterOrderListCustomers.d.ts +45 -0
- package/dist/types/model/ParameterOrderListEarningRules.d.ts +35 -0
- package/dist/types/model/ParameterOrderListExports.d.ts +35 -0
- package/dist/types/model/ParameterOrderListLocations.d.ts +35 -0
- package/dist/types/model/ParameterOrderListLoyaltyTiers.d.ts +35 -0
- package/dist/types/model/ParameterOrderListOrders.d.ts +35 -0
- package/dist/types/model/ParameterOrderListPendingPoints.d.ts +25 -0
- package/dist/types/model/ParameterOrderListPromotionTiers.d.ts +35 -0
- package/dist/types/model/ParameterOrderListPromotionTiersClientSide.d.ts +35 -0
- package/dist/types/model/ParameterOrderListPublications.d.ts +75 -0
- package/dist/types/model/ParameterOrderListRedeemables.d.ts +25 -0
- package/dist/types/model/ParameterOrderListRedemptions.d.ts +65 -0
- package/dist/types/model/ParameterOrderListTransactions.d.ts +25 -0
- package/dist/types/model/ParameterOrderListValidationRuleAssignments.d.ts +25 -0
- package/dist/types/model/ParameterOrderListValidationRules.d.ts +45 -0
- package/dist/types/model/ParameterOrderVouchers.d.ts +45 -0
- package/dist/types/model/ParameterResultListPublications.d.ts +25 -0
- package/dist/types/model/ParameterTemplatesList.d.ts +25 -0
- package/dist/types/model/ParameterUpdatedBeforeAfter.d.ts +30 -0
- package/dist/types/model/ParameterVoucherTypeListPublications.d.ts +25 -0
- package/dist/types/model/ParametersFiltersListCampaignTransactions.d.ts +33 -0
- package/dist/types/model/PointsExpirationTypes.d.ts +30 -0
- package/dist/types/model/Product.d.ts +45 -0
- package/dist/types/model/ProductCollectionsCreateRequestBody.d.ts +38 -0
- package/dist/types/model/ProductCollectionsCreateRequestBodyProductsItem.d.ts +56 -0
- package/dist/types/model/ProductCollectionsCreateResponseBody.d.ts +45 -0
- package/dist/types/model/ProductCollectionsCreateResponseBodyProductsItem.d.ts +56 -0
- package/dist/types/model/ProductCollectionsGetResponseBody.d.ts +45 -0
- package/dist/types/model/ProductCollectionsGetResponseBodyProductsItem.d.ts +56 -0
- package/dist/types/model/ProductCollectionsItem.d.ts +45 -0
- package/dist/types/model/ProductCollectionsItemProductsItem.d.ts +56 -0
- package/dist/types/model/ProductCollectionsListResponseBody.d.ts +41 -0
- package/dist/types/model/ProductCollectionsProductsListResponseBody.d.ts +33 -0
- package/dist/types/model/ProductCollectionsProductsListResponseBodyDataItem.d.ts +49 -0
- package/dist/types/model/ProductWithoutSkus.d.ts +43 -0
- package/dist/types/model/ProductsCreateRequestBody.d.ts +35 -0
- package/dist/types/model/ProductsCreateResponseBody.d.ts +45 -0
- package/dist/types/model/ProductsGetResponseBody.d.ts +45 -0
- package/dist/types/model/ProductsImportCsvCreateResponseBody.d.ts +29 -0
- package/dist/types/model/ProductsListResponseBody.d.ts +33 -0
- package/dist/types/model/ProductsMetadataUpdateInBulkRequestBody.d.ts +30 -0
- package/dist/types/model/ProductsMetadataUpdateInBulkResponseBody.d.ts +29 -0
- package/dist/types/model/ProductsSkusCreateRequestBody.d.ts +36 -0
- package/dist/types/model/ProductsSkusCreateResponseBody.d.ts +45 -0
- package/dist/types/model/ProductsSkusListResponseBody.d.ts +33 -0
- package/dist/types/model/ProductsSkusUpdateRequestBody.d.ts +34 -0
- package/dist/types/model/ProductsSkusUpdateResponseBody.d.ts +45 -0
- package/dist/types/model/ProductsUpdateInBulkRequestBody.d.ts +34 -0
- package/dist/types/model/ProductsUpdateInBulkResponseBody.d.ts +29 -0
- package/dist/types/model/ProductsUpdateRequestBody.d.ts +33 -0
- package/dist/types/model/ProductsUpdateResponseBody.d.ts +45 -0
- package/dist/types/model/PromotionStack.d.ts +44 -0
- package/dist/types/model/PromotionStackBase.d.ts +31 -0
- package/dist/types/model/PromotionStackBaseTiers.d.ts +35 -0
- package/dist/types/model/PromotionStackTiers.d.ts +35 -0
- package/dist/types/model/PromotionTier.d.ts +96 -0
- package/dist/types/model/PromotionTierAction.d.ts +30 -0
- package/dist/types/model/PromotionTierCampaign.d.ts +78 -0
- package/dist/types/model/PromotionTierCreateParams.d.ts +84 -0
- package/dist/types/model/PromotionTierCreateParamsAction.d.ts +30 -0
- package/dist/types/model/PromotionTierSummary.d.ts +32 -0
- package/dist/types/model/PromotionTierSummaryOrders.d.ts +30 -0
- package/dist/types/model/PromotionTierSummaryRedemptions.d.ts +29 -0
- package/dist/types/model/PromotionTiersList.d.ts +34 -0
- package/dist/types/model/PromotionsStacksCreateRequestBody.d.ts +32 -0
- package/dist/types/model/PromotionsStacksCreateRequestBodyTiers.d.ts +35 -0
- package/dist/types/model/PromotionsStacksCreateResponseBody.d.ts +43 -0
- package/dist/types/model/PromotionsStacksCreateResponseBodyTiers.d.ts +35 -0
- package/dist/types/model/PromotionsStacksGetResponseBody.d.ts +44 -0
- package/dist/types/model/PromotionsStacksGetResponseBodyTiers.d.ts +35 -0
- package/dist/types/model/PromotionsStacksListResponseBody.d.ts +41 -0
- package/dist/types/model/PromotionsStacksUpdateRequestBody.d.ts +32 -0
- package/dist/types/model/PromotionsStacksUpdateRequestBodyTiers.d.ts +35 -0
- package/dist/types/model/PromotionsStacksUpdateResponseBody.d.ts +44 -0
- package/dist/types/model/PromotionsStacksUpdateResponseBodyTiers.d.ts +35 -0
- package/dist/types/model/PromotionsTiersCreateRequestBody.d.ts +85 -0
- package/dist/types/model/PromotionsTiersCreateRequestBodyAction.d.ts +30 -0
- package/dist/types/model/PromotionsTiersCreateResponseBody.d.ts +96 -0
- package/dist/types/model/PromotionsTiersCreateResponseBodyAction.d.ts +30 -0
- package/dist/types/model/PromotionsTiersCreateResponseBodyCampaign.d.ts +78 -0
- package/dist/types/model/PromotionsTiersCreateResponseBodySummary.d.ts +32 -0
- package/dist/types/model/PromotionsTiersCreateResponseBodySummaryOrders.d.ts +30 -0
- package/dist/types/model/PromotionsTiersCreateResponseBodySummaryRedemptions.d.ts +29 -0
- package/dist/types/model/PromotionsTiersDisableResponseBody.d.ts +96 -0
- package/dist/types/model/PromotionsTiersDisableResponseBodyAction.d.ts +30 -0
- package/dist/types/model/PromotionsTiersDisableResponseBodyCampaign.d.ts +78 -0
- package/dist/types/model/PromotionsTiersDisableResponseBodySummary.d.ts +32 -0
- package/dist/types/model/PromotionsTiersDisableResponseBodySummaryOrders.d.ts +30 -0
- package/dist/types/model/PromotionsTiersDisableResponseBodySummaryRedemptions.d.ts +29 -0
- package/dist/types/model/PromotionsTiersEnableResponseBody.d.ts +96 -0
- package/dist/types/model/PromotionsTiersEnableResponseBodyAction.d.ts +30 -0
- package/dist/types/model/PromotionsTiersEnableResponseBodyCampaign.d.ts +78 -0
- package/dist/types/model/PromotionsTiersEnableResponseBodySummary.d.ts +32 -0
- package/dist/types/model/PromotionsTiersEnableResponseBodySummaryOrders.d.ts +30 -0
- package/dist/types/model/PromotionsTiersEnableResponseBodySummaryRedemptions.d.ts +29 -0
- package/dist/types/model/PromotionsTiersGetResponseBody.d.ts +96 -0
- package/dist/types/model/PromotionsTiersGetResponseBodyAction.d.ts +30 -0
- package/dist/types/model/PromotionsTiersGetResponseBodyCampaign.d.ts +78 -0
- package/dist/types/model/PromotionsTiersGetResponseBodySummary.d.ts +32 -0
- package/dist/types/model/PromotionsTiersGetResponseBodySummaryOrders.d.ts +30 -0
- package/dist/types/model/PromotionsTiersGetResponseBodySummaryRedemptions.d.ts +29 -0
- package/dist/types/model/PromotionsTiersListResponseBody.d.ts +34 -0
- package/dist/types/model/PromotionsTiersUpdateRequestBody.d.ts +84 -0
- package/dist/types/model/PromotionsTiersUpdateRequestBodyAction.d.ts +30 -0
- package/dist/types/model/PromotionsTiersUpdateResponseBody.d.ts +96 -0
- package/dist/types/model/PromotionsTiersUpdateResponseBodyAction.d.ts +30 -0
- package/dist/types/model/PromotionsTiersUpdateResponseBodyCampaign.d.ts +78 -0
- package/dist/types/model/PromotionsTiersUpdateResponseBodySummary.d.ts +32 -0
- package/dist/types/model/PromotionsTiersUpdateResponseBodySummaryOrders.d.ts +30 -0
- package/dist/types/model/PromotionsTiersUpdateResponseBodySummaryRedemptions.d.ts +29 -0
- package/dist/types/model/PublicationsCreateRequestBody.d.ts +36 -0
- package/dist/types/model/PublicationsCreateResponseBody.d.ts +54 -0
- package/dist/types/model/PublicationsListResponseBody.d.ts +33 -0
- package/dist/types/model/PublicationsListResponseBodyPublicationsItem.d.ts +55 -0
- package/dist/types/model/PublicationsListResponseBodyPublicationsItemMetadata.d.ts +31 -0
- package/dist/types/model/QualificationsCheckEligibilityRequestBody.d.ts +51 -0
- package/dist/types/model/QualificationsCheckEligibilityRequestBodySession.d.ts +34 -0
- package/dist/types/model/QualificationsCheckEligibilityResponseBody.d.ts +35 -0
- package/dist/types/model/QualificationsCheckEligibilityResponseBodyOrder.d.ts +64 -0
- package/dist/types/model/QualificationsFieldConditions.d.ts +30 -0
- package/dist/types/model/QualificationsFiltersCondition.d.ts +34 -0
- package/dist/types/model/QualificationsOption.d.ts +46 -0
- package/dist/types/model/QualificationsOptionFilters.d.ts +42 -0
- package/dist/types/model/QualificationsOptionFiltersCampaignType.d.ts +30 -0
- package/dist/types/model/QualificationsOptionFiltersCampaignTypeConditions.d.ts +33 -0
- package/dist/types/model/QualificationsOptionFiltersHolderRole.d.ts +30 -0
- package/dist/types/model/QualificationsOptionFiltersHolderRoleConditions.d.ts +63 -0
- package/dist/types/model/QualificationsOptionFiltersResourceType.d.ts +30 -0
- package/dist/types/model/QualificationsOptionFiltersResourceTypeConditions.d.ts +33 -0
- package/dist/types/model/QualificationsRedeemable.d.ts +59 -0
- package/dist/types/model/QualificationsRedeemableBase.d.ts +57 -0
- package/dist/types/model/QualificationsRedeemableBaseOrder.d.ts +64 -0
- package/dist/types/model/QualificationsRedeemableBaseOrderItemsItem.d.ts +62 -0
- package/dist/types/model/QualificationsRedeemableOrder.d.ts +64 -0
- package/dist/types/model/QualificationsRedeemableOrderItemsItem.d.ts +62 -0
- package/dist/types/model/QualificationsRedeemables.d.ts +43 -0
- package/dist/types/model/RedeemableGift.d.ts +31 -0
- package/dist/types/model/RedeemableHolder.d.ts +57 -0
- package/dist/types/model/RedeemableLoyaltyCard.d.ts +34 -0
- package/dist/types/model/RedeemableResult.d.ts +38 -0
- package/dist/types/model/RedeemableVoucher.d.ts +108 -0
- package/dist/types/model/RedeemableVoucherGift.d.ts +38 -0
- package/dist/types/model/RedeemableVoucherLoyaltyCard.d.ts +35 -0
- package/dist/types/model/RedeemableVoucherPublish.d.ts +31 -0
- package/dist/types/model/RedeemableVoucherRedemption.d.ts +33 -0
- package/dist/types/model/Redemption.d.ts +82 -0
- package/dist/types/model/RedemptionChannel.d.ts +37 -0
- package/dist/types/model/RedemptionEntry.d.ts +84 -0
- package/dist/types/model/RedemptionEntryChannel.d.ts +37 -0
- package/dist/types/model/RedemptionEntryCustomer.d.ts +39 -0
- package/dist/types/model/RedemptionEntryGift.d.ts +29 -0
- package/dist/types/model/RedemptionEntryLoyaltyCard.d.ts +29 -0
- package/dist/types/model/RedemptionEntryOrder.d.ts +64 -0
- package/dist/types/model/RedemptionEntryOrderCustomer.d.ts +35 -0
- package/dist/types/model/RedemptionEntryOrderItemsItem.d.ts +62 -0
- package/dist/types/model/RedemptionEntryOrderItemsItemProduct.d.ts +34 -0
- package/dist/types/model/RedemptionEntryOrderItemsItemSku.d.ts +34 -0
- package/dist/types/model/RedemptionEntryOrderReferrer.d.ts +35 -0
- package/dist/types/model/RedemptionEntryPromotionTier.d.ts +96 -0
- package/dist/types/model/RedemptionEntryPromotionTierAction.d.ts +30 -0
- package/dist/types/model/RedemptionEntryPromotionTierCampaign.d.ts +78 -0
- package/dist/types/model/RedemptionEntryPromotionTierSummary.d.ts +32 -0
- package/dist/types/model/RedemptionEntryPromotionTierSummaryOrders.d.ts +30 -0
- package/dist/types/model/RedemptionEntryPromotionTierSummaryRedemptions.d.ts +29 -0
- package/dist/types/model/RedemptionEntryRelatedRedemptions.d.ts +32 -0
- package/dist/types/model/RedemptionEntryRelatedRedemptionsRedemptionsItem.d.ts +30 -0
- package/dist/types/model/RedemptionEntryRelatedRedemptionsRollbacksItem.d.ts +37 -0
- package/dist/types/model/RedemptionEntrySession.d.ts +29 -0
- package/dist/types/model/RedemptionEntryVoucher.d.ts +113 -0
- package/dist/types/model/RedemptionEntryVoucherGift.d.ts +38 -0
- package/dist/types/model/RedemptionEntryVoucherLoyaltyCard.d.ts +35 -0
- package/dist/types/model/RedemptionEntryVoucherPublish.d.ts +31 -0
- package/dist/types/model/RedemptionEntryVoucherRedemption.d.ts +33 -0
- package/dist/types/model/RedemptionGift.d.ts +29 -0
- package/dist/types/model/RedemptionLoyaltyCard.d.ts +29 -0
- package/dist/types/model/RedemptionOrder.d.ts +64 -0
- package/dist/types/model/RedemptionOrderCustomer.d.ts +35 -0
- package/dist/types/model/RedemptionOrderItemsItem.d.ts +62 -0
- package/dist/types/model/RedemptionOrderReferrer.d.ts +35 -0
- package/dist/types/model/RedemptionRelatedRedemptions.d.ts +32 -0
- package/dist/types/model/RedemptionRelatedRedemptionsRedemptionsItem.d.ts +30 -0
- package/dist/types/model/RedemptionRelatedRedemptionsRollbacksItem.d.ts +37 -0
- package/dist/types/model/RedemptionRewardResult.d.ts +57 -0
- package/dist/types/model/RedemptionRewardResultParameters.d.ts +34 -0
- package/dist/types/model/RedemptionRewardResultParametersCampaign.d.ts +31 -0
- package/dist/types/model/RedemptionRewardResultParametersCoin.d.ts +30 -0
- package/dist/types/model/RedemptionRewardResultParametersProduct.d.ts +30 -0
- package/dist/types/model/RedemptionRollback.d.ts +77 -0
- package/dist/types/model/RedemptionRollbackChannel.d.ts +36 -0
- package/dist/types/model/RedemptionRollbackGift.d.ts +29 -0
- package/dist/types/model/RedemptionRollbackLoyaltyCard.d.ts +29 -0
- package/dist/types/model/RedemptionRollbackOrder.d.ts +64 -0
- package/dist/types/model/RedemptionSession.d.ts +29 -0
- package/dist/types/model/RedemptionVoucher.d.ts +113 -0
- package/dist/types/model/RedemptionVoucherGift.d.ts +38 -0
- package/dist/types/model/RedemptionVoucherLoyaltyCard.d.ts +35 -0
- package/dist/types/model/RedemptionVoucherPublish.d.ts +31 -0
- package/dist/types/model/RedemptionVoucherRedemption.d.ts +33 -0
- package/dist/types/model/RedemptionsGetResponseBody.d.ts +84 -0
- package/dist/types/model/RedemptionsGetResponseBodyChannel.d.ts +37 -0
- package/dist/types/model/RedemptionsGetResponseBodyCustomer.d.ts +39 -0
- package/dist/types/model/RedemptionsGetResponseBodyGift.d.ts +29 -0
- package/dist/types/model/RedemptionsGetResponseBodyLoyaltyCard.d.ts +29 -0
- package/dist/types/model/RedemptionsGetResponseBodyOrder.d.ts +64 -0
- package/dist/types/model/RedemptionsGetResponseBodyOrderCustomer.d.ts +35 -0
- package/dist/types/model/RedemptionsGetResponseBodyOrderItemsItem.d.ts +62 -0
- package/dist/types/model/RedemptionsGetResponseBodyOrderItemsItemProduct.d.ts +34 -0
- package/dist/types/model/RedemptionsGetResponseBodyOrderItemsItemSku.d.ts +34 -0
- package/dist/types/model/RedemptionsGetResponseBodyOrderReferrer.d.ts +35 -0
- package/dist/types/model/RedemptionsGetResponseBodyPromotionTier.d.ts +96 -0
- package/dist/types/model/RedemptionsGetResponseBodyPromotionTierAction.d.ts +30 -0
- package/dist/types/model/RedemptionsGetResponseBodyPromotionTierCampaign.d.ts +78 -0
- package/dist/types/model/RedemptionsGetResponseBodyPromotionTierSummary.d.ts +32 -0
- package/dist/types/model/RedemptionsGetResponseBodyPromotionTierSummaryOrders.d.ts +30 -0
- package/dist/types/model/RedemptionsGetResponseBodyPromotionTierSummaryRedemptions.d.ts +29 -0
- package/dist/types/model/RedemptionsGetResponseBodyRelatedRedemptions.d.ts +32 -0
- package/dist/types/model/RedemptionsGetResponseBodyRelatedRedemptionsRedemptionsItem.d.ts +30 -0
- package/dist/types/model/RedemptionsGetResponseBodyRelatedRedemptionsRollbacksItem.d.ts +37 -0
- package/dist/types/model/RedemptionsGetResponseBodySession.d.ts +29 -0
- package/dist/types/model/RedemptionsGetResponseBodyVoucher.d.ts +113 -0
- package/dist/types/model/RedemptionsGetResponseBodyVoucherGift.d.ts +38 -0
- package/dist/types/model/RedemptionsGetResponseBodyVoucherLoyaltyCard.d.ts +35 -0
- package/dist/types/model/RedemptionsGetResponseBodyVoucherPublish.d.ts +31 -0
- package/dist/types/model/RedemptionsGetResponseBodyVoucherRedemption.d.ts +33 -0
- package/dist/types/model/RedemptionsListResponseBody.d.ts +33 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItem.d.ts +84 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemChannel.d.ts +37 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemCustomer.d.ts +39 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemGift.d.ts +29 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemLoyaltyCard.d.ts +29 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemOrder.d.ts +64 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemOrderCustomer.d.ts +35 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemOrderItemsItem.d.ts +62 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemOrderItemsItemProduct.d.ts +34 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemOrderItemsItemSku.d.ts +34 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemOrderReferrer.d.ts +35 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemPromotionTier.d.ts +96 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemPromotionTierAction.d.ts +30 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemPromotionTierCampaign.d.ts +78 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemPromotionTierSummary.d.ts +32 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders.d.ts +30 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryRedemptions.d.ts +29 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemRelatedRedemptions.d.ts +32 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemRelatedRedemptionsRedemptionsItem.d.ts +30 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemRelatedRedemptionsRollbacksItem.d.ts +37 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemSession.d.ts +29 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemVoucher.d.ts +113 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemVoucherGift.d.ts +38 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemVoucherLoyaltyCard.d.ts +35 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemVoucherPublish.d.ts +31 -0
- package/dist/types/model/RedemptionsListResponseBodyRedemptionsItemVoucherRedemption.d.ts +33 -0
- package/dist/types/model/RedemptionsRedeemRequestBody.d.ts +40 -0
- package/dist/types/model/RedemptionsRedeemRequestBodyOptions.d.ts +37 -0
- package/dist/types/model/RedemptionsRedeemRequestBodyRedeemablesItem.d.ts +41 -0
- package/dist/types/model/RedemptionsRedeemRequestBodyRedeemablesItemGift.d.ts +29 -0
- package/dist/types/model/RedemptionsRedeemRequestBodyRedeemablesItemReward.d.ts +30 -0
- package/dist/types/model/RedemptionsRedeemResponseBody.d.ts +37 -0
- package/dist/types/model/RedemptionsRedeemResponseBodyOrder.d.ts +64 -0
- package/dist/types/model/RedemptionsRedeemResponseBodyOrderItemsItem.d.ts +62 -0
- package/dist/types/model/RedemptionsRollbackCreateRequestBody.d.ts +35 -0
- package/dist/types/model/RedemptionsRollbackCreateResponseBody.d.ts +77 -0
- package/dist/types/model/RedemptionsRollbackCreateResponseBodyChannel.d.ts +36 -0
- package/dist/types/model/RedemptionsRollbackCreateResponseBodyGift.d.ts +29 -0
- package/dist/types/model/RedemptionsRollbackCreateResponseBodyLoyaltyCard.d.ts +29 -0
- package/dist/types/model/RedemptionsRollbackCreateResponseBodyOrder.d.ts +64 -0
- package/dist/types/model/RedemptionsRollbacksCreateRequestBody.d.ts +35 -0
- package/dist/types/model/RedemptionsRollbacksCreateResponseBody.d.ts +33 -0
- package/dist/types/model/RedemptionsRollbacksCreateResponseBodyOrder.d.ts +64 -0
- package/dist/types/model/ReferralProgram.d.ts +39 -0
- package/dist/types/model/ReferralProgramCustomEvent.d.ts +30 -0
- package/dist/types/model/ReferralProgramRefereeReward.d.ts +38 -0
- package/dist/types/model/ReferralProgramRefereeRewardRelatedObjectParent.d.ts +36 -0
- package/dist/types/model/ReferralsMembersHoldersCreateInBulkRequestBody.d.ts +31 -0
- package/dist/types/model/ReferralsMembersHoldersCreateInBulkResponseBody.d.ts +30 -0
- package/dist/types/model/ReferralsMembersHoldersListResponseBody.d.ts +35 -0
- package/dist/types/model/Referrer.d.ts +39 -0
- package/dist/types/model/ReferrerAddress.d.ts +34 -0
- package/dist/types/model/ReferrerId.d.ts +35 -0
- package/dist/types/model/ResourceTypes.d.ts +30 -0
- package/dist/types/model/Reward.d.ts +64 -0
- package/dist/types/model/RewardAssignment.d.ts +45 -0
- package/dist/types/model/RewardAssignmentParameters.d.ts +30 -0
- package/dist/types/model/RewardAssignmentParametersLoyalty.d.ts +30 -0
- package/dist/types/model/RewardAttributes.d.ts +30 -0
- package/dist/types/model/RewardType.d.ts +34 -0
- package/dist/types/model/RewardTypeCampaign.d.ts +38 -0
- package/dist/types/model/RewardTypeCoin.d.ts +30 -0
- package/dist/types/model/RewardTypeProduct.d.ts +30 -0
- package/dist/types/model/RewardsAssignmentsCreateRequestBody.d.ts +32 -0
- package/dist/types/model/RewardsAssignmentsCreateRequestBodyParameters.d.ts +30 -0
- package/dist/types/model/RewardsAssignmentsCreateRequestBodyParametersLoyalty.d.ts +30 -0
- package/dist/types/model/RewardsAssignmentsCreateResponseBody.d.ts +45 -0
- package/dist/types/model/RewardsAssignmentsCreateResponseBodyParameters.d.ts +30 -0
- package/dist/types/model/RewardsAssignmentsCreateResponseBodyParametersLoyalty.d.ts +30 -0
- package/dist/types/model/RewardsAssignmentsGetResponseBody.d.ts +45 -0
- package/dist/types/model/RewardsAssignmentsGetResponseBodyParameters.d.ts +30 -0
- package/dist/types/model/RewardsAssignmentsGetResponseBodyParametersLoyalty.d.ts +30 -0
- package/dist/types/model/RewardsAssignmentsListResponseBody.d.ts +33 -0
- package/dist/types/model/RewardsAssignmentsUpdateRequestBody.d.ts +30 -0
- package/dist/types/model/RewardsAssignmentsUpdateRequestBodyParameters.d.ts +30 -0
- package/dist/types/model/RewardsAssignmentsUpdateRequestBodyParametersLoyalty.d.ts +30 -0
- package/dist/types/model/RewardsAssignmentsUpdateResponseBody.d.ts +45 -0
- package/dist/types/model/RewardsAssignmentsUpdateResponseBodyParameters.d.ts +30 -0
- package/dist/types/model/RewardsAssignmentsUpdateResponseBodyParametersLoyalty.d.ts +30 -0
- package/dist/types/model/RewardsCreateRequestBody.d.ts +35 -0
- package/dist/types/model/RewardsCreateRequestBodyAttributes.d.ts +30 -0
- package/dist/types/model/RewardsCreateRequestBodyParameters.d.ts +34 -0
- package/dist/types/model/RewardsCreateRequestBodyParametersCampaign.d.ts +30 -0
- package/dist/types/model/RewardsCreateRequestBodyParametersCoin.d.ts +30 -0
- package/dist/types/model/RewardsCreateRequestBodyParametersProduct.d.ts +30 -0
- package/dist/types/model/RewardsCreateResponseBody.d.ts +65 -0
- package/dist/types/model/RewardsCreateResponseBodyAttributes.d.ts +30 -0
- package/dist/types/model/RewardsListResponseBody.d.ts +33 -0
- package/dist/types/model/RewardsUpdateRequestBody.d.ts +35 -0
- package/dist/types/model/RewardsUpdateRequestBodyAttributes.d.ts +30 -0
- package/dist/types/model/RewardsUpdateRequestBodyParameters.d.ts +34 -0
- package/dist/types/model/RewardsUpdateRequestBodyParametersCampaign.d.ts +30 -0
- package/dist/types/model/RewardsUpdateRequestBodyParametersCoin.d.ts +30 -0
- package/dist/types/model/RewardsUpdateRequestBodyParametersProduct.d.ts +30 -0
- package/dist/types/model/RewardsUpdateResponseBody.d.ts +65 -0
- package/dist/types/model/RewardsUpdateResponseBodyAttributes.d.ts +30 -0
- package/dist/types/model/SegmentsCreateRequestBody.d.ts +51 -0
- package/dist/types/model/SegmentsCreateResponseBody.d.ts +61 -0
- package/dist/types/model/SegmentsGetResponseBody.d.ts +61 -0
- package/dist/types/model/Session.d.ts +46 -0
- package/dist/types/model/SimpleCampaign.d.ts +61 -0
- package/dist/types/model/SimpleCampaignVoucher.d.ts +54 -0
- package/dist/types/model/SimpleCampaignVoucherRedemption.d.ts +30 -0
- package/dist/types/model/SimpleCustomer.d.ts +39 -0
- package/dist/types/model/SimpleCustomerRequiredObjectType.d.ts +34 -0
- package/dist/types/model/SimpleEvent.d.ts +40 -0
- package/dist/types/model/SimpleLoyaltyCard.d.ts +35 -0
- package/dist/types/model/SimpleOrder.d.ts +56 -0
- package/dist/types/model/SimpleOrderItem.d.ts +53 -0
- package/dist/types/model/SimpleProduct.d.ts +31 -0
- package/dist/types/model/SimpleProductDiscountUnit.d.ts +31 -0
- package/dist/types/model/SimplePromotionStack.d.ts +35 -0
- package/dist/types/model/SimplePromotionStackCampaign.d.ts +29 -0
- package/dist/types/model/SimplePromotionStackTiers.d.ts +35 -0
- package/dist/types/model/SimplePromotionTier.d.ts +34 -0
- package/dist/types/model/SimplePromotionTierCampaign.d.ts +29 -0
- package/dist/types/model/SimpleRedemption.d.ts +76 -0
- package/dist/types/model/SimpleRedemptionChannel.d.ts +37 -0
- package/dist/types/model/SimpleRedemptionRewardResult.d.ts +57 -0
- package/dist/types/model/SimpleReferralTier.d.ts +32 -0
- package/dist/types/model/SimpleSegment.d.ts +36 -0
- package/dist/types/model/SimpleSku.d.ts +31 -0
- package/dist/types/model/SimpleSkuDiscountUnit.d.ts +31 -0
- package/dist/types/model/SimpleVoucher.d.ts +64 -0
- package/dist/types/model/SimpleVoucherRedemption.d.ts +31 -0
- package/dist/types/model/Sku.d.ts +45 -0
- package/dist/types/model/SkusGetResponseBody.d.ts +45 -0
- package/dist/types/model/SkusImportCsvCreateResponseBody.d.ts +29 -0
- package/dist/types/model/SkusListForProduct.d.ts +33 -0
- package/dist/types/model/StackingRules.d.ts +65 -0
- package/dist/types/model/TemplatesCampaignsCampaignSetupCreateRequestBody.d.ts +93 -0
- package/dist/types/model/TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher.d.ts +32 -0
- package/dist/types/model/TemplatesCampaignsCampaignSetupCreateRequestBodyVoucherRedemption.d.ts +29 -0
- package/dist/types/model/TemplatesCampaignsCampaignSetupCreateResponseBody.d.ts +46 -0
- package/dist/types/model/TemplatesCampaignsCampaignSetupCreateResponseBodyCreatedResourcesItem.d.ts +40 -0
- package/dist/types/model/TemplatesCampaignsCreateRequestBody.d.ts +32 -0
- package/dist/types/model/TemplatesCampaignsCreateTemplateResponseBody.d.ts +43 -0
- package/dist/types/model/TemplatesCampaignsGetResponseBody.d.ts +44 -0
- package/dist/types/model/TemplatesCampaignsListResponseBody.d.ts +43 -0
- package/dist/types/model/TemplatesCampaignsTierSetupCreateRequestBody.d.ts +82 -0
- package/dist/types/model/TemplatesCampaignsTierSetupCreateResponseBody.d.ts +38 -0
- package/dist/types/model/TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem.d.ts +40 -0
- package/dist/types/model/TemplatesCampaignsUpdateRequestBody.d.ts +30 -0
- package/dist/types/model/TemplatesCampaignsUpdateResponseBody.d.ts +44 -0
- package/dist/types/model/TrashBinItem.d.ts +54 -0
- package/dist/types/model/TrashBinListResponseBody.d.ts +43 -0
- package/dist/types/model/UsageNotifications.d.ts +32 -0
- package/dist/types/model/User.d.ts +35 -0
- package/dist/types/model/ValidationRule.d.ts +327 -0
- package/dist/types/model/ValidationRuleApplicableTo.d.ts +32 -0
- package/dist/types/model/ValidationRuleAssignment.d.ts +47 -0
- package/dist/types/model/ValidationRuleAssignmentsList.d.ts +33 -0
- package/dist/types/model/ValidationRuleError.d.ts +29 -0
- package/dist/types/model/ValidationRulesAssignmentsCreateRequestBody.d.ts +40 -0
- package/dist/types/model/ValidationRulesAssignmentsCreateResponseBody.d.ts +47 -0
- package/dist/types/model/ValidationRulesAssignmentsList.d.ts +41 -0
- package/dist/types/model/ValidationRulesAssignmentsListResponseBody.d.ts +33 -0
- package/dist/types/model/ValidationRulesCreateRequestBody.d.ts +322 -0
- package/dist/types/model/ValidationRulesCreateRequestBodyApplicableTo.d.ts +32 -0
- package/dist/types/model/ValidationRulesCreateRequestBodyError.d.ts +29 -0
- package/dist/types/model/ValidationRulesCreateResponseBody.d.ts +327 -0
- package/dist/types/model/ValidationRulesCreateResponseBodyApplicableTo.d.ts +32 -0
- package/dist/types/model/ValidationRulesCreateResponseBodyError.d.ts +29 -0
- package/dist/types/model/ValidationRulesGetResponseBody.d.ts +327 -0
- package/dist/types/model/ValidationRulesGetResponseBodyApplicableTo.d.ts +32 -0
- package/dist/types/model/ValidationRulesGetResponseBodyError.d.ts +29 -0
- package/dist/types/model/ValidationRulesListResponseBody.d.ts +33 -0
- package/dist/types/model/ValidationRulesUpdateRequestBody.d.ts +322 -0
- package/dist/types/model/ValidationRulesUpdateRequestBodyApplicableTo.d.ts +32 -0
- package/dist/types/model/ValidationRulesUpdateRequestBodyError.d.ts +29 -0
- package/dist/types/model/ValidationRulesUpdateResponseBody.d.ts +327 -0
- package/dist/types/model/ValidationRulesUpdateResponseBodyApplicableTo.d.ts +32 -0
- package/dist/types/model/ValidationRulesUpdateResponseBodyError.d.ts +29 -0
- package/dist/types/model/ValidationsRedeemableInapplicable.d.ts +48 -0
- package/dist/types/model/ValidationsRedeemableInapplicableResult.d.ts +34 -0
- package/dist/types/model/ValidationsRedeemableInapplicableResultDetails.d.ts +30 -0
- package/dist/types/model/ValidationsRedeemableSkipped.d.ts +48 -0
- package/dist/types/model/ValidationsRedeemableSkippedResult.d.ts +30 -0
- package/dist/types/model/ValidationsRedeemableSkippedResultDetails.d.ts +40 -0
- package/dist/types/model/ValidationsValidateRequestBody.d.ts +40 -0
- package/dist/types/model/ValidationsValidateRequestBodyOptions.d.ts +37 -0
- package/dist/types/model/ValidationsValidateRequestBodyRedeemablesItem.d.ts +41 -0
- package/dist/types/model/ValidationsValidateRequestBodyRedeemablesItemGift.d.ts +29 -0
- package/dist/types/model/ValidationsValidateRequestBodyRedeemablesItemReward.d.ts +30 -0
- package/dist/types/model/ValidationsValidateResponseBody.d.ts +53 -0
- package/dist/types/model/ValidationsValidateResponseBodyOrder.d.ts +64 -0
- package/dist/types/model/ValidationsValidateResponseBodyOrderItemsItem.d.ts +62 -0
- package/dist/types/model/ValidationsValidateResponseBodyRedeemablesItem.d.ts +56 -0
- package/dist/types/model/ValidationsValidateResponseBodyRedeemablesItemOrder.d.ts +64 -0
- package/dist/types/model/ValidationsValidateResponseBodyRedeemablesItemOrderCustomer.d.ts +35 -0
- package/dist/types/model/ValidationsValidateResponseBodyRedeemablesItemOrderReferrer.d.ts +35 -0
- package/dist/types/model/ValidationsValidateResponseBodyRedeemablesItemResult.d.ts +40 -0
- package/dist/types/model/ValidationsValidateResponseBodyRedeemablesItemResultDetails.d.ts +30 -0
- package/dist/types/model/ValidationsValidateResponseBodyRedeemablesItemResultDiscount.d.ts +66 -0
- package/dist/types/model/ValidationsValidateResponseBodyRedeemablesItemResultDiscountProduct.d.ts +31 -0
- package/dist/types/model/ValidationsValidateResponseBodyRedeemablesItemResultGift.d.ts +30 -0
- package/dist/types/model/ValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard.d.ts +29 -0
- package/dist/types/model/ValidityHours.d.ts +30 -0
- package/dist/types/model/ValidityHoursDailyItem.d.ts +70 -0
- package/dist/types/model/ValidityTimeframe.d.ts +30 -0
- package/dist/types/model/Voucher.d.ts +111 -0
- package/dist/types/model/VoucherAssets.d.ts +32 -0
- package/dist/types/model/VoucherAssetsBarcode.d.ts +30 -0
- package/dist/types/model/VoucherAssetsQr.d.ts +30 -0
- package/dist/types/model/VoucherBalance.d.ts +50 -0
- package/dist/types/model/VoucherBalanceRelatedObject.d.ts +35 -0
- package/dist/types/model/VoucherGift.d.ts +38 -0
- package/dist/types/model/VoucherLoyaltyCard.d.ts +35 -0
- package/dist/types/model/VoucherPublish.d.ts +31 -0
- package/dist/types/model/VoucherRedemption.d.ts +33 -0
- package/dist/types/model/VoucherTransaction.d.ts +56 -0
- package/dist/types/model/VoucherTransactionDetails.d.ts +57 -0
- package/dist/types/model/VoucherTransactionDetailsCustomEvent.d.ts +30 -0
- package/dist/types/model/VoucherTransactionDetailsEarningRule.d.ts +31 -0
- package/dist/types/model/VoucherTransactionDetailsEarningRuleSource.d.ts +29 -0
- package/dist/types/model/VoucherTransactionDetailsEvent.d.ts +30 -0
- package/dist/types/model/VoucherTransactionDetailsEventSchema.d.ts +30 -0
- package/dist/types/model/VoucherTransactionDetailsHolderLoyaltyTier.d.ts +30 -0
- package/dist/types/model/VoucherTransactionDetailsLoyaltyTier.d.ts +30 -0
- package/dist/types/model/VoucherTransactionDetailsOrder.d.ts +30 -0
- package/dist/types/model/VoucherTransactionDetailsRedemption.d.ts +29 -0
- package/dist/types/model/VoucherTransactionDetailsReward.d.ts +30 -0
- package/dist/types/model/VoucherTransactionDetailsRollback.d.ts +29 -0
- package/dist/types/model/VoucherTransactionDetailsSegment.d.ts +30 -0
- package/dist/types/model/VoucherTransactionsExportFilterConditions.d.ts +30 -0
- package/dist/types/model/VoucherTransactionsExportFilterConditionsVoucherId.d.ts +30 -0
- package/dist/types/model/VoucherTransactionsExportFilterConditionsVoucherIdConditions.d.ts +29 -0
- package/dist/types/model/VoucherTransactionsExportParameters.d.ts +58 -0
- package/dist/types/model/VoucherTransactionsFilters.d.ts +68 -0
- package/dist/types/model/VoucherWithCategories.d.ts +109 -0
- package/dist/types/model/VoucherWithCategoriesGift.d.ts +38 -0
- package/dist/types/model/VoucherWithCategoriesLoyaltyCard.d.ts +35 -0
- package/dist/types/model/VoucherWithCategoriesPublish.d.ts +31 -0
- package/dist/types/model/VoucherWithCategoriesRedemption.d.ts +33 -0
- package/dist/types/model/VouchersBalanceUpdateRequestBody.d.ts +31 -0
- package/dist/types/model/VouchersBalanceUpdateResponseBody.d.ts +48 -0
- package/dist/types/model/VouchersBalanceUpdateResponseBodyRelatedObject.d.ts +35 -0
- package/dist/types/model/VouchersCreateRequestBody.d.ts +99 -0
- package/dist/types/model/VouchersCreateRequestBodyRedemption.d.ts +29 -0
- package/dist/types/model/VouchersCreateResponseBody.d.ts +111 -0
- package/dist/types/model/VouchersCreateResponseBodyGift.d.ts +38 -0
- package/dist/types/model/VouchersCreateResponseBodyLoyaltyCard.d.ts +35 -0
- package/dist/types/model/VouchersCreateResponseBodyPublish.d.ts +31 -0
- package/dist/types/model/VouchersCreateResponseBodyRedemption.d.ts +33 -0
- package/dist/types/model/VouchersCreateWithSpecificCodeRequestBody.d.ts +96 -0
- package/dist/types/model/VouchersCreateWithSpecificCodeRequestBodyRedemption.d.ts +29 -0
- package/dist/types/model/VouchersDisableResponseBody.d.ts +111 -0
- package/dist/types/model/VouchersDisableResponseBodyGift.d.ts +38 -0
- package/dist/types/model/VouchersDisableResponseBodyLoyaltyCard.d.ts +35 -0
- package/dist/types/model/VouchersDisableResponseBodyPublish.d.ts +31 -0
- package/dist/types/model/VouchersDisableResponseBodyRedemption.d.ts +33 -0
- package/dist/types/model/VouchersEnableResponseBody.d.ts +111 -0
- package/dist/types/model/VouchersEnableResponseBodyGift.d.ts +38 -0
- package/dist/types/model/VouchersEnableResponseBodyLoyaltyCard.d.ts +35 -0
- package/dist/types/model/VouchersEnableResponseBodyPublish.d.ts +31 -0
- package/dist/types/model/VouchersEnableResponseBodyRedemption.d.ts +33 -0
- package/dist/types/model/VouchersGetResponseBody.d.ts +111 -0
- package/dist/types/model/VouchersGetResponseBodyGift.d.ts +38 -0
- package/dist/types/model/VouchersGetResponseBodyLoyaltyCard.d.ts +35 -0
- package/dist/types/model/VouchersGetResponseBodyPublish.d.ts +31 -0
- package/dist/types/model/VouchersGetResponseBodyRedemption.d.ts +33 -0
- package/dist/types/model/VouchersImportCreateItemRequestBody.d.ts +88 -0
- package/dist/types/model/VouchersImportCreateItemRequestBodyRedemption.d.ts +29 -0
- package/dist/types/model/VouchersImportCreateResponseBody.d.ts +29 -0
- package/dist/types/model/VouchersImportCsvCreateResponseBody.d.ts +29 -0
- package/dist/types/model/VouchersListResponseBody.d.ts +41 -0
- package/dist/types/model/VouchersMetadataUpdateInBulkRequestBody.d.ts +30 -0
- package/dist/types/model/VouchersMetadataUpdateInBulkResponseBody.d.ts +29 -0
- package/dist/types/model/VouchersRedemptionGetResponseBody.d.ts +46 -0
- package/dist/types/model/VouchersTransactionsExportCreateRequestBody.d.ts +30 -0
- package/dist/types/model/VouchersTransactionsExportCreateResponseBody.d.ts +59 -0
- package/dist/types/model/VouchersTransactionsExportCreateResponseBodyResult.d.ts +29 -0
- package/dist/types/model/VouchersTransactionsListResponseBody.d.ts +42 -0
- package/dist/types/model/VouchersUpdateInBulkItemRequestBody.d.ts +30 -0
- package/dist/types/model/VouchersUpdateInBulkResponseBody.d.ts +29 -0
- package/dist/types/model/VouchersUpdateRequestBody.d.ts +85 -0
- package/dist/types/model/VouchersUpdateResponseBody.d.ts +111 -0
- package/dist/types/model/VouchersUpdateResponseBodyGift.d.ts +38 -0
- package/dist/types/model/VouchersUpdateResponseBodyLoyaltyCard.d.ts +35 -0
- package/dist/types/model/VouchersUpdateResponseBodyPublish.d.ts +31 -0
- package/dist/types/model/VouchersUpdateResponseBodyRedemption.d.ts +33 -0
- package/package.json +9 -2
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Campaigns service.
|
|
3
|
+
* @module api/CampaignsApi
|
|
4
|
+
* @version 3.0.1
|
|
5
|
+
*/
|
|
6
|
+
export default class CampaignsApi {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a new CampaignsApi.
|
|
9
|
+
* @alias CampaignsApi
|
|
10
|
+
* @class
|
|
11
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
12
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
13
|
+
*/
|
|
14
|
+
constructor(apiClient?: any);
|
|
15
|
+
apiClient: any;
|
|
16
|
+
/**
|
|
17
|
+
* Callback function to receive the result of the addVoucherWithSpecificCodeToCampaign operation.
|
|
18
|
+
* @callback addVoucherWithSpecificCodeToCampaignCallback
|
|
19
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
20
|
+
* @param {CampaignsVouchersCreateResponseBody} [data] The data returned by the service call.
|
|
21
|
+
* @param {Object} [response] Full response object if successful.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* Add Voucher with Specific Code to Campaign
|
|
25
|
+
* This method gives a possibility to add a new voucher to an existing campaign. The voucher definition will be inherited from the definition kept in the campaign profile. However, you are able to overwrite a few properties inherited from the campaign.
|
|
26
|
+
* @param {String} campaignId The campaign ID or name of the campaign to which voucher will be added. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
27
|
+
* @param {String} code A custom **code** that identifies the voucher.
|
|
28
|
+
* @param {CampaignsVouchersCreateRequestBody} campaignsVouchersCreateRequestBody Specify the voucher parameters that you would like to overwrite.
|
|
29
|
+
* @param {addVoucherWithSpecificCodeToCampaignCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
30
|
+
* data is of type: {@link CampaignsVouchersCreateResponseBody}
|
|
31
|
+
* @returns {Promise<(CampaignsVouchersCreateResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CampaignsVouchersCreateResponseBody` object or with `undefined`.
|
|
32
|
+
*/
|
|
33
|
+
addVoucherWithSpecificCodeToCampaign(campaignId: string, code: string, campaignsVouchersCreateRequestBody: CampaignsVouchersCreateRequestBody, callback?: (error: Error | null, data?: CampaignsVouchersCreateResponseBody, response?: any) => any): Promise<(CampaignsVouchersCreateResponseBody | undefined)>;
|
|
34
|
+
/**
|
|
35
|
+
* Callback function to receive the result of the addVouchersToCampaign operation.
|
|
36
|
+
* @callback addVouchersToCampaignCallback
|
|
37
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
38
|
+
* @param {CampaignsVouchersCreateCombinedResponseBody} [data] The data returned by the service call.
|
|
39
|
+
* @param {Object} [response] Full response object if successful.
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* Add Vouchers to Campaign
|
|
43
|
+
* This method gives the possibility to push new vouchers to an existing campaign. New vouchers will inherit properties from the campaign profile. However, it is possible to overwrite some of them in the request body. If you provide an optional code_config parameter with a voucher code configuration, then it will be used to generate new voucher codes. Otherwise, the voucher code configuration from the campaign will be used. 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).
|
|
44
|
+
* @param {String} campaignId The campaign ID or name of the campaign to which voucher(s) will be added. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
45
|
+
* @param {CampaignsVouchersCreateInBulkRequestBody} campaignsVouchersCreateInBulkRequestBody Specify the voucher parameters that you would like to overwrite.
|
|
46
|
+
* @param {{
|
|
47
|
+
vouchersCount?: Number,
|
|
48
|
+
}} [opts] Optional parameters
|
|
49
|
+
* @param {addVouchersToCampaignCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
50
|
+
* data is of type: {@link CampaignsVouchersCreateCombinedResponseBody}
|
|
51
|
+
* @returns {Promise<(CampaignsVouchersCreateCombinedResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CampaignsVouchersCreateCombinedResponseBody` object or with `undefined`.
|
|
52
|
+
*/
|
|
53
|
+
addVouchersToCampaign(campaignId: string, campaignsVouchersCreateInBulkRequestBody: CampaignsVouchersCreateInBulkRequestBody, opts?: {
|
|
54
|
+
vouchersCount?: number;
|
|
55
|
+
}, callback?: (error: Error | null, data?: CampaignsVouchersCreateCombinedResponseBody, response?: any) => any): Promise<(CampaignsVouchersCreateCombinedResponseBody | undefined)>;
|
|
56
|
+
/**
|
|
57
|
+
* Callback function to receive the result of the createCampaign operation.
|
|
58
|
+
* @callback createCampaignCallback
|
|
59
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
60
|
+
* @param {CampaignsCreateResponseBody} [data] The data returned by the service call.
|
|
61
|
+
* @param {Object} [response] Full response object if successful.
|
|
62
|
+
*/
|
|
63
|
+
/**
|
|
64
|
+
* Create Campaign
|
|
65
|
+
* Method to create a batch of vouchers aggregated in one campaign. You can choose a variety of voucher types and define a unique pattern for generating codes. 📘 Global uniqueness All campaign codes are unique across the whole project. Voucherify will not allow you to generate 2 campaigns with the same coupon code. 🚧 Code generation status This is an asynchronous action; you cant read or modify a newly created campaign until the code generation is completed. See the creation_status field in the [campaign object](/api-reference/campaigns/campaign-object) description. 🚧 Standalone Vouchers and Campaigns In version [v20241004](https://support.voucherify.io/article/23-whats-new-in-voucherify#v20241004), generic (standalone) vouchers created through the Voucherify dashboard create a campaign for that voucher. However, you cannot create a standalone discount or gift voucher campaign with the type: STANDALONE through the API. Voucherify developers work on adding that feature. Follow the [Voucherify Release Notes](https://support.voucherify.io/article/23-whats-new-in-voucherify) for more details about released features.
|
|
66
|
+
* @param {CampaignsCreateRequestBody} campaignsCreateRequestBody Specify the details of the campaign that you would like to create.
|
|
67
|
+
* @param {createCampaignCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
68
|
+
* data is of type: {@link CampaignsCreateResponseBody}
|
|
69
|
+
* @returns {Promise<(CampaignsCreateResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CampaignsCreateResponseBody` object or with `undefined`.
|
|
70
|
+
*/
|
|
71
|
+
createCampaign(campaignsCreateRequestBody: CampaignsCreateRequestBody, callback?: (error: Error | null, data?: CampaignsCreateResponseBody, response?: any) => any): Promise<(CampaignsCreateResponseBody | undefined)>;
|
|
72
|
+
/**
|
|
73
|
+
* Callback function to receive the result of the deleteCampaign operation.
|
|
74
|
+
* @callback deleteCampaignCallback
|
|
75
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
76
|
+
* @param {CampaignsDeleteResponseBody} [data] The data returned by the service call.
|
|
77
|
+
* @param {Object} [response] Full response object if successful.
|
|
78
|
+
*/
|
|
79
|
+
/**
|
|
80
|
+
* Delete Campaign
|
|
81
|
+
* Deletes a campaign and all related vouchers. This action cannot be undone. Also, this method immediately removes any redemptions on the voucher. If the force parameter is set to false or not set at all, the campaign and all related vouchers will be moved to [the bin](/api-reference/bin/list-bin-entries). 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).
|
|
82
|
+
* @param {String} campaignId You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
83
|
+
* @param {{
|
|
84
|
+
force?: Boolean,
|
|
85
|
+
}} [opts] Optional parameters
|
|
86
|
+
* @param {deleteCampaignCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
87
|
+
* data is of type: {@link CampaignsDeleteResponseBody}
|
|
88
|
+
* @returns {Promise<(CampaignsDeleteResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CampaignsDeleteResponseBody` object or with `undefined`.
|
|
89
|
+
*/
|
|
90
|
+
deleteCampaign(campaignId: string, opts?: {
|
|
91
|
+
force?: boolean;
|
|
92
|
+
}, callback?: (error: Error | null, data?: CampaignsDeleteResponseBody, response?: any) => any): Promise<(CampaignsDeleteResponseBody | undefined)>;
|
|
93
|
+
/**
|
|
94
|
+
* Callback function to receive the result of the disableCampaign operation.
|
|
95
|
+
* @callback disableCampaignCallback
|
|
96
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
97
|
+
* @param {Object} [data] The data returned by the service call.
|
|
98
|
+
* @param {Object} [response] Full response object if successful.
|
|
99
|
+
*/
|
|
100
|
+
/**
|
|
101
|
+
* Disable Campaign
|
|
102
|
+
* There are various times when youll want to manage a campaigns accessibility. This can be done by two API methods for managing the campaign state - *enable* and *disable*. Sets campaign state to **inactive**. The vouchers in this campaign can no longer be redeemed.
|
|
103
|
+
* @param {String} campaignId The campaign ID or name of the campaign being disabled. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
104
|
+
* @param {disableCampaignCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
105
|
+
* data is of type: {@link Object}
|
|
106
|
+
* @returns {Promise<(Object | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `Object` object or with `undefined`.
|
|
107
|
+
*/
|
|
108
|
+
disableCampaign(campaignId: string, callback?: (error: Error | null, data?: any, response?: any) => any): Promise<(any | undefined)>;
|
|
109
|
+
/**
|
|
110
|
+
* Callback function to receive the result of the enableCampaign operation.
|
|
111
|
+
* @callback enableCampaignCallback
|
|
112
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
113
|
+
* @param {Object} [data] The data returned by the service call.
|
|
114
|
+
* @param {Object} [response] Full response object if successful.
|
|
115
|
+
*/
|
|
116
|
+
/**
|
|
117
|
+
* Enable Campaign
|
|
118
|
+
* There are various times when youll want to manage a campaigns accessibility. This can be done by two API methods for managing the campaign state - *enable* and *disable*. Sets campaign state to **active**. The vouchers in this campaign can be redeemed - only if the redemption occurs after the start date of the campaign and voucher and the voucher and campaign are not expired.
|
|
119
|
+
* @param {String} campaignId The campaign ID or name of the campaign being enabled. You can either pass the campaign ID, which was assigned by Voucherify or the name of the campaign as the path parameter value.
|
|
120
|
+
* @param {enableCampaignCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
121
|
+
* data is of type: {@link Object}
|
|
122
|
+
* @returns {Promise<(Object | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `Object` object or with `undefined`.
|
|
123
|
+
*/
|
|
124
|
+
enableCampaign(campaignId: string, callback?: (error: Error | null, data?: any, response?: any) => any): Promise<(any | undefined)>;
|
|
125
|
+
/**
|
|
126
|
+
* Callback function to receive the result of the exportCampaignTransactions operation.
|
|
127
|
+
* @callback exportCampaignTransactionsCallback
|
|
128
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
129
|
+
* @param {CampaignsTransactionsExportCreateResponseBody} [data] The data returned by the service call.
|
|
130
|
+
* @param {Object} [response] Full response object if successful.
|
|
131
|
+
*/
|
|
132
|
+
/**
|
|
133
|
+
* Export Campaign Transactions
|
|
134
|
+
* Export transactions is an asynchronous process that generates a CSV file with the data about credit movements on all gift cards or point movements on all loyalty cards in a given campaign. To export transactions: 1. In the export request, use parameters to select which fields will be exported, in what order, and which data will be filtered. 2. Use the returned id to track the export status with the [GET Export](/api-reference/exports/get-export) method. 3. In the GET Export method, when the returned status field has the DONE value, the export file has been generated. 4. Use the URL in the result property to download the file. You must be logged to your Voucherify account on a given cluster in the browser to be able to download the file. An export request will almost always result in a single file being generated by the system. However, when the data volume is large, the system may split the results into multiple files. An example export file can look as follows: 👍 Export Loyalty Campaign Transactions For loyalty campaigns, this method works in the same way the [POST Export Loyalty Campaign Transactions](/api-reference/loyalties/export-loyalty-campaign-transactions) does.
|
|
135
|
+
* @param {String} campaignId You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
136
|
+
* @param {CampaignsTransactionsExportCreateRequestBody} campaignsTransactionsExportCreateRequestBody Specify the parameters for the transaction export.
|
|
137
|
+
* @param {exportCampaignTransactionsCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
138
|
+
* data is of type: {@link CampaignsTransactionsExportCreateResponseBody}
|
|
139
|
+
* @returns {Promise<(CampaignsTransactionsExportCreateResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CampaignsTransactionsExportCreateResponseBody` object or with `undefined`.
|
|
140
|
+
*/
|
|
141
|
+
exportCampaignTransactions(campaignId: string, campaignsTransactionsExportCreateRequestBody: CampaignsTransactionsExportCreateRequestBody, callback?: (error: Error | null, data?: CampaignsTransactionsExportCreateResponseBody, response?: any) => any): Promise<(CampaignsTransactionsExportCreateResponseBody | undefined)>;
|
|
142
|
+
/**
|
|
143
|
+
* Callback function to receive the result of the getCampaign operation.
|
|
144
|
+
* @callback getCampaignCallback
|
|
145
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
146
|
+
* @param {CampaignsGetResponseBody} [data] The data returned by the service call.
|
|
147
|
+
* @param {Object} [response] Full response object if successful.
|
|
148
|
+
*/
|
|
149
|
+
/**
|
|
150
|
+
* Get Campaign
|
|
151
|
+
* Retrieves the campaign with the given campaign ID or campaign name.
|
|
152
|
+
* @param {String} campaignId You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
153
|
+
* @param {getCampaignCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
154
|
+
* data is of type: {@link CampaignsGetResponseBody}
|
|
155
|
+
* @returns {Promise<(CampaignsGetResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CampaignsGetResponseBody` object or with `undefined`.
|
|
156
|
+
*/
|
|
157
|
+
getCampaign(campaignId: string, callback?: (error: Error | null, data?: CampaignsGetResponseBody, response?: any) => any): Promise<(CampaignsGetResponseBody | undefined)>;
|
|
158
|
+
/**
|
|
159
|
+
* Callback function to receive the result of the getCampaignSummary operation.
|
|
160
|
+
* @callback getCampaignSummaryCallback
|
|
161
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
162
|
+
* @param {CampaignsSummaryGetResponseBody} [data] The data returned by the service call.
|
|
163
|
+
* @param {Object} [response] Full response object if successful.
|
|
164
|
+
*/
|
|
165
|
+
/**
|
|
166
|
+
* Get Campaign Summary
|
|
167
|
+
* Returns data for campaign analytics, covering validations, redemptions, publications, and other details specific to a given campaign type. Use start_date and end_date to narrow down the data to specific periods. 🚧 Campaigns created before v20250602 version This endpoint returns analytics data for campaigns that were created after the [v20250602 version](https://support.voucherify.io/article/23-whats-new-in-voucherify#v20250602) was released on 17 June 2025. Older campaigns return empty data.
|
|
168
|
+
* @param {String} campaignId You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
169
|
+
* @param {{
|
|
170
|
+
startDate?: Date,
|
|
171
|
+
endDate?: Date,
|
|
172
|
+
}} [opts] Optional parameters
|
|
173
|
+
* @param {getCampaignSummaryCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
174
|
+
* data is of type: {@link CampaignsSummaryGetResponseBody}
|
|
175
|
+
* @returns {Promise<(CampaignsSummaryGetResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CampaignsSummaryGetResponseBody` object or with `undefined`.
|
|
176
|
+
*/
|
|
177
|
+
getCampaignSummary(campaignId: string, opts?: {
|
|
178
|
+
startDate?: Date;
|
|
179
|
+
endDate?: Date;
|
|
180
|
+
}, callback?: (error: Error | null, data?: CampaignsSummaryGetResponseBody, response?: any) => any): Promise<(CampaignsSummaryGetResponseBody | undefined)>;
|
|
181
|
+
/**
|
|
182
|
+
* Callback function to receive the result of the importVouchersToCampaign operation.
|
|
183
|
+
* @callback importVouchersToCampaignCallback
|
|
184
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
185
|
+
* @param {CampaignsImportCreateResponseBody} [data] The data returned by the service call.
|
|
186
|
+
* @param {Object} [response] Full response object if successful.
|
|
187
|
+
*/
|
|
188
|
+
/**
|
|
189
|
+
* Import Vouchers to Campaign
|
|
190
|
+
* Imports vouchers to an **existing** campaign. 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).
|
|
191
|
+
* @param {String} campaignId The ID of an existing campaign to which youre importing the codes. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
192
|
+
* @param {Array.<CampaignsImportVoucherItem>} campaignsImportVoucherItem Discount type, expiration date and the remaining attributes will be taken from the [Campaign](/api-reference/campaigns/get-campaign) settings.
|
|
193
|
+
* @param {importVouchersToCampaignCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
194
|
+
* data is of type: {@link CampaignsImportCreateResponseBody}
|
|
195
|
+
* @returns {Promise<(CampaignsImportCreateResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CampaignsImportCreateResponseBody` object or with `undefined`.
|
|
196
|
+
*/
|
|
197
|
+
importVouchersToCampaign(campaignId: string, campaignsImportVoucherItem: Array<CampaignsImportVoucherItem>, callback?: (error: Error | null, data?: CampaignsImportCreateResponseBody, response?: any) => any): Promise<(CampaignsImportCreateResponseBody | undefined)>;
|
|
198
|
+
/**
|
|
199
|
+
* Callback function to receive the result of the importVouchersToCampaignUsingCsv operation.
|
|
200
|
+
* @callback importVouchersToCampaignUsingCsvCallback
|
|
201
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
202
|
+
* @param {CampaignsImportCsvCreateResponseBody} [data] The data returned by the service call.
|
|
203
|
+
* @param {Object} [response] Full response object if successful.
|
|
204
|
+
*/
|
|
205
|
+
/**
|
|
206
|
+
* Import Vouchers to Campaign by CSV
|
|
207
|
+
* Imports vouchers to an **existing** campaign. The CSV file has to include headers in the first line. 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).
|
|
208
|
+
* @param {String} campaignId The campaign ID or name of the campaign being enabled. You can either pass the campaign ID, which was assigned by Voucherify or the name of the campaign as the path parameter value.
|
|
209
|
+
* @param {{
|
|
210
|
+
file?: File,
|
|
211
|
+
}} [opts] Optional parameters
|
|
212
|
+
* @param {importVouchersToCampaignUsingCsvCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
213
|
+
* data is of type: {@link CampaignsImportCsvCreateResponseBody}
|
|
214
|
+
* @returns {Promise<(CampaignsImportCsvCreateResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CampaignsImportCsvCreateResponseBody` object or with `undefined`.
|
|
215
|
+
*/
|
|
216
|
+
importVouchersToCampaignUsingCsv(campaignId: string, opts?: {
|
|
217
|
+
file?: File;
|
|
218
|
+
}, callback?: (error: Error | null, data?: CampaignsImportCsvCreateResponseBody, response?: any) => any): Promise<(CampaignsImportCsvCreateResponseBody | undefined)>;
|
|
219
|
+
/**
|
|
220
|
+
* Callback function to receive the result of the listCampaignTransactions operation.
|
|
221
|
+
* @callback listCampaignTransactionsCallback
|
|
222
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
223
|
+
* @param {CampaignsTransactionsListResponseBody} [data] The data returned by the service call.
|
|
224
|
+
* @param {Object} [response] Full response object if successful.
|
|
225
|
+
*/
|
|
226
|
+
/**
|
|
227
|
+
* List Campaign Transactions
|
|
228
|
+
* Retrieves all transactions for the campaign with the given campaign ID or campaign name. The id filter denotes the unique transaction identifier. 🚧 The endpoint works only for gift card and loyalty campaigns.
|
|
229
|
+
* @param {String} campaignId You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
230
|
+
* @param {{
|
|
231
|
+
limit?: Number,
|
|
232
|
+
order?: Exclude<keyof typeof ParameterOrderListTransactions, "prototype" | "constructFromObject">,
|
|
233
|
+
startingAfterId?: String,
|
|
234
|
+
filters?: ParametersFiltersListCampaignTransactions,
|
|
235
|
+
}} [opts] Optional parameters
|
|
236
|
+
* @param {listCampaignTransactionsCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
237
|
+
* data is of type: {@link CampaignsTransactionsListResponseBody}
|
|
238
|
+
* @returns {Promise<(CampaignsTransactionsListResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CampaignsTransactionsListResponseBody` object or with `undefined`.
|
|
239
|
+
*/
|
|
240
|
+
listCampaignTransactions(campaignId: string, opts?: {
|
|
241
|
+
limit?: number;
|
|
242
|
+
order?: Exclude<keyof typeof ParameterOrderListTransactions, "prototype" | "constructFromObject">;
|
|
243
|
+
startingAfterId?: string;
|
|
244
|
+
filters?: ParametersFiltersListCampaignTransactions;
|
|
245
|
+
}, callback?: (error: Error | null, data?: CampaignsTransactionsListResponseBody, response?: any) => any): Promise<(CampaignsTransactionsListResponseBody | undefined)>;
|
|
246
|
+
/**
|
|
247
|
+
* Callback function to receive the result of the listCampaigns operation.
|
|
248
|
+
* @callback listCampaignsCallback
|
|
249
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
250
|
+
* @param {CampaignsListResponseBody} [data] The data returned by the service call.
|
|
251
|
+
* @param {Object} [response] Full response object if successful.
|
|
252
|
+
*/
|
|
253
|
+
/**
|
|
254
|
+
* List Campaigns
|
|
255
|
+
* Retrieve a list of campaigns in a project. The campaigns are returned sorted by creation date, with the most recent campaigns appearing first. When you get a list of campaigns, you can optionally specify query parameters to customize the amount of campaigns returned per call using limit, which page of campaigns to return using page, sort the campaigns using the order query parameter and filter the results by the campaign_type. This method will return an error when trying to return a limit of more than 100 campaigns.
|
|
256
|
+
* @param {{
|
|
257
|
+
limit?: Number,
|
|
258
|
+
page?: Number,
|
|
259
|
+
campaignType?: Exclude<keyof typeof ParameterCampaignType, "prototype" | "constructFromObject">,
|
|
260
|
+
expand?: Exclude<keyof typeof ParameterExpandListCampaigns, "prototype" | "constructFromObject">,
|
|
261
|
+
campaignStatus?: Exclude<keyof typeof ParameterCampaignStatusListCampaigns, "prototype" | "constructFromObject">,
|
|
262
|
+
isReferralCode?: Boolean,
|
|
263
|
+
order?: Exclude<keyof typeof ParameterOrderListCampaigns, "prototype" | "constructFromObject">,
|
|
264
|
+
filters?: ParameterFiltersListCampaigns,
|
|
265
|
+
accessSettings?: ParameterCampaignsAccessSetttings,
|
|
266
|
+
}} [opts] Optional parameters
|
|
267
|
+
* @param {listCampaignsCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
268
|
+
* data is of type: {@link CampaignsListResponseBody}
|
|
269
|
+
* @returns {Promise<(CampaignsListResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CampaignsListResponseBody` object or with `undefined`.
|
|
270
|
+
*/
|
|
271
|
+
listCampaigns(opts?: {
|
|
272
|
+
limit?: number;
|
|
273
|
+
page?: number;
|
|
274
|
+
campaignType?: Exclude<keyof typeof ParameterCampaignType, "prototype" | "constructFromObject">;
|
|
275
|
+
expand?: Exclude<keyof typeof ParameterExpandListCampaigns, "prototype" | "constructFromObject">;
|
|
276
|
+
campaignStatus?: Exclude<keyof typeof ParameterCampaignStatusListCampaigns, "prototype" | "constructFromObject">;
|
|
277
|
+
isReferralCode?: boolean;
|
|
278
|
+
order?: Exclude<keyof typeof ParameterOrderListCampaigns, "prototype" | "constructFromObject">;
|
|
279
|
+
filters?: ParameterFiltersListCampaigns;
|
|
280
|
+
accessSettings?: ParameterCampaignsAccessSetttings;
|
|
281
|
+
}, callback?: (error: Error | null, data?: CampaignsListResponseBody, response?: any) => any): Promise<(CampaignsListResponseBody | undefined)>;
|
|
282
|
+
/**
|
|
283
|
+
* Callback function to receive the result of the updateCampaign operation.
|
|
284
|
+
* @callback updateCampaignCallback
|
|
285
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
286
|
+
* @param {CampaignsUpdateResponseBody} [data] The data returned by the service call.
|
|
287
|
+
* @param {Object} [response] Full response object if successful.
|
|
288
|
+
*/
|
|
289
|
+
/**
|
|
290
|
+
* Update Campaign
|
|
291
|
+
* Updates the specified campaign by setting the values of the parameters passed in the request body. Any parameters not provided in the payload will be left unchanged. Fields other than the ones listed in the request body wont be modified. Even if provided, they will be silently skipped. 🚧 Vouchers will be affected This method will update vouchers aggregated in the campaign. It will affect all vouchers that are not published or redeemed yet.
|
|
292
|
+
* @param {String} campaignId You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
293
|
+
* @param {CampaignsUpdateRequestBody} campaignsUpdateRequestBody Specify the campaign parameters to be updated.
|
|
294
|
+
* @param {updateCampaignCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
295
|
+
* data is of type: {@link CampaignsUpdateResponseBody}
|
|
296
|
+
* @returns {Promise<(CampaignsUpdateResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CampaignsUpdateResponseBody` object or with `undefined`.
|
|
297
|
+
*/
|
|
298
|
+
updateCampaign(campaignId: string, campaignsUpdateRequestBody: CampaignsUpdateRequestBody, callback?: (error: Error | null, data?: CampaignsUpdateResponseBody, response?: any) => any): Promise<(CampaignsUpdateResponseBody | undefined)>;
|
|
299
|
+
}
|
|
300
|
+
import CampaignsVouchersCreateRequestBody from '../model/CampaignsVouchersCreateRequestBody';
|
|
301
|
+
import CampaignsVouchersCreateResponseBody from '../model/CampaignsVouchersCreateResponseBody';
|
|
302
|
+
import CampaignsVouchersCreateInBulkRequestBody from '../model/CampaignsVouchersCreateInBulkRequestBody';
|
|
303
|
+
import CampaignsVouchersCreateCombinedResponseBody from '../model/CampaignsVouchersCreateCombinedResponseBody';
|
|
304
|
+
import CampaignsCreateRequestBody from '../model/CampaignsCreateRequestBody';
|
|
305
|
+
import CampaignsCreateResponseBody from '../model/CampaignsCreateResponseBody';
|
|
306
|
+
import CampaignsDeleteResponseBody from '../model/CampaignsDeleteResponseBody';
|
|
307
|
+
import CampaignsTransactionsExportCreateRequestBody from '../model/CampaignsTransactionsExportCreateRequestBody';
|
|
308
|
+
import CampaignsTransactionsExportCreateResponseBody from '../model/CampaignsTransactionsExportCreateResponseBody';
|
|
309
|
+
import CampaignsGetResponseBody from '../model/CampaignsGetResponseBody';
|
|
310
|
+
import CampaignsSummaryGetResponseBody from '../model/CampaignsSummaryGetResponseBody';
|
|
311
|
+
import CampaignsImportVoucherItem from '../model/CampaignsImportVoucherItem';
|
|
312
|
+
import CampaignsImportCreateResponseBody from '../model/CampaignsImportCreateResponseBody';
|
|
313
|
+
import CampaignsImportCsvCreateResponseBody from '../model/CampaignsImportCsvCreateResponseBody';
|
|
314
|
+
import ParameterOrderListTransactions from '../model/ParameterOrderListTransactions';
|
|
315
|
+
import ParametersFiltersListCampaignTransactions from '../model/ParametersFiltersListCampaignTransactions';
|
|
316
|
+
import CampaignsTransactionsListResponseBody from '../model/CampaignsTransactionsListResponseBody';
|
|
317
|
+
import ParameterCampaignType from '../model/ParameterCampaignType';
|
|
318
|
+
import ParameterExpandListCampaigns from '../model/ParameterExpandListCampaigns';
|
|
319
|
+
import ParameterCampaignStatusListCampaigns from '../model/ParameterCampaignStatusListCampaigns';
|
|
320
|
+
import ParameterOrderListCampaigns from '../model/ParameterOrderListCampaigns';
|
|
321
|
+
import ParameterFiltersListCampaigns from '../model/ParameterFiltersListCampaigns';
|
|
322
|
+
import ParameterCampaignsAccessSetttings from '../model/ParameterCampaignsAccessSetttings';
|
|
323
|
+
import CampaignsListResponseBody from '../model/CampaignsListResponseBody';
|
|
324
|
+
import CampaignsUpdateRequestBody from '../model/CampaignsUpdateRequestBody';
|
|
325
|
+
import CampaignsUpdateResponseBody from '../model/CampaignsUpdateResponseBody';
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Categories service.
|
|
3
|
+
* @module api/CategoriesApi
|
|
4
|
+
* @version 3.0.1
|
|
5
|
+
*/
|
|
6
|
+
export default class CategoriesApi {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a new CategoriesApi.
|
|
9
|
+
* @alias CategoriesApi
|
|
10
|
+
* @class
|
|
11
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
12
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
13
|
+
*/
|
|
14
|
+
constructor(apiClient?: any);
|
|
15
|
+
apiClient: any;
|
|
16
|
+
/**
|
|
17
|
+
* Callback function to receive the result of the createCategory operation.
|
|
18
|
+
* @callback createCategoryCallback
|
|
19
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
20
|
+
* @param {CategoriesCreateResponseBody} [data] The data returned by the service call.
|
|
21
|
+
* @param {Object} [response] Full response object if successful.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* Create Category
|
|
25
|
+
* Create category with a specific name and hierarchy.
|
|
26
|
+
* @param {CategoriesCreateRequestBody} categoriesCreateRequestBody Specify the details of the category that you would like to create.
|
|
27
|
+
* @param {createCategoryCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
28
|
+
* data is of type: {@link CategoriesCreateResponseBody}
|
|
29
|
+
* @returns {Promise<(CategoriesCreateResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CategoriesCreateResponseBody` object or with `undefined`.
|
|
30
|
+
*/
|
|
31
|
+
createCategory(categoriesCreateRequestBody: CategoriesCreateRequestBody, callback?: (error: Error | null, data?: CategoriesCreateResponseBody, response?: any) => any): Promise<(CategoriesCreateResponseBody | undefined)>;
|
|
32
|
+
/**
|
|
33
|
+
* Callback function to receive the result of the deleteCategory operation.
|
|
34
|
+
* @callback deleteCategoryCallback
|
|
35
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
36
|
+
* @param data This operation does not return a value.
|
|
37
|
+
* @param {Object} [response] Full response object if successful.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* Delete Category
|
|
41
|
+
* Delete a category by the category ID.
|
|
42
|
+
* @param {String} categoryId Unique category ID assigned by Voucherify.
|
|
43
|
+
* @param {deleteCategoryCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
44
|
+
* @returns {Promise<( | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `` object or with `undefined`.
|
|
45
|
+
*/
|
|
46
|
+
deleteCategory(categoryId: string, callback?: (error: Error | null, data: any, response?: any) => any): Promise<(undefined)>;
|
|
47
|
+
/**
|
|
48
|
+
* Callback function to receive the result of the getCategory operation.
|
|
49
|
+
* @callback getCategoryCallback
|
|
50
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
51
|
+
* @param {CategoriesGetResponseBody} [data] The data returned by the service call.
|
|
52
|
+
* @param {Object} [response] Full response object if successful.
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* Get Category
|
|
56
|
+
* Retrieve a category by the category ID.
|
|
57
|
+
* @param {String} categoryId Unique category ID assigned by Voucherify.
|
|
58
|
+
* @param {getCategoryCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
59
|
+
* data is of type: {@link CategoriesGetResponseBody}
|
|
60
|
+
* @returns {Promise<(CategoriesGetResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CategoriesGetResponseBody` object or with `undefined`.
|
|
61
|
+
*/
|
|
62
|
+
getCategory(categoryId: string, callback?: (error: Error | null, data?: CategoriesGetResponseBody, response?: any) => any): Promise<(CategoriesGetResponseBody | undefined)>;
|
|
63
|
+
/**
|
|
64
|
+
* Callback function to receive the result of the listCategories operation.
|
|
65
|
+
* @callback listCategoriesCallback
|
|
66
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
67
|
+
* @param {CategoriesListResponseBody} [data] The data returned by the service call.
|
|
68
|
+
* @param {Object} [response] Full response object if successful.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* List Categories
|
|
72
|
+
* List all categories.
|
|
73
|
+
* @param {listCategoriesCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
74
|
+
* data is of type: {@link CategoriesListResponseBody}
|
|
75
|
+
* @returns {Promise<(CategoriesListResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CategoriesListResponseBody` object or with `undefined`.
|
|
76
|
+
*/
|
|
77
|
+
listCategories(callback?: (error: Error | null, data?: CategoriesListResponseBody, response?: any) => any): Promise<(CategoriesListResponseBody | undefined)>;
|
|
78
|
+
/**
|
|
79
|
+
* Callback function to receive the result of the updateCategory operation.
|
|
80
|
+
* @callback updateCategoryCallback
|
|
81
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
82
|
+
* @param {CategoriesUpdateResponseBody} [data] The data returned by the service call.
|
|
83
|
+
* @param {Object} [response] Full response object if successful.
|
|
84
|
+
*/
|
|
85
|
+
/**
|
|
86
|
+
* Update Category
|
|
87
|
+
* Update a category using the category ID.
|
|
88
|
+
* @param {String} categoryId Unique category ID assigned by Voucherify.
|
|
89
|
+
* @param {CategoriesUpdateRequestBody} categoriesUpdateRequestBody Specify the details of the category that you would like to update.
|
|
90
|
+
* @param {updateCategoryCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
91
|
+
* data is of type: {@link CategoriesUpdateResponseBody}
|
|
92
|
+
* @returns {Promise<(CategoriesUpdateResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `CategoriesUpdateResponseBody` object or with `undefined`.
|
|
93
|
+
*/
|
|
94
|
+
updateCategory(categoryId: string, categoriesUpdateRequestBody: CategoriesUpdateRequestBody, callback?: (error: Error | null, data?: CategoriesUpdateResponseBody, response?: any) => any): Promise<(CategoriesUpdateResponseBody | undefined)>;
|
|
95
|
+
}
|
|
96
|
+
import CategoriesCreateRequestBody from '../model/CategoriesCreateRequestBody';
|
|
97
|
+
import CategoriesCreateResponseBody from '../model/CategoriesCreateResponseBody';
|
|
98
|
+
import CategoriesGetResponseBody from '../model/CategoriesGetResponseBody';
|
|
99
|
+
import CategoriesListResponseBody from '../model/CategoriesListResponseBody';
|
|
100
|
+
import CategoriesUpdateRequestBody from '../model/CategoriesUpdateRequestBody';
|
|
101
|
+
import CategoriesUpdateResponseBody from '../model/CategoriesUpdateResponseBody';
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ClientSide service.
|
|
3
|
+
* @module api/ClientSideApi
|
|
4
|
+
* @version 3.0.1
|
|
5
|
+
*/
|
|
6
|
+
export default class ClientSideApi {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a new ClientSideApi.
|
|
9
|
+
* @alias ClientSideApi
|
|
10
|
+
* @class
|
|
11
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
12
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
13
|
+
*/
|
|
14
|
+
constructor(apiClient?: any);
|
|
15
|
+
apiClient: any;
|
|
16
|
+
/**
|
|
17
|
+
* Callback function to receive the result of the checkEligibilityClientSide operation.
|
|
18
|
+
* @callback checkEligibilityClientSideCallback
|
|
19
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
20
|
+
* @param {ClientQualificationsCheckEligibilityResponseBody} [data] The data returned by the service call.
|
|
21
|
+
* @param {Object} [response] Full response object if successful.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* Check Eligibility (client-side)
|
|
25
|
+
* Generate a list of redeemables that are applicable in the context of the customer and order. The new qualifications method is an improved version of [Campaign Qualifications](/api-reference/campaigns/examine-campaign-qualification), [Voucher Qualifications](/api-reference/vouchers/examine-voucher-qualification) API requests. The new qualification method introduces the following improvements: - Qualification results are returned faster - No limit on the number of returned redeemables - Introduces new qualification scenarios, not available in the previous version 👍 Scenario Guide Read our dedicated guide to learn about some use cases this endpoint can cover [here](/guides/checking-eligibility). # Paging The Voucherify Qualifications API request will return to you all of the redeemables available for the customer in batches of up to 50 redeemables per page. To get the next batch of redeemables, you need to use the starting_after cursor. To process of paging the redeemables works in the following manner: - You send the first API request for Qualifications without the starting_after parameter. - The response will contain a parameter named has_more. If the parameters value is set to true, then more redeemables are available. - Get the value of the created_at parameter of the last returned redeemable. The value of this parameter will be used as a cursor to retrieve the next page of redeemables. - Send another API request for Qualification with the starting_after parameter set to the value taken from the created_at parameter from the last returned redeemable. - Voucherify will return the next page of redeemables. - If the has_more parameter is set to true, apply steps 3-5 to get the next page of redeemables.
|
|
26
|
+
* @param {ClientQualificationsCheckEligibilityRequestBody} clientQualificationsCheckEligibilityRequestBody Define order and customer context.
|
|
27
|
+
* @param {checkEligibilityClientSideCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
28
|
+
* data is of type: {@link ClientQualificationsCheckEligibilityResponseBody}
|
|
29
|
+
* @returns {Promise<(ClientQualificationsCheckEligibilityResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `ClientQualificationsCheckEligibilityResponseBody` object or with `undefined`.
|
|
30
|
+
*/
|
|
31
|
+
checkEligibilityClientSide(clientQualificationsCheckEligibilityRequestBody: ClientQualificationsCheckEligibilityRequestBody, callback?: (error: Error | null, data?: ClientQualificationsCheckEligibilityResponseBody, response?: any) => any): Promise<(ClientQualificationsCheckEligibilityResponseBody | undefined)>;
|
|
32
|
+
/**
|
|
33
|
+
* Callback function to receive the result of the listPromotionTiersClientSide operation.
|
|
34
|
+
* @callback listPromotionTiersClientSideCallback
|
|
35
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
36
|
+
* @param {ClientPromotionsTiersListResponseBody} [data] The data returned by the service call.
|
|
37
|
+
* @param {Object} [response] Full response object if successful.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* List Promotion Tiers (client-side)
|
|
41
|
+
* This method enables you to list promotion tiers.
|
|
42
|
+
* @param {String} origin Indicates the origin (scheme, hostname, and port).
|
|
43
|
+
* @param {{
|
|
44
|
+
isAvailable?: Boolean,
|
|
45
|
+
limit?: Number,
|
|
46
|
+
page?: Number,
|
|
47
|
+
order?: Exclude<keyof typeof ParameterOrderListPromotionTiersClientSide, "prototype" | "constructFromObject">,
|
|
48
|
+
}} [opts] Optional parameters
|
|
49
|
+
* @param {listPromotionTiersClientSideCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
50
|
+
* data is of type: {@link ClientPromotionsTiersListResponseBody}
|
|
51
|
+
* @returns {Promise<(ClientPromotionsTiersListResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `ClientPromotionsTiersListResponseBody` object or with `undefined`.
|
|
52
|
+
*/
|
|
53
|
+
listPromotionTiersClientSide(origin: string, opts?: {
|
|
54
|
+
isAvailable?: boolean;
|
|
55
|
+
limit?: number;
|
|
56
|
+
page?: number;
|
|
57
|
+
order?: Exclude<keyof typeof ParameterOrderListPromotionTiersClientSide, "prototype" | "constructFromObject">;
|
|
58
|
+
}, callback?: (error: Error | null, data?: ClientPromotionsTiersListResponseBody, response?: any) => any): Promise<(ClientPromotionsTiersListResponseBody | undefined)>;
|
|
59
|
+
/**
|
|
60
|
+
* Callback function to receive the result of the redeemStackedDiscountsClientSide operation.
|
|
61
|
+
* @callback redeemStackedDiscountsClientSideCallback
|
|
62
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
63
|
+
* @param {ClientRedemptionsRedeemResponseBody} [data] The data returned by the service call.
|
|
64
|
+
* @param {Object} [response] Full response object if successful.
|
|
65
|
+
*/
|
|
66
|
+
/**
|
|
67
|
+
* Redeem Stackable Discounts (client-side)
|
|
68
|
+
* This method is accessible through public keys which you can use in client side requests coming from mobile and web browser applications. # How API returns calculated discounts and order amounts in the response In the table below, you can see the logic the API follows to calculate discounts and amounts: 📘 Rollbacks You cant roll back a child redemption. When you call rollback on a stacked redemption, all child redemptions will be rolled back. You need to refer to a parent redemption ID in your [rollback request](/api-reference/redemptions/rollback-stackable-redemptions).
|
|
69
|
+
* @param {String} origin Indicates the origin (scheme, hostname, and port).
|
|
70
|
+
* @param {ClientRedemptionsRedeemRequestBody} clientRedemptionsRedeemRequestBody
|
|
71
|
+
* @param {redeemStackedDiscountsClientSideCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
72
|
+
* data is of type: {@link ClientRedemptionsRedeemResponseBody}
|
|
73
|
+
* @returns {Promise<(ClientRedemptionsRedeemResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `ClientRedemptionsRedeemResponseBody` object or with `undefined`.
|
|
74
|
+
*/
|
|
75
|
+
redeemStackedDiscountsClientSide(origin: string, clientRedemptionsRedeemRequestBody: ClientRedemptionsRedeemRequestBody, callback?: (error: Error | null, data?: ClientRedemptionsRedeemResponseBody, response?: any) => any): Promise<(ClientRedemptionsRedeemResponseBody | undefined)>;
|
|
76
|
+
/**
|
|
77
|
+
* Callback function to receive the result of the trackCustomEventClientSide operation.
|
|
78
|
+
* @callback trackCustomEventClientSideCallback
|
|
79
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
80
|
+
* @param {ClientEventsCreateResponseBody} [data] The data returned by the service call.
|
|
81
|
+
* @param {Object} [response] Full response object if successful.
|
|
82
|
+
*/
|
|
83
|
+
/**
|
|
84
|
+
* Track Custom Event (client-side)
|
|
85
|
+
* To track a custom event, you create an event object. The event object must be linked to the customer who performs the action. If a customer doesnt exist in Voucherify, the customer will be created.
|
|
86
|
+
* @param {String} origin Indicates the origin (scheme, hostname, and port).
|
|
87
|
+
* @param {ClientEventsCreateRequestBody} clientEventsCreateRequestBody Specify the details of the custom event.
|
|
88
|
+
* @param {trackCustomEventClientSideCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
89
|
+
* data is of type: {@link ClientEventsCreateResponseBody}
|
|
90
|
+
* @returns {Promise<(ClientEventsCreateResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `ClientEventsCreateResponseBody` object or with `undefined`.
|
|
91
|
+
*/
|
|
92
|
+
trackCustomEventClientSide(origin: string, clientEventsCreateRequestBody: ClientEventsCreateRequestBody, callback?: (error: Error | null, data?: ClientEventsCreateResponseBody, response?: any) => any): Promise<(ClientEventsCreateResponseBody | undefined)>;
|
|
93
|
+
/**
|
|
94
|
+
* Callback function to receive the result of the validateStackedDiscountsClientSide operation.
|
|
95
|
+
* @callback validateStackedDiscountsClientSideCallback
|
|
96
|
+
* @param {Error|null} error Error object if failed, null otherwise.
|
|
97
|
+
* @param {ClientValidationsValidateResponseBody} [data] The data returned by the service call.
|
|
98
|
+
* @param {Object} [response] Full response object if successful.
|
|
99
|
+
*/
|
|
100
|
+
/**
|
|
101
|
+
* Validate Stackable Discounts (client-side)
|
|
102
|
+
* Verify redeemables provided in the request. This method is accessible through public keys which you can use in client side requests coming from mobile and web browser applications.
|
|
103
|
+
* @param {String} origin Indicates the origin (scheme, hostname, and port).
|
|
104
|
+
* @param {ClientValidationsValidateRequestBody} clientValidationsValidateRequestBody
|
|
105
|
+
* @param {validateStackedDiscountsClientSideCallback} [callback] The callback function, accepting three arguments: error, data, response
|
|
106
|
+
* data is of type: {@link ClientValidationsValidateResponseBody}
|
|
107
|
+
* @returns {Promise<(ClientValidationsValidateResponseBody | undefined)>} Depending on whether the `callback` parameter is provided, the promise will resolve with a `ClientValidationsValidateResponseBody` object or with `undefined`.
|
|
108
|
+
*/
|
|
109
|
+
validateStackedDiscountsClientSide(origin: string, clientValidationsValidateRequestBody: ClientValidationsValidateRequestBody, callback?: (error: Error | null, data?: ClientValidationsValidateResponseBody, response?: any) => any): Promise<(ClientValidationsValidateResponseBody | undefined)>;
|
|
110
|
+
}
|
|
111
|
+
import ClientQualificationsCheckEligibilityRequestBody from '../model/ClientQualificationsCheckEligibilityRequestBody';
|
|
112
|
+
import ClientQualificationsCheckEligibilityResponseBody from '../model/ClientQualificationsCheckEligibilityResponseBody';
|
|
113
|
+
import ParameterOrderListPromotionTiersClientSide from '../model/ParameterOrderListPromotionTiersClientSide';
|
|
114
|
+
import ClientPromotionsTiersListResponseBody from '../model/ClientPromotionsTiersListResponseBody';
|
|
115
|
+
import ClientRedemptionsRedeemRequestBody from '../model/ClientRedemptionsRedeemRequestBody';
|
|
116
|
+
import ClientRedemptionsRedeemResponseBody from '../model/ClientRedemptionsRedeemResponseBody';
|
|
117
|
+
import ClientEventsCreateRequestBody from '../model/ClientEventsCreateRequestBody';
|
|
118
|
+
import ClientEventsCreateResponseBody from '../model/ClientEventsCreateResponseBody';
|
|
119
|
+
import ClientValidationsValidateRequestBody from '../model/ClientValidationsValidateRequestBody';
|
|
120
|
+
import ClientValidationsValidateResponseBody from '../model/ClientValidationsValidateResponseBody';
|