@cargolift-cdi/types 0.1.124 → 0.1.126
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.
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IntegrationInboundRoutingEvent {
|
|
3
|
-
event: string;
|
|
4
|
-
conditions?: PayloadConditionsValue;
|
|
5
|
-
default?: boolean;
|
|
6
|
-
onError?: 'ignore' | 'fail';
|
|
7
|
-
}
|
|
8
|
-
export interface IntegrationInboundRoutingAction {
|
|
9
|
-
action: string;
|
|
10
|
-
conditions?: PayloadConditionsValue;
|
|
11
|
-
default?: boolean;
|
|
12
|
-
onError?: 'ignore' | 'fail';
|
|
13
|
-
}
|
|
1
|
+
import { IntegrationInboundRouting } from "../interfaces/integration.interface.js";
|
|
14
2
|
/**
|
|
15
3
|
* Eventos de integração (tms.driver) - Ocorre na integração de entrada (inbound) antes do roteamento.
|
|
16
4
|
* Define expressões JSONata para transformar mensagens de eventos externos em formato JSON canônico interno.
|
|
@@ -27,11 +15,11 @@ export declare class IntegrationInbound {
|
|
|
27
15
|
/** Condições de roteamento de ações (action) baseadas no payload de canônico
|
|
28
16
|
* Direciona a integração para diferentes eventos de outbound (saída). Ex: 'driver' para 'people'
|
|
29
17
|
*/
|
|
30
|
-
routingOutboundEvent?:
|
|
18
|
+
routingOutboundEvent?: IntegrationInboundRouting[];
|
|
31
19
|
/** Condições de definição para ações (action) baseadas no payload canônico
|
|
32
20
|
* Direciona a integração para diferentes ações de outbound (saída). Ex: 'POST' para 'CREATE', 'PUT' para 'UPDATE'
|
|
33
21
|
*/
|
|
34
|
-
routingOutboundAction?:
|
|
22
|
+
routingOutboundAction?: IntegrationInboundRouting[];
|
|
35
23
|
/** Versão da rota. Apenas a última versão pode estar ativa. Versões anteriores não podem sofrer modificações */
|
|
36
24
|
version: number;
|
|
37
25
|
/**Se a rota está ativa */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-inbound.entity.d.ts","sourceRoot":"","sources":["../../src/entities/integration-inbound.entity.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"integration-inbound.entity.d.ts","sourceRoot":"","sources":["../../src/entities/integration-inbound.entity.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAGnF;;;;GAIG;AACH,qBAMa,kBAAkB;IAE7B,EAAE,EAAG,MAAM,CAAC;IAEZ,sCAAsC;IAEtC,MAAM,EAAG,MAAM,CAAC;IAEhB,8BAA8B;IAE9B,KAAK,EAAG,MAAM,CAAC;IAEf,oDAAoD;IAEpD,MAAM,EAAG,MAAM,CAAC;IAEhB;;MAEE;IAEF,oBAAoB,CAAC,EAAE,yBAAyB,EAAE,CAAC;IAEpD;;OAEG;IAEF,qBAAqB,CAAC,EAAE,yBAAyB,EAAE,CAAC;IAEpD,gHAAgH;IAEhH,OAAO,EAAG,MAAM,CAAC;IAEjB,0BAA0B;IAE1B,MAAM,EAAG,OAAO,CAAC;IAEjB,6CAA6C;IAE7C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,yFAAyF;IAEzF,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IAExC,yFAAyF;IAEzF,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B,8FAA8F;IAE9F,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IAInC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIxB,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzC,oDAAoD;IAKpD,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;CAClB"}
|