@hastehaul/common 3.9.0 → 3.11.0
Sign up to get free protection for your applications and to get access to all the features.
- package/build/utils/enums.d.ts +2 -1
- package/build/utils/enums.js +1 -0
- package/build/utils/utils.d.ts +1 -0
- package/package.json +1 -1
package/build/utils/enums.d.ts
CHANGED
@@ -47,7 +47,8 @@ export declare enum AccountStatus {
|
|
47
47
|
TooManyRequestError = 2308,// 2308 => Too Many request error
|
48
48
|
CustomerNotFound = 2309,// 2306 => Resource not found Error
|
49
49
|
IncorrectOrNotFoundOTP = 2400,// 2400 => Incorrect/Not Found OTP
|
50
|
-
OTPExpired = 2401
|
50
|
+
OTPExpired = 2401,// 2401 => OTP expired
|
51
|
+
OutOfServiceArea = 2402
|
51
52
|
}
|
52
53
|
export declare enum StatusCodes {
|
53
54
|
CONTINUE = 100,
|
package/build/utils/enums.js
CHANGED
@@ -60,6 +60,7 @@ var AccountStatus;
|
|
60
60
|
AccountStatus[AccountStatus["CustomerNotFound"] = 2309] = "CustomerNotFound";
|
61
61
|
AccountStatus[AccountStatus["IncorrectOrNotFoundOTP"] = 2400] = "IncorrectOrNotFoundOTP";
|
62
62
|
AccountStatus[AccountStatus["OTPExpired"] = 2401] = "OTPExpired";
|
63
|
+
AccountStatus[AccountStatus["OutOfServiceArea"] = 2402] = "OutOfServiceArea";
|
63
64
|
})(AccountStatus || (exports.AccountStatus = AccountStatus = {}));
|
64
65
|
var StatusCodes;
|
65
66
|
(function (StatusCodes) {
|
package/build/utils/utils.d.ts
CHANGED
@@ -11,6 +11,7 @@ export declare function getValueFromSettings(settings: Setting[], key: string, e
|
|
11
11
|
export declare function loadAsset(relativePath: string): Promise<string | null>;
|
12
12
|
export declare function loadAssetStream(relativePath: string): Promise<any>;
|
13
13
|
export declare function isPointInGeoJSON(latLng: number[], cachedGeoJsonData: {
|
14
|
+
type: string;
|
14
15
|
features: any;
|
15
16
|
}): Promise<{
|
16
17
|
isInside: boolean;
|