@remnawave/backend-contract 2.0.0-alpha.17 → 2.0.0-alpha.19
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/build/backend/api/controllers/infra-billing.d.ts.map +1 -1
- package/build/backend/api/controllers/infra-billing.js +0 -4
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +33 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/create-billing-node.command.js +5 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +33 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +5 -0
- package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts +33 -0
- package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-blling-nodes.command.js +5 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +33 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-billing-node.command.js +5 -0
- package/build/backend/constants/errors/errors.d.ts +5 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +5 -0
- package/build/backend/constants/events/events.d.ts +11 -0
- package/build/backend/constants/events/events.d.ts.map +1 -1
- package/build/backend/constants/events/events.js +10 -0
- package/build/backend/constants/templates/template-keys.d.ts +1 -1
- package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
- package/build/backend/constants/templates/template-keys.js +1 -0
- package/build/frontend/api/controllers/infra-billing.js +0 -4
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +5 -0
- package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +5 -0
- package/build/frontend/commands/infra-billing/get-blling-nodes.command.js +5 -0
- package/build/frontend/commands/infra-billing/update-billing-node.command.js +5 -0
- package/build/frontend/constants/errors/errors.js +5 -0
- package/build/frontend/constants/events/events.js +10 -0
- package/build/frontend/constants/templates/template-keys.js +1 -0
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"infra-billing.d.ts","sourceRoot":"","sources":["../../../../api/controllers/infra-billing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,EAAG,eAAwB,CAAC;AAEjE,eAAO,MAAM,oBAAoB;;;;qCAIL,MAAM;0CACD,MAAM;;;;yCAKP,MAAM;;;4CAIH,MAAM;
|
1
|
+
{"version":3,"file":"infra-billing.d.ts","sourceRoot":"","sources":["../../../../api/controllers/infra-billing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,EAAG,eAAwB,CAAC;AAEjE,eAAO,MAAM,oBAAoB;;;;qCAIL,MAAM;0CACD,MAAM;;;;yCAKP,MAAM;;;4CAIH,MAAM;CAC/B,CAAC"}
|
@@ -15,8 +15,4 @@ exports.INFRA_BILLING_ROUTES = {
|
|
15
15
|
GET_BILLING_HISTORY: 'history', // Get list of all nodes billing history // get
|
16
16
|
CREATE_BILLING_HISTORY: 'history', // Create new node billing history // post
|
17
17
|
DELETE_BILLING_HISTORY: (uuid) => `history/${uuid}`, // Delete node billing history by uuid // delete
|
18
|
-
// GET_BILLING_HISTORY_BY_NODE_UUID: (nodeUuid: string) => `history/${nodeUuid}`, // Get list of all nodes billing history by node uuid // get
|
19
|
-
// GET_BILLING_HISTORY_BY_PROVIDER_UUID: (providerUuid: string) => `history/${providerUuid}`, // Get list of all nodes billing history by provider uuid // get
|
20
|
-
// GET_BILLING_HISTORY_BY_NODE_UUID_AND_PROVIDER_UUID: (nodeUuid: string, providerUuid: string) =>
|
21
|
-
// `history/${nodeUuid}/${providerUuid}`, // Get list of all nodes billing history by node uuid and provider uuid // get
|
22
18
|
};
|
@@ -261,7 +261,25 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
261
261
|
countryCode: string;
|
262
262
|
}>, "many">;
|
263
263
|
totalAvailableBillingNodes: z.ZodNumber;
|
264
|
+
stats: z.ZodObject<{
|
265
|
+
upcomingNodesCount: z.ZodNumber;
|
266
|
+
currentMonthPayments: z.ZodNumber;
|
267
|
+
totalSpent: z.ZodNumber;
|
268
|
+
}, "strip", z.ZodTypeAny, {
|
269
|
+
upcomingNodesCount: number;
|
270
|
+
currentMonthPayments: number;
|
271
|
+
totalSpent: number;
|
272
|
+
}, {
|
273
|
+
upcomingNodesCount: number;
|
274
|
+
currentMonthPayments: number;
|
275
|
+
totalSpent: number;
|
276
|
+
}>;
|
264
277
|
}, "strip", z.ZodTypeAny, {
|
278
|
+
stats: {
|
279
|
+
upcomingNodesCount: number;
|
280
|
+
currentMonthPayments: number;
|
281
|
+
totalSpent: number;
|
282
|
+
};
|
265
283
|
billingNodes: {
|
266
284
|
uuid: string;
|
267
285
|
createdAt: Date;
|
@@ -289,6 +307,11 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
289
307
|
}[];
|
290
308
|
totalAvailableBillingNodes: number;
|
291
309
|
}, {
|
310
|
+
stats: {
|
311
|
+
upcomingNodesCount: number;
|
312
|
+
currentMonthPayments: number;
|
313
|
+
totalSpent: number;
|
314
|
+
};
|
292
315
|
billingNodes: {
|
293
316
|
uuid: string;
|
294
317
|
createdAt: string;
|
@@ -318,6 +341,11 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
318
341
|
}>;
|
319
342
|
}, "strip", z.ZodTypeAny, {
|
320
343
|
response: {
|
344
|
+
stats: {
|
345
|
+
upcomingNodesCount: number;
|
346
|
+
currentMonthPayments: number;
|
347
|
+
totalSpent: number;
|
348
|
+
};
|
321
349
|
billingNodes: {
|
322
350
|
uuid: string;
|
323
351
|
createdAt: Date;
|
@@ -347,6 +375,11 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
347
375
|
};
|
348
376
|
}, {
|
349
377
|
response: {
|
378
|
+
stats: {
|
379
|
+
upcomingNodesCount: number;
|
380
|
+
currentMonthPayments: number;
|
381
|
+
totalSpent: number;
|
382
|
+
};
|
350
383
|
billingNodes: {
|
351
384
|
uuid: string;
|
352
385
|
createdAt: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/create-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAWxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"create-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/create-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAWxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -28,6 +28,11 @@ var CreateInfraBillingNodeCommand;
|
|
28
28
|
billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
|
29
29
|
availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
|
30
30
|
totalAvailableBillingNodes: zod_1.z.number(),
|
31
|
+
stats: zod_1.z.object({
|
32
|
+
upcomingNodesCount: zod_1.z.number(),
|
33
|
+
currentMonthPayments: zod_1.z.number(),
|
34
|
+
totalSpent: zod_1.z.number(),
|
35
|
+
}),
|
31
36
|
}),
|
32
37
|
});
|
33
38
|
})(CreateInfraBillingNodeCommand || (exports.CreateInfraBillingNodeCommand = CreateInfraBillingNodeCommand = {}));
|
@@ -255,7 +255,25 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
255
255
|
countryCode: string;
|
256
256
|
}>, "many">;
|
257
257
|
totalAvailableBillingNodes: z.ZodNumber;
|
258
|
+
stats: z.ZodObject<{
|
259
|
+
upcomingNodesCount: z.ZodNumber;
|
260
|
+
currentMonthPayments: z.ZodNumber;
|
261
|
+
totalSpent: z.ZodNumber;
|
262
|
+
}, "strip", z.ZodTypeAny, {
|
263
|
+
upcomingNodesCount: number;
|
264
|
+
currentMonthPayments: number;
|
265
|
+
totalSpent: number;
|
266
|
+
}, {
|
267
|
+
upcomingNodesCount: number;
|
268
|
+
currentMonthPayments: number;
|
269
|
+
totalSpent: number;
|
270
|
+
}>;
|
258
271
|
}, "strip", z.ZodTypeAny, {
|
272
|
+
stats: {
|
273
|
+
upcomingNodesCount: number;
|
274
|
+
currentMonthPayments: number;
|
275
|
+
totalSpent: number;
|
276
|
+
};
|
259
277
|
billingNodes: {
|
260
278
|
uuid: string;
|
261
279
|
createdAt: Date;
|
@@ -283,6 +301,11 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
283
301
|
}[];
|
284
302
|
totalAvailableBillingNodes: number;
|
285
303
|
}, {
|
304
|
+
stats: {
|
305
|
+
upcomingNodesCount: number;
|
306
|
+
currentMonthPayments: number;
|
307
|
+
totalSpent: number;
|
308
|
+
};
|
286
309
|
billingNodes: {
|
287
310
|
uuid: string;
|
288
311
|
createdAt: string;
|
@@ -312,6 +335,11 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
312
335
|
}>;
|
313
336
|
}, "strip", z.ZodTypeAny, {
|
314
337
|
response: {
|
338
|
+
stats: {
|
339
|
+
upcomingNodesCount: number;
|
340
|
+
currentMonthPayments: number;
|
341
|
+
totalSpent: number;
|
342
|
+
};
|
315
343
|
billingNodes: {
|
316
344
|
uuid: string;
|
317
345
|
createdAt: Date;
|
@@ -341,6 +369,11 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
341
369
|
};
|
342
370
|
}, {
|
343
371
|
response: {
|
372
|
+
stats: {
|
373
|
+
upcomingNodesCount: number;
|
374
|
+
currentMonthPayments: number;
|
375
|
+
totalSpent: number;
|
376
|
+
};
|
344
377
|
billingNodes: {
|
345
378
|
uuid: string;
|
346
379
|
createdAt: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,QAAsD,CAAC;IAChE,MAAM,OAAO,QAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,QAAsD,CAAC;IAChE,MAAM,OAAO,QAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -19,6 +19,11 @@ var DeleteInfraBillingNodeByUuidCommand;
|
|
19
19
|
billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
|
20
20
|
availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
|
21
21
|
totalAvailableBillingNodes: zod_1.z.number(),
|
22
|
+
stats: zod_1.z.object({
|
23
|
+
upcomingNodesCount: zod_1.z.number(),
|
24
|
+
currentMonthPayments: zod_1.z.number(),
|
25
|
+
totalSpent: zod_1.z.number(),
|
26
|
+
}),
|
22
27
|
}),
|
23
28
|
});
|
24
29
|
})(DeleteInfraBillingNodeByUuidCommand || (exports.DeleteInfraBillingNodeByUuidCommand = DeleteInfraBillingNodeByUuidCommand = {}));
|
@@ -247,7 +247,25 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
247
247
|
countryCode: string;
|
248
248
|
}>, "many">;
|
249
249
|
totalAvailableBillingNodes: z.ZodNumber;
|
250
|
+
stats: z.ZodObject<{
|
251
|
+
upcomingNodesCount: z.ZodNumber;
|
252
|
+
currentMonthPayments: z.ZodNumber;
|
253
|
+
totalSpent: z.ZodNumber;
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
255
|
+
upcomingNodesCount: number;
|
256
|
+
currentMonthPayments: number;
|
257
|
+
totalSpent: number;
|
258
|
+
}, {
|
259
|
+
upcomingNodesCount: number;
|
260
|
+
currentMonthPayments: number;
|
261
|
+
totalSpent: number;
|
262
|
+
}>;
|
250
263
|
}, "strip", z.ZodTypeAny, {
|
264
|
+
stats: {
|
265
|
+
upcomingNodesCount: number;
|
266
|
+
currentMonthPayments: number;
|
267
|
+
totalSpent: number;
|
268
|
+
};
|
251
269
|
billingNodes: {
|
252
270
|
uuid: string;
|
253
271
|
createdAt: Date;
|
@@ -275,6 +293,11 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
275
293
|
}[];
|
276
294
|
totalAvailableBillingNodes: number;
|
277
295
|
}, {
|
296
|
+
stats: {
|
297
|
+
upcomingNodesCount: number;
|
298
|
+
currentMonthPayments: number;
|
299
|
+
totalSpent: number;
|
300
|
+
};
|
278
301
|
billingNodes: {
|
279
302
|
uuid: string;
|
280
303
|
createdAt: string;
|
@@ -304,6 +327,11 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
304
327
|
}>;
|
305
328
|
}, "strip", z.ZodTypeAny, {
|
306
329
|
response: {
|
330
|
+
stats: {
|
331
|
+
upcomingNodesCount: number;
|
332
|
+
currentMonthPayments: number;
|
333
|
+
totalSpent: number;
|
334
|
+
};
|
307
335
|
billingNodes: {
|
308
336
|
uuid: string;
|
309
337
|
createdAt: Date;
|
@@ -333,6 +361,11 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
333
361
|
};
|
334
362
|
}, {
|
335
363
|
response: {
|
364
|
+
stats: {
|
365
|
+
upcomingNodesCount: number;
|
366
|
+
currentMonthPayments: number;
|
367
|
+
totalSpent: number;
|
368
|
+
};
|
336
369
|
billingNodes: {
|
337
370
|
uuid: string;
|
338
371
|
createdAt: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-blling-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-blling-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc
|
1
|
+
{"version":3,"file":"get-blling-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-blling-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -16,6 +16,11 @@ var GetInfraBillingNodesCommand;
|
|
16
16
|
billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
|
17
17
|
availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
|
18
18
|
totalAvailableBillingNodes: zod_1.z.number(),
|
19
|
+
stats: zod_1.z.object({
|
20
|
+
upcomingNodesCount: zod_1.z.number(),
|
21
|
+
currentMonthPayments: zod_1.z.number(),
|
22
|
+
totalSpent: zod_1.z.number(),
|
23
|
+
}),
|
19
24
|
}),
|
20
25
|
});
|
21
26
|
})(GetInfraBillingNodesCommand || (exports.GetInfraBillingNodesCommand = GetInfraBillingNodesCommand = {}));
|
@@ -258,7 +258,25 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
258
258
|
countryCode: string;
|
259
259
|
}>, "many">;
|
260
260
|
totalAvailableBillingNodes: z.ZodNumber;
|
261
|
+
stats: z.ZodObject<{
|
262
|
+
upcomingNodesCount: z.ZodNumber;
|
263
|
+
currentMonthPayments: z.ZodNumber;
|
264
|
+
totalSpent: z.ZodNumber;
|
265
|
+
}, "strip", z.ZodTypeAny, {
|
266
|
+
upcomingNodesCount: number;
|
267
|
+
currentMonthPayments: number;
|
268
|
+
totalSpent: number;
|
269
|
+
}, {
|
270
|
+
upcomingNodesCount: number;
|
271
|
+
currentMonthPayments: number;
|
272
|
+
totalSpent: number;
|
273
|
+
}>;
|
261
274
|
}, "strip", z.ZodTypeAny, {
|
275
|
+
stats: {
|
276
|
+
upcomingNodesCount: number;
|
277
|
+
currentMonthPayments: number;
|
278
|
+
totalSpent: number;
|
279
|
+
};
|
262
280
|
billingNodes: {
|
263
281
|
uuid: string;
|
264
282
|
createdAt: Date;
|
@@ -286,6 +304,11 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
286
304
|
}[];
|
287
305
|
totalAvailableBillingNodes: number;
|
288
306
|
}, {
|
307
|
+
stats: {
|
308
|
+
upcomingNodesCount: number;
|
309
|
+
currentMonthPayments: number;
|
310
|
+
totalSpent: number;
|
311
|
+
};
|
289
312
|
billingNodes: {
|
290
313
|
uuid: string;
|
291
314
|
createdAt: string;
|
@@ -315,6 +338,11 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
315
338
|
}>;
|
316
339
|
}, "strip", z.ZodTypeAny, {
|
317
340
|
response: {
|
341
|
+
stats: {
|
342
|
+
upcomingNodesCount: number;
|
343
|
+
currentMonthPayments: number;
|
344
|
+
totalSpent: number;
|
345
|
+
};
|
318
346
|
billingNodes: {
|
319
347
|
uuid: string;
|
320
348
|
createdAt: Date;
|
@@ -344,6 +372,11 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
344
372
|
};
|
345
373
|
}, {
|
346
374
|
response: {
|
375
|
+
stats: {
|
376
|
+
upcomingNodesCount: number;
|
377
|
+
currentMonthPayments: number;
|
378
|
+
totalSpent: number;
|
379
|
+
};
|
347
380
|
billingNodes: {
|
348
381
|
uuid: string;
|
349
382
|
createdAt: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/update-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAQxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"update-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/update-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAQxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -25,6 +25,11 @@ var UpdateInfraBillingNodeCommand;
|
|
25
25
|
billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
|
26
26
|
availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
|
27
27
|
totalAvailableBillingNodes: zod_1.z.number(),
|
28
|
+
stats: zod_1.z.object({
|
29
|
+
upcomingNodesCount: zod_1.z.number(),
|
30
|
+
currentMonthPayments: zod_1.z.number(),
|
31
|
+
totalSpent: zod_1.z.number(),
|
32
|
+
}),
|
28
33
|
}),
|
29
34
|
});
|
30
35
|
})(UpdateInfraBillingNodeCommand || (exports.UpdateInfraBillingNodeCommand = UpdateInfraBillingNodeCommand = {}));
|
@@ -719,5 +719,10 @@ export declare const ERRORS: {
|
|
719
719
|
readonly message: "Delete infra billing node by UUID error";
|
720
720
|
readonly httpCode: 500;
|
721
721
|
};
|
722
|
+
readonly GET_BILLING_NODES_FOR_NOTIFICATIONS_ERROR: {
|
723
|
+
readonly code: "A139";
|
724
|
+
readonly message: "Get billing nodes for notifications error";
|
725
|
+
readonly httpCode: 500;
|
726
|
+
};
|
722
727
|
};
|
723
728
|
//# sourceMappingURL=errors.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0Y3B,CAAC"}
|
@@ -690,4 +690,9 @@ exports.ERRORS = {
|
|
690
690
|
message: 'Delete infra billing node by UUID error',
|
691
691
|
httpCode: 500,
|
692
692
|
},
|
693
|
+
GET_BILLING_NODES_FOR_NOTIFICATIONS_ERROR: {
|
694
|
+
code: 'A139',
|
695
|
+
message: 'Get billing nodes for notifications error',
|
696
|
+
httpCode: 500,
|
697
|
+
},
|
693
698
|
};
|
@@ -36,13 +36,24 @@ export declare const EVENTS: {
|
|
36
36
|
readonly ERRORS: {
|
37
37
|
readonly BANDWIDTH_USAGE_THRESHOLD_REACHED_MAX_NOTIFICATIONS: "errors.bandwidth_usage_threshold_reached_max_notifications";
|
38
38
|
};
|
39
|
+
readonly CRM: {
|
40
|
+
readonly INFRA_BILLING_NODE_PAYMENT_IN_7_DAYS: "crm.infra_billing_node_payment_in_7_days";
|
41
|
+
readonly INFRA_BILLING_NODE_PAYMENT_IN_48HRS: "crm.infra_billing_node_payment_in_48hrs";
|
42
|
+
readonly INFRA_BILLING_NODE_PAYMENT_IN_24HRS: "crm.infra_billing_node_payment_in_24hrs";
|
43
|
+
readonly INFRA_BILLING_NODE_PAYMENT_DUE_TODAY: "crm.infra_billing_node_payment_due_today";
|
44
|
+
readonly INFRA_BILLING_NODE_PAYMENT_OVERDUE_24HRS: "crm.infra_billing_node_payment_overdue_24hrs";
|
45
|
+
readonly INFRA_BILLING_NODE_PAYMENT_OVERDUE_48HRS: "crm.infra_billing_node_payment_overdue_48hrs";
|
46
|
+
readonly INFRA_BILLING_NODE_PAYMENT_OVERDUE_7_DAYS: "crm.infra_billing_node_payment_overdue_7_days";
|
47
|
+
};
|
39
48
|
readonly CATCH_ALL_USER_EVENTS: "user.*";
|
40
49
|
readonly CATCH_ALL_NODE_EVENTS: "node.*";
|
41
50
|
readonly CATCH_ALL_SERVICE_EVENTS: "service.*";
|
42
51
|
readonly CATCH_ALL_ERRORS_EVENTS: "errors.*";
|
52
|
+
readonly CATCH_ALL_CRM_EVENTS: "crm.*";
|
43
53
|
};
|
44
54
|
export type TNodeEvents = (typeof EVENTS.NODE)[keyof typeof EVENTS.NODE];
|
45
55
|
export type TUserEvents = (typeof EVENTS.USER)[keyof typeof EVENTS.USER];
|
46
56
|
export type TServiceEvents = (typeof EVENTS.SERVICE)[keyof typeof EVENTS.SERVICE];
|
47
57
|
export type TErrorsEvents = (typeof EVENTS.ERRORS)[keyof typeof EVENTS.ERRORS];
|
58
|
+
export type TCRMEvents = (typeof EVENTS.CRM)[keyof typeof EVENTS.CRM];
|
48
59
|
//# sourceMappingURL=events.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../constants/events/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../constants/events/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDT,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACzE,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACzE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC;AAClF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;AAC/E,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC"}
|
@@ -39,8 +39,18 @@ exports.EVENTS = {
|
|
39
39
|
ERRORS: {
|
40
40
|
BANDWIDTH_USAGE_THRESHOLD_REACHED_MAX_NOTIFICATIONS: 'errors.bandwidth_usage_threshold_reached_max_notifications',
|
41
41
|
},
|
42
|
+
CRM: {
|
43
|
+
INFRA_BILLING_NODE_PAYMENT_IN_7_DAYS: 'crm.infra_billing_node_payment_in_7_days',
|
44
|
+
INFRA_BILLING_NODE_PAYMENT_IN_48HRS: 'crm.infra_billing_node_payment_in_48hrs',
|
45
|
+
INFRA_BILLING_NODE_PAYMENT_IN_24HRS: 'crm.infra_billing_node_payment_in_24hrs',
|
46
|
+
INFRA_BILLING_NODE_PAYMENT_DUE_TODAY: 'crm.infra_billing_node_payment_due_today',
|
47
|
+
INFRA_BILLING_NODE_PAYMENT_OVERDUE_24HRS: 'crm.infra_billing_node_payment_overdue_24hrs',
|
48
|
+
INFRA_BILLING_NODE_PAYMENT_OVERDUE_48HRS: 'crm.infra_billing_node_payment_overdue_48hrs',
|
49
|
+
INFRA_BILLING_NODE_PAYMENT_OVERDUE_7_DAYS: 'crm.infra_billing_node_payment_overdue_7_days',
|
50
|
+
},
|
42
51
|
CATCH_ALL_USER_EVENTS: 'user.*',
|
43
52
|
CATCH_ALL_NODE_EVENTS: 'node.*',
|
44
53
|
CATCH_ALL_SERVICE_EVENTS: 'service.*',
|
45
54
|
CATCH_ALL_ERRORS_EVENTS: 'errors.*',
|
55
|
+
CATCH_ALL_CRM_EVENTS: 'crm.*',
|
46
56
|
};
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export declare const TEMPLATE_KEYS: readonly ["DAYS_LEFT", "TRAFFIC_USED", "TRAFFIC_LEFT", "STATUS", "TOTAL_TRAFFIC", "USERNAME", "EMAIL", "TELEGRAM_ID", "SUBSCRIPTION_URL"];
|
1
|
+
export declare const TEMPLATE_KEYS: readonly ["DAYS_LEFT", "TRAFFIC_USED", "TRAFFIC_LEFT", "STATUS", "TOTAL_TRAFFIC", "USERNAME", "EMAIL", "TELEGRAM_ID", "SUBSCRIPTION_URL", "TAG"];
|
2
2
|
export type TemplateKeys = (typeof TEMPLATE_KEYS)[number];
|
3
3
|
//# sourceMappingURL=template-keys.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"template-keys.d.ts","sourceRoot":"","sources":["../../../../constants/templates/template-keys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,
|
1
|
+
{"version":3,"file":"template-keys.d.ts","sourceRoot":"","sources":["../../../../constants/templates/template-keys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,kJAWhB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
@@ -15,8 +15,4 @@ exports.INFRA_BILLING_ROUTES = {
|
|
15
15
|
GET_BILLING_HISTORY: 'history', // Get list of all nodes billing history // get
|
16
16
|
CREATE_BILLING_HISTORY: 'history', // Create new node billing history // post
|
17
17
|
DELETE_BILLING_HISTORY: (uuid) => `history/${uuid}`, // Delete node billing history by uuid // delete
|
18
|
-
// GET_BILLING_HISTORY_BY_NODE_UUID: (nodeUuid: string) => `history/${nodeUuid}`, // Get list of all nodes billing history by node uuid // get
|
19
|
-
// GET_BILLING_HISTORY_BY_PROVIDER_UUID: (providerUuid: string) => `history/${providerUuid}`, // Get list of all nodes billing history by provider uuid // get
|
20
|
-
// GET_BILLING_HISTORY_BY_NODE_UUID_AND_PROVIDER_UUID: (nodeUuid: string, providerUuid: string) =>
|
21
|
-
// `history/${nodeUuid}/${providerUuid}`, // Get list of all nodes billing history by node uuid and provider uuid // get
|
22
18
|
};
|
@@ -28,6 +28,11 @@ var CreateInfraBillingNodeCommand;
|
|
28
28
|
billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
|
29
29
|
availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
|
30
30
|
totalAvailableBillingNodes: zod_1.z.number(),
|
31
|
+
stats: zod_1.z.object({
|
32
|
+
upcomingNodesCount: zod_1.z.number(),
|
33
|
+
currentMonthPayments: zod_1.z.number(),
|
34
|
+
totalSpent: zod_1.z.number(),
|
35
|
+
}),
|
31
36
|
}),
|
32
37
|
});
|
33
38
|
})(CreateInfraBillingNodeCommand || (exports.CreateInfraBillingNodeCommand = CreateInfraBillingNodeCommand = {}));
|
@@ -19,6 +19,11 @@ var DeleteInfraBillingNodeByUuidCommand;
|
|
19
19
|
billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
|
20
20
|
availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
|
21
21
|
totalAvailableBillingNodes: zod_1.z.number(),
|
22
|
+
stats: zod_1.z.object({
|
23
|
+
upcomingNodesCount: zod_1.z.number(),
|
24
|
+
currentMonthPayments: zod_1.z.number(),
|
25
|
+
totalSpent: zod_1.z.number(),
|
26
|
+
}),
|
22
27
|
}),
|
23
28
|
});
|
24
29
|
})(DeleteInfraBillingNodeByUuidCommand || (exports.DeleteInfraBillingNodeByUuidCommand = DeleteInfraBillingNodeByUuidCommand = {}));
|
@@ -16,6 +16,11 @@ var GetInfraBillingNodesCommand;
|
|
16
16
|
billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
|
17
17
|
availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
|
18
18
|
totalAvailableBillingNodes: zod_1.z.number(),
|
19
|
+
stats: zod_1.z.object({
|
20
|
+
upcomingNodesCount: zod_1.z.number(),
|
21
|
+
currentMonthPayments: zod_1.z.number(),
|
22
|
+
totalSpent: zod_1.z.number(),
|
23
|
+
}),
|
19
24
|
}),
|
20
25
|
});
|
21
26
|
})(GetInfraBillingNodesCommand || (exports.GetInfraBillingNodesCommand = GetInfraBillingNodesCommand = {}));
|
@@ -25,6 +25,11 @@ var UpdateInfraBillingNodeCommand;
|
|
25
25
|
billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
|
26
26
|
availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
|
27
27
|
totalAvailableBillingNodes: zod_1.z.number(),
|
28
|
+
stats: zod_1.z.object({
|
29
|
+
upcomingNodesCount: zod_1.z.number(),
|
30
|
+
currentMonthPayments: zod_1.z.number(),
|
31
|
+
totalSpent: zod_1.z.number(),
|
32
|
+
}),
|
28
33
|
}),
|
29
34
|
});
|
30
35
|
})(UpdateInfraBillingNodeCommand || (exports.UpdateInfraBillingNodeCommand = UpdateInfraBillingNodeCommand = {}));
|
@@ -690,4 +690,9 @@ exports.ERRORS = {
|
|
690
690
|
message: 'Delete infra billing node by UUID error',
|
691
691
|
httpCode: 500,
|
692
692
|
},
|
693
|
+
GET_BILLING_NODES_FOR_NOTIFICATIONS_ERROR: {
|
694
|
+
code: 'A139',
|
695
|
+
message: 'Get billing nodes for notifications error',
|
696
|
+
httpCode: 500,
|
697
|
+
},
|
693
698
|
};
|
@@ -39,8 +39,18 @@ exports.EVENTS = {
|
|
39
39
|
ERRORS: {
|
40
40
|
BANDWIDTH_USAGE_THRESHOLD_REACHED_MAX_NOTIFICATIONS: 'errors.bandwidth_usage_threshold_reached_max_notifications',
|
41
41
|
},
|
42
|
+
CRM: {
|
43
|
+
INFRA_BILLING_NODE_PAYMENT_IN_7_DAYS: 'crm.infra_billing_node_payment_in_7_days',
|
44
|
+
INFRA_BILLING_NODE_PAYMENT_IN_48HRS: 'crm.infra_billing_node_payment_in_48hrs',
|
45
|
+
INFRA_BILLING_NODE_PAYMENT_IN_24HRS: 'crm.infra_billing_node_payment_in_24hrs',
|
46
|
+
INFRA_BILLING_NODE_PAYMENT_DUE_TODAY: 'crm.infra_billing_node_payment_due_today',
|
47
|
+
INFRA_BILLING_NODE_PAYMENT_OVERDUE_24HRS: 'crm.infra_billing_node_payment_overdue_24hrs',
|
48
|
+
INFRA_BILLING_NODE_PAYMENT_OVERDUE_48HRS: 'crm.infra_billing_node_payment_overdue_48hrs',
|
49
|
+
INFRA_BILLING_NODE_PAYMENT_OVERDUE_7_DAYS: 'crm.infra_billing_node_payment_overdue_7_days',
|
50
|
+
},
|
42
51
|
CATCH_ALL_USER_EVENTS: 'user.*',
|
43
52
|
CATCH_ALL_NODE_EVENTS: 'node.*',
|
44
53
|
CATCH_ALL_SERVICE_EVENTS: 'service.*',
|
45
54
|
CATCH_ALL_ERRORS_EVENTS: 'errors.*',
|
55
|
+
CATCH_ALL_CRM_EVENTS: 'crm.*',
|
46
56
|
};
|
package/package.json
CHANGED