@fiado/type-kit 3.370.0 → 3.371.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/dtos/ResolvePendingChargesRequest.d.ts +12 -0
- package/bin/collection/dtos/ResolvePendingChargesRequest.js +35 -0
- package/bin/collection/index.d.ts +1 -0
- package/bin/collection/index.js +1 -0
- package/package.json +1 -1
- package/src/collection/dtos/ResolvePendingChargesRequest.ts +14 -0
- package/src/collection/index.ts +1 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* El motor pregunta al dominio qué debe un titular ahora mismo.
|
|
3
|
+
*
|
|
4
|
+
* No lleva importe: el monto es justo lo que se está preguntando. Puede haber cambiado desde que el
|
|
5
|
+
* cargo se dio de alta —por mora, o porque el cliente pagó por otra vía— y sólo el dominio, que es
|
|
6
|
+
* quien aplica sus propias reglas, sabe cuánto queda vivo.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ResolvePendingChargesRequest {
|
|
9
|
+
domain: string;
|
|
10
|
+
ownerRef: string;
|
|
11
|
+
tenantId: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ResolvePendingChargesRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
/**
|
|
15
|
+
* El motor pregunta al dominio qué debe un titular ahora mismo.
|
|
16
|
+
*
|
|
17
|
+
* No lleva importe: el monto es justo lo que se está preguntando. Puede haber cambiado desde que el
|
|
18
|
+
* cargo se dio de alta —por mora, o porque el cliente pagó por otra vía— y sólo el dominio, que es
|
|
19
|
+
* quien aplica sus propias reglas, sabe cuánto queda vivo.
|
|
20
|
+
*/
|
|
21
|
+
class ResolvePendingChargesRequest {
|
|
22
|
+
}
|
|
23
|
+
exports.ResolvePendingChargesRequest = ResolvePendingChargesRequest;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], ResolvePendingChargesRequest.prototype, "domain", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], ResolvePendingChargesRequest.prototype, "ownerRef", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], ResolvePendingChargesRequest.prototype, "tenantId", void 0);
|
|
@@ -16,6 +16,7 @@ export * from './dtos/CollectionProductConfigDto';
|
|
|
16
16
|
export * from './dtos/UpsertProductConfigRequest';
|
|
17
17
|
export * from './dtos/ApplyCollectionResultRequest';
|
|
18
18
|
export * from './dtos/DeregisterChargeResponse';
|
|
19
|
+
export * from './dtos/ResolvePendingChargesRequest';
|
|
19
20
|
export * from './dtos/CollectionIntentSummaryDto';
|
|
20
21
|
export * from './dtos/CollectionAttemptDto';
|
|
21
22
|
export * from './dtos/CollectionOutboxEventDto';
|
package/bin/collection/index.js
CHANGED
|
@@ -34,6 +34,7 @@ __exportStar(require("./dtos/CollectionProductConfigDto"), exports);
|
|
|
34
34
|
__exportStar(require("./dtos/UpsertProductConfigRequest"), exports);
|
|
35
35
|
__exportStar(require("./dtos/ApplyCollectionResultRequest"), exports);
|
|
36
36
|
__exportStar(require("./dtos/DeregisterChargeResponse"), exports);
|
|
37
|
+
__exportStar(require("./dtos/ResolvePendingChargesRequest"), exports);
|
|
37
38
|
// DTOs — backoffice de monitoreo
|
|
38
39
|
__exportStar(require("./dtos/CollectionIntentSummaryDto"), exports);
|
|
39
40
|
__exportStar(require("./dtos/CollectionAttemptDto"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IsString } from 'class-validator';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* El motor pregunta al dominio qué debe un titular ahora mismo.
|
|
5
|
+
*
|
|
6
|
+
* No lleva importe: el monto es justo lo que se está preguntando. Puede haber cambiado desde que el
|
|
7
|
+
* cargo se dio de alta —por mora, o porque el cliente pagó por otra vía— y sólo el dominio, que es
|
|
8
|
+
* quien aplica sus propias reglas, sabe cuánto queda vivo.
|
|
9
|
+
*/
|
|
10
|
+
export class ResolvePendingChargesRequest {
|
|
11
|
+
@IsString() domain!: string;
|
|
12
|
+
@IsString() ownerRef!: string;
|
|
13
|
+
@IsString() tenantId!: string;
|
|
14
|
+
}
|
package/src/collection/index.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from './dtos/CollectionProductConfigDto';
|
|
|
19
19
|
export * from './dtos/UpsertProductConfigRequest';
|
|
20
20
|
export * from './dtos/ApplyCollectionResultRequest';
|
|
21
21
|
export * from './dtos/DeregisterChargeResponse';
|
|
22
|
+
export * from './dtos/ResolvePendingChargesRequest';
|
|
22
23
|
|
|
23
24
|
// DTOs — backoffice de monitoreo
|
|
24
25
|
export * from './dtos/CollectionIntentSummaryDto';
|