@fiado/type-kit 1.4.59 → 1.4.61

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.
@@ -8,4 +8,5 @@ export declare class SPEITransferUpdateRequest {
8
8
  concept: string;
9
9
  notes: string;
10
10
  status: SpeiTransferStatusEnum;
11
+ rejectedReason: string;
11
12
  }
@@ -55,3 +55,7 @@ __decorate([
55
55
  (0, class_validator_1.IsEnum)(SpeiTransferStatusEnum_1.SpeiTransferStatusEnum),
56
56
  __metadata("design:type", String)
57
57
  ], SPEITransferUpdateRequest.prototype, "status", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsOptional)(),
60
+ __metadata("design:type", String)
61
+ ], SPEITransferUpdateRequest.prototype, "rejectedReason", void 0);
@@ -1,6 +1,8 @@
1
1
  export declare enum SpeiTransferStatusEnum {
2
2
  PENDING = "PENDING",
3
3
  IN_PROCESS = "IN_PROCESS",
4
+ NOT_APPLICABLE = "NOT_APPLICABLE",
4
5
  COMPLETED = "COMPLETED",
5
- REJECTED = "REJECTED"
6
+ CANCELLED = "CANCELLED",
7
+ RETURNED = "RETURNED"
6
8
  }
@@ -1,10 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SpeiTransferStatusEnum = void 0;
4
- var SpeiTransferStatusEnum;
5
- (function (SpeiTransferStatusEnum) {
6
- SpeiTransferStatusEnum["PENDING"] = "PENDING";
7
- SpeiTransferStatusEnum["IN_PROCESS"] = "IN_PROCESS";
8
- SpeiTransferStatusEnum["COMPLETED"] = "COMPLETED";
9
- SpeiTransferStatusEnum["REJECTED"] = "REJECTED";
10
- })(SpeiTransferStatusEnum || (exports.SpeiTransferStatusEnum = SpeiTransferStatusEnum = {}));
@@ -7,4 +7,6 @@ export declare class AuthorizeSpeiBankTransferNcRequest {
7
7
  targetName: string;
8
8
  amount: number;
9
9
  concept: string;
10
+ directoryId?: string;
11
+ peopleId?: string;
10
12
  }
@@ -0,0 +1,4 @@
1
+ export declare enum AppEnum {
2
+ BACKOFFICE = "BACKOFFICE_APP",
3
+ USERS_APP = "USERS_APP"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppEnum = void 0;
4
+ var AppEnum;
5
+ (function (AppEnum) {
6
+ AppEnum["BACKOFFICE"] = "BACKOFFICE_APP";
7
+ AppEnum["USERS_APP"] = "USERS_APP";
8
+ })(AppEnum || (exports.AppEnum = AppEnum = {}));
@@ -21,3 +21,4 @@ export * from './dtos/AuthorizeServicePaymentRequest';
21
21
  export * from './dtos/TransactionProcessorResponse';
22
22
  export * from './enums/TransactionProcessorCodesEnum';
23
23
  export * from './enums/AsyncTxStatusEnum';
24
+ export * from './enums/AppEnum';
@@ -37,3 +37,4 @@ __exportStar(require("./dtos/AuthorizeServicePaymentRequest"), exports);
37
37
  __exportStar(require("./dtos/TransactionProcessorResponse"), exports);
38
38
  __exportStar(require("./enums/TransactionProcessorCodesEnum"), exports);
39
39
  __exportStar(require("./enums/AsyncTxStatusEnum"), exports);
40
+ __exportStar(require("./enums/AppEnum"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.4.59",
3
+ "version": "1.4.61",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -36,4 +36,7 @@ export class SPEITransferUpdateRequest {
36
36
  @IsEnum(SpeiTransferStatusEnum)
37
37
  status: SpeiTransferStatusEnum;
38
38
 
39
+ @IsOptional()
40
+ rejectedReason: string;
41
+
39
42
  }
@@ -1,9 +1,10 @@
1
1
 
2
2
 
3
-
4
- export enum SpeiTransferStatusEnum {
5
- PENDING = 'PENDING',
6
- IN_PROCESS = 'IN_PROCESS',
7
- COMPLETED = 'COMPLETED',
8
- REJECTED = 'REJECTED',
9
- }
3
+ export declare enum SpeiTransferStatusEnum {
4
+ PENDING = "PENDING",
5
+ IN_PROCESS = "IN_PROCESS",
6
+ NOT_APPLICABLE = "NOT_APPLICABLE",
7
+ COMPLETED = "COMPLETED",
8
+ CANCELLED = "CANCELLED",
9
+ RETURNED = "RETURNED",
10
+ }
@@ -7,4 +7,8 @@ export class AuthorizeSpeiBankTransferNcRequest {
7
7
  targetName: string;
8
8
  amount: number;
9
9
  concept: string;
10
+
11
+ // PARA BACKOFFICE
12
+ directoryId?: string;
13
+ peopleId?: string;
10
14
  }
@@ -0,0 +1,4 @@
1
+ export enum AppEnum {
2
+ BACKOFFICE = "BACKOFFICE_APP",
3
+ USERS_APP = "USERS_APP",
4
+ }
@@ -22,4 +22,5 @@ export * from './dtos/TransactionProcessorResponse';
22
22
 
23
23
  export * from './enums/TransactionProcessorCodesEnum';
24
24
  export * from './enums/AsyncTxStatusEnum';
25
+ export * from './enums/AppEnum';
25
26