@bwi-mentorspaces/application-utils-npm 0.0.28 → 0.0.29
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/chat/index.d.ts +3 -0
- package/chat/index.js +3 -0
- package/chat/index.js.map +1 -1
- package/chat/stream/enum/index.d.ts +1 -0
- package/chat/stream/enum/index.js +1 -0
- package/chat/stream/enum/index.js.map +1 -1
- package/chat/stream/models/_/event.data.d.ts +11 -0
- package/chat/stream/stream.api.d.ts +6 -0
- package/chat/stream/stream.api.js +6 -0
- package/chat/stream/stream.api.js.map +1 -1
- package/chat/stream/stream.auth.d.ts +7 -0
- package/chat/stream/stream.auth.js +4 -0
- package/chat/stream/stream.auth.js.map +1 -1
- package/chat/stream/stream.base.d.ts +7 -0
- package/chat/stream/stream.base.js +7 -0
- package/chat/stream/stream.base.js.map +1 -1
- package/chat/stream/stream.channel.d.ts +11 -0
- package/chat/stream/stream.channel.js +11 -0
- package/chat/stream/stream.channel.js.map +1 -1
- package/chat/stream/stream.error.d.ts +1 -0
- package/chat/stream/stream.error.js +1 -0
- package/chat/stream/stream.error.js.map +1 -1
- package/chat/stream/stream.member.d.ts +6 -0
- package/chat/stream/stream.member.js +6 -0
- package/chat/stream/stream.member.js.map +1 -1
- package/chat/stream/stream.message.d.ts +4 -0
- package/chat/stream/stream.message.js +4 -0
- package/chat/stream/stream.message.js.map +1 -1
- package/chat/stream/stream.user.d.ts +7 -0
- package/chat/stream/stream.user.js +7 -0
- package/chat/stream/stream.user.js.map +1 -1
- package/core/_/api-error.d.ts +1 -0
- package/core/_/api-error.js +1 -0
- package/core/_/api-error.js.map +1 -1
- package/core/_/api-response.d.ts +1 -0
- package/core/_/api-response.js +1 -0
- package/core/_/api-response.js.map +1 -1
- package/core/_/cors-headers.d.ts +1 -0
- package/core/_/cors-headers.js +1 -0
- package/core/_/cors-headers.js.map +1 -1
- package/core/_/service-request.d.ts +2 -0
- package/core/_/service-request.js +2 -0
- package/core/_/service-request.js.map +1 -1
- package/deployment/_/serverless.d.ts +2 -1
- package/deployment/_/serverless.js +2 -0
- package/deployment/_/serverless.js.map +1 -1
- package/endpoint-test-factory/_/test-factory.d.ts +4 -0
- package/endpoint-test-factory/_/test-factory.js +4 -0
- package/endpoint-test-factory/_/test-factory.js.map +1 -1
- package/meet/index.d.ts +3 -0
- package/meet/index.js +3 -0
- package/meet/index.js.map +1 -1
- package/meet/twilio/twilio.api.d.ts +3 -0
- package/meet/twilio/twilio.api.js +3 -0
- package/meet/twilio/twilio.api.js.map +1 -1
- package/meet/twilio/twilio.auth.d.ts +5 -0
- package/meet/twilio/twilio.auth.js +3 -0
- package/meet/twilio/twilio.auth.js.map +1 -1
- package/meet/twilio/twilio.base.d.ts +5 -0
- package/meet/twilio/twilio.base.js +5 -0
- package/meet/twilio/twilio.base.js.map +1 -1
- package/meet/twilio/twilio.room.d.ts +4 -0
- package/meet/twilio/twilio.room.js +4 -0
- package/meet/twilio/twilio.room.js.map +1 -1
- package/package.json +1 -1
- package/swagger/_/swagger.d.ts +2 -0
- package/swagger/_/swagger.js +2 -0
- package/swagger/_/swagger.js.map +1 -1
- package/utils/_/encoder.d.ts +2 -0
- package/utils/_/encoder.js +2 -0
- package/utils/_/encoder.js.map +1 -1
- package/utils/_/encryptor.d.ts +2 -0
- package/utils/_/encryptor.js +2 -0
- package/utils/_/encryptor.js.map +1 -1
- package/utils/_/hasher.d.ts +3 -0
- package/utils/_/hasher.js +3 -0
- package/utils/_/hasher.js.map +1 -1
- package/utils/_/object-mapper.d.ts +1 -0
- package/utils/_/object-mapper.js +1 -0
- package/utils/_/object-mapper.js.map +1 -1
- package/utils/_/string-formatter.d.ts +4 -0
- package/utils/_/string-formatter.js +4 -0
- package/utils/_/string-formatter.js.map +1 -1
- package/utils/_/utc-date.d.ts +4 -0
- package/utils/_/utc-date.js +4 -0
- package/utils/_/utc-date.js.map +1 -1
- package/validators/_/checker.d.ts +7 -0
- package/validators/_/checker.js +7 -0
- package/validators/_/checker.js.map +1 -1
- package/validators/_/regex.d.ts +15 -0
- package/validators/_/regex.js +15 -0
- package/validators/_/regex.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checker.js","sourceRoot":"","sources":["../../../validators/_/checker.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAsB,OAAO;IACzB
|
|
1
|
+
{"version":3,"file":"checker.js","sourceRoot":"","sources":["../../../validators/_/checker.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAsB,OAAO;IACzB;;;;;;OAMG;IACH,MAAM,CAAC,OAAO,CAAC,KAAa,EAAE,KAAa;QACvC,OAAO,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,aAAa,CAAC,KAAgC;QACjD,IAAI,KAAK,KAAK,SAAS,EAAE;YACrB,OAAO,IAAI,CAAC;SACf;QAED,IAAI,KAAK,KAAK,IAAI,EAAE;YAChB,OAAO,IAAI,CAAC;SACf;QAED,OAAO,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,WAAW,CAAC,GAAW,EAAE,KAAa;QACzC,OAAO,KAAK,GAAG,GAAG,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,YAAY,CAAC,MAAc,EAAE,KAAa;QAC7C,OAAO,KAAK,CAAC,MAAM,IAAI,MAAM,CAAC;IAClC,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,YAAY,CAAC,MAAc,EAAE,KAAa;QAC7C,OAAO,KAAK,CAAC,MAAM,IAAI,MAAM,CAAC;IAClC,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,cAAc,CAAC,MAAc,EAAE,KAAa;QAC/C,OAAO,KAAK,CAAC,MAAM,IAAI,MAAM,CAAC;IAClC,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,aAAa,CAAC,GAAW,EAAE,GAAW,EAAE,KAAa,EAAE,aAAsB,IAAI;QACpF,IAAI,UAAU,IAAI,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE;YAC5C,OAAO,KAAK,CAAC;SAChB;QACD,IAAI,CAAC,UAAU,IAAI,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE;YAC7C,OAAO,IAAI,CAAC;SACf;QACD,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE;YAC/B,cAAc;YACd,MAAM,SAAS,GAAY,OAAO,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;YAC5D,MAAM,SAAS,GAAY,OAAO,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;YAE5D,oBAAoB;YACpB,OAAO,SAAS,IAAI,SAAS,CAAC;SACjC;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ;AApGD,0BAoGC"}
|
package/validators/_/regex.d.ts
CHANGED
|
@@ -4,78 +4,93 @@
|
|
|
4
4
|
export declare abstract class Regex {
|
|
5
5
|
/**
|
|
6
6
|
* Method that provides regular expression for alphabetic character validation
|
|
7
|
+
*
|
|
7
8
|
* @param {boolean} includeSpaces flag to include space or not in the pattern
|
|
8
9
|
* @returns {RegExp} regular expression
|
|
9
10
|
*/
|
|
10
11
|
static alpha(includeSpaces: boolean): RegExp;
|
|
11
12
|
/**
|
|
12
13
|
* Method that provides regular express for alpha-numeric character validation
|
|
14
|
+
*
|
|
13
15
|
* @param {boolean} includeSpaces flag to include space or not in the pattern
|
|
14
16
|
* @returns {RegExp} regular expression
|
|
15
17
|
*/
|
|
16
18
|
static alphaNumeric(includeSpaces: boolean): RegExp;
|
|
17
19
|
/**
|
|
18
20
|
* Method that provides regular expression for numeric character validation
|
|
21
|
+
*
|
|
19
22
|
* @returns {RegExp} regular expression
|
|
20
23
|
*/
|
|
21
24
|
static numeric(): RegExp;
|
|
22
25
|
/**
|
|
23
26
|
* Method that provides regular expression for a value that contains a number validation
|
|
27
|
+
*
|
|
24
28
|
* @returns {RegExp} regular expression
|
|
25
29
|
*/
|
|
26
30
|
static hasNumber(): RegExp;
|
|
27
31
|
/**
|
|
28
32
|
* Method that provides regular expression for a value that contains special characters validation
|
|
33
|
+
*
|
|
29
34
|
* @returns {RegExp} regular expression
|
|
30
35
|
*/
|
|
31
36
|
static hasSpecialCharacter(): RegExp;
|
|
32
37
|
/**
|
|
33
38
|
* Method that provides regular expression for a value that is all upper case validation
|
|
39
|
+
*
|
|
34
40
|
* @returns {RegExp} regular expression
|
|
35
41
|
*/
|
|
36
42
|
static isAllUpperCase(): RegExp;
|
|
37
43
|
/**
|
|
38
44
|
* Method that provides regular expression for a value that contains upper case validation
|
|
45
|
+
*
|
|
39
46
|
* @returns {RegExp} regular expression
|
|
40
47
|
*/
|
|
41
48
|
static hasUpperCase(): RegExp;
|
|
42
49
|
/**
|
|
43
50
|
* Method that provides regular expression for a value that is all lower case validation
|
|
51
|
+
*
|
|
44
52
|
* @returns {RegExp} regular expression
|
|
45
53
|
*/
|
|
46
54
|
static isAllLowerCase(): RegExp;
|
|
47
55
|
/**
|
|
48
56
|
* Method that provides regular expression for a value that contains lower case validation
|
|
57
|
+
*
|
|
49
58
|
* @returns {RegExp} regular expression
|
|
50
59
|
*/
|
|
51
60
|
static hasLowerCase(): RegExp;
|
|
52
61
|
/**
|
|
53
62
|
* Method that provides regular expression for email address validation
|
|
63
|
+
*
|
|
54
64
|
* @returns {RegExp} regular expression
|
|
55
65
|
*/
|
|
56
66
|
static emailAddress(): RegExp;
|
|
57
67
|
/**
|
|
58
68
|
* Method that provides regular expression for a phone number validation (USA)
|
|
69
|
+
*
|
|
59
70
|
* @returns {RegExp} regular expression
|
|
60
71
|
*/
|
|
61
72
|
static phoneNumber(): RegExp;
|
|
62
73
|
/**
|
|
63
74
|
* Method that provides regular expression for a street validation
|
|
75
|
+
*
|
|
64
76
|
* @returns {RegExp} regular expression
|
|
65
77
|
*/
|
|
66
78
|
static street(): RegExp;
|
|
67
79
|
/**
|
|
68
80
|
* Method that provides regular expression for a time validation
|
|
81
|
+
*
|
|
69
82
|
* @returns {RegExp} regular expression
|
|
70
83
|
*/
|
|
71
84
|
static time(): RegExp;
|
|
72
85
|
/**
|
|
73
86
|
* Method that provides regular expression for a URL validation
|
|
87
|
+
*
|
|
74
88
|
* @returns {RegExp} regular expression
|
|
75
89
|
*/
|
|
76
90
|
static url(): RegExp;
|
|
77
91
|
/**
|
|
78
92
|
* Method that provides regular expression for a social media link validation
|
|
93
|
+
*
|
|
79
94
|
* @param {string} social name of the social media
|
|
80
95
|
* @returns {RegExp} regular expression
|
|
81
96
|
*/
|
package/validators/_/regex.js
CHANGED
|
@@ -7,6 +7,7 @@ exports.Regex = void 0;
|
|
|
7
7
|
class Regex {
|
|
8
8
|
/**
|
|
9
9
|
* Method that provides regular expression for alphabetic character validation
|
|
10
|
+
*
|
|
10
11
|
* @param {boolean} includeSpaces flag to include space or not in the pattern
|
|
11
12
|
* @returns {RegExp} regular expression
|
|
12
13
|
*/
|
|
@@ -20,6 +21,7 @@ class Regex {
|
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
22
23
|
* Method that provides regular express for alpha-numeric character validation
|
|
24
|
+
*
|
|
23
25
|
* @param {boolean} includeSpaces flag to include space or not in the pattern
|
|
24
26
|
* @returns {RegExp} regular expression
|
|
25
27
|
*/
|
|
@@ -33,6 +35,7 @@ class Regex {
|
|
|
33
35
|
}
|
|
34
36
|
/**
|
|
35
37
|
* Method that provides regular expression for numeric character validation
|
|
38
|
+
*
|
|
36
39
|
* @returns {RegExp} regular expression
|
|
37
40
|
*/
|
|
38
41
|
static numeric() {
|
|
@@ -40,6 +43,7 @@ class Regex {
|
|
|
40
43
|
}
|
|
41
44
|
/**
|
|
42
45
|
* Method that provides regular expression for a value that contains a number validation
|
|
46
|
+
*
|
|
43
47
|
* @returns {RegExp} regular expression
|
|
44
48
|
*/
|
|
45
49
|
static hasNumber() {
|
|
@@ -47,6 +51,7 @@ class Regex {
|
|
|
47
51
|
}
|
|
48
52
|
/**
|
|
49
53
|
* Method that provides regular expression for a value that contains special characters validation
|
|
54
|
+
*
|
|
50
55
|
* @returns {RegExp} regular expression
|
|
51
56
|
*/
|
|
52
57
|
static hasSpecialCharacter() {
|
|
@@ -54,6 +59,7 @@ class Regex {
|
|
|
54
59
|
}
|
|
55
60
|
/**
|
|
56
61
|
* Method that provides regular expression for a value that is all upper case validation
|
|
62
|
+
*
|
|
57
63
|
* @returns {RegExp} regular expression
|
|
58
64
|
*/
|
|
59
65
|
static isAllUpperCase() {
|
|
@@ -61,6 +67,7 @@ class Regex {
|
|
|
61
67
|
}
|
|
62
68
|
/**
|
|
63
69
|
* Method that provides regular expression for a value that contains upper case validation
|
|
70
|
+
*
|
|
64
71
|
* @returns {RegExp} regular expression
|
|
65
72
|
*/
|
|
66
73
|
static hasUpperCase() {
|
|
@@ -68,6 +75,7 @@ class Regex {
|
|
|
68
75
|
}
|
|
69
76
|
/**
|
|
70
77
|
* Method that provides regular expression for a value that is all lower case validation
|
|
78
|
+
*
|
|
71
79
|
* @returns {RegExp} regular expression
|
|
72
80
|
*/
|
|
73
81
|
static isAllLowerCase() {
|
|
@@ -75,6 +83,7 @@ class Regex {
|
|
|
75
83
|
}
|
|
76
84
|
/**
|
|
77
85
|
* Method that provides regular expression for a value that contains lower case validation
|
|
86
|
+
*
|
|
78
87
|
* @returns {RegExp} regular expression
|
|
79
88
|
*/
|
|
80
89
|
static hasLowerCase() {
|
|
@@ -82,6 +91,7 @@ class Regex {
|
|
|
82
91
|
}
|
|
83
92
|
/**
|
|
84
93
|
* Method that provides regular expression for email address validation
|
|
94
|
+
*
|
|
85
95
|
* @returns {RegExp} regular expression
|
|
86
96
|
*/
|
|
87
97
|
static emailAddress() {
|
|
@@ -89,6 +99,7 @@ class Regex {
|
|
|
89
99
|
}
|
|
90
100
|
/**
|
|
91
101
|
* Method that provides regular expression for a phone number validation (USA)
|
|
102
|
+
*
|
|
92
103
|
* @returns {RegExp} regular expression
|
|
93
104
|
*/
|
|
94
105
|
static phoneNumber() {
|
|
@@ -96,6 +107,7 @@ class Regex {
|
|
|
96
107
|
}
|
|
97
108
|
/**
|
|
98
109
|
* Method that provides regular expression for a street validation
|
|
110
|
+
*
|
|
99
111
|
* @returns {RegExp} regular expression
|
|
100
112
|
*/
|
|
101
113
|
static street() {
|
|
@@ -103,6 +115,7 @@ class Regex {
|
|
|
103
115
|
}
|
|
104
116
|
/**
|
|
105
117
|
* Method that provides regular expression for a time validation
|
|
118
|
+
*
|
|
106
119
|
* @returns {RegExp} regular expression
|
|
107
120
|
*/
|
|
108
121
|
static time() {
|
|
@@ -110,6 +123,7 @@ class Regex {
|
|
|
110
123
|
}
|
|
111
124
|
/**
|
|
112
125
|
* Method that provides regular expression for a URL validation
|
|
126
|
+
*
|
|
113
127
|
* @returns {RegExp} regular expression
|
|
114
128
|
*/
|
|
115
129
|
static url() {
|
|
@@ -117,6 +131,7 @@ class Regex {
|
|
|
117
131
|
}
|
|
118
132
|
/**
|
|
119
133
|
* Method that provides regular expression for a social media link validation
|
|
134
|
+
*
|
|
120
135
|
* @param {string} social name of the social media
|
|
121
136
|
* @returns {RegExp} regular expression
|
|
122
137
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regex.js","sourceRoot":"","sources":["../../../validators/_/regex.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAsB,KAAK;IACvB
|
|
1
|
+
{"version":3,"file":"regex.js","sourceRoot":"","sources":["../../../validators/_/regex.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAsB,KAAK;IACvB;;;;;OAKG;IACH,MAAM,CAAC,KAAK,CAAC,aAAsB;QAC/B,IAAI,aAAa,E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