talon_one_sdk 26.01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.github/.example/Gemfile +6 -0
- data/.github/.example/Gemfile.lock +47 -0
- data/.github/.example/example.rb +85 -0
- data/.github/workflows/autorelease.yml +135 -0
- data/.github/workflows/test.yml +75 -0
- data/.gitlab-ci.yml +26 -0
- data/.rspec +2 -0
- data/Gemfile +9 -0
- data/README.md +1038 -0
- data/Rakefile +10 -0
- data/docker-compose.yml +47 -0
- data/docs/APIError.md +22 -0
- data/docs/AcceptCouponEffectProps.md +18 -0
- data/docs/AcceptReferralEffectProps.md +18 -0
- data/docs/AccessLogEntry.md +35 -0
- data/docs/Account.md +52 -0
- data/docs/AccountAdditionalCost.md +32 -0
- data/docs/AccountAnalytics.md +56 -0
- data/docs/AccountDashboardStatistic.md +26 -0
- data/docs/AccountDashboardStatisticCampaigns.md +22 -0
- data/docs/AccountDashboardStatisticDiscount.md +22 -0
- data/docs/AccountDashboardStatisticLoyaltyPoints.md +20 -0
- data/docs/AccountDashboardStatisticReferrals.md +20 -0
- data/docs/AccountDashboardStatisticRevenue.md +22 -0
- data/docs/AccountEntity.md +18 -0
- data/docs/AccountLimits.md +44 -0
- data/docs/Achievement.md +52 -0
- data/docs/AchievementAdditionalProperties.md +26 -0
- data/docs/AchievementBase.md +38 -0
- data/docs/AchievementProgress.md +26 -0
- data/docs/AchievementProgressWithDefinition.md +48 -0
- data/docs/AchievementStatusEntry.md +48 -0
- data/docs/ActivateLoyaltyPoints.md +20 -0
- data/docs/ActivateLoyaltyPointsResponse.md +18 -0
- data/docs/ActivateUserRequest.md +18 -0
- data/docs/AddFreeItemEffectProps.md +22 -0
- data/docs/AddItemCatalogAction.md +26 -0
- data/docs/AddLoyaltyPoints.md +32 -0
- data/docs/AddLoyaltyPointsEffectProps.md +48 -0
- data/docs/AddPriceAdjustmentCatalogAction.md +20 -0
- data/docs/AddToAudienceEffectProps.md +24 -0
- data/docs/AddedDeductedPointsBalancesAction.md +26 -0
- data/docs/AddedDeductedPointsBalancesNotification.md +36 -0
- data/docs/AddedDeductedPointsBalancesNotificationPolicy.md +20 -0
- data/docs/AddedDeductedPointsNotification.md +42 -0
- data/docs/AddedDeductedPointsNotificationPolicy.md +20 -0
- data/docs/AdditionalCampaignProperties.md +64 -0
- data/docs/AdditionalCost.md +18 -0
- data/docs/AnalyticsDataPoint.md +20 -0
- data/docs/AnalyticsDataPointWithTrend.md +20 -0
- data/docs/AnalyticsDataPointWithTrendAndInfluencedRate.md +22 -0
- data/docs/AnalyticsDataPointWithTrendAndUplift.md +22 -0
- data/docs/AnalyticsProduct.md +24 -0
- data/docs/AnalyticsSKU.md +28 -0
- data/docs/Application.md +60 -0
- data/docs/ApplicationAPIKey.md +36 -0
- data/docs/ApplicationAnalyticsDataPoint.md +32 -0
- data/docs/ApplicationApiHealth.md +20 -0
- data/docs/ApplicationCIF.md +34 -0
- data/docs/ApplicationCIFExpression.md +28 -0
- data/docs/ApplicationCIFReferences.md +20 -0
- data/docs/ApplicationCampaignAnalytics.md +40 -0
- data/docs/ApplicationCampaignStats.md +28 -0
- data/docs/ApplicationCustomer.md +40 -0
- data/docs/ApplicationCustomerEntity.md +18 -0
- data/docs/ApplicationEntity.md +18 -0
- data/docs/ApplicationEvent.md +38 -0
- data/docs/ApplicationNotification.md +18 -0
- data/docs/ApplicationReferee.md +28 -0
- data/docs/ApplicationSession.md +46 -0
- data/docs/ApplicationSessionEntity.md +18 -0
- data/docs/ApplicationStoreEntity.md +18 -0
- data/docs/AsyncCouponCreationResponse.md +18 -0
- data/docs/AsyncCouponDeletionJobResponse.md +18 -0
- data/docs/AsyncCouponsData.md +26 -0
- data/docs/Attribute.md +50 -0
- data/docs/AttributesMandatory.md +20 -0
- data/docs/AttributesSettings.md +18 -0
- data/docs/Audience.md +36 -0
- data/docs/AudienceAnalytics.md +20 -0
- data/docs/AudienceCustomer.md +42 -0
- data/docs/AudienceIntegrationID.md +18 -0
- data/docs/AudienceMembership.md +20 -0
- data/docs/AudienceReference.md +22 -0
- data/docs/AwardGiveawayEffectProps.md +26 -0
- data/docs/BaseCampaign.md +46 -0
- data/docs/BaseLoyaltyProgram.md +46 -0
- data/docs/BaseNotification.md +26 -0
- data/docs/BaseNotificationEntity.md +20 -0
- data/docs/BaseNotificationWebhook.md +28 -0
- data/docs/BaseNotifications.md +18 -0
- data/docs/BaseSamlConnection.md +32 -0
- data/docs/BestPriorPrice.md +28 -0
- data/docs/BestPriorPriceMetadata.md +20 -0
- data/docs/BestPriorPriceRequest.md +26 -0
- data/docs/BestPriorPriceRequestTarget.md +20 -0
- data/docs/Binding.md +32 -0
- data/docs/BulkApplicationNotification.md +20 -0
- data/docs/BulkOperationOnCampaigns.md +22 -0
- data/docs/Campaign.md +116 -0
- data/docs/CampaignActivationRequest.md +18 -0
- data/docs/CampaignAnalytics.md +66 -0
- data/docs/CampaignBudget.md +22 -0
- data/docs/CampaignCollection.md +38 -0
- data/docs/CampaignCollectionEditedNotification.md +22 -0
- data/docs/CampaignCollectionEditedNotificationItem.md +24 -0
- data/docs/CampaignCollectionWithoutPayload.md +36 -0
- data/docs/CampaignCopy.md +30 -0
- data/docs/CampaignCreatedNotification.md +22 -0
- data/docs/CampaignCreatedNotificationItem.md +24 -0
- data/docs/CampaignDeactivationRequest.md +18 -0
- data/docs/CampaignDeletedNotification.md +22 -0
- data/docs/CampaignDeletedNotificationItem.md +22 -0
- data/docs/CampaignDetail.md +20 -0
- data/docs/CampaignEditedNotification.md +22 -0
- data/docs/CampaignEditedNotificationItem.md +24 -0
- data/docs/CampaignEntity.md +18 -0
- data/docs/CampaignEvaluationGroup.md +32 -0
- data/docs/CampaignEvaluationPosition.md +22 -0
- data/docs/CampaignEvaluationTreeChangedMessage.md +22 -0
- data/docs/CampaignEvaluationTreeChangedNotification.md +22 -0
- data/docs/CampaignGroup.md +32 -0
- data/docs/CampaignGroupEntity.md +18 -0
- data/docs/CampaignLogSummary.md +26 -0
- data/docs/CampaignNotificationBase.md +20 -0
- data/docs/CampaignNotificationGeneric.md +22 -0
- data/docs/CampaignNotificationItemBase.md +18 -0
- data/docs/CampaignNotificationPolicy.md +22 -0
- data/docs/CampaignRulesetChangedNotification.md +22 -0
- data/docs/CampaignRulesetChangedNotificationItem.md +24 -0
- data/docs/CampaignSearch.md +18 -0
- data/docs/CampaignSet.md +26 -0
- data/docs/CampaignSetBranchNode.md +34 -0
- data/docs/CampaignSetLeafNode.md +20 -0
- data/docs/CampaignSetNode.md +18 -0
- data/docs/CampaignStateChangedNotification.md +22 -0
- data/docs/CampaignStateChangedNotificationItem.md +26 -0
- data/docs/CampaignStoreBudget.md +26 -0
- data/docs/CampaignStoreBudgetLimitConfig.md +26 -0
- data/docs/CampaignTemplate.md +70 -0
- data/docs/CampaignTemplateCollection.md +20 -0
- data/docs/CampaignTemplateCouponReservationSettings.md +20 -0
- data/docs/CampaignTemplateParams.md +24 -0
- data/docs/CampaignVersions.md +30 -0
- data/docs/CardAddedDeductedPointsBalancesNotification.md +40 -0
- data/docs/CardAddedDeductedPointsBalancesNotificationPolicy.md +20 -0
- data/docs/CardAddedDeductedPointsNotification.md +46 -0
- data/docs/CardAddedDeductedPointsNotificationPolicy.md +20 -0
- data/docs/CardExpiringPointsNotificationPolicy.md +24 -0
- data/docs/CardExpiringPointsNotificationTrigger.md +20 -0
- data/docs/CardLedgerPointsEntryIntegrationAPI.md +38 -0
- data/docs/CardLedgerTransactionLogEntry.md +44 -0
- data/docs/CardLedgerTransactionLogEntryIntegrationAPI.md +44 -0
- data/docs/CartItem.md +58 -0
- data/docs/Catalog.md +34 -0
- data/docs/CatalogActionFilter.md +22 -0
- data/docs/CatalogItem.md +32 -0
- data/docs/CatalogSyncRequest.md +20 -0
- data/docs/CatalogsStrikethroughNotificationPolicy.md +22 -0
- data/docs/Change.md +32 -0
- data/docs/ChangeLoyaltyTierLevelEffectProps.md +28 -0
- data/docs/ChangeProfilePassword.md +20 -0
- data/docs/CodeGeneratorSettings.md +20 -0
- data/docs/Collection.md +40 -0
- data/docs/CollectionItem.md +18 -0
- data/docs/CollectionWithoutPayload.md +38 -0
- data/docs/Coupon.md +60 -0
- data/docs/CouponConstraints.md +26 -0
- data/docs/CouponCreatedEffectProps.md +20 -0
- data/docs/CouponCreationJob.md +60 -0
- data/docs/CouponDeletionFilters.md +44 -0
- data/docs/CouponDeletionJob.md +40 -0
- data/docs/CouponEntity.md +20 -0
- data/docs/CouponFailureSummary.md +38 -0
- data/docs/CouponLimitConfigs.md +18 -0
- data/docs/CouponRejectionReason.md +22 -0
- data/docs/CouponRejections.md +22 -0
- data/docs/CouponReservations.md +18 -0
- data/docs/CouponSearch.md +18 -0
- data/docs/CouponValue.md +18 -0
- data/docs/CouponsNotificationData.md +28 -0
- data/docs/CouponsNotificationPolicy.md +26 -0
- data/docs/CreateAchievement.md +38 -0
- data/docs/CreateApplicationAPIKey.md +26 -0
- data/docs/CreateCouponData.md +30 -0
- data/docs/CreateCoupons200Response.md +20 -0
- data/docs/CreateManagementKey.md +24 -0
- data/docs/CreateReferralsForMultipleAdvocates201Response.md +20 -0
- data/docs/CreateTemplateCampaign.md +36 -0
- data/docs/CreateTemplateCampaignResponse.md +22 -0
- data/docs/CustomEffect.md +44 -0
- data/docs/CustomEffectProps.md +30 -0
- data/docs/CustomerActivityReport.md +42 -0
- data/docs/CustomerAnalytics.md +30 -0
- data/docs/CustomerInventory.md +28 -0
- data/docs/CustomerProfile.md +38 -0
- data/docs/CustomerProfileAudienceRequest.md +18 -0
- data/docs/CustomerProfileAudienceRequestItem.md +22 -0
- data/docs/CustomerProfileEntity.md +20 -0
- data/docs/CustomerProfileIntegrationRequestV2.md +24 -0
- data/docs/CustomerProfileIntegrationResponseV2.md +34 -0
- data/docs/CustomerProfileSearchQuery.md +22 -0
- data/docs/CustomerProfileUpdateV2Response.md +18 -0
- data/docs/CustomerSession.md +46 -0
- data/docs/CustomerSessionV2.md +58 -0
- data/docs/DeactivateUserRequest.md +18 -0
- data/docs/DeductLoyaltyPoints.md +24 -0
- data/docs/DeductLoyaltyPointsEffectProps.md +30 -0
- data/docs/DeleteCouponsData.md +32 -0
- data/docs/DeleteUserRequest.md +18 -0
- data/docs/Effect.md +48 -0
- data/docs/EffectEntity.md +46 -0
- data/docs/EmailEntity.md +18 -0
- data/docs/Endpoint.md +18 -0
- data/docs/Entity.md +20 -0
- data/docs/EntityWithTalangVisibleID.md +20 -0
- data/docs/Environment.md +48 -0
- data/docs/ErrorEffectProps.md +18 -0
- data/docs/ErrorResponse.md +20 -0
- data/docs/ErrorResponseWithStatus.md +22 -0
- data/docs/ErrorSource.md +24 -0
- data/docs/EvaluableCampaignIds.md +18 -0
- data/docs/Event.md +38 -0
- data/docs/EventType.md +26 -0
- data/docs/EventV2.md +26 -0
- data/docs/EventV3.md +32 -0
- data/docs/ExpiringCardPointsData.md +30 -0
- data/docs/ExpiringCardPointsNotification.md +22 -0
- data/docs/ExpiringCouponsData.md +36 -0
- data/docs/ExpiringCouponsNotification.md +22 -0
- data/docs/ExpiringCouponsNotificationPolicy.md +24 -0
- data/docs/ExpiringCouponsNotificationTrigger.md +20 -0
- data/docs/ExpiringPointsData.md +26 -0
- data/docs/ExpiringPointsNotification.md +22 -0
- data/docs/ExpiringPointsNotificationPolicy.md +24 -0
- data/docs/ExpiringPointsNotificationTrigger.md +20 -0
- data/docs/Export.md +28 -0
- data/docs/ExtendLoyaltyPointsExpiryDateEffectProps.md +24 -0
- data/docs/ExtendedCoupon.md +62 -0
- data/docs/FeatureFlag.md +24 -0
- data/docs/FeaturesFeed.md +20 -0
- data/docs/FuncArgDef.md +20 -0
- data/docs/FunctionDef.md +26 -0
- data/docs/GenerateAuditLogSummary.md +18 -0
- data/docs/GenerateCampaignDescription.md +22 -0
- data/docs/GenerateCampaignSummary.md +22 -0
- data/docs/GenerateCampaignTags.md +18 -0
- data/docs/GenerateCouponFailureDetailedSummary.md +26 -0
- data/docs/GenerateCouponFailureSummary.md +20 -0
- data/docs/GenerateItemFilterDescription.md +18 -0
- data/docs/GenerateLoyaltyCard.md +22 -0
- data/docs/GenerateRuleTitle.md +20 -0
- data/docs/GenerateRuleTitleRule.md +20 -0
- data/docs/GenerateUserSessionSummary.md +20 -0
- data/docs/GetAccessLogsWithoutTotalCount200Response.md +20 -0
- data/docs/GetAdditionalCosts200Response.md +20 -0
- data/docs/GetApplicationCustomerFriends200Response.md +22 -0
- data/docs/GetApplicationCustomers200Response.md +22 -0
- data/docs/GetApplicationCustomersByAttributes200Response.md +22 -0
- data/docs/GetApplicationEventTypes200Response.md +20 -0
- data/docs/GetApplicationEventsWithoutTotalCount200Response.md +20 -0
- data/docs/GetApplicationSessions200Response.md +20 -0
- data/docs/GetApplications200Response.md +20 -0
- data/docs/GetAttributes200Response.md +20 -0
- data/docs/GetAudienceMemberships200Response.md +20 -0
- data/docs/GetAudiences200Response.md +22 -0
- data/docs/GetAudiencesAnalytics200Response.md +20 -0
- data/docs/GetCampaignAnalytics200Response.md +20 -0
- data/docs/GetCampaignGroups200Response.md +20 -0
- data/docs/GetCampaignTemplates200Response.md +20 -0
- data/docs/GetCampaigns200Response.md +20 -0
- data/docs/GetChanges200Response.md +22 -0
- data/docs/GetCollectionItems200Response.md +20 -0
- data/docs/GetCouponsWithoutTotalCount200Response.md +20 -0
- data/docs/GetCustomerAchievementHistory200Response.md +20 -0
- data/docs/GetCustomerAchievements200Response.md +20 -0
- data/docs/GetCustomerActivityReportsWithoutTotalCount200Response.md +20 -0
- data/docs/GetCustomerProfileAchievementProgress200Response.md +20 -0
- data/docs/GetCustomerProfiles200Response.md +20 -0
- data/docs/GetCustomersByAttributes200Response.md +22 -0
- data/docs/GetDashboardStatistics200Response.md +20 -0
- data/docs/GetEventTypes200Response.md +20 -0
- data/docs/GetExports200Response.md +20 -0
- data/docs/GetIntegrationCouponRequest.md +20 -0
- data/docs/GetLoyaltyCardPoints200Response.md +20 -0
- data/docs/GetLoyaltyCardTransactionLogs200Response.md +20 -0
- data/docs/GetLoyaltyCardTransactions200Response.md +20 -0
- data/docs/GetLoyaltyCards200Response.md +20 -0
- data/docs/GetLoyaltyProgramProfilePoints200Response.md +20 -0
- data/docs/GetLoyaltyProgramProfileTransactions200Response.md +20 -0
- data/docs/GetLoyaltyProgramTransactions200Response.md +20 -0
- data/docs/GetLoyaltyPrograms200Response.md +20 -0
- data/docs/GetReferralsWithoutTotalCount200Response.md +20 -0
- data/docs/GetReservedCustomers200Response.md +20 -0
- data/docs/GetRulesets200Response.md +20 -0
- data/docs/GetUsers200Response.md +20 -0
- data/docs/GetWebhooks200Response.md +20 -0
- data/docs/Giveaway.md +38 -0
- data/docs/GiveawaysPool.md +36 -0
- data/docs/HiddenConditionsEffects.md +24 -0
- data/docs/IdentifiableEntity.md +18 -0
- data/docs/Import.md +28 -0
- data/docs/ImportEntity.md +18 -0
- data/docs/IncreaseAchievementProgressEffectProps.md +30 -0
- data/docs/IntegrationApi.md +2507 -0
- data/docs/IntegrationCoupon.md +62 -0
- data/docs/IntegrationCustomerProfileAudienceRequest.md +18 -0
- data/docs/IntegrationCustomerProfileAudienceRequestItem.md +22 -0
- data/docs/IntegrationCustomerSessionResponse.md +20 -0
- data/docs/IntegrationEntity.md +20 -0
- data/docs/IntegrationEvent.md +24 -0
- data/docs/IntegrationEventV2Request.md +30 -0
- data/docs/IntegrationEventV3Request.md +36 -0
- data/docs/IntegrationEventV3Response.md +34 -0
- data/docs/IntegrationProfileEntity.md +18 -0
- data/docs/IntegrationProfileEntityV3.md +18 -0
- data/docs/IntegrationRequest.md +20 -0
- data/docs/IntegrationState.md +26 -0
- data/docs/IntegrationStateV2.md +44 -0
- data/docs/IntegrationStoreEntity.md +18 -0
- data/docs/InventoryCoupon.md +64 -0
- data/docs/InventoryReferral.md +44 -0
- data/docs/ItemAttribute.md +22 -0
- data/docs/LabelTargetAudience.md +20 -0
- data/docs/LabelTargetNone.md +18 -0
- data/docs/LedgerEntry.md +36 -0
- data/docs/LedgerInfo.md +36 -0
- data/docs/LedgerPointsEntryIntegrationAPI.md +36 -0
- data/docs/LedgerTransactionLogEntryIntegrationAPI.md +44 -0
- data/docs/LibraryAttribute.md +30 -0
- data/docs/LimitConfig.md +24 -0
- data/docs/LimitCounter.md +46 -0
- data/docs/ListAccountCollections200Response.md +22 -0
- data/docs/ListAchievements200Response.md +20 -0
- data/docs/ListAllRolesV2200Response.md +20 -0
- data/docs/ListCampaignStoreBudgetLimits200Response.md +18 -0
- data/docs/ListCampaignStoreBudgets.md +24 -0
- data/docs/ListCampaignStoreBudgetsStore.md +22 -0
- data/docs/ListCatalogItems200Response.md +22 -0
- data/docs/ListStores200Response.md +22 -0
- data/docs/LoginParams.md +20 -0
- data/docs/Loyalty.md +20 -0
- data/docs/LoyaltyBalance.md +26 -0
- data/docs/LoyaltyBalanceWithTier.md +34 -0
- data/docs/LoyaltyBalances.md +20 -0
- data/docs/LoyaltyBalancesWithTiers.md +20 -0
- data/docs/LoyaltyCard.md +48 -0
- data/docs/LoyaltyCardBalances.md +22 -0
- data/docs/LoyaltyCardBatch.md +24 -0
- data/docs/LoyaltyCardBatchResponse.md +20 -0
- data/docs/LoyaltyCardProfileRegistration.md +20 -0
- data/docs/LoyaltyCardRegistration.md +18 -0
- data/docs/LoyaltyDashboardData.md +36 -0
- data/docs/LoyaltyDashboardPointsBreakdown.md +20 -0
- data/docs/LoyaltyLedger.md +20 -0
- data/docs/LoyaltyLedgerEntry.md +46 -0
- data/docs/LoyaltyLedgerEntryExpiryDateChange.md +22 -0
- data/docs/LoyaltyLedgerEntryFlags.md +18 -0
- data/docs/LoyaltyLedgerTransactions.md +20 -0
- data/docs/LoyaltyMembership.md +20 -0
- data/docs/LoyaltyProgram.md +68 -0
- data/docs/LoyaltyProgramBalance.md +32 -0
- data/docs/LoyaltyProgramEntity.md +22 -0
- data/docs/LoyaltyProgramLedgers.md +28 -0
- data/docs/LoyaltyProgramTransaction.md +56 -0
- data/docs/LoyaltySubLedger.md +40 -0
- data/docs/LoyaltyTier.md +30 -0
- data/docs/ManagementApi.md +15237 -0
- data/docs/ManagementKey.md +36 -0
- data/docs/ManagerConfig.md +18 -0
- data/docs/MessageLogEntries.md +20 -0
- data/docs/MessageLogEntry.md +46 -0
- data/docs/MessageLogRequest.md +20 -0
- data/docs/MessageLogResponse.md +22 -0
- data/docs/MessageTest.md +28 -0
- data/docs/Meta.md +26 -0
- data/docs/ModelReturn.md +38 -0
- data/docs/MultiApplicationEntity.md +18 -0
- data/docs/MultipleAttribute.md +18 -0
- data/docs/MultipleAudiences.md +20 -0
- data/docs/MultipleAudiencesItem.md +26 -0
- data/docs/MultipleCustomerProfileIntegrationRequest.md +18 -0
- data/docs/MultipleCustomerProfileIntegrationRequestItem.md +20 -0
- data/docs/MultipleCustomerProfileIntegrationResponseV2.md +18 -0
- data/docs/MultipleNewAttribute.md +18 -0
- data/docs/MultipleNewAudiences.md +18 -0
- data/docs/MutableEntity.md +18 -0
- data/docs/NewAccount.md +18 -0
- data/docs/NewAccountSignUp.md +22 -0
- data/docs/NewAdditionalCost.md +26 -0
- data/docs/NewAppWideCouponDeletionJob.md +20 -0
- data/docs/NewApplication.md +48 -0
- data/docs/NewApplicationAPIKey.md +38 -0
- data/docs/NewApplicationCIF.md +28 -0
- data/docs/NewApplicationCIFExpression.md +22 -0
- data/docs/NewAttribute.md +42 -0
- data/docs/NewAudience.md +30 -0
- data/docs/NewBaseNotification.md +22 -0
- data/docs/NewCampaign.md +48 -0
- data/docs/NewCampaignCollection.md +20 -0
- data/docs/NewCampaignEvaluationGroup.md +28 -0
- data/docs/NewCampaignGroup.md +24 -0
- data/docs/NewCampaignSet.md +22 -0
- data/docs/NewCampaignStoreBudget.md +22 -0
- data/docs/NewCampaignStoreBudgetStoreLimit.md +20 -0
- data/docs/NewCampaignTemplate.md +48 -0
- data/docs/NewCatalog.md +22 -0
- data/docs/NewCollection.md +22 -0
- data/docs/NewCouponCreationJob.md +32 -0
- data/docs/NewCouponDeletionJob.md +18 -0
- data/docs/NewCoupons.md +44 -0
- data/docs/NewCouponsForMultipleRecipients.md +34 -0
- data/docs/NewCustomEffect.md +32 -0
- data/docs/NewCustomerProfile.md +18 -0
- data/docs/NewCustomerSession.md +32 -0
- data/docs/NewCustomerSessionV2.md +38 -0
- data/docs/NewEvent.md +26 -0
- data/docs/NewEventType.md +22 -0
- data/docs/NewExternalInvitation.md +22 -0
- data/docs/NewGiveawaysPool.md +24 -0
- data/docs/NewInternalAudience.md +22 -0
- data/docs/NewInvitation.md +26 -0
- data/docs/NewInviteEmail.md +20 -0
- data/docs/NewLoyaltyProgram.md +54 -0
- data/docs/NewLoyaltyTier.md +20 -0
- data/docs/NewManagementKey.md +38 -0
- data/docs/NewMessageTest.md +32 -0
- data/docs/NewMultipleAudiencesItem.md +20 -0
- data/docs/NewNotificationWebhook.md +22 -0
- data/docs/NewOutgoingIntegrationWebhook.md +22 -0
- data/docs/NewPassword.md +20 -0
- data/docs/NewPasswordEmail.md +18 -0
- data/docs/NewPicklist.md +20 -0
- data/docs/NewPriceAdjustment.md +30 -0
- data/docs/NewPriceType.md +24 -0
- data/docs/NewReferral.md +30 -0
- data/docs/NewReferralsForMultipleAdvocates.md +32 -0
- data/docs/NewReturn.md +18 -0
- data/docs/NewRevisionVersion.md +38 -0
- data/docs/NewRole.md +24 -0
- data/docs/NewRoleV2.md +24 -0
- data/docs/NewRuleset.md +26 -0
- data/docs/NewSamlConnection.md +34 -0
- data/docs/NewSecondaryDeployment.md +18 -0
- data/docs/NewStore.md +24 -0
- data/docs/NewTemplateDef.md +30 -0
- data/docs/NewUser.md +24 -0
- data/docs/NewWebhook.md +40 -0
- data/docs/Notification.md +22 -0
- data/docs/NotificationActivation.md +18 -0
- data/docs/NotificationListItem.md +24 -0
- data/docs/OktaEvent.md +20 -0
- data/docs/OktaEventPayload.md +18 -0
- data/docs/OktaEventPayloadData.md +18 -0
- data/docs/OktaEventTarget.md +22 -0
- data/docs/OneTimeCode.md +24 -0
- data/docs/OutgoingIntegrationBrazePolicy.md +20 -0
- data/docs/OutgoingIntegrationCleverTapPolicy.md +22 -0
- data/docs/OutgoingIntegrationConfiguration.md +24 -0
- data/docs/OutgoingIntegrationIterablePolicy.md +20 -0
- data/docs/OutgoingIntegrationMoEngagePolicy.md +24 -0
- data/docs/OutgoingIntegrationTemplate.md +34 -0
- data/docs/OutgoingIntegrationTemplateWithConfigurationDetails.md +36 -0
- data/docs/OutgoingIntegrationTemplates.md +18 -0
- data/docs/OutgoingIntegrationType.md +26 -0
- data/docs/OutgoingIntegrationTypes.md +18 -0
- data/docs/PatchItemCatalogAction.md +26 -0
- data/docs/PatchManyItemsCatalogAction.md +22 -0
- data/docs/PendingActivePointsData.md +30 -0
- data/docs/PendingActivePointsNotification.md +22 -0
- data/docs/PendingPointsNotificationPolicy.md +22 -0
- data/docs/Picklist.md +32 -0
- data/docs/PriceDetail.md +26 -0
- data/docs/PriceType.md +34 -0
- data/docs/PriceTypeReferenceDetail.md +24 -0
- data/docs/PriceTypeReferences.md +20 -0
- data/docs/PrismaticConfig.md +20 -0
- data/docs/PrismaticEventPayloadCouponBasedNotifications.md +52 -0
- data/docs/PrismaticEventPayloadCouponBasedNotificationsLimits.md +24 -0
- data/docs/PrismaticEventPayloadLoyaltyProfileBasedNotifications.md +46 -0
- data/docs/PrismaticEventPayloadLoyaltyProfileBasedNotificationsAction.md +26 -0
- data/docs/PrismaticFlow.md +22 -0
- data/docs/PrismaticFlowConfig.md +18 -0
- data/docs/PrismaticFlowWithConfig.md +24 -0
- data/docs/PrismaticPaginatedEventPayload.md +22 -0
- data/docs/Product.md +18 -0
- data/docs/ProductSearchMatch.md +22 -0
- data/docs/ProductUnitAnalytics.md +20 -0
- data/docs/ProductUnitAnalyticsDataPoint.md +26 -0
- data/docs/ProductUnitAnalyticsTotals.md +18 -0
- data/docs/ProfileAudiencesChanges.md +20 -0
- data/docs/ProjectedTier.md +22 -0
- data/docs/RedeemReferralEffectProps.md +20 -0
- data/docs/Referral.md +42 -0
- data/docs/ReferralConstraints.md +22 -0
- data/docs/ReferralCreatedEffectProps.md +18 -0
- data/docs/ReferralRejectionReason.md +22 -0
- data/docs/RejectCouponEffectProps.md +28 -0
- data/docs/RejectReferralEffectProps.md +28 -0
- data/docs/RemoveFromAudienceEffectProps.md +24 -0
- data/docs/RemoveItemCatalogAction.md +18 -0
- data/docs/RemoveManyItemsCatalogAction.md +18 -0
- data/docs/ReopenSessionResponse.md +18 -0
- data/docs/ReserveCouponEffectProps.md +22 -0
- data/docs/ReturnIntegrationRequest.md +20 -0
- data/docs/ReturnedCartItem.md +22 -0
- data/docs/Revision.md +36 -0
- data/docs/RevisionActivation.md +18 -0
- data/docs/RevisionActivationRequest.md +20 -0
- data/docs/RevisionVersion.md +54 -0
- data/docs/Role.md +34 -0
- data/docs/RoleAssign.md +20 -0
- data/docs/RoleMembership.md +20 -0
- data/docs/RoleV2.md +34 -0
- data/docs/RoleV2ApplicationDetails.md +24 -0
- data/docs/RoleV2Base.md +24 -0
- data/docs/RoleV2PermissionSet.md +20 -0
- data/docs/RoleV2Permissions.md +20 -0
- data/docs/RoleV2Readonly.md +18 -0
- data/docs/RoleV2RolesGroup.md +24 -0
- data/docs/RollbackAddedLoyaltyPointsEffectProps.md +32 -0
- data/docs/RollbackCouponEffectProps.md +18 -0
- data/docs/RollbackDeductedLoyaltyPointsEffectProps.md +32 -0
- data/docs/RollbackDiscountEffectProps.md +30 -0
- data/docs/RollbackIncreasedAchievementProgressEffectProps.md +28 -0
- data/docs/RollbackReferralEffectProps.md +18 -0
- data/docs/Rule.md +30 -0
- data/docs/RuleFailureReason.md +44 -0
- data/docs/Ruleset.md +38 -0
- data/docs/SSOConfig.md +20 -0
- data/docs/SamlConnection.md +38 -0
- data/docs/SamlConnectionInternal.md +20 -0
- data/docs/SamlConnectionMetadata.md +24 -0
- data/docs/SamlLoginEndpoint.md +22 -0
- data/docs/ScimBaseGroup.md +20 -0
- data/docs/ScimBaseUser.md +24 -0
- data/docs/ScimBaseUserName.md +18 -0
- data/docs/ScimGroup.md +22 -0
- data/docs/ScimGroupMember.md +20 -0
- data/docs/ScimGroupsListResponse.md +22 -0
- data/docs/ScimNewUser.md +24 -0
- data/docs/ScimPatchOperation.md +22 -0
- data/docs/ScimPatchRequest.md +20 -0
- data/docs/ScimResource.md +22 -0
- data/docs/ScimResourceTypesListResponse.md +18 -0
- data/docs/ScimSchemaResource.md +24 -0
- data/docs/ScimSchemasListResponse.md +22 -0
- data/docs/ScimServiceProviderConfigResponse.md +30 -0
- data/docs/ScimServiceProviderConfigResponseBulk.md +22 -0
- data/docs/ScimServiceProviderConfigResponseChangePassword.md +18 -0
- data/docs/ScimServiceProviderConfigResponseFilter.md +20 -0
- data/docs/ScimServiceProviderConfigResponsePatch.md +18 -0
- data/docs/ScimServiceProviderConfigResponseSort.md +18 -0
- data/docs/ScimUser.md +26 -0
- data/docs/ScimUsersListResponse.md +22 -0
- data/docs/SecondaryDeployment.md +32 -0
- data/docs/Session.md +22 -0
- data/docs/SessionCoupons.md +20 -0
- data/docs/SetDiscountEffectProps.md +24 -0
- data/docs/SetDiscountPerAdditionalCostEffectProps.md +26 -0
- data/docs/SetDiscountPerAdditionalCostPerItemEffectProps.md +30 -0
- data/docs/SetDiscountPerItemEffectProps.md +40 -0
- data/docs/SetLoyaltyPointsExpiryDateEffectProps.md +24 -0
- data/docs/ShowBundleMetadataEffectProps.md +22 -0
- data/docs/ShowNotificationEffectProps.md +22 -0
- data/docs/SkuUnitAnalytics.md +20 -0
- data/docs/SkuUnitAnalyticsDataPoint.md +24 -0
- data/docs/SlotDef.md +28 -0
- data/docs/Store.md +34 -0
- data/docs/StrikethroughChangedItem.md +32 -0
- data/docs/StrikethroughCustomEffectPerItemProps.md +22 -0
- data/docs/StrikethroughDebugResponse.md +20 -0
- data/docs/StrikethroughEffect.md +40 -0
- data/docs/StrikethroughLabelingNotification.md +34 -0
- data/docs/StrikethroughSetDiscountPerItemEffectProps.md +20 -0
- data/docs/StrikethroughSetDiscountPerItemMemberEffectProps.md +20 -0
- data/docs/StrikethroughTrigger.md +26 -0
- data/docs/SummarizeCampaignStoreBudget200Response.md +18 -0
- data/docs/SummaryCampaignStoreBudget.md +24 -0
- data/docs/TalangAttribute.md +34 -0
- data/docs/TalangAttributeVisibility.md +20 -0
- data/docs/TemplateArgDef.md +30 -0
- data/docs/TemplateDef.md +38 -0
- data/docs/TemplateLimitConfig.md +24 -0
- data/docs/Tier.md +26 -0
- data/docs/TierDowngradeData.md +32 -0
- data/docs/TierDowngradeNotification.md +22 -0
- data/docs/TierDowngradeNotificationPolicy.md +22 -0
- data/docs/TierUpgradeData.md +36 -0
- data/docs/TierUpgradeNotification.md +22 -0
- data/docs/TierUpgradeNotificationPolicy.md +22 -0
- data/docs/TierWillDowngradeData.md +32 -0
- data/docs/TierWillDowngradeNotification.md +22 -0
- data/docs/TierWillDowngradeNotificationPolicy.md +24 -0
- data/docs/TierWillDowngradeNotificationTrigger.md +20 -0
- data/docs/TimePoint.md +28 -0
- data/docs/TrackEventV2Response.md +34 -0
- data/docs/TransferLoyaltyCard.md +20 -0
- data/docs/TriggerWebhookEffectProps.md +20 -0
- data/docs/TwoFAConfig.md +20 -0
- data/docs/UpdateAccount.md +26 -0
- data/docs/UpdateAchievement.md +38 -0
- data/docs/UpdateApplication.md +50 -0
- data/docs/UpdateApplicationAPIKey.md +18 -0
- data/docs/UpdateApplicationCIF.md +24 -0
- data/docs/UpdateAttributeEffectProps.md +20 -0
- data/docs/UpdateAudience.md +18 -0
- data/docs/UpdateCampaign.md +48 -0
- data/docs/UpdateCampaignCollection.md +18 -0
- data/docs/UpdateCampaignEvaluationGroup.md +28 -0
- data/docs/UpdateCampaignGroup.md +24 -0
- data/docs/UpdateCampaignTemplate.md +52 -0
- data/docs/UpdateCatalog.md +22 -0
- data/docs/UpdateCollection.md +20 -0
- data/docs/UpdateCoupon.md +36 -0
- data/docs/UpdateCouponBatch.md +30 -0
- data/docs/UpdateCouponsData.md +30 -0
- data/docs/UpdateCustomEffect.md +32 -0
- data/docs/UpdateCustomerProfileV2409Response.md +22 -0
- data/docs/UpdateCustomerSessionV2409Response.md +22 -0
- data/docs/UpdateLoyaltyCard.md +20 -0
- data/docs/UpdateLoyaltyProgram.md +48 -0
- data/docs/UpdateLoyaltyProgramTier.md +22 -0
- data/docs/UpdatePicklist.md +20 -0
- data/docs/UpdatePriceType.md +22 -0
- data/docs/UpdateReferral.md +26 -0
- data/docs/UpdateReferralBatch.md +26 -0
- data/docs/UpdateRole.md +24 -0
- data/docs/UpdateStore.md +22 -0
- data/docs/UpdateUser.md +28 -0
- data/docs/User.md +50 -0
- data/docs/UserEntity.md +18 -0
- data/docs/ValueMap.md +24 -0
- data/docs/Webhook.md +46 -0
- data/docs/WebhookAuthentication.md +34 -0
- data/docs/WebhookAuthenticationBase.md +22 -0
- data/docs/WebhookAuthenticationDataBasic.md +20 -0
- data/docs/WebhookAuthenticationDataCustom.md +18 -0
- data/docs/WebhookAuthenticationWebhookRef.md +22 -0
- data/docs/WebhookWithOutgoingIntegrationDetails.md +52 -0
- data/docs/WillAwardGiveawayEffectProps.md +22 -0
- data/lib/talon_one_sdk/api/integration_api.rb +2536 -0
- data/lib/talon_one_sdk/api/management_api.rb +13554 -0
- data/lib/talon_one_sdk/api_client.rb +397 -0
- data/lib/talon_one_sdk/api_error.rb +58 -0
- data/lib/talon_one_sdk/api_model_base.rb +88 -0
- data/lib/talon_one_sdk/configuration.rb +322 -0
- data/lib/talon_one_sdk/models/accept_coupon_effect_props.rb +166 -0
- data/lib/talon_one_sdk/models/accept_referral_effect_props.rb +166 -0
- data/lib/talon_one_sdk/models/access_log_entry.rb +328 -0
- data/lib/talon_one_sdk/models/account.rb +546 -0
- data/lib/talon_one_sdk/models/account_additional_cost.rb +389 -0
- data/lib/talon_one_sdk/models/account_analytics.rb +678 -0
- data/lib/talon_one_sdk/models/account_dashboard_statistic.rb +212 -0
- data/lib/talon_one_sdk/models/account_dashboard_statistic_campaigns.rb +219 -0
- data/lib/talon_one_sdk/models/account_dashboard_statistic_discount.rb +219 -0
- data/lib/talon_one_sdk/models/account_dashboard_statistic_loyalty_points.rb +192 -0
- data/lib/talon_one_sdk/models/account_dashboard_statistic_referrals.rb +192 -0
- data/lib/talon_one_sdk/models/account_dashboard_statistic_revenue.rb +219 -0
- data/lib/talon_one_sdk/models/account_entity.rb +165 -0
- data/lib/talon_one_sdk/models/account_limits.rb +518 -0
- data/lib/talon_one_sdk/models/achievement.rb +549 -0
- data/lib/talon_one_sdk/models/achievement_additional_properties.rb +256 -0
- data/lib/talon_one_sdk/models/achievement_base.rb +332 -0
- data/lib/talon_one_sdk/models/achievement_progress.rb +247 -0
- data/lib/talon_one_sdk/models/achievement_progress_with_definition.rb +515 -0
- data/lib/talon_one_sdk/models/achievement_status_entry.rb +493 -0
- data/lib/talon_one_sdk/models/activate_loyalty_points.rb +208 -0
- data/lib/talon_one_sdk/models/activate_loyalty_points_response.rb +150 -0
- data/lib/talon_one_sdk/models/activate_user_request.rb +172 -0
- data/lib/talon_one_sdk/models/add_free_item_effect_props.rb +203 -0
- data/lib/talon_one_sdk/models/add_item_catalog_action.rb +207 -0
- data/lib/talon_one_sdk/models/add_loyalty_points.rb +245 -0
- data/lib/talon_one_sdk/models/add_loyalty_points_effect_props.rb +449 -0
- data/lib/talon_one_sdk/models/add_price_adjustment_catalog_action.rb +195 -0
- data/lib/talon_one_sdk/models/add_to_audience_effect_props.rb +179 -0
- data/lib/talon_one_sdk/models/added_deducted_points_balances_action.rb +263 -0
- data/lib/talon_one_sdk/models/added_deducted_points_balances_notification.rb +454 -0
- data/lib/talon_one_sdk/models/added_deducted_points_balances_notification_policy.rb +231 -0
- data/lib/talon_one_sdk/models/added_deducted_points_notification.rb +492 -0
- data/lib/talon_one_sdk/models/added_deducted_points_notification_policy.rb +224 -0
- data/lib/talon_one_sdk/models/additional_campaign_properties.rb +440 -0
- data/lib/talon_one_sdk/models/additional_cost.rb +164 -0
- data/lib/talon_one_sdk/models/analytics_data_point.rb +190 -0
- data/lib/talon_one_sdk/models/analytics_data_point_with_trend.rb +190 -0
- data/lib/talon_one_sdk/models/analytics_data_point_with_trend_and_influenced_rate.rb +216 -0
- data/lib/talon_one_sdk/models/analytics_data_point_with_trend_and_uplift.rb +216 -0
- data/lib/talon_one_sdk/models/analytics_product.rb +229 -0
- data/lib/talon_one_sdk/models/analytics_sku.rb +232 -0
- data/lib/talon_one_sdk/models/api_error.rb +201 -0
- data/lib/talon_one_sdk/models/application.rb +592 -0
- data/lib/talon_one_sdk/models/application_analytics_data_point.rb +252 -0
- data/lib/talon_one_sdk/models/application_api_health.rb +217 -0
- data/lib/talon_one_sdk/models/application_api_key.rb +410 -0
- data/lib/talon_one_sdk/models/application_campaign_analytics.rb +395 -0
- data/lib/talon_one_sdk/models/application_campaign_stats.rb +301 -0
- data/lib/talon_one_sdk/models/application_cif.rb +304 -0
- data/lib/talon_one_sdk/models/application_cif_expression.rb +259 -0
- data/lib/talon_one_sdk/models/application_cif_references.rb +160 -0
- data/lib/talon_one_sdk/models/application_customer.rb +418 -0
- data/lib/talon_one_sdk/models/application_customer_entity.rb +148 -0
- data/lib/talon_one_sdk/models/application_entity.rb +165 -0
- data/lib/talon_one_sdk/models/application_event.rb +393 -0
- data/lib/talon_one_sdk/models/application_notification.rb +165 -0
- data/lib/talon_one_sdk/models/application_referee.rb +325 -0
- data/lib/talon_one_sdk/models/application_session.rb +570 -0
- data/lib/talon_one_sdk/models/application_session_entity.rb +165 -0
- data/lib/talon_one_sdk/models/application_store_entity.rb +148 -0
- data/lib/talon_one_sdk/models/async_coupon_creation_response.rb +165 -0
- data/lib/talon_one_sdk/models/async_coupon_deletion_job_response.rb +172 -0
- data/lib/talon_one_sdk/models/async_coupons_data.rb +297 -0
- data/lib/talon_one_sdk/models/attribute.rb +559 -0
- data/lib/talon_one_sdk/models/attributes_mandatory.rb +163 -0
- data/lib/talon_one_sdk/models/attributes_settings.rb +148 -0
- data/lib/talon_one_sdk/models/audience.rb +352 -0
- data/lib/talon_one_sdk/models/audience_analytics.rb +159 -0
- data/lib/talon_one_sdk/models/audience_customer.rb +411 -0
- data/lib/talon_one_sdk/models/audience_integration_id.rb +176 -0
- data/lib/talon_one_sdk/models/audience_membership.rb +192 -0
- data/lib/talon_one_sdk/models/audience_reference.rb +220 -0
- data/lib/talon_one_sdk/models/award_giveaway_effect_props.rb +283 -0
- data/lib/talon_one_sdk/models/base_campaign.rb +427 -0
- data/lib/talon_one_sdk/models/base_loyalty_program.rb +378 -0
- data/lib/talon_one_sdk/models/base_notification.rb +297 -0
- data/lib/talon_one_sdk/models/base_notification_entity.rb +177 -0
- data/lib/talon_one_sdk/models/base_notification_webhook.rb +296 -0
- data/lib/talon_one_sdk/models/base_notifications.rb +150 -0
- data/lib/talon_one_sdk/models/base_saml_connection.rb +330 -0
- data/lib/talon_one_sdk/models/best_prior_price.rb +298 -0
- data/lib/talon_one_sdk/models/best_prior_price_metadata.rb +160 -0
- data/lib/talon_one_sdk/models/best_prior_price_request.rb +266 -0
- data/lib/talon_one_sdk/models/best_prior_price_request_target.rb +200 -0
- data/lib/talon_one_sdk/models/binding.rb +254 -0
- data/lib/talon_one_sdk/models/bulk_application_notification.rb +192 -0
- data/lib/talon_one_sdk/models/bulk_operation_on_campaigns.rb +237 -0
- data/lib/talon_one_sdk/models/campaign.rb +911 -0
- data/lib/talon_one_sdk/models/campaign_activation_request.rb +176 -0
- data/lib/talon_one_sdk/models/campaign_analytics.rb +812 -0
- data/lib/talon_one_sdk/models/campaign_budget.rb +237 -0
- data/lib/talon_one_sdk/models/campaign_collection.rb +398 -0
- data/lib/talon_one_sdk/models/campaign_collection_edited_notification.rb +235 -0
- data/lib/talon_one_sdk/models/campaign_collection_edited_notification_item.rb +209 -0
- data/lib/talon_one_sdk/models/campaign_collection_without_payload.rb +370 -0
- data/lib/talon_one_sdk/models/campaign_copy.rb +248 -0
- data/lib/talon_one_sdk/models/campaign_created_notification.rb +235 -0
- data/lib/talon_one_sdk/models/campaign_created_notification_item.rb +209 -0
- data/lib/talon_one_sdk/models/campaign_deactivation_request.rb +176 -0
- data/lib/talon_one_sdk/models/campaign_deleted_notification.rb +235 -0
- data/lib/talon_one_sdk/models/campaign_deleted_notification_item.rb +212 -0
- data/lib/talon_one_sdk/models/campaign_detail.rb +177 -0
- data/lib/talon_one_sdk/models/campaign_edited_notification.rb +235 -0
- data/lib/talon_one_sdk/models/campaign_edited_notification_item.rb +209 -0
- data/lib/talon_one_sdk/models/campaign_entity.rb +165 -0
- data/lib/talon_one_sdk/models/campaign_evaluation_group.rb +381 -0
- data/lib/talon_one_sdk/models/campaign_evaluation_position.rb +220 -0
- data/lib/talon_one_sdk/models/campaign_evaluation_tree_changed_message.rb +235 -0
- data/lib/talon_one_sdk/models/campaign_evaluation_tree_changed_notification.rb +203 -0
- data/lib/talon_one_sdk/models/campaign_group.rb +326 -0
- data/lib/talon_one_sdk/models/campaign_group_entity.rb +150 -0
- data/lib/talon_one_sdk/models/campaign_log_summary.rb +298 -0
- data/lib/talon_one_sdk/models/campaign_notification_base.rb +216 -0
- data/lib/talon_one_sdk/models/campaign_notification_generic.rb +252 -0
- data/lib/talon_one_sdk/models/campaign_notification_item_base.rb +165 -0
- data/lib/talon_one_sdk/models/campaign_notification_policy.rb +198 -0
- data/lib/talon_one_sdk/models/campaign_ruleset_changed_notification.rb +235 -0
- data/lib/talon_one_sdk/models/campaign_ruleset_changed_notification_item.rb +205 -0
- data/lib/talon_one_sdk/models/campaign_search.rb +165 -0
- data/lib/talon_one_sdk/models/campaign_set.rb +271 -0
- data/lib/talon_one_sdk/models/campaign_set_branch_node.rb +396 -0
- data/lib/talon_one_sdk/models/campaign_set_leaf_node.rb +216 -0
- data/lib/talon_one_sdk/models/campaign_set_node.rb +164 -0
- data/lib/talon_one_sdk/models/campaign_state_changed_notification.rb +235 -0
- data/lib/talon_one_sdk/models/campaign_state_changed_notification_item.rb +250 -0
- data/lib/talon_one_sdk/models/campaign_store_budget.rb +282 -0
- data/lib/talon_one_sdk/models/campaign_store_budget_limit_config.rb +298 -0
- data/lib/talon_one_sdk/models/campaign_template.rb +666 -0
- data/lib/talon_one_sdk/models/campaign_template_collection.rb +195 -0
- data/lib/talon_one_sdk/models/campaign_template_coupon_reservation_settings.rb +188 -0
- data/lib/talon_one_sdk/models/campaign_template_params.rb +262 -0
- data/lib/talon_one_sdk/models/campaign_versions.rb +244 -0
- data/lib/talon_one_sdk/models/card_added_deducted_points_balances_notification.rb +510 -0
- data/lib/talon_one_sdk/models/card_added_deducted_points_balances_notification_policy.rb +231 -0
- data/lib/talon_one_sdk/models/card_added_deducted_points_notification.rb +548 -0
- data/lib/talon_one_sdk/models/card_added_deducted_points_notification_policy.rb +224 -0
- data/lib/talon_one_sdk/models/card_expiring_points_notification_policy.rb +244 -0
- data/lib/talon_one_sdk/models/card_expiring_points_notification_trigger.rb +225 -0
- data/lib/talon_one_sdk/models/card_ledger_points_entry_integration_api.rb +448 -0
- data/lib/talon_one_sdk/models/card_ledger_transaction_log_entry.rb +570 -0
- data/lib/talon_one_sdk/models/card_ledger_transaction_log_entry_integration_api.rb +570 -0
- data/lib/talon_one_sdk/models/cart_item.rb +403 -0
- data/lib/talon_one_sdk/models/catalog.rb +376 -0
- data/lib/talon_one_sdk/models/catalog_action_filter.rb +229 -0
- data/lib/talon_one_sdk/models/catalog_item.rb +319 -0
- data/lib/talon_one_sdk/models/catalog_sync_request.rb +213 -0
- data/lib/talon_one_sdk/models/catalogs_strikethrough_notification_policy.rb +224 -0
- data/lib/talon_one_sdk/models/change.rb +294 -0
- data/lib/talon_one_sdk/models/change_loyalty_tier_level_effect_props.rb +267 -0
- data/lib/talon_one_sdk/models/change_profile_password.rb +192 -0
- data/lib/talon_one_sdk/models/code_generator_settings.rb +223 -0
- data/lib/talon_one_sdk/models/collection.rb +410 -0
- data/lib/talon_one_sdk/models/collection_item.rb +164 -0
- data/lib/talon_one_sdk/models/collection_without_payload.rb +382 -0
- data/lib/talon_one_sdk/models/coupon.rb +565 -0
- data/lib/talon_one_sdk/models/coupon_constraints.rb +272 -0
- data/lib/talon_one_sdk/models/coupon_created_effect_props.rb +193 -0
- data/lib/talon_one_sdk/models/coupon_creation_job.rb +734 -0
- data/lib/talon_one_sdk/models/coupon_deletion_filters.rb +314 -0
- data/lib/talon_one_sdk/models/coupon_deletion_job.rb +440 -0
- data/lib/talon_one_sdk/models/coupon_entity.rb +192 -0
- data/lib/talon_one_sdk/models/coupon_failure_summary.rb +402 -0
- data/lib/talon_one_sdk/models/coupon_limit_configs.rb +150 -0
- data/lib/talon_one_sdk/models/coupon_rejection_reason.rb +241 -0
- data/lib/talon_one_sdk/models/coupon_rejections.rb +204 -0
- data/lib/talon_one_sdk/models/coupon_reservations.rb +176 -0
- data/lib/talon_one_sdk/models/coupon_search.rb +165 -0
- data/lib/talon_one_sdk/models/coupon_value.rb +167 -0
- data/lib/talon_one_sdk/models/coupons_notification_data.rb +291 -0
- data/lib/talon_one_sdk/models/coupons_notification_policy.rb +258 -0
- data/lib/talon_one_sdk/models/create_achievement.rb +397 -0
- data/lib/talon_one_sdk/models/create_application_api_key.rb +268 -0
- data/lib/talon_one_sdk/models/create_coupon_data.rb +301 -0
- data/lib/talon_one_sdk/models/create_coupons200_response.rb +192 -0
- data/lib/talon_one_sdk/models/create_management_key.rb +233 -0
- data/lib/talon_one_sdk/models/create_referrals_for_multiple_advocates201_response.rb +192 -0
- data/lib/talon_one_sdk/models/create_template_campaign.rb +310 -0
- data/lib/talon_one_sdk/models/create_template_campaign_response.rb +201 -0
- data/lib/talon_one_sdk/models/custom_effect.rb +493 -0
- data/lib/talon_one_sdk/models/custom_effect_props.rb +260 -0
- data/lib/talon_one_sdk/models/customer_activity_report.rb +489 -0
- data/lib/talon_one_sdk/models/customer_analytics.rb +328 -0
- data/lib/talon_one_sdk/models/customer_inventory.rb +201 -0
- data/lib/talon_one_sdk/models/customer_profile.rb +389 -0
- data/lib/talon_one_sdk/models/customer_profile_audience_request.rb +149 -0
- data/lib/talon_one_sdk/models/customer_profile_audience_request_item.rb +252 -0
- data/lib/talon_one_sdk/models/customer_profile_entity.rb +192 -0
- data/lib/talon_one_sdk/models/customer_profile_integration_request_v2.rb +213 -0
- data/lib/talon_one_sdk/models/customer_profile_integration_response_v2.rb +284 -0
- data/lib/talon_one_sdk/models/customer_profile_search_query.rb +170 -0
- data/lib/talon_one_sdk/models/customer_profile_update_v2_response.rb +165 -0
- data/lib/talon_one_sdk/models/customer_session.rb +523 -0
- data/lib/talon_one_sdk/models/customer_session_v2.rb +670 -0
- data/lib/talon_one_sdk/models/deactivate_user_request.rb +172 -0
- data/lib/talon_one_sdk/models/deduct_loyalty_points.rb +205 -0
- data/lib/talon_one_sdk/models/deduct_loyalty_points_effect_props.rb +350 -0
- data/lib/talon_one_sdk/models/delete_coupons_data.rb +371 -0
- data/lib/talon_one_sdk/models/delete_user_request.rb +172 -0
- data/lib/talon_one_sdk/models/effect.rb +392 -0
- data/lib/talon_one_sdk/models/effect_entity.rb +374 -0
- data/lib/talon_one_sdk/models/email_entity.rb +165 -0
- data/lib/talon_one_sdk/models/endpoint.rb +165 -0
- data/lib/talon_one_sdk/models/entity.rb +192 -0
- data/lib/talon_one_sdk/models/entity_with_talang_visible_id.rb +192 -0
- data/lib/talon_one_sdk/models/environment.rb +449 -0
- data/lib/talon_one_sdk/models/error_effect_props.rb +166 -0
- data/lib/talon_one_sdk/models/error_response.rb +177 -0
- data/lib/talon_one_sdk/models/error_response_with_status.rb +169 -0
- data/lib/talon_one_sdk/models/error_source.rb +179 -0
- data/lib/talon_one_sdk/models/evaluable_campaign_ids.rb +150 -0
- data/lib/talon_one_sdk/models/event.rb +399 -0
- data/lib/talon_one_sdk/models/event_type.rb +282 -0
- data/lib/talon_one_sdk/models/event_v2.rb +253 -0
- data/lib/talon_one_sdk/models/event_v3.rb +364 -0
- data/lib/talon_one_sdk/models/expiring_card_points_data.rb +347 -0
- data/lib/talon_one_sdk/models/expiring_card_points_notification.rb +244 -0
- data/lib/talon_one_sdk/models/expiring_coupons_data.rb +372 -0
- data/lib/talon_one_sdk/models/expiring_coupons_notification.rb +244 -0
- data/lib/talon_one_sdk/models/expiring_coupons_notification_policy.rb +244 -0
- data/lib/talon_one_sdk/models/expiring_coupons_notification_trigger.rb +225 -0
- data/lib/talon_one_sdk/models/expiring_points_data.rb +282 -0
- data/lib/talon_one_sdk/models/expiring_points_notification.rb +244 -0
- data/lib/talon_one_sdk/models/expiring_points_notification_policy.rb +244 -0
- data/lib/talon_one_sdk/models/expiring_points_notification_trigger.rb +225 -0
- data/lib/talon_one_sdk/models/export.rb +333 -0
- data/lib/talon_one_sdk/models/extend_loyalty_points_expiry_date_effect_props.rb +232 -0
- data/lib/talon_one_sdk/models/extended_coupon.rb +588 -0
- data/lib/talon_one_sdk/models/feature_flag.rb +212 -0
- data/lib/talon_one_sdk/models/features_feed.rb +156 -0
- data/lib/talon_one_sdk/models/func_arg_def.rb +204 -0
- data/lib/talon_one_sdk/models/function_def.rb +250 -0
- data/lib/talon_one_sdk/models/generate_audit_log_summary.rb +165 -0
- data/lib/talon_one_sdk/models/generate_campaign_description.rb +219 -0
- data/lib/talon_one_sdk/models/generate_campaign_summary.rb +219 -0
- data/lib/talon_one_sdk/models/generate_campaign_tags.rb +165 -0
- data/lib/talon_one_sdk/models/generate_coupon_failure_detailed_summary.rb +265 -0
- data/lib/talon_one_sdk/models/generate_coupon_failure_summary.rb +175 -0
- data/lib/talon_one_sdk/models/generate_item_filter_description.rb +167 -0
- data/lib/talon_one_sdk/models/generate_loyalty_card.rb +246 -0
- data/lib/talon_one_sdk/models/generate_rule_title.rb +191 -0
- data/lib/talon_one_sdk/models/generate_rule_title_rule.rb +181 -0
- data/lib/talon_one_sdk/models/generate_user_session_summary.rb +192 -0
- data/lib/talon_one_sdk/models/get_access_logs_without_total_count200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_additional_costs200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_application_customer_friends200_response.rb +184 -0
- data/lib/talon_one_sdk/models/get_application_customers200_response.rb +184 -0
- data/lib/talon_one_sdk/models/get_application_customers_by_attributes200_response.rb +184 -0
- data/lib/talon_one_sdk/models/get_application_event_types200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_application_events_without_total_count200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_application_sessions200_response.rb +175 -0
- data/lib/talon_one_sdk/models/get_applications200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_attributes200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_audience_memberships200_response.rb +175 -0
- data/lib/talon_one_sdk/models/get_audiences200_response.rb +184 -0
- data/lib/talon_one_sdk/models/get_audiences_analytics200_response.rb +175 -0
- data/lib/talon_one_sdk/models/get_campaign_analytics200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_campaign_groups200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_campaign_templates200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_campaigns200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_changes200_response.rb +184 -0
- data/lib/talon_one_sdk/models/get_collection_items200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_coupons_without_total_count200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_customer_achievement_history200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_customer_achievements200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_customer_activity_reports_without_total_count200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_customer_profile_achievement_progress200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_customer_profiles200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_customers_by_attributes200_response.rb +184 -0
- data/lib/talon_one_sdk/models/get_dashboard_statistics200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_event_types200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_exports200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_integration_coupon_request.rb +212 -0
- data/lib/talon_one_sdk/models/get_loyalty_card_points200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_loyalty_card_transaction_logs200_response.rb +194 -0
- data/lib/talon_one_sdk/models/get_loyalty_card_transactions200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_loyalty_cards200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_loyalty_program_profile_points200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_loyalty_program_profile_transactions200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_loyalty_program_transactions200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_loyalty_programs200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_referrals_without_total_count200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_reserved_customers200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_rulesets200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_users200_response.rb +192 -0
- data/lib/talon_one_sdk/models/get_webhooks200_response.rb +192 -0
- data/lib/talon_one_sdk/models/giveaway.rb +323 -0
- data/lib/talon_one_sdk/models/giveaways_pool.rb +352 -0
- data/lib/talon_one_sdk/models/hidden_conditions_effects.rb +187 -0
- data/lib/talon_one_sdk/models/identifiable_entity.rb +165 -0
- data/lib/talon_one_sdk/models/import.rb +318 -0
- data/lib/talon_one_sdk/models/import_entity.rb +148 -0
- data/lib/talon_one_sdk/models/increase_achievement_progress_effect_props.rb +311 -0
- data/lib/talon_one_sdk/models/integration_coupon.rb +588 -0
- data/lib/talon_one_sdk/models/integration_customer_profile_audience_request.rb +149 -0
- data/lib/talon_one_sdk/models/integration_customer_profile_audience_request_item.rb +252 -0
- data/lib/talon_one_sdk/models/integration_customer_session_response.rb +159 -0
- data/lib/talon_one_sdk/models/integration_entity.rb +201 -0
- data/lib/talon_one_sdk/models/integration_event.rb +257 -0
- data/lib/talon_one_sdk/models/integration_event_v2_request.rb +316 -0
- data/lib/talon_one_sdk/models/integration_event_v3_request.rb +427 -0
- data/lib/talon_one_sdk/models/integration_event_v3_response.rb +284 -0
- data/lib/talon_one_sdk/models/integration_profile_entity.rb +148 -0
- data/lib/talon_one_sdk/models/integration_profile_entity_v3.rb +165 -0
- data/lib/talon_one_sdk/models/integration_request.rb +200 -0
- data/lib/talon_one_sdk/models/integration_state.rb +235 -0
- data/lib/talon_one_sdk/models/integration_state_v2.rb +333 -0
- data/lib/talon_one_sdk/models/integration_store_entity.rb +176 -0
- data/lib/talon_one_sdk/models/inventory_coupon.rb +615 -0
- data/lib/talon_one_sdk/models/inventory_referral.rb +452 -0
- data/lib/talon_one_sdk/models/item_attribute.rb +204 -0
- data/lib/talon_one_sdk/models/label_target_audience.rb +215 -0
- data/lib/talon_one_sdk/models/label_target_none.rb +189 -0
- data/lib/talon_one_sdk/models/ledger_entry.rb +382 -0
- data/lib/talon_one_sdk/models/ledger_info.rb +330 -0
- data/lib/talon_one_sdk/models/ledger_points_entry_integration_api.rb +438 -0
- data/lib/talon_one_sdk/models/ledger_transaction_log_entry_integration_api.rb +524 -0
- data/lib/talon_one_sdk/models/library_attribute.rb +357 -0
- data/lib/talon_one_sdk/models/limit_config.rb +264 -0
- data/lib/talon_one_sdk/models/limit_counter.rb +435 -0
- data/lib/talon_one_sdk/models/list_account_collections200_response.rb +184 -0
- data/lib/talon_one_sdk/models/list_achievements200_response.rb +175 -0
- data/lib/talon_one_sdk/models/list_all_roles_v2200_response.rb +192 -0
- data/lib/talon_one_sdk/models/list_campaign_store_budget_limits200_response.rb +149 -0
- data/lib/talon_one_sdk/models/list_campaign_store_budgets.rb +225 -0
- data/lib/talon_one_sdk/models/list_campaign_store_budgets_store.rb +216 -0
- data/lib/talon_one_sdk/models/list_catalog_items200_response.rb +184 -0
- data/lib/talon_one_sdk/models/list_stores200_response.rb +184 -0
- data/lib/talon_one_sdk/models/login_params.rb +199 -0
- data/lib/talon_one_sdk/models/loyalty.rb +180 -0
- data/lib/talon_one_sdk/models/loyalty_balance.rb +189 -0
- data/lib/talon_one_sdk/models/loyalty_balance_with_tier.rb +234 -0
- data/lib/talon_one_sdk/models/loyalty_balances.rb +160 -0
- data/lib/talon_one_sdk/models/loyalty_balances_with_tiers.rb +160 -0
- data/lib/talon_one_sdk/models/loyalty_card.rb +529 -0
- data/lib/talon_one_sdk/models/loyalty_card_balances.rb +178 -0
- data/lib/talon_one_sdk/models/loyalty_card_batch.rb +269 -0
- data/lib/talon_one_sdk/models/loyalty_card_batch_response.rb +192 -0
- data/lib/talon_one_sdk/models/loyalty_card_profile_registration.rb +201 -0
- data/lib/talon_one_sdk/models/loyalty_card_registration.rb +165 -0
- data/lib/talon_one_sdk/models/loyalty_dashboard_data.rb +409 -0
- data/lib/talon_one_sdk/models/loyalty_dashboard_points_breakdown.rb +190 -0
- data/lib/talon_one_sdk/models/loyalty_ledger.rb +178 -0
- data/lib/talon_one_sdk/models/loyalty_ledger_entry.rb +382 -0
- data/lib/talon_one_sdk/models/loyalty_ledger_entry_expiry_date_change.rb +203 -0
- data/lib/talon_one_sdk/models/loyalty_ledger_entry_flags.rb +149 -0
- data/lib/talon_one_sdk/models/loyalty_ledger_transactions.rb +161 -0
- data/lib/talon_one_sdk/models/loyalty_membership.rb +175 -0
- data/lib/talon_one_sdk/models/loyalty_program.rb +615 -0
- data/lib/talon_one_sdk/models/loyalty_program_balance.rb +304 -0
- data/lib/talon_one_sdk/models/loyalty_program_entity.rb +185 -0
- data/lib/talon_one_sdk/models/loyalty_program_ledgers.rb +269 -0
- data/lib/talon_one_sdk/models/loyalty_program_transaction.rb +641 -0
- data/lib/talon_one_sdk/models/loyalty_sub_ledger.rb +371 -0
- data/lib/talon_one_sdk/models/loyalty_tier.rb +320 -0
- data/lib/talon_one_sdk/models/management_key.rb +368 -0
- data/lib/talon_one_sdk/models/manager_config.rb +164 -0
- data/lib/talon_one_sdk/models/message_log_entries.rb +177 -0
- data/lib/talon_one_sdk/models/message_log_entry.rb +436 -0
- data/lib/talon_one_sdk/models/message_log_request.rb +193 -0
- data/lib/talon_one_sdk/models/message_log_response.rb +169 -0
- data/lib/talon_one_sdk/models/message_test.rb +192 -0
- data/lib/talon_one_sdk/models/meta.rb +186 -0
- data/lib/talon_one_sdk/models/model_return.rb +424 -0
- data/lib/talon_one_sdk/models/multi_application_entity.rb +176 -0
- data/lib/talon_one_sdk/models/multiple_attribute.rb +149 -0
- data/lib/talon_one_sdk/models/multiple_audiences.rb +193 -0
- data/lib/talon_one_sdk/models/multiple_audiences_item.rb +325 -0
- data/lib/talon_one_sdk/models/multiple_customer_profile_integration_request.rb +149 -0
- data/lib/talon_one_sdk/models/multiple_customer_profile_integration_request_item.rb +191 -0
- data/lib/talon_one_sdk/models/multiple_customer_profile_integration_response_v2.rb +149 -0
- data/lib/talon_one_sdk/models/multiple_new_attribute.rb +149 -0
- data/lib/talon_one_sdk/models/multiple_new_audiences.rb +166 -0
- data/lib/talon_one_sdk/models/mutable_entity.rb +165 -0
- data/lib/talon_one_sdk/models/new_account.rb +173 -0
- data/lib/talon_one_sdk/models/new_account_sign_up.rb +235 -0
- data/lib/talon_one_sdk/models/new_additional_cost.rb +299 -0
- data/lib/talon_one_sdk/models/new_app_wide_coupon_deletion_job.rb +192 -0
- data/lib/talon_one_sdk/models/new_application.rb +456 -0
- data/lib/talon_one_sdk/models/new_application_api_key.rb +437 -0
- data/lib/talon_one_sdk/models/new_application_cif.rb +215 -0
- data/lib/talon_one_sdk/models/new_application_cif_expression.rb +170 -0
- data/lib/talon_one_sdk/models/new_attribute.rb +460 -0
- data/lib/talon_one_sdk/models/new_audience.rb +269 -0
- data/lib/talon_one_sdk/models/new_base_notification.rb +210 -0
- data/lib/talon_one_sdk/models/new_campaign.rb +444 -0
- data/lib/talon_one_sdk/models/new_campaign_collection.rb +202 -0
- data/lib/talon_one_sdk/models/new_campaign_evaluation_group.rb +318 -0
- data/lib/talon_one_sdk/models/new_campaign_group.rb +208 -0
- data/lib/talon_one_sdk/models/new_campaign_set.rb +234 -0
- data/lib/talon_one_sdk/models/new_campaign_store_budget.rb +238 -0
- data/lib/talon_one_sdk/models/new_campaign_store_budget_store_limit.rb +192 -0
- data/lib/talon_one_sdk/models/new_campaign_template.rb +444 -0
- data/lib/talon_one_sdk/models/new_catalog.rb +204 -0
- data/lib/talon_one_sdk/models/new_collection.rb +214 -0
- data/lib/talon_one_sdk/models/new_coupon_creation_job.rb +360 -0
- data/lib/talon_one_sdk/models/new_coupon_deletion_job.rb +164 -0
- data/lib/talon_one_sdk/models/new_coupons.rb +440 -0
- data/lib/talon_one_sdk/models/new_coupons_for_multiple_recipients.rb +386 -0
- data/lib/talon_one_sdk/models/new_custom_effect.rb +345 -0
- data/lib/talon_one_sdk/models/new_customer_profile.rb +148 -0
- data/lib/talon_one_sdk/models/new_customer_session.rb +322 -0
- data/lib/talon_one_sdk/models/new_customer_session_v2.rb +391 -0
- data/lib/talon_one_sdk/models/new_event.rb +292 -0
- data/lib/talon_one_sdk/models/new_event_type.rb +220 -0
- data/lib/talon_one_sdk/models/new_external_invitation.rb +188 -0
- data/lib/talon_one_sdk/models/new_giveaways_pool.rb +214 -0
- data/lib/talon_one_sdk/models/new_internal_audience.rb +194 -0
- data/lib/talon_one_sdk/models/new_invitation.rb +208 -0
- data/lib/talon_one_sdk/models/new_invite_email.rb +192 -0
- data/lib/talon_one_sdk/models/new_loyalty_program.rb +572 -0
- data/lib/talon_one_sdk/models/new_loyalty_tier.rb +211 -0
- data/lib/talon_one_sdk/models/new_management_key.rb +395 -0
- data/lib/talon_one_sdk/models/new_message_test.rb +272 -0
- data/lib/talon_one_sdk/models/new_multiple_audiences_item.rb +220 -0
- data/lib/talon_one_sdk/models/new_notification_webhook.rb +206 -0
- data/lib/talon_one_sdk/models/new_outgoing_integration_webhook.rb +204 -0
- data/lib/talon_one_sdk/models/new_password.rb +200 -0
- data/lib/talon_one_sdk/models/new_password_email.rb +173 -0
- data/lib/talon_one_sdk/models/new_picklist.rb +227 -0
- data/lib/talon_one_sdk/models/new_price_adjustment.rb +252 -0
- data/lib/talon_one_sdk/models/new_price_type.rb +225 -0
- data/lib/talon_one_sdk/models/new_referral.rb +286 -0
- data/lib/talon_one_sdk/models/new_referrals_for_multiple_advocates.rb +337 -0
- data/lib/talon_one_sdk/models/new_return.rb +167 -0
- data/lib/talon_one_sdk/models/new_revision_version.rb +316 -0
- data/lib/talon_one_sdk/models/new_role.rb +238 -0
- data/lib/talon_one_sdk/models/new_role_v2.rb +221 -0
- data/lib/talon_one_sdk/models/new_ruleset.rb +228 -0
- data/lib/talon_one_sdk/models/new_saml_connection.rb +373 -0
- data/lib/talon_one_sdk/models/new_secondary_deployment.rb +185 -0
- data/lib/talon_one_sdk/models/new_store.rb +272 -0
- data/lib/talon_one_sdk/models/new_template_def.rb +300 -0
- data/lib/talon_one_sdk/models/new_user.rb +244 -0
- data/lib/talon_one_sdk/models/new_webhook.rb +425 -0
- data/lib/talon_one_sdk/models/notification.rb +219 -0
- data/lib/talon_one_sdk/models/notification_activation.rb +165 -0
- data/lib/talon_one_sdk/models/notification_list_item.rb +246 -0
- data/lib/talon_one_sdk/models/okta_event.rb +194 -0
- data/lib/talon_one_sdk/models/okta_event_payload.rb +165 -0
- data/lib/talon_one_sdk/models/okta_event_payload_data.rb +167 -0
- data/lib/talon_one_sdk/models/okta_event_target.rb +220 -0
- data/lib/talon_one_sdk/models/one_time_code.rb +229 -0
- data/lib/talon_one_sdk/models/outgoing_integration_braze_policy.rb +192 -0
- data/lib/talon_one_sdk/models/outgoing_integration_clever_tap_policy.rb +219 -0
- data/lib/talon_one_sdk/models/outgoing_integration_configuration.rb +246 -0
- data/lib/talon_one_sdk/models/outgoing_integration_iterable_policy.rb +192 -0
- data/lib/talon_one_sdk/models/outgoing_integration_mo_engage_policy.rb +246 -0
- data/lib/talon_one_sdk/models/outgoing_integration_template.rb +416 -0
- data/lib/talon_one_sdk/models/outgoing_integration_template_with_configuration_details.rb +450 -0
- data/lib/talon_one_sdk/models/outgoing_integration_templates.rb +150 -0
- data/lib/talon_one_sdk/models/outgoing_integration_type.rb +324 -0
- data/lib/talon_one_sdk/models/outgoing_integration_types.rb +150 -0
- data/lib/talon_one_sdk/models/patch_item_catalog_action.rb +207 -0
- data/lib/talon_one_sdk/models/patch_many_items_catalog_action.rb +171 -0
- data/lib/talon_one_sdk/models/pending_active_points_data.rb +285 -0
- data/lib/talon_one_sdk/models/pending_active_points_notification.rb +244 -0
- data/lib/talon_one_sdk/models/pending_points_notification_policy.rb +198 -0
- data/lib/talon_one_sdk/models/picklist.rb +346 -0
- data/lib/talon_one_sdk/models/price_detail.rb +188 -0
- data/lib/talon_one_sdk/models/price_type.rb +369 -0
- data/lib/talon_one_sdk/models/price_type_reference_detail.rb +253 -0
- data/lib/talon_one_sdk/models/price_type_references.rb +177 -0
- data/lib/talon_one_sdk/models/prismatic_config.rb +193 -0
- data/lib/talon_one_sdk/models/prismatic_event_payload_coupon_based_notifications.rb +404 -0
- data/lib/talon_one_sdk/models/prismatic_event_payload_coupon_based_notifications_limits.rb +227 -0
- data/lib/talon_one_sdk/models/prismatic_event_payload_loyalty_profile_based_notifications.rb +360 -0
- data/lib/talon_one_sdk/models/prismatic_event_payload_loyalty_profile_based_notifications_action.rb +241 -0
- data/lib/talon_one_sdk/models/prismatic_flow.rb +202 -0
- data/lib/talon_one_sdk/models/prismatic_flow_config.rb +164 -0
- data/lib/talon_one_sdk/models/prismatic_flow_with_config.rb +228 -0
- data/lib/talon_one_sdk/models/prismatic_paginated_event_payload.rb +242 -0
- data/lib/talon_one_sdk/models/product.rb +166 -0
- data/lib/talon_one_sdk/models/product_search_match.rb +185 -0
- data/lib/talon_one_sdk/models/product_unit_analytics.rb +192 -0
- data/lib/talon_one_sdk/models/product_unit_analytics_data_point.rb +273 -0
- data/lib/talon_one_sdk/models/product_unit_analytics_totals.rb +148 -0
- data/lib/talon_one_sdk/models/profile_audiences_changes.rb +196 -0
- data/lib/talon_one_sdk/models/projected_tier.rb +185 -0
- data/lib/talon_one_sdk/models/redeem_referral_effect_props.rb +193 -0
- data/lib/talon_one_sdk/models/referral.rb +425 -0
- data/lib/talon_one_sdk/models/referral_constraints.rb +196 -0
- data/lib/talon_one_sdk/models/referral_created_effect_props.rb +166 -0
- data/lib/talon_one_sdk/models/referral_rejection_reason.rb +241 -0
- data/lib/talon_one_sdk/models/reject_coupon_effect_props.rb +233 -0
- data/lib/talon_one_sdk/models/reject_referral_effect_props.rb +233 -0
- data/lib/talon_one_sdk/models/remove_from_audience_effect_props.rb +179 -0
- data/lib/talon_one_sdk/models/remove_item_catalog_action.rb +166 -0
- data/lib/talon_one_sdk/models/remove_many_items_catalog_action.rb +151 -0
- data/lib/talon_one_sdk/models/reopen_session_response.rb +168 -0
- data/lib/talon_one_sdk/models/reserve_coupon_effect_props.rb +220 -0
- data/lib/talon_one_sdk/models/return_integration_request.rb +200 -0
- data/lib/talon_one_sdk/models/returned_cart_item.rb +187 -0
- data/lib/talon_one_sdk/models/revision.rb +339 -0
- data/lib/talon_one_sdk/models/revision_activation.rb +147 -0
- data/lib/talon_one_sdk/models/revision_activation_request.rb +186 -0
- data/lib/talon_one_sdk/models/revision_version.rb +529 -0
- data/lib/talon_one_sdk/models/role.rb +341 -0
- data/lib/talon_one_sdk/models/role_assign.rb +196 -0
- data/lib/talon_one_sdk/models/role_membership.rb +192 -0
- data/lib/talon_one_sdk/models/role_v2.rb +311 -0
- data/lib/talon_one_sdk/models/role_v2_application_details.rb +178 -0
- data/lib/talon_one_sdk/models/role_v2_base.rb +180 -0
- data/lib/talon_one_sdk/models/role_v2_permission_set.rb +203 -0
- data/lib/talon_one_sdk/models/role_v2_permissions.rb +178 -0
- data/lib/talon_one_sdk/models/role_v2_readonly.rb +150 -0
- data/lib/talon_one_sdk/models/role_v2_roles_group.rb +184 -0
- data/lib/talon_one_sdk/models/rollback_added_loyalty_points_effect_props.rb +352 -0
- data/lib/talon_one_sdk/models/rollback_coupon_effect_props.rb +166 -0
- data/lib/talon_one_sdk/models/rollback_deducted_loyalty_points_effect_props.rb +352 -0
- data/lib/talon_one_sdk/models/rollback_discount_effect_props.rb +243 -0
- data/lib/talon_one_sdk/models/rollback_increased_achievement_progress_effect_props.rb +301 -0
- data/lib/talon_one_sdk/models/rollback_referral_effect_props.rb +166 -0
- data/lib/talon_one_sdk/models/rule.rb +274 -0
- data/lib/talon_one_sdk/models/rule_failure_reason.rb +364 -0
- data/lib/talon_one_sdk/models/ruleset.rb +348 -0
- data/lib/talon_one_sdk/models/saml_connection.rb +436 -0
- data/lib/talon_one_sdk/models/saml_connection_internal.rb +210 -0
- data/lib/talon_one_sdk/models/saml_connection_metadata.rb +263 -0
- data/lib/talon_one_sdk/models/saml_login_endpoint.rb +237 -0
- data/lib/talon_one_sdk/models/scim_base_group.rb +161 -0
- data/lib/talon_one_sdk/models/scim_base_user.rb +178 -0
- data/lib/talon_one_sdk/models/scim_base_user_name.rb +149 -0
- data/lib/talon_one_sdk/models/scim_group.rb +195 -0
- data/lib/talon_one_sdk/models/scim_group_member.rb +159 -0
- data/lib/talon_one_sdk/models/scim_groups_list_response.rb +189 -0
- data/lib/talon_one_sdk/models/scim_new_user.rb +202 -0
- data/lib/talon_one_sdk/models/scim_patch_operation.rb +210 -0
- data/lib/talon_one_sdk/models/scim_patch_request.rb +179 -0
- data/lib/talon_one_sdk/models/scim_resource.rb +169 -0
- data/lib/talon_one_sdk/models/scim_resource_types_list_response.rb +167 -0
- data/lib/talon_one_sdk/models/scim_schema_resource.rb +180 -0
- data/lib/talon_one_sdk/models/scim_schemas_list_response.rb +189 -0
- data/lib/talon_one_sdk/models/scim_service_provider_config_response.rb +206 -0
- data/lib/talon_one_sdk/models/scim_service_provider_config_response_bulk.rb +169 -0
- data/lib/talon_one_sdk/models/scim_service_provider_config_response_change_password.rb +149 -0
- data/lib/talon_one_sdk/models/scim_service_provider_config_response_filter.rb +159 -0
- data/lib/talon_one_sdk/models/scim_service_provider_config_response_patch.rb +149 -0
- data/lib/talon_one_sdk/models/scim_service_provider_config_response_sort.rb +149 -0
- data/lib/talon_one_sdk/models/scim_user.rb +229 -0
- data/lib/talon_one_sdk/models/scim_users_list_response.rb +189 -0
- data/lib/talon_one_sdk/models/secondary_deployment.rb +355 -0
- data/lib/talon_one_sdk/models/session.rb +219 -0
- data/lib/talon_one_sdk/models/session_coupons.rb +175 -0
- data/lib/talon_one_sdk/models/set_discount_effect_props.rb +213 -0
- data/lib/talon_one_sdk/models/set_discount_per_additional_cost_effect_props.rb +257 -0
- data/lib/talon_one_sdk/models/set_discount_per_additional_cost_per_item_effect_props.rb +294 -0
- data/lib/talon_one_sdk/models/set_discount_per_item_effect_props.rb +310 -0
- data/lib/talon_one_sdk/models/set_loyalty_points_expiry_date_effect_props.rb +232 -0
- data/lib/talon_one_sdk/models/show_bundle_metadata_effect_props.rb +224 -0
- data/lib/talon_one_sdk/models/show_notification_effect_props.rb +220 -0
- data/lib/talon_one_sdk/models/sku_unit_analytics.rb +192 -0
- data/lib/talon_one_sdk/models/sku_unit_analytics_data_point.rb +246 -0
- data/lib/talon_one_sdk/models/slot_def.rb +266 -0
- data/lib/talon_one_sdk/models/sso_config.rb +175 -0
- data/lib/talon_one_sdk/models/store.rb +393 -0
- data/lib/talon_one_sdk/models/strikethrough_changed_item.rb +333 -0
- data/lib/talon_one_sdk/models/strikethrough_custom_effect_per_item_props.rb +220 -0
- data/lib/talon_one_sdk/models/strikethrough_debug_response.rb +162 -0
- data/lib/talon_one_sdk/models/strikethrough_effect.rb +363 -0
- data/lib/talon_one_sdk/models/strikethrough_labeling_notification.rb +384 -0
- data/lib/talon_one_sdk/models/strikethrough_set_discount_per_item_effect_props.rb +178 -0
- data/lib/talon_one_sdk/models/strikethrough_set_discount_per_item_member_effect_props.rb +178 -0
- data/lib/talon_one_sdk/models/strikethrough_trigger.rb +274 -0
- data/lib/talon_one_sdk/models/summarize_campaign_store_budget200_response.rb +149 -0
- data/lib/talon_one_sdk/models/summary_campaign_store_budget.rb +261 -0
- data/lib/talon_one_sdk/models/talang_attribute.rb +351 -0
- data/lib/talon_one_sdk/models/talang_attribute_visibility.rb +162 -0
- data/lib/talon_one_sdk/models/template_arg_def.rb +304 -0
- data/lib/talon_one_sdk/models/template_def.rb +426 -0
- data/lib/talon_one_sdk/models/template_limit_config.rb +271 -0
- data/lib/talon_one_sdk/models/tier.rb +256 -0
- data/lib/talon_one_sdk/models/tier_downgrade_data.rb +329 -0
- data/lib/talon_one_sdk/models/tier_downgrade_notification.rb +244 -0
- data/lib/talon_one_sdk/models/tier_downgrade_notification_policy.rb +198 -0
- data/lib/talon_one_sdk/models/tier_upgrade_data.rb +366 -0
- data/lib/talon_one_sdk/models/tier_upgrade_notification.rb +244 -0
- data/lib/talon_one_sdk/models/tier_upgrade_notification_policy.rb +198 -0
- data/lib/talon_one_sdk/models/tier_will_downgrade_data.rb +329 -0
- data/lib/talon_one_sdk/models/tier_will_downgrade_notification.rb +244 -0
- data/lib/talon_one_sdk/models/tier_will_downgrade_notification_policy.rb +244 -0
- data/lib/talon_one_sdk/models/tier_will_downgrade_notification_trigger.rb +216 -0
- data/lib/talon_one_sdk/models/time_point.rb +334 -0
- data/lib/talon_one_sdk/models/track_event_v2_response.rb +284 -0
- data/lib/talon_one_sdk/models/transfer_loyalty_card.rb +204 -0
- data/lib/talon_one_sdk/models/trigger_webhook_effect_props.rb +193 -0
- data/lib/talon_one_sdk/models/two_fa_config.rb +175 -0
- data/lib/talon_one_sdk/models/update_account.rb +265 -0
- data/lib/talon_one_sdk/models/update_achievement.rb +339 -0
- data/lib/talon_one_sdk/models/update_application.rb +445 -0
- data/lib/talon_one_sdk/models/update_application_api_key.rb +165 -0
- data/lib/talon_one_sdk/models/update_application_cif.rb +178 -0
- data/lib/talon_one_sdk/models/update_attribute_effect_props.rb +178 -0
- data/lib/talon_one_sdk/models/update_audience.rb +174 -0
- data/lib/talon_one_sdk/models/update_campaign.rb +432 -0
- data/lib/talon_one_sdk/models/update_campaign_collection.rb +148 -0
- data/lib/talon_one_sdk/models/update_campaign_evaluation_group.rb +325 -0
- data/lib/talon_one_sdk/models/update_campaign_group.rb +215 -0
- data/lib/talon_one_sdk/models/update_campaign_template.rb +478 -0
- data/lib/talon_one_sdk/models/update_catalog.rb +170 -0
- data/lib/talon_one_sdk/models/update_collection.rb +160 -0
- data/lib/talon_one_sdk/models/update_coupon.rb +353 -0
- data/lib/talon_one_sdk/models/update_coupon_batch.rb +299 -0
- data/lib/talon_one_sdk/models/update_coupons_data.rb +345 -0
- data/lib/talon_one_sdk/models/update_custom_effect.rb +345 -0
- data/lib/talon_one_sdk/models/update_customer_profile_v2409_response.rb +167 -0
- data/lib/talon_one_sdk/models/update_customer_session_v2409_response.rb +167 -0
- data/lib/talon_one_sdk/models/update_loyalty_card.rb +175 -0
- data/lib/talon_one_sdk/models/update_loyalty_program.rb +397 -0
- data/lib/talon_one_sdk/models/update_loyalty_program_tier.rb +214 -0
- data/lib/talon_one_sdk/models/update_picklist.rb +234 -0
- data/lib/talon_one_sdk/models/update_price_type.rb +204 -0
- data/lib/talon_one_sdk/models/update_referral.rb +235 -0
- data/lib/talon_one_sdk/models/update_referral_batch.rb +233 -0
- data/lib/talon_one_sdk/models/update_role.rb +180 -0
- data/lib/talon_one_sdk/models/update_store.rb +220 -0
- data/lib/talon_one_sdk/models/update_user.rb +234 -0
- data/lib/talon_one_sdk/models/user.rb +497 -0
- data/lib/talon_one_sdk/models/user_entity.rb +165 -0
- data/lib/talon_one_sdk/models/value_map.rb +217 -0
- data/lib/talon_one_sdk/models/webhook.rb +515 -0
- data/lib/talon_one_sdk/models/webhook_authentication.rb +399 -0
- data/lib/talon_one_sdk/models/webhook_authentication_base.rb +227 -0
- data/lib/talon_one_sdk/models/webhook_authentication_data_basic.rb +192 -0
- data/lib/talon_one_sdk/models/webhook_authentication_data_custom.rb +166 -0
- data/lib/talon_one_sdk/models/webhook_authentication_webhook_ref.rb +213 -0
- data/lib/talon_one_sdk/models/webhook_with_outgoing_integration_details.rb +543 -0
- data/lib/talon_one_sdk/models/will_award_giveaway_effect_props.rb +229 -0
- data/lib/talon_one_sdk/version.rb +15 -0
- data/lib/talon_one_sdk.rb +670 -0
- data/spec/api/integration_api_spec.rb +500 -0
- data/spec/api/management_api_spec.rb +2575 -0
- data/spec/models/accept_coupon_effect_props_spec.rb +36 -0
- data/spec/models/accept_referral_effect_props_spec.rb +36 -0
- data/spec/models/access_log_entry_spec.rb +72 -0
- data/spec/models/account_additional_cost_spec.rb +82 -0
- data/spec/models/account_analytics_spec.rb +150 -0
- data/spec/models/account_dashboard_statistic_campaigns_spec.rb +48 -0
- data/spec/models/account_dashboard_statistic_discount_spec.rb +48 -0
- data/spec/models/account_dashboard_statistic_loyalty_points_spec.rb +42 -0
- data/spec/models/account_dashboard_statistic_referrals_spec.rb +42 -0
- data/spec/models/account_dashboard_statistic_revenue_spec.rb +48 -0
- data/spec/models/account_dashboard_statistic_spec.rb +60 -0
- data/spec/models/account_entity_spec.rb +36 -0
- data/spec/models/account_limits_spec.rb +114 -0
- data/spec/models/account_spec.rb +142 -0
- data/spec/models/achievement_additional_properties_spec.rb +64 -0
- data/spec/models/achievement_base_spec.rb +104 -0
- data/spec/models/achievement_progress_spec.rb +64 -0
- data/spec/models/achievement_progress_with_definition_spec.rb +138 -0
- data/spec/models/achievement_spec.rb +150 -0
- data/spec/models/achievement_status_entry_spec.rb +138 -0
- data/spec/models/activate_loyalty_points_response_spec.rb +36 -0
- data/spec/models/activate_loyalty_points_spec.rb +42 -0
- data/spec/models/activate_user_request_spec.rb +36 -0
- data/spec/models/add_free_item_effect_props_spec.rb +48 -0
- data/spec/models/add_item_catalog_action_spec.rb +60 -0
- data/spec/models/add_loyalty_points_effect_props_spec.rb +126 -0
- data/spec/models/add_loyalty_points_spec.rb +78 -0
- data/spec/models/add_price_adjustment_catalog_action_spec.rb +42 -0
- data/spec/models/add_to_audience_effect_props_spec.rb +54 -0
- data/spec/models/added_deducted_points_balances_action_spec.rb +64 -0
- data/spec/models/added_deducted_points_balances_notification_policy_spec.rb +46 -0
- data/spec/models/added_deducted_points_balances_notification_spec.rb +98 -0
- data/spec/models/added_deducted_points_notification_policy_spec.rb +46 -0
- data/spec/models/added_deducted_points_notification_spec.rb +120 -0
- data/spec/models/additional_campaign_properties_spec.rb +178 -0
- data/spec/models/additional_cost_spec.rb +36 -0
- data/spec/models/analytics_data_point_spec.rb +42 -0
- data/spec/models/analytics_data_point_with_trend_and_influenced_rate_spec.rb +48 -0
- data/spec/models/analytics_data_point_with_trend_and_uplift_spec.rb +48 -0
- data/spec/models/analytics_data_point_with_trend_spec.rb +42 -0
- data/spec/models/analytics_product_spec.rb +54 -0
- data/spec/models/analytics_sku_spec.rb +66 -0
- data/spec/models/api_error_spec.rb +48 -0
- data/spec/models/application_analytics_data_point_spec.rb +78 -0
- data/spec/models/application_api_health_spec.rb +46 -0
- data/spec/models/application_api_key_spec.rb +98 -0
- data/spec/models/application_campaign_analytics_spec.rb +106 -0
- data/spec/models/application_campaign_stats_spec.rb +66 -0
- data/spec/models/application_cif_expression_spec.rb +66 -0
- data/spec/models/application_cif_references_spec.rb +42 -0
- data/spec/models/application_cif_spec.rb +84 -0
- data/spec/models/application_customer_entity_spec.rb +36 -0
- data/spec/models/application_customer_spec.rb +102 -0
- data/spec/models/application_entity_spec.rb +36 -0
- data/spec/models/application_event_spec.rb +96 -0
- data/spec/models/application_notification_spec.rb +36 -0
- data/spec/models/application_referee_spec.rb +66 -0
- data/spec/models/application_session_entity_spec.rb +36 -0
- data/spec/models/application_session_spec.rb +124 -0
- data/spec/models/application_spec.rb +174 -0
- data/spec/models/application_store_entity_spec.rb +36 -0
- data/spec/models/async_coupon_creation_response_spec.rb +36 -0
- data/spec/models/async_coupon_deletion_job_response_spec.rb +36 -0
- data/spec/models/async_coupons_data_spec.rb +64 -0
- data/spec/models/attribute_spec.rb +144 -0
- data/spec/models/attributes_mandatory_spec.rb +42 -0
- data/spec/models/attributes_settings_spec.rb +36 -0
- data/spec/models/audience_analytics_spec.rb +42 -0
- data/spec/models/audience_customer_spec.rb +108 -0
- data/spec/models/audience_integration_id_spec.rb +36 -0
- data/spec/models/audience_membership_spec.rb +42 -0
- data/spec/models/audience_reference_spec.rb +48 -0
- data/spec/models/audience_spec.rb +90 -0
- data/spec/models/award_giveaway_effect_props_spec.rb +60 -0
- data/spec/models/base_campaign_spec.rb +132 -0
- data/spec/models/base_loyalty_program_spec.rb +136 -0
- data/spec/models/base_notification_entity_spec.rb +42 -0
- data/spec/models/base_notification_spec.rb +64 -0
- data/spec/models/base_notification_webhook_spec.rb +66 -0
- data/spec/models/base_notifications_spec.rb +36 -0
- data/spec/models/base_saml_connection_spec.rb +78 -0
- data/spec/models/best_prior_price_metadata_spec.rb +42 -0
- data/spec/models/best_prior_price_request_spec.rb +60 -0
- data/spec/models/best_prior_price_request_target_spec.rb +46 -0
- data/spec/models/best_prior_price_spec.rb +66 -0
- data/spec/models/binding_spec.rb +78 -0
- data/spec/models/bulk_application_notification_spec.rb +42 -0
- data/spec/models/bulk_operation_on_campaigns_spec.rb +52 -0
- data/spec/models/campaign_activation_request_spec.rb +36 -0
- data/spec/models/campaign_analytics_spec.rb +180 -0
- data/spec/models/campaign_budget_spec.rb +48 -0
- data/spec/models/campaign_collection_edited_notification_item_spec.rb +54 -0
- data/spec/models/campaign_collection_edited_notification_spec.rb +52 -0
- data/spec/models/campaign_collection_spec.rb +96 -0
- data/spec/models/campaign_collection_without_payload_spec.rb +90 -0
- data/spec/models/campaign_copy_spec.rb +72 -0
- data/spec/models/campaign_created_notification_item_spec.rb +54 -0
- data/spec/models/campaign_created_notification_spec.rb +52 -0
- data/spec/models/campaign_deactivation_request_spec.rb +36 -0
- data/spec/models/campaign_deleted_notification_item_spec.rb +48 -0
- data/spec/models/campaign_deleted_notification_spec.rb +52 -0
- data/spec/models/campaign_detail_spec.rb +42 -0
- data/spec/models/campaign_edited_notification_item_spec.rb +54 -0
- data/spec/models/campaign_edited_notification_spec.rb +52 -0
- data/spec/models/campaign_entity_spec.rb +36 -0
- data/spec/models/campaign_evaluation_group_spec.rb +86 -0
- data/spec/models/campaign_evaluation_position_spec.rb +48 -0
- data/spec/models/campaign_evaluation_tree_changed_message_spec.rb +52 -0
- data/spec/models/campaign_evaluation_tree_changed_notification_spec.rb +48 -0
- data/spec/models/campaign_group_entity_spec.rb +36 -0
- data/spec/models/campaign_group_spec.rb +78 -0
- data/spec/models/campaign_log_summary_spec.rb +64 -0
- data/spec/models/campaign_notification_base_spec.rb +46 -0
- data/spec/models/campaign_notification_generic_spec.rb +52 -0
- data/spec/models/campaign_notification_item_base_spec.rb +36 -0
- data/spec/models/campaign_notification_policy_spec.rb +48 -0
- data/spec/models/campaign_ruleset_changed_notification_item_spec.rb +54 -0
- data/spec/models/campaign_ruleset_changed_notification_spec.rb +52 -0
- data/spec/models/campaign_search_spec.rb +36 -0
- data/spec/models/campaign_set_branch_node_spec.rb +100 -0
- data/spec/models/campaign_set_leaf_node_spec.rb +46 -0
- data/spec/models/campaign_set_node_spec.rb +36 -0
- data/spec/models/campaign_set_spec.rb +60 -0
- data/spec/models/campaign_spec.rb +350 -0
- data/spec/models/campaign_state_changed_notification_item_spec.rb +60 -0
- data/spec/models/campaign_state_changed_notification_spec.rb +52 -0
- data/spec/models/campaign_store_budget_limit_config_spec.rb +68 -0
- data/spec/models/campaign_store_budget_spec.rb +60 -0
- data/spec/models/campaign_template_collection_spec.rb +42 -0
- data/spec/models/campaign_template_coupon_reservation_settings_spec.rb +42 -0
- data/spec/models/campaign_template_params_spec.rb +58 -0
- data/spec/models/campaign_template_spec.rb +204 -0
- data/spec/models/campaign_versions_spec.rb +76 -0
- data/spec/models/card_added_deducted_points_balances_notification_policy_spec.rb +46 -0
- data/spec/models/card_added_deducted_points_balances_notification_spec.rb +110 -0
- data/spec/models/card_added_deducted_points_notification_policy_spec.rb +46 -0
- data/spec/models/card_added_deducted_points_notification_spec.rb +132 -0
- data/spec/models/card_expiring_points_notification_policy_spec.rb +54 -0
- data/spec/models/card_expiring_points_notification_trigger_spec.rb +46 -0
- data/spec/models/card_ledger_points_entry_integration_api_spec.rb +96 -0
- data/spec/models/card_ledger_transaction_log_entry_integration_api_spec.rb +118 -0
- data/spec/models/card_ledger_transaction_log_entry_spec.rb +118 -0
- data/spec/models/cart_item_spec.rb +156 -0
- data/spec/models/catalog_action_filter_spec.rb +52 -0
- data/spec/models/catalog_item_spec.rb +78 -0
- data/spec/models/catalog_spec.rb +84 -0
- data/spec/models/catalog_sync_request_spec.rb +42 -0
- data/spec/models/catalogs_strikethrough_notification_policy_spec.rb +48 -0
- data/spec/models/change_loyalty_tier_level_effect_props_spec.rb +66 -0
- data/spec/models/change_profile_password_spec.rb +42 -0
- data/spec/models/change_spec.rb +78 -0
- data/spec/models/code_generator_settings_spec.rb +42 -0
- data/spec/models/collection_item_spec.rb +36 -0
- data/spec/models/collection_spec.rb +102 -0
- data/spec/models/collection_without_payload_spec.rb +96 -0
- data/spec/models/coupon_constraints_spec.rb +60 -0
- data/spec/models/coupon_created_effect_props_spec.rb +42 -0
- data/spec/models/coupon_creation_job_spec.rb +162 -0
- data/spec/models/coupon_deletion_filters_spec.rb +118 -0
- data/spec/models/coupon_deletion_job_spec.rb +102 -0
- data/spec/models/coupon_entity_spec.rb +42 -0
- data/spec/models/coupon_failure_summary_spec.rb +96 -0
- data/spec/models/coupon_limit_configs_spec.rb +36 -0
- data/spec/models/coupon_rejection_reason_spec.rb +52 -0
- data/spec/models/coupon_rejections_spec.rb +48 -0
- data/spec/models/coupon_reservations_spec.rb +36 -0
- data/spec/models/coupon_search_spec.rb +36 -0
- data/spec/models/coupon_spec.rb +162 -0
- data/spec/models/coupon_value_spec.rb +36 -0
- data/spec/models/coupons_notification_data_spec.rb +70 -0
- data/spec/models/coupons_notification_policy_spec.rb +64 -0
- data/spec/models/create_achievement_spec.rb +104 -0
- data/spec/models/create_application_api_key_spec.rb +68 -0
- data/spec/models/create_coupon_data_spec.rb +76 -0
- data/spec/models/create_coupons200_response_spec.rb +42 -0
- data/spec/models/create_management_key_spec.rb +54 -0
- data/spec/models/create_referrals_for_multiple_advocates201_response_spec.rb +42 -0
- data/spec/models/create_template_campaign_response_spec.rb +48 -0
- data/spec/models/create_template_campaign_spec.rb +90 -0
- data/spec/models/custom_effect_props_spec.rb +72 -0
- data/spec/models/custom_effect_spec.rb +114 -0
- data/spec/models/customer_activity_report_spec.rb +108 -0
- data/spec/models/customer_analytics_spec.rb +72 -0
- data/spec/models/customer_inventory_spec.rb +66 -0
- data/spec/models/customer_profile_audience_request_item_spec.rb +52 -0
- data/spec/models/customer_profile_audience_request_spec.rb +36 -0
- data/spec/models/customer_profile_entity_spec.rb +42 -0
- data/spec/models/customer_profile_integration_request_v2_spec.rb +58 -0
- data/spec/models/customer_profile_integration_response_v2_spec.rb +84 -0
- data/spec/models/customer_profile_search_query_spec.rb +48 -0
- data/spec/models/customer_profile_spec.rb +96 -0
- data/spec/models/customer_profile_update_v2_response_spec.rb +36 -0
- data/spec/models/customer_session_spec.rb +124 -0
- data/spec/models/customer_session_v2_spec.rb +160 -0
- data/spec/models/deactivate_user_request_spec.rb +36 -0
- data/spec/models/deduct_loyalty_points_effect_props_spec.rb +72 -0
- data/spec/models/deduct_loyalty_points_spec.rb +54 -0
- data/spec/models/delete_coupons_data_spec.rb +82 -0
- data/spec/models/delete_user_request_spec.rb +36 -0
- data/spec/models/effect_entity_spec.rb +120 -0
- data/spec/models/effect_spec.rb +126 -0
- data/spec/models/email_entity_spec.rb +36 -0
- data/spec/models/endpoint_spec.rb +36 -0
- data/spec/models/entity_spec.rb +42 -0
- data/spec/models/entity_with_talang_visible_id_spec.rb +42 -0
- data/spec/models/environment_spec.rb +126 -0
- data/spec/models/error_effect_props_spec.rb +36 -0
- data/spec/models/error_response_spec.rb +42 -0
- data/spec/models/error_response_with_status_spec.rb +48 -0
- data/spec/models/error_source_spec.rb +54 -0
- data/spec/models/evaluable_campaign_ids_spec.rb +36 -0
- data/spec/models/event_spec.rb +96 -0
- data/spec/models/event_type_spec.rb +60 -0
- data/spec/models/event_v2_spec.rb +60 -0
- data/spec/models/event_v3_spec.rb +78 -0
- data/spec/models/expiring_card_points_data_spec.rb +72 -0
- data/spec/models/expiring_card_points_notification_spec.rb +52 -0
- data/spec/models/expiring_coupons_data_spec.rb +90 -0
- data/spec/models/expiring_coupons_notification_policy_spec.rb +54 -0
- data/spec/models/expiring_coupons_notification_spec.rb +52 -0
- data/spec/models/expiring_coupons_notification_trigger_spec.rb +46 -0
- data/spec/models/expiring_points_data_spec.rb +60 -0
- data/spec/models/expiring_points_notification_policy_spec.rb +54 -0
- data/spec/models/expiring_points_notification_spec.rb +52 -0
- data/spec/models/expiring_points_notification_trigger_spec.rb +46 -0
- data/spec/models/export_spec.rb +70 -0
- data/spec/models/extend_loyalty_points_expiry_date_effect_props_spec.rb +54 -0
- data/spec/models/extended_coupon_spec.rb +168 -0
- data/spec/models/feature_flag_spec.rb +54 -0
- data/spec/models/features_feed_spec.rb +42 -0
- data/spec/models/func_arg_def_spec.rb +46 -0
- data/spec/models/function_def_spec.rb +60 -0
- data/spec/models/generate_audit_log_summary_spec.rb +36 -0
- data/spec/models/generate_campaign_description_spec.rb +48 -0
- data/spec/models/generate_campaign_summary_spec.rb +48 -0
- data/spec/models/generate_campaign_tags_spec.rb +36 -0
- data/spec/models/generate_coupon_failure_detailed_summary_spec.rb +60 -0
- data/spec/models/generate_coupon_failure_summary_spec.rb +42 -0
- data/spec/models/generate_item_filter_description_spec.rb +36 -0
- data/spec/models/generate_loyalty_card_spec.rb +52 -0
- data/spec/models/generate_rule_title_rule_spec.rb +42 -0
- data/spec/models/generate_rule_title_spec.rb +42 -0
- data/spec/models/generate_user_session_summary_spec.rb +42 -0
- data/spec/models/get_access_logs_without_total_count200_response_spec.rb +42 -0
- data/spec/models/get_additional_costs200_response_spec.rb +42 -0
- data/spec/models/get_application_customer_friends200_response_spec.rb +48 -0
- data/spec/models/get_application_customers200_response_spec.rb +48 -0
- data/spec/models/get_application_customers_by_attributes200_response_spec.rb +48 -0
- data/spec/models/get_application_event_types200_response_spec.rb +42 -0
- data/spec/models/get_application_events_without_total_count200_response_spec.rb +42 -0
- data/spec/models/get_application_sessions200_response_spec.rb +42 -0
- data/spec/models/get_applications200_response_spec.rb +42 -0
- data/spec/models/get_attributes200_response_spec.rb +42 -0
- data/spec/models/get_audience_memberships200_response_spec.rb +42 -0
- data/spec/models/get_audiences200_response_spec.rb +48 -0
- data/spec/models/get_audiences_analytics200_response_spec.rb +42 -0
- data/spec/models/get_campaign_analytics200_response_spec.rb +42 -0
- data/spec/models/get_campaign_groups200_response_spec.rb +42 -0
- data/spec/models/get_campaign_templates200_response_spec.rb +42 -0
- data/spec/models/get_campaigns200_response_spec.rb +42 -0
- data/spec/models/get_changes200_response_spec.rb +48 -0
- data/spec/models/get_collection_items200_response_spec.rb +42 -0
- data/spec/models/get_coupons_without_total_count200_response_spec.rb +42 -0
- data/spec/models/get_customer_achievement_history200_response_spec.rb +42 -0
- data/spec/models/get_customer_achievements200_response_spec.rb +42 -0
- data/spec/models/get_customer_activity_reports_without_total_count200_response_spec.rb +42 -0
- data/spec/models/get_customer_profile_achievement_progress200_response_spec.rb +42 -0
- data/spec/models/get_customer_profiles200_response_spec.rb +42 -0
- data/spec/models/get_customers_by_attributes200_response_spec.rb +48 -0
- data/spec/models/get_dashboard_statistics200_response_spec.rb +42 -0
- data/spec/models/get_event_types200_response_spec.rb +42 -0
- data/spec/models/get_exports200_response_spec.rb +42 -0
- data/spec/models/get_integration_coupon_request_spec.rb +42 -0
- data/spec/models/get_loyalty_card_points200_response_spec.rb +42 -0
- data/spec/models/get_loyalty_card_transaction_logs200_response_spec.rb +42 -0
- data/spec/models/get_loyalty_card_transactions200_response_spec.rb +42 -0
- data/spec/models/get_loyalty_cards200_response_spec.rb +42 -0
- data/spec/models/get_loyalty_program_profile_points200_response_spec.rb +42 -0
- data/spec/models/get_loyalty_program_profile_transactions200_response_spec.rb +42 -0
- data/spec/models/get_loyalty_program_transactions200_response_spec.rb +42 -0
- data/spec/models/get_loyalty_programs200_response_spec.rb +42 -0
- data/spec/models/get_referrals_without_total_count200_response_spec.rb +42 -0
- data/spec/models/get_reserved_customers200_response_spec.rb +42 -0
- data/spec/models/get_rulesets200_response_spec.rb +42 -0
- data/spec/models/get_users200_response_spec.rb +42 -0
- data/spec/models/get_webhooks200_response_spec.rb +42 -0
- data/spec/models/giveaway_spec.rb +96 -0
- data/spec/models/giveaways_pool_spec.rb +90 -0
- data/spec/models/hidden_conditions_effects_spec.rb +54 -0
- data/spec/models/identifiable_entity_spec.rb +36 -0
- data/spec/models/import_entity_spec.rb +36 -0
- data/spec/models/import_spec.rb +66 -0
- data/spec/models/increase_achievement_progress_effect_props_spec.rb +72 -0
- data/spec/models/integration_coupon_spec.rb +168 -0
- data/spec/models/integration_customer_profile_audience_request_item_spec.rb +52 -0
- data/spec/models/integration_customer_profile_audience_request_spec.rb +36 -0
- data/spec/models/integration_customer_session_response_spec.rb +42 -0
- data/spec/models/integration_entity_spec.rb +42 -0
- data/spec/models/integration_event_spec.rb +54 -0
- data/spec/models/integration_event_v2_request_spec.rb +76 -0
- data/spec/models/integration_event_v3_request_spec.rb +94 -0
- data/spec/models/integration_event_v3_response_spec.rb +84 -0
- data/spec/models/integration_profile_entity_spec.rb +36 -0
- data/spec/models/integration_profile_entity_v3_spec.rb +36 -0
- data/spec/models/integration_request_spec.rb +46 -0
- data/spec/models/integration_state_spec.rb +60 -0
- data/spec/models/integration_state_v2_spec.rb +114 -0
- data/spec/models/integration_store_entity_spec.rb +36 -0
- data/spec/models/inventory_coupon_spec.rb +174 -0
- data/spec/models/inventory_referral_spec.rb +114 -0
- data/spec/models/item_attribute_spec.rb +48 -0
- data/spec/models/label_target_audience_spec.rb +46 -0
- data/spec/models/label_target_none_spec.rb +40 -0
- data/spec/models/ledger_entry_spec.rb +90 -0
- data/spec/models/ledger_info_spec.rb +90 -0
- data/spec/models/ledger_points_entry_integration_api_spec.rb +90 -0
- data/spec/models/ledger_transaction_log_entry_integration_api_spec.rb +118 -0
- data/spec/models/library_attribute_spec.rb +80 -0
- data/spec/models/limit_config_spec.rb +62 -0
- data/spec/models/limit_counter_spec.rb +120 -0
- data/spec/models/list_account_collections200_response_spec.rb +48 -0
- data/spec/models/list_achievements200_response_spec.rb +42 -0
- data/spec/models/list_all_roles_v2200_response_spec.rb +42 -0
- data/spec/models/list_campaign_store_budget_limits200_response_spec.rb +36 -0
- data/spec/models/list_campaign_store_budgets_spec.rb +54 -0
- data/spec/models/list_campaign_store_budgets_store_spec.rb +48 -0
- data/spec/models/list_catalog_items200_response_spec.rb +48 -0
- data/spec/models/list_stores200_response_spec.rb +48 -0
- data/spec/models/login_params_spec.rb +42 -0
- data/spec/models/loyalty_balance_spec.rb +60 -0
- data/spec/models/loyalty_balance_with_tier_spec.rb +84 -0
- data/spec/models/loyalty_balances_spec.rb +42 -0
- data/spec/models/loyalty_balances_with_tiers_spec.rb +42 -0
- data/spec/models/loyalty_card_balances_spec.rb +48 -0
- data/spec/models/loyalty_card_batch_response_spec.rb +42 -0
- data/spec/models/loyalty_card_batch_spec.rb +58 -0
- data/spec/models/loyalty_card_profile_registration_spec.rb +42 -0
- data/spec/models/loyalty_card_registration_spec.rb +36 -0
- data/spec/models/loyalty_card_spec.rb +126 -0
- data/spec/models/loyalty_dashboard_data_spec.rb +90 -0
- data/spec/models/loyalty_dashboard_points_breakdown_spec.rb +42 -0
- data/spec/models/loyalty_ledger_entry_expiry_date_change_spec.rb +48 -0
- data/spec/models/loyalty_ledger_entry_flags_spec.rb +36 -0
- data/spec/models/loyalty_ledger_entry_spec.rb +120 -0
- data/spec/models/loyalty_ledger_spec.rb +42 -0
- data/spec/models/loyalty_ledger_transactions_spec.rb +42 -0
- data/spec/models/loyalty_membership_spec.rb +42 -0
- data/spec/models/loyalty_program_balance_spec.rb +78 -0
- data/spec/models/loyalty_program_entity_spec.rb +48 -0
- data/spec/models/loyalty_program_ledgers_spec.rb +66 -0
- data/spec/models/loyalty_program_spec.rb +202 -0
- data/spec/models/loyalty_program_transaction_spec.rb +154 -0
- data/spec/models/loyalty_spec.rb +42 -0
- data/spec/models/loyalty_sub_ledger_spec.rb +102 -0
- data/spec/models/loyalty_tier_spec.rb +72 -0
- data/spec/models/management_key_spec.rb +90 -0
- data/spec/models/manager_config_spec.rb +36 -0
- data/spec/models/message_log_entries_spec.rb +42 -0
- data/spec/models/message_log_entry_spec.rb +124 -0
- data/spec/models/message_log_request_spec.rb +42 -0
- data/spec/models/message_log_response_spec.rb +48 -0
- data/spec/models/message_test_spec.rb +42 -0
- data/spec/models/meta_spec.rb +60 -0
- data/spec/models/model_return_spec.rb +96 -0
- data/spec/models/multi_application_entity_spec.rb +36 -0
- data/spec/models/multiple_attribute_spec.rb +36 -0
- data/spec/models/multiple_audiences_item_spec.rb +64 -0
- data/spec/models/multiple_audiences_spec.rb +42 -0
- data/spec/models/multiple_customer_profile_integration_request_item_spec.rb +42 -0
- data/spec/models/multiple_customer_profile_integration_request_spec.rb +36 -0
- data/spec/models/multiple_customer_profile_integration_response_v2_spec.rb +36 -0
- data/spec/models/multiple_new_attribute_spec.rb +36 -0
- data/spec/models/multiple_new_audiences_spec.rb +36 -0
- data/spec/models/mutable_entity_spec.rb +36 -0
- data/spec/models/new_account_sign_up_spec.rb +48 -0
- data/spec/models/new_account_spec.rb +36 -0
- data/spec/models/new_additional_cost_spec.rb +64 -0
- data/spec/models/new_app_wide_coupon_deletion_job_spec.rb +42 -0
- data/spec/models/new_application_api_key_spec.rb +104 -0
- data/spec/models/new_application_cif_expression_spec.rb +48 -0
- data/spec/models/new_application_cif_spec.rb +66 -0
- data/spec/models/new_application_spec.rb +138 -0
- data/spec/models/new_attribute_spec.rb +120 -0
- data/spec/models/new_audience_spec.rb +72 -0
- data/spec/models/new_base_notification_spec.rb +48 -0
- data/spec/models/new_campaign_collection_spec.rb +42 -0
- data/spec/models/new_campaign_evaluation_group_spec.rb +74 -0
- data/spec/models/new_campaign_group_spec.rb +54 -0
- data/spec/models/new_campaign_set_spec.rb +48 -0
- data/spec/models/new_campaign_spec.rb +138 -0
- data/spec/models/new_campaign_store_budget_spec.rb +56 -0
- data/spec/models/new_campaign_store_budget_store_limit_spec.rb +42 -0
- data/spec/models/new_campaign_template_spec.rb +138 -0
- data/spec/models/new_catalog_spec.rb +48 -0
- data/spec/models/new_collection_spec.rb +48 -0
- data/spec/models/new_coupon_creation_job_spec.rb +78 -0
- data/spec/models/new_coupon_deletion_job_spec.rb +36 -0
- data/spec/models/new_coupons_for_multiple_recipients_spec.rb +84 -0
- data/spec/models/new_coupons_spec.rb +114 -0
- data/spec/models/new_custom_effect_spec.rb +78 -0
- data/spec/models/new_customer_profile_spec.rb +36 -0
- data/spec/models/new_customer_session_spec.rb +82 -0
- data/spec/models/new_customer_session_v2_spec.rb +100 -0
- data/spec/models/new_event_spec.rb +60 -0
- data/spec/models/new_event_type_spec.rb +48 -0
- data/spec/models/new_external_invitation_spec.rb +48 -0
- data/spec/models/new_giveaways_pool_spec.rb +54 -0
- data/spec/models/new_internal_audience_spec.rb +48 -0
- data/spec/models/new_invitation_spec.rb +60 -0
- data/spec/models/new_invite_email_spec.rb +42 -0
- data/spec/models/new_loyalty_program_spec.rb +160 -0
- data/spec/models/new_loyalty_tier_spec.rb +42 -0
- data/spec/models/new_management_key_spec.rb +96 -0
- data/spec/models/new_message_test_spec.rb +76 -0
- data/spec/models/new_multiple_audiences_item_spec.rb +42 -0
- data/spec/models/new_notification_webhook_spec.rb +48 -0
- data/spec/models/new_outgoing_integration_webhook_spec.rb +48 -0
- data/spec/models/new_password_email_spec.rb +36 -0
- data/spec/models/new_password_spec.rb +42 -0
- data/spec/models/new_picklist_spec.rb +46 -0
- data/spec/models/new_price_adjustment_spec.rb +72 -0
- data/spec/models/new_price_type_spec.rb +54 -0
- data/spec/models/new_referral_spec.rb +72 -0
- data/spec/models/new_referrals_for_multiple_advocates_spec.rb +78 -0
- data/spec/models/new_return_spec.rb +36 -0
- data/spec/models/new_revision_version_spec.rb +100 -0
- data/spec/models/new_role_spec.rb +54 -0
- data/spec/models/new_role_v2_spec.rb +54 -0
- data/spec/models/new_ruleset_spec.rb +60 -0
- data/spec/models/new_saml_connection_spec.rb +84 -0
- data/spec/models/new_secondary_deployment_spec.rb +36 -0
- data/spec/models/new_store_spec.rb +54 -0
- data/spec/models/new_template_def_spec.rb +72 -0
- data/spec/models/new_user_spec.rb +54 -0
- data/spec/models/new_webhook_spec.rb +100 -0
- data/spec/models/notification_activation_spec.rb +36 -0
- data/spec/models/notification_list_item_spec.rb +54 -0
- data/spec/models/notification_spec.rb +48 -0
- data/spec/models/okta_event_payload_data_spec.rb +36 -0
- data/spec/models/okta_event_payload_spec.rb +36 -0
- data/spec/models/okta_event_spec.rb +42 -0
- data/spec/models/okta_event_target_spec.rb +48 -0
- data/spec/models/one_time_code_spec.rb +54 -0
- data/spec/models/outgoing_integration_braze_policy_spec.rb +42 -0
- data/spec/models/outgoing_integration_clever_tap_policy_spec.rb +48 -0
- data/spec/models/outgoing_integration_configuration_spec.rb +54 -0
- data/spec/models/outgoing_integration_iterable_policy_spec.rb +42 -0
- data/spec/models/outgoing_integration_mo_engage_policy_spec.rb +54 -0
- data/spec/models/outgoing_integration_template_spec.rb +82 -0
- data/spec/models/outgoing_integration_template_with_configuration_details_spec.rb +88 -0
- data/spec/models/outgoing_integration_templates_spec.rb +36 -0
- data/spec/models/outgoing_integration_type_spec.rb +60 -0
- data/spec/models/outgoing_integration_types_spec.rb +36 -0
- data/spec/models/patch_item_catalog_action_spec.rb +60 -0
- data/spec/models/patch_many_items_catalog_action_spec.rb +48 -0
- data/spec/models/pending_active_points_data_spec.rb +72 -0
- data/spec/models/pending_active_points_notification_spec.rb +52 -0
- data/spec/models/pending_points_notification_policy_spec.rb +48 -0
- data/spec/models/picklist_spec.rb +82 -0
- data/spec/models/price_detail_spec.rb +60 -0
- data/spec/models/price_type_reference_detail_spec.rb +58 -0
- data/spec/models/price_type_references_spec.rb +42 -0
- data/spec/models/price_type_spec.rb +84 -0
- data/spec/models/prismatic_config_spec.rb +42 -0
- data/spec/models/prismatic_event_payload_coupon_based_notifications_limits_spec.rb +54 -0
- data/spec/models/prismatic_event_payload_coupon_based_notifications_spec.rb +138 -0
- data/spec/models/prismatic_event_payload_loyalty_profile_based_notifications_action_spec.rb +64 -0
- data/spec/models/prismatic_event_payload_loyalty_profile_based_notifications_spec.rb +120 -0
- data/spec/models/prismatic_flow_config_spec.rb +36 -0
- data/spec/models/prismatic_flow_spec.rb +48 -0
- data/spec/models/prismatic_flow_with_config_spec.rb +54 -0
- data/spec/models/prismatic_paginated_event_payload_spec.rb +52 -0
- data/spec/models/product_search_match_spec.rb +48 -0
- data/spec/models/product_spec.rb +36 -0
- data/spec/models/product_unit_analytics_data_point_spec.rb +60 -0
- data/spec/models/product_unit_analytics_spec.rb +42 -0
- data/spec/models/product_unit_analytics_totals_spec.rb +36 -0
- data/spec/models/profile_audiences_changes_spec.rb +42 -0
- data/spec/models/projected_tier_spec.rb +48 -0
- data/spec/models/redeem_referral_effect_props_spec.rb +42 -0
- data/spec/models/referral_constraints_spec.rb +48 -0
- data/spec/models/referral_created_effect_props_spec.rb +36 -0
- data/spec/models/referral_rejection_reason_spec.rb +52 -0
- data/spec/models/referral_spec.rb +108 -0
- data/spec/models/reject_coupon_effect_props_spec.rb +66 -0
- data/spec/models/reject_referral_effect_props_spec.rb +66 -0
- data/spec/models/remove_from_audience_effect_props_spec.rb +54 -0
- data/spec/models/remove_item_catalog_action_spec.rb +36 -0
- data/spec/models/remove_many_items_catalog_action_spec.rb +36 -0
- data/spec/models/reopen_session_response_spec.rb +36 -0
- data/spec/models/reserve_coupon_effect_props_spec.rb +48 -0
- data/spec/models/return_integration_request_spec.rb +46 -0
- data/spec/models/returned_cart_item_spec.rb +48 -0
- data/spec/models/revision_activation_request_spec.rb +42 -0
- data/spec/models/revision_activation_spec.rb +36 -0
- data/spec/models/revision_spec.rb +90 -0
- data/spec/models/revision_version_spec.rb +148 -0
- data/spec/models/role_assign_spec.rb +42 -0
- data/spec/models/role_membership_spec.rb +42 -0
- data/spec/models/role_spec.rb +84 -0
- data/spec/models/role_v2_application_details_spec.rb +54 -0
- data/spec/models/role_v2_base_spec.rb +54 -0
- data/spec/models/role_v2_permission_set_spec.rb +42 -0
- data/spec/models/role_v2_permissions_spec.rb +42 -0
- data/spec/models/role_v2_readonly_spec.rb +36 -0
- data/spec/models/role_v2_roles_group_spec.rb +54 -0
- data/spec/models/role_v2_spec.rb +84 -0
- data/spec/models/rollback_added_loyalty_points_effect_props_spec.rb +78 -0
- data/spec/models/rollback_coupon_effect_props_spec.rb +36 -0
- data/spec/models/rollback_deducted_loyalty_points_effect_props_spec.rb +78 -0
- data/spec/models/rollback_discount_effect_props_spec.rb +72 -0
- data/spec/models/rollback_increased_achievement_progress_effect_props_spec.rb +66 -0
- data/spec/models/rollback_referral_effect_props_spec.rb +36 -0
- data/spec/models/rule_failure_reason_spec.rb +114 -0
- data/spec/models/rule_spec.rb +72 -0
- data/spec/models/ruleset_spec.rb +96 -0
- data/spec/models/saml_connection_internal_spec.rb +42 -0
- data/spec/models/saml_connection_metadata_spec.rb +54 -0
- data/spec/models/saml_connection_spec.rb +96 -0
- data/spec/models/saml_login_endpoint_spec.rb +48 -0
- data/spec/models/scim_base_group_spec.rb +42 -0
- data/spec/models/scim_base_user_name_spec.rb +36 -0
- data/spec/models/scim_base_user_spec.rb +54 -0
- data/spec/models/scim_group_member_spec.rb +42 -0
- data/spec/models/scim_group_spec.rb +48 -0
- data/spec/models/scim_groups_list_response_spec.rb +48 -0
- data/spec/models/scim_new_user_spec.rb +54 -0
- data/spec/models/scim_patch_operation_spec.rb +52 -0
- data/spec/models/scim_patch_request_spec.rb +42 -0
- data/spec/models/scim_resource_spec.rb +48 -0
- data/spec/models/scim_resource_types_list_response_spec.rb +36 -0
- data/spec/models/scim_schema_resource_spec.rb +54 -0
- data/spec/models/scim_schemas_list_response_spec.rb +48 -0
- data/spec/models/scim_service_provider_config_response_bulk_spec.rb +48 -0
- data/spec/models/scim_service_provider_config_response_change_password_spec.rb +36 -0
- data/spec/models/scim_service_provider_config_response_filter_spec.rb +42 -0
- data/spec/models/scim_service_provider_config_response_patch_spec.rb +36 -0
- data/spec/models/scim_service_provider_config_response_sort_spec.rb +36 -0
- data/spec/models/scim_service_provider_config_response_spec.rb +72 -0
- data/spec/models/scim_user_spec.rb +60 -0
- data/spec/models/scim_users_list_response_spec.rb +48 -0
- data/spec/models/secondary_deployment_spec.rb +82 -0
- data/spec/models/session_coupons_spec.rb +42 -0
- data/spec/models/session_spec.rb +48 -0
- data/spec/models/set_discount_effect_props_spec.rb +54 -0
- data/spec/models/set_discount_per_additional_cost_effect_props_spec.rb +60 -0
- data/spec/models/set_discount_per_additional_cost_per_item_effect_props_spec.rb +72 -0
- data/spec/models/set_discount_per_item_effect_props_spec.rb +102 -0
- data/spec/models/set_loyalty_points_expiry_date_effect_props_spec.rb +54 -0
- data/spec/models/show_bundle_metadata_effect_props_spec.rb +48 -0
- data/spec/models/show_notification_effect_props_spec.rb +48 -0
- data/spec/models/sku_unit_analytics_data_point_spec.rb +54 -0
- data/spec/models/sku_unit_analytics_spec.rb +42 -0
- data/spec/models/slot_def_spec.rb +66 -0
- data/spec/models/sso_config_spec.rb +42 -0
- data/spec/models/store_spec.rb +84 -0
- data/spec/models/strikethrough_changed_item_spec.rb +78 -0
- data/spec/models/strikethrough_custom_effect_per_item_props_spec.rb +48 -0
- data/spec/models/strikethrough_debug_response_spec.rb +42 -0
- data/spec/models/strikethrough_effect_spec.rb +102 -0
- data/spec/models/strikethrough_labeling_notification_spec.rb +92 -0
- data/spec/models/strikethrough_set_discount_per_item_effect_props_spec.rb +42 -0
- data/spec/models/strikethrough_set_discount_per_item_member_effect_props_spec.rb +42 -0
- data/spec/models/strikethrough_trigger_spec.rb +60 -0
- data/spec/models/summarize_campaign_store_budget200_response_spec.rb +36 -0
- data/spec/models/summary_campaign_store_budget_spec.rb +62 -0
- data/spec/models/talang_attribute_spec.rb +92 -0
- data/spec/models/talang_attribute_visibility_spec.rb +42 -0
- data/spec/models/template_arg_def_spec.rb +76 -0
- data/spec/models/template_def_spec.rb +96 -0
- data/spec/models/template_limit_config_spec.rb +62 -0
- data/spec/models/tier_downgrade_data_spec.rb +78 -0
- data/spec/models/tier_downgrade_notification_policy_spec.rb +48 -0
- data/spec/models/tier_downgrade_notification_spec.rb +52 -0
- data/spec/models/tier_spec.rb +64 -0
- data/spec/models/tier_upgrade_data_spec.rb +90 -0
- data/spec/models/tier_upgrade_notification_policy_spec.rb +48 -0
- data/spec/models/tier_upgrade_notification_spec.rb +52 -0
- data/spec/models/tier_will_downgrade_data_spec.rb +78 -0
- data/spec/models/tier_will_downgrade_notification_policy_spec.rb +54 -0
- data/spec/models/tier_will_downgrade_notification_spec.rb +52 -0
- data/spec/models/tier_will_downgrade_notification_trigger_spec.rb +46 -0
- data/spec/models/time_point_spec.rb +66 -0
- data/spec/models/track_event_v2_response_spec.rb +84 -0
- data/spec/models/transfer_loyalty_card_spec.rb +42 -0
- data/spec/models/trigger_webhook_effect_props_spec.rb +42 -0
- data/spec/models/two_fa_config_spec.rb +42 -0
- data/spec/models/update_account_spec.rb +64 -0
- data/spec/models/update_achievement_spec.rb +104 -0
- data/spec/models/update_application_api_key_spec.rb +36 -0
- data/spec/models/update_application_cif_spec.rb +54 -0
- data/spec/models/update_application_spec.rb +144 -0
- data/spec/models/update_attribute_effect_props_spec.rb +42 -0
- data/spec/models/update_audience_spec.rb +36 -0
- data/spec/models/update_campaign_collection_spec.rb +36 -0
- data/spec/models/update_campaign_evaluation_group_spec.rb +74 -0
- data/spec/models/update_campaign_group_spec.rb +54 -0
- data/spec/models/update_campaign_spec.rb +138 -0
- data/spec/models/update_campaign_template_spec.rb +150 -0
- data/spec/models/update_catalog_spec.rb +48 -0
- data/spec/models/update_collection_spec.rb +42 -0
- data/spec/models/update_coupon_batch_spec.rb +72 -0
- data/spec/models/update_coupon_spec.rb +90 -0
- data/spec/models/update_coupons_data_spec.rb +76 -0
- data/spec/models/update_custom_effect_spec.rb +78 -0
- data/spec/models/update_customer_profile_v2409_response_spec.rb +48 -0
- data/spec/models/update_customer_session_v2409_response_spec.rb +48 -0
- data/spec/models/update_loyalty_card_spec.rb +42 -0
- data/spec/models/update_loyalty_program_spec.rb +142 -0
- data/spec/models/update_loyalty_program_tier_spec.rb +48 -0
- data/spec/models/update_picklist_spec.rb +46 -0
- data/spec/models/update_price_type_spec.rb +48 -0
- data/spec/models/update_referral_batch_spec.rb +60 -0
- data/spec/models/update_referral_spec.rb +60 -0
- data/spec/models/update_role_spec.rb +54 -0
- data/spec/models/update_store_spec.rb +48 -0
- data/spec/models/update_user_spec.rb +70 -0
- data/spec/models/user_entity_spec.rb +36 -0
- data/spec/models/user_spec.rb +136 -0
- data/spec/models/value_map_spec.rb +54 -0
- data/spec/models/webhook_authentication_base_spec.rb +52 -0
- data/spec/models/webhook_authentication_data_basic_spec.rb +42 -0
- data/spec/models/webhook_authentication_data_custom_spec.rb +36 -0
- data/spec/models/webhook_authentication_spec.rb +88 -0
- data/spec/models/webhook_authentication_webhook_ref_spec.rb +48 -0
- data/spec/models/webhook_spec.rb +118 -0
- data/spec/models/webhook_with_outgoing_integration_details_spec.rb +136 -0
- data/spec/models/will_award_giveaway_effect_props_spec.rb +48 -0
- data/spec/spec_helper.rb +111 -0
- data/talon_one_sdk.gemspec +39 -0
- metadata +2643 -0
|
@@ -0,0 +1,2575 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Talon.One API
|
|
3
|
+
|
|
4
|
+
#Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document:
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for TalonOne::ManagementApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ManagementApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = TalonOne::ManagementApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ManagementApi' do
|
|
30
|
+
it 'should create an instance of ManagementApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(TalonOne::ManagementApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for activate_user_by_email
|
|
36
|
+
# Enable user by email address
|
|
37
|
+
# Enable a [disabled user](https://docs.talon.one/docs/product/account/account-settings/managing-users#disabling-a-user) by their email address.
|
|
38
|
+
# @param activate_user_request body
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [nil]
|
|
41
|
+
describe 'activate_user_by_email test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# unit tests for add_loyalty_card_points
|
|
48
|
+
# Add points to card
|
|
49
|
+
# Add points to the given loyalty card in the specified card-based loyalty program.
|
|
50
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
51
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
|
52
|
+
# @param add_loyalty_points body
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @return [nil]
|
|
55
|
+
describe 'add_loyalty_card_points test' do
|
|
56
|
+
it 'should work' do
|
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# unit tests for add_loyalty_points
|
|
62
|
+
# Add points to customer profile
|
|
63
|
+
# Add points in the specified loyalty program for the given customer. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint.
|
|
64
|
+
# @param loyalty_program_id The identifier for the loyalty program.
|
|
65
|
+
# @param integration_id The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.
|
|
66
|
+
# @param add_loyalty_points body
|
|
67
|
+
# @param [Hash] opts the optional parameters
|
|
68
|
+
# @return [nil]
|
|
69
|
+
describe 'add_loyalty_points test' do
|
|
70
|
+
it 'should work' do
|
|
71
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# unit tests for copy_campaign_to_applications
|
|
76
|
+
# Copy the campaign into the specified Application
|
|
77
|
+
# Copy the campaign into all specified Applications.
|
|
78
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
79
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
80
|
+
# @param campaign_copy body
|
|
81
|
+
# @param [Hash] opts the optional parameters
|
|
82
|
+
# @return [GetCampaigns200Response]
|
|
83
|
+
describe 'copy_campaign_to_applications test' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# unit tests for create_account_collection
|
|
90
|
+
# Create account-level collection
|
|
91
|
+
# Create an account-level collection.
|
|
92
|
+
# @param new_collection body
|
|
93
|
+
# @param [Hash] opts the optional parameters
|
|
94
|
+
# @return [Collection]
|
|
95
|
+
describe 'create_account_collection test' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# unit tests for create_achievement
|
|
102
|
+
# Create achievement
|
|
103
|
+
# Create a new achievement in a specific campaign.
|
|
104
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
105
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
106
|
+
# @param create_achievement body
|
|
107
|
+
# @param [Hash] opts the optional parameters
|
|
108
|
+
# @return [Achievement]
|
|
109
|
+
describe 'create_achievement test' do
|
|
110
|
+
it 'should work' do
|
|
111
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# unit tests for create_additional_cost
|
|
116
|
+
# Create additional cost
|
|
117
|
+
# Create an [additional cost](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs). These additional costs are shared across all applications in your account, and are never required.
|
|
118
|
+
# @param new_additional_cost body
|
|
119
|
+
# @param [Hash] opts the optional parameters
|
|
120
|
+
# @return [AccountAdditionalCost]
|
|
121
|
+
describe 'create_additional_cost test' do
|
|
122
|
+
it 'should work' do
|
|
123
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# unit tests for create_attribute
|
|
128
|
+
# Create custom attribute
|
|
129
|
+
# Create a _custom attribute_ in this account. [Custom attributes](https://docs.talon.one/docs/dev/concepts/attributes) allow you to add data to Talon.One domain entities like campaigns, coupons, customers and so on. These attributes can then be given values when creating/updating these entities, and these values can be used in your campaign rules. For example, you could define a `zipCode` field for customer sessions, and add a rule to your campaign that only allows certain ZIP codes. These attributes are shared across all Applications in your account and are never required.
|
|
130
|
+
# @param new_attribute body
|
|
131
|
+
# @param [Hash] opts the optional parameters
|
|
132
|
+
# @return [Attribute]
|
|
133
|
+
describe 'create_attribute test' do
|
|
134
|
+
it 'should work' do
|
|
135
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
136
|
+
end
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# unit tests for create_batch_loyalty_cards
|
|
140
|
+
# Create loyalty cards
|
|
141
|
+
# Create a batch of loyalty cards in a specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types). Customers can use loyalty cards to collect and spend loyalty points. **Important:** - The specified card-based loyalty program must have a defined card code format that is used to generate the loyalty card codes. - Trying to create more than 20,000 loyalty cards in a single request returns an error message with a `400` status code.
|
|
142
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
143
|
+
# @param loyalty_card_batch body
|
|
144
|
+
# @param [Hash] opts the optional parameters
|
|
145
|
+
# @return [LoyaltyCardBatchResponse]
|
|
146
|
+
describe 'create_batch_loyalty_cards test' do
|
|
147
|
+
it 'should work' do
|
|
148
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# unit tests for create_campaign_from_template
|
|
153
|
+
# Create campaign from campaign template
|
|
154
|
+
# Use the campaign template referenced in the request body to create a new campaign in one of the connected Applications. If the template was created from a campaign with rules referencing [campaign collections](https://docs.talon.one/docs/product/campaigns/managing-collections), the corresponding collections for the new campaign are created automatically.
|
|
155
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
156
|
+
# @param create_template_campaign body
|
|
157
|
+
# @param [Hash] opts the optional parameters
|
|
158
|
+
# @return [CreateTemplateCampaignResponse]
|
|
159
|
+
describe 'create_campaign_from_template test' do
|
|
160
|
+
it 'should work' do
|
|
161
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
162
|
+
end
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# unit tests for create_campaign_store_budget
|
|
166
|
+
# Create campaign store budget
|
|
167
|
+
# Create a new store budget for a given campaign.
|
|
168
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
169
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
170
|
+
# @param new_campaign_store_budget body
|
|
171
|
+
# @param [Hash] opts the optional parameters
|
|
172
|
+
# @return [nil]
|
|
173
|
+
describe 'create_campaign_store_budget test' do
|
|
174
|
+
it 'should work' do
|
|
175
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# unit tests for create_collection
|
|
180
|
+
# Create campaign-level collection
|
|
181
|
+
# Create a campaign-level collection in a given campaign.
|
|
182
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
183
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
184
|
+
# @param new_campaign_collection body
|
|
185
|
+
# @param [Hash] opts the optional parameters
|
|
186
|
+
# @return [Collection]
|
|
187
|
+
describe 'create_collection test' do
|
|
188
|
+
it 'should work' do
|
|
189
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
# unit tests for create_coupons
|
|
194
|
+
# Create coupons
|
|
195
|
+
# Create coupons according to some pattern. Up to 20.000 coupons can be created without a unique prefix. When a unique prefix is provided, up to 200.000 coupons can be created.
|
|
196
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
197
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
198
|
+
# @param new_coupons body
|
|
199
|
+
# @param [Hash] opts the optional parameters
|
|
200
|
+
# @option opts [String] :silent Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles.
|
|
201
|
+
# @return [CreateCoupons200Response]
|
|
202
|
+
describe 'create_coupons test' do
|
|
203
|
+
it 'should work' do
|
|
204
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
205
|
+
end
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
# unit tests for create_coupons_async
|
|
209
|
+
# Create coupons asynchronously
|
|
210
|
+
# Create up to 5,000,000 coupons asynchronously. You should typically use this enpdoint when you create at least 20,001 coupons. You receive an email when the creation is complete. If you want to create less than 20,001 coupons, you can use the [Create coupons](https://docs.talon.one/management-api#tag/Coupons/operation/createCoupons) endpoint.
|
|
211
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
212
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
213
|
+
# @param new_coupon_creation_job body
|
|
214
|
+
# @param [Hash] opts the optional parameters
|
|
215
|
+
# @return [AsyncCouponCreationResponse]
|
|
216
|
+
describe 'create_coupons_async test' do
|
|
217
|
+
it 'should work' do
|
|
218
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
# unit tests for create_coupons_deletion_job
|
|
223
|
+
# Creates a coupon deletion job
|
|
224
|
+
# This endpoint handles creating a job to delete coupons asynchronously.
|
|
225
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
226
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
227
|
+
# @param new_coupon_deletion_job body
|
|
228
|
+
# @param [Hash] opts the optional parameters
|
|
229
|
+
# @return [AsyncCouponDeletionJobResponse]
|
|
230
|
+
describe 'create_coupons_deletion_job test' do
|
|
231
|
+
it 'should work' do
|
|
232
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
# unit tests for create_coupons_for_multiple_recipients
|
|
237
|
+
# Create coupons for multiple recipients
|
|
238
|
+
# Create coupons according to some pattern for up to 1000 recipients.
|
|
239
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
240
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
241
|
+
# @param new_coupons_for_multiple_recipients body
|
|
242
|
+
# @param [Hash] opts the optional parameters
|
|
243
|
+
# @option opts [String] :silent Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles.
|
|
244
|
+
# @return [CreateCoupons200Response]
|
|
245
|
+
describe 'create_coupons_for_multiple_recipients test' do
|
|
246
|
+
it 'should work' do
|
|
247
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# unit tests for create_invite_email
|
|
252
|
+
# Resend invitation email
|
|
253
|
+
# Resend an email invitation to an existing user. **Note:** The invitation token is valid for 24 hours after the email has been sent.
|
|
254
|
+
# @param new_invite_email body
|
|
255
|
+
# @param [Hash] opts the optional parameters
|
|
256
|
+
# @return [NewInviteEmail]
|
|
257
|
+
describe 'create_invite_email test' do
|
|
258
|
+
it 'should work' do
|
|
259
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
260
|
+
end
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# unit tests for create_invite_v2
|
|
264
|
+
# Invite user
|
|
265
|
+
# Create a new user in the account and send an invitation to their email address. **Note**: The invitation token is valid for 24 hours after the email has been sent. You can resend an invitation to a user with the [Resend invitation email](https://docs.talon.one/management-api#tag/Accounts-and-users/operation/createInviteEmail) endpoint.
|
|
266
|
+
# @param new_invitation body
|
|
267
|
+
# @param [Hash] opts the optional parameters
|
|
268
|
+
# @return [User]
|
|
269
|
+
describe 'create_invite_v2 test' do
|
|
270
|
+
it 'should work' do
|
|
271
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
272
|
+
end
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
# unit tests for create_password_recovery_email
|
|
276
|
+
# Request a password reset
|
|
277
|
+
# Send an email with a password recovery link to the email address of an existing account. **Note:** The password recovery link expires 30 minutes after this endpoint is triggered.
|
|
278
|
+
# @param new_password_email body
|
|
279
|
+
# @param [Hash] opts the optional parameters
|
|
280
|
+
# @return [NewPasswordEmail]
|
|
281
|
+
describe 'create_password_recovery_email test' do
|
|
282
|
+
it 'should work' do
|
|
283
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
284
|
+
end
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# unit tests for create_session
|
|
288
|
+
# Create session
|
|
289
|
+
# Create a session to use the Management API endpoints. Use the value of the `token` property provided in the response as bearer token in other API calls. A token is valid for 3 months. In accordance with best pratices, use your generated token for all your API requests. Do **not** regenerate a token for each request. This endpoint has a rate limit of 3 to 6 requests per second per account, depending on your setup. <div class=\"redoc-section\"> <p class=\"title\">Granular API key</p> Instead of using a session, you can also use the <a href=\"https://docs.talon.one/docs/product/account/dev-tools/managing-mapi-keys\">Management API key feature</a> in the Campaign Manager to decide which endpoints can be used with a given key. </div>
|
|
290
|
+
# @param login_params body
|
|
291
|
+
# @param [Hash] opts the optional parameters
|
|
292
|
+
# @return [Session]
|
|
293
|
+
describe 'create_session test' do
|
|
294
|
+
it 'should work' do
|
|
295
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
296
|
+
end
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
# unit tests for create_store
|
|
300
|
+
# Create store
|
|
301
|
+
# Create a new store in a specific Application.
|
|
302
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
303
|
+
# @param new_store body
|
|
304
|
+
# @param [Hash] opts the optional parameters
|
|
305
|
+
# @return [Store]
|
|
306
|
+
describe 'create_store test' do
|
|
307
|
+
it 'should work' do
|
|
308
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
309
|
+
end
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# unit tests for deactivate_user_by_email
|
|
313
|
+
# Disable user by email address
|
|
314
|
+
# [Disable a specific user](https://docs.talon.one/docs/product/account/account-settings/managing-users#disabling-a-user) by their email address.
|
|
315
|
+
# @param deactivate_user_request body
|
|
316
|
+
# @param [Hash] opts the optional parameters
|
|
317
|
+
# @return [nil]
|
|
318
|
+
describe 'deactivate_user_by_email test' do
|
|
319
|
+
it 'should work' do
|
|
320
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
321
|
+
end
|
|
322
|
+
end
|
|
323
|
+
|
|
324
|
+
# unit tests for deduct_loyalty_card_points
|
|
325
|
+
# Deduct points from card
|
|
326
|
+
# Deduct points from the given loyalty card in the specified card-based loyalty program.
|
|
327
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
328
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
|
329
|
+
# @param deduct_loyalty_points body
|
|
330
|
+
# @param [Hash] opts the optional parameters
|
|
331
|
+
# @return [nil]
|
|
332
|
+
describe 'deduct_loyalty_card_points test' do
|
|
333
|
+
it 'should work' do
|
|
334
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
335
|
+
end
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
# unit tests for delete_account_collection
|
|
339
|
+
# Delete account-level collection
|
|
340
|
+
# Delete a given account-level collection.
|
|
341
|
+
# @param collection_id The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
|
|
342
|
+
# @param [Hash] opts the optional parameters
|
|
343
|
+
# @return [nil]
|
|
344
|
+
describe 'delete_account_collection test' do
|
|
345
|
+
it 'should work' do
|
|
346
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
347
|
+
end
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
# unit tests for delete_achievement
|
|
351
|
+
# Delete achievement
|
|
352
|
+
# Delete the specified achievement.
|
|
353
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
354
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
355
|
+
# @param achievement_id The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint.
|
|
356
|
+
# @param [Hash] opts the optional parameters
|
|
357
|
+
# @return [nil]
|
|
358
|
+
describe 'delete_achievement test' do
|
|
359
|
+
it 'should work' do
|
|
360
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
361
|
+
end
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
# unit tests for delete_campaign
|
|
365
|
+
# Delete campaign
|
|
366
|
+
# Delete the given campaign.
|
|
367
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
368
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
369
|
+
# @param [Hash] opts the optional parameters
|
|
370
|
+
# @return [nil]
|
|
371
|
+
describe 'delete_campaign test' do
|
|
372
|
+
it 'should work' do
|
|
373
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
374
|
+
end
|
|
375
|
+
end
|
|
376
|
+
|
|
377
|
+
# unit tests for delete_campaign_store_budgets
|
|
378
|
+
# Delete campaign store budgets
|
|
379
|
+
# Delete the store budgets for a given campaign.
|
|
380
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
381
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
382
|
+
# @param [Hash] opts the optional parameters
|
|
383
|
+
# @option opts [String] :action The action that this budget is limiting.
|
|
384
|
+
# @option opts [String] :period The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`.
|
|
385
|
+
# @return [nil]
|
|
386
|
+
describe 'delete_campaign_store_budgets test' do
|
|
387
|
+
it 'should work' do
|
|
388
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
389
|
+
end
|
|
390
|
+
end
|
|
391
|
+
|
|
392
|
+
# unit tests for delete_collection
|
|
393
|
+
# Delete campaign-level collection
|
|
394
|
+
# Delete a given campaign-level collection.
|
|
395
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
396
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
397
|
+
# @param collection_id The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint.
|
|
398
|
+
# @param [Hash] opts the optional parameters
|
|
399
|
+
# @return [nil]
|
|
400
|
+
describe 'delete_collection test' do
|
|
401
|
+
it 'should work' do
|
|
402
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
403
|
+
end
|
|
404
|
+
end
|
|
405
|
+
|
|
406
|
+
# unit tests for delete_coupon
|
|
407
|
+
# Delete coupon
|
|
408
|
+
# Delete the specified coupon.
|
|
409
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
410
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
411
|
+
# @param coupon_id The internal ID of the coupon code. You can find this value in the `id` property from the [List coupons](https://docs.talon.one/management-api#tag/Coupons/operation/getCouponsWithoutTotalCount) endpoint response.
|
|
412
|
+
# @param [Hash] opts the optional parameters
|
|
413
|
+
# @return [nil]
|
|
414
|
+
describe 'delete_coupon test' do
|
|
415
|
+
it 'should work' do
|
|
416
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
417
|
+
end
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
# unit tests for delete_coupons
|
|
421
|
+
# Delete coupons
|
|
422
|
+
# Deletes all the coupons matching the specified criteria.
|
|
423
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
424
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
425
|
+
# @param [Hash] opts the optional parameters
|
|
426
|
+
# @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
|
|
427
|
+
# @option opts [Time] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
428
|
+
# @option opts [Time] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
429
|
+
# @option opts [Time] :starts_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon start date timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
430
|
+
# @option opts [Time] :starts_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon start date timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
431
|
+
# @option opts [Time] :expires_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon expiration date timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
432
|
+
# @option opts [Time] :expires_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon expiration date timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
433
|
+
# @option opts [String] :valid - `expired`: Matches coupons in which the expiration date is set and in the past. - `validNow`: Matches coupons in which start date is null or in the past and expiration date is null or in the future. - `validFuture`: Matches coupons in which start date is set and in the future.
|
|
434
|
+
# @option opts [String] :batch_id Filter results by batches of coupons
|
|
435
|
+
# @option opts [String] :usable - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned.
|
|
436
|
+
# @option opts [Integer] :referral_id Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code.
|
|
437
|
+
# @option opts [String] :recipient_integration_id Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field.
|
|
438
|
+
# @option opts [Boolean] :exact_match Filter results to an exact case-insensitive matching against the coupon code
|
|
439
|
+
# @return [nil]
|
|
440
|
+
describe 'delete_coupons test' do
|
|
441
|
+
it 'should work' do
|
|
442
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
443
|
+
end
|
|
444
|
+
end
|
|
445
|
+
|
|
446
|
+
# unit tests for delete_loyalty_card
|
|
447
|
+
# Delete loyalty card
|
|
448
|
+
# Delete the given loyalty card.
|
|
449
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
450
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
|
451
|
+
# @param [Hash] opts the optional parameters
|
|
452
|
+
# @return [nil]
|
|
453
|
+
describe 'delete_loyalty_card test' do
|
|
454
|
+
it 'should work' do
|
|
455
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
456
|
+
end
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
# unit tests for delete_referral
|
|
460
|
+
# Delete referral
|
|
461
|
+
# Delete the specified referral.
|
|
462
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
463
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
464
|
+
# @param referral_id The ID of the referral code.
|
|
465
|
+
# @param [Hash] opts the optional parameters
|
|
466
|
+
# @return [nil]
|
|
467
|
+
describe 'delete_referral test' do
|
|
468
|
+
it 'should work' do
|
|
469
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
470
|
+
end
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
# unit tests for delete_store
|
|
474
|
+
# Delete store
|
|
475
|
+
# Delete the specified store.
|
|
476
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
477
|
+
# @param store_id The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint.
|
|
478
|
+
# @param [Hash] opts the optional parameters
|
|
479
|
+
# @return [nil]
|
|
480
|
+
describe 'delete_store test' do
|
|
481
|
+
it 'should work' do
|
|
482
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
483
|
+
end
|
|
484
|
+
end
|
|
485
|
+
|
|
486
|
+
# unit tests for delete_user
|
|
487
|
+
# Delete user
|
|
488
|
+
# Delete a specific user.
|
|
489
|
+
# @param user_id The ID of the user.
|
|
490
|
+
# @param [Hash] opts the optional parameters
|
|
491
|
+
# @return [nil]
|
|
492
|
+
describe 'delete_user test' do
|
|
493
|
+
it 'should work' do
|
|
494
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
495
|
+
end
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
# unit tests for delete_user_by_email
|
|
499
|
+
# Delete user by email address
|
|
500
|
+
# [Delete a specific user](https://docs.talon.one/docs/product/account/account-settings/managing-users#deleting-a-user) by their email address.
|
|
501
|
+
# @param delete_user_request body
|
|
502
|
+
# @param [Hash] opts the optional parameters
|
|
503
|
+
# @return [nil]
|
|
504
|
+
describe 'delete_user_by_email test' do
|
|
505
|
+
it 'should work' do
|
|
506
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
507
|
+
end
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
# unit tests for destroy_session
|
|
511
|
+
# Destroy session
|
|
512
|
+
# Destroys the session.
|
|
513
|
+
# @param [Hash] opts the optional parameters
|
|
514
|
+
# @return [nil]
|
|
515
|
+
describe 'destroy_session test' do
|
|
516
|
+
it 'should work' do
|
|
517
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
518
|
+
end
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
# unit tests for disconnect_campaign_stores
|
|
522
|
+
# Disconnect stores
|
|
523
|
+
# Disconnect the stores linked to a specific campaign.
|
|
524
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
525
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
526
|
+
# @param [Hash] opts the optional parameters
|
|
527
|
+
# @return [nil]
|
|
528
|
+
describe 'disconnect_campaign_stores test' do
|
|
529
|
+
it 'should work' do
|
|
530
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
531
|
+
end
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
# unit tests for export_account_collection_items
|
|
535
|
+
# Export account-level collection's items
|
|
536
|
+
# Download a CSV file containing items from a given account-level collection. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
|
|
537
|
+
# @param collection_id The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
|
|
538
|
+
# @param [Hash] opts the optional parameters
|
|
539
|
+
# @return [String]
|
|
540
|
+
describe 'export_account_collection_items test' do
|
|
541
|
+
it 'should work' do
|
|
542
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
543
|
+
end
|
|
544
|
+
end
|
|
545
|
+
|
|
546
|
+
# unit tests for export_achievements
|
|
547
|
+
# Export achievement customer data
|
|
548
|
+
# Download a CSV file containing a list of all the customers who have participated in and are currently participating in the given achievement. The CSV file contains the following columns: - `profileIntegrationID`: The integration ID of the customer profile participating in the achievement. - `title`: The display name of the achievement in the Campaign Manager. - `target`: The required number of actions or the transactional milestone to complete the achievement. - `progress`: The current progress of the customer in the achievement. - `status`: The status of the achievement. Can be one of: ['inprogress', 'completed', 'expired']. - `startDate`: The date on which the customer profile started the achievement in RFC3339. - `endDate`: The date on which the achievement ends and resets for the customer profile in RFC3339. - `completionDate`: The date on which the customer profile completed the achievement in RFC3339.
|
|
549
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
550
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
551
|
+
# @param achievement_id The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint.
|
|
552
|
+
# @param [Hash] opts the optional parameters
|
|
553
|
+
# @return [String]
|
|
554
|
+
describe 'export_achievements test' do
|
|
555
|
+
it 'should work' do
|
|
556
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
557
|
+
end
|
|
558
|
+
end
|
|
559
|
+
|
|
560
|
+
# unit tests for export_audiences_memberships
|
|
561
|
+
# Export audience members
|
|
562
|
+
# Download a CSV file containing the integration IDs of the members of an audience. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The file contains the following column: - `profileintegrationid`: The integration ID of the customer profile.
|
|
563
|
+
# @param audience_id The ID of the audience.
|
|
564
|
+
# @param [Hash] opts the optional parameters
|
|
565
|
+
# @return [String]
|
|
566
|
+
describe 'export_audiences_memberships test' do
|
|
567
|
+
it 'should work' do
|
|
568
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
569
|
+
end
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
# unit tests for export_campaign_store_budgets
|
|
573
|
+
# Export campaign store budgets
|
|
574
|
+
# Download a CSV file containing the store budgets for a given campaign. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following columns: - `store_integration_id`: The identifier of the store. - `limit`: The budget limit for the store.
|
|
575
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
576
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
577
|
+
# @param [Hash] opts the optional parameters
|
|
578
|
+
# @option opts [String] :action The action that this budget is limiting.
|
|
579
|
+
# @option opts [String] :period The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`.
|
|
580
|
+
# @return [String]
|
|
581
|
+
describe 'export_campaign_store_budgets test' do
|
|
582
|
+
it 'should work' do
|
|
583
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
584
|
+
end
|
|
585
|
+
end
|
|
586
|
+
|
|
587
|
+
# unit tests for export_campaign_stores
|
|
588
|
+
# Export stores
|
|
589
|
+
# Download a CSV file containing the stores linked to a specific campaign. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following column: - `store_integration_id`: The identifier of the store.
|
|
590
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
591
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
592
|
+
# @param [Hash] opts the optional parameters
|
|
593
|
+
# @return [String]
|
|
594
|
+
describe 'export_campaign_stores test' do
|
|
595
|
+
it 'should work' do
|
|
596
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
597
|
+
end
|
|
598
|
+
end
|
|
599
|
+
|
|
600
|
+
# unit tests for export_collection_items
|
|
601
|
+
# Export campaign-level collection's items
|
|
602
|
+
# Download a CSV file containing items from a given campaign-level collection. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
|
|
603
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
604
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
605
|
+
# @param collection_id The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint.
|
|
606
|
+
# @param [Hash] opts the optional parameters
|
|
607
|
+
# @return [String]
|
|
608
|
+
describe 'export_collection_items test' do
|
|
609
|
+
it 'should work' do
|
|
610
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
611
|
+
end
|
|
612
|
+
end
|
|
613
|
+
|
|
614
|
+
# unit tests for export_coupons
|
|
615
|
+
# Export coupons
|
|
616
|
+
# Download a CSV file containing the coupons that match the given properties. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file can contain the following columns: - `accountid`: The ID of your deployment. - `applicationid`: The ID of the Application this coupon is related to. - `attributes`: A json object describing _custom_ referral attribute names and their values. - `batchid`: The ID of the batch this coupon is part of. - `campaignid`: The ID of the campaign this coupon is related to. - `counter`: The number of times this coupon has been redeemed. - `created`: The creation date in RFC3339 of the coupon code. - `deleted`: Whether the coupon code is deleted. - `deleted_changelogid`: The ID of the delete event in the logs. - `discount_counter`: The amount of discount given by this coupon. - `discount_limitval`: The maximum discount amount that can be given be this coupon. - `expirydate`: The end date in RFC3339 of the code redemption period. - `id`: The internal ID of the coupon code. - `importid`: The ID of the import job that created this coupon. - `is_reservation_mandatory`: Whether this coupon requires a reservation to be redeemed. - `limits`: The limits set on this coupon. - `limitval`: The maximum number of redemptions of this code. - `recipientintegrationid`: The integration ID of the recipient of the coupon. Only the customer with this integration ID can redeem this code. Available only for personal codes. - `referralid`: The ID of the referral code that triggered the creation of this coupon (create coupon effect). - `reservation`: Whether the coupon can be reserved for multiple customers. - `reservation_counter`: How many times this coupon has been reserved. - `reservation_limitval`: The maximum of number of reservations this coupon can have. - `startdate`: The start date in RFC3339 of the code redemption period. - `value`: The coupon code.
|
|
617
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
618
|
+
# @param [Hash] opts the optional parameters
|
|
619
|
+
# @option opts [Float] :campaign_id Filter results by campaign ID.
|
|
620
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
621
|
+
# @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
|
|
622
|
+
# @option opts [Time] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
623
|
+
# @option opts [Time] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
624
|
+
# @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiration date is set and in the past. The second matches coupons in which start date is null or in the past and expiration date is null or in the future, the third matches coupons in which start date is set and in the future.
|
|
625
|
+
# @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
|
|
626
|
+
# @option opts [Integer] :referral_id Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code.
|
|
627
|
+
# @option opts [String] :recipient_integration_id Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field.
|
|
628
|
+
# @option opts [String] :batch_id Filter results by batches of coupons
|
|
629
|
+
# @option opts [Boolean] :exact_match Filter results to an exact case-insensitive matching against the coupon code.
|
|
630
|
+
# @option opts [String] :date_format Determines the format of dates in the export document.
|
|
631
|
+
# @option opts [String] :campaign_state Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived.
|
|
632
|
+
# @option opts [Boolean] :values_only Filter results to only return the coupon codes (`value` column) without the associated coupon data.
|
|
633
|
+
# @return [String]
|
|
634
|
+
describe 'export_coupons test' do
|
|
635
|
+
it 'should work' do
|
|
636
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
637
|
+
end
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
# unit tests for export_customer_sessions
|
|
641
|
+
# Export customer sessions
|
|
642
|
+
# Download a CSV file containing the customer sessions that match the request. **Important:** Archived sessions cannot be exported. See the [retention policy](https://docs.talon.one/docs/dev/server-infrastructure-and-data-retention). **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). - `id`: The internal ID of the session. - `firstsession`: Whether this is a first session. - `integrationid`: The integration ID of the session. - `applicationid`: The ID of the Application. - `profileid`: The internal ID of the customer profile. - `profileintegrationid`: The integration ID of the customer profile. - `created`: The timestamp when the session was created. - `state`: The [state](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states) of the session. - `cartitems`: The cart items in the session. - `discounts`: The discounts in the session. - `total`: The total value of cart items and additional costs in the session, before any discounts are applied. - `attributes`: The attributes set in the session. - `closedat`: Timestamp when the session was closed. - `cancelledat`: Timestamp when the session was cancelled. - `referral`: The referral code in the session. - `identifiers`: The identifiers in the session. - `additional_costs`: The [additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs) in the session. - `updated`: Timestamp of the last session update. - `store_integration_id`: The integration ID of the store. - `coupons`: Coupon codes in the session.
|
|
643
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
644
|
+
# @param [Hash] opts the optional parameters
|
|
645
|
+
# @option opts [Time] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string.
|
|
646
|
+
# @option opts [Time] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string.
|
|
647
|
+
# @option opts [String] :profile_integration_id Only return sessions for the customer that matches this customer integration ID.
|
|
648
|
+
# @option opts [String] :date_format Determines the format of dates in the export document.
|
|
649
|
+
# @option opts [String] :customer_session_state Filter results by state.
|
|
650
|
+
# @return [String]
|
|
651
|
+
describe 'export_customer_sessions test' do
|
|
652
|
+
it 'should work' do
|
|
653
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
654
|
+
end
|
|
655
|
+
end
|
|
656
|
+
|
|
657
|
+
# unit tests for export_customers_tiers
|
|
658
|
+
# Export customers' tier data
|
|
659
|
+
# Download a CSV file containing the tier information for customers of the specified loyalty program. The generated file contains the following columns: - `programid`: The identifier of the loyalty program. It is displayed in your Talon.One deployment URL. - `subledgerid`: The ID of the subledger associated with the loyalty program. This column is empty if the loyalty program has no subledger. In this case, refer to the export file name to get the ID of the loyalty program. - `customerprofileid`: The ID used to integrate customer profiles with the loyalty program. - `tiername`: The name of the tier. - `startdate`: The tier start date in RFC3339. - `expirydate`: The tier expiry date in RFC3339. You can filter the results by providing the following optional input parameters: - `subledgerIds` (optional): Filter results by an array of subledger IDs. If no value is provided, all subledger data for the specified loyalty program will be exported. - `tierNames` (optional): Filter results by an array of tier names. If no value is provided, all tier data for the specified loyalty program will be exported.
|
|
660
|
+
# @param loyalty_program_id The identifier for the loyalty program.
|
|
661
|
+
# @param [Hash] opts the optional parameters
|
|
662
|
+
# @option opts [Array<String>] :subledger_ids An array of subledgers IDs to filter the export by.
|
|
663
|
+
# @option opts [Array<String>] :tier_names An array of tier names to filter the export by.
|
|
664
|
+
# @return [String]
|
|
665
|
+
describe 'export_customers_tiers test' do
|
|
666
|
+
it 'should work' do
|
|
667
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
668
|
+
end
|
|
669
|
+
end
|
|
670
|
+
|
|
671
|
+
# unit tests for export_effects
|
|
672
|
+
# Export triggered effects
|
|
673
|
+
# Download a CSV file containing the triggered effects that match the given attributes. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `applicationid`: The ID of the Application. - `campaignid`: The ID of the campaign. - `couponid`: The ID of the coupon, when applicable to the effect. - `created`: The timestamp of the effect. - `event_type`: The name of the event. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/events). - `eventid`: The internal ID of the effect. - `name`: The effect name. See the [docs](https://docs.talon.one/docs/dev/integration-api/api-effects). - `profileintegrationid`: The ID of the customer profile, when applicable. - `props`: The [properties](https://docs.talon.one/docs/dev/integration-api/api-effects) of the effect. - `ruleindex`: The index of the rule. - `rulesetid`: The ID of the rule set. - `sessionid`: The internal ID of the session that triggered the effect. - `profileid`: The internal ID of the customer profile. - `sessionintegrationid`: The integration ID of the session. - `total_revenue`: The total revenue. - `store_integration_id`: The integration ID of the store. You choose this ID when you create a store.
|
|
674
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
675
|
+
# @param [Hash] opts the optional parameters
|
|
676
|
+
# @option opts [Float] :campaign_id Filter results by campaign ID.
|
|
677
|
+
# @option opts [Time] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
678
|
+
# @option opts [Time] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
679
|
+
# @option opts [String] :date_format Determines the format of dates in the export document.
|
|
680
|
+
# @return [String]
|
|
681
|
+
describe 'export_effects test' do
|
|
682
|
+
it 'should work' do
|
|
683
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
684
|
+
end
|
|
685
|
+
end
|
|
686
|
+
|
|
687
|
+
# unit tests for export_loyalty_balance
|
|
688
|
+
# Export customer loyalty balance to CSV
|
|
689
|
+
# ⚠️ Deprecation notice: Support for requests to this endpoint will end soon. To export customer loyalty balances to CSV, use the [Export customer loyalty balances to CSV](/management-api#tag/Loyalty/operation/exportLoyaltyBalances) endpoint. Download a CSV file containing the balance of each customer in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
|
|
690
|
+
# @param loyalty_program_id The identifier for the loyalty program.
|
|
691
|
+
# @param [Hash] opts the optional parameters
|
|
692
|
+
# @option opts [Time] :end_date Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
693
|
+
# @return [String]
|
|
694
|
+
describe 'export_loyalty_balance test' do
|
|
695
|
+
it 'should work' do
|
|
696
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
697
|
+
end
|
|
698
|
+
end
|
|
699
|
+
|
|
700
|
+
# unit tests for export_loyalty_balances
|
|
701
|
+
# Export customer loyalty balances
|
|
702
|
+
# Download a CSV file containing the balance of each customer in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `loyaltyProgramID`: The ID of the loyalty program. - `loyaltySubledger`: The name of the subdleger, when applicatble. - `profileIntegrationID`: The integration ID of the customer profile. - `currentBalance`: The current point balance. - `pendingBalance`: The number of pending points. - `expiredBalance`: The number of expired points. - `spentBalance`: The number of spent points. - `currentTier`: The tier that the customer is in at the time of the export.
|
|
703
|
+
# @param loyalty_program_id The identifier for the loyalty program.
|
|
704
|
+
# @param [Hash] opts the optional parameters
|
|
705
|
+
# @option opts [Time] :end_date Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
706
|
+
# @return [String]
|
|
707
|
+
describe 'export_loyalty_balances test' do
|
|
708
|
+
it 'should work' do
|
|
709
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
710
|
+
end
|
|
711
|
+
end
|
|
712
|
+
|
|
713
|
+
# unit tests for export_loyalty_card_balances
|
|
714
|
+
# Export all card transaction logs
|
|
715
|
+
# Download a CSV file containing the balances of all cards in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following columns: - `loyaltyProgramID`: The ID of the loyalty program. - `loyaltySubledger`: The name of the subdleger, when applicatble. - `cardIdentifier`: The alphanumeric identifier of the loyalty card. - `cardState`:The state of the loyalty card. It can be `active` or `inactive`. - `currentBalance`: The current point balance. - `pendingBalance`: The number of pending points. - `expiredBalance`: The number of expired points. - `spentBalance`: The number of spent points.
|
|
716
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
717
|
+
# @param [Hash] opts the optional parameters
|
|
718
|
+
# @option opts [Time] :end_date Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
719
|
+
# @return [String]
|
|
720
|
+
describe 'export_loyalty_card_balances test' do
|
|
721
|
+
it 'should work' do
|
|
722
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
723
|
+
end
|
|
724
|
+
end
|
|
725
|
+
|
|
726
|
+
# unit tests for export_loyalty_card_ledger
|
|
727
|
+
# Export card's ledger log
|
|
728
|
+
# Download a CSV file containing a loyalty card ledger log of the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
|
|
729
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
730
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
|
731
|
+
# @param range_start Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
732
|
+
# @param range_end Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
733
|
+
# @param [Hash] opts the optional parameters
|
|
734
|
+
# @option opts [String] :date_format Determines the format of dates in the export document.
|
|
735
|
+
# @return [String]
|
|
736
|
+
describe 'export_loyalty_card_ledger test' do
|
|
737
|
+
it 'should work' do
|
|
738
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
739
|
+
end
|
|
740
|
+
end
|
|
741
|
+
|
|
742
|
+
# unit tests for export_loyalty_cards
|
|
743
|
+
# Export loyalty cards
|
|
744
|
+
# Download a CSV file containing the loyalty cards from a specified loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following columns: - `identifier`: The unique identifier of the loyalty card. - `created`: The date and time the loyalty card was created. - `status`: The status of the loyalty card. - `userpercardlimit`: The maximum number of customer profiles that can be linked to the card. - `customerprofileids`: Integration IDs of the customer profiles linked to the card. - `blockreason`: The reason for transferring and blocking the loyalty card. - `generated`: An indicator of whether the loyalty card was generated. - `batchid`: The ID of the batch the loyalty card is in.
|
|
745
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
746
|
+
# @param [Hash] opts the optional parameters
|
|
747
|
+
# @option opts [String] :batch_id Filter results by loyalty card batch ID.
|
|
748
|
+
# @option opts [Time] :created_before Only return loyalty cards created before this timestamp. **Note:** - This must be an RFC3339 timestamp string.
|
|
749
|
+
# @option opts [Time] :created_after Only return loyalty cards created after this timestamp. **Note:** - This must be an RFC3339 timestamp string.
|
|
750
|
+
# @option opts [String] :date_format Determines the format of dates in the export document.
|
|
751
|
+
# @return [String]
|
|
752
|
+
describe 'export_loyalty_cards test' do
|
|
753
|
+
it 'should work' do
|
|
754
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
755
|
+
end
|
|
756
|
+
end
|
|
757
|
+
|
|
758
|
+
# unit tests for export_loyalty_ledger
|
|
759
|
+
# Export customer's transaction logs
|
|
760
|
+
# Download a CSV file containing a customer's transaction logs in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance. - `transactionUUID`: Unique identifier of the transaction in the UUID format.
|
|
761
|
+
# @param range_start Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
762
|
+
# @param range_end Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
763
|
+
# @param loyalty_program_id The identifier for the loyalty program.
|
|
764
|
+
# @param integration_id The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.
|
|
765
|
+
# @param [Hash] opts the optional parameters
|
|
766
|
+
# @option opts [String] :date_format Determines the format of dates in the export document.
|
|
767
|
+
# @return [String]
|
|
768
|
+
describe 'export_loyalty_ledger test' do
|
|
769
|
+
it 'should work' do
|
|
770
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
771
|
+
end
|
|
772
|
+
end
|
|
773
|
+
|
|
774
|
+
# unit tests for export_pool_giveaways
|
|
775
|
+
# Export giveaway codes of a giveaway pool
|
|
776
|
+
# Download a CSV file containing the giveaway codes of a specific giveaway pool. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following columns: - `id`: The internal ID of the giveaway. - `poolid`: The internal ID of the giveaway pool. - `code`: The giveaway code. - `startdate`: The validity start date in RFC3339 of the giveaway (can be empty). - `enddate`: The validity end date in RFC3339 of the giveaway (can be empty). - `attributes`: Any custom attributes associated with the giveaway code (can be empty). - `used`: An indication of whether the giveaway is already awarded. - `importid`: The ID of the import which created the giveaway. - `created`: The creation time of the giveaway code. - `profileintegrationid`: The third-party integration ID of the customer profile that was awarded the giveaway. Can be empty if the giveaway was not awarded. - `profileid`: The internal ID of the customer profile that was awarded the giveaway. Can be empty if the giveaway was not awarded or an internal ID does not exist.
|
|
777
|
+
# @param pool_id The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section.
|
|
778
|
+
# @param [Hash] opts the optional parameters
|
|
779
|
+
# @option opts [Time] :created_before Timestamp that filters the results to only contain giveaways created before this date. Must be an RFC3339 timestamp string.
|
|
780
|
+
# @option opts [Time] :created_after Timestamp that filters the results to only contain giveaways created after this date. Must be an RFC3339 timestamp string.
|
|
781
|
+
# @return [String]
|
|
782
|
+
describe 'export_pool_giveaways test' do
|
|
783
|
+
it 'should work' do
|
|
784
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
785
|
+
end
|
|
786
|
+
end
|
|
787
|
+
|
|
788
|
+
# unit tests for export_referrals
|
|
789
|
+
# Export referrals
|
|
790
|
+
# Download a CSV file containing the referrals that match the given parameters. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following columns: - `code`: The referral code. - `advocateprofileintegrationid`: The profile ID of the advocate. - `startdate`: The start date in RFC3339 of the code redemption period. - `expirydate`: The end date in RFC3339 of the code redemption period. - `limitval`: The maximum number of redemptions of this code. Defaults to `1` when left blank. - `attributes`: A json object describing _custom_ referral attribute names and their values.
|
|
791
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
792
|
+
# @param [Hash] opts the optional parameters
|
|
793
|
+
# @option opts [Float] :campaign_id Filter results by campaign ID.
|
|
794
|
+
# @option opts [Time] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
795
|
+
# @option opts [Time] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
796
|
+
# @option opts [String] :valid - `expired`: Matches referrals in which the expiration date is set and in the past. - `validNow`: Matches referrals in which start date is null or in the past and expiration date is null or in the future. - `validFuture`: Matches referrals in which start date is set and in the future.
|
|
797
|
+
# @option opts [String] :usable - `true`, only referrals where `usageCounter < usageLimit` will be returned. - `false`, only referrals where `usageCounter >= usageLimit` will be returned.
|
|
798
|
+
# @option opts [String] :batch_id Filter results by batches of referrals
|
|
799
|
+
# @option opts [String] :date_format Determines the format of dates in the export document.
|
|
800
|
+
# @return [String]
|
|
801
|
+
describe 'export_referrals test' do
|
|
802
|
+
it 'should work' do
|
|
803
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
804
|
+
end
|
|
805
|
+
end
|
|
806
|
+
|
|
807
|
+
# unit tests for get_access_logs_without_total_count
|
|
808
|
+
# Get access logs for Application
|
|
809
|
+
# Retrieve the list of API calls sent to the specified Application.
|
|
810
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
811
|
+
# @param range_start Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
812
|
+
# @param range_end Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
813
|
+
# @param [Hash] opts the optional parameters
|
|
814
|
+
# @option opts [String] :path Only return results where the request path matches the given regular expression.
|
|
815
|
+
# @option opts [String] :method Only return results where the request method matches the given regular expression.
|
|
816
|
+
# @option opts [String] :status Filter results by HTTP status codes.
|
|
817
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
818
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
819
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
820
|
+
# @return [GetAccessLogsWithoutTotalCount200Response]
|
|
821
|
+
describe 'get_access_logs_without_total_count test' do
|
|
822
|
+
it 'should work' do
|
|
823
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
824
|
+
end
|
|
825
|
+
end
|
|
826
|
+
|
|
827
|
+
# unit tests for get_account
|
|
828
|
+
# Get account details
|
|
829
|
+
# Return the details of your companies Talon.One account.
|
|
830
|
+
# @param account_id The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property.
|
|
831
|
+
# @param [Hash] opts the optional parameters
|
|
832
|
+
# @return [Account]
|
|
833
|
+
describe 'get_account test' do
|
|
834
|
+
it 'should work' do
|
|
835
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
836
|
+
end
|
|
837
|
+
end
|
|
838
|
+
|
|
839
|
+
# unit tests for get_account_analytics
|
|
840
|
+
# Get account analytics
|
|
841
|
+
# Return the analytics of your Talon.One account.
|
|
842
|
+
# @param account_id The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property.
|
|
843
|
+
# @param [Hash] opts the optional parameters
|
|
844
|
+
# @return [AccountAnalytics]
|
|
845
|
+
describe 'get_account_analytics test' do
|
|
846
|
+
it 'should work' do
|
|
847
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
848
|
+
end
|
|
849
|
+
end
|
|
850
|
+
|
|
851
|
+
# unit tests for get_account_collection
|
|
852
|
+
# Get account-level collection
|
|
853
|
+
# Retrieve a given account-level collection.
|
|
854
|
+
# @param collection_id The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
|
|
855
|
+
# @param [Hash] opts the optional parameters
|
|
856
|
+
# @return [Collection]
|
|
857
|
+
describe 'get_account_collection test' do
|
|
858
|
+
it 'should work' do
|
|
859
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
860
|
+
end
|
|
861
|
+
end
|
|
862
|
+
|
|
863
|
+
# unit tests for get_achievement
|
|
864
|
+
# Get achievement
|
|
865
|
+
# Get the details of a specific achievement.
|
|
866
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
867
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
868
|
+
# @param achievement_id The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint.
|
|
869
|
+
# @param [Hash] opts the optional parameters
|
|
870
|
+
# @return [Achievement]
|
|
871
|
+
describe 'get_achievement test' do
|
|
872
|
+
it 'should work' do
|
|
873
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
874
|
+
end
|
|
875
|
+
end
|
|
876
|
+
|
|
877
|
+
# unit tests for get_additional_cost
|
|
878
|
+
# Get additional cost
|
|
879
|
+
# Returns the additional cost.
|
|
880
|
+
# @param additional_cost_id The ID of the additional cost. You can find the ID the the Campaign Manager's URL when you display the details of the cost in **Account** > **Tools** > **Additional costs**.
|
|
881
|
+
# @param [Hash] opts the optional parameters
|
|
882
|
+
# @return [AccountAdditionalCost]
|
|
883
|
+
describe 'get_additional_cost test' do
|
|
884
|
+
it 'should work' do
|
|
885
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
886
|
+
end
|
|
887
|
+
end
|
|
888
|
+
|
|
889
|
+
# unit tests for get_additional_costs
|
|
890
|
+
# List additional costs
|
|
891
|
+
# Returns all the defined additional costs for the account.
|
|
892
|
+
# @param [Hash] opts the optional parameters
|
|
893
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
894
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
895
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
896
|
+
# @return [GetAdditionalCosts200Response]
|
|
897
|
+
describe 'get_additional_costs test' do
|
|
898
|
+
it 'should work' do
|
|
899
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
900
|
+
end
|
|
901
|
+
end
|
|
902
|
+
|
|
903
|
+
# unit tests for get_application
|
|
904
|
+
# Get Application
|
|
905
|
+
# Get the application specified by the ID.
|
|
906
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
907
|
+
# @param [Hash] opts the optional parameters
|
|
908
|
+
# @return [Application]
|
|
909
|
+
describe 'get_application test' do
|
|
910
|
+
it 'should work' do
|
|
911
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
912
|
+
end
|
|
913
|
+
end
|
|
914
|
+
|
|
915
|
+
# unit tests for get_application_api_health
|
|
916
|
+
# Get Application health
|
|
917
|
+
# Display the health of the Application and show the last time the Application was used. You can also find this information in the Campaign Manager. In your Application, click **Settings** > **Integration API Keys**. See the [docs](https://docs.talon.one/docs/dev/tutorials/monitoring-integration-status).
|
|
918
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
919
|
+
# @param [Hash] opts the optional parameters
|
|
920
|
+
# @return [ApplicationApiHealth]
|
|
921
|
+
describe 'get_application_api_health test' do
|
|
922
|
+
it 'should work' do
|
|
923
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
924
|
+
end
|
|
925
|
+
end
|
|
926
|
+
|
|
927
|
+
# unit tests for get_application_customer
|
|
928
|
+
# Get application's customer
|
|
929
|
+
# Retrieve the customers of the specified application.
|
|
930
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
931
|
+
# @param customer_id The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
|
|
932
|
+
# @param [Hash] opts the optional parameters
|
|
933
|
+
# @return [ApplicationCustomer]
|
|
934
|
+
describe 'get_application_customer test' do
|
|
935
|
+
it 'should work' do
|
|
936
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
937
|
+
end
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
# unit tests for get_application_customer_friends
|
|
941
|
+
# List friends referred by customer profile
|
|
942
|
+
# List the friends referred by the specified customer profile in this Application.
|
|
943
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
944
|
+
# @param integration_id The Integration ID of the Advocate's Profile.
|
|
945
|
+
# @param [Hash] opts the optional parameters
|
|
946
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
947
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
948
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
949
|
+
# @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
|
|
950
|
+
# @return [GetApplicationCustomerFriends200Response]
|
|
951
|
+
describe 'get_application_customer_friends test' do
|
|
952
|
+
it 'should work' do
|
|
953
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
954
|
+
end
|
|
955
|
+
end
|
|
956
|
+
|
|
957
|
+
# unit tests for get_application_customers
|
|
958
|
+
# List application's customers
|
|
959
|
+
# List all the customers of the specified application.
|
|
960
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
961
|
+
# @param [Hash] opts the optional parameters
|
|
962
|
+
# @option opts [String] :integration_id Filter results performing an exact matching against the profile integration identifier.
|
|
963
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
964
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
965
|
+
# @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
|
|
966
|
+
# @return [GetApplicationCustomers200Response]
|
|
967
|
+
describe 'get_application_customers test' do
|
|
968
|
+
it 'should work' do
|
|
969
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
970
|
+
end
|
|
971
|
+
end
|
|
972
|
+
|
|
973
|
+
# unit tests for get_application_customers_by_attributes
|
|
974
|
+
# List application customers matching the given attributes
|
|
975
|
+
# Get a list of the application customers matching the provided criteria. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request.
|
|
976
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
977
|
+
# @param customer_profile_search_query body
|
|
978
|
+
# @param [Hash] opts the optional parameters
|
|
979
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
980
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
981
|
+
# @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
|
|
982
|
+
# @return [GetApplicationCustomersByAttributes200Response]
|
|
983
|
+
describe 'get_application_customers_by_attributes test' do
|
|
984
|
+
it 'should work' do
|
|
985
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
986
|
+
end
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
# unit tests for get_application_event_types
|
|
990
|
+
# List Applications event types
|
|
991
|
+
# Get all of the distinct values of the Event `type` property for events recorded in the application. See also: [Track an event](https://docs.talon.one/integration-api#tag/Events/operation/trackEventV2)
|
|
992
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
993
|
+
# @param [Hash] opts the optional parameters
|
|
994
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
995
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
996
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
997
|
+
# @return [GetApplicationEventTypes200Response]
|
|
998
|
+
describe 'get_application_event_types test' do
|
|
999
|
+
it 'should work' do
|
|
1000
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1001
|
+
end
|
|
1002
|
+
end
|
|
1003
|
+
|
|
1004
|
+
# unit tests for get_application_events_without_total_count
|
|
1005
|
+
# List Applications events
|
|
1006
|
+
# Lists all events recorded for an application. Instead of having the total number of results in the response, this endpoint only mentions whether there are more results.
|
|
1007
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1008
|
+
# @param [Hash] opts the optional parameters
|
|
1009
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1010
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1011
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1012
|
+
# @option opts [String] :type Comma-separated list of types by which to filter events. Must be exact match(es).
|
|
1013
|
+
# @option opts [Time] :created_before Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1014
|
+
# @option opts [Time] :created_after Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1015
|
+
# @option opts [String] :session Session integration ID filter for events. Must be exact match.
|
|
1016
|
+
# @option opts [String] :profile Profile integration ID filter for events. Must be exact match.
|
|
1017
|
+
# @option opts [String] :customer_name Customer name filter for events. Will match substrings case-insensitively.
|
|
1018
|
+
# @option opts [String] :customer_email Customer e-mail address filter for events. Will match substrings case-insensitively.
|
|
1019
|
+
# @option opts [String] :coupon_code Coupon code
|
|
1020
|
+
# @option opts [String] :referral_code Referral code
|
|
1021
|
+
# @option opts [String] :rule_query Rule name filter for events
|
|
1022
|
+
# @option opts [String] :campaign_query Campaign name filter for events
|
|
1023
|
+
# @option opts [String] :effect_type The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects).
|
|
1024
|
+
# @return [GetApplicationEventsWithoutTotalCount200Response]
|
|
1025
|
+
describe 'get_application_events_without_total_count test' do
|
|
1026
|
+
it 'should work' do
|
|
1027
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1028
|
+
end
|
|
1029
|
+
end
|
|
1030
|
+
|
|
1031
|
+
# unit tests for get_application_session
|
|
1032
|
+
# Get Application session
|
|
1033
|
+
# Get the details of the given session. You can list the sessions with the [List Application sessions](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint.
|
|
1034
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1035
|
+
# @param session_id The **internal** ID of the session. You can get the ID with the [List Application sessions](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint.
|
|
1036
|
+
# @param [Hash] opts the optional parameters
|
|
1037
|
+
# @return [ApplicationSession]
|
|
1038
|
+
describe 'get_application_session test' do
|
|
1039
|
+
it 'should work' do
|
|
1040
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1041
|
+
end
|
|
1042
|
+
end
|
|
1043
|
+
|
|
1044
|
+
# unit tests for get_application_sessions
|
|
1045
|
+
# List Application sessions
|
|
1046
|
+
# List all the sessions of the specified Application.
|
|
1047
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1048
|
+
# @param [Hash] opts the optional parameters
|
|
1049
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1050
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1051
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1052
|
+
# @option opts [String] :profile Profile integration ID filter for sessions. Must be exact match.
|
|
1053
|
+
# @option opts [String] :state Filter by sessions with this state. Must be exact match.
|
|
1054
|
+
# @option opts [Time] :created_before Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1055
|
+
# @option opts [Time] :created_after Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1056
|
+
# @option opts [String] :coupon Filter by sessions with this coupon. Must be exact match.
|
|
1057
|
+
# @option opts [String] :referral Filter by sessions with this referral. Must be exact match.
|
|
1058
|
+
# @option opts [String] :integration_id Filter by sessions with this integration ID. Must be exact match.
|
|
1059
|
+
# @option opts [String] :store_integration_id The integration ID of the store. You choose this ID when you create a store.
|
|
1060
|
+
# @return [GetApplicationSessions200Response]
|
|
1061
|
+
describe 'get_application_sessions test' do
|
|
1062
|
+
it 'should work' do
|
|
1063
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1064
|
+
end
|
|
1065
|
+
end
|
|
1066
|
+
|
|
1067
|
+
# unit tests for get_applications
|
|
1068
|
+
# List Applications
|
|
1069
|
+
# List all applications in the current account.
|
|
1070
|
+
# @param [Hash] opts the optional parameters
|
|
1071
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1072
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1073
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1074
|
+
# @return [GetApplications200Response]
|
|
1075
|
+
describe 'get_applications test' do
|
|
1076
|
+
it 'should work' do
|
|
1077
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1078
|
+
end
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1081
|
+
# unit tests for get_attribute
|
|
1082
|
+
# Get custom attribute
|
|
1083
|
+
# Retrieve the specified custom attribute.
|
|
1084
|
+
# @param attribute_id The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**.
|
|
1085
|
+
# @param [Hash] opts the optional parameters
|
|
1086
|
+
# @return [Attribute]
|
|
1087
|
+
describe 'get_attribute test' do
|
|
1088
|
+
it 'should work' do
|
|
1089
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1090
|
+
end
|
|
1091
|
+
end
|
|
1092
|
+
|
|
1093
|
+
# unit tests for get_attributes
|
|
1094
|
+
# List custom attributes
|
|
1095
|
+
# Return all the custom attributes for the account.
|
|
1096
|
+
# @param [Hash] opts the optional parameters
|
|
1097
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1098
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1099
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1100
|
+
# @option opts [String] :entity Returned attributes will be filtered by supplied entity.
|
|
1101
|
+
# @option opts [String] :application_ids Returned attributes will be filtered by supplied application ids
|
|
1102
|
+
# @option opts [String] :type Returned attributes will be filtered by supplied type
|
|
1103
|
+
# @option opts [String] :kind Returned attributes will be filtered by supplied kind (builtin or custom)
|
|
1104
|
+
# @option opts [String] :search Returned attributes will be filtered by searching case insensitive through Attribute name, description and type
|
|
1105
|
+
# @return [GetAttributes200Response]
|
|
1106
|
+
describe 'get_attributes test' do
|
|
1107
|
+
it 'should work' do
|
|
1108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1109
|
+
end
|
|
1110
|
+
end
|
|
1111
|
+
|
|
1112
|
+
# unit tests for get_audience_memberships
|
|
1113
|
+
# List audience members
|
|
1114
|
+
# Get a paginated list of the customer profiles in a given audience. A maximum of 1000 customer profiles per page is allowed.
|
|
1115
|
+
# @param audience_id The ID of the audience.
|
|
1116
|
+
# @param [Hash] opts the optional parameters
|
|
1117
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1118
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1119
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1120
|
+
# @option opts [String] :profile_query The filter to select a profile.
|
|
1121
|
+
# @return [GetAudienceMemberships200Response]
|
|
1122
|
+
describe 'get_audience_memberships test' do
|
|
1123
|
+
it 'should work' do
|
|
1124
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1125
|
+
end
|
|
1126
|
+
end
|
|
1127
|
+
|
|
1128
|
+
# unit tests for get_audiences
|
|
1129
|
+
# List audiences
|
|
1130
|
+
# Get all audiences created in the account. To create an audience, use [Create audience](https://docs.talon.one/integration-api#tag/Audiences/operation/createAudienceV2).
|
|
1131
|
+
# @param [Hash] opts the optional parameters
|
|
1132
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1133
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1134
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1135
|
+
# @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
|
|
1136
|
+
# @return [GetAudiences200Response]
|
|
1137
|
+
describe 'get_audiences test' do
|
|
1138
|
+
it 'should work' do
|
|
1139
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1140
|
+
end
|
|
1141
|
+
end
|
|
1142
|
+
|
|
1143
|
+
# unit tests for get_audiences_analytics
|
|
1144
|
+
# List audience analytics
|
|
1145
|
+
# Get a list of audience IDs and their member count.
|
|
1146
|
+
# @param audience_ids The IDs of one or more audiences, separated by commas, by which to filter results.
|
|
1147
|
+
# @param [Hash] opts the optional parameters
|
|
1148
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1149
|
+
# @return [GetAudiencesAnalytics200Response]
|
|
1150
|
+
describe 'get_audiences_analytics test' do
|
|
1151
|
+
it 'should work' do
|
|
1152
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1153
|
+
end
|
|
1154
|
+
end
|
|
1155
|
+
|
|
1156
|
+
# unit tests for get_campaign
|
|
1157
|
+
# Get campaign
|
|
1158
|
+
# Retrieve the given campaign.
|
|
1159
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1160
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1161
|
+
# @param [Hash] opts the optional parameters
|
|
1162
|
+
# @return [Campaign]
|
|
1163
|
+
describe 'get_campaign test' do
|
|
1164
|
+
it 'should work' do
|
|
1165
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1166
|
+
end
|
|
1167
|
+
end
|
|
1168
|
+
|
|
1169
|
+
# unit tests for get_campaign_analytics
|
|
1170
|
+
# Get analytics of campaigns
|
|
1171
|
+
# Retrieve statistical data about the performance of the given campaign.
|
|
1172
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1173
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1174
|
+
# @param range_start Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
1175
|
+
# @param range_end Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
1176
|
+
# @param [Hash] opts the optional parameters
|
|
1177
|
+
# @option opts [String] :granularity The time interval between the results in the returned time-series.
|
|
1178
|
+
# @return [GetCampaignAnalytics200Response]
|
|
1179
|
+
describe 'get_campaign_analytics test' do
|
|
1180
|
+
it 'should work' do
|
|
1181
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1182
|
+
end
|
|
1183
|
+
end
|
|
1184
|
+
|
|
1185
|
+
# unit tests for get_campaign_by_attributes
|
|
1186
|
+
# List campaigns that match the given attributes
|
|
1187
|
+
# Get a list of all the campaigns that match a set of attributes.
|
|
1188
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1189
|
+
# @param campaign_search body
|
|
1190
|
+
# @param [Hash] opts the optional parameters
|
|
1191
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1192
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1193
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1194
|
+
# @option opts [String] :campaign_state Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived.
|
|
1195
|
+
# @return [GetCampaigns200Response]
|
|
1196
|
+
describe 'get_campaign_by_attributes test' do
|
|
1197
|
+
it 'should work' do
|
|
1198
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1199
|
+
end
|
|
1200
|
+
end
|
|
1201
|
+
|
|
1202
|
+
# unit tests for get_campaign_group
|
|
1203
|
+
# Get campaign access group
|
|
1204
|
+
# Get a campaign access group specified by its ID.
|
|
1205
|
+
# @param campaign_group_id The ID of the campaign access group.
|
|
1206
|
+
# @param [Hash] opts the optional parameters
|
|
1207
|
+
# @return [CampaignGroup]
|
|
1208
|
+
describe 'get_campaign_group test' do
|
|
1209
|
+
it 'should work' do
|
|
1210
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1211
|
+
end
|
|
1212
|
+
end
|
|
1213
|
+
|
|
1214
|
+
# unit tests for get_campaign_groups
|
|
1215
|
+
# List campaign access groups
|
|
1216
|
+
# List the campaign access groups in the current account.
|
|
1217
|
+
# @param [Hash] opts the optional parameters
|
|
1218
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1219
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1220
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1221
|
+
# @return [GetCampaignGroups200Response]
|
|
1222
|
+
describe 'get_campaign_groups test' do
|
|
1223
|
+
it 'should work' do
|
|
1224
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1225
|
+
end
|
|
1226
|
+
end
|
|
1227
|
+
|
|
1228
|
+
# unit tests for get_campaign_templates
|
|
1229
|
+
# List campaign templates
|
|
1230
|
+
# Retrieve a list of campaign templates.
|
|
1231
|
+
# @param [Hash] opts the optional parameters
|
|
1232
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1233
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1234
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1235
|
+
# @option opts [String] :state Filter results by the state of the campaign template.
|
|
1236
|
+
# @option opts [String] :name Filter results performing case-insensitive matching against the name of the campaign template.
|
|
1237
|
+
# @option opts [String] :tags Filter results performing case-insensitive matching against the tags of the campaign template. When used in conjunction with the \"name\" query parameter, a logical OR will be performed to search both tags and name for the provided values.
|
|
1238
|
+
# @option opts [Integer] :user_id Filter results by user ID.
|
|
1239
|
+
# @return [GetCampaignTemplates200Response]
|
|
1240
|
+
describe 'get_campaign_templates test' do
|
|
1241
|
+
it 'should work' do
|
|
1242
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1243
|
+
end
|
|
1244
|
+
end
|
|
1245
|
+
|
|
1246
|
+
# unit tests for get_campaigns
|
|
1247
|
+
# List campaigns
|
|
1248
|
+
# List the campaigns of the specified application that match your filter criteria.
|
|
1249
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1250
|
+
# @param [Hash] opts the optional parameters
|
|
1251
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1252
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1253
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1254
|
+
# @option opts [String] :campaign_state Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived.
|
|
1255
|
+
# @option opts [String] :name Filter results performing case-insensitive matching against the name of the campaign.
|
|
1256
|
+
# @option opts [String] :tags Filter results performing case-insensitive matching against the tags of the campaign. When used in conjunction with the \"name\" query parameter, a logical OR will be performed to search both tags and name for the provided values
|
|
1257
|
+
# @option opts [Time] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1258
|
+
# @option opts [Time] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1259
|
+
# @option opts [Time] :start_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign start time timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1260
|
+
# @option opts [Time] :start_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign start time timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1261
|
+
# @option opts [Time] :end_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign end time timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1262
|
+
# @option opts [Time] :end_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the campaign end time timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1263
|
+
# @option opts [Integer] :campaign_group_id Filter results to campaigns owned by the specified campaign access group ID.
|
|
1264
|
+
# @option opts [Integer] :template_id The ID of the campaign template this campaign was created from.
|
|
1265
|
+
# @option opts [Integer] :store_id Filter results to campaigns linked to the specified store ID.
|
|
1266
|
+
# @return [GetCampaigns200Response]
|
|
1267
|
+
describe 'get_campaigns test' do
|
|
1268
|
+
it 'should work' do
|
|
1269
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1270
|
+
end
|
|
1271
|
+
end
|
|
1272
|
+
|
|
1273
|
+
# unit tests for get_changes
|
|
1274
|
+
# Get audit logs for an account
|
|
1275
|
+
# Retrieve the audit logs displayed in **Accounts > Audit logs**.
|
|
1276
|
+
# @param [Hash] opts the optional parameters
|
|
1277
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1278
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1279
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1280
|
+
# @option opts [Float] :application_id Filter results by Application ID.
|
|
1281
|
+
# @option opts [String] :entity_path Filter results on a case insensitive matching of the url path of the entity
|
|
1282
|
+
# @option opts [Integer] :user_id Filter results by user ID.
|
|
1283
|
+
# @option opts [Time] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1284
|
+
# @option opts [Time] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1285
|
+
# @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
|
|
1286
|
+
# @option opts [Integer] :management_key_id Filter results that match the given management key ID.
|
|
1287
|
+
# @option opts [Boolean] :include_old When this flag is set to false, the state without the change will not be returned. The default value is true.
|
|
1288
|
+
# @return [GetChanges200Response]
|
|
1289
|
+
describe 'get_changes test' do
|
|
1290
|
+
it 'should work' do
|
|
1291
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1292
|
+
end
|
|
1293
|
+
end
|
|
1294
|
+
|
|
1295
|
+
# unit tests for get_collection
|
|
1296
|
+
# Get campaign-level collection
|
|
1297
|
+
# Retrieve a given campaign-level collection.
|
|
1298
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1299
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1300
|
+
# @param collection_id The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint.
|
|
1301
|
+
# @param [Hash] opts the optional parameters
|
|
1302
|
+
# @return [Collection]
|
|
1303
|
+
describe 'get_collection test' do
|
|
1304
|
+
it 'should work' do
|
|
1305
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1306
|
+
end
|
|
1307
|
+
end
|
|
1308
|
+
|
|
1309
|
+
# unit tests for get_collection_items
|
|
1310
|
+
# Get collection items
|
|
1311
|
+
# Retrieve items from a given collection. You can retrieve items from both account-level collections and campaign-level collections using this endpoint.
|
|
1312
|
+
# @param collection_id The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
|
|
1313
|
+
# @param [Hash] opts the optional parameters
|
|
1314
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1315
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1316
|
+
# @return [GetCollectionItems200Response]
|
|
1317
|
+
describe 'get_collection_items test' do
|
|
1318
|
+
it 'should work' do
|
|
1319
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1320
|
+
end
|
|
1321
|
+
end
|
|
1322
|
+
|
|
1323
|
+
# unit tests for get_coupons_without_total_count
|
|
1324
|
+
# List coupons
|
|
1325
|
+
# List all the coupons matching the specified criteria.
|
|
1326
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1327
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1328
|
+
# @param [Hash] opts the optional parameters
|
|
1329
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1330
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1331
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1332
|
+
# @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
|
|
1333
|
+
# @option opts [Time] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1334
|
+
# @option opts [Time] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1335
|
+
# @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiration date is set and in the past. The second matches coupons in which start date is null or in the past and expiration date is null or in the future, the third matches coupons in which start date is set and in the future.
|
|
1336
|
+
# @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
|
|
1337
|
+
# @option opts [String] :redeemed - `true`: only coupons where `usageCounter > 0` will be returned. - `false`: only coupons where `usageCounter = 0` will be returned. - This field cannot be used in conjunction with the `usable` query parameter.
|
|
1338
|
+
# @option opts [Integer] :referral_id Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code.
|
|
1339
|
+
# @option opts [String] :recipient_integration_id Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field.
|
|
1340
|
+
# @option opts [String] :batch_id Filter results by batches of coupons
|
|
1341
|
+
# @option opts [Boolean] :exact_match Filter results to an exact case-insensitive matching against the coupon code.
|
|
1342
|
+
# @option opts [Time] :expires_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon expiration date timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1343
|
+
# @option opts [Time] :expires_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon expiration date timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1344
|
+
# @option opts [Time] :starts_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon start date timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1345
|
+
# @option opts [Time] :starts_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon start date timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1346
|
+
# @option opts [Boolean] :values_only Filter results to only return the coupon codes (`value` column) without the associated coupon data.
|
|
1347
|
+
# @return [GetCouponsWithoutTotalCount200Response]
|
|
1348
|
+
describe 'get_coupons_without_total_count test' do
|
|
1349
|
+
it 'should work' do
|
|
1350
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1351
|
+
end
|
|
1352
|
+
end
|
|
1353
|
+
|
|
1354
|
+
# unit tests for get_customer_activity_report
|
|
1355
|
+
# Get customer's activity report
|
|
1356
|
+
# Fetch the summary report of a given customer in the given application, in a time range.
|
|
1357
|
+
# @param range_start Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
1358
|
+
# @param range_end Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
1359
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1360
|
+
# @param customer_id The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
|
|
1361
|
+
# @param [Hash] opts the optional parameters
|
|
1362
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1363
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1364
|
+
# @return [CustomerActivityReport]
|
|
1365
|
+
describe 'get_customer_activity_report test' do
|
|
1366
|
+
it 'should work' do
|
|
1367
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1368
|
+
end
|
|
1369
|
+
end
|
|
1370
|
+
|
|
1371
|
+
# unit tests for get_customer_activity_reports_without_total_count
|
|
1372
|
+
# Get Activity Reports for Application Customers
|
|
1373
|
+
# Fetch summary reports for all application customers based on a time range. Instead of having the total number of results in the response, this endpoint only mentions whether there are more results.
|
|
1374
|
+
# @param range_start Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
1375
|
+
# @param range_end Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
1376
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1377
|
+
# @param [Hash] opts the optional parameters
|
|
1378
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1379
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1380
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1381
|
+
# @option opts [String] :name Only return reports matching the customer name.
|
|
1382
|
+
# @option opts [String] :integration_id Filter results performing an exact matching against the profile integration identifier.
|
|
1383
|
+
# @option opts [String] :campaign_name Only return reports matching the campaign name.
|
|
1384
|
+
# @option opts [String] :advocate_name Only return reports matching the current customer referrer name.
|
|
1385
|
+
# @return [GetCustomerActivityReportsWithoutTotalCount200Response]
|
|
1386
|
+
describe 'get_customer_activity_reports_without_total_count test' do
|
|
1387
|
+
it 'should work' do
|
|
1388
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1389
|
+
end
|
|
1390
|
+
end
|
|
1391
|
+
|
|
1392
|
+
# unit tests for get_customer_analytics
|
|
1393
|
+
# Get customer's analytics report
|
|
1394
|
+
# Fetch analytics for a given customer in the given application.
|
|
1395
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1396
|
+
# @param customer_id The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
|
|
1397
|
+
# @param [Hash] opts the optional parameters
|
|
1398
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1399
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1400
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1401
|
+
# @return [CustomerAnalytics]
|
|
1402
|
+
describe 'get_customer_analytics test' do
|
|
1403
|
+
it 'should work' do
|
|
1404
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1405
|
+
end
|
|
1406
|
+
end
|
|
1407
|
+
|
|
1408
|
+
# unit tests for get_customer_profile
|
|
1409
|
+
# Get customer profile
|
|
1410
|
+
# Return the details of the specified customer profile. <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> You can retrieve the same information via the Integration API, which can save you extra API requests. consider these options: - Request the customer profile to be part of the response content using [Update Customer Session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2). - Send an empty update with the [Update Customer Profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint with `runRuleEngine=false`. </div>
|
|
1411
|
+
# @param customer_id The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
|
|
1412
|
+
# @param [Hash] opts the optional parameters
|
|
1413
|
+
# @return [CustomerProfile]
|
|
1414
|
+
describe 'get_customer_profile test' do
|
|
1415
|
+
it 'should work' do
|
|
1416
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1417
|
+
end
|
|
1418
|
+
end
|
|
1419
|
+
|
|
1420
|
+
# unit tests for get_customer_profile_achievement_progress
|
|
1421
|
+
# List customer achievements
|
|
1422
|
+
# For the given customer profile, list all the achievements that match your filter criteria.
|
|
1423
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1424
|
+
# @param integration_id The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.
|
|
1425
|
+
# @param [Hash] opts the optional parameters
|
|
1426
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1427
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1428
|
+
# @option opts [Integer] :achievement_id The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint.
|
|
1429
|
+
# @option opts [String] :title Filter results by the `title` of an achievement.
|
|
1430
|
+
# @return [GetCustomerProfileAchievementProgress200Response]
|
|
1431
|
+
describe 'get_customer_profile_achievement_progress test' do
|
|
1432
|
+
it 'should work' do
|
|
1433
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1434
|
+
end
|
|
1435
|
+
end
|
|
1436
|
+
|
|
1437
|
+
# unit tests for get_customer_profiles
|
|
1438
|
+
# List customer profiles
|
|
1439
|
+
# List all customer profiles.
|
|
1440
|
+
# @param [Hash] opts the optional parameters
|
|
1441
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1442
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1443
|
+
# @option opts [Boolean] :sandbox Indicates whether you are pointing to a sandbox or live customer.
|
|
1444
|
+
# @return [GetCustomerProfiles200Response]
|
|
1445
|
+
describe 'get_customer_profiles test' do
|
|
1446
|
+
it 'should work' do
|
|
1447
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1448
|
+
end
|
|
1449
|
+
end
|
|
1450
|
+
|
|
1451
|
+
# unit tests for get_customers_by_attributes
|
|
1452
|
+
# List customer profiles matching the given attributes
|
|
1453
|
+
# Get a list of the customer profiles matching the provided criteria. The match is successful if all the attributes of the request are found in a profile, even if the profile has more attributes that are not present on the request.
|
|
1454
|
+
# @param customer_profile_search_query body
|
|
1455
|
+
# @param [Hash] opts the optional parameters
|
|
1456
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1457
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1458
|
+
# @option opts [Boolean] :sandbox Indicates whether you are pointing to a sandbox or live customer.
|
|
1459
|
+
# @return [GetCustomersByAttributes200Response]
|
|
1460
|
+
describe 'get_customers_by_attributes test' do
|
|
1461
|
+
it 'should work' do
|
|
1462
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1463
|
+
end
|
|
1464
|
+
end
|
|
1465
|
+
|
|
1466
|
+
# unit tests for get_dashboard_statistics
|
|
1467
|
+
# Get statistics for loyalty dashboard
|
|
1468
|
+
# Retrieve the statistics displayed on the specified loyalty program's dashboard, such as the total active points, pending points, spent points, and expired points. **Important:** The returned data does not include the current day. All statistics are updated daily at 11:59 PM in the loyalty program time zone.
|
|
1469
|
+
# @param loyalty_program_id Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
1470
|
+
# @param range_start Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
1471
|
+
# @param range_end Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
1472
|
+
# @param [Hash] opts the optional parameters
|
|
1473
|
+
# @option opts [String] :subledger_id The ID of the subledger by which we filter the data.
|
|
1474
|
+
# @return [GetDashboardStatistics200Response]
|
|
1475
|
+
describe 'get_dashboard_statistics test' do
|
|
1476
|
+
it 'should work' do
|
|
1477
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1478
|
+
end
|
|
1479
|
+
end
|
|
1480
|
+
|
|
1481
|
+
# unit tests for get_event_types
|
|
1482
|
+
# List event types
|
|
1483
|
+
# Fetch all event type definitions for your account.
|
|
1484
|
+
# @param [Hash] opts the optional parameters
|
|
1485
|
+
# @option opts [String] :name Filter results to event types with the given name. This parameter implies `includeOldVersions`.
|
|
1486
|
+
# @option opts [Boolean] :include_old_versions Include all versions of every event type.
|
|
1487
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1488
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1489
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1490
|
+
# @return [GetEventTypes200Response]
|
|
1491
|
+
describe 'get_event_types test' do
|
|
1492
|
+
it 'should work' do
|
|
1493
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1494
|
+
end
|
|
1495
|
+
end
|
|
1496
|
+
|
|
1497
|
+
# unit tests for get_exports
|
|
1498
|
+
# Get exports
|
|
1499
|
+
# List all past exports
|
|
1500
|
+
# @param [Hash] opts the optional parameters
|
|
1501
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1502
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1503
|
+
# @option opts [Float] :application_id Filter results by Application ID.
|
|
1504
|
+
# @option opts [Integer] :campaign_id Filter by the campaign ID on which the limit counters are used.
|
|
1505
|
+
# @option opts [String] :entity The name of the entity type that was exported.
|
|
1506
|
+
# @return [GetExports200Response]
|
|
1507
|
+
describe 'get_exports test' do
|
|
1508
|
+
it 'should work' do
|
|
1509
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1510
|
+
end
|
|
1511
|
+
end
|
|
1512
|
+
|
|
1513
|
+
# unit tests for get_loyalty_card
|
|
1514
|
+
# Get loyalty card
|
|
1515
|
+
# Get the given loyalty card.
|
|
1516
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
1517
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
|
1518
|
+
# @param [Hash] opts the optional parameters
|
|
1519
|
+
# @return [LoyaltyCard]
|
|
1520
|
+
describe 'get_loyalty_card test' do
|
|
1521
|
+
it 'should work' do
|
|
1522
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1523
|
+
end
|
|
1524
|
+
end
|
|
1525
|
+
|
|
1526
|
+
# unit tests for get_loyalty_card_transaction_logs
|
|
1527
|
+
# List card's transactions
|
|
1528
|
+
# Retrieve the transaction logs for the given [loyalty card](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview) within the specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types) with filtering options applied. If no filtering options are applied, the last 50 loyalty transactions for the given loyalty card are returned.
|
|
1529
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
1530
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
|
1531
|
+
# @param [Hash] opts the optional parameters
|
|
1532
|
+
# @option opts [Time] :start_date Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
1533
|
+
# @option opts [Time] :end_date Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
1534
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1535
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1536
|
+
# @option opts [String] :subledger_id The ID of the subledger by which we filter the data.
|
|
1537
|
+
# @option opts [Array<String>] :customer_session_ids Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
|
|
1538
|
+
# @option opts [Array<String>] :transaction_uuids Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
|
|
1539
|
+
# @return [GetLoyaltyCardTransactionLogs200Response]
|
|
1540
|
+
describe 'get_loyalty_card_transaction_logs test' do
|
|
1541
|
+
it 'should work' do
|
|
1542
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1543
|
+
end
|
|
1544
|
+
end
|
|
1545
|
+
|
|
1546
|
+
# unit tests for get_loyalty_cards
|
|
1547
|
+
# List loyalty cards
|
|
1548
|
+
# For the given card-based loyalty program, list the loyalty cards that match your filter criteria.
|
|
1549
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
1550
|
+
# @param [Hash] opts the optional parameters
|
|
1551
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1552
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1553
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1554
|
+
# @option opts [String] :identifier The card code by which to filter loyalty cards in the response.
|
|
1555
|
+
# @option opts [Integer] :profile_id Filter results by customer profile ID.
|
|
1556
|
+
# @option opts [String] :batch_id Filter results by loyalty card batch ID.
|
|
1557
|
+
# @return [GetLoyaltyCards200Response]
|
|
1558
|
+
describe 'get_loyalty_cards test' do
|
|
1559
|
+
it 'should work' do
|
|
1560
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1561
|
+
end
|
|
1562
|
+
end
|
|
1563
|
+
|
|
1564
|
+
# unit tests for get_loyalty_points
|
|
1565
|
+
# Get customer's full loyalty ledger
|
|
1566
|
+
# Get the loyalty ledger for this profile integration ID. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. **Important:** To get loyalty transaction logs for a given Integration ID in a loyalty program, we recommend using the Integration API's [Get customer's loyalty logs](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions).
|
|
1567
|
+
# @param loyalty_program_id The identifier for the loyalty program.
|
|
1568
|
+
# @param integration_id The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.
|
|
1569
|
+
# @param [Hash] opts the optional parameters
|
|
1570
|
+
# @return [LoyaltyLedger]
|
|
1571
|
+
describe 'get_loyalty_points test' do
|
|
1572
|
+
it 'should work' do
|
|
1573
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1574
|
+
end
|
|
1575
|
+
end
|
|
1576
|
+
|
|
1577
|
+
# unit tests for get_loyalty_program
|
|
1578
|
+
# Get loyalty program
|
|
1579
|
+
# Get the specified [loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview). To list all loyalty programs in your Application, use [List loyalty programs](#operation/getLoyaltyPrograms). To list the loyalty programs that a customer profile is part of, use the [List customer data](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/getCustomerInventory)
|
|
1580
|
+
# @param loyalty_program_id Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
1581
|
+
# @param [Hash] opts the optional parameters
|
|
1582
|
+
# @return [LoyaltyProgram]
|
|
1583
|
+
describe 'get_loyalty_program test' do
|
|
1584
|
+
it 'should work' do
|
|
1585
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1586
|
+
end
|
|
1587
|
+
end
|
|
1588
|
+
|
|
1589
|
+
# unit tests for get_loyalty_program_transactions
|
|
1590
|
+
# List loyalty program transactions
|
|
1591
|
+
# Retrieve loyalty program transaction logs in a given loyalty program with filtering options applied. Manual and imported transactions are also included. **Note:** If no filters are applied, the last 50 loyalty transactions for the given loyalty program are returned. **Important:** To get loyalty transaction logs for a given Integration ID in a loyalty program, we recommend using the Integration API's [Get customer's loyalty logs](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions).
|
|
1592
|
+
# @param loyalty_program_id Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
1593
|
+
# @param [Hash] opts the optional parameters
|
|
1594
|
+
# @option opts [String] :loyalty_transaction_type Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file.
|
|
1595
|
+
# @option opts [String] :subledger_id The ID of the subledger by which we filter the data.
|
|
1596
|
+
# @option opts [Array<String>] :customer_session_ids Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
|
|
1597
|
+
# @option opts [Array<String>] :transaction_uuids Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
|
|
1598
|
+
# @option opts [Time] :start_date Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
1599
|
+
# @option opts [Time] :end_date Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
|
|
1600
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1601
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1602
|
+
# @return [GetLoyaltyProgramTransactions200Response]
|
|
1603
|
+
describe 'get_loyalty_program_transactions test' do
|
|
1604
|
+
it 'should work' do
|
|
1605
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1606
|
+
end
|
|
1607
|
+
end
|
|
1608
|
+
|
|
1609
|
+
# unit tests for get_loyalty_programs
|
|
1610
|
+
# List loyalty programs
|
|
1611
|
+
# List the loyalty programs of the account.
|
|
1612
|
+
# @param [Hash] opts the optional parameters
|
|
1613
|
+
# @return [GetLoyaltyPrograms200Response]
|
|
1614
|
+
describe 'get_loyalty_programs test' do
|
|
1615
|
+
it 'should work' do
|
|
1616
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1617
|
+
end
|
|
1618
|
+
end
|
|
1619
|
+
|
|
1620
|
+
# unit tests for get_loyalty_statistics
|
|
1621
|
+
# Get loyalty program statistics
|
|
1622
|
+
# ⚠️ Deprecation notice: Support for requests to this endpoint will end soon. To retrieve statistics for a loyalty program, use the [Get statistics for loyalty dashboard](/management-api#tag/Loyalty/operation/getDashboardStatistics) endpoint. Retrieve the statistics of the specified loyalty program, such as the total active points, pending points, spent points, and expired points.
|
|
1623
|
+
# @param loyalty_program_id Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
1624
|
+
# @param [Hash] opts the optional parameters
|
|
1625
|
+
# @return [LoyaltyDashboardData]
|
|
1626
|
+
describe 'get_loyalty_statistics test' do
|
|
1627
|
+
it 'should work' do
|
|
1628
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1629
|
+
end
|
|
1630
|
+
end
|
|
1631
|
+
|
|
1632
|
+
# unit tests for get_message_logs
|
|
1633
|
+
# List message log entries
|
|
1634
|
+
# Retrieve all message log entries.
|
|
1635
|
+
# @param entity_type The entity type the log is related to.
|
|
1636
|
+
# @param [Hash] opts the optional parameters
|
|
1637
|
+
# @option opts [String] :message_id Filter results by message ID.
|
|
1638
|
+
# @option opts [String] :change_type Filter results by change type.
|
|
1639
|
+
# @option opts [String] :notification_ids Filter results by notification ID (include up to 30 values, separated by a comma).
|
|
1640
|
+
# @option opts [Time] :created_before Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. Use UTC time.
|
|
1641
|
+
# @option opts [Time] :created_after Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. Use UTC time.
|
|
1642
|
+
# @option opts [String] :cursor A specific unique value in the database. If this value is not given, the server fetches results starting with the first record.
|
|
1643
|
+
# @option opts [String] :period Filter results by time period. Choose between the available relative time frames.
|
|
1644
|
+
# @option opts [Boolean] :is_successful Indicates whether to return log entries with either successful or unsuccessful HTTP response codes. When set to`true`, only log entries with `2xx` response codes are returned. When set to `false`, only log entries with `4xx` and `5xx` response codes are returned.
|
|
1645
|
+
# @option opts [Float] :application_id Filter results by Application ID.
|
|
1646
|
+
# @option opts [Float] :campaign_id Filter results by campaign ID.
|
|
1647
|
+
# @option opts [Integer] :loyalty_program_id Identifier of the loyalty program.
|
|
1648
|
+
# @option opts [Integer] :response_code Filter results by response status code.
|
|
1649
|
+
# @option opts [String] :webhook_ids Filter results by webhook ID (include up to 30 values, separated by a comma).
|
|
1650
|
+
# @return [MessageLogEntries]
|
|
1651
|
+
describe 'get_message_logs test' do
|
|
1652
|
+
it 'should work' do
|
|
1653
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1654
|
+
end
|
|
1655
|
+
end
|
|
1656
|
+
|
|
1657
|
+
# unit tests for get_referrals_without_total_count
|
|
1658
|
+
# List referrals
|
|
1659
|
+
# List all referrals of the specified campaign.
|
|
1660
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1661
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1662
|
+
# @param [Hash] opts the optional parameters
|
|
1663
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1664
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1665
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1666
|
+
# @option opts [String] :code Filter results performing case-insensitive matching against the referral code. Both the code and the query are folded to remove all non-alpha-numeric characters.
|
|
1667
|
+
# @option opts [Time] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1668
|
+
# @option opts [Time] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the referral creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
1669
|
+
# @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches referrals in which the expiration date is set and in the past. The second matches referrals in which start date is null or in the past and expiration date is null or in the future, the third matches referrals in which start date is set and in the future.
|
|
1670
|
+
# @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`.
|
|
1671
|
+
# @option opts [String] :advocate Filter results by match with a profile ID specified in the referral's AdvocateProfileIntegrationId field.
|
|
1672
|
+
# @return [GetReferralsWithoutTotalCount200Response]
|
|
1673
|
+
describe 'get_referrals_without_total_count test' do
|
|
1674
|
+
it 'should work' do
|
|
1675
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1676
|
+
end
|
|
1677
|
+
end
|
|
1678
|
+
|
|
1679
|
+
# unit tests for get_role_v2
|
|
1680
|
+
# Get role
|
|
1681
|
+
# Get the details of a specific role. To see all the roles, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint.
|
|
1682
|
+
# @param role_id The ID of role. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint.
|
|
1683
|
+
# @param [Hash] opts the optional parameters
|
|
1684
|
+
# @return [RoleV2]
|
|
1685
|
+
describe 'get_role_v2 test' do
|
|
1686
|
+
it 'should work' do
|
|
1687
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1688
|
+
end
|
|
1689
|
+
end
|
|
1690
|
+
|
|
1691
|
+
# unit tests for get_ruleset
|
|
1692
|
+
# Get ruleset
|
|
1693
|
+
# Retrieve the specified ruleset.
|
|
1694
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1695
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1696
|
+
# @param ruleset_id The ID of the ruleset.
|
|
1697
|
+
# @param [Hash] opts the optional parameters
|
|
1698
|
+
# @return [Ruleset]
|
|
1699
|
+
describe 'get_ruleset test' do
|
|
1700
|
+
it 'should work' do
|
|
1701
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1702
|
+
end
|
|
1703
|
+
end
|
|
1704
|
+
|
|
1705
|
+
# unit tests for get_rulesets
|
|
1706
|
+
# List campaign rulesets
|
|
1707
|
+
# List all rulesets of this campaign. A ruleset is a revision of the rules of a campaign. **Important:** The response also includes deleted rules. You should only consider the latest revision of the returned rulesets.
|
|
1708
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1709
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1710
|
+
# @param [Hash] opts the optional parameters
|
|
1711
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1712
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1713
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1714
|
+
# @return [GetRulesets200Response]
|
|
1715
|
+
describe 'get_rulesets test' do
|
|
1716
|
+
it 'should work' do
|
|
1717
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1718
|
+
end
|
|
1719
|
+
end
|
|
1720
|
+
|
|
1721
|
+
# unit tests for get_store
|
|
1722
|
+
# Get store
|
|
1723
|
+
# Get store details for a specific store ID.
|
|
1724
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1725
|
+
# @param store_id The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint.
|
|
1726
|
+
# @param [Hash] opts the optional parameters
|
|
1727
|
+
# @return [Store]
|
|
1728
|
+
describe 'get_store test' do
|
|
1729
|
+
it 'should work' do
|
|
1730
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1731
|
+
end
|
|
1732
|
+
end
|
|
1733
|
+
|
|
1734
|
+
# unit tests for get_user
|
|
1735
|
+
# Get user
|
|
1736
|
+
# Retrieve the data (including an invitation code) for a user. Non-admin users can only get their own profile.
|
|
1737
|
+
# @param user_id The ID of the user.
|
|
1738
|
+
# @param [Hash] opts the optional parameters
|
|
1739
|
+
# @return [User]
|
|
1740
|
+
describe 'get_user test' do
|
|
1741
|
+
it 'should work' do
|
|
1742
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1743
|
+
end
|
|
1744
|
+
end
|
|
1745
|
+
|
|
1746
|
+
# unit tests for get_users
|
|
1747
|
+
# List users in account
|
|
1748
|
+
# Retrieve all users in your account.
|
|
1749
|
+
# @param [Hash] opts the optional parameters
|
|
1750
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1751
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1752
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1753
|
+
# @return [GetUsers200Response]
|
|
1754
|
+
describe 'get_users test' do
|
|
1755
|
+
it 'should work' do
|
|
1756
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1757
|
+
end
|
|
1758
|
+
end
|
|
1759
|
+
|
|
1760
|
+
# unit tests for get_webhook
|
|
1761
|
+
# Get webhook
|
|
1762
|
+
# Returns a webhook by its id.
|
|
1763
|
+
# @param webhook_id The ID of the webhook. You can find the ID in the Campaign Manager's URL when you display the details of the webhook in **Account** > **Webhooks**.
|
|
1764
|
+
# @param [Hash] opts the optional parameters
|
|
1765
|
+
# @return [Webhook]
|
|
1766
|
+
describe 'get_webhook test' do
|
|
1767
|
+
it 'should work' do
|
|
1768
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1769
|
+
end
|
|
1770
|
+
end
|
|
1771
|
+
|
|
1772
|
+
# unit tests for get_webhooks
|
|
1773
|
+
# List webhooks
|
|
1774
|
+
# List all webhooks.
|
|
1775
|
+
# @param [Hash] opts the optional parameters
|
|
1776
|
+
# @option opts [String] :application_ids Checks if the given catalog or its attributes are referenced in the specified Application ID. **Note**: If no Application ID is provided, we check for all connected Applications.
|
|
1777
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1778
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1779
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1780
|
+
# @option opts [String] :creation_type Filter results by creation type.
|
|
1781
|
+
# @option opts [String] :visibility Filter results by visibility.
|
|
1782
|
+
# @option opts [Integer] :outgoing_integrations_type_id Filter results by outgoing integration type ID.
|
|
1783
|
+
# @option opts [String] :title Filter results performing case-insensitive matching against the webhook title.
|
|
1784
|
+
# @return [GetWebhooks200Response]
|
|
1785
|
+
describe 'get_webhooks test' do
|
|
1786
|
+
it 'should work' do
|
|
1787
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1788
|
+
end
|
|
1789
|
+
end
|
|
1790
|
+
|
|
1791
|
+
# unit tests for import_account_collection
|
|
1792
|
+
# Import data into existing account-level collection
|
|
1793
|
+
# Upload a CSV file containing the collection of string values that should be attached as payload for collection. The file should be sent as multipart data. The import **replaces** the initial content of the collection. The CSV file **must** only contain the following column: - `item`: the values in your collection. A collection is limited to 500,000 items. Example: ``` item Addidas Nike Asics ``` **Note:** Before sending a request to this endpoint, ensure the data in the CSV to import is different from the data currently stored in the collection.
|
|
1794
|
+
# @param collection_id The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
|
|
1795
|
+
# @param [Hash] opts the optional parameters
|
|
1796
|
+
# @option opts [String] :up_file The file containing the data that is being imported.
|
|
1797
|
+
# @return [Import]
|
|
1798
|
+
describe 'import_account_collection test' do
|
|
1799
|
+
it 'should work' do
|
|
1800
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1801
|
+
end
|
|
1802
|
+
end
|
|
1803
|
+
|
|
1804
|
+
# unit tests for import_allowed_list
|
|
1805
|
+
# Import allowed values for attribute
|
|
1806
|
+
# Upload a CSV file containing a list of [picklist values](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes#picklist-values) for the specified attribute. The file should be sent as multipart data. The import **replaces** the previous list of allowed values for this attribute, if any. The CSV file **must** only contain the following column: - `item` (required): the values in your allowed list, for example a list of SKU's. An allowed list is limited to 500,000 items. Example: ```text item CS-VG-04032021-UP-50D-10 CS-DV-04042021-UP-49D-12 CS-DG-02082021-UP-50G-07 ```
|
|
1807
|
+
# @param attribute_id The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**.
|
|
1808
|
+
# @param [Hash] opts the optional parameters
|
|
1809
|
+
# @option opts [String] :up_file The file containing the data that is being imported.
|
|
1810
|
+
# @return [Import]
|
|
1811
|
+
describe 'import_allowed_list test' do
|
|
1812
|
+
it 'should work' do
|
|
1813
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1814
|
+
end
|
|
1815
|
+
end
|
|
1816
|
+
|
|
1817
|
+
# unit tests for import_audiences_memberships
|
|
1818
|
+
# Import audience members
|
|
1819
|
+
# Upload a CSV file containing the integration IDs of the members you want to add to an audience. The file should be sent as multipart data and should contain only the following column (required): - `profileintegrationid`: The integration ID of the customer profile. The import **replaces** the previous list of audience members. **Note:** We recommend limiting your file size to 500MB. Example: ```text profileintegrationid charles alexa ```
|
|
1820
|
+
# @param audience_id The ID of the audience.
|
|
1821
|
+
# @param [Hash] opts the optional parameters
|
|
1822
|
+
# @option opts [String] :up_file The file containing the data that is being imported.
|
|
1823
|
+
# @return [Import]
|
|
1824
|
+
describe 'import_audiences_memberships test' do
|
|
1825
|
+
it 'should work' do
|
|
1826
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1827
|
+
end
|
|
1828
|
+
end
|
|
1829
|
+
|
|
1830
|
+
# unit tests for import_campaign_store_budget
|
|
1831
|
+
# Import campaign store budgets
|
|
1832
|
+
# Upload a CSV file containing store budgets for a given campaign. Send the file as multipart data. The CSV file **must** only contain the following columns: - `store_integration_id`: The identifier of the store. - `limit`: The budget limit for the store. The import **replaces** the previous list of store budgets.
|
|
1833
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1834
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1835
|
+
# @param [Hash] opts the optional parameters
|
|
1836
|
+
# @option opts [String] :action The action that this budget is limiting.
|
|
1837
|
+
# @option opts [String] :period The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`.
|
|
1838
|
+
# @option opts [String] :up_file The file containing the data that is being imported.
|
|
1839
|
+
# @return [Import]
|
|
1840
|
+
describe 'import_campaign_store_budget test' do
|
|
1841
|
+
it 'should work' do
|
|
1842
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1843
|
+
end
|
|
1844
|
+
end
|
|
1845
|
+
|
|
1846
|
+
# unit tests for import_campaign_stores
|
|
1847
|
+
# Import stores
|
|
1848
|
+
# Upload a CSV file containing the stores you want to link to a specific campaign. Send the file as multipart data. The CSV file **must** only contain the following column: - `store_integration_id`: The identifier of the store. The import **replaces** the previous list of stores linked to the campaign.
|
|
1849
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1850
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1851
|
+
# @param [Hash] opts the optional parameters
|
|
1852
|
+
# @option opts [String] :up_file The file containing the data that is being imported.
|
|
1853
|
+
# @return [Import]
|
|
1854
|
+
describe 'import_campaign_stores test' do
|
|
1855
|
+
it 'should work' do
|
|
1856
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1857
|
+
end
|
|
1858
|
+
end
|
|
1859
|
+
|
|
1860
|
+
# unit tests for import_collection
|
|
1861
|
+
# Import data into existing campaign-level collection
|
|
1862
|
+
# Upload a CSV file containing the collection of string values that should be attached as payload for collection. The file should be sent as multipart data. The import **replaces** the initial content of the collection. The CSV file **must** only contain the following column: - `item`: the values in your collection. A collection is limited to 500,000 items. Example: ``` item Addidas Nike Asics ``` **Note:** Before sending a request to this endpoint, ensure the data in the CSV to import is different from the data currently stored in the collection.
|
|
1863
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1864
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1865
|
+
# @param collection_id The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint.
|
|
1866
|
+
# @param [Hash] opts the optional parameters
|
|
1867
|
+
# @option opts [String] :up_file The file containing the data that is being imported.
|
|
1868
|
+
# @return [Import]
|
|
1869
|
+
describe 'import_collection test' do
|
|
1870
|
+
it 'should work' do
|
|
1871
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1872
|
+
end
|
|
1873
|
+
end
|
|
1874
|
+
|
|
1875
|
+
# unit tests for import_coupons
|
|
1876
|
+
# Import coupons
|
|
1877
|
+
# Upload a CSV file containing the coupons that should be created. The file should be sent as multipart data. The CSV file contains the following columns: - `value` (required): The coupon code. - `expirydate`: The end date in RFC3339 of the code redemption period. - `startdate`: The start date in RFC3339 of the code redemption period. - `recipientintegrationid`: The integration ID of the recipient of the coupon. Only the customer with this integration ID can redeem this code. Available only for personal codes. - `limitval`: The maximum number of redemptions of this code. For unlimited redemptions, use `0`. Defaults to `1` when not provided. - `discountlimit`: The total discount value that the code can give. This is typically used to represent a gift card value. - `attributes`: A JSON object describing _custom_ coupon attribute names and their values, enclosed with double quotation marks. For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) called `category` associated with the coupon entity, the object in the CSV file, when opened in a text editor, must be: `\"{\"category\": \"10_off\"}\"`. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. **Note:** We recommend limiting your file size to 500MB. **Example:** ```text \"value\",\"expirydate\",\"startdate\",\"recipientintegrationid\",\"limitval\",\"attributes\",\"discountlimit\" COUP1,2018-07-01T04:00:00Z,2018-05-01T04:00:00Z,cust123,1,\"{\"\"Category\"\": \"\"10_off\"\"}\",2.4 ``` Once imported, you can find the `batchId` in the Campaign Manager or by using [List coupons](#tag/Coupons/operation/getCouponsWithoutTotalCount).
|
|
1878
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1879
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1880
|
+
# @param [Hash] opts the optional parameters
|
|
1881
|
+
# @option opts [Boolean] :skip_duplicates An indicator of whether to skip duplicate coupon values instead of causing an error. Duplicate values are ignored when `skipDuplicates=true`.
|
|
1882
|
+
# @option opts [String] :up_file The file containing the data that is being imported.
|
|
1883
|
+
# @return [Import]
|
|
1884
|
+
describe 'import_coupons test' do
|
|
1885
|
+
it 'should work' do
|
|
1886
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1887
|
+
end
|
|
1888
|
+
end
|
|
1889
|
+
|
|
1890
|
+
# unit tests for import_loyalty_cards
|
|
1891
|
+
# Import loyalty cards
|
|
1892
|
+
# Upload a CSV file containing the loyalty cards that you want to use in your card-based loyalty program. Send the file as multipart data. It contains the following columns for each card: - `identifier` (required): The alphanumeric identifier of the loyalty card. - `state` (required): The state of the loyalty card. It can be `active` or `inactive`. - `customerprofileids` (optional): An array of strings representing the identifiers of the customer profiles linked to the loyalty card. The identifiers should be separated with a semicolon (;). **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv identifier,state,customerprofileids 123-456-789AT,active,Alexa001;UserA ```
|
|
1893
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
1894
|
+
# @param [Hash] opts the optional parameters
|
|
1895
|
+
# @option opts [String] :up_file The file containing the data that is being imported.
|
|
1896
|
+
# @return [Import]
|
|
1897
|
+
describe 'import_loyalty_cards test' do
|
|
1898
|
+
it 'should work' do
|
|
1899
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1900
|
+
end
|
|
1901
|
+
end
|
|
1902
|
+
|
|
1903
|
+
# unit tests for import_loyalty_customers_tiers
|
|
1904
|
+
# Import customers into loyalty tiers
|
|
1905
|
+
# Upload a CSV file containing existing customers to be assigned to existing tiers. Send the file as multipart data. **Important:** This endpoint only works with loyalty programs with advanced tiers (with expiration and downgrade policy) feature enabled. The CSV file should contain the following columns: - `subledgerid` (optional): The ID of the subledger. If this field is empty, the main ledger will be used. - `customerprofileid`: The integration ID of the customer profile to whom the tier should be assigned. - `tiername`: The name of an existing tier to assign to the customer. - `expirydate`: The expiration date of the tier when the tier is reevaluated. It should be a future date. About customer assignment to a tier: - If the customer isn't already in a tier, the customer is assigned to the specified tier during the tier import. - If the customer is already in the tier that's specified in the CSV file, only the expiration date is updated. **Note:** We recommend not using this endpoint to update the tier of a customer. To update a customer's tier, you can [add](/management-api#tag/Loyalty/operation/addLoyaltyPoints) or [deduct](/management-api#tag/Loyalty/operation/removeLoyaltyPoints) their loyalty points. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv subledgerid,customerprofileid,tiername,expirydate SUB1,alexa,Gold,2024-03-21T07:32:14Z ,george,Silver,2025-04-16T21:12:37Z SUB2,avocado,Bronze,2026-05-03T11:47:01Z ```
|
|
1906
|
+
# @param loyalty_program_id Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
1907
|
+
# @param [Hash] opts the optional parameters
|
|
1908
|
+
# @option opts [String] :up_file The file containing the data that is being imported.
|
|
1909
|
+
# @return [Import]
|
|
1910
|
+
describe 'import_loyalty_customers_tiers test' do
|
|
1911
|
+
it 'should work' do
|
|
1912
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1913
|
+
end
|
|
1914
|
+
end
|
|
1915
|
+
|
|
1916
|
+
# unit tests for import_loyalty_points
|
|
1917
|
+
# Import loyalty points
|
|
1918
|
+
# Upload a CSV file containing the loyalty points you want to import into a given loyalty program. Send the file as multipart data. Depending on the type of loyalty program, you can import points into a given customer profile or loyalty card. The CSV file contains the following columns: - `customerprofileid` (optional): For profile-based loyalty programs, the integration ID of the customer profile where the loyalty points are imported. **Note**: If the customer profile does not exist, it will be created. The profile will not be visible in any Application until a session or profile update is received for that profile. - `identifier` (optional): For card-based loyalty programs, the identifier of the loyalty card where the loyalty points are imported. - `amount`: The amount of points to award to the customer profile. - `startdate` (optional): The earliest date when the points can be redeemed. The points are `active` from this date until the expiration date. This parameter accepts one of the following values: - A timestamp string in RFC3339 format. - `immediate` - `on_action` **Note**: Empty or missing values default to `immediate`. - `expirydate` (optional): The latest date when the points can be redeemed. The points are `expired` after this date. **Note**: It must be an RFC3339 timestamp string or string `unlimited`. Empty or missing values are considered `unlimited`. If passed, `validityDuration` should be omitted. - `validityDuration` (optional): The duration for which the points remain active, relative to the activation date. The time format is an **integer** followed by one letter indicating the time unit. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can round certain units up or down: - `_D` for rounding down days only. Signifies the start of the day. - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. If passed, `expirydate` should be omitted. - `subledgerid` (optional): The ID of the subledger that should received the points. - `reason` (optional): The reason why these points are awarded. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. **Note:** For existing customer profiles and loyalty cards, the imported points are added to any previous active or pending points, depending on the value provided for `startdate`. If `startdate` matches the current date, the imported points are _active_. If it is later, the points are _pending_ until the date provided for `startdate` is reached. **Note:** We recommend limiting your file size to 500MB. **Example for profile-based programs:** ```text customerprofileid,amount,startdate,expirydate,subledgerid,reason URNGV8294NV,100,2009-11-10T23:00:00Z,2009-11-11T23:00:00Z,subledger1,appeasement ``` **Example for card-based programs:** ```text identifier,amount,startdate,expirydate,subledgerid,reason summer-loyalty-card-0543,100,2009-11-10T23:00:00Z,2009-11-11T23:00:00Z,subledger1,appeasement ```
|
|
1919
|
+
# @param loyalty_program_id Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
1920
|
+
# @param [Hash] opts the optional parameters
|
|
1921
|
+
# @option opts [Boolean] :notifications_enabled Indicates whether the points import triggers notifications about its effects. For example, a notification is sent if the import upgrades a customer's tier or offsets their negative points balance. This parameter is optional and defaults to `true`.
|
|
1922
|
+
# @option opts [String] :up_file The file containing the data that is being imported.
|
|
1923
|
+
# @return [Import]
|
|
1924
|
+
describe 'import_loyalty_points test' do
|
|
1925
|
+
it 'should work' do
|
|
1926
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1927
|
+
end
|
|
1928
|
+
end
|
|
1929
|
+
|
|
1930
|
+
# unit tests for import_pool_giveaways
|
|
1931
|
+
# Import giveaway codes into a giveaway pool
|
|
1932
|
+
# Upload a CSV file containing the giveaway codes that should be created. Send the file as multipart data. The CSV file contains the following columns: - `code` (required): The code of your giveaway, for instance, a gift card redemption code. - `startdate`: The start date in RFC3339 of the code redemption period. - `enddate`: The last date in RFC3339 of the code redemption period. - `attributes`: A JSON object describing _custom_ giveaway attribute names and their values, enclosed with double quotation marks. For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) called `provider` associated with the giveaway entity, the object in the CSV file, when opened in a text editor, must be: `\"{\"provider\": \"myPartnerCompany\"}\"`. The `startdate` and `enddate` have nothing to do with the _validity_ of the codes. They are only used by the Rule Engine to award the codes or not. You can use the time zone setting of your choice. The values are converted to UTC internally by Talon.One. **Note:** - We recommend limiting your file size to 500MB. - You can import the same code multiple times. Duplicate codes are treated and distributed to customers as unique codes. **Example:** ```text code,startdate,enddate,attributes GIVEAWAY1,2020-11-10T23:00:00Z,2022-11-11T23:00:00Z,\"{\"\"provider\"\": \"\"Amazon\"\"}\" GIVEAWAY2,2020-11-10T23:00:00Z,2022-11-11T23:00:00Z,\"{\"\"provider\"\": \"\"Amazon\"\"}\" GIVEAWAY3,2021-01-10T23:00:00Z,2022-11-11T23:00:00Z,\"{\"\"provider\"\": \"\"Aliexpress\"\"}\" ```
|
|
1933
|
+
# @param pool_id The ID of the pool. You can find it in the Campaign Manager, in the **Giveaways** section.
|
|
1934
|
+
# @param [Hash] opts the optional parameters
|
|
1935
|
+
# @option opts [String] :up_file The file containing the data that is being imported.
|
|
1936
|
+
# @return [Import]
|
|
1937
|
+
describe 'import_pool_giveaways test' do
|
|
1938
|
+
it 'should work' do
|
|
1939
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1940
|
+
end
|
|
1941
|
+
end
|
|
1942
|
+
|
|
1943
|
+
# unit tests for import_referrals
|
|
1944
|
+
# Import referrals
|
|
1945
|
+
# Upload a CSV file containing the referrals that should be created. The file should be sent as multipart data. The CSV file contains the following columns: - `code` (required): The referral code. - `advocateprofileintegrationid` (required): The profile ID of the advocate. - `startdate`: The start date in RFC3339 of the code redemption period. - `expirydate`: The end date in RFC3339 of the code redemption period. - `limitval`: The maximum number of redemptions of this code. Defaults to `1` when left blank. - `attributes`: A JSON object describing _custom_ referral attribute names and their values, enclosed with double quotation marks. For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) called `category` associated with the referral entity, the object in the CSV file, when opened in a text editor, must be: `\"{\"category\": \"10_off\"}\"`. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. **Important:** When you import a CSV file with referrals, a [customer profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles) is **not** automatically created for each `advocateprofileintegrationid` column value. Use the [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint or the [Update multiple customer profiles](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfilesV2) endpoint to create the customer profiles. **Note:** We recommend limiting your file size to 500MB. **Example:** ```text code,startdate,expirydate,advocateprofileintegrationid,limitval,attributes REFERRAL_CODE1,2020-11-10T23:00:00Z,2021-11-11T23:00:00Z,integid_4,1,\"{\"\"my_attribute\"\": \"\"10_off\"\"}\" REFERRAL_CODE2,2020-11-10T23:00:00Z,2021-11-11T23:00:00Z,integid1,1,\"{\"\"my_attribute\"\": \"\"20_off\"\"}\" ```
|
|
1946
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1947
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1948
|
+
# @param [Hash] opts the optional parameters
|
|
1949
|
+
# @option opts [String] :up_file The file containing the data that is being imported.
|
|
1950
|
+
# @return [Import]
|
|
1951
|
+
describe 'import_referrals test' do
|
|
1952
|
+
it 'should work' do
|
|
1953
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1954
|
+
end
|
|
1955
|
+
end
|
|
1956
|
+
|
|
1957
|
+
# unit tests for invite_user_external
|
|
1958
|
+
# Invite user from identity provider
|
|
1959
|
+
# [Invite a user](https://docs.talon.one/docs/product/account/account-settings/managing-users#inviting-a-user) from an external identity provider to Talon.One by sending an invitation to their email address.
|
|
1960
|
+
# @param new_external_invitation body
|
|
1961
|
+
# @param [Hash] opts the optional parameters
|
|
1962
|
+
# @return [nil]
|
|
1963
|
+
describe 'invite_user_external test' do
|
|
1964
|
+
it 'should work' do
|
|
1965
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1966
|
+
end
|
|
1967
|
+
end
|
|
1968
|
+
|
|
1969
|
+
# unit tests for list_account_collections
|
|
1970
|
+
# List collections in account
|
|
1971
|
+
# List account-level collections in the account.
|
|
1972
|
+
# @param [Hash] opts the optional parameters
|
|
1973
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1974
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1975
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
1976
|
+
# @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
|
|
1977
|
+
# @option opts [String] :name Filter by collection name.
|
|
1978
|
+
# @return [ListAccountCollections200Response]
|
|
1979
|
+
describe 'list_account_collections test' do
|
|
1980
|
+
it 'should work' do
|
|
1981
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1982
|
+
end
|
|
1983
|
+
end
|
|
1984
|
+
|
|
1985
|
+
# unit tests for list_achievements
|
|
1986
|
+
# List achievements
|
|
1987
|
+
# List all the achievements for a specific campaign.
|
|
1988
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
1989
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
1990
|
+
# @param [Hash] opts the optional parameters
|
|
1991
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
1992
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
1993
|
+
# @option opts [String] :title Filter by the display name for the achievement in the campaign manager. **Note**: If no `title` is provided, all the achievements from the campaign are returned.
|
|
1994
|
+
# @return [ListAchievements200Response]
|
|
1995
|
+
describe 'list_achievements test' do
|
|
1996
|
+
it 'should work' do
|
|
1997
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
1998
|
+
end
|
|
1999
|
+
end
|
|
2000
|
+
|
|
2001
|
+
# unit tests for list_all_roles_v2
|
|
2002
|
+
# List roles
|
|
2003
|
+
# List all roles.
|
|
2004
|
+
# @param [Hash] opts the optional parameters
|
|
2005
|
+
# @return [ListAllRolesV2200Response]
|
|
2006
|
+
describe 'list_all_roles_v2 test' do
|
|
2007
|
+
it 'should work' do
|
|
2008
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2009
|
+
end
|
|
2010
|
+
end
|
|
2011
|
+
|
|
2012
|
+
# unit tests for list_campaign_store_budget_limits
|
|
2013
|
+
# List campaign store budget limits
|
|
2014
|
+
# Return the store budget limits for a given campaign.
|
|
2015
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2016
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
2017
|
+
# @param [Hash] opts the optional parameters
|
|
2018
|
+
# @option opts [String] :action The action that this budget is limiting.
|
|
2019
|
+
# @option opts [String] :period The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`.
|
|
2020
|
+
# @return [ListCampaignStoreBudgetLimits200Response]
|
|
2021
|
+
describe 'list_campaign_store_budget_limits test' do
|
|
2022
|
+
it 'should work' do
|
|
2023
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2024
|
+
end
|
|
2025
|
+
end
|
|
2026
|
+
|
|
2027
|
+
# unit tests for list_catalog_items
|
|
2028
|
+
# List items in a catalog
|
|
2029
|
+
# Return a paginated list of cart items in the given catalog.
|
|
2030
|
+
# @param catalog_id The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**.
|
|
2031
|
+
# @param [Hash] opts the optional parameters
|
|
2032
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
2033
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
2034
|
+
# @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
|
|
2035
|
+
# @option opts [Array<String>] :sku Filter results by one or more SKUs. Must be exact match.
|
|
2036
|
+
# @option opts [Array<String>] :product_names Filter results by one or more product names. Must be exact match.
|
|
2037
|
+
# @return [ListCatalogItems200Response]
|
|
2038
|
+
describe 'list_catalog_items test' do
|
|
2039
|
+
it 'should work' do
|
|
2040
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2041
|
+
end
|
|
2042
|
+
end
|
|
2043
|
+
|
|
2044
|
+
# unit tests for list_collections
|
|
2045
|
+
# List collections in campaign
|
|
2046
|
+
# List collections in a given campaign.
|
|
2047
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2048
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
2049
|
+
# @param [Hash] opts the optional parameters
|
|
2050
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
2051
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
2052
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
2053
|
+
# @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
|
|
2054
|
+
# @option opts [String] :name Filter by collection name.
|
|
2055
|
+
# @return [ListAccountCollections200Response]
|
|
2056
|
+
describe 'list_collections test' do
|
|
2057
|
+
it 'should work' do
|
|
2058
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2059
|
+
end
|
|
2060
|
+
end
|
|
2061
|
+
|
|
2062
|
+
# unit tests for list_collections_in_application
|
|
2063
|
+
# List collections in Application
|
|
2064
|
+
# List campaign-level collections from all campaigns in a given Application.
|
|
2065
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2066
|
+
# @param [Hash] opts the optional parameters
|
|
2067
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
2068
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
2069
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
2070
|
+
# @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
|
|
2071
|
+
# @option opts [String] :name Filter by collection name.
|
|
2072
|
+
# @return [ListAccountCollections200Response]
|
|
2073
|
+
describe 'list_collections_in_application test' do
|
|
2074
|
+
it 'should work' do
|
|
2075
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2076
|
+
end
|
|
2077
|
+
end
|
|
2078
|
+
|
|
2079
|
+
# unit tests for list_stores
|
|
2080
|
+
# List stores
|
|
2081
|
+
# List all stores for a specific Application.
|
|
2082
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2083
|
+
# @param [Hash] opts the optional parameters
|
|
2084
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
2085
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
2086
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
2087
|
+
# @option opts [Boolean] :with_total_result_size When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
|
|
2088
|
+
# @option opts [Float] :campaign_id Filter results by campaign ID.
|
|
2089
|
+
# @option opts [String] :name The name of the store.
|
|
2090
|
+
# @option opts [String] :integration_id The integration ID of the store.
|
|
2091
|
+
# @option opts [String] :query Filter results by `name` or `integrationId`.
|
|
2092
|
+
# @return [ListStores200Response]
|
|
2093
|
+
describe 'list_stores test' do
|
|
2094
|
+
it 'should work' do
|
|
2095
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2096
|
+
end
|
|
2097
|
+
end
|
|
2098
|
+
|
|
2099
|
+
# unit tests for okta_event_handler_challenge
|
|
2100
|
+
# Validate Okta API ownership
|
|
2101
|
+
# Validate the ownership of the API through a challenge-response mechanism. This challenger endpoint is used by Okta to confirm that communication between Talon.One and Okta is correctly configured and accessible for provisioning and deprovisioning of Talon.One users, and that only Talon.One can receive and respond to events from Okta.
|
|
2102
|
+
# @param [Hash] opts the optional parameters
|
|
2103
|
+
# @return [nil]
|
|
2104
|
+
describe 'okta_event_handler_challenge test' do
|
|
2105
|
+
it 'should work' do
|
|
2106
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2107
|
+
end
|
|
2108
|
+
end
|
|
2109
|
+
|
|
2110
|
+
# unit tests for remove_loyalty_points
|
|
2111
|
+
# Deduct points from customer profile
|
|
2112
|
+
# Deduct points from the specified loyalty program and specified customer profile. **Important:** - Only active points can be deducted. - Only pending points are rolled back when a session is cancelled or reopened. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint.
|
|
2113
|
+
# @param loyalty_program_id The identifier for the loyalty program.
|
|
2114
|
+
# @param integration_id The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.
|
|
2115
|
+
# @param deduct_loyalty_points body
|
|
2116
|
+
# @param [Hash] opts the optional parameters
|
|
2117
|
+
# @return [nil]
|
|
2118
|
+
describe 'remove_loyalty_points test' do
|
|
2119
|
+
it 'should work' do
|
|
2120
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2121
|
+
end
|
|
2122
|
+
end
|
|
2123
|
+
|
|
2124
|
+
# unit tests for reset_password
|
|
2125
|
+
# Reset password
|
|
2126
|
+
# Consumes the supplied password reset token and updates the password for the associated account.
|
|
2127
|
+
# @param new_password body
|
|
2128
|
+
# @param [Hash] opts the optional parameters
|
|
2129
|
+
# @return [NewPassword]
|
|
2130
|
+
describe 'reset_password test' do
|
|
2131
|
+
it 'should work' do
|
|
2132
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2133
|
+
end
|
|
2134
|
+
end
|
|
2135
|
+
|
|
2136
|
+
# unit tests for scim_create_group
|
|
2137
|
+
# Create SCIM group
|
|
2138
|
+
# Create a new Talon.One group using the SCIM Group provisioning protocol with an identity provider, for example, Microsoft Entra ID, and assign members from the payload to the new group. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
|
|
2139
|
+
# @param scim_base_group body
|
|
2140
|
+
# @param [Hash] opts the optional parameters
|
|
2141
|
+
# @return [ScimGroup]
|
|
2142
|
+
describe 'scim_create_group test' do
|
|
2143
|
+
it 'should work' do
|
|
2144
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2145
|
+
end
|
|
2146
|
+
end
|
|
2147
|
+
|
|
2148
|
+
# unit tests for scim_create_user
|
|
2149
|
+
# Create SCIM user
|
|
2150
|
+
# Create a new Talon.One user using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.
|
|
2151
|
+
# @param scim_new_user body
|
|
2152
|
+
# @param [Hash] opts the optional parameters
|
|
2153
|
+
# @return [ScimUser]
|
|
2154
|
+
describe 'scim_create_user test' do
|
|
2155
|
+
it 'should work' do
|
|
2156
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2157
|
+
end
|
|
2158
|
+
end
|
|
2159
|
+
|
|
2160
|
+
# unit tests for scim_delete_group
|
|
2161
|
+
# Delete SCIM group
|
|
2162
|
+
# Delete a specific group created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
|
|
2163
|
+
# @param group_id The ID of the group.
|
|
2164
|
+
# @param [Hash] opts the optional parameters
|
|
2165
|
+
# @return [nil]
|
|
2166
|
+
describe 'scim_delete_group test' do
|
|
2167
|
+
it 'should work' do
|
|
2168
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2169
|
+
end
|
|
2170
|
+
end
|
|
2171
|
+
|
|
2172
|
+
# unit tests for scim_delete_user
|
|
2173
|
+
# Delete SCIM user
|
|
2174
|
+
# Delete a specific Talon.One user created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.
|
|
2175
|
+
# @param user_id The ID of the user.
|
|
2176
|
+
# @param [Hash] opts the optional parameters
|
|
2177
|
+
# @return [nil]
|
|
2178
|
+
describe 'scim_delete_user test' do
|
|
2179
|
+
it 'should work' do
|
|
2180
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2181
|
+
end
|
|
2182
|
+
end
|
|
2183
|
+
|
|
2184
|
+
# unit tests for scim_get_group
|
|
2185
|
+
# Get SCIM group
|
|
2186
|
+
# Retrieve data for a specific group created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
|
|
2187
|
+
# @param group_id The ID of the group.
|
|
2188
|
+
# @param [Hash] opts the optional parameters
|
|
2189
|
+
# @return [ScimGroup]
|
|
2190
|
+
describe 'scim_get_group test' do
|
|
2191
|
+
it 'should work' do
|
|
2192
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2193
|
+
end
|
|
2194
|
+
end
|
|
2195
|
+
|
|
2196
|
+
# unit tests for scim_get_groups
|
|
2197
|
+
# List SCIM groups
|
|
2198
|
+
# Retrieve a paginated list of groups created using the SCIM protocol with an identity provider, for example, Microsoft Entra ID. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
|
|
2199
|
+
# @param [Hash] opts the optional parameters
|
|
2200
|
+
# @return [ScimGroupsListResponse]
|
|
2201
|
+
describe 'scim_get_groups test' do
|
|
2202
|
+
it 'should work' do
|
|
2203
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2204
|
+
end
|
|
2205
|
+
end
|
|
2206
|
+
|
|
2207
|
+
# unit tests for scim_get_resource_types
|
|
2208
|
+
# List supported SCIM resource types
|
|
2209
|
+
# Retrieve a list of resource types supported by the SCIM provisioning protocol. Resource types define the various kinds of resources that can be managed via the SCIM API, such as users, groups, or custom-defined resources.
|
|
2210
|
+
# @param [Hash] opts the optional parameters
|
|
2211
|
+
# @return [ScimResourceTypesListResponse]
|
|
2212
|
+
describe 'scim_get_resource_types test' do
|
|
2213
|
+
it 'should work' do
|
|
2214
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2215
|
+
end
|
|
2216
|
+
end
|
|
2217
|
+
|
|
2218
|
+
# unit tests for scim_get_schemas
|
|
2219
|
+
# List supported SCIM schemas
|
|
2220
|
+
# Retrieve a list of schemas supported by the SCIM provisioning protocol. Schemas define the structure and attributes of the different resources that can be managed via the SCIM API, such as users, groups, and any custom-defined resources.
|
|
2221
|
+
# @param [Hash] opts the optional parameters
|
|
2222
|
+
# @return [ScimSchemasListResponse]
|
|
2223
|
+
describe 'scim_get_schemas test' do
|
|
2224
|
+
it 'should work' do
|
|
2225
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2226
|
+
end
|
|
2227
|
+
end
|
|
2228
|
+
|
|
2229
|
+
# unit tests for scim_get_service_provider_config
|
|
2230
|
+
# Get SCIM service provider configuration
|
|
2231
|
+
# Retrieve the configuration settings of the SCIM service provider. It provides details about the features and capabilities supported by the SCIM API, such as the different operation settings.
|
|
2232
|
+
# @param [Hash] opts the optional parameters
|
|
2233
|
+
# @return [ScimServiceProviderConfigResponse]
|
|
2234
|
+
describe 'scim_get_service_provider_config test' do
|
|
2235
|
+
it 'should work' do
|
|
2236
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2237
|
+
end
|
|
2238
|
+
end
|
|
2239
|
+
|
|
2240
|
+
# unit tests for scim_get_user
|
|
2241
|
+
# Get SCIM user
|
|
2242
|
+
# Retrieve data for a specific Talon.One user created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.
|
|
2243
|
+
# @param user_id The ID of the user.
|
|
2244
|
+
# @param [Hash] opts the optional parameters
|
|
2245
|
+
# @return [ScimUser]
|
|
2246
|
+
describe 'scim_get_user test' do
|
|
2247
|
+
it 'should work' do
|
|
2248
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2249
|
+
end
|
|
2250
|
+
end
|
|
2251
|
+
|
|
2252
|
+
# unit tests for scim_get_users
|
|
2253
|
+
# List SCIM users
|
|
2254
|
+
# Retrieve a paginated list of users that have been provisioned using the SCIM protocol with an identity provider, for example, Microsoft Entra ID.
|
|
2255
|
+
# @param [Hash] opts the optional parameters
|
|
2256
|
+
# @return [ScimUsersListResponse]
|
|
2257
|
+
describe 'scim_get_users test' do
|
|
2258
|
+
it 'should work' do
|
|
2259
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2260
|
+
end
|
|
2261
|
+
end
|
|
2262
|
+
|
|
2263
|
+
# unit tests for scim_patch_group
|
|
2264
|
+
# Update SCIM group attributes
|
|
2265
|
+
# Update certain attributes of a group created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. This endpoint allows for selective adding, removing, or replacing of specific group attributes while other attributes remain unchanged. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
|
|
2266
|
+
# @param group_id The ID of the group.
|
|
2267
|
+
# @param scim_patch_request body
|
|
2268
|
+
# @param [Hash] opts the optional parameters
|
|
2269
|
+
# @return [ScimGroup]
|
|
2270
|
+
describe 'scim_patch_group test' do
|
|
2271
|
+
it 'should work' do
|
|
2272
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2273
|
+
end
|
|
2274
|
+
end
|
|
2275
|
+
|
|
2276
|
+
# unit tests for scim_patch_user
|
|
2277
|
+
# Update SCIM user attributes
|
|
2278
|
+
# Update certain attributes of a specific Talon.One user created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. This endpoint allows for selective adding, removing, or replacing specific attributes while leaving other attributes unchanged.
|
|
2279
|
+
# @param user_id The ID of the user.
|
|
2280
|
+
# @param scim_patch_request body
|
|
2281
|
+
# @param [Hash] opts the optional parameters
|
|
2282
|
+
# @return [ScimUser]
|
|
2283
|
+
describe 'scim_patch_user test' do
|
|
2284
|
+
it 'should work' do
|
|
2285
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2286
|
+
end
|
|
2287
|
+
end
|
|
2288
|
+
|
|
2289
|
+
# unit tests for scim_replace_group_attributes
|
|
2290
|
+
# Update SCIM group
|
|
2291
|
+
# Update the details of a specific group created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. This endpoint replaces all attributes of the given group with the attributes provided in the request payload. In Talon.One, a `Group` corresponds to a [role](https://docs.talon.one/docs/product/account/account-settings/managing-roles), and `members` are the [users](https://docs.talon.one/docs/product/account/account-settings/managing-users) assigned to that role.
|
|
2292
|
+
# @param group_id The ID of the group.
|
|
2293
|
+
# @param scim_base_group body
|
|
2294
|
+
# @param [Hash] opts the optional parameters
|
|
2295
|
+
# @return [ScimGroup]
|
|
2296
|
+
describe 'scim_replace_group_attributes test' do
|
|
2297
|
+
it 'should work' do
|
|
2298
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2299
|
+
end
|
|
2300
|
+
end
|
|
2301
|
+
|
|
2302
|
+
# unit tests for scim_replace_user_attributes
|
|
2303
|
+
# Update SCIM user
|
|
2304
|
+
# Update the details of a specific Talon.One user created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID. This endpoint replaces all attributes of the specific user with the attributes provided in the request payload.
|
|
2305
|
+
# @param user_id The ID of the user.
|
|
2306
|
+
# @param scim_new_user body
|
|
2307
|
+
# @param [Hash] opts the optional parameters
|
|
2308
|
+
# @return [ScimUser]
|
|
2309
|
+
describe 'scim_replace_user_attributes test' do
|
|
2310
|
+
it 'should work' do
|
|
2311
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2312
|
+
end
|
|
2313
|
+
end
|
|
2314
|
+
|
|
2315
|
+
# unit tests for search_coupons_advanced_application_wide_without_total_count
|
|
2316
|
+
# List coupons that match the given attributes (without total count)
|
|
2317
|
+
# List the coupons whose attributes match the query criteria in all the campaigns of the given Application. The match is successful if all the attributes of the request are found in a coupon, even if the coupon has more attributes that are not present on the request. **Note:** The total count is not included in the response.
|
|
2318
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2319
|
+
# @param body body
|
|
2320
|
+
# @param [Hash] opts the optional parameters
|
|
2321
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
2322
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
2323
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
2324
|
+
# @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
|
|
2325
|
+
# @option opts [Time] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
2326
|
+
# @option opts [Time] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
2327
|
+
# @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiration date is set and in the past. The second matches coupons in which start date is null or in the past and expiration date is null or in the future, the third matches coupons in which start date is set and in the future.
|
|
2328
|
+
# @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
|
|
2329
|
+
# @option opts [Integer] :referral_id Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code.
|
|
2330
|
+
# @option opts [String] :recipient_integration_id Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field.
|
|
2331
|
+
# @option opts [String] :batch_id Filter results by batches of coupons
|
|
2332
|
+
# @option opts [Boolean] :exact_match Filter results to an exact case-insensitive matching against the coupon code.
|
|
2333
|
+
# @option opts [String] :campaign_state Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived.
|
|
2334
|
+
# @return [GetCouponsWithoutTotalCount200Response]
|
|
2335
|
+
describe 'search_coupons_advanced_application_wide_without_total_count test' do
|
|
2336
|
+
it 'should work' do
|
|
2337
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2338
|
+
end
|
|
2339
|
+
end
|
|
2340
|
+
|
|
2341
|
+
# unit tests for search_coupons_advanced_without_total_count
|
|
2342
|
+
# List coupons that match the given attributes in campaign (without total count)
|
|
2343
|
+
# List the coupons whose attributes match the query criteria in the given campaign. The match is successful if all the attributes of the request are found in a coupon, even if the coupon has more attributes that are not present on the request. **Note:** The total count is not included in the response.
|
|
2344
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2345
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
2346
|
+
# @param body body
|
|
2347
|
+
# @param [Hash] opts the optional parameters
|
|
2348
|
+
# @option opts [Integer] :page_size The number of items in the response.
|
|
2349
|
+
# @option opts [Integer] :skip The number of items to skip when paging through large result sets.
|
|
2350
|
+
# @option opts [String] :sort The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
|
|
2351
|
+
# @option opts [String] :value Filter results performing case-insensitive matching against the coupon code. Both the code and the query are folded to remove all non-alpha-numeric characters.
|
|
2352
|
+
# @option opts [Time] :created_before Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
2353
|
+
# @option opts [Time] :created_after Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
|
|
2354
|
+
# @option opts [String] :valid Either \"expired\", \"validNow\", or \"validFuture\". The first option matches coupons in which the expiration date is set and in the past. The second matches coupons in which start date is null or in the past and expiration date is null or in the future, the third matches coupons in which start date is set and in the future.
|
|
2355
|
+
# @option opts [String] :usable Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`.
|
|
2356
|
+
# @option opts [Integer] :referral_id Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code.
|
|
2357
|
+
# @option opts [String] :recipient_integration_id Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field.
|
|
2358
|
+
# @option opts [Boolean] :exact_match Filter results to an exact case-insensitive matching against the coupon code.
|
|
2359
|
+
# @option opts [String] :batch_id Filter results by batches of coupons
|
|
2360
|
+
# @return [GetCouponsWithoutTotalCount200Response]
|
|
2361
|
+
describe 'search_coupons_advanced_without_total_count test' do
|
|
2362
|
+
it 'should work' do
|
|
2363
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2364
|
+
end
|
|
2365
|
+
end
|
|
2366
|
+
|
|
2367
|
+
# unit tests for summarize_campaign_store_budget
|
|
2368
|
+
# Get summary of campaign store budgets
|
|
2369
|
+
# Fetch a summary of all store budget information for a given campaign.
|
|
2370
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2371
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
2372
|
+
# @param [Hash] opts the optional parameters
|
|
2373
|
+
# @return [SummarizeCampaignStoreBudget200Response]
|
|
2374
|
+
describe 'summarize_campaign_store_budget test' do
|
|
2375
|
+
it 'should work' do
|
|
2376
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2377
|
+
end
|
|
2378
|
+
end
|
|
2379
|
+
|
|
2380
|
+
# unit tests for transfer_loyalty_card
|
|
2381
|
+
# Transfer card data
|
|
2382
|
+
# Transfer loyalty card data, such as linked customers, loyalty balances and transactions, from a given loyalty card to a new, automatically created loyalty card. **Important:** - The original card is automatically blocked once the new card is created, and it cannot be activated again. - The default status of the new card is _active_.
|
|
2383
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
2384
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
|
2385
|
+
# @param transfer_loyalty_card body
|
|
2386
|
+
# @param [Hash] opts the optional parameters
|
|
2387
|
+
# @return [nil]
|
|
2388
|
+
describe 'transfer_loyalty_card test' do
|
|
2389
|
+
it 'should work' do
|
|
2390
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2391
|
+
end
|
|
2392
|
+
end
|
|
2393
|
+
|
|
2394
|
+
# unit tests for update_account_collection
|
|
2395
|
+
# Update account-level collection
|
|
2396
|
+
# Edit the description of a given account-level collection and enable or disable the collection in the specified Applications.
|
|
2397
|
+
# @param collection_id The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
|
|
2398
|
+
# @param update_collection body
|
|
2399
|
+
# @param [Hash] opts the optional parameters
|
|
2400
|
+
# @return [Collection]
|
|
2401
|
+
describe 'update_account_collection test' do
|
|
2402
|
+
it 'should work' do
|
|
2403
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2404
|
+
end
|
|
2405
|
+
end
|
|
2406
|
+
|
|
2407
|
+
# unit tests for update_achievement
|
|
2408
|
+
# Update achievement
|
|
2409
|
+
# Update the details of a specific achievement.
|
|
2410
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2411
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
2412
|
+
# @param achievement_id The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint.
|
|
2413
|
+
# @param update_achievement body
|
|
2414
|
+
# @param [Hash] opts the optional parameters
|
|
2415
|
+
# @return [Achievement]
|
|
2416
|
+
describe 'update_achievement test' do
|
|
2417
|
+
it 'should work' do
|
|
2418
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2419
|
+
end
|
|
2420
|
+
end
|
|
2421
|
+
|
|
2422
|
+
# unit tests for update_additional_cost
|
|
2423
|
+
# Update additional cost
|
|
2424
|
+
# Updates an existing additional cost. Once created, the only property of an additional cost that cannot be changed is the `name` property (or **API name** in the Campaign Manager). This restriction is in place to prevent accidentally breaking live integrations.
|
|
2425
|
+
# @param additional_cost_id The ID of the additional cost. You can find the ID the the Campaign Manager's URL when you display the details of the cost in **Account** > **Tools** > **Additional costs**.
|
|
2426
|
+
# @param new_additional_cost body
|
|
2427
|
+
# @param [Hash] opts the optional parameters
|
|
2428
|
+
# @return [AccountAdditionalCost]
|
|
2429
|
+
describe 'update_additional_cost test' do
|
|
2430
|
+
it 'should work' do
|
|
2431
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2432
|
+
end
|
|
2433
|
+
end
|
|
2434
|
+
|
|
2435
|
+
# unit tests for update_attribute
|
|
2436
|
+
# Update custom attribute
|
|
2437
|
+
# Update an existing custom attribute. Once created, the only property of a custom attribute that can be changed is the description. To change the `type` or `name` property of a custom attribute, create a new attribute and update any relevant integrations and rules to use the new attribute.
|
|
2438
|
+
# @param attribute_id The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**.
|
|
2439
|
+
# @param new_attribute body
|
|
2440
|
+
# @param [Hash] opts the optional parameters
|
|
2441
|
+
# @return [Attribute]
|
|
2442
|
+
describe 'update_attribute test' do
|
|
2443
|
+
it 'should work' do
|
|
2444
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2445
|
+
end
|
|
2446
|
+
end
|
|
2447
|
+
|
|
2448
|
+
# unit tests for update_campaign
|
|
2449
|
+
# Update campaign
|
|
2450
|
+
# Update the given campaign. **Important:** You cannot use this endpoint to update campaigns if [campaign staging and revisions](https://docs.talon.one/docs/product/applications/managing-general-settings#campaign-staging-and-revisions) is enabled for your Application.
|
|
2451
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2452
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
2453
|
+
# @param update_campaign body
|
|
2454
|
+
# @param [Hash] opts the optional parameters
|
|
2455
|
+
# @return [Campaign]
|
|
2456
|
+
describe 'update_campaign test' do
|
|
2457
|
+
it 'should work' do
|
|
2458
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2459
|
+
end
|
|
2460
|
+
end
|
|
2461
|
+
|
|
2462
|
+
# unit tests for update_collection
|
|
2463
|
+
# Update campaign-level collection's description
|
|
2464
|
+
# Edit the description of a given campaign-level collection.
|
|
2465
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2466
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
2467
|
+
# @param collection_id The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint.
|
|
2468
|
+
# @param update_campaign_collection body
|
|
2469
|
+
# @param [Hash] opts the optional parameters
|
|
2470
|
+
# @return [Collection]
|
|
2471
|
+
describe 'update_collection test' do
|
|
2472
|
+
it 'should work' do
|
|
2473
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2474
|
+
end
|
|
2475
|
+
end
|
|
2476
|
+
|
|
2477
|
+
# unit tests for update_coupon
|
|
2478
|
+
# Update coupon
|
|
2479
|
+
# Update the specified coupon. <div class=\"redoc-section\"> <p class=\"title\">Important</p> <p>With this <code>PUT</code> endpoint, if you do not explicitly set a value for the <code>startDate</code>, <code>expiryDate</code>, and <code>recipientIntegrationId</code> properties in your request, it is automatically set to <code>null</code>.</p> </div>
|
|
2480
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2481
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
2482
|
+
# @param coupon_id The internal ID of the coupon code. You can find this value in the `id` property from the [List coupons](https://docs.talon.one/management-api#tag/Coupons/operation/getCouponsWithoutTotalCount) endpoint response.
|
|
2483
|
+
# @param update_coupon body
|
|
2484
|
+
# @param [Hash] opts the optional parameters
|
|
2485
|
+
# @return [Coupon]
|
|
2486
|
+
describe 'update_coupon test' do
|
|
2487
|
+
it 'should work' do
|
|
2488
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2489
|
+
end
|
|
2490
|
+
end
|
|
2491
|
+
|
|
2492
|
+
# unit tests for update_coupon_batch
|
|
2493
|
+
# Update coupons
|
|
2494
|
+
# Update all coupons or a specific batch of coupons in the given campaign. You can find the `batchId` on the **Coupons** page of your campaign in the Campaign Manager, or you can use [List coupons](#operation/getCouponsWithoutTotalCount). <div class=\"redoc-section\"> <p class=\"title\">Important</p> <ul> <li>Only send sequential requests to this endpoint.</li> <li>Requests to this endpoint time out after 30 minutes. If you hit a timeout, contact our support team.</li> <li>With this <code>PUT</code> endpoint, if you do not explicitly set a value for the <code>startDate</code> and <code>expiryDate</code> properties in your request, it is automatically set to <code>null</code>.</li> </ul> </div> To update a specific coupon, use [Update coupon](#operation/updateCoupon).
|
|
2495
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2496
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
2497
|
+
# @param update_coupon_batch body
|
|
2498
|
+
# @param [Hash] opts the optional parameters
|
|
2499
|
+
# @return [nil]
|
|
2500
|
+
describe 'update_coupon_batch test' do
|
|
2501
|
+
it 'should work' do
|
|
2502
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2503
|
+
end
|
|
2504
|
+
end
|
|
2505
|
+
|
|
2506
|
+
# unit tests for update_loyalty_card
|
|
2507
|
+
# Update loyalty card status
|
|
2508
|
+
# Update the status of the given loyalty card. A card can be _active_ or _inactive_.
|
|
2509
|
+
# @param loyalty_program_id Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
|
|
2510
|
+
# @param loyalty_card_id Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
|
|
2511
|
+
# @param update_loyalty_card body
|
|
2512
|
+
# @param [Hash] opts the optional parameters
|
|
2513
|
+
# @return [LoyaltyCard]
|
|
2514
|
+
describe 'update_loyalty_card test' do
|
|
2515
|
+
it 'should work' do
|
|
2516
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2517
|
+
end
|
|
2518
|
+
end
|
|
2519
|
+
|
|
2520
|
+
# unit tests for update_referral
|
|
2521
|
+
# Update referral
|
|
2522
|
+
# Update the specified referral.
|
|
2523
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2524
|
+
# @param campaign_id The ID of the campaign. It is displayed in your Talon.One deployment URL.
|
|
2525
|
+
# @param referral_id The ID of the referral code.
|
|
2526
|
+
# @param update_referral body
|
|
2527
|
+
# @param [Hash] opts the optional parameters
|
|
2528
|
+
# @return [Referral]
|
|
2529
|
+
describe 'update_referral test' do
|
|
2530
|
+
it 'should work' do
|
|
2531
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2532
|
+
end
|
|
2533
|
+
end
|
|
2534
|
+
|
|
2535
|
+
# unit tests for update_role_v2
|
|
2536
|
+
# Update role
|
|
2537
|
+
# Update a specific role.
|
|
2538
|
+
# @param role_id The ID of role. **Note**: To find the ID of a role, use the [List roles](/management-api#tag/Roles/operation/listAllRolesV2) endpoint.
|
|
2539
|
+
# @param role_v2_base body
|
|
2540
|
+
# @param [Hash] opts the optional parameters
|
|
2541
|
+
# @return [RoleV2]
|
|
2542
|
+
describe 'update_role_v2 test' do
|
|
2543
|
+
it 'should work' do
|
|
2544
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2545
|
+
end
|
|
2546
|
+
end
|
|
2547
|
+
|
|
2548
|
+
# unit tests for update_store
|
|
2549
|
+
# Update store
|
|
2550
|
+
# Update store details for a specific store ID.
|
|
2551
|
+
# @param application_id The ID of the Application. It is displayed in your Talon.One deployment URL.
|
|
2552
|
+
# @param store_id The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint.
|
|
2553
|
+
# @param new_store body
|
|
2554
|
+
# @param [Hash] opts the optional parameters
|
|
2555
|
+
# @return [Store]
|
|
2556
|
+
describe 'update_store test' do
|
|
2557
|
+
it 'should work' do
|
|
2558
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2559
|
+
end
|
|
2560
|
+
end
|
|
2561
|
+
|
|
2562
|
+
# unit tests for update_user
|
|
2563
|
+
# Update user
|
|
2564
|
+
# Update the details of a specific user.
|
|
2565
|
+
# @param user_id The ID of the user.
|
|
2566
|
+
# @param update_user body
|
|
2567
|
+
# @param [Hash] opts the optional parameters
|
|
2568
|
+
# @return [User]
|
|
2569
|
+
describe 'update_user test' do
|
|
2570
|
+
it 'should work' do
|
|
2571
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
2572
|
+
end
|
|
2573
|
+
end
|
|
2574
|
+
|
|
2575
|
+
end
|