/* Options:
Date: 2026-05-19 09:52:39
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: GetCustomerPaginated.*
//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 interface IPagedRequest
{
int page { get; set; }
int items { get; set; }
bool noCount { get; set; }
string sortBy { get; set; }
}
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
{
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; }
}
[Route("/customer/{brand}/slim", "GET")]
public partial class GetCustomerPaginated
: SearchCustomer, IReturn, IPagedRequest
{
///
///Index of the result set returned
///
[ApiMember(Description="Index of the result set returned")]
public virtual int page { get; set; }
///
///Size of the result set returned
///
[ApiMember(Description="Size of the result set returned")]
public virtual int items { get; set; }
///
///Omit precise record count - save on performance
///
[ApiMember(Description="Omit precise record count - save on performance")]
public virtual bool noCount { get; set; }
///
///Values can be 'NameDESC', 'NameASC', 'RegASC', 'RegDESC'
///
[ApiMember(Description="Values can be 'NameDESC', 'NameASC', 'RegASC', 'RegDESC'")]
public virtual string sortBy { get; set; }
}
public partial class GetCustomerPaginatedElement
{
///
///Booster Customer Id
///
[ApiMember(Description="Booster Customer Id", IsRequired=true)]
public virtual int boosterCustomerId { get; set; }
///
///First name
///
[ApiMember(Description="First name", IsRequired=true)]
public virtual string firstName { get; set; }
///
///Middle name
///
[ApiMember(Description="Middle name", IsRequired=true)]
public virtual string middleName { get; set; }
///
///Last name
///
[ApiMember(Description="Last name", IsRequired=true)]
public virtual string lastName { get; set; }
///
///First name Not Latin
///
[ApiMember(Description="First name Not Latin", IsRequired=true)]
public virtual string firstNameNotLatin { get; set; }
///
///Last name Not Latin
///
[ApiMember(Description="Last name Not Latin", IsRequired=true)]
public virtual string lastNameNotLatin { get; set; }
///
///Customer phone
///
[ApiMember(Description="Customer phone", IsRequired=true)]
public virtual string phone { get; set; }
///
///Phone Country Prefix
///
[ApiMember(Description="Phone Country Prefix", IsRequired=true)]
public virtual string countryPrefix { get; set; }
///
///Customer email
///
[ApiMember(Description="Customer email", IsRequired=true)]
public virtual string email { get; set; }
///
///Data Sharing Consent
///
[ApiMember(Description="Data Sharing Consent", IsRequired=true)]
public virtual bool? dataSharingConsent { get; set; }
///
///Sellout Transaction Count
///
[ApiMember(Description="Sellout Transaction Count", IsRequired=true)]
public virtual int selloutTransactionCount { get; set; }
///
///Elevate Customer ID
///
[ApiMember(Description="Elevate Customer ID")]
public virtual string elevateCustomerId { get; set; }
///
///Elevate Consent Status
///
[ApiMember(Description="Elevate Consent Status")]
public virtual string elevateConsentStatus { get; set; }
///
///Customer Country Id
///
[ApiMember(Description="Customer Country Id")]
public virtual string countryId { get; set; }
///
///Registration date
///
[ApiMember(Description="Registration date")]
public virtual DateTime? registrationDate { get; set; }
///
///Sap Crm Error Message
///
[ApiMember(Description="Sap Crm Error Message")]
public virtual string sapCrmErrorMessage { get; set; }
}
public partial class GetCustomerPaginatedResponse
{
///
///Total Pages
///
[ApiMember(Description="Total Pages", IsRequired=true)]
public virtual int totalPages { get; set; }
///
///Total Results
///
[ApiMember(Description="Total Results", IsRequired=true)]
public virtual int totalResults { get; set; }
///
///Index of the result set returned
///
[ApiMember(Description="Index of the result set returned", IsRequired=true)]
public virtual int page { get; set; }
///
///Size of the result set returned
///
[ApiMember(Description="Size of the result set returned", IsRequired=true)]
public virtual int items { get; set; }
///
///List of customers
///
[ApiMember(Description="List of customers", IsRequired=true)]
public virtual IEnumerable elements { 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; }
}
}