awing-library 2.1.131-beta → 2.1.132-beta
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.
|
@@ -39,7 +39,7 @@ exports.QueryInputDetail = {
|
|
|
39
39
|
};
|
|
40
40
|
exports.DefaultValueFilter = {
|
|
41
41
|
startDate: (0, moment_1.default)().subtract(7, 'days'),
|
|
42
|
-
endDate: (0, moment_1.default)(),
|
|
42
|
+
endDate: (0, moment_1.default)().add(-1, 'days'),
|
|
43
43
|
campaignId: '0',
|
|
44
44
|
};
|
|
45
45
|
var convertExcelData = function (resData, campaigns, places, t, typeView) {
|
package/package.json
CHANGED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export declare const dataScheduleCompletionRatesGetFake: {
|
|
2
|
-
campaignId: string;
|
|
3
|
-
campaignName: string;
|
|
4
|
-
placeId: string;
|
|
5
|
-
groupId: number;
|
|
6
|
-
groupName: string;
|
|
7
|
-
isNetWork: boolean;
|
|
8
|
-
billingUnit: number;
|
|
9
|
-
runs: {
|
|
10
|
-
eventLabel: string;
|
|
11
|
-
total: number;
|
|
12
|
-
}[];
|
|
13
|
-
expecteds: {
|
|
14
|
-
eventLabel: string;
|
|
15
|
-
total: number;
|
|
16
|
-
}[];
|
|
17
|
-
fromDate: string;
|
|
18
|
-
toDate: string;
|
|
19
|
-
}[];
|
|
20
|
-
export declare const dataScheduleCompletionRatesPagingFake: {
|
|
21
|
-
items: {
|
|
22
|
-
placeId: string;
|
|
23
|
-
groupId: number;
|
|
24
|
-
runs: {
|
|
25
|
-
eventLabel: string;
|
|
26
|
-
total: number;
|
|
27
|
-
}[];
|
|
28
|
-
expecteds: {
|
|
29
|
-
eventLabel: string;
|
|
30
|
-
total: number;
|
|
31
|
-
}[];
|
|
32
|
-
date: string;
|
|
33
|
-
}[];
|
|
34
|
-
pageCount: number;
|
|
35
|
-
totalItemCount: number;
|
|
36
|
-
pageNumber: number;
|
|
37
|
-
pageSize: number;
|
|
38
|
-
hasPreviousPage: boolean;
|
|
39
|
-
hasNextPage: boolean;
|
|
40
|
-
};
|
|
41
|
-
export declare const dataScheduleCompletionRatesPagingPlaceIdFake: {
|
|
42
|
-
items: {
|
|
43
|
-
placeId: string;
|
|
44
|
-
groupId: number;
|
|
45
|
-
runs: {
|
|
46
|
-
eventLabel: string;
|
|
47
|
-
total: number;
|
|
48
|
-
}[];
|
|
49
|
-
expecteds: {
|
|
50
|
-
eventLabel: string;
|
|
51
|
-
total: number;
|
|
52
|
-
}[];
|
|
53
|
-
date: string;
|
|
54
|
-
}[];
|
|
55
|
-
pageCount: number;
|
|
56
|
-
totalItemCount: number;
|
|
57
|
-
pageNumber: number;
|
|
58
|
-
pageSize: number;
|
|
59
|
-
hasPreviousPage: boolean;
|
|
60
|
-
hasNextPage: boolean;
|
|
61
|
-
};
|
|
@@ -1,268 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.dataScheduleCompletionRatesPagingPlaceIdFake = exports.dataScheduleCompletionRatesPagingFake = exports.dataScheduleCompletionRatesGetFake = void 0;
|
|
4
|
-
exports.dataScheduleCompletionRatesGetFake = [
|
|
5
|
-
{
|
|
6
|
-
campaignId: '5193957574369215550',
|
|
7
|
-
campaignName: 'Orange_Daiko Yamaha Janus_T4-8/24',
|
|
8
|
-
placeId: '0',
|
|
9
|
-
groupId: 1,
|
|
10
|
-
groupName: '[T4,5] Premium Banner Ceri Thu Ha',
|
|
11
|
-
isNetWork: true,
|
|
12
|
-
billingUnit: 2,
|
|
13
|
-
runs: [
|
|
14
|
-
{ eventLabel: 'View', total: 1 },
|
|
15
|
-
{ eventLabel: 'Authentication', total: 2 },
|
|
16
|
-
{ eventLabel: 'Click', total: 3 },
|
|
17
|
-
],
|
|
18
|
-
expecteds: [
|
|
19
|
-
{ eventLabel: 'View', total: 1 },
|
|
20
|
-
{ eventLabel: 'Authentication', total: 2 },
|
|
21
|
-
{ eventLabel: 'Click', total: 3 },
|
|
22
|
-
],
|
|
23
|
-
fromDate: '2024-04-25T00:00:00+07:00',
|
|
24
|
-
toDate: '2024-05-31T00:00:00+07:00',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
campaignId: '5254940703519040748',
|
|
28
|
-
campaignName: 'Sacombank_CTKM Visa Daily_T4-5/24',
|
|
29
|
-
placeId: '0',
|
|
30
|
-
groupId: 1,
|
|
31
|
-
groupName: 'Premium',
|
|
32
|
-
isNetWork: true,
|
|
33
|
-
billingUnit: 1,
|
|
34
|
-
runs: [
|
|
35
|
-
{ eventLabel: 'View', total: 4 },
|
|
36
|
-
{ eventLabel: 'Authentication', total: 5 },
|
|
37
|
-
{ eventLabel: 'Click', total: 6 },
|
|
38
|
-
],
|
|
39
|
-
expecteds: [
|
|
40
|
-
{ eventLabel: 'View', total: 4 },
|
|
41
|
-
{ eventLabel: 'Authentication', total: 5 },
|
|
42
|
-
{ eventLabel: 'Click', total: 6 },
|
|
43
|
-
],
|
|
44
|
-
fromDate: '2024-04-27T00:00:00+07:00',
|
|
45
|
-
toDate: '2024-05-31T00:00:00+07:00',
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
campaignId: '5309857060135867460',
|
|
49
|
-
campaignName: 'IMA_Honda_CBR Promotion_T4-T6/24',
|
|
50
|
-
isNetWork: true,
|
|
51
|
-
billingUnit: 2,
|
|
52
|
-
runs: [
|
|
53
|
-
{ eventLabel: 'View', total: 7 },
|
|
54
|
-
{ eventLabel: 'Authentication', total: 8 },
|
|
55
|
-
{ eventLabel: 'Click', total: 9 },
|
|
56
|
-
],
|
|
57
|
-
expecteds: [
|
|
58
|
-
{ eventLabel: 'View', total: 7 },
|
|
59
|
-
{ eventLabel: 'Authentication', total: 8 },
|
|
60
|
-
{ eventLabel: 'Click', total: 9 },
|
|
61
|
-
],
|
|
62
|
-
placeId: '0',
|
|
63
|
-
groupId: 1,
|
|
64
|
-
groupName: 'Premium',
|
|
65
|
-
fromDate: '2024-04-15T00:00:00+07:00',
|
|
66
|
-
toDate: '2024-06-25T00:00:00+07:00',
|
|
67
|
-
},
|
|
68
|
-
];
|
|
69
|
-
exports.dataScheduleCompletionRatesPagingFake = {
|
|
70
|
-
items: [
|
|
71
|
-
{
|
|
72
|
-
placeId: '0',
|
|
73
|
-
groupId: 1,
|
|
74
|
-
runs: [
|
|
75
|
-
{ eventLabel: 'View', total: 1 },
|
|
76
|
-
{ eventLabel: 'Authentication', total: 2 },
|
|
77
|
-
{ eventLabel: 'Click', total: 3 },
|
|
78
|
-
],
|
|
79
|
-
expecteds: [
|
|
80
|
-
{ eventLabel: 'View', total: 1 },
|
|
81
|
-
{ eventLabel: 'Authentication', total: 2 },
|
|
82
|
-
{ eventLabel: 'Click', total: 3 },
|
|
83
|
-
],
|
|
84
|
-
date: '2024-05-01T00:00:00+07:00',
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
placeId: '0',
|
|
88
|
-
groupId: 1,
|
|
89
|
-
runs: [
|
|
90
|
-
{ eventLabel: 'View', total: 9 },
|
|
91
|
-
{ eventLabel: 'Authentication', total: 5 },
|
|
92
|
-
{ eventLabel: 'Click', total: 3 },
|
|
93
|
-
],
|
|
94
|
-
expecteds: [
|
|
95
|
-
{ eventLabel: 'View', total: 2 },
|
|
96
|
-
{ eventLabel: 'Authentication', total: 6 },
|
|
97
|
-
{ eventLabel: 'Click', total: 3 },
|
|
98
|
-
],
|
|
99
|
-
date: '2024-05-02T00:00:00+07:00',
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
placeId: '0',
|
|
103
|
-
groupId: 1,
|
|
104
|
-
runs: [
|
|
105
|
-
{ eventLabel: 'View', total: 93 },
|
|
106
|
-
{ eventLabel: 'Authentication', total: 35 },
|
|
107
|
-
{ eventLabel: 'Click', total: 53 },
|
|
108
|
-
],
|
|
109
|
-
expecteds: [
|
|
110
|
-
{ eventLabel: 'View', total: 24 },
|
|
111
|
-
{ eventLabel: 'Authentication', total: 66 },
|
|
112
|
-
{ eventLabel: 'Click', total: 35 },
|
|
113
|
-
],
|
|
114
|
-
date: '2024-05-03T00:00:00+07:00',
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
placeId: '0',
|
|
118
|
-
groupId: 1,
|
|
119
|
-
runs: [
|
|
120
|
-
{ eventLabel: 'View', total: 39 },
|
|
121
|
-
{ eventLabel: 'Authentication', total: 55 },
|
|
122
|
-
{ eventLabel: 'Click', total: 36 },
|
|
123
|
-
],
|
|
124
|
-
expecteds: [
|
|
125
|
-
{ eventLabel: 'View', total: 72 },
|
|
126
|
-
{ eventLabel: 'Authentication', total: 36 },
|
|
127
|
-
{ eventLabel: 'Click', total: 33 },
|
|
128
|
-
],
|
|
129
|
-
date: '2024-05-04T00:00:00+07:00',
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
placeId: '0',
|
|
133
|
-
groupId: 1,
|
|
134
|
-
runs: [
|
|
135
|
-
{ eventLabel: 'View', total: 4 },
|
|
136
|
-
{ eventLabel: 'Authentication', total: 2 },
|
|
137
|
-
{ eventLabel: 'Click', total: 4 },
|
|
138
|
-
],
|
|
139
|
-
expecteds: [
|
|
140
|
-
{ eventLabel: 'View', total: 6 },
|
|
141
|
-
{ eventLabel: 'Authentication', total: 5 },
|
|
142
|
-
{ eventLabel: 'Click', total: 6 },
|
|
143
|
-
],
|
|
144
|
-
date: '2024-05-05T00:00:00+07:00',
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
placeId: '0',
|
|
148
|
-
groupId: 1,
|
|
149
|
-
runs: [
|
|
150
|
-
{ eventLabel: 'View', total: 2 },
|
|
151
|
-
{ eventLabel: 'Authentication', total: 3 },
|
|
152
|
-
{ eventLabel: 'Click', total: 44 },
|
|
153
|
-
],
|
|
154
|
-
expecteds: [
|
|
155
|
-
{ eventLabel: 'View', total: 22 },
|
|
156
|
-
{ eventLabel: 'Authentication', total: 63 },
|
|
157
|
-
{ eventLabel: 'Click', total: 33 },
|
|
158
|
-
],
|
|
159
|
-
date: '2024-05-06T00:00:00+07:00',
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
placeId: '0',
|
|
163
|
-
groupId: 1,
|
|
164
|
-
runs: [
|
|
165
|
-
{ eventLabel: 'View', total: 12 },
|
|
166
|
-
{ eventLabel: 'Authentication', total: 12 },
|
|
167
|
-
{ eventLabel: 'Click', total: 33 },
|
|
168
|
-
],
|
|
169
|
-
expecteds: [
|
|
170
|
-
{ eventLabel: 'View', total: 23 },
|
|
171
|
-
{ eventLabel: 'Authentication', total: 46 },
|
|
172
|
-
{ eventLabel: 'Click', total: 35 },
|
|
173
|
-
],
|
|
174
|
-
date: '2024-05-07T00:00:00+07:00',
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
placeId: '0',
|
|
178
|
-
groupId: 1,
|
|
179
|
-
runs: [
|
|
180
|
-
{ eventLabel: 'View', total: 29 },
|
|
181
|
-
{ eventLabel: 'Authentication', total: 45 },
|
|
182
|
-
{ eventLabel: 'Click', total: 53 },
|
|
183
|
-
],
|
|
184
|
-
expecteds: [
|
|
185
|
-
{ eventLabel: 'View', total: 62 },
|
|
186
|
-
{ eventLabel: 'Authentication', total: 66 },
|
|
187
|
-
{ eventLabel: 'Click', total: 34 },
|
|
188
|
-
],
|
|
189
|
-
date: '2024-05-08T00:00:00+07:00',
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
placeId: '0',
|
|
193
|
-
groupId: 1,
|
|
194
|
-
runs: [
|
|
195
|
-
{ eventLabel: 'View', total: 29 },
|
|
196
|
-
{ eventLabel: 'Authentication', total: 45 },
|
|
197
|
-
{ eventLabel: 'Click', total: 35 },
|
|
198
|
-
],
|
|
199
|
-
expecteds: [
|
|
200
|
-
{ eventLabel: 'View', total: 25 },
|
|
201
|
-
{ eventLabel: 'Authentication', total: 36 },
|
|
202
|
-
{ eventLabel: 'Click', total: 35 },
|
|
203
|
-
],
|
|
204
|
-
date: '2024-05-09T00:00:00+07:00',
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
placeId: '0',
|
|
208
|
-
groupId: 1,
|
|
209
|
-
runs: [
|
|
210
|
-
{ eventLabel: 'View', total: 39 },
|
|
211
|
-
{ eventLabel: 'Authentication', total: 25 },
|
|
212
|
-
{ eventLabel: 'Click', total: 33 },
|
|
213
|
-
],
|
|
214
|
-
expecteds: [
|
|
215
|
-
{ eventLabel: 'View', total: 32 },
|
|
216
|
-
{ eventLabel: 'Authentication', total: 63 },
|
|
217
|
-
{ eventLabel: 'Click', total: 3 },
|
|
218
|
-
],
|
|
219
|
-
date: '2024-05-10T00:00:00+07:00',
|
|
220
|
-
},
|
|
221
|
-
],
|
|
222
|
-
pageCount: 10,
|
|
223
|
-
totalItemCount: 10,
|
|
224
|
-
pageNumber: 0,
|
|
225
|
-
pageSize: 10,
|
|
226
|
-
hasPreviousPage: false,
|
|
227
|
-
hasNextPage: true,
|
|
228
|
-
};
|
|
229
|
-
exports.dataScheduleCompletionRatesPagingPlaceIdFake = {
|
|
230
|
-
items: [
|
|
231
|
-
{
|
|
232
|
-
placeId: '4693220039748452939',
|
|
233
|
-
groupId: 1,
|
|
234
|
-
runs: [
|
|
235
|
-
{ eventLabel: 'View', total: 1 },
|
|
236
|
-
{ eventLabel: 'Authentication', total: 2 },
|
|
237
|
-
{ eventLabel: 'Click', total: 3 },
|
|
238
|
-
],
|
|
239
|
-
expecteds: [
|
|
240
|
-
{ eventLabel: 'View', total: 1 },
|
|
241
|
-
{ eventLabel: 'Authentication', total: 2 },
|
|
242
|
-
{ eventLabel: 'Click', total: 3 },
|
|
243
|
-
],
|
|
244
|
-
date: '0001-01-01T07:06:00+07:06',
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
placeId: '5087146300648065868',
|
|
248
|
-
groupId: 1,
|
|
249
|
-
runs: [
|
|
250
|
-
{ eventLabel: 'View', total: 4 },
|
|
251
|
-
{ eventLabel: 'Authentication', total: 5 },
|
|
252
|
-
{ eventLabel: 'Click', total: 6 },
|
|
253
|
-
],
|
|
254
|
-
expecteds: [
|
|
255
|
-
{ eventLabel: 'View', total: 4 },
|
|
256
|
-
{ eventLabel: 'Authentication', total: 5 },
|
|
257
|
-
{ eventLabel: 'Click', total: 6 },
|
|
258
|
-
],
|
|
259
|
-
date: '0001-01-01T07:06:00+07:06',
|
|
260
|
-
},
|
|
261
|
-
],
|
|
262
|
-
pageCount: 2,
|
|
263
|
-
totalItemCount: 2,
|
|
264
|
-
pageNumber: 0,
|
|
265
|
-
pageSize: 10,
|
|
266
|
-
hasPreviousPage: false,
|
|
267
|
-
hasNextPage: true,
|
|
268
|
-
};
|