diff --git a/.gitignore b/.gitignore index 7e47a61..17302c9 100644 --- a/.gitignore +++ b/.gitignore @@ -184,5 +184,3 @@ $RECYCLE.BIN/ # Visual Studio 2014 CTP **/*.sln.ide - -.idea diff --git a/README.md b/README.md index ddf06d6..a4107c7 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,13 @@ -# TalonOne - the C# library for the Talon.One API +# Talon.One C# SDK -Use the Talon.One API to integrate with your application and to -manage applications and campaigns: +This SDK supports all of the operations of Talon.One's Integration API and Management API. -- 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}` - - -This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- SDK version: 7.0.1 -- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen - - ## Frameworks supported + - .NET Core >=1.0 - .NET Framework >=4.6 - Mono/Xamarin >=vNext - ## Dependencies - [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.15.0 or later @@ -36,28 +16,38 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap - [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 4.5.0 or later The DLLs included in the package may not be the latest version. We recommend using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages: -``` + +```powershell Install-Package RestSharp Install-Package Newtonsoft.Json Install-Package JsonSubTypes Install-Package System.ComponentModel.Annotations ``` - ## Installation + Generate the DLL using your preferred tool (e.g. `dotnet build`) Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces: + ```csharp using TalonOne.Api; using TalonOne.Client; using TalonOne.Model; ``` - -## Getting Started + +## 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 [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint +is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`. + +## Getting started ### Integration API +The following code shows an example of using the Integration API: ```csharp using System.Collections.Generic; @@ -74,7 +64,7 @@ namespace Example { // Configure BasePath & API key authorization: api_key_v1 var integrationConfig = new Configuration { - BasePath = "https://yourbaseurl.talon.one.talon.one", + BasePath = "https://yourbaseurl.talon.one", // No trailing slash! ApiKey = new Dictionary { { "Authorization", "e18149e88f42205432281c9d3d0e711111302722577ad60dcebc86c43aabfe70" } }, @@ -164,7 +154,9 @@ namespace Example } ``` -## Management API +### Management API + +The following code shows an example of using the Management API: ```csharp using System.Collections.Generic; @@ -181,7 +173,7 @@ namespace Example { // Configure BasePath & API key authorization: management_key var managementConfig = new Configuration { - BasePath = "https://yourbaseurl.talon.one.talon.one", + BasePath = "https://yourbaseurl.talon.one", // No trailing slash! ApiKey = new Dictionary { { "Authorization", "2f0dce055da01ae595005d7d79154bae7448d319d5fc7c5b2951fadd6ba1ea07" } }, @@ -215,10 +207,9 @@ namespace Example } ``` - -## Documentation for API Endpoints +## Documentation for API endpoints -All URIs are relative to *https://yourbaseurl.talon.one* +All URLs are relative to `https://yourbaseurl.talon.one`. Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- @@ -233,7 +224,7 @@ Class | Method | HTTP request | Description *IntegrationApi* | [**GenerateLoyaltyCard**](docs/IntegrationApi.md#generateloyaltycard) | **POST** /v1/loyalty_programs/{loyaltyProgramId}/cards | Generate loyalty card *IntegrationApi* | [**GetCustomerInventory**](docs/IntegrationApi.md#getcustomerinventory) | **GET** /v1/customer_profiles/{integrationId}/inventory | List customer data *IntegrationApi* | [**GetCustomerSession**](docs/IntegrationApi.md#getcustomersession) | **GET** /v2/customer_sessions/{customerSessionId} | Get customer session -*IntegrationApi* | [**GetLoyaltyBalances**](docs/IntegrationApi.md#getloyaltybalances) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/balances | Get customer's loyalty points +*IntegrationApi* | [**GetLoyaltyBalances**](docs/IntegrationApi.md#getloyaltybalances) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/balances | Get customer's loyalty balances *IntegrationApi* | [**GetLoyaltyCardBalances**](docs/IntegrationApi.md#getloyaltycardbalances) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/balances | Get card's point balances *IntegrationApi* | [**GetLoyaltyCardPoints**](docs/IntegrationApi.md#getloyaltycardpoints) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/points | List card's unused loyalty points *IntegrationApi* | [**GetLoyaltyCardTransactions**](docs/IntegrationApi.md#getloyaltycardtransactions) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/transactions | List card's transactions @@ -310,7 +301,6 @@ Class | Method | HTTP request | Description *ManagementApi* | [**GetAchievement**](docs/ManagementApi.md#getachievement) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements/{achievementId} | Get achievement *ManagementApi* | [**GetAdditionalCost**](docs/ManagementApi.md#getadditionalcost) | **GET** /v1/additional_costs/{additionalCostId} | Get additional cost *ManagementApi* | [**GetAdditionalCosts**](docs/ManagementApi.md#getadditionalcosts) | **GET** /v1/additional_costs | List additional costs -*ManagementApi* | [**GetAllAccessLogs**](docs/ManagementApi.md#getallaccesslogs) | **GET** /v1/access_logs | List access logs *ManagementApi* | [**GetApplication**](docs/ManagementApi.md#getapplication) | **GET** /v1/applications/{applicationId} | Get Application *ManagementApi* | [**GetApplicationApiHealth**](docs/ManagementApi.md#getapplicationapihealth) | **GET** /v1/applications/{applicationId}/health_report | Get Application health *ManagementApi* | [**GetApplicationCustomer**](docs/ManagementApi.md#getapplicationcustomer) | **GET** /v1/applications/{applicationId}/customers/{customerId} | Get application's customer @@ -418,535 +408,539 @@ Class | Method | HTTP request | Description *ManagementApi* | [**UpdateStore**](docs/ManagementApi.md#updatestore) | **PUT** /v1/applications/{applicationId}/stores/{storeId} | Update store *ManagementApi* | [**UpdateUser**](docs/ManagementApi.md#updateuser) | **PUT** /v1/users/{userId} | Update user +## Documentation for models + +- [Model.APIError](docs/APIError.md) +- [Model.AcceptCouponEffectProps](docs/AcceptCouponEffectProps.md) +- [Model.AcceptReferralEffectProps](docs/AcceptReferralEffectProps.md) +- [Model.AccessLogEntry](docs/AccessLogEntry.md) +- [Model.Account](docs/Account.md) +- [Model.AccountAdditionalCost](docs/AccountAdditionalCost.md) +- [Model.AccountAnalytics](docs/AccountAnalytics.md) +- [Model.AccountDashboardStatistic](docs/AccountDashboardStatistic.md) +- [Model.AccountDashboardStatisticCampaigns](docs/AccountDashboardStatisticCampaigns.md) +- [Model.AccountDashboardStatisticDiscount](docs/AccountDashboardStatisticDiscount.md) +- [Model.AccountDashboardStatisticLoyaltyPoints](docs/AccountDashboardStatisticLoyaltyPoints.md) +- [Model.AccountDashboardStatisticReferrals](docs/AccountDashboardStatisticReferrals.md) +- [Model.AccountDashboardStatisticRevenue](docs/AccountDashboardStatisticRevenue.md) +- [Model.AccountEntity](docs/AccountEntity.md) +- [Model.AccountLimits](docs/AccountLimits.md) +- [Model.Achievement](docs/Achievement.md) +- [Model.AchievementAdditionalProperties](docs/AchievementAdditionalProperties.md) +- [Model.AchievementProgress](docs/AchievementProgress.md) +- [Model.AddFreeItemEffectProps](docs/AddFreeItemEffectProps.md) +- [Model.AddItemCatalogAction](docs/AddItemCatalogAction.md) +- [Model.AddLoyaltyPoints](docs/AddLoyaltyPoints.md) +- [Model.AddLoyaltyPointsEffectProps](docs/AddLoyaltyPointsEffectProps.md) +- [Model.AddToAudienceEffectProps](docs/AddToAudienceEffectProps.md) +- [Model.AddedDeductedPointsNotificationPolicy](docs/AddedDeductedPointsNotificationPolicy.md) +- [Model.AdditionalCampaignProperties](docs/AdditionalCampaignProperties.md) +- [Model.AdditionalCost](docs/AdditionalCost.md) +- [Model.AnalyticsDataPoint](docs/AnalyticsDataPoint.md) +- [Model.AnalyticsDataPointWithTrend](docs/AnalyticsDataPointWithTrend.md) +- [Model.AnalyticsDataPointWithTrendAndInfluencedRate](docs/AnalyticsDataPointWithTrendAndInfluencedRate.md) +- [Model.AnalyticsDataPointWithTrendAndUplift](docs/AnalyticsDataPointWithTrendAndUplift.md) +- [Model.AnalyticsProduct](docs/AnalyticsProduct.md) +- [Model.AnalyticsProductSKU](docs/AnalyticsProductSKU.md) +- [Model.Application](docs/Application.md) +- [Model.ApplicationAPIKey](docs/ApplicationAPIKey.md) +- [Model.ApplicationAnalyticsDataPoint](docs/ApplicationAnalyticsDataPoint.md) +- [Model.ApplicationApiHealth](docs/ApplicationApiHealth.md) +- [Model.ApplicationCIF](docs/ApplicationCIF.md) +- [Model.ApplicationCIFExpression](docs/ApplicationCIFExpression.md) +- [Model.ApplicationCampaignAnalytics](docs/ApplicationCampaignAnalytics.md) +- [Model.ApplicationCampaignStats](docs/ApplicationCampaignStats.md) +- [Model.ApplicationCustomer](docs/ApplicationCustomer.md) +- [Model.ApplicationCustomerEntity](docs/ApplicationCustomerEntity.md) +- [Model.ApplicationEntity](docs/ApplicationEntity.md) +- [Model.ApplicationEvent](docs/ApplicationEvent.md) +- [Model.ApplicationNotification](docs/ApplicationNotification.md) +- [Model.ApplicationReferee](docs/ApplicationReferee.md) +- [Model.ApplicationSession](docs/ApplicationSession.md) +- [Model.ApplicationSessionEntity](docs/ApplicationSessionEntity.md) +- [Model.ApplicationStoreEntity](docs/ApplicationStoreEntity.md) +- [Model.AsyncCouponCreationResponse](docs/AsyncCouponCreationResponse.md) +- [Model.AsyncCouponDeletionJobResponse](docs/AsyncCouponDeletionJobResponse.md) +- [Model.Attribute](docs/Attribute.md) +- [Model.AttributesMandatory](docs/AttributesMandatory.md) +- [Model.AttributesSettings](docs/AttributesSettings.md) +- [Model.Audience](docs/Audience.md) +- [Model.AudienceAnalytics](docs/AudienceAnalytics.md) +- [Model.AudienceCustomer](docs/AudienceCustomer.md) +- [Model.AudienceIntegrationID](docs/AudienceIntegrationID.md) +- [Model.AudienceMembership](docs/AudienceMembership.md) +- [Model.AwardGiveawayEffectProps](docs/AwardGiveawayEffectProps.md) +- [Model.BaseCampaign](docs/BaseCampaign.md) +- [Model.BaseLoyaltyProgram](docs/BaseLoyaltyProgram.md) +- [Model.BaseNotification](docs/BaseNotification.md) +- [Model.BaseNotificationEntity](docs/BaseNotificationEntity.md) +- [Model.BaseNotificationWebhook](docs/BaseNotificationWebhook.md) +- [Model.BaseNotifications](docs/BaseNotifications.md) +- [Model.BaseSamlConnection](docs/BaseSamlConnection.md) +- [Model.Binding](docs/Binding.md) +- [Model.BulkApplicationNotification](docs/BulkApplicationNotification.md) +- [Model.BulkCampaignNotification](docs/BulkCampaignNotification.md) +- [Model.BulkOperationOnCampaigns](docs/BulkOperationOnCampaigns.md) +- [Model.Campaign](docs/Campaign.md) +- [Model.CampaignActivationRequest](docs/CampaignActivationRequest.md) +- [Model.CampaignAnalytics](docs/CampaignAnalytics.md) +- [Model.CampaignBudget](docs/CampaignBudget.md) +- [Model.CampaignCollection](docs/CampaignCollection.md) +- [Model.CampaignCollectionEditedNotification](docs/CampaignCollectionEditedNotification.md) +- [Model.CampaignCollectionWithoutPayload](docs/CampaignCollectionWithoutPayload.md) +- [Model.CampaignCopy](docs/CampaignCopy.md) +- [Model.CampaignCreatedNotification](docs/CampaignCreatedNotification.md) +- [Model.CampaignDeletedNotification](docs/CampaignDeletedNotification.md) +- [Model.CampaignEditedNotification](docs/CampaignEditedNotification.md) +- [Model.CampaignEntity](docs/CampaignEntity.md) +- [Model.CampaignEvaluationGroup](docs/CampaignEvaluationGroup.md) +- [Model.CampaignEvaluationPosition](docs/CampaignEvaluationPosition.md) +- [Model.CampaignEvaluationTreeChangedNotification](docs/CampaignEvaluationTreeChangedNotification.md) +- [Model.CampaignGroup](docs/CampaignGroup.md) +- [Model.CampaignGroupEntity](docs/CampaignGroupEntity.md) +- [Model.CampaignNotification](docs/CampaignNotification.md) +- [Model.CampaignNotificationPolicy](docs/CampaignNotificationPolicy.md) +- [Model.CampaignRulesetChangedNotification](docs/CampaignRulesetChangedNotification.md) +- [Model.CampaignSearch](docs/CampaignSearch.md) +- [Model.CampaignSet](docs/CampaignSet.md) +- [Model.CampaignSetBranchNode](docs/CampaignSetBranchNode.md) +- [Model.CampaignSetLeafNode](docs/CampaignSetLeafNode.md) +- [Model.CampaignSetNode](docs/CampaignSetNode.md) +- [Model.CampaignStateChangedNotification](docs/CampaignStateChangedNotification.md) +- [Model.CampaignStoreBudget](docs/CampaignStoreBudget.md) +- [Model.CampaignTemplate](docs/CampaignTemplate.md) +- [Model.CampaignTemplateCollection](docs/CampaignTemplateCollection.md) +- [Model.CampaignTemplateCouponReservationSettings](docs/CampaignTemplateCouponReservationSettings.md) +- [Model.CampaignTemplateParams](docs/CampaignTemplateParams.md) +- [Model.CampaignVersions](docs/CampaignVersions.md) +- [Model.CardAddedDeductedPointsNotificationPolicy](docs/CardAddedDeductedPointsNotificationPolicy.md) +- [Model.CardExpiringPointsNotificationPolicy](docs/CardExpiringPointsNotificationPolicy.md) +- [Model.CardExpiringPointsNotificationTrigger](docs/CardExpiringPointsNotificationTrigger.md) +- [Model.CardLedgerPointsEntryIntegrationAPI](docs/CardLedgerPointsEntryIntegrationAPI.md) +- [Model.CardLedgerTransactionLogEntry](docs/CardLedgerTransactionLogEntry.md) +- [Model.CardLedgerTransactionLogEntryIntegrationAPI](docs/CardLedgerTransactionLogEntryIntegrationAPI.md) +- [Model.CartItem](docs/CartItem.md) +- [Model.Catalog](docs/Catalog.md) +- [Model.CatalogAction](docs/CatalogAction.md) +- [Model.CatalogActionFilter](docs/CatalogActionFilter.md) +- [Model.CatalogItem](docs/CatalogItem.md) +- [Model.CatalogSyncRequest](docs/CatalogSyncRequest.md) +- [Model.CatalogsStrikethroughNotificationPolicy](docs/CatalogsStrikethroughNotificationPolicy.md) +- [Model.Change](docs/Change.md) +- [Model.ChangeLoyaltyTierLevelEffectProps](docs/ChangeLoyaltyTierLevelEffectProps.md) +- [Model.ChangeProfilePassword](docs/ChangeProfilePassword.md) +- [Model.CodeGeneratorSettings](docs/CodeGeneratorSettings.md) +- [Model.Collection](docs/Collection.md) +- [Model.CollectionItem](docs/CollectionItem.md) +- [Model.CollectionWithoutPayload](docs/CollectionWithoutPayload.md) +- [Model.Coupon](docs/Coupon.md) +- [Model.CouponConstraints](docs/CouponConstraints.md) +- [Model.CouponCreatedEffectProps](docs/CouponCreatedEffectProps.md) +- [Model.CouponCreationJob](docs/CouponCreationJob.md) +- [Model.CouponDeletionFilters](docs/CouponDeletionFilters.md) +- [Model.CouponDeletionJob](docs/CouponDeletionJob.md) +- [Model.CouponLimitConfigs](docs/CouponLimitConfigs.md) +- [Model.CouponRejectionReason](docs/CouponRejectionReason.md) +- [Model.CouponReservations](docs/CouponReservations.md) +- [Model.CouponSearch](docs/CouponSearch.md) +- [Model.CouponValue](docs/CouponValue.md) +- [Model.CouponsNotificationPolicy](docs/CouponsNotificationPolicy.md) +- [Model.CreateAchievement](docs/CreateAchievement.md) +- [Model.CreateApplicationAPIKey](docs/CreateApplicationAPIKey.md) +- [Model.CreateManagementKey](docs/CreateManagementKey.md) +- [Model.CreateTemplateCampaign](docs/CreateTemplateCampaign.md) +- [Model.CreateTemplateCampaignResponse](docs/CreateTemplateCampaignResponse.md) +- [Model.CustomEffect](docs/CustomEffect.md) +- [Model.CustomEffectProps](docs/CustomEffectProps.md) +- [Model.CustomerActivityReport](docs/CustomerActivityReport.md) +- [Model.CustomerAnalytics](docs/CustomerAnalytics.md) +- [Model.CustomerInventory](docs/CustomerInventory.md) +- [Model.CustomerProfile](docs/CustomerProfile.md) +- [Model.CustomerProfileAudienceRequest](docs/CustomerProfileAudienceRequest.md) +- [Model.CustomerProfileAudienceRequestItem](docs/CustomerProfileAudienceRequestItem.md) +- [Model.CustomerProfileIntegrationRequestV2](docs/CustomerProfileIntegrationRequestV2.md) +- [Model.CustomerProfileIntegrationResponseV2](docs/CustomerProfileIntegrationResponseV2.md) +- [Model.CustomerProfileSearchQuery](docs/CustomerProfileSearchQuery.md) +- [Model.CustomerProfileUpdateV2Response](docs/CustomerProfileUpdateV2Response.md) +- [Model.CustomerSession](docs/CustomerSession.md) +- [Model.CustomerSessionV2](docs/CustomerSessionV2.md) +- [Model.DeactivateUserRequest](docs/DeactivateUserRequest.md) +- [Model.DeductLoyaltyPoints](docs/DeductLoyaltyPoints.md) +- [Model.DeductLoyaltyPointsEffectProps](docs/DeductLoyaltyPointsEffectProps.md) +- [Model.Effect](docs/Effect.md) +- [Model.EffectEntity](docs/EffectEntity.md) +- [Model.EmailEntity](docs/EmailEntity.md) +- [Model.Endpoint](docs/Endpoint.md) +- [Model.Entity](docs/Entity.md) +- [Model.EntityWithTalangVisibleID](docs/EntityWithTalangVisibleID.md) +- [Model.Environment](docs/Environment.md) +- [Model.ErrorEffectProps](docs/ErrorEffectProps.md) +- [Model.ErrorResponse](docs/ErrorResponse.md) +- [Model.ErrorResponseWithStatus](docs/ErrorResponseWithStatus.md) +- [Model.ErrorSource](docs/ErrorSource.md) +- [Model.EvaluableCampaignIds](docs/EvaluableCampaignIds.md) +- [Model.Event](docs/Event.md) +- [Model.EventType](docs/EventType.md) +- [Model.EventV2](docs/EventV2.md) +- [Model.ExpiringCouponsNotificationPolicy](docs/ExpiringCouponsNotificationPolicy.md) +- [Model.ExpiringCouponsNotificationTrigger](docs/ExpiringCouponsNotificationTrigger.md) +- [Model.ExpiringPointsNotificationPolicy](docs/ExpiringPointsNotificationPolicy.md) +- [Model.ExpiringPointsNotificationTrigger](docs/ExpiringPointsNotificationTrigger.md) +- [Model.Export](docs/Export.md) +- [Model.FeatureFlag](docs/FeatureFlag.md) +- [Model.FeaturesFeed](docs/FeaturesFeed.md) +- [Model.FuncArgDef](docs/FuncArgDef.md) +- [Model.FunctionDef](docs/FunctionDef.md) +- [Model.GenerateCampaignDescription](docs/GenerateCampaignDescription.md) +- [Model.GenerateCampaignTags](docs/GenerateCampaignTags.md) +- [Model.GenerateItemFilterDescription](docs/GenerateItemFilterDescription.md) +- [Model.GenerateLoyaltyCard](docs/GenerateLoyaltyCard.md) +- [Model.GenerateRuleTitle](docs/GenerateRuleTitle.md) +- [Model.GenerateRuleTitleRule](docs/GenerateRuleTitleRule.md) +- [Model.GetIntegrationCouponRequest](docs/GetIntegrationCouponRequest.md) +- [Model.Giveaway](docs/Giveaway.md) +- [Model.GiveawaysPool](docs/GiveawaysPool.md) +- [Model.IdentifiableEntity](docs/IdentifiableEntity.md) +- [Model.Import](docs/Import.md) +- [Model.ImportEntity](docs/ImportEntity.md) +- [Model.IncreaseAchievementProgressEffectProps](docs/IncreaseAchievementProgressEffectProps.md) +- [Model.InlineResponse200](docs/InlineResponse200.md) +- [Model.InlineResponse2001](docs/InlineResponse2001.md) +- [Model.InlineResponse20010](docs/InlineResponse20010.md) +- [Model.InlineResponse20011](docs/InlineResponse20011.md) +- [Model.InlineResponse20012](docs/InlineResponse20012.md) +- [Model.InlineResponse20013](docs/InlineResponse20013.md) +- [Model.InlineResponse20014](docs/InlineResponse20014.md) +- [Model.InlineResponse20015](docs/InlineResponse20015.md) +- [Model.InlineResponse20016](docs/InlineResponse20016.md) +- [Model.InlineResponse20017](docs/InlineResponse20017.md) +- [Model.InlineResponse20018](docs/InlineResponse20018.md) +- [Model.InlineResponse20019](docs/InlineResponse20019.md) +- [Model.InlineResponse2002](docs/InlineResponse2002.md) +- [Model.InlineResponse20020](docs/InlineResponse20020.md) +- [Model.InlineResponse20021](docs/InlineResponse20021.md) +- [Model.InlineResponse20022](docs/InlineResponse20022.md) +- [Model.InlineResponse20023](docs/InlineResponse20023.md) +- [Model.InlineResponse20024](docs/InlineResponse20024.md) +- [Model.InlineResponse20025](docs/InlineResponse20025.md) +- [Model.InlineResponse20026](docs/InlineResponse20026.md) +- [Model.InlineResponse20027](docs/InlineResponse20027.md) +- [Model.InlineResponse20028](docs/InlineResponse20028.md) +- [Model.InlineResponse20029](docs/InlineResponse20029.md) +- [Model.InlineResponse2003](docs/InlineResponse2003.md) +- [Model.InlineResponse20030](docs/InlineResponse20030.md) +- [Model.InlineResponse20031](docs/InlineResponse20031.md) +- [Model.InlineResponse20032](docs/InlineResponse20032.md) +- [Model.InlineResponse20033](docs/InlineResponse20033.md) +- [Model.InlineResponse20034](docs/InlineResponse20034.md) +- [Model.InlineResponse20035](docs/InlineResponse20035.md) +- [Model.InlineResponse20036](docs/InlineResponse20036.md) +- [Model.InlineResponse20037](docs/InlineResponse20037.md) +- [Model.InlineResponse20038](docs/InlineResponse20038.md) +- [Model.InlineResponse20039](docs/InlineResponse20039.md) +- [Model.InlineResponse2004](docs/InlineResponse2004.md) +- [Model.InlineResponse20040](docs/InlineResponse20040.md) +- [Model.InlineResponse20041](docs/InlineResponse20041.md) +- [Model.InlineResponse20042](docs/InlineResponse20042.md) +- [Model.InlineResponse20043](docs/InlineResponse20043.md) +- [Model.InlineResponse20044](docs/InlineResponse20044.md) +- [Model.InlineResponse20045](docs/InlineResponse20045.md) +- [Model.InlineResponse20046](docs/InlineResponse20046.md) +- [Model.InlineResponse2005](docs/InlineResponse2005.md) +- [Model.InlineResponse2006](docs/InlineResponse2006.md) +- [Model.InlineResponse2007](docs/InlineResponse2007.md) +- [Model.InlineResponse2008](docs/InlineResponse2008.md) +- [Model.InlineResponse2009](docs/InlineResponse2009.md) +- [Model.InlineResponse201](docs/InlineResponse201.md) +- [Model.IntegrationCoupon](docs/IntegrationCoupon.md) +- [Model.IntegrationCustomerSessionResponse](docs/IntegrationCustomerSessionResponse.md) +- [Model.IntegrationEntity](docs/IntegrationEntity.md) +- [Model.IntegrationEvent](docs/IntegrationEvent.md) +- [Model.IntegrationEventV2Request](docs/IntegrationEventV2Request.md) +- [Model.IntegrationProfileEntity](docs/IntegrationProfileEntity.md) +- [Model.IntegrationRequest](docs/IntegrationRequest.md) +- [Model.IntegrationState](docs/IntegrationState.md) +- [Model.IntegrationStateV2](docs/IntegrationStateV2.md) +- [Model.IntegrationStoreEntity](docs/IntegrationStoreEntity.md) +- [Model.InventoryCoupon](docs/InventoryCoupon.md) +- [Model.InventoryReferral](docs/InventoryReferral.md) +- [Model.ItemAttribute](docs/ItemAttribute.md) +- [Model.LedgerEntry](docs/LedgerEntry.md) +- [Model.LedgerInfo](docs/LedgerInfo.md) +- [Model.LedgerPointsEntryIntegrationAPI](docs/LedgerPointsEntryIntegrationAPI.md) +- [Model.LedgerTransactionLogEntryIntegrationAPI](docs/LedgerTransactionLogEntryIntegrationAPI.md) +- [Model.LibraryAttribute](docs/LibraryAttribute.md) +- [Model.LimitConfig](docs/LimitConfig.md) +- [Model.LimitCounter](docs/LimitCounter.md) +- [Model.ListCampaignStoreBudgets](docs/ListCampaignStoreBudgets.md) +- [Model.ListCampaignStoreBudgetsStore](docs/ListCampaignStoreBudgetsStore.md) +- [Model.LoginParams](docs/LoginParams.md) +- [Model.Loyalty](docs/Loyalty.md) +- [Model.LoyaltyBalance](docs/LoyaltyBalance.md) +- [Model.LoyaltyBalanceWithTier](docs/LoyaltyBalanceWithTier.md) +- [Model.LoyaltyBalances](docs/LoyaltyBalances.md) +- [Model.LoyaltyBalancesWithTiers](docs/LoyaltyBalancesWithTiers.md) +- [Model.LoyaltyCard](docs/LoyaltyCard.md) +- [Model.LoyaltyCardBalances](docs/LoyaltyCardBalances.md) +- [Model.LoyaltyCardBatch](docs/LoyaltyCardBatch.md) +- [Model.LoyaltyCardBatchResponse](docs/LoyaltyCardBatchResponse.md) +- [Model.LoyaltyCardProfileRegistration](docs/LoyaltyCardProfileRegistration.md) +- [Model.LoyaltyCardRegistration](docs/LoyaltyCardRegistration.md) +- [Model.LoyaltyDashboardData](docs/LoyaltyDashboardData.md) +- [Model.LoyaltyDashboardPointsBreakdown](docs/LoyaltyDashboardPointsBreakdown.md) +- [Model.LoyaltyLedger](docs/LoyaltyLedger.md) +- [Model.LoyaltyLedgerEntry](docs/LoyaltyLedgerEntry.md) +- [Model.LoyaltyLedgerTransactions](docs/LoyaltyLedgerTransactions.md) +- [Model.LoyaltyMembership](docs/LoyaltyMembership.md) +- [Model.LoyaltyProgram](docs/LoyaltyProgram.md) +- [Model.LoyaltyProgramBalance](docs/LoyaltyProgramBalance.md) +- [Model.LoyaltyProgramEntity](docs/LoyaltyProgramEntity.md) +- [Model.LoyaltyProgramLedgers](docs/LoyaltyProgramLedgers.md) +- [Model.LoyaltyProgramTransaction](docs/LoyaltyProgramTransaction.md) +- [Model.LoyaltySubLedger](docs/LoyaltySubLedger.md) +- [Model.LoyaltyTier](docs/LoyaltyTier.md) +- [Model.ManagementKey](docs/ManagementKey.md) +- [Model.ManagerConfig](docs/ManagerConfig.md) +- [Model.MessageLogEntries](docs/MessageLogEntries.md) +- [Model.MessageLogEntry](docs/MessageLogEntry.md) +- [Model.MessageLogRequest](docs/MessageLogRequest.md) +- [Model.MessageLogResponse](docs/MessageLogResponse.md) +- [Model.Meta](docs/Meta.md) +- [Model.MultiApplicationEntity](docs/MultiApplicationEntity.md) +- [Model.MultipleAttribute](docs/MultipleAttribute.md) +- [Model.MultipleAudiences](docs/MultipleAudiences.md) +- [Model.MultipleAudiencesItem](docs/MultipleAudiencesItem.md) +- [Model.MultipleCustomerProfileIntegrationRequest](docs/MultipleCustomerProfileIntegrationRequest.md) +- [Model.MultipleCustomerProfileIntegrationRequestItem](docs/MultipleCustomerProfileIntegrationRequestItem.md) +- [Model.MultipleCustomerProfileIntegrationResponseV2](docs/MultipleCustomerProfileIntegrationResponseV2.md) +- [Model.MultipleNewAttribute](docs/MultipleNewAttribute.md) +- [Model.MultipleNewAudiences](docs/MultipleNewAudiences.md) +- [Model.MutableEntity](docs/MutableEntity.md) +- [Model.NewAccount](docs/NewAccount.md) +- [Model.NewAccountSignUp](docs/NewAccountSignUp.md) +- [Model.NewAdditionalCost](docs/NewAdditionalCost.md) +- [Model.NewAppWideCouponDeletionJob](docs/NewAppWideCouponDeletionJob.md) +- [Model.NewApplication](docs/NewApplication.md) +- [Model.NewApplicationAPIKey](docs/NewApplicationAPIKey.md) +- [Model.NewApplicationCIF](docs/NewApplicationCIF.md) +- [Model.NewApplicationCIFExpression](docs/NewApplicationCIFExpression.md) +- [Model.NewAttribute](docs/NewAttribute.md) +- [Model.NewAudience](docs/NewAudience.md) +- [Model.NewBaseNotification](docs/NewBaseNotification.md) +- [Model.NewCampaign](docs/NewCampaign.md) +- [Model.NewCampaignCollection](docs/NewCampaignCollection.md) +- [Model.NewCampaignEvaluationGroup](docs/NewCampaignEvaluationGroup.md) +- [Model.NewCampaignGroup](docs/NewCampaignGroup.md) +- [Model.NewCampaignSet](docs/NewCampaignSet.md) +- [Model.NewCampaignStoreBudget](docs/NewCampaignStoreBudget.md) +- [Model.NewCampaignStoreBudgetStoreLimit](docs/NewCampaignStoreBudgetStoreLimit.md) +- [Model.NewCampaignTemplate](docs/NewCampaignTemplate.md) +- [Model.NewCatalog](docs/NewCatalog.md) +- [Model.NewCollection](docs/NewCollection.md) +- [Model.NewCouponCreationJob](docs/NewCouponCreationJob.md) +- [Model.NewCouponDeletionJob](docs/NewCouponDeletionJob.md) +- [Model.NewCoupons](docs/NewCoupons.md) +- [Model.NewCouponsForMultipleRecipients](docs/NewCouponsForMultipleRecipients.md) +- [Model.NewCustomEffect](docs/NewCustomEffect.md) +- [Model.NewCustomerProfile](docs/NewCustomerProfile.md) +- [Model.NewCustomerSession](docs/NewCustomerSession.md) +- [Model.NewCustomerSessionV2](docs/NewCustomerSessionV2.md) +- [Model.NewEvent](docs/NewEvent.md) +- [Model.NewEventType](docs/NewEventType.md) +- [Model.NewExternalInvitation](docs/NewExternalInvitation.md) +- [Model.NewGiveawaysPool](docs/NewGiveawaysPool.md) +- [Model.NewInternalAudience](docs/NewInternalAudience.md) +- [Model.NewInvitation](docs/NewInvitation.md) +- [Model.NewInviteEmail](docs/NewInviteEmail.md) +- [Model.NewLoyaltyProgram](docs/NewLoyaltyProgram.md) +- [Model.NewLoyaltyTier](docs/NewLoyaltyTier.md) +- [Model.NewManagementKey](docs/NewManagementKey.md) +- [Model.NewMultipleAudiencesItem](docs/NewMultipleAudiencesItem.md) +- [Model.NewNotificationTest](docs/NewNotificationTest.md) +- [Model.NewNotificationWebhook](docs/NewNotificationWebhook.md) +- [Model.NewOutgoingIntegrationWebhook](docs/NewOutgoingIntegrationWebhook.md) +- [Model.NewPassword](docs/NewPassword.md) +- [Model.NewPasswordEmail](docs/NewPasswordEmail.md) +- [Model.NewPicklist](docs/NewPicklist.md) +- [Model.NewReferral](docs/NewReferral.md) +- [Model.NewReferralsForMultipleAdvocates](docs/NewReferralsForMultipleAdvocates.md) +- [Model.NewReturn](docs/NewReturn.md) +- [Model.NewRevisionVersion](docs/NewRevisionVersion.md) +- [Model.NewRole](docs/NewRole.md) +- [Model.NewRoleV2](docs/NewRoleV2.md) +- [Model.NewRuleset](docs/NewRuleset.md) +- [Model.NewSamlConnection](docs/NewSamlConnection.md) +- [Model.NewStore](docs/NewStore.md) +- [Model.NewTemplateDef](docs/NewTemplateDef.md) +- [Model.NewUser](docs/NewUser.md) +- [Model.NewWebhook](docs/NewWebhook.md) +- [Model.Notification](docs/Notification.md) +- [Model.NotificationActivation](docs/NotificationActivation.md) +- [Model.NotificationListItem](docs/NotificationListItem.md) +- [Model.NotificationTest](docs/NotificationTest.md) +- [Model.OktaEvent](docs/OktaEvent.md) +- [Model.OktaEventPayload](docs/OktaEventPayload.md) +- [Model.OktaEventPayloadData](docs/OktaEventPayloadData.md) +- [Model.OktaEventTarget](docs/OktaEventTarget.md) +- [Model.OneTimeCode](docs/OneTimeCode.md) +- [Model.OutgoingIntegrationBrazePolicy](docs/OutgoingIntegrationBrazePolicy.md) +- [Model.OutgoingIntegrationCleverTapPolicy](docs/OutgoingIntegrationCleverTapPolicy.md) +- [Model.OutgoingIntegrationConfiguration](docs/OutgoingIntegrationConfiguration.md) +- [Model.OutgoingIntegrationIterablePolicy](docs/OutgoingIntegrationIterablePolicy.md) +- [Model.OutgoingIntegrationMoEngagePolicy](docs/OutgoingIntegrationMoEngagePolicy.md) +- [Model.OutgoingIntegrationTemplate](docs/OutgoingIntegrationTemplate.md) +- [Model.OutgoingIntegrationTemplateWithConfigurationDetails](docs/OutgoingIntegrationTemplateWithConfigurationDetails.md) +- [Model.OutgoingIntegrationTemplates](docs/OutgoingIntegrationTemplates.md) +- [Model.OutgoingIntegrationType](docs/OutgoingIntegrationType.md) +- [Model.OutgoingIntegrationTypes](docs/OutgoingIntegrationTypes.md) +- [Model.PatchItemCatalogAction](docs/PatchItemCatalogAction.md) +- [Model.PatchManyItemsCatalogAction](docs/PatchManyItemsCatalogAction.md) +- [Model.PendingPointsNotificationPolicy](docs/PendingPointsNotificationPolicy.md) +- [Model.Picklist](docs/Picklist.md) +- [Model.Product](docs/Product.md) +- [Model.ProductSearchMatch](docs/ProductSearchMatch.md) +- [Model.ProductSkuUnitAnalytics](docs/ProductSkuUnitAnalytics.md) +- [Model.ProductUnitAnalytics](docs/ProductUnitAnalytics.md) +- [Model.ProfileAudiencesChanges](docs/ProfileAudiencesChanges.md) +- [Model.ProjectedTier](docs/ProjectedTier.md) +- [Model.RedeemReferralEffectProps](docs/RedeemReferralEffectProps.md) +- [Model.Referral](docs/Referral.md) +- [Model.ReferralConstraints](docs/ReferralConstraints.md) +- [Model.ReferralCreatedEffectProps](docs/ReferralCreatedEffectProps.md) +- [Model.ReferralRejectionReason](docs/ReferralRejectionReason.md) +- [Model.RejectCouponEffectProps](docs/RejectCouponEffectProps.md) +- [Model.RejectReferralEffectProps](docs/RejectReferralEffectProps.md) +- [Model.RemoveFromAudienceEffectProps](docs/RemoveFromAudienceEffectProps.md) +- [Model.RemoveItemCatalogAction](docs/RemoveItemCatalogAction.md) +- [Model.RemoveManyItemsCatalogAction](docs/RemoveManyItemsCatalogAction.md) +- [Model.ReopenSessionResponse](docs/ReopenSessionResponse.md) +- [Model.ReserveCouponEffectProps](docs/ReserveCouponEffectProps.md) +- [Model.Return](docs/Return.md) +- [Model.ReturnIntegrationRequest](docs/ReturnIntegrationRequest.md) +- [Model.ReturnedCartItem](docs/ReturnedCartItem.md) +- [Model.Revision](docs/Revision.md) +- [Model.RevisionActivation](docs/RevisionActivation.md) +- [Model.RevisionVersion](docs/RevisionVersion.md) +- [Model.Role](docs/Role.md) +- [Model.RoleAssign](docs/RoleAssign.md) +- [Model.RoleMembership](docs/RoleMembership.md) +- [Model.RoleV2](docs/RoleV2.md) +- [Model.RoleV2ApplicationDetails](docs/RoleV2ApplicationDetails.md) +- [Model.RoleV2Base](docs/RoleV2Base.md) +- [Model.RoleV2PermissionSet](docs/RoleV2PermissionSet.md) +- [Model.RoleV2Permissions](docs/RoleV2Permissions.md) +- [Model.RoleV2RolesGroup](docs/RoleV2RolesGroup.md) +- [Model.RollbackAddedLoyaltyPointsEffectProps](docs/RollbackAddedLoyaltyPointsEffectProps.md) +- [Model.RollbackCouponEffectProps](docs/RollbackCouponEffectProps.md) +- [Model.RollbackDeductedLoyaltyPointsEffectProps](docs/RollbackDeductedLoyaltyPointsEffectProps.md) +- [Model.RollbackDiscountEffectProps](docs/RollbackDiscountEffectProps.md) +- [Model.RollbackIncreasedAchievementProgressEffectProps](docs/RollbackIncreasedAchievementProgressEffectProps.md) +- [Model.RollbackReferralEffectProps](docs/RollbackReferralEffectProps.md) +- [Model.Rule](docs/Rule.md) +- [Model.RuleFailureReason](docs/RuleFailureReason.md) +- [Model.Ruleset](docs/Ruleset.md) +- [Model.SSOConfig](docs/SSOConfig.md) +- [Model.SamlConnection](docs/SamlConnection.md) +- [Model.SamlConnectionInternal](docs/SamlConnectionInternal.md) +- [Model.SamlConnectionMetadata](docs/SamlConnectionMetadata.md) +- [Model.SamlLoginEndpoint](docs/SamlLoginEndpoint.md) +- [Model.ScimBaseUser](docs/ScimBaseUser.md) +- [Model.ScimBaseUserName](docs/ScimBaseUserName.md) +- [Model.ScimNewUser](docs/ScimNewUser.md) +- [Model.ScimPatchOperation](docs/ScimPatchOperation.md) +- [Model.ScimPatchRequest](docs/ScimPatchRequest.md) +- [Model.ScimResource](docs/ScimResource.md) +- [Model.ScimResourceTypesListResponse](docs/ScimResourceTypesListResponse.md) +- [Model.ScimSchemaResource](docs/ScimSchemaResource.md) +- [Model.ScimSchemasListResponse](docs/ScimSchemasListResponse.md) +- [Model.ScimServiceProviderConfigResponse](docs/ScimServiceProviderConfigResponse.md) +- [Model.ScimServiceProviderConfigResponseBulk](docs/ScimServiceProviderConfigResponseBulk.md) +- [Model.ScimServiceProviderConfigResponseChangePassword](docs/ScimServiceProviderConfigResponseChangePassword.md) +- [Model.ScimServiceProviderConfigResponseFilter](docs/ScimServiceProviderConfigResponseFilter.md) +- [Model.ScimServiceProviderConfigResponsePatch](docs/ScimServiceProviderConfigResponsePatch.md) +- [Model.ScimServiceProviderConfigResponseSort](docs/ScimServiceProviderConfigResponseSort.md) +- [Model.ScimUser](docs/ScimUser.md) +- [Model.ScimUsersListResponse](docs/ScimUsersListResponse.md) +- [Model.Session](docs/Session.md) +- [Model.SetDiscountEffectProps](docs/SetDiscountEffectProps.md) +- [Model.SetDiscountPerAdditionalCostEffectProps](docs/SetDiscountPerAdditionalCostEffectProps.md) +- [Model.SetDiscountPerAdditionalCostPerItemEffectProps](docs/SetDiscountPerAdditionalCostPerItemEffectProps.md) +- [Model.SetDiscountPerItemEffectProps](docs/SetDiscountPerItemEffectProps.md) +- [Model.ShowBundleMetadataEffectProps](docs/ShowBundleMetadataEffectProps.md) +- [Model.ShowNotificationEffectProps](docs/ShowNotificationEffectProps.md) +- [Model.SlotDef](docs/SlotDef.md) +- [Model.Store](docs/Store.md) +- [Model.StrikethroughChangedItem](docs/StrikethroughChangedItem.md) +- [Model.StrikethroughCustomEffectPerItemProps](docs/StrikethroughCustomEffectPerItemProps.md) +- [Model.StrikethroughDebugResponse](docs/StrikethroughDebugResponse.md) +- [Model.StrikethroughEffect](docs/StrikethroughEffect.md) +- [Model.StrikethroughLabelingNotification](docs/StrikethroughLabelingNotification.md) +- [Model.StrikethroughSetDiscountPerItemEffectProps](docs/StrikethroughSetDiscountPerItemEffectProps.md) +- [Model.StrikethroughTrigger](docs/StrikethroughTrigger.md) +- [Model.SummaryCampaignStoreBudget](docs/SummaryCampaignStoreBudget.md) +- [Model.TalangAttribute](docs/TalangAttribute.md) +- [Model.TalangAttributeVisibility](docs/TalangAttributeVisibility.md) +- [Model.TemplateArgDef](docs/TemplateArgDef.md) +- [Model.TemplateDef](docs/TemplateDef.md) +- [Model.TemplateLimitConfig](docs/TemplateLimitConfig.md) +- [Model.Tier](docs/Tier.md) +- [Model.TierDowngradeNotificationPolicy](docs/TierDowngradeNotificationPolicy.md) +- [Model.TierUpgradeNotificationPolicy](docs/TierUpgradeNotificationPolicy.md) +- [Model.TierWillDowngradeNotificationPolicy](docs/TierWillDowngradeNotificationPolicy.md) +- [Model.TierWillDowngradeNotificationTrigger](docs/TierWillDowngradeNotificationTrigger.md) +- [Model.TimePoint](docs/TimePoint.md) +- [Model.TrackEventV2Response](docs/TrackEventV2Response.md) +- [Model.TransferLoyaltyCard](docs/TransferLoyaltyCard.md) +- [Model.TriggerWebhookEffectProps](docs/TriggerWebhookEffectProps.md) +- [Model.TwoFAConfig](docs/TwoFAConfig.md) +- [Model.UpdateAccount](docs/UpdateAccount.md) +- [Model.UpdateAchievement](docs/UpdateAchievement.md) +- [Model.UpdateApplication](docs/UpdateApplication.md) +- [Model.UpdateApplicationAPIKey](docs/UpdateApplicationAPIKey.md) +- [Model.UpdateApplicationCIF](docs/UpdateApplicationCIF.md) +- [Model.UpdateAttributeEffectProps](docs/UpdateAttributeEffectProps.md) +- [Model.UpdateAudience](docs/UpdateAudience.md) +- [Model.UpdateCampaign](docs/UpdateCampaign.md) +- [Model.UpdateCampaignCollection](docs/UpdateCampaignCollection.md) +- [Model.UpdateCampaignEvaluationGroup](docs/UpdateCampaignEvaluationGroup.md) +- [Model.UpdateCampaignGroup](docs/UpdateCampaignGroup.md) +- [Model.UpdateCampaignTemplate](docs/UpdateCampaignTemplate.md) +- [Model.UpdateCatalog](docs/UpdateCatalog.md) +- [Model.UpdateCollection](docs/UpdateCollection.md) +- [Model.UpdateCoupon](docs/UpdateCoupon.md) +- [Model.UpdateCouponBatch](docs/UpdateCouponBatch.md) +- [Model.UpdateLoyaltyCard](docs/UpdateLoyaltyCard.md) +- [Model.UpdateLoyaltyProgram](docs/UpdateLoyaltyProgram.md) +- [Model.UpdateLoyaltyProgramTier](docs/UpdateLoyaltyProgramTier.md) +- [Model.UpdatePicklist](docs/UpdatePicklist.md) +- [Model.UpdateReferral](docs/UpdateReferral.md) +- [Model.UpdateReferralBatch](docs/UpdateReferralBatch.md) +- [Model.UpdateRole](docs/UpdateRole.md) +- [Model.UpdateStore](docs/UpdateStore.md) +- [Model.UpdateUser](docs/UpdateUser.md) +- [Model.User](docs/User.md) +- [Model.UserEntity](docs/UserEntity.md) +- [Model.ValueMap](docs/ValueMap.md) +- [Model.Webhook](docs/Webhook.md) +- [Model.WebhookActivationLogEntry](docs/WebhookActivationLogEntry.md) +- [Model.WebhookLogEntry](docs/WebhookLogEntry.md) +- [Model.WebhookWithOutgoingIntegrationDetails](docs/WebhookWithOutgoingIntegrationDetails.md) +- [Model.WillAwardGiveawayEffectProps](docs/WillAwardGiveawayEffectProps.md) + +## Authorization - -## Documentation for Models - - - [Model.APIError](docs/APIError.md) - - [Model.AcceptCouponEffectProps](docs/AcceptCouponEffectProps.md) - - [Model.AcceptReferralEffectProps](docs/AcceptReferralEffectProps.md) - - [Model.AccessLogEntry](docs/AccessLogEntry.md) - - [Model.Account](docs/Account.md) - - [Model.AccountAdditionalCost](docs/AccountAdditionalCost.md) - - [Model.AccountAnalytics](docs/AccountAnalytics.md) - - [Model.AccountDashboardStatistic](docs/AccountDashboardStatistic.md) - - [Model.AccountDashboardStatisticCampaigns](docs/AccountDashboardStatisticCampaigns.md) - - [Model.AccountDashboardStatisticDiscount](docs/AccountDashboardStatisticDiscount.md) - - [Model.AccountDashboardStatisticLoyaltyPoints](docs/AccountDashboardStatisticLoyaltyPoints.md) - - [Model.AccountDashboardStatisticReferrals](docs/AccountDashboardStatisticReferrals.md) - - [Model.AccountDashboardStatisticRevenue](docs/AccountDashboardStatisticRevenue.md) - - [Model.AccountEntity](docs/AccountEntity.md) - - [Model.AccountLimits](docs/AccountLimits.md) - - [Model.Achievement](docs/Achievement.md) - - [Model.AchievementAdditionalProperties](docs/AchievementAdditionalProperties.md) - - [Model.AchievementProgress](docs/AchievementProgress.md) - - [Model.ActivateUserRequest](docs/ActivateUserRequest.md) - - [Model.AddFreeItemEffectProps](docs/AddFreeItemEffectProps.md) - - [Model.AddItemCatalogAction](docs/AddItemCatalogAction.md) - - [Model.AddLoyaltyPoints](docs/AddLoyaltyPoints.md) - - [Model.AddLoyaltyPointsEffectProps](docs/AddLoyaltyPointsEffectProps.md) - - [Model.AddToAudienceEffectProps](docs/AddToAudienceEffectProps.md) - - [Model.AddedDeductedPointsNotificationPolicy](docs/AddedDeductedPointsNotificationPolicy.md) - - [Model.AdditionalCampaignProperties](docs/AdditionalCampaignProperties.md) - - [Model.AdditionalCost](docs/AdditionalCost.md) - - [Model.AnalyticsDataPoint](docs/AnalyticsDataPoint.md) - - [Model.AnalyticsDataPointWithTrend](docs/AnalyticsDataPointWithTrend.md) - - [Model.AnalyticsDataPointWithTrendAndInfluencedRate](docs/AnalyticsDataPointWithTrendAndInfluencedRate.md) - - [Model.AnalyticsDataPointWithTrendAndUplift](docs/AnalyticsDataPointWithTrendAndUplift.md) - - [Model.Application](docs/Application.md) - - [Model.ApplicationAPIKey](docs/ApplicationAPIKey.md) - - [Model.ApplicationAnalyticsDataPoint](docs/ApplicationAnalyticsDataPoint.md) - - [Model.ApplicationApiHealth](docs/ApplicationApiHealth.md) - - [Model.ApplicationCIF](docs/ApplicationCIF.md) - - [Model.ApplicationCIFExpression](docs/ApplicationCIFExpression.md) - - [Model.ApplicationCampaignAnalytics](docs/ApplicationCampaignAnalytics.md) - - [Model.ApplicationCampaignStats](docs/ApplicationCampaignStats.md) - - [Model.ApplicationCustomer](docs/ApplicationCustomer.md) - - [Model.ApplicationCustomerEntity](docs/ApplicationCustomerEntity.md) - - [Model.ApplicationEntity](docs/ApplicationEntity.md) - - [Model.ApplicationEvent](docs/ApplicationEvent.md) - - [Model.ApplicationNotification](docs/ApplicationNotification.md) - - [Model.ApplicationReferee](docs/ApplicationReferee.md) - - [Model.ApplicationSession](docs/ApplicationSession.md) - - [Model.ApplicationSessionEntity](docs/ApplicationSessionEntity.md) - - [Model.ApplicationStoreEntity](docs/ApplicationStoreEntity.md) - - [Model.AsyncCouponCreationResponse](docs/AsyncCouponCreationResponse.md) - - [Model.AsyncCouponDeletionJobResponse](docs/AsyncCouponDeletionJobResponse.md) - - [Model.Attribute](docs/Attribute.md) - - [Model.AttributesMandatory](docs/AttributesMandatory.md) - - [Model.AttributesSettings](docs/AttributesSettings.md) - - [Model.Audience](docs/Audience.md) - - [Model.AudienceAnalytics](docs/AudienceAnalytics.md) - - [Model.AudienceCustomer](docs/AudienceCustomer.md) - - [Model.AudienceIntegrationID](docs/AudienceIntegrationID.md) - - [Model.AudienceMembership](docs/AudienceMembership.md) - - [Model.AwardGiveawayEffectProps](docs/AwardGiveawayEffectProps.md) - - [Model.BaseCampaign](docs/BaseCampaign.md) - - [Model.BaseLoyaltyProgram](docs/BaseLoyaltyProgram.md) - - [Model.BaseNotification](docs/BaseNotification.md) - - [Model.BaseNotificationEntity](docs/BaseNotificationEntity.md) - - [Model.BaseNotificationWebhook](docs/BaseNotificationWebhook.md) - - [Model.BaseNotifications](docs/BaseNotifications.md) - - [Model.BaseSamlConnection](docs/BaseSamlConnection.md) - - [Model.Binding](docs/Binding.md) - - [Model.BulkApplicationNotification](docs/BulkApplicationNotification.md) - - [Model.BulkCampaignNotification](docs/BulkCampaignNotification.md) - - [Model.BulkOperationOnCampaigns](docs/BulkOperationOnCampaigns.md) - - [Model.Campaign](docs/Campaign.md) - - [Model.CampaignActivationRequest](docs/CampaignActivationRequest.md) - - [Model.CampaignAnalytics](docs/CampaignAnalytics.md) - - [Model.CampaignBudget](docs/CampaignBudget.md) - - [Model.CampaignCollection](docs/CampaignCollection.md) - - [Model.CampaignCollectionEditedNotification](docs/CampaignCollectionEditedNotification.md) - - [Model.CampaignCollectionWithoutPayload](docs/CampaignCollectionWithoutPayload.md) - - [Model.CampaignCopy](docs/CampaignCopy.md) - - [Model.CampaignCreatedNotification](docs/CampaignCreatedNotification.md) - - [Model.CampaignDeletedNotification](docs/CampaignDeletedNotification.md) - - [Model.CampaignEditedNotification](docs/CampaignEditedNotification.md) - - [Model.CampaignEntity](docs/CampaignEntity.md) - - [Model.CampaignEvaluationGroup](docs/CampaignEvaluationGroup.md) - - [Model.CampaignEvaluationPosition](docs/CampaignEvaluationPosition.md) - - [Model.CampaignEvaluationTreeChangedNotification](docs/CampaignEvaluationTreeChangedNotification.md) - - [Model.CampaignGroup](docs/CampaignGroup.md) - - [Model.CampaignGroupEntity](docs/CampaignGroupEntity.md) - - [Model.CampaignNotification](docs/CampaignNotification.md) - - [Model.CampaignNotificationPolicy](docs/CampaignNotificationPolicy.md) - - [Model.CampaignRulesetChangedNotification](docs/CampaignRulesetChangedNotification.md) - - [Model.CampaignSearch](docs/CampaignSearch.md) - - [Model.CampaignSet](docs/CampaignSet.md) - - [Model.CampaignSetBranchNode](docs/CampaignSetBranchNode.md) - - [Model.CampaignSetLeafNode](docs/CampaignSetLeafNode.md) - - [Model.CampaignSetNode](docs/CampaignSetNode.md) - - [Model.CampaignStateChangedNotification](docs/CampaignStateChangedNotification.md) - - [Model.CampaignStoreBudget](docs/CampaignStoreBudget.md) - - [Model.CampaignTemplate](docs/CampaignTemplate.md) - - [Model.CampaignTemplateCollection](docs/CampaignTemplateCollection.md) - - [Model.CampaignTemplateParams](docs/CampaignTemplateParams.md) - - [Model.CampaignVersions](docs/CampaignVersions.md) - - [Model.CardAddedDeductedPointsNotificationPolicy](docs/CardAddedDeductedPointsNotificationPolicy.md) - - [Model.CardExpiringPointsNotificationPolicy](docs/CardExpiringPointsNotificationPolicy.md) - - [Model.CardExpiringPointsNotificationTrigger](docs/CardExpiringPointsNotificationTrigger.md) - - [Model.CardLedgerPointsEntryIntegrationAPI](docs/CardLedgerPointsEntryIntegrationAPI.md) - - [Model.CardLedgerTransactionLogEntry](docs/CardLedgerTransactionLogEntry.md) - - [Model.CardLedgerTransactionLogEntryIntegrationAPI](docs/CardLedgerTransactionLogEntryIntegrationAPI.md) - - [Model.CartItem](docs/CartItem.md) - - [Model.Catalog](docs/Catalog.md) - - [Model.CatalogAction](docs/CatalogAction.md) - - [Model.CatalogActionFilter](docs/CatalogActionFilter.md) - - [Model.CatalogItem](docs/CatalogItem.md) - - [Model.CatalogSyncRequest](docs/CatalogSyncRequest.md) - - [Model.CatalogsStrikethroughNotificationPolicy](docs/CatalogsStrikethroughNotificationPolicy.md) - - [Model.Change](docs/Change.md) - - [Model.ChangeLoyaltyTierLevelEffectProps](docs/ChangeLoyaltyTierLevelEffectProps.md) - - [Model.ChangeProfilePassword](docs/ChangeProfilePassword.md) - - [Model.CodeGeneratorSettings](docs/CodeGeneratorSettings.md) - - [Model.Collection](docs/Collection.md) - - [Model.CollectionItem](docs/CollectionItem.md) - - [Model.CollectionWithoutPayload](docs/CollectionWithoutPayload.md) - - [Model.Coupon](docs/Coupon.md) - - [Model.CouponConstraints](docs/CouponConstraints.md) - - [Model.CouponCreatedEffectProps](docs/CouponCreatedEffectProps.md) - - [Model.CouponCreationJob](docs/CouponCreationJob.md) - - [Model.CouponDeletionFilters](docs/CouponDeletionFilters.md) - - [Model.CouponDeletionJob](docs/CouponDeletionJob.md) - - [Model.CouponLimitConfigs](docs/CouponLimitConfigs.md) - - [Model.CouponRejectionReason](docs/CouponRejectionReason.md) - - [Model.CouponReservations](docs/CouponReservations.md) - - [Model.CouponSearch](docs/CouponSearch.md) - - [Model.CouponValue](docs/CouponValue.md) - - [Model.CouponsNotificationPolicy](docs/CouponsNotificationPolicy.md) - - [Model.CreateAchievement](docs/CreateAchievement.md) - - [Model.CreateApplicationAPIKey](docs/CreateApplicationAPIKey.md) - - [Model.CreateManagementKey](docs/CreateManagementKey.md) - - [Model.CreateTemplateCampaign](docs/CreateTemplateCampaign.md) - - [Model.CreateTemplateCampaignResponse](docs/CreateTemplateCampaignResponse.md) - - [Model.CustomEffect](docs/CustomEffect.md) - - [Model.CustomEffectProps](docs/CustomEffectProps.md) - - [Model.CustomerActivityReport](docs/CustomerActivityReport.md) - - [Model.CustomerAnalytics](docs/CustomerAnalytics.md) - - [Model.CustomerInventory](docs/CustomerInventory.md) - - [Model.CustomerProfile](docs/CustomerProfile.md) - - [Model.CustomerProfileAudienceRequest](docs/CustomerProfileAudienceRequest.md) - - [Model.CustomerProfileAudienceRequestItem](docs/CustomerProfileAudienceRequestItem.md) - - [Model.CustomerProfileIntegrationRequestV2](docs/CustomerProfileIntegrationRequestV2.md) - - [Model.CustomerProfileIntegrationResponseV2](docs/CustomerProfileIntegrationResponseV2.md) - - [Model.CustomerProfileSearchQuery](docs/CustomerProfileSearchQuery.md) - - [Model.CustomerProfileUpdateV2Response](docs/CustomerProfileUpdateV2Response.md) - - [Model.CustomerSession](docs/CustomerSession.md) - - [Model.CustomerSessionV2](docs/CustomerSessionV2.md) - - [Model.DeactivateUserRequest](docs/DeactivateUserRequest.md) - - [Model.DeductLoyaltyPoints](docs/DeductLoyaltyPoints.md) - - [Model.DeductLoyaltyPointsEffectProps](docs/DeductLoyaltyPointsEffectProps.md) - - [Model.DeleteUserRequest](docs/DeleteUserRequest.md) - - [Model.Effect](docs/Effect.md) - - [Model.EffectEntity](docs/EffectEntity.md) - - [Model.EmailEntity](docs/EmailEntity.md) - - [Model.Endpoint](docs/Endpoint.md) - - [Model.Entity](docs/Entity.md) - - [Model.EntityWithTalangVisibleID](docs/EntityWithTalangVisibleID.md) - - [Model.Environment](docs/Environment.md) - - [Model.ErrorEffectProps](docs/ErrorEffectProps.md) - - [Model.ErrorResponse](docs/ErrorResponse.md) - - [Model.ErrorResponseWithStatus](docs/ErrorResponseWithStatus.md) - - [Model.ErrorSource](docs/ErrorSource.md) - - [Model.EvaluableCampaignIds](docs/EvaluableCampaignIds.md) - - [Model.Event](docs/Event.md) - - [Model.EventType](docs/EventType.md) - - [Model.EventV2](docs/EventV2.md) - - [Model.ExpiringCouponsNotificationPolicy](docs/ExpiringCouponsNotificationPolicy.md) - - [Model.ExpiringCouponsNotificationTrigger](docs/ExpiringCouponsNotificationTrigger.md) - - [Model.ExpiringPointsNotificationPolicy](docs/ExpiringPointsNotificationPolicy.md) - - [Model.ExpiringPointsNotificationTrigger](docs/ExpiringPointsNotificationTrigger.md) - - [Model.Export](docs/Export.md) - - [Model.FeatureFlag](docs/FeatureFlag.md) - - [Model.FeaturesFeed](docs/FeaturesFeed.md) - - [Model.FuncArgDef](docs/FuncArgDef.md) - - [Model.FunctionDef](docs/FunctionDef.md) - - [Model.GenerateCampaignDescription](docs/GenerateCampaignDescription.md) - - [Model.GenerateCampaignTags](docs/GenerateCampaignTags.md) - - [Model.GenerateItemFilterDescription](docs/GenerateItemFilterDescription.md) - - [Model.GenerateLoyaltyCard](docs/GenerateLoyaltyCard.md) - - [Model.GenerateRuleTitle](docs/GenerateRuleTitle.md) - - [Model.GenerateRuleTitleRule](docs/GenerateRuleTitleRule.md) - - [Model.GetIntegrationCouponRequest](docs/GetIntegrationCouponRequest.md) - - [Model.Giveaway](docs/Giveaway.md) - - [Model.GiveawaysPool](docs/GiveawaysPool.md) - - [Model.IdentifiableEntity](docs/IdentifiableEntity.md) - - [Model.Import](docs/Import.md) - - [Model.ImportEntity](docs/ImportEntity.md) - - [Model.IncreaseAchievementProgressEffectProps](docs/IncreaseAchievementProgressEffectProps.md) - - [Model.InlineResponse200](docs/InlineResponse200.md) - - [Model.InlineResponse2001](docs/InlineResponse2001.md) - - [Model.InlineResponse20010](docs/InlineResponse20010.md) - - [Model.InlineResponse20011](docs/InlineResponse20011.md) - - [Model.InlineResponse20012](docs/InlineResponse20012.md) - - [Model.InlineResponse20013](docs/InlineResponse20013.md) - - [Model.InlineResponse20014](docs/InlineResponse20014.md) - - [Model.InlineResponse20015](docs/InlineResponse20015.md) - - [Model.InlineResponse20016](docs/InlineResponse20016.md) - - [Model.InlineResponse20017](docs/InlineResponse20017.md) - - [Model.InlineResponse20018](docs/InlineResponse20018.md) - - [Model.InlineResponse20019](docs/InlineResponse20019.md) - - [Model.InlineResponse2002](docs/InlineResponse2002.md) - - [Model.InlineResponse20020](docs/InlineResponse20020.md) - - [Model.InlineResponse20021](docs/InlineResponse20021.md) - - [Model.InlineResponse20022](docs/InlineResponse20022.md) - - [Model.InlineResponse20023](docs/InlineResponse20023.md) - - [Model.InlineResponse20024](docs/InlineResponse20024.md) - - [Model.InlineResponse20025](docs/InlineResponse20025.md) - - [Model.InlineResponse20026](docs/InlineResponse20026.md) - - [Model.InlineResponse20027](docs/InlineResponse20027.md) - - [Model.InlineResponse20028](docs/InlineResponse20028.md) - - [Model.InlineResponse20029](docs/InlineResponse20029.md) - - [Model.InlineResponse2003](docs/InlineResponse2003.md) - - [Model.InlineResponse20030](docs/InlineResponse20030.md) - - [Model.InlineResponse20031](docs/InlineResponse20031.md) - - [Model.InlineResponse20032](docs/InlineResponse20032.md) - - [Model.InlineResponse20033](docs/InlineResponse20033.md) - - [Model.InlineResponse20034](docs/InlineResponse20034.md) - - [Model.InlineResponse20035](docs/InlineResponse20035.md) - - [Model.InlineResponse20036](docs/InlineResponse20036.md) - - [Model.InlineResponse20037](docs/InlineResponse20037.md) - - [Model.InlineResponse20038](docs/InlineResponse20038.md) - - [Model.InlineResponse20039](docs/InlineResponse20039.md) - - [Model.InlineResponse2004](docs/InlineResponse2004.md) - - [Model.InlineResponse20040](docs/InlineResponse20040.md) - - [Model.InlineResponse20041](docs/InlineResponse20041.md) - - [Model.InlineResponse20042](docs/InlineResponse20042.md) - - [Model.InlineResponse20043](docs/InlineResponse20043.md) - - [Model.InlineResponse20044](docs/InlineResponse20044.md) - - [Model.InlineResponse20045](docs/InlineResponse20045.md) - - [Model.InlineResponse20046](docs/InlineResponse20046.md) - - [Model.InlineResponse20047](docs/InlineResponse20047.md) - - [Model.InlineResponse2005](docs/InlineResponse2005.md) - - [Model.InlineResponse2006](docs/InlineResponse2006.md) - - [Model.InlineResponse2007](docs/InlineResponse2007.md) - - [Model.InlineResponse2008](docs/InlineResponse2008.md) - - [Model.InlineResponse2009](docs/InlineResponse2009.md) - - [Model.InlineResponse201](docs/InlineResponse201.md) - - [Model.IntegrationCoupon](docs/IntegrationCoupon.md) - - [Model.IntegrationCustomerSessionResponse](docs/IntegrationCustomerSessionResponse.md) - - [Model.IntegrationEntity](docs/IntegrationEntity.md) - - [Model.IntegrationEvent](docs/IntegrationEvent.md) - - [Model.IntegrationEventV2Request](docs/IntegrationEventV2Request.md) - - [Model.IntegrationProfileEntity](docs/IntegrationProfileEntity.md) - - [Model.IntegrationRequest](docs/IntegrationRequest.md) - - [Model.IntegrationState](docs/IntegrationState.md) - - [Model.IntegrationStateV2](docs/IntegrationStateV2.md) - - [Model.IntegrationStoreEntity](docs/IntegrationStoreEntity.md) - - [Model.InventoryCoupon](docs/InventoryCoupon.md) - - [Model.InventoryReferral](docs/InventoryReferral.md) - - [Model.ItemAttribute](docs/ItemAttribute.md) - - [Model.LedgerEntry](docs/LedgerEntry.md) - - [Model.LedgerInfo](docs/LedgerInfo.md) - - [Model.LedgerPointsEntryIntegrationAPI](docs/LedgerPointsEntryIntegrationAPI.md) - - [Model.LedgerTransactionLogEntryIntegrationAPI](docs/LedgerTransactionLogEntryIntegrationAPI.md) - - [Model.LibraryAttribute](docs/LibraryAttribute.md) - - [Model.LimitConfig](docs/LimitConfig.md) - - [Model.LimitCounter](docs/LimitCounter.md) - - [Model.LoginParams](docs/LoginParams.md) - - [Model.Loyalty](docs/Loyalty.md) - - [Model.LoyaltyBalance](docs/LoyaltyBalance.md) - - [Model.LoyaltyBalanceWithTier](docs/LoyaltyBalanceWithTier.md) - - [Model.LoyaltyBalances](docs/LoyaltyBalances.md) - - [Model.LoyaltyBalancesWithTiers](docs/LoyaltyBalancesWithTiers.md) - - [Model.LoyaltyCard](docs/LoyaltyCard.md) - - [Model.LoyaltyCardBalances](docs/LoyaltyCardBalances.md) - - [Model.LoyaltyCardBatch](docs/LoyaltyCardBatch.md) - - [Model.LoyaltyCardBatchResponse](docs/LoyaltyCardBatchResponse.md) - - [Model.LoyaltyCardProfileRegistration](docs/LoyaltyCardProfileRegistration.md) - - [Model.LoyaltyCardRegistration](docs/LoyaltyCardRegistration.md) - - [Model.LoyaltyDashboardData](docs/LoyaltyDashboardData.md) - - [Model.LoyaltyDashboardPointsBreakdown](docs/LoyaltyDashboardPointsBreakdown.md) - - [Model.LoyaltyLedger](docs/LoyaltyLedger.md) - - [Model.LoyaltyLedgerEntry](docs/LoyaltyLedgerEntry.md) - - [Model.LoyaltyLedgerTransactions](docs/LoyaltyLedgerTransactions.md) - - [Model.LoyaltyMembership](docs/LoyaltyMembership.md) - - [Model.LoyaltyProgram](docs/LoyaltyProgram.md) - - [Model.LoyaltyProgramBalance](docs/LoyaltyProgramBalance.md) - - [Model.LoyaltyProgramEntity](docs/LoyaltyProgramEntity.md) - - [Model.LoyaltyProgramLedgers](docs/LoyaltyProgramLedgers.md) - - [Model.LoyaltyProgramTransaction](docs/LoyaltyProgramTransaction.md) - - [Model.LoyaltySubLedger](docs/LoyaltySubLedger.md) - - [Model.LoyaltyTier](docs/LoyaltyTier.md) - - [Model.ManagementKey](docs/ManagementKey.md) - - [Model.ManagerConfig](docs/ManagerConfig.md) - - [Model.MessageLogEntries](docs/MessageLogEntries.md) - - [Model.MessageLogEntry](docs/MessageLogEntry.md) - - [Model.MessageLogRequest](docs/MessageLogRequest.md) - - [Model.MessageLogResponse](docs/MessageLogResponse.md) - - [Model.Meta](docs/Meta.md) - - [Model.MultiApplicationEntity](docs/MultiApplicationEntity.md) - - [Model.MultipleAttribute](docs/MultipleAttribute.md) - - [Model.MultipleAudiences](docs/MultipleAudiences.md) - - [Model.MultipleAudiencesItem](docs/MultipleAudiencesItem.md) - - [Model.MultipleCustomerProfileIntegrationRequest](docs/MultipleCustomerProfileIntegrationRequest.md) - - [Model.MultipleCustomerProfileIntegrationRequestItem](docs/MultipleCustomerProfileIntegrationRequestItem.md) - - [Model.MultipleCustomerProfileIntegrationResponseV2](docs/MultipleCustomerProfileIntegrationResponseV2.md) - - [Model.MultipleNewAttribute](docs/MultipleNewAttribute.md) - - [Model.MultipleNewAudiences](docs/MultipleNewAudiences.md) - - [Model.MutableEntity](docs/MutableEntity.md) - - [Model.NewAccount](docs/NewAccount.md) - - [Model.NewAccountSignUp](docs/NewAccountSignUp.md) - - [Model.NewAdditionalCost](docs/NewAdditionalCost.md) - - [Model.NewAppWideCouponDeletionJob](docs/NewAppWideCouponDeletionJob.md) - - [Model.NewApplication](docs/NewApplication.md) - - [Model.NewApplicationAPIKey](docs/NewApplicationAPIKey.md) - - [Model.NewApplicationCIF](docs/NewApplicationCIF.md) - - [Model.NewApplicationCIFExpression](docs/NewApplicationCIFExpression.md) - - [Model.NewAttribute](docs/NewAttribute.md) - - [Model.NewAudience](docs/NewAudience.md) - - [Model.NewBaseNotification](docs/NewBaseNotification.md) - - [Model.NewCampaign](docs/NewCampaign.md) - - [Model.NewCampaignCollection](docs/NewCampaignCollection.md) - - [Model.NewCampaignEvaluationGroup](docs/NewCampaignEvaluationGroup.md) - - [Model.NewCampaignGroup](docs/NewCampaignGroup.md) - - [Model.NewCampaignSet](docs/NewCampaignSet.md) - - [Model.NewCampaignTemplate](docs/NewCampaignTemplate.md) - - [Model.NewCatalog](docs/NewCatalog.md) - - [Model.NewCollection](docs/NewCollection.md) - - [Model.NewCouponCreationJob](docs/NewCouponCreationJob.md) - - [Model.NewCouponDeletionJob](docs/NewCouponDeletionJob.md) - - [Model.NewCoupons](docs/NewCoupons.md) - - [Model.NewCouponsForMultipleRecipients](docs/NewCouponsForMultipleRecipients.md) - - [Model.NewCustomEffect](docs/NewCustomEffect.md) - - [Model.NewCustomerProfile](docs/NewCustomerProfile.md) - - [Model.NewCustomerSession](docs/NewCustomerSession.md) - - [Model.NewCustomerSessionV2](docs/NewCustomerSessionV2.md) - - [Model.NewEvent](docs/NewEvent.md) - - [Model.NewEventType](docs/NewEventType.md) - - [Model.NewExternalInvitation](docs/NewExternalInvitation.md) - - [Model.NewGiveawaysPool](docs/NewGiveawaysPool.md) - - [Model.NewInternalAudience](docs/NewInternalAudience.md) - - [Model.NewInvitation](docs/NewInvitation.md) - - [Model.NewInviteEmail](docs/NewInviteEmail.md) - - [Model.NewLoyaltyProgram](docs/NewLoyaltyProgram.md) - - [Model.NewLoyaltyTier](docs/NewLoyaltyTier.md) - - [Model.NewManagementKey](docs/NewManagementKey.md) - - [Model.NewMultipleAudiencesItem](docs/NewMultipleAudiencesItem.md) - - [Model.NewNotificationTest](docs/NewNotificationTest.md) - - [Model.NewNotificationWebhook](docs/NewNotificationWebhook.md) - - [Model.NewOutgoingIntegrationWebhook](docs/NewOutgoingIntegrationWebhook.md) - - [Model.NewPassword](docs/NewPassword.md) - - [Model.NewPasswordEmail](docs/NewPasswordEmail.md) - - [Model.NewPicklist](docs/NewPicklist.md) - - [Model.NewReferral](docs/NewReferral.md) - - [Model.NewReferralsForMultipleAdvocates](docs/NewReferralsForMultipleAdvocates.md) - - [Model.NewReturn](docs/NewReturn.md) - - [Model.NewRevisionVersion](docs/NewRevisionVersion.md) - - [Model.NewRole](docs/NewRole.md) - - [Model.NewRoleV2](docs/NewRoleV2.md) - - [Model.NewRuleset](docs/NewRuleset.md) - - [Model.NewSamlConnection](docs/NewSamlConnection.md) - - [Model.NewStore](docs/NewStore.md) - - [Model.NewTemplateDef](docs/NewTemplateDef.md) - - [Model.NewUser](docs/NewUser.md) - - [Model.NewWebhook](docs/NewWebhook.md) - - [Model.Notification](docs/Notification.md) - - [Model.NotificationActivation](docs/NotificationActivation.md) - - [Model.NotificationListItem](docs/NotificationListItem.md) - - [Model.NotificationTest](docs/NotificationTest.md) - - [Model.OktaEvent](docs/OktaEvent.md) - - [Model.OktaEventPayload](docs/OktaEventPayload.md) - - [Model.OktaEventPayloadData](docs/OktaEventPayloadData.md) - - [Model.OktaEventTarget](docs/OktaEventTarget.md) - - [Model.OneTimeCode](docs/OneTimeCode.md) - - [Model.OutgoingIntegrationBrazePolicy](docs/OutgoingIntegrationBrazePolicy.md) - - [Model.OutgoingIntegrationCleverTapPolicy](docs/OutgoingIntegrationCleverTapPolicy.md) - - [Model.OutgoingIntegrationConfiguration](docs/OutgoingIntegrationConfiguration.md) - - [Model.OutgoingIntegrationIterablePolicy](docs/OutgoingIntegrationIterablePolicy.md) - - [Model.OutgoingIntegrationMoEngagePolicy](docs/OutgoingIntegrationMoEngagePolicy.md) - - [Model.OutgoingIntegrationTemplate](docs/OutgoingIntegrationTemplate.md) - - [Model.OutgoingIntegrationTemplateWithConfigurationDetails](docs/OutgoingIntegrationTemplateWithConfigurationDetails.md) - - [Model.OutgoingIntegrationTemplates](docs/OutgoingIntegrationTemplates.md) - - [Model.OutgoingIntegrationType](docs/OutgoingIntegrationType.md) - - [Model.OutgoingIntegrationTypes](docs/OutgoingIntegrationTypes.md) - - [Model.PatchItemCatalogAction](docs/PatchItemCatalogAction.md) - - [Model.PatchManyItemsCatalogAction](docs/PatchManyItemsCatalogAction.md) - - [Model.PendingPointsNotificationPolicy](docs/PendingPointsNotificationPolicy.md) - - [Model.Picklist](docs/Picklist.md) - - [Model.Product](docs/Product.md) - - [Model.ProfileAudiencesChanges](docs/ProfileAudiencesChanges.md) - - [Model.ProjectedTier](docs/ProjectedTier.md) - - [Model.RedeemReferralEffectProps](docs/RedeemReferralEffectProps.md) - - [Model.Referral](docs/Referral.md) - - [Model.ReferralConstraints](docs/ReferralConstraints.md) - - [Model.ReferralCreatedEffectProps](docs/ReferralCreatedEffectProps.md) - - [Model.ReferralRejectionReason](docs/ReferralRejectionReason.md) - - [Model.RejectCouponEffectProps](docs/RejectCouponEffectProps.md) - - [Model.RejectReferralEffectProps](docs/RejectReferralEffectProps.md) - - [Model.RemoveFromAudienceEffectProps](docs/RemoveFromAudienceEffectProps.md) - - [Model.RemoveItemCatalogAction](docs/RemoveItemCatalogAction.md) - - [Model.RemoveManyItemsCatalogAction](docs/RemoveManyItemsCatalogAction.md) - - [Model.ReopenSessionResponse](docs/ReopenSessionResponse.md) - - [Model.ReserveCouponEffectProps](docs/ReserveCouponEffectProps.md) - - [Model.Return](docs/Return.md) - - [Model.ReturnIntegrationRequest](docs/ReturnIntegrationRequest.md) - - [Model.ReturnedCartItem](docs/ReturnedCartItem.md) - - [Model.Revision](docs/Revision.md) - - [Model.RevisionActivation](docs/RevisionActivation.md) - - [Model.RevisionVersion](docs/RevisionVersion.md) - - [Model.Role](docs/Role.md) - - [Model.RoleAssign](docs/RoleAssign.md) - - [Model.RoleMembership](docs/RoleMembership.md) - - [Model.RoleV2](docs/RoleV2.md) - - [Model.RoleV2ApplicationDetails](docs/RoleV2ApplicationDetails.md) - - [Model.RoleV2Base](docs/RoleV2Base.md) - - [Model.RoleV2PermissionSet](docs/RoleV2PermissionSet.md) - - [Model.RoleV2Permissions](docs/RoleV2Permissions.md) - - [Model.RoleV2RolesGroup](docs/RoleV2RolesGroup.md) - - [Model.RollbackAddedLoyaltyPointsEffectProps](docs/RollbackAddedLoyaltyPointsEffectProps.md) - - [Model.RollbackCouponEffectProps](docs/RollbackCouponEffectProps.md) - - [Model.RollbackDeductedLoyaltyPointsEffectProps](docs/RollbackDeductedLoyaltyPointsEffectProps.md) - - [Model.RollbackDiscountEffectProps](docs/RollbackDiscountEffectProps.md) - - [Model.RollbackIncreasedAchievementProgressEffectProps](docs/RollbackIncreasedAchievementProgressEffectProps.md) - - [Model.RollbackReferralEffectProps](docs/RollbackReferralEffectProps.md) - - [Model.Rule](docs/Rule.md) - - [Model.RuleFailureReason](docs/RuleFailureReason.md) - - [Model.Ruleset](docs/Ruleset.md) - - [Model.SSOConfig](docs/SSOConfig.md) - - [Model.SamlConnection](docs/SamlConnection.md) - - [Model.SamlConnectionInternal](docs/SamlConnectionInternal.md) - - [Model.SamlConnectionMetadata](docs/SamlConnectionMetadata.md) - - [Model.SamlLoginEndpoint](docs/SamlLoginEndpoint.md) - - [Model.ScimBaseUser](docs/ScimBaseUser.md) - - [Model.ScimBaseUserName](docs/ScimBaseUserName.md) - - [Model.ScimNewUser](docs/ScimNewUser.md) - - [Model.ScimPatchOperation](docs/ScimPatchOperation.md) - - [Model.ScimPatchRequest](docs/ScimPatchRequest.md) - - [Model.ScimResource](docs/ScimResource.md) - - [Model.ScimResourceTypesListResponse](docs/ScimResourceTypesListResponse.md) - - [Model.ScimSchemaResource](docs/ScimSchemaResource.md) - - [Model.ScimSchemasListResponse](docs/ScimSchemasListResponse.md) - - [Model.ScimServiceProviderConfigResponse](docs/ScimServiceProviderConfigResponse.md) - - [Model.ScimServiceProviderConfigResponseBulk](docs/ScimServiceProviderConfigResponseBulk.md) - - [Model.ScimServiceProviderConfigResponseChangePassword](docs/ScimServiceProviderConfigResponseChangePassword.md) - - [Model.ScimServiceProviderConfigResponseFilter](docs/ScimServiceProviderConfigResponseFilter.md) - - [Model.ScimServiceProviderConfigResponsePatch](docs/ScimServiceProviderConfigResponsePatch.md) - - [Model.ScimUser](docs/ScimUser.md) - - [Model.ScimUsersListResponse](docs/ScimUsersListResponse.md) - - [Model.Session](docs/Session.md) - - [Model.SetDiscountEffectProps](docs/SetDiscountEffectProps.md) - - [Model.SetDiscountPerAdditionalCostEffectProps](docs/SetDiscountPerAdditionalCostEffectProps.md) - - [Model.SetDiscountPerAdditionalCostPerItemEffectProps](docs/SetDiscountPerAdditionalCostPerItemEffectProps.md) - - [Model.SetDiscountPerItemEffectProps](docs/SetDiscountPerItemEffectProps.md) - - [Model.ShowBundleMetadataEffectProps](docs/ShowBundleMetadataEffectProps.md) - - [Model.ShowNotificationEffectProps](docs/ShowNotificationEffectProps.md) - - [Model.SlotDef](docs/SlotDef.md) - - [Model.Store](docs/Store.md) - - [Model.StrikethroughChangedItem](docs/StrikethroughChangedItem.md) - - [Model.StrikethroughCustomEffectPerItemProps](docs/StrikethroughCustomEffectPerItemProps.md) - - [Model.StrikethroughEffect](docs/StrikethroughEffect.md) - - [Model.StrikethroughLabelingNotification](docs/StrikethroughLabelingNotification.md) - - [Model.StrikethroughSetDiscountPerItemEffectProps](docs/StrikethroughSetDiscountPerItemEffectProps.md) - - [Model.StrikethroughTrigger](docs/StrikethroughTrigger.md) - - [Model.TalangAttribute](docs/TalangAttribute.md) - - [Model.TalangAttributeVisibility](docs/TalangAttributeVisibility.md) - - [Model.TemplateArgDef](docs/TemplateArgDef.md) - - [Model.TemplateDef](docs/TemplateDef.md) - - [Model.TemplateLimitConfig](docs/TemplateLimitConfig.md) - - [Model.Tier](docs/Tier.md) - - [Model.TierDowngradeNotificationPolicy](docs/TierDowngradeNotificationPolicy.md) - - [Model.TierUpgradeNotificationPolicy](docs/TierUpgradeNotificationPolicy.md) - - [Model.TierWillDowngradeNotificationPolicy](docs/TierWillDowngradeNotificationPolicy.md) - - [Model.TierWillDowngradeNotificationTrigger](docs/TierWillDowngradeNotificationTrigger.md) - - [Model.TimePoint](docs/TimePoint.md) - - [Model.TrackEventV2Response](docs/TrackEventV2Response.md) - - [Model.TransferLoyaltyCard](docs/TransferLoyaltyCard.md) - - [Model.TriggerWebhookEffectProps](docs/TriggerWebhookEffectProps.md) - - [Model.TwoFAConfig](docs/TwoFAConfig.md) - - [Model.UpdateAccount](docs/UpdateAccount.md) - - [Model.UpdateAchievement](docs/UpdateAchievement.md) - - [Model.UpdateApplication](docs/UpdateApplication.md) - - [Model.UpdateApplicationAPIKey](docs/UpdateApplicationAPIKey.md) - - [Model.UpdateApplicationCIF](docs/UpdateApplicationCIF.md) - - [Model.UpdateAttributeEffectProps](docs/UpdateAttributeEffectProps.md) - - [Model.UpdateAudience](docs/UpdateAudience.md) - - [Model.UpdateCampaign](docs/UpdateCampaign.md) - - [Model.UpdateCampaignCollection](docs/UpdateCampaignCollection.md) - - [Model.UpdateCampaignEvaluationGroup](docs/UpdateCampaignEvaluationGroup.md) - - [Model.UpdateCampaignGroup](docs/UpdateCampaignGroup.md) - - [Model.UpdateCampaignTemplate](docs/UpdateCampaignTemplate.md) - - [Model.UpdateCatalog](docs/UpdateCatalog.md) - - [Model.UpdateCollection](docs/UpdateCollection.md) - - [Model.UpdateCoupon](docs/UpdateCoupon.md) - - [Model.UpdateCouponBatch](docs/UpdateCouponBatch.md) - - [Model.UpdateCustomEffect](docs/UpdateCustomEffect.md) - - [Model.UpdateLoyaltyCard](docs/UpdateLoyaltyCard.md) - - [Model.UpdateLoyaltyProgram](docs/UpdateLoyaltyProgram.md) - - [Model.UpdatePicklist](docs/UpdatePicklist.md) - - [Model.UpdateReferral](docs/UpdateReferral.md) - - [Model.UpdateReferralBatch](docs/UpdateReferralBatch.md) - - [Model.UpdateRole](docs/UpdateRole.md) - - [Model.UpdateStore](docs/UpdateStore.md) - - [Model.UpdateUser](docs/UpdateUser.md) - - [Model.User](docs/User.md) - - [Model.UserEntity](docs/UserEntity.md) - - [Model.Webhook](docs/Webhook.md) - - [Model.WebhookActivationLogEntry](docs/WebhookActivationLogEntry.md) - - [Model.WebhookLogEntry](docs/WebhookLogEntry.md) - - [Model.WebhookWithOutgoingIntegrationDetails](docs/WebhookWithOutgoingIntegrationDetails.md) - - [Model.WillAwardGiveawayEffectProps](docs/WillAwardGiveawayEffectProps.md) - - - -## Documentation for Authorization - - ### api_key_v1 - **Type**: API key - **API key parameter name**: Authorization - **Location**: HTTP header - ### management_key - **Type**: API key - **API key parameter name**: Authorization - **Location**: HTTP header - ### manager_auth - **Type**: API key diff --git a/docs/Achievement.md b/docs/Achievement.md index c28e193..6bed000 100644 --- a/docs/Achievement.md +++ b/docs/Achievement.md @@ -11,6 +11,10 @@ Name | Type | Description | Notes **Target** | **decimal** | The required number of actions or the transactional milestone to complete the achievement. | **Period** | **string** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** 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 also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | **PeriodEndOverride** | [**TimePoint**](TimePoint.md) | | [optional] +**RecurrencePolicy** | **string** | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. | [optional] +**ActivationPolicy** | **string** | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional] +**FixedStartDate** | **DateTime** | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional] +**EndDate** | **DateTime** | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional] **CampaignId** | **int** | ID of the campaign, to which the achievement belongs to | **UserId** | **int** | ID of the user that created this achievement. | **CreatedBy** | **string** | Name of the user that created the achievement. **Note**: This is not available if the user has been deleted. | diff --git a/docs/AdditionalCampaignProperties.md b/docs/AdditionalCampaignProperties.md index 398f762..f8ecae0 100644 --- a/docs/AdditionalCampaignProperties.md +++ b/docs/AdditionalCampaignProperties.md @@ -24,7 +24,7 @@ Name | Type | Description | Notes **CreatedBy** | **string** | Name of the user who created this campaign if available. | [optional] **UpdatedBy** | **string** | Name of the user who last updated this campaign if available. | [optional] **TemplateId** | **int** | The ID of the Campaign Template this Campaign was created from. | [optional] -**FrontendState** | **string** | A campaign state described exactly as in the Campaign Manager. | +**FrontendState** | **string** | The campaign state displayed in the Campaign Manager. | **StoresImported** | **bool** | Indicates whether the linked stores were imported via a CSV file. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AnalyticsProduct.md b/docs/AnalyticsProduct.md new file mode 100644 index 0000000..d26dcce --- /dev/null +++ b/docs/AnalyticsProduct.md @@ -0,0 +1,12 @@ +# TalonOne.Model.AnalyticsProduct +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int** | The ID of the analytics-level product. | +**IsPreliminary** | **bool** | Indicates whether the analytics-level product is connected to a catalog and also has a product name. | +**Name** | **string** | The name of the analytics-level product. | +**CatalogId** | **int** | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/AnalyticsProductSKU.md b/docs/AnalyticsProductSKU.md new file mode 100644 index 0000000..da87f2a --- /dev/null +++ b/docs/AnalyticsProductSKU.md @@ -0,0 +1,11 @@ +# TalonOne.Model.AnalyticsProductSKU +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int** | The ID of the SKU linked to the analytics-level product. | +**Sku** | **string** | The SKU linked to the analytics-level product. | +**LastUpdated** | **DateTime** | Values in UTC for the date the SKU linked to the analytics-level product was last updated. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ApplicationCampaignStats.md b/docs/ApplicationCampaignStats.md index 63e8d2e..6b8a2f0 100644 --- a/docs/ApplicationCampaignStats.md +++ b/docs/ApplicationCampaignStats.md @@ -5,6 +5,7 @@ Provides statistics regarding an application's campaigns. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Disabled** | **int** | Number of disabled campaigns. | +**Staged** | **int** | Number of staged campaigns. | **Scheduled** | **int** | Number of scheduled campaigns. | **Running** | **int** | Number of running campaigns. | **Expired** | **int** | Number of expired campaigns. | diff --git a/docs/ApplicationCustomer.md b/docs/ApplicationCustomer.md index ca9b832..9d840ec 100644 --- a/docs/ApplicationCustomer.md +++ b/docs/ApplicationCustomer.md @@ -3,11 +3,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **int** | Internal ID of this entity. Internal ID of this entity. | -**Created** | **DateTime** | The time this entity was created. The time this entity was created. The time this entity was created. The time this entity was created. | -**IntegrationId** | **string** | The integration ID set by your integration layer. The integration ID set by your integration layer. | +**Id** | **int** | Internal ID of this entity. | +**Created** | **DateTime** | The time this entity was created. | +**IntegrationId** | **string** | The integration ID set by your integration layer. | **Attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | -**AccountId** | **int** | The ID of the Talon.One account that owns this profile. The ID of the Talon.One account that owns this profile. | +**AccountId** | **int** | The ID of the Talon.One account that owns this profile. | **ClosedSessions** | **int** | The total amount of closed sessions by a customer. A closed session is a successful purchase. | **TotalSales** | **decimal** | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. | **LoyaltyMemberships** | [**List<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED** A list of loyalty programs joined by the customer. | [optional] diff --git a/docs/ApplicationSession.md b/docs/ApplicationSession.md index 64671f8..3402523 100644 --- a/docs/ApplicationSession.md +++ b/docs/ApplicationSession.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int** | Internal ID of this entity. | -**Created** | **DateTime** | The time this entity was created. The time this entity was created. | +**Created** | **DateTime** | The time this entity was created. | **IntegrationId** | **string** | The integration ID set by your integration layer. | **StoreIntegrationId** | **string** | The integration ID of the store. You choose this ID when you create a store. | [optional] **ApplicationId** | **int** | The ID of the application that owns this entity. | diff --git a/docs/AudienceCustomer.md b/docs/AudienceCustomer.md index f728570..df6717f 100644 --- a/docs/AudienceCustomer.md +++ b/docs/AudienceCustomer.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int** | Internal ID of this entity. | -**Created** | **DateTime** | The time this entity was created. The time this entity was created. | +**Created** | **DateTime** | The time this entity was created. | **IntegrationId** | **string** | The integration ID set by your integration layer. | **Attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | **AccountId** | **int** | The ID of the Talon.One account that owns this profile. | diff --git a/docs/BaseLoyaltyProgram.md b/docs/BaseLoyaltyProgram.md index 5e1190a..2755ce9 100644 --- a/docs/BaseLoyaltyProgram.md +++ b/docs/BaseLoyaltyProgram.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **TiersExpireIn** | **string** | The amount of time after which the tier expires and is reevaluated. 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. | [optional] **TiersDowngradePolicy** | **string** | The policy that defines how customer tiers are downgraded in the loyalty program after tier reevaluation. - `one_down`: If the customer doesn't have enough points to stay in the current tier, they are downgraded by one tier. - `balance_based`: The customer's tier is reevaluated based on the amount of active points they have at the moment. | [optional] **CardCodeSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] +**ReturnPolicy** | **string** | The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BulkOperationOnCampaigns.md b/docs/BulkOperationOnCampaigns.md index 5c706e0..7678781 100644 --- a/docs/BulkOperationOnCampaigns.md +++ b/docs/BulkOperationOnCampaigns.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Operation** | **string** | The operation to perform on the specified campaign IDs. | **CampaignIds** | **List<int>** | The list of campaign IDs on which the operation will be performed. | +**ActivateAt** | **DateTime** | Timestamp when the revisions are finalized after the `activate_revision` operation. The current time is used when left blank. **Note:** It must be an RFC3339 timestamp string. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Campaign.md b/docs/Campaign.md index e023318..09fda90 100644 --- a/docs/Campaign.md +++ b/docs/Campaign.md @@ -43,8 +43,9 @@ Name | Type | Description | Notes **CreatedBy** | **string** | Name of the user who created this campaign if available. | [optional] **UpdatedBy** | **string** | Name of the user who last updated this campaign if available. | [optional] **TemplateId** | **int** | The ID of the Campaign Template this Campaign was created from. | [optional] -**FrontendState** | **string** | A campaign state described exactly as in the Campaign Manager. | +**FrontendState** | **string** | The campaign state displayed in the Campaign Manager. | **StoresImported** | **bool** | Indicates whether the linked stores were imported via a CSV file. | +**RevisionFrontendState** | **string** | The campaign revision state displayed in the Campaign Manager. | [optional] **ActiveRevisionId** | **int** | ID of the revision that was last activated on this campaign. | [optional] **ActiveRevisionVersionId** | **int** | ID of the revision version that is active on the campaign. | [optional] **Version** | **int** | Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. | [optional] diff --git a/docs/CampaignTemplate.md b/docs/CampaignTemplate.md index c821b5a..6cc9768 100644 --- a/docs/CampaignTemplate.md +++ b/docs/CampaignTemplate.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **Tags** | **List<string>** | A list of tags for the campaign template. | [optional] **Features** | **List<string>** | A list of features for the campaign template. | [optional] **CouponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] +**CouponReservationSettings** | [**CampaignTemplateCouponReservationSettings**](CampaignTemplateCouponReservationSettings.md) | | [optional] **ReferralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **Limits** | [**List<TemplateLimitConfig>**](TemplateLimitConfig.md) | The set of limits that operate for this campaign template. | [optional] **TemplateParams** | [**List<CampaignTemplateParams>**](CampaignTemplateParams.md) | Fields which can be used to replace values in a rule. | [optional] diff --git a/docs/CampaignTemplateCouponReservationSettings.md b/docs/CampaignTemplateCouponReservationSettings.md new file mode 100644 index 0000000..c18d33d --- /dev/null +++ b/docs/CampaignTemplateCouponReservationSettings.md @@ -0,0 +1,10 @@ +# TalonOne.Model.CampaignTemplateCouponReservationSettings +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ReservationLimit** | **int** | The number of reservations that can be made with this coupon code. | [optional] +**IsReservationMandatory** | **bool** | An indication of whether the code can be redeemed only if it has been reserved first. | [optional] [default to false] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/CampaignVersions.md b/docs/CampaignVersions.md index 8c5ae29..d472216 100644 --- a/docs/CampaignVersions.md +++ b/docs/CampaignVersions.md @@ -3,6 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**RevisionFrontendState** | **string** | The campaign revision state displayed in the Campaign Manager. | [optional] **ActiveRevisionId** | **int** | ID of the revision that was last activated on this campaign. | [optional] **ActiveRevisionVersionId** | **int** | ID of the revision version that is active on the campaign. | [optional] **Version** | **int** | Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. | [optional] diff --git a/docs/CouponDeletionFilters.md b/docs/CouponDeletionFilters.md index f0eec04..24f51b2 100644 --- a/docs/CouponDeletionFilters.md +++ b/docs/CouponDeletionFilters.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **Redeemed** | **bool** | - `true`: only coupons where `usageCounter > 0` will be returned. - `false`: only coupons where `usageCounter = 0` will be returned. **Note:** This field cannot be used in conjunction with the `usable` query parameter. | [optional] **RecipientIntegrationId** | **string** | Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. | [optional] **ExactMatch** | **bool** | Filter results to an exact case-insensitive matching against the coupon code | [optional] [default to false] -**Value** | **string** | Filter results by the coupon code | [optional] [default to "false"] +**Value** | **string** | Filter results by the coupon code | [optional] **BatchId** | **string** | Filter results by batches of coupons | [optional] **ReferralId** | **int** | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] **ExpiresAfter** | **DateTime** | 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. | [optional] diff --git a/docs/CreateAchievement.md b/docs/CreateAchievement.md index 03827e0..fda7f1a 100644 --- a/docs/CreateAchievement.md +++ b/docs/CreateAchievement.md @@ -9,6 +9,10 @@ Name | Type | Description | Notes **Target** | **decimal** | The required number of actions or the transactional milestone to complete the achievement. | **Period** | **string** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** 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 also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | **PeriodEndOverride** | [**TimePoint**](TimePoint.md) | | [optional] +**RecurrencePolicy** | **string** | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. | [optional] +**ActivationPolicy** | **string** | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional] +**FixedStartDate** | **DateTime** | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional] +**EndDate** | **DateTime** | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CustomerProfile.md b/docs/CustomerProfile.md index fc4880e..3f3978a 100644 --- a/docs/CustomerProfile.md +++ b/docs/CustomerProfile.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int** | Internal ID of this entity. | -**Created** | **DateTime** | The time this entity was created. The time this entity was created. | +**Created** | **DateTime** | The time this entity was created. | **IntegrationId** | **string** | The integration ID set by your integration layer. | **Attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | **AccountId** | **int** | The ID of the Talon.One account that owns this profile. | diff --git a/docs/CustomerProfileAudienceRequestItem.md b/docs/CustomerProfileAudienceRequestItem.md index 1303fad..48ef901 100644 --- a/docs/CustomerProfileAudienceRequestItem.md +++ b/docs/CustomerProfileAudienceRequestItem.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Action** | **string** | Defines the action to perform: - `add`: Adds the customer profile to the audience. If the customer profile does not exist, it will be created. - `delete`: Removes the customer profile from the audience. | +**Action** | **string** | Defines the action to perform: - `add`: Adds the customer profile to the audience. **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. - `delete`: Removes the customer profile from the audience. | **ProfileIntegrationId** | **string** | The ID of this customer profile in the third-party integration. | **AudienceId** | **int** | The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). | diff --git a/docs/CustomerProfileIntegrationRequestV2.md b/docs/CustomerProfileIntegrationRequestV2.md index 06f37a6..32e192b 100644 --- a/docs/CustomerProfileIntegrationRequestV2.md +++ b/docs/CustomerProfileIntegrationRequestV2.md @@ -1,4 +1,5 @@ # TalonOne.Model.CustomerProfileIntegrationRequestV2 +The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response. ## Properties Name | Type | Description | Notes diff --git a/docs/CustomerSessionV2.md b/docs/CustomerSessionV2.md index bd404fe..77f9a76 100644 --- a/docs/CustomerSessionV2.md +++ b/docs/CustomerSessionV2.md @@ -1,28 +1,30 @@ # TalonOne.Model.CustomerSessionV2 +The representation of the customer session. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int** | Internal ID of this entity. | -**Created** | **DateTime** | The time this entity was created. The time this entity was created. | +**Created** | **DateTime** | The time this entity was created. | **IntegrationId** | **string** | The integration ID set by your integration layer. | **ApplicationId** | **int** | The ID of the application that owns this entity. | **ProfileId** | **string** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | **StoreIntegrationId** | **string** | The integration ID of the store. You choose this ID when you create a store. | [optional] **EvaluableCampaignIds** | **List<int>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] -**CouponCodes** | **List<string>** | Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. | [optional] -**ReferralCode** | **string** | Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. | [optional] +**CouponCodes** | **List<string>** | Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. | [optional] +**ReferralCode** | **string** | Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. | [optional] **LoyaltyCards** | **List<string>** | Identifier of a loyalty card. | [optional] **State** | **string** | Indicates the current state of the session. Sessions can be created as `open` or `closed`. The state transitions are: 1. `open` → `closed` 2. `open` → `cancelled` 3. Either: - `closed` → `cancelled` (**only** via [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)) or - `closed` → `partially_returned` (**only** via [Return cart items](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/returnCartItems)) - `closed` → `open` (**only** via [Reopen customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/reopenCustomerSession)) 4. `partially_returned` → `cancelled` For more information, see [Customer session states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). | [default to StateEnum.Open] **CartItems** | [**List<CartItem>**](CartItem.md) | The items to add to this session. **Do not exceed 1000 items** and ensure the sum of all cart item's `quantity` **does not exceed 10.000** per request. | **AdditionalCosts** | [**Dictionary<string, AdditionalCost>**](AdditionalCost.md) | Use this property to set a value for the additional costs of this session, such as a shipping cost. They must be created in the Campaign Manager before you set them with this property. See [Managing additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs). | [optional] -**Identifiers** | **List<string>** | Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). | [optional] +**Identifiers** | **List<string>** | Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. | [optional] **Attributes** | [**Object**](.md) | Use this property to set a value for the attributes of your choice. Attributes represent any information to attach to your session, like the shipping city. You can use [built-in attributes](https://docs.talon.one/docs/dev/concepts/attributes#built-in-attributes) or [custom ones](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes). Custom attributes must be created in the Campaign Manager before you set them with this property. | -**FirstSession** | **bool** | Indicates whether this is the first session for the customer's profile. Will always be true for anonymous sessions. | +**FirstSession** | **bool** | Indicates whether this is the first session for the customer's profile. It's always `true` for anonymous sessions. | **Total** | **decimal** | The total value of cart items and additional costs in the session, before any discounts are applied. | **CartItemTotal** | **decimal** | The total value of cart items, before any discounts are applied. | **AdditionalCostTotal** | **decimal** | The total value of additional costs, before any discounts are applied. | **Updated** | **DateTime** | Timestamp of the most recent event received on this session. | +**ClosurePrediction** | **decimal** | The likelihood of the customer session closing based on predictive modeling, expressed as a decimal between `0` and `1`. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Effect.md b/docs/Effect.md index 8916754..2fdf5a1 100644 --- a/docs/Effect.md +++ b/docs/Effect.md @@ -1,4 +1,5 @@ # TalonOne.Model.Effect +A generic effect that is fired by a triggered campaign. The props property will contain information specific to the specific effect type. ## Properties Name | Type | Description | Notes diff --git a/docs/GenerateCampaignDescription.md b/docs/GenerateCampaignDescription.md index a996eb3..1ddfd0a 100644 --- a/docs/GenerateCampaignDescription.md +++ b/docs/GenerateCampaignDescription.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CampaignID** | **int** | ID of the campaign. | +**RulesetID** | **int** | ID of a ruleset. | **Currency** | **string** | Currency for the campaign. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GenerateCampaignTags.md b/docs/GenerateCampaignTags.md index 51d7b26..0e746f6 100644 --- a/docs/GenerateCampaignTags.md +++ b/docs/GenerateCampaignTags.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CampaignID** | **int** | ID of the campaign. | +**RulesetID** | **int** | ID of a ruleset. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GenerateLoyaltyCard.md b/docs/GenerateLoyaltyCard.md index 0b74a9a..b37ab5d 100644 --- a/docs/GenerateLoyaltyCard.md +++ b/docs/GenerateLoyaltyCard.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Status** | **string** | Status of the loyalty card. | [optional] [default to StatusEnum.Active] **CustomerProfileIds** | **List<string>** | Integration IDs of the customer profiles linked to the card. | [optional] +**CardIdentifier** | **string** | The alphanumeric identifier of the loyalty card. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20020.md b/docs/InlineResponse20020.md index d71abc9..760e29a 100644 --- a/docs/InlineResponse20020.md +++ b/docs/InlineResponse20020.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | **int** | | -**Data** | [**List<AccessLogEntry>**](AccessLogEntry.md) | | +**Data** | [**List<CampaignAnalytics>**](CampaignAnalytics.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20021.md b/docs/InlineResponse20021.md index 54aeaf4..67c69e8 100644 --- a/docs/InlineResponse20021.md +++ b/docs/InlineResponse20021.md @@ -3,8 +3,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | **int** | | -**Data** | [**List<CampaignAnalytics>**](CampaignAnalytics.md) | | +**TotalResultSize** | **int** | | [optional] +**HasMore** | **bool** | | [optional] +**Data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20022.md b/docs/InlineResponse20022.md index 3debf59..0cf17d3 100644 --- a/docs/InlineResponse20022.md +++ b/docs/InlineResponse20022.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | **int** | | [optional] **HasMore** | **bool** | | [optional] +**TotalResultSize** | **int** | | [optional] **Data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20023.md b/docs/InlineResponse20023.md index 65f9f1b..953ff53 100644 --- a/docs/InlineResponse20023.md +++ b/docs/InlineResponse20023.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **HasMore** | **bool** | | [optional] **TotalResultSize** | **int** | | [optional] -**Data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | | +**Data** | [**List<CustomerProfile>**](CustomerProfile.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20024.md b/docs/InlineResponse20024.md index bd6a9a8..71c7628 100644 --- a/docs/InlineResponse20024.md +++ b/docs/InlineResponse20024.md @@ -3,8 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | **bool** | | [optional] -**TotalResultSize** | **int** | | [optional] +**HasMore** | **bool** | | **Data** | [**List<CustomerProfile>**](CustomerProfile.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20025.md b/docs/InlineResponse20025.md index fd5027c..f9c2c59 100644 --- a/docs/InlineResponse20025.md +++ b/docs/InlineResponse20025.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **HasMore** | **bool** | | -**Data** | [**List<CustomerProfile>**](CustomerProfile.md) | | +**Data** | [**List<CustomerActivityReport>**](CustomerActivityReport.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20026.md b/docs/InlineResponse20026.md index 7759cee..c3cb69d 100644 --- a/docs/InlineResponse20026.md +++ b/docs/InlineResponse20026.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | **bool** | | -**Data** | [**List<CustomerActivityReport>**](CustomerActivityReport.md) | | +**HasMore** | **bool** | | [optional] +**Data** | [**List<ApplicationSession>**](ApplicationSession.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20027.md b/docs/InlineResponse20027.md index 0806f49..ec1e21f 100644 --- a/docs/InlineResponse20027.md +++ b/docs/InlineResponse20027.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | **bool** | | [optional] -**Data** | [**List<ApplicationSession>**](ApplicationSession.md) | | +**HasMore** | **bool** | | +**Data** | [**List<ApplicationEvent>**](ApplicationEvent.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20028.md b/docs/InlineResponse20028.md index cd5e0f6..f0ce38b 100644 --- a/docs/InlineResponse20028.md +++ b/docs/InlineResponse20028.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | **bool** | | -**Data** | [**List<ApplicationEvent>**](ApplicationEvent.md) | | +**TotalResultSize** | **int** | | +**Data** | **List<string>** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20029.md b/docs/InlineResponse20029.md index 7a65d82..c5c05ef 100644 --- a/docs/InlineResponse20029.md +++ b/docs/InlineResponse20029.md @@ -3,8 +3,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | **int** | | -**Data** | **List<string>** | | +**HasMore** | **bool** | | [optional] +**TotalResultSize** | **int** | | [optional] +**Data** | [**List<Audience>**](Audience.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20030.md b/docs/InlineResponse20030.md index 0f3f785..b3bad63 100644 --- a/docs/InlineResponse20030.md +++ b/docs/InlineResponse20030.md @@ -4,8 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **HasMore** | **bool** | | [optional] -**TotalResultSize** | **int** | | [optional] -**Data** | [**List<Audience>**](Audience.md) | | +**Data** | [**List<AudienceAnalytics>**](AudienceAnalytics.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20031.md b/docs/InlineResponse20031.md index 86df55b..86601ca 100644 --- a/docs/InlineResponse20031.md +++ b/docs/InlineResponse20031.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **HasMore** | **bool** | | [optional] -**Data** | [**List<AudienceAnalytics>**](AudienceAnalytics.md) | | +**Data** | [**List<CustomerProfile>**](CustomerProfile.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20032.md b/docs/InlineResponse20032.md index 13bdb3c..b93af1a 100644 --- a/docs/InlineResponse20032.md +++ b/docs/InlineResponse20032.md @@ -4,7 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **HasMore** | **bool** | | [optional] -**Data** | [**List<CustomerProfile>**](CustomerProfile.md) | | +**TotalResultSize** | **int** | | [optional] +**Data** | [**List<ApplicationReferee>**](ApplicationReferee.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20033.md b/docs/InlineResponse20033.md index 581f298..b267c38 100644 --- a/docs/InlineResponse20033.md +++ b/docs/InlineResponse20033.md @@ -3,9 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | **bool** | | [optional] -**TotalResultSize** | **int** | | [optional] -**Data** | [**List<ApplicationReferee>**](ApplicationReferee.md) | | +**TotalResultSize** | **int** | | +**Data** | [**List<Attribute>**](Attribute.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20034.md b/docs/InlineResponse20034.md index 6f23956..6bc5595 100644 --- a/docs/InlineResponse20034.md +++ b/docs/InlineResponse20034.md @@ -3,8 +3,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | **int** | | -**Data** | [**List<Attribute>**](Attribute.md) | | +**HasMore** | **bool** | | [optional] +**TotalResultSize** | **int** | | [optional] +**Data** | [**List<CatalogItem>**](CatalogItem.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20035.md b/docs/InlineResponse20035.md index 578e4d6..bb17ae6 100644 --- a/docs/InlineResponse20035.md +++ b/docs/InlineResponse20035.md @@ -3,9 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | **bool** | | [optional] -**TotalResultSize** | **int** | | [optional] -**Data** | [**List<CatalogItem>**](CatalogItem.md) | | +**TotalResultSize** | **int** | | +**Data** | [**List<AccountAdditionalCost>**](AccountAdditionalCost.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20036.md b/docs/InlineResponse20036.md index e431c8c..a27f786 100644 --- a/docs/InlineResponse20036.md +++ b/docs/InlineResponse20036.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | **int** | | -**Data** | [**List<AccountAdditionalCost>**](AccountAdditionalCost.md) | | +**Data** | [**List<WebhookWithOutgoingIntegrationDetails>**](WebhookWithOutgoingIntegrationDetails.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20037.md b/docs/InlineResponse20037.md index 7205421..de07468 100644 --- a/docs/InlineResponse20037.md +++ b/docs/InlineResponse20037.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | **int** | | -**Data** | [**List<WebhookWithOutgoingIntegrationDetails>**](WebhookWithOutgoingIntegrationDetails.md) | | +**Data** | [**List<WebhookActivationLogEntry>**](WebhookActivationLogEntry.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20038.md b/docs/InlineResponse20038.md index 420d3c8..b041ce0 100644 --- a/docs/InlineResponse20038.md +++ b/docs/InlineResponse20038.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | **int** | | -**Data** | [**List<WebhookActivationLogEntry>**](WebhookActivationLogEntry.md) | | +**Data** | [**List<WebhookLogEntry>**](WebhookLogEntry.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20039.md b/docs/InlineResponse20039.md index 99e3d9d..baa3385 100644 --- a/docs/InlineResponse20039.md +++ b/docs/InlineResponse20039.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | **int** | | -**Data** | [**List<WebhookLogEntry>**](WebhookLogEntry.md) | | +**Data** | [**List<EventType>**](EventType.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20040.md b/docs/InlineResponse20040.md index 9c40811..cead2a7 100644 --- a/docs/InlineResponse20040.md +++ b/docs/InlineResponse20040.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | **int** | | -**Data** | [**List<EventType>**](EventType.md) | | +**Data** | [**List<User>**](User.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20041.md b/docs/InlineResponse20041.md index 2174390..b529e36 100644 --- a/docs/InlineResponse20041.md +++ b/docs/InlineResponse20041.md @@ -3,8 +3,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | **int** | | -**Data** | [**List<User>**](User.md) | | +**TotalResultSize** | **int** | | [optional] +**HasMore** | **bool** | | [optional] +**Data** | [**List<Change>**](Change.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20042.md b/docs/InlineResponse20042.md index 6dc344a..c5d772a 100644 --- a/docs/InlineResponse20042.md +++ b/docs/InlineResponse20042.md @@ -3,9 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | **int** | | [optional] -**HasMore** | **bool** | | [optional] -**Data** | [**List<Change>**](Change.md) | | +**TotalResultSize** | **int** | | +**Data** | [**List<Export>**](Export.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20043.md b/docs/InlineResponse20043.md index 69bb326..954964b 100644 --- a/docs/InlineResponse20043.md +++ b/docs/InlineResponse20043.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TotalResultSize** | **int** | | -**Data** | [**List<Export>**](Export.md) | | +**Data** | [**List<RoleV2>**](RoleV2.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20044.md b/docs/InlineResponse20044.md index d5104b4..8b6a1fc 100644 --- a/docs/InlineResponse20044.md +++ b/docs/InlineResponse20044.md @@ -3,8 +3,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalResultSize** | **int** | | -**Data** | [**List<RoleV2>**](RoleV2.md) | | +**HasMore** | **bool** | | [optional] +**TotalResultSize** | **int** | | [optional] +**Data** | [**List<Store>**](Store.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20045.md b/docs/InlineResponse20045.md index 5494261..febf61e 100644 --- a/docs/InlineResponse20045.md +++ b/docs/InlineResponse20045.md @@ -4,8 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **HasMore** | **bool** | | [optional] -**TotalResultSize** | **int** | | [optional] -**Data** | [**List<Store>**](Store.md) | | +**Data** | [**List<Achievement>**](Achievement.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20046.md b/docs/InlineResponse20046.md index ff77762..178eea8 100644 --- a/docs/InlineResponse20046.md +++ b/docs/InlineResponse20046.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HasMore** | **bool** | | [optional] -**Data** | [**List<Achievement>**](Achievement.md) | | +**HasMore** | **bool** | | +**Data** | [**List<AchievementProgress>**](AchievementProgress.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/IntegrationApi.md b/docs/IntegrationApi.md index 9fb627c..edaf10a 100644 --- a/docs/IntegrationApi.md +++ b/docs/IntegrationApi.md @@ -15,7 +15,7 @@ Method | HTTP request | Description [**GenerateLoyaltyCard**](IntegrationApi.md#generateloyaltycard) | **POST** /v1/loyalty_programs/{loyaltyProgramId}/cards | Generate loyalty card [**GetCustomerInventory**](IntegrationApi.md#getcustomerinventory) | **GET** /v1/customer_profiles/{integrationId}/inventory | List customer data [**GetCustomerSession**](IntegrationApi.md#getcustomersession) | **GET** /v2/customer_sessions/{customerSessionId} | Get customer session -[**GetLoyaltyBalances**](IntegrationApi.md#getloyaltybalances) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/balances | Get customer's loyalty points +[**GetLoyaltyBalances**](IntegrationApi.md#getloyaltybalances) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/balances | Get customer's loyalty balances [**GetLoyaltyCardBalances**](IntegrationApi.md#getloyaltycardbalances) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/balances | Get card's point balances [**GetLoyaltyCardPoints**](IntegrationApi.md#getloyaltycardpoints) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/points | List card's unused loyalty points [**GetLoyaltyCardTransactions**](IntegrationApi.md#getloyaltycardtransactions) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/transactions | List card's transactions @@ -119,7 +119,7 @@ Name | Type | Description | Notes Create coupon reservation -Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation effect](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code). - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon will be associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. +Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. **Note:** - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon is associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. - This endpoint overrides the coupon reservation limit set when [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. ### Example ```csharp @@ -588,7 +588,7 @@ void (empty response body) Delete customer's personal data -Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. +Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. ### Example ```csharp @@ -907,9 +907,9 @@ Name | Type | Description | Notes # **GetLoyaltyBalances** > LoyaltyBalancesWithTiers GetLoyaltyBalances (int loyaltyProgramId, string integrationId, DateTime? endDate = null, string subledgerId = null, bool? includeTiers = null, bool? includeProjectedTier = null) -Get customer's loyalty points +Get customer's loyalty balances -Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) +Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) ### Example ```csharp @@ -938,11 +938,11 @@ namespace Example var endDate = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) var subledgerId = subledgerId_example; // string | The ID of the subledger by which we filter the data. (optional) var includeTiers = true; // bool? | Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional) (default to false) - var includeProjectedTier = true; // bool? | Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer’s active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional) (default to false) + var includeProjectedTier = true; // bool? | Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional) (default to false) try { - // Get customer's loyalty points + // Get customer's loyalty balances LoyaltyBalancesWithTiers result = apiInstance.GetLoyaltyBalances(loyaltyProgramId, integrationId, endDate, subledgerId, includeTiers, includeProjectedTier); Debug.WriteLine(result); } @@ -966,7 +966,7 @@ Name | Type | Description | Notes **endDate** | **DateTime?**| 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. | [optional] **subledgerId** | **string**| The ID of the subledger by which we filter the data. | [optional] **includeTiers** | **bool?**| Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. | [optional] [default to false] - **includeProjectedTier** | **bool?**| Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer’s active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. | [optional] [default to false] + **includeProjectedTier** | **bool?**| Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. | [optional] [default to false] ### Return type diff --git a/docs/IntegrationCustomerSessionResponse.md b/docs/IntegrationCustomerSessionResponse.md index a0d02f1..0f7595b 100644 --- a/docs/IntegrationCustomerSessionResponse.md +++ b/docs/IntegrationCustomerSessionResponse.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CustomerSession** | [**CustomerSessionV2**](CustomerSessionV2.md) | | [optional] -**Effects** | [**List<Effect>**](Effect.md) | | [optional] +**Effects** | [**List<Effect>**](Effect.md) | The returned effects. **Note:** This endpoint returns only the effects that are valid after any rollback effects and their corresponding non-rollback effects are removed. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LedgerEntry.md b/docs/LedgerEntry.md index 777e6b3..2910950 100644 --- a/docs/LedgerEntry.md +++ b/docs/LedgerEntry.md @@ -1,4 +1,5 @@ # TalonOne.Model.LedgerEntry +Entry in the point ledger. ## Properties Name | Type | Description | Notes diff --git a/docs/LedgerInfo.md b/docs/LedgerInfo.md index a1d43ef..2eb61a2 100644 --- a/docs/LedgerInfo.md +++ b/docs/LedgerInfo.md @@ -1,4 +1,5 @@ # TalonOne.Model.LedgerInfo +The balance in a Loyalty Program for some Customer. ## Properties Name | Type | Description | Notes @@ -7,8 +8,8 @@ Name | Type | Description | Notes **PendingBalance** | **decimal** | Sum of pending points. | **ExpiredBalance** | **decimal** | **DEPRECATED** Value is shown as 0. | **SpentBalance** | **decimal** | **DEPRECATED** Value is shown as 0. | -**TentativeCurrentBalance** | **decimal** | Sum of the tentative active points (including additions and deductions) inside the currently open session. The `currentBalance` is updated to this value when you close the session, and the effects are applied. | -**TentativePendingBalance** | **decimal** | Sum of pending points (including additions and deductions) inside the currently open session. The `pendingBalance` is updated to this value when you close the session, and the effects are applied. | [optional] +**TentativeCurrentBalance** | **decimal** | The tentative points balance, reflecting the `currentBalance` and all point additions and deductions within the current open customer session. When the session is closed, the effects are applied and the `currentBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. | +**TentativePendingBalance** | **decimal** | The tentative points balance, reflecting the `pendingBalance` and all point additions with a future activation date within the current open customer session. When the session is closed, the effects are applied and the `pendingBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. | [optional] **CurrentTier** | [**Tier**](Tier.md) | | [optional] **PointsToNextTier** | **decimal** | Points required to move up a tier. | [optional] diff --git a/docs/ListCampaignStoreBudgets.md b/docs/ListCampaignStoreBudgets.md new file mode 100644 index 0000000..a68d14e --- /dev/null +++ b/docs/ListCampaignStoreBudgets.md @@ -0,0 +1,12 @@ +# TalonOne.Model.ListCampaignStoreBudgets +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Store** | [**ListCampaignStoreBudgetsStore**](ListCampaignStoreBudgetsStore.md) | | +**Limit** | **int** | | +**Action** | **string** | | +**Period** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ListCampaignStoreBudgetsStore.md b/docs/ListCampaignStoreBudgetsStore.md new file mode 100644 index 0000000..085b140 --- /dev/null +++ b/docs/ListCampaignStoreBudgetsStore.md @@ -0,0 +1,11 @@ +# TalonOne.Model.ListCampaignStoreBudgetsStore +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int** | | +**IntegrationId** | **string** | | +**Name** | **string** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/LoyaltyBalanceWithTier.md b/docs/LoyaltyBalanceWithTier.md index 2f26d20..44f1139 100644 --- a/docs/LoyaltyBalanceWithTier.md +++ b/docs/LoyaltyBalanceWithTier.md @@ -1,4 +1,5 @@ # TalonOne.Model.LoyaltyBalanceWithTier +Point balance of a ledger in the Loyalty Program. ## Properties Name | Type | Description | Notes diff --git a/docs/LoyaltyCard.md b/docs/LoyaltyCard.md index c69c330..c1a046d 100644 --- a/docs/LoyaltyCard.md +++ b/docs/LoyaltyCard.md @@ -6,6 +6,8 @@ Name | Type | Description | Notes **Id** | **int** | Internal ID of this entity. | **Created** | **DateTime** | The time this entity was created. | **ProgramID** | **int** | The ID of the loyalty program that owns this entity. | +**ProgramName** | **string** | The integration name of the loyalty program that owns this entity. | [optional] +**ProgramTitle** | **string** | The Campaign Manager-displayed name of the loyalty program that owns this entity. | [optional] **Status** | **string** | Status of the loyalty card. Can be `active` or `inactive`. | **BlockReason** | **string** | Reason for transferring and blocking the loyalty card. | [optional] **Identifier** | **string** | The alphanumeric identifier of the loyalty card. | diff --git a/docs/LoyaltyCardBalances.md b/docs/LoyaltyCardBalances.md index 9bf0e30..f670c73 100644 --- a/docs/LoyaltyCardBalances.md +++ b/docs/LoyaltyCardBalances.md @@ -1,4 +1,5 @@ # TalonOne.Model.LoyaltyCardBalances +List of customer profiles linked to the loyalty card. ## Properties Name | Type | Description | Notes diff --git a/docs/LoyaltyCardBatch.md b/docs/LoyaltyCardBatch.md index 70a9c79..68e9ffa 100644 --- a/docs/LoyaltyCardBatch.md +++ b/docs/LoyaltyCardBatch.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes **NumberOfCards** | **int** | Number of loyalty cards in the batch. | **BatchId** | **string** | ID of the loyalty card batch. | [optional] **Status** | **string** | Status of the loyalty cards in the batch. | [optional] [default to StatusEnum.Active] +**CardCodeSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LoyaltyProgram.md b/docs/LoyaltyProgram.md index 537d748..08ad1a4 100644 --- a/docs/LoyaltyProgram.md +++ b/docs/LoyaltyProgram.md @@ -1,9 +1,10 @@ # TalonOne.Model.LoyaltyProgram +A Loyalty Program ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **int** | The ID of loyalty program. Internal ID of this entity. | +**Id** | **int** | The ID of loyalty program. | **Created** | **DateTime** | The time this entity was created. | **Title** | **string** | The display title for the Loyalty Program. | **Description** | **string** | Description of our Loyalty Program. | @@ -19,6 +20,7 @@ Name | Type | Description | Notes **TiersExpireIn** | **string** | The amount of time after which the tier expires and is reevaluated. 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. | [optional] **TiersDowngradePolicy** | **string** | The policy that defines how customer tiers are downgraded in the loyalty program after tier reevaluation. - `one_down`: If the customer doesn't have enough points to stay in the current tier, they are downgraded by one tier. - `balance_based`: The customer's tier is reevaluated based on the amount of active points they have at the moment. | [optional] **CardCodeSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] +**ReturnPolicy** | **string** | The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. | [optional] **AccountID** | **int** | The ID of the Talon.One account that owns this program. | **Name** | **string** | The internal name for the Loyalty Program. This is an immutable value. | **Tiers** | [**List<LoyaltyTier>**](LoyaltyTier.md) | The tiers in this loyalty program. | [optional] diff --git a/docs/LoyaltyProgramBalance.md b/docs/LoyaltyProgramBalance.md index 9ae88b9..d7bd51c 100644 --- a/docs/LoyaltyProgramBalance.md +++ b/docs/LoyaltyProgramBalance.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **PendingBalance** | **decimal** | Sum of pending points. | **ExpiredBalance** | **decimal** | **DEPRECATED** Value is shown as 0. | **SpentBalance** | **decimal** | **DEPRECATED** Value is shown as 0. | -**TentativeCurrentBalance** | **decimal** | Sum of the tentative active points (including additions and deductions) inside the currently open session. The `currentBalance` is updated to this value when you close the session, and the effects are applied. | -**TentativePendingBalance** | **decimal** | Sum of pending points (including additions and deductions) inside the currently open session. The `pendingBalance` is updated to this value when you close the session, and the effects are applied. | [optional] +**TentativeCurrentBalance** | **decimal** | The tentative points balance, reflecting the `currentBalance` and all point additions and deductions within the current open customer session. When the session is closed, the effects are applied and the `currentBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. | +**TentativePendingBalance** | **decimal** | The tentative points balance, reflecting the `pendingBalance` and all point additions with a future activation date within the current open customer session. When the session is closed, the effects are applied and the `pendingBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LoyaltyProgramEntity.md b/docs/LoyaltyProgramEntity.md index d33a722..8ad7cfd 100644 --- a/docs/LoyaltyProgramEntity.md +++ b/docs/LoyaltyProgramEntity.md @@ -4,6 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ProgramID** | **int** | The ID of the loyalty program that owns this entity. | +**ProgramName** | **string** | The integration name of the loyalty program that owns this entity. | [optional] +**ProgramTitle** | **string** | The Campaign Manager-displayed name of the loyalty program that owns this entity. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LoyaltyTier.md b/docs/LoyaltyTier.md index 667ec90..bed323d 100644 --- a/docs/LoyaltyTier.md +++ b/docs/LoyaltyTier.md @@ -1,4 +1,5 @@ # TalonOne.Model.LoyaltyTier +A tier in a loyalty program. ## Properties Name | Type | Description | Notes @@ -6,8 +7,10 @@ Name | Type | Description | Notes **Id** | **int** | Internal ID of this entity. | **Created** | **DateTime** | The time this entity was created. | **ProgramID** | **int** | The ID of the loyalty program that owns this entity. | -**Name** | **string** | The name of the tier | -**MinPoints** | **decimal** | The minimum amount of points required to be eligible for the tier. | +**ProgramName** | **string** | The integration name of the loyalty program that owns this entity. | [optional] +**ProgramTitle** | **string** | The Campaign Manager-displayed name of the loyalty program that owns this entity. | [optional] +**Name** | **string** | The name of the tier. | +**MinPoints** | **decimal** | The minimum amount of points required to enter the tier. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ManagementApi.md b/docs/ManagementApi.md index 6aaf7c4..403254f 100644 --- a/docs/ManagementApi.md +++ b/docs/ManagementApi.md @@ -63,7 +63,6 @@ Method | HTTP request | Description [**GetAchievement**](ManagementApi.md#getachievement) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements/{achievementId} | Get achievement [**GetAdditionalCost**](ManagementApi.md#getadditionalcost) | **GET** /v1/additional_costs/{additionalCostId} | Get additional cost [**GetAdditionalCosts**](ManagementApi.md#getadditionalcosts) | **GET** /v1/additional_costs | List additional costs -[**GetAllAccessLogs**](ManagementApi.md#getallaccesslogs) | **GET** /v1/access_logs | List access logs [**GetApplication**](ManagementApi.md#getapplication) | **GET** /v1/applications/{applicationId} | Get Application [**GetApplicationApiHealth**](ManagementApi.md#getapplicationapihealth) | **GET** /v1/applications/{applicationId}/health_report | Get Application health [**GetApplicationCustomer**](ManagementApi.md#getapplicationcustomer) | **GET** /v1/applications/{applicationId}/customers/{customerId} | Get application's customer @@ -174,7 +173,7 @@ Method | HTTP request | Description # **ActivateUserByEmail** -> void ActivateUserByEmail (ActivateUserRequest body) +> void ActivateUserByEmail (DeactivateUserRequest body) Enable user by email address @@ -206,7 +205,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new ManagementApi(config); - var body = new ActivateUserRequest(); // ActivateUserRequest | body + var body = ; // DeactivateUserRequest | body try { @@ -228,7 +227,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**ActivateUserRequest**](ActivateUserRequest.md)| body | + **body** | **DeactivateUserRequest**| body | ### Return type @@ -2432,7 +2431,7 @@ namespace Example var batchId = batchId_example; // string | Filter results by batches of coupons (optional) var usable = usable_example; // string | - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. (optional) var referralId = 56; // int? | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - var recipientIntegrationId = recipientIntegrationId_example; // string | Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. (optional) + var recipientIntegrationId = recipientIntegrationId_example; // string | Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. (optional) var exactMatch = true; // bool? | Filter results to an exact case-insensitive matching against the coupon code (optional) (default to false) try @@ -2468,7 +2467,7 @@ Name | Type | Description | Notes **batchId** | **string**| Filter results by batches of coupons | [optional] **usable** | **string**| - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. | [optional] **referralId** | **int?**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] - **recipientIntegrationId** | **string**| Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. | [optional] + **recipientIntegrationId** | **string**| Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. | [optional] **exactMatch** | **bool?**| Filter results to an exact case-insensitive matching against the coupon code | [optional] [default to false] ### Return type @@ -2816,7 +2815,7 @@ void (empty response body) # **DeleteUserByEmail** -> void DeleteUserByEmail (DeleteUserRequest body) +> void DeleteUserByEmail (DeactivateUserRequest body) Delete user by email address @@ -2848,7 +2847,7 @@ namespace Example // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new ManagementApi(config); - var body = new DeleteUserRequest(); // DeleteUserRequest | body + var body = ; // DeactivateUserRequest | body try { @@ -2870,7 +2869,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**DeleteUserRequest**](DeleteUserRequest.md)| body | + **body** | **DeactivateUserRequest**| body | ### Return type @@ -3473,7 +3472,7 @@ Name | Type | Description | Notes Export coupons -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 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. +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. ### Example ```csharp @@ -3502,7 +3501,7 @@ namespace Example var apiInstance = new ManagementApi(config); var applicationId = 56; // int | The ID of the Application. It is displayed in your Talon.One deployment URL. - var campaignId = 8.14; // decimal? | Filter results by campaign. (optional) + var campaignId = 8.14; // decimal? | Filter results by campaign ID. (optional) var sort = sort_example; // string | 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:** This parameter works only with numeric fields. (optional) var value = value_example; // string | 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. (optional) var createdBefore = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) @@ -3539,7 +3538,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **applicationId** | **int**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **decimal?**| Filter results by campaign. | [optional] + **campaignId** | **decimal?**| Filter results by campaign ID. | [optional] **sort** | **string**| 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:** This parameter works only with numeric fields. | [optional] **value** | **string**| 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. | [optional] **createdBefore** | **DateTime?**| 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. | [optional] @@ -3781,7 +3780,7 @@ namespace Example var apiInstance = new ManagementApi(config); var applicationId = 56; // int | The ID of the Application. It is displayed in your Talon.One deployment URL. - var campaignId = 8.14; // decimal? | Filter results by campaign. (optional) + var campaignId = 8.14; // decimal? | Filter results by campaign ID. (optional) var createdBefore = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) var createdAfter = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) var dateFormat = dateFormat_example; // string | Determines the format of dates in the export document. (optional) @@ -3808,7 +3807,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **applicationId** | **int**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **decimal?**| Filter results by campaign. | [optional] + **campaignId** | **decimal?**| Filter results by campaign ID. | [optional] **createdBefore** | **DateTime?**| 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. | [optional] **createdAfter** | **DateTime?**| 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. | [optional] **dateFormat** | **string**| Determines the format of dates in the export document. | [optional] @@ -4173,7 +4172,7 @@ Name | Type | Description | Notes # **ExportLoyaltyCards** -> string ExportLoyaltyCards (int loyaltyProgramId, string batchId = null) +> string ExportLoyaltyCards (int loyaltyProgramId, string batchId = null, string dateFormat = null) Export loyalty cards @@ -4207,11 +4206,12 @@ namespace Example var apiInstance = new ManagementApi(config); var loyaltyProgramId = 56; // int | 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. var batchId = batchId_example; // string | Filter results by loyalty card batch ID. (optional) + var dateFormat = dateFormat_example; // string | Determines the format of dates in the export document. (optional) try { // Export loyalty cards - string result = apiInstance.ExportLoyaltyCards(loyaltyProgramId, batchId); + string result = apiInstance.ExportLoyaltyCards(loyaltyProgramId, batchId, dateFormat); Debug.WriteLine(result); } catch (ApiException e) @@ -4231,6 +4231,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **loyaltyProgramId** | **int**| 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. | **batchId** | **string**| Filter results by loyalty card batch ID. | [optional] + **dateFormat** | **string**| Determines the format of dates in the export document. | [optional] ### Return type @@ -4460,7 +4461,7 @@ namespace Example var apiInstance = new ManagementApi(config); var applicationId = 56; // int | The ID of the Application. It is displayed in your Talon.One deployment URL. - var campaignId = 8.14; // decimal? | Filter results by campaign. (optional) + var campaignId = 8.14; // decimal? | Filter results by campaign ID. (optional) var createdBefore = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) var createdAfter = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) var valid = valid_example; // string | - `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. (optional) @@ -4490,7 +4491,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **applicationId** | **int**| The ID of the Application. It is displayed in your Talon.One deployment URL. | - **campaignId** | **decimal?**| Filter results by campaign. | [optional] + **campaignId** | **decimal?**| Filter results by campaign ID. | [optional] **createdBefore** | **DateTime?**| 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. | [optional] **createdAfter** | **DateTime?**| 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. | [optional] **valid** | **string**| - `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. | [optional] @@ -5017,7 +5018,7 @@ Name | Type | Description | Notes # **GetAdditionalCosts** -> InlineResponse20036 GetAdditionalCosts (int? pageSize = null, int? skip = null, string sort = null) +> InlineResponse20035 GetAdditionalCosts (int? pageSize = null, int? skip = null, string sort = null) List additional costs @@ -5056,7 +5057,7 @@ namespace Example try { // List additional costs - InlineResponse20036 result = apiInstance.GetAdditionalCosts(pageSize, skip, sort); + InlineResponse20035 result = apiInstance.GetAdditionalCosts(pageSize, skip, sort); Debug.WriteLine(result); } catch (ApiException e) @@ -5080,100 +5081,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20036**](InlineResponse20036.md) - -### Authorization - -[management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - - -# **GetAllAccessLogs** -> InlineResponse20020 GetAllAccessLogs (DateTime? rangeStart = null, DateTime? rangeEnd = null, string path = null, string method = null, string status = null, int? pageSize = null, int? skip = null, string sort = null) - -List access logs - -Fetches the access logs for the entire account. Sensitive requests (logins) are _always_ filtered from the logs. - -### Example -```csharp -using System.Collections.Generic; -using System.Diagnostics; -using TalonOne.Api; -using TalonOne.Client; -using TalonOne.Model; - -namespace Example -{ - public class GetAllAccessLogsExample - { - public static void Main() - { - Configuration config = new Configuration(); - config.BasePath = "https://yourbaseurl.talon.one"; - // Configure API key authorization: management_key - config.AddApiKey("Authorization", "YOUR_API_KEY"); - // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed - // config.AddApiKeyPrefix("Authorization", "Bearer"); - // Configure API key authorization: manager_auth - config.AddApiKey("Authorization", "YOUR_API_KEY"); - // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed - // config.AddApiKeyPrefix("Authorization", "Bearer"); - - var apiInstance = new ManagementApi(config); - var rangeStart = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) - var rangeEnd = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) - var path = path_example; // string | Only return results where the request path matches the given regular expression. (optional) - var method = method_example; // string | Only return results where the request method matches the given regular expression. (optional) - var status = status_example; // string | Filter results by HTTP status codes. (optional) - var pageSize = 56; // int? | The number of items in the response. (optional) (default to 1000) - var skip = 56; // int? | The number of items to skip when paging through large result sets. (optional) - var sort = sort_example; // string | 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:** This parameter works only with numeric fields. (optional) - - try - { - // List access logs - InlineResponse20020 result = apiInstance.GetAllAccessLogs(rangeStart, rangeEnd, path, method, status, pageSize, skip, sort); - Debug.WriteLine(result); - } - catch (ApiException e) - { - Debug.Print("Exception when calling ManagementApi.GetAllAccessLogs: " + e.Message ); - Debug.Print("Status Code: "+ e.ErrorCode); - Debug.Print(e.StackTrace); - } - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rangeStart** | **DateTime?**| 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. | [optional] - **rangeEnd** | **DateTime?**| 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. | [optional] - **path** | **string**| Only return results where the request path matches the given regular expression. | [optional] - **method** | **string**| Only return results where the request method matches the given regular expression. | [optional] - **status** | **string**| Filter results by HTTP status codes. | [optional] - **pageSize** | **int?**| The number of items in the response. | [optional] [default to 1000] - **skip** | **int?**| The number of items to skip when paging through large result sets. | [optional] - **sort** | **string**| 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:** This parameter works only with numeric fields. | [optional] - -### Return type - -[**InlineResponse20020**](InlineResponse20020.md) +[**InlineResponse20035**](InlineResponse20035.md) ### Authorization @@ -5276,7 +5184,7 @@ Name | Type | Description | Notes Get Application health -Display the health of the Application and show the last time the Application was used. You can also display this information from the **Settings** of an Application, in the **Developer Settings** menu. See the [docs](https://docs.talon.one/docs/dev/tutorials/monitoring-integration-status). +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). ### Example ```csharp @@ -5432,7 +5340,7 @@ Name | Type | Description | Notes # **GetApplicationCustomerFriends** -> InlineResponse20033 GetApplicationCustomerFriends (int applicationId, string integrationId, int? pageSize = null, int? skip = null, string sort = null, bool? withTotalResultSize = null) +> InlineResponse20032 GetApplicationCustomerFriends (int applicationId, string integrationId, int? pageSize = null, int? skip = null, string sort = null, bool? withTotalResultSize = null) List friends referred by customer profile @@ -5474,7 +5382,7 @@ namespace Example try { // List friends referred by customer profile - InlineResponse20033 result = apiInstance.GetApplicationCustomerFriends(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize); + InlineResponse20032 result = apiInstance.GetApplicationCustomerFriends(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize); Debug.WriteLine(result); } catch (ApiException e) @@ -5501,7 +5409,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20033**](InlineResponse20033.md) +[**InlineResponse20032**](InlineResponse20032.md) ### Authorization @@ -5521,7 +5429,7 @@ Name | Type | Description | Notes # **GetApplicationCustomers** -> InlineResponse20022 GetApplicationCustomers (int applicationId, string integrationId = null, int? pageSize = null, int? skip = null, bool? withTotalResultSize = null) +> InlineResponse20021 GetApplicationCustomers (int applicationId, string integrationId = null, int? pageSize = null, int? skip = null, bool? withTotalResultSize = null) List application's customers @@ -5562,7 +5470,7 @@ namespace Example try { // List application's customers - InlineResponse20022 result = apiInstance.GetApplicationCustomers(applicationId, integrationId, pageSize, skip, withTotalResultSize); + InlineResponse20021 result = apiInstance.GetApplicationCustomers(applicationId, integrationId, pageSize, skip, withTotalResultSize); Debug.WriteLine(result); } catch (ApiException e) @@ -5588,7 +5496,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20022**](InlineResponse20022.md) +[**InlineResponse20021**](InlineResponse20021.md) ### Authorization @@ -5608,7 +5516,7 @@ Name | Type | Description | Notes # **GetApplicationCustomersByAttributes** -> InlineResponse20023 GetApplicationCustomersByAttributes (int applicationId, CustomerProfileSearchQuery body, int? pageSize = null, int? skip = null, bool? withTotalResultSize = null) +> InlineResponse20022 GetApplicationCustomersByAttributes (int applicationId, CustomerProfileSearchQuery body, int? pageSize = null, int? skip = null, bool? withTotalResultSize = null) List application customers matching the given attributes @@ -5649,7 +5557,7 @@ namespace Example try { // List application customers matching the given attributes - InlineResponse20023 result = apiInstance.GetApplicationCustomersByAttributes(applicationId, body, pageSize, skip, withTotalResultSize); + InlineResponse20022 result = apiInstance.GetApplicationCustomersByAttributes(applicationId, body, pageSize, skip, withTotalResultSize); Debug.WriteLine(result); } catch (ApiException e) @@ -5675,7 +5583,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20023**](InlineResponse20023.md) +[**InlineResponse20022**](InlineResponse20022.md) ### Authorization @@ -5695,7 +5603,7 @@ Name | Type | Description | Notes # **GetApplicationEventTypes** -> InlineResponse20029 GetApplicationEventTypes (int applicationId, int? pageSize = null, int? skip = null, string sort = null) +> InlineResponse20028 GetApplicationEventTypes (int applicationId, int? pageSize = null, int? skip = null, string sort = null) List Applications event types @@ -5735,7 +5643,7 @@ namespace Example try { // List Applications event types - InlineResponse20029 result = apiInstance.GetApplicationEventTypes(applicationId, pageSize, skip, sort); + InlineResponse20028 result = apiInstance.GetApplicationEventTypes(applicationId, pageSize, skip, sort); Debug.WriteLine(result); } catch (ApiException e) @@ -5760,7 +5668,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20029**](InlineResponse20029.md) +[**InlineResponse20028**](InlineResponse20028.md) ### Authorization @@ -5780,7 +5688,7 @@ Name | Type | Description | Notes # **GetApplicationEventsWithoutTotalCount** -> InlineResponse20028 GetApplicationEventsWithoutTotalCount (int applicationId, int? pageSize = null, int? skip = null, string sort = null, string type = null, DateTime? createdBefore = null, DateTime? createdAfter = null, string session = null, string profile = null, string customerName = null, string customerEmail = null, string couponCode = null, string referralCode = null, string ruleQuery = null, string campaignQuery = null) +> InlineResponse20027 GetApplicationEventsWithoutTotalCount (int applicationId, int? pageSize = null, int? skip = null, string sort = null, string type = null, DateTime? createdBefore = null, DateTime? createdAfter = null, string session = null, string profile = null, string customerName = null, string customerEmail = null, string couponCode = null, string referralCode = null, string ruleQuery = null, string campaignQuery = null) List Applications events @@ -5831,7 +5739,7 @@ namespace Example try { // List Applications events - InlineResponse20028 result = apiInstance.GetApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery); + InlineResponse20027 result = apiInstance.GetApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery); Debug.WriteLine(result); } catch (ApiException e) @@ -5867,7 +5775,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20028**](InlineResponse20028.md) +[**InlineResponse20027**](InlineResponse20027.md) ### Authorization @@ -5968,7 +5876,7 @@ Name | Type | Description | Notes # **GetApplicationSessions** -> InlineResponse20027 GetApplicationSessions (int applicationId, int? pageSize = null, int? skip = null, string sort = null, string profile = null, string state = null, DateTime? createdBefore = null, DateTime? createdAfter = null, string coupon = null, string referral = null, string integrationId = null, string storeIntegrationId = null) +> InlineResponse20026 GetApplicationSessions (int applicationId, int? pageSize = null, int? skip = null, string sort = null, string profile = null, string state = null, DateTime? createdBefore = null, DateTime? createdAfter = null, string coupon = null, string referral = null, string integrationId = null, string storeIntegrationId = null) List Application sessions @@ -6010,13 +5918,13 @@ namespace Example var createdAfter = 2013-10-20T19:20:30+01:00; // DateTime? | Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) var coupon = coupon_example; // string | Filter by sessions with this coupon. Must be exact match. (optional) var referral = referral_example; // string | Filter by sessions with this referral. Must be exact match. (optional) - var integrationId = integrationId_example; // string | Filter by sessions with this integrationId. Must be exact match. (optional) + var integrationId = integrationId_example; // string | Filter by sessions with this integration ID. Must be exact match. (optional) var storeIntegrationId = storeIntegrationId_example; // string | The integration ID of the store. You choose this ID when you create a store. (optional) try { // List Application sessions - InlineResponse20027 result = apiInstance.GetApplicationSessions(applicationId, pageSize, skip, sort, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId); + InlineResponse20026 result = apiInstance.GetApplicationSessions(applicationId, pageSize, skip, sort, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId); Debug.WriteLine(result); } catch (ApiException e) @@ -6044,12 +5952,12 @@ Name | Type | Description | Notes **createdAfter** | **DateTime?**| Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **coupon** | **string**| Filter by sessions with this coupon. Must be exact match. | [optional] **referral** | **string**| Filter by sessions with this referral. Must be exact match. | [optional] - **integrationId** | **string**| Filter by sessions with this integrationId. Must be exact match. | [optional] + **integrationId** | **string**| Filter by sessions with this integration ID. Must be exact match. | [optional] **storeIntegrationId** | **string**| The integration ID of the store. You choose this ID when you create a store. | [optional] ### Return type -[**InlineResponse20027**](InlineResponse20027.md) +[**InlineResponse20026**](InlineResponse20026.md) ### Authorization @@ -6231,7 +6139,7 @@ Name | Type | Description | Notes # **GetAttributes** -> InlineResponse20034 GetAttributes (int? pageSize = null, int? skip = null, string sort = null, string entity = null) +> InlineResponse20033 GetAttributes (int? pageSize = null, int? skip = null, string sort = null, string entity = null) List custom attributes @@ -6271,7 +6179,7 @@ namespace Example try { // List custom attributes - InlineResponse20034 result = apiInstance.GetAttributes(pageSize, skip, sort, entity); + InlineResponse20033 result = apiInstance.GetAttributes(pageSize, skip, sort, entity); Debug.WriteLine(result); } catch (ApiException e) @@ -6296,7 +6204,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20034**](InlineResponse20034.md) +[**InlineResponse20033**](InlineResponse20033.md) ### Authorization @@ -6316,7 +6224,7 @@ Name | Type | Description | Notes # **GetAudienceMemberships** -> InlineResponse20032 GetAudienceMemberships (int audienceId, int? pageSize = null, int? skip = null, string sort = null, string profileQuery = null) +> InlineResponse20031 GetAudienceMemberships (int audienceId, int? pageSize = null, int? skip = null, string sort = null, string profileQuery = null) List audience members @@ -6357,7 +6265,7 @@ namespace Example try { // List audience members - InlineResponse20032 result = apiInstance.GetAudienceMemberships(audienceId, pageSize, skip, sort, profileQuery); + InlineResponse20031 result = apiInstance.GetAudienceMemberships(audienceId, pageSize, skip, sort, profileQuery); Debug.WriteLine(result); } catch (ApiException e) @@ -6383,7 +6291,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20032**](InlineResponse20032.md) +[**InlineResponse20031**](InlineResponse20031.md) ### Authorization @@ -6404,7 +6312,7 @@ Name | Type | Description | Notes # **GetAudiences** -> InlineResponse20030 GetAudiences (int? pageSize = null, int? skip = null, string sort = null, bool? withTotalResultSize = null) +> InlineResponse20029 GetAudiences (int? pageSize = null, int? skip = null, string sort = null, bool? withTotalResultSize = null) List audiences @@ -6444,7 +6352,7 @@ namespace Example try { // List audiences - InlineResponse20030 result = apiInstance.GetAudiences(pageSize, skip, sort, withTotalResultSize); + InlineResponse20029 result = apiInstance.GetAudiences(pageSize, skip, sort, withTotalResultSize); Debug.WriteLine(result); } catch (ApiException e) @@ -6469,7 +6377,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20030**](InlineResponse20030.md) +[**InlineResponse20029**](InlineResponse20029.md) ### Authorization @@ -6489,7 +6397,7 @@ Name | Type | Description | Notes # **GetAudiencesAnalytics** -> InlineResponse20031 GetAudiencesAnalytics (string audienceIds, string sort = null) +> InlineResponse20030 GetAudiencesAnalytics (string audienceIds, string sort = null) List audience analytics @@ -6527,7 +6435,7 @@ namespace Example try { // List audience analytics - InlineResponse20031 result = apiInstance.GetAudiencesAnalytics(audienceIds, sort); + InlineResponse20030 result = apiInstance.GetAudiencesAnalytics(audienceIds, sort); Debug.WriteLine(result); } catch (ApiException e) @@ -6550,7 +6458,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20031**](InlineResponse20031.md) +[**InlineResponse20030**](InlineResponse20030.md) ### Authorization @@ -6651,7 +6559,7 @@ Name | Type | Description | Notes # **GetCampaignAnalytics** -> InlineResponse20021 GetCampaignAnalytics (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = null) +> InlineResponse20020 GetCampaignAnalytics (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = null) Get analytics of campaigns @@ -6692,7 +6600,7 @@ namespace Example try { // Get analytics of campaigns - InlineResponse20021 result = apiInstance.GetCampaignAnalytics(applicationId, campaignId, rangeStart, rangeEnd, granularity); + InlineResponse20020 result = apiInstance.GetCampaignAnalytics(applicationId, campaignId, rangeStart, rangeEnd, granularity); Debug.WriteLine(result); } catch (ApiException e) @@ -6718,7 +6626,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20021**](InlineResponse20021.md) +[**InlineResponse20020**](InlineResponse20020.md) ### Authorization @@ -7122,7 +7030,7 @@ namespace Example var createdBefore = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) var createdAfter = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) var campaignGroupId = 56; // int? | Filter results to campaigns owned by the specified campaign access group ID. (optional) - var templateId = 56; // int? | The ID of the Campaign Template this Campaign was created from. (optional) + var templateId = 56; // int? | The ID of the campaign template this campaign was created from. (optional) var storeId = 56; // int? | Filter results to campaigns linked to the specified store ID. (optional) try @@ -7156,7 +7064,7 @@ Name | Type | Description | Notes **createdBefore** | **DateTime?**| 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. | [optional] **createdAfter** | **DateTime?**| 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. | [optional] **campaignGroupId** | **int?**| Filter results to campaigns owned by the specified campaign access group ID. | [optional] - **templateId** | **int?**| The ID of the Campaign Template this Campaign was created from. | [optional] + **templateId** | **int?**| The ID of the campaign template this campaign was created from. | [optional] **storeId** | **int?**| Filter results to campaigns linked to the specified store ID. | [optional] ### Return type @@ -7182,7 +7090,7 @@ Name | Type | Description | Notes # **GetChanges** -> InlineResponse20042 GetChanges (int? pageSize = null, int? skip = null, string sort = null, decimal? applicationId = null, string entityPath = null, int? userId = null, DateTime? createdBefore = null, DateTime? createdAfter = null, bool? withTotalResultSize = null, int? managementKeyId = null, bool? includeOld = null) +> InlineResponse20041 GetChanges (int? pageSize = null, int? skip = null, string sort = null, decimal? applicationId = null, string entityPath = null, int? userId = null, DateTime? createdBefore = null, DateTime? createdAfter = null, bool? withTotalResultSize = null, int? managementKeyId = null, bool? includeOld = null) Get audit logs for an account @@ -7229,7 +7137,7 @@ namespace Example try { // Get audit logs for an account - InlineResponse20042 result = apiInstance.GetChanges(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld); + InlineResponse20041 result = apiInstance.GetChanges(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld); Debug.WriteLine(result); } catch (ApiException e) @@ -7261,7 +7169,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20042**](InlineResponse20042.md) +[**InlineResponse20041**](InlineResponse20041.md) ### Authorization @@ -7493,9 +7401,9 @@ namespace Example var usable = usable_example; // string | Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) var redeemed = redeemed_example; // string | - `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. (optional) var referralId = 56; // int? | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - var recipientIntegrationId = recipientIntegrationId_example; // string | Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + var recipientIntegrationId = recipientIntegrationId_example; // string | Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) var batchId = batchId_example; // string | Filter results by batches of coupons (optional) - var exactMatch = true; // bool? | Filter results to an exact case-insensitive matching against the coupon code (optional) (default to false) + var exactMatch = true; // bool? | Filter results to an exact case-insensitive matching against the coupon code. (optional) (default to false) var expiresBefore = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) var expiresAfter = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) var startsBefore = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) @@ -7535,9 +7443,9 @@ Name | Type | Description | Notes **usable** | **string**| Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. | [optional] **redeemed** | **string**| - `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. | [optional] **referralId** | **int?**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] - **recipientIntegrationId** | **string**| Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field | [optional] + **recipientIntegrationId** | **string**| Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. | [optional] **batchId** | **string**| Filter results by batches of coupons | [optional] - **exactMatch** | **bool?**| Filter results to an exact case-insensitive matching against the coupon code | [optional] [default to false] + **exactMatch** | **bool?**| Filter results to an exact case-insensitive matching against the coupon code. | [optional] [default to false] **expiresBefore** | **DateTime?**| 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. | [optional] **expiresAfter** | **DateTime?**| 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. | [optional] **startsBefore** | **DateTime?**| 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. | [optional] @@ -7655,7 +7563,7 @@ Name | Type | Description | Notes # **GetCustomerActivityReportsWithoutTotalCount** -> InlineResponse20026 GetCustomerActivityReportsWithoutTotalCount (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = null, int? skip = null, string sort = null, string name = null, string integrationId = null, string campaignName = null, string advocateName = null) +> InlineResponse20025 GetCustomerActivityReportsWithoutTotalCount (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = null, int? skip = null, string sort = null, string name = null, string integrationId = null, string campaignName = null, string advocateName = null) Get Activity Reports for Application Customers @@ -7693,15 +7601,15 @@ namespace Example var pageSize = 56; // int? | The number of items in the response. (optional) (default to 1000) var skip = 56; // int? | The number of items to skip when paging through large result sets. (optional) var sort = sort_example; // string | 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:** This parameter works only with numeric fields. (optional) - var name = name_example; // string | Only return reports matching the customer name (optional) + var name = name_example; // string | Only return reports matching the customer name. (optional) var integrationId = integrationId_example; // string | Filter results performing an exact matching against the profile integration identifier. (optional) - var campaignName = campaignName_example; // string | Only return reports matching the campaignName (optional) - var advocateName = advocateName_example; // string | Only return reports matching the current customer referrer name (optional) + var campaignName = campaignName_example; // string | Only return reports matching the campaign name. (optional) + var advocateName = advocateName_example; // string | Only return reports matching the current customer referrer name. (optional) try { // Get Activity Reports for Application Customers - InlineResponse20026 result = apiInstance.GetCustomerActivityReportsWithoutTotalCount(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName); + InlineResponse20025 result = apiInstance.GetCustomerActivityReportsWithoutTotalCount(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName); Debug.WriteLine(result); } catch (ApiException e) @@ -7725,14 +7633,14 @@ Name | Type | Description | Notes **pageSize** | **int?**| The number of items in the response. | [optional] [default to 1000] **skip** | **int?**| The number of items to skip when paging through large result sets. | [optional] **sort** | **string**| 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:** This parameter works only with numeric fields. | [optional] - **name** | **string**| Only return reports matching the customer name | [optional] + **name** | **string**| Only return reports matching the customer name. | [optional] **integrationId** | **string**| Filter results performing an exact matching against the profile integration identifier. | [optional] - **campaignName** | **string**| Only return reports matching the campaignName | [optional] - **advocateName** | **string**| Only return reports matching the current customer referrer name | [optional] + **campaignName** | **string**| Only return reports matching the campaign name. | [optional] + **advocateName** | **string**| Only return reports matching the current customer referrer name. | [optional] ### Return type -[**InlineResponse20026**](InlineResponse20026.md) +[**InlineResponse20025**](InlineResponse20025.md) ### Authorization @@ -7918,7 +7826,7 @@ Name | Type | Description | Notes # **GetCustomerProfileAchievementProgress** -> InlineResponse20047 GetCustomerProfileAchievementProgress (int applicationId, string integrationId, int? pageSize = null, int? skip = null, int? achievementId = null, string title = null) +> InlineResponse20046 GetCustomerProfileAchievementProgress (int applicationId, string integrationId, int? pageSize = null, int? skip = null, int? achievementId = null, string title = null) List customer achievements @@ -7960,7 +7868,7 @@ namespace Example try { // List customer achievements - InlineResponse20047 result = apiInstance.GetCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title); + InlineResponse20046 result = apiInstance.GetCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title); Debug.WriteLine(result); } catch (ApiException e) @@ -7987,7 +7895,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20047**](InlineResponse20047.md) +[**InlineResponse20046**](InlineResponse20046.md) ### Authorization @@ -8009,7 +7917,7 @@ Name | Type | Description | Notes # **GetCustomerProfiles** -> InlineResponse20025 GetCustomerProfiles (int? pageSize = null, int? skip = null, bool? sandbox = null) +> InlineResponse20024 GetCustomerProfiles (int? pageSize = null, int? skip = null, bool? sandbox = null) List customer profiles @@ -8043,12 +7951,12 @@ namespace Example var apiInstance = new ManagementApi(config); var pageSize = 56; // int? | The number of items in the response. (optional) (default to 1000) var skip = 56; // int? | The number of items to skip when paging through large result sets. (optional) - var sandbox = true; // bool? | Indicates whether you are pointing to a sandbox or Live customer. (optional) (default to false) + var sandbox = true; // bool? | Indicates whether you are pointing to a sandbox or live customer. (optional) (default to false) try { // List customer profiles - InlineResponse20025 result = apiInstance.GetCustomerProfiles(pageSize, skip, sandbox); + InlineResponse20024 result = apiInstance.GetCustomerProfiles(pageSize, skip, sandbox); Debug.WriteLine(result); } catch (ApiException e) @@ -8068,11 +7976,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pageSize** | **int?**| The number of items in the response. | [optional] [default to 1000] **skip** | **int?**| The number of items to skip when paging through large result sets. | [optional] - **sandbox** | **bool?**| Indicates whether you are pointing to a sandbox or Live customer. | [optional] [default to false] + **sandbox** | **bool?**| Indicates whether you are pointing to a sandbox or live customer. | [optional] [default to false] ### Return type -[**InlineResponse20025**](InlineResponse20025.md) +[**InlineResponse20024**](InlineResponse20024.md) ### Authorization @@ -8092,7 +8000,7 @@ Name | Type | Description | Notes # **GetCustomersByAttributes** -> InlineResponse20024 GetCustomersByAttributes (CustomerProfileSearchQuery body, int? pageSize = null, int? skip = null, bool? sandbox = null) +> InlineResponse20023 GetCustomersByAttributes (CustomerProfileSearchQuery body, int? pageSize = null, int? skip = null, bool? sandbox = null) List customer profiles matching the given attributes @@ -8127,12 +8035,12 @@ namespace Example var body = new CustomerProfileSearchQuery(); // CustomerProfileSearchQuery | body var pageSize = 56; // int? | The number of items in the response. (optional) (default to 1000) var skip = 56; // int? | The number of items to skip when paging through large result sets. (optional) - var sandbox = true; // bool? | Indicates whether you are pointing to a sandbox or Live customer. (optional) (default to false) + var sandbox = true; // bool? | Indicates whether you are pointing to a sandbox or live customer. (optional) (default to false) try { // List customer profiles matching the given attributes - InlineResponse20024 result = apiInstance.GetCustomersByAttributes(body, pageSize, skip, sandbox); + InlineResponse20023 result = apiInstance.GetCustomersByAttributes(body, pageSize, skip, sandbox); Debug.WriteLine(result); } catch (ApiException e) @@ -8153,11 +8061,11 @@ Name | Type | Description | Notes **body** | [**CustomerProfileSearchQuery**](CustomerProfileSearchQuery.md)| body | **pageSize** | **int?**| The number of items in the response. | [optional] [default to 1000] **skip** | **int?**| The number of items to skip when paging through large result sets. | [optional] - **sandbox** | **bool?**| Indicates whether you are pointing to a sandbox or Live customer. | [optional] [default to false] + **sandbox** | **bool?**| Indicates whether you are pointing to a sandbox or live customer. | [optional] [default to false] ### Return type -[**InlineResponse20024**](InlineResponse20024.md) +[**InlineResponse20023**](InlineResponse20023.md) ### Authorization @@ -8177,7 +8085,7 @@ Name | Type | Description | Notes # **GetEventTypes** -> InlineResponse20040 GetEventTypes (string name = null, bool? includeOldVersions = null, int? pageSize = null, int? skip = null, string sort = null) +> InlineResponse20039 GetEventTypes (string name = null, bool? includeOldVersions = null, int? pageSize = null, int? skip = null, string sort = null) List event types @@ -8218,7 +8126,7 @@ namespace Example try { // List event types - InlineResponse20040 result = apiInstance.GetEventTypes(name, includeOldVersions, pageSize, skip, sort); + InlineResponse20039 result = apiInstance.GetEventTypes(name, includeOldVersions, pageSize, skip, sort); Debug.WriteLine(result); } catch (ApiException e) @@ -8244,7 +8152,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20040**](InlineResponse20040.md) +[**InlineResponse20039**](InlineResponse20039.md) ### Authorization @@ -8264,7 +8172,7 @@ Name | Type | Description | Notes # **GetExports** -> InlineResponse20043 GetExports (int? pageSize = null, int? skip = null, decimal? applicationId = null, int? campaignId = null, string entity = null) +> InlineResponse20042 GetExports (int? pageSize = null, int? skip = null, decimal? applicationId = null, int? campaignId = null, string entity = null) Get exports @@ -8305,7 +8213,7 @@ namespace Example try { // Get exports - InlineResponse20043 result = apiInstance.GetExports(pageSize, skip, applicationId, campaignId, entity); + InlineResponse20042 result = apiInstance.GetExports(pageSize, skip, applicationId, campaignId, entity); Debug.WriteLine(result); } catch (ApiException e) @@ -8331,7 +8239,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20043**](InlineResponse20043.md) +[**InlineResponse20042**](InlineResponse20042.md) ### Authorization @@ -9071,7 +8979,7 @@ namespace Example var createdAfter = 2013-10-20T19:20:30+01:00; // DateTime? | 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. (optional) var valid = valid_example; // string | 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. (optional) var usable = usable_example; // string | Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`. (optional) - var advocate = advocate_example; // string | Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field (optional) + var advocate = advocate_example; // string | Filter results by match with a profile ID specified in the referral's AdvocateProfileIntegrationId field. (optional) try { @@ -9104,7 +9012,7 @@ Name | Type | Description | Notes **createdAfter** | **DateTime?**| 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. | [optional] **valid** | **string**| 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. | [optional] **usable** | **string**| Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`. | [optional] - **advocate** | **string**| Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field | [optional] + **advocate** | **string**| Filter results by match with a profile ID specified in the referral's AdvocateProfileIntegrationId field. | [optional] ### Return type @@ -9538,7 +9446,7 @@ Name | Type | Description | Notes # **GetUsers** -> InlineResponse20041 GetUsers (int? pageSize = null, int? skip = null, string sort = null) +> InlineResponse20040 GetUsers (int? pageSize = null, int? skip = null, string sort = null) List users in account @@ -9577,7 +9485,7 @@ namespace Example try { // List users in account - InlineResponse20041 result = apiInstance.GetUsers(pageSize, skip, sort); + InlineResponse20040 result = apiInstance.GetUsers(pageSize, skip, sort); Debug.WriteLine(result); } catch (ApiException e) @@ -9601,7 +9509,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20041**](InlineResponse20041.md) +[**InlineResponse20040**](InlineResponse20040.md) ### Authorization @@ -9700,7 +9608,7 @@ Name | Type | Description | Notes # **GetWebhookActivationLogs** -> InlineResponse20038 GetWebhookActivationLogs (int? pageSize = null, int? skip = null, string sort = null, string integrationRequestUuid = null, decimal? webhookId = null, decimal? applicationId = null, decimal? campaignId = null, DateTime? createdBefore = null, DateTime? createdAfter = null) +> InlineResponse20037 GetWebhookActivationLogs (int? pageSize = null, int? skip = null, string sort = null, string integrationRequestUuid = null, decimal? webhookId = null, decimal? applicationId = null, decimal? campaignId = null, DateTime? createdBefore = null, DateTime? createdAfter = null) List webhook activation log entries @@ -9736,16 +9644,16 @@ namespace Example var skip = 56; // int? | The number of items to skip when paging through large result sets. (optional) var sort = sort_example; // string | 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:** This parameter works only with numeric fields. (optional) var integrationRequestUuid = integrationRequestUuid_example; // string | Filter results by integration request UUID. (optional) - var webhookId = 8.14; // decimal? | Filter results by Webhook. (optional) + var webhookId = 8.14; // decimal? | Filter results by webhook id. (optional) var applicationId = 8.14; // decimal? | Filter results by Application ID. (optional) - var campaignId = 8.14; // decimal? | Filter results by campaign. (optional) + var campaignId = 8.14; // decimal? | Filter results by campaign ID. (optional) var createdBefore = 2013-10-20T19:20:30+01:00; // DateTime? | Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) var createdAfter = 2013-10-20T19:20:30+01:00; // DateTime? | Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) try { // List webhook activation log entries - InlineResponse20038 result = apiInstance.GetWebhookActivationLogs(pageSize, skip, sort, integrationRequestUuid, webhookId, applicationId, campaignId, createdBefore, createdAfter); + InlineResponse20037 result = apiInstance.GetWebhookActivationLogs(pageSize, skip, sort, integrationRequestUuid, webhookId, applicationId, campaignId, createdBefore, createdAfter); Debug.WriteLine(result); } catch (ApiException e) @@ -9767,15 +9675,15 @@ Name | Type | Description | Notes **skip** | **int?**| The number of items to skip when paging through large result sets. | [optional] **sort** | **string**| 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:** This parameter works only with numeric fields. | [optional] **integrationRequestUuid** | **string**| Filter results by integration request UUID. | [optional] - **webhookId** | **decimal?**| Filter results by Webhook. | [optional] + **webhookId** | **decimal?**| Filter results by webhook id. | [optional] **applicationId** | **decimal?**| Filter results by Application ID. | [optional] - **campaignId** | **decimal?**| Filter results by campaign. | [optional] + **campaignId** | **decimal?**| Filter results by campaign ID. | [optional] **createdBefore** | **DateTime?**| Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **createdAfter** | **DateTime?**| Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] ### Return type -[**InlineResponse20038**](InlineResponse20038.md) +[**InlineResponse20037**](InlineResponse20037.md) ### Authorization @@ -9795,7 +9703,7 @@ Name | Type | Description | Notes # **GetWebhookLogs** -> InlineResponse20039 GetWebhookLogs (int? pageSize = null, int? skip = null, string sort = null, string status = null, decimal? webhookId = null, decimal? applicationId = null, decimal? campaignId = null, string requestUuid = null, DateTime? createdBefore = null, DateTime? createdAfter = null) +> InlineResponse20038 GetWebhookLogs (int? pageSize = null, int? skip = null, string sort = null, string status = null, decimal? webhookId = null, decimal? applicationId = null, decimal? campaignId = null, string requestUuid = null, DateTime? createdBefore = null, DateTime? createdAfter = null) List webhook log entries @@ -9831,9 +9739,9 @@ namespace Example var skip = 56; // int? | The number of items to skip when paging through large result sets. (optional) var sort = sort_example; // string | 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:** This parameter works only with numeric fields. (optional) var status = status_example; // string | Filter results by HTTP status codes. (optional) - var webhookId = 8.14; // decimal? | Filter results by Webhook. (optional) + var webhookId = 8.14; // decimal? | Filter results by webhook id. (optional) var applicationId = 8.14; // decimal? | Filter results by Application ID. (optional) - var campaignId = 8.14; // decimal? | Filter results by campaign. (optional) + var campaignId = 8.14; // decimal? | Filter results by campaign ID. (optional) var requestUuid = requestUuid_example; // string | Filter results by request UUID. (optional) var createdBefore = 2013-10-20T19:20:30+01:00; // DateTime? | Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) var createdAfter = 2013-10-20T19:20:30+01:00; // DateTime? | Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) @@ -9841,7 +9749,7 @@ namespace Example try { // List webhook log entries - InlineResponse20039 result = apiInstance.GetWebhookLogs(pageSize, skip, sort, status, webhookId, applicationId, campaignId, requestUuid, createdBefore, createdAfter); + InlineResponse20038 result = apiInstance.GetWebhookLogs(pageSize, skip, sort, status, webhookId, applicationId, campaignId, requestUuid, createdBefore, createdAfter); Debug.WriteLine(result); } catch (ApiException e) @@ -9863,16 +9771,16 @@ Name | Type | Description | Notes **skip** | **int?**| The number of items to skip when paging through large result sets. | [optional] **sort** | **string**| 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:** This parameter works only with numeric fields. | [optional] **status** | **string**| Filter results by HTTP status codes. | [optional] - **webhookId** | **decimal?**| Filter results by Webhook. | [optional] + **webhookId** | **decimal?**| Filter results by webhook id. | [optional] **applicationId** | **decimal?**| Filter results by Application ID. | [optional] - **campaignId** | **decimal?**| Filter results by campaign. | [optional] + **campaignId** | **decimal?**| Filter results by campaign ID. | [optional] **requestUuid** | **string**| Filter results by request UUID. | [optional] **createdBefore** | **DateTime?**| Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] **createdAfter** | **DateTime?**| Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional] ### Return type -[**InlineResponse20039**](InlineResponse20039.md) +[**InlineResponse20038**](InlineResponse20038.md) ### Authorization @@ -9892,7 +9800,7 @@ Name | Type | Description | Notes # **GetWebhooks** -> InlineResponse20037 GetWebhooks (string applicationIds = null, string sort = null, int? pageSize = null, int? skip = null, string creationType = null, string visibility = null, int? outgoingIntegrationsTypeId = null, string title = null) +> InlineResponse20036 GetWebhooks (string applicationIds = null, string sort = null, int? pageSize = null, int? skip = null, string creationType = null, string visibility = null, int? outgoingIntegrationsTypeId = null, string title = null) List webhooks @@ -9936,7 +9844,7 @@ namespace Example try { // List webhooks - InlineResponse20037 result = apiInstance.GetWebhooks(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title); + InlineResponse20036 result = apiInstance.GetWebhooks(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title); Debug.WriteLine(result); } catch (ApiException e) @@ -9965,7 +9873,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20037**](InlineResponse20037.md) +[**InlineResponse20036**](InlineResponse20036.md) ### Authorization @@ -10497,7 +10405,7 @@ Name | Type | Description | Notes Import loyalty cards -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. **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv identifier,state,customerprofileids 123-456-789AT,active,Alexa001;UserA ``` +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 ``` ### Example ```csharp @@ -10664,7 +10572,7 @@ Name | Type | Description | Notes Import loyalty points -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. - `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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` +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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` ### Example ```csharp @@ -11073,7 +10981,7 @@ Name | Type | Description | Notes # **ListAchievements** -> InlineResponse20046 ListAchievements (int applicationId, int campaignId, int? pageSize = null, int? skip = null, string title = null) +> InlineResponse20045 ListAchievements (int applicationId, int campaignId, int? pageSize = null, int? skip = null, string title = null) List achievements @@ -11114,7 +11022,7 @@ namespace Example try { // List achievements - InlineResponse20046 result = apiInstance.ListAchievements(applicationId, campaignId, pageSize, skip, title); + InlineResponse20045 result = apiInstance.ListAchievements(applicationId, campaignId, pageSize, skip, title); Debug.WriteLine(result); } catch (ApiException e) @@ -11140,7 +11048,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20046**](InlineResponse20046.md) +[**InlineResponse20045**](InlineResponse20045.md) ### Authorization @@ -11160,7 +11068,7 @@ Name | Type | Description | Notes # **ListAllRolesV2** -> InlineResponse20044 ListAllRolesV2 () +> InlineResponse20043 ListAllRolesV2 () List roles @@ -11196,7 +11104,7 @@ namespace Example try { // List roles - InlineResponse20044 result = apiInstance.ListAllRolesV2(); + InlineResponse20043 result = apiInstance.ListAllRolesV2(); Debug.WriteLine(result); } catch (ApiException e) @@ -11215,7 +11123,7 @@ This endpoint does not need any parameter. ### Return type -[**InlineResponse20044**](InlineResponse20044.md) +[**InlineResponse20043**](InlineResponse20043.md) ### Authorization @@ -11235,7 +11143,7 @@ This endpoint does not need any parameter. # **ListCatalogItems** -> InlineResponse20035 ListCatalogItems (int catalogId, int? pageSize = null, int? skip = null, bool? withTotalResultSize = null, List sku = null, List productNames = null) +> InlineResponse20034 ListCatalogItems (int catalogId, int? pageSize = null, int? skip = null, bool? withTotalResultSize = null, List sku = null, List productNames = null) List items in a catalog @@ -11277,7 +11185,7 @@ namespace Example try { // List items in a catalog - InlineResponse20035 result = apiInstance.ListCatalogItems(catalogId, pageSize, skip, withTotalResultSize, sku, productNames); + InlineResponse20034 result = apiInstance.ListCatalogItems(catalogId, pageSize, skip, withTotalResultSize, sku, productNames); Debug.WriteLine(result); } catch (ApiException e) @@ -11304,7 +11212,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20035**](InlineResponse20035.md) +[**InlineResponse20034**](InlineResponse20034.md) ### Authorization @@ -11506,7 +11414,7 @@ Name | Type | Description | Notes # **ListStores** -> InlineResponse20045 ListStores (int applicationId, int? pageSize = null, int? skip = null, string sort = null, bool? withTotalResultSize = null, decimal? campaignId = null, string name = null, string integrationId = null, string query = null) +> InlineResponse20044 ListStores (int applicationId, int? pageSize = null, int? skip = null, string sort = null, bool? withTotalResultSize = null, decimal? campaignId = null, string name = null, string integrationId = null, string query = null) List stores @@ -11543,7 +11451,7 @@ namespace Example var skip = 56; // int? | The number of items to skip when paging through large result sets. (optional) var sort = sort_example; // string | 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:** This parameter works only with numeric fields. (optional) var withTotalResultSize = true; // bool? | 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. (optional) - var campaignId = 8.14; // decimal? | Filter results by campaign. (optional) + var campaignId = 8.14; // decimal? | Filter results by campaign ID. (optional) var name = name_example; // string | The name of the store. (optional) var integrationId = integrationId_example; // string | The integration ID of the store. (optional) var query = query_example; // string | Filter results by `name` or `integrationId`. (optional) @@ -11551,7 +11459,7 @@ namespace Example try { // List stores - InlineResponse20045 result = apiInstance.ListStores(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query); + InlineResponse20044 result = apiInstance.ListStores(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query); Debug.WriteLine(result); } catch (ApiException e) @@ -11574,14 +11482,14 @@ Name | Type | Description | Notes **skip** | **int?**| The number of items to skip when paging through large result sets. | [optional] **sort** | **string**| 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:** This parameter works only with numeric fields. | [optional] **withTotalResultSize** | **bool?**| 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. | [optional] - **campaignId** | **decimal?**| Filter results by campaign. | [optional] + **campaignId** | **decimal?**| Filter results by campaign ID. | [optional] **name** | **string**| The name of the store. | [optional] **integrationId** | **string**| The integration ID of the store. | [optional] **query** | **string**| Filter results by `name` or `integrationId`. | [optional] ### Return type -[**InlineResponse20045**](InlineResponse20045.md) +[**InlineResponse20044**](InlineResponse20044.md) ### Authorization @@ -12912,9 +12820,9 @@ namespace Example var valid = valid_example; // string | 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. (optional) var usable = usable_example; // string | Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) var referralId = 56; // int? | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - var recipientIntegrationId = recipientIntegrationId_example; // string | Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + var recipientIntegrationId = recipientIntegrationId_example; // string | Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) var batchId = batchId_example; // string | Filter results by batches of coupons (optional) - var exactMatch = true; // bool? | Filter results to an exact case-insensitive matching against the coupon code (optional) (default to false) + var exactMatch = true; // bool? | Filter results to an exact case-insensitive matching against the coupon code. (optional) (default to false) var campaignState = campaignState_example; // string | 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. (optional) try @@ -12949,9 +12857,9 @@ Name | Type | Description | Notes **valid** | **string**| 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. | [optional] **usable** | **string**| Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. | [optional] **referralId** | **int?**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] - **recipientIntegrationId** | **string**| Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field | [optional] + **recipientIntegrationId** | **string**| Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. | [optional] **batchId** | **string**| Filter results by batches of coupons | [optional] - **exactMatch** | **bool?**| Filter results to an exact case-insensitive matching against the coupon code | [optional] [default to false] + **exactMatch** | **bool?**| Filter results to an exact case-insensitive matching against the coupon code. | [optional] [default to false] **campaignState** | **string**| 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. | [optional] ### Return type @@ -13020,8 +12928,8 @@ namespace Example var valid = valid_example; // string | 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. (optional) var usable = usable_example; // string | Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) var referralId = 56; // int? | Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - var recipientIntegrationId = recipientIntegrationId_example; // string | Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) - var exactMatch = true; // bool? | Filter results to an exact case-insensitive matching against the coupon code (optional) (default to false) + var recipientIntegrationId = recipientIntegrationId_example; // string | Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) + var exactMatch = true; // bool? | Filter results to an exact case-insensitive matching against the coupon code. (optional) (default to false) var batchId = batchId_example; // string | Filter results by batches of coupons (optional) try @@ -13057,8 +12965,8 @@ Name | Type | Description | Notes **valid** | **string**| 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. | [optional] **usable** | **string**| Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. | [optional] **referralId** | **int?**| Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. | [optional] - **recipientIntegrationId** | **string**| Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field | [optional] - **exactMatch** | **bool?**| Filter results to an exact case-insensitive matching against the coupon code | [optional] [default to false] + **recipientIntegrationId** | **string**| Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. | [optional] + **exactMatch** | **bool?**| Filter results to an exact case-insensitive matching against the coupon code. | [optional] [default to false] **batchId** | **string**| Filter results by batches of coupons | [optional] ### Return type @@ -13506,7 +13414,7 @@ Name | Type | Description | Notes Update campaign -Update the given campaign. +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. ### Example ```csharp @@ -13675,7 +13583,7 @@ Name | Type | Description | Notes Update coupon -Update the specified coupon.

Important

With this PUT endpoint alone, if you do not explicitly set a value for the startDate, expiryDate, and recipientIntegrationId properties in your request, it is automatically set to null.

+Update the specified coupon.

Important

With this PUT endpoint, if you do not explicitly set a value for the startDate, expiryDate, and recipientIntegrationId properties in your request, it is automatically set to null.

### Example ```csharp @@ -13760,7 +13668,7 @@ Name | Type | Description | Notes Update coupons -Update all coupons, or a specific batch of coupons in the given campaign. You can find the `batchId` in the **Coupons** view of your Application in the Campaign Manager, or you can use [List coupons](#operation/getCouponsWithoutTotalCount).

Important

  • Only send sequential requests to this endpoint.
  • Requests to this endpoint timeout after 30 minutes. If you hit a timeout, reach out to our support team.
To update a specific coupon, use [Update coupon](#operation/updateCoupon). +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).

Important

  • Only send sequential requests to this endpoint.
  • Requests to this endpoint time out after 30 minutes. If you hit a timeout, contact our support team.
  • With this PUT endpoint, if you do not explicitly set a value for the startDate and expiryDate properties in your request, it is automatically set to null.
To update a specific coupon, use [Update coupon](#operation/updateCoupon). ### Example ```csharp diff --git a/docs/MessageLogEntry.md b/docs/MessageLogEntry.md index cc65277..b89d7f1 100644 --- a/docs/MessageLogEntry.md +++ b/docs/MessageLogEntry.md @@ -9,12 +9,16 @@ Name | Type | Description | Notes **ChangeType** | **string** | Type of change that triggered the notification. | [optional] **NotificationId** | **int** | ID of the notification. | [optional] **NotificationName** | **string** | The name of the notification. | [optional] +**WebhookId** | **int** | ID of the webhook. | [optional] +**WebhookName** | **string** | The name of the webhook. | [optional] **Request** | [**MessageLogRequest**](MessageLogRequest.md) | | [optional] **Response** | [**MessageLogResponse**](MessageLogResponse.md) | | [optional] **CreatedAt** | **DateTime** | Timestamp when the log entry was created. | -**EntityType** | **string** | The entity type the notification is related to. | [optional] +**EntityType** | **string** | The entity type the log is related to. | +**Url** | **string** | The target URL of the request. | [optional] **ApplicationId** | **int** | Identifier of the Application. | [optional] **LoyaltyProgramId** | **int** | Identifier of the loyalty program. | [optional] +**CampaignId** | **int** | Identifier of the campaign. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MultipleCustomerProfileIntegrationRequestItem.md b/docs/MultipleCustomerProfileIntegrationRequestItem.md index c8e43e3..3e29e88 100644 --- a/docs/MultipleCustomerProfileIntegrationRequestItem.md +++ b/docs/MultipleCustomerProfileIntegrationRequestItem.md @@ -1,4 +1,5 @@ # TalonOne.Model.MultipleCustomerProfileIntegrationRequestItem +The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response. ## Properties Name | Type | Description | Notes diff --git a/docs/NewCampaignStoreBudget.md b/docs/NewCampaignStoreBudget.md new file mode 100644 index 0000000..04db68a --- /dev/null +++ b/docs/NewCampaignStoreBudget.md @@ -0,0 +1,11 @@ +# TalonOne.Model.NewCampaignStoreBudget +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Action** | **string** | | +**StoreLimits** | [**List<NewCampaignStoreBudgetStoreLimit>**](NewCampaignStoreBudgetStoreLimit.md) | The set of budget limits for stores linked to the campaign. | +**Period** | **string** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/NewCampaignStoreBudgetStoreLimit.md b/docs/NewCampaignStoreBudgetStoreLimit.md new file mode 100644 index 0000000..80f9164 --- /dev/null +++ b/docs/NewCampaignStoreBudgetStoreLimit.md @@ -0,0 +1,10 @@ +# TalonOne.Model.NewCampaignStoreBudgetStoreLimit +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StoreId** | **int** | The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. | +**Limit** | **decimal** | The value to set for the limit. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/NewCampaignTemplate.md b/docs/NewCampaignTemplate.md index 0a70a74..dec4db6 100644 --- a/docs/NewCampaignTemplate.md +++ b/docs/NewCampaignTemplate.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **Tags** | **List<string>** | A list of tags for the campaign template. | [optional] **Features** | **List<string>** | A list of features for the campaign template. | [optional] **CouponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] +**CouponReservationSettings** | [**CampaignTemplateCouponReservationSettings**](CampaignTemplateCouponReservationSettings.md) | | [optional] **ReferralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **Limits** | [**List<TemplateLimitConfig>**](TemplateLimitConfig.md) | The set of limits that will operate for this campaign template. | [optional] **TemplateParams** | [**List<CampaignTemplateParams>**](CampaignTemplateParams.md) | Fields which can be used to replace values in a rule. | [optional] diff --git a/docs/NewCustomerSessionV2.md b/docs/NewCustomerSessionV2.md index 9d1d176..d85f6db 100644 --- a/docs/NewCustomerSessionV2.md +++ b/docs/NewCustomerSessionV2.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **ProfileId** | **string** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | [optional] **StoreIntegrationId** | **string** | The integration ID of the store. You choose this ID when you create a store. | [optional] **EvaluableCampaignIds** | **List<int>** | When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. | [optional] -**CouponCodes** | **List<string>** | Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. | [optional] -**ReferralCode** | **string** | Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. | [optional] +**CouponCodes** | **List<string>** | Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. | [optional] +**ReferralCode** | **string** | Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. | [optional] **LoyaltyCards** | **List<string>** | Identifier of a loyalty card. | [optional] **State** | **string** | Indicates the current state of the session. Sessions can be created as `open` or `closed`. The state transitions are: 1. `open` → `closed` 2. `open` → `cancelled` 3. Either: - `closed` → `cancelled` (**only** via [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)) or - `closed` → `partially_returned` (**only** via [Return cart items](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/returnCartItems)) - `closed` → `open` (**only** via [Reopen customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/reopenCustomerSession)) 4. `partially_returned` → `cancelled` For more information, see [Customer session states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). | [optional] [default to StateEnum.Open] **CartItems** | [**List<CartItem>**](CartItem.md) | The items to add to this session. **Do not exceed 1000 items** and ensure the sum of all cart item's `quantity` **does not exceed 10.000** per request. | [optional] **AdditionalCosts** | [**Dictionary<string, AdditionalCost>**](AdditionalCost.md) | Use this property to set a value for the additional costs of this session, such as a shipping cost. They must be created in the Campaign Manager before you set them with this property. See [Managing additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs). | [optional] -**Identifiers** | **List<string>** | Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). | [optional] +**Identifiers** | **List<string>** | Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. | [optional] **Attributes** | [**Object**](.md) | Use this property to set a value for the attributes of your choice. Attributes represent any information to attach to your session, like the shipping city. You can use [built-in attributes](https://docs.talon.one/docs/dev/concepts/attributes#built-in-attributes) or [custom ones](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes). Custom attributes must be created in the Campaign Manager before you set them with this property. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NewLoyaltyProgram.md b/docs/NewLoyaltyProgram.md index 7988372..e7654ae 100644 --- a/docs/NewLoyaltyProgram.md +++ b/docs/NewLoyaltyProgram.md @@ -1,4 +1,5 @@ # TalonOne.Model.NewLoyaltyProgram +A new loyalty program ## Properties Name | Type | Description | Notes @@ -17,6 +18,7 @@ Name | Type | Description | Notes **TiersExpireIn** | **string** | The amount of time after which the tier expires and is reevaluated. 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. | [optional] **TiersDowngradePolicy** | **string** | The policy that defines how customer tiers are downgraded in the loyalty program after tier reevaluation. - `one_down`: If the customer doesn't have enough points to stay in the current tier, they are downgraded by one tier. - `balance_based`: The customer's tier is reevaluated based on the amount of active points they have at the moment. | [optional] **CardCodeSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] +**ReturnPolicy** | **string** | The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. | [optional] **Name** | **string** | The internal name for the Loyalty Program. This is an immutable value. | **Tiers** | [**List<NewLoyaltyTier>**](NewLoyaltyTier.md) | The tiers in this loyalty program. | [optional] **Timezone** | **string** | A string containing an IANA timezone descriptor. | diff --git a/docs/NewLoyaltyTier.md b/docs/NewLoyaltyTier.md index 53594c8..41c8f6d 100644 --- a/docs/NewLoyaltyTier.md +++ b/docs/NewLoyaltyTier.md @@ -4,8 +4,8 @@ A tier in a loyalty program. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Name** | **string** | The name of the tier | -**MinPoints** | **decimal** | The minimum amount of points required to be eligible for the tier. | +**Name** | **string** | The name of the tier. | +**MinPoints** | **decimal** | The minimum amount of points required to enter the tier. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NewSamlConnection.md b/docs/NewSamlConnection.md index a80adf3..705f8c5 100644 --- a/docs/NewSamlConnection.md +++ b/docs/NewSamlConnection.md @@ -1,4 +1,5 @@ # TalonOne.Model.NewSamlConnection +A new SAML 2.0 connection. ## Properties Name | Type | Description | Notes diff --git a/docs/NewWebhook.md b/docs/NewWebhook.md index 157a118..808bb6c 100644 --- a/docs/NewWebhook.md +++ b/docs/NewWebhook.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ApplicationIds** | **List<int>** | The IDs of the Applications that are related to this entity. | +**ApplicationIds** | **List<int>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. | **Title** | **string** | Name or title for this webhook. | **Description** | **string** | A description of the webhook. | [optional] **Verb** | **string** | API method for this webhook. | diff --git a/docs/Product.md b/docs/Product.md index c5b0b19..dab61ce 100644 --- a/docs/Product.md +++ b/docs/Product.md @@ -4,7 +4,7 @@ The specific properties of the product this item belongs to, if available. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Name** | **string** | The name of the product. | +**Name** | **string** | The product the item belongs to. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ProductSearchMatch.md b/docs/ProductSearchMatch.md new file mode 100644 index 0000000..b13d18a --- /dev/null +++ b/docs/ProductSearchMatch.md @@ -0,0 +1,11 @@ +# TalonOne.Model.ProductSearchMatch +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ProductId** | **int** | The ID of the product. | +**Value** | **string** | The string matching the given value. Either a product name or SKU. | +**ProductSkuId** | **int** | The ID of the SKU linked to a product. If empty, this is an analytics-level product. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ProductSkuUnitAnalytics.md b/docs/ProductSkuUnitAnalytics.md new file mode 100644 index 0000000..44303a7 --- /dev/null +++ b/docs/ProductSkuUnitAnalytics.md @@ -0,0 +1,12 @@ +# TalonOne.Model.ProductSkuUnitAnalytics +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StartTime** | **DateTime** | The start of the aggregation time frame in UTC. | +**EndTime** | **DateTime** | The end of the aggregation time frame in UTC. | +**PurchasedUnits** | [**AnalyticsDataPointWithTrend**](AnalyticsDataPointWithTrend.md) | | +**Sku** | **string** | The SKU linked to the analytics-level product. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ProductUnitAnalytics.md b/docs/ProductUnitAnalytics.md new file mode 100644 index 0000000..bc07282 --- /dev/null +++ b/docs/ProductUnitAnalytics.md @@ -0,0 +1,13 @@ +# TalonOne.Model.ProductUnitAnalytics +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StartTime** | **DateTime** | The start of the aggregation time frame in UTC. | +**EndTime** | **DateTime** | The end of the aggregation time frame in UTC. | +**PurchasedUnits** | [**AnalyticsDataPointWithTrend**](AnalyticsDataPointWithTrend.md) | | +**ProductId** | **int** | The ID of the analytics-level product. | +**ProductName** | **string** | The name of the analytics-level product. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/SamlConnection.md b/docs/SamlConnection.md index c37f403..3c12802 100644 --- a/docs/SamlConnection.md +++ b/docs/SamlConnection.md @@ -1,4 +1,5 @@ # TalonOne.Model.SamlConnection +A SAML 2.0 connection. ## Properties Name | Type | Description | Notes diff --git a/docs/ScimNewUser.md b/docs/ScimNewUser.md index 5315a71..0a98a37 100644 --- a/docs/ScimNewUser.md +++ b/docs/ScimNewUser.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Active** | **bool** | Status of the user. | [optional] **DisplayName** | **string** | Display name of the user. | [optional] -**UserName** | **string** | Unique identifier of the user. This is usually an email address. | [optional] +**UserName** | **string** | Unique identifier of the user. This is usually an email address. | **Name** | [**ScimBaseUserName**](ScimBaseUserName.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimServiceProviderConfigResponse.md b/docs/ScimServiceProviderConfigResponse.md index 543b785..41e4202 100644 --- a/docs/ScimServiceProviderConfigResponse.md +++ b/docs/ScimServiceProviderConfigResponse.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **Filter** | [**ScimServiceProviderConfigResponseFilter**](ScimServiceProviderConfigResponseFilter.md) | | [optional] **Patch** | [**ScimServiceProviderConfigResponsePatch**](ScimServiceProviderConfigResponsePatch.md) | | [optional] **Schemas** | **List<string>** | A list of SCIM schemas that define the structure and data types supported by the service provider. | [optional] +**Sort** | [**ScimServiceProviderConfigResponseSort**](ScimServiceProviderConfigResponseSort.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ScimServiceProviderConfigResponseSort.md b/docs/ScimServiceProviderConfigResponseSort.md new file mode 100644 index 0000000..899adc3 --- /dev/null +++ b/docs/ScimServiceProviderConfigResponseSort.md @@ -0,0 +1,10 @@ +# TalonOne.Model.ScimServiceProviderConfigResponseSort +Configuration settings related to sorting SCIM resources in query responses. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Supported** | **bool** | Indicates whether the service provider supports sorting operations for ordered query results. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ScimUser.md b/docs/ScimUser.md index e55ce8f..c2d0860 100644 --- a/docs/ScimUser.md +++ b/docs/ScimUser.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Active** | **bool** | Status of the user. | [optional] **DisplayName** | **string** | Display name of the user. | [optional] -**UserName** | **string** | Unique identifier of the user. This is usually an email address. | [optional] +**UserName** | **string** | Unique identifier of the user. This is usually an email address. | **Name** | [**ScimBaseUserName**](ScimBaseUserName.md) | | [optional] **Id** | **string** | ID of the user. | diff --git a/docs/Store.md b/docs/Store.md index 2057aa7..aab6630 100644 --- a/docs/Store.md +++ b/docs/Store.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **int** | Internal ID of this entity. | -**Created** | **DateTime** | The time this entity was created. The time this entity was created. | +**Created** | **DateTime** | The time this entity was created. | **Name** | **string** | The name of the store. | **Description** | **string** | The description of the store. | **Attributes** | [**Object**](.md) | The attributes of the store. | [optional] diff --git a/docs/StrikethroughDebugResponse.md b/docs/StrikethroughDebugResponse.md new file mode 100644 index 0000000..a764a62 --- /dev/null +++ b/docs/StrikethroughDebugResponse.md @@ -0,0 +1,10 @@ +# TalonOne.Model.StrikethroughDebugResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CampaignsIDs** | **List<int>** | The campaign IDs that got fetched for the evaluation process. | [optional] +**Effects** | [**List<StrikethroughEffect>**](StrikethroughEffect.md) | The strikethrough effects that are returned from the evaluation process. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/SummaryCampaignStoreBudget.md b/docs/SummaryCampaignStoreBudget.md new file mode 100644 index 0000000..5487ea4 --- /dev/null +++ b/docs/SummaryCampaignStoreBudget.md @@ -0,0 +1,11 @@ +# TalonOne.Model.SummaryCampaignStoreBudget +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Action** | **string** | | +**Period** | **string** | | [optional] +**StoreCount** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/TemplateArgDef.md b/docs/TemplateArgDef.md index f061fd0..1473c27 100644 --- a/docs/TemplateArgDef.md +++ b/docs/TemplateArgDef.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **Description** | **string** | A campaigner-friendly description of the argument, this will also be shown in the rule editor. | [optional] **Title** | **string** | A campaigner friendly name for the argument, this will be shown in the rule editor. | **Ui** | [**Object**](.md) | Arbitrary metadata that may be used to render an input for this argument. | +**Key** | **string** | The identifier for the associated value within the JSON object. | [optional] **PicklistID** | **int** | ID of the picklist linked to a template. | [optional] **RestrictedByPicklist** | **bool** | Whether or not this attribute's value is restricted by picklist (`picklist` property) | [optional] diff --git a/docs/UpdateAchievement.md b/docs/UpdateAchievement.md index 99ef9e7..26739db 100644 --- a/docs/UpdateAchievement.md +++ b/docs/UpdateAchievement.md @@ -9,6 +9,10 @@ Name | Type | Description | Notes **Target** | **decimal** | The required number of actions or the transactional milestone to complete the achievement. | [optional] **Period** | **string** | The relative duration after which the achievement ends and resets for a particular customer profile. | [optional] **PeriodEndOverride** | [**TimePoint**](TimePoint.md) | | [optional] +**RecurrencePolicy** | **string** | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. | [optional] +**ActivationPolicy** | **string** | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional] +**FixedStartDate** | **DateTime** | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional] +**EndDate** | **DateTime** | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateCampaignTemplate.md b/docs/UpdateCampaignTemplate.md index 50e443c..b6dd8c6 100644 --- a/docs/UpdateCampaignTemplate.md +++ b/docs/UpdateCampaignTemplate.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **Tags** | **List<string>** | A list of tags for the campaign template. | [optional] **Features** | **List<string>** | A list of features for the campaign template. | [optional] **CouponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] +**CouponReservationSettings** | [**CampaignTemplateCouponReservationSettings**](CampaignTemplateCouponReservationSettings.md) | | [optional] **ReferralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] **Limits** | [**List<TemplateLimitConfig>**](TemplateLimitConfig.md) | The set of limits that operate for this campaign template. | [optional] **TemplateParams** | [**List<CampaignTemplateParams>**](CampaignTemplateParams.md) | Fields which can be used to replace values in a rule. | [optional] diff --git a/docs/UpdateLoyaltyProgram.md b/docs/UpdateLoyaltyProgram.md index 95d4dc8..e77dcbc 100644 --- a/docs/UpdateLoyaltyProgram.md +++ b/docs/UpdateLoyaltyProgram.md @@ -1,4 +1,5 @@ # TalonOne.Model.UpdateLoyaltyProgram +An updated loyalty program. ## Properties Name | Type | Description | Notes @@ -17,6 +18,7 @@ Name | Type | Description | Notes **TiersExpireIn** | **string** | The amount of time after which the tier expires and is reevaluated. 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. | [optional] **TiersDowngradePolicy** | **string** | The policy that defines how customer tiers are downgraded in the loyalty program after tier reevaluation. - `one_down`: If the customer doesn't have enough points to stay in the current tier, they are downgraded by one tier. - `balance_based`: The customer's tier is reevaluated based on the amount of active points they have at the moment. | [optional] **CardCodeSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional] +**ReturnPolicy** | **string** | The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. | [optional] **Tiers** | [**List<NewLoyaltyTier>**](NewLoyaltyTier.md) | The tiers in this loyalty program. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateLoyaltyProgramTier.md b/docs/UpdateLoyaltyProgramTier.md new file mode 100644 index 0000000..9ed07e5 --- /dev/null +++ b/docs/UpdateLoyaltyProgramTier.md @@ -0,0 +1,12 @@ +# TalonOne.Model.UpdateLoyaltyProgramTier +Update a tier in a specified loyalty program. +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int** | The internal ID of the tier. | +**Name** | **string** | The name of the tier. | [optional] +**MinPoints** | **decimal** | The minimum amount of points required to enter the tier. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/ValueMap.md b/docs/ValueMap.md new file mode 100644 index 0000000..7755b3d --- /dev/null +++ b/docs/ValueMap.md @@ -0,0 +1,12 @@ +# TalonOne.Model.ValueMap +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **int** | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | +**Created** | **DateTime** | | [optional] +**CreatedBy** | **int** | The ID of the user who created the value map. | [optional] +**CampaignId** | **int** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Webhook.md b/docs/Webhook.md index 3b609ef..1925509 100644 --- a/docs/Webhook.md +++ b/docs/Webhook.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **Id** | **int** | Internal ID of this entity. | **Created** | **DateTime** | The time this entity was created. | **Modified** | **DateTime** | The time this entity was last modified. | -**ApplicationIds** | **List<int>** | The IDs of the Applications that are related to this entity. The IDs of the Applications that are related to this entity. | +**ApplicationIds** | **List<int>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. | **Title** | **string** | Name or title for this webhook. | **Description** | **string** | A description of the webhook. | [optional] **Verb** | **string** | API method for this webhook. | diff --git a/docs/WebhookLogEntry.md b/docs/WebhookLogEntry.md index 6bc9fe1..581bba2 100644 --- a/docs/WebhookLogEntry.md +++ b/docs/WebhookLogEntry.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **IntegrationRequestUuid** | **string** | UUID reference of the integration request linked to this webhook request. | **WebhookId** | **int** | ID of the webhook that triggered the request. | **ApplicationId** | **int** | ID of the application that triggered the webhook. | [optional] -**Url** | **string** | Target url of request | +**Url** | **string** | The target URL of the request. | **Request** | **string** | Request message | **Response** | **string** | Response message | [optional] **Status** | **int** | HTTP status code of response. | [optional] diff --git a/docs/WebhookWithOutgoingIntegrationDetails.md b/docs/WebhookWithOutgoingIntegrationDetails.md index 6ab5441..9836af9 100644 --- a/docs/WebhookWithOutgoingIntegrationDetails.md +++ b/docs/WebhookWithOutgoingIntegrationDetails.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **Id** | **int** | Internal ID of this entity. | **Created** | **DateTime** | The time this entity was created. | **Modified** | **DateTime** | The time this entity was last modified. | -**ApplicationIds** | **List<int>** | The IDs of the Applications that are related to this entity. The IDs of the Applications that are related to this entity. | +**ApplicationIds** | **List<int>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. | **Title** | **string** | Name or title for this webhook. | **Description** | **string** | A description of the webhook. | [optional] **Verb** | **string** | API method for this webhook. | diff --git a/src/TalonOne.Test/Api/ManagementApiTests.cs b/src/TalonOne.Test/Api/ManagementApiTests.cs index 8132c89..16b812f 100644 --- a/src/TalonOne.Test/Api/ManagementApiTests.cs +++ b/src/TalonOne.Test/Api/ManagementApiTests.cs @@ -62,7 +62,7 @@ public void InstanceTest() public void ActivateUserByEmailTest() { // TODO uncomment below to test the method and replace null with proper value - //ActivateUserRequest body = null; + //DeactivateUserRequest body = null; //instance.ActivateUserByEmail(body); } @@ -496,7 +496,7 @@ public void DeleteUserTest() public void DeleteUserByEmailTest() { // TODO uncomment below to test the method and replace null with proper value - //DeleteUserRequest body = null; + //DeactivateUserRequest body = null; //instance.DeleteUserByEmail(body); } @@ -727,7 +727,8 @@ public void ExportLoyaltyCardsTest() // TODO uncomment below to test the method and replace null with proper value //int loyaltyProgramId = null; //string batchId = null; - //var response = instance.ExportLoyaltyCards(loyaltyProgramId, batchId); + //string dateFormat = null; + //var response = instance.ExportLoyaltyCards(loyaltyProgramId, batchId, dateFormat); //Assert.IsType (response, "response is string"); } @@ -873,26 +874,7 @@ public void GetAdditionalCostsTest() //int? skip = null; //string sort = null; //var response = instance.GetAdditionalCosts(pageSize, skip, sort); - //Assert.IsType (response, "response is InlineResponse20036"); - } - - /// - /// Test GetAllAccessLogs - /// - [Fact] - public void GetAllAccessLogsTest() - { - // TODO uncomment below to test the method and replace null with proper value - //DateTime? rangeStart = null; - //DateTime? rangeEnd = null; - //string path = null; - //string method = null; - //string status = null; - //int? pageSize = null; - //int? skip = null; - //string sort = null; - //var response = instance.GetAllAccessLogs(rangeStart, rangeEnd, path, method, status, pageSize, skip, sort); - //Assert.IsType (response, "response is InlineResponse20020"); + //Assert.IsType (response, "response is InlineResponse20035"); } /// @@ -946,7 +928,7 @@ public void GetApplicationCustomerFriendsTest() //string sort = null; //bool? withTotalResultSize = null; //var response = instance.GetApplicationCustomerFriends(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize); - //Assert.IsType (response, "response is InlineResponse20033"); + //Assert.IsType (response, "response is InlineResponse20032"); } /// @@ -962,7 +944,7 @@ public void GetApplicationCustomersTest() //int? skip = null; //bool? withTotalResultSize = null; //var response = instance.GetApplicationCustomers(applicationId, integrationId, pageSize, skip, withTotalResultSize); - //Assert.IsType (response, "response is InlineResponse20022"); + //Assert.IsType (response, "response is InlineResponse20021"); } /// @@ -978,7 +960,7 @@ public void GetApplicationCustomersByAttributesTest() //int? skip = null; //bool? withTotalResultSize = null; //var response = instance.GetApplicationCustomersByAttributes(applicationId, body, pageSize, skip, withTotalResultSize); - //Assert.IsType (response, "response is InlineResponse20023"); + //Assert.IsType (response, "response is InlineResponse20022"); } /// @@ -993,7 +975,7 @@ public void GetApplicationEventTypesTest() //int? skip = null; //string sort = null; //var response = instance.GetApplicationEventTypes(applicationId, pageSize, skip, sort); - //Assert.IsType (response, "response is InlineResponse20029"); + //Assert.IsType (response, "response is InlineResponse20028"); } /// @@ -1019,7 +1001,7 @@ public void GetApplicationEventsWithoutTotalCountTest() //string ruleQuery = null; //string campaignQuery = null; //var response = instance.GetApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery); - //Assert.IsType (response, "response is InlineResponse20028"); + //Assert.IsType (response, "response is InlineResponse20027"); } /// @@ -1055,7 +1037,7 @@ public void GetApplicationSessionsTest() //string integrationId = null; //string storeIntegrationId = null; //var response = instance.GetApplicationSessions(applicationId, pageSize, skip, sort, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId); - //Assert.IsType (response, "response is InlineResponse20027"); + //Assert.IsType (response, "response is InlineResponse20026"); } /// @@ -1096,7 +1078,7 @@ public void GetAttributesTest() //string sort = null; //string entity = null; //var response = instance.GetAttributes(pageSize, skip, sort, entity); - //Assert.IsType (response, "response is InlineResponse20034"); + //Assert.IsType (response, "response is InlineResponse20033"); } /// @@ -1112,7 +1094,7 @@ public void GetAudienceMembershipsTest() //string sort = null; //string profileQuery = null; //var response = instance.GetAudienceMemberships(audienceId, pageSize, skip, sort, profileQuery); - //Assert.IsType (response, "response is InlineResponse20032"); + //Assert.IsType (response, "response is InlineResponse20031"); } /// @@ -1127,7 +1109,7 @@ public void GetAudiencesTest() //string sort = null; //bool? withTotalResultSize = null; //var response = instance.GetAudiences(pageSize, skip, sort, withTotalResultSize); - //Assert.IsType (response, "response is InlineResponse20030"); + //Assert.IsType (response, "response is InlineResponse20029"); } /// @@ -1140,7 +1122,7 @@ public void GetAudiencesAnalyticsTest() //string audienceIds = null; //string sort = null; //var response = instance.GetAudiencesAnalytics(audienceIds, sort); - //Assert.IsType (response, "response is InlineResponse20031"); + //Assert.IsType (response, "response is InlineResponse20030"); } /// @@ -1169,7 +1151,7 @@ public void GetCampaignAnalyticsTest() //DateTime rangeEnd = null; //string granularity = null; //var response = instance.GetCampaignAnalytics(applicationId, campaignId, rangeStart, rangeEnd, granularity); - //Assert.IsType (response, "response is InlineResponse20021"); + //Assert.IsType (response, "response is InlineResponse20020"); } /// @@ -1275,7 +1257,7 @@ public void GetChangesTest() //int? managementKeyId = null; //bool? includeOld = null; //var response = instance.GetChanges(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld); - //Assert.IsType (response, "response is InlineResponse20042"); + //Assert.IsType (response, "response is InlineResponse20041"); } /// @@ -1372,7 +1354,7 @@ public void GetCustomerActivityReportsWithoutTotalCountTest() //string campaignName = null; //string advocateName = null; //var response = instance.GetCustomerActivityReportsWithoutTotalCount(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName); - //Assert.IsType (response, "response is InlineResponse20026"); + //Assert.IsType (response, "response is InlineResponse20025"); } /// @@ -1417,7 +1399,7 @@ public void GetCustomerProfileAchievementProgressTest() //int? achievementId = null; //string title = null; //var response = instance.GetCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title); - //Assert.IsType (response, "response is InlineResponse20047"); + //Assert.IsType (response, "response is InlineResponse20046"); } /// @@ -1431,7 +1413,7 @@ public void GetCustomerProfilesTest() //int? skip = null; //bool? sandbox = null; //var response = instance.GetCustomerProfiles(pageSize, skip, sandbox); - //Assert.IsType (response, "response is InlineResponse20025"); + //Assert.IsType (response, "response is InlineResponse20024"); } /// @@ -1446,7 +1428,7 @@ public void GetCustomersByAttributesTest() //int? skip = null; //bool? sandbox = null; //var response = instance.GetCustomersByAttributes(body, pageSize, skip, sandbox); - //Assert.IsType (response, "response is InlineResponse20024"); + //Assert.IsType (response, "response is InlineResponse20023"); } /// @@ -1462,7 +1444,7 @@ public void GetEventTypesTest() //int? skip = null; //string sort = null; //var response = instance.GetEventTypes(name, includeOldVersions, pageSize, skip, sort); - //Assert.IsType (response, "response is InlineResponse20040"); + //Assert.IsType (response, "response is InlineResponse20039"); } /// @@ -1478,7 +1460,7 @@ public void GetExportsTest() //int? campaignId = null; //string entity = null; //var response = instance.GetExports(pageSize, skip, applicationId, campaignId, entity); - //Assert.IsType (response, "response is InlineResponse20043"); + //Assert.IsType (response, "response is InlineResponse20042"); } /// @@ -1696,7 +1678,7 @@ public void GetUsersTest() //int? skip = null; //string sort = null; //var response = instance.GetUsers(pageSize, skip, sort); - //Assert.IsType (response, "response is InlineResponse20041"); + //Assert.IsType (response, "response is InlineResponse20040"); } /// @@ -1728,7 +1710,7 @@ public void GetWebhookActivationLogsTest() //DateTime? createdBefore = null; //DateTime? createdAfter = null; //var response = instance.GetWebhookActivationLogs(pageSize, skip, sort, integrationRequestUuid, webhookId, applicationId, campaignId, createdBefore, createdAfter); - //Assert.IsType (response, "response is InlineResponse20038"); + //Assert.IsType (response, "response is InlineResponse20037"); } /// @@ -1749,7 +1731,7 @@ public void GetWebhookLogsTest() //DateTime? createdBefore = null; //DateTime? createdAfter = null; //var response = instance.GetWebhookLogs(pageSize, skip, sort, status, webhookId, applicationId, campaignId, requestUuid, createdBefore, createdAfter); - //Assert.IsType (response, "response is InlineResponse20039"); + //Assert.IsType (response, "response is InlineResponse20038"); } /// @@ -1768,7 +1750,7 @@ public void GetWebhooksTest() //int? outgoingIntegrationsTypeId = null; //string title = null; //var response = instance.GetWebhooks(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title); - //Assert.IsType (response, "response is InlineResponse20037"); + //Assert.IsType (response, "response is InlineResponse20036"); } /// @@ -1961,7 +1943,7 @@ public void ListAchievementsTest() //int? skip = null; //string title = null; //var response = instance.ListAchievements(applicationId, campaignId, pageSize, skip, title); - //Assert.IsType (response, "response is InlineResponse20046"); + //Assert.IsType (response, "response is InlineResponse20045"); } /// @@ -1972,7 +1954,7 @@ public void ListAllRolesV2Test() { // TODO uncomment below to test the method and replace null with proper value //var response = instance.ListAllRolesV2(); - //Assert.IsType (response, "response is InlineResponse20044"); + //Assert.IsType (response, "response is InlineResponse20043"); } /// @@ -1989,7 +1971,7 @@ public void ListCatalogItemsTest() //List sku = null; //List productNames = null; //var response = instance.ListCatalogItems(catalogId, pageSize, skip, withTotalResultSize, sku, productNames); - //Assert.IsType (response, "response is InlineResponse20035"); + //Assert.IsType (response, "response is InlineResponse20034"); } /// @@ -2044,7 +2026,7 @@ public void ListStoresTest() //string integrationId = null; //string query = null; //var response = instance.ListStores(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query); - //Assert.IsType (response, "response is InlineResponse20045"); + //Assert.IsType (response, "response is InlineResponse20044"); } /// diff --git a/src/TalonOne.Test/Model/AchievementTests.cs b/src/TalonOne.Test/Model/AchievementTests.cs index 009a39d..c4be47e 100644 --- a/src/TalonOne.Test/Model/AchievementTests.cs +++ b/src/TalonOne.Test/Model/AchievementTests.cs @@ -122,6 +122,38 @@ public void PeriodEndOverrideTest() // TODO unit test for the property 'PeriodEndOverride' } /// + /// Test the property 'RecurrencePolicy' + /// + [Fact] + public void RecurrencePolicyTest() + { + // TODO unit test for the property 'RecurrencePolicy' + } + /// + /// Test the property 'ActivationPolicy' + /// + [Fact] + public void ActivationPolicyTest() + { + // TODO unit test for the property 'ActivationPolicy' + } + /// + /// Test the property 'FixedStartDate' + /// + [Fact] + public void FixedStartDateTest() + { + // TODO unit test for the property 'FixedStartDate' + } + /// + /// Test the property 'EndDate' + /// + [Fact] + public void EndDateTest() + { + // TODO unit test for the property 'EndDate' + } + /// /// Test the property 'CampaignId' /// [Fact] diff --git a/src/TalonOne.Test/Model/AnalyticsProductSKUTests.cs b/src/TalonOne.Test/Model/AnalyticsProductSKUTests.cs new file mode 100644 index 0000000..aa13209 --- /dev/null +++ b/src/TalonOne.Test/Model/AnalyticsProductSKUTests.cs @@ -0,0 +1,87 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing AnalyticsProductSKU + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class AnalyticsProductSKUTests : IDisposable + { + // TODO uncomment below to declare an instance variable for AnalyticsProductSKU + //private AnalyticsProductSKU instance; + + public AnalyticsProductSKUTests() + { + // TODO uncomment below to create an instance of AnalyticsProductSKU + //instance = new AnalyticsProductSKU(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of AnalyticsProductSKU + /// + [Fact] + public void AnalyticsProductSKUInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" AnalyticsProductSKU + //Assert.IsInstanceOfType (instance, "variable 'instance' is a AnalyticsProductSKU"); + } + + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'Sku' + /// + [Fact] + public void SkuTest() + { + // TODO unit test for the property 'Sku' + } + /// + /// Test the property 'LastUpdated' + /// + [Fact] + public void LastUpdatedTest() + { + // TODO unit test for the property 'LastUpdated' + } + + } + +} diff --git a/src/TalonOne.Test/Model/AnalyticsProductTests.cs b/src/TalonOne.Test/Model/AnalyticsProductTests.cs new file mode 100644 index 0000000..ef5679b --- /dev/null +++ b/src/TalonOne.Test/Model/AnalyticsProductTests.cs @@ -0,0 +1,95 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing AnalyticsProduct + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class AnalyticsProductTests : IDisposable + { + // TODO uncomment below to declare an instance variable for AnalyticsProduct + //private AnalyticsProduct instance; + + public AnalyticsProductTests() + { + // TODO uncomment below to create an instance of AnalyticsProduct + //instance = new AnalyticsProduct(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of AnalyticsProduct + /// + [Fact] + public void AnalyticsProductInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" AnalyticsProduct + //Assert.IsInstanceOfType (instance, "variable 'instance' is a AnalyticsProduct"); + } + + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'IsPreliminary' + /// + [Fact] + public void IsPreliminaryTest() + { + // TODO unit test for the property 'IsPreliminary' + } + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + /// + /// Test the property 'CatalogId' + /// + [Fact] + public void CatalogIdTest() + { + // TODO unit test for the property 'CatalogId' + } + + } + +} diff --git a/src/TalonOne.Test/Model/ApplicationCampaignStatsTests.cs b/src/TalonOne.Test/Model/ApplicationCampaignStatsTests.cs index f9209c6..3e684f5 100644 --- a/src/TalonOne.Test/Model/ApplicationCampaignStatsTests.cs +++ b/src/TalonOne.Test/Model/ApplicationCampaignStatsTests.cs @@ -66,6 +66,14 @@ public void DisabledTest() // TODO unit test for the property 'Disabled' } /// + /// Test the property 'Staged' + /// + [Fact] + public void StagedTest() + { + // TODO unit test for the property 'Staged' + } + /// /// Test the property 'Scheduled' /// [Fact] diff --git a/src/TalonOne.Test/Model/BaseLoyaltyProgramTests.cs b/src/TalonOne.Test/Model/BaseLoyaltyProgramTests.cs index 9415fc9..096334e 100644 --- a/src/TalonOne.Test/Model/BaseLoyaltyProgramTests.cs +++ b/src/TalonOne.Test/Model/BaseLoyaltyProgramTests.cs @@ -169,6 +169,14 @@ public void CardCodeSettingsTest() { // TODO unit test for the property 'CardCodeSettings' } + /// + /// Test the property 'ReturnPolicy' + /// + [Fact] + public void ReturnPolicyTest() + { + // TODO unit test for the property 'ReturnPolicy' + } } diff --git a/src/TalonOne.Test/Model/BulkOperationOnCampaignsTests.cs b/src/TalonOne.Test/Model/BulkOperationOnCampaignsTests.cs index 58d9c83..c7b4fbe 100644 --- a/src/TalonOne.Test/Model/BulkOperationOnCampaignsTests.cs +++ b/src/TalonOne.Test/Model/BulkOperationOnCampaignsTests.cs @@ -73,6 +73,14 @@ public void CampaignIdsTest() { // TODO unit test for the property 'CampaignIds' } + /// + /// Test the property 'ActivateAt' + /// + [Fact] + public void ActivateAtTest() + { + // TODO unit test for the property 'ActivateAt' + } } diff --git a/src/TalonOne.Test/Model/CampaignTemplateCouponReservationSettingsTests.cs b/src/TalonOne.Test/Model/CampaignTemplateCouponReservationSettingsTests.cs new file mode 100644 index 0000000..b71e57c --- /dev/null +++ b/src/TalonOne.Test/Model/CampaignTemplateCouponReservationSettingsTests.cs @@ -0,0 +1,79 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing CampaignTemplateCouponReservationSettings + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class CampaignTemplateCouponReservationSettingsTests : IDisposable + { + // TODO uncomment below to declare an instance variable for CampaignTemplateCouponReservationSettings + //private CampaignTemplateCouponReservationSettings instance; + + public CampaignTemplateCouponReservationSettingsTests() + { + // TODO uncomment below to create an instance of CampaignTemplateCouponReservationSettings + //instance = new CampaignTemplateCouponReservationSettings(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of CampaignTemplateCouponReservationSettings + /// + [Fact] + public void CampaignTemplateCouponReservationSettingsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" CampaignTemplateCouponReservationSettings + //Assert.IsInstanceOfType (instance, "variable 'instance' is a CampaignTemplateCouponReservationSettings"); + } + + + /// + /// Test the property 'ReservationLimit' + /// + [Fact] + public void ReservationLimitTest() + { + // TODO unit test for the property 'ReservationLimit' + } + /// + /// Test the property 'IsReservationMandatory' + /// + [Fact] + public void IsReservationMandatoryTest() + { + // TODO unit test for the property 'IsReservationMandatory' + } + + } + +} diff --git a/src/TalonOne.Test/Model/CampaignTemplateTests.cs b/src/TalonOne.Test/Model/CampaignTemplateTests.cs index 8ac43c3..606c40f 100644 --- a/src/TalonOne.Test/Model/CampaignTemplateTests.cs +++ b/src/TalonOne.Test/Model/CampaignTemplateTests.cs @@ -170,6 +170,14 @@ public void CouponSettingsTest() // TODO unit test for the property 'CouponSettings' } /// + /// Test the property 'CouponReservationSettings' + /// + [Fact] + public void CouponReservationSettingsTest() + { + // TODO unit test for the property 'CouponReservationSettings' + } + /// /// Test the property 'ReferralSettings' /// [Fact] diff --git a/src/TalonOne.Test/Model/CampaignTests.cs b/src/TalonOne.Test/Model/CampaignTests.cs index 9b4e089..bd49bbc 100644 --- a/src/TalonOne.Test/Model/CampaignTests.cs +++ b/src/TalonOne.Test/Model/CampaignTests.cs @@ -394,6 +394,14 @@ public void StoresImportedTest() // TODO unit test for the property 'StoresImported' } /// + /// Test the property 'RevisionFrontendState' + /// + [Fact] + public void RevisionFrontendStateTest() + { + // TODO unit test for the property 'RevisionFrontendState' + } + /// /// Test the property 'ActiveRevisionId' /// [Fact] diff --git a/src/TalonOne.Test/Model/CampaignVersionsTests.cs b/src/TalonOne.Test/Model/CampaignVersionsTests.cs index ae4b2a4..b6d1fc7 100644 --- a/src/TalonOne.Test/Model/CampaignVersionsTests.cs +++ b/src/TalonOne.Test/Model/CampaignVersionsTests.cs @@ -57,6 +57,14 @@ public void CampaignVersionsInstanceTest() } + /// + /// Test the property 'RevisionFrontendState' + /// + [Fact] + public void RevisionFrontendStateTest() + { + // TODO unit test for the property 'RevisionFrontendState' + } /// /// Test the property 'ActiveRevisionId' /// diff --git a/src/TalonOne.Test/Model/CreateAchievementTests.cs b/src/TalonOne.Test/Model/CreateAchievementTests.cs index 643484b..a43abe4 100644 --- a/src/TalonOne.Test/Model/CreateAchievementTests.cs +++ b/src/TalonOne.Test/Model/CreateAchievementTests.cs @@ -105,6 +105,38 @@ public void PeriodEndOverrideTest() { // TODO unit test for the property 'PeriodEndOverride' } + /// + /// Test the property 'RecurrencePolicy' + /// + [Fact] + public void RecurrencePolicyTest() + { + // TODO unit test for the property 'RecurrencePolicy' + } + /// + /// Test the property 'ActivationPolicy' + /// + [Fact] + public void ActivationPolicyTest() + { + // TODO unit test for the property 'ActivationPolicy' + } + /// + /// Test the property 'FixedStartDate' + /// + [Fact] + public void FixedStartDateTest() + { + // TODO unit test for the property 'FixedStartDate' + } + /// + /// Test the property 'EndDate' + /// + [Fact] + public void EndDateTest() + { + // TODO unit test for the property 'EndDate' + } } diff --git a/src/TalonOne.Test/Model/CustomerSessionV2Tests.cs b/src/TalonOne.Test/Model/CustomerSessionV2Tests.cs index 0ac4076..aefdf00 100644 --- a/src/TalonOne.Test/Model/CustomerSessionV2Tests.cs +++ b/src/TalonOne.Test/Model/CustomerSessionV2Tests.cs @@ -217,6 +217,14 @@ public void UpdatedTest() { // TODO unit test for the property 'Updated' } + /// + /// Test the property 'ClosurePrediction' + /// + [Fact] + public void ClosurePredictionTest() + { + // TODO unit test for the property 'ClosurePrediction' + } } diff --git a/src/TalonOne.Test/Model/GenerateCampaignDescriptionTests.cs b/src/TalonOne.Test/Model/GenerateCampaignDescriptionTests.cs index ef18bc2..de7afc3 100644 --- a/src/TalonOne.Test/Model/GenerateCampaignDescriptionTests.cs +++ b/src/TalonOne.Test/Model/GenerateCampaignDescriptionTests.cs @@ -58,12 +58,12 @@ public void GenerateCampaignDescriptionInstanceTest() /// - /// Test the property 'CampaignID' + /// Test the property 'RulesetID' /// [Fact] - public void CampaignIDTest() + public void RulesetIDTest() { - // TODO unit test for the property 'CampaignID' + // TODO unit test for the property 'RulesetID' } /// /// Test the property 'Currency' diff --git a/src/TalonOne.Test/Model/GenerateCampaignTagsTests.cs b/src/TalonOne.Test/Model/GenerateCampaignTagsTests.cs index 1051dc2..59231db 100644 --- a/src/TalonOne.Test/Model/GenerateCampaignTagsTests.cs +++ b/src/TalonOne.Test/Model/GenerateCampaignTagsTests.cs @@ -58,12 +58,12 @@ public void GenerateCampaignTagsInstanceTest() /// - /// Test the property 'CampaignID' + /// Test the property 'RulesetID' /// [Fact] - public void CampaignIDTest() + public void RulesetIDTest() { - // TODO unit test for the property 'CampaignID' + // TODO unit test for the property 'RulesetID' } } diff --git a/src/TalonOne.Test/Model/GenerateLoyaltyCardTests.cs b/src/TalonOne.Test/Model/GenerateLoyaltyCardTests.cs index 55e31bc..fa34534 100644 --- a/src/TalonOne.Test/Model/GenerateLoyaltyCardTests.cs +++ b/src/TalonOne.Test/Model/GenerateLoyaltyCardTests.cs @@ -73,6 +73,14 @@ public void CustomerProfileIdsTest() { // TODO unit test for the property 'CustomerProfileIds' } + /// + /// Test the property 'CardIdentifier' + /// + [Fact] + public void CardIdentifierTest() + { + // TODO unit test for the property 'CardIdentifier' + } } diff --git a/src/TalonOne.Test/Model/InlineResponse20021Tests.cs b/src/TalonOne.Test/Model/InlineResponse20021Tests.cs index c59ae0d..c95ff73 100644 --- a/src/TalonOne.Test/Model/InlineResponse20021Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20021Tests.cs @@ -66,6 +66,14 @@ public void TotalResultSizeTest() // TODO unit test for the property 'TotalResultSize' } /// + /// Test the property 'HasMore' + /// + [Fact] + public void HasMoreTest() + { + // TODO unit test for the property 'HasMore' + } + /// /// Test the property 'Data' /// [Fact] diff --git a/src/TalonOne.Test/Model/InlineResponse20022Tests.cs b/src/TalonOne.Test/Model/InlineResponse20022Tests.cs index 7efbf62..892725f 100644 --- a/src/TalonOne.Test/Model/InlineResponse20022Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20022Tests.cs @@ -58,20 +58,20 @@ public void InlineResponse20022InstanceTest() /// - /// Test the property 'TotalResultSize' + /// Test the property 'HasMore' /// [Fact] - public void TotalResultSizeTest() + public void HasMoreTest() { - // TODO unit test for the property 'TotalResultSize' + // TODO unit test for the property 'HasMore' } /// - /// Test the property 'HasMore' + /// Test the property 'TotalResultSize' /// [Fact] - public void HasMoreTest() + public void TotalResultSizeTest() { - // TODO unit test for the property 'HasMore' + // TODO unit test for the property 'TotalResultSize' } /// /// Test the property 'Data' diff --git a/src/TalonOne.Test/Model/InlineResponse20024Tests.cs b/src/TalonOne.Test/Model/InlineResponse20024Tests.cs index 9941a5e..7e50e2b 100644 --- a/src/TalonOne.Test/Model/InlineResponse20024Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20024Tests.cs @@ -66,14 +66,6 @@ public void HasMoreTest() // TODO unit test for the property 'HasMore' } /// - /// Test the property 'TotalResultSize' - /// - [Fact] - public void TotalResultSizeTest() - { - // TODO unit test for the property 'TotalResultSize' - } - /// /// Test the property 'Data' /// [Fact] diff --git a/src/TalonOne.Test/Model/InlineResponse20028Tests.cs b/src/TalonOne.Test/Model/InlineResponse20028Tests.cs index 4b58a04..e025f41 100644 --- a/src/TalonOne.Test/Model/InlineResponse20028Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20028Tests.cs @@ -58,12 +58,12 @@ public void InlineResponse20028InstanceTest() /// - /// Test the property 'HasMore' + /// Test the property 'TotalResultSize' /// [Fact] - public void HasMoreTest() + public void TotalResultSizeTest() { - // TODO unit test for the property 'HasMore' + // TODO unit test for the property 'TotalResultSize' } /// /// Test the property 'Data' diff --git a/src/TalonOne.Test/Model/InlineResponse20029Tests.cs b/src/TalonOne.Test/Model/InlineResponse20029Tests.cs index f5c676f..40a2376 100644 --- a/src/TalonOne.Test/Model/InlineResponse20029Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20029Tests.cs @@ -57,6 +57,14 @@ public void InlineResponse20029InstanceTest() } + /// + /// Test the property 'HasMore' + /// + [Fact] + public void HasMoreTest() + { + // TODO unit test for the property 'HasMore' + } /// /// Test the property 'TotalResultSize' /// diff --git a/src/TalonOne.Test/Model/InlineResponse20030Tests.cs b/src/TalonOne.Test/Model/InlineResponse20030Tests.cs index 4a37e0a..c74602d 100644 --- a/src/TalonOne.Test/Model/InlineResponse20030Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20030Tests.cs @@ -66,14 +66,6 @@ public void HasMoreTest() // TODO unit test for the property 'HasMore' } /// - /// Test the property 'TotalResultSize' - /// - [Fact] - public void TotalResultSizeTest() - { - // TODO unit test for the property 'TotalResultSize' - } - /// /// Test the property 'Data' /// [Fact] diff --git a/src/TalonOne.Test/Model/InlineResponse20032Tests.cs b/src/TalonOne.Test/Model/InlineResponse20032Tests.cs index 865603d..13b6f6c 100644 --- a/src/TalonOne.Test/Model/InlineResponse20032Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20032Tests.cs @@ -66,6 +66,14 @@ public void HasMoreTest() // TODO unit test for the property 'HasMore' } /// + /// Test the property 'TotalResultSize' + /// + [Fact] + public void TotalResultSizeTest() + { + // TODO unit test for the property 'TotalResultSize' + } + /// /// Test the property 'Data' /// [Fact] diff --git a/src/TalonOne.Test/Model/InlineResponse20033Tests.cs b/src/TalonOne.Test/Model/InlineResponse20033Tests.cs index eccd1b0..6d6db70 100644 --- a/src/TalonOne.Test/Model/InlineResponse20033Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20033Tests.cs @@ -57,14 +57,6 @@ public void InlineResponse20033InstanceTest() } - /// - /// Test the property 'HasMore' - /// - [Fact] - public void HasMoreTest() - { - // TODO unit test for the property 'HasMore' - } /// /// Test the property 'TotalResultSize' /// diff --git a/src/TalonOne.Test/Model/InlineResponse20034Tests.cs b/src/TalonOne.Test/Model/InlineResponse20034Tests.cs index d3cfdaa..f31d8f4 100644 --- a/src/TalonOne.Test/Model/InlineResponse20034Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20034Tests.cs @@ -57,6 +57,14 @@ public void InlineResponse20034InstanceTest() } + /// + /// Test the property 'HasMore' + /// + [Fact] + public void HasMoreTest() + { + // TODO unit test for the property 'HasMore' + } /// /// Test the property 'TotalResultSize' /// diff --git a/src/TalonOne.Test/Model/InlineResponse20035Tests.cs b/src/TalonOne.Test/Model/InlineResponse20035Tests.cs index 22fdff5..f5fc226 100644 --- a/src/TalonOne.Test/Model/InlineResponse20035Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20035Tests.cs @@ -57,14 +57,6 @@ public void InlineResponse20035InstanceTest() } - /// - /// Test the property 'HasMore' - /// - [Fact] - public void HasMoreTest() - { - // TODO unit test for the property 'HasMore' - } /// /// Test the property 'TotalResultSize' /// diff --git a/src/TalonOne.Test/Model/InlineResponse20041Tests.cs b/src/TalonOne.Test/Model/InlineResponse20041Tests.cs index 4be0bb4..c726397 100644 --- a/src/TalonOne.Test/Model/InlineResponse20041Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20041Tests.cs @@ -66,6 +66,14 @@ public void TotalResultSizeTest() // TODO unit test for the property 'TotalResultSize' } /// + /// Test the property 'HasMore' + /// + [Fact] + public void HasMoreTest() + { + // TODO unit test for the property 'HasMore' + } + /// /// Test the property 'Data' /// [Fact] diff --git a/src/TalonOne.Test/Model/InlineResponse20042Tests.cs b/src/TalonOne.Test/Model/InlineResponse20042Tests.cs index 78c1b00..0a3950c 100644 --- a/src/TalonOne.Test/Model/InlineResponse20042Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20042Tests.cs @@ -66,14 +66,6 @@ public void TotalResultSizeTest() // TODO unit test for the property 'TotalResultSize' } /// - /// Test the property 'HasMore' - /// - [Fact] - public void HasMoreTest() - { - // TODO unit test for the property 'HasMore' - } - /// /// Test the property 'Data' /// [Fact] diff --git a/src/TalonOne.Test/Model/InlineResponse20044Tests.cs b/src/TalonOne.Test/Model/InlineResponse20044Tests.cs index cb8db89..a594e6b 100644 --- a/src/TalonOne.Test/Model/InlineResponse20044Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20044Tests.cs @@ -57,6 +57,14 @@ public void InlineResponse20044InstanceTest() } + /// + /// Test the property 'HasMore' + /// + [Fact] + public void HasMoreTest() + { + // TODO unit test for the property 'HasMore' + } /// /// Test the property 'TotalResultSize' /// diff --git a/src/TalonOne.Test/Model/InlineResponse20045Tests.cs b/src/TalonOne.Test/Model/InlineResponse20045Tests.cs index 70cf42e..3e8576a 100644 --- a/src/TalonOne.Test/Model/InlineResponse20045Tests.cs +++ b/src/TalonOne.Test/Model/InlineResponse20045Tests.cs @@ -66,14 +66,6 @@ public void HasMoreTest() // TODO unit test for the property 'HasMore' } /// - /// Test the property 'TotalResultSize' - /// - [Fact] - public void TotalResultSizeTest() - { - // TODO unit test for the property 'TotalResultSize' - } - /// /// Test the property 'Data' /// [Fact] diff --git a/src/TalonOne.Test/Model/ListCampaignStoreBudgetsStoreTests.cs b/src/TalonOne.Test/Model/ListCampaignStoreBudgetsStoreTests.cs new file mode 100644 index 0000000..6b5c83e --- /dev/null +++ b/src/TalonOne.Test/Model/ListCampaignStoreBudgetsStoreTests.cs @@ -0,0 +1,87 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing ListCampaignStoreBudgetsStore + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ListCampaignStoreBudgetsStoreTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ListCampaignStoreBudgetsStore + //private ListCampaignStoreBudgetsStore instance; + + public ListCampaignStoreBudgetsStoreTests() + { + // TODO uncomment below to create an instance of ListCampaignStoreBudgetsStore + //instance = new ListCampaignStoreBudgetsStore(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ListCampaignStoreBudgetsStore + /// + [Fact] + public void ListCampaignStoreBudgetsStoreInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" ListCampaignStoreBudgetsStore + //Assert.IsInstanceOfType (instance, "variable 'instance' is a ListCampaignStoreBudgetsStore"); + } + + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'IntegrationId' + /// + [Fact] + public void IntegrationIdTest() + { + // TODO unit test for the property 'IntegrationId' + } + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + + } + +} diff --git a/src/TalonOne.Test/Model/ListCampaignStoreBudgetsTests.cs b/src/TalonOne.Test/Model/ListCampaignStoreBudgetsTests.cs new file mode 100644 index 0000000..e851448 --- /dev/null +++ b/src/TalonOne.Test/Model/ListCampaignStoreBudgetsTests.cs @@ -0,0 +1,95 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing ListCampaignStoreBudgets + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ListCampaignStoreBudgetsTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ListCampaignStoreBudgets + //private ListCampaignStoreBudgets instance; + + public ListCampaignStoreBudgetsTests() + { + // TODO uncomment below to create an instance of ListCampaignStoreBudgets + //instance = new ListCampaignStoreBudgets(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ListCampaignStoreBudgets + /// + [Fact] + public void ListCampaignStoreBudgetsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" ListCampaignStoreBudgets + //Assert.IsInstanceOfType (instance, "variable 'instance' is a ListCampaignStoreBudgets"); + } + + + /// + /// Test the property 'Store' + /// + [Fact] + public void StoreTest() + { + // TODO unit test for the property 'Store' + } + /// + /// Test the property 'Limit' + /// + [Fact] + public void LimitTest() + { + // TODO unit test for the property 'Limit' + } + /// + /// Test the property 'Action' + /// + [Fact] + public void ActionTest() + { + // TODO unit test for the property 'Action' + } + /// + /// Test the property 'Period' + /// + [Fact] + public void PeriodTest() + { + // TODO unit test for the property 'Period' + } + + } + +} diff --git a/src/TalonOne.Test/Model/LoyaltyCardBatchTests.cs b/src/TalonOne.Test/Model/LoyaltyCardBatchTests.cs index be1dc0f..2f642f0 100644 --- a/src/TalonOne.Test/Model/LoyaltyCardBatchTests.cs +++ b/src/TalonOne.Test/Model/LoyaltyCardBatchTests.cs @@ -81,6 +81,14 @@ public void StatusTest() { // TODO unit test for the property 'Status' } + /// + /// Test the property 'CardCodeSettings' + /// + [Fact] + public void CardCodeSettingsTest() + { + // TODO unit test for the property 'CardCodeSettings' + } } diff --git a/src/TalonOne.Test/Model/LoyaltyCardTests.cs b/src/TalonOne.Test/Model/LoyaltyCardTests.cs index cae8964..6cd16a8 100644 --- a/src/TalonOne.Test/Model/LoyaltyCardTests.cs +++ b/src/TalonOne.Test/Model/LoyaltyCardTests.cs @@ -82,6 +82,22 @@ public void ProgramIDTest() // TODO unit test for the property 'ProgramID' } /// + /// Test the property 'ProgramName' + /// + [Fact] + public void ProgramNameTest() + { + // TODO unit test for the property 'ProgramName' + } + /// + /// Test the property 'ProgramTitle' + /// + [Fact] + public void ProgramTitleTest() + { + // TODO unit test for the property 'ProgramTitle' + } + /// /// Test the property 'Status' /// [Fact] diff --git a/src/TalonOne.Test/Model/LoyaltyProgramEntityTests.cs b/src/TalonOne.Test/Model/LoyaltyProgramEntityTests.cs index be80821..b816b6a 100644 --- a/src/TalonOne.Test/Model/LoyaltyProgramEntityTests.cs +++ b/src/TalonOne.Test/Model/LoyaltyProgramEntityTests.cs @@ -65,6 +65,22 @@ public void ProgramIDTest() { // TODO unit test for the property 'ProgramID' } + /// + /// Test the property 'ProgramName' + /// + [Fact] + public void ProgramNameTest() + { + // TODO unit test for the property 'ProgramName' + } + /// + /// Test the property 'ProgramTitle' + /// + [Fact] + public void ProgramTitleTest() + { + // TODO unit test for the property 'ProgramTitle' + } } diff --git a/src/TalonOne.Test/Model/LoyaltyProgramTests.cs b/src/TalonOne.Test/Model/LoyaltyProgramTests.cs index ca177e8..2c8f387 100644 --- a/src/TalonOne.Test/Model/LoyaltyProgramTests.cs +++ b/src/TalonOne.Test/Model/LoyaltyProgramTests.cs @@ -186,6 +186,14 @@ public void CardCodeSettingsTest() // TODO unit test for the property 'CardCodeSettings' } /// + /// Test the property 'ReturnPolicy' + /// + [Fact] + public void ReturnPolicyTest() + { + // TODO unit test for the property 'ReturnPolicy' + } + /// /// Test the property 'AccountID' /// [Fact] diff --git a/src/TalonOne.Test/Model/LoyaltyTierTests.cs b/src/TalonOne.Test/Model/LoyaltyTierTests.cs index 82c9ffd..4281498 100644 --- a/src/TalonOne.Test/Model/LoyaltyTierTests.cs +++ b/src/TalonOne.Test/Model/LoyaltyTierTests.cs @@ -82,6 +82,22 @@ public void ProgramIDTest() // TODO unit test for the property 'ProgramID' } /// + /// Test the property 'ProgramName' + /// + [Fact] + public void ProgramNameTest() + { + // TODO unit test for the property 'ProgramName' + } + /// + /// Test the property 'ProgramTitle' + /// + [Fact] + public void ProgramTitleTest() + { + // TODO unit test for the property 'ProgramTitle' + } + /// /// Test the property 'Name' /// [Fact] diff --git a/src/TalonOne.Test/Model/MessageLogEntryTests.cs b/src/TalonOne.Test/Model/MessageLogEntryTests.cs index 6884be5..27f79bb 100644 --- a/src/TalonOne.Test/Model/MessageLogEntryTests.cs +++ b/src/TalonOne.Test/Model/MessageLogEntryTests.cs @@ -98,6 +98,22 @@ public void NotificationNameTest() // TODO unit test for the property 'NotificationName' } /// + /// Test the property 'WebhookId' + /// + [Fact] + public void WebhookIdTest() + { + // TODO unit test for the property 'WebhookId' + } + /// + /// Test the property 'WebhookName' + /// + [Fact] + public void WebhookNameTest() + { + // TODO unit test for the property 'WebhookName' + } + /// /// Test the property 'Request' /// [Fact] @@ -130,6 +146,14 @@ public void EntityTypeTest() // TODO unit test for the property 'EntityType' } /// + /// Test the property 'Url' + /// + [Fact] + public void UrlTest() + { + // TODO unit test for the property 'Url' + } + /// /// Test the property 'ApplicationId' /// [Fact] @@ -145,6 +169,14 @@ public void LoyaltyProgramIdTest() { // TODO unit test for the property 'LoyaltyProgramId' } + /// + /// Test the property 'CampaignId' + /// + [Fact] + public void CampaignIdTest() + { + // TODO unit test for the property 'CampaignId' + } } diff --git a/src/TalonOne.Test/Model/NewCampaignStoreBudgetStoreLimitTests.cs b/src/TalonOne.Test/Model/NewCampaignStoreBudgetStoreLimitTests.cs new file mode 100644 index 0000000..1889168 --- /dev/null +++ b/src/TalonOne.Test/Model/NewCampaignStoreBudgetStoreLimitTests.cs @@ -0,0 +1,79 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing NewCampaignStoreBudgetStoreLimit + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class NewCampaignStoreBudgetStoreLimitTests : IDisposable + { + // TODO uncomment below to declare an instance variable for NewCampaignStoreBudgetStoreLimit + //private NewCampaignStoreBudgetStoreLimit instance; + + public NewCampaignStoreBudgetStoreLimitTests() + { + // TODO uncomment below to create an instance of NewCampaignStoreBudgetStoreLimit + //instance = new NewCampaignStoreBudgetStoreLimit(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of NewCampaignStoreBudgetStoreLimit + /// + [Fact] + public void NewCampaignStoreBudgetStoreLimitInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" NewCampaignStoreBudgetStoreLimit + //Assert.IsInstanceOfType (instance, "variable 'instance' is a NewCampaignStoreBudgetStoreLimit"); + } + + + /// + /// Test the property 'StoreId' + /// + [Fact] + public void StoreIdTest() + { + // TODO unit test for the property 'StoreId' + } + /// + /// Test the property 'Limit' + /// + [Fact] + public void LimitTest() + { + // TODO unit test for the property 'Limit' + } + + } + +} diff --git a/src/TalonOne.Test/Model/NewCampaignStoreBudgetTests.cs b/src/TalonOne.Test/Model/NewCampaignStoreBudgetTests.cs new file mode 100644 index 0000000..778b34b --- /dev/null +++ b/src/TalonOne.Test/Model/NewCampaignStoreBudgetTests.cs @@ -0,0 +1,87 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing NewCampaignStoreBudget + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class NewCampaignStoreBudgetTests : IDisposable + { + // TODO uncomment below to declare an instance variable for NewCampaignStoreBudget + //private NewCampaignStoreBudget instance; + + public NewCampaignStoreBudgetTests() + { + // TODO uncomment below to create an instance of NewCampaignStoreBudget + //instance = new NewCampaignStoreBudget(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of NewCampaignStoreBudget + /// + [Fact] + public void NewCampaignStoreBudgetInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" NewCampaignStoreBudget + //Assert.IsInstanceOfType (instance, "variable 'instance' is a NewCampaignStoreBudget"); + } + + + /// + /// Test the property 'Action' + /// + [Fact] + public void ActionTest() + { + // TODO unit test for the property 'Action' + } + /// + /// Test the property 'StoreLimits' + /// + [Fact] + public void StoreLimitsTest() + { + // TODO unit test for the property 'StoreLimits' + } + /// + /// Test the property 'Period' + /// + [Fact] + public void PeriodTest() + { + // TODO unit test for the property 'Period' + } + + } + +} diff --git a/src/TalonOne.Test/Model/NewCampaignTemplateTests.cs b/src/TalonOne.Test/Model/NewCampaignTemplateTests.cs index a14499a..a5d88a0 100644 --- a/src/TalonOne.Test/Model/NewCampaignTemplateTests.cs +++ b/src/TalonOne.Test/Model/NewCampaignTemplateTests.cs @@ -130,6 +130,14 @@ public void CouponSettingsTest() // TODO unit test for the property 'CouponSettings' } /// + /// Test the property 'CouponReservationSettings' + /// + [Fact] + public void CouponReservationSettingsTest() + { + // TODO unit test for the property 'CouponReservationSettings' + } + /// /// Test the property 'ReferralSettings' /// [Fact] diff --git a/src/TalonOne.Test/Model/NewLoyaltyProgramTests.cs b/src/TalonOne.Test/Model/NewLoyaltyProgramTests.cs index c9db731..85352ba 100644 --- a/src/TalonOne.Test/Model/NewLoyaltyProgramTests.cs +++ b/src/TalonOne.Test/Model/NewLoyaltyProgramTests.cs @@ -170,6 +170,14 @@ public void CardCodeSettingsTest() // TODO unit test for the property 'CardCodeSettings' } /// + /// Test the property 'ReturnPolicy' + /// + [Fact] + public void ReturnPolicyTest() + { + // TODO unit test for the property 'ReturnPolicy' + } + /// /// Test the property 'Name' /// [Fact] diff --git a/src/TalonOne.Test/Model/ProductSearchMatchTests.cs b/src/TalonOne.Test/Model/ProductSearchMatchTests.cs new file mode 100644 index 0000000..dd00c57 --- /dev/null +++ b/src/TalonOne.Test/Model/ProductSearchMatchTests.cs @@ -0,0 +1,87 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing ProductSearchMatch + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ProductSearchMatchTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ProductSearchMatch + //private ProductSearchMatch instance; + + public ProductSearchMatchTests() + { + // TODO uncomment below to create an instance of ProductSearchMatch + //instance = new ProductSearchMatch(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ProductSearchMatch + /// + [Fact] + public void ProductSearchMatchInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" ProductSearchMatch + //Assert.IsInstanceOfType (instance, "variable 'instance' is a ProductSearchMatch"); + } + + + /// + /// Test the property 'ProductId' + /// + [Fact] + public void ProductIdTest() + { + // TODO unit test for the property 'ProductId' + } + /// + /// Test the property 'Value' + /// + [Fact] + public void ValueTest() + { + // TODO unit test for the property 'Value' + } + /// + /// Test the property 'ProductSkuId' + /// + [Fact] + public void ProductSkuIdTest() + { + // TODO unit test for the property 'ProductSkuId' + } + + } + +} diff --git a/src/TalonOne.Test/Model/ProductSkuUnitAnalyticsTests.cs b/src/TalonOne.Test/Model/ProductSkuUnitAnalyticsTests.cs new file mode 100644 index 0000000..d093a3f --- /dev/null +++ b/src/TalonOne.Test/Model/ProductSkuUnitAnalyticsTests.cs @@ -0,0 +1,95 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing ProductSkuUnitAnalytics + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ProductSkuUnitAnalyticsTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ProductSkuUnitAnalytics + //private ProductSkuUnitAnalytics instance; + + public ProductSkuUnitAnalyticsTests() + { + // TODO uncomment below to create an instance of ProductSkuUnitAnalytics + //instance = new ProductSkuUnitAnalytics(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ProductSkuUnitAnalytics + /// + [Fact] + public void ProductSkuUnitAnalyticsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" ProductSkuUnitAnalytics + //Assert.IsInstanceOfType (instance, "variable 'instance' is a ProductSkuUnitAnalytics"); + } + + + /// + /// Test the property 'StartTime' + /// + [Fact] + public void StartTimeTest() + { + // TODO unit test for the property 'StartTime' + } + /// + /// Test the property 'EndTime' + /// + [Fact] + public void EndTimeTest() + { + // TODO unit test for the property 'EndTime' + } + /// + /// Test the property 'PurchasedUnits' + /// + [Fact] + public void PurchasedUnitsTest() + { + // TODO unit test for the property 'PurchasedUnits' + } + /// + /// Test the property 'Sku' + /// + [Fact] + public void SkuTest() + { + // TODO unit test for the property 'Sku' + } + + } + +} diff --git a/src/TalonOne.Test/Model/ProductUnitAnalyticsTests.cs b/src/TalonOne.Test/Model/ProductUnitAnalyticsTests.cs new file mode 100644 index 0000000..f5fb6fb --- /dev/null +++ b/src/TalonOne.Test/Model/ProductUnitAnalyticsTests.cs @@ -0,0 +1,103 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing ProductUnitAnalytics + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ProductUnitAnalyticsTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ProductUnitAnalytics + //private ProductUnitAnalytics instance; + + public ProductUnitAnalyticsTests() + { + // TODO uncomment below to create an instance of ProductUnitAnalytics + //instance = new ProductUnitAnalytics(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ProductUnitAnalytics + /// + [Fact] + public void ProductUnitAnalyticsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" ProductUnitAnalytics + //Assert.IsInstanceOfType (instance, "variable 'instance' is a ProductUnitAnalytics"); + } + + + /// + /// Test the property 'StartTime' + /// + [Fact] + public void StartTimeTest() + { + // TODO unit test for the property 'StartTime' + } + /// + /// Test the property 'EndTime' + /// + [Fact] + public void EndTimeTest() + { + // TODO unit test for the property 'EndTime' + } + /// + /// Test the property 'PurchasedUnits' + /// + [Fact] + public void PurchasedUnitsTest() + { + // TODO unit test for the property 'PurchasedUnits' + } + /// + /// Test the property 'ProductId' + /// + [Fact] + public void ProductIdTest() + { + // TODO unit test for the property 'ProductId' + } + /// + /// Test the property 'ProductName' + /// + [Fact] + public void ProductNameTest() + { + // TODO unit test for the property 'ProductName' + } + + } + +} diff --git a/src/TalonOne.Test/Model/ScimServiceProviderConfigResponseSortTests.cs b/src/TalonOne.Test/Model/ScimServiceProviderConfigResponseSortTests.cs new file mode 100644 index 0000000..395fb73 --- /dev/null +++ b/src/TalonOne.Test/Model/ScimServiceProviderConfigResponseSortTests.cs @@ -0,0 +1,71 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing ScimServiceProviderConfigResponseSort + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ScimServiceProviderConfigResponseSortTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ScimServiceProviderConfigResponseSort + //private ScimServiceProviderConfigResponseSort instance; + + public ScimServiceProviderConfigResponseSortTests() + { + // TODO uncomment below to create an instance of ScimServiceProviderConfigResponseSort + //instance = new ScimServiceProviderConfigResponseSort(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ScimServiceProviderConfigResponseSort + /// + [Fact] + public void ScimServiceProviderConfigResponseSortInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" ScimServiceProviderConfigResponseSort + //Assert.IsInstanceOfType (instance, "variable 'instance' is a ScimServiceProviderConfigResponseSort"); + } + + + /// + /// Test the property 'Supported' + /// + [Fact] + public void SupportedTest() + { + // TODO unit test for the property 'Supported' + } + + } + +} diff --git a/src/TalonOne.Test/Model/ScimServiceProviderConfigResponseTests.cs b/src/TalonOne.Test/Model/ScimServiceProviderConfigResponseTests.cs index fa8936c..2b85483 100644 --- a/src/TalonOne.Test/Model/ScimServiceProviderConfigResponseTests.cs +++ b/src/TalonOne.Test/Model/ScimServiceProviderConfigResponseTests.cs @@ -105,6 +105,14 @@ public void SchemasTest() { // TODO unit test for the property 'Schemas' } + /// + /// Test the property 'Sort' + /// + [Fact] + public void SortTest() + { + // TODO unit test for the property 'Sort' + } } diff --git a/src/TalonOne.Test/Model/StrikethroughDebugResponseTests.cs b/src/TalonOne.Test/Model/StrikethroughDebugResponseTests.cs new file mode 100644 index 0000000..74f5bbd --- /dev/null +++ b/src/TalonOne.Test/Model/StrikethroughDebugResponseTests.cs @@ -0,0 +1,79 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing StrikethroughDebugResponse + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class StrikethroughDebugResponseTests : IDisposable + { + // TODO uncomment below to declare an instance variable for StrikethroughDebugResponse + //private StrikethroughDebugResponse instance; + + public StrikethroughDebugResponseTests() + { + // TODO uncomment below to create an instance of StrikethroughDebugResponse + //instance = new StrikethroughDebugResponse(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of StrikethroughDebugResponse + /// + [Fact] + public void StrikethroughDebugResponseInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" StrikethroughDebugResponse + //Assert.IsInstanceOfType (instance, "variable 'instance' is a StrikethroughDebugResponse"); + } + + + /// + /// Test the property 'CampaignsIDs' + /// + [Fact] + public void CampaignsIDsTest() + { + // TODO unit test for the property 'CampaignsIDs' + } + /// + /// Test the property 'Effects' + /// + [Fact] + public void EffectsTest() + { + // TODO unit test for the property 'Effects' + } + + } + +} diff --git a/src/TalonOne.Test/Model/SummaryCampaignStoreBudgetTests.cs b/src/TalonOne.Test/Model/SummaryCampaignStoreBudgetTests.cs new file mode 100644 index 0000000..2d0b8aa --- /dev/null +++ b/src/TalonOne.Test/Model/SummaryCampaignStoreBudgetTests.cs @@ -0,0 +1,87 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing SummaryCampaignStoreBudget + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class SummaryCampaignStoreBudgetTests : IDisposable + { + // TODO uncomment below to declare an instance variable for SummaryCampaignStoreBudget + //private SummaryCampaignStoreBudget instance; + + public SummaryCampaignStoreBudgetTests() + { + // TODO uncomment below to create an instance of SummaryCampaignStoreBudget + //instance = new SummaryCampaignStoreBudget(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of SummaryCampaignStoreBudget + /// + [Fact] + public void SummaryCampaignStoreBudgetInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" SummaryCampaignStoreBudget + //Assert.IsInstanceOfType (instance, "variable 'instance' is a SummaryCampaignStoreBudget"); + } + + + /// + /// Test the property 'Action' + /// + [Fact] + public void ActionTest() + { + // TODO unit test for the property 'Action' + } + /// + /// Test the property 'Period' + /// + [Fact] + public void PeriodTest() + { + // TODO unit test for the property 'Period' + } + /// + /// Test the property 'StoreCount' + /// + [Fact] + public void StoreCountTest() + { + // TODO unit test for the property 'StoreCount' + } + + } + +} diff --git a/src/TalonOne.Test/Model/TemplateArgDefTests.cs b/src/TalonOne.Test/Model/TemplateArgDefTests.cs index df7d10b..dc47236 100644 --- a/src/TalonOne.Test/Model/TemplateArgDefTests.cs +++ b/src/TalonOne.Test/Model/TemplateArgDefTests.cs @@ -90,6 +90,14 @@ public void UiTest() // TODO unit test for the property 'Ui' } /// + /// Test the property 'Key' + /// + [Fact] + public void KeyTest() + { + // TODO unit test for the property 'Key' + } + /// /// Test the property 'PicklistID' /// [Fact] diff --git a/src/TalonOne.Test/Model/UpdateAchievementTests.cs b/src/TalonOne.Test/Model/UpdateAchievementTests.cs index 421f79c..d1290eb 100644 --- a/src/TalonOne.Test/Model/UpdateAchievementTests.cs +++ b/src/TalonOne.Test/Model/UpdateAchievementTests.cs @@ -105,6 +105,38 @@ public void PeriodEndOverrideTest() { // TODO unit test for the property 'PeriodEndOverride' } + /// + /// Test the property 'RecurrencePolicy' + /// + [Fact] + public void RecurrencePolicyTest() + { + // TODO unit test for the property 'RecurrencePolicy' + } + /// + /// Test the property 'ActivationPolicy' + /// + [Fact] + public void ActivationPolicyTest() + { + // TODO unit test for the property 'ActivationPolicy' + } + /// + /// Test the property 'FixedStartDate' + /// + [Fact] + public void FixedStartDateTest() + { + // TODO unit test for the property 'FixedStartDate' + } + /// + /// Test the property 'EndDate' + /// + [Fact] + public void EndDateTest() + { + // TODO unit test for the property 'EndDate' + } } diff --git a/src/TalonOne.Test/Model/UpdateCampaignTemplateTests.cs b/src/TalonOne.Test/Model/UpdateCampaignTemplateTests.cs index 222b3ad..884cbc2 100644 --- a/src/TalonOne.Test/Model/UpdateCampaignTemplateTests.cs +++ b/src/TalonOne.Test/Model/UpdateCampaignTemplateTests.cs @@ -138,6 +138,14 @@ public void CouponSettingsTest() // TODO unit test for the property 'CouponSettings' } /// + /// Test the property 'CouponReservationSettings' + /// + [Fact] + public void CouponReservationSettingsTest() + { + // TODO unit test for the property 'CouponReservationSettings' + } + /// /// Test the property 'ReferralSettings' /// [Fact] diff --git a/src/TalonOne.Test/Model/UpdateLoyaltyProgramTests.cs b/src/TalonOne.Test/Model/UpdateLoyaltyProgramTests.cs index e34cba0..fcf9117 100644 --- a/src/TalonOne.Test/Model/UpdateLoyaltyProgramTests.cs +++ b/src/TalonOne.Test/Model/UpdateLoyaltyProgramTests.cs @@ -170,6 +170,14 @@ public void CardCodeSettingsTest() // TODO unit test for the property 'CardCodeSettings' } /// + /// Test the property 'ReturnPolicy' + /// + [Fact] + public void ReturnPolicyTest() + { + // TODO unit test for the property 'ReturnPolicy' + } + /// /// Test the property 'Tiers' /// [Fact] diff --git a/src/TalonOne.Test/Model/UpdateLoyaltyProgramTierTests.cs b/src/TalonOne.Test/Model/UpdateLoyaltyProgramTierTests.cs new file mode 100644 index 0000000..f515b3a --- /dev/null +++ b/src/TalonOne.Test/Model/UpdateLoyaltyProgramTierTests.cs @@ -0,0 +1,87 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing UpdateLoyaltyProgramTier + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class UpdateLoyaltyProgramTierTests : IDisposable + { + // TODO uncomment below to declare an instance variable for UpdateLoyaltyProgramTier + //private UpdateLoyaltyProgramTier instance; + + public UpdateLoyaltyProgramTierTests() + { + // TODO uncomment below to create an instance of UpdateLoyaltyProgramTier + //instance = new UpdateLoyaltyProgramTier(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of UpdateLoyaltyProgramTier + /// + [Fact] + public void UpdateLoyaltyProgramTierInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" UpdateLoyaltyProgramTier + //Assert.IsInstanceOfType (instance, "variable 'instance' is a UpdateLoyaltyProgramTier"); + } + + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'Name' + /// + [Fact] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + /// + /// Test the property 'MinPoints' + /// + [Fact] + public void MinPointsTest() + { + // TODO unit test for the property 'MinPoints' + } + + } + +} diff --git a/src/TalonOne.Test/Model/ValueMapTests.cs b/src/TalonOne.Test/Model/ValueMapTests.cs new file mode 100644 index 0000000..8cd2640 --- /dev/null +++ b/src/TalonOne.Test/Model/ValueMapTests.cs @@ -0,0 +1,95 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using TalonOne.Api; +using TalonOne.Model; +using TalonOne.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace TalonOne.Test +{ + /// + /// Class for testing ValueMap + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ValueMapTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ValueMap + //private ValueMap instance; + + public ValueMapTests() + { + // TODO uncomment below to create an instance of ValueMap + //instance = new ValueMap(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ValueMap + /// + [Fact] + public void ValueMapInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" ValueMap + //Assert.IsInstanceOfType (instance, "variable 'instance' is a ValueMap"); + } + + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'Created' + /// + [Fact] + public void CreatedTest() + { + // TODO unit test for the property 'Created' + } + /// + /// Test the property 'CreatedBy' + /// + [Fact] + public void CreatedByTest() + { + // TODO unit test for the property 'CreatedBy' + } + /// + /// Test the property 'CampaignId' + /// + [Fact] + public void CampaignIdTest() + { + // TODO unit test for the property 'CampaignId' + } + + } + +} diff --git a/src/TalonOne/Api/IntegrationApi.cs b/src/TalonOne/Api/IntegrationApi.cs index 96297b6..721969c 100644 --- a/src/TalonOne/Api/IntegrationApi.cs +++ b/src/TalonOne/Api/IntegrationApi.cs @@ -54,7 +54,7 @@ public interface IIntegrationApiSync : IApiAccessor /// Create coupon reservation /// /// - /// Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation effect](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code). - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon will be associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. + /// Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. **Note:** - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon is associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. - This endpoint overrides the coupon reservation limit set when [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. /// /// Thrown when fails to make API call /// The code of the coupon. @@ -66,7 +66,7 @@ public interface IIntegrationApiSync : IApiAccessor /// Create coupon reservation /// /// - /// Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation effect](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code). - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon will be associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. + /// Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. **Note:** - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon is associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. - This endpoint overrides the coupon reservation limit set when [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. /// /// Thrown when fails to make API call /// The code of the coupon. @@ -186,7 +186,7 @@ public interface IIntegrationApiSync : IApiAccessor /// Delete customer's personal data /// /// - /// Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. + /// Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. /// /// Thrown when fails to make API call /// The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. @@ -197,7 +197,7 @@ public interface IIntegrationApiSync : IApiAccessor /// Delete customer's personal data /// /// - /// Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. + /// Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. /// /// Thrown when fails to make API call /// The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. @@ -281,10 +281,10 @@ public interface IIntegrationApiSync : IApiAccessor /// ApiResponse of IntegrationCustomerSessionResponse ApiResponse GetCustomerSessionWithHttpInfo (string customerSessionId); /// - /// Get customer's loyalty points + /// Get customer's loyalty balances /// /// - /// Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) + /// Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) /// /// Thrown when fails to make API call /// Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. @@ -292,15 +292,15 @@ public interface IIntegrationApiSync : IApiAccessor /// 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. (optional) /// The ID of the subledger by which we filter the data. (optional) /// Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional, default to false) - /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer’s active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) + /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) /// LoyaltyBalancesWithTiers LoyaltyBalancesWithTiers GetLoyaltyBalances (int loyaltyProgramId, string integrationId, DateTime? endDate = default(DateTime?), string subledgerId = default(string), bool? includeTiers = default(bool?), bool? includeProjectedTier = default(bool?)); /// - /// Get customer's loyalty points + /// Get customer's loyalty balances /// /// - /// Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) + /// Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) /// /// Thrown when fails to make API call /// Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. @@ -308,7 +308,7 @@ public interface IIntegrationApiSync : IApiAccessor /// 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. (optional) /// The ID of the subledger by which we filter the data. (optional) /// Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional, default to false) - /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer’s active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) + /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) /// ApiResponse of LoyaltyBalancesWithTiers ApiResponse GetLoyaltyBalancesWithHttpInfo (int loyaltyProgramId, string integrationId, DateTime? endDate = default(DateTime?), string subledgerId = default(string), bool? includeTiers = default(bool?), bool? includeProjectedTier = default(bool?)); /// @@ -788,7 +788,7 @@ public interface IIntegrationApiAsync : IApiAccessor /// Create coupon reservation /// /// - /// Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation effect](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code). - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon will be associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. + /// Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. **Note:** - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon is associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. - This endpoint overrides the coupon reservation limit set when [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. /// /// Thrown when fails to make API call /// The code of the coupon. @@ -800,7 +800,7 @@ public interface IIntegrationApiAsync : IApiAccessor /// Create coupon reservation /// /// - /// Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation effect](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code). - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon will be associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. + /// Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. **Note:** - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon is associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. - This endpoint overrides the coupon reservation limit set when [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. /// /// Thrown when fails to make API call /// The code of the coupon. @@ -920,7 +920,7 @@ public interface IIntegrationApiAsync : IApiAccessor /// Delete customer's personal data /// /// - /// Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. + /// Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. /// /// Thrown when fails to make API call /// The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. @@ -931,7 +931,7 @@ public interface IIntegrationApiAsync : IApiAccessor /// Delete customer's personal data /// /// - /// Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. + /// Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. /// /// Thrown when fails to make API call /// The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. @@ -1015,10 +1015,10 @@ public interface IIntegrationApiAsync : IApiAccessor /// Task of ApiResponse (IntegrationCustomerSessionResponse) System.Threading.Tasks.Task> GetCustomerSessionAsyncWithHttpInfo (string customerSessionId); /// - /// Get customer's loyalty points + /// Get customer's loyalty balances /// /// - /// Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) + /// Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) /// /// Thrown when fails to make API call /// Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. @@ -1026,15 +1026,15 @@ public interface IIntegrationApiAsync : IApiAccessor /// 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. (optional) /// The ID of the subledger by which we filter the data. (optional) /// Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional, default to false) - /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer’s active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) + /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) /// Task of LoyaltyBalancesWithTiers System.Threading.Tasks.Task GetLoyaltyBalancesAsync (int loyaltyProgramId, string integrationId, DateTime? endDate = default(DateTime?), string subledgerId = default(string), bool? includeTiers = default(bool?), bool? includeProjectedTier = default(bool?)); /// - /// Get customer's loyalty points + /// Get customer's loyalty balances /// /// - /// Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) + /// Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) /// /// Thrown when fails to make API call /// Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. @@ -1042,7 +1042,7 @@ public interface IIntegrationApiAsync : IApiAccessor /// 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. (optional) /// The ID of the subledger by which we filter the data. (optional) /// Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional, default to false) - /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer’s active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) + /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) /// Task of ApiResponse (LoyaltyBalancesWithTiers) System.Threading.Tasks.Task> GetLoyaltyBalancesAsyncWithHttpInfo (int loyaltyProgramId, string integrationId, DateTime? endDate = default(DateTime?), string subledgerId = default(string), bool? includeTiers = default(bool?), bool? includeProjectedTier = default(bool?)); /// @@ -1746,7 +1746,7 @@ public async System.Threading.Tasks.Task CreateAudienceV2Async (NewAud } /// - /// Create coupon reservation Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation effect](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code). - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon will be associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. + /// Create coupon reservation Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. **Note:** - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon is associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. - This endpoint overrides the coupon reservation limit set when [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. /// /// Thrown when fails to make API call /// The code of the coupon. @@ -1759,7 +1759,7 @@ public Coupon CreateCouponReservation (string couponValue, CouponReservations bo } /// - /// Create coupon reservation Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation effect](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code). - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon will be associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. + /// Create coupon reservation Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. **Note:** - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon is associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. - This endpoint overrides the coupon reservation limit set when [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. /// /// Thrown when fails to make API call /// The code of the coupon. @@ -1820,7 +1820,7 @@ public TalonOne.Client.ApiResponse< Coupon > CreateCouponReservationWithHttpInfo } /// - /// Create coupon reservation Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation effect](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code). - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon will be associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. + /// Create coupon reservation Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. **Note:** - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon is associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. - This endpoint overrides the coupon reservation limit set when [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. /// /// Thrown when fails to make API call /// The code of the coupon. @@ -1834,7 +1834,7 @@ public async System.Threading.Tasks.Task CreateCouponReservationAsync (s } /// - /// Create coupon reservation Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation effect](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code). - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon will be associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. + /// Create coupon reservation Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. **Note:** - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon is associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. - This endpoint overrides the coupon reservation limit set when [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint. /// /// Thrown when fails to make API call /// The code of the coupon. @@ -2582,7 +2582,7 @@ public async System.Threading.Tasks.Task DeleteCouponReservationAsync (string co } /// - /// Delete customer's personal data Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. + /// Delete customer's personal data Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. /// /// Thrown when fails to make API call /// The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. @@ -2593,7 +2593,7 @@ public void DeleteCustomerData (string integrationId) } /// - /// Delete customer's personal data Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. + /// Delete customer's personal data Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. /// /// Thrown when fails to make API call /// The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. @@ -2647,7 +2647,7 @@ public TalonOne.Client.ApiResponse DeleteCustomerDataWithHttpInfo (strin } /// - /// Delete customer's personal data Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. + /// Delete customer's personal data Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. /// /// Thrown when fails to make API call /// The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. @@ -2659,7 +2659,7 @@ public async System.Threading.Tasks.Task DeleteCustomerDataAsync (string integra } /// - /// Delete customer's personal data Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. + /// Delete customer's personal data Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours. /// /// Thrown when fails to make API call /// The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. @@ -3200,7 +3200,7 @@ public async System.Threading.Tasks.Task Get } /// - /// Get customer's loyalty points Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) + /// Get customer's loyalty balances Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) /// /// Thrown when fails to make API call /// Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. @@ -3208,7 +3208,7 @@ public async System.Threading.Tasks.Task Get /// 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. (optional) /// The ID of the subledger by which we filter the data. (optional) /// Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional, default to false) - /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer’s active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) + /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) /// LoyaltyBalancesWithTiers public LoyaltyBalancesWithTiers GetLoyaltyBalances (int loyaltyProgramId, string integrationId, DateTime? endDate = default(DateTime?), string subledgerId = default(string), bool? includeTiers = default(bool?), bool? includeProjectedTier = default(bool?)) { @@ -3217,7 +3217,7 @@ public async System.Threading.Tasks.Task Get } /// - /// Get customer's loyalty points Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) + /// Get customer's loyalty balances Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) /// /// Thrown when fails to make API call /// Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. @@ -3225,7 +3225,7 @@ public async System.Threading.Tasks.Task Get /// 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. (optional) /// The ID of the subledger by which we filter the data. (optional) /// Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional, default to false) - /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer’s active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) + /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) /// ApiResponse of LoyaltyBalancesWithTiers public TalonOne.Client.ApiResponse< LoyaltyBalancesWithTiers > GetLoyaltyBalancesWithHttpInfo (int loyaltyProgramId, string integrationId, DateTime? endDate = default(DateTime?), string subledgerId = default(string), bool? includeTiers = default(bool?), bool? includeProjectedTier = default(bool?)) { @@ -3293,7 +3293,7 @@ public async System.Threading.Tasks.Task Get } /// - /// Get customer's loyalty points Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) + /// Get customer's loyalty balances Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) /// /// Thrown when fails to make API call /// Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. @@ -3301,7 +3301,7 @@ public async System.Threading.Tasks.Task Get /// 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. (optional) /// The ID of the subledger by which we filter the data. (optional) /// Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional, default to false) - /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer’s active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) + /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) /// Task of LoyaltyBalancesWithTiers public async System.Threading.Tasks.Task GetLoyaltyBalancesAsync (int loyaltyProgramId, string integrationId, DateTime? endDate = default(DateTime?), string subledgerId = default(string), bool? includeTiers = default(bool?), bool? includeProjectedTier = default(bool?)) { @@ -3311,7 +3311,7 @@ public async System.Threading.Tasks.Task Get } /// - /// Get customer's loyalty points Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) + /// Get customer's loyalty balances Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data) /// /// Thrown when fails to make API call /// Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. @@ -3319,7 +3319,7 @@ public async System.Threading.Tasks.Task Get /// 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. (optional) /// The ID of the subledger by which we filter the data. (optional) /// Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional, default to false) - /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer’s active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) + /// Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false) /// Task of ApiResponse (LoyaltyBalancesWithTiers) public async System.Threading.Tasks.Task> GetLoyaltyBalancesAsyncWithHttpInfo (int loyaltyProgramId, string integrationId, DateTime? endDate = default(DateTime?), string subledgerId = default(string), bool? includeTiers = default(bool?), bool? includeProjectedTier = default(bool?)) { @@ -3442,7 +3442,7 @@ public async System.Threading.Tasks.Task Get } if (subledgerId != null) { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("csv", "subledgerId", subledgerId)); + localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("multi", "subledgerId", subledgerId)); } // authentication (api_key_v1) required @@ -3525,7 +3525,7 @@ public async System.Threading.Tasks.Task Get } if (subledgerId != null) { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("csv", "subledgerId", subledgerId)); + localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("multi", "subledgerId", subledgerId)); } // authentication (api_key_v1) required @@ -3611,7 +3611,7 @@ public async System.Threading.Tasks.Task Get } if (subledgerId != null) { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("csv", "subledgerId", subledgerId)); + localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("multi", "subledgerId", subledgerId)); } if (pageSize != null) { @@ -3706,7 +3706,7 @@ public async System.Threading.Tasks.Task Get } if (subledgerId != null) { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("csv", "subledgerId", subledgerId)); + localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("multi", "subledgerId", subledgerId)); } if (pageSize != null) { @@ -3800,7 +3800,7 @@ public async System.Threading.Tasks.Task Get localVarRequestOptions.PathParameters.Add("loyaltyCardId", TalonOne.Client.ClientUtils.ParameterToString(loyaltyCardId)); // path parameter if (subledgerId != null) { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("csv", "subledgerId", subledgerId)); + localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("multi", "subledgerId", subledgerId)); } if (loyaltyTransactionType != null) { @@ -3907,7 +3907,7 @@ public async System.Threading.Tasks.Task Get localVarRequestOptions.PathParameters.Add("loyaltyCardId", TalonOne.Client.ClientUtils.ParameterToString(loyaltyCardId)); // path parameter if (subledgerId != null) { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("csv", "subledgerId", subledgerId)); + localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("multi", "subledgerId", subledgerId)); } if (loyaltyTransactionType != null) { diff --git a/src/TalonOne/Api/ManagementApi.cs b/src/TalonOne/Api/ManagementApi.cs index 3387fb4..d888ab3 100644 --- a/src/TalonOne/Api/ManagementApi.cs +++ b/src/TalonOne/Api/ManagementApi.cs @@ -38,7 +38,7 @@ public interface IManagementApiSync : IApiAccessor /// Thrown when fails to make API call /// body /// - void ActivateUserByEmail (ActivateUserRequest body); + void ActivateUserByEmail (DeactivateUserRequest body); /// /// Enable user by email address @@ -49,7 +49,7 @@ public interface IManagementApiSync : IApiAccessor /// Thrown when fails to make API call /// body /// ApiResponse of Object(void) - ApiResponse ActivateUserByEmailWithHttpInfo (ActivateUserRequest body); + ApiResponse ActivateUserByEmailWithHttpInfo (DeactivateUserRequest body); /// /// Add points to card /// @@ -680,7 +680,7 @@ public interface IManagementApiSync : IApiAccessor /// Filter results by batches of coupons (optional) /// - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. (optional) + /// Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. (optional) /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) /// void DeleteCoupons (int applicationId, int campaignId, string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), DateTime? startsAfter = default(DateTime?), DateTime? startsBefore = default(DateTime?), DateTime? expiresAfter = default(DateTime?), DateTime? expiresBefore = default(DateTime?), string valid = default(string), string batchId = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?)); @@ -705,7 +705,7 @@ public interface IManagementApiSync : IApiAccessor /// Filter results by batches of coupons (optional) /// - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. (optional) + /// Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. (optional) /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) /// ApiResponse of Object(void) ApiResponse DeleteCouponsWithHttpInfo (int applicationId, int campaignId, string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), DateTime? startsAfter = default(DateTime?), DateTime? startsBefore = default(DateTime?), DateTime? expiresAfter = default(DateTime?), DateTime? expiresBefore = default(DateTime?), string valid = default(string), string batchId = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?)); @@ -810,7 +810,7 @@ public interface IManagementApiSync : IApiAccessor /// Thrown when fails to make API call /// body /// - void DeleteUserByEmail (DeleteUserRequest body); + void DeleteUserByEmail (DeactivateUserRequest body); /// /// Delete user by email address @@ -821,7 +821,7 @@ public interface IManagementApiSync : IApiAccessor /// Thrown when fails to make API call /// body /// ApiResponse of Object(void) - ApiResponse DeleteUserByEmailWithHttpInfo (DeleteUserRequest body); + ApiResponse DeleteUserByEmailWithHttpInfo (DeactivateUserRequest body); /// /// Destroy session /// @@ -983,11 +983,11 @@ public interface IManagementApiSync : IApiAccessor /// Export coupons /// /// - /// 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 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. + /// 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) /// 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. (optional) @@ -1008,11 +1008,11 @@ public interface IManagementApiSync : IApiAccessor /// Export coupons /// /// - /// 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 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. + /// 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) /// 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. (optional) @@ -1092,7 +1092,7 @@ public interface IManagementApiSync : IApiAccessor /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// Determines the format of dates in the export document. (optional) @@ -1107,7 +1107,7 @@ public interface IManagementApiSync : IApiAccessor /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// Determines the format of dates in the export document. (optional) @@ -1220,8 +1220,9 @@ public interface IManagementApiSync : IApiAccessor /// Thrown when fails to make API call /// 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. /// Filter results by loyalty card batch ID. (optional) + /// Determines the format of dates in the export document. (optional) /// string - string ExportLoyaltyCards (int loyaltyProgramId, string batchId = default(string)); + string ExportLoyaltyCards (int loyaltyProgramId, string batchId = default(string), string dateFormat = default(string)); /// /// Export loyalty cards @@ -1232,8 +1233,9 @@ public interface IManagementApiSync : IApiAccessor /// Thrown when fails to make API call /// 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. /// Filter results by loyalty card batch ID. (optional) + /// Determines the format of dates in the export document. (optional) /// ApiResponse of string - ApiResponse ExportLoyaltyCardsWithHttpInfo (int loyaltyProgramId, string batchId = default(string)); + ApiResponse ExportLoyaltyCardsWithHttpInfo (int loyaltyProgramId, string batchId = default(string), string dateFormat = default(string)); /// /// Export customer's transaction logs /// @@ -1296,7 +1298,7 @@ public interface IManagementApiSync : IApiAccessor /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// - `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. (optional) @@ -1314,7 +1316,7 @@ public interface IManagementApiSync : IApiAccessor /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// - `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. (optional) @@ -1479,8 +1481,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// InlineResponse20036 - InlineResponse20036 GetAdditionalCosts (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// InlineResponse20035 + InlineResponse20035 GetAdditionalCosts (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// List additional costs @@ -1492,43 +1494,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// ApiResponse of InlineResponse20036 - ApiResponse GetAdditionalCostsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); - /// - /// List access logs - /// - /// - /// Fetches the access logs for the entire account. Sensitive requests (logins) are _always_ filtered from the logs. - /// - /// Thrown when fails to make API call - /// 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. (optional) - /// 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. (optional) - /// Only return results where the request path matches the given regular expression. (optional) - /// Only return results where the request method matches the given regular expression. (optional) - /// Filter results by HTTP status codes. (optional) - /// The number of items in the response. (optional, default to 1000) - /// The number of items to skip when paging through large result sets. (optional) - /// 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:** This parameter works only with numeric fields. (optional) - /// InlineResponse20020 - InlineResponse20020 GetAllAccessLogs (DateTime? rangeStart = default(DateTime?), DateTime? rangeEnd = default(DateTime?), string path = default(string), string method = default(string), string status = default(string), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); - - /// - /// List access logs - /// - /// - /// Fetches the access logs for the entire account. Sensitive requests (logins) are _always_ filtered from the logs. - /// - /// Thrown when fails to make API call - /// 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. (optional) - /// 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. (optional) - /// Only return results where the request path matches the given regular expression. (optional) - /// Only return results where the request method matches the given regular expression. (optional) - /// Filter results by HTTP status codes. (optional) - /// The number of items in the response. (optional, default to 1000) - /// The number of items to skip when paging through large result sets. (optional) - /// 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:** This parameter works only with numeric fields. (optional) - /// ApiResponse of InlineResponse20020 - ApiResponse GetAllAccessLogsWithHttpInfo (DateTime? rangeStart = default(DateTime?), DateTime? rangeEnd = default(DateTime?), string path = default(string), string method = default(string), string status = default(string), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// ApiResponse of InlineResponse20035 + ApiResponse GetAdditionalCostsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// Get Application /// @@ -1554,7 +1521,7 @@ public interface IManagementApiSync : IApiAccessor /// Get Application health /// /// - /// Display the health of the Application and show the last time the Application was used. You can also display this information from the **Settings** of an Application, in the **Developer Settings** menu. See the [docs](https://docs.talon.one/docs/dev/tutorials/monitoring-integration-status). + /// 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -1565,7 +1532,7 @@ public interface IManagementApiSync : IApiAccessor /// Get Application health /// /// - /// Display the health of the Application and show the last time the Application was used. You can also display this information from the **Settings** of an Application, in the **Developer Settings** menu. See the [docs](https://docs.talon.one/docs/dev/tutorials/monitoring-integration-status). + /// 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -1607,8 +1574,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// InlineResponse20033 - InlineResponse20033 GetApplicationCustomerFriends (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); + /// InlineResponse20032 + InlineResponse20032 GetApplicationCustomerFriends (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); /// /// List friends referred by customer profile @@ -1623,8 +1590,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// ApiResponse of InlineResponse20033 - ApiResponse GetApplicationCustomerFriendsWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); + /// ApiResponse of InlineResponse20032 + ApiResponse GetApplicationCustomerFriendsWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); /// /// List application's customers /// @@ -1637,8 +1604,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// InlineResponse20022 - InlineResponse20022 GetApplicationCustomers (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); + /// InlineResponse20021 + InlineResponse20021 GetApplicationCustomers (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); /// /// List application's customers @@ -1652,8 +1619,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// ApiResponse of InlineResponse20022 - ApiResponse GetApplicationCustomersWithHttpInfo (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); + /// ApiResponse of InlineResponse20021 + ApiResponse GetApplicationCustomersWithHttpInfo (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); /// /// List application customers matching the given attributes /// @@ -1666,8 +1633,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// InlineResponse20023 - InlineResponse20023 GetApplicationCustomersByAttributes (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); + /// InlineResponse20022 + InlineResponse20022 GetApplicationCustomersByAttributes (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); /// /// List application customers matching the given attributes @@ -1681,8 +1648,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// ApiResponse of InlineResponse20023 - ApiResponse GetApplicationCustomersByAttributesWithHttpInfo (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); + /// ApiResponse of InlineResponse20022 + ApiResponse GetApplicationCustomersByAttributesWithHttpInfo (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); /// /// List Applications event types /// @@ -1694,8 +1661,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// InlineResponse20029 - InlineResponse20029 GetApplicationEventTypes (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// InlineResponse20028 + InlineResponse20028 GetApplicationEventTypes (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// List Applications event types @@ -1708,8 +1675,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// ApiResponse of InlineResponse20029 - ApiResponse GetApplicationEventTypesWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// ApiResponse of InlineResponse20028 + ApiResponse GetApplicationEventTypesWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// List Applications events /// @@ -1732,8 +1699,8 @@ public interface IManagementApiSync : IApiAccessor /// Referral code (optional) /// Rule name filter for events (optional) /// Campaign name filter for events (optional) - /// InlineResponse20028 - InlineResponse20028 GetApplicationEventsWithoutTotalCount (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)); + /// InlineResponse20027 + InlineResponse20027 GetApplicationEventsWithoutTotalCount (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)); /// /// List Applications events @@ -1757,8 +1724,8 @@ public interface IManagementApiSync : IApiAccessor /// Referral code (optional) /// Rule name filter for events (optional) /// Campaign name filter for events (optional) - /// ApiResponse of InlineResponse20028 - ApiResponse GetApplicationEventsWithoutTotalCountWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)); + /// ApiResponse of InlineResponse20027 + ApiResponse GetApplicationEventsWithoutTotalCountWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)); /// /// Get Application session /// @@ -1799,10 +1766,10 @@ public interface IManagementApiSync : IApiAccessor /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter by sessions with this coupon. Must be exact match. (optional) /// Filter by sessions with this referral. Must be exact match. (optional) - /// Filter by sessions with this integrationId. Must be exact match. (optional) + /// Filter by sessions with this integration ID. Must be exact match. (optional) /// The integration ID of the store. You choose this ID when you create a store. (optional) - /// InlineResponse20027 - InlineResponse20027 GetApplicationSessions (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)); + /// InlineResponse20026 + InlineResponse20026 GetApplicationSessions (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)); /// /// List Application sessions @@ -1821,10 +1788,10 @@ public interface IManagementApiSync : IApiAccessor /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter by sessions with this coupon. Must be exact match. (optional) /// Filter by sessions with this referral. Must be exact match. (optional) - /// Filter by sessions with this integrationId. Must be exact match. (optional) + /// Filter by sessions with this integration ID. Must be exact match. (optional) /// The integration ID of the store. You choose this ID when you create a store. (optional) - /// ApiResponse of InlineResponse20027 - ApiResponse GetApplicationSessionsWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)); + /// ApiResponse of InlineResponse20026 + ApiResponse GetApplicationSessionsWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)); /// /// List Applications /// @@ -1882,8 +1849,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Returned attributes will be filtered by supplied entity. (optional) - /// InlineResponse20034 - InlineResponse20034 GetAttributes (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)); + /// InlineResponse20033 + InlineResponse20033 GetAttributes (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)); /// /// List custom attributes @@ -1896,8 +1863,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Returned attributes will be filtered by supplied entity. (optional) - /// ApiResponse of InlineResponse20034 - ApiResponse GetAttributesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)); + /// ApiResponse of InlineResponse20033 + ApiResponse GetAttributesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)); /// /// List audience members /// @@ -1910,8 +1877,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// The filter to select a profile. (optional) - /// InlineResponse20032 - InlineResponse20032 GetAudienceMemberships (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)); + /// InlineResponse20031 + InlineResponse20031 GetAudienceMemberships (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)); /// /// List audience members @@ -1925,8 +1892,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// The filter to select a profile. (optional) - /// ApiResponse of InlineResponse20032 - ApiResponse GetAudienceMembershipsWithHttpInfo (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)); + /// ApiResponse of InlineResponse20031 + ApiResponse GetAudienceMembershipsWithHttpInfo (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)); /// /// List audiences /// @@ -1938,8 +1905,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// InlineResponse20030 - InlineResponse20030 GetAudiences (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); + /// InlineResponse20029 + InlineResponse20029 GetAudiences (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); /// /// List audiences @@ -1952,8 +1919,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// ApiResponse of InlineResponse20030 - ApiResponse GetAudiencesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); + /// ApiResponse of InlineResponse20029 + ApiResponse GetAudiencesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); /// /// List audience analytics /// @@ -1963,8 +1930,8 @@ public interface IManagementApiSync : IApiAccessor /// Thrown when fails to make API call /// The IDs of one or more audiences, separated by commas, by which to filter results. /// 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:** This parameter works only with numeric fields. (optional) - /// InlineResponse20031 - InlineResponse20031 GetAudiencesAnalytics (string audienceIds, string sort = default(string)); + /// InlineResponse20030 + InlineResponse20030 GetAudiencesAnalytics (string audienceIds, string sort = default(string)); /// /// List audience analytics @@ -1975,8 +1942,8 @@ public interface IManagementApiSync : IApiAccessor /// Thrown when fails to make API call /// The IDs of one or more audiences, separated by commas, by which to filter results. /// 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:** This parameter works only with numeric fields. (optional) - /// ApiResponse of InlineResponse20031 - ApiResponse GetAudiencesAnalyticsWithHttpInfo (string audienceIds, string sort = default(string)); + /// ApiResponse of InlineResponse20030 + ApiResponse GetAudiencesAnalyticsWithHttpInfo (string audienceIds, string sort = default(string)); /// /// Get campaign /// @@ -2012,8 +1979,8 @@ public interface IManagementApiSync : IApiAccessor /// 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. /// 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. /// The time interval between the results in the returned time-series. (optional) - /// InlineResponse20021 - InlineResponse20021 GetCampaignAnalytics (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)); + /// InlineResponse20020 + InlineResponse20020 GetCampaignAnalytics (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)); /// /// Get analytics of campaigns @@ -2027,8 +1994,8 @@ public interface IManagementApiSync : IApiAccessor /// 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. /// 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. /// The time interval between the results in the returned time-series. (optional) - /// ApiResponse of InlineResponse20021 - ApiResponse GetCampaignAnalyticsWithHttpInfo (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)); + /// ApiResponse of InlineResponse20020 + ApiResponse GetCampaignAnalyticsWithHttpInfo (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)); /// /// List campaigns that match the given attributes /// @@ -2156,7 +2123,7 @@ public interface IManagementApiSync : IApiAccessor /// 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. (optional) /// 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. (optional) /// Filter results to campaigns owned by the specified campaign access group ID. (optional) - /// The ID of the Campaign Template this Campaign was created from. (optional) + /// The ID of the campaign template this campaign was created from. (optional) /// Filter results to campaigns linked to the specified store ID. (optional) /// InlineResponse2006 InlineResponse2006 GetCampaigns (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string campaignState = default(string), string name = default(string), string tags = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), int? campaignGroupId = default(int?), int? templateId = default(int?), int? storeId = default(int?)); @@ -2178,7 +2145,7 @@ public interface IManagementApiSync : IApiAccessor /// 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. (optional) /// 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. (optional) /// Filter results to campaigns owned by the specified campaign access group ID. (optional) - /// The ID of the Campaign Template this Campaign was created from. (optional) + /// The ID of the campaign template this campaign was created from. (optional) /// Filter results to campaigns linked to the specified store ID. (optional) /// ApiResponse of InlineResponse2006 ApiResponse GetCampaignsWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string campaignState = default(string), string name = default(string), string tags = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), int? campaignGroupId = default(int?), int? templateId = default(int?), int? storeId = default(int?)); @@ -2200,8 +2167,8 @@ public interface IManagementApiSync : IApiAccessor /// 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. (optional) /// Filter results that match the given management key ID. (optional) /// When this flag is set to false, the state without the change will not be returned. The default value is true. (optional) - /// InlineResponse20042 - InlineResponse20042 GetChanges (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)); + /// InlineResponse20041 + InlineResponse20041 GetChanges (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)); /// /// Get audit logs for an account @@ -2221,8 +2188,8 @@ public interface IManagementApiSync : IApiAccessor /// 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. (optional) /// Filter results that match the given management key ID. (optional) /// When this flag is set to false, the state without the change will not be returned. The default value is true. (optional) - /// ApiResponse of InlineResponse20042 - ApiResponse GetChangesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)); + /// ApiResponse of InlineResponse20041 + ApiResponse GetChangesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)); /// /// Get campaign-level collection /// @@ -2292,9 +2259,9 @@ public interface IManagementApiSync : IApiAccessor /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// - `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. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// 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. (optional) /// 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. (optional) @@ -2322,9 +2289,9 @@ public interface IManagementApiSync : IApiAccessor /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// - `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. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// 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. (optional) /// 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. (optional) @@ -2376,12 +2343,12 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Only return reports matching the customer name (optional) + /// Only return reports matching the customer name. (optional) /// Filter results performing an exact matching against the profile integration identifier. (optional) - /// Only return reports matching the campaignName (optional) - /// Only return reports matching the current customer referrer name (optional) - /// InlineResponse20026 - InlineResponse20026 GetCustomerActivityReportsWithoutTotalCount (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)); + /// Only return reports matching the campaign name. (optional) + /// Only return reports matching the current customer referrer name. (optional) + /// InlineResponse20025 + InlineResponse20025 GetCustomerActivityReportsWithoutTotalCount (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)); /// /// Get Activity Reports for Application Customers @@ -2396,12 +2363,12 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Only return reports matching the customer name (optional) + /// Only return reports matching the customer name. (optional) /// Filter results performing an exact matching against the profile integration identifier. (optional) - /// Only return reports matching the campaignName (optional) - /// Only return reports matching the current customer referrer name (optional) - /// ApiResponse of InlineResponse20026 - ApiResponse GetCustomerActivityReportsWithoutTotalCountWithHttpInfo (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)); + /// Only return reports matching the campaign name. (optional) + /// Only return reports matching the current customer referrer name. (optional) + /// ApiResponse of InlineResponse20025 + ApiResponse GetCustomerActivityReportsWithoutTotalCountWithHttpInfo (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)); /// /// Get customer's analytics report /// @@ -2465,8 +2432,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) /// Filter results by the `title` of an achievement. (optional) - /// InlineResponse20047 - InlineResponse20047 GetCustomerProfileAchievementProgress (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)); + /// InlineResponse20046 + InlineResponse20046 GetCustomerProfileAchievementProgress (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)); /// /// List customer achievements @@ -2481,8 +2448,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) /// Filter results by the `title` of an achievement. (optional) - /// ApiResponse of InlineResponse20047 - ApiResponse GetCustomerProfileAchievementProgressWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)); + /// ApiResponse of InlineResponse20046 + ApiResponse GetCustomerProfileAchievementProgressWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)); /// /// List customer profiles /// @@ -2492,9 +2459,9 @@ public interface IManagementApiSync : IApiAccessor /// Thrown when fails to make API call /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// InlineResponse20025 - InlineResponse20025 GetCustomerProfiles (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// InlineResponse20024 + InlineResponse20024 GetCustomerProfiles (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); /// /// List customer profiles @@ -2505,9 +2472,9 @@ public interface IManagementApiSync : IApiAccessor /// Thrown when fails to make API call /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// ApiResponse of InlineResponse20025 - ApiResponse GetCustomerProfilesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// ApiResponse of InlineResponse20024 + ApiResponse GetCustomerProfilesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); /// /// List customer profiles matching the given attributes /// @@ -2518,9 +2485,9 @@ public interface IManagementApiSync : IApiAccessor /// body /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// InlineResponse20024 - InlineResponse20024 GetCustomersByAttributes (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// InlineResponse20023 + InlineResponse20023 GetCustomersByAttributes (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); /// /// List customer profiles matching the given attributes @@ -2532,9 +2499,9 @@ public interface IManagementApiSync : IApiAccessor /// body /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// ApiResponse of InlineResponse20024 - ApiResponse GetCustomersByAttributesWithHttpInfo (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// ApiResponse of InlineResponse20023 + ApiResponse GetCustomersByAttributesWithHttpInfo (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); /// /// List event types /// @@ -2547,8 +2514,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// InlineResponse20040 - InlineResponse20040 GetEventTypes (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// InlineResponse20039 + InlineResponse20039 GetEventTypes (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// List event types @@ -2562,8 +2529,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// ApiResponse of InlineResponse20040 - ApiResponse GetEventTypesWithHttpInfo (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// ApiResponse of InlineResponse20039 + ApiResponse GetEventTypesWithHttpInfo (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// Get exports /// @@ -2576,8 +2543,8 @@ public interface IManagementApiSync : IApiAccessor /// Filter results by Application ID. (optional) /// Filter by the campaign ID on which the limit counters are used. (optional) /// The name of the entity type that was exported. (optional) - /// InlineResponse20043 - InlineResponse20043 GetExports (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)); + /// InlineResponse20042 + InlineResponse20042 GetExports (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)); /// /// Get exports @@ -2591,8 +2558,8 @@ public interface IManagementApiSync : IApiAccessor /// Filter results by Application ID. (optional) /// Filter by the campaign ID on which the limit counters are used. (optional) /// The name of the entity type that was exported. (optional) - /// ApiResponse of InlineResponse20043 - ApiResponse GetExportsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)); + /// ApiResponse of InlineResponse20042 + ApiResponse GetExportsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)); /// /// Get loyalty card /// @@ -2816,7 +2783,7 @@ public interface IManagementApiSync : IApiAccessor /// 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. (optional) /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`. (optional) - /// Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the referral's AdvocateProfileIntegrationId field. (optional) /// InlineResponse20010 InlineResponse20010 GetReferralsWithoutTotalCount (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string code = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), string advocate = default(string)); @@ -2837,7 +2804,7 @@ public interface IManagementApiSync : IApiAccessor /// 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. (optional) /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`. (optional) - /// Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the referral's AdvocateProfileIntegrationId field. (optional) /// ApiResponse of InlineResponse20010 ApiResponse GetReferralsWithoutTotalCountWithHttpInfo (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string code = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), string advocate = default(string)); /// @@ -2969,8 +2936,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// InlineResponse20041 - InlineResponse20041 GetUsers (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// InlineResponse20040 + InlineResponse20040 GetUsers (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// List users in account @@ -2982,8 +2949,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// ApiResponse of InlineResponse20041 - ApiResponse GetUsersWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// ApiResponse of InlineResponse20040 + ApiResponse GetUsersWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// Get webhook /// @@ -3016,13 +2983,13 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by integration request UUID. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// InlineResponse20038 - InlineResponse20038 GetWebhookActivationLogs (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); + /// InlineResponse20037 + InlineResponse20037 GetWebhookActivationLogs (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); /// /// List webhook activation log entries @@ -3035,13 +3002,13 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by integration request UUID. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// ApiResponse of InlineResponse20038 - ApiResponse GetWebhookActivationLogsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); + /// ApiResponse of InlineResponse20037 + ApiResponse GetWebhookActivationLogsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); /// /// List webhook log entries /// @@ -3053,14 +3020,14 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by HTTP status codes. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Filter results by request UUID. (optional) /// Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// InlineResponse20039 - InlineResponse20039 GetWebhookLogs (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); + /// InlineResponse20038 + InlineResponse20038 GetWebhookLogs (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); /// /// List webhook log entries @@ -3073,14 +3040,14 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by HTTP status codes. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Filter results by request UUID. (optional) /// Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// ApiResponse of InlineResponse20039 - ApiResponse GetWebhookLogsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); + /// ApiResponse of InlineResponse20038 + ApiResponse GetWebhookLogsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); /// /// List webhooks /// @@ -3096,8 +3063,8 @@ public interface IManagementApiSync : IApiAccessor /// Filter results by visibility. (optional) /// Filter results by outgoing integration type ID. (optional) /// Filter results performing case-insensitive matching against the webhook title. (optional) - /// InlineResponse20037 - InlineResponse20037 GetWebhooks (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)); + /// InlineResponse20036 + InlineResponse20036 GetWebhooks (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)); /// /// List webhooks @@ -3114,8 +3081,8 @@ public interface IManagementApiSync : IApiAccessor /// Filter results by visibility. (optional) /// Filter results by outgoing integration type ID. (optional) /// Filter results performing case-insensitive matching against the webhook title. (optional) - /// ApiResponse of InlineResponse20037 - ApiResponse GetWebhooksWithHttpInfo (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)); + /// ApiResponse of InlineResponse20036 + ApiResponse GetWebhooksWithHttpInfo (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)); /// /// Import data into existing account-level collection /// @@ -3268,7 +3235,7 @@ public interface IManagementApiSync : IApiAccessor /// Import loyalty cards /// /// - /// 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. **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv identifier,state,customerprofileids 123-456-789AT,active,Alexa001;UserA ``` + /// 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 ``` /// /// Thrown when fails to make API call /// 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. @@ -3280,7 +3247,7 @@ public interface IManagementApiSync : IApiAccessor /// Import loyalty cards /// /// - /// 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. **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv identifier,state,customerprofileids 123-456-789AT,active,Alexa001;UserA ``` + /// 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 ``` /// /// Thrown when fails to make API call /// 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. @@ -3314,7 +3281,7 @@ public interface IManagementApiSync : IApiAccessor /// Import loyalty points /// /// - /// 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. - `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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` + /// 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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` /// /// Thrown when fails to make API call /// 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. @@ -3326,7 +3293,7 @@ public interface IManagementApiSync : IApiAccessor /// Import loyalty points /// /// - /// 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. - `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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` + /// 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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` /// /// Thrown when fails to make API call /// 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. @@ -3443,8 +3410,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 50) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// InlineResponse20046 - InlineResponse20046 ListAchievements (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)); + /// InlineResponse20045 + InlineResponse20045 ListAchievements (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)); /// /// List achievements @@ -3458,8 +3425,8 @@ public interface IManagementApiSync : IApiAccessor /// The number of items in the response. (optional, default to 50) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// ApiResponse of InlineResponse20046 - ApiResponse ListAchievementsWithHttpInfo (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)); + /// ApiResponse of InlineResponse20045 + ApiResponse ListAchievementsWithHttpInfo (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)); /// /// List roles /// @@ -3467,8 +3434,8 @@ public interface IManagementApiSync : IApiAccessor /// List all roles. /// /// Thrown when fails to make API call - /// InlineResponse20044 - InlineResponse20044 ListAllRolesV2 (); + /// InlineResponse20043 + InlineResponse20043 ListAllRolesV2 (); /// /// List roles @@ -3477,8 +3444,8 @@ public interface IManagementApiSync : IApiAccessor /// List all roles. /// /// Thrown when fails to make API call - /// ApiResponse of InlineResponse20044 - ApiResponse ListAllRolesV2WithHttpInfo (); + /// ApiResponse of InlineResponse20043 + ApiResponse ListAllRolesV2WithHttpInfo (); /// /// List items in a catalog /// @@ -3492,8 +3459,8 @@ public interface IManagementApiSync : IApiAccessor /// 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. (optional) /// Filter results by one or more SKUs. Must be exact match. (optional) /// Filter results by one or more product names. Must be exact match. (optional) - /// InlineResponse20035 - InlineResponse20035 ListCatalogItems (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)); + /// InlineResponse20034 + InlineResponse20034 ListCatalogItems (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)); /// /// List items in a catalog @@ -3508,8 +3475,8 @@ public interface IManagementApiSync : IApiAccessor /// 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. (optional) /// Filter results by one or more SKUs. Must be exact match. (optional) /// Filter results by one or more product names. Must be exact match. (optional) - /// ApiResponse of InlineResponse20035 - ApiResponse ListCatalogItemsWithHttpInfo (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)); + /// ApiResponse of InlineResponse20034 + ApiResponse ListCatalogItemsWithHttpInfo (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)); /// /// List collections in campaign /// @@ -3586,12 +3553,12 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// The name of the store. (optional) /// The integration ID of the store. (optional) /// Filter results by `name` or `integrationId`. (optional) - /// InlineResponse20045 - InlineResponse20045 ListStores (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)); + /// InlineResponse20044 + InlineResponse20044 ListStores (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)); /// /// List stores @@ -3605,12 +3572,12 @@ public interface IManagementApiSync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// The name of the store. (optional) /// The integration ID of the store. (optional) /// Filter results by `name` or `integrationId`. (optional) - /// ApiResponse of InlineResponse20045 - ApiResponse ListStoresWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)); + /// ApiResponse of InlineResponse20044 + ApiResponse ListStoresWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)); /// /// Activate or deactivate notification /// @@ -3971,9 +3938,9 @@ public interface IManagementApiSync : IApiAccessor /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// InlineResponse2009 InlineResponse2009 SearchCouponsAdvancedApplicationWideWithoutTotalCount (int applicationId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), string batchId = default(string), bool? exactMatch = default(bool?), string campaignState = default(string)); @@ -3996,9 +3963,9 @@ public interface IManagementApiSync : IApiAccessor /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// ApiResponse of InlineResponse2009 ApiResponse SearchCouponsAdvancedApplicationWideWithoutTotalCountWithHttpInfo (int applicationId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), string batchId = default(string), bool? exactMatch = default(bool?), string campaignState = default(string)); @@ -4021,8 +3988,8 @@ public interface IManagementApiSync : IApiAccessor /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// Filter results by batches of coupons (optional) /// InlineResponse2009 InlineResponse2009 SearchCouponsAdvancedWithoutTotalCount (int applicationId, int campaignId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?), string batchId = default(string)); @@ -4046,8 +4013,8 @@ public interface IManagementApiSync : IApiAccessor /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// Filter results by batches of coupons (optional) /// ApiResponse of InlineResponse2009 ApiResponse SearchCouponsAdvancedWithoutTotalCountWithHttpInfo (int applicationId, int campaignId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?), string batchId = default(string)); @@ -4176,7 +4143,7 @@ public interface IManagementApiSync : IApiAccessor /// Update campaign /// /// - /// Update the given campaign. + /// 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -4189,7 +4156,7 @@ public interface IManagementApiSync : IApiAccessor /// Update campaign /// /// - /// Update the given campaign. + /// 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -4228,7 +4195,7 @@ public interface IManagementApiSync : IApiAccessor /// Update coupon /// /// - /// Update the specified coupon. <div class=\"redoc-section\"> <p class=\"title\">Important</p> <p>With this <code>PUT</code> endpoint alone, 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> + /// 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> /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -4242,7 +4209,7 @@ public interface IManagementApiSync : IApiAccessor /// Update coupon /// /// - /// Update the specified coupon. <div class=\"redoc-section\"> <p class=\"title\">Important</p> <p>With this <code>PUT</code> endpoint alone, 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> + /// 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> /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -4255,7 +4222,7 @@ public interface IManagementApiSync : IApiAccessor /// Update coupons /// /// - /// Update all coupons, or a specific batch of coupons in the given campaign. You can find the `batchId` in the **Coupons** view of your Application 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 timeout after 30 minutes. If you hit a timeout, reach out to our support team.</li> </ul> </div> To update a specific coupon, use [Update coupon](#operation/updateCoupon). + /// 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -4268,7 +4235,7 @@ public interface IManagementApiSync : IApiAccessor /// Update coupons /// /// - /// Update all coupons, or a specific batch of coupons in the given campaign. You can find the `batchId` in the **Coupons** view of your Application 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 timeout after 30 minutes. If you hit a timeout, reach out to our support team.</li> </ul> </div> To update a specific coupon, use [Update coupon](#operation/updateCoupon). + /// 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -4417,7 +4384,7 @@ public interface IManagementApiAsync : IApiAccessor /// Thrown when fails to make API call /// body /// Task of void - System.Threading.Tasks.Task ActivateUserByEmailAsync (ActivateUserRequest body); + System.Threading.Tasks.Task ActivateUserByEmailAsync (DeactivateUserRequest body); /// /// Enable user by email address @@ -4428,7 +4395,7 @@ public interface IManagementApiAsync : IApiAccessor /// Thrown when fails to make API call /// body /// Task of ApiResponse - System.Threading.Tasks.Task> ActivateUserByEmailAsyncWithHttpInfo (ActivateUserRequest body); + System.Threading.Tasks.Task> ActivateUserByEmailAsyncWithHttpInfo (DeactivateUserRequest body); /// /// Add points to card /// @@ -5059,7 +5026,7 @@ public interface IManagementApiAsync : IApiAccessor /// Filter results by batches of coupons (optional) /// - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. (optional) + /// Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. (optional) /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) /// Task of void System.Threading.Tasks.Task DeleteCouponsAsync (int applicationId, int campaignId, string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), DateTime? startsAfter = default(DateTime?), DateTime? startsBefore = default(DateTime?), DateTime? expiresAfter = default(DateTime?), DateTime? expiresBefore = default(DateTime?), string valid = default(string), string batchId = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?)); @@ -5084,7 +5051,7 @@ public interface IManagementApiAsync : IApiAccessor /// Filter results by batches of coupons (optional) /// - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. (optional) + /// Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. (optional) /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) /// Task of ApiResponse System.Threading.Tasks.Task> DeleteCouponsAsyncWithHttpInfo (int applicationId, int campaignId, string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), DateTime? startsAfter = default(DateTime?), DateTime? startsBefore = default(DateTime?), DateTime? expiresAfter = default(DateTime?), DateTime? expiresBefore = default(DateTime?), string valid = default(string), string batchId = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?)); @@ -5189,7 +5156,7 @@ public interface IManagementApiAsync : IApiAccessor /// Thrown when fails to make API call /// body /// Task of void - System.Threading.Tasks.Task DeleteUserByEmailAsync (DeleteUserRequest body); + System.Threading.Tasks.Task DeleteUserByEmailAsync (DeactivateUserRequest body); /// /// Delete user by email address @@ -5200,7 +5167,7 @@ public interface IManagementApiAsync : IApiAccessor /// Thrown when fails to make API call /// body /// Task of ApiResponse - System.Threading.Tasks.Task> DeleteUserByEmailAsyncWithHttpInfo (DeleteUserRequest body); + System.Threading.Tasks.Task> DeleteUserByEmailAsyncWithHttpInfo (DeactivateUserRequest body); /// /// Destroy session /// @@ -5362,11 +5329,11 @@ public interface IManagementApiAsync : IApiAccessor /// Export coupons /// /// - /// 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 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. + /// 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) /// 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. (optional) @@ -5387,11 +5354,11 @@ public interface IManagementApiAsync : IApiAccessor /// Export coupons /// /// - /// 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 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. + /// 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) /// 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. (optional) @@ -5471,7 +5438,7 @@ public interface IManagementApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// Determines the format of dates in the export document. (optional) @@ -5486,7 +5453,7 @@ public interface IManagementApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// Determines the format of dates in the export document. (optional) @@ -5599,8 +5566,9 @@ public interface IManagementApiAsync : IApiAccessor /// Thrown when fails to make API call /// 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. /// Filter results by loyalty card batch ID. (optional) + /// Determines the format of dates in the export document. (optional) /// Task of string - System.Threading.Tasks.Task ExportLoyaltyCardsAsync (int loyaltyProgramId, string batchId = default(string)); + System.Threading.Tasks.Task ExportLoyaltyCardsAsync (int loyaltyProgramId, string batchId = default(string), string dateFormat = default(string)); /// /// Export loyalty cards @@ -5611,8 +5579,9 @@ public interface IManagementApiAsync : IApiAccessor /// Thrown when fails to make API call /// 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. /// Filter results by loyalty card batch ID. (optional) + /// Determines the format of dates in the export document. (optional) /// Task of ApiResponse (string) - System.Threading.Tasks.Task> ExportLoyaltyCardsAsyncWithHttpInfo (int loyaltyProgramId, string batchId = default(string)); + System.Threading.Tasks.Task> ExportLoyaltyCardsAsyncWithHttpInfo (int loyaltyProgramId, string batchId = default(string), string dateFormat = default(string)); /// /// Export customer's transaction logs /// @@ -5675,7 +5644,7 @@ public interface IManagementApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// - `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. (optional) @@ -5693,7 +5662,7 @@ public interface IManagementApiAsync : IApiAccessor /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// - `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. (optional) @@ -5858,8 +5827,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of InlineResponse20036 - System.Threading.Tasks.Task GetAdditionalCostsAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// Task of InlineResponse20035 + System.Threading.Tasks.Task GetAdditionalCostsAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// List additional costs @@ -5871,43 +5840,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of ApiResponse (InlineResponse20036) - System.Threading.Tasks.Task> GetAdditionalCostsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); - /// - /// List access logs - /// - /// - /// Fetches the access logs for the entire account. Sensitive requests (logins) are _always_ filtered from the logs. - /// - /// Thrown when fails to make API call - /// 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. (optional) - /// 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. (optional) - /// Only return results where the request path matches the given regular expression. (optional) - /// Only return results where the request method matches the given regular expression. (optional) - /// Filter results by HTTP status codes. (optional) - /// The number of items in the response. (optional, default to 1000) - /// The number of items to skip when paging through large result sets. (optional) - /// 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:** This parameter works only with numeric fields. (optional) - /// Task of InlineResponse20020 - System.Threading.Tasks.Task GetAllAccessLogsAsync (DateTime? rangeStart = default(DateTime?), DateTime? rangeEnd = default(DateTime?), string path = default(string), string method = default(string), string status = default(string), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); - - /// - /// List access logs - /// - /// - /// Fetches the access logs for the entire account. Sensitive requests (logins) are _always_ filtered from the logs. - /// - /// Thrown when fails to make API call - /// 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. (optional) - /// 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. (optional) - /// Only return results where the request path matches the given regular expression. (optional) - /// Only return results where the request method matches the given regular expression. (optional) - /// Filter results by HTTP status codes. (optional) - /// The number of items in the response. (optional, default to 1000) - /// The number of items to skip when paging through large result sets. (optional) - /// 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:** This parameter works only with numeric fields. (optional) - /// Task of ApiResponse (InlineResponse20020) - System.Threading.Tasks.Task> GetAllAccessLogsAsyncWithHttpInfo (DateTime? rangeStart = default(DateTime?), DateTime? rangeEnd = default(DateTime?), string path = default(string), string method = default(string), string status = default(string), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// Task of ApiResponse (InlineResponse20035) + System.Threading.Tasks.Task> GetAdditionalCostsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// Get Application /// @@ -5933,7 +5867,7 @@ public interface IManagementApiAsync : IApiAccessor /// Get Application health /// /// - /// Display the health of the Application and show the last time the Application was used. You can also display this information from the **Settings** of an Application, in the **Developer Settings** menu. See the [docs](https://docs.talon.one/docs/dev/tutorials/monitoring-integration-status). + /// 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -5944,7 +5878,7 @@ public interface IManagementApiAsync : IApiAccessor /// Get Application health /// /// - /// Display the health of the Application and show the last time the Application was used. You can also display this information from the **Settings** of an Application, in the **Developer Settings** menu. See the [docs](https://docs.talon.one/docs/dev/tutorials/monitoring-integration-status). + /// 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -5986,8 +5920,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Task of InlineResponse20033 - System.Threading.Tasks.Task GetApplicationCustomerFriendsAsync (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); + /// Task of InlineResponse20032 + System.Threading.Tasks.Task GetApplicationCustomerFriendsAsync (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); /// /// List friends referred by customer profile @@ -6002,8 +5936,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Task of ApiResponse (InlineResponse20033) - System.Threading.Tasks.Task> GetApplicationCustomerFriendsAsyncWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); + /// Task of ApiResponse (InlineResponse20032) + System.Threading.Tasks.Task> GetApplicationCustomerFriendsAsyncWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); /// /// List application's customers /// @@ -6016,8 +5950,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// Task of InlineResponse20022 - System.Threading.Tasks.Task GetApplicationCustomersAsync (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); + /// Task of InlineResponse20021 + System.Threading.Tasks.Task GetApplicationCustomersAsync (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); /// /// List application's customers @@ -6031,8 +5965,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// Task of ApiResponse (InlineResponse20022) - System.Threading.Tasks.Task> GetApplicationCustomersAsyncWithHttpInfo (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); + /// Task of ApiResponse (InlineResponse20021) + System.Threading.Tasks.Task> GetApplicationCustomersAsyncWithHttpInfo (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); /// /// List application customers matching the given attributes /// @@ -6045,8 +5979,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// Task of InlineResponse20023 - System.Threading.Tasks.Task GetApplicationCustomersByAttributesAsync (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); + /// Task of InlineResponse20022 + System.Threading.Tasks.Task GetApplicationCustomersByAttributesAsync (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); /// /// List application customers matching the given attributes @@ -6060,8 +5994,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// Task of ApiResponse (InlineResponse20023) - System.Threading.Tasks.Task> GetApplicationCustomersByAttributesAsyncWithHttpInfo (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); + /// Task of ApiResponse (InlineResponse20022) + System.Threading.Tasks.Task> GetApplicationCustomersByAttributesAsyncWithHttpInfo (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)); /// /// List Applications event types /// @@ -6073,8 +6007,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of InlineResponse20029 - System.Threading.Tasks.Task GetApplicationEventTypesAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// Task of InlineResponse20028 + System.Threading.Tasks.Task GetApplicationEventTypesAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// List Applications event types @@ -6087,8 +6021,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of ApiResponse (InlineResponse20029) - System.Threading.Tasks.Task> GetApplicationEventTypesAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// Task of ApiResponse (InlineResponse20028) + System.Threading.Tasks.Task> GetApplicationEventTypesAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// List Applications events /// @@ -6111,8 +6045,8 @@ public interface IManagementApiAsync : IApiAccessor /// Referral code (optional) /// Rule name filter for events (optional) /// Campaign name filter for events (optional) - /// Task of InlineResponse20028 - System.Threading.Tasks.Task GetApplicationEventsWithoutTotalCountAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)); + /// Task of InlineResponse20027 + System.Threading.Tasks.Task GetApplicationEventsWithoutTotalCountAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)); /// /// List Applications events @@ -6136,8 +6070,8 @@ public interface IManagementApiAsync : IApiAccessor /// Referral code (optional) /// Rule name filter for events (optional) /// Campaign name filter for events (optional) - /// Task of ApiResponse (InlineResponse20028) - System.Threading.Tasks.Task> GetApplicationEventsWithoutTotalCountAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)); + /// Task of ApiResponse (InlineResponse20027) + System.Threading.Tasks.Task> GetApplicationEventsWithoutTotalCountAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)); /// /// Get Application session /// @@ -6178,10 +6112,10 @@ public interface IManagementApiAsync : IApiAccessor /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter by sessions with this coupon. Must be exact match. (optional) /// Filter by sessions with this referral. Must be exact match. (optional) - /// Filter by sessions with this integrationId. Must be exact match. (optional) + /// Filter by sessions with this integration ID. Must be exact match. (optional) /// The integration ID of the store. You choose this ID when you create a store. (optional) - /// Task of InlineResponse20027 - System.Threading.Tasks.Task GetApplicationSessionsAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)); + /// Task of InlineResponse20026 + System.Threading.Tasks.Task GetApplicationSessionsAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)); /// /// List Application sessions @@ -6200,10 +6134,10 @@ public interface IManagementApiAsync : IApiAccessor /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter by sessions with this coupon. Must be exact match. (optional) /// Filter by sessions with this referral. Must be exact match. (optional) - /// Filter by sessions with this integrationId. Must be exact match. (optional) + /// Filter by sessions with this integration ID. Must be exact match. (optional) /// The integration ID of the store. You choose this ID when you create a store. (optional) - /// Task of ApiResponse (InlineResponse20027) - System.Threading.Tasks.Task> GetApplicationSessionsAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)); + /// Task of ApiResponse (InlineResponse20026) + System.Threading.Tasks.Task> GetApplicationSessionsAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)); /// /// List Applications /// @@ -6261,8 +6195,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Returned attributes will be filtered by supplied entity. (optional) - /// Task of InlineResponse20034 - System.Threading.Tasks.Task GetAttributesAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)); + /// Task of InlineResponse20033 + System.Threading.Tasks.Task GetAttributesAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)); /// /// List custom attributes @@ -6275,8 +6209,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Returned attributes will be filtered by supplied entity. (optional) - /// Task of ApiResponse (InlineResponse20034) - System.Threading.Tasks.Task> GetAttributesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)); + /// Task of ApiResponse (InlineResponse20033) + System.Threading.Tasks.Task> GetAttributesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)); /// /// List audience members /// @@ -6289,8 +6223,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// The filter to select a profile. (optional) - /// Task of InlineResponse20032 - System.Threading.Tasks.Task GetAudienceMembershipsAsync (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)); + /// Task of InlineResponse20031 + System.Threading.Tasks.Task GetAudienceMembershipsAsync (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)); /// /// List audience members @@ -6304,8 +6238,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// The filter to select a profile. (optional) - /// Task of ApiResponse (InlineResponse20032) - System.Threading.Tasks.Task> GetAudienceMembershipsAsyncWithHttpInfo (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)); + /// Task of ApiResponse (InlineResponse20031) + System.Threading.Tasks.Task> GetAudienceMembershipsAsyncWithHttpInfo (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)); /// /// List audiences /// @@ -6317,8 +6251,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Task of InlineResponse20030 - System.Threading.Tasks.Task GetAudiencesAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); + /// Task of InlineResponse20029 + System.Threading.Tasks.Task GetAudiencesAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); /// /// List audiences @@ -6331,8 +6265,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Task of ApiResponse (InlineResponse20030) - System.Threading.Tasks.Task> GetAudiencesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); + /// Task of ApiResponse (InlineResponse20029) + System.Threading.Tasks.Task> GetAudiencesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)); /// /// List audience analytics /// @@ -6342,8 +6276,8 @@ public interface IManagementApiAsync : IApiAccessor /// Thrown when fails to make API call /// The IDs of one or more audiences, separated by commas, by which to filter results. /// 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:** This parameter works only with numeric fields. (optional) - /// Task of InlineResponse20031 - System.Threading.Tasks.Task GetAudiencesAnalyticsAsync (string audienceIds, string sort = default(string)); + /// Task of InlineResponse20030 + System.Threading.Tasks.Task GetAudiencesAnalyticsAsync (string audienceIds, string sort = default(string)); /// /// List audience analytics @@ -6354,8 +6288,8 @@ public interface IManagementApiAsync : IApiAccessor /// Thrown when fails to make API call /// The IDs of one or more audiences, separated by commas, by which to filter results. /// 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:** This parameter works only with numeric fields. (optional) - /// Task of ApiResponse (InlineResponse20031) - System.Threading.Tasks.Task> GetAudiencesAnalyticsAsyncWithHttpInfo (string audienceIds, string sort = default(string)); + /// Task of ApiResponse (InlineResponse20030) + System.Threading.Tasks.Task> GetAudiencesAnalyticsAsyncWithHttpInfo (string audienceIds, string sort = default(string)); /// /// Get campaign /// @@ -6391,8 +6325,8 @@ public interface IManagementApiAsync : IApiAccessor /// 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. /// 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. /// The time interval between the results in the returned time-series. (optional) - /// Task of InlineResponse20021 - System.Threading.Tasks.Task GetCampaignAnalyticsAsync (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)); + /// Task of InlineResponse20020 + System.Threading.Tasks.Task GetCampaignAnalyticsAsync (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)); /// /// Get analytics of campaigns @@ -6406,8 +6340,8 @@ public interface IManagementApiAsync : IApiAccessor /// 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. /// 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. /// The time interval between the results in the returned time-series. (optional) - /// Task of ApiResponse (InlineResponse20021) - System.Threading.Tasks.Task> GetCampaignAnalyticsAsyncWithHttpInfo (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)); + /// Task of ApiResponse (InlineResponse20020) + System.Threading.Tasks.Task> GetCampaignAnalyticsAsyncWithHttpInfo (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)); /// /// List campaigns that match the given attributes /// @@ -6535,7 +6469,7 @@ public interface IManagementApiAsync : IApiAccessor /// 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. (optional) /// 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. (optional) /// Filter results to campaigns owned by the specified campaign access group ID. (optional) - /// The ID of the Campaign Template this Campaign was created from. (optional) + /// The ID of the campaign template this campaign was created from. (optional) /// Filter results to campaigns linked to the specified store ID. (optional) /// Task of InlineResponse2006 System.Threading.Tasks.Task GetCampaignsAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string campaignState = default(string), string name = default(string), string tags = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), int? campaignGroupId = default(int?), int? templateId = default(int?), int? storeId = default(int?)); @@ -6557,7 +6491,7 @@ public interface IManagementApiAsync : IApiAccessor /// 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. (optional) /// 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. (optional) /// Filter results to campaigns owned by the specified campaign access group ID. (optional) - /// The ID of the Campaign Template this Campaign was created from. (optional) + /// The ID of the campaign template this campaign was created from. (optional) /// Filter results to campaigns linked to the specified store ID. (optional) /// Task of ApiResponse (InlineResponse2006) System.Threading.Tasks.Task> GetCampaignsAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string campaignState = default(string), string name = default(string), string tags = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), int? campaignGroupId = default(int?), int? templateId = default(int?), int? storeId = default(int?)); @@ -6579,8 +6513,8 @@ public interface IManagementApiAsync : IApiAccessor /// 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. (optional) /// Filter results that match the given management key ID. (optional) /// When this flag is set to false, the state without the change will not be returned. The default value is true. (optional) - /// Task of InlineResponse20042 - System.Threading.Tasks.Task GetChangesAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)); + /// Task of InlineResponse20041 + System.Threading.Tasks.Task GetChangesAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)); /// /// Get audit logs for an account @@ -6600,8 +6534,8 @@ public interface IManagementApiAsync : IApiAccessor /// 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. (optional) /// Filter results that match the given management key ID. (optional) /// When this flag is set to false, the state without the change will not be returned. The default value is true. (optional) - /// Task of ApiResponse (InlineResponse20042) - System.Threading.Tasks.Task> GetChangesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)); + /// Task of ApiResponse (InlineResponse20041) + System.Threading.Tasks.Task> GetChangesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)); /// /// Get campaign-level collection /// @@ -6671,9 +6605,9 @@ public interface IManagementApiAsync : IApiAccessor /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// - `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. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// 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. (optional) /// 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. (optional) @@ -6701,9 +6635,9 @@ public interface IManagementApiAsync : IApiAccessor /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// - `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. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// 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. (optional) /// 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. (optional) @@ -6755,12 +6689,12 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Only return reports matching the customer name (optional) + /// Only return reports matching the customer name. (optional) /// Filter results performing an exact matching against the profile integration identifier. (optional) - /// Only return reports matching the campaignName (optional) - /// Only return reports matching the current customer referrer name (optional) - /// Task of InlineResponse20026 - System.Threading.Tasks.Task GetCustomerActivityReportsWithoutTotalCountAsync (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)); + /// Only return reports matching the campaign name. (optional) + /// Only return reports matching the current customer referrer name. (optional) + /// Task of InlineResponse20025 + System.Threading.Tasks.Task GetCustomerActivityReportsWithoutTotalCountAsync (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)); /// /// Get Activity Reports for Application Customers @@ -6775,12 +6709,12 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Only return reports matching the customer name (optional) + /// Only return reports matching the customer name. (optional) /// Filter results performing an exact matching against the profile integration identifier. (optional) - /// Only return reports matching the campaignName (optional) - /// Only return reports matching the current customer referrer name (optional) - /// Task of ApiResponse (InlineResponse20026) - System.Threading.Tasks.Task> GetCustomerActivityReportsWithoutTotalCountAsyncWithHttpInfo (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)); + /// Only return reports matching the campaign name. (optional) + /// Only return reports matching the current customer referrer name. (optional) + /// Task of ApiResponse (InlineResponse20025) + System.Threading.Tasks.Task> GetCustomerActivityReportsWithoutTotalCountAsyncWithHttpInfo (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)); /// /// Get customer's analytics report /// @@ -6844,8 +6778,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) /// Filter results by the `title` of an achievement. (optional) - /// Task of InlineResponse20047 - System.Threading.Tasks.Task GetCustomerProfileAchievementProgressAsync (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)); + /// Task of InlineResponse20046 + System.Threading.Tasks.Task GetCustomerProfileAchievementProgressAsync (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)); /// /// List customer achievements @@ -6860,8 +6794,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) /// Filter results by the `title` of an achievement. (optional) - /// Task of ApiResponse (InlineResponse20047) - System.Threading.Tasks.Task> GetCustomerProfileAchievementProgressAsyncWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)); + /// Task of ApiResponse (InlineResponse20046) + System.Threading.Tasks.Task> GetCustomerProfileAchievementProgressAsyncWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)); /// /// List customer profiles /// @@ -6871,9 +6805,9 @@ public interface IManagementApiAsync : IApiAccessor /// Thrown when fails to make API call /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// Task of InlineResponse20025 - System.Threading.Tasks.Task GetCustomerProfilesAsync (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// Task of InlineResponse20024 + System.Threading.Tasks.Task GetCustomerProfilesAsync (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); /// /// List customer profiles @@ -6884,9 +6818,9 @@ public interface IManagementApiAsync : IApiAccessor /// Thrown when fails to make API call /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// Task of ApiResponse (InlineResponse20025) - System.Threading.Tasks.Task> GetCustomerProfilesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// Task of ApiResponse (InlineResponse20024) + System.Threading.Tasks.Task> GetCustomerProfilesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); /// /// List customer profiles matching the given attributes /// @@ -6897,9 +6831,9 @@ public interface IManagementApiAsync : IApiAccessor /// body /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// Task of InlineResponse20024 - System.Threading.Tasks.Task GetCustomersByAttributesAsync (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// Task of InlineResponse20023 + System.Threading.Tasks.Task GetCustomersByAttributesAsync (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); /// /// List customer profiles matching the given attributes @@ -6911,9 +6845,9 @@ public interface IManagementApiAsync : IApiAccessor /// body /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// Task of ApiResponse (InlineResponse20024) - System.Threading.Tasks.Task> GetCustomersByAttributesAsyncWithHttpInfo (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// Task of ApiResponse (InlineResponse20023) + System.Threading.Tasks.Task> GetCustomersByAttributesAsyncWithHttpInfo (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)); /// /// List event types /// @@ -6926,8 +6860,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of InlineResponse20040 - System.Threading.Tasks.Task GetEventTypesAsync (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// Task of InlineResponse20039 + System.Threading.Tasks.Task GetEventTypesAsync (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// List event types @@ -6941,8 +6875,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of ApiResponse (InlineResponse20040) - System.Threading.Tasks.Task> GetEventTypesAsyncWithHttpInfo (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// Task of ApiResponse (InlineResponse20039) + System.Threading.Tasks.Task> GetEventTypesAsyncWithHttpInfo (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// Get exports /// @@ -6955,8 +6889,8 @@ public interface IManagementApiAsync : IApiAccessor /// Filter results by Application ID. (optional) /// Filter by the campaign ID on which the limit counters are used. (optional) /// The name of the entity type that was exported. (optional) - /// Task of InlineResponse20043 - System.Threading.Tasks.Task GetExportsAsync (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)); + /// Task of InlineResponse20042 + System.Threading.Tasks.Task GetExportsAsync (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)); /// /// Get exports @@ -6970,8 +6904,8 @@ public interface IManagementApiAsync : IApiAccessor /// Filter results by Application ID. (optional) /// Filter by the campaign ID on which the limit counters are used. (optional) /// The name of the entity type that was exported. (optional) - /// Task of ApiResponse (InlineResponse20043) - System.Threading.Tasks.Task> GetExportsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)); + /// Task of ApiResponse (InlineResponse20042) + System.Threading.Tasks.Task> GetExportsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)); /// /// Get loyalty card /// @@ -7195,7 +7129,7 @@ public interface IManagementApiAsync : IApiAccessor /// 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. (optional) /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`. (optional) - /// Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the referral's AdvocateProfileIntegrationId field. (optional) /// Task of InlineResponse20010 System.Threading.Tasks.Task GetReferralsWithoutTotalCountAsync (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string code = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), string advocate = default(string)); @@ -7216,7 +7150,7 @@ public interface IManagementApiAsync : IApiAccessor /// 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. (optional) /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`. (optional) - /// Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the referral's AdvocateProfileIntegrationId field. (optional) /// Task of ApiResponse (InlineResponse20010) System.Threading.Tasks.Task> GetReferralsWithoutTotalCountAsyncWithHttpInfo (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string code = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), string advocate = default(string)); /// @@ -7348,8 +7282,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of InlineResponse20041 - System.Threading.Tasks.Task GetUsersAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// Task of InlineResponse20040 + System.Threading.Tasks.Task GetUsersAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// List users in account @@ -7361,8 +7295,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of ApiResponse (InlineResponse20041) - System.Threading.Tasks.Task> GetUsersAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); + /// Task of ApiResponse (InlineResponse20040) + System.Threading.Tasks.Task> GetUsersAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)); /// /// Get webhook /// @@ -7395,13 +7329,13 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by integration request UUID. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// Task of InlineResponse20038 - System.Threading.Tasks.Task GetWebhookActivationLogsAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); + /// Task of InlineResponse20037 + System.Threading.Tasks.Task GetWebhookActivationLogsAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); /// /// List webhook activation log entries @@ -7414,13 +7348,13 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by integration request UUID. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// Task of ApiResponse (InlineResponse20038) - System.Threading.Tasks.Task> GetWebhookActivationLogsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); + /// Task of ApiResponse (InlineResponse20037) + System.Threading.Tasks.Task> GetWebhookActivationLogsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); /// /// List webhook log entries /// @@ -7432,14 +7366,14 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by HTTP status codes. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Filter results by request UUID. (optional) /// Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// Task of InlineResponse20039 - System.Threading.Tasks.Task GetWebhookLogsAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); + /// Task of InlineResponse20038 + System.Threading.Tasks.Task GetWebhookLogsAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); /// /// List webhook log entries @@ -7452,14 +7386,14 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by HTTP status codes. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Filter results by request UUID. (optional) /// Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// Task of ApiResponse (InlineResponse20039) - System.Threading.Tasks.Task> GetWebhookLogsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); + /// Task of ApiResponse (InlineResponse20038) + System.Threading.Tasks.Task> GetWebhookLogsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)); /// /// List webhooks /// @@ -7475,8 +7409,8 @@ public interface IManagementApiAsync : IApiAccessor /// Filter results by visibility. (optional) /// Filter results by outgoing integration type ID. (optional) /// Filter results performing case-insensitive matching against the webhook title. (optional) - /// Task of InlineResponse20037 - System.Threading.Tasks.Task GetWebhooksAsync (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)); + /// Task of InlineResponse20036 + System.Threading.Tasks.Task GetWebhooksAsync (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)); /// /// List webhooks @@ -7493,8 +7427,8 @@ public interface IManagementApiAsync : IApiAccessor /// Filter results by visibility. (optional) /// Filter results by outgoing integration type ID. (optional) /// Filter results performing case-insensitive matching against the webhook title. (optional) - /// Task of ApiResponse (InlineResponse20037) - System.Threading.Tasks.Task> GetWebhooksAsyncWithHttpInfo (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)); + /// Task of ApiResponse (InlineResponse20036) + System.Threading.Tasks.Task> GetWebhooksAsyncWithHttpInfo (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)); /// /// Import data into existing account-level collection /// @@ -7647,7 +7581,7 @@ public interface IManagementApiAsync : IApiAccessor /// Import loyalty cards /// /// - /// 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. **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv identifier,state,customerprofileids 123-456-789AT,active,Alexa001;UserA ``` + /// 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 ``` /// /// Thrown when fails to make API call /// 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. @@ -7659,7 +7593,7 @@ public interface IManagementApiAsync : IApiAccessor /// Import loyalty cards /// /// - /// 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. **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv identifier,state,customerprofileids 123-456-789AT,active,Alexa001;UserA ``` + /// 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 ``` /// /// Thrown when fails to make API call /// 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. @@ -7693,7 +7627,7 @@ public interface IManagementApiAsync : IApiAccessor /// Import loyalty points /// /// - /// 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. - `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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` + /// 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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` /// /// Thrown when fails to make API call /// 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. @@ -7705,7 +7639,7 @@ public interface IManagementApiAsync : IApiAccessor /// Import loyalty points /// /// - /// 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. - `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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` + /// 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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` /// /// Thrown when fails to make API call /// 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. @@ -7822,8 +7756,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 50) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// Task of InlineResponse20046 - System.Threading.Tasks.Task ListAchievementsAsync (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)); + /// Task of InlineResponse20045 + System.Threading.Tasks.Task ListAchievementsAsync (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)); /// /// List achievements @@ -7837,8 +7771,8 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items in the response. (optional, default to 50) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// Task of ApiResponse (InlineResponse20046) - System.Threading.Tasks.Task> ListAchievementsAsyncWithHttpInfo (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)); + /// Task of ApiResponse (InlineResponse20045) + System.Threading.Tasks.Task> ListAchievementsAsyncWithHttpInfo (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)); /// /// List roles /// @@ -7846,8 +7780,8 @@ public interface IManagementApiAsync : IApiAccessor /// List all roles. /// /// Thrown when fails to make API call - /// Task of InlineResponse20044 - System.Threading.Tasks.Task ListAllRolesV2Async (); + /// Task of InlineResponse20043 + System.Threading.Tasks.Task ListAllRolesV2Async (); /// /// List roles @@ -7856,8 +7790,8 @@ public interface IManagementApiAsync : IApiAccessor /// List all roles. /// /// Thrown when fails to make API call - /// Task of ApiResponse (InlineResponse20044) - System.Threading.Tasks.Task> ListAllRolesV2AsyncWithHttpInfo (); + /// Task of ApiResponse (InlineResponse20043) + System.Threading.Tasks.Task> ListAllRolesV2AsyncWithHttpInfo (); /// /// List items in a catalog /// @@ -7871,8 +7805,8 @@ public interface IManagementApiAsync : IApiAccessor /// 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. (optional) /// Filter results by one or more SKUs. Must be exact match. (optional) /// Filter results by one or more product names. Must be exact match. (optional) - /// Task of InlineResponse20035 - System.Threading.Tasks.Task ListCatalogItemsAsync (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)); + /// Task of InlineResponse20034 + System.Threading.Tasks.Task ListCatalogItemsAsync (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)); /// /// List items in a catalog @@ -7887,8 +7821,8 @@ public interface IManagementApiAsync : IApiAccessor /// 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. (optional) /// Filter results by one or more SKUs. Must be exact match. (optional) /// Filter results by one or more product names. Must be exact match. (optional) - /// Task of ApiResponse (InlineResponse20035) - System.Threading.Tasks.Task> ListCatalogItemsAsyncWithHttpInfo (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)); + /// Task of ApiResponse (InlineResponse20034) + System.Threading.Tasks.Task> ListCatalogItemsAsyncWithHttpInfo (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)); /// /// List collections in campaign /// @@ -7965,12 +7899,12 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// The name of the store. (optional) /// The integration ID of the store. (optional) /// Filter results by `name` or `integrationId`. (optional) - /// Task of InlineResponse20045 - System.Threading.Tasks.Task ListStoresAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)); + /// Task of InlineResponse20044 + System.Threading.Tasks.Task ListStoresAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)); /// /// List stores @@ -7984,12 +7918,12 @@ public interface IManagementApiAsync : IApiAccessor /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// The name of the store. (optional) /// The integration ID of the store. (optional) /// Filter results by `name` or `integrationId`. (optional) - /// Task of ApiResponse (InlineResponse20045) - System.Threading.Tasks.Task> ListStoresAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)); + /// Task of ApiResponse (InlineResponse20044) + System.Threading.Tasks.Task> ListStoresAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)); /// /// Activate or deactivate notification /// @@ -8350,9 +8284,9 @@ public interface IManagementApiAsync : IApiAccessor /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// Task of InlineResponse2009 System.Threading.Tasks.Task SearchCouponsAdvancedApplicationWideWithoutTotalCountAsync (int applicationId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), string batchId = default(string), bool? exactMatch = default(bool?), string campaignState = default(string)); @@ -8375,9 +8309,9 @@ public interface IManagementApiAsync : IApiAccessor /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// Task of ApiResponse (InlineResponse2009) System.Threading.Tasks.Task> SearchCouponsAdvancedApplicationWideWithoutTotalCountAsyncWithHttpInfo (int applicationId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), string batchId = default(string), bool? exactMatch = default(bool?), string campaignState = default(string)); @@ -8400,8 +8334,8 @@ public interface IManagementApiAsync : IApiAccessor /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// Filter results by batches of coupons (optional) /// Task of InlineResponse2009 System.Threading.Tasks.Task SearchCouponsAdvancedWithoutTotalCountAsync (int applicationId, int campaignId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?), string batchId = default(string)); @@ -8425,8 +8359,8 @@ public interface IManagementApiAsync : IApiAccessor /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// Filter results by batches of coupons (optional) /// Task of ApiResponse (InlineResponse2009) System.Threading.Tasks.Task> SearchCouponsAdvancedWithoutTotalCountAsyncWithHttpInfo (int applicationId, int campaignId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?), string batchId = default(string)); @@ -8555,7 +8489,7 @@ public interface IManagementApiAsync : IApiAccessor /// Update campaign /// /// - /// Update the given campaign. + /// 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -8568,7 +8502,7 @@ public interface IManagementApiAsync : IApiAccessor /// Update campaign /// /// - /// Update the given campaign. + /// 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -8607,7 +8541,7 @@ public interface IManagementApiAsync : IApiAccessor /// Update coupon /// /// - /// Update the specified coupon. <div class=\"redoc-section\"> <p class=\"title\">Important</p> <p>With this <code>PUT</code> endpoint alone, 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> + /// 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> /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -8621,7 +8555,7 @@ public interface IManagementApiAsync : IApiAccessor /// Update coupon /// /// - /// Update the specified coupon. <div class=\"redoc-section\"> <p class=\"title\">Important</p> <p>With this <code>PUT</code> endpoint alone, 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> + /// 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> /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -8634,7 +8568,7 @@ public interface IManagementApiAsync : IApiAccessor /// Update coupons /// /// - /// Update all coupons, or a specific batch of coupons in the given campaign. You can find the `batchId` in the **Coupons** view of your Application 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 timeout after 30 minutes. If you hit a timeout, reach out to our support team.</li> </ul> </div> To update a specific coupon, use [Update coupon](#operation/updateCoupon). + /// 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -8647,7 +8581,7 @@ public interface IManagementApiAsync : IApiAccessor /// Update coupons /// /// - /// Update all coupons, or a specific batch of coupons in the given campaign. You can find the `batchId` in the **Coupons** view of your Application 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 timeout after 30 minutes. If you hit a timeout, reach out to our support team.</li> </ul> </div> To update a specific coupon, use [Update coupon](#operation/updateCoupon). + /// 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -8904,7 +8838,7 @@ public TalonOne.Client.ExceptionFactory ExceptionFactory /// Thrown when fails to make API call /// body /// - public void ActivateUserByEmail (ActivateUserRequest body) + public void ActivateUserByEmail (DeactivateUserRequest body) { ActivateUserByEmailWithHttpInfo(body); } @@ -8915,7 +8849,7 @@ public void ActivateUserByEmail (ActivateUserRequest body) /// Thrown when fails to make API call /// body /// ApiResponse of Object(void) - public TalonOne.Client.ApiResponse ActivateUserByEmailWithHttpInfo (ActivateUserRequest body) + public TalonOne.Client.ApiResponse ActivateUserByEmailWithHttpInfo (DeactivateUserRequest body) { // verify the required parameter 'body' is set if (body == null) @@ -8979,7 +8913,7 @@ public TalonOne.Client.ApiResponse ActivateUserByEmailWithHttpInfo (Acti /// Thrown when fails to make API call /// body /// Task of void - public async System.Threading.Tasks.Task ActivateUserByEmailAsync (ActivateUserRequest body) + public async System.Threading.Tasks.Task ActivateUserByEmailAsync (DeactivateUserRequest body) { await ActivateUserByEmailAsyncWithHttpInfo(body); @@ -8991,7 +8925,7 @@ public async System.Threading.Tasks.Task ActivateUserByEmailAsync (ActivateUserR /// Thrown when fails to make API call /// body /// Task of ApiResponse - public async System.Threading.Tasks.Task> ActivateUserByEmailAsyncWithHttpInfo (ActivateUserRequest body) + public async System.Threading.Tasks.Task> ActivateUserByEmailAsyncWithHttpInfo (DeactivateUserRequest body) { // verify the required parameter 'body' is set if (body == null) @@ -13320,7 +13254,7 @@ public async System.Threading.Tasks.Task DeleteCouponAsync (int applicationId, i /// Filter results by batches of coupons (optional) /// - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. (optional) + /// Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. (optional) /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) /// public void DeleteCoupons (int applicationId, int campaignId, string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), DateTime? startsAfter = default(DateTime?), DateTime? startsBefore = default(DateTime?), DateTime? expiresAfter = default(DateTime?), DateTime? expiresBefore = default(DateTime?), string valid = default(string), string batchId = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?)) @@ -13345,7 +13279,7 @@ public async System.Threading.Tasks.Task DeleteCouponAsync (int applicationId, i /// Filter results by batches of coupons (optional) /// - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. (optional) + /// Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. (optional) /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) /// ApiResponse of Object(void) public TalonOne.Client.ApiResponse DeleteCouponsWithHttpInfo (int applicationId, int campaignId, string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), DateTime? startsAfter = default(DateTime?), DateTime? startsBefore = default(DateTime?), DateTime? expiresAfter = default(DateTime?), DateTime? expiresBefore = default(DateTime?), string valid = default(string), string batchId = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?)) @@ -13471,7 +13405,7 @@ public async System.Threading.Tasks.Task DeleteCouponAsync (int applicationId, i /// Filter results by batches of coupons (optional) /// - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. (optional) + /// Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. (optional) /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) /// Task of void public async System.Threading.Tasks.Task DeleteCouponsAsync (int applicationId, int campaignId, string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), DateTime? startsAfter = default(DateTime?), DateTime? startsBefore = default(DateTime?), DateTime? expiresAfter = default(DateTime?), DateTime? expiresBefore = default(DateTime?), string valid = default(string), string batchId = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?)) @@ -13497,7 +13431,7 @@ public async System.Threading.Tasks.Task DeleteCouponAsync (int applicationId, i /// Filter results by batches of coupons (optional) /// - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. (optional) + /// Filter results by match with a profile ID specified in the coupon's `RecipientIntegrationId` field. (optional) /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteCouponsAsyncWithHttpInfo (int applicationId, int campaignId, string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), DateTime? startsAfter = default(DateTime?), DateTime? startsBefore = default(DateTime?), DateTime? expiresAfter = default(DateTime?), DateTime? expiresBefore = default(DateTime?), string valid = default(string), string batchId = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?)) @@ -14238,7 +14172,7 @@ public async System.Threading.Tasks.Task DeleteUserAsync (int userId) /// Thrown when fails to make API call /// body /// - public void DeleteUserByEmail (DeleteUserRequest body) + public void DeleteUserByEmail (DeactivateUserRequest body) { DeleteUserByEmailWithHttpInfo(body); } @@ -14249,7 +14183,7 @@ public void DeleteUserByEmail (DeleteUserRequest body) /// Thrown when fails to make API call /// body /// ApiResponse of Object(void) - public TalonOne.Client.ApiResponse DeleteUserByEmailWithHttpInfo (DeleteUserRequest body) + public TalonOne.Client.ApiResponse DeleteUserByEmailWithHttpInfo (DeactivateUserRequest body) { // verify the required parameter 'body' is set if (body == null) @@ -14313,7 +14247,7 @@ public TalonOne.Client.ApiResponse DeleteUserByEmailWithHttpInfo (Delete /// Thrown when fails to make API call /// body /// Task of void - public async System.Threading.Tasks.Task DeleteUserByEmailAsync (DeleteUserRequest body) + public async System.Threading.Tasks.Task DeleteUserByEmailAsync (DeactivateUserRequest body) { await DeleteUserByEmailAsyncWithHttpInfo(body); @@ -14325,7 +14259,7 @@ public async System.Threading.Tasks.Task DeleteUserByEmailAsync (DeleteUserReque /// Thrown when fails to make API call /// body /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteUserByEmailAsyncWithHttpInfo (DeleteUserRequest body) + public async System.Threading.Tasks.Task> DeleteUserByEmailAsyncWithHttpInfo (DeactivateUserRequest body) { // verify the required parameter 'body' is set if (body == null) @@ -15439,11 +15373,11 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int } /// - /// Export coupons 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 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. + /// Export coupons 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) /// 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. (optional) @@ -15465,11 +15399,11 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int } /// - /// Export coupons 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 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. + /// Export coupons 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) /// 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. (optional) @@ -15595,11 +15529,11 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int } /// - /// Export coupons 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 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. + /// Export coupons 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) /// 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. (optional) @@ -15622,11 +15556,11 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int } /// - /// Export coupons 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 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. + /// Export coupons 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) /// 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. (optional) @@ -16144,7 +16078,7 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// Determines the format of dates in the export document. (optional) @@ -16160,7 +16094,7 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// Determines the format of dates in the export document. (optional) @@ -16240,7 +16174,7 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// Determines the format of dates in the export document. (optional) @@ -16257,7 +16191,7 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// Determines the format of dates in the export document. (optional) @@ -17018,10 +16952,11 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int /// Thrown when fails to make API call /// 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. /// Filter results by loyalty card batch ID. (optional) + /// Determines the format of dates in the export document. (optional) /// string - public string ExportLoyaltyCards (int loyaltyProgramId, string batchId = default(string)) + public string ExportLoyaltyCards (int loyaltyProgramId, string batchId = default(string), string dateFormat = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = ExportLoyaltyCardsWithHttpInfo(loyaltyProgramId, batchId); + TalonOne.Client.ApiResponse localVarResponse = ExportLoyaltyCardsWithHttpInfo(loyaltyProgramId, batchId, dateFormat); return localVarResponse.Data; } @@ -17031,8 +16966,9 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int /// Thrown when fails to make API call /// 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. /// Filter results by loyalty card batch ID. (optional) + /// Determines the format of dates in the export document. (optional) /// ApiResponse of string - public TalonOne.Client.ApiResponse< string > ExportLoyaltyCardsWithHttpInfo (int loyaltyProgramId, string batchId = default(string)) + public TalonOne.Client.ApiResponse< string > ExportLoyaltyCardsWithHttpInfo (int loyaltyProgramId, string batchId = default(string), string dateFormat = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -17055,6 +16991,10 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int { localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "batchId", batchId)); } + if (dateFormat != null) + { + localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "dateFormat", dateFormat)); + } // authentication (management_key) required if ( @@ -17096,10 +17036,11 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int /// Thrown when fails to make API call /// 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. /// Filter results by loyalty card batch ID. (optional) + /// Determines the format of dates in the export document. (optional) /// Task of string - public async System.Threading.Tasks.Task ExportLoyaltyCardsAsync (int loyaltyProgramId, string batchId = default(string)) + public async System.Threading.Tasks.Task ExportLoyaltyCardsAsync (int loyaltyProgramId, string batchId = default(string), string dateFormat = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await ExportLoyaltyCardsAsyncWithHttpInfo(loyaltyProgramId, batchId); + TalonOne.Client.ApiResponse localVarResponse = await ExportLoyaltyCardsAsyncWithHttpInfo(loyaltyProgramId, batchId, dateFormat); return localVarResponse.Data; } @@ -17110,8 +17051,9 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int /// Thrown when fails to make API call /// 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. /// Filter results by loyalty card batch ID. (optional) + /// Determines the format of dates in the export document. (optional) /// Task of ApiResponse (string) - public async System.Threading.Tasks.Task> ExportLoyaltyCardsAsyncWithHttpInfo (int loyaltyProgramId, string batchId = default(string)) + public async System.Threading.Tasks.Task> ExportLoyaltyCardsAsyncWithHttpInfo (int loyaltyProgramId, string batchId = default(string), string dateFormat = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -17135,6 +17077,10 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int { localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "batchId", batchId)); } + if (dateFormat != null) + { + localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "dateFormat", dateFormat)); + } // authentication (management_key) required if ( @@ -17540,7 +17486,7 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// - `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. (optional) @@ -17559,7 +17505,7 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// - `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. (optional) @@ -17654,7 +17600,7 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// - `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. (optional) @@ -17674,7 +17620,7 @@ public async System.Threading.Tasks.Task ExportCollectionItemsAsync (int /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// 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. (optional) /// 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. (optional) /// - `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. (optional) @@ -18751,99 +18697,11 @@ public async System.Threading.Tasks.Task GetAdditionalCos /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// InlineResponse20036 - public InlineResponse20036 GetAdditionalCosts (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) - { - TalonOne.Client.ApiResponse localVarResponse = GetAdditionalCostsWithHttpInfo(pageSize, skip, sort); - return localVarResponse.Data; - } - - /// - /// List additional costs Returns all the defined additional costs for the account. - /// - /// Thrown when fails to make API call - /// The number of items in the response. (optional, default to 1000) - /// The number of items to skip when paging through large result sets. (optional) - /// 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:** This parameter works only with numeric fields. (optional) - /// ApiResponse of InlineResponse20036 - public TalonOne.Client.ApiResponse< InlineResponse20036 > GetAdditionalCostsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) - { - TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); - - String[] _contentTypes = new String[] { - }; - - // to determine the Accept header - String[] _accepts = new String[] { - "application/json" - }; - - var localVarContentType = TalonOne.Client.ClientUtils.SelectHeaderContentType(_contentTypes); - if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - - var localVarAccept = TalonOne.Client.ClientUtils.SelectHeaderAccept(_accepts); - if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - - if (pageSize != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "pageSize", pageSize)); - } - if (skip != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "skip", skip)); - } - if (sort != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); - } - - // authentication (management_key) required - if ( - !String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")) && ( - !localVarRequestOptions.HeaderParameters.ContainsKey("Authorization") || - localVarRequestOptions.HeaderParameters["Authorization"].Count == 0 - ) - ) - { - localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); - } - // authentication (manager_auth) required - if ( - !String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")) && ( - !localVarRequestOptions.HeaderParameters.ContainsKey("Authorization") || - localVarRequestOptions.HeaderParameters["Authorization"].Count == 0 - ) - ) - { - localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); - } - - // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20036 >("/v1/additional_costs", localVarRequestOptions, this.Configuration); - - - if (this.ExceptionFactory != null) - { - Exception _exception = this.ExceptionFactory("GetAdditionalCosts", localVarResponse); - if (_exception != null) throw _exception; - } - - return localVarResponse; - } - - /// - /// List additional costs Returns all the defined additional costs for the account. - /// - /// Thrown when fails to make API call - /// The number of items in the response. (optional, default to 1000) - /// The number of items to skip when paging through large result sets. (optional) - /// 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:** This parameter works only with numeric fields. (optional) - /// Task of InlineResponse20036 - public async System.Threading.Tasks.Task GetAdditionalCostsAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// InlineResponse20035 + public InlineResponse20035 GetAdditionalCosts (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetAdditionalCostsAsyncWithHttpInfo(pageSize, skip, sort); + TalonOne.Client.ApiResponse localVarResponse = GetAdditionalCostsWithHttpInfo(pageSize, skip, sort); return localVarResponse.Data; - } /// @@ -18853,107 +18711,8 @@ public async System.Threading.Tasks.Task GetAdditionalCos /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of ApiResponse (InlineResponse20036) - public async System.Threading.Tasks.Task> GetAdditionalCostsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) - { - - TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); - - String[] _contentTypes = new String[] { - }; - - // to determine the Accept header - String[] _accepts = new String[] { - "application/json" - }; - - foreach (var _contentType in _contentTypes) - localVarRequestOptions.HeaderParameters.Add("Content-Type", _contentType); - - foreach (var _accept in _accepts) - localVarRequestOptions.HeaderParameters.Add("Accept", _accept); - - if (pageSize != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "pageSize", pageSize)); - } - if (skip != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "skip", skip)); - } - if (sort != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "sort", sort)); - } - - // authentication (management_key) required - if ( - !String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")) && ( - !localVarRequestOptions.HeaderParameters.ContainsKey("Authorization") || - localVarRequestOptions.HeaderParameters["Authorization"].Count == 0 - ) - ) - { - localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); - } - // authentication (manager_auth) required - if ( - !String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")) && ( - !localVarRequestOptions.HeaderParameters.ContainsKey("Authorization") || - localVarRequestOptions.HeaderParameters["Authorization"].Count == 0 - ) - ) - { - localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization")); - } - - // make the HTTP request - - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/additional_costs", localVarRequestOptions, this.Configuration); - - - if (this.ExceptionFactory != null) - { - Exception _exception = this.ExceptionFactory("GetAdditionalCosts", localVarResponse); - if (_exception != null) throw _exception; - } - - return localVarResponse; - } - - /// - /// List access logs Fetches the access logs for the entire account. Sensitive requests (logins) are _always_ filtered from the logs. - /// - /// Thrown when fails to make API call - /// 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. (optional) - /// 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. (optional) - /// Only return results where the request path matches the given regular expression. (optional) - /// Only return results where the request method matches the given regular expression. (optional) - /// Filter results by HTTP status codes. (optional) - /// The number of items in the response. (optional, default to 1000) - /// The number of items to skip when paging through large result sets. (optional) - /// 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:** This parameter works only with numeric fields. (optional) - /// InlineResponse20020 - public InlineResponse20020 GetAllAccessLogs (DateTime? rangeStart = default(DateTime?), DateTime? rangeEnd = default(DateTime?), string path = default(string), string method = default(string), string status = default(string), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) - { - TalonOne.Client.ApiResponse localVarResponse = GetAllAccessLogsWithHttpInfo(rangeStart, rangeEnd, path, method, status, pageSize, skip, sort); - return localVarResponse.Data; - } - - /// - /// List access logs Fetches the access logs for the entire account. Sensitive requests (logins) are _always_ filtered from the logs. - /// - /// Thrown when fails to make API call - /// 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. (optional) - /// 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. (optional) - /// Only return results where the request path matches the given regular expression. (optional) - /// Only return results where the request method matches the given regular expression. (optional) - /// Filter results by HTTP status codes. (optional) - /// The number of items in the response. (optional, default to 1000) - /// The number of items to skip when paging through large result sets. (optional) - /// 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:** This parameter works only with numeric fields. (optional) - /// ApiResponse of InlineResponse20020 - public TalonOne.Client.ApiResponse< InlineResponse20020 > GetAllAccessLogsWithHttpInfo (DateTime? rangeStart = default(DateTime?), DateTime? rangeEnd = default(DateTime?), string path = default(string), string method = default(string), string status = default(string), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// ApiResponse of InlineResponse20035 + public TalonOne.Client.ApiResponse< InlineResponse20035 > GetAdditionalCostsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -18971,26 +18730,6 @@ public async System.Threading.Tasks.Task GetAdditionalCos var localVarAccept = TalonOne.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - if (rangeStart != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "rangeStart", rangeStart)); - } - if (rangeEnd != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "rangeEnd", rangeEnd)); - } - if (path != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "path", path)); - } - if (method != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "method", method)); - } - if (status != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "status", status)); - } if (pageSize != null) { localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "pageSize", pageSize)); @@ -19026,12 +18765,12 @@ public async System.Threading.Tasks.Task GetAdditionalCos } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20020 >("/v1/access_logs", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20035 >("/v1/additional_costs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("GetAllAccessLogs", localVarResponse); + Exception _exception = this.ExceptionFactory("GetAdditionalCosts", localVarResponse); if (_exception != null) throw _exception; } @@ -19039,39 +18778,29 @@ public async System.Threading.Tasks.Task GetAdditionalCos } /// - /// List access logs Fetches the access logs for the entire account. Sensitive requests (logins) are _always_ filtered from the logs. + /// List additional costs Returns all the defined additional costs for the account. /// /// Thrown when fails to make API call - /// 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. (optional) - /// 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. (optional) - /// Only return results where the request path matches the given regular expression. (optional) - /// Only return results where the request method matches the given regular expression. (optional) - /// Filter results by HTTP status codes. (optional) /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of InlineResponse20020 - public async System.Threading.Tasks.Task GetAllAccessLogsAsync (DateTime? rangeStart = default(DateTime?), DateTime? rangeEnd = default(DateTime?), string path = default(string), string method = default(string), string status = default(string), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// Task of InlineResponse20035 + public async System.Threading.Tasks.Task GetAdditionalCostsAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetAllAccessLogsAsyncWithHttpInfo(rangeStart, rangeEnd, path, method, status, pageSize, skip, sort); + TalonOne.Client.ApiResponse localVarResponse = await GetAdditionalCostsAsyncWithHttpInfo(pageSize, skip, sort); return localVarResponse.Data; } /// - /// List access logs Fetches the access logs for the entire account. Sensitive requests (logins) are _always_ filtered from the logs. + /// List additional costs Returns all the defined additional costs for the account. /// /// Thrown when fails to make API call - /// 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. (optional) - /// 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. (optional) - /// Only return results where the request path matches the given regular expression. (optional) - /// Only return results where the request method matches the given regular expression. (optional) - /// Filter results by HTTP status codes. (optional) /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of ApiResponse (InlineResponse20020) - public async System.Threading.Tasks.Task> GetAllAccessLogsAsyncWithHttpInfo (DateTime? rangeStart = default(DateTime?), DateTime? rangeEnd = default(DateTime?), string path = default(string), string method = default(string), string status = default(string), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// Task of ApiResponse (InlineResponse20035) + public async System.Threading.Tasks.Task> GetAdditionalCostsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -19090,26 +18819,6 @@ public async System.Threading.Tasks.Task GetAdditionalCos foreach (var _accept in _accepts) localVarRequestOptions.HeaderParameters.Add("Accept", _accept); - if (rangeStart != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "rangeStart", rangeStart)); - } - if (rangeEnd != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "rangeEnd", rangeEnd)); - } - if (path != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "path", path)); - } - if (method != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "method", method)); - } - if (status != null) - { - localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "status", status)); - } if (pageSize != null) { localVarRequestOptions.QueryParameters.Add(TalonOne.Client.ClientUtils.ParameterToMultiMap("", "pageSize", pageSize)); @@ -19146,12 +18855,12 @@ public async System.Threading.Tasks.Task GetAdditionalCos // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/access_logs", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/additional_costs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { - Exception _exception = this.ExceptionFactory("GetAllAccessLogs", localVarResponse); + Exception _exception = this.ExceptionFactory("GetAdditionalCosts", localVarResponse); if (_exception != null) throw _exception; } @@ -19306,7 +19015,7 @@ public async System.Threading.Tasks.Task GetApplicationAsync (int a } /// - /// Get Application health Display the health of the Application and show the last time the Application was used. You can also display this information from the **Settings** of an Application, in the **Developer Settings** menu. See the [docs](https://docs.talon.one/docs/dev/tutorials/monitoring-integration-status). + /// Get Application health 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -19318,7 +19027,7 @@ public ApplicationApiHealth GetApplicationApiHealth (int applicationId) } /// - /// Get Application health Display the health of the Application and show the last time the Application was used. You can also display this information from the **Settings** of an Application, in the **Developer Settings** menu. See the [docs](https://docs.talon.one/docs/dev/tutorials/monitoring-integration-status). + /// Get Application health 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -19378,7 +19087,7 @@ public TalonOne.Client.ApiResponse< ApplicationApiHealth > GetApplicationApiHeal } /// - /// Get Application health Display the health of the Application and show the last time the Application was used. You can also display this information from the **Settings** of an Application, in the **Developer Settings** menu. See the [docs](https://docs.talon.one/docs/dev/tutorials/monitoring-integration-status). + /// Get Application health 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -19391,7 +19100,7 @@ public async System.Threading.Tasks.Task GetApplicationApi } /// - /// Get Application health Display the health of the Application and show the last time the Application was used. You can also display this information from the **Settings** of an Application, in the **Developer Settings** menu. See the [docs](https://docs.talon.one/docs/dev/tutorials/monitoring-integration-status). + /// Get Application health 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -19615,10 +19324,10 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// InlineResponse20033 - public InlineResponse20033 GetApplicationCustomerFriends (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) + /// InlineResponse20032 + public InlineResponse20032 GetApplicationCustomerFriends (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = GetApplicationCustomerFriendsWithHttpInfo(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize); + TalonOne.Client.ApiResponse localVarResponse = GetApplicationCustomerFriendsWithHttpInfo(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize); return localVarResponse.Data; } @@ -19632,8 +19341,8 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// ApiResponse of InlineResponse20033 - public TalonOne.Client.ApiResponse< InlineResponse20033 > GetApplicationCustomerFriendsWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) + /// ApiResponse of InlineResponse20032 + public TalonOne.Client.ApiResponse< InlineResponse20032 > GetApplicationCustomerFriendsWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) { // verify the required parameter 'integrationId' is set if (integrationId == null) @@ -19696,7 +19405,7 @@ public async System.Threading.Tasks.Task GetApplicationCust } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20033 >("/v1/applications/{applicationId}/profile/{integrationId}/friends", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20032 >("/v1/applications/{applicationId}/profile/{integrationId}/friends", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -19718,10 +19427,10 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Task of InlineResponse20033 - public async System.Threading.Tasks.Task GetApplicationCustomerFriendsAsync (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) + /// Task of InlineResponse20032 + public async System.Threading.Tasks.Task GetApplicationCustomerFriendsAsync (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = await GetApplicationCustomerFriendsAsyncWithHttpInfo(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize); + TalonOne.Client.ApiResponse localVarResponse = await GetApplicationCustomerFriendsAsyncWithHttpInfo(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize); return localVarResponse.Data; } @@ -19736,8 +19445,8 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Task of ApiResponse (InlineResponse20033) - public async System.Threading.Tasks.Task> GetApplicationCustomerFriendsAsyncWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) + /// Task of ApiResponse (InlineResponse20032) + public async System.Threading.Tasks.Task> GetApplicationCustomerFriendsAsyncWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) { // verify the required parameter 'integrationId' is set if (integrationId == null) @@ -19802,7 +19511,7 @@ public async System.Threading.Tasks.Task GetApplicationCust // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/profile/{integrationId}/friends", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/profile/{integrationId}/friends", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -19823,10 +19532,10 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// InlineResponse20022 - public InlineResponse20022 GetApplicationCustomers (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) + /// InlineResponse20021 + public InlineResponse20021 GetApplicationCustomers (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = GetApplicationCustomersWithHttpInfo(applicationId, integrationId, pageSize, skip, withTotalResultSize); + TalonOne.Client.ApiResponse localVarResponse = GetApplicationCustomersWithHttpInfo(applicationId, integrationId, pageSize, skip, withTotalResultSize); return localVarResponse.Data; } @@ -19839,8 +19548,8 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// ApiResponse of InlineResponse20022 - public TalonOne.Client.ApiResponse< InlineResponse20022 > GetApplicationCustomersWithHttpInfo (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) + /// ApiResponse of InlineResponse20021 + public TalonOne.Client.ApiResponse< InlineResponse20021 > GetApplicationCustomersWithHttpInfo (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -19898,7 +19607,7 @@ public async System.Threading.Tasks.Task GetApplicationCust } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20022 >("/v1/applications/{applicationId}/customers", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20021 >("/v1/applications/{applicationId}/customers", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -19919,10 +19628,10 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// Task of InlineResponse20022 - public async System.Threading.Tasks.Task GetApplicationCustomersAsync (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) + /// Task of InlineResponse20021 + public async System.Threading.Tasks.Task GetApplicationCustomersAsync (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = await GetApplicationCustomersAsyncWithHttpInfo(applicationId, integrationId, pageSize, skip, withTotalResultSize); + TalonOne.Client.ApiResponse localVarResponse = await GetApplicationCustomersAsyncWithHttpInfo(applicationId, integrationId, pageSize, skip, withTotalResultSize); return localVarResponse.Data; } @@ -19936,8 +19645,8 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// Task of ApiResponse (InlineResponse20022) - public async System.Threading.Tasks.Task> GetApplicationCustomersAsyncWithHttpInfo (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) + /// Task of ApiResponse (InlineResponse20021) + public async System.Threading.Tasks.Task> GetApplicationCustomersAsyncWithHttpInfo (int applicationId, string integrationId = default(string), int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -19997,7 +19706,7 @@ public async System.Threading.Tasks.Task GetApplicationCust // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/customers", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/customers", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -20018,10 +19727,10 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// InlineResponse20023 - public InlineResponse20023 GetApplicationCustomersByAttributes (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) + /// InlineResponse20022 + public InlineResponse20022 GetApplicationCustomersByAttributes (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = GetApplicationCustomersByAttributesWithHttpInfo(applicationId, body, pageSize, skip, withTotalResultSize); + TalonOne.Client.ApiResponse localVarResponse = GetApplicationCustomersByAttributesWithHttpInfo(applicationId, body, pageSize, skip, withTotalResultSize); return localVarResponse.Data; } @@ -20034,8 +19743,8 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// ApiResponse of InlineResponse20023 - public TalonOne.Client.ApiResponse< InlineResponse20023 > GetApplicationCustomersByAttributesWithHttpInfo (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) + /// ApiResponse of InlineResponse20022 + public TalonOne.Client.ApiResponse< InlineResponse20022 > GetApplicationCustomersByAttributesWithHttpInfo (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) { // verify the required parameter 'body' is set if (body == null) @@ -20095,7 +19804,7 @@ public async System.Threading.Tasks.Task GetApplicationCust } // make the HTTP request - var localVarResponse = this.Client.Post< InlineResponse20023 >("/v1/applications/{applicationId}/customer_search", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post< InlineResponse20022 >("/v1/applications/{applicationId}/customer_search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -20116,10 +19825,10 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// Task of InlineResponse20023 - public async System.Threading.Tasks.Task GetApplicationCustomersByAttributesAsync (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) + /// Task of InlineResponse20022 + public async System.Threading.Tasks.Task GetApplicationCustomersByAttributesAsync (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = await GetApplicationCustomersByAttributesAsyncWithHttpInfo(applicationId, body, pageSize, skip, withTotalResultSize); + TalonOne.Client.ApiResponse localVarResponse = await GetApplicationCustomersByAttributesAsyncWithHttpInfo(applicationId, body, pageSize, skip, withTotalResultSize); return localVarResponse.Data; } @@ -20133,8 +19842,8 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// Task of ApiResponse (InlineResponse20023) - public async System.Threading.Tasks.Task> GetApplicationCustomersByAttributesAsyncWithHttpInfo (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) + /// Task of ApiResponse (InlineResponse20022) + public async System.Threading.Tasks.Task> GetApplicationCustomersByAttributesAsyncWithHttpInfo (int applicationId, CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?)) { // verify the required parameter 'body' is set if (body == null) @@ -20196,7 +19905,7 @@ public async System.Threading.Tasks.Task GetApplicationCust // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/v1/applications/{applicationId}/customer_search", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.PostAsync("/v1/applications/{applicationId}/customer_search", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -20216,10 +19925,10 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// InlineResponse20029 - public InlineResponse20029 GetApplicationEventTypes (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// InlineResponse20028 + public InlineResponse20028 GetApplicationEventTypes (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetApplicationEventTypesWithHttpInfo(applicationId, pageSize, skip, sort); + TalonOne.Client.ApiResponse localVarResponse = GetApplicationEventTypesWithHttpInfo(applicationId, pageSize, skip, sort); return localVarResponse.Data; } @@ -20231,8 +19940,8 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// ApiResponse of InlineResponse20029 - public TalonOne.Client.ApiResponse< InlineResponse20029 > GetApplicationEventTypesWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// ApiResponse of InlineResponse20028 + public TalonOne.Client.ApiResponse< InlineResponse20028 > GetApplicationEventTypesWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -20286,7 +19995,7 @@ public async System.Threading.Tasks.Task GetApplicationCust } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20029 >("/v1/applications/{applicationId}/event_types", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20028 >("/v1/applications/{applicationId}/event_types", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -20306,10 +20015,10 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of InlineResponse20029 - public async System.Threading.Tasks.Task GetApplicationEventTypesAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// Task of InlineResponse20028 + public async System.Threading.Tasks.Task GetApplicationEventTypesAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetApplicationEventTypesAsyncWithHttpInfo(applicationId, pageSize, skip, sort); + TalonOne.Client.ApiResponse localVarResponse = await GetApplicationEventTypesAsyncWithHttpInfo(applicationId, pageSize, skip, sort); return localVarResponse.Data; } @@ -20322,8 +20031,8 @@ public async System.Threading.Tasks.Task GetApplicationCust /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of ApiResponse (InlineResponse20029) - public async System.Threading.Tasks.Task> GetApplicationEventTypesAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// Task of ApiResponse (InlineResponse20028) + public async System.Threading.Tasks.Task> GetApplicationEventTypesAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -20379,7 +20088,7 @@ public async System.Threading.Tasks.Task GetApplicationCust // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/event_types", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/event_types", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -20410,10 +20119,10 @@ public async System.Threading.Tasks.Task GetApplicationCust /// Referral code (optional) /// Rule name filter for events (optional) /// Campaign name filter for events (optional) - /// InlineResponse20028 - public InlineResponse20028 GetApplicationEventsWithoutTotalCount (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)) + /// InlineResponse20027 + public InlineResponse20027 GetApplicationEventsWithoutTotalCount (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetApplicationEventsWithoutTotalCountWithHttpInfo(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery); + TalonOne.Client.ApiResponse localVarResponse = GetApplicationEventsWithoutTotalCountWithHttpInfo(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery); return localVarResponse.Data; } @@ -20436,8 +20145,8 @@ public async System.Threading.Tasks.Task GetApplicationCust /// Referral code (optional) /// Rule name filter for events (optional) /// Campaign name filter for events (optional) - /// ApiResponse of InlineResponse20028 - public TalonOne.Client.ApiResponse< InlineResponse20028 > GetApplicationEventsWithoutTotalCountWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)) + /// ApiResponse of InlineResponse20027 + public TalonOne.Client.ApiResponse< InlineResponse20027 > GetApplicationEventsWithoutTotalCountWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -20535,7 +20244,7 @@ public async System.Threading.Tasks.Task GetApplicationCust } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20028 >("/v1/applications/{applicationId}/events/no_total", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20027 >("/v1/applications/{applicationId}/events/no_total", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -20566,10 +20275,10 @@ public async System.Threading.Tasks.Task GetApplicationCust /// Referral code (optional) /// Rule name filter for events (optional) /// Campaign name filter for events (optional) - /// Task of InlineResponse20028 - public async System.Threading.Tasks.Task GetApplicationEventsWithoutTotalCountAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)) + /// Task of InlineResponse20027 + public async System.Threading.Tasks.Task GetApplicationEventsWithoutTotalCountAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetApplicationEventsWithoutTotalCountAsyncWithHttpInfo(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery); + TalonOne.Client.ApiResponse localVarResponse = await GetApplicationEventsWithoutTotalCountAsyncWithHttpInfo(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery); return localVarResponse.Data; } @@ -20593,8 +20302,8 @@ public async System.Threading.Tasks.Task GetApplicationCust /// Referral code (optional) /// Rule name filter for events (optional) /// Campaign name filter for events (optional) - /// Task of ApiResponse (InlineResponse20028) - public async System.Threading.Tasks.Task> GetApplicationEventsWithoutTotalCountAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)) + /// Task of ApiResponse (InlineResponse20027) + public async System.Threading.Tasks.Task> GetApplicationEventsWithoutTotalCountAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string type = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string session = default(string), string profile = default(string), string customerName = default(string), string customerEmail = default(string), string couponCode = default(string), string referralCode = default(string), string ruleQuery = default(string), string campaignQuery = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -20694,7 +20403,7 @@ public async System.Threading.Tasks.Task GetApplicationCust // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/events/no_total", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/events/no_total", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -20873,12 +20582,12 @@ public async System.Threading.Tasks.Task GetApplicationSessi /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter by sessions with this coupon. Must be exact match. (optional) /// Filter by sessions with this referral. Must be exact match. (optional) - /// Filter by sessions with this integrationId. Must be exact match. (optional) + /// Filter by sessions with this integration ID. Must be exact match. (optional) /// The integration ID of the store. You choose this ID when you create a store. (optional) - /// InlineResponse20027 - public InlineResponse20027 GetApplicationSessions (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)) + /// InlineResponse20026 + public InlineResponse20026 GetApplicationSessions (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetApplicationSessionsWithHttpInfo(applicationId, pageSize, skip, sort, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId); + TalonOne.Client.ApiResponse localVarResponse = GetApplicationSessionsWithHttpInfo(applicationId, pageSize, skip, sort, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId); return localVarResponse.Data; } @@ -20896,10 +20605,10 @@ public async System.Threading.Tasks.Task GetApplicationSessi /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter by sessions with this coupon. Must be exact match. (optional) /// Filter by sessions with this referral. Must be exact match. (optional) - /// Filter by sessions with this integrationId. Must be exact match. (optional) + /// Filter by sessions with this integration ID. Must be exact match. (optional) /// The integration ID of the store. You choose this ID when you create a store. (optional) - /// ApiResponse of InlineResponse20027 - public TalonOne.Client.ApiResponse< InlineResponse20027 > GetApplicationSessionsWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)) + /// ApiResponse of InlineResponse20026 + public TalonOne.Client.ApiResponse< InlineResponse20026 > GetApplicationSessionsWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -20985,7 +20694,7 @@ public async System.Threading.Tasks.Task GetApplicationSessi } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20027 >("/v1/applications/{applicationId}/sessions", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20026 >("/v1/applications/{applicationId}/sessions", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -21011,12 +20720,12 @@ public async System.Threading.Tasks.Task GetApplicationSessi /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter by sessions with this coupon. Must be exact match. (optional) /// Filter by sessions with this referral. Must be exact match. (optional) - /// Filter by sessions with this integrationId. Must be exact match. (optional) + /// Filter by sessions with this integration ID. Must be exact match. (optional) /// The integration ID of the store. You choose this ID when you create a store. (optional) - /// Task of InlineResponse20027 - public async System.Threading.Tasks.Task GetApplicationSessionsAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)) + /// Task of InlineResponse20026 + public async System.Threading.Tasks.Task GetApplicationSessionsAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetApplicationSessionsAsyncWithHttpInfo(applicationId, pageSize, skip, sort, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId); + TalonOne.Client.ApiResponse localVarResponse = await GetApplicationSessionsAsyncWithHttpInfo(applicationId, pageSize, skip, sort, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId); return localVarResponse.Data; } @@ -21035,10 +20744,10 @@ public async System.Threading.Tasks.Task GetApplicationSessi /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter by sessions with this coupon. Must be exact match. (optional) /// Filter by sessions with this referral. Must be exact match. (optional) - /// Filter by sessions with this integrationId. Must be exact match. (optional) + /// Filter by sessions with this integration ID. Must be exact match. (optional) /// The integration ID of the store. You choose this ID when you create a store. (optional) - /// Task of ApiResponse (InlineResponse20027) - public async System.Threading.Tasks.Task> GetApplicationSessionsAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)) + /// Task of ApiResponse (InlineResponse20026) + public async System.Threading.Tasks.Task> GetApplicationSessionsAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profile = default(string), string state = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string coupon = default(string), string referral = default(string), string integrationId = default(string), string storeIntegrationId = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -21126,7 +20835,7 @@ public async System.Threading.Tasks.Task GetApplicationSessi // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/sessions", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/sessions", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -21470,10 +21179,10 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Returned attributes will be filtered by supplied entity. (optional) - /// InlineResponse20034 - public InlineResponse20034 GetAttributes (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)) + /// InlineResponse20033 + public InlineResponse20033 GetAttributes (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetAttributesWithHttpInfo(pageSize, skip, sort, entity); + TalonOne.Client.ApiResponse localVarResponse = GetAttributesWithHttpInfo(pageSize, skip, sort, entity); return localVarResponse.Data; } @@ -21485,8 +21194,8 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Returned attributes will be filtered by supplied entity. (optional) - /// ApiResponse of InlineResponse20034 - public TalonOne.Client.ApiResponse< InlineResponse20034 > GetAttributesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)) + /// ApiResponse of InlineResponse20033 + public TalonOne.Client.ApiResponse< InlineResponse20033 > GetAttributesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -21543,7 +21252,7 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20034 >("/v1/attributes", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20033 >("/v1/attributes", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -21563,10 +21272,10 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Returned attributes will be filtered by supplied entity. (optional) - /// Task of InlineResponse20034 - public async System.Threading.Tasks.Task GetAttributesAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)) + /// Task of InlineResponse20033 + public async System.Threading.Tasks.Task GetAttributesAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetAttributesAsyncWithHttpInfo(pageSize, skip, sort, entity); + TalonOne.Client.ApiResponse localVarResponse = await GetAttributesAsyncWithHttpInfo(pageSize, skip, sort, entity); return localVarResponse.Data; } @@ -21579,8 +21288,8 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Returned attributes will be filtered by supplied entity. (optional) - /// Task of ApiResponse (InlineResponse20034) - public async System.Threading.Tasks.Task> GetAttributesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)) + /// Task of ApiResponse (InlineResponse20033) + public async System.Threading.Tasks.Task> GetAttributesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string entity = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -21639,7 +21348,7 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/attributes", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/attributes", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -21660,10 +21369,10 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// The filter to select a profile. (optional) - /// InlineResponse20032 - public InlineResponse20032 GetAudienceMemberships (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)) + /// InlineResponse20031 + public InlineResponse20031 GetAudienceMemberships (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetAudienceMembershipsWithHttpInfo(audienceId, pageSize, skip, sort, profileQuery); + TalonOne.Client.ApiResponse localVarResponse = GetAudienceMembershipsWithHttpInfo(audienceId, pageSize, skip, sort, profileQuery); return localVarResponse.Data; } @@ -21676,8 +21385,8 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// The filter to select a profile. (optional) - /// ApiResponse of InlineResponse20032 - public TalonOne.Client.ApiResponse< InlineResponse20032 > GetAudienceMembershipsWithHttpInfo (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)) + /// ApiResponse of InlineResponse20031 + public TalonOne.Client.ApiResponse< InlineResponse20031 > GetAudienceMembershipsWithHttpInfo (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -21735,7 +21444,7 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20032 >("/v1/audiences/{audienceId}/memberships", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20031 >("/v1/audiences/{audienceId}/memberships", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -21756,10 +21465,10 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// The filter to select a profile. (optional) - /// Task of InlineResponse20032 - public async System.Threading.Tasks.Task GetAudienceMembershipsAsync (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)) + /// Task of InlineResponse20031 + public async System.Threading.Tasks.Task GetAudienceMembershipsAsync (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetAudienceMembershipsAsyncWithHttpInfo(audienceId, pageSize, skip, sort, profileQuery); + TalonOne.Client.ApiResponse localVarResponse = await GetAudienceMembershipsAsyncWithHttpInfo(audienceId, pageSize, skip, sort, profileQuery); return localVarResponse.Data; } @@ -21773,8 +21482,8 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// The filter to select a profile. (optional) - /// Task of ApiResponse (InlineResponse20032) - public async System.Threading.Tasks.Task> GetAudienceMembershipsAsyncWithHttpInfo (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)) + /// Task of ApiResponse (InlineResponse20031) + public async System.Threading.Tasks.Task> GetAudienceMembershipsAsyncWithHttpInfo (int audienceId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string profileQuery = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -21834,7 +21543,7 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/audiences/{audienceId}/memberships", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/audiences/{audienceId}/memberships", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -21854,10 +21563,10 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// InlineResponse20030 - public InlineResponse20030 GetAudiences (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) + /// InlineResponse20029 + public InlineResponse20029 GetAudiences (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = GetAudiencesWithHttpInfo(pageSize, skip, sort, withTotalResultSize); + TalonOne.Client.ApiResponse localVarResponse = GetAudiencesWithHttpInfo(pageSize, skip, sort, withTotalResultSize); return localVarResponse.Data; } @@ -21869,8 +21578,8 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// ApiResponse of InlineResponse20030 - public TalonOne.Client.ApiResponse< InlineResponse20030 > GetAudiencesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) + /// ApiResponse of InlineResponse20029 + public TalonOne.Client.ApiResponse< InlineResponse20029 > GetAudiencesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -21927,7 +21636,7 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20030 >("/v1/audiences", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20029 >("/v1/audiences", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -21947,10 +21656,10 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Task of InlineResponse20030 - public async System.Threading.Tasks.Task GetAudiencesAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) + /// Task of InlineResponse20029 + public async System.Threading.Tasks.Task GetAudiencesAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = await GetAudiencesAsyncWithHttpInfo(pageSize, skip, sort, withTotalResultSize); + TalonOne.Client.ApiResponse localVarResponse = await GetAudiencesAsyncWithHttpInfo(pageSize, skip, sort, withTotalResultSize); return localVarResponse.Data; } @@ -21963,8 +21672,8 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Task of ApiResponse (InlineResponse20030) - public async System.Threading.Tasks.Task> GetAudiencesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) + /// Task of ApiResponse (InlineResponse20029) + public async System.Threading.Tasks.Task> GetAudiencesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -22023,7 +21732,7 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/audiences", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/audiences", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -22041,10 +21750,10 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// Thrown when fails to make API call /// The IDs of one or more audiences, separated by commas, by which to filter results. /// 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:** This parameter works only with numeric fields. (optional) - /// InlineResponse20031 - public InlineResponse20031 GetAudiencesAnalytics (string audienceIds, string sort = default(string)) + /// InlineResponse20030 + public InlineResponse20030 GetAudiencesAnalytics (string audienceIds, string sort = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetAudiencesAnalyticsWithHttpInfo(audienceIds, sort); + TalonOne.Client.ApiResponse localVarResponse = GetAudiencesAnalyticsWithHttpInfo(audienceIds, sort); return localVarResponse.Data; } @@ -22054,8 +21763,8 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// Thrown when fails to make API call /// The IDs of one or more audiences, separated by commas, by which to filter results. /// 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:** This parameter works only with numeric fields. (optional) - /// ApiResponse of InlineResponse20031 - public TalonOne.Client.ApiResponse< InlineResponse20031 > GetAudiencesAnalyticsWithHttpInfo (string audienceIds, string sort = default(string)) + /// ApiResponse of InlineResponse20030 + public TalonOne.Client.ApiResponse< InlineResponse20030 > GetAudiencesAnalyticsWithHttpInfo (string audienceIds, string sort = default(string)) { // verify the required parameter 'audienceIds' is set if (audienceIds == null) @@ -22105,7 +21814,7 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20031 >("/v1/audiences/analytics", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20030 >("/v1/audiences/analytics", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -22123,10 +21832,10 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// Thrown when fails to make API call /// The IDs of one or more audiences, separated by commas, by which to filter results. /// 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:** This parameter works only with numeric fields. (optional) - /// Task of InlineResponse20031 - public async System.Threading.Tasks.Task GetAudiencesAnalyticsAsync (string audienceIds, string sort = default(string)) + /// Task of InlineResponse20030 + public async System.Threading.Tasks.Task GetAudiencesAnalyticsAsync (string audienceIds, string sort = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetAudiencesAnalyticsAsyncWithHttpInfo(audienceIds, sort); + TalonOne.Client.ApiResponse localVarResponse = await GetAudiencesAnalyticsAsyncWithHttpInfo(audienceIds, sort); return localVarResponse.Data; } @@ -22137,8 +21846,8 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri /// Thrown when fails to make API call /// The IDs of one or more audiences, separated by commas, by which to filter results. /// 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:** This parameter works only with numeric fields. (optional) - /// Task of ApiResponse (InlineResponse20031) - public async System.Threading.Tasks.Task> GetAudiencesAnalyticsAsyncWithHttpInfo (string audienceIds, string sort = default(string)) + /// Task of ApiResponse (InlineResponse20030) + public async System.Threading.Tasks.Task> GetAudiencesAnalyticsAsyncWithHttpInfo (string audienceIds, string sort = default(string)) { // verify the required parameter 'audienceIds' is set if (audienceIds == null) @@ -22190,7 +21899,7 @@ public async System.Threading.Tasks.Task GetAttributeAsync (int attri // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/audiences/analytics", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/audiences/analytics", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -22364,10 +22073,10 @@ public async System.Threading.Tasks.Task GetCampaignAsync (int applica /// 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. /// 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. /// The time interval between the results in the returned time-series. (optional) - /// InlineResponse20021 - public InlineResponse20021 GetCampaignAnalytics (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)) + /// InlineResponse20020 + public InlineResponse20020 GetCampaignAnalytics (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetCampaignAnalyticsWithHttpInfo(applicationId, campaignId, rangeStart, rangeEnd, granularity); + TalonOne.Client.ApiResponse localVarResponse = GetCampaignAnalyticsWithHttpInfo(applicationId, campaignId, rangeStart, rangeEnd, granularity); return localVarResponse.Data; } @@ -22380,8 +22089,8 @@ public async System.Threading.Tasks.Task GetCampaignAsync (int applica /// 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. /// 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. /// The time interval between the results in the returned time-series. (optional) - /// ApiResponse of InlineResponse20021 - public TalonOne.Client.ApiResponse< InlineResponse20021 > GetCampaignAnalyticsWithHttpInfo (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)) + /// ApiResponse of InlineResponse20020 + public TalonOne.Client.ApiResponse< InlineResponse20020 > GetCampaignAnalyticsWithHttpInfo (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -22430,7 +22139,7 @@ public async System.Threading.Tasks.Task GetCampaignAsync (int applica } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20021 >("/v1/applications/{applicationId}/campaigns/{campaignId}/analytics", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20020 >("/v1/applications/{applicationId}/campaigns/{campaignId}/analytics", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -22451,10 +22160,10 @@ public async System.Threading.Tasks.Task GetCampaignAsync (int applica /// 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. /// 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. /// The time interval between the results in the returned time-series. (optional) - /// Task of InlineResponse20021 - public async System.Threading.Tasks.Task GetCampaignAnalyticsAsync (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)) + /// Task of InlineResponse20020 + public async System.Threading.Tasks.Task GetCampaignAnalyticsAsync (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetCampaignAnalyticsAsyncWithHttpInfo(applicationId, campaignId, rangeStart, rangeEnd, granularity); + TalonOne.Client.ApiResponse localVarResponse = await GetCampaignAnalyticsAsyncWithHttpInfo(applicationId, campaignId, rangeStart, rangeEnd, granularity); return localVarResponse.Data; } @@ -22468,8 +22177,8 @@ public async System.Threading.Tasks.Task GetCampaignAsync (int applica /// 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. /// 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. /// The time interval between the results in the returned time-series. (optional) - /// Task of ApiResponse (InlineResponse20021) - public async System.Threading.Tasks.Task> GetCampaignAnalyticsAsyncWithHttpInfo (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)) + /// Task of ApiResponse (InlineResponse20020) + public async System.Threading.Tasks.Task> GetCampaignAnalyticsAsyncWithHttpInfo (int applicationId, int campaignId, DateTime rangeStart, DateTime rangeEnd, string granularity = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -22520,7 +22229,7 @@ public async System.Threading.Tasks.Task GetCampaignAsync (int applica // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/campaigns/{campaignId}/analytics", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/campaigns/{campaignId}/analytics", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -23306,7 +23015,7 @@ public async System.Threading.Tasks.Task GetCampaignGroupAsync (i /// 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. (optional) /// 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. (optional) /// Filter results to campaigns owned by the specified campaign access group ID. (optional) - /// The ID of the Campaign Template this Campaign was created from. (optional) + /// The ID of the campaign template this campaign was created from. (optional) /// Filter results to campaigns linked to the specified store ID. (optional) /// InlineResponse2006 public InlineResponse2006 GetCampaigns (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string campaignState = default(string), string name = default(string), string tags = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), int? campaignGroupId = default(int?), int? templateId = default(int?), int? storeId = default(int?)) @@ -23329,7 +23038,7 @@ public async System.Threading.Tasks.Task GetCampaignGroupAsync (i /// 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. (optional) /// 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. (optional) /// Filter results to campaigns owned by the specified campaign access group ID. (optional) - /// The ID of the Campaign Template this Campaign was created from. (optional) + /// The ID of the campaign template this campaign was created from. (optional) /// Filter results to campaigns linked to the specified store ID. (optional) /// ApiResponse of InlineResponse2006 public TalonOne.Client.ApiResponse< InlineResponse2006 > GetCampaignsWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string campaignState = default(string), string name = default(string), string tags = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), int? campaignGroupId = default(int?), int? templateId = default(int?), int? storeId = default(int?)) @@ -23444,7 +23153,7 @@ public async System.Threading.Tasks.Task GetCampaignGroupAsync (i /// 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. (optional) /// 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. (optional) /// Filter results to campaigns owned by the specified campaign access group ID. (optional) - /// The ID of the Campaign Template this Campaign was created from. (optional) + /// The ID of the campaign template this campaign was created from. (optional) /// Filter results to campaigns linked to the specified store ID. (optional) /// Task of InlineResponse2006 public async System.Threading.Tasks.Task GetCampaignsAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string campaignState = default(string), string name = default(string), string tags = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), int? campaignGroupId = default(int?), int? templateId = default(int?), int? storeId = default(int?)) @@ -23468,7 +23177,7 @@ public async System.Threading.Tasks.Task GetCampaignGroupAsync (i /// 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. (optional) /// 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. (optional) /// Filter results to campaigns owned by the specified campaign access group ID. (optional) - /// The ID of the Campaign Template this Campaign was created from. (optional) + /// The ID of the campaign template this campaign was created from. (optional) /// Filter results to campaigns linked to the specified store ID. (optional) /// Task of ApiResponse (InlineResponse2006) public async System.Threading.Tasks.Task> GetCampaignsAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string campaignState = default(string), string name = default(string), string tags = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), int? campaignGroupId = default(int?), int? templateId = default(int?), int? storeId = default(int?)) @@ -23586,10 +23295,10 @@ public async System.Threading.Tasks.Task GetCampaignGroupAsync (i /// 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. (optional) /// Filter results that match the given management key ID. (optional) /// When this flag is set to false, the state without the change will not be returned. The default value is true. (optional) - /// InlineResponse20042 - public InlineResponse20042 GetChanges (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)) + /// InlineResponse20041 + public InlineResponse20041 GetChanges (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = GetChangesWithHttpInfo(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld); + TalonOne.Client.ApiResponse localVarResponse = GetChangesWithHttpInfo(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld); return localVarResponse.Data; } @@ -23608,8 +23317,8 @@ public async System.Threading.Tasks.Task GetCampaignGroupAsync (i /// 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. (optional) /// Filter results that match the given management key ID. (optional) /// When this flag is set to false, the state without the change will not be returned. The default value is true. (optional) - /// ApiResponse of InlineResponse20042 - public TalonOne.Client.ApiResponse< InlineResponse20042 > GetChangesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)) + /// ApiResponse of InlineResponse20041 + public TalonOne.Client.ApiResponse< InlineResponse20041 > GetChangesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -23694,7 +23403,7 @@ public async System.Threading.Tasks.Task GetCampaignGroupAsync (i } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20042 >("/v1/changes", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20041 >("/v1/changes", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -23721,10 +23430,10 @@ public async System.Threading.Tasks.Task GetCampaignGroupAsync (i /// 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. (optional) /// Filter results that match the given management key ID. (optional) /// When this flag is set to false, the state without the change will not be returned. The default value is true. (optional) - /// Task of InlineResponse20042 - public async System.Threading.Tasks.Task GetChangesAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)) + /// Task of InlineResponse20041 + public async System.Threading.Tasks.Task GetChangesAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = await GetChangesAsyncWithHttpInfo(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld); + TalonOne.Client.ApiResponse localVarResponse = await GetChangesAsyncWithHttpInfo(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld); return localVarResponse.Data; } @@ -23744,8 +23453,8 @@ public async System.Threading.Tasks.Task GetCampaignGroupAsync (i /// 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. (optional) /// Filter results that match the given management key ID. (optional) /// When this flag is set to false, the state without the change will not be returned. The default value is true. (optional) - /// Task of ApiResponse (InlineResponse20042) - public async System.Threading.Tasks.Task> GetChangesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)) + /// Task of ApiResponse (InlineResponse20041) + public async System.Threading.Tasks.Task> GetChangesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), decimal? applicationId = default(decimal?), string entityPath = default(string), int? userId = default(int?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), bool? withTotalResultSize = default(bool?), int? managementKeyId = default(int?), bool? includeOld = default(bool?)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -23832,7 +23541,7 @@ public async System.Threading.Tasks.Task GetCampaignGroupAsync (i // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/changes", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/changes", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -24190,9 +23899,9 @@ public async System.Threading.Tasks.Task GetCollectionAsync (int app /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// - `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. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// 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. (optional) /// 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. (optional) @@ -24221,9 +23930,9 @@ public async System.Threading.Tasks.Task GetCollectionAsync (int app /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// - `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. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// 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. (optional) /// 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. (optional) @@ -24373,9 +24082,9 @@ public async System.Threading.Tasks.Task GetCollectionAsync (int app /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// - `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. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// 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. (optional) /// 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. (optional) @@ -24405,9 +24114,9 @@ public async System.Threading.Tasks.Task GetCollectionAsync (int app /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// - `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. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// 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. (optional) /// 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. (optional) @@ -24742,14 +24451,14 @@ public async System.Threading.Tasks.Task GetCollectionAsync (int app /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Only return reports matching the customer name (optional) + /// Only return reports matching the customer name. (optional) /// Filter results performing an exact matching against the profile integration identifier. (optional) - /// Only return reports matching the campaignName (optional) - /// Only return reports matching the current customer referrer name (optional) - /// InlineResponse20026 - public InlineResponse20026 GetCustomerActivityReportsWithoutTotalCount (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)) + /// Only return reports matching the campaign name. (optional) + /// Only return reports matching the current customer referrer name. (optional) + /// InlineResponse20025 + public InlineResponse20025 GetCustomerActivityReportsWithoutTotalCount (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetCustomerActivityReportsWithoutTotalCountWithHttpInfo(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName); + TalonOne.Client.ApiResponse localVarResponse = GetCustomerActivityReportsWithoutTotalCountWithHttpInfo(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName); return localVarResponse.Data; } @@ -24763,12 +24472,12 @@ public async System.Threading.Tasks.Task GetCollectionAsync (int app /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Only return reports matching the customer name (optional) + /// Only return reports matching the customer name. (optional) /// Filter results performing an exact matching against the profile integration identifier. (optional) - /// Only return reports matching the campaignName (optional) - /// Only return reports matching the current customer referrer name (optional) - /// ApiResponse of InlineResponse20026 - public TalonOne.Client.ApiResponse< InlineResponse20026 > GetCustomerActivityReportsWithoutTotalCountWithHttpInfo (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)) + /// Only return reports matching the campaign name. (optional) + /// Only return reports matching the current customer referrer name. (optional) + /// ApiResponse of InlineResponse20025 + public TalonOne.Client.ApiResponse< InlineResponse20025 > GetCustomerActivityReportsWithoutTotalCountWithHttpInfo (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -24840,7 +24549,7 @@ public async System.Threading.Tasks.Task GetCollectionAsync (int app } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20026 >("/v1/applications/{applicationId}/customer_activity_reports/no_total", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20025 >("/v1/applications/{applicationId}/customer_activity_reports/no_total", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -24862,14 +24571,14 @@ public async System.Threading.Tasks.Task GetCollectionAsync (int app /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Only return reports matching the customer name (optional) + /// Only return reports matching the customer name. (optional) /// Filter results performing an exact matching against the profile integration identifier. (optional) - /// Only return reports matching the campaignName (optional) - /// Only return reports matching the current customer referrer name (optional) - /// Task of InlineResponse20026 - public async System.Threading.Tasks.Task GetCustomerActivityReportsWithoutTotalCountAsync (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)) + /// Only return reports matching the campaign name. (optional) + /// Only return reports matching the current customer referrer name. (optional) + /// Task of InlineResponse20025 + public async System.Threading.Tasks.Task GetCustomerActivityReportsWithoutTotalCountAsync (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetCustomerActivityReportsWithoutTotalCountAsyncWithHttpInfo(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName); + TalonOne.Client.ApiResponse localVarResponse = await GetCustomerActivityReportsWithoutTotalCountAsyncWithHttpInfo(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName); return localVarResponse.Data; } @@ -24884,12 +24593,12 @@ public async System.Threading.Tasks.Task GetCollectionAsync (int app /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Only return reports matching the customer name (optional) + /// Only return reports matching the customer name. (optional) /// Filter results performing an exact matching against the profile integration identifier. (optional) - /// Only return reports matching the campaignName (optional) - /// Only return reports matching the current customer referrer name (optional) - /// Task of ApiResponse (InlineResponse20026) - public async System.Threading.Tasks.Task> GetCustomerActivityReportsWithoutTotalCountAsyncWithHttpInfo (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)) + /// Only return reports matching the campaign name. (optional) + /// Only return reports matching the current customer referrer name. (optional) + /// Task of ApiResponse (InlineResponse20025) + public async System.Threading.Tasks.Task> GetCustomerActivityReportsWithoutTotalCountAsyncWithHttpInfo (DateTime rangeStart, DateTime rangeEnd, int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string name = default(string), string integrationId = default(string), string campaignName = default(string), string advocateName = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -24963,7 +24672,7 @@ public async System.Threading.Tasks.Task GetCollectionAsync (int app // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/customer_activity_reports/no_total", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/customer_activity_reports/no_total", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -25321,10 +25030,10 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) /// Filter results by the `title` of an achievement. (optional) - /// InlineResponse20047 - public InlineResponse20047 GetCustomerProfileAchievementProgress (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)) + /// InlineResponse20046 + public InlineResponse20046 GetCustomerProfileAchievementProgress (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetCustomerProfileAchievementProgressWithHttpInfo(applicationId, integrationId, pageSize, skip, achievementId, title); + TalonOne.Client.ApiResponse localVarResponse = GetCustomerProfileAchievementProgressWithHttpInfo(applicationId, integrationId, pageSize, skip, achievementId, title); return localVarResponse.Data; } @@ -25338,8 +25047,8 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) /// Filter results by the `title` of an achievement. (optional) - /// ApiResponse of InlineResponse20047 - public TalonOne.Client.ApiResponse< InlineResponse20047 > GetCustomerProfileAchievementProgressWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)) + /// ApiResponse of InlineResponse20046 + public TalonOne.Client.ApiResponse< InlineResponse20046 > GetCustomerProfileAchievementProgressWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)) { // verify the required parameter 'integrationId' is set if (integrationId == null) @@ -25402,7 +25111,7 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20047 >("/v1/applications/{applicationId}/achievement_progress/{integrationId}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20046 >("/v1/applications/{applicationId}/achievement_progress/{integrationId}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -25424,10 +25133,10 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) /// Filter results by the `title` of an achievement. (optional) - /// Task of InlineResponse20047 - public async System.Threading.Tasks.Task GetCustomerProfileAchievementProgressAsync (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)) + /// Task of InlineResponse20046 + public async System.Threading.Tasks.Task GetCustomerProfileAchievementProgressAsync (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetCustomerProfileAchievementProgressAsyncWithHttpInfo(applicationId, integrationId, pageSize, skip, achievementId, title); + TalonOne.Client.ApiResponse localVarResponse = await GetCustomerProfileAchievementProgressAsyncWithHttpInfo(applicationId, integrationId, pageSize, skip, achievementId, title); return localVarResponse.Data; } @@ -25442,8 +25151,8 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) /// Filter results by the `title` of an achievement. (optional) - /// Task of ApiResponse (InlineResponse20047) - public async System.Threading.Tasks.Task> GetCustomerProfileAchievementProgressAsyncWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)) + /// Task of ApiResponse (InlineResponse20046) + public async System.Threading.Tasks.Task> GetCustomerProfileAchievementProgressAsyncWithHttpInfo (int applicationId, string integrationId, int? pageSize = default(int?), int? skip = default(int?), int? achievementId = default(int?), string title = default(string)) { // verify the required parameter 'integrationId' is set if (integrationId == null) @@ -25508,7 +25217,7 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/achievement_progress/{integrationId}", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/achievement_progress/{integrationId}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -25526,11 +25235,11 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// Thrown when fails to make API call /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// InlineResponse20025 - public InlineResponse20025 GetCustomerProfiles (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// InlineResponse20024 + public InlineResponse20024 GetCustomerProfiles (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = GetCustomerProfilesWithHttpInfo(pageSize, skip, sandbox); + TalonOne.Client.ApiResponse localVarResponse = GetCustomerProfilesWithHttpInfo(pageSize, skip, sandbox); return localVarResponse.Data; } @@ -25540,9 +25249,9 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// Thrown when fails to make API call /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// ApiResponse of InlineResponse20025 - public TalonOne.Client.ApiResponse< InlineResponse20025 > GetCustomerProfilesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// ApiResponse of InlineResponse20024 + public TalonOne.Client.ApiResponse< InlineResponse20024 > GetCustomerProfilesWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -25595,7 +25304,7 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20025 >("/v1/customers/no_total", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20024 >("/v1/customers/no_total", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -25613,11 +25322,11 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// Thrown when fails to make API call /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// Task of InlineResponse20025 - public async System.Threading.Tasks.Task GetCustomerProfilesAsync (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// Task of InlineResponse20024 + public async System.Threading.Tasks.Task GetCustomerProfilesAsync (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = await GetCustomerProfilesAsyncWithHttpInfo(pageSize, skip, sandbox); + TalonOne.Client.ApiResponse localVarResponse = await GetCustomerProfilesAsyncWithHttpInfo(pageSize, skip, sandbox); return localVarResponse.Data; } @@ -25628,9 +25337,9 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// Thrown when fails to make API call /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// Task of ApiResponse (InlineResponse20025) - public async System.Threading.Tasks.Task> GetCustomerProfilesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// Task of ApiResponse (InlineResponse20024) + public async System.Threading.Tasks.Task> GetCustomerProfilesAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -25685,7 +25394,7 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/customers/no_total", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/customers/no_total", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -25704,11 +25413,11 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// body /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// InlineResponse20024 - public InlineResponse20024 GetCustomersByAttributes (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// InlineResponse20023 + public InlineResponse20023 GetCustomersByAttributes (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = GetCustomersByAttributesWithHttpInfo(body, pageSize, skip, sandbox); + TalonOne.Client.ApiResponse localVarResponse = GetCustomersByAttributesWithHttpInfo(body, pageSize, skip, sandbox); return localVarResponse.Data; } @@ -25719,9 +25428,9 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// body /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// ApiResponse of InlineResponse20024 - public TalonOne.Client.ApiResponse< InlineResponse20024 > GetCustomersByAttributesWithHttpInfo (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// ApiResponse of InlineResponse20023 + public TalonOne.Client.ApiResponse< InlineResponse20023 > GetCustomersByAttributesWithHttpInfo (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) { // verify the required parameter 'body' is set if (body == null) @@ -25780,7 +25489,7 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn } // make the HTTP request - var localVarResponse = this.Client.Post< InlineResponse20024 >("/v1/customer_search/no_total", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post< InlineResponse20023 >("/v1/customer_search/no_total", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -25799,11 +25508,11 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// body /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// Task of InlineResponse20024 - public async System.Threading.Tasks.Task GetCustomersByAttributesAsync (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// Task of InlineResponse20023 + public async System.Threading.Tasks.Task GetCustomersByAttributesAsync (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) { - TalonOne.Client.ApiResponse localVarResponse = await GetCustomersByAttributesAsyncWithHttpInfo(body, pageSize, skip, sandbox); + TalonOne.Client.ApiResponse localVarResponse = await GetCustomersByAttributesAsyncWithHttpInfo(body, pageSize, skip, sandbox); return localVarResponse.Data; } @@ -25815,9 +25524,9 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// body /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) - /// Indicates whether you are pointing to a sandbox or Live customer. (optional, default to false) - /// Task of ApiResponse (InlineResponse20024) - public async System.Threading.Tasks.Task> GetCustomersByAttributesAsyncWithHttpInfo (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) + /// Indicates whether you are pointing to a sandbox or live customer. (optional, default to false) + /// Task of ApiResponse (InlineResponse20023) + public async System.Threading.Tasks.Task> GetCustomersByAttributesAsyncWithHttpInfo (CustomerProfileSearchQuery body, int? pageSize = default(int?), int? skip = default(int?), bool? sandbox = default(bool?)) { // verify the required parameter 'body' is set if (body == null) @@ -25878,7 +25587,7 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn // make the HTTP request - var localVarResponse = await this.AsynchronousClient.PostAsync("/v1/customer_search/no_total", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.PostAsync("/v1/customer_search/no_total", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -25899,10 +25608,10 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// InlineResponse20040 - public InlineResponse20040 GetEventTypes (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// InlineResponse20039 + public InlineResponse20039 GetEventTypes (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetEventTypesWithHttpInfo(name, includeOldVersions, pageSize, skip, sort); + TalonOne.Client.ApiResponse localVarResponse = GetEventTypesWithHttpInfo(name, includeOldVersions, pageSize, skip, sort); return localVarResponse.Data; } @@ -25915,8 +25624,8 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// ApiResponse of InlineResponse20040 - public TalonOne.Client.ApiResponse< InlineResponse20040 > GetEventTypesWithHttpInfo (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// ApiResponse of InlineResponse20039 + public TalonOne.Client.ApiResponse< InlineResponse20039 > GetEventTypesWithHttpInfo (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -25977,7 +25686,7 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20040 >("/v1/event_types", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20039 >("/v1/event_types", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -25998,10 +25707,10 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of InlineResponse20040 - public async System.Threading.Tasks.Task GetEventTypesAsync (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// Task of InlineResponse20039 + public async System.Threading.Tasks.Task GetEventTypesAsync (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetEventTypesAsyncWithHttpInfo(name, includeOldVersions, pageSize, skip, sort); + TalonOne.Client.ApiResponse localVarResponse = await GetEventTypesAsyncWithHttpInfo(name, includeOldVersions, pageSize, skip, sort); return localVarResponse.Data; } @@ -26015,8 +25724,8 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of ApiResponse (InlineResponse20040) - public async System.Threading.Tasks.Task> GetEventTypesAsyncWithHttpInfo (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// Task of ApiResponse (InlineResponse20039) + public async System.Threading.Tasks.Task> GetEventTypesAsyncWithHttpInfo (string name = default(string), bool? includeOldVersions = default(bool?), int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -26079,7 +25788,7 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/event_types", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/event_types", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -26100,10 +25809,10 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// Filter results by Application ID. (optional) /// Filter by the campaign ID on which the limit counters are used. (optional) /// The name of the entity type that was exported. (optional) - /// InlineResponse20043 - public InlineResponse20043 GetExports (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)) + /// InlineResponse20042 + public InlineResponse20042 GetExports (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetExportsWithHttpInfo(pageSize, skip, applicationId, campaignId, entity); + TalonOne.Client.ApiResponse localVarResponse = GetExportsWithHttpInfo(pageSize, skip, applicationId, campaignId, entity); return localVarResponse.Data; } @@ -26116,8 +25825,8 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// Filter results by Application ID. (optional) /// Filter by the campaign ID on which the limit counters are used. (optional) /// The name of the entity type that was exported. (optional) - /// ApiResponse of InlineResponse20043 - public TalonOne.Client.ApiResponse< InlineResponse20043 > GetExportsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)) + /// ApiResponse of InlineResponse20042 + public TalonOne.Client.ApiResponse< InlineResponse20042 > GetExportsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -26178,7 +25887,7 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20043 >("/v1/exports", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20042 >("/v1/exports", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -26199,10 +25908,10 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// Filter results by Application ID. (optional) /// Filter by the campaign ID on which the limit counters are used. (optional) /// The name of the entity type that was exported. (optional) - /// Task of InlineResponse20043 - public async System.Threading.Tasks.Task GetExportsAsync (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)) + /// Task of InlineResponse20042 + public async System.Threading.Tasks.Task GetExportsAsync (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetExportsAsyncWithHttpInfo(pageSize, skip, applicationId, campaignId, entity); + TalonOne.Client.ApiResponse localVarResponse = await GetExportsAsyncWithHttpInfo(pageSize, skip, applicationId, campaignId, entity); return localVarResponse.Data; } @@ -26216,8 +25925,8 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn /// Filter results by Application ID. (optional) /// Filter by the campaign ID on which the limit counters are used. (optional) /// The name of the entity type that was exported. (optional) - /// Task of ApiResponse (InlineResponse20043) - public async System.Threading.Tasks.Task> GetExportsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)) + /// Task of ApiResponse (InlineResponse20042) + public async System.Threading.Tasks.Task> GetExportsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), decimal? applicationId = default(decimal?), int? campaignId = default(int?), string entity = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -26280,7 +25989,7 @@ public async System.Threading.Tasks.Task GetCustomerProfileAsyn // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/exports", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/exports", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -27730,7 +27439,7 @@ public async System.Threading.Tasks.Task GetLoyaltyStatist /// 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. (optional) /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`. (optional) - /// Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the referral's AdvocateProfileIntegrationId field. (optional) /// InlineResponse20010 public InlineResponse20010 GetReferralsWithoutTotalCount (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string code = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), string advocate = default(string)) { @@ -27752,7 +27461,7 @@ public async System.Threading.Tasks.Task GetLoyaltyStatist /// 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. (optional) /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`. (optional) - /// Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the referral's AdvocateProfileIntegrationId field. (optional) /// ApiResponse of InlineResponse20010 public TalonOne.Client.ApiResponse< InlineResponse20010 > GetReferralsWithoutTotalCountWithHttpInfo (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string code = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), string advocate = default(string)) { @@ -27859,7 +27568,7 @@ public async System.Threading.Tasks.Task GetLoyaltyStatist /// 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. (optional) /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`. (optional) - /// Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the referral's AdvocateProfileIntegrationId field. (optional) /// Task of InlineResponse20010 public async System.Threading.Tasks.Task GetReferralsWithoutTotalCountAsync (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string code = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), string advocate = default(string)) { @@ -27882,7 +27591,7 @@ public async System.Threading.Tasks.Task GetLoyaltyStatist /// 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. (optional) /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`. (optional) - /// Filter results by match with a profile id specified in the referral's AdvocateProfileIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the referral's AdvocateProfileIntegrationId field. (optional) /// Task of ApiResponse (InlineResponse20010) public async System.Threading.Tasks.Task> GetReferralsWithoutTotalCountAsyncWithHttpInfo (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string code = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), string advocate = default(string)) { @@ -28787,10 +28496,10 @@ public async System.Threading.Tasks.Task GetUserAsync (int userId) /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// InlineResponse20041 - public InlineResponse20041 GetUsers (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// InlineResponse20040 + public InlineResponse20040 GetUsers (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetUsersWithHttpInfo(pageSize, skip, sort); + TalonOne.Client.ApiResponse localVarResponse = GetUsersWithHttpInfo(pageSize, skip, sort); return localVarResponse.Data; } @@ -28801,8 +28510,8 @@ public async System.Threading.Tasks.Task GetUserAsync (int userId) /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// ApiResponse of InlineResponse20041 - public TalonOne.Client.ApiResponse< InlineResponse20041 > GetUsersWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// ApiResponse of InlineResponse20040 + public TalonOne.Client.ApiResponse< InlineResponse20040 > GetUsersWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -28855,7 +28564,7 @@ public async System.Threading.Tasks.Task GetUserAsync (int userId) } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20041 >("/v1/users", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20040 >("/v1/users", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -28874,10 +28583,10 @@ public async System.Threading.Tasks.Task GetUserAsync (int userId) /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of InlineResponse20041 - public async System.Threading.Tasks.Task GetUsersAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// Task of InlineResponse20040 + public async System.Threading.Tasks.Task GetUsersAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetUsersAsyncWithHttpInfo(pageSize, skip, sort); + TalonOne.Client.ApiResponse localVarResponse = await GetUsersAsyncWithHttpInfo(pageSize, skip, sort); return localVarResponse.Data; } @@ -28889,8 +28598,8 @@ public async System.Threading.Tasks.Task GetUserAsync (int userId) /// The number of items in the response. (optional, default to 1000) /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) - /// Task of ApiResponse (InlineResponse20041) - public async System.Threading.Tasks.Task> GetUsersAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) + /// Task of ApiResponse (InlineResponse20040) + public async System.Threading.Tasks.Task> GetUsersAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -28945,7 +28654,7 @@ public async System.Threading.Tasks.Task GetUserAsync (int userId) // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/users", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/users", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -29112,15 +28821,15 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by integration request UUID. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// InlineResponse20038 - public InlineResponse20038 GetWebhookActivationLogs (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) + /// InlineResponse20037 + public InlineResponse20037 GetWebhookActivationLogs (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) { - TalonOne.Client.ApiResponse localVarResponse = GetWebhookActivationLogsWithHttpInfo(pageSize, skip, sort, integrationRequestUuid, webhookId, applicationId, campaignId, createdBefore, createdAfter); + TalonOne.Client.ApiResponse localVarResponse = GetWebhookActivationLogsWithHttpInfo(pageSize, skip, sort, integrationRequestUuid, webhookId, applicationId, campaignId, createdBefore, createdAfter); return localVarResponse.Data; } @@ -29132,13 +28841,13 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by integration request UUID. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// ApiResponse of InlineResponse20038 - public TalonOne.Client.ApiResponse< InlineResponse20038 > GetWebhookActivationLogsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) + /// ApiResponse of InlineResponse20037 + public TalonOne.Client.ApiResponse< InlineResponse20037 > GetWebhookActivationLogsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -29215,7 +28924,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20038 >("/v1/webhook_activation_logs", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20037 >("/v1/webhook_activation_logs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -29235,15 +28944,15 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by integration request UUID. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// Task of InlineResponse20038 - public async System.Threading.Tasks.Task GetWebhookActivationLogsAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) + /// Task of InlineResponse20037 + public async System.Threading.Tasks.Task GetWebhookActivationLogsAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) { - TalonOne.Client.ApiResponse localVarResponse = await GetWebhookActivationLogsAsyncWithHttpInfo(pageSize, skip, sort, integrationRequestUuid, webhookId, applicationId, campaignId, createdBefore, createdAfter); + TalonOne.Client.ApiResponse localVarResponse = await GetWebhookActivationLogsAsyncWithHttpInfo(pageSize, skip, sort, integrationRequestUuid, webhookId, applicationId, campaignId, createdBefore, createdAfter); return localVarResponse.Data; } @@ -29256,13 +28965,13 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by integration request UUID. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// Task of ApiResponse (InlineResponse20038) - public async System.Threading.Tasks.Task> GetWebhookActivationLogsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) + /// Task of ApiResponse (InlineResponse20037) + public async System.Threading.Tasks.Task> GetWebhookActivationLogsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string integrationRequestUuid = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -29341,7 +29050,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/webhook_activation_logs", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/webhook_activation_logs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -29361,16 +29070,16 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by HTTP status codes. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Filter results by request UUID. (optional) /// Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// InlineResponse20039 - public InlineResponse20039 GetWebhookLogs (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) + /// InlineResponse20038 + public InlineResponse20038 GetWebhookLogs (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) { - TalonOne.Client.ApiResponse localVarResponse = GetWebhookLogsWithHttpInfo(pageSize, skip, sort, status, webhookId, applicationId, campaignId, requestUuid, createdBefore, createdAfter); + TalonOne.Client.ApiResponse localVarResponse = GetWebhookLogsWithHttpInfo(pageSize, skip, sort, status, webhookId, applicationId, campaignId, requestUuid, createdBefore, createdAfter); return localVarResponse.Data; } @@ -29382,14 +29091,14 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by HTTP status codes. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Filter results by request UUID. (optional) /// Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// ApiResponse of InlineResponse20039 - public TalonOne.Client.ApiResponse< InlineResponse20039 > GetWebhookLogsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) + /// ApiResponse of InlineResponse20038 + public TalonOne.Client.ApiResponse< InlineResponse20038 > GetWebhookLogsWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -29470,7 +29179,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20039 >("/v1/webhook_logs", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20038 >("/v1/webhook_logs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -29490,16 +29199,16 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by HTTP status codes. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Filter results by request UUID. (optional) /// Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// Task of InlineResponse20039 - public async System.Threading.Tasks.Task GetWebhookLogsAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) + /// Task of InlineResponse20038 + public async System.Threading.Tasks.Task GetWebhookLogsAsync (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) { - TalonOne.Client.ApiResponse localVarResponse = await GetWebhookLogsAsyncWithHttpInfo(pageSize, skip, sort, status, webhookId, applicationId, campaignId, requestUuid, createdBefore, createdAfter); + TalonOne.Client.ApiResponse localVarResponse = await GetWebhookLogsAsyncWithHttpInfo(pageSize, skip, sort, status, webhookId, applicationId, campaignId, requestUuid, createdBefore, createdAfter); return localVarResponse.Data; } @@ -29512,14 +29221,14 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// Filter results by HTTP status codes. (optional) - /// Filter results by Webhook. (optional) + /// Filter results by webhook id. (optional) /// Filter results by Application ID. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// Filter results by request UUID. (optional) /// Filter results where request and response times to return entries before parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) /// Filter results where request and response times to return entries after parameter value, expected to be an RFC3339 timestamp string. You can use any time zone setting. Talon.One will convert to UTC internally. (optional) - /// Task of ApiResponse (InlineResponse20039) - public async System.Threading.Tasks.Task> GetWebhookLogsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) + /// Task of ApiResponse (InlineResponse20038) + public async System.Threading.Tasks.Task> GetWebhookLogsAsyncWithHttpInfo (int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string status = default(string), decimal? webhookId = default(decimal?), decimal? applicationId = default(decimal?), decimal? campaignId = default(decimal?), string requestUuid = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -29602,7 +29311,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/webhook_logs", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/webhook_logs", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -29626,10 +29335,10 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId /// Filter results by visibility. (optional) /// Filter results by outgoing integration type ID. (optional) /// Filter results performing case-insensitive matching against the webhook title. (optional) - /// InlineResponse20037 - public InlineResponse20037 GetWebhooks (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)) + /// InlineResponse20036 + public InlineResponse20036 GetWebhooks (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = GetWebhooksWithHttpInfo(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title); + TalonOne.Client.ApiResponse localVarResponse = GetWebhooksWithHttpInfo(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title); return localVarResponse.Data; } @@ -29645,8 +29354,8 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId /// Filter results by visibility. (optional) /// Filter results by outgoing integration type ID. (optional) /// Filter results performing case-insensitive matching against the webhook title. (optional) - /// ApiResponse of InlineResponse20037 - public TalonOne.Client.ApiResponse< InlineResponse20037 > GetWebhooksWithHttpInfo (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)) + /// ApiResponse of InlineResponse20036 + public TalonOne.Client.ApiResponse< InlineResponse20036 > GetWebhooksWithHttpInfo (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -29719,7 +29428,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20037 >("/v1/webhooks", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20036 >("/v1/webhooks", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -29743,10 +29452,10 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId /// Filter results by visibility. (optional) /// Filter results by outgoing integration type ID. (optional) /// Filter results performing case-insensitive matching against the webhook title. (optional) - /// Task of InlineResponse20037 - public async System.Threading.Tasks.Task GetWebhooksAsync (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)) + /// Task of InlineResponse20036 + public async System.Threading.Tasks.Task GetWebhooksAsync (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await GetWebhooksAsyncWithHttpInfo(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title); + TalonOne.Client.ApiResponse localVarResponse = await GetWebhooksAsyncWithHttpInfo(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title); return localVarResponse.Data; } @@ -29763,8 +29472,8 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId /// Filter results by visibility. (optional) /// Filter results by outgoing integration type ID. (optional) /// Filter results performing case-insensitive matching against the webhook title. (optional) - /// Task of ApiResponse (InlineResponse20037) - public async System.Threading.Tasks.Task> GetWebhooksAsyncWithHttpInfo (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)) + /// Task of ApiResponse (InlineResponse20036) + public async System.Threading.Tasks.Task> GetWebhooksAsyncWithHttpInfo (string applicationIds = default(string), string sort = default(string), int? pageSize = default(int?), int? skip = default(int?), string creationType = default(string), string visibility = default(string), int? outgoingIntegrationsTypeId = default(int?), string title = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -29839,7 +29548,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/webhooks", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/webhooks", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -30926,7 +30635,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId } /// - /// Import loyalty cards 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. **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv identifier,state,customerprofileids 123-456-789AT,active,Alexa001;UserA ``` + /// Import loyalty cards 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 ``` /// /// Thrown when fails to make API call /// 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. @@ -30939,7 +30648,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId } /// - /// Import loyalty cards 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. **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv identifier,state,customerprofileids 123-456-789AT,active,Alexa001;UserA ``` + /// Import loyalty cards 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 ``` /// /// Thrown when fails to make API call /// 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. @@ -31011,7 +30720,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId } /// - /// Import loyalty cards 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. **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv identifier,state,customerprofileids 123-456-789AT,active,Alexa001;UserA ``` + /// Import loyalty cards 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 ``` /// /// Thrown when fails to make API call /// 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. @@ -31025,7 +30734,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId } /// - /// Import loyalty cards 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. **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv identifier,state,customerprofileids 123-456-789AT,active,Alexa001;UserA ``` + /// Import loyalty cards 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 ``` /// /// Thrown when fails to make API call /// 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. @@ -31272,7 +30981,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId } /// - /// Import loyalty points 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. - `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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` + /// Import loyalty points 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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` /// /// Thrown when fails to make API call /// 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. @@ -31285,7 +30994,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId } /// - /// Import loyalty points 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. - `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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` + /// Import loyalty points 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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` /// /// Thrown when fails to make API call /// 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. @@ -31357,7 +31066,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId } /// - /// Import loyalty points 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. - `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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` + /// Import loyalty points 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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` /// /// Thrown when fails to make API call /// 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. @@ -31371,7 +31080,7 @@ public async System.Threading.Tasks.Task GetWebhookAsync (int webhookId } /// - /// Import loyalty points 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. - `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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` + /// Import loyalty points 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. **Note**: It must be an RFC3339 timestamp string or string `immediate`. Empty or missing values are considered `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`. - `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 ``` /// /// Thrown when fails to make API call /// 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. @@ -32159,10 +31868,10 @@ public async System.Threading.Tasks.Task InviteUserExternalAsync (NewExternalInv /// The number of items in the response. (optional, default to 50) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// InlineResponse20046 - public InlineResponse20046 ListAchievements (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)) + /// InlineResponse20045 + public InlineResponse20045 ListAchievements (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = ListAchievementsWithHttpInfo(applicationId, campaignId, pageSize, skip, title); + TalonOne.Client.ApiResponse localVarResponse = ListAchievementsWithHttpInfo(applicationId, campaignId, pageSize, skip, title); return localVarResponse.Data; } @@ -32175,8 +31884,8 @@ public async System.Threading.Tasks.Task InviteUserExternalAsync (NewExternalInv /// The number of items in the response. (optional, default to 50) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// ApiResponse of InlineResponse20046 - public TalonOne.Client.ApiResponse< InlineResponse20046 > ListAchievementsWithHttpInfo (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)) + /// ApiResponse of InlineResponse20045 + public TalonOne.Client.ApiResponse< InlineResponse20045 > ListAchievementsWithHttpInfo (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -32231,7 +31940,7 @@ public async System.Threading.Tasks.Task InviteUserExternalAsync (NewExternalInv } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20046 >("/v1/applications/{applicationId}/campaigns/{campaignId}/achievements", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20045 >("/v1/applications/{applicationId}/campaigns/{campaignId}/achievements", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -32252,10 +31961,10 @@ public async System.Threading.Tasks.Task InviteUserExternalAsync (NewExternalInv /// The number of items in the response. (optional, default to 50) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// Task of InlineResponse20046 - public async System.Threading.Tasks.Task ListAchievementsAsync (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)) + /// Task of InlineResponse20045 + public async System.Threading.Tasks.Task ListAchievementsAsync (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await ListAchievementsAsyncWithHttpInfo(applicationId, campaignId, pageSize, skip, title); + TalonOne.Client.ApiResponse localVarResponse = await ListAchievementsAsyncWithHttpInfo(applicationId, campaignId, pageSize, skip, title); return localVarResponse.Data; } @@ -32269,8 +31978,8 @@ public async System.Threading.Tasks.Task InviteUserExternalAsync (NewExternalInv /// The number of items in the response. (optional, default to 50) /// The number of items to skip when paging through large result sets. (optional) /// 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. (optional) - /// Task of ApiResponse (InlineResponse20046) - public async System.Threading.Tasks.Task> ListAchievementsAsyncWithHttpInfo (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)) + /// Task of ApiResponse (InlineResponse20045) + public async System.Threading.Tasks.Task> ListAchievementsAsyncWithHttpInfo (int applicationId, int campaignId, int? pageSize = default(int?), int? skip = default(int?), string title = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -32327,7 +32036,7 @@ public async System.Threading.Tasks.Task InviteUserExternalAsync (NewExternalInv // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/campaigns/{campaignId}/achievements", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/campaigns/{campaignId}/achievements", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -32343,10 +32052,10 @@ public async System.Threading.Tasks.Task InviteUserExternalAsync (NewExternalInv /// List roles List all roles. /// /// Thrown when fails to make API call - /// InlineResponse20044 - public InlineResponse20044 ListAllRolesV2 () + /// InlineResponse20043 + public InlineResponse20043 ListAllRolesV2 () { - TalonOne.Client.ApiResponse localVarResponse = ListAllRolesV2WithHttpInfo(); + TalonOne.Client.ApiResponse localVarResponse = ListAllRolesV2WithHttpInfo(); return localVarResponse.Data; } @@ -32354,8 +32063,8 @@ public InlineResponse20044 ListAllRolesV2 () /// List roles List all roles. /// /// Thrown when fails to make API call - /// ApiResponse of InlineResponse20044 - public TalonOne.Client.ApiResponse< InlineResponse20044 > ListAllRolesV2WithHttpInfo () + /// ApiResponse of InlineResponse20043 + public TalonOne.Client.ApiResponse< InlineResponse20043 > ListAllRolesV2WithHttpInfo () { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -32396,7 +32105,7 @@ public TalonOne.Client.ApiResponse< InlineResponse20044 > ListAllRolesV2WithHttp } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20044 >("/v2/roles", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20043 >("/v2/roles", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -32412,10 +32121,10 @@ public TalonOne.Client.ApiResponse< InlineResponse20044 > ListAllRolesV2WithHttp /// List roles List all roles. /// /// Thrown when fails to make API call - /// Task of InlineResponse20044 - public async System.Threading.Tasks.Task ListAllRolesV2Async () + /// Task of InlineResponse20043 + public async System.Threading.Tasks.Task ListAllRolesV2Async () { - TalonOne.Client.ApiResponse localVarResponse = await ListAllRolesV2AsyncWithHttpInfo(); + TalonOne.Client.ApiResponse localVarResponse = await ListAllRolesV2AsyncWithHttpInfo(); return localVarResponse.Data; } @@ -32424,8 +32133,8 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn /// List roles List all roles. /// /// Thrown when fails to make API call - /// Task of ApiResponse (InlineResponse20044) - public async System.Threading.Tasks.Task> ListAllRolesV2AsyncWithHttpInfo () + /// Task of ApiResponse (InlineResponse20043) + public async System.Threading.Tasks.Task> ListAllRolesV2AsyncWithHttpInfo () { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -32468,7 +32177,7 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v2/roles", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v2/roles", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -32490,10 +32199,10 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn /// 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. (optional) /// Filter results by one or more SKUs. Must be exact match. (optional) /// Filter results by one or more product names. Must be exact match. (optional) - /// InlineResponse20035 - public InlineResponse20035 ListCatalogItems (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)) + /// InlineResponse20034 + public InlineResponse20034 ListCatalogItems (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)) { - TalonOne.Client.ApiResponse localVarResponse = ListCatalogItemsWithHttpInfo(catalogId, pageSize, skip, withTotalResultSize, sku, productNames); + TalonOne.Client.ApiResponse localVarResponse = ListCatalogItemsWithHttpInfo(catalogId, pageSize, skip, withTotalResultSize, sku, productNames); return localVarResponse.Data; } @@ -32507,8 +32216,8 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn /// 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. (optional) /// Filter results by one or more SKUs. Must be exact match. (optional) /// Filter results by one or more product names. Must be exact match. (optional) - /// ApiResponse of InlineResponse20035 - public TalonOne.Client.ApiResponse< InlineResponse20035 > ListCatalogItemsWithHttpInfo (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)) + /// ApiResponse of InlineResponse20034 + public TalonOne.Client.ApiResponse< InlineResponse20034 > ListCatalogItemsWithHttpInfo (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -32570,7 +32279,7 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20035 >("/v1/catalogs/{catalogId}/items", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20034 >("/v1/catalogs/{catalogId}/items", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -32592,10 +32301,10 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn /// 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. (optional) /// Filter results by one or more SKUs. Must be exact match. (optional) /// Filter results by one or more product names. Must be exact match. (optional) - /// Task of InlineResponse20035 - public async System.Threading.Tasks.Task ListCatalogItemsAsync (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)) + /// Task of InlineResponse20034 + public async System.Threading.Tasks.Task ListCatalogItemsAsync (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)) { - TalonOne.Client.ApiResponse localVarResponse = await ListCatalogItemsAsyncWithHttpInfo(catalogId, pageSize, skip, withTotalResultSize, sku, productNames); + TalonOne.Client.ApiResponse localVarResponse = await ListCatalogItemsAsyncWithHttpInfo(catalogId, pageSize, skip, withTotalResultSize, sku, productNames); return localVarResponse.Data; } @@ -32610,8 +32319,8 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn /// 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. (optional) /// Filter results by one or more SKUs. Must be exact match. (optional) /// Filter results by one or more product names. Must be exact match. (optional) - /// Task of ApiResponse (InlineResponse20035) - public async System.Threading.Tasks.Task> ListCatalogItemsAsyncWithHttpInfo (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)) + /// Task of ApiResponse (InlineResponse20034) + public async System.Threading.Tasks.Task> ListCatalogItemsAsyncWithHttpInfo (int catalogId, int? pageSize = default(int?), int? skip = default(int?), bool? withTotalResultSize = default(bool?), List sku = default(List), List productNames = default(List)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -32675,7 +32384,7 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/catalogs/{catalogId}/items", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/catalogs/{catalogId}/items", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -33116,14 +32825,14 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// The name of the store. (optional) /// The integration ID of the store. (optional) /// Filter results by `name` or `integrationId`. (optional) - /// InlineResponse20045 - public InlineResponse20045 ListStores (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)) + /// InlineResponse20044 + public InlineResponse20044 ListStores (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = ListStoresWithHttpInfo(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query); + TalonOne.Client.ApiResponse localVarResponse = ListStoresWithHttpInfo(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query); return localVarResponse.Data; } @@ -33136,12 +32845,12 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// The name of the store. (optional) /// The integration ID of the store. (optional) /// Filter results by `name` or `integrationId`. (optional) - /// ApiResponse of InlineResponse20045 - public TalonOne.Client.ApiResponse< InlineResponse20045 > ListStoresWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)) + /// ApiResponse of InlineResponse20044 + public TalonOne.Client.ApiResponse< InlineResponse20044 > ListStoresWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -33215,7 +32924,7 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn } // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponse20045 >("/v1/applications/{applicationId}/stores", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get< InlineResponse20044 >("/v1/applications/{applicationId}/stores", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -33236,14 +32945,14 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// The name of the store. (optional) /// The integration ID of the store. (optional) /// Filter results by `name` or `integrationId`. (optional) - /// Task of InlineResponse20045 - public async System.Threading.Tasks.Task ListStoresAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)) + /// Task of InlineResponse20044 + public async System.Threading.Tasks.Task ListStoresAsync (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)) { - TalonOne.Client.ApiResponse localVarResponse = await ListStoresAsyncWithHttpInfo(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query); + TalonOne.Client.ApiResponse localVarResponse = await ListStoresAsyncWithHttpInfo(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query); return localVarResponse.Data; } @@ -33257,12 +32966,12 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn /// The number of items to skip when paging through large result sets. (optional) /// 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:** This parameter works only with numeric fields. (optional) /// 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. (optional) - /// Filter results by campaign. (optional) + /// Filter results by campaign ID. (optional) /// The name of the store. (optional) /// The integration ID of the store. (optional) /// Filter results by `name` or `integrationId`. (optional) - /// Task of ApiResponse (InlineResponse20045) - public async System.Threading.Tasks.Task> ListStoresAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)) + /// Task of ApiResponse (InlineResponse20044) + public async System.Threading.Tasks.Task> ListStoresAsyncWithHttpInfo (int applicationId, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), bool? withTotalResultSize = default(bool?), decimal? campaignId = default(decimal?), string name = default(string), string integrationId = default(string), string query = default(string)) { TalonOne.Client.RequestOptions localVarRequestOptions = new TalonOne.Client.RequestOptions(); @@ -33338,7 +33047,7 @@ public async System.Threading.Tasks.Task ListAllRolesV2Asyn // make the HTTP request - var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/stores", localVarRequestOptions, this.Configuration); + var localVarResponse = await this.AsynchronousClient.GetAsync("/v1/applications/{applicationId}/stores", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -35827,9 +35536,9 @@ public async System.Threading.Tasks.Task ScimReplaceUserAttributesAsyn /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// InlineResponse2009 public InlineResponse2009 SearchCouponsAdvancedApplicationWideWithoutTotalCount (int applicationId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), string batchId = default(string), bool? exactMatch = default(bool?), string campaignState = default(string)) @@ -35853,9 +35562,9 @@ public async System.Threading.Tasks.Task ScimReplaceUserAttributesAsyn /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// ApiResponse of InlineResponse2009 public TalonOne.Client.ApiResponse< InlineResponse2009 > SearchCouponsAdvancedApplicationWideWithoutTotalCountWithHttpInfo (int applicationId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), string batchId = default(string), bool? exactMatch = default(bool?), string campaignState = default(string)) @@ -35985,9 +35694,9 @@ public async System.Threading.Tasks.Task ScimReplaceUserAttributesAsyn /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// Task of InlineResponse2009 public async System.Threading.Tasks.Task SearchCouponsAdvancedApplicationWideWithoutTotalCountAsync (int applicationId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), string batchId = default(string), bool? exactMatch = default(bool?), string campaignState = default(string)) @@ -36012,9 +35721,9 @@ public async System.Threading.Tasks.Task ScimReplaceUserAttributesAsyn /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) /// Filter results by batches of coupons (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// 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. (optional) /// Task of ApiResponse (InlineResponse2009) public async System.Threading.Tasks.Task> SearchCouponsAdvancedApplicationWideWithoutTotalCountAsyncWithHttpInfo (int applicationId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), string batchId = default(string), bool? exactMatch = default(bool?), string campaignState = default(string)) @@ -36147,8 +35856,8 @@ public async System.Threading.Tasks.Task ScimReplaceUserAttributesAsyn /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// Filter results by batches of coupons (optional) /// InlineResponse2009 public InlineResponse2009 SearchCouponsAdvancedWithoutTotalCount (int applicationId, int campaignId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?), string batchId = default(string)) @@ -36173,8 +35882,8 @@ public async System.Threading.Tasks.Task ScimReplaceUserAttributesAsyn /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// Filter results by batches of coupons (optional) /// ApiResponse of InlineResponse2009 public TalonOne.Client.ApiResponse< InlineResponse2009 > SearchCouponsAdvancedWithoutTotalCountWithHttpInfo (int applicationId, int campaignId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?), string batchId = default(string)) @@ -36302,8 +36011,8 @@ public async System.Threading.Tasks.Task ScimReplaceUserAttributesAsyn /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// Filter results by batches of coupons (optional) /// Task of InlineResponse2009 public async System.Threading.Tasks.Task SearchCouponsAdvancedWithoutTotalCountAsync (int applicationId, int campaignId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?), string batchId = default(string)) @@ -36329,8 +36038,8 @@ public async System.Threading.Tasks.Task ScimReplaceUserAttributesAsyn /// 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. (optional) /// Either \"true\" or \"false\". If \"true\", only coupons where `usageCounter < usageLimit` will be returned, \"false\" will return only coupons where `usageCounter >= usageLimit`. (optional) /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. (optional) - /// Filter results by match with a profile id specified in the coupon's RecipientIntegrationId field (optional) - /// Filter results to an exact case-insensitive matching against the coupon code (optional, default to false) + /// Filter results by match with a profile ID specified in the coupon's RecipientIntegrationId field. (optional) + /// Filter results to an exact case-insensitive matching against the coupon code. (optional, default to false) /// Filter results by batches of coupons (optional) /// Task of ApiResponse (InlineResponse2009) public async System.Threading.Tasks.Task> SearchCouponsAdvancedWithoutTotalCountAsyncWithHttpInfo (int applicationId, int campaignId, Object body, int? pageSize = default(int?), int? skip = default(int?), string sort = default(string), string value = default(string), DateTime? createdBefore = default(DateTime?), DateTime? createdAfter = default(DateTime?), string valid = default(string), string usable = default(string), int? referralId = default(int?), string recipientIntegrationId = default(string), bool? exactMatch = default(bool?), string batchId = default(string)) @@ -37284,7 +36993,7 @@ public async System.Threading.Tasks.Task UpdateAttributeAsync (int at } /// - /// Update campaign Update the given campaign. + /// Update campaign 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -37298,7 +37007,7 @@ public Campaign UpdateCampaign (int applicationId, int campaignId, UpdateCampaig } /// - /// Update campaign Update the given campaign. + /// Update campaign 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -37367,7 +37076,7 @@ public TalonOne.Client.ApiResponse< Campaign > UpdateCampaignWithHttpInfo (int a } /// - /// Update campaign Update the given campaign. + /// Update campaign 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -37382,7 +37091,7 @@ public async System.Threading.Tasks.Task UpdateCampaignAsync (int appl } /// - /// Update campaign Update the given campaign. + /// Update campaign 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. /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -37628,7 +37337,7 @@ public async System.Threading.Tasks.Task UpdateCollectionAsync (int } /// - /// Update coupon Update the specified coupon. <div class=\"redoc-section\"> <p class=\"title\">Important</p> <p>With this <code>PUT</code> endpoint alone, 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> + /// Update coupon 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> /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -37643,7 +37352,7 @@ public Coupon UpdateCoupon (int applicationId, int campaignId, string couponId, } /// - /// Update coupon Update the specified coupon. <div class=\"redoc-section\"> <p class=\"title\">Important</p> <p>With this <code>PUT</code> endpoint alone, 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> + /// Update coupon 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> /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -37718,7 +37427,7 @@ public TalonOne.Client.ApiResponse< Coupon > UpdateCouponWithHttpInfo (int appli } /// - /// Update coupon Update the specified coupon. <div class=\"redoc-section\"> <p class=\"title\">Important</p> <p>With this <code>PUT</code> endpoint alone, 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> + /// Update coupon 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> /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -37734,7 +37443,7 @@ public async System.Threading.Tasks.Task UpdateCouponAsync (int applicat } /// - /// Update coupon Update the specified coupon. <div class=\"redoc-section\"> <p class=\"title\">Important</p> <p>With this <code>PUT</code> endpoint alone, 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> + /// Update coupon 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> /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -37811,7 +37520,7 @@ public async System.Threading.Tasks.Task UpdateCouponAsync (int applicat } /// - /// Update coupons Update all coupons, or a specific batch of coupons in the given campaign. You can find the `batchId` in the **Coupons** view of your Application 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 timeout after 30 minutes. If you hit a timeout, reach out to our support team.</li> </ul> </div> To update a specific coupon, use [Update coupon](#operation/updateCoupon). + /// Update coupons 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -37824,7 +37533,7 @@ public void UpdateCouponBatch (int applicationId, int campaignId, UpdateCouponBa } /// - /// Update coupons Update all coupons, or a specific batch of coupons in the given campaign. You can find the `batchId` in the **Coupons** view of your Application 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 timeout after 30 minutes. If you hit a timeout, reach out to our support team.</li> </ul> </div> To update a specific coupon, use [Update coupon](#operation/updateCoupon). + /// Update coupons 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -37892,7 +37601,7 @@ public TalonOne.Client.ApiResponse UpdateCouponBatchWithHttpInfo (int ap } /// - /// Update coupons Update all coupons, or a specific batch of coupons in the given campaign. You can find the `batchId` in the **Coupons** view of your Application 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 timeout after 30 minutes. If you hit a timeout, reach out to our support team.</li> </ul> </div> To update a specific coupon, use [Update coupon](#operation/updateCoupon). + /// Update coupons 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. @@ -37906,7 +37615,7 @@ public async System.Threading.Tasks.Task UpdateCouponBatchAsync (int application } /// - /// Update coupons Update all coupons, or a specific batch of coupons in the given campaign. You can find the `batchId` in the **Coupons** view of your Application 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 timeout after 30 minutes. If you hit a timeout, reach out to our support team.</li> </ul> </div> To update a specific coupon, use [Update coupon](#operation/updateCoupon). + /// Update coupons 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). /// /// Thrown when fails to make API call /// The ID of the Application. It is displayed in your Talon.One deployment URL. diff --git a/src/TalonOne/Client/Configuration.cs b/src/TalonOne/Client/Configuration.cs index da6822a..31986b2 100644 --- a/src/TalonOne/Client/Configuration.cs +++ b/src/TalonOne/Client/Configuration.cs @@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "7.0.1"; + public const string Version = "8.0.0"; /// /// Identifier for ISO 8601 DateTime Format @@ -96,7 +96,7 @@ public class Configuration : IReadableConfiguration [System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")] public Configuration() { - UserAgent = "OpenAPI-Generator/7.0.1/csharp"; + UserAgent = "OpenAPI-Generator/8.0.0/csharp"; BasePath = "https://yourbaseurl.talon.one"; DefaultHeaders = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -351,7 +351,7 @@ public static String ToDebugReport() String report = "C# SDK (TalonOne) Debug Report:\n"; report += " OS: " + System.Runtime.InteropServices.RuntimeInformation.OSDescription + "\n"; report += " Version of the API: \n"; - report += " SDK Package Version: 7.0.1\n"; + report += " SDK Package Version: 8.0.0\n"; return report; } diff --git a/src/TalonOne/Model/Achievement.cs b/src/TalonOne/Model/Achievement.cs index 8e849b4..da20fb5 100644 --- a/src/TalonOne/Model/Achievement.cs +++ b/src/TalonOne/Model/Achievement.cs @@ -31,6 +31,60 @@ namespace TalonOne.Model [DataContract] public partial class Achievement : IEquatable, IValidatableObject { + /// + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. + /// + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. + [JsonConverter(typeof(StringEnumConverter))] + public enum RecurrencePolicyEnum + { + /// + /// Enum Norecurrence for value: no_recurrence + /// + [EnumMember(Value = "no_recurrence")] + Norecurrence = 1, + + /// + /// Enum Onexpiration for value: on_expiration + /// + [EnumMember(Value = "on_expiration")] + Onexpiration = 2 + + } + + /// + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. + /// + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. + [DataMember(Name="recurrencePolicy", EmitDefaultValue=false)] + public RecurrencePolicyEnum? RecurrencePolicy { get; set; } + /// + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. + /// + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. + [JsonConverter(typeof(StringEnumConverter))] + public enum ActivationPolicyEnum + { + /// + /// Enum Useraction for value: user_action + /// + [EnumMember(Value = "user_action")] + Useraction = 1, + + /// + /// Enum Fixedschedule for value: fixed_schedule + /// + [EnumMember(Value = "fixed_schedule")] + Fixedschedule = 2 + + } + + /// + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. + /// + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. + [DataMember(Name="activationPolicy", EmitDefaultValue=false)] + public ActivationPolicyEnum? ActivationPolicy { get; set; } /// /// Initializes a new instance of the class. /// @@ -47,11 +101,15 @@ protected Achievement() { } /// The required number of actions or the transactional milestone to complete the achievement. (required). /// The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** 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 also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. (required). /// periodEndOverride. + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. . + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. . + /// The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. . + /// The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. . /// ID of the campaign, to which the achievement belongs to (required). /// ID of the user that created this achievement. (required). /// Name of the user that created the achievement. **Note**: This is not available if the user has been deleted. (required). /// Indicates if a customer has made progress in the achievement.. - public Achievement(int id = default(int), DateTime created = default(DateTime), string name = default(string), string title = default(string), string description = default(string), decimal target = default(decimal), string period = default(string), TimePoint periodEndOverride = default(TimePoint), int campaignId = default(int), int userId = default(int), string createdBy = default(string), bool hasProgress = default(bool)) + public Achievement(int id = default(int), DateTime created = default(DateTime), string name = default(string), string title = default(string), string description = default(string), decimal target = default(decimal), string period = default(string), TimePoint periodEndOverride = default(TimePoint), RecurrencePolicyEnum? recurrencePolicy = default(RecurrencePolicyEnum?), ActivationPolicyEnum? activationPolicy = default(ActivationPolicyEnum?), DateTime fixedStartDate = default(DateTime), DateTime endDate = default(DateTime), int campaignId = default(int), int userId = default(int), string createdBy = default(string), bool hasProgress = default(bool)) { this.Id = id; this.Created = created; @@ -69,6 +127,10 @@ protected Achievement() { } // to ensure "createdBy" is required (not null) this.CreatedBy = createdBy ?? throw new ArgumentNullException("createdBy is a required property for Achievement and cannot be null"); this.PeriodEndOverride = periodEndOverride; + this.RecurrencePolicy = recurrencePolicy; + this.ActivationPolicy = activationPolicy; + this.FixedStartDate = fixedStartDate; + this.EndDate = endDate; this.HasProgress = hasProgress; } @@ -127,6 +189,20 @@ protected Achievement() { } [DataMember(Name="periodEndOverride", EmitDefaultValue=false)] public TimePoint PeriodEndOverride { get; set; } + /// + /// The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. + /// + /// The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. + [DataMember(Name="fixedStartDate", EmitDefaultValue=false)] + public DateTime FixedStartDate { get; set; } + + /// + /// The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. + /// + /// The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. + [DataMember(Name="endDate", EmitDefaultValue=false)] + public DateTime EndDate { get; set; } + /// /// ID of the campaign, to which the achievement belongs to /// @@ -171,6 +247,10 @@ public override string ToString() sb.Append(" Target: ").Append(Target).Append("\n"); sb.Append(" Period: ").Append(Period).Append("\n"); sb.Append(" PeriodEndOverride: ").Append(PeriodEndOverride).Append("\n"); + sb.Append(" RecurrencePolicy: ").Append(RecurrencePolicy).Append("\n"); + sb.Append(" ActivationPolicy: ").Append(ActivationPolicy).Append("\n"); + sb.Append(" FixedStartDate: ").Append(FixedStartDate).Append("\n"); + sb.Append(" EndDate: ").Append(EndDate).Append("\n"); sb.Append(" CampaignId: ").Append(CampaignId).Append("\n"); sb.Append(" UserId: ").Append(UserId).Append("\n"); sb.Append(" CreatedBy: ").Append(CreatedBy).Append("\n"); @@ -247,6 +327,24 @@ public bool Equals(Achievement input) (this.PeriodEndOverride != null && this.PeriodEndOverride.Equals(input.PeriodEndOverride)) ) && + ( + this.RecurrencePolicy == input.RecurrencePolicy || + this.RecurrencePolicy.Equals(input.RecurrencePolicy) + ) && + ( + this.ActivationPolicy == input.ActivationPolicy || + this.ActivationPolicy.Equals(input.ActivationPolicy) + ) && + ( + this.FixedStartDate == input.FixedStartDate || + (this.FixedStartDate != null && + this.FixedStartDate.Equals(input.FixedStartDate)) + ) && + ( + this.EndDate == input.EndDate || + (this.EndDate != null && + this.EndDate.Equals(input.EndDate)) + ) && ( this.CampaignId == input.CampaignId || this.CampaignId.Equals(input.CampaignId) @@ -289,6 +387,12 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.Period.GetHashCode(); if (this.PeriodEndOverride != null) hashCode = hashCode * 59 + this.PeriodEndOverride.GetHashCode(); + hashCode = hashCode * 59 + this.RecurrencePolicy.GetHashCode(); + hashCode = hashCode * 59 + this.ActivationPolicy.GetHashCode(); + if (this.FixedStartDate != null) + hashCode = hashCode * 59 + this.FixedStartDate.GetHashCode(); + if (this.EndDate != null) + hashCode = hashCode * 59 + this.EndDate.GetHashCode(); hashCode = hashCode * 59 + this.CampaignId.GetHashCode(); hashCode = hashCode * 59 + this.UserId.GetHashCode(); if (this.CreatedBy != null) diff --git a/src/TalonOne/Model/AddLoyaltyPointsEffectProps.cs b/src/TalonOne/Model/AddLoyaltyPointsEffectProps.cs index ad4d68a..335e89b 100644 --- a/src/TalonOne/Model/AddLoyaltyPointsEffectProps.cs +++ b/src/TalonOne/Model/AddLoyaltyPointsEffectProps.cs @@ -349,6 +349,13 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, length must be less than 108.", new [] { "CardIdentifier" }); } + // CardIdentifier (string) pattern + Regex regexCardIdentifier = new Regex(@"^[A-Za-z0-9_-]*$", RegexOptions.CultureInvariant); + if (false == regexCardIdentifier.Match(this.CardIdentifier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, must match a pattern of " + regexCardIdentifier, new [] { "CardIdentifier" }); + } + yield break; } } diff --git a/src/TalonOne/Model/AdditionalCampaignProperties.cs b/src/TalonOne/Model/AdditionalCampaignProperties.cs index f0f74eb..534e4c1 100644 --- a/src/TalonOne/Model/AdditionalCampaignProperties.cs +++ b/src/TalonOne/Model/AdditionalCampaignProperties.cs @@ -32,9 +32,9 @@ namespace TalonOne.Model public partial class AdditionalCampaignProperties : IEquatable, IValidatableObject { /// - /// A campaign state described exactly as in the Campaign Manager. + /// The campaign state displayed in the Campaign Manager. /// - /// A campaign state described exactly as in the Campaign Manager. + /// The campaign state displayed in the Campaign Manager. [JsonConverter(typeof(StringEnumConverter))] public enum FrontendStateEnum { @@ -66,14 +66,20 @@ public enum FrontendStateEnum /// Enum Archived for value: archived /// [EnumMember(Value = "archived")] - Archived = 5 + Archived = 5, + + /// + /// Enum Staged for value: staged + /// + [EnumMember(Value = "staged")] + Staged = 6 } /// - /// A campaign state described exactly as in the Campaign Manager. + /// The campaign state displayed in the Campaign Manager. /// - /// A campaign state described exactly as in the Campaign Manager. + /// The campaign state displayed in the Campaign Manager. [DataMember(Name="frontendState", EmitDefaultValue=false)] public FrontendStateEnum FrontendState { get; set; } /// @@ -105,7 +111,7 @@ protected AdditionalCampaignProperties() { } /// Name of the user who created this campaign if available.. /// Name of the user who last updated this campaign if available.. /// The ID of the Campaign Template this Campaign was created from.. - /// A campaign state described exactly as in the Campaign Manager. (required). + /// The campaign state displayed in the Campaign Manager. (required). /// Indicates whether the linked stores were imported via a CSV file. (required). public AdditionalCampaignProperties(List budgets = default(List), int couponRedemptionCount = default(int), int referralRedemptionCount = default(int), decimal discountCount = default(decimal), int discountEffectCount = default(int), int couponCreationCount = default(int), int customEffectCount = default(int), int referralCreationCount = default(int), int addFreeItemEffectCount = default(int), int awardedGiveawaysCount = default(int), decimal createdLoyaltyPointsCount = default(decimal), int createdLoyaltyPointsEffectCount = default(int), decimal redeemedLoyaltyPointsCount = default(decimal), int redeemedLoyaltyPointsEffectCount = default(int), int callApiEffectCount = default(int), int reservecouponEffectCount = default(int), DateTime lastActivity = default(DateTime), DateTime updated = default(DateTime), string createdBy = default(string), string updatedBy = default(string), int templateId = default(int), FrontendStateEnum frontendState = default(FrontendStateEnum), bool storesImported = default(bool)) { diff --git a/src/TalonOne/Model/AnalyticsProduct.cs b/src/TalonOne/Model/AnalyticsProduct.cs new file mode 100644 index 0000000..7b83f5f --- /dev/null +++ b/src/TalonOne/Model/AnalyticsProduct.cs @@ -0,0 +1,177 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// AnalyticsProduct + /// + [DataContract] + public partial class AnalyticsProduct : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected AnalyticsProduct() { } + /// + /// Initializes a new instance of the class. + /// + /// The ID of the analytics-level product. (required). + /// Indicates whether the analytics-level product is connected to a catalog and also has a product name. (required). + /// The name of the analytics-level product. (required). + /// The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. . + public AnalyticsProduct(int id = default(int), bool isPreliminary = default(bool), string name = default(string), int catalogId = default(int)) + { + this.Id = id; + this.IsPreliminary = isPreliminary; + // to ensure "name" is required (not null) + this.Name = name ?? throw new ArgumentNullException("name is a required property for AnalyticsProduct and cannot be null"); + this.CatalogId = catalogId; + } + + /// + /// The ID of the analytics-level product. + /// + /// The ID of the analytics-level product. + [DataMember(Name="id", EmitDefaultValue=false)] + public int Id { get; set; } + + /// + /// Indicates whether the analytics-level product is connected to a catalog and also has a product name. + /// + /// Indicates whether the analytics-level product is connected to a catalog and also has a product name. + [DataMember(Name="isPreliminary", EmitDefaultValue=false)] + public bool IsPreliminary { get; set; } + + /// + /// The name of the analytics-level product. + /// + /// The name of the analytics-level product. + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. + /// + /// The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. + [DataMember(Name="catalogId", EmitDefaultValue=false)] + public int CatalogId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class AnalyticsProduct {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" IsPreliminary: ").Append(IsPreliminary).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" CatalogId: ").Append(CatalogId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as AnalyticsProduct); + } + + /// + /// Returns true if AnalyticsProduct instances are equal + /// + /// Instance of AnalyticsProduct to be compared + /// Boolean + public bool Equals(AnalyticsProduct input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + this.Id.Equals(input.Id) + ) && + ( + this.IsPreliminary == input.IsPreliminary || + this.IsPreliminary.Equals(input.IsPreliminary) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.CatalogId == input.CatalogId || + this.CatalogId.Equals(input.CatalogId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = hashCode * 59 + this.Id.GetHashCode(); + hashCode = hashCode * 59 + this.IsPreliminary.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + hashCode = hashCode * 59 + this.CatalogId.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/AnalyticsProductSKU.cs b/src/TalonOne/Model/AnalyticsProductSKU.cs new file mode 100644 index 0000000..acca1b1 --- /dev/null +++ b/src/TalonOne/Model/AnalyticsProductSKU.cs @@ -0,0 +1,164 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// AnalyticsProductSKU + /// + [DataContract] + public partial class AnalyticsProductSKU : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected AnalyticsProductSKU() { } + /// + /// Initializes a new instance of the class. + /// + /// The ID of the SKU linked to the analytics-level product. (required). + /// The SKU linked to the analytics-level product. (required). + /// Values in UTC for the date the SKU linked to the analytics-level product was last updated. (required). + public AnalyticsProductSKU(int id = default(int), string sku = default(string), DateTime lastUpdated = default(DateTime)) + { + this.Id = id; + // to ensure "sku" is required (not null) + this.Sku = sku ?? throw new ArgumentNullException("sku is a required property for AnalyticsProductSKU and cannot be null"); + this.LastUpdated = lastUpdated; + } + + /// + /// The ID of the SKU linked to the analytics-level product. + /// + /// The ID of the SKU linked to the analytics-level product. + [DataMember(Name="id", EmitDefaultValue=false)] + public int Id { get; set; } + + /// + /// The SKU linked to the analytics-level product. + /// + /// The SKU linked to the analytics-level product. + [DataMember(Name="sku", EmitDefaultValue=false)] + public string Sku { get; set; } + + /// + /// Values in UTC for the date the SKU linked to the analytics-level product was last updated. + /// + /// Values in UTC for the date the SKU linked to the analytics-level product was last updated. + [DataMember(Name="lastUpdated", EmitDefaultValue=false)] + public DateTime LastUpdated { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class AnalyticsProductSKU {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Sku: ").Append(Sku).Append("\n"); + sb.Append(" LastUpdated: ").Append(LastUpdated).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as AnalyticsProductSKU); + } + + /// + /// Returns true if AnalyticsProductSKU instances are equal + /// + /// Instance of AnalyticsProductSKU to be compared + /// Boolean + public bool Equals(AnalyticsProductSKU input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + this.Id.Equals(input.Id) + ) && + ( + this.Sku == input.Sku || + (this.Sku != null && + this.Sku.Equals(input.Sku)) + ) && + ( + this.LastUpdated == input.LastUpdated || + (this.LastUpdated != null && + this.LastUpdated.Equals(input.LastUpdated)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Sku != null) + hashCode = hashCode * 59 + this.Sku.GetHashCode(); + if (this.LastUpdated != null) + hashCode = hashCode * 59 + this.LastUpdated.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/ApplicationCampaignAnalytics.cs b/src/TalonOne/Model/ApplicationCampaignAnalytics.cs index 7f2710a..47619fc 100644 --- a/src/TalonOne/Model/ApplicationCampaignAnalytics.cs +++ b/src/TalonOne/Model/ApplicationCampaignAnalytics.cs @@ -66,7 +66,13 @@ public enum CampaignStateEnum /// Enum Archived for value: archived /// [EnumMember(Value = "archived")] - Archived = 5 + Archived = 5, + + /// + /// Enum Staged for value: staged + /// + [EnumMember(Value = "staged")] + Staged = 6 } diff --git a/src/TalonOne/Model/ApplicationCampaignStats.cs b/src/TalonOne/Model/ApplicationCampaignStats.cs index 0d4e3fd..4a4b4df 100644 --- a/src/TalonOne/Model/ApplicationCampaignStats.cs +++ b/src/TalonOne/Model/ApplicationCampaignStats.cs @@ -40,13 +40,15 @@ protected ApplicationCampaignStats() { } /// Initializes a new instance of the class. /// /// Number of disabled campaigns. (required). + /// Number of staged campaigns. (required). /// Number of scheduled campaigns. (required). /// Number of running campaigns. (required). /// Number of expired campaigns. (required). /// Number of archived campaigns. (required). - public ApplicationCampaignStats(int disabled = default(int), int scheduled = default(int), int running = default(int), int expired = default(int), int archived = default(int)) + public ApplicationCampaignStats(int disabled = default(int), int staged = default(int), int scheduled = default(int), int running = default(int), int expired = default(int), int archived = default(int)) { this.Disabled = disabled; + this.Staged = staged; this.Scheduled = scheduled; this.Running = running; this.Expired = expired; @@ -60,6 +62,13 @@ protected ApplicationCampaignStats() { } [DataMember(Name="disabled", EmitDefaultValue=false)] public int Disabled { get; set; } + /// + /// Number of staged campaigns. + /// + /// Number of staged campaigns. + [DataMember(Name="staged", EmitDefaultValue=false)] + public int Staged { get; set; } + /// /// Number of scheduled campaigns. /// @@ -97,6 +106,7 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class ApplicationCampaignStats {\n"); sb.Append(" Disabled: ").Append(Disabled).Append("\n"); + sb.Append(" Staged: ").Append(Staged).Append("\n"); sb.Append(" Scheduled: ").Append(Scheduled).Append("\n"); sb.Append(" Running: ").Append(Running).Append("\n"); sb.Append(" Expired: ").Append(Expired).Append("\n"); @@ -139,6 +149,10 @@ public bool Equals(ApplicationCampaignStats input) this.Disabled == input.Disabled || this.Disabled.Equals(input.Disabled) ) && + ( + this.Staged == input.Staged || + this.Staged.Equals(input.Staged) + ) && ( this.Scheduled == input.Scheduled || this.Scheduled.Equals(input.Scheduled) @@ -167,6 +181,7 @@ public override int GetHashCode() { int hashCode = 41; hashCode = hashCode * 59 + this.Disabled.GetHashCode(); + hashCode = hashCode * 59 + this.Staged.GetHashCode(); hashCode = hashCode * 59 + this.Scheduled.GetHashCode(); hashCode = hashCode * 59 + this.Running.GetHashCode(); hashCode = hashCode * 59 + this.Expired.GetHashCode(); diff --git a/src/TalonOne/Model/ApplicationCustomer.cs b/src/TalonOne/Model/ApplicationCustomer.cs index 7bb0dbd..bc0bf08 100644 --- a/src/TalonOne/Model/ApplicationCustomer.cs +++ b/src/TalonOne/Model/ApplicationCustomer.cs @@ -39,11 +39,11 @@ protected ApplicationCustomer() { } /// /// Initializes a new instance of the class. /// - /// Internal ID of this entity. Internal ID of this entity. (required). - /// The time this entity was created. The time this entity was created. The time this entity was created. The time this entity was created. (required). - /// The integration ID set by your integration layer. The integration ID set by your integration layer. (required). + /// Internal ID of this entity. (required). + /// The time this entity was created. (required). + /// The integration ID set by your integration layer. (required). /// Arbitrary properties associated with this item. (required). - /// The ID of the Talon.One account that owns this profile. The ID of the Talon.One account that owns this profile. (required). + /// The ID of the Talon.One account that owns this profile. (required). /// The total amount of closed sessions by a customer. A closed session is a successful purchase. (required). /// The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. (required). /// **DEPRECATED** A list of loyalty programs joined by the customer. . @@ -70,23 +70,23 @@ protected ApplicationCustomer() { } } /// - /// Internal ID of this entity. Internal ID of this entity. + /// Internal ID of this entity. /// - /// Internal ID of this entity. Internal ID of this entity. + /// Internal ID of this entity. [DataMember(Name="id", EmitDefaultValue=false)] public int Id { get; set; } /// - /// The time this entity was created. The time this entity was created. The time this entity was created. The time this entity was created. + /// The time this entity was created. /// - /// The time this entity was created. The time this entity was created. The time this entity was created. The time this entity was created. + /// The time this entity was created. [DataMember(Name="created", EmitDefaultValue=false)] public DateTime Created { get; set; } /// - /// The integration ID set by your integration layer. The integration ID set by your integration layer. + /// The integration ID set by your integration layer. /// - /// The integration ID set by your integration layer. The integration ID set by your integration layer. + /// The integration ID set by your integration layer. [DataMember(Name="integrationId", EmitDefaultValue=false)] public string IntegrationId { get; set; } @@ -98,9 +98,9 @@ protected ApplicationCustomer() { } public Object Attributes { get; set; } /// - /// The ID of the Talon.One account that owns this profile. The ID of the Talon.One account that owns this profile. + /// The ID of the Talon.One account that owns this profile. /// - /// The ID of the Talon.One account that owns this profile. The ID of the Talon.One account that owns this profile. + /// The ID of the Talon.One account that owns this profile. [DataMember(Name="accountId", EmitDefaultValue=false)] public int AccountId { get; set; } diff --git a/src/TalonOne/Model/ApplicationSession.cs b/src/TalonOne/Model/ApplicationSession.cs index ff03a49..7c976da 100644 --- a/src/TalonOne/Model/ApplicationSession.cs +++ b/src/TalonOne/Model/ApplicationSession.cs @@ -79,7 +79,7 @@ protected ApplicationSession() { } /// Initializes a new instance of the class. /// /// Internal ID of this entity. (required). - /// The time this entity was created. The time this entity was created. (required). + /// The time this entity was created. (required). /// The integration ID set by your integration layer. (required). /// The integration ID of the store. You choose this ID when you create a store.. /// The ID of the application that owns this entity. (required). @@ -125,9 +125,9 @@ protected ApplicationSession() { } public int Id { get; set; } /// - /// The time this entity was created. The time this entity was created. + /// The time this entity was created. /// - /// The time this entity was created. The time this entity was created. + /// The time this entity was created. [DataMember(Name="created", EmitDefaultValue=false)] public DateTime Created { get; set; } diff --git a/src/TalonOne/Model/AudienceCustomer.cs b/src/TalonOne/Model/AudienceCustomer.cs index 03e0dac..3e148e5 100644 --- a/src/TalonOne/Model/AudienceCustomer.cs +++ b/src/TalonOne/Model/AudienceCustomer.cs @@ -40,7 +40,7 @@ protected AudienceCustomer() { } /// Initializes a new instance of the class. /// /// Internal ID of this entity. (required). - /// The time this entity was created. The time this entity was created. (required). + /// The time this entity was created. (required). /// The integration ID set by your integration layer. (required). /// Arbitrary properties associated with this item. (required). /// The ID of the Talon.One account that owns this profile. (required). @@ -79,9 +79,9 @@ protected AudienceCustomer() { } public int Id { get; set; } /// - /// The time this entity was created. The time this entity was created. + /// The time this entity was created. /// - /// The time this entity was created. The time this entity was created. + /// The time this entity was created. [DataMember(Name="created", EmitDefaultValue=false)] public DateTime Created { get; set; } diff --git a/src/TalonOne/Model/BaseLoyaltyProgram.cs b/src/TalonOne/Model/BaseLoyaltyProgram.cs index 995dc25..3434af2 100644 --- a/src/TalonOne/Model/BaseLoyaltyProgram.cs +++ b/src/TalonOne/Model/BaseLoyaltyProgram.cs @@ -131,6 +131,33 @@ public enum TiersDowngradePolicyEnum [DataMember(Name="tiersDowngradePolicy", EmitDefaultValue=false)] public TiersDowngradePolicyEnum? TiersDowngradePolicy { get; set; } /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + [JsonConverter(typeof(StringEnumConverter))] + public enum ReturnPolicyEnum + { + /// + /// Enum Onlypending for value: only_pending + /// + [EnumMember(Value = "only_pending")] + Onlypending = 1, + + /// + /// Enum Withinbalance for value: within_balance + /// + [EnumMember(Value = "within_balance")] + Withinbalance = 2 + + } + + /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + [DataMember(Name="returnPolicy", EmitDefaultValue=false)] + public ReturnPolicyEnum? ReturnPolicy { get; set; } + /// /// Initializes a new instance of the class. /// /// The display title for the Loyalty Program.. @@ -147,7 +174,8 @@ public enum TiersDowngradePolicyEnum /// The amount of time after which the tier expires and is reevaluated. 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. . /// The policy that defines how customer tiers are downgraded in the loyalty program after tier reevaluation. - `one_down`: If the customer doesn't have enough points to stay in the current tier, they are downgraded by one tier. - `balance_based`: The customer's tier is reevaluated based on the amount of active points they have at the moment. . /// cardCodeSettings. - public BaseLoyaltyProgram(string title = default(string), string description = default(string), List subscribedApplications = default(List), string defaultValidity = default(string), string defaultPending = default(string), bool allowSubledger = default(bool), int usersPerCardLimit = default(int), bool sandbox = default(bool), ProgramJoinPolicyEnum? programJoinPolicy = default(ProgramJoinPolicyEnum?), TiersExpirationPolicyEnum? tiersExpirationPolicy = default(TiersExpirationPolicyEnum?), DateTime tierCycleStartDate = default(DateTime), string tiersExpireIn = default(string), TiersDowngradePolicyEnum? tiersDowngradePolicy = default(TiersDowngradePolicyEnum?), CodeGeneratorSettings cardCodeSettings = default(CodeGeneratorSettings)) + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. . + public BaseLoyaltyProgram(string title = default(string), string description = default(string), List subscribedApplications = default(List), string defaultValidity = default(string), string defaultPending = default(string), bool allowSubledger = default(bool), int usersPerCardLimit = default(int), bool sandbox = default(bool), ProgramJoinPolicyEnum? programJoinPolicy = default(ProgramJoinPolicyEnum?), TiersExpirationPolicyEnum? tiersExpirationPolicy = default(TiersExpirationPolicyEnum?), DateTime tierCycleStartDate = default(DateTime), string tiersExpireIn = default(string), TiersDowngradePolicyEnum? tiersDowngradePolicy = default(TiersDowngradePolicyEnum?), CodeGeneratorSettings cardCodeSettings = default(CodeGeneratorSettings), ReturnPolicyEnum? returnPolicy = default(ReturnPolicyEnum?)) { this.Title = title; this.Description = description; @@ -163,6 +191,7 @@ public enum TiersDowngradePolicyEnum this.TiersExpireIn = tiersExpireIn; this.TiersDowngradePolicy = tiersDowngradePolicy; this.CardCodeSettings = cardCodeSettings; + this.ReturnPolicy = returnPolicy; } /// @@ -263,6 +292,7 @@ public override string ToString() sb.Append(" TiersExpireIn: ").Append(TiersExpireIn).Append("\n"); sb.Append(" TiersDowngradePolicy: ").Append(TiersDowngradePolicy).Append("\n"); sb.Append(" CardCodeSettings: ").Append(CardCodeSettings).Append("\n"); + sb.Append(" ReturnPolicy: ").Append(ReturnPolicy).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -361,6 +391,10 @@ public bool Equals(BaseLoyaltyProgram input) this.CardCodeSettings == input.CardCodeSettings || (this.CardCodeSettings != null && this.CardCodeSettings.Equals(input.CardCodeSettings)) + ) && + ( + this.ReturnPolicy == input.ReturnPolicy || + this.ReturnPolicy.Equals(input.ReturnPolicy) ); } @@ -395,6 +429,7 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.TiersDowngradePolicy.GetHashCode(); if (this.CardCodeSettings != null) hashCode = hashCode * 59 + this.CardCodeSettings.GetHashCode(); + hashCode = hashCode * 59 + this.ReturnPolicy.GetHashCode(); return hashCode; } } diff --git a/src/TalonOne/Model/BulkOperationOnCampaigns.cs b/src/TalonOne/Model/BulkOperationOnCampaigns.cs index 82b88d0..a846c84 100644 --- a/src/TalonOne/Model/BulkOperationOnCampaigns.cs +++ b/src/TalonOne/Model/BulkOperationOnCampaigns.cs @@ -48,7 +48,13 @@ public enum OperationEnum /// Enum Delete for value: delete /// [EnumMember(Value = "delete")] - Delete = 2 + Delete = 2, + + /// + /// Enum Activaterevision for value: activate_revision + /// + [EnumMember(Value = "activate_revision")] + Activaterevision = 3 } @@ -68,11 +74,13 @@ protected BulkOperationOnCampaigns() { } /// /// The operation to perform on the specified campaign IDs. (required). /// The list of campaign IDs on which the operation will be performed. (required). - public BulkOperationOnCampaigns(OperationEnum operation = default(OperationEnum), List campaignIds = default(List)) + /// Timestamp when the revisions are finalized after the `activate_revision` operation. The current time is used when left blank. **Note:** It must be an RFC3339 timestamp string. . + public BulkOperationOnCampaigns(OperationEnum operation = default(OperationEnum), List campaignIds = default(List), DateTime activateAt = default(DateTime)) { this.Operation = operation; // to ensure "campaignIds" is required (not null) this.CampaignIds = campaignIds ?? throw new ArgumentNullException("campaignIds is a required property for BulkOperationOnCampaigns and cannot be null"); + this.ActivateAt = activateAt; } /// @@ -82,6 +90,13 @@ protected BulkOperationOnCampaigns() { } [DataMember(Name="campaignIds", EmitDefaultValue=false)] public List CampaignIds { get; set; } + /// + /// Timestamp when the revisions are finalized after the `activate_revision` operation. The current time is used when left blank. **Note:** It must be an RFC3339 timestamp string. + /// + /// Timestamp when the revisions are finalized after the `activate_revision` operation. The current time is used when left blank. **Note:** It must be an RFC3339 timestamp string. + [DataMember(Name="activateAt", EmitDefaultValue=false)] + public DateTime ActivateAt { get; set; } + /// /// Returns the string presentation of the object /// @@ -92,6 +107,7 @@ public override string ToString() sb.Append("class BulkOperationOnCampaigns {\n"); sb.Append(" Operation: ").Append(Operation).Append("\n"); sb.Append(" CampaignIds: ").Append(CampaignIds).Append("\n"); + sb.Append(" ActivateAt: ").Append(ActivateAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -135,6 +151,11 @@ public bool Equals(BulkOperationOnCampaigns input) this.CampaignIds != null && input.CampaignIds != null && this.CampaignIds.SequenceEqual(input.CampaignIds) + ) && + ( + this.ActivateAt == input.ActivateAt || + (this.ActivateAt != null && + this.ActivateAt.Equals(input.ActivateAt)) ); } @@ -150,6 +171,8 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.Operation.GetHashCode(); if (this.CampaignIds != null) hashCode = hashCode * 59 + this.CampaignIds.GetHashCode(); + if (this.ActivateAt != null) + hashCode = hashCode * 59 + this.ActivateAt.GetHashCode(); return hashCode; } } diff --git a/src/TalonOne/Model/Campaign.cs b/src/TalonOne/Model/Campaign.cs index 0b92293..1286c93 100644 --- a/src/TalonOne/Model/Campaign.cs +++ b/src/TalonOne/Model/Campaign.cs @@ -143,9 +143,9 @@ public enum TypeEnum [DataMember(Name="type", EmitDefaultValue=false)] public TypeEnum Type { get; set; } /// - /// A campaign state described exactly as in the Campaign Manager. + /// The campaign state displayed in the Campaign Manager. /// - /// A campaign state described exactly as in the Campaign Manager. + /// The campaign state displayed in the Campaign Manager. [JsonConverter(typeof(StringEnumConverter))] public enum FrontendStateEnum { @@ -177,17 +177,50 @@ public enum FrontendStateEnum /// Enum Archived for value: archived /// [EnumMember(Value = "archived")] - Archived = 5 + Archived = 5, + + /// + /// Enum Staged for value: staged + /// + [EnumMember(Value = "staged")] + Staged = 6 } /// - /// A campaign state described exactly as in the Campaign Manager. + /// The campaign state displayed in the Campaign Manager. /// - /// A campaign state described exactly as in the Campaign Manager. + /// The campaign state displayed in the Campaign Manager. [DataMember(Name="frontendState", EmitDefaultValue=false)] public FrontendStateEnum FrontendState { get; set; } /// + /// The campaign revision state displayed in the Campaign Manager. + /// + /// The campaign revision state displayed in the Campaign Manager. + [JsonConverter(typeof(StringEnumConverter))] + public enum RevisionFrontendStateEnum + { + /// + /// Enum Revised for value: revised + /// + [EnumMember(Value = "revised")] + Revised = 1, + + /// + /// Enum Pending for value: pending + /// + [EnumMember(Value = "pending")] + Pending = 2 + + } + + /// + /// The campaign revision state displayed in the Campaign Manager. + /// + /// The campaign revision state displayed in the Campaign Manager. + [DataMember(Name="revisionFrontendState", EmitDefaultValue=false)] + public RevisionFrontendStateEnum? RevisionFrontendState { get; set; } + /// /// Initializes a new instance of the class. /// [JsonConstructorAttribute] @@ -235,15 +268,16 @@ protected Campaign() { } /// Name of the user who created this campaign if available.. /// Name of the user who last updated this campaign if available.. /// The ID of the Campaign Template this Campaign was created from.. - /// A campaign state described exactly as in the Campaign Manager. (required). + /// The campaign state displayed in the Campaign Manager. (required). /// Indicates whether the linked stores were imported via a CSV file. (required). + /// The campaign revision state displayed in the Campaign Manager.. /// ID of the revision that was last activated on this campaign. . /// ID of the revision version that is active on the campaign. . /// Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. . /// ID of the revision currently being modified for the campaign. . /// ID of the latest version applied on the current revision. . /// Flag for determining whether we use current revision when sending requests with staging API key. (default to false). - public Campaign(int id = default(int), DateTime created = default(DateTime), int applicationId = default(int), int userId = default(int), string name = default(string), string description = default(string), DateTime startTime = default(DateTime), DateTime endTime = default(DateTime), Object attributes = default(Object), StateEnum state = StateEnum.Enabled, int activeRulesetId = default(int), List tags = default(List), List features = default(List), CodeGeneratorSettings couponSettings = default(CodeGeneratorSettings), CodeGeneratorSettings referralSettings = default(CodeGeneratorSettings), List limits = default(List), List campaignGroups = default(List), TypeEnum type = TypeEnum.Advanced, List linkedStoreIds = default(List), List budgets = default(List), int couponRedemptionCount = default(int), int referralRedemptionCount = default(int), decimal discountCount = default(decimal), int discountEffectCount = default(int), int couponCreationCount = default(int), int customEffectCount = default(int), int referralCreationCount = default(int), int addFreeItemEffectCount = default(int), int awardedGiveawaysCount = default(int), decimal createdLoyaltyPointsCount = default(decimal), int createdLoyaltyPointsEffectCount = default(int), decimal redeemedLoyaltyPointsCount = default(decimal), int redeemedLoyaltyPointsEffectCount = default(int), int callApiEffectCount = default(int), int reservecouponEffectCount = default(int), DateTime lastActivity = default(DateTime), DateTime updated = default(DateTime), string createdBy = default(string), string updatedBy = default(string), int templateId = default(int), FrontendStateEnum frontendState = default(FrontendStateEnum), bool storesImported = default(bool), int activeRevisionId = default(int), int activeRevisionVersionId = default(int), int version = default(int), int currentRevisionId = default(int), int currentRevisionVersionId = default(int), bool stageRevision = false) + public Campaign(int id = default(int), DateTime created = default(DateTime), int applicationId = default(int), int userId = default(int), string name = default(string), string description = default(string), DateTime startTime = default(DateTime), DateTime endTime = default(DateTime), Object attributes = default(Object), StateEnum state = StateEnum.Enabled, int activeRulesetId = default(int), List tags = default(List), List features = default(List), CodeGeneratorSettings couponSettings = default(CodeGeneratorSettings), CodeGeneratorSettings referralSettings = default(CodeGeneratorSettings), List limits = default(List), List campaignGroups = default(List), TypeEnum type = TypeEnum.Advanced, List linkedStoreIds = default(List), List budgets = default(List), int couponRedemptionCount = default(int), int referralRedemptionCount = default(int), decimal discountCount = default(decimal), int discountEffectCount = default(int), int couponCreationCount = default(int), int customEffectCount = default(int), int referralCreationCount = default(int), int addFreeItemEffectCount = default(int), int awardedGiveawaysCount = default(int), decimal createdLoyaltyPointsCount = default(decimal), int createdLoyaltyPointsEffectCount = default(int), decimal redeemedLoyaltyPointsCount = default(decimal), int redeemedLoyaltyPointsEffectCount = default(int), int callApiEffectCount = default(int), int reservecouponEffectCount = default(int), DateTime lastActivity = default(DateTime), DateTime updated = default(DateTime), string createdBy = default(string), string updatedBy = default(string), int templateId = default(int), FrontendStateEnum frontendState = default(FrontendStateEnum), bool storesImported = default(bool), RevisionFrontendStateEnum? revisionFrontendState = default(RevisionFrontendStateEnum?), int activeRevisionId = default(int), int activeRevisionVersionId = default(int), int version = default(int), int currentRevisionId = default(int), int currentRevisionVersionId = default(int), bool stageRevision = false) { this.Id = id; this.Created = created; @@ -293,6 +327,7 @@ protected Campaign() { } this.CreatedBy = createdBy; this.UpdatedBy = updatedBy; this.TemplateId = templateId; + this.RevisionFrontendState = revisionFrontendState; this.ActiveRevisionId = activeRevisionId; this.ActiveRevisionVersionId = activeRevisionVersionId; this.Version = version; @@ -657,6 +692,7 @@ public override string ToString() sb.Append(" TemplateId: ").Append(TemplateId).Append("\n"); sb.Append(" FrontendState: ").Append(FrontendState).Append("\n"); sb.Append(" StoresImported: ").Append(StoresImported).Append("\n"); + sb.Append(" RevisionFrontendState: ").Append(RevisionFrontendState).Append("\n"); sb.Append(" ActiveRevisionId: ").Append(ActiveRevisionId).Append("\n"); sb.Append(" ActiveRevisionVersionId: ").Append(ActiveRevisionVersionId).Append("\n"); sb.Append(" Version: ").Append(Version).Append("\n"); @@ -887,6 +923,10 @@ public bool Equals(Campaign input) this.StoresImported == input.StoresImported || this.StoresImported.Equals(input.StoresImported) ) && + ( + this.RevisionFrontendState == input.RevisionFrontendState || + this.RevisionFrontendState.Equals(input.RevisionFrontendState) + ) && ( this.ActiveRevisionId == input.ActiveRevisionId || this.ActiveRevisionId.Equals(input.ActiveRevisionId) @@ -981,6 +1021,7 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.TemplateId.GetHashCode(); hashCode = hashCode * 59 + this.FrontendState.GetHashCode(); hashCode = hashCode * 59 + this.StoresImported.GetHashCode(); + hashCode = hashCode * 59 + this.RevisionFrontendState.GetHashCode(); hashCode = hashCode * 59 + this.ActiveRevisionId.GetHashCode(); hashCode = hashCode * 59 + this.ActiveRevisionVersionId.GetHashCode(); hashCode = hashCode * 59 + this.Version.GetHashCode(); diff --git a/src/TalonOne/Model/CampaignTemplate.cs b/src/TalonOne/Model/CampaignTemplate.cs index 179b928..3835107 100644 --- a/src/TalonOne/Model/CampaignTemplate.cs +++ b/src/TalonOne/Model/CampaignTemplate.cs @@ -164,6 +164,7 @@ protected CampaignTemplate() { } /// A list of tags for the campaign template.. /// A list of features for the campaign template.. /// couponSettings. + /// couponReservationSettings. /// referralSettings. /// The set of limits that operate for this campaign template.. /// Fields which can be used to replace values in a rule.. @@ -174,7 +175,7 @@ protected CampaignTemplate() { } /// Timestamp of the most recent update to the campaign template or any of its elements.. /// Name of the user who last updated this campaign template, if available.. /// The IDs of the Applications that are related to this entity. (required). - public CampaignTemplate(int id = default(int), DateTime created = default(DateTime), int accountId = default(int), int userId = default(int), string name = default(string), string description = default(string), string instructions = default(string), Object campaignAttributes = default(Object), Object couponAttributes = default(Object), StateEnum state = default(StateEnum), int activeRulesetId = default(int), List tags = default(List), List features = default(List), CodeGeneratorSettings couponSettings = default(CodeGeneratorSettings), CodeGeneratorSettings referralSettings = default(CodeGeneratorSettings), List limits = default(List), List templateParams = default(List), List applicationsIds = default(List), List campaignCollections = default(List), int defaultCampaignGroupId = default(int), CampaignTypeEnum campaignType = CampaignTypeEnum.Advanced, DateTime updated = default(DateTime), string updatedBy = default(string), List validApplicationIds = default(List)) + public CampaignTemplate(int id = default(int), DateTime created = default(DateTime), int accountId = default(int), int userId = default(int), string name = default(string), string description = default(string), string instructions = default(string), Object campaignAttributes = default(Object), Object couponAttributes = default(Object), StateEnum state = default(StateEnum), int activeRulesetId = default(int), List tags = default(List), List features = default(List), CodeGeneratorSettings couponSettings = default(CodeGeneratorSettings), CampaignTemplateCouponReservationSettings couponReservationSettings = default(CampaignTemplateCouponReservationSettings), CodeGeneratorSettings referralSettings = default(CodeGeneratorSettings), List limits = default(List), List templateParams = default(List), List applicationsIds = default(List), List campaignCollections = default(List), int defaultCampaignGroupId = default(int), CampaignTypeEnum campaignType = CampaignTypeEnum.Advanced, DateTime updated = default(DateTime), string updatedBy = default(string), List validApplicationIds = default(List)) { this.Id = id; this.Created = created; @@ -198,6 +199,7 @@ protected CampaignTemplate() { } this.Tags = tags; this.Features = features; this.CouponSettings = couponSettings; + this.CouponReservationSettings = couponReservationSettings; this.ReferralSettings = referralSettings; this.Limits = limits; this.TemplateParams = templateParams; @@ -290,6 +292,12 @@ protected CampaignTemplate() { } [DataMember(Name="couponSettings", EmitDefaultValue=false)] public CodeGeneratorSettings CouponSettings { get; set; } + /// + /// Gets or Sets CouponReservationSettings + /// + [DataMember(Name="couponReservationSettings", EmitDefaultValue=false)] + public CampaignTemplateCouponReservationSettings CouponReservationSettings { get; set; } + /// /// Gets or Sets ReferralSettings /// @@ -374,6 +382,7 @@ public override string ToString() sb.Append(" Tags: ").Append(Tags).Append("\n"); sb.Append(" Features: ").Append(Features).Append("\n"); sb.Append(" CouponSettings: ").Append(CouponSettings).Append("\n"); + sb.Append(" CouponReservationSettings: ").Append(CouponReservationSettings).Append("\n"); sb.Append(" ReferralSettings: ").Append(ReferralSettings).Append("\n"); sb.Append(" Limits: ").Append(Limits).Append("\n"); sb.Append(" TemplateParams: ").Append(TemplateParams).Append("\n"); @@ -483,6 +492,11 @@ public bool Equals(CampaignTemplate input) (this.CouponSettings != null && this.CouponSettings.Equals(input.CouponSettings)) ) && + ( + this.CouponReservationSettings == input.CouponReservationSettings || + (this.CouponReservationSettings != null && + this.CouponReservationSettings.Equals(input.CouponReservationSettings)) + ) && ( this.ReferralSettings == input.ReferralSettings || (this.ReferralSettings != null && @@ -569,6 +583,8 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.Features.GetHashCode(); if (this.CouponSettings != null) hashCode = hashCode * 59 + this.CouponSettings.GetHashCode(); + if (this.CouponReservationSettings != null) + hashCode = hashCode * 59 + this.CouponReservationSettings.GetHashCode(); if (this.ReferralSettings != null) hashCode = hashCode * 59 + this.ReferralSettings.GetHashCode(); if (this.Limits != null) diff --git a/src/TalonOne/Model/CampaignTemplateCouponReservationSettings.cs b/src/TalonOne/Model/CampaignTemplateCouponReservationSettings.cs new file mode 100644 index 0000000..65f10ea --- /dev/null +++ b/src/TalonOne/Model/CampaignTemplateCouponReservationSettings.cs @@ -0,0 +1,151 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// CampaignTemplateCouponReservationSettings + /// + [DataContract] + public partial class CampaignTemplateCouponReservationSettings : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The number of reservations that can be made with this coupon code. . + /// An indication of whether the code can be redeemed only if it has been reserved first. (default to false). + public CampaignTemplateCouponReservationSettings(int reservationLimit = default(int), bool isReservationMandatory = false) + { + this.ReservationLimit = reservationLimit; + this.IsReservationMandatory = isReservationMandatory; + } + + /// + /// The number of reservations that can be made with this coupon code. + /// + /// The number of reservations that can be made with this coupon code. + [DataMember(Name="reservationLimit", EmitDefaultValue=false)] + public int ReservationLimit { get; set; } + + /// + /// An indication of whether the code can be redeemed only if it has been reserved first. + /// + /// An indication of whether the code can be redeemed only if it has been reserved first. + [DataMember(Name="isReservationMandatory", EmitDefaultValue=false)] + public bool IsReservationMandatory { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CampaignTemplateCouponReservationSettings {\n"); + sb.Append(" ReservationLimit: ").Append(ReservationLimit).Append("\n"); + sb.Append(" IsReservationMandatory: ").Append(IsReservationMandatory).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as CampaignTemplateCouponReservationSettings); + } + + /// + /// Returns true if CampaignTemplateCouponReservationSettings instances are equal + /// + /// Instance of CampaignTemplateCouponReservationSettings to be compared + /// Boolean + public bool Equals(CampaignTemplateCouponReservationSettings input) + { + if (input == null) + return false; + + return + ( + this.ReservationLimit == input.ReservationLimit || + this.ReservationLimit.Equals(input.ReservationLimit) + ) && + ( + this.IsReservationMandatory == input.IsReservationMandatory || + this.IsReservationMandatory.Equals(input.IsReservationMandatory) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = hashCode * 59 + this.ReservationLimit.GetHashCode(); + hashCode = hashCode * 59 + this.IsReservationMandatory.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // ReservationLimit (int) maximum + if(this.ReservationLimit > (int)999999) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ReservationLimit, must be a value less than or equal to 999999.", new [] { "ReservationLimit" }); + } + + // ReservationLimit (int) minimum + if(this.ReservationLimit < (int)0) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ReservationLimit, must be a value greater than or equal to 0.", new [] { "ReservationLimit" }); + } + + yield break; + } + } + +} diff --git a/src/TalonOne/Model/CampaignVersions.cs b/src/TalonOne/Model/CampaignVersions.cs index 3e382da..4c2efaf 100644 --- a/src/TalonOne/Model/CampaignVersions.cs +++ b/src/TalonOne/Model/CampaignVersions.cs @@ -31,17 +31,46 @@ namespace TalonOne.Model [DataContract] public partial class CampaignVersions : IEquatable, IValidatableObject { + /// + /// The campaign revision state displayed in the Campaign Manager. + /// + /// The campaign revision state displayed in the Campaign Manager. + [JsonConverter(typeof(StringEnumConverter))] + public enum RevisionFrontendStateEnum + { + /// + /// Enum Revised for value: revised + /// + [EnumMember(Value = "revised")] + Revised = 1, + + /// + /// Enum Pending for value: pending + /// + [EnumMember(Value = "pending")] + Pending = 2 + + } + + /// + /// The campaign revision state displayed in the Campaign Manager. + /// + /// The campaign revision state displayed in the Campaign Manager. + [DataMember(Name="revisionFrontendState", EmitDefaultValue=false)] + public RevisionFrontendStateEnum? RevisionFrontendState { get; set; } /// /// Initializes a new instance of the class. /// + /// The campaign revision state displayed in the Campaign Manager.. /// ID of the revision that was last activated on this campaign. . /// ID of the revision version that is active on the campaign. . /// Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. . /// ID of the revision currently being modified for the campaign. . /// ID of the latest version applied on the current revision. . /// Flag for determining whether we use current revision when sending requests with staging API key. (default to false). - public CampaignVersions(int activeRevisionId = default(int), int activeRevisionVersionId = default(int), int version = default(int), int currentRevisionId = default(int), int currentRevisionVersionId = default(int), bool stageRevision = false) + public CampaignVersions(RevisionFrontendStateEnum? revisionFrontendState = default(RevisionFrontendStateEnum?), int activeRevisionId = default(int), int activeRevisionVersionId = default(int), int version = default(int), int currentRevisionId = default(int), int currentRevisionVersionId = default(int), bool stageRevision = false) { + this.RevisionFrontendState = revisionFrontendState; this.ActiveRevisionId = activeRevisionId; this.ActiveRevisionVersionId = activeRevisionVersionId; this.Version = version; @@ -100,6 +129,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class CampaignVersions {\n"); + sb.Append(" RevisionFrontendState: ").Append(RevisionFrontendState).Append("\n"); sb.Append(" ActiveRevisionId: ").Append(ActiveRevisionId).Append("\n"); sb.Append(" ActiveRevisionVersionId: ").Append(ActiveRevisionVersionId).Append("\n"); sb.Append(" Version: ").Append(Version).Append("\n"); @@ -140,6 +170,10 @@ public bool Equals(CampaignVersions input) return false; return + ( + this.RevisionFrontendState == input.RevisionFrontendState || + this.RevisionFrontendState.Equals(input.RevisionFrontendState) + ) && ( this.ActiveRevisionId == input.ActiveRevisionId || this.ActiveRevisionId.Equals(input.ActiveRevisionId) @@ -175,6 +209,7 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; + hashCode = hashCode * 59 + this.RevisionFrontendState.GetHashCode(); hashCode = hashCode * 59 + this.ActiveRevisionId.GetHashCode(); hashCode = hashCode * 59 + this.ActiveRevisionVersionId.GetHashCode(); hashCode = hashCode * 59 + this.Version.GetHashCode(); diff --git a/src/TalonOne/Model/CardLedgerTransactionLogEntry.cs b/src/TalonOne/Model/CardLedgerTransactionLogEntry.cs index 1c0aaf7..cb0927d 100644 --- a/src/TalonOne/Model/CardLedgerTransactionLogEntry.cs +++ b/src/TalonOne/Model/CardLedgerTransactionLogEntry.cs @@ -347,6 +347,13 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, length must be less than 108.", new [] { "CardIdentifier" }); } + // CardIdentifier (string) pattern + Regex regexCardIdentifier = new Regex(@"^[A-Za-z0-9_-]*$", RegexOptions.CultureInvariant); + if (false == regexCardIdentifier.Match(this.CardIdentifier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, must match a pattern of " + regexCardIdentifier, new [] { "CardIdentifier" }); + } + // CustomerSessionId (string) maxLength if(this.CustomerSessionId != null && this.CustomerSessionId.Length > 255) { diff --git a/src/TalonOne/Model/CardLedgerTransactionLogEntryIntegrationAPI.cs b/src/TalonOne/Model/CardLedgerTransactionLogEntryIntegrationAPI.cs index 7e5c257..6da1e89 100644 --- a/src/TalonOne/Model/CardLedgerTransactionLogEntryIntegrationAPI.cs +++ b/src/TalonOne/Model/CardLedgerTransactionLogEntryIntegrationAPI.cs @@ -349,6 +349,13 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, length must be less than 108.", new [] { "CardIdentifier" }); } + // CardIdentifier (string) pattern + Regex regexCardIdentifier = new Regex(@"^[A-Za-z0-9_-]*$", RegexOptions.CultureInvariant); + if (false == regexCardIdentifier.Match(this.CardIdentifier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, must match a pattern of " + regexCardIdentifier, new [] { "CardIdentifier" }); + } + // CustomerSessionId (string) maxLength if(this.CustomerSessionId != null && this.CustomerSessionId.Length > 255) { diff --git a/src/TalonOne/Model/CartItem.cs b/src/TalonOne/Model/CartItem.cs index 8c16465..bd0e6ea 100644 --- a/src/TalonOne/Model/CartItem.cs +++ b/src/TalonOne/Model/CartItem.cs @@ -163,7 +163,7 @@ protected CartItem() { } /// Position of the Cart Item in the Cart (calculated internally). /// /// Position of the Cart Item in the Cart (calculated internally). - [DataMember(Name="position", EmitDefaultValue=true)] + [DataMember(Name="position", EmitDefaultValue=false)] public decimal Position { get; set; } /// diff --git a/src/TalonOne/Model/CodeGeneratorSettings.cs b/src/TalonOne/Model/CodeGeneratorSettings.cs index 5535fc6..5cf45fa 100644 --- a/src/TalonOne/Model/CodeGeneratorSettings.cs +++ b/src/TalonOne/Model/CodeGeneratorSettings.cs @@ -156,6 +156,13 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CouponPattern, length must be greater than 3.", new [] { "CouponPattern" }); } + // CouponPattern (string) pattern + Regex regexCouponPattern = new Regex(@"^[A-Za-z0-9_#-]*$", RegexOptions.CultureInvariant); + if (false == regexCouponPattern.Match(this.CouponPattern).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CouponPattern, must match a pattern of " + regexCouponPattern, new [] { "CouponPattern" }); + } + yield break; } } diff --git a/src/TalonOne/Model/CouponDeletionFilters.cs b/src/TalonOne/Model/CouponDeletionFilters.cs index ef66455..f0cc894 100644 --- a/src/TalonOne/Model/CouponDeletionFilters.cs +++ b/src/TalonOne/Model/CouponDeletionFilters.cs @@ -76,12 +76,12 @@ public enum ValidEnum /// - `true`: only coupons where `usageCounter > 0` will be returned. - `false`: only coupons where `usageCounter = 0` will be returned. **Note:** This field cannot be used in conjunction with the `usable` query parameter. . /// Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. . /// Filter results to an exact case-insensitive matching against the coupon code (default to false). - /// Filter results by the coupon code (default to "false"). + /// Filter results by the coupon code. /// Filter results by batches of coupons. /// Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code.. /// 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.. /// 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.. - public CouponDeletionFilters(DateTime createdBefore = default(DateTime), DateTime createdAfter = default(DateTime), DateTime startsAfter = default(DateTime), DateTime startsBefore = default(DateTime), ValidEnum? valid = default(ValidEnum?), bool usable = default(bool), bool redeemed = default(bool), string recipientIntegrationId = default(string), bool exactMatch = false, string value = "false", string batchId = default(string), int referralId = default(int), DateTime expiresAfter = default(DateTime), DateTime expiresBefore = default(DateTime)) + public CouponDeletionFilters(DateTime createdBefore = default(DateTime), DateTime createdAfter = default(DateTime), DateTime startsAfter = default(DateTime), DateTime startsBefore = default(DateTime), ValidEnum? valid = default(ValidEnum?), bool usable = default(bool), bool redeemed = default(bool), string recipientIntegrationId = default(string), bool exactMatch = false, string value = default(string), string batchId = default(string), int referralId = default(int), DateTime expiresAfter = default(DateTime), DateTime expiresBefore = default(DateTime)) { this.CreatedBefore = createdBefore; this.CreatedAfter = createdAfter; @@ -92,8 +92,7 @@ public enum ValidEnum this.Redeemed = redeemed; this.RecipientIntegrationId = recipientIntegrationId; this.ExactMatch = exactMatch; - // use default value if no "value" provided - this.Value = value ?? "false"; + this.Value = value; this.BatchId = batchId; this.ReferralId = referralId; this.ExpiresAfter = expiresAfter; diff --git a/src/TalonOne/Model/CreateAchievement.cs b/src/TalonOne/Model/CreateAchievement.cs index 49a0053..d9c6fb4 100644 --- a/src/TalonOne/Model/CreateAchievement.cs +++ b/src/TalonOne/Model/CreateAchievement.cs @@ -31,6 +31,60 @@ namespace TalonOne.Model [DataContract] public partial class CreateAchievement : IEquatable, IValidatableObject { + /// + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. + /// + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. + [JsonConverter(typeof(StringEnumConverter))] + public enum RecurrencePolicyEnum + { + /// + /// Enum Norecurrence for value: no_recurrence + /// + [EnumMember(Value = "no_recurrence")] + Norecurrence = 1, + + /// + /// Enum Onexpiration for value: on_expiration + /// + [EnumMember(Value = "on_expiration")] + Onexpiration = 2 + + } + + /// + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. + /// + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. + [DataMember(Name="recurrencePolicy", EmitDefaultValue=false)] + public RecurrencePolicyEnum? RecurrencePolicy { get; set; } + /// + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. + /// + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. + [JsonConverter(typeof(StringEnumConverter))] + public enum ActivationPolicyEnum + { + /// + /// Enum Useraction for value: user_action + /// + [EnumMember(Value = "user_action")] + Useraction = 1, + + /// + /// Enum Fixedschedule for value: fixed_schedule + /// + [EnumMember(Value = "fixed_schedule")] + Fixedschedule = 2 + + } + + /// + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. + /// + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. + [DataMember(Name="activationPolicy", EmitDefaultValue=false)] + public ActivationPolicyEnum? ActivationPolicy { get; set; } /// /// Initializes a new instance of the class. /// @@ -45,7 +99,11 @@ protected CreateAchievement() { } /// The required number of actions or the transactional milestone to complete the achievement. (required). /// The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** 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 also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. (required). /// periodEndOverride. - public CreateAchievement(string name = default(string), string title = default(string), string description = default(string), decimal target = default(decimal), string period = default(string), TimePoint periodEndOverride = default(TimePoint)) + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. . + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. . + /// The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. . + /// The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. . + public CreateAchievement(string name = default(string), string title = default(string), string description = default(string), decimal target = default(decimal), string period = default(string), TimePoint periodEndOverride = default(TimePoint), RecurrencePolicyEnum? recurrencePolicy = default(RecurrencePolicyEnum?), ActivationPolicyEnum? activationPolicy = default(ActivationPolicyEnum?), DateTime fixedStartDate = default(DateTime), DateTime endDate = default(DateTime)) { // to ensure "name" is required (not null) this.Name = name ?? throw new ArgumentNullException("name is a required property for CreateAchievement and cannot be null"); @@ -57,6 +115,10 @@ protected CreateAchievement() { } // to ensure "period" is required (not null) this.Period = period ?? throw new ArgumentNullException("period is a required property for CreateAchievement and cannot be null"); this.PeriodEndOverride = periodEndOverride; + this.RecurrencePolicy = recurrencePolicy; + this.ActivationPolicy = activationPolicy; + this.FixedStartDate = fixedStartDate; + this.EndDate = endDate; } /// @@ -100,6 +162,20 @@ protected CreateAchievement() { } [DataMember(Name="periodEndOverride", EmitDefaultValue=false)] public TimePoint PeriodEndOverride { get; set; } + /// + /// The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. + /// + /// The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. + [DataMember(Name="fixedStartDate", EmitDefaultValue=false)] + public DateTime FixedStartDate { get; set; } + + /// + /// The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. + /// + /// The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. + [DataMember(Name="endDate", EmitDefaultValue=false)] + public DateTime EndDate { get; set; } + /// /// Returns the string presentation of the object /// @@ -114,6 +190,10 @@ public override string ToString() sb.Append(" Target: ").Append(Target).Append("\n"); sb.Append(" Period: ").Append(Period).Append("\n"); sb.Append(" PeriodEndOverride: ").Append(PeriodEndOverride).Append("\n"); + sb.Append(" RecurrencePolicy: ").Append(RecurrencePolicy).Append("\n"); + sb.Append(" ActivationPolicy: ").Append(ActivationPolicy).Append("\n"); + sb.Append(" FixedStartDate: ").Append(FixedStartDate).Append("\n"); + sb.Append(" EndDate: ").Append(EndDate).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -176,6 +256,24 @@ public bool Equals(CreateAchievement input) this.PeriodEndOverride == input.PeriodEndOverride || (this.PeriodEndOverride != null && this.PeriodEndOverride.Equals(input.PeriodEndOverride)) + ) && + ( + this.RecurrencePolicy == input.RecurrencePolicy || + this.RecurrencePolicy.Equals(input.RecurrencePolicy) + ) && + ( + this.ActivationPolicy == input.ActivationPolicy || + this.ActivationPolicy.Equals(input.ActivationPolicy) + ) && + ( + this.FixedStartDate == input.FixedStartDate || + (this.FixedStartDate != null && + this.FixedStartDate.Equals(input.FixedStartDate)) + ) && + ( + this.EndDate == input.EndDate || + (this.EndDate != null && + this.EndDate.Equals(input.EndDate)) ); } @@ -199,6 +297,12 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.Period.GetHashCode(); if (this.PeriodEndOverride != null) hashCode = hashCode * 59 + this.PeriodEndOverride.GetHashCode(); + hashCode = hashCode * 59 + this.RecurrencePolicy.GetHashCode(); + hashCode = hashCode * 59 + this.ActivationPolicy.GetHashCode(); + if (this.FixedStartDate != null) + hashCode = hashCode * 59 + this.FixedStartDate.GetHashCode(); + if (this.EndDate != null) + hashCode = hashCode * 59 + this.EndDate.GetHashCode(); return hashCode; } } diff --git a/src/TalonOne/Model/CustomerProfile.cs b/src/TalonOne/Model/CustomerProfile.cs index 25d0492..2f2f1fb 100644 --- a/src/TalonOne/Model/CustomerProfile.cs +++ b/src/TalonOne/Model/CustomerProfile.cs @@ -40,7 +40,7 @@ protected CustomerProfile() { } /// Initializes a new instance of the class. /// /// Internal ID of this entity. (required). - /// The time this entity was created. The time this entity was created. (required). + /// The time this entity was created. (required). /// The integration ID set by your integration layer. (required). /// Arbitrary properties associated with this item. (required). /// The ID of the Talon.One account that owns this profile. (required). @@ -75,9 +75,9 @@ protected CustomerProfile() { } public int Id { get; set; } /// - /// The time this entity was created. The time this entity was created. + /// The time this entity was created. /// - /// The time this entity was created. The time this entity was created. + /// The time this entity was created. [DataMember(Name="created", EmitDefaultValue=false)] public DateTime Created { get; set; } diff --git a/src/TalonOne/Model/CustomerProfileAudienceRequestItem.cs b/src/TalonOne/Model/CustomerProfileAudienceRequestItem.cs index e088c1c..575c24d 100644 --- a/src/TalonOne/Model/CustomerProfileAudienceRequestItem.cs +++ b/src/TalonOne/Model/CustomerProfileAudienceRequestItem.cs @@ -32,9 +32,9 @@ namespace TalonOne.Model public partial class CustomerProfileAudienceRequestItem : IEquatable, IValidatableObject { /// - /// Defines the action to perform: - `add`: Adds the customer profile to the audience. If the customer profile does not exist, it will be created. - `delete`: Removes the customer profile from the audience. + /// Defines the action to perform: - `add`: Adds the customer profile to the audience. **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. - `delete`: Removes the customer profile from the audience. /// - /// Defines the action to perform: - `add`: Adds the customer profile to the audience. If the customer profile does not exist, it will be created. - `delete`: Removes the customer profile from the audience. + /// Defines the action to perform: - `add`: Adds the customer profile to the audience. **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. - `delete`: Removes the customer profile from the audience. [JsonConverter(typeof(StringEnumConverter))] public enum ActionEnum { @@ -53,9 +53,9 @@ public enum ActionEnum } /// - /// Defines the action to perform: - `add`: Adds the customer profile to the audience. If the customer profile does not exist, it will be created. - `delete`: Removes the customer profile from the audience. + /// Defines the action to perform: - `add`: Adds the customer profile to the audience. **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. - `delete`: Removes the customer profile from the audience. /// - /// Defines the action to perform: - `add`: Adds the customer profile to the audience. If the customer profile does not exist, it will be created. - `delete`: Removes the customer profile from the audience. + /// Defines the action to perform: - `add`: Adds the customer profile to the audience. **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. - `delete`: Removes the customer profile from the audience. [DataMember(Name="action", EmitDefaultValue=false)] public ActionEnum Action { get; set; } /// @@ -66,7 +66,7 @@ protected CustomerProfileAudienceRequestItem() { } /// /// Initializes a new instance of the class. /// - /// Defines the action to perform: - `add`: Adds the customer profile to the audience. If the customer profile does not exist, it will be created. - `delete`: Removes the customer profile from the audience. (required). + /// Defines the action to perform: - `add`: Adds the customer profile to the audience. **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. - `delete`: Removes the customer profile from the audience. (required). /// The ID of this customer profile in the third-party integration. (required). /// The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). (required). public CustomerProfileAudienceRequestItem(ActionEnum action = default(ActionEnum), string profileIntegrationId = default(string), int audienceId = default(int)) diff --git a/src/TalonOne/Model/CustomerProfileIntegrationRequestV2.cs b/src/TalonOne/Model/CustomerProfileIntegrationRequestV2.cs index 184b59f..f7310b5 100644 --- a/src/TalonOne/Model/CustomerProfileIntegrationRequestV2.cs +++ b/src/TalonOne/Model/CustomerProfileIntegrationRequestV2.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// CustomerProfileIntegrationRequestV2 + /// The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response. /// [DataContract] public partial class CustomerProfileIntegrationRequestV2 : IEquatable, IValidatableObject diff --git a/src/TalonOne/Model/CustomerSessionV2.cs b/src/TalonOne/Model/CustomerSessionV2.cs index 3ac2d81..95c6b5d 100644 --- a/src/TalonOne/Model/CustomerSessionV2.cs +++ b/src/TalonOne/Model/CustomerSessionV2.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// CustomerSessionV2 + /// The representation of the customer session. /// [DataContract] public partial class CustomerSessionV2 : IEquatable, IValidatableObject @@ -79,26 +79,27 @@ protected CustomerSessionV2() { } /// Initializes a new instance of the class. /// /// Internal ID of this entity. (required). - /// The time this entity was created. The time this entity was created. (required). + /// The time this entity was created. (required). /// The integration ID set by your integration layer. (required). /// The ID of the application that owns this entity. (required). /// ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. (required). /// The integration ID of the store. You choose this ID when you create a store.. /// When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. . - /// Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. . - /// Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. . + /// Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. . + /// Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. . /// Identifier of a loyalty card.. /// Indicates the current state of the session. Sessions can be created as `open` or `closed`. The state transitions are: 1. `open` → `closed` 2. `open` → `cancelled` 3. Either: - `closed` → `cancelled` (**only** via [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)) or - `closed` → `partially_returned` (**only** via [Return cart items](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/returnCartItems)) - `closed` → `open` (**only** via [Reopen customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/reopenCustomerSession)) 4. `partially_returned` → `cancelled` For more information, see [Customer session states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). (required) (default to StateEnum.Open). /// The items to add to this session. **Do not exceed 1000 items** and ensure the sum of all cart item's `quantity` **does not exceed 10.000** per request. (required). /// Use this property to set a value for the additional costs of this session, such as a shipping cost. They must be created in the Campaign Manager before you set them with this property. See [Managing additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs). . - /// Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). . + /// Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. . /// Use this property to set a value for the attributes of your choice. Attributes represent any information to attach to your session, like the shipping city. You can use [built-in attributes](https://docs.talon.one/docs/dev/concepts/attributes#built-in-attributes) or [custom ones](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes). Custom attributes must be created in the Campaign Manager before you set them with this property. (required). - /// Indicates whether this is the first session for the customer's profile. Will always be true for anonymous sessions. (required). + /// Indicates whether this is the first session for the customer's profile. It's always `true` for anonymous sessions. (required). /// The total value of cart items and additional costs in the session, before any discounts are applied. (required). /// The total value of cart items, before any discounts are applied. (required). /// The total value of additional costs, before any discounts are applied. (required). /// Timestamp of the most recent event received on this session. (required). - public CustomerSessionV2(int id = default(int), DateTime created = default(DateTime), string integrationId = default(string), int applicationId = default(int), string profileId = default(string), string storeIntegrationId = default(string), List evaluableCampaignIds = default(List), List couponCodes = default(List), string referralCode = default(string), List loyaltyCards = default(List), StateEnum state = StateEnum.Open, List cartItems = default(List), Dictionary additionalCosts = default(Dictionary), List identifiers = default(List), Object attributes = default(Object), bool firstSession = default(bool), decimal total = default(decimal), decimal cartItemTotal = default(decimal), decimal additionalCostTotal = default(decimal), DateTime updated = default(DateTime)) + /// The likelihood of the customer session closing based on predictive modeling, expressed as a decimal between `0` and `1`.. + public CustomerSessionV2(int id = default(int), DateTime created = default(DateTime), string integrationId = default(string), int applicationId = default(int), string profileId = default(string), string storeIntegrationId = default(string), List evaluableCampaignIds = default(List), List couponCodes = default(List), string referralCode = default(string), List loyaltyCards = default(List), StateEnum state = StateEnum.Open, List cartItems = default(List), Dictionary additionalCosts = default(Dictionary), List identifiers = default(List), Object attributes = default(Object), bool firstSession = default(bool), decimal total = default(decimal), decimal cartItemTotal = default(decimal), decimal additionalCostTotal = default(decimal), DateTime updated = default(DateTime), decimal closurePrediction = default(decimal)) { this.Id = id; this.Created = created; @@ -124,6 +125,7 @@ protected CustomerSessionV2() { } this.LoyaltyCards = loyaltyCards; this.AdditionalCosts = additionalCosts; this.Identifiers = identifiers; + this.ClosurePrediction = closurePrediction; } /// @@ -134,9 +136,9 @@ protected CustomerSessionV2() { } public int Id { get; set; } /// - /// The time this entity was created. The time this entity was created. + /// The time this entity was created. /// - /// The time this entity was created. The time this entity was created. + /// The time this entity was created. [DataMember(Name="created", EmitDefaultValue=false)] public DateTime Created { get; set; } @@ -176,16 +178,16 @@ protected CustomerSessionV2() { } public List EvaluableCampaignIds { get; set; } /// - /// Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. + /// Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. /// - /// Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. + /// Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. [DataMember(Name="couponCodes", EmitDefaultValue=false)] public List CouponCodes { get; set; } /// - /// Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. + /// Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. /// - /// Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. + /// Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. [DataMember(Name="referralCode", EmitDefaultValue=false)] public string ReferralCode { get; set; } @@ -211,9 +213,9 @@ protected CustomerSessionV2() { } public Dictionary AdditionalCosts { get; set; } /// - /// Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). + /// Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. /// - /// Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). + /// Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. [DataMember(Name="identifiers", EmitDefaultValue=false)] public List Identifiers { get; set; } @@ -225,9 +227,9 @@ protected CustomerSessionV2() { } public Object Attributes { get; set; } /// - /// Indicates whether this is the first session for the customer's profile. Will always be true for anonymous sessions. + /// Indicates whether this is the first session for the customer's profile. It's always `true` for anonymous sessions. /// - /// Indicates whether this is the first session for the customer's profile. Will always be true for anonymous sessions. + /// Indicates whether this is the first session for the customer's profile. It's always `true` for anonymous sessions. [DataMember(Name="firstSession", EmitDefaultValue=false)] public bool FirstSession { get; set; } @@ -259,6 +261,13 @@ protected CustomerSessionV2() { } [DataMember(Name="updated", EmitDefaultValue=false)] public DateTime Updated { get; set; } + /// + /// The likelihood of the customer session closing based on predictive modeling, expressed as a decimal between `0` and `1`. + /// + /// The likelihood of the customer session closing based on predictive modeling, expressed as a decimal between `0` and `1`. + [DataMember(Name="closurePrediction", EmitDefaultValue=false)] + public decimal ClosurePrediction { get; set; } + /// /// Returns the string presentation of the object /// @@ -287,6 +296,7 @@ public override string ToString() sb.Append(" CartItemTotal: ").Append(CartItemTotal).Append("\n"); sb.Append(" AdditionalCostTotal: ").Append(AdditionalCostTotal).Append("\n"); sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" ClosurePrediction: ").Append(ClosurePrediction).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -419,6 +429,10 @@ public bool Equals(CustomerSessionV2 input) this.Updated == input.Updated || (this.Updated != null && this.Updated.Equals(input.Updated)) + ) && + ( + this.ClosurePrediction == input.ClosurePrediction || + this.ClosurePrediction.Equals(input.ClosurePrediction) ); } @@ -464,6 +478,7 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.AdditionalCostTotal.GetHashCode(); if (this.Updated != null) hashCode = hashCode * 59 + this.Updated.GetHashCode(); + hashCode = hashCode * 59 + this.ClosurePrediction.GetHashCode(); return hashCode; } } diff --git a/src/TalonOne/Model/DeductLoyaltyPointsEffectProps.cs b/src/TalonOne/Model/DeductLoyaltyPointsEffectProps.cs index 1e7cde3..e5dda19 100644 --- a/src/TalonOne/Model/DeductLoyaltyPointsEffectProps.cs +++ b/src/TalonOne/Model/DeductLoyaltyPointsEffectProps.cs @@ -232,6 +232,13 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, length must be less than 108.", new [] { "CardIdentifier" }); } + // CardIdentifier (string) pattern + Regex regexCardIdentifier = new Regex(@"^[A-Za-z0-9_-]*$", RegexOptions.CultureInvariant); + if (false == regexCardIdentifier.Match(this.CardIdentifier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, must match a pattern of " + regexCardIdentifier, new [] { "CardIdentifier" }); + } + yield break; } } diff --git a/src/TalonOne/Model/Effect.cs b/src/TalonOne/Model/Effect.cs index 6719a76..ee0b037 100644 --- a/src/TalonOne/Model/Effect.cs +++ b/src/TalonOne/Model/Effect.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// Effect + /// A generic effect that is fired by a triggered campaign. The props property will contain information specific to the specific effect type. /// [DataContract] public partial class Effect : IEquatable, IValidatableObject diff --git a/src/TalonOne/Model/GenerateCampaignDescription.cs b/src/TalonOne/Model/GenerateCampaignDescription.cs index 2503141..bd7798d 100644 --- a/src/TalonOne/Model/GenerateCampaignDescription.cs +++ b/src/TalonOne/Model/GenerateCampaignDescription.cs @@ -39,21 +39,21 @@ protected GenerateCampaignDescription() { } /// /// Initializes a new instance of the class. /// - /// ID of the campaign. (required). + /// ID of a ruleset. (required). /// Currency for the campaign. (required). - public GenerateCampaignDescription(int campaignID = default(int), string currency = default(string)) + public GenerateCampaignDescription(int rulesetID = default(int), string currency = default(string)) { - this.CampaignID = campaignID; + this.RulesetID = rulesetID; // to ensure "currency" is required (not null) this.Currency = currency ?? throw new ArgumentNullException("currency is a required property for GenerateCampaignDescription and cannot be null"); } /// - /// ID of the campaign. + /// ID of a ruleset. /// - /// ID of the campaign. - [DataMember(Name="campaignID", EmitDefaultValue=false)] - public int CampaignID { get; set; } + /// ID of a ruleset. + [DataMember(Name="rulesetID", EmitDefaultValue=false)] + public int RulesetID { get; set; } /// /// Currency for the campaign. @@ -70,7 +70,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class GenerateCampaignDescription {\n"); - sb.Append(" CampaignID: ").Append(CampaignID).Append("\n"); + sb.Append(" RulesetID: ").Append(RulesetID).Append("\n"); sb.Append(" Currency: ").Append(Currency).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -107,8 +107,8 @@ public bool Equals(GenerateCampaignDescription input) return ( - this.CampaignID == input.CampaignID || - this.CampaignID.Equals(input.CampaignID) + this.RulesetID == input.RulesetID || + this.RulesetID.Equals(input.RulesetID) ) && ( this.Currency == input.Currency || @@ -126,7 +126,7 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; - hashCode = hashCode * 59 + this.CampaignID.GetHashCode(); + hashCode = hashCode * 59 + this.RulesetID.GetHashCode(); if (this.Currency != null) hashCode = hashCode * 59 + this.Currency.GetHashCode(); return hashCode; diff --git a/src/TalonOne/Model/GenerateCampaignTags.cs b/src/TalonOne/Model/GenerateCampaignTags.cs index 44bdbdd..6cfddfd 100644 --- a/src/TalonOne/Model/GenerateCampaignTags.cs +++ b/src/TalonOne/Model/GenerateCampaignTags.cs @@ -39,18 +39,18 @@ protected GenerateCampaignTags() { } /// /// Initializes a new instance of the class. /// - /// ID of the campaign. (required). - public GenerateCampaignTags(int campaignID = default(int)) + /// ID of a ruleset. (required). + public GenerateCampaignTags(int rulesetID = default(int)) { - this.CampaignID = campaignID; + this.RulesetID = rulesetID; } /// - /// ID of the campaign. + /// ID of a ruleset. /// - /// ID of the campaign. - [DataMember(Name="campaignID", EmitDefaultValue=false)] - public int CampaignID { get; set; } + /// ID of a ruleset. + [DataMember(Name="rulesetID", EmitDefaultValue=false)] + public int RulesetID { get; set; } /// /// Returns the string presentation of the object @@ -60,7 +60,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class GenerateCampaignTags {\n"); - sb.Append(" CampaignID: ").Append(CampaignID).Append("\n"); + sb.Append(" RulesetID: ").Append(RulesetID).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -96,8 +96,8 @@ public bool Equals(GenerateCampaignTags input) return ( - this.CampaignID == input.CampaignID || - this.CampaignID.Equals(input.CampaignID) + this.RulesetID == input.RulesetID || + this.RulesetID.Equals(input.RulesetID) ); } @@ -110,7 +110,7 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; - hashCode = hashCode * 59 + this.CampaignID.GetHashCode(); + hashCode = hashCode * 59 + this.RulesetID.GetHashCode(); return hashCode; } } diff --git a/src/TalonOne/Model/GenerateLoyaltyCard.cs b/src/TalonOne/Model/GenerateLoyaltyCard.cs index 31b89dc..71c7fa9 100644 --- a/src/TalonOne/Model/GenerateLoyaltyCard.cs +++ b/src/TalonOne/Model/GenerateLoyaltyCard.cs @@ -63,10 +63,12 @@ public enum StatusEnum /// /// Status of the loyalty card. (default to StatusEnum.Active). /// Integration IDs of the customer profiles linked to the card.. - public GenerateLoyaltyCard(StatusEnum? status = StatusEnum.Active, List customerProfileIds = default(List)) + /// The alphanumeric identifier of the loyalty card. . + public GenerateLoyaltyCard(StatusEnum? status = StatusEnum.Active, List customerProfileIds = default(List), string cardIdentifier = default(string)) { this.Status = status; this.CustomerProfileIds = customerProfileIds; + this.CardIdentifier = cardIdentifier; } /// @@ -76,6 +78,13 @@ public enum StatusEnum [DataMember(Name="customerProfileIds", EmitDefaultValue=false)] public List CustomerProfileIds { get; set; } + /// + /// The alphanumeric identifier of the loyalty card. + /// + /// The alphanumeric identifier of the loyalty card. + [DataMember(Name="cardIdentifier", EmitDefaultValue=false)] + public string CardIdentifier { get; set; } + /// /// Returns the string presentation of the object /// @@ -86,6 +95,7 @@ public override string ToString() sb.Append("class GenerateLoyaltyCard {\n"); sb.Append(" Status: ").Append(Status).Append("\n"); sb.Append(" CustomerProfileIds: ").Append(CustomerProfileIds).Append("\n"); + sb.Append(" CardIdentifier: ").Append(CardIdentifier).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -129,6 +139,11 @@ public bool Equals(GenerateLoyaltyCard input) this.CustomerProfileIds != null && input.CustomerProfileIds != null && this.CustomerProfileIds.SequenceEqual(input.CustomerProfileIds) + ) && + ( + this.CardIdentifier == input.CardIdentifier || + (this.CardIdentifier != null && + this.CardIdentifier.Equals(input.CardIdentifier)) ); } @@ -144,6 +159,8 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.Status.GetHashCode(); if (this.CustomerProfileIds != null) hashCode = hashCode * 59 + this.CustomerProfileIds.GetHashCode(); + if (this.CardIdentifier != null) + hashCode = hashCode * 59 + this.CardIdentifier.GetHashCode(); return hashCode; } } @@ -155,6 +172,19 @@ public override int GetHashCode() /// Validation Result IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { + // CardIdentifier (string) maxLength + if(this.CardIdentifier != null && this.CardIdentifier.Length > 108) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, length must be less than 108.", new [] { "CardIdentifier" }); + } + + // CardIdentifier (string) pattern + Regex regexCardIdentifier = new Regex(@"^[A-Za-z0-9_-]*$", RegexOptions.CultureInvariant); + if (false == regexCardIdentifier.Match(this.CardIdentifier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, must match a pattern of " + regexCardIdentifier, new [] { "CardIdentifier" }); + } + yield break; } } diff --git a/src/TalonOne/Model/InlineResponse20020.cs b/src/TalonOne/Model/InlineResponse20020.cs index 48e8e0a..06379ce 100644 --- a/src/TalonOne/Model/InlineResponse20020.cs +++ b/src/TalonOne/Model/InlineResponse20020.cs @@ -41,7 +41,7 @@ protected InlineResponse20020() { } /// /// totalResultSize (required). /// data (required). - public InlineResponse20020(int totalResultSize = default(int), List data = default(List)) + public InlineResponse20020(int totalResultSize = default(int), List data = default(List)) { this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) @@ -58,7 +58,7 @@ protected InlineResponse20020() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/InlineResponse20021.cs b/src/TalonOne/Model/InlineResponse20021.cs index 2988e0c..2593bac 100644 --- a/src/TalonOne/Model/InlineResponse20021.cs +++ b/src/TalonOne/Model/InlineResponse20021.cs @@ -39,13 +39,15 @@ protected InlineResponse20021() { } /// /// Initializes a new instance of the class. /// - /// totalResultSize (required). + /// totalResultSize. + /// hasMore. /// data (required). - public InlineResponse20021(int totalResultSize = default(int), List data = default(List)) + public InlineResponse20021(int totalResultSize = default(int), bool hasMore = default(bool), List data = default(List)) { - this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20021 and cannot be null"); + this.TotalResultSize = totalResultSize; + this.HasMore = hasMore; } /// @@ -54,11 +56,17 @@ protected InlineResponse20021() { } [DataMember(Name="totalResultSize", EmitDefaultValue=false)] public int TotalResultSize { get; set; } + /// + /// Gets or Sets HasMore + /// + [DataMember(Name="hasMore", EmitDefaultValue=false)] + public bool HasMore { get; set; } + /// /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object @@ -69,6 +77,7 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class InlineResponse20021 {\n"); sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); + sb.Append(" HasMore: ").Append(HasMore).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -108,6 +117,10 @@ public bool Equals(InlineResponse20021 input) this.TotalResultSize == input.TotalResultSize || this.TotalResultSize.Equals(input.TotalResultSize) ) && + ( + this.HasMore == input.HasMore || + this.HasMore.Equals(input.HasMore) + ) && ( this.Data == input.Data || this.Data != null && @@ -126,6 +139,7 @@ public override int GetHashCode() { int hashCode = 41; hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); + hashCode = hashCode * 59 + this.HasMore.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); return hashCode; diff --git a/src/TalonOne/Model/InlineResponse20022.cs b/src/TalonOne/Model/InlineResponse20022.cs index 6035156..a4fdcef 100644 --- a/src/TalonOne/Model/InlineResponse20022.cs +++ b/src/TalonOne/Model/InlineResponse20022.cs @@ -39,29 +39,29 @@ protected InlineResponse20022() { } /// /// Initializes a new instance of the class. /// - /// totalResultSize. /// hasMore. + /// totalResultSize. /// data (required). - public InlineResponse20022(int totalResultSize = default(int), bool hasMore = default(bool), List data = default(List)) + public InlineResponse20022(bool hasMore = default(bool), int totalResultSize = default(int), List data = default(List)) { // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20022 and cannot be null"); - this.TotalResultSize = totalResultSize; this.HasMore = hasMore; + this.TotalResultSize = totalResultSize; } - /// - /// Gets or Sets TotalResultSize - /// - [DataMember(Name="totalResultSize", EmitDefaultValue=false)] - public int TotalResultSize { get; set; } - /// /// Gets or Sets HasMore /// [DataMember(Name="hasMore", EmitDefaultValue=false)] public bool HasMore { get; set; } + /// + /// Gets or Sets TotalResultSize + /// + [DataMember(Name="totalResultSize", EmitDefaultValue=false)] + public int TotalResultSize { get; set; } + /// /// Gets or Sets Data /// @@ -76,8 +76,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse20022 {\n"); - sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); sb.Append(" HasMore: ").Append(HasMore).Append("\n"); + sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -113,14 +113,14 @@ public bool Equals(InlineResponse20022 input) return false; return - ( - this.TotalResultSize == input.TotalResultSize || - this.TotalResultSize.Equals(input.TotalResultSize) - ) && ( this.HasMore == input.HasMore || this.HasMore.Equals(input.HasMore) ) && + ( + this.TotalResultSize == input.TotalResultSize || + this.TotalResultSize.Equals(input.TotalResultSize) + ) && ( this.Data == input.Data || this.Data != null && @@ -138,8 +138,8 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; - hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); hashCode = hashCode * 59 + this.HasMore.GetHashCode(); + hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); return hashCode; diff --git a/src/TalonOne/Model/InlineResponse20023.cs b/src/TalonOne/Model/InlineResponse20023.cs index 205deb1..a504fef 100644 --- a/src/TalonOne/Model/InlineResponse20023.cs +++ b/src/TalonOne/Model/InlineResponse20023.cs @@ -42,7 +42,7 @@ protected InlineResponse20023() { } /// hasMore. /// totalResultSize. /// data (required). - public InlineResponse20023(bool hasMore = default(bool), int totalResultSize = default(int), List data = default(List)) + public InlineResponse20023(bool hasMore = default(bool), int totalResultSize = default(int), List data = default(List)) { // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20023 and cannot be null"); @@ -66,7 +66,7 @@ protected InlineResponse20023() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/InlineResponse20024.cs b/src/TalonOne/Model/InlineResponse20024.cs index 443c20d..c8ba1a5 100644 --- a/src/TalonOne/Model/InlineResponse20024.cs +++ b/src/TalonOne/Model/InlineResponse20024.cs @@ -39,15 +39,13 @@ protected InlineResponse20024() { } /// /// Initializes a new instance of the class. /// - /// hasMore. - /// totalResultSize. + /// hasMore (required). /// data (required). - public InlineResponse20024(bool hasMore = default(bool), int totalResultSize = default(int), List data = default(List)) + public InlineResponse20024(bool hasMore = default(bool), List data = default(List)) { + this.HasMore = hasMore; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20024 and cannot be null"); - this.HasMore = hasMore; - this.TotalResultSize = totalResultSize; } /// @@ -56,12 +54,6 @@ protected InlineResponse20024() { } [DataMember(Name="hasMore", EmitDefaultValue=false)] public bool HasMore { get; set; } - /// - /// Gets or Sets TotalResultSize - /// - [DataMember(Name="totalResultSize", EmitDefaultValue=false)] - public int TotalResultSize { get; set; } - /// /// Gets or Sets Data /// @@ -77,7 +69,6 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class InlineResponse20024 {\n"); sb.Append(" HasMore: ").Append(HasMore).Append("\n"); - sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -117,10 +108,6 @@ public bool Equals(InlineResponse20024 input) this.HasMore == input.HasMore || this.HasMore.Equals(input.HasMore) ) && - ( - this.TotalResultSize == input.TotalResultSize || - this.TotalResultSize.Equals(input.TotalResultSize) - ) && ( this.Data == input.Data || this.Data != null && @@ -139,7 +126,6 @@ public override int GetHashCode() { int hashCode = 41; hashCode = hashCode * 59 + this.HasMore.GetHashCode(); - hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); return hashCode; diff --git a/src/TalonOne/Model/InlineResponse20025.cs b/src/TalonOne/Model/InlineResponse20025.cs index 94a53e4..7e9c64d 100644 --- a/src/TalonOne/Model/InlineResponse20025.cs +++ b/src/TalonOne/Model/InlineResponse20025.cs @@ -41,7 +41,7 @@ protected InlineResponse20025() { } /// /// hasMore (required). /// data (required). - public InlineResponse20025(bool hasMore = default(bool), List data = default(List)) + public InlineResponse20025(bool hasMore = default(bool), List data = default(List)) { this.HasMore = hasMore; // to ensure "data" is required (not null) @@ -58,7 +58,7 @@ protected InlineResponse20025() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/InlineResponse20026.cs b/src/TalonOne/Model/InlineResponse20026.cs index 16629ce..c121c94 100644 --- a/src/TalonOne/Model/InlineResponse20026.cs +++ b/src/TalonOne/Model/InlineResponse20026.cs @@ -39,13 +39,13 @@ protected InlineResponse20026() { } /// /// Initializes a new instance of the class. /// - /// hasMore (required). + /// hasMore. /// data (required). - public InlineResponse20026(bool hasMore = default(bool), List data = default(List)) + public InlineResponse20026(bool hasMore = default(bool), List data = default(List)) { - this.HasMore = hasMore; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20026 and cannot be null"); + this.HasMore = hasMore; } /// @@ -58,7 +58,7 @@ protected InlineResponse20026() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/InlineResponse20027.cs b/src/TalonOne/Model/InlineResponse20027.cs index b18ec46..ac2ba41 100644 --- a/src/TalonOne/Model/InlineResponse20027.cs +++ b/src/TalonOne/Model/InlineResponse20027.cs @@ -39,13 +39,13 @@ protected InlineResponse20027() { } /// /// Initializes a new instance of the class. /// - /// hasMore. + /// hasMore (required). /// data (required). - public InlineResponse20027(bool hasMore = default(bool), List data = default(List)) + public InlineResponse20027(bool hasMore = default(bool), List data = default(List)) { + this.HasMore = hasMore; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20027 and cannot be null"); - this.HasMore = hasMore; } /// @@ -58,7 +58,7 @@ protected InlineResponse20027() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/InlineResponse20028.cs b/src/TalonOne/Model/InlineResponse20028.cs index 5c6c6cc..2b07e9b 100644 --- a/src/TalonOne/Model/InlineResponse20028.cs +++ b/src/TalonOne/Model/InlineResponse20028.cs @@ -39,26 +39,26 @@ protected InlineResponse20028() { } /// /// Initializes a new instance of the class. /// - /// hasMore (required). + /// totalResultSize (required). /// data (required). - public InlineResponse20028(bool hasMore = default(bool), List data = default(List)) + public InlineResponse20028(int totalResultSize = default(int), List data = default(List)) { - this.HasMore = hasMore; + this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20028 and cannot be null"); } /// - /// Gets or Sets HasMore + /// Gets or Sets TotalResultSize /// - [DataMember(Name="hasMore", EmitDefaultValue=false)] - public bool HasMore { get; set; } + [DataMember(Name="totalResultSize", EmitDefaultValue=false)] + public int TotalResultSize { get; set; } /// /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object @@ -68,7 +68,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse20028 {\n"); - sb.Append(" HasMore: ").Append(HasMore).Append("\n"); + sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -105,8 +105,8 @@ public bool Equals(InlineResponse20028 input) return ( - this.HasMore == input.HasMore || - this.HasMore.Equals(input.HasMore) + this.TotalResultSize == input.TotalResultSize || + this.TotalResultSize.Equals(input.TotalResultSize) ) && ( this.Data == input.Data || @@ -125,7 +125,7 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; - hashCode = hashCode * 59 + this.HasMore.GetHashCode(); + hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); return hashCode; diff --git a/src/TalonOne/Model/InlineResponse20029.cs b/src/TalonOne/Model/InlineResponse20029.cs index 9b9b7c1..8274697 100644 --- a/src/TalonOne/Model/InlineResponse20029.cs +++ b/src/TalonOne/Model/InlineResponse20029.cs @@ -39,15 +39,23 @@ protected InlineResponse20029() { } /// /// Initializes a new instance of the class. /// - /// totalResultSize (required). + /// hasMore. + /// totalResultSize. /// data (required). - public InlineResponse20029(int totalResultSize = default(int), List data = default(List)) + public InlineResponse20029(bool hasMore = default(bool), int totalResultSize = default(int), List data = default(List)) { - this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20029 and cannot be null"); + this.HasMore = hasMore; + this.TotalResultSize = totalResultSize; } + /// + /// Gets or Sets HasMore + /// + [DataMember(Name="hasMore", EmitDefaultValue=false)] + public bool HasMore { get; set; } + /// /// Gets or Sets TotalResultSize /// @@ -58,7 +66,7 @@ protected InlineResponse20029() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object @@ -68,6 +76,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse20029 {\n"); + sb.Append(" HasMore: ").Append(HasMore).Append("\n"); sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); @@ -104,6 +113,10 @@ public bool Equals(InlineResponse20029 input) return false; return + ( + this.HasMore == input.HasMore || + this.HasMore.Equals(input.HasMore) + ) && ( this.TotalResultSize == input.TotalResultSize || this.TotalResultSize.Equals(input.TotalResultSize) @@ -125,6 +138,7 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; + hashCode = hashCode * 59 + this.HasMore.GetHashCode(); hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); diff --git a/src/TalonOne/Model/InlineResponse20030.cs b/src/TalonOne/Model/InlineResponse20030.cs index 062e885..c6c7cc9 100644 --- a/src/TalonOne/Model/InlineResponse20030.cs +++ b/src/TalonOne/Model/InlineResponse20030.cs @@ -40,14 +40,12 @@ protected InlineResponse20030() { } /// Initializes a new instance of the class. /// /// hasMore. - /// totalResultSize. /// data (required). - public InlineResponse20030(bool hasMore = default(bool), int totalResultSize = default(int), List data = default(List)) + public InlineResponse20030(bool hasMore = default(bool), List data = default(List)) { // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20030 and cannot be null"); this.HasMore = hasMore; - this.TotalResultSize = totalResultSize; } /// @@ -56,17 +54,11 @@ protected InlineResponse20030() { } [DataMember(Name="hasMore", EmitDefaultValue=false)] public bool HasMore { get; set; } - /// - /// Gets or Sets TotalResultSize - /// - [DataMember(Name="totalResultSize", EmitDefaultValue=false)] - public int TotalResultSize { get; set; } - /// /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object @@ -77,7 +69,6 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class InlineResponse20030 {\n"); sb.Append(" HasMore: ").Append(HasMore).Append("\n"); - sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -117,10 +108,6 @@ public bool Equals(InlineResponse20030 input) this.HasMore == input.HasMore || this.HasMore.Equals(input.HasMore) ) && - ( - this.TotalResultSize == input.TotalResultSize || - this.TotalResultSize.Equals(input.TotalResultSize) - ) && ( this.Data == input.Data || this.Data != null && @@ -139,7 +126,6 @@ public override int GetHashCode() { int hashCode = 41; hashCode = hashCode * 59 + this.HasMore.GetHashCode(); - hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); return hashCode; diff --git a/src/TalonOne/Model/InlineResponse20031.cs b/src/TalonOne/Model/InlineResponse20031.cs index 6e7f5d2..d2be893 100644 --- a/src/TalonOne/Model/InlineResponse20031.cs +++ b/src/TalonOne/Model/InlineResponse20031.cs @@ -41,7 +41,7 @@ protected InlineResponse20031() { } /// /// hasMore. /// data (required). - public InlineResponse20031(bool hasMore = default(bool), List data = default(List)) + public InlineResponse20031(bool hasMore = default(bool), List data = default(List)) { // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20031 and cannot be null"); @@ -58,7 +58,7 @@ protected InlineResponse20031() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/InlineResponse20032.cs b/src/TalonOne/Model/InlineResponse20032.cs index eaf6f86..8699374 100644 --- a/src/TalonOne/Model/InlineResponse20032.cs +++ b/src/TalonOne/Model/InlineResponse20032.cs @@ -40,12 +40,14 @@ protected InlineResponse20032() { } /// Initializes a new instance of the class. /// /// hasMore. + /// totalResultSize. /// data (required). - public InlineResponse20032(bool hasMore = default(bool), List data = default(List)) + public InlineResponse20032(bool hasMore = default(bool), int totalResultSize = default(int), List data = default(List)) { // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20032 and cannot be null"); this.HasMore = hasMore; + this.TotalResultSize = totalResultSize; } /// @@ -54,11 +56,17 @@ protected InlineResponse20032() { } [DataMember(Name="hasMore", EmitDefaultValue=false)] public bool HasMore { get; set; } + /// + /// Gets or Sets TotalResultSize + /// + [DataMember(Name="totalResultSize", EmitDefaultValue=false)] + public int TotalResultSize { get; set; } + /// /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object @@ -69,6 +77,7 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class InlineResponse20032 {\n"); sb.Append(" HasMore: ").Append(HasMore).Append("\n"); + sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -108,6 +117,10 @@ public bool Equals(InlineResponse20032 input) this.HasMore == input.HasMore || this.HasMore.Equals(input.HasMore) ) && + ( + this.TotalResultSize == input.TotalResultSize || + this.TotalResultSize.Equals(input.TotalResultSize) + ) && ( this.Data == input.Data || this.Data != null && @@ -126,6 +139,7 @@ public override int GetHashCode() { int hashCode = 41; hashCode = hashCode * 59 + this.HasMore.GetHashCode(); + hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); return hashCode; diff --git a/src/TalonOne/Model/InlineResponse20033.cs b/src/TalonOne/Model/InlineResponse20033.cs index 4d5dd38..a1dd39d 100644 --- a/src/TalonOne/Model/InlineResponse20033.cs +++ b/src/TalonOne/Model/InlineResponse20033.cs @@ -39,23 +39,15 @@ protected InlineResponse20033() { } /// /// Initializes a new instance of the class. /// - /// hasMore. - /// totalResultSize. + /// totalResultSize (required). /// data (required). - public InlineResponse20033(bool hasMore = default(bool), int totalResultSize = default(int), List data = default(List)) + public InlineResponse20033(int totalResultSize = default(int), List data = default(List)) { + this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20033 and cannot be null"); - this.HasMore = hasMore; - this.TotalResultSize = totalResultSize; } - /// - /// Gets or Sets HasMore - /// - [DataMember(Name="hasMore", EmitDefaultValue=false)] - public bool HasMore { get; set; } - /// /// Gets or Sets TotalResultSize /// @@ -66,7 +58,7 @@ protected InlineResponse20033() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object @@ -76,7 +68,6 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse20033 {\n"); - sb.Append(" HasMore: ").Append(HasMore).Append("\n"); sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); @@ -113,10 +104,6 @@ public bool Equals(InlineResponse20033 input) return false; return - ( - this.HasMore == input.HasMore || - this.HasMore.Equals(input.HasMore) - ) && ( this.TotalResultSize == input.TotalResultSize || this.TotalResultSize.Equals(input.TotalResultSize) @@ -138,7 +125,6 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; - hashCode = hashCode * 59 + this.HasMore.GetHashCode(); hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); diff --git a/src/TalonOne/Model/InlineResponse20034.cs b/src/TalonOne/Model/InlineResponse20034.cs index 9ff47b4..93c1811 100644 --- a/src/TalonOne/Model/InlineResponse20034.cs +++ b/src/TalonOne/Model/InlineResponse20034.cs @@ -39,15 +39,23 @@ protected InlineResponse20034() { } /// /// Initializes a new instance of the class. /// - /// totalResultSize (required). + /// hasMore. + /// totalResultSize. /// data (required). - public InlineResponse20034(int totalResultSize = default(int), List data = default(List)) + public InlineResponse20034(bool hasMore = default(bool), int totalResultSize = default(int), List data = default(List)) { - this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20034 and cannot be null"); + this.HasMore = hasMore; + this.TotalResultSize = totalResultSize; } + /// + /// Gets or Sets HasMore + /// + [DataMember(Name="hasMore", EmitDefaultValue=false)] + public bool HasMore { get; set; } + /// /// Gets or Sets TotalResultSize /// @@ -58,7 +66,7 @@ protected InlineResponse20034() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object @@ -68,6 +76,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse20034 {\n"); + sb.Append(" HasMore: ").Append(HasMore).Append("\n"); sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); @@ -104,6 +113,10 @@ public bool Equals(InlineResponse20034 input) return false; return + ( + this.HasMore == input.HasMore || + this.HasMore.Equals(input.HasMore) + ) && ( this.TotalResultSize == input.TotalResultSize || this.TotalResultSize.Equals(input.TotalResultSize) @@ -125,6 +138,7 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; + hashCode = hashCode * 59 + this.HasMore.GetHashCode(); hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); diff --git a/src/TalonOne/Model/InlineResponse20035.cs b/src/TalonOne/Model/InlineResponse20035.cs index 4aa6cdf..09f5bff 100644 --- a/src/TalonOne/Model/InlineResponse20035.cs +++ b/src/TalonOne/Model/InlineResponse20035.cs @@ -39,23 +39,15 @@ protected InlineResponse20035() { } /// /// Initializes a new instance of the class. /// - /// hasMore. - /// totalResultSize. + /// totalResultSize (required). /// data (required). - public InlineResponse20035(bool hasMore = default(bool), int totalResultSize = default(int), List data = default(List)) + public InlineResponse20035(int totalResultSize = default(int), List data = default(List)) { + this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20035 and cannot be null"); - this.HasMore = hasMore; - this.TotalResultSize = totalResultSize; } - /// - /// Gets or Sets HasMore - /// - [DataMember(Name="hasMore", EmitDefaultValue=false)] - public bool HasMore { get; set; } - /// /// Gets or Sets TotalResultSize /// @@ -66,7 +58,7 @@ protected InlineResponse20035() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object @@ -76,7 +68,6 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse20035 {\n"); - sb.Append(" HasMore: ").Append(HasMore).Append("\n"); sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); @@ -113,10 +104,6 @@ public bool Equals(InlineResponse20035 input) return false; return - ( - this.HasMore == input.HasMore || - this.HasMore.Equals(input.HasMore) - ) && ( this.TotalResultSize == input.TotalResultSize || this.TotalResultSize.Equals(input.TotalResultSize) @@ -138,7 +125,6 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; - hashCode = hashCode * 59 + this.HasMore.GetHashCode(); hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); diff --git a/src/TalonOne/Model/InlineResponse20036.cs b/src/TalonOne/Model/InlineResponse20036.cs index ddce09c..146a9e5 100644 --- a/src/TalonOne/Model/InlineResponse20036.cs +++ b/src/TalonOne/Model/InlineResponse20036.cs @@ -41,7 +41,7 @@ protected InlineResponse20036() { } /// /// totalResultSize (required). /// data (required). - public InlineResponse20036(int totalResultSize = default(int), List data = default(List)) + public InlineResponse20036(int totalResultSize = default(int), List data = default(List)) { this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) @@ -58,7 +58,7 @@ protected InlineResponse20036() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/InlineResponse20037.cs b/src/TalonOne/Model/InlineResponse20037.cs index f374bcc..e7f9a79 100644 --- a/src/TalonOne/Model/InlineResponse20037.cs +++ b/src/TalonOne/Model/InlineResponse20037.cs @@ -41,7 +41,7 @@ protected InlineResponse20037() { } /// /// totalResultSize (required). /// data (required). - public InlineResponse20037(int totalResultSize = default(int), List data = default(List)) + public InlineResponse20037(int totalResultSize = default(int), List data = default(List)) { this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) @@ -58,7 +58,7 @@ protected InlineResponse20037() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/InlineResponse20038.cs b/src/TalonOne/Model/InlineResponse20038.cs index ebc5fd3..f5e61a5 100644 --- a/src/TalonOne/Model/InlineResponse20038.cs +++ b/src/TalonOne/Model/InlineResponse20038.cs @@ -41,7 +41,7 @@ protected InlineResponse20038() { } /// /// totalResultSize (required). /// data (required). - public InlineResponse20038(int totalResultSize = default(int), List data = default(List)) + public InlineResponse20038(int totalResultSize = default(int), List data = default(List)) { this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) @@ -58,7 +58,7 @@ protected InlineResponse20038() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/InlineResponse20039.cs b/src/TalonOne/Model/InlineResponse20039.cs index 32f39fb..3c194ab 100644 --- a/src/TalonOne/Model/InlineResponse20039.cs +++ b/src/TalonOne/Model/InlineResponse20039.cs @@ -41,7 +41,7 @@ protected InlineResponse20039() { } /// /// totalResultSize (required). /// data (required). - public InlineResponse20039(int totalResultSize = default(int), List data = default(List)) + public InlineResponse20039(int totalResultSize = default(int), List data = default(List)) { this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) @@ -58,7 +58,7 @@ protected InlineResponse20039() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/InlineResponse20040.cs b/src/TalonOne/Model/InlineResponse20040.cs index 6b6bbfd..6af3aa2 100644 --- a/src/TalonOne/Model/InlineResponse20040.cs +++ b/src/TalonOne/Model/InlineResponse20040.cs @@ -41,7 +41,7 @@ protected InlineResponse20040() { } /// /// totalResultSize (required). /// data (required). - public InlineResponse20040(int totalResultSize = default(int), List data = default(List)) + public InlineResponse20040(int totalResultSize = default(int), List data = default(List)) { this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) @@ -58,7 +58,7 @@ protected InlineResponse20040() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/InlineResponse20041.cs b/src/TalonOne/Model/InlineResponse20041.cs index 1fdcd39..031903d 100644 --- a/src/TalonOne/Model/InlineResponse20041.cs +++ b/src/TalonOne/Model/InlineResponse20041.cs @@ -39,13 +39,15 @@ protected InlineResponse20041() { } /// /// Initializes a new instance of the class. /// - /// totalResultSize (required). + /// totalResultSize. + /// hasMore. /// data (required). - public InlineResponse20041(int totalResultSize = default(int), List data = default(List)) + public InlineResponse20041(int totalResultSize = default(int), bool hasMore = default(bool), List data = default(List)) { - this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20041 and cannot be null"); + this.TotalResultSize = totalResultSize; + this.HasMore = hasMore; } /// @@ -54,11 +56,17 @@ protected InlineResponse20041() { } [DataMember(Name="totalResultSize", EmitDefaultValue=false)] public int TotalResultSize { get; set; } + /// + /// Gets or Sets HasMore + /// + [DataMember(Name="hasMore", EmitDefaultValue=false)] + public bool HasMore { get; set; } + /// /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object @@ -69,6 +77,7 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class InlineResponse20041 {\n"); sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); + sb.Append(" HasMore: ").Append(HasMore).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -108,6 +117,10 @@ public bool Equals(InlineResponse20041 input) this.TotalResultSize == input.TotalResultSize || this.TotalResultSize.Equals(input.TotalResultSize) ) && + ( + this.HasMore == input.HasMore || + this.HasMore.Equals(input.HasMore) + ) && ( this.Data == input.Data || this.Data != null && @@ -126,6 +139,7 @@ public override int GetHashCode() { int hashCode = 41; hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); + hashCode = hashCode * 59 + this.HasMore.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); return hashCode; diff --git a/src/TalonOne/Model/InlineResponse20042.cs b/src/TalonOne/Model/InlineResponse20042.cs index e994611..fe549ab 100644 --- a/src/TalonOne/Model/InlineResponse20042.cs +++ b/src/TalonOne/Model/InlineResponse20042.cs @@ -39,15 +39,13 @@ protected InlineResponse20042() { } /// /// Initializes a new instance of the class. /// - /// totalResultSize. - /// hasMore. + /// totalResultSize (required). /// data (required). - public InlineResponse20042(int totalResultSize = default(int), bool hasMore = default(bool), List data = default(List)) + public InlineResponse20042(int totalResultSize = default(int), List data = default(List)) { + this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20042 and cannot be null"); - this.TotalResultSize = totalResultSize; - this.HasMore = hasMore; } /// @@ -56,17 +54,11 @@ protected InlineResponse20042() { } [DataMember(Name="totalResultSize", EmitDefaultValue=false)] public int TotalResultSize { get; set; } - /// - /// Gets or Sets HasMore - /// - [DataMember(Name="hasMore", EmitDefaultValue=false)] - public bool HasMore { get; set; } - /// /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object @@ -77,7 +69,6 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class InlineResponse20042 {\n"); sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); - sb.Append(" HasMore: ").Append(HasMore).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -117,10 +108,6 @@ public bool Equals(InlineResponse20042 input) this.TotalResultSize == input.TotalResultSize || this.TotalResultSize.Equals(input.TotalResultSize) ) && - ( - this.HasMore == input.HasMore || - this.HasMore.Equals(input.HasMore) - ) && ( this.Data == input.Data || this.Data != null && @@ -139,7 +126,6 @@ public override int GetHashCode() { int hashCode = 41; hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); - hashCode = hashCode * 59 + this.HasMore.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); return hashCode; diff --git a/src/TalonOne/Model/InlineResponse20043.cs b/src/TalonOne/Model/InlineResponse20043.cs index 14adea1..bac8c93 100644 --- a/src/TalonOne/Model/InlineResponse20043.cs +++ b/src/TalonOne/Model/InlineResponse20043.cs @@ -41,7 +41,7 @@ protected InlineResponse20043() { } /// /// totalResultSize (required). /// data (required). - public InlineResponse20043(int totalResultSize = default(int), List data = default(List)) + public InlineResponse20043(int totalResultSize = default(int), List data = default(List)) { this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) @@ -58,7 +58,7 @@ protected InlineResponse20043() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/InlineResponse20044.cs b/src/TalonOne/Model/InlineResponse20044.cs index 9997a3b..cb29f1c 100644 --- a/src/TalonOne/Model/InlineResponse20044.cs +++ b/src/TalonOne/Model/InlineResponse20044.cs @@ -39,15 +39,23 @@ protected InlineResponse20044() { } /// /// Initializes a new instance of the class. /// - /// totalResultSize (required). + /// hasMore. + /// totalResultSize. /// data (required). - public InlineResponse20044(int totalResultSize = default(int), List data = default(List)) + public InlineResponse20044(bool hasMore = default(bool), int totalResultSize = default(int), List data = default(List)) { - this.TotalResultSize = totalResultSize; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20044 and cannot be null"); + this.HasMore = hasMore; + this.TotalResultSize = totalResultSize; } + /// + /// Gets or Sets HasMore + /// + [DataMember(Name="hasMore", EmitDefaultValue=false)] + public bool HasMore { get; set; } + /// /// Gets or Sets TotalResultSize /// @@ -58,7 +66,7 @@ protected InlineResponse20044() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object @@ -68,6 +76,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse20044 {\n"); + sb.Append(" HasMore: ").Append(HasMore).Append("\n"); sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); @@ -104,6 +113,10 @@ public bool Equals(InlineResponse20044 input) return false; return + ( + this.HasMore == input.HasMore || + this.HasMore.Equals(input.HasMore) + ) && ( this.TotalResultSize == input.TotalResultSize || this.TotalResultSize.Equals(input.TotalResultSize) @@ -125,6 +138,7 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; + hashCode = hashCode * 59 + this.HasMore.GetHashCode(); hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); diff --git a/src/TalonOne/Model/InlineResponse20045.cs b/src/TalonOne/Model/InlineResponse20045.cs index 2473049..9fa1ade 100644 --- a/src/TalonOne/Model/InlineResponse20045.cs +++ b/src/TalonOne/Model/InlineResponse20045.cs @@ -40,14 +40,12 @@ protected InlineResponse20045() { } /// Initializes a new instance of the class. /// /// hasMore. - /// totalResultSize. /// data (required). - public InlineResponse20045(bool hasMore = default(bool), int totalResultSize = default(int), List data = default(List)) + public InlineResponse20045(bool hasMore = default(bool), List data = default(List)) { // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20045 and cannot be null"); this.HasMore = hasMore; - this.TotalResultSize = totalResultSize; } /// @@ -56,17 +54,11 @@ protected InlineResponse20045() { } [DataMember(Name="hasMore", EmitDefaultValue=false)] public bool HasMore { get; set; } - /// - /// Gets or Sets TotalResultSize - /// - [DataMember(Name="totalResultSize", EmitDefaultValue=false)] - public int TotalResultSize { get; set; } - /// /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object @@ -77,7 +69,6 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class InlineResponse20045 {\n"); sb.Append(" HasMore: ").Append(HasMore).Append("\n"); - sb.Append(" TotalResultSize: ").Append(TotalResultSize).Append("\n"); sb.Append(" Data: ").Append(Data).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -117,10 +108,6 @@ public bool Equals(InlineResponse20045 input) this.HasMore == input.HasMore || this.HasMore.Equals(input.HasMore) ) && - ( - this.TotalResultSize == input.TotalResultSize || - this.TotalResultSize.Equals(input.TotalResultSize) - ) && ( this.Data == input.Data || this.Data != null && @@ -139,7 +126,6 @@ public override int GetHashCode() { int hashCode = 41; hashCode = hashCode * 59 + this.HasMore.GetHashCode(); - hashCode = hashCode * 59 + this.TotalResultSize.GetHashCode(); if (this.Data != null) hashCode = hashCode * 59 + this.Data.GetHashCode(); return hashCode; diff --git a/src/TalonOne/Model/InlineResponse20046.cs b/src/TalonOne/Model/InlineResponse20046.cs index 783f95b..a5833bb 100644 --- a/src/TalonOne/Model/InlineResponse20046.cs +++ b/src/TalonOne/Model/InlineResponse20046.cs @@ -39,13 +39,13 @@ protected InlineResponse20046() { } /// /// Initializes a new instance of the class. /// - /// hasMore. + /// hasMore (required). /// data (required). - public InlineResponse20046(bool hasMore = default(bool), List data = default(List)) + public InlineResponse20046(bool hasMore = default(bool), List data = default(List)) { + this.HasMore = hasMore; // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for InlineResponse20046 and cannot be null"); - this.HasMore = hasMore; } /// @@ -58,7 +58,7 @@ protected InlineResponse20046() { } /// Gets or Sets Data /// [DataMember(Name="data", EmitDefaultValue=false)] - public List Data { get; set; } + public List Data { get; set; } /// /// Returns the string presentation of the object diff --git a/src/TalonOne/Model/IntegrationCustomerSessionResponse.cs b/src/TalonOne/Model/IntegrationCustomerSessionResponse.cs index 4594003..4181d07 100644 --- a/src/TalonOne/Model/IntegrationCustomerSessionResponse.cs +++ b/src/TalonOne/Model/IntegrationCustomerSessionResponse.cs @@ -35,7 +35,7 @@ public partial class IntegrationCustomerSessionResponse : IEquatable class. /// /// customerSession. - /// effects. + /// The returned effects. **Note:** This endpoint returns only the effects that are valid after any rollback effects and their corresponding non-rollback effects are removed. . public IntegrationCustomerSessionResponse(CustomerSessionV2 customerSession = default(CustomerSessionV2), List effects = default(List)) { this.CustomerSession = customerSession; @@ -49,8 +49,9 @@ public partial class IntegrationCustomerSessionResponse : IEquatable - /// Gets or Sets Effects + /// The returned effects. **Note:** This endpoint returns only the effects that are valid after any rollback effects and their corresponding non-rollback effects are removed. /// + /// The returned effects. **Note:** This endpoint returns only the effects that are valid after any rollback effects and their corresponding non-rollback effects are removed. [DataMember(Name="effects", EmitDefaultValue=false)] public List Effects { get; set; } diff --git a/src/TalonOne/Model/LedgerEntry.cs b/src/TalonOne/Model/LedgerEntry.cs index 3c4248c..5c22a55 100644 --- a/src/TalonOne/Model/LedgerEntry.cs +++ b/src/TalonOne/Model/LedgerEntry.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// LedgerEntry + /// Entry in the point ledger. /// [DataContract] public partial class LedgerEntry : IEquatable, IValidatableObject diff --git a/src/TalonOne/Model/LedgerInfo.cs b/src/TalonOne/Model/LedgerInfo.cs index b211f3b..1b08990 100644 --- a/src/TalonOne/Model/LedgerInfo.cs +++ b/src/TalonOne/Model/LedgerInfo.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// LedgerInfo + /// The balance in a Loyalty Program for some Customer. /// [DataContract] public partial class LedgerInfo : IEquatable, IValidatableObject @@ -43,8 +43,8 @@ protected LedgerInfo() { } /// Sum of pending points. (required). /// **DEPRECATED** Value is shown as 0. (required). /// **DEPRECATED** Value is shown as 0. (required). - /// Sum of the tentative active points (including additions and deductions) inside the currently open session. The `currentBalance` is updated to this value when you close the session, and the effects are applied. (required). - /// Sum of pending points (including additions and deductions) inside the currently open session. The `pendingBalance` is updated to this value when you close the session, and the effects are applied.. + /// The tentative points balance, reflecting the `currentBalance` and all point additions and deductions within the current open customer session. When the session is closed, the effects are applied and the `currentBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. (required). + /// The tentative points balance, reflecting the `pendingBalance` and all point additions with a future activation date within the current open customer session. When the session is closed, the effects are applied and the `pendingBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. . /// currentTier. /// Points required to move up a tier.. public LedgerInfo(decimal currentBalance = default(decimal), decimal pendingBalance = default(decimal), decimal expiredBalance = default(decimal), decimal spentBalance = default(decimal), decimal tentativeCurrentBalance = default(decimal), decimal tentativePendingBalance = default(decimal), Tier currentTier = default(Tier), decimal pointsToNextTier = default(decimal)) @@ -88,16 +88,16 @@ protected LedgerInfo() { } public decimal SpentBalance { get; set; } /// - /// Sum of the tentative active points (including additions and deductions) inside the currently open session. The `currentBalance` is updated to this value when you close the session, and the effects are applied. + /// The tentative points balance, reflecting the `currentBalance` and all point additions and deductions within the current open customer session. When the session is closed, the effects are applied and the `currentBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. /// - /// Sum of the tentative active points (including additions and deductions) inside the currently open session. The `currentBalance` is updated to this value when you close the session, and the effects are applied. + /// The tentative points balance, reflecting the `currentBalance` and all point additions and deductions within the current open customer session. When the session is closed, the effects are applied and the `currentBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. [DataMember(Name="tentativeCurrentBalance", EmitDefaultValue=false)] public decimal TentativeCurrentBalance { get; set; } /// - /// Sum of pending points (including additions and deductions) inside the currently open session. The `pendingBalance` is updated to this value when you close the session, and the effects are applied. + /// The tentative points balance, reflecting the `pendingBalance` and all point additions with a future activation date within the current open customer session. When the session is closed, the effects are applied and the `pendingBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. /// - /// Sum of pending points (including additions and deductions) inside the currently open session. The `pendingBalance` is updated to this value when you close the session, and the effects are applied. + /// The tentative points balance, reflecting the `pendingBalance` and all point additions with a future activation date within the current open customer session. When the session is closed, the effects are applied and the `pendingBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. [DataMember(Name="tentativePendingBalance", EmitDefaultValue=false)] public decimal TentativePendingBalance { get; set; } diff --git a/src/TalonOne/Model/LimitConfig.cs b/src/TalonOne/Model/LimitConfig.cs index 7e4ff75..465e0a7 100644 --- a/src/TalonOne/Model/LimitConfig.cs +++ b/src/TalonOne/Model/LimitConfig.cs @@ -98,7 +98,19 @@ public enum EntitiesEnum /// Enum Identifier for value: Identifier /// [EnumMember(Value = "Identifier")] - Identifier = 4 + Identifier = 4, + + /// + /// Enum Store for value: Store + /// + [EnumMember(Value = "Store")] + Store = 5, + + /// + /// Enum Session for value: Session + /// + [EnumMember(Value = "Session")] + Session = 6 } diff --git a/src/TalonOne/Model/ListCampaignStoreBudgets.cs b/src/TalonOne/Model/ListCampaignStoreBudgets.cs new file mode 100644 index 0000000..e8fd047 --- /dev/null +++ b/src/TalonOne/Model/ListCampaignStoreBudgets.cs @@ -0,0 +1,178 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// ListCampaignStoreBudgets + /// + [DataContract] + public partial class ListCampaignStoreBudgets : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ListCampaignStoreBudgets() { } + /// + /// Initializes a new instance of the class. + /// + /// store (required). + /// limit (required). + /// action (required). + /// period. + public ListCampaignStoreBudgets(ListCampaignStoreBudgetsStore store = default(ListCampaignStoreBudgetsStore), int limit = default(int), string action = default(string), string period = default(string)) + { + // to ensure "store" is required (not null) + this.Store = store ?? throw new ArgumentNullException("store is a required property for ListCampaignStoreBudgets and cannot be null"); + this.Limit = limit; + // to ensure "action" is required (not null) + this.Action = action ?? throw new ArgumentNullException("action is a required property for ListCampaignStoreBudgets and cannot be null"); + this.Period = period; + } + + /// + /// Gets or Sets Store + /// + [DataMember(Name="store", EmitDefaultValue=false)] + public ListCampaignStoreBudgetsStore Store { get; set; } + + /// + /// Gets or Sets Limit + /// + [DataMember(Name="limit", EmitDefaultValue=false)] + public int Limit { get; set; } + + /// + /// Gets or Sets Action + /// + [DataMember(Name="action", EmitDefaultValue=false)] + public string Action { get; set; } + + /// + /// Gets or Sets Period + /// + [DataMember(Name="period", EmitDefaultValue=false)] + public string Period { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ListCampaignStoreBudgets {\n"); + sb.Append(" Store: ").Append(Store).Append("\n"); + sb.Append(" Limit: ").Append(Limit).Append("\n"); + sb.Append(" Action: ").Append(Action).Append("\n"); + sb.Append(" Period: ").Append(Period).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ListCampaignStoreBudgets); + } + + /// + /// Returns true if ListCampaignStoreBudgets instances are equal + /// + /// Instance of ListCampaignStoreBudgets to be compared + /// Boolean + public bool Equals(ListCampaignStoreBudgets input) + { + if (input == null) + return false; + + return + ( + this.Store == input.Store || + (this.Store != null && + this.Store.Equals(input.Store)) + ) && + ( + this.Limit == input.Limit || + this.Limit.Equals(input.Limit) + ) && + ( + this.Action == input.Action || + (this.Action != null && + this.Action.Equals(input.Action)) + ) && + ( + this.Period == input.Period || + (this.Period != null && + this.Period.Equals(input.Period)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Store != null) + hashCode = hashCode * 59 + this.Store.GetHashCode(); + hashCode = hashCode * 59 + this.Limit.GetHashCode(); + if (this.Action != null) + hashCode = hashCode * 59 + this.Action.GetHashCode(); + if (this.Period != null) + hashCode = hashCode * 59 + this.Period.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/ListCampaignStoreBudgetsStore.cs b/src/TalonOne/Model/ListCampaignStoreBudgetsStore.cs new file mode 100644 index 0000000..f97dc55 --- /dev/null +++ b/src/TalonOne/Model/ListCampaignStoreBudgetsStore.cs @@ -0,0 +1,162 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// ListCampaignStoreBudgetsStore + /// + [DataContract] + public partial class ListCampaignStoreBudgetsStore : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ListCampaignStoreBudgetsStore() { } + /// + /// Initializes a new instance of the class. + /// + /// id (required). + /// integrationId (required). + /// name (required). + public ListCampaignStoreBudgetsStore(int id = default(int), string integrationId = default(string), string name = default(string)) + { + this.Id = id; + // to ensure "integrationId" is required (not null) + this.IntegrationId = integrationId ?? throw new ArgumentNullException("integrationId is a required property for ListCampaignStoreBudgetsStore and cannot be null"); + // to ensure "name" is required (not null) + this.Name = name ?? throw new ArgumentNullException("name is a required property for ListCampaignStoreBudgetsStore and cannot be null"); + } + + /// + /// Gets or Sets Id + /// + [DataMember(Name="id", EmitDefaultValue=false)] + public int Id { get; set; } + + /// + /// Gets or Sets IntegrationId + /// + [DataMember(Name="integrationId", EmitDefaultValue=false)] + public string IntegrationId { get; set; } + + /// + /// Gets or Sets Name + /// + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ListCampaignStoreBudgetsStore {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" IntegrationId: ").Append(IntegrationId).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ListCampaignStoreBudgetsStore); + } + + /// + /// Returns true if ListCampaignStoreBudgetsStore instances are equal + /// + /// Instance of ListCampaignStoreBudgetsStore to be compared + /// Boolean + public bool Equals(ListCampaignStoreBudgetsStore input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + this.Id.Equals(input.Id) + ) && + ( + this.IntegrationId == input.IntegrationId || + (this.IntegrationId != null && + this.IntegrationId.Equals(input.IntegrationId)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.IntegrationId != null) + hashCode = hashCode * 59 + this.IntegrationId.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/LoyaltyBalanceWithTier.cs b/src/TalonOne/Model/LoyaltyBalanceWithTier.cs index 51f6d6e..70790b3 100644 --- a/src/TalonOne/Model/LoyaltyBalanceWithTier.cs +++ b/src/TalonOne/Model/LoyaltyBalanceWithTier.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// LoyaltyBalanceWithTier + /// Point balance of a ledger in the Loyalty Program. /// [DataContract] public partial class LoyaltyBalanceWithTier : IEquatable, IValidatableObject diff --git a/src/TalonOne/Model/LoyaltyCard.cs b/src/TalonOne/Model/LoyaltyCard.cs index 8aada45..8da31ac 100644 --- a/src/TalonOne/Model/LoyaltyCard.cs +++ b/src/TalonOne/Model/LoyaltyCard.cs @@ -42,6 +42,8 @@ protected LoyaltyCard() { } /// Internal ID of this entity. (required). /// The time this entity was created. (required). /// The ID of the loyalty program that owns this entity. (required). + /// The integration name of the loyalty program that owns this entity.. + /// The Campaign Manager-displayed name of the loyalty program that owns this entity.. /// Status of the loyalty card. Can be `active` or `inactive`. (required). /// Reason for transferring and blocking the loyalty card. . /// The alphanumeric identifier of the loyalty card. (required). @@ -53,7 +55,7 @@ protected LoyaltyCard() { } /// The alphanumeric identifier of the loyalty card. . /// The alphanumeric identifier of the loyalty card. . /// The ID of the batch in which the loyalty card was created.. - public LoyaltyCard(int id = default(int), DateTime created = default(DateTime), int programID = default(int), string status = default(string), string blockReason = default(string), string identifier = default(string), int usersPerCardLimit = default(int), List profiles = default(List), LedgerInfo ledger = default(LedgerInfo), Dictionary subledgers = default(Dictionary), DateTime modified = default(DateTime), string oldCardIdentifier = default(string), string newCardIdentifier = default(string), string batchId = default(string)) + public LoyaltyCard(int id = default(int), DateTime created = default(DateTime), int programID = default(int), string programName = default(string), string programTitle = default(string), string status = default(string), string blockReason = default(string), string identifier = default(string), int usersPerCardLimit = default(int), List profiles = default(List), LedgerInfo ledger = default(LedgerInfo), Dictionary subledgers = default(Dictionary), DateTime modified = default(DateTime), string oldCardIdentifier = default(string), string newCardIdentifier = default(string), string batchId = default(string)) { this.Id = id; this.Created = created; @@ -63,6 +65,8 @@ protected LoyaltyCard() { } // to ensure "identifier" is required (not null) this.Identifier = identifier ?? throw new ArgumentNullException("identifier is a required property for LoyaltyCard and cannot be null"); this.UsersPerCardLimit = usersPerCardLimit; + this.ProgramName = programName; + this.ProgramTitle = programTitle; this.BlockReason = blockReason; this.Profiles = profiles; this.Ledger = ledger; @@ -94,6 +98,20 @@ protected LoyaltyCard() { } [DataMember(Name="programID", EmitDefaultValue=false)] public int ProgramID { get; set; } + /// + /// The integration name of the loyalty program that owns this entity. + /// + /// The integration name of the loyalty program that owns this entity. + [DataMember(Name="programName", EmitDefaultValue=false)] + public string ProgramName { get; set; } + + /// + /// The Campaign Manager-displayed name of the loyalty program that owns this entity. + /// + /// The Campaign Manager-displayed name of the loyalty program that owns this entity. + [DataMember(Name="programTitle", EmitDefaultValue=false)] + public string ProgramTitle { get; set; } + /// /// Status of the loyalty card. Can be `active` or `inactive`. /// @@ -181,6 +199,8 @@ public override string ToString() sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Created: ").Append(Created).Append("\n"); sb.Append(" ProgramID: ").Append(ProgramID).Append("\n"); + sb.Append(" ProgramName: ").Append(ProgramName).Append("\n"); + sb.Append(" ProgramTitle: ").Append(ProgramTitle).Append("\n"); sb.Append(" Status: ").Append(Status).Append("\n"); sb.Append(" BlockReason: ").Append(BlockReason).Append("\n"); sb.Append(" Identifier: ").Append(Identifier).Append("\n"); @@ -239,6 +259,16 @@ public bool Equals(LoyaltyCard input) this.ProgramID == input.ProgramID || this.ProgramID.Equals(input.ProgramID) ) && + ( + this.ProgramName == input.ProgramName || + (this.ProgramName != null && + this.ProgramName.Equals(input.ProgramName)) + ) && + ( + this.ProgramTitle == input.ProgramTitle || + (this.ProgramTitle != null && + this.ProgramTitle.Equals(input.ProgramTitle)) + ) && ( this.Status == input.Status || (this.Status != null && @@ -310,6 +340,10 @@ public override int GetHashCode() if (this.Created != null) hashCode = hashCode * 59 + this.Created.GetHashCode(); hashCode = hashCode * 59 + this.ProgramID.GetHashCode(); + if (this.ProgramName != null) + hashCode = hashCode * 59 + this.ProgramName.GetHashCode(); + if (this.ProgramTitle != null) + hashCode = hashCode * 59 + this.ProgramTitle.GetHashCode(); if (this.Status != null) hashCode = hashCode * 59 + this.Status.GetHashCode(); if (this.BlockReason != null) @@ -348,6 +382,13 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Identifier, length must be less than 108.", new [] { "Identifier" }); } + // Identifier (string) pattern + Regex regexIdentifier = new Regex(@"^[A-Za-z0-9_-]*$", RegexOptions.CultureInvariant); + if (false == regexIdentifier.Match(this.Identifier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Identifier, must match a pattern of " + regexIdentifier, new [] { "Identifier" }); + } + // UsersPerCardLimit (int) minimum if(this.UsersPerCardLimit < (int)0) { @@ -360,12 +401,26 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for OldCardIdentifier, length must be less than 108.", new [] { "OldCardIdentifier" }); } + // OldCardIdentifier (string) pattern + Regex regexOldCardIdentifier = new Regex(@"^[A-Za-z0-9_-]*$", RegexOptions.CultureInvariant); + if (false == regexOldCardIdentifier.Match(this.OldCardIdentifier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for OldCardIdentifier, must match a pattern of " + regexOldCardIdentifier, new [] { "OldCardIdentifier" }); + } + // NewCardIdentifier (string) maxLength if(this.NewCardIdentifier != null && this.NewCardIdentifier.Length > 108) { yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for NewCardIdentifier, length must be less than 108.", new [] { "NewCardIdentifier" }); } + // NewCardIdentifier (string) pattern + Regex regexNewCardIdentifier = new Regex(@"^[A-Za-z0-9_-]*$", RegexOptions.CultureInvariant); + if (false == regexNewCardIdentifier.Match(this.NewCardIdentifier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for NewCardIdentifier, must match a pattern of " + regexNewCardIdentifier, new [] { "NewCardIdentifier" }); + } + yield break; } } diff --git a/src/TalonOne/Model/LoyaltyCardBalances.cs b/src/TalonOne/Model/LoyaltyCardBalances.cs index b857897..06d4525 100644 --- a/src/TalonOne/Model/LoyaltyCardBalances.cs +++ b/src/TalonOne/Model/LoyaltyCardBalances.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// LoyaltyCardBalances + /// List of customer profiles linked to the loyalty card. /// [DataContract] public partial class LoyaltyCardBalances : IEquatable, IValidatableObject diff --git a/src/TalonOne/Model/LoyaltyCardBatch.cs b/src/TalonOne/Model/LoyaltyCardBatch.cs index 4d0893b..f7cfb3d 100644 --- a/src/TalonOne/Model/LoyaltyCardBatch.cs +++ b/src/TalonOne/Model/LoyaltyCardBatch.cs @@ -69,11 +69,13 @@ protected LoyaltyCardBatch() { } /// Number of loyalty cards in the batch. (required). /// ID of the loyalty card batch.. /// Status of the loyalty cards in the batch. (default to StatusEnum.Active). - public LoyaltyCardBatch(int numberOfCards = default(int), string batchId = default(string), StatusEnum? status = StatusEnum.Active) + /// cardCodeSettings. + public LoyaltyCardBatch(int numberOfCards = default(int), string batchId = default(string), StatusEnum? status = StatusEnum.Active, CodeGeneratorSettings cardCodeSettings = default(CodeGeneratorSettings)) { this.NumberOfCards = numberOfCards; this.BatchId = batchId; this.Status = status; + this.CardCodeSettings = cardCodeSettings; } /// @@ -90,6 +92,12 @@ protected LoyaltyCardBatch() { } [DataMember(Name="batchId", EmitDefaultValue=false)] public string BatchId { get; set; } + /// + /// Gets or Sets CardCodeSettings + /// + [DataMember(Name="cardCodeSettings", EmitDefaultValue=false)] + public CodeGeneratorSettings CardCodeSettings { get; set; } + /// /// Returns the string presentation of the object /// @@ -101,6 +109,7 @@ public override string ToString() sb.Append(" NumberOfCards: ").Append(NumberOfCards).Append("\n"); sb.Append(" BatchId: ").Append(BatchId).Append("\n"); sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" CardCodeSettings: ").Append(CardCodeSettings).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -147,6 +156,11 @@ public bool Equals(LoyaltyCardBatch input) ( this.Status == input.Status || this.Status.Equals(input.Status) + ) && + ( + this.CardCodeSettings == input.CardCodeSettings || + (this.CardCodeSettings != null && + this.CardCodeSettings.Equals(input.CardCodeSettings)) ); } @@ -163,6 +177,8 @@ public override int GetHashCode() if (this.BatchId != null) hashCode = hashCode * 59 + this.BatchId.GetHashCode(); hashCode = hashCode * 59 + this.Status.GetHashCode(); + if (this.CardCodeSettings != null) + hashCode = hashCode * 59 + this.CardCodeSettings.GetHashCode(); return hashCode; } } diff --git a/src/TalonOne/Model/LoyaltyProgram.cs b/src/TalonOne/Model/LoyaltyProgram.cs index d82a029..1cf43ca 100644 --- a/src/TalonOne/Model/LoyaltyProgram.cs +++ b/src/TalonOne/Model/LoyaltyProgram.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// LoyaltyProgram + /// A Loyalty Program /// [DataContract] public partial class LoyaltyProgram : IEquatable, IValidatableObject @@ -131,6 +131,33 @@ public enum TiersDowngradePolicyEnum [DataMember(Name="tiersDowngradePolicy", EmitDefaultValue=false)] public TiersDowngradePolicyEnum? TiersDowngradePolicy { get; set; } /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + [JsonConverter(typeof(StringEnumConverter))] + public enum ReturnPolicyEnum + { + /// + /// Enum Onlypending for value: only_pending + /// + [EnumMember(Value = "only_pending")] + Onlypending = 1, + + /// + /// Enum Withinbalance for value: within_balance + /// + [EnumMember(Value = "within_balance")] + Withinbalance = 2 + + } + + /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + [DataMember(Name="returnPolicy", EmitDefaultValue=false)] + public ReturnPolicyEnum? ReturnPolicy { get; set; } + /// /// Initializes a new instance of the class. /// [JsonConstructorAttribute] @@ -138,7 +165,7 @@ protected LoyaltyProgram() { } /// /// Initializes a new instance of the class. /// - /// The ID of loyalty program. Internal ID of this entity. (required). + /// The ID of loyalty program. (required). /// The time this entity was created. (required). /// The display title for the Loyalty Program. (required). /// Description of our Loyalty Program. (required). @@ -154,6 +181,7 @@ protected LoyaltyProgram() { } /// The amount of time after which the tier expires and is reevaluated. 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. . /// The policy that defines how customer tiers are downgraded in the loyalty program after tier reevaluation. - `one_down`: If the customer doesn't have enough points to stay in the current tier, they are downgraded by one tier. - `balance_based`: The customer's tier is reevaluated based on the amount of active points they have at the moment. . /// cardCodeSettings. + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. . /// The ID of the Talon.One account that owns this program. (required). /// The internal name for the Loyalty Program. This is an immutable value. (required). /// The tiers in this loyalty program.. @@ -164,7 +192,7 @@ protected LoyaltyProgram() { } /// `True` if the tier expiration policy can be updated. . /// `True` if the program can be upgraded to use the `tiersExpireIn` and `tiersDowngradePolicy` properties. (default to false). /// `True` if the `allowSubledger` property can be updated in the loyalty program. (default to false). - public LoyaltyProgram(int id = default(int), DateTime created = default(DateTime), string title = default(string), string description = default(string), List subscribedApplications = default(List), string defaultValidity = default(string), string defaultPending = default(string), bool allowSubledger = default(bool), int usersPerCardLimit = default(int), bool sandbox = default(bool), ProgramJoinPolicyEnum? programJoinPolicy = default(ProgramJoinPolicyEnum?), TiersExpirationPolicyEnum? tiersExpirationPolicy = default(TiersExpirationPolicyEnum?), DateTime tierCycleStartDate = default(DateTime), string tiersExpireIn = default(string), TiersDowngradePolicyEnum? tiersDowngradePolicy = default(TiersDowngradePolicyEnum?), CodeGeneratorSettings cardCodeSettings = default(CodeGeneratorSettings), int accountID = default(int), string name = default(string), List tiers = default(List), string timezone = default(string), bool cardBased = false, bool canUpdateTiers = false, bool canUpdateJoinPolicy = default(bool), bool canUpdateTierExpirationPolicy = default(bool), bool canUpgradeToAdvancedTiers = false, bool canUpdateSubledgers = false) + public LoyaltyProgram(int id = default(int), DateTime created = default(DateTime), string title = default(string), string description = default(string), List subscribedApplications = default(List), string defaultValidity = default(string), string defaultPending = default(string), bool allowSubledger = default(bool), int usersPerCardLimit = default(int), bool sandbox = default(bool), ProgramJoinPolicyEnum? programJoinPolicy = default(ProgramJoinPolicyEnum?), TiersExpirationPolicyEnum? tiersExpirationPolicy = default(TiersExpirationPolicyEnum?), DateTime tierCycleStartDate = default(DateTime), string tiersExpireIn = default(string), TiersDowngradePolicyEnum? tiersDowngradePolicy = default(TiersDowngradePolicyEnum?), CodeGeneratorSettings cardCodeSettings = default(CodeGeneratorSettings), ReturnPolicyEnum? returnPolicy = default(ReturnPolicyEnum?), int accountID = default(int), string name = default(string), List tiers = default(List), string timezone = default(string), bool cardBased = false, bool canUpdateTiers = false, bool canUpdateJoinPolicy = default(bool), bool canUpdateTierExpirationPolicy = default(bool), bool canUpgradeToAdvancedTiers = false, bool canUpdateSubledgers = false) { this.Id = id; this.Created = created; @@ -193,6 +221,7 @@ protected LoyaltyProgram() { } this.TiersExpireIn = tiersExpireIn; this.TiersDowngradePolicy = tiersDowngradePolicy; this.CardCodeSettings = cardCodeSettings; + this.ReturnPolicy = returnPolicy; this.Tiers = tiers; this.CanUpdateTiers = canUpdateTiers; this.CanUpdateJoinPolicy = canUpdateJoinPolicy; @@ -202,9 +231,9 @@ protected LoyaltyProgram() { } } /// - /// The ID of loyalty program. Internal ID of this entity. + /// The ID of loyalty program. /// - /// The ID of loyalty program. Internal ID of this entity. + /// The ID of loyalty program. [DataMember(Name="id", EmitDefaultValue=false)] public int Id { get; set; } @@ -385,6 +414,7 @@ public override string ToString() sb.Append(" TiersExpireIn: ").Append(TiersExpireIn).Append("\n"); sb.Append(" TiersDowngradePolicy: ").Append(TiersDowngradePolicy).Append("\n"); sb.Append(" CardCodeSettings: ").Append(CardCodeSettings).Append("\n"); + sb.Append(" ReturnPolicy: ").Append(ReturnPolicy).Append("\n"); sb.Append(" AccountID: ").Append(AccountID).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" Tiers: ").Append(Tiers).Append("\n"); @@ -503,6 +533,10 @@ public bool Equals(LoyaltyProgram input) (this.CardCodeSettings != null && this.CardCodeSettings.Equals(input.CardCodeSettings)) ) && + ( + this.ReturnPolicy == input.ReturnPolicy || + this.ReturnPolicy.Equals(input.ReturnPolicy) + ) && ( this.AccountID == input.AccountID || this.AccountID.Equals(input.AccountID) @@ -583,6 +617,7 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.TiersDowngradePolicy.GetHashCode(); if (this.CardCodeSettings != null) hashCode = hashCode * 59 + this.CardCodeSettings.GetHashCode(); + hashCode = hashCode * 59 + this.ReturnPolicy.GetHashCode(); hashCode = hashCode * 59 + this.AccountID.GetHashCode(); if (this.Name != null) hashCode = hashCode * 59 + this.Name.GetHashCode(); diff --git a/src/TalonOne/Model/LoyaltyProgramBalance.cs b/src/TalonOne/Model/LoyaltyProgramBalance.cs index 1dd7dc3..86ff6d4 100644 --- a/src/TalonOne/Model/LoyaltyProgramBalance.cs +++ b/src/TalonOne/Model/LoyaltyProgramBalance.cs @@ -43,8 +43,8 @@ protected LoyaltyProgramBalance() { } /// Sum of pending points. (required). /// **DEPRECATED** Value is shown as 0. (required). /// **DEPRECATED** Value is shown as 0. (required). - /// Sum of the tentative active points (including additions and deductions) inside the currently open session. The `currentBalance` is updated to this value when you close the session, and the effects are applied. (required). - /// Sum of pending points (including additions and deductions) inside the currently open session. The `pendingBalance` is updated to this value when you close the session, and the effects are applied.. + /// The tentative points balance, reflecting the `currentBalance` and all point additions and deductions within the current open customer session. When the session is closed, the effects are applied and the `currentBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. (required). + /// The tentative points balance, reflecting the `pendingBalance` and all point additions with a future activation date within the current open customer session. When the session is closed, the effects are applied and the `pendingBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. . public LoyaltyProgramBalance(decimal currentBalance = default(decimal), decimal pendingBalance = default(decimal), decimal expiredBalance = default(decimal), decimal spentBalance = default(decimal), decimal tentativeCurrentBalance = default(decimal), decimal tentativePendingBalance = default(decimal)) { this.CurrentBalance = currentBalance; @@ -84,16 +84,16 @@ protected LoyaltyProgramBalance() { } public decimal SpentBalance { get; set; } /// - /// Sum of the tentative active points (including additions and deductions) inside the currently open session. The `currentBalance` is updated to this value when you close the session, and the effects are applied. + /// The tentative points balance, reflecting the `currentBalance` and all point additions and deductions within the current open customer session. When the session is closed, the effects are applied and the `currentBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. /// - /// Sum of the tentative active points (including additions and deductions) inside the currently open session. The `currentBalance` is updated to this value when you close the session, and the effects are applied. + /// The tentative points balance, reflecting the `currentBalance` and all point additions and deductions within the current open customer session. When the session is closed, the effects are applied and the `currentBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. [DataMember(Name="tentativeCurrentBalance", EmitDefaultValue=false)] public decimal TentativeCurrentBalance { get; set; } /// - /// Sum of pending points (including additions and deductions) inside the currently open session. The `pendingBalance` is updated to this value when you close the session, and the effects are applied. + /// The tentative points balance, reflecting the `pendingBalance` and all point additions with a future activation date within the current open customer session. When the session is closed, the effects are applied and the `pendingBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. /// - /// Sum of pending points (including additions and deductions) inside the currently open session. The `pendingBalance` is updated to this value when you close the session, and the effects are applied. + /// The tentative points balance, reflecting the `pendingBalance` and all point additions with a future activation date within the current open customer session. When the session is closed, the effects are applied and the `pendingBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. [DataMember(Name="tentativePendingBalance", EmitDefaultValue=false)] public decimal TentativePendingBalance { get; set; } diff --git a/src/TalonOne/Model/LoyaltyProgramEntity.cs b/src/TalonOne/Model/LoyaltyProgramEntity.cs index eb11d5b..a788fd8 100644 --- a/src/TalonOne/Model/LoyaltyProgramEntity.cs +++ b/src/TalonOne/Model/LoyaltyProgramEntity.cs @@ -40,9 +40,13 @@ protected LoyaltyProgramEntity() { } /// Initializes a new instance of the class. /// /// The ID of the loyalty program that owns this entity. (required). - public LoyaltyProgramEntity(int programID = default(int)) + /// The integration name of the loyalty program that owns this entity.. + /// The Campaign Manager-displayed name of the loyalty program that owns this entity.. + public LoyaltyProgramEntity(int programID = default(int), string programName = default(string), string programTitle = default(string)) { this.ProgramID = programID; + this.ProgramName = programName; + this.ProgramTitle = programTitle; } /// @@ -52,6 +56,20 @@ protected LoyaltyProgramEntity() { } [DataMember(Name="programID", EmitDefaultValue=false)] public int ProgramID { get; set; } + /// + /// The integration name of the loyalty program that owns this entity. + /// + /// The integration name of the loyalty program that owns this entity. + [DataMember(Name="programName", EmitDefaultValue=false)] + public string ProgramName { get; set; } + + /// + /// The Campaign Manager-displayed name of the loyalty program that owns this entity. + /// + /// The Campaign Manager-displayed name of the loyalty program that owns this entity. + [DataMember(Name="programTitle", EmitDefaultValue=false)] + public string ProgramTitle { get; set; } + /// /// Returns the string presentation of the object /// @@ -61,6 +79,8 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class LoyaltyProgramEntity {\n"); sb.Append(" ProgramID: ").Append(ProgramID).Append("\n"); + sb.Append(" ProgramName: ").Append(ProgramName).Append("\n"); + sb.Append(" ProgramTitle: ").Append(ProgramTitle).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -98,6 +118,16 @@ public bool Equals(LoyaltyProgramEntity input) ( this.ProgramID == input.ProgramID || this.ProgramID.Equals(input.ProgramID) + ) && + ( + this.ProgramName == input.ProgramName || + (this.ProgramName != null && + this.ProgramName.Equals(input.ProgramName)) + ) && + ( + this.ProgramTitle == input.ProgramTitle || + (this.ProgramTitle != null && + this.ProgramTitle.Equals(input.ProgramTitle)) ); } @@ -111,6 +141,10 @@ public override int GetHashCode() { int hashCode = 41; hashCode = hashCode * 59 + this.ProgramID.GetHashCode(); + if (this.ProgramName != null) + hashCode = hashCode * 59 + this.ProgramName.GetHashCode(); + if (this.ProgramTitle != null) + hashCode = hashCode * 59 + this.ProgramTitle.GetHashCode(); return hashCode; } } diff --git a/src/TalonOne/Model/LoyaltyProgramTransaction.cs b/src/TalonOne/Model/LoyaltyProgramTransaction.cs index fd0cf7d..691b83d 100644 --- a/src/TalonOne/Model/LoyaltyProgramTransaction.cs +++ b/src/TalonOne/Model/LoyaltyProgramTransaction.cs @@ -451,6 +451,13 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, length must be less than 108.", new [] { "CardIdentifier" }); } + // CardIdentifier (string) pattern + Regex regexCardIdentifier = new Regex(@"^[A-Za-z0-9_-]*$", RegexOptions.CultureInvariant); + if (false == regexCardIdentifier.Match(this.CardIdentifier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, must match a pattern of " + regexCardIdentifier, new [] { "CardIdentifier" }); + } + // SubledgerId (string) maxLength if(this.SubledgerId != null && this.SubledgerId.Length > 64) { diff --git a/src/TalonOne/Model/LoyaltyTier.cs b/src/TalonOne/Model/LoyaltyTier.cs index c76dade..cddf5bd 100644 --- a/src/TalonOne/Model/LoyaltyTier.cs +++ b/src/TalonOne/Model/LoyaltyTier.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// LoyaltyTier + /// A tier in a loyalty program. /// [DataContract] public partial class LoyaltyTier : IEquatable, IValidatableObject @@ -42,9 +42,11 @@ protected LoyaltyTier() { } /// Internal ID of this entity. (required). /// The time this entity was created. (required). /// The ID of the loyalty program that owns this entity. (required). - /// The name of the tier (required). - /// The minimum amount of points required to be eligible for the tier. (required). - public LoyaltyTier(int id = default(int), DateTime created = default(DateTime), int programID = default(int), string name = default(string), decimal minPoints = default(decimal)) + /// The integration name of the loyalty program that owns this entity.. + /// The Campaign Manager-displayed name of the loyalty program that owns this entity.. + /// The name of the tier. (required). + /// The minimum amount of points required to enter the tier. (required). + public LoyaltyTier(int id = default(int), DateTime created = default(DateTime), int programID = default(int), string programName = default(string), string programTitle = default(string), string name = default(string), decimal minPoints = default(decimal)) { this.Id = id; this.Created = created; @@ -52,6 +54,8 @@ protected LoyaltyTier() { } // to ensure "name" is required (not null) this.Name = name ?? throw new ArgumentNullException("name is a required property for LoyaltyTier and cannot be null"); this.MinPoints = minPoints; + this.ProgramName = programName; + this.ProgramTitle = programTitle; } /// @@ -76,16 +80,30 @@ protected LoyaltyTier() { } public int ProgramID { get; set; } /// - /// The name of the tier + /// The integration name of the loyalty program that owns this entity. /// - /// The name of the tier + /// The integration name of the loyalty program that owns this entity. + [DataMember(Name="programName", EmitDefaultValue=false)] + public string ProgramName { get; set; } + + /// + /// The Campaign Manager-displayed name of the loyalty program that owns this entity. + /// + /// The Campaign Manager-displayed name of the loyalty program that owns this entity. + [DataMember(Name="programTitle", EmitDefaultValue=false)] + public string ProgramTitle { get; set; } + + /// + /// The name of the tier. + /// + /// The name of the tier. [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } /// - /// The minimum amount of points required to be eligible for the tier. + /// The minimum amount of points required to enter the tier. /// - /// The minimum amount of points required to be eligible for the tier. + /// The minimum amount of points required to enter the tier. [DataMember(Name="minPoints", EmitDefaultValue=false)] public decimal MinPoints { get; set; } @@ -100,6 +118,8 @@ public override string ToString() sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Created: ").Append(Created).Append("\n"); sb.Append(" ProgramID: ").Append(ProgramID).Append("\n"); + sb.Append(" ProgramName: ").Append(ProgramName).Append("\n"); + sb.Append(" ProgramTitle: ").Append(ProgramTitle).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" MinPoints: ").Append(MinPoints).Append("\n"); sb.Append("}\n"); @@ -149,6 +169,16 @@ public bool Equals(LoyaltyTier input) this.ProgramID == input.ProgramID || this.ProgramID.Equals(input.ProgramID) ) && + ( + this.ProgramName == input.ProgramName || + (this.ProgramName != null && + this.ProgramName.Equals(input.ProgramName)) + ) && + ( + this.ProgramTitle == input.ProgramTitle || + (this.ProgramTitle != null && + this.ProgramTitle.Equals(input.ProgramTitle)) + ) && ( this.Name == input.Name || (this.Name != null && @@ -173,6 +203,10 @@ public override int GetHashCode() if (this.Created != null) hashCode = hashCode * 59 + this.Created.GetHashCode(); hashCode = hashCode * 59 + this.ProgramID.GetHashCode(); + if (this.ProgramName != null) + hashCode = hashCode * 59 + this.ProgramName.GetHashCode(); + if (this.ProgramTitle != null) + hashCode = hashCode * 59 + this.ProgramTitle.GetHashCode(); if (this.Name != null) hashCode = hashCode * 59 + this.Name.GetHashCode(); hashCode = hashCode * 59 + this.MinPoints.GetHashCode(); diff --git a/src/TalonOne/Model/MessageLogEntry.cs b/src/TalonOne/Model/MessageLogEntry.cs index 4ba1401..8a2c2b1 100644 --- a/src/TalonOne/Model/MessageLogEntry.cs +++ b/src/TalonOne/Model/MessageLogEntry.cs @@ -32,9 +32,9 @@ namespace TalonOne.Model public partial class MessageLogEntry : IEquatable, IValidatableObject { /// - /// The entity type the notification is related to. + /// The entity type the log is related to. /// - /// The entity type the notification is related to. + /// The entity type the log is related to. [JsonConverter(typeof(StringEnumConverter))] public enum EntityTypeEnum { @@ -48,16 +48,22 @@ public enum EntityTypeEnum /// Enum Loyaltyprogram for value: loyalty_program /// [EnumMember(Value = "loyalty_program")] - Loyaltyprogram = 2 + Loyaltyprogram = 2, + + /// + /// Enum Webhook for value: webhook + /// + [EnumMember(Value = "webhook")] + Webhook = 3 } /// - /// The entity type the notification is related to. + /// The entity type the log is related to. /// - /// The entity type the notification is related to. + /// The entity type the log is related to. [DataMember(Name="entityType", EmitDefaultValue=false)] - public EntityTypeEnum? EntityType { get; set; } + public EntityTypeEnum EntityType { get; set; } /// /// Initializes a new instance of the class. /// @@ -71,27 +77,35 @@ protected MessageLogEntry() { } /// Type of change that triggered the notification.. /// ID of the notification.. /// The name of the notification.. + /// ID of the webhook.. + /// The name of the webhook.. /// request. /// response. /// Timestamp when the log entry was created. (required). - /// The entity type the notification is related to. . + /// The entity type the log is related to. (required). + /// The target URL of the request.. /// Identifier of the Application.. /// Identifier of the loyalty program.. - public MessageLogEntry(string id = default(string), string service = default(string), string changeType = default(string), int notificationId = default(int), string notificationName = default(string), MessageLogRequest request = default(MessageLogRequest), MessageLogResponse response = default(MessageLogResponse), DateTime createdAt = default(DateTime), EntityTypeEnum? entityType = default(EntityTypeEnum?), int applicationId = default(int), int loyaltyProgramId = default(int)) + /// Identifier of the campaign.. + public MessageLogEntry(string id = default(string), string service = default(string), string changeType = default(string), int notificationId = default(int), string notificationName = default(string), int webhookId = default(int), string webhookName = default(string), MessageLogRequest request = default(MessageLogRequest), MessageLogResponse response = default(MessageLogResponse), DateTime createdAt = default(DateTime), EntityTypeEnum entityType = default(EntityTypeEnum), string url = default(string), int applicationId = default(int), int loyaltyProgramId = default(int), int campaignId = default(int)) { // to ensure "id" is required (not null) this.Id = id ?? throw new ArgumentNullException("id is a required property for MessageLogEntry and cannot be null"); // to ensure "service" is required (not null) this.Service = service ?? throw new ArgumentNullException("service is a required property for MessageLogEntry and cannot be null"); this.CreatedAt = createdAt; + this.EntityType = entityType; this.ChangeType = changeType; this.NotificationId = notificationId; this.NotificationName = notificationName; + this.WebhookId = webhookId; + this.WebhookName = webhookName; this.Request = request; this.Response = response; - this.EntityType = entityType; + this.Url = url; this.ApplicationId = applicationId; this.LoyaltyProgramId = loyaltyProgramId; + this.CampaignId = campaignId; } /// @@ -129,6 +143,20 @@ protected MessageLogEntry() { } [DataMember(Name="notificationName", EmitDefaultValue=false)] public string NotificationName { get; set; } + /// + /// ID of the webhook. + /// + /// ID of the webhook. + [DataMember(Name="webhookId", EmitDefaultValue=false)] + public int WebhookId { get; set; } + + /// + /// The name of the webhook. + /// + /// The name of the webhook. + [DataMember(Name="webhookName", EmitDefaultValue=false)] + public string WebhookName { get; set; } + /// /// Gets or Sets Request /// @@ -148,6 +176,13 @@ protected MessageLogEntry() { } [DataMember(Name="createdAt", EmitDefaultValue=false)] public DateTime CreatedAt { get; set; } + /// + /// The target URL of the request. + /// + /// The target URL of the request. + [DataMember(Name="url", EmitDefaultValue=false)] + public string Url { get; set; } + /// /// Identifier of the Application. /// @@ -162,6 +197,13 @@ protected MessageLogEntry() { } [DataMember(Name="loyaltyProgramId", EmitDefaultValue=false)] public int LoyaltyProgramId { get; set; } + /// + /// Identifier of the campaign. + /// + /// Identifier of the campaign. + [DataMember(Name="campaignId", EmitDefaultValue=false)] + public int CampaignId { get; set; } + /// /// Returns the string presentation of the object /// @@ -175,12 +217,16 @@ public override string ToString() sb.Append(" ChangeType: ").Append(ChangeType).Append("\n"); sb.Append(" NotificationId: ").Append(NotificationId).Append("\n"); sb.Append(" NotificationName: ").Append(NotificationName).Append("\n"); + sb.Append(" WebhookId: ").Append(WebhookId).Append("\n"); + sb.Append(" WebhookName: ").Append(WebhookName).Append("\n"); sb.Append(" Request: ").Append(Request).Append("\n"); sb.Append(" Response: ").Append(Response).Append("\n"); sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); sb.Append(" EntityType: ").Append(EntityType).Append("\n"); + sb.Append(" Url: ").Append(Url).Append("\n"); sb.Append(" ApplicationId: ").Append(ApplicationId).Append("\n"); sb.Append(" LoyaltyProgramId: ").Append(LoyaltyProgramId).Append("\n"); + sb.Append(" CampaignId: ").Append(CampaignId).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -239,6 +285,15 @@ public bool Equals(MessageLogEntry input) (this.NotificationName != null && this.NotificationName.Equals(input.NotificationName)) ) && + ( + this.WebhookId == input.WebhookId || + this.WebhookId.Equals(input.WebhookId) + ) && + ( + this.WebhookName == input.WebhookName || + (this.WebhookName != null && + this.WebhookName.Equals(input.WebhookName)) + ) && ( this.Request == input.Request || (this.Request != null && @@ -258,6 +313,11 @@ public bool Equals(MessageLogEntry input) this.EntityType == input.EntityType || this.EntityType.Equals(input.EntityType) ) && + ( + this.Url == input.Url || + (this.Url != null && + this.Url.Equals(input.Url)) + ) && ( this.ApplicationId == input.ApplicationId || this.ApplicationId.Equals(input.ApplicationId) @@ -265,6 +325,10 @@ public bool Equals(MessageLogEntry input) ( this.LoyaltyProgramId == input.LoyaltyProgramId || this.LoyaltyProgramId.Equals(input.LoyaltyProgramId) + ) && + ( + this.CampaignId == input.CampaignId || + this.CampaignId.Equals(input.CampaignId) ); } @@ -286,6 +350,9 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.NotificationId.GetHashCode(); if (this.NotificationName != null) hashCode = hashCode * 59 + this.NotificationName.GetHashCode(); + hashCode = hashCode * 59 + this.WebhookId.GetHashCode(); + if (this.WebhookName != null) + hashCode = hashCode * 59 + this.WebhookName.GetHashCode(); if (this.Request != null) hashCode = hashCode * 59 + this.Request.GetHashCode(); if (this.Response != null) @@ -293,8 +360,11 @@ public override int GetHashCode() if (this.CreatedAt != null) hashCode = hashCode * 59 + this.CreatedAt.GetHashCode(); hashCode = hashCode * 59 + this.EntityType.GetHashCode(); + if (this.Url != null) + hashCode = hashCode * 59 + this.Url.GetHashCode(); hashCode = hashCode * 59 + this.ApplicationId.GetHashCode(); hashCode = hashCode * 59 + this.LoyaltyProgramId.GetHashCode(); + hashCode = hashCode * 59 + this.CampaignId.GetHashCode(); return hashCode; } } @@ -318,6 +388,12 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for LoyaltyProgramId, must be a value greater than or equal to 1.", new [] { "LoyaltyProgramId" }); } + // CampaignId (int) minimum + if(this.CampaignId < (int)1) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CampaignId, must be a value greater than or equal to 1.", new [] { "CampaignId" }); + } + yield break; } } diff --git a/src/TalonOne/Model/MultipleCustomerProfileIntegrationRequestItem.cs b/src/TalonOne/Model/MultipleCustomerProfileIntegrationRequestItem.cs index 51c3c5f..b775f41 100644 --- a/src/TalonOne/Model/MultipleCustomerProfileIntegrationRequestItem.cs +++ b/src/TalonOne/Model/MultipleCustomerProfileIntegrationRequestItem.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// MultipleCustomerProfileIntegrationRequestItem + /// The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response. /// [DataContract] public partial class MultipleCustomerProfileIntegrationRequestItem : IEquatable, IValidatableObject diff --git a/src/TalonOne/Model/NewCampaignStoreBudget.cs b/src/TalonOne/Model/NewCampaignStoreBudget.cs new file mode 100644 index 0000000..7da8c7b --- /dev/null +++ b/src/TalonOne/Model/NewCampaignStoreBudget.cs @@ -0,0 +1,205 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// NewCampaignStoreBudget + /// + [DataContract] + public partial class NewCampaignStoreBudget : IEquatable, IValidatableObject + { + /// + /// Defines Action + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum ActionEnum + { + /// + /// Enum SetDiscount for value: setDiscount + /// + [EnumMember(Value = "setDiscount")] + SetDiscount = 1 + + } + + /// + /// Gets or Sets Action + /// + [DataMember(Name="action", EmitDefaultValue=false)] + public ActionEnum Action { get; set; } + /// + /// Defines Period + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum PeriodEnum + { + /// + /// Enum Daily for value: daily + /// + [EnumMember(Value = "daily")] + Daily = 1, + + /// + /// Enum Weekly for value: weekly + /// + [EnumMember(Value = "weekly")] + Weekly = 2, + + /// + /// Enum Monthly for value: monthly + /// + [EnumMember(Value = "monthly")] + Monthly = 3, + + /// + /// Enum Yearly for value: yearly + /// + [EnumMember(Value = "yearly")] + Yearly = 4 + + } + + /// + /// Gets or Sets Period + /// + [DataMember(Name="period", EmitDefaultValue=false)] + public PeriodEnum? Period { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected NewCampaignStoreBudget() { } + /// + /// Initializes a new instance of the class. + /// + /// action (required). + /// The set of budget limits for stores linked to the campaign. (required). + /// period. + public NewCampaignStoreBudget(ActionEnum action = default(ActionEnum), List storeLimits = default(List), PeriodEnum? period = default(PeriodEnum?)) + { + this.Action = action; + // to ensure "storeLimits" is required (not null) + this.StoreLimits = storeLimits ?? throw new ArgumentNullException("storeLimits is a required property for NewCampaignStoreBudget and cannot be null"); + this.Period = period; + } + + /// + /// The set of budget limits for stores linked to the campaign. + /// + /// The set of budget limits for stores linked to the campaign. + [DataMember(Name="storeLimits", EmitDefaultValue=false)] + public List StoreLimits { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class NewCampaignStoreBudget {\n"); + sb.Append(" Action: ").Append(Action).Append("\n"); + sb.Append(" StoreLimits: ").Append(StoreLimits).Append("\n"); + sb.Append(" Period: ").Append(Period).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as NewCampaignStoreBudget); + } + + /// + /// Returns true if NewCampaignStoreBudget instances are equal + /// + /// Instance of NewCampaignStoreBudget to be compared + /// Boolean + public bool Equals(NewCampaignStoreBudget input) + { + if (input == null) + return false; + + return + ( + this.Action == input.Action || + this.Action.Equals(input.Action) + ) && + ( + this.StoreLimits == input.StoreLimits || + this.StoreLimits != null && + input.StoreLimits != null && + this.StoreLimits.SequenceEqual(input.StoreLimits) + ) && + ( + this.Period == input.Period || + this.Period.Equals(input.Period) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = hashCode * 59 + this.Action.GetHashCode(); + if (this.StoreLimits != null) + hashCode = hashCode * 59 + this.StoreLimits.GetHashCode(); + hashCode = hashCode * 59 + this.Period.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/NewCampaignStoreBudgetStoreLimit.cs b/src/TalonOne/Model/NewCampaignStoreBudgetStoreLimit.cs new file mode 100644 index 0000000..31446c1 --- /dev/null +++ b/src/TalonOne/Model/NewCampaignStoreBudgetStoreLimit.cs @@ -0,0 +1,144 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// NewCampaignStoreBudgetStoreLimit + /// + [DataContract] + public partial class NewCampaignStoreBudgetStoreLimit : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected NewCampaignStoreBudgetStoreLimit() { } + /// + /// Initializes a new instance of the class. + /// + /// The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. (required). + /// The value to set for the limit. (required). + public NewCampaignStoreBudgetStoreLimit(int storeId = default(int), decimal limit = default(decimal)) + { + this.StoreId = storeId; + this.Limit = limit; + } + + /// + /// The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. + /// + /// The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint. + [DataMember(Name="storeId", EmitDefaultValue=false)] + public int StoreId { get; set; } + + /// + /// The value to set for the limit. + /// + /// The value to set for the limit. + [DataMember(Name="limit", EmitDefaultValue=false)] + public decimal Limit { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class NewCampaignStoreBudgetStoreLimit {\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); + sb.Append(" Limit: ").Append(Limit).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as NewCampaignStoreBudgetStoreLimit); + } + + /// + /// Returns true if NewCampaignStoreBudgetStoreLimit instances are equal + /// + /// Instance of NewCampaignStoreBudgetStoreLimit to be compared + /// Boolean + public bool Equals(NewCampaignStoreBudgetStoreLimit input) + { + if (input == null) + return false; + + return + ( + this.StoreId == input.StoreId || + this.StoreId.Equals(input.StoreId) + ) && + ( + this.Limit == input.Limit || + this.Limit.Equals(input.Limit) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = hashCode * 59 + this.StoreId.GetHashCode(); + hashCode = hashCode * 59 + this.Limit.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/NewCampaignTemplate.cs b/src/TalonOne/Model/NewCampaignTemplate.cs index 636cc4c..ff31bc9 100644 --- a/src/TalonOne/Model/NewCampaignTemplate.cs +++ b/src/TalonOne/Model/NewCampaignTemplate.cs @@ -159,13 +159,14 @@ protected NewCampaignTemplate() { } /// A list of tags for the campaign template.. /// A list of features for the campaign template.. /// couponSettings. + /// couponReservationSettings. /// referralSettings. /// The set of limits that will operate for this campaign template.. /// Fields which can be used to replace values in a rule.. /// The campaign collections from the blueprint campaign for the template.. /// The default campaign group ID.. /// The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. (required) (default to CampaignTypeEnum.Advanced). - public NewCampaignTemplate(string name = default(string), string description = default(string), string instructions = default(string), Object campaignAttributes = default(Object), Object couponAttributes = default(Object), StateEnum state = default(StateEnum), List tags = default(List), List features = default(List), CodeGeneratorSettings couponSettings = default(CodeGeneratorSettings), CodeGeneratorSettings referralSettings = default(CodeGeneratorSettings), List limits = default(List), List templateParams = default(List), List campaignCollections = default(List), int defaultCampaignGroupId = default(int), CampaignTypeEnum campaignType = CampaignTypeEnum.Advanced) + public NewCampaignTemplate(string name = default(string), string description = default(string), string instructions = default(string), Object campaignAttributes = default(Object), Object couponAttributes = default(Object), StateEnum state = default(StateEnum), List tags = default(List), List features = default(List), CodeGeneratorSettings couponSettings = default(CodeGeneratorSettings), CampaignTemplateCouponReservationSettings couponReservationSettings = default(CampaignTemplateCouponReservationSettings), CodeGeneratorSettings referralSettings = default(CodeGeneratorSettings), List limits = default(List), List templateParams = default(List), List campaignCollections = default(List), int defaultCampaignGroupId = default(int), CampaignTypeEnum campaignType = CampaignTypeEnum.Advanced) { // to ensure "name" is required (not null) this.Name = name ?? throw new ArgumentNullException("name is a required property for NewCampaignTemplate and cannot be null"); @@ -180,6 +181,7 @@ protected NewCampaignTemplate() { } this.Tags = tags; this.Features = features; this.CouponSettings = couponSettings; + this.CouponReservationSettings = couponReservationSettings; this.ReferralSettings = referralSettings; this.Limits = limits; this.TemplateParams = templateParams; @@ -235,6 +237,12 @@ protected NewCampaignTemplate() { } [DataMember(Name="couponSettings", EmitDefaultValue=false)] public CodeGeneratorSettings CouponSettings { get; set; } + /// + /// Gets or Sets CouponReservationSettings + /// + [DataMember(Name="couponReservationSettings", EmitDefaultValue=false)] + public CampaignTemplateCouponReservationSettings CouponReservationSettings { get; set; } + /// /// Gets or Sets ReferralSettings /// @@ -286,6 +294,7 @@ public override string ToString() sb.Append(" Tags: ").Append(Tags).Append("\n"); sb.Append(" Features: ").Append(Features).Append("\n"); sb.Append(" CouponSettings: ").Append(CouponSettings).Append("\n"); + sb.Append(" CouponReservationSettings: ").Append(CouponReservationSettings).Append("\n"); sb.Append(" ReferralSettings: ").Append(ReferralSettings).Append("\n"); sb.Append(" Limits: ").Append(Limits).Append("\n"); sb.Append(" TemplateParams: ").Append(TemplateParams).Append("\n"); @@ -370,6 +379,11 @@ public bool Equals(NewCampaignTemplate input) (this.CouponSettings != null && this.CouponSettings.Equals(input.CouponSettings)) ) && + ( + this.CouponReservationSettings == input.CouponReservationSettings || + (this.CouponReservationSettings != null && + this.CouponReservationSettings.Equals(input.CouponReservationSettings)) + ) && ( this.ReferralSettings == input.ReferralSettings || (this.ReferralSettings != null && @@ -428,6 +442,8 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.Features.GetHashCode(); if (this.CouponSettings != null) hashCode = hashCode * 59 + this.CouponSettings.GetHashCode(); + if (this.CouponReservationSettings != null) + hashCode = hashCode * 59 + this.CouponReservationSettings.GetHashCode(); if (this.ReferralSettings != null) hashCode = hashCode * 59 + this.ReferralSettings.GetHashCode(); if (this.Limits != null) diff --git a/src/TalonOne/Model/NewCustomerSessionV2.cs b/src/TalonOne/Model/NewCustomerSessionV2.cs index 2bc8d79..b996271 100644 --- a/src/TalonOne/Model/NewCustomerSessionV2.cs +++ b/src/TalonOne/Model/NewCustomerSessionV2.cs @@ -76,13 +76,13 @@ public enum StateEnum /// ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. . /// The integration ID of the store. You choose this ID when you create a store.. /// When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. . - /// Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. . - /// Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. . + /// Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. . + /// Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. . /// Identifier of a loyalty card.. /// Indicates the current state of the session. Sessions can be created as `open` or `closed`. The state transitions are: 1. `open` → `closed` 2. `open` → `cancelled` 3. Either: - `closed` → `cancelled` (**only** via [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)) or - `closed` → `partially_returned` (**only** via [Return cart items](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/returnCartItems)) - `closed` → `open` (**only** via [Reopen customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/reopenCustomerSession)) 4. `partially_returned` → `cancelled` For more information, see [Customer session states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). (default to StateEnum.Open). /// The items to add to this session. **Do not exceed 1000 items** and ensure the sum of all cart item's `quantity` **does not exceed 10.000** per request. . /// Use this property to set a value for the additional costs of this session, such as a shipping cost. They must be created in the Campaign Manager before you set them with this property. See [Managing additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs). . - /// Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). . + /// Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. . /// Use this property to set a value for the attributes of your choice. Attributes represent any information to attach to your session, like the shipping city. You can use [built-in attributes](https://docs.talon.one/docs/dev/concepts/attributes#built-in-attributes) or [custom ones](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes). Custom attributes must be created in the Campaign Manager before you set them with this property. . public NewCustomerSessionV2(string profileId = default(string), string storeIntegrationId = default(string), List evaluableCampaignIds = default(List), List couponCodes = default(List), string referralCode = default(string), List loyaltyCards = default(List), StateEnum? state = StateEnum.Open, List cartItems = default(List), Dictionary additionalCosts = default(Dictionary), List identifiers = default(List), Object attributes = default(Object)) { @@ -121,16 +121,16 @@ public enum StateEnum public List EvaluableCampaignIds { get; set; } /// - /// Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. + /// Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. /// - /// Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. + /// Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. [DataMember(Name="couponCodes", EmitDefaultValue=false)] public List CouponCodes { get; set; } /// - /// Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. + /// Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. /// - /// Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. + /// Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. [DataMember(Name="referralCode", EmitDefaultValue=false)] public string ReferralCode { get; set; } @@ -156,9 +156,9 @@ public enum StateEnum public Dictionary AdditionalCosts { get; set; } /// - /// Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). + /// Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. /// - /// Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). + /// Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. [DataMember(Name="identifiers", EmitDefaultValue=false)] public List Identifiers { get; set; } diff --git a/src/TalonOne/Model/NewLoyaltyProgram.cs b/src/TalonOne/Model/NewLoyaltyProgram.cs index 0bea340..d006138 100644 --- a/src/TalonOne/Model/NewLoyaltyProgram.cs +++ b/src/TalonOne/Model/NewLoyaltyProgram.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// NewLoyaltyProgram + /// A new loyalty program /// [DataContract] public partial class NewLoyaltyProgram : IEquatable, IValidatableObject @@ -131,6 +131,33 @@ public enum TiersDowngradePolicyEnum [DataMember(Name="tiersDowngradePolicy", EmitDefaultValue=false)] public TiersDowngradePolicyEnum? TiersDowngradePolicy { get; set; } /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + [JsonConverter(typeof(StringEnumConverter))] + public enum ReturnPolicyEnum + { + /// + /// Enum Onlypending for value: only_pending + /// + [EnumMember(Value = "only_pending")] + Onlypending = 1, + + /// + /// Enum Withinbalance for value: within_balance + /// + [EnumMember(Value = "within_balance")] + Withinbalance = 2 + + } + + /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + [DataMember(Name="returnPolicy", EmitDefaultValue=false)] + public ReturnPolicyEnum? ReturnPolicy { get; set; } + /// /// Initializes a new instance of the class. /// [JsonConstructorAttribute] @@ -152,11 +179,12 @@ protected NewLoyaltyProgram() { } /// The amount of time after which the tier expires and is reevaluated. 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. . /// The policy that defines how customer tiers are downgraded in the loyalty program after tier reevaluation. - `one_down`: If the customer doesn't have enough points to stay in the current tier, they are downgraded by one tier. - `balance_based`: The customer's tier is reevaluated based on the amount of active points they have at the moment. . /// cardCodeSettings. + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. . /// The internal name for the Loyalty Program. This is an immutable value. (required). /// The tiers in this loyalty program.. /// A string containing an IANA timezone descriptor. (required). /// Defines the type of loyalty program: - `true`: the program is a card-based. - `false`: the program is profile-based. (required) (default to false). - public NewLoyaltyProgram(string title = default(string), string description = default(string), List subscribedApplications = default(List), string defaultValidity = default(string), string defaultPending = default(string), bool allowSubledger = default(bool), int usersPerCardLimit = default(int), bool sandbox = default(bool), ProgramJoinPolicyEnum? programJoinPolicy = default(ProgramJoinPolicyEnum?), TiersExpirationPolicyEnum? tiersExpirationPolicy = default(TiersExpirationPolicyEnum?), DateTime tierCycleStartDate = default(DateTime), string tiersExpireIn = default(string), TiersDowngradePolicyEnum? tiersDowngradePolicy = default(TiersDowngradePolicyEnum?), CodeGeneratorSettings cardCodeSettings = default(CodeGeneratorSettings), string name = default(string), List tiers = default(List), string timezone = default(string), bool cardBased = false) + public NewLoyaltyProgram(string title = default(string), string description = default(string), List subscribedApplications = default(List), string defaultValidity = default(string), string defaultPending = default(string), bool allowSubledger = default(bool), int usersPerCardLimit = default(int), bool sandbox = default(bool), ProgramJoinPolicyEnum? programJoinPolicy = default(ProgramJoinPolicyEnum?), TiersExpirationPolicyEnum? tiersExpirationPolicy = default(TiersExpirationPolicyEnum?), DateTime tierCycleStartDate = default(DateTime), string tiersExpireIn = default(string), TiersDowngradePolicyEnum? tiersDowngradePolicy = default(TiersDowngradePolicyEnum?), CodeGeneratorSettings cardCodeSettings = default(CodeGeneratorSettings), ReturnPolicyEnum? returnPolicy = default(ReturnPolicyEnum?), string name = default(string), List tiers = default(List), string timezone = default(string), bool cardBased = false) { // to ensure "title" is required (not null) this.Title = title ?? throw new ArgumentNullException("title is a required property for NewLoyaltyProgram and cannot be null"); @@ -180,6 +208,7 @@ protected NewLoyaltyProgram() { } this.TiersExpireIn = tiersExpireIn; this.TiersDowngradePolicy = tiersDowngradePolicy; this.CardCodeSettings = cardCodeSettings; + this.ReturnPolicy = returnPolicy; this.Tiers = tiers; } @@ -309,6 +338,7 @@ public override string ToString() sb.Append(" TiersExpireIn: ").Append(TiersExpireIn).Append("\n"); sb.Append(" TiersDowngradePolicy: ").Append(TiersDowngradePolicy).Append("\n"); sb.Append(" CardCodeSettings: ").Append(CardCodeSettings).Append("\n"); + sb.Append(" ReturnPolicy: ").Append(ReturnPolicy).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" Tiers: ").Append(Tiers).Append("\n"); sb.Append(" Timezone: ").Append(Timezone).Append("\n"); @@ -412,6 +442,10 @@ public bool Equals(NewLoyaltyProgram input) (this.CardCodeSettings != null && this.CardCodeSettings.Equals(input.CardCodeSettings)) ) && + ( + this.ReturnPolicy == input.ReturnPolicy || + this.ReturnPolicy.Equals(input.ReturnPolicy) + ) && ( this.Name == input.Name || (this.Name != null && @@ -465,6 +499,7 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.TiersDowngradePolicy.GetHashCode(); if (this.CardCodeSettings != null) hashCode = hashCode * 59 + this.CardCodeSettings.GetHashCode(); + hashCode = hashCode * 59 + this.ReturnPolicy.GetHashCode(); if (this.Name != null) hashCode = hashCode * 59 + this.Name.GetHashCode(); if (this.Tiers != null) diff --git a/src/TalonOne/Model/NewLoyaltyTier.cs b/src/TalonOne/Model/NewLoyaltyTier.cs index a89f8d6..98890d5 100644 --- a/src/TalonOne/Model/NewLoyaltyTier.cs +++ b/src/TalonOne/Model/NewLoyaltyTier.cs @@ -39,8 +39,8 @@ protected NewLoyaltyTier() { } /// /// Initializes a new instance of the class. /// - /// The name of the tier (required). - /// The minimum amount of points required to be eligible for the tier. (required). + /// The name of the tier. (required). + /// The minimum amount of points required to enter the tier. (required). public NewLoyaltyTier(string name = default(string), decimal minPoints = default(decimal)) { // to ensure "name" is required (not null) @@ -49,16 +49,16 @@ protected NewLoyaltyTier() { } } /// - /// The name of the tier + /// The name of the tier. /// - /// The name of the tier + /// The name of the tier. [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } /// - /// The minimum amount of points required to be eligible for the tier. + /// The minimum amount of points required to enter the tier. /// - /// The minimum amount of points required to be eligible for the tier. + /// The minimum amount of points required to enter the tier. [DataMember(Name="minPoints", EmitDefaultValue=false)] public decimal MinPoints { get; set; } diff --git a/src/TalonOne/Model/NewSamlConnection.cs b/src/TalonOne/Model/NewSamlConnection.cs index 46cdc9c..2031b83 100644 --- a/src/TalonOne/Model/NewSamlConnection.cs +++ b/src/TalonOne/Model/NewSamlConnection.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// NewSamlConnection + /// A new SAML 2.0 connection. /// [DataContract] public partial class NewSamlConnection : IEquatable, IValidatableObject diff --git a/src/TalonOne/Model/NewWebhook.cs b/src/TalonOne/Model/NewWebhook.cs index d3e80d1..46b6d51 100644 --- a/src/TalonOne/Model/NewWebhook.cs +++ b/src/TalonOne/Model/NewWebhook.cs @@ -84,7 +84,7 @@ protected NewWebhook() { } /// /// Initializes a new instance of the class. /// - /// The IDs of the Applications that are related to this entity. (required). + /// The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. (required). /// Name or title for this webhook. (required). /// A description of the webhook.. /// API method for this webhook. (required). @@ -112,9 +112,9 @@ protected NewWebhook() { } } /// - /// The IDs of the Applications that are related to this entity. + /// The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. /// - /// The IDs of the Applications that are related to this entity. + /// The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. [DataMember(Name="applicationIds", EmitDefaultValue=false)] public List ApplicationIds { get; set; } diff --git a/src/TalonOne/Model/Product.cs b/src/TalonOne/Model/Product.cs index cbff01a..0215d4b 100644 --- a/src/TalonOne/Model/Product.cs +++ b/src/TalonOne/Model/Product.cs @@ -39,7 +39,7 @@ protected Product() { } /// /// Initializes a new instance of the class. /// - /// The name of the product. (required). + /// The product the item belongs to. (required). public Product(string name = default(string)) { // to ensure "name" is required (not null) @@ -47,9 +47,9 @@ protected Product() { } } /// - /// The name of the product. + /// The product the item belongs to. /// - /// The name of the product. + /// The product the item belongs to. [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } diff --git a/src/TalonOne/Model/ProductSearchMatch.cs b/src/TalonOne/Model/ProductSearchMatch.cs new file mode 100644 index 0000000..f910863 --- /dev/null +++ b/src/TalonOne/Model/ProductSearchMatch.cs @@ -0,0 +1,162 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// ProductSearchMatch + /// + [DataContract] + public partial class ProductSearchMatch : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ProductSearchMatch() { } + /// + /// Initializes a new instance of the class. + /// + /// The ID of the product. (required). + /// The string matching the given value. Either a product name or SKU. (required). + /// The ID of the SKU linked to a product. If empty, this is an analytics-level product.. + public ProductSearchMatch(int productId = default(int), string value = default(string), int productSkuId = default(int)) + { + this.ProductId = productId; + // to ensure "value" is required (not null) + this.Value = value ?? throw new ArgumentNullException("value is a required property for ProductSearchMatch and cannot be null"); + this.ProductSkuId = productSkuId; + } + + /// + /// The ID of the product. + /// + /// The ID of the product. + [DataMember(Name="productId", EmitDefaultValue=false)] + public int ProductId { get; set; } + + /// + /// The string matching the given value. Either a product name or SKU. + /// + /// The string matching the given value. Either a product name or SKU. + [DataMember(Name="value", EmitDefaultValue=false)] + public string Value { get; set; } + + /// + /// The ID of the SKU linked to a product. If empty, this is an analytics-level product. + /// + /// The ID of the SKU linked to a product. If empty, this is an analytics-level product. + [DataMember(Name="productSkuId", EmitDefaultValue=false)] + public int ProductSkuId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ProductSearchMatch {\n"); + sb.Append(" ProductId: ").Append(ProductId).Append("\n"); + sb.Append(" Value: ").Append(Value).Append("\n"); + sb.Append(" ProductSkuId: ").Append(ProductSkuId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ProductSearchMatch); + } + + /// + /// Returns true if ProductSearchMatch instances are equal + /// + /// Instance of ProductSearchMatch to be compared + /// Boolean + public bool Equals(ProductSearchMatch input) + { + if (input == null) + return false; + + return + ( + this.ProductId == input.ProductId || + this.ProductId.Equals(input.ProductId) + ) && + ( + this.Value == input.Value || + (this.Value != null && + this.Value.Equals(input.Value)) + ) && + ( + this.ProductSkuId == input.ProductSkuId || + this.ProductSkuId.Equals(input.ProductSkuId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = hashCode * 59 + this.ProductId.GetHashCode(); + if (this.Value != null) + hashCode = hashCode * 59 + this.Value.GetHashCode(); + hashCode = hashCode * 59 + this.ProductSkuId.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/ProductSkuUnitAnalytics.cs b/src/TalonOne/Model/ProductSkuUnitAnalytics.cs new file mode 100644 index 0000000..f09b404 --- /dev/null +++ b/src/TalonOne/Model/ProductSkuUnitAnalytics.cs @@ -0,0 +1,183 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// ProductSkuUnitAnalytics + /// + [DataContract] + public partial class ProductSkuUnitAnalytics : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ProductSkuUnitAnalytics() { } + /// + /// Initializes a new instance of the class. + /// + /// The start of the aggregation time frame in UTC. (required). + /// The end of the aggregation time frame in UTC. (required). + /// purchasedUnits (required). + /// The SKU linked to the analytics-level product. (required). + public ProductSkuUnitAnalytics(DateTime startTime = default(DateTime), DateTime endTime = default(DateTime), AnalyticsDataPointWithTrend purchasedUnits = default(AnalyticsDataPointWithTrend), string sku = default(string)) + { + this.StartTime = startTime; + this.EndTime = endTime; + // to ensure "purchasedUnits" is required (not null) + this.PurchasedUnits = purchasedUnits ?? throw new ArgumentNullException("purchasedUnits is a required property for ProductSkuUnitAnalytics and cannot be null"); + // to ensure "sku" is required (not null) + this.Sku = sku ?? throw new ArgumentNullException("sku is a required property for ProductSkuUnitAnalytics and cannot be null"); + } + + /// + /// The start of the aggregation time frame in UTC. + /// + /// The start of the aggregation time frame in UTC. + [DataMember(Name="startTime", EmitDefaultValue=false)] + public DateTime StartTime { get; set; } + + /// + /// The end of the aggregation time frame in UTC. + /// + /// The end of the aggregation time frame in UTC. + [DataMember(Name="endTime", EmitDefaultValue=false)] + public DateTime EndTime { get; set; } + + /// + /// Gets or Sets PurchasedUnits + /// + [DataMember(Name="purchasedUnits", EmitDefaultValue=false)] + public AnalyticsDataPointWithTrend PurchasedUnits { get; set; } + + /// + /// The SKU linked to the analytics-level product. + /// + /// The SKU linked to the analytics-level product. + [DataMember(Name="sku", EmitDefaultValue=false)] + public string Sku { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ProductSkuUnitAnalytics {\n"); + sb.Append(" StartTime: ").Append(StartTime).Append("\n"); + sb.Append(" EndTime: ").Append(EndTime).Append("\n"); + sb.Append(" PurchasedUnits: ").Append(PurchasedUnits).Append("\n"); + sb.Append(" Sku: ").Append(Sku).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ProductSkuUnitAnalytics); + } + + /// + /// Returns true if ProductSkuUnitAnalytics instances are equal + /// + /// Instance of ProductSkuUnitAnalytics to be compared + /// Boolean + public bool Equals(ProductSkuUnitAnalytics input) + { + if (input == null) + return false; + + return + ( + this.StartTime == input.StartTime || + (this.StartTime != null && + this.StartTime.Equals(input.StartTime)) + ) && + ( + this.EndTime == input.EndTime || + (this.EndTime != null && + this.EndTime.Equals(input.EndTime)) + ) && + ( + this.PurchasedUnits == input.PurchasedUnits || + (this.PurchasedUnits != null && + this.PurchasedUnits.Equals(input.PurchasedUnits)) + ) && + ( + this.Sku == input.Sku || + (this.Sku != null && + this.Sku.Equals(input.Sku)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.StartTime != null) + hashCode = hashCode * 59 + this.StartTime.GetHashCode(); + if (this.EndTime != null) + hashCode = hashCode * 59 + this.EndTime.GetHashCode(); + if (this.PurchasedUnits != null) + hashCode = hashCode * 59 + this.PurchasedUnits.GetHashCode(); + if (this.Sku != null) + hashCode = hashCode * 59 + this.Sku.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/ProductUnitAnalytics.cs b/src/TalonOne/Model/ProductUnitAnalytics.cs new file mode 100644 index 0000000..95ffe0c --- /dev/null +++ b/src/TalonOne/Model/ProductUnitAnalytics.cs @@ -0,0 +1,198 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// ProductUnitAnalytics + /// + [DataContract] + public partial class ProductUnitAnalytics : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ProductUnitAnalytics() { } + /// + /// Initializes a new instance of the class. + /// + /// The start of the aggregation time frame in UTC. (required). + /// The end of the aggregation time frame in UTC. (required). + /// purchasedUnits (required). + /// The ID of the analytics-level product. (required). + /// The name of the analytics-level product. (required). + public ProductUnitAnalytics(DateTime startTime = default(DateTime), DateTime endTime = default(DateTime), AnalyticsDataPointWithTrend purchasedUnits = default(AnalyticsDataPointWithTrend), int productId = default(int), string productName = default(string)) + { + this.StartTime = startTime; + this.EndTime = endTime; + // to ensure "purchasedUnits" is required (not null) + this.PurchasedUnits = purchasedUnits ?? throw new ArgumentNullException("purchasedUnits is a required property for ProductUnitAnalytics and cannot be null"); + this.ProductId = productId; + // to ensure "productName" is required (not null) + this.ProductName = productName ?? throw new ArgumentNullException("productName is a required property for ProductUnitAnalytics and cannot be null"); + } + + /// + /// The start of the aggregation time frame in UTC. + /// + /// The start of the aggregation time frame in UTC. + [DataMember(Name="startTime", EmitDefaultValue=false)] + public DateTime StartTime { get; set; } + + /// + /// The end of the aggregation time frame in UTC. + /// + /// The end of the aggregation time frame in UTC. + [DataMember(Name="endTime", EmitDefaultValue=false)] + public DateTime EndTime { get; set; } + + /// + /// Gets or Sets PurchasedUnits + /// + [DataMember(Name="purchasedUnits", EmitDefaultValue=false)] + public AnalyticsDataPointWithTrend PurchasedUnits { get; set; } + + /// + /// The ID of the analytics-level product. + /// + /// The ID of the analytics-level product. + [DataMember(Name="productId", EmitDefaultValue=false)] + public int ProductId { get; set; } + + /// + /// The name of the analytics-level product. + /// + /// The name of the analytics-level product. + [DataMember(Name="productName", EmitDefaultValue=false)] + public string ProductName { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ProductUnitAnalytics {\n"); + sb.Append(" StartTime: ").Append(StartTime).Append("\n"); + sb.Append(" EndTime: ").Append(EndTime).Append("\n"); + sb.Append(" PurchasedUnits: ").Append(PurchasedUnits).Append("\n"); + sb.Append(" ProductId: ").Append(ProductId).Append("\n"); + sb.Append(" ProductName: ").Append(ProductName).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ProductUnitAnalytics); + } + + /// + /// Returns true if ProductUnitAnalytics instances are equal + /// + /// Instance of ProductUnitAnalytics to be compared + /// Boolean + public bool Equals(ProductUnitAnalytics input) + { + if (input == null) + return false; + + return + ( + this.StartTime == input.StartTime || + (this.StartTime != null && + this.StartTime.Equals(input.StartTime)) + ) && + ( + this.EndTime == input.EndTime || + (this.EndTime != null && + this.EndTime.Equals(input.EndTime)) + ) && + ( + this.PurchasedUnits == input.PurchasedUnits || + (this.PurchasedUnits != null && + this.PurchasedUnits.Equals(input.PurchasedUnits)) + ) && + ( + this.ProductId == input.ProductId || + this.ProductId.Equals(input.ProductId) + ) && + ( + this.ProductName == input.ProductName || + (this.ProductName != null && + this.ProductName.Equals(input.ProductName)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.StartTime != null) + hashCode = hashCode * 59 + this.StartTime.GetHashCode(); + if (this.EndTime != null) + hashCode = hashCode * 59 + this.EndTime.GetHashCode(); + if (this.PurchasedUnits != null) + hashCode = hashCode * 59 + this.PurchasedUnits.GetHashCode(); + hashCode = hashCode * 59 + this.ProductId.GetHashCode(); + if (this.ProductName != null) + hashCode = hashCode * 59 + this.ProductName.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/RollbackAddedLoyaltyPointsEffectProps.cs b/src/TalonOne/Model/RollbackAddedLoyaltyPointsEffectProps.cs index a0b88cc..4ba39f0 100644 --- a/src/TalonOne/Model/RollbackAddedLoyaltyPointsEffectProps.cs +++ b/src/TalonOne/Model/RollbackAddedLoyaltyPointsEffectProps.cs @@ -250,6 +250,13 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, length must be less than 108.", new [] { "CardIdentifier" }); } + // CardIdentifier (string) pattern + Regex regexCardIdentifier = new Regex(@"^[A-Za-z0-9_-]*$", RegexOptions.CultureInvariant); + if (false == regexCardIdentifier.Match(this.CardIdentifier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, must match a pattern of " + regexCardIdentifier, new [] { "CardIdentifier" }); + } + yield break; } } diff --git a/src/TalonOne/Model/RollbackDeductedLoyaltyPointsEffectProps.cs b/src/TalonOne/Model/RollbackDeductedLoyaltyPointsEffectProps.cs index 85aedf9..27dcadf 100644 --- a/src/TalonOne/Model/RollbackDeductedLoyaltyPointsEffectProps.cs +++ b/src/TalonOne/Model/RollbackDeductedLoyaltyPointsEffectProps.cs @@ -254,6 +254,13 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, length must be less than 108.", new [] { "CardIdentifier" }); } + // CardIdentifier (string) pattern + Regex regexCardIdentifier = new Regex(@"^[A-Za-z0-9_-]*$", RegexOptions.CultureInvariant); + if (false == regexCardIdentifier.Match(this.CardIdentifier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CardIdentifier, must match a pattern of " + regexCardIdentifier, new [] { "CardIdentifier" }); + } + yield break; } } diff --git a/src/TalonOne/Model/SamlConnection.cs b/src/TalonOne/Model/SamlConnection.cs index ef10d89..9b3132c 100644 --- a/src/TalonOne/Model/SamlConnection.cs +++ b/src/TalonOne/Model/SamlConnection.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// SamlConnection + /// A SAML 2.0 connection. /// [DataContract] public partial class SamlConnection : IEquatable, IValidatableObject diff --git a/src/TalonOne/Model/ScimNewUser.cs b/src/TalonOne/Model/ScimNewUser.cs index 5d978bb..8a4bdf8 100644 --- a/src/TalonOne/Model/ScimNewUser.cs +++ b/src/TalonOne/Model/ScimNewUser.cs @@ -31,18 +31,24 @@ namespace TalonOne.Model [DataContract] public partial class ScimNewUser : IEquatable, IValidatableObject { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ScimNewUser() { } /// /// Initializes a new instance of the class. /// /// Status of the user.. /// Display name of the user.. - /// Unique identifier of the user. This is usually an email address.. + /// Unique identifier of the user. This is usually an email address. (required). /// name. public ScimNewUser(bool active = default(bool), string displayName = default(string), string userName = default(string), ScimBaseUserName name = default(ScimBaseUserName)) { + // to ensure "userName" is required (not null) + this.UserName = userName ?? throw new ArgumentNullException("userName is a required property for ScimNewUser and cannot be null"); this.Active = active; this.DisplayName = displayName; - this.UserName = userName; this.Name = name; } diff --git a/src/TalonOne/Model/ScimServiceProviderConfigResponse.cs b/src/TalonOne/Model/ScimServiceProviderConfigResponse.cs index c9cb588..b70fd79 100644 --- a/src/TalonOne/Model/ScimServiceProviderConfigResponse.cs +++ b/src/TalonOne/Model/ScimServiceProviderConfigResponse.cs @@ -40,7 +40,8 @@ public partial class ScimServiceProviderConfigResponse : IEquatablefilter. /// patch. /// A list of SCIM schemas that define the structure and data types supported by the service provider.. - public ScimServiceProviderConfigResponse(ScimServiceProviderConfigResponseBulk bulk = default(ScimServiceProviderConfigResponseBulk), ScimServiceProviderConfigResponseChangePassword changePassword = default(ScimServiceProviderConfigResponseChangePassword), string documentationUri = default(string), ScimServiceProviderConfigResponseFilter filter = default(ScimServiceProviderConfigResponseFilter), ScimServiceProviderConfigResponsePatch patch = default(ScimServiceProviderConfigResponsePatch), List schemas = default(List)) + /// sort. + public ScimServiceProviderConfigResponse(ScimServiceProviderConfigResponseBulk bulk = default(ScimServiceProviderConfigResponseBulk), ScimServiceProviderConfigResponseChangePassword changePassword = default(ScimServiceProviderConfigResponseChangePassword), string documentationUri = default(string), ScimServiceProviderConfigResponseFilter filter = default(ScimServiceProviderConfigResponseFilter), ScimServiceProviderConfigResponsePatch patch = default(ScimServiceProviderConfigResponsePatch), List schemas = default(List), ScimServiceProviderConfigResponseSort sort = default(ScimServiceProviderConfigResponseSort)) { this.Bulk = bulk; this.ChangePassword = changePassword; @@ -48,6 +49,7 @@ public partial class ScimServiceProviderConfigResponse : IEquatable @@ -88,6 +90,12 @@ public partial class ScimServiceProviderConfigResponse : IEquatable Schemas { get; set; } + /// + /// Gets or Sets Sort + /// + [DataMember(Name="sort", EmitDefaultValue=false)] + public ScimServiceProviderConfigResponseSort Sort { get; set; } + /// /// Returns the string presentation of the object /// @@ -102,6 +110,7 @@ public override string ToString() sb.Append(" Filter: ").Append(Filter).Append("\n"); sb.Append(" Patch: ").Append(Patch).Append("\n"); sb.Append(" Schemas: ").Append(Schemas).Append("\n"); + sb.Append(" Sort: ").Append(Sort).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -166,6 +175,11 @@ public bool Equals(ScimServiceProviderConfigResponse input) this.Schemas != null && input.Schemas != null && this.Schemas.SequenceEqual(input.Schemas) + ) && + ( + this.Sort == input.Sort || + (this.Sort != null && + this.Sort.Equals(input.Sort)) ); } @@ -190,6 +204,8 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.Patch.GetHashCode(); if (this.Schemas != null) hashCode = hashCode * 59 + this.Schemas.GetHashCode(); + if (this.Sort != null) + hashCode = hashCode * 59 + this.Sort.GetHashCode(); return hashCode; } } diff --git a/src/TalonOne/Model/ScimServiceProviderConfigResponseSort.cs b/src/TalonOne/Model/ScimServiceProviderConfigResponseSort.cs new file mode 100644 index 0000000..188d06a --- /dev/null +++ b/src/TalonOne/Model/ScimServiceProviderConfigResponseSort.cs @@ -0,0 +1,124 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// Configuration settings related to sorting SCIM resources in query responses. + /// + [DataContract] + public partial class ScimServiceProviderConfigResponseSort : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Indicates whether the service provider supports sorting operations for ordered query results.. + public ScimServiceProviderConfigResponseSort(bool supported = default(bool)) + { + this.Supported = supported; + } + + /// + /// Indicates whether the service provider supports sorting operations for ordered query results. + /// + /// Indicates whether the service provider supports sorting operations for ordered query results. + [DataMember(Name="supported", EmitDefaultValue=false)] + public bool Supported { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ScimServiceProviderConfigResponseSort {\n"); + sb.Append(" Supported: ").Append(Supported).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ScimServiceProviderConfigResponseSort); + } + + /// + /// Returns true if ScimServiceProviderConfigResponseSort instances are equal + /// + /// Instance of ScimServiceProviderConfigResponseSort to be compared + /// Boolean + public bool Equals(ScimServiceProviderConfigResponseSort input) + { + if (input == null) + return false; + + return + ( + this.Supported == input.Supported || + this.Supported.Equals(input.Supported) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = hashCode * 59 + this.Supported.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/ScimUser.cs b/src/TalonOne/Model/ScimUser.cs index 7d20950..7f16b92 100644 --- a/src/TalonOne/Model/ScimUser.cs +++ b/src/TalonOne/Model/ScimUser.cs @@ -41,16 +41,17 @@ protected ScimUser() { } /// /// Status of the user.. /// Display name of the user.. - /// Unique identifier of the user. This is usually an email address.. + /// Unique identifier of the user. This is usually an email address. (required). /// name. /// ID of the user. (required). public ScimUser(bool active = default(bool), string displayName = default(string), string userName = default(string), ScimBaseUserName name = default(ScimBaseUserName), string id = default(string)) { + // to ensure "userName" is required (not null) + this.UserName = userName ?? throw new ArgumentNullException("userName is a required property for ScimUser and cannot be null"); // to ensure "id" is required (not null) this.Id = id ?? throw new ArgumentNullException("id is a required property for ScimUser and cannot be null"); this.Active = active; this.DisplayName = displayName; - this.UserName = userName; this.Name = name; } diff --git a/src/TalonOne/Model/Store.cs b/src/TalonOne/Model/Store.cs index 2e9c1f2..7f04b0a 100644 --- a/src/TalonOne/Model/Store.cs +++ b/src/TalonOne/Model/Store.cs @@ -40,7 +40,7 @@ protected Store() { } /// Initializes a new instance of the class. /// /// Internal ID of this entity. (required). - /// The time this entity was created. The time this entity was created. (required). + /// The time this entity was created. (required). /// The name of the store. (required). /// The description of the store. (required). /// The attributes of the store.. @@ -72,9 +72,9 @@ protected Store() { } public int Id { get; set; } /// - /// The time this entity was created. The time this entity was created. + /// The time this entity was created. /// - /// The time this entity was created. The time this entity was created. + /// The time this entity was created. [DataMember(Name="created", EmitDefaultValue=false)] public DateTime Created { get; set; } diff --git a/src/TalonOne/Model/StrikethroughDebugResponse.cs b/src/TalonOne/Model/StrikethroughDebugResponse.cs new file mode 100644 index 0000000..15ba03f --- /dev/null +++ b/src/TalonOne/Model/StrikethroughDebugResponse.cs @@ -0,0 +1,145 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// StrikethroughDebugResponse + /// + [DataContract] + public partial class StrikethroughDebugResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The campaign IDs that got fetched for the evaluation process.. + /// The strikethrough effects that are returned from the evaluation process.. + public StrikethroughDebugResponse(List campaignsIDs = default(List), List effects = default(List)) + { + this.CampaignsIDs = campaignsIDs; + this.Effects = effects; + } + + /// + /// The campaign IDs that got fetched for the evaluation process. + /// + /// The campaign IDs that got fetched for the evaluation process. + [DataMember(Name="campaignsIDs", EmitDefaultValue=false)] + public List CampaignsIDs { get; set; } + + /// + /// The strikethrough effects that are returned from the evaluation process. + /// + /// The strikethrough effects that are returned from the evaluation process. + [DataMember(Name="effects", EmitDefaultValue=false)] + public List Effects { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class StrikethroughDebugResponse {\n"); + sb.Append(" CampaignsIDs: ").Append(CampaignsIDs).Append("\n"); + sb.Append(" Effects: ").Append(Effects).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as StrikethroughDebugResponse); + } + + /// + /// Returns true if StrikethroughDebugResponse instances are equal + /// + /// Instance of StrikethroughDebugResponse to be compared + /// Boolean + public bool Equals(StrikethroughDebugResponse input) + { + if (input == null) + return false; + + return + ( + this.CampaignsIDs == input.CampaignsIDs || + this.CampaignsIDs != null && + input.CampaignsIDs != null && + this.CampaignsIDs.SequenceEqual(input.CampaignsIDs) + ) && + ( + this.Effects == input.Effects || + this.Effects != null && + input.Effects != null && + this.Effects.SequenceEqual(input.Effects) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CampaignsIDs != null) + hashCode = hashCode * 59 + this.CampaignsIDs.GetHashCode(); + if (this.Effects != null) + hashCode = hashCode * 59 + this.Effects.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/SummaryCampaignStoreBudget.cs b/src/TalonOne/Model/SummaryCampaignStoreBudget.cs new file mode 100644 index 0000000..9c57498 --- /dev/null +++ b/src/TalonOne/Model/SummaryCampaignStoreBudget.cs @@ -0,0 +1,290 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// SummaryCampaignStoreBudget + /// + [DataContract] + public partial class SummaryCampaignStoreBudget : IEquatable, IValidatableObject + { + /// + /// Defines Action + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum ActionEnum + { + /// + /// Enum RedeemCoupon for value: redeemCoupon + /// + [EnumMember(Value = "redeemCoupon")] + RedeemCoupon = 1, + + /// + /// Enum RedeemReferral for value: redeemReferral + /// + [EnumMember(Value = "redeemReferral")] + RedeemReferral = 2, + + /// + /// Enum SetDiscount for value: setDiscount + /// + [EnumMember(Value = "setDiscount")] + SetDiscount = 3, + + /// + /// Enum SetDiscountEffect for value: setDiscountEffect + /// + [EnumMember(Value = "setDiscountEffect")] + SetDiscountEffect = 4, + + /// + /// Enum CreateCoupon for value: createCoupon + /// + [EnumMember(Value = "createCoupon")] + CreateCoupon = 5, + + /// + /// Enum CreateReferral for value: createReferral + /// + [EnumMember(Value = "createReferral")] + CreateReferral = 6, + + /// + /// Enum CreateLoyaltyPoints for value: createLoyaltyPoints + /// + [EnumMember(Value = "createLoyaltyPoints")] + CreateLoyaltyPoints = 7, + + /// + /// Enum RedeemLoyaltyPoints for value: redeemLoyaltyPoints + /// + [EnumMember(Value = "redeemLoyaltyPoints")] + RedeemLoyaltyPoints = 8, + + /// + /// Enum CustomEffect for value: customEffect + /// + [EnumMember(Value = "customEffect")] + CustomEffect = 9, + + /// + /// Enum CreateLoyaltyPointsEffect for value: createLoyaltyPointsEffect + /// + [EnumMember(Value = "createLoyaltyPointsEffect")] + CreateLoyaltyPointsEffect = 10, + + /// + /// Enum RedeemLoyaltyPointsEffect for value: redeemLoyaltyPointsEffect + /// + [EnumMember(Value = "redeemLoyaltyPointsEffect")] + RedeemLoyaltyPointsEffect = 11, + + /// + /// Enum CallApi for value: callApi + /// + [EnumMember(Value = "callApi")] + CallApi = 12, + + /// + /// Enum AwardGiveaway for value: awardGiveaway + /// + [EnumMember(Value = "awardGiveaway")] + AwardGiveaway = 13, + + /// + /// Enum AddFreeItemEffect for value: addFreeItemEffect + /// + [EnumMember(Value = "addFreeItemEffect")] + AddFreeItemEffect = 14, + + /// + /// Enum ReserveCoupon for value: reserveCoupon + /// + [EnumMember(Value = "reserveCoupon")] + ReserveCoupon = 15 + + } + + /// + /// Gets or Sets Action + /// + [DataMember(Name="action", EmitDefaultValue=false)] + public ActionEnum Action { get; set; } + /// + /// Defines Period + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum PeriodEnum + { + /// + /// Enum Overall for value: overall + /// + [EnumMember(Value = "overall")] + Overall = 1, + + /// + /// Enum Daily for value: daily + /// + [EnumMember(Value = "daily")] + Daily = 2, + + /// + /// Enum Weekly for value: weekly + /// + [EnumMember(Value = "weekly")] + Weekly = 3, + + /// + /// Enum Monthly for value: monthly + /// + [EnumMember(Value = "monthly")] + Monthly = 4, + + /// + /// Enum Yearly for value: yearly + /// + [EnumMember(Value = "yearly")] + Yearly = 5 + + } + + /// + /// Gets or Sets Period + /// + [DataMember(Name="period", EmitDefaultValue=false)] + public PeriodEnum? Period { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected SummaryCampaignStoreBudget() { } + /// + /// Initializes a new instance of the class. + /// + /// action (required). + /// period. + /// storeCount (required). + public SummaryCampaignStoreBudget(ActionEnum action = default(ActionEnum), PeriodEnum? period = default(PeriodEnum?), int storeCount = default(int)) + { + this.Action = action; + this.StoreCount = storeCount; + this.Period = period; + } + + /// + /// Gets or Sets StoreCount + /// + [DataMember(Name="storeCount", EmitDefaultValue=false)] + public int StoreCount { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class SummaryCampaignStoreBudget {\n"); + sb.Append(" Action: ").Append(Action).Append("\n"); + sb.Append(" Period: ").Append(Period).Append("\n"); + sb.Append(" StoreCount: ").Append(StoreCount).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as SummaryCampaignStoreBudget); + } + + /// + /// Returns true if SummaryCampaignStoreBudget instances are equal + /// + /// Instance of SummaryCampaignStoreBudget to be compared + /// Boolean + public bool Equals(SummaryCampaignStoreBudget input) + { + if (input == null) + return false; + + return + ( + this.Action == input.Action || + this.Action.Equals(input.Action) + ) && + ( + this.Period == input.Period || + this.Period.Equals(input.Period) + ) && + ( + this.StoreCount == input.StoreCount || + this.StoreCount.Equals(input.StoreCount) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = hashCode * 59 + this.Action.GetHashCode(); + hashCode = hashCode * 59 + this.Period.GetHashCode(); + hashCode = hashCode * 59 + this.StoreCount.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/TemplateArgDef.cs b/src/TalonOne/Model/TemplateArgDef.cs index afdd40b..d77bff2 100644 --- a/src/TalonOne/Model/TemplateArgDef.cs +++ b/src/TalonOne/Model/TemplateArgDef.cs @@ -88,9 +88,10 @@ protected TemplateArgDef() { } /// A campaigner-friendly description of the argument, this will also be shown in the rule editor.. /// A campaigner friendly name for the argument, this will be shown in the rule editor. (required). /// Arbitrary metadata that may be used to render an input for this argument. (required). + /// The identifier for the associated value within the JSON object.. /// ID of the picklist linked to a template.. /// Whether or not this attribute's value is restricted by picklist (`picklist` property). - public TemplateArgDef(TypeEnum type = default(TypeEnum), string description = default(string), string title = default(string), Object ui = default(Object), int picklistID = default(int), bool restrictedByPicklist = default(bool)) + public TemplateArgDef(TypeEnum type = default(TypeEnum), string description = default(string), string title = default(string), Object ui = default(Object), string key = default(string), int picklistID = default(int), bool restrictedByPicklist = default(bool)) { this.Type = type; // to ensure "title" is required (not null) @@ -98,6 +99,7 @@ protected TemplateArgDef() { } // to ensure "ui" is required (not null) this.Ui = ui ?? throw new ArgumentNullException("ui is a required property for TemplateArgDef and cannot be null"); this.Description = description; + this.Key = key; this.PicklistID = picklistID; this.RestrictedByPicklist = restrictedByPicklist; } @@ -123,6 +125,13 @@ protected TemplateArgDef() { } [DataMember(Name="ui", EmitDefaultValue=false)] public Object Ui { get; set; } + /// + /// The identifier for the associated value within the JSON object. + /// + /// The identifier for the associated value within the JSON object. + [DataMember(Name="key", EmitDefaultValue=false)] + public string Key { get; set; } + /// /// ID of the picklist linked to a template. /// @@ -149,6 +158,7 @@ public override string ToString() sb.Append(" Description: ").Append(Description).Append("\n"); sb.Append(" Title: ").Append(Title).Append("\n"); sb.Append(" Ui: ").Append(Ui).Append("\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); sb.Append(" PicklistID: ").Append(PicklistID).Append("\n"); sb.Append(" RestrictedByPicklist: ").Append(RestrictedByPicklist).Append("\n"); sb.Append("}\n"); @@ -204,6 +214,11 @@ public bool Equals(TemplateArgDef input) (this.Ui != null && this.Ui.Equals(input.Ui)) ) && + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && ( this.PicklistID == input.PicklistID || this.PicklistID.Equals(input.PicklistID) @@ -230,6 +245,8 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.Title.GetHashCode(); if (this.Ui != null) hashCode = hashCode * 59 + this.Ui.GetHashCode(); + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); hashCode = hashCode * 59 + this.PicklistID.GetHashCode(); hashCode = hashCode * 59 + this.RestrictedByPicklist.GetHashCode(); return hashCode; diff --git a/src/TalonOne/Model/TemplateLimitConfig.cs b/src/TalonOne/Model/TemplateLimitConfig.cs index 84f421b..056aae7 100644 --- a/src/TalonOne/Model/TemplateLimitConfig.cs +++ b/src/TalonOne/Model/TemplateLimitConfig.cs @@ -98,7 +98,19 @@ public enum EntitiesEnum /// Enum Identifier for value: Identifier /// [EnumMember(Value = "Identifier")] - Identifier = 4 + Identifier = 4, + + /// + /// Enum Store for value: Store + /// + [EnumMember(Value = "Store")] + Store = 5, + + /// + /// Enum Session for value: Session + /// + [EnumMember(Value = "Session")] + Session = 6 } diff --git a/src/TalonOne/Model/TransferLoyaltyCard.cs b/src/TalonOne/Model/TransferLoyaltyCard.cs index ee0f42b..54dfcf5 100644 --- a/src/TalonOne/Model/TransferLoyaltyCard.cs +++ b/src/TalonOne/Model/TransferLoyaltyCard.cs @@ -148,6 +148,13 @@ public override int GetHashCode() yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for NewCardIdentifier, length must be less than 108.", new [] { "NewCardIdentifier" }); } + // NewCardIdentifier (string) pattern + Regex regexNewCardIdentifier = new Regex(@"^[A-Za-z0-9_-]*$", RegexOptions.CultureInvariant); + if (false == regexNewCardIdentifier.Match(this.NewCardIdentifier).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for NewCardIdentifier, must match a pattern of " + regexNewCardIdentifier, new [] { "NewCardIdentifier" }); + } + yield break; } } diff --git a/src/TalonOne/Model/UpdateAchievement.cs b/src/TalonOne/Model/UpdateAchievement.cs index abb6294..e15e50e 100644 --- a/src/TalonOne/Model/UpdateAchievement.cs +++ b/src/TalonOne/Model/UpdateAchievement.cs @@ -31,6 +31,60 @@ namespace TalonOne.Model [DataContract] public partial class UpdateAchievement : IEquatable, IValidatableObject { + /// + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. + /// + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. + [JsonConverter(typeof(StringEnumConverter))] + public enum RecurrencePolicyEnum + { + /// + /// Enum Norecurrence for value: no_recurrence + /// + [EnumMember(Value = "no_recurrence")] + Norecurrence = 1, + + /// + /// Enum Onexpiration for value: on_expiration + /// + [EnumMember(Value = "on_expiration")] + Onexpiration = 2 + + } + + /// + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. + /// + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. + [DataMember(Name="recurrencePolicy", EmitDefaultValue=false)] + public RecurrencePolicyEnum? RecurrencePolicy { get; set; } + /// + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. + /// + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. + [JsonConverter(typeof(StringEnumConverter))] + public enum ActivationPolicyEnum + { + /// + /// Enum Useraction for value: user_action + /// + [EnumMember(Value = "user_action")] + Useraction = 1, + + /// + /// Enum Fixedschedule for value: fixed_schedule + /// + [EnumMember(Value = "fixed_schedule")] + Fixedschedule = 2 + + } + + /// + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. + /// + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. + [DataMember(Name="activationPolicy", EmitDefaultValue=false)] + public ActivationPolicyEnum? ActivationPolicy { get; set; } /// /// Initializes a new instance of the class. /// @@ -40,7 +94,11 @@ public partial class UpdateAchievement : IEquatable, IValida /// The required number of actions or the transactional milestone to complete the achievement.. /// The relative duration after which the achievement ends and resets for a particular customer profile. . /// periodEndOverride. - public UpdateAchievement(string name = default(string), string title = default(string), string description = default(string), decimal target = default(decimal), string period = default(string), TimePoint periodEndOverride = default(TimePoint)) + /// The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. . + /// The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. . + /// The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. . + /// The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. . + public UpdateAchievement(string name = default(string), string title = default(string), string description = default(string), decimal target = default(decimal), string period = default(string), TimePoint periodEndOverride = default(TimePoint), RecurrencePolicyEnum? recurrencePolicy = default(RecurrencePolicyEnum?), ActivationPolicyEnum? activationPolicy = default(ActivationPolicyEnum?), DateTime fixedStartDate = default(DateTime), DateTime endDate = default(DateTime)) { this.Name = name; this.Title = title; @@ -48,6 +106,10 @@ public partial class UpdateAchievement : IEquatable, IValida this.Target = target; this.Period = period; this.PeriodEndOverride = periodEndOverride; + this.RecurrencePolicy = recurrencePolicy; + this.ActivationPolicy = activationPolicy; + this.FixedStartDate = fixedStartDate; + this.EndDate = endDate; } /// @@ -91,6 +153,20 @@ public partial class UpdateAchievement : IEquatable, IValida [DataMember(Name="periodEndOverride", EmitDefaultValue=false)] public TimePoint PeriodEndOverride { get; set; } + /// + /// The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. + /// + /// The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. + [DataMember(Name="fixedStartDate", EmitDefaultValue=false)] + public DateTime FixedStartDate { get; set; } + + /// + /// The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. + /// + /// The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. + [DataMember(Name="endDate", EmitDefaultValue=false)] + public DateTime EndDate { get; set; } + /// /// Returns the string presentation of the object /// @@ -105,6 +181,10 @@ public override string ToString() sb.Append(" Target: ").Append(Target).Append("\n"); sb.Append(" Period: ").Append(Period).Append("\n"); sb.Append(" PeriodEndOverride: ").Append(PeriodEndOverride).Append("\n"); + sb.Append(" RecurrencePolicy: ").Append(RecurrencePolicy).Append("\n"); + sb.Append(" ActivationPolicy: ").Append(ActivationPolicy).Append("\n"); + sb.Append(" FixedStartDate: ").Append(FixedStartDate).Append("\n"); + sb.Append(" EndDate: ").Append(EndDate).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -167,6 +247,24 @@ public bool Equals(UpdateAchievement input) this.PeriodEndOverride == input.PeriodEndOverride || (this.PeriodEndOverride != null && this.PeriodEndOverride.Equals(input.PeriodEndOverride)) + ) && + ( + this.RecurrencePolicy == input.RecurrencePolicy || + this.RecurrencePolicy.Equals(input.RecurrencePolicy) + ) && + ( + this.ActivationPolicy == input.ActivationPolicy || + this.ActivationPolicy.Equals(input.ActivationPolicy) + ) && + ( + this.FixedStartDate == input.FixedStartDate || + (this.FixedStartDate != null && + this.FixedStartDate.Equals(input.FixedStartDate)) + ) && + ( + this.EndDate == input.EndDate || + (this.EndDate != null && + this.EndDate.Equals(input.EndDate)) ); } @@ -190,6 +288,12 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.Period.GetHashCode(); if (this.PeriodEndOverride != null) hashCode = hashCode * 59 + this.PeriodEndOverride.GetHashCode(); + hashCode = hashCode * 59 + this.RecurrencePolicy.GetHashCode(); + hashCode = hashCode * 59 + this.ActivationPolicy.GetHashCode(); + if (this.FixedStartDate != null) + hashCode = hashCode * 59 + this.FixedStartDate.GetHashCode(); + if (this.EndDate != null) + hashCode = hashCode * 59 + this.EndDate.GetHashCode(); return hashCode; } } diff --git a/src/TalonOne/Model/UpdateCampaignTemplate.cs b/src/TalonOne/Model/UpdateCampaignTemplate.cs index 76bdff3..e5ea61f 100644 --- a/src/TalonOne/Model/UpdateCampaignTemplate.cs +++ b/src/TalonOne/Model/UpdateCampaignTemplate.cs @@ -160,6 +160,7 @@ protected UpdateCampaignTemplate() { } /// A list of tags for the campaign template.. /// A list of features for the campaign template.. /// couponSettings. + /// couponReservationSettings. /// referralSettings. /// The set of limits that operate for this campaign template.. /// Fields which can be used to replace values in a rule.. @@ -167,7 +168,7 @@ protected UpdateCampaignTemplate() { } /// The campaign collections from the blueprint campaign for the template.. /// The default campaign group ID.. /// The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. (default to CampaignTypeEnum.Advanced). - public UpdateCampaignTemplate(string name = default(string), string description = default(string), string instructions = default(string), Object campaignAttributes = default(Object), Object couponAttributes = default(Object), StateEnum state = default(StateEnum), int activeRulesetId = default(int), List tags = default(List), List features = default(List), CodeGeneratorSettings couponSettings = default(CodeGeneratorSettings), CodeGeneratorSettings referralSettings = default(CodeGeneratorSettings), List limits = default(List), List templateParams = default(List), List applicationsIds = default(List), List campaignCollections = default(List), int defaultCampaignGroupId = default(int), CampaignTypeEnum? campaignType = CampaignTypeEnum.Advanced) + public UpdateCampaignTemplate(string name = default(string), string description = default(string), string instructions = default(string), Object campaignAttributes = default(Object), Object couponAttributes = default(Object), StateEnum state = default(StateEnum), int activeRulesetId = default(int), List tags = default(List), List features = default(List), CodeGeneratorSettings couponSettings = default(CodeGeneratorSettings), CampaignTemplateCouponReservationSettings couponReservationSettings = default(CampaignTemplateCouponReservationSettings), CodeGeneratorSettings referralSettings = default(CodeGeneratorSettings), List limits = default(List), List templateParams = default(List), List applicationsIds = default(List), List campaignCollections = default(List), int defaultCampaignGroupId = default(int), CampaignTypeEnum? campaignType = CampaignTypeEnum.Advanced) { // to ensure "name" is required (not null) this.Name = name ?? throw new ArgumentNullException("name is a required property for UpdateCampaignTemplate and cannot be null"); @@ -184,6 +185,7 @@ protected UpdateCampaignTemplate() { } this.Tags = tags; this.Features = features; this.CouponSettings = couponSettings; + this.CouponReservationSettings = couponReservationSettings; this.ReferralSettings = referralSettings; this.Limits = limits; this.TemplateParams = templateParams; @@ -247,6 +249,12 @@ protected UpdateCampaignTemplate() { } [DataMember(Name="couponSettings", EmitDefaultValue=false)] public CodeGeneratorSettings CouponSettings { get; set; } + /// + /// Gets or Sets CouponReservationSettings + /// + [DataMember(Name="couponReservationSettings", EmitDefaultValue=false)] + public CampaignTemplateCouponReservationSettings CouponReservationSettings { get; set; } + /// /// Gets or Sets ReferralSettings /// @@ -306,6 +314,7 @@ public override string ToString() sb.Append(" Tags: ").Append(Tags).Append("\n"); sb.Append(" Features: ").Append(Features).Append("\n"); sb.Append(" CouponSettings: ").Append(CouponSettings).Append("\n"); + sb.Append(" CouponReservationSettings: ").Append(CouponReservationSettings).Append("\n"); sb.Append(" ReferralSettings: ").Append(ReferralSettings).Append("\n"); sb.Append(" Limits: ").Append(Limits).Append("\n"); sb.Append(" TemplateParams: ").Append(TemplateParams).Append("\n"); @@ -395,6 +404,11 @@ public bool Equals(UpdateCampaignTemplate input) (this.CouponSettings != null && this.CouponSettings.Equals(input.CouponSettings)) ) && + ( + this.CouponReservationSettings == input.CouponReservationSettings || + (this.CouponReservationSettings != null && + this.CouponReservationSettings.Equals(input.CouponReservationSettings)) + ) && ( this.ReferralSettings == input.ReferralSettings || (this.ReferralSettings != null && @@ -460,6 +474,8 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.Features.GetHashCode(); if (this.CouponSettings != null) hashCode = hashCode * 59 + this.CouponSettings.GetHashCode(); + if (this.CouponReservationSettings != null) + hashCode = hashCode * 59 + this.CouponReservationSettings.GetHashCode(); if (this.ReferralSettings != null) hashCode = hashCode * 59 + this.ReferralSettings.GetHashCode(); if (this.Limits != null) diff --git a/src/TalonOne/Model/UpdateLoyaltyProgram.cs b/src/TalonOne/Model/UpdateLoyaltyProgram.cs index c1b8a99..1149c00 100644 --- a/src/TalonOne/Model/UpdateLoyaltyProgram.cs +++ b/src/TalonOne/Model/UpdateLoyaltyProgram.cs @@ -26,7 +26,7 @@ namespace TalonOne.Model { /// - /// UpdateLoyaltyProgram + /// An updated loyalty program. /// [DataContract] public partial class UpdateLoyaltyProgram : IEquatable, IValidatableObject @@ -131,6 +131,33 @@ public enum TiersDowngradePolicyEnum [DataMember(Name="tiersDowngradePolicy", EmitDefaultValue=false)] public TiersDowngradePolicyEnum? TiersDowngradePolicy { get; set; } /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + [JsonConverter(typeof(StringEnumConverter))] + public enum ReturnPolicyEnum + { + /// + /// Enum Onlypending for value: only_pending + /// + [EnumMember(Value = "only_pending")] + Onlypending = 1, + + /// + /// Enum Withinbalance for value: within_balance + /// + [EnumMember(Value = "within_balance")] + Withinbalance = 2 + + } + + /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + /// + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. + [DataMember(Name="returnPolicy", EmitDefaultValue=false)] + public ReturnPolicyEnum? ReturnPolicy { get; set; } + /// /// Initializes a new instance of the class. /// /// The display title for the Loyalty Program.. @@ -147,8 +174,9 @@ public enum TiersDowngradePolicyEnum /// The amount of time after which the tier expires and is reevaluated. 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. . /// The policy that defines how customer tiers are downgraded in the loyalty program after tier reevaluation. - `one_down`: If the customer doesn't have enough points to stay in the current tier, they are downgraded by one tier. - `balance_based`: The customer's tier is reevaluated based on the amount of active points they have at the moment. . /// cardCodeSettings. + /// The policy that defines the rollback of points in case of a partially returned, cancelled, or reopened [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). - `only_pending`: Only pending points can be rolled back. - `within_balance`: Available active points can be rolled back if there aren't enough pending points. The active balance of the customer cannot be negative. . /// The tiers in this loyalty program.. - public UpdateLoyaltyProgram(string title = default(string), string description = default(string), List subscribedApplications = default(List), string defaultValidity = default(string), string defaultPending = default(string), bool allowSubledger = default(bool), int usersPerCardLimit = default(int), bool sandbox = default(bool), ProgramJoinPolicyEnum? programJoinPolicy = default(ProgramJoinPolicyEnum?), TiersExpirationPolicyEnum? tiersExpirationPolicy = default(TiersExpirationPolicyEnum?), DateTime tierCycleStartDate = default(DateTime), string tiersExpireIn = default(string), TiersDowngradePolicyEnum? tiersDowngradePolicy = default(TiersDowngradePolicyEnum?), CodeGeneratorSettings cardCodeSettings = default(CodeGeneratorSettings), List tiers = default(List)) + public UpdateLoyaltyProgram(string title = default(string), string description = default(string), List subscribedApplications = default(List), string defaultValidity = default(string), string defaultPending = default(string), bool allowSubledger = default(bool), int usersPerCardLimit = default(int), bool sandbox = default(bool), ProgramJoinPolicyEnum? programJoinPolicy = default(ProgramJoinPolicyEnum?), TiersExpirationPolicyEnum? tiersExpirationPolicy = default(TiersExpirationPolicyEnum?), DateTime tierCycleStartDate = default(DateTime), string tiersExpireIn = default(string), TiersDowngradePolicyEnum? tiersDowngradePolicy = default(TiersDowngradePolicyEnum?), CodeGeneratorSettings cardCodeSettings = default(CodeGeneratorSettings), ReturnPolicyEnum? returnPolicy = default(ReturnPolicyEnum?), List tiers = default(List)) { this.Title = title; this.Description = description; @@ -164,6 +192,7 @@ public enum TiersDowngradePolicyEnum this.TiersExpireIn = tiersExpireIn; this.TiersDowngradePolicy = tiersDowngradePolicy; this.CardCodeSettings = cardCodeSettings; + this.ReturnPolicy = returnPolicy; this.Tiers = tiers; } @@ -272,6 +301,7 @@ public override string ToString() sb.Append(" TiersExpireIn: ").Append(TiersExpireIn).Append("\n"); sb.Append(" TiersDowngradePolicy: ").Append(TiersDowngradePolicy).Append("\n"); sb.Append(" CardCodeSettings: ").Append(CardCodeSettings).Append("\n"); + sb.Append(" ReturnPolicy: ").Append(ReturnPolicy).Append("\n"); sb.Append(" Tiers: ").Append(Tiers).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -372,6 +402,10 @@ public bool Equals(UpdateLoyaltyProgram input) (this.CardCodeSettings != null && this.CardCodeSettings.Equals(input.CardCodeSettings)) ) && + ( + this.ReturnPolicy == input.ReturnPolicy || + this.ReturnPolicy.Equals(input.ReturnPolicy) + ) && ( this.Tiers == input.Tiers || this.Tiers != null && @@ -411,6 +445,7 @@ public override int GetHashCode() hashCode = hashCode * 59 + this.TiersDowngradePolicy.GetHashCode(); if (this.CardCodeSettings != null) hashCode = hashCode * 59 + this.CardCodeSettings.GetHashCode(); + hashCode = hashCode * 59 + this.ReturnPolicy.GetHashCode(); if (this.Tiers != null) hashCode = hashCode * 59 + this.Tiers.GetHashCode(); return hashCode; diff --git a/src/TalonOne/Model/UpdateLoyaltyProgramTier.cs b/src/TalonOne/Model/UpdateLoyaltyProgramTier.cs new file mode 100644 index 0000000..f64ba7d --- /dev/null +++ b/src/TalonOne/Model/UpdateLoyaltyProgramTier.cs @@ -0,0 +1,173 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// Update a tier in a specified loyalty program. + /// + [DataContract] + public partial class UpdateLoyaltyProgramTier : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected UpdateLoyaltyProgramTier() { } + /// + /// Initializes a new instance of the class. + /// + /// The internal ID of the tier. (required). + /// The name of the tier.. + /// The minimum amount of points required to enter the tier.. + public UpdateLoyaltyProgramTier(int id = default(int), string name = default(string), decimal minPoints = default(decimal)) + { + this.Id = id; + this.Name = name; + this.MinPoints = minPoints; + } + + /// + /// The internal ID of the tier. + /// + /// The internal ID of the tier. + [DataMember(Name="id", EmitDefaultValue=false)] + public int Id { get; set; } + + /// + /// The name of the tier. + /// + /// The name of the tier. + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// The minimum amount of points required to enter the tier. + /// + /// The minimum amount of points required to enter the tier. + [DataMember(Name="minPoints", EmitDefaultValue=false)] + public decimal MinPoints { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class UpdateLoyaltyProgramTier {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" MinPoints: ").Append(MinPoints).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as UpdateLoyaltyProgramTier); + } + + /// + /// Returns true if UpdateLoyaltyProgramTier instances are equal + /// + /// Instance of UpdateLoyaltyProgramTier to be compared + /// Boolean + public bool Equals(UpdateLoyaltyProgramTier input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + this.Id.Equals(input.Id) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.MinPoints == input.MinPoints || + this.MinPoints.Equals(input.MinPoints) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + hashCode = hashCode * 59 + this.MinPoints.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // MinPoints (decimal) maximum + if(this.MinPoints > (decimal)999999999999.99) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for MinPoints, must be a value less than or equal to 999999999999.99.", new [] { "MinPoints" }); + } + + // MinPoints (decimal) minimum + if(this.MinPoints < (decimal)0) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for MinPoints, must be a value greater than or equal to 0.", new [] { "MinPoints" }); + } + + yield break; + } + } + +} diff --git a/src/TalonOne/Model/ValueMap.cs b/src/TalonOne/Model/ValueMap.cs new file mode 100644 index 0000000..49151ab --- /dev/null +++ b/src/TalonOne/Model/ValueMap.cs @@ -0,0 +1,174 @@ +/* + * Talon.One API + * + * 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}` + * + * + * Contact: devs@talon.one + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = TalonOne.Client.OpenAPIDateConverter; + +namespace TalonOne.Model +{ + /// + /// ValueMap + /// + [DataContract] + public partial class ValueMap : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ValueMap() { } + /// + /// Initializes a new instance of the class. + /// + /// Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. (required). + /// created. + /// The ID of the user who created the value map.. + /// campaignId (required). + public ValueMap(int id = default(int), DateTime created = default(DateTime), int createdBy = default(int), int campaignId = default(int)) + { + this.Id = id; + this.CampaignId = campaignId; + this.Created = created; + this.CreatedBy = createdBy; + } + + /// + /// Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. + /// + /// Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. + [DataMember(Name="id", EmitDefaultValue=false)] + public int Id { get; set; } + + /// + /// Gets or Sets Created + /// + [DataMember(Name="created", EmitDefaultValue=false)] + public DateTime Created { get; set; } + + /// + /// The ID of the user who created the value map. + /// + /// The ID of the user who created the value map. + [DataMember(Name="createdBy", EmitDefaultValue=false)] + public int CreatedBy { get; set; } + + /// + /// Gets or Sets CampaignId + /// + [DataMember(Name="campaignId", EmitDefaultValue=false)] + public int CampaignId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ValueMap {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Created: ").Append(Created).Append("\n"); + sb.Append(" CreatedBy: ").Append(CreatedBy).Append("\n"); + sb.Append(" CampaignId: ").Append(CampaignId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ValueMap); + } + + /// + /// Returns true if ValueMap instances are equal + /// + /// Instance of ValueMap to be compared + /// Boolean + public bool Equals(ValueMap input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + this.Id.Equals(input.Id) + ) && + ( + this.Created == input.Created || + (this.Created != null && + this.Created.Equals(input.Created)) + ) && + ( + this.CreatedBy == input.CreatedBy || + this.CreatedBy.Equals(input.CreatedBy) + ) && + ( + this.CampaignId == input.CampaignId || + this.CampaignId.Equals(input.CampaignId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Created != null) + hashCode = hashCode * 59 + this.Created.GetHashCode(); + hashCode = hashCode * 59 + this.CreatedBy.GetHashCode(); + hashCode = hashCode * 59 + this.CampaignId.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/TalonOne/Model/Webhook.cs b/src/TalonOne/Model/Webhook.cs index 1754d56..1cc4701 100644 --- a/src/TalonOne/Model/Webhook.cs +++ b/src/TalonOne/Model/Webhook.cs @@ -87,7 +87,7 @@ protected Webhook() { } /// Internal ID of this entity. (required). /// The time this entity was created. (required). /// The time this entity was last modified. (required). - /// The IDs of the Applications that are related to this entity. The IDs of the Applications that are related to this entity. (required). + /// The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. (required). /// Name or title for this webhook. (required). /// A description of the webhook.. /// API method for this webhook. (required). @@ -139,9 +139,9 @@ protected Webhook() { } public DateTime Modified { get; set; } /// - /// The IDs of the Applications that are related to this entity. The IDs of the Applications that are related to this entity. + /// The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. /// - /// The IDs of the Applications that are related to this entity. The IDs of the Applications that are related to this entity. + /// The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. [DataMember(Name="applicationIds", EmitDefaultValue=false)] public List ApplicationIds { get; set; } diff --git a/src/TalonOne/Model/WebhookLogEntry.cs b/src/TalonOne/Model/WebhookLogEntry.cs index f0c48d6..be9c0d4 100644 --- a/src/TalonOne/Model/WebhookLogEntry.cs +++ b/src/TalonOne/Model/WebhookLogEntry.cs @@ -43,7 +43,7 @@ protected WebhookLogEntry() { } /// UUID reference of the integration request linked to this webhook request. (required). /// ID of the webhook that triggered the request. (required). /// ID of the application that triggered the webhook.. - /// Target url of request (required). + /// The target URL of the request. (required). /// Request message (required). /// Response message. /// HTTP status code of response.. @@ -96,9 +96,9 @@ protected WebhookLogEntry() { } public int ApplicationId { get; set; } /// - /// Target url of request + /// The target URL of the request. /// - /// Target url of request + /// The target URL of the request. [DataMember(Name="url", EmitDefaultValue=false)] public string Url { get; set; } diff --git a/src/TalonOne/Model/WebhookWithOutgoingIntegrationDetails.cs b/src/TalonOne/Model/WebhookWithOutgoingIntegrationDetails.cs index 0a8e1d5..408cc91 100644 --- a/src/TalonOne/Model/WebhookWithOutgoingIntegrationDetails.cs +++ b/src/TalonOne/Model/WebhookWithOutgoingIntegrationDetails.cs @@ -87,7 +87,7 @@ protected WebhookWithOutgoingIntegrationDetails() { } /// Internal ID of this entity. (required). /// The time this entity was created. (required). /// The time this entity was last modified. (required). - /// The IDs of the Applications that are related to this entity. The IDs of the Applications that are related to this entity. (required). + /// The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. (required). /// Name or title for this webhook. (required). /// A description of the webhook.. /// API method for this webhook. (required). @@ -145,9 +145,9 @@ protected WebhookWithOutgoingIntegrationDetails() { } public DateTime Modified { get; set; } /// - /// The IDs of the Applications that are related to this entity. The IDs of the Applications that are related to this entity. + /// The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. /// - /// The IDs of the Applications that are related to this entity. The IDs of the Applications that are related to this entity. + /// The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. [DataMember(Name="applicationIds", EmitDefaultValue=false)] public List ApplicationIds { get; set; } diff --git a/src/TalonOne/Properties/AssemblyInfo.cs b/src/TalonOne/Properties/AssemblyInfo.cs index 621e741..8322669 100644 --- a/src/TalonOne/Properties/AssemblyInfo.cs +++ b/src/TalonOne/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("7.0.1")] -[assembly: AssemblyFileVersion("7.0.1")] +[assembly: AssemblyVersion("8.0.0")] +[assembly: AssemblyFileVersion("8.0.0")]