/* Options: Date: 2026-05-19 09:52:16 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: ExportCustomer.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Richemont.Booster2.PublicApi.CRM.ServiceModel; using Richemont.Booster2.PublicApi.Common.ServiceModel; using Richemont.Booster2.PublicApi.Stock.ServiceModel; namespace Richemont.Booster2.PublicApi.Common.ServiceModel { public partial class ProductCategory { /// ///Brand Category ID /// [ApiMember(Description="Brand Category ID")] public virtual string brandCategoryId { get; set; } /// ///Grand Category ID /// [ApiMember(Description="Grand Category ID", IsRequired=true)] public virtual string grandCategoryId { get; set; } /// ///Master Category ID /// [ApiMember(Description="Master Category ID")] public virtual string masterCategoryId { get; set; } /// ///Category ID /// [ApiMember(Description="Category ID")] public virtual string categoryId { get; set; } /// ///Sub Category ID /// [ApiMember(Description="Sub Category ID")] public virtual string subCategoryId { get; set; } } } namespace Richemont.Booster2.PublicApi.CRM.ServiceModel { [Route("/customer/{brand}/export", "POST")] public partial class ExportCustomer : SearchCustomer, IReturn { /// ///Export Request ID of the API Consumers /// [ApiMember(Description="Export Request ID of the API Consumers", IsRequired=true)] public virtual string downloadRequestId { get; set; } } public partial class ExportCustomerResponse { /// ///Unique Identifier of the Export Request created /// [ApiMember(Description="Unique Identifier of the Export Request created", IsRequired=true)] public virtual Guid asyncTaskId { get; set; } } public partial class GetCustomerHobby { /// ///Hobby description /// [ApiMember(Description="Hobby description")] public virtual string hobby { get; set; } /// ///SAP Hobby ID, e.g. 'ART' /// [ApiMember(Description="SAP Hobby ID, e.g. 'ART'")] public virtual string sapHobbyId { get; set; } } public partial class GetCustomerInterest { /// ///Interest description /// [ApiMember(Description="Interest description", IsRequired=true)] public virtual string interest { get; set; } /// ///SAP Interest ID, e.g. 'CA-1' /// [ApiMember(Description="SAP Interest ID, e.g. 'CA-1'", IsRequired=true)] public virtual string sapInterestId { get; set; } } public partial class GetCustomerProductCollection { /// ///Product Collection description /// [ApiMember(Description="Product Collection description", IsRequired=true)] public virtual string productCollection { get; set; } /// ///SAP ProductCollection ID, e.g. 'CA-1' /// [ApiMember(Description="SAP ProductCollection ID, e.g. 'CA-1'", IsRequired=true)] public virtual string sapProductCollectionId { get; set; } } public partial class SearchCustomer { public SearchCustomer() { posCodes = new List{}; locationCountryIds = new List{}; birthdateMonths = new List{}; interests = new List{}; hobbies = new List{}; productCollections = new List{}; customerStatus = new List{}; boosterCustomerIds = new List{}; productCategories = new List{}; saleRepresentativeEmails = new List{}; } /// ///Brand /// [ApiMember(Description="Brand", IsRequired=true)] public virtual string brand { get; set; } /// ///POS Legacy /// [ApiMember(Description="POS Legacy", IsRequired=true)] public virtual List posCodes { get; set; } /// ///Search key could be: 'Name', 'Email', 'Phone' without prefix, 'BoosterCustomerId' OR 'SapCRMId' /// [ApiMember(Description="Search key could be: 'Name', 'Email', 'Phone' without prefix, 'BoosterCustomerId' OR 'SapCRMId'")] public virtual string searchKey { get; set; } /// ///Search by phone number - exact match /// [ApiMember(Description="Search by phone number - exact match")] public virtual string phoneNumber { get; set; } /// ///Search by email address - exact match /// [ApiMember(Description="Search by email address - exact match")] public virtual string email { get; set; } /// ///Values can be 'it', 'en' etc. /// [ApiMember(Description="Values can be 'it', 'en' etc.")] public virtual List locationCountryIds { get; set; } /// ///Client Spending From e.g. '100' /// [ApiMember(Description="Client Spending From e.g. '100'")] public virtual double? clientSpendingFrom { get; set; } /// ///Client Spending To e.g. '50000' /// [ApiMember(Description="Client Spending To e.g. '50000'")] public virtual double? clientSpendingTo { get; set; } /// ///Customer Creation Date From e.g. '2022-01-01' /// [ApiMember(Description="Customer Creation Date From e.g. '2022-01-01'")] public virtual DateTime? creationDateFrom { get; set; } /// ///Customer Creation Date To e.g. '2023-11-01' /// [ApiMember(Description="Customer Creation Date To e.g. '2023-11-01'")] public virtual DateTime? creationDateTo { get; set; } /// ///Transaction Date From e.g. '2022-01-01' /// [ApiMember(Description="Transaction Date From e.g. '2022-01-01'")] public virtual DateTime? transactionDateFrom { get; set; } /// ///Transaction Date To e.g. '2023-11-01' /// [ApiMember(Description="Transaction Date To e.g. '2023-11-01'")] public virtual DateTime? transactionDateTo { get; set; } /// ///Values can be 'true' or 'false' /// [ApiMember(Description="Values can be 'true' or 'false'")] public virtual bool? canBeContactedByMaison { get; set; } /// ///Values can be 1 for 'January', 2 for 'February', 3 for 'March', 4 for 'April', 5 for 'May', 6 for 'June', 7 for 'July', 8 for 'August', 9 for 'September', 10 for 'October', 11 for 'November', 12 for 'December' /// [ApiMember(Description="Values can be 1 for 'January', 2 for 'February', 3 for 'March', 4 for 'April', 5 for 'May', 6 for 'June', 7 for 'July', 8 for 'August', 9 for 'September', 10 for 'October', 11 for 'November', 12 for 'December'")] public virtual List birthdateMonths { get; set; } /// ///Customer interest filter /// [ApiMember(Description="Customer interest filter")] public virtual List interests { get; set; } /// ///Customer hobby filter /// [ApiMember(Description="Customer hobby filter")] public virtual List hobbies { get; set; } /// ///Customer product collection filter /// [ApiMember(Description="Customer product collection filter")] public virtual List productCollections { get; set; } /// ///Customer Status e.g. 'Prospect', 'Client' /// [ApiMember(Description="Customer Status e.g. 'Prospect', 'Client'")] public virtual List customerStatus { get; set; } /// ///List of BoosterCustomerIds, e.g. 1234567,1231231,12323423 /// [ApiMember(Description="List of BoosterCustomerIds, e.g. 1234567,1231231,12323423")] public virtual List boosterCustomerIds { get; set; } /// ///Values can be 'true' or 'false' /// [ApiMember(Description="Values can be 'true' or 'false'")] public virtual bool? hasSapCrmError { get; set; } /// ///Product Categories /// [ApiMember(Description="Product Categories")] public virtual List productCategories { get; set; } /// ///Sale Reprentative Emails /// [ApiMember(Description="Sale Reprentative Emails")] public virtual List saleRepresentativeEmails { get; set; } } } namespace Richemont.Booster2.PublicApi.Stock.ServiceModel { public partial class ProductCategory { /// ///Brand Category ID /// [ApiMember(Description="Brand Category ID")] public virtual string brandCategoryId { get; set; } /// ///Grand Category ID /// [ApiMember(Description="Grand Category ID")] public virtual string grandCategoryId { get; set; } /// ///Master Category ID /// [ApiMember(Description="Master Category ID")] public virtual string masterCategoryId { get; set; } /// ///Category ID /// [ApiMember(Description="Category ID")] public virtual string categoryId { get; set; } /// ///Sub Category ID /// [ApiMember(Description="Sub Category ID")] public virtual string subCategoryId { get; set; } } }