Models Reference

Descriptive reference of the main models used across SDK modules.


Table of Contents

  1. Push
  2. Device
  3. Topic
  4. InApp
  5. Inbox
  6. MessageCount
  7. Customer
  8. LiveActivity

Push

Module: push · Package: indigitall-capacitor-plugin · File: InPush.ts

Represents a push notification received from the Indigitall platform. Contains all the data needed to display and handle a notification.

PropertyTypeRequiredDescription
titlestringYesTitle of the push notification displayed to the user
bodystringYesMain text body of the push notification
imagestringYesURL of the image to display in the notification
datastringYesCustom payload string to pass arbitrary data to the app when the notification is handled
securedDatastringYesDecrypted secured payload attached to the notification
actionPushActionYesAction to execute when the user taps the notification
buttons[PushButton]YesList of action buttons displayed in the expanded notification

Related models

PushAction — Defines the action executed when a push notification (or button) is tapped.

PropertyTypeDescription
urlstring | nullURL to open when the action is of URL type
appstring | nullDeep-link or activity identifier to open when the action targets the app
marketstring | nullMarket URL or package name to open when the action targets the store
sharestring | nullText content to share
callstring | nullPhone number to dial
noActionstring | nullIndicates no action should be performed
clickedButtonnumber | nullIndex of the button clicked (null if the notification body was tapped)

PushButton — Represents an action button displayed in an expanded push notification.

PropertyTypeDescription
labelstringText label displayed on the button
actionPushActionAction to execute when the button is tapped

Device

Module: push · Package: indigitall-capacitor-plugin · File: InDevice.ts

Represents the device registered in the Indigitall platform. Contains all identification, platform, and configuration data associated with a device.

PropertyTypeRequiredDescription
enablebooleanYesWhether push notifications are enabled for this device
deviceIdstringYesUnique identifier assigned to the device by the Indigitall platform
pushTokenstringYesPush token used to send notifications to this device
platformstringYesPlatform identifier (e.g. android, ios)
productNamestringYesName of the application product
productVersionstringYesVersion of the application product
osNamestringYesName of the operating system (e.g. Android, iOS)
osVersionstringYesVersion of the operating system
deviceBrandstringYesBrand/manufacturer of the device (e.g. Samsung, Apple)
deviceModelstringYesModel name or identifier of the device
operatorstringYesMobile network operator name
deviceTypestringYesType of the device (e.g. phone, tablet)
appVersionstringYesVersion of the host application
localestringYesLocale configured on the device (e.g. en-US)
timeZonestringYesTime zone identifier of the device (e.g. Europe/Madrid)
timeOffsetstringYesUTC offset of the device time zone
externalApps[ExternalApps]YesList of external applications linked to this device
externalCodestringYesExternal identifier used to link the device to a user account

Related models

ExternalApps — Represents an external application linked to a device.

PropertyTypeDescription
idnumberInternal identifier of the external app
namestringDisplay name of the external app
codestringCode used to identify the external app

Topic

Module: push · Package: indigitall-capacitor-plugin · File: InDevice.ts

Represents a notification topic that a device can subscribe to or unsubscribe from.

PropertyTypeRequiredDescription
codestringYesUnique code identifying the topic
namestringYesHuman-readable display name of the topic
parentCodestringYesCode of the parent topic, if this topic is nested
visiblebooleanYesWhether this topic is visible to the user in the UI
subscribedbooleanYesWhether the current device is subscribed to this topic

InApp

Module: inapp · Package: indigitall-capacitor-plugin · File: InInApp.ts

Represents an in-app message received from the Indigitall platform. Contains display configuration, scheduling, and interaction data.

PropertyTypeRequiredDescription
inAppIdnumberYesUnique identifier of the in-app message
lastVersionIdnumberYesIdentifier of the last version of this in-app message
showOncebooleanYesIf true, the in-app message will only be shown once to the user
creationDatestringYesISO date string representing when the in-app message was created
expiredDatestringYesISO date string representing when the in-app message expires
propertiesInAppPropertiesYesDisplay and interaction properties of the in-app message
renewalTimestringYesISO date string representing the renewal time of the in-app message
schemaInAppSchemaYesSchema defining the code and dimensions of the in-app message

Related models

InAppSchema — Defines the template code and size of the in-app message.

PropertyTypeDescription
codestringCode identifying the in-app schema template
widthnumberWidth of the in-app message display area
heightnumberHeight of the in-app message display area

InAppProperties — Contains the display and interaction configuration of the in-app message.

PropertyTypeDescription
contentUrlstringURL of the content to display inside the in-app message
showTimenumberDuration in seconds the in-app message is shown before being auto-dismissed
layoutInAppLayoutLayout styling configuration for the in-app message
actionInAppActionAction to execute when the user interacts with the in-app message
numberOfShowsnumberNumber of times this in-app message has been shown
numberOfClicksnumberNumber of times the user has clicked this in-app message
dismissForeverbooleanIf true, the message has been permanently dismissed by the user

InAppLayout — Defines layout styling for the in-app message container.

PropertyTypeDescription
borderRadiusstringCSS border-radius value applied to the container

InAppAction — Defines the action to execute when the user interacts with an in-app message.

PropertyTypeDescription
urlstringURL to open when the action is of URL type
appstringDeep-link or identifier to open within the application
actionIdnumberIdentifier of the predefined action to execute
typestringType of action to perform (e.g. url, app, no_action)

Inbox

Module: inbox · Package: indigitall-capacitor-plugin · File: InInbox.ts

Represents the user's inbox containing a paginated list of received push notifications and their read/unread state.

PropertyTypeRequiredDescription
lastAccessstringYesISO date string of the last time the inbox was accessed
notifications[InboxNotifications]YesComplete list of notifications in the current page
newNotifications[InboxNotifications] | nullYesList of notifications received since the last access, or null if none
countnumberYesTotal number of notifications available in the inbox
pagesizenumberYesNumber of notifications returned per page
numPagenumberYesCurrent page number (zero-based)

Related models

InboxNotifications — Represents a single notification stored in the inbox.

PropertyTypeDescription
idstringUnique identifier of the inbox notification
externalCodestringExternal code linking the notification to a user or device
sentAtstringISO date string of when the notification was sent
statusstringCurrent status of the notification. Values: sent, click, deleted
sendingIdnumberIdentifier of the sending campaign instance
campaignnumberIdentifier of the campaign this notification belongs to
messagePushThe push notification message payload
readbooleanWhether the notification has been read by the user
categoryInboxCategoryCategory the notification belongs to

InboxCategory — Represents the category of an inbox notification.

PropertyTypeDescription
idnumberInternal identifier of the category
codestring | nullCode identifying the category
namestring | nullHuman-readable display name of the category

InboxStatus (enum) — Possible status values for an inbox notification.

ValueString valueDescription
sent"sent"Notification has been delivered but not yet clicked
click"click"Notification has been clicked by the user
deleted"deleted"Notification has been deleted

MessageCount

Module: inbox · Package: indigitall-capacitor-plugin · File: InInbox.ts

Represents aggregated counts of inbox notification interactions for the current device.

PropertyTypeRequiredDescription
clicknumberYesTotal number of clicked notifications
sentnumberYesTotal number of delivered notifications
deletednumberYesTotal number of deleted notifications
lastAccessnumberYesTimestamp of the last time the inbox was accessed
countnumberYesTotal number of notifications in the inbox

Customer

Module: customer · Package: indigitall-capacitor-plugin · File: InCustomer.ts

Represents a customer profile linked to the Indigitall platform. Contains identification and lifecycle metadata for the customer entity.

PropertyTypeRequiredDescription
idstringYesInternal identifier assigned to the customer by the platform
customerIdstringYesExternal customer identifier used to link the profile to your system
applicationIdstringYesIndigitall application identifier this customer belongs to
createdAtstringYesISO date string of when the customer profile was created
updatedAtstringYesISO date string of the last update to the customer profile

Related models

CustomerField — Represents a custom key-value field associated with a customer profile.

PropertyTypeDescription
keystringName of the custom field
valuestring | nullValue of the custom field, or null if not set

Channel (enum) — Identifies the communication channel used by the customer.

ValueString valueDescription
Push"push"Push notification channel
InApp"inapp"In-app messaging channel
Chat"chat"Chat messaging channel

LiveActivity

Module: liveactivity · Package: indigitall-capacitor-plugin · File: InDevice.ts

Represents an iOS Live Activity registered and managed through the Indigitall platform.

PropertyTypeRequiredDescription
idstringYesInternal identifier of the Live Activity record
createdAtstringYesISO date string of when the Live Activity was created
updatedAtstringYesISO date string of the last update to the Live Activity
applicationIdstringYesIndigitall application identifier this Live Activity belongs to
liveActivityExternalIdstringYesExternal identifier used to reference the Live Activity from your system
statusstringYesCurrent status of the Live Activity (e.g. active, ended)
androidTopicIdstringYesTopic identifier used on Android to route Live Activity updates