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