@pushwoosh/session-store 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,195 +1,195 @@
1
1
  export declare type AccountData = {
2
- name: string;
3
- isEnterprise: boolean;
4
- expireDate: string;
5
- frozen: boolean;
6
- productType: string;
7
- admin: boolean;
8
- restriction: string;
9
- maxUsers: number;
10
- tagsCount: number;
11
- maxTags: number;
12
- filtersCount: number;
13
- maxFilters: number;
14
- applicationsCount: number;
15
- maxApplications: number;
16
- appGroupsCount: number;
17
- maxAppGroups: number;
18
- totalSubscribers: number;
19
- MAU: number;
20
- calendarMAU: number;
21
- lastMAU: number;
22
- MAD: number;
23
- calendarMAD: number;
24
- lastMAD: number;
25
- pushAvailableSubscribers: number;
26
- pushNotAvailableSubscribers: number;
27
- maxDevices: number;
28
- maxPreparedFilters: number;
29
- geoZonesCount: number;
30
- maxGeoZones: number;
31
- maxGeozoneRange: number;
32
- minGeozoneRange: number;
33
- campaignsCount: number;
34
- maxCampaigns: number;
35
- presetsCount: number;
36
- maxPresets: number;
37
- testDevicesCount: number;
38
- maxTestDevices: number;
39
- beaconsCount: number;
40
- maxBeacons: number;
41
- autoPushesCount: number;
42
- maxAutoPushes: number;
43
- autoEmailsCount: number;
44
- maxAutoEmails: number;
45
- rssFeedsCount: number;
46
- maxRssFeeds: number;
47
- twitterFeedsCount: number;
48
- maxTwitterFeeds: number;
49
- allowCustomRssPollingInterval: boolean;
50
- inAppsCount: number;
51
- maxInApps: number;
52
- eventsCount: number;
53
- maxEvents: number;
54
- deeplinksCount: number;
55
- maxDeeplinks: number;
56
- richMediaCount: number;
57
- maxRichMedia: number;
58
- emailTemplatesCount: number;
59
- maxEmailTemplates: number;
60
- accountMailsCount: number;
61
- maxEmailMails: number;
62
- accountDomainsCount: number;
63
- maxAccountDomains: number;
64
- triggeredMessagesCount: number;
65
- currentOrder: null;
66
- isUnderSu: boolean;
67
- ACESeeApplications: boolean;
68
- ACEModifyApplications: boolean;
69
- ACESeeAppGroups: boolean;
70
- ACEModifyAppGroups: boolean;
71
- ACESeeMessages: boolean;
72
- ACEModifyMessages: boolean;
73
- ACESendMessages: boolean;
74
- ACESeeFilters: boolean;
75
- ACEModifyFilters: boolean;
76
- ACESeeTags: boolean;
77
- ACEModifyTags: boolean;
78
- ACESeeRichMedia: boolean;
79
- ACEModifyRichMedia: boolean;
80
- ACESeeEmailTemplates: boolean;
81
- ACEModifyEmailTemplates: boolean;
82
- ACESuperRight: boolean;
83
- ACEManageUsers: boolean;
84
- ACEManageSubscription: boolean;
85
- ACESeeAPIAccess: boolean;
86
- ACEDomainAndEmailVerification: boolean;
87
- hasActiveOrder: boolean;
88
- maxPushOnEventDelayInDays: number;
89
- maxTriggeredMessagePresets: number;
90
- maxInboxTtlDays: number;
91
- messageHistoryStorePeriod: number;
92
- allowBackup: boolean;
93
- allowDeeplinks: boolean;
94
- allowAPI: boolean;
95
- allowStatsAccess: boolean;
96
- allowScheduling: boolean;
97
- allowCustomData: boolean;
98
- allowAutoConfig: boolean;
99
- allowAppGroups: boolean;
100
- allowTwoFactorAuth: boolean;
101
- allowCSVMessage: boolean;
102
- allowPushOnEvent: boolean;
103
- allowCampaigns: boolean;
104
- allowPresets: boolean;
105
- allowGeozones: boolean;
106
- allowAutoPushes: boolean;
107
- allowAutoEmails: boolean;
108
- allowBeacons: boolean;
109
- allowTwitterFeeds: boolean;
110
- allowRSSFeeds: boolean;
111
- allowSubUsers: boolean;
112
- allowTestDevices: boolean;
113
- allowEvents: boolean;
114
- allowInApps: boolean;
115
- allowFilters: boolean;
116
- allowAbTests: boolean;
117
- allowTags: boolean;
118
- allowHtmlPages: boolean;
119
- allowRichMedia: boolean;
120
- allowUseEmailPlatform: boolean;
121
- allowIOSCategories: boolean;
122
- allowFilterCompiling: boolean;
123
- allowGoalTracking: boolean;
124
- allowUseIEPlatform: boolean;
125
- allowUseUserSpecificTags: boolean;
126
- allowDynamicContent: boolean;
127
- allowPlatforms: Array<number>;
128
- allowDebugMode: boolean;
129
- isConfiguredForBlackberry: boolean;
130
- isConfiguredForBaiduAndroid: boolean;
131
- registrationDate: string;
132
- allowTagNotSetFilter: boolean;
133
- allowTrackingUninstall: boolean;
134
- allowFrequencyCapping: boolean;
135
- allowInbox: boolean;
136
- allowChannels: boolean;
137
- allowUseRemotePage: boolean;
138
- allowSendToGeoZone: boolean;
139
- allowSendExternalStats: boolean;
140
- allowGDPR: boolean;
141
- sendRateMin: number;
142
- sendRateMax: number;
143
- isDeviceLimitReached: boolean;
144
- dailyEmailStat: number;
145
- monthlyEmailStat: number;
146
- lastEmailStat: number;
147
- freeEmailQuota: number;
148
- freeEmailLimit: number;
149
- freeEmailLimitUpdateDate: string;
150
- paidEmailQuota?: number;
151
- paidEmailExpireDate?: string;
2
+ readonly name: string;
3
+ readonly isEnterprise: boolean;
4
+ readonly expireDate: string;
5
+ readonly frozen: boolean;
6
+ readonly productType: string;
7
+ readonly admin: boolean;
8
+ readonly restriction: string;
9
+ readonly maxUsers: number;
10
+ readonly tagsCount: number;
11
+ readonly maxTags: number;
12
+ readonly filtersCount: number;
13
+ readonly maxFilters: number;
14
+ readonly applicationsCount: number;
15
+ readonly maxApplications: number;
16
+ readonly appGroupsCount: number;
17
+ readonly maxAppGroups: number;
18
+ readonly totalSubscribers: number;
19
+ readonly MAU: number;
20
+ readonly calendarMAU: number;
21
+ readonly lastMAU: number;
22
+ readonly MAD: number;
23
+ readonly calendarMAD: number;
24
+ readonly lastMAD: number;
25
+ readonly pushAvailableSubscribers: number;
26
+ readonly pushNotAvailableSubscribers: number;
27
+ readonly maxDevices: number;
28
+ readonly maxPreparedFilters: number;
29
+ readonly geoZonesCount: number;
30
+ readonly maxGeoZones: number;
31
+ readonly maxGeozoneRange: number;
32
+ readonly minGeozoneRange: number;
33
+ readonly campaignsCount: number;
34
+ readonly maxCampaigns: number;
35
+ readonly presetsCount: number;
36
+ readonly maxPresets: number;
37
+ readonly testDevicesCount: number;
38
+ readonly maxTestDevices: number;
39
+ readonly beaconsCount: number;
40
+ readonly maxBeacons: number;
41
+ readonly autoPushesCount: number;
42
+ readonly maxAutoPushes: number;
43
+ readonly autoEmailsCount: number;
44
+ readonly maxAutoEmails: number;
45
+ readonly rssFeedsCount: number;
46
+ readonly maxRssFeeds: number;
47
+ readonly twitterFeedsCount: number;
48
+ readonly maxTwitterFeeds: number;
49
+ readonly allowCustomRssPollingInterval: boolean;
50
+ readonly inAppsCount: number;
51
+ readonly maxInApps: number;
52
+ readonly eventsCount: number;
53
+ readonly maxEvents: number;
54
+ readonly deeplinksCount: number;
55
+ readonly maxDeeplinks: number;
56
+ readonly richMediaCount: number;
57
+ readonly maxRichMedia: number;
58
+ readonly emailTemplatesCount: number;
59
+ readonly maxEmailTemplates: number;
60
+ readonly accountMailsCount: number;
61
+ readonly maxEmailMails: number;
62
+ readonly accountDomainsCount: number;
63
+ readonly maxAccountDomains: number;
64
+ readonly triggeredMessagesCount: number;
65
+ readonly currentOrder: null;
66
+ readonly isUnderSu: boolean;
67
+ readonly ACESeeApplications: boolean;
68
+ readonly ACEModifyApplications: boolean;
69
+ readonly ACESeeAppGroups: boolean;
70
+ readonly ACEModifyAppGroups: boolean;
71
+ readonly ACESeeMessages: boolean;
72
+ readonly ACEModifyMessages: boolean;
73
+ readonly ACESendMessages: boolean;
74
+ readonly ACESeeFilters: boolean;
75
+ readonly ACEModifyFilters: boolean;
76
+ readonly ACESeeTags: boolean;
77
+ readonly ACEModifyTags: boolean;
78
+ readonly ACESeeRichMedia: boolean;
79
+ readonly ACEModifyRichMedia: boolean;
80
+ readonly ACESeeEmailTemplates: boolean;
81
+ readonly ACEModifyEmailTemplates: boolean;
82
+ readonly ACESuperRight: boolean;
83
+ readonly ACEManageUsers: boolean;
84
+ readonly ACEManageSubscription: boolean;
85
+ readonly ACESeeAPIAccess: boolean;
86
+ readonly ACEDomainAndEmailVerification: boolean;
87
+ readonly hasActiveOrder: boolean;
88
+ readonly maxPushOnEventDelayInDays: number;
89
+ readonly maxTriggeredMessagePresets: number;
90
+ readonly maxInboxTtlDays: number;
91
+ readonly messageHistoryStorePeriod: number;
92
+ readonly allowBackup: boolean;
93
+ readonly allowDeeplinks: boolean;
94
+ readonly allowAPI: boolean;
95
+ readonly allowStatsAccess: boolean;
96
+ readonly allowScheduling: boolean;
97
+ readonly allowCustomData: boolean;
98
+ readonly allowAutoConfig: boolean;
99
+ readonly allowAppGroups: boolean;
100
+ readonly allowTwoFactorAuth: boolean;
101
+ readonly allowCSVMessage: boolean;
102
+ readonly allowPushOnEvent: boolean;
103
+ readonly allowCampaigns: boolean;
104
+ readonly allowPresets: boolean;
105
+ readonly allowGeozones: boolean;
106
+ readonly allowAutoPushes: boolean;
107
+ readonly allowAutoEmails: boolean;
108
+ readonly allowBeacons: boolean;
109
+ readonly allowTwitterFeeds: boolean;
110
+ readonly allowRSSFeeds: boolean;
111
+ readonly allowSubUsers: boolean;
112
+ readonly allowTestDevices: boolean;
113
+ readonly allowEvents: boolean;
114
+ readonly allowInApps: boolean;
115
+ readonly allowFilters: boolean;
116
+ readonly allowAbTests: boolean;
117
+ readonly allowTags: boolean;
118
+ readonly allowHtmlPages: boolean;
119
+ readonly allowRichMedia: boolean;
120
+ readonly allowUseEmailPlatform: boolean;
121
+ readonly allowIOSCategories: boolean;
122
+ readonly allowFilterCompiling: boolean;
123
+ readonly allowGoalTracking: boolean;
124
+ readonly allowUseIEPlatform: boolean;
125
+ readonly allowUseUserSpecificTags: boolean;
126
+ readonly allowDynamicContent: boolean;
127
+ readonly allowPlatforms: Array<number>;
128
+ readonly allowDebugMode: boolean;
129
+ readonly isConfiguredForBlackberry: boolean;
130
+ readonly isConfiguredForBaiduAndroid: boolean;
131
+ readonly registrationDate: string;
132
+ readonly allowTagNotSetFilter: boolean;
133
+ readonly allowTrackingUninstall: boolean;
134
+ readonly allowFrequencyCapping: boolean;
135
+ readonly allowInbox: boolean;
136
+ readonly allowChannels: boolean;
137
+ readonly allowUseRemotePage: boolean;
138
+ readonly allowSendToGeoZone: boolean;
139
+ readonly allowSendExternalStats: boolean;
140
+ readonly allowGDPR: boolean;
141
+ readonly sendRateMin: number;
142
+ readonly sendRateMax: number;
143
+ readonly isDeviceLimitReached: boolean;
144
+ readonly dailyEmailStat: number;
145
+ readonly monthlyEmailStat: number;
146
+ readonly lastEmailStat: number;
147
+ readonly freeEmailQuota: number;
148
+ readonly freeEmailLimit: number;
149
+ readonly freeEmailLimitUpdateDate: string;
150
+ readonly paidEmailQuota?: number;
151
+ readonly paidEmailExpireDate?: string;
152
152
  readonly billingAddress: {
153
- account_company_name: string;
154
- company_name?: string;
155
- country?: string;
156
- country_code?: string;
157
- state?: string;
158
- state_code?: string;
159
- city?: string;
160
- street?: string;
161
- zip?: string;
162
- phone?: string;
163
- vat_number?: string;
164
- company_number?: string;
165
- first_name: string;
166
- last_name: string;
167
- paymentEmail?: string;
168
- secondary_person_first_name?: string;
169
- secondary_person_last_name?: string;
170
- secondary_person_email?: string;
171
- industry?: string;
172
- department?: string;
173
- additionalEmails?: string;
153
+ readonly account_company_name: string;
154
+ readonly company_name?: string;
155
+ readonly country?: string;
156
+ readonly country_code?: string;
157
+ readonly state?: string;
158
+ readonly state_code?: string;
159
+ readonly city?: string;
160
+ readonly street?: string;
161
+ readonly zip?: string;
162
+ readonly phone?: string;
163
+ readonly vat_number?: string;
164
+ readonly company_number?: string;
165
+ readonly first_name: string;
166
+ readonly last_name: string;
167
+ readonly paymentEmail?: string;
168
+ readonly secondary_person_first_name?: string;
169
+ readonly secondary_person_last_name?: string;
170
+ readonly secondary_person_email?: string;
171
+ readonly industry?: string;
172
+ readonly department?: string;
173
+ readonly additionalEmails?: string;
174
174
  };
175
- ssoAccessToken: {
176
- access_token: string;
177
- account_id: number;
178
- username: string;
175
+ readonly ssoAccessToken: {
176
+ readonly access_token: string;
177
+ readonly account_id: number;
178
+ readonly username: string;
179
179
  };
180
- allowContentTemplates: boolean;
181
- enableCDPLink: boolean;
182
- allowLegacyCP: boolean;
183
- allowNewSendPushForm: boolean;
184
- allowPushByUser: boolean;
185
- allowMultiLanguage: boolean;
186
- isTwoFactorAuthEnabled: boolean;
187
- isAllowTopBanner: boolean;
188
- userAlerts: Array<unknown>;
189
- canUsePacks: boolean;
190
- hasPersonalizationPack: boolean;
191
- hasMarketingPack: boolean;
192
- isAccountLocked: boolean;
180
+ readonly allowContentTemplates: boolean;
181
+ readonly enableCDPLink: boolean;
182
+ readonly allowLegacyCP: boolean;
183
+ readonly allowNewSendPushForm: boolean;
184
+ readonly allowPushByUser: boolean;
185
+ readonly allowMultiLanguage: boolean;
186
+ readonly isTwoFactorAuthEnabled: boolean;
187
+ readonly isAllowTopBanner: boolean;
188
+ readonly userAlerts: Array<unknown>;
189
+ readonly canUsePacks: boolean;
190
+ readonly hasPersonalizationPack: boolean;
191
+ readonly hasMarketingPack: boolean;
192
+ readonly isAccountLocked: boolean;
193
193
  };
194
194
  export declare type UserData = {
195
195
  readonly username: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/session-store",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -50,14 +50,14 @@
50
50
  "ts-loader": "^8.3.0",
51
51
  "tslib": "^2.3.1",
52
52
  "typescript": "^4.5.4",
53
+ "unused-files-webpack-plugin": "^3.4.0",
53
54
  "webpack": "^4.46.0",
54
55
  "webpack-cli": "^3.3.12",
55
- "webpack-config-single-spa": "^1.18.3",
56
56
  "webpack-dev-server": "^3.11.3",
57
57
  "webpack-merge": "^5.8.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "@pushwoosh/http-client": "^1.0.0",
60
+ "@pushwoosh/http-client": "^1.3.1",
61
61
  "rxjs": "^7.5.2",
62
62
  "tslib": "^2.3.1"
63
63
  },