@lucaapp/service-utils 1.58.2 → 1.59.0
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.
|
@@ -10,12 +10,14 @@ import { ReservationFee } from './events/reservationFee';
|
|
|
10
10
|
import { Reservation } from './events/reservation';
|
|
11
11
|
import { ReservationPrePayment } from './events/reservationPrePayment';
|
|
12
12
|
import { ConsumerPushNotification } from './events/consumerPushNotification';
|
|
13
|
+
import { OperatorLocationGroup } from './events/operatorLocationGroup';
|
|
13
14
|
declare enum KafkaTopic {
|
|
14
15
|
PAYMENTS = "payments",
|
|
15
16
|
CONSUMERS = "consumers",
|
|
16
17
|
OPERATORS = "operators",
|
|
17
18
|
LOCATIONS = "locations",
|
|
18
19
|
LOCATION_GROUPS = "location_groups",
|
|
20
|
+
OPERATOR_LOCATION_GROUPS = "operator_location_groups",
|
|
19
21
|
LOCATION_GROUP_EMPLOYEES = "location_group_employees",
|
|
20
22
|
RESERVATIONS = "reservations",
|
|
21
23
|
RESERVATION_FEES = "reservation_fees",
|
|
@@ -31,6 +33,7 @@ type MessageFormats = {
|
|
|
31
33
|
[KafkaTopic.OPERATORS]: Operator;
|
|
32
34
|
[KafkaTopic.LOCATIONS]: Location;
|
|
33
35
|
[KafkaTopic.LOCATION_GROUPS]: LocationGroup;
|
|
36
|
+
[KafkaTopic.OPERATOR_LOCATION_GROUPS]: OperatorLocationGroup;
|
|
34
37
|
[KafkaTopic.LOCATION_GROUP_EMPLOYEES]: LocationGroupEmployees;
|
|
35
38
|
[KafkaTopic.RESERVATIONS]: Reservation;
|
|
36
39
|
[KafkaTopic.RESERVATION_FEES]: ReservationFee;
|
|
@@ -46,6 +49,7 @@ declare const MessageIssuer: {
|
|
|
46
49
|
operators: Service;
|
|
47
50
|
locations: Service;
|
|
48
51
|
location_groups: Service;
|
|
52
|
+
operator_location_groups: Service;
|
|
49
53
|
location_group_employees: Service;
|
|
50
54
|
reservations: Service;
|
|
51
55
|
reservation_fees: Service;
|
package/dist/lib/kafka/events.js
CHANGED
|
@@ -9,6 +9,7 @@ var KafkaTopic;
|
|
|
9
9
|
KafkaTopic["OPERATORS"] = "operators";
|
|
10
10
|
KafkaTopic["LOCATIONS"] = "locations";
|
|
11
11
|
KafkaTopic["LOCATION_GROUPS"] = "location_groups";
|
|
12
|
+
KafkaTopic["OPERATOR_LOCATION_GROUPS"] = "operator_location_groups";
|
|
12
13
|
KafkaTopic["LOCATION_GROUP_EMPLOYEES"] = "location_group_employees";
|
|
13
14
|
KafkaTopic["RESERVATIONS"] = "reservations";
|
|
14
15
|
KafkaTopic["RESERVATION_FEES"] = "reservation_fees";
|
|
@@ -24,6 +25,7 @@ const MessageIssuer = {
|
|
|
24
25
|
[KafkaTopic.OPERATORS]: serviceIdentity_1.Service.BACKEND,
|
|
25
26
|
[KafkaTopic.LOCATIONS]: serviceIdentity_1.Service.BACKEND,
|
|
26
27
|
[KafkaTopic.LOCATION_GROUPS]: serviceIdentity_1.Service.BACKEND,
|
|
28
|
+
[KafkaTopic.OPERATOR_LOCATION_GROUPS]: serviceIdentity_1.Service.BACKEND,
|
|
27
29
|
[KafkaTopic.LOCATION_GROUP_EMPLOYEES]: serviceIdentity_1.Service.BACKEND,
|
|
28
30
|
[KafkaTopic.RESERVATIONS]: serviceIdentity_1.Service.BACKEND,
|
|
29
31
|
[KafkaTopic.RESERVATION_FEES]: serviceIdentity_1.Service.BACKEND_PAY,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucaapp/service-utils",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.59.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"axios": "^1.7.4",
|
|
30
30
|
"busboy": "^1.6.0",
|
|
31
31
|
"cls-rtracer": "^2.6.2",
|
|
32
|
-
"express": "4.
|
|
32
|
+
"express": "4.20.0",
|
|
33
33
|
"express-async-errors": "3.1.1",
|
|
34
34
|
"jose": "4.15.5",
|
|
35
35
|
"kafkajs": "2.1.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"swagger-ui-express": "4.5.0",
|
|
45
45
|
"url-value-parser": "^2.2.0",
|
|
46
46
|
"uuid": "^9.0.0",
|
|
47
|
-
"vitest": "
|
|
47
|
+
"vitest": "2.0.5",
|
|
48
48
|
"zod": "3.22.3"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@types/uuid": "^8.3.4",
|
|
58
58
|
"@typescript-eslint/eslint-plugin": "^7.15.0",
|
|
59
59
|
"@typescript-eslint/parser": "^7.15.0",
|
|
60
|
-
"@vitest/coverage-v8": "
|
|
60
|
+
"@vitest/coverage-v8": "2.0.5",
|
|
61
61
|
"conventional-changelog-conventionalcommits": "^5.0.0",
|
|
62
62
|
"eslint": "8.57.0",
|
|
63
63
|
"eslint-plugin-prettier": "4.2.1",
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
"yaml": "2.2.2",
|
|
76
76
|
"semver": "7.5.2",
|
|
77
77
|
"follow-redirects": "1.15.6",
|
|
78
|
-
"braces": "3.0.3"
|
|
78
|
+
"braces": "3.0.3",
|
|
79
|
+
"send": "0.19.0"
|
|
79
80
|
}
|
|
80
81
|
}
|