@fiado/type-kit 3.388.0 → 3.389.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.
- package/bin/collection/enums/AckIntentStatus.d.ts +8 -0
- package/bin/collection/enums/AckIntentStatus.js +12 -0
- package/bin/collection/enums/RedriveOutboxStatus.d.ts +8 -0
- package/bin/collection/enums/RedriveOutboxStatus.js +12 -0
- package/bin/collection/enums/RetryIntentStatus.d.ts +8 -0
- package/bin/collection/enums/RetryIntentStatus.js +12 -0
- package/bin/collection/index.d.ts +3 -0
- package/bin/collection/index.js +3 -0
- package/package.json +1 -1
- package/src/collection/enums/AckIntentStatus.ts +8 -0
- package/src/collection/enums/RedriveOutboxStatus.ts +8 -0
- package/src/collection/enums/RetryIntentStatus.ts +8 -0
- package/src/collection/index.ts +3 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Desenlace de dar por atendida la alerta de un intent. No tiene variante "terminal": reconocer una
|
|
3
|
+
* alerta es válido incluso sobre un intent que ya cerró después del problema que la disparó.
|
|
4
|
+
*/
|
|
5
|
+
export declare enum AckIntentStatus {
|
|
6
|
+
ACKED = "ACKED",
|
|
7
|
+
NOT_FOUND = "NOT_FOUND"
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AckIntentStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Desenlace de dar por atendida la alerta de un intent. No tiene variante "terminal": reconocer una
|
|
6
|
+
* alerta es válido incluso sobre un intent que ya cerró después del problema que la disparó.
|
|
7
|
+
*/
|
|
8
|
+
var AckIntentStatus;
|
|
9
|
+
(function (AckIntentStatus) {
|
|
10
|
+
AckIntentStatus["ACKED"] = "ACKED";
|
|
11
|
+
AckIntentStatus["NOT_FOUND"] = "NOT_FOUND";
|
|
12
|
+
})(AckIntentStatus || (exports.AckIntentStatus = AckIntentStatus = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Desenlace de reinyectar un evento atascado en la cola muerta. */
|
|
2
|
+
export declare enum RedriveOutboxStatus {
|
|
3
|
+
/** El evento volvió a la cola de entrega y se reintentará. */
|
|
4
|
+
REDRIVEN = "REDRIVEN",
|
|
5
|
+
/** El evento no estaba en la cola muerta: reinyectarlo duplicaría una entrega en curso. */
|
|
6
|
+
NOT_DLQ = "NOT_DLQ",
|
|
7
|
+
NOT_FOUND = "NOT_FOUND"
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RedriveOutboxStatus = void 0;
|
|
4
|
+
/** Desenlace de reinyectar un evento atascado en la cola muerta. */
|
|
5
|
+
var RedriveOutboxStatus;
|
|
6
|
+
(function (RedriveOutboxStatus) {
|
|
7
|
+
/** El evento volvió a la cola de entrega y se reintentará. */
|
|
8
|
+
RedriveOutboxStatus["REDRIVEN"] = "REDRIVEN";
|
|
9
|
+
/** El evento no estaba en la cola muerta: reinyectarlo duplicaría una entrega en curso. */
|
|
10
|
+
RedriveOutboxStatus["NOT_DLQ"] = "NOT_DLQ";
|
|
11
|
+
RedriveOutboxStatus["NOT_FOUND"] = "NOT_FOUND";
|
|
12
|
+
})(RedriveOutboxStatus || (exports.RedriveOutboxStatus = RedriveOutboxStatus = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Desenlace de un reintento forzado desde el panel de operación. */
|
|
2
|
+
export declare enum RetryIntentStatus {
|
|
3
|
+
/** El intent estaba vivo y quedó reagendado para el próximo barrido. */
|
|
4
|
+
RETRIED = "RETRIED",
|
|
5
|
+
/** El intent ya había terminado (cobrado o cancelado). Forzar un reintento sería revivirlo. */
|
|
6
|
+
ALREADY_TERMINAL = "ALREADY_TERMINAL",
|
|
7
|
+
NOT_FOUND = "NOT_FOUND"
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RetryIntentStatus = void 0;
|
|
4
|
+
/** Desenlace de un reintento forzado desde el panel de operación. */
|
|
5
|
+
var RetryIntentStatus;
|
|
6
|
+
(function (RetryIntentStatus) {
|
|
7
|
+
/** El intent estaba vivo y quedó reagendado para el próximo barrido. */
|
|
8
|
+
RetryIntentStatus["RETRIED"] = "RETRIED";
|
|
9
|
+
/** El intent ya había terminado (cobrado o cancelado). Forzar un reintento sería revivirlo. */
|
|
10
|
+
RetryIntentStatus["ALREADY_TERMINAL"] = "ALREADY_TERMINAL";
|
|
11
|
+
RetryIntentStatus["NOT_FOUND"] = "NOT_FOUND";
|
|
12
|
+
})(RetryIntentStatus || (exports.RetryIntentStatus = RetryIntentStatus = {}));
|
|
@@ -5,6 +5,9 @@ export * from './enums/CollectionResultStatus';
|
|
|
5
5
|
export * from './enums/DeregisterChargeStatus';
|
|
6
6
|
export * from './enums/RegisterCollectibleStatus';
|
|
7
7
|
export * from './enums/CollectionFeeMode';
|
|
8
|
+
export * from './enums/RetryIntentStatus';
|
|
9
|
+
export * from './enums/AckIntentStatus';
|
|
10
|
+
export * from './enums/RedriveOutboxStatus';
|
|
8
11
|
export * from './dtos/PendingChargeDto';
|
|
9
12
|
export * from './dtos/CollectRequest';
|
|
10
13
|
export * from './dtos/CollectResponse';
|
package/bin/collection/index.js
CHANGED
|
@@ -22,6 +22,9 @@ __exportStar(require("./enums/CollectionResultStatus"), exports);
|
|
|
22
22
|
__exportStar(require("./enums/DeregisterChargeStatus"), exports);
|
|
23
23
|
__exportStar(require("./enums/RegisterCollectibleStatus"), exports);
|
|
24
24
|
__exportStar(require("./enums/CollectionFeeMode"), exports);
|
|
25
|
+
__exportStar(require("./enums/RetryIntentStatus"), exports);
|
|
26
|
+
__exportStar(require("./enums/AckIntentStatus"), exports);
|
|
27
|
+
__exportStar(require("./enums/RedriveOutboxStatus"), exports);
|
|
25
28
|
// DTOs
|
|
26
29
|
__exportStar(require("./dtos/PendingChargeDto"), exports);
|
|
27
30
|
__exportStar(require("./dtos/CollectRequest"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Desenlace de dar por atendida la alerta de un intent. No tiene variante "terminal": reconocer una
|
|
3
|
+
* alerta es válido incluso sobre un intent que ya cerró después del problema que la disparó.
|
|
4
|
+
*/
|
|
5
|
+
export enum AckIntentStatus {
|
|
6
|
+
ACKED = 'ACKED',
|
|
7
|
+
NOT_FOUND = 'NOT_FOUND',
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Desenlace de reinyectar un evento atascado en la cola muerta. */
|
|
2
|
+
export enum RedriveOutboxStatus {
|
|
3
|
+
/** El evento volvió a la cola de entrega y se reintentará. */
|
|
4
|
+
REDRIVEN = 'REDRIVEN',
|
|
5
|
+
/** El evento no estaba en la cola muerta: reinyectarlo duplicaría una entrega en curso. */
|
|
6
|
+
NOT_DLQ = 'NOT_DLQ',
|
|
7
|
+
NOT_FOUND = 'NOT_FOUND',
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Desenlace de un reintento forzado desde el panel de operación. */
|
|
2
|
+
export enum RetryIntentStatus {
|
|
3
|
+
/** El intent estaba vivo y quedó reagendado para el próximo barrido. */
|
|
4
|
+
RETRIED = 'RETRIED',
|
|
5
|
+
/** El intent ya había terminado (cobrado o cancelado). Forzar un reintento sería revivirlo. */
|
|
6
|
+
ALREADY_TERMINAL = 'ALREADY_TERMINAL',
|
|
7
|
+
NOT_FOUND = 'NOT_FOUND',
|
|
8
|
+
}
|
package/src/collection/index.ts
CHANGED
|
@@ -6,6 +6,9 @@ export * from './enums/CollectionResultStatus';
|
|
|
6
6
|
export * from './enums/DeregisterChargeStatus';
|
|
7
7
|
export * from './enums/RegisterCollectibleStatus';
|
|
8
8
|
export * from './enums/CollectionFeeMode';
|
|
9
|
+
export * from './enums/RetryIntentStatus';
|
|
10
|
+
export * from './enums/AckIntentStatus';
|
|
11
|
+
export * from './enums/RedriveOutboxStatus';
|
|
9
12
|
|
|
10
13
|
// DTOs
|
|
11
14
|
export * from './dtos/PendingChargeDto';
|