@lucaapp/service-utils 2.0.5 → 2.0.7
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/dist/lib/kafka/events/operatorPay.d.ts +3 -0
- package/dist/lib/kafka/events.d.ts +4 -4
- package/dist/lib/kafka/events.js +2 -2
- package/package.json +4 -4
- package/dist/lib/kafka/events/operatorDeviceSyncRequest.d.ts +0 -3
- /package/dist/lib/kafka/events/{operatorDeviceSyncRequest.js → operatorPay.js} +0 -0
|
@@ -13,13 +13,13 @@ import { ConsumerPushNotification } from './events/consumerPushNotification';
|
|
|
13
13
|
import { OperatorLocationGroup } from '../../types/operatorLocationGroup';
|
|
14
14
|
import { PaymentSyncError } from './events/paymentSyncError';
|
|
15
15
|
import { OperatorDevice } from './events/operatorDevice';
|
|
16
|
-
import {
|
|
16
|
+
import { OperatorPay } from './events/operatorPay';
|
|
17
17
|
declare enum KafkaTopic {
|
|
18
18
|
PAYMENTS = "payments",
|
|
19
19
|
CONSUMERS = "consumers",
|
|
20
20
|
OPERATORS = "operators",
|
|
21
|
+
OPERATORS_PAY = "operators_pay",
|
|
21
22
|
OPERATOR_DEVICES = "operator_devices",
|
|
22
|
-
OPERATOR_DEVICE_SYNC_REQUEST = "operator_device_sync_request",
|
|
23
23
|
LOCATIONS = "locations",
|
|
24
24
|
LOCATION_GROUPS = "location_groups",
|
|
25
25
|
OPERATOR_LOCATION_GROUPS = "operator_location_groups",
|
|
@@ -37,8 +37,8 @@ type MessageFormats = {
|
|
|
37
37
|
[KafkaTopic.PAYMENTS]: Payment;
|
|
38
38
|
[KafkaTopic.CONSUMERS]: Consumer;
|
|
39
39
|
[KafkaTopic.OPERATORS]: Operator;
|
|
40
|
+
[KafkaTopic.OPERATORS_PAY]: OperatorPay;
|
|
40
41
|
[KafkaTopic.OPERATOR_DEVICES]: OperatorDevice;
|
|
41
|
-
[KafkaTopic.OPERATOR_DEVICE_SYNC_REQUEST]: OperatorDeviceSyncRequest;
|
|
42
42
|
[KafkaTopic.LOCATIONS]: Location;
|
|
43
43
|
[KafkaTopic.LOCATION_GROUPS]: LocationGroup;
|
|
44
44
|
[KafkaTopic.OPERATOR_LOCATION_GROUPS]: OperatorLocationGroup;
|
|
@@ -57,7 +57,7 @@ declare const MessageIssuer: {
|
|
|
57
57
|
consumers: Service;
|
|
58
58
|
operators: Service;
|
|
59
59
|
operator_devices: Service;
|
|
60
|
-
|
|
60
|
+
operators_pay: Service;
|
|
61
61
|
locations: Service;
|
|
62
62
|
location_groups: Service;
|
|
63
63
|
operator_location_groups: Service;
|
package/dist/lib/kafka/events.js
CHANGED
|
@@ -7,8 +7,8 @@ var KafkaTopic;
|
|
|
7
7
|
KafkaTopic["PAYMENTS"] = "payments";
|
|
8
8
|
KafkaTopic["CONSUMERS"] = "consumers";
|
|
9
9
|
KafkaTopic["OPERATORS"] = "operators";
|
|
10
|
+
KafkaTopic["OPERATORS_PAY"] = "operators_pay";
|
|
10
11
|
KafkaTopic["OPERATOR_DEVICES"] = "operator_devices";
|
|
11
|
-
KafkaTopic["OPERATOR_DEVICE_SYNC_REQUEST"] = "operator_device_sync_request";
|
|
12
12
|
KafkaTopic["LOCATIONS"] = "locations";
|
|
13
13
|
KafkaTopic["LOCATION_GROUPS"] = "location_groups";
|
|
14
14
|
KafkaTopic["OPERATOR_LOCATION_GROUPS"] = "operator_location_groups";
|
|
@@ -27,7 +27,7 @@ const MessageIssuer = {
|
|
|
27
27
|
[KafkaTopic.CONSUMERS]: serviceIdentity_1.Service.BACKEND,
|
|
28
28
|
[KafkaTopic.OPERATORS]: serviceIdentity_1.Service.BACKEND,
|
|
29
29
|
[KafkaTopic.OPERATOR_DEVICES]: serviceIdentity_1.Service.BACKEND,
|
|
30
|
-
[KafkaTopic.
|
|
30
|
+
[KafkaTopic.OPERATORS_PAY]: serviceIdentity_1.Service.BACKEND_PAY,
|
|
31
31
|
[KafkaTopic.LOCATIONS]: serviceIdentity_1.Service.BACKEND,
|
|
32
32
|
[KafkaTopic.LOCATION_GROUPS]: serviceIdentity_1.Service.BACKEND,
|
|
33
33
|
[KafkaTopic.OPERATOR_LOCATION_GROUPS]: serviceIdentity_1.Service.BACKEND,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucaapp/service-utils",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"libphonenumber-js": "1.9.44",
|
|
40
40
|
"lodash": "^4.17.21",
|
|
41
41
|
"moment-timezone": "^0.5.44",
|
|
42
|
-
"negotiator": "^0.6.
|
|
42
|
+
"negotiator": "^0.6.4",
|
|
43
43
|
"pino-http": "9.0.0",
|
|
44
44
|
"pino-sentry-transport": "^1.5.0",
|
|
45
45
|
"prom-client": "14.1.0",
|
|
46
|
-
"response-time": "2.3.
|
|
46
|
+
"response-time": "2.3.4",
|
|
47
47
|
"sequelize": "6.32.0",
|
|
48
48
|
"sqlite3": "5.1.1",
|
|
49
49
|
"swagger-ui-express": "5.0.1",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/busboy": "^1.5.4",
|
|
56
56
|
"@types/lodash": "^4.14.187",
|
|
57
|
-
"@types/negotiator": "^0.6.
|
|
57
|
+
"@types/negotiator": "^0.6.4",
|
|
58
58
|
"@types/pino-http": "5.8.4",
|
|
59
59
|
"@types/supertest": "2.0.16",
|
|
60
60
|
"@types/uuid": "^8.3.4",
|
|
File without changes
|