mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 00:51:07 +08:00
feat(mobile-messaging): add Lists and date time for customAttributes (#3586)
This commit is contained in:
parent
3d1a73ebcb
commit
bd8fbb3e1f
@ -14,7 +14,8 @@ export type Event =
|
|||||||
| 'installationUpdated'
|
| 'installationUpdated'
|
||||||
| 'userUpdated'
|
| 'userUpdated'
|
||||||
| 'personalized'
|
| 'personalized'
|
||||||
| 'depersonalized';
|
| 'depersonalized'
|
||||||
|
| 'deeplink';
|
||||||
|
|
||||||
export interface CustomEvent {
|
export interface CustomEvent {
|
||||||
definitionId: string;
|
definitionId: string;
|
||||||
@ -27,6 +28,7 @@ export interface Configuration {
|
|||||||
*/
|
*/
|
||||||
applicationCode: string;
|
applicationCode: string;
|
||||||
geofencingEnabled?: boolean;
|
geofencingEnabled?: boolean;
|
||||||
|
inAppChatEnabled?: boolean;
|
||||||
/**
|
/**
|
||||||
* Message storage save callback
|
* Message storage save callback
|
||||||
*/
|
*/
|
||||||
@ -74,11 +76,11 @@ export interface UserData {
|
|||||||
lastName?: string;
|
lastName?: string;
|
||||||
middleName?: string;
|
middleName?: string;
|
||||||
gender?: Gender;
|
gender?: Gender;
|
||||||
birthday?: Date;
|
birthday?: string;
|
||||||
phones?: string[];
|
phones?: string[];
|
||||||
emails?: string[];
|
emails?: string[];
|
||||||
tags?: string[];
|
tags?: string[];
|
||||||
customAttributes?: Record<string, string | number | boolean>;
|
customAttributes?: Record<string, string | number | boolean | any[]>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Installation {
|
export interface Installation {
|
||||||
@ -108,7 +110,7 @@ export interface UserIdentity {
|
|||||||
|
|
||||||
export interface PersonalizeContext {
|
export interface PersonalizeContext {
|
||||||
userIdentity: UserIdentity;
|
userIdentity: UserIdentity;
|
||||||
userAttributes?: Record<string, string>;
|
userAttributes?: Record<string, string | number | boolean | any[]>;
|
||||||
forceDepersonalize?: boolean;
|
forceDepersonalize?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user