-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathactions.ts
74 lines (67 loc) · 2.41 KB
/
actions.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
export enum Core {
SetConfig = "setConfig",
Start = "start",
OptIn = "optIn",
OptOut = "optOut",
OptOutWipeData = "optOutAndWipeData",
IsOptedOut = "isOptedOut",
SetFindMyInstallationEnabled = "setFindMyInstallationEnabled",
UpdateAutomaticDataCollection = "updateAutomaticDataCollection",
}
export enum Push {
GetLastKnownPushToken = "push.getLastKnownPushToken",
SetIOSShowForegroundNotifications = "push.setIOSShowForegroundNotifications",
SetIOSNotifTypes = "push.setIOSNotifTypes",
SetAndroidNotifTypes = "push.setAndroidNotifTypes",
DismissNotifications = "push.dismissNotifications",
ClearBadge = "push.clearBadge",
RefreshToken = "push.iOS.refreshToken",
RequestAuthorization = "push.requestAuthorization",
RequestProvisionalAuthorization = "push.iOS.requestProvisionalAuthorization",
}
export enum Messaging {
SetDoNotDisturbEnabled = "messaging.setDoNotDisturbEnabled",
ShowPendingMessage = "messaging.showPendingMessage",
}
export enum Inbox {
CreateInstallationFetcher = "inbox.createInstallationFetcher",
CreateUserFetcher = "inbox.createUserFetcher",
GetFetchedNotifications = "inbox.getFetchedNotifications",
FetchNewNotifications = "inbox.fetchNewNotifications",
FetchNextPage = "inbox.fetchNextPage",
MarkAsRead = "inbox.markAsRead",
MarkAllAsRead = "inbox.markAllAsRead",
MarkAsDeleted = "inbox.markAsDeleted",
DisplayLandingMessage = "inbox.displayLandingMessage",
ReleaseFetcher = "inbox.releaseFetcher",
}
export enum User {
GetInstallationID = "user.getInstallationID",
GetLanguage = "user.getLanguage",
GetRegion = "user.getRegion",
GetIdentifier = "user.getIdentifier",
FetchAttributes = "user.fetch.attributes",
FetchTags = "user.fetch.tags",
ClearInstallationData = "user.clearInstallationData",
}
export enum Profile {
Edit = "profile.edit",
Identify = "profile.identify",
TrackEvent = "profile.track.event",
TrackLocation = "profile.track.location",
}
export enum ProfileAttributeOperation {
SetLanguage = "SET_LANGUAGE",
SetRegion = "SET_REGION",
SetEmail = "SET_EMAIL_ADDRESS",
SetEmailMarketingSubscription = "SET_EMAIL_MARKETING_SUB",
SetPhoneNumber = "SET_PHONE_NUMBER",
SetSMSMarketingSubscription = "SET_SMS_MARKETING_SUB",
SetAttribute = "SET_ATTRIBUTE",
RemoveAttribute = "REMOVE_ATTRIBUTE",
AddToArray = "ADD_TO_ARRAY",
RemoveFromArray = "REMOVE_FROM_ARRAY",
}
export enum Internal {
SetupCallback = "_setupCallback",
}