@fiado/type-kit 1.1.45 → 1.1.47

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.
Files changed (24) hide show
  1. package/.idea/sonarlint/issuestore/6/9/69d58b0b6323e7e777c435dbaefe94a64394e255 +0 -0
  2. package/.idea/sonarlint/issuestore/c/d/cdd687c2228066cdac5910ebcd0a5584e5c50985 +0 -0
  3. package/.idea/sonarlint/issuestore/e/7/e7248564a8f7fdc020eba78ea0c58c98603880a4 +0 -0
  4. package/.idea/sonarlint/issuestore/index.pb +7 -1
  5. package/.idea/sonarlint/securityhotspotstore/6/9/69d58b0b6323e7e777c435dbaefe94a64394e255 +0 -0
  6. package/.idea/sonarlint/securityhotspotstore/c/d/cdd687c2228066cdac5910ebcd0a5584e5c50985 +0 -0
  7. package/.idea/sonarlint/securityhotspotstore/e/7/e7248564a8f7fdc020eba78ea0c58c98603880a4 +0 -0
  8. package/.idea/sonarlint/securityhotspotstore/index.pb +7 -1
  9. package/bin/account/dtos/ExecutePocketOperationRequest.d.ts +3 -0
  10. package/bin/account/dtos/ExecutePocketOperationRequest.js +20 -0
  11. package/bin/account/index.d.ts +1 -0
  12. package/bin/account/index.js +1 -0
  13. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +6 -0
  14. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +6 -0
  15. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +7 -0
  16. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +6 -0
  17. package/bin/transactionProcessor/index.d.ts +0 -1
  18. package/bin/transactionProcessor/index.js +0 -1
  19. package/package.json +1 -1
  20. package/src/account/index.ts +1 -0
  21. package/src/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.ts +6 -0
  22. package/src/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.ts +8 -0
  23. package/src/transactionProcessor/index.ts +0 -1
  24. /package/src/{transactionProcessor/dtos/private → account/dtos}/ExecutePocketOperationRequest.ts +0 -0
@@ -153,4 +153,10 @@ Z
153
153
  V
154
154
  &src/transaction/enums/OperationEnum.ts,f/2/f2d1f4712d58f68a238d7df4f455d3cc45882594
155
155
  v
156
- Fsrc/transactionProcessor/dtos/private/ExecutePocketOperationRequest.ts,b/2/b2186424e9f368610bda357e95a38d1b7b11ba53
156
+ Fsrc/transactionProcessor/dtos/private/ExecutePocketOperationRequest.ts,b/2/b2186424e9f368610bda357e95a38d1b7b11ba53
157
+ a
158
+ 1src/account/dtos/ExecutePocketOperationRequest.ts,c/d/cdd687c2228066cdac5910ebcd0a5584e5c50985
159
+ z
160
+ Jsrc/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.ts,6/9/69d58b0b6323e7e777c435dbaefe94a64394e255
161
+ w
162
+ Gsrc/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.ts,e/7/e7248564a8f7fdc020eba78ea0c58c98603880a4
@@ -153,4 +153,10 @@ Z
153
153
  V
154
154
  &src/transaction/enums/OperationEnum.ts,f/2/f2d1f4712d58f68a238d7df4f455d3cc45882594
155
155
  v
156
- Fsrc/transactionProcessor/dtos/private/ExecutePocketOperationRequest.ts,b/2/b2186424e9f368610bda357e95a38d1b7b11ba53
156
+ Fsrc/transactionProcessor/dtos/private/ExecutePocketOperationRequest.ts,b/2/b2186424e9f368610bda357e95a38d1b7b11ba53
157
+ a
158
+ 1src/account/dtos/ExecutePocketOperationRequest.ts,c/d/cdd687c2228066cdac5910ebcd0a5584e5c50985
159
+ z
160
+ Jsrc/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.ts,6/9/69d58b0b6323e7e777c435dbaefe94a64394e255
161
+ w
162
+ Gsrc/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.ts,e/7/e7248564a8f7fdc020eba78ea0c58c98603880a4
@@ -0,0 +1,3 @@
1
+ export declare class ExecutePocketOperationRequest {
2
+ amount: number;
3
+ }
@@ -0,0 +1,20 @@
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.ExecutePocketOperationRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class ExecutePocketOperationRequest {
15
+ }
16
+ exports.ExecutePocketOperationRequest = ExecutePocketOperationRequest;
17
+ __decorate([
18
+ (0, class_validator_1.IsNumber)(),
19
+ __metadata("design:type", Number)
20
+ ], ExecutePocketOperationRequest.prototype, "amount", void 0);
@@ -24,6 +24,7 @@ export * from './dtos/GetAccountResponse';
24
24
  export * from './dtos/AccountUpdateBalanceRequest';
25
25
  export * from './dtos/UpdateBalanceOperation';
26
26
  export * from './dtos/BankAccountP2pTransferRequest';
27
+ export * from './dtos/ExecutePocketOperationRequest';
27
28
  export * from './entities/AccountEntityBase';
28
29
  export * from './enums/AccountEntityStatusEnum';
29
30
  export * from './enums/BankAccountTypeEnum';
@@ -41,6 +41,7 @@ __exportStar(require("./dtos/GetAccountResponse"), exports);
41
41
  __exportStar(require("./dtos/AccountUpdateBalanceRequest"), exports);
42
42
  __exportStar(require("./dtos/UpdateBalanceOperation"), exports);
43
43
  __exportStar(require("./dtos/BankAccountP2pTransferRequest"), exports);
44
+ __exportStar(require("./dtos/ExecutePocketOperationRequest"), exports);
44
45
  //Entities
45
46
  __exportStar(require("./entities/AccountEntityBase"), exports);
46
47
  //Enums
@@ -0,0 +1,6 @@
1
+ export declare class AuthorizeP2pTransactionRequest {
2
+ idempotencyKey: string;
3
+ sourceDirectoryId: string;
4
+ targetDirectoryId: string;
5
+ amount: number;
6
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthorizeP2pTransactionRequest = void 0;
4
+ class AuthorizeP2pTransactionRequest {
5
+ }
6
+ exports.AuthorizeP2pTransactionRequest = AuthorizeP2pTransactionRequest;
@@ -0,0 +1,7 @@
1
+ import { OperationEnum } from "../../../transaction";
2
+ export declare class AuthorizePocketTransactionRequest {
3
+ idempotencyKey: string;
4
+ pocketId: string;
5
+ operation: OperationEnum;
6
+ amount: number;
7
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthorizePocketTransactionRequest = void 0;
4
+ class AuthorizePocketTransactionRequest {
5
+ }
6
+ exports.AuthorizePocketTransactionRequest = AuthorizePocketTransactionRequest;
@@ -4,5 +4,4 @@ export * from './dtos/private/PrivateProcessorMerchantInfo';
4
4
  export * from './dtos/private/PrivateProcessorCardInfo';
5
5
  export * from './dtos/private/PrivateProcessorAmountInfo';
6
6
  export * from './dtos/private/PrivateProcessorAmountInfoItem';
7
- export * from './dtos/private/ExecutePocketOperationRequest';
8
7
  export * from './enums/TransactionProcessorCodesEnum';
@@ -20,5 +20,4 @@ __exportStar(require("./dtos/private/PrivateProcessorMerchantInfo"), exports);
20
20
  __exportStar(require("./dtos/private/PrivateProcessorCardInfo"), exports);
21
21
  __exportStar(require("./dtos/private/PrivateProcessorAmountInfo"), exports);
22
22
  __exportStar(require("./dtos/private/PrivateProcessorAmountInfoItem"), exports);
23
- __exportStar(require("./dtos/private/ExecutePocketOperationRequest"), exports);
24
23
  __exportStar(require("./enums/TransactionProcessorCodesEnum"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.1.45",
3
+ "version": "1.1.47",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -26,6 +26,7 @@ export * from './dtos/GetAccountResponse';
26
26
  export * from './dtos/AccountUpdateBalanceRequest';
27
27
  export * from './dtos/UpdateBalanceOperation';
28
28
  export * from './dtos/BankAccountP2pTransferRequest';
29
+ export * from './dtos/ExecutePocketOperationRequest';
29
30
 
30
31
  //Entities
31
32
  export * from './entities/AccountEntityBase';
@@ -0,0 +1,6 @@
1
+ export class AuthorizeP2pTransactionRequest {
2
+ idempotencyKey: string;
3
+ sourceDirectoryId: string;
4
+ targetDirectoryId: string;
5
+ amount: number;
6
+ }
@@ -0,0 +1,8 @@
1
+ import {OperationEnum} from "../../../transaction";
2
+
3
+ export class AuthorizePocketTransactionRequest {
4
+ idempotencyKey: string;
5
+ pocketId: string;
6
+ operation: OperationEnum;
7
+ amount: number;
8
+ }
@@ -4,7 +4,6 @@ export * from './dtos/private/PrivateProcessorMerchantInfo';
4
4
  export * from './dtos/private/PrivateProcessorCardInfo';
5
5
  export * from './dtos/private/PrivateProcessorAmountInfo';
6
6
  export * from './dtos/private/PrivateProcessorAmountInfoItem';
7
- export * from './dtos/private/ExecutePocketOperationRequest';
8
7
 
9
8
  export * from './enums/TransactionProcessorCodesEnum';
10
9