@fiado/type-kit 3.393.0 → 3.394.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.
@@ -1,5 +1,12 @@
1
1
  import { OperationEnum } from "../../transaction";
2
2
  import { PocketOperationTypeEnum } from "../enums/PocketOperationTypeEnum";
3
+ /** Mismas keys que el additional_data de un service payment en CP. */
4
+ export declare class PocketTransferMetadata {
5
+ provider?: string;
6
+ subcategory?: string;
7
+ service?: string;
8
+ referenceNumber?: string;
9
+ }
3
10
  export declare class BankAccountPocketTransferRequest {
4
11
  externalAccountId: string;
5
12
  amount: number;
@@ -7,4 +14,5 @@ export declare class BankAccountPocketTransferRequest {
7
14
  operation: OperationEnum;
8
15
  operationType: PocketOperationTypeEnum;
9
16
  originalRelatedId?: string;
17
+ metadata?: PocketTransferMetadata;
10
18
  }
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BankAccountPocketTransferRequest = void 0;
3
+ exports.BankAccountPocketTransferRequest = exports.PocketTransferMetadata = void 0;
4
+ /** Mismas keys que el additional_data de un service payment en CP. */
5
+ class PocketTransferMetadata {
6
+ }
7
+ exports.PocketTransferMetadata = PocketTransferMetadata;
4
8
  class BankAccountPocketTransferRequest {
5
9
  }
6
10
  exports.BankAccountPocketTransferRequest = BankAccountPocketTransferRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.393.0",
3
+ "version": "3.394.0",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -1,6 +1,14 @@
1
1
  import { OperationEnum } from "../../transaction";
2
2
  import { PocketOperationTypeEnum } from "../enums/PocketOperationTypeEnum";
3
3
 
4
+ /** Mismas keys que el additional_data de un service payment en CP. */
5
+ export class PocketTransferMetadata {
6
+ provider?: string;
7
+ subcategory?: string;
8
+ service?: string;
9
+ referenceNumber?: string;
10
+ }
11
+
4
12
  export class BankAccountPocketTransferRequest {
5
13
  externalAccountId!: string;
6
14
  amount!: number;
@@ -8,4 +16,5 @@ export class BankAccountPocketTransferRequest {
8
16
  operation: OperationEnum;
9
17
  operationType: PocketOperationTypeEnum;
10
18
  originalRelatedId?: string;
19
+ metadata?: PocketTransferMetadata;
11
20
  }