@fiado/type-kit 3.20.3 → 3.21.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.
|
@@ -2,12 +2,17 @@
|
|
|
2
2
|
* Mensaje SQS genérico para colas de crédito (P4-P10).
|
|
3
3
|
* Usado por: Collection, Delinquency, LienCollection, Notification,
|
|
4
4
|
* Reconciliation, Statement, Transfer, Scoring, OfferGeneration, IncomeDetection.
|
|
5
|
+
*
|
|
6
|
+
* `directoryId` es lo unico requerido. Los demas son opcionales porque hay
|
|
7
|
+
* emisores externos (ej: wallet/account/STP notificando un deposit en tiempo
|
|
8
|
+
* real para IncomeDetectionQueue) que NO conocen el contexto de credito del
|
|
9
|
+
* usuario — el consumer del worker los resuelve internamente cuando los necesita.
|
|
5
10
|
*/
|
|
6
11
|
export interface CreditQueueMessage {
|
|
7
12
|
directoryId: string;
|
|
8
|
-
creditId
|
|
9
|
-
executionId
|
|
10
|
-
partnerId
|
|
11
|
-
eventType
|
|
13
|
+
creditId?: string;
|
|
14
|
+
executionId?: string;
|
|
15
|
+
partnerId?: string;
|
|
16
|
+
eventType?: string;
|
|
12
17
|
payload?: Record<string, any>;
|
|
13
18
|
}
|
package/package.json
CHANGED
|
@@ -2,12 +2,17 @@
|
|
|
2
2
|
* Mensaje SQS genérico para colas de crédito (P4-P10).
|
|
3
3
|
* Usado por: Collection, Delinquency, LienCollection, Notification,
|
|
4
4
|
* Reconciliation, Statement, Transfer, Scoring, OfferGeneration, IncomeDetection.
|
|
5
|
+
*
|
|
6
|
+
* `directoryId` es lo unico requerido. Los demas son opcionales porque hay
|
|
7
|
+
* emisores externos (ej: wallet/account/STP notificando un deposit en tiempo
|
|
8
|
+
* real para IncomeDetectionQueue) que NO conocen el contexto de credito del
|
|
9
|
+
* usuario — el consumer del worker los resuelve internamente cuando los necesita.
|
|
5
10
|
*/
|
|
6
11
|
export interface CreditQueueMessage {
|
|
7
12
|
directoryId: string;
|
|
8
|
-
creditId
|
|
9
|
-
executionId
|
|
10
|
-
partnerId
|
|
11
|
-
eventType
|
|
13
|
+
creditId?: string;
|
|
14
|
+
executionId?: string;
|
|
15
|
+
partnerId?: string;
|
|
16
|
+
eventType?: string;
|
|
12
17
|
payload?: Record<string, any>;
|
|
13
18
|
}
|