@yangsaiyam/helper 1.12.7 → 1.13.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.
- package/dist/index.cjs +12 -0
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +12 -0
- package/package.json +1 -1
- package/src/email-history/index.d.ts +21 -0
- package/src/email-history/index.js +7 -0
- package/src/website/index.d.ts +7 -1
- package/src/website/index.js +6 -0
- package/src/website/index.ts +6 -0
package/dist/index.cjs
CHANGED
|
@@ -664,6 +664,7 @@ var Website;
|
|
|
664
664
|
(function(Website3) {
|
|
665
665
|
Website3[Website3["KORRE"] = 1] = "KORRE";
|
|
666
666
|
Website3[Website3["KORRE_LABS"] = 2] = "KORRE_LABS";
|
|
667
|
+
Website3[Website3["MCOM_MEDIA"] = 3] = "MCOM_MEDIA";
|
|
667
668
|
})(Website || (Website = {}));
|
|
668
669
|
var WEBSITES = {
|
|
669
670
|
[Website.KORRE]: {
|
|
@@ -675,6 +676,11 @@ var WEBSITES = {
|
|
|
675
676
|
id: Website.KORRE_LABS,
|
|
676
677
|
name: "Korre Labs",
|
|
677
678
|
url: "https://public.korre.site/images/korre-labs.png"
|
|
679
|
+
},
|
|
680
|
+
[Website.MCOM_MEDIA]: {
|
|
681
|
+
id: Website.MCOM_MEDIA,
|
|
682
|
+
name: "MCOM Media",
|
|
683
|
+
url: "https://public.korre.site/images/mcom-media.png"
|
|
678
684
|
}
|
|
679
685
|
};
|
|
680
686
|
|
|
@@ -692,6 +698,7 @@ var URL_PREFIXES = {
|
|
|
692
698
|
var Website2 = /* @__PURE__ */ ((Website3) => {
|
|
693
699
|
Website3[Website3["KORRE"] = 1] = "KORRE";
|
|
694
700
|
Website3[Website3["KORRE_LABS"] = 2] = "KORRE_LABS";
|
|
701
|
+
Website3[Website3["MCOM_MEDIA"] = 3] = "MCOM_MEDIA";
|
|
695
702
|
return Website3;
|
|
696
703
|
})(Website2 || {});
|
|
697
704
|
var WEBSITES2 = {
|
|
@@ -704,6 +711,11 @@ var WEBSITES2 = {
|
|
|
704
711
|
id: 2 /* KORRE_LABS */,
|
|
705
712
|
name: "Korre Labs",
|
|
706
713
|
url: "https://public.korre.site/images/korre-labs.png"
|
|
714
|
+
},
|
|
715
|
+
[3 /* MCOM_MEDIA */]: {
|
|
716
|
+
id: 3 /* MCOM_MEDIA */,
|
|
717
|
+
name: "MCOM Media",
|
|
718
|
+
url: "https://public.korre.site/images/mcom-media.png"
|
|
707
719
|
}
|
|
708
720
|
};
|
|
709
721
|
|
package/dist/index.d.cts
CHANGED
|
@@ -451,7 +451,8 @@ declare const URL_PREFIXES: {
|
|
|
451
451
|
|
|
452
452
|
declare enum Website {
|
|
453
453
|
KORRE = 1,
|
|
454
|
-
KORRE_LABS = 2
|
|
454
|
+
KORRE_LABS = 2,
|
|
455
|
+
MCOM_MEDIA = 3
|
|
455
456
|
}
|
|
456
457
|
declare const WEBSITES: {
|
|
457
458
|
1: {
|
|
@@ -464,6 +465,11 @@ declare const WEBSITES: {
|
|
|
464
465
|
name: string;
|
|
465
466
|
url: string;
|
|
466
467
|
};
|
|
468
|
+
3: {
|
|
469
|
+
id: Website;
|
|
470
|
+
name: string;
|
|
471
|
+
url: string;
|
|
472
|
+
};
|
|
467
473
|
};
|
|
468
474
|
|
|
469
475
|
declare const COUNTRY_CODE: readonly [{
|
package/dist/index.d.ts
CHANGED
|
@@ -451,7 +451,8 @@ declare const URL_PREFIXES: {
|
|
|
451
451
|
|
|
452
452
|
declare enum Website {
|
|
453
453
|
KORRE = 1,
|
|
454
|
-
KORRE_LABS = 2
|
|
454
|
+
KORRE_LABS = 2,
|
|
455
|
+
MCOM_MEDIA = 3
|
|
455
456
|
}
|
|
456
457
|
declare const WEBSITES: {
|
|
457
458
|
1: {
|
|
@@ -464,6 +465,11 @@ declare const WEBSITES: {
|
|
|
464
465
|
name: string;
|
|
465
466
|
url: string;
|
|
466
467
|
};
|
|
468
|
+
3: {
|
|
469
|
+
id: Website;
|
|
470
|
+
name: string;
|
|
471
|
+
url: string;
|
|
472
|
+
};
|
|
467
473
|
};
|
|
468
474
|
|
|
469
475
|
declare const COUNTRY_CODE: readonly [{
|
package/dist/index.js
CHANGED
|
@@ -582,6 +582,7 @@ var Website;
|
|
|
582
582
|
(function(Website3) {
|
|
583
583
|
Website3[Website3["KORRE"] = 1] = "KORRE";
|
|
584
584
|
Website3[Website3["KORRE_LABS"] = 2] = "KORRE_LABS";
|
|
585
|
+
Website3[Website3["MCOM_MEDIA"] = 3] = "MCOM_MEDIA";
|
|
585
586
|
})(Website || (Website = {}));
|
|
586
587
|
var WEBSITES = {
|
|
587
588
|
[Website.KORRE]: {
|
|
@@ -593,6 +594,11 @@ var WEBSITES = {
|
|
|
593
594
|
id: Website.KORRE_LABS,
|
|
594
595
|
name: "Korre Labs",
|
|
595
596
|
url: "https://public.korre.site/images/korre-labs.png"
|
|
597
|
+
},
|
|
598
|
+
[Website.MCOM_MEDIA]: {
|
|
599
|
+
id: Website.MCOM_MEDIA,
|
|
600
|
+
name: "MCOM Media",
|
|
601
|
+
url: "https://public.korre.site/images/mcom-media.png"
|
|
596
602
|
}
|
|
597
603
|
};
|
|
598
604
|
|
|
@@ -610,6 +616,7 @@ var URL_PREFIXES = {
|
|
|
610
616
|
var Website2 = /* @__PURE__ */ ((Website3) => {
|
|
611
617
|
Website3[Website3["KORRE"] = 1] = "KORRE";
|
|
612
618
|
Website3[Website3["KORRE_LABS"] = 2] = "KORRE_LABS";
|
|
619
|
+
Website3[Website3["MCOM_MEDIA"] = 3] = "MCOM_MEDIA";
|
|
613
620
|
return Website3;
|
|
614
621
|
})(Website2 || {});
|
|
615
622
|
var WEBSITES2 = {
|
|
@@ -622,6 +629,11 @@ var WEBSITES2 = {
|
|
|
622
629
|
id: 2 /* KORRE_LABS */,
|
|
623
630
|
name: "Korre Labs",
|
|
624
631
|
url: "https://public.korre.site/images/korre-labs.png"
|
|
632
|
+
},
|
|
633
|
+
[3 /* MCOM_MEDIA */]: {
|
|
634
|
+
id: 3 /* MCOM_MEDIA */,
|
|
635
|
+
name: "MCOM Media",
|
|
636
|
+
url: "https://public.korre.site/images/mcom-media.png"
|
|
625
637
|
}
|
|
626
638
|
};
|
|
627
639
|
|
package/package.json
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const EMAIL_HISTORY_STATUS: readonly [{
|
|
2
|
+
readonly key: 0;
|
|
3
|
+
readonly value: "Scheduled";
|
|
4
|
+
readonly i18nKey: "emailHistory.status.0";
|
|
5
|
+
}, {
|
|
6
|
+
readonly key: 1;
|
|
7
|
+
readonly value: "Delivering";
|
|
8
|
+
readonly i18nKey: "emailHistory.status.1";
|
|
9
|
+
}, {
|
|
10
|
+
readonly key: 2;
|
|
11
|
+
readonly value: "Delivered";
|
|
12
|
+
readonly i18nKey: "emailHistory.status.2";
|
|
13
|
+
}, {
|
|
14
|
+
readonly key: 3;
|
|
15
|
+
readonly value: "Failed";
|
|
16
|
+
readonly i18nKey: "emailHistory.status.3";
|
|
17
|
+
}, {
|
|
18
|
+
readonly key: 4;
|
|
19
|
+
readonly value: "Canceled";
|
|
20
|
+
readonly i18nKey: "emailHistory.status.4";
|
|
21
|
+
}];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export const EMAIL_HISTORY_STATUS = [
|
|
2
|
+
{ key: 0, value: "Scheduled", i18nKey: "emailHistory.status.0" },
|
|
3
|
+
{ key: 1, value: "Delivering", i18nKey: "emailHistory.status.1" },
|
|
4
|
+
{ key: 2, value: "Delivered", i18nKey: "emailHistory.status.2" },
|
|
5
|
+
{ key: 3, value: "Failed", i18nKey: "emailHistory.status.3" },
|
|
6
|
+
{ key: 4, value: "Canceled", i18nKey: "emailHistory.status.4" },
|
|
7
|
+
];
|
package/src/website/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare enum Website {
|
|
2
2
|
KORRE = 1,
|
|
3
|
-
KORRE_LABS = 2
|
|
3
|
+
KORRE_LABS = 2,
|
|
4
|
+
MCOM_MEDIA = 3
|
|
4
5
|
}
|
|
5
6
|
export declare const WEBSITES: {
|
|
6
7
|
1: {
|
|
@@ -13,4 +14,9 @@ export declare const WEBSITES: {
|
|
|
13
14
|
name: string;
|
|
14
15
|
url: string;
|
|
15
16
|
};
|
|
17
|
+
3: {
|
|
18
|
+
id: Website;
|
|
19
|
+
name: string;
|
|
20
|
+
url: string;
|
|
21
|
+
};
|
|
16
22
|
};
|
package/src/website/index.js
CHANGED
|
@@ -2,6 +2,7 @@ export var Website;
|
|
|
2
2
|
(function (Website) {
|
|
3
3
|
Website[Website["KORRE"] = 1] = "KORRE";
|
|
4
4
|
Website[Website["KORRE_LABS"] = 2] = "KORRE_LABS";
|
|
5
|
+
Website[Website["MCOM_MEDIA"] = 3] = "MCOM_MEDIA";
|
|
5
6
|
})(Website || (Website = {}));
|
|
6
7
|
export const WEBSITES = {
|
|
7
8
|
[Website.KORRE]: {
|
|
@@ -14,4 +15,9 @@ export const WEBSITES = {
|
|
|
14
15
|
name: "Korre Labs",
|
|
15
16
|
url: "https://public.korre.site/images/korre-labs.png",
|
|
16
17
|
},
|
|
18
|
+
[Website.MCOM_MEDIA]: {
|
|
19
|
+
id: Website.MCOM_MEDIA,
|
|
20
|
+
name: "MCOM Media",
|
|
21
|
+
url: "https://public.korre.site/images/mcom-media.png",
|
|
22
|
+
},
|
|
17
23
|
};
|
package/src/website/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export enum Website {
|
|
2
2
|
KORRE = 1,
|
|
3
3
|
KORRE_LABS = 2,
|
|
4
|
+
MCOM_MEDIA = 3
|
|
4
5
|
}
|
|
5
6
|
|
|
6
7
|
export const WEBSITES = {
|
|
@@ -14,4 +15,9 @@ export const WEBSITES = {
|
|
|
14
15
|
name: "Korre Labs",
|
|
15
16
|
url: "https://public.korre.site/images/korre-labs.png",
|
|
16
17
|
},
|
|
18
|
+
[Website.MCOM_MEDIA]: {
|
|
19
|
+
id: Website.MCOM_MEDIA,
|
|
20
|
+
name: "MCOM Media",
|
|
21
|
+
url: "https://public.korre.site/images/mcom-media.png",
|
|
22
|
+
},
|
|
17
23
|
};
|