akeyless-server-commons 1.0.197 → 1.0.198
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/cjs/helpers/phone_number_helpers.d.ts +10 -5
- package/dist/cjs/helpers/phone_number_helpers.js +10 -5
- package/dist/cjs/helpers/phone_number_helpers.js.map +1 -1
- package/dist/esm/helpers/phone_number_helpers.d.ts +10 -5
- package/dist/esm/helpers/phone_number_helpers.js +10 -5
- package/dist/esm/helpers/phone_number_helpers.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { TObject } from "akeyless-types-commons";
|
|
2
1
|
import { SimProvider } from "../types/enums";
|
|
3
2
|
export declare const is_long_phone_number: (phone_number: string) => boolean;
|
|
4
3
|
export declare const is_israel_long_phone_number: (phone_number: string) => boolean;
|
|
@@ -6,9 +5,15 @@ export declare const is_thailand_long_phone_number: (phone_number: string) => bo
|
|
|
6
5
|
export declare const is_international_phone_number: (phone_number: string) => boolean;
|
|
7
6
|
export declare const is_iccid: (number: string) => boolean;
|
|
8
7
|
export declare const convert_to_short_israel_phone: (international_number: string) => string;
|
|
9
|
-
export declare const is_sim_provider_partner: (phone_number: string) =>
|
|
10
|
-
export declare const is_sim_provider_pelephone: (phone_number: string) =>
|
|
11
|
-
export declare const is_sim_provider_celcom: (phone_number: string) =>
|
|
8
|
+
export declare const is_sim_provider_partner: (phone_number: string) => boolean;
|
|
9
|
+
export declare const is_sim_provider_pelephone: (phone_number: string) => boolean;
|
|
10
|
+
export declare const is_sim_provider_celcom: (phone_number: string) => boolean;
|
|
12
11
|
export declare const is_sim_provider_monogoto: (phone_number: string) => boolean;
|
|
13
12
|
export declare const get_sim_provider: (phone_number: string) => SimProvider;
|
|
14
|
-
|
|
13
|
+
interface LongShortPhoneNumbers {
|
|
14
|
+
short_phone_number: string;
|
|
15
|
+
long_phone_number: string;
|
|
16
|
+
is_israeli: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const long_short_phone_numbers: (phone_number: string) => LongShortPhoneNumbers;
|
|
19
|
+
export {};
|
|
@@ -7,7 +7,7 @@ const is_long_phone_number = (phone_number) => {
|
|
|
7
7
|
};
|
|
8
8
|
exports.is_long_phone_number = is_long_phone_number;
|
|
9
9
|
const is_israel_long_phone_number = (phone_number) => {
|
|
10
|
-
return phone_number.startsWith("+
|
|
10
|
+
return phone_number.startsWith("+972");
|
|
11
11
|
};
|
|
12
12
|
exports.is_israel_long_phone_number = is_israel_long_phone_number;
|
|
13
13
|
const is_thailand_long_phone_number = (phone_number) => {
|
|
@@ -29,12 +29,13 @@ const is_iccid = (number) => {
|
|
|
29
29
|
};
|
|
30
30
|
exports.is_iccid = is_iccid;
|
|
31
31
|
const convert_to_short_israel_phone = (international_number) => {
|
|
32
|
-
|
|
32
|
+
const base = international_number.replace("+972", "");
|
|
33
|
+
return base.startsWith("130") ? base : `0${base}`;
|
|
33
34
|
};
|
|
34
35
|
exports.convert_to_short_israel_phone = convert_to_short_israel_phone;
|
|
35
36
|
const is_sim_provider_partner = (phone_number) => {
|
|
36
37
|
const { short_phone_number } = (0, exports.long_short_phone_numbers)(phone_number);
|
|
37
|
-
return short_phone_number.startsWith("054");
|
|
38
|
+
return short_phone_number.startsWith("054") || short_phone_number.startsWith("1302");
|
|
38
39
|
};
|
|
39
40
|
exports.is_sim_provider_partner = is_sim_provider_partner;
|
|
40
41
|
const is_sim_provider_pelephone = (phone_number) => {
|
|
@@ -44,7 +45,7 @@ const is_sim_provider_pelephone = (phone_number) => {
|
|
|
44
45
|
exports.is_sim_provider_pelephone = is_sim_provider_pelephone;
|
|
45
46
|
const is_sim_provider_celcom = (phone_number) => {
|
|
46
47
|
const { short_phone_number } = (0, exports.long_short_phone_numbers)(phone_number);
|
|
47
|
-
return short_phone_number.startsWith("052");
|
|
48
|
+
return short_phone_number.startsWith("052") || short_phone_number.startsWith("1303");
|
|
48
49
|
};
|
|
49
50
|
exports.is_sim_provider_celcom = is_sim_provider_celcom;
|
|
50
51
|
const is_sim_provider_monogoto = (phone_number) => {
|
|
@@ -87,7 +88,11 @@ const long_short_phone_numbers = (phone_number) => {
|
|
|
87
88
|
let long_phone_number = phone_number;
|
|
88
89
|
if (phone_number.startsWith("05")) {
|
|
89
90
|
short_phone_number = phone_number;
|
|
90
|
-
long_phone_number =
|
|
91
|
+
long_phone_number = long_phone_number.replace("+9725", "05");
|
|
92
|
+
}
|
|
93
|
+
else if (phone_number.startsWith("103")) {
|
|
94
|
+
short_phone_number = phone_number;
|
|
95
|
+
long_phone_number = `+972${short_phone_number}`;
|
|
91
96
|
}
|
|
92
97
|
else if (phone_number.startsWith("+972")) {
|
|
93
98
|
long_phone_number = phone_number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone_number_helpers.js","sourceRoot":"","sources":["../../../src/helpers/phone_number_helpers.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"phone_number_helpers.js","sourceRoot":"","sources":["../../../src/helpers/phone_number_helpers.ts"],"names":[],"mappings":";;;AAAA,0CAA6C;AAEtC,MAAM,oBAAoB,GAAG,CAAC,YAAoB,EAAE,EAAE;IACzD,OAAO,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;AACxC,CAAC,CAAC;AAFW,QAAA,oBAAoB,wBAE/B;AAEK,MAAM,2BAA2B,GAAG,CAAC,YAAoB,EAAE,EAAE;IAChE,OAAO,YAAY,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AAC3C,CAAC,CAAC;AAFW,QAAA,2BAA2B,+BAEtC;AAEK,MAAM,6BAA6B,GAAG,CAAC,YAAoB,EAAE,EAAE;IAClE,OAAO,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;AAC1C,CAAC,CAAC;AAFW,QAAA,6BAA6B,iCAExC;AAEK,MAAM,6BAA6B,GAAG,CAAC,YAAoB,EAAE,EAAE;IAClE,OAAO,IAAA,4BAAoB,EAAC,YAAY,CAAC,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2
1
|
import { SimProvider } from "../types/enums";
|
|
3
2
|
export declare const is_long_phone_number: (phone_number: string) => boolean;
|
|
4
3
|
export declare const is_israel_long_phone_number: (phone_number: string) => boolean;
|
|
@@ -6,9 +5,15 @@ export declare const is_thailand_long_phone_number: (phone_number: string) => bo
|
|
|
6
5
|
export declare const is_international_phone_number: (phone_number: string) => boolean;
|
|
7
6
|
export declare const is_iccid: (number: string) => boolean;
|
|
8
7
|
export declare const convert_to_short_israel_phone: (international_number: string) => string;
|
|
9
|
-
export declare const is_sim_provider_partner: (phone_number: string) =>
|
|
10
|
-
export declare const is_sim_provider_pelephone: (phone_number: string) =>
|
|
11
|
-
export declare const is_sim_provider_celcom: (phone_number: string) =>
|
|
8
|
+
export declare const is_sim_provider_partner: (phone_number: string) => boolean;
|
|
9
|
+
export declare const is_sim_provider_pelephone: (phone_number: string) => boolean;
|
|
10
|
+
export declare const is_sim_provider_celcom: (phone_number: string) => boolean;
|
|
12
11
|
export declare const is_sim_provider_monogoto: (phone_number: string) => boolean;
|
|
13
12
|
export declare const get_sim_provider: (phone_number: string) => SimProvider;
|
|
14
|
-
|
|
13
|
+
interface LongShortPhoneNumbers {
|
|
14
|
+
short_phone_number: string;
|
|
15
|
+
long_phone_number: string;
|
|
16
|
+
is_israeli: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const long_short_phone_numbers: (phone_number: string) => LongShortPhoneNumbers;
|
|
19
|
+
export {};
|
|
@@ -3,7 +3,7 @@ export const is_long_phone_number = (phone_number) => {
|
|
|
3
3
|
return phone_number.startsWith("+");
|
|
4
4
|
};
|
|
5
5
|
export const is_israel_long_phone_number = (phone_number) => {
|
|
6
|
-
return phone_number.startsWith("+
|
|
6
|
+
return phone_number.startsWith("+972");
|
|
7
7
|
};
|
|
8
8
|
export const is_thailand_long_phone_number = (phone_number) => {
|
|
9
9
|
return phone_number.startsWith("+66");
|
|
@@ -21,11 +21,12 @@ export const is_iccid = (number) => {
|
|
|
21
21
|
return true;
|
|
22
22
|
};
|
|
23
23
|
export const convert_to_short_israel_phone = (international_number) => {
|
|
24
|
-
|
|
24
|
+
const base = international_number.replace("+972", "");
|
|
25
|
+
return base.startsWith("130") ? base : `0${base}`;
|
|
25
26
|
};
|
|
26
27
|
export const is_sim_provider_partner = (phone_number) => {
|
|
27
28
|
const { short_phone_number } = long_short_phone_numbers(phone_number);
|
|
28
|
-
return short_phone_number.startsWith("054");
|
|
29
|
+
return short_phone_number.startsWith("054") || short_phone_number.startsWith("1302");
|
|
29
30
|
};
|
|
30
31
|
export const is_sim_provider_pelephone = (phone_number) => {
|
|
31
32
|
const { short_phone_number } = long_short_phone_numbers(phone_number);
|
|
@@ -33,7 +34,7 @@ export const is_sim_provider_pelephone = (phone_number) => {
|
|
|
33
34
|
};
|
|
34
35
|
export const is_sim_provider_celcom = (phone_number) => {
|
|
35
36
|
const { short_phone_number } = long_short_phone_numbers(phone_number);
|
|
36
|
-
return short_phone_number.startsWith("052");
|
|
37
|
+
return short_phone_number.startsWith("052") || short_phone_number.startsWith("1303");
|
|
37
38
|
};
|
|
38
39
|
export const is_sim_provider_monogoto = (phone_number) => {
|
|
39
40
|
return is_iccid(phone_number);
|
|
@@ -73,7 +74,11 @@ export const long_short_phone_numbers = (phone_number) => {
|
|
|
73
74
|
let long_phone_number = phone_number;
|
|
74
75
|
if (phone_number.startsWith("05")) {
|
|
75
76
|
short_phone_number = phone_number;
|
|
76
|
-
long_phone_number =
|
|
77
|
+
long_phone_number = long_phone_number.replace("+9725", "05");
|
|
78
|
+
}
|
|
79
|
+
else if (phone_number.startsWith("103")) {
|
|
80
|
+
short_phone_number = phone_number;
|
|
81
|
+
long_phone_number = `+972${short_phone_number}`;
|
|
77
82
|
}
|
|
78
83
|
else if (phone_number.startsWith("+972")) {
|
|
79
84
|
long_phone_number = phone_number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone_number_helpers.js","sourceRoot":"","sources":["../../../src/helpers/phone_number_helpers.ts"],"names":[],"m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