ClientWithPassInfoResponseDto
clientType object
- ClientType
- string
storeCard objectrequired
- StoreCard
- string
wallet objectrequired
- Wallet
- string
socialMedia objectrequired
additionalContacts object[]required
Possible values: [URL, PHONE, EMAIL]
termsAndConditions objectrequired
Possible values: [PDF, URL, NONE]
Possible values: [ALL, EVENT_TICKET, TRANSIT, CINEMA, BOARDING_PASS, COUPON, GENERIC, STORE_CARD, OFFER, HOTEL]
Possible values: [STORE_CARD, MEMBER_CARD]
Possible values: [CREATION_DATE, EXPIRATION_DATE, BIRTHDATE, GAIN, CLUB, ASSOCIATION, ORGANISATION, ENTREPRISE, N_LICENCE, N_ADHERENT, N_MEMBER, MEMBER, N_IMMATRICULATION, INACTIVE, ADMISSION_DATE]
Possible values: [CREATION_DATE, EXPIRATION_DATE, BIRTHDATE, GAIN, CLUB, ASSOCIATION, ORGANISATION, ENTREPRISE, N_LICENCE, N_ADHERENT, N_MEMBER, MEMBER, N_IMMATRICULATION, INACTIVE, ADMISSION_DATE]
Possible values: [CREATION_DATE, EXPIRATION_DATE, BIRTHDATE, GAIN, CLUB, ASSOCIATION, ORGANISATION, ENTREPRISE, N_LICENCE, N_ADHERENT, N_MEMBER, MEMBER, N_IMMATRICULATION, INACTIVE, ADMISSION_DATE]
iosHeader object
Possible values: [TYPE, GAIN, FULLNAME, CUSTOM_TEXT, INACTIVE]
Possible values: [TYPE, GAIN, FULLNAME, CUSTOM_TEXT, INACTIVE]
Possible values: [AZTEC, CODE_128, PDF_417, QR_CODE, NONE]
descriptions object[]required
colors objectrequired
validity objectrequired
Possible values: [NO_EXPIRATION, AT_DATETIME, AFTER_PERIOD]
Possible values: [YEARS, MONTHS, WEEKS]
Possible values: [AT_CREATION_DATE, END_OF_MONTH]
Possible values: [GAIN, GAINS, CAGNOTE, POINTS]
Possible values: [NONE, EURO, USD, MAD, POINTS]
Marks whether the PassBuilder template and all existing passes have been migrated to the new gain format where the unit symbol is embedded in the pass attribute value (e.g. "50 Pts") rather than in the template field. False (or absent) means the old format is still in use.
Status of the associated store card pass
Possible values: [active, inactive, deleted, canceled, expired]
activeComma-separated list of unique device types
IOS, ANDROIDShort URL for the pass inscription page (e.g. for QR codes)
4-char short id for the pass (used in short links)
PassBuilder pass id (used in short links when shortId absent)
Pass id
Client type name
otherPassStatuses object
Live pass status for this client's non-loyalty passes (event/transit/hotel), keyed by pass category. Undefined for a category means the client has no such pass yet — used to gate "new pass"-dependent communication preferences (a client cannot meaningfully opt in/out of notifications for a pass they don't have yet).
Possible values: [active, inactive, deleted, canceled, expired]
Possible values: [active, inactive, deleted, canceled, expired]
Possible values: [active, inactive, deleted, canceled, expired]
Possible values: [CRM, INTERNAL, EXTERNAL]
gainHistory object[]
communicationPreferences object[]
Per-event, per-channel communication preference overrides for this client
(GDPR consent management). Same shape as WalletSetting.communicationRules
— reused rather than duplicated. No entry for a given notificationType
means enabled, mirroring isCommunicationRuleEnabled's existing semantics.
Change history is intentionally NOT embedded here — see
CommunicationPreferenceLog — to keep this frequently-read document small.
Possible values: [NEW_LOYALTY, UPDATE_LOYALTY, REMINDER_LOYALTY, EARNINGS_UPDATE, NEW_COMMUNICATION, EXPIRED_COMMUNICATION, NEW_EVENT, UPDATE_EVENT, NEW_COUPON, UPDATE_COUPON, WELCOME_INTERNAL_CLIENTS, WELCOME_CRM_CLIENTS, WELCOME_EXTERNAL_CLIENTS, WELCOME_COUPON, EXPIRED_COUPON, TRANSIT_TICKET, UPDATE_TRANSIT, HOTEL_RESERVATION, UPDATE_HOTEL_RESERVATION, CINEMA_TICKET]
Opt-out of manager-created "standard" push campaigns classified as informative.
Opt-out of manager-created "standard" push campaigns classified as commercial.
{
"wallet": "string",
"clientType": {
"storeCard": {
"wallet": {
"name": "string",
"logo": "string",
"icon": "string",
"androidLogo": "string",
"displayIdentifiant": true,
"passBuilderPassTemplateId": "string",
"passBuilderBusinessId": "string",
"passBuilderToken": "string",
"identifier": "string",
"identifierQr": "string",
"address": "string",
"website": "string",
"servicePhone": "string",
"businessPhone": "string",
"socialMedia": {
"linkedin": "string",
"facebook": "string",
"instagram": "string",
"tiktok": "string",
"twitter": "string",
"youtube": "string",
"snapchat": "string",
"pinterest": "string",
"reddit": "string",
"whatsapp": "string",
"telegram": "string"
},
"additionalContacts": [
{
"title": "string",
"value": "string",
"kind": "URL"
}
],
"termsAndConditions": {
"type": "PDF",
"customUrl": "string",
"pdfUrl": "string"
},
"webHookUrl": "string",
"rootDomain": "string",
"timezone": "string",
"allowedPasses": [
"ALL"
],
"expiredCleanupEnabled": true,
"_id": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
},
"cardType": "STORE_CARD",
"displayIdentifiant": true,
"displayWalletName": true,
"strip": "string",
"passBuilderPassTemplateId": "string",
"programName": "string",
"keysHasChanged": [
"string"
],
"startRow": "CREATION_DATE",
"middleRow": "CREATION_DATE",
"endRow": "CREATION_DATE",
"iosHeader": {
"labelEnum": "TYPE",
"valueEnum": "TYPE",
"customLabel": "string",
"customValue": "string"
},
"barcodeType": "AZTEC",
"descriptions": [
{
"title": "string",
"value": "string"
}
],
"openingHours": "string",
"colors": {
"labelColor": "string",
"backgroundColor": "string",
"foregroundColor": "string"
},
"oneTimeToUse": true,
"sharingProhibited": true,
"sharingProhibitedAndroid": true,
"validity": {
"expirationType": "NO_EXPIRATION",
"expirationDate": "2024-07-29T15:51:28.071Z",
"expirationAfterPeriod": "string",
"expirationPeriodType": "YEARS",
"expirationOption": "AT_CREATION_DATE"
},
"gainLabel": "GAIN",
"gainUnit": "NONE",
"offerLabel": "string",
"enableDisplayIdentifiant": true,
"gainFormatMigrated": true,
"_id": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
},
"name": "string",
"isDefault": true,
"_id": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
},
"passStatus": "active",
"deviceTypes": "IOS, ANDROID",
"shortLink": "string",
"shortId": "string",
"passBuilderPassId": "string",
"passId": "string",
"clientTypeName": "string",
"otherPassStatuses": {
"event": "active",
"transit": "active",
"hotel": "active"
},
"source": "CRM",
"barcode": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"companyName": "string",
"renewalDate": "2024-07-29T15:51:28.071Z",
"phoneNumber": "string",
"birthDate": "2024-07-29T15:51:28.071Z",
"admissionDate": "2024-07-29T15:51:28.071Z",
"gain": 0,
"gainHistory": [
{
"gain": 0,
"date": "2024-07-29T15:51:28.071Z"
}
],
"communicationPreferences": [
{
"notificationType": "NEW_LOYALTY",
"sms": true,
"email": true,
"notification": true
}
],
"pushInformativeEnabled": true,
"pushCommercialEnabled": true,
"_id": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}