@jealous-robot-dev/shared-types-responses 1.52.4 → 1.52.6
Sign up to get free protection for your applications and to get access to all the features.
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
@@ -11,7 +11,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
11
11
|
};
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13
13
|
__exportStar(require("./services/permissions"), exports);
|
14
|
-
__exportStar(require("./services/location"), exports);
|
15
14
|
__exportStar(require("./services/errors"), exports);
|
16
15
|
__exportStar(require("./services/common"), exports);
|
17
16
|
__exportStar(require("./services/static-components"), exports);
|
@@ -12,7 +12,9 @@ export declare enum AuthRespErrors {
|
|
12
12
|
INVALID_FIRSTNAME = "INVALID_FIRSTNAME",
|
13
13
|
INVALID_LASTNAME = "INVALID_LASTNAME",
|
14
14
|
INVALID_EMAIL = "INVALID_EMAIL",
|
15
|
+
INVALID_PHONE = "INVALID_PHONE",
|
15
16
|
EMAIL_UNVIERIFIED = "EMAIL_UNVIERIFIED",
|
17
|
+
PHONE_IN_USE = "PHONE_IN_USE",
|
16
18
|
EMAIL_IN_USE = "EMAIL_IN_USE",
|
17
19
|
MISSING_PARAM = "MISSING_PARAM",
|
18
20
|
USER_NOT_FOUND = "USER_NOT_FOUND"
|
package/build/services/errors.js
CHANGED
@@ -17,7 +17,9 @@ var AuthRespErrors;
|
|
17
17
|
AuthRespErrors["INVALID_FIRSTNAME"] = "INVALID_FIRSTNAME";
|
18
18
|
AuthRespErrors["INVALID_LASTNAME"] = "INVALID_LASTNAME";
|
19
19
|
AuthRespErrors["INVALID_EMAIL"] = "INVALID_EMAIL";
|
20
|
+
AuthRespErrors["INVALID_PHONE"] = "INVALID_PHONE";
|
20
21
|
AuthRespErrors["EMAIL_UNVIERIFIED"] = "EMAIL_UNVIERIFIED";
|
22
|
+
AuthRespErrors["PHONE_IN_USE"] = "PHONE_IN_USE";
|
21
23
|
AuthRespErrors["EMAIL_IN_USE"] = "EMAIL_IN_USE";
|
22
24
|
AuthRespErrors["MISSING_PARAM"] = "MISSING_PARAM";
|
23
25
|
AuthRespErrors["USER_NOT_FOUND"] = "USER_NOT_FOUND";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jealous-robot-dev/shared-types-responses",
|
3
|
-
"version": "1.52.
|
3
|
+
"version": "1.52.6",
|
4
4
|
"description": "Meetle common types of API responses",
|
5
5
|
"main": "build/index.js",
|
6
6
|
"types": "build/index.d.ts",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"typescript": "^3.8.3"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@jealous-robot-dev/drophr-common": "^1.
|
28
|
-
"@jealous-robot-dev/shared-phrases": "^1.
|
27
|
+
"@jealous-robot-dev/drophr-common": "^1.16.1",
|
28
|
+
"@jealous-robot-dev/shared-phrases": "^1.15.4"
|
29
29
|
}
|
30
|
-
}
|
30
|
+
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { LocationContext, LocationContextMatch, LocationIdMatch } from "@jealous-robot-dev/drophr-common";
|
2
|
-
export interface LocationContextMatchRequest {
|
3
|
-
orders: LocationContext[];
|
4
|
-
}
|
5
|
-
export interface LocationIdMatchRequest {
|
6
|
-
orders: string[];
|
7
|
-
}
|
8
|
-
export interface LocationIdMatchResponse {
|
9
|
-
entries: LocationIdMatch[];
|
10
|
-
}
|
11
|
-
export interface LocationContextMatchResponse {
|
12
|
-
entries: LocationContextMatch[];
|
13
|
-
}
|