@cargolift-cdi/types 0.1.128 → 0.1.131
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/entities/log-integration-inbound.entity.d.ts +5 -3
- package/dist/entities/log-integration-inbound.entity.d.ts.map +1 -1
- package/dist/entities/log-integration-inbound.entity.js +9 -4
- package/dist/entities/log-integration-outbound.entity.d.ts +5 -3
- package/dist/entities/log-integration-outbound.entity.d.ts.map +1 -1
- package/dist/entities/log-integration-outbound.entity.js +9 -4
- package/dist/enum/error-type.enum.d.ts +10 -7
- package/dist/enum/error-type.enum.d.ts.map +1 -1
- package/dist/enum/error-type.enum.js +10 -7
- package/dist/interfaces/context-message.interface.d.ts +3 -2
- package/dist/interfaces/context-message.interface.d.ts.map +1 -1
- package/dist/interfaces/context-message.interface.js +1 -0
- package/dist/interfaces/payload-condition.interface.d.ts +2 -1
- package/dist/interfaces/payload-condition.interface.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IntegrationStatus } from "../enum/integration.enums.js";
|
|
2
|
-
import { ErrorType } from "../enum/error-type.enum.js";
|
|
2
|
+
import { ErrorSource, ErrorType } from "../enum/error-type.enum.js";
|
|
3
3
|
/**
|
|
4
4
|
* Mantém o histórico de chamadas de integração de entrada (inbound).
|
|
5
5
|
* Armazena o request e response para auditoria e troubleshooting.
|
|
@@ -52,8 +52,10 @@ export declare class LogIntegrationInbound {
|
|
|
52
52
|
errorMessage?: string | null;
|
|
53
53
|
/** Stack completo quando disponível (mantido para investigações) */
|
|
54
54
|
errorStack?: string | null;
|
|
55
|
-
/** Classificação do erro
|
|
56
|
-
|
|
55
|
+
/** Classificação do erro */
|
|
56
|
+
errorType?: ErrorType | null;
|
|
57
|
+
/** Agente causador do erro */
|
|
58
|
+
errorSource?: ErrorSource | null;
|
|
57
59
|
/** Mensagens de avisos e alertas não críticas */
|
|
58
60
|
warns?: string | null;
|
|
59
61
|
/** Indica se este log veio de um replay manual ou DLQ */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-integration-inbound.entity.d.ts","sourceRoot":"","sources":["../../src/entities/log-integration-inbound.entity.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"log-integration-inbound.entity.d.ts","sourceRoot":"","sources":["../../src/entities/log-integration-inbound.entity.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAGpE;;;GAGG;AACH,qBAMa,qBAAqB;IAEhC,EAAE,EAAG,MAAM,CAAC;IAEZ,8CAA8C;IAE9C,MAAM,EAAG,MAAM,CAAC;IAEhB,0DAA0D;IAE1D,KAAK,EAAG,MAAM,CAAC;IAEf,qDAAqD;IAErD,MAAM,EAAG,MAAM,CAAC;IAEhB,kFAAkF;IAElF,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,qFAAqF;IAErF,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B,qBAAqB;IAErB,aAAa,EAAG,MAAM,CAAC;IAEvB,oCAAoC;IAEpC,MAAM,EAAG,iBAAiB,CAAC;IAE3B,wCAAwC;IAExC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B,+CAA+C;IAE/C,cAAc,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAE/B,kDAAkD;IAElD,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAE/B,8CAA8C;IAE9C,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAE3B,qCAAqC;IAErC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC,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 +57,10 @@ let LogIntegrationInbound = class LogIntegrationInbound {
|
|
|
57
57
|
errorMessage;
|
|
58
58
|
/** Stack completo quando disponível (mantido para investigações) */
|
|
59
59
|
errorStack;
|
|
60
|
-
/** Classificação do erro
|
|
61
|
-
|
|
60
|
+
/** Classificação do erro */
|
|
61
|
+
errorType;
|
|
62
|
+
/** Agente causador do erro */
|
|
63
|
+
errorSource;
|
|
62
64
|
/** Mensagens de avisos e alertas não críticas */
|
|
63
65
|
warns;
|
|
64
66
|
/** Indica se este log veio de um replay manual ou DLQ */
|
|
@@ -149,8 +151,11 @@ __decorate([
|
|
|
149
151
|
Column({ type: 'text', nullable: true })
|
|
150
152
|
], LogIntegrationInbound.prototype, "errorStack", void 0);
|
|
151
153
|
__decorate([
|
|
152
|
-
Column({ type: 'varchar', length:
|
|
153
|
-
], LogIntegrationInbound.prototype, "
|
|
154
|
+
Column({ type: 'varchar', length: 15, nullable: true })
|
|
155
|
+
], LogIntegrationInbound.prototype, "errorType", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
Column({ type: 'varchar', length: 15, nullable: true })
|
|
158
|
+
], LogIntegrationInbound.prototype, "errorSource", void 0);
|
|
154
159
|
__decorate([
|
|
155
160
|
Column({ type: 'text', nullable: true })
|
|
156
161
|
], LogIntegrationInbound.prototype, "warns", void 0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IntegrationStatus } from "../enum/integration.enums.js";
|
|
2
|
-
import { ErrorType } from "../enum/error-type.enum.js";
|
|
2
|
+
import { ErrorSource, ErrorType } from "../enum/error-type.enum.js";
|
|
3
3
|
/**
|
|
4
4
|
* Mantém o histórico de chamadas de integração de entrada (inbound).
|
|
5
5
|
* Armazena o request e response para auditoria e troubleshooting.
|
|
@@ -46,8 +46,10 @@ export declare class LogIntegrationOutbound {
|
|
|
46
46
|
errorMessage?: string | null;
|
|
47
47
|
/** Stack completo quando disponível (mantido para investigações) */
|
|
48
48
|
errorStack?: string | null;
|
|
49
|
-
/** Classificação do erro
|
|
50
|
-
|
|
49
|
+
/** Classificação do erro */
|
|
50
|
+
errorType?: ErrorType | null;
|
|
51
|
+
/** Agente causador do erro */
|
|
52
|
+
errorSource?: ErrorSource | null;
|
|
51
53
|
/** Indica se este log veio de um replay manual ou DLQ */
|
|
52
54
|
/** ID da tabela integration_inbound */
|
|
53
55
|
inboundId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-integration-outbound.entity.d.ts","sourceRoot":"","sources":["../../src/entities/log-integration-outbound.entity.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"log-integration-outbound.entity.d.ts","sourceRoot":"","sources":["../../src/entities/log-integration-outbound.entity.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAGpE;;;GAGG;AACH,qBAMa,sBAAsB;IAEjC,EAAE,EAAG,MAAM,CAAC;IAEZ,8CAA8C;IAE9C,MAAM,EAAG,MAAM,CAAC;IAEhB,0DAA0D;IAE1D,KAAK,EAAG,MAAM,CAAC;IAEf,qDAAqD;IAErD,MAAM,EAAG,MAAM,CAAC;IAEhB,qBAAqB;IAErB,aAAa,EAAG,MAAM,CAAC;IAEvB,+CAA+C;IAE/C,cAAc,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAE/B,kDAAkD;IAElD,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAE/B,8CAA8C;IAE9C,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAE3B,qCAAqC;IAErC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC,uDAAuD;IAEvD,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC,qCAAqC;IAErC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,oCAAoC;IAEpC,MAAM,EAAG,iBAAiB,CAAC;IAE3B,wCAAwC;IAExC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B,4EAA4E;IAE5E,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,sDAAsD;IAEtD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,6BAA6B;IAE7B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,oDAAoD;IAEpD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,uFAAuF;IAEvF,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnC,mDAAmD;IAEnD,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC,gCAAgC;IAEhC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B,oEAAoE;IAEpE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,6BAA6B;IAE7B,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAE7B,8BAA8B;IAE9B,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAEjC,yDAAyD;IAIzD,uCAAuC;IAEvC,SAAS,EAAG,MAAM,CAAC;IAGnB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;CAClB"}
|
|
@@ -51,8 +51,10 @@ let LogIntegrationOutbound = class LogIntegrationOutbound {
|
|
|
51
51
|
errorMessage;
|
|
52
52
|
/** Stack completo quando disponível (mantido para investigações) */
|
|
53
53
|
errorStack;
|
|
54
|
-
/** Classificação do erro
|
|
55
|
-
|
|
54
|
+
/** Classificação do erro */
|
|
55
|
+
errorType;
|
|
56
|
+
/** Agente causador do erro */
|
|
57
|
+
errorSource;
|
|
56
58
|
/** Indica se este log veio de um replay manual ou DLQ */
|
|
57
59
|
// @Column({ type: 'boolean', default: false })
|
|
58
60
|
// wasReplayedFromDlq!: boolean;
|
|
@@ -125,8 +127,11 @@ __decorate([
|
|
|
125
127
|
Column({ type: 'text', nullable: true })
|
|
126
128
|
], LogIntegrationOutbound.prototype, "errorStack", void 0);
|
|
127
129
|
__decorate([
|
|
128
|
-
Column({ type: 'varchar', length:
|
|
129
|
-
], LogIntegrationOutbound.prototype, "
|
|
130
|
+
Column({ type: 'varchar', length: 15, nullable: true })
|
|
131
|
+
], LogIntegrationOutbound.prototype, "errorType", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
Column({ type: 'varchar', length: 15, nullable: true })
|
|
134
|
+
], LogIntegrationOutbound.prototype, "errorSource", void 0);
|
|
130
135
|
__decorate([
|
|
131
136
|
Column({ type: 'bigint', nullable: true })
|
|
132
137
|
], LogIntegrationOutbound.prototype, "inboundId", void 0);
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
export declare enum ErrorType {
|
|
2
2
|
NONE = "none",
|
|
3
3
|
APPLICATION = "application",
|
|
4
|
-
|
|
4
|
+
BUSINESS = "business",
|
|
5
5
|
MIDDLEWARE = "middleware",
|
|
6
|
-
CLIENT = "client"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
CLIENT = "client"
|
|
7
|
+
}
|
|
8
|
+
export declare enum ErrorSource {
|
|
9
|
+
USER = "user",
|
|
10
|
+
APPLICATION = "application",
|
|
11
|
+
INFRASTRUCTURE = "infrastructure",
|
|
12
|
+
EXTERNAL = "external",
|
|
13
|
+
SETUP = "setup",
|
|
14
|
+
CONFIGURATION = "configuration"
|
|
12
15
|
}
|
|
13
16
|
//# sourceMappingURL=error-type.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-type.enum.d.ts","sourceRoot":"","sources":["../../src/enum/error-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,
|
|
1
|
+
{"version":3,"file":"error-type.enum.d.ts","sourceRoot":"","sources":["../../src/enum/error-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,MAAM,WAAW;CAClB;AAED,oBAAY,WAAW;IACrB,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,aAAa,kBAAkB;CAChC"}
|
|
@@ -2,13 +2,16 @@ export var ErrorType;
|
|
|
2
2
|
(function (ErrorType) {
|
|
3
3
|
ErrorType["NONE"] = "none";
|
|
4
4
|
ErrorType["APPLICATION"] = "application";
|
|
5
|
-
ErrorType["
|
|
5
|
+
ErrorType["BUSINESS"] = "business";
|
|
6
6
|
ErrorType["MIDDLEWARE"] = "middleware";
|
|
7
7
|
ErrorType["CLIENT"] = "client";
|
|
8
|
-
ErrorType["BUSINESS"] = "business";
|
|
9
|
-
ErrorType["BUSINESS_FATAL"] = "business_fatal";
|
|
10
|
-
ErrorType["APPLICATION_FATAL"] = "application_fatal";
|
|
11
|
-
ErrorType["USER_FATAL"] = "user_fatal";
|
|
12
|
-
ErrorType["CLIENT_FATAL"] = "client_fatal";
|
|
13
8
|
})(ErrorType || (ErrorType = {}));
|
|
14
|
-
|
|
9
|
+
export var ErrorSource;
|
|
10
|
+
(function (ErrorSource) {
|
|
11
|
+
ErrorSource["USER"] = "user";
|
|
12
|
+
ErrorSource["APPLICATION"] = "application";
|
|
13
|
+
ErrorSource["INFRASTRUCTURE"] = "infrastructure";
|
|
14
|
+
ErrorSource["EXTERNAL"] = "external";
|
|
15
|
+
ErrorSource["SETUP"] = "setup";
|
|
16
|
+
ErrorSource["CONFIGURATION"] = "configuration";
|
|
17
|
+
})(ErrorSource || (ErrorSource = {}));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LogIntegrationInbound } from "../entities/log-integration-inbound.entity.js";
|
|
2
2
|
import { LogIntegrationOutbound } from "../entities/log-integration-outbound.entity.js";
|
|
3
|
+
import { ErrorSource, ErrorType } from "../index.js";
|
|
3
4
|
export interface ContextApplication {
|
|
4
5
|
name: string;
|
|
5
6
|
function?: string;
|
|
@@ -22,9 +23,10 @@ export interface ContextSource {
|
|
|
22
23
|
user_email?: string;
|
|
23
24
|
}
|
|
24
25
|
export interface ContextError {
|
|
25
|
-
type: ContextErrorType;
|
|
26
26
|
code: string;
|
|
27
27
|
message: string;
|
|
28
|
+
type: ErrorType;
|
|
29
|
+
source?: ErrorSource;
|
|
28
30
|
stack_trace?: string;
|
|
29
31
|
}
|
|
30
32
|
export interface ContextMessage {
|
|
@@ -38,5 +40,4 @@ export interface ContextMessage {
|
|
|
38
40
|
inbound?: LogIntegrationInbound;
|
|
39
41
|
outbound?: LogIntegrationOutbound;
|
|
40
42
|
}
|
|
41
|
-
export type ContextErrorType = 'business' | 'application' | 'none';
|
|
42
43
|
//# sourceMappingURL=context-message.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-message.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/context-message.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"context-message.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/context-message.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAErD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.js";
|
|
1
|
+
import { ErrorSource, ErrorType } from "../enum/error-type.enum.js";
|
|
2
2
|
type Operator = "=" | "!=" | ">" | "<" | ">=" | "<=" | "in" | "not_in" | "contains" | "not_contains" | "starts_with" | "ends_with" | "exists" | "not_exists" | "empty" | "not_empty" | "regex";
|
|
3
3
|
interface ConditionBase {
|
|
4
4
|
left: string;
|
|
@@ -21,5 +21,6 @@ export interface PayloadConditionResult {
|
|
|
21
21
|
success: boolean;
|
|
22
22
|
error?: string;
|
|
23
23
|
errorType?: ErrorType | null;
|
|
24
|
+
errorSource?: ErrorSource | null;
|
|
24
25
|
}
|
|
25
26
|
//# sourceMappingURL=payload-condition.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload-condition.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/payload-condition.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"payload-condition.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/payload-condition.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEpE,KAAK,QAAQ,GACT,GAAG,GACH,IAAI,GACJ,GAAG,GACH,GAAG,GACH,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,QAAQ,GACR,UAAU,GACV,cAAc,GACd,aAAa,GACb,WAAW,GACX,QAAQ,GACR,YAAY,GACZ,OAAO,GACP,WAAW,GACX,OAAO,CAAC;AAEZ,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,GAAG,CAAC;CACZ;AAED,UAAU,YAAY;IACpB,GAAG,EAAE,CAAC,aAAa,GAAG,YAAY,GAAG,YAAY,CAAC,EAAE,CAAC;CACtD;AAED,UAAU,YAAY;IACpB,GAAG,EAAE,CAAC,aAAa,GAAG,YAAY,GAAG,YAAY,CAAC,EAAE,CAAC;CACtD;AAED,KAAK,SAAS,GAAG,aAAa,GAAG,YAAY,GAAG,YAAY,CAAC;AAE7D,KAAK,sBAAsB,GAAG,SAAS,GAAG,SAAS,EAAE,CAAC;AAEtD,UAAU,iBAAiB;IACzB,UAAU,EAAE,sBAAsB,CAAC;CACpC;AAED,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,CAAC;AAE1H,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAClC"}
|