@steedos-labs/content-compliance-bev 0.2.4 → 0.2.5
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.
- package/README.md +33 -0
- package/dist/index.js +1 -1
- package/lib/actions/spotCheckMaterial.d.ts +36 -3
- package/lib/actions/spotCheckMaterial.js +244 -158
- package/lib/actions/spotCheckMaterial.js.map +1 -1
- package/main/default/objects/pepsico_spot_check_pool/buttons/remind_spot_check_incomplete.button.yml +55 -0
- package/main/default/objects/pepsico_spot_check_pool/buttons/send_mail.button.yml +17 -1
- package/main/default/objects/pepsico_spot_check_report/buttons/send_mail.button.yml +17 -1
- package/package.json +1 -1
|
@@ -30,7 +30,18 @@ export declare const sendMonthlySpotCheckReport: {
|
|
|
30
30
|
method: string;
|
|
31
31
|
fullPath: string;
|
|
32
32
|
};
|
|
33
|
-
handler(ctx: any): Promise<
|
|
33
|
+
handler(ctx: any): Promise<{
|
|
34
|
+
status: number;
|
|
35
|
+
msg: string;
|
|
36
|
+
data: {
|
|
37
|
+
year_month: any;
|
|
38
|
+
brand_leader_count: any;
|
|
39
|
+
sent_count: number;
|
|
40
|
+
skipped_count: number;
|
|
41
|
+
results: any[];
|
|
42
|
+
skipped: any[];
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
34
45
|
};
|
|
35
46
|
export declare const clickReportSpotEmail: {
|
|
36
47
|
rest: {
|
|
@@ -62,12 +73,34 @@ export declare const generateSpotCheckPool: {
|
|
|
62
73
|
authorization: boolean;
|
|
63
74
|
fullPath: string;
|
|
64
75
|
};
|
|
65
|
-
handler(ctx: any): Promise<
|
|
76
|
+
handler(ctx: any): Promise<{
|
|
77
|
+
status: number;
|
|
78
|
+
msg: string;
|
|
79
|
+
data: {
|
|
80
|
+
year_month: any;
|
|
81
|
+
count: any;
|
|
82
|
+
mid_tier_count?: undefined;
|
|
83
|
+
micro_count?: undefined;
|
|
84
|
+
mid_tier_mail_result?: undefined;
|
|
85
|
+
micro_mail_result?: undefined;
|
|
86
|
+
};
|
|
87
|
+
} | {
|
|
88
|
+
status: number;
|
|
89
|
+
msg: string;
|
|
90
|
+
data: {
|
|
91
|
+
year_month: any;
|
|
92
|
+
count: any;
|
|
93
|
+
mid_tier_count: number;
|
|
94
|
+
micro_count: number;
|
|
95
|
+
mid_tier_mail_result: string;
|
|
96
|
+
micro_mail_result: string;
|
|
97
|
+
};
|
|
98
|
+
}>;
|
|
66
99
|
};
|
|
67
100
|
export declare const remindSpotCheckIncomplete: {
|
|
68
101
|
rest: {
|
|
69
102
|
method: string;
|
|
70
|
-
|
|
103
|
+
fullPath: string;
|
|
71
104
|
};
|
|
72
105
|
handler(ctx: any): Promise<{
|
|
73
106
|
success: boolean;
|