@alacard-project/shared 1.1.7 → 1.1.9
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/dist/browser.d.ts +6 -0
- package/dist/browser.js +23 -0
- package/dist/browser.js.map +1 -0
- package/dist/constants/microservices.constants.d.ts +4 -0
- package/dist/constants/microservices.constants.js +4 -0
- package/dist/constants/microservices.constants.js.map +1 -1
- package/dist/contracts/auth.contract.d.ts +25 -0
- package/dist/contracts/client.contract.d.ts +30 -0
- package/dist/contracts/client.contract.js +3 -0
- package/dist/contracts/client.contract.js.map +1 -0
- package/dist/contracts/iam.contract.d.ts +51 -0
- package/dist/contracts/iam.contract.js +3 -0
- package/dist/contracts/iam.contract.js.map +1 -0
- package/dist/contracts/index.d.ts +6 -0
- package/dist/contracts/index.js +6 -0
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/logging.contract.d.ts +28 -14
- package/dist/contracts/notification.contract.d.ts +35 -0
- package/dist/contracts/notification.contract.js +3 -0
- package/dist/contracts/notification.contract.js.map +1 -0
- package/dist/contracts/partner.contract.d.ts +42 -0
- package/dist/contracts/partner.contract.js +3 -0
- package/dist/contracts/partner.contract.js.map +1 -0
- package/dist/contracts/terminal.contract.d.ts +25 -0
- package/dist/contracts/terminal.contract.js +3 -0
- package/dist/contracts/terminal.contract.js.map +1 -0
- package/dist/contracts/transaction.contract.d.ts +8 -2
- package/dist/contracts/user.contract.d.ts +37 -0
- package/dist/contracts/user.contract.js +3 -0
- package/dist/contracts/user.contract.js.map +1 -0
- package/dist/contracts/wallet.contract.d.ts +114 -0
- package/dist/contracts/wallet.contract.js +24 -0
- package/dist/contracts/wallet.contract.js.map +1 -0
- package/dist/dto/card.dto.d.ts +9 -0
- package/dist/dto/card.dto.js +45 -0
- package/dist/dto/card.dto.js.map +1 -1
- package/dist/dto/partner.dto.d.ts +1 -0
- package/dist/dto/partner.dto.js +5 -0
- package/dist/dto/partner.dto.js.map +1 -1
- package/dist/dto/transaction.dto.d.ts +5 -0
- package/dist/dto/transaction.dto.js +21 -0
- package/dist/dto/transaction.dto.js.map +1 -1
- package/dist/dto/user.dto.d.ts +36 -7
- package/dist/dto/user.dto.js +128 -11
- package/dist/dto/user.dto.js.map +1 -1
- package/dist/enums/card.enum.d.ts +4 -0
- package/dist/enums/card.enum.js +9 -0
- package/dist/enums/card.enum.js.map +1 -0
- package/dist/enums/iam.enum.d.ts +2 -0
- package/dist/enums/iam.enum.js +2 -0
- package/dist/enums/iam.enum.js.map +1 -1
- package/dist/enums/index.d.ts +4 -0
- package/dist/enums/index.js +4 -0
- package/dist/enums/index.js.map +1 -1
- package/dist/enums/job.enum.d.ts +13 -0
- package/dist/enums/job.enum.js +19 -0
- package/dist/enums/job.enum.js.map +1 -0
- package/dist/enums/saga.enum.d.ts +8 -0
- package/dist/enums/saga.enum.js +13 -0
- package/dist/enums/saga.enum.js.map +1 -0
- package/dist/enums/transaction.enum.d.ts +4 -0
- package/dist/enums/transaction.enum.js +9 -0
- package/dist/enums/transaction.enum.js.map +1 -0
- package/dist/enums/user.enum.d.ts +7 -1
- package/dist/enums/user.enum.js +8 -1
- package/dist/enums/user.enum.js.map +1 -1
- package/dist/resilience/circuit-breaker.service.d.ts +1 -2
- package/dist/resilience/circuit-breaker.service.js +7 -3
- package/dist/resilience/circuit-breaker.service.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/iam.types.d.ts +30 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/saga.types.d.ts +24 -0
- package/dist/types/saga.types.js +3 -0
- package/dist/types/saga.types.js.map +1 -0
- package/dist/types/user.types.d.ts +38 -1
- package/dist/utils/app.utils.js +5 -4
- package/dist/utils/app.utils.js.map +1 -1
- package/dist/utils/proto-path.js +14 -0
- package/dist/utils/proto-path.js.map +1 -1
- package/package.json +5 -2
- package/proto/account.proto +32 -0
- package/proto/attachment.proto +12 -0
- package/proto/auth.proto +152 -0
- package/proto/card.proto +140 -0
- package/proto/client.proto +99 -0
- package/proto/config.proto +39 -0
- package/proto/dbf.proto +183 -0
- package/proto/iam.proto +70 -0
- package/proto/logging.proto +153 -0
- package/proto/notification.proto +44 -0
- package/proto/partner.proto +68 -0
- package/proto/terminal.proto +34 -0
- package/proto/transaction.proto +95 -0
- package/proto/user.proto +137 -0
- package/proto/wallet.proto +138 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WalletTxType = exports.AllocationStatus = exports.WalletOwnerType = void 0;
|
|
4
|
+
var WalletOwnerType;
|
|
5
|
+
(function (WalletOwnerType) {
|
|
6
|
+
WalletOwnerType[WalletOwnerType["PARTNER"] = 0] = "PARTNER";
|
|
7
|
+
WalletOwnerType[WalletOwnerType["CLIENT"] = 1] = "CLIENT";
|
|
8
|
+
})(WalletOwnerType || (exports.WalletOwnerType = WalletOwnerType = {}));
|
|
9
|
+
var AllocationStatus;
|
|
10
|
+
(function (AllocationStatus) {
|
|
11
|
+
AllocationStatus[AllocationStatus["PENDING"] = 0] = "PENDING";
|
|
12
|
+
AllocationStatus[AllocationStatus["SENT"] = 1] = "SENT";
|
|
13
|
+
AllocationStatus[AllocationStatus["SYNCED"] = 2] = "SYNCED";
|
|
14
|
+
AllocationStatus[AllocationStatus["FAILED"] = 3] = "FAILED";
|
|
15
|
+
AllocationStatus[AllocationStatus["CANCELLED"] = 4] = "CANCELLED";
|
|
16
|
+
})(AllocationStatus || (exports.AllocationStatus = AllocationStatus = {}));
|
|
17
|
+
var WalletTxType;
|
|
18
|
+
(function (WalletTxType) {
|
|
19
|
+
WalletTxType[WalletTxType["CREDIT"] = 0] = "CREDIT";
|
|
20
|
+
WalletTxType[WalletTxType["DEBIT"] = 1] = "DEBIT";
|
|
21
|
+
WalletTxType[WalletTxType["FREEZE"] = 2] = "FREEZE";
|
|
22
|
+
WalletTxType[WalletTxType["UNFREEZE"] = 3] = "UNFREEZE";
|
|
23
|
+
})(WalletTxType || (exports.WalletTxType = WalletTxType = {}));
|
|
24
|
+
//# sourceMappingURL=wallet.contract.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wallet.contract.js","sourceRoot":"","sources":["../../src/contracts/wallet.contract.ts"],"names":[],"mappings":";;;AAEA,IAAY,eAGX;AAHD,WAAY,eAAe;IACvB,2DAAW,CAAA;IACX,yDAAU,CAAA;AACd,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAED,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,6DAAW,CAAA;IACX,uDAAQ,CAAA;IACR,2DAAU,CAAA;IACV,2DAAU,CAAA;IACV,iEAAa,CAAA;AACjB,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AAED,IAAY,YAKX;AALD,WAAY,YAAY;IACpB,mDAAU,CAAA;IACV,iDAAS,CAAA;IACT,mDAAU,CAAA;IACV,uDAAY,CAAA;AAChB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB"}
|
package/dist/dto/card.dto.d.ts
CHANGED
|
@@ -4,15 +4,24 @@ export declare class CreateCardDto {
|
|
|
4
4
|
accountId?: string;
|
|
5
5
|
cardType?: string;
|
|
6
6
|
cardStatus?: string;
|
|
7
|
+
phoneNumber?: string;
|
|
7
8
|
issuedAt?: Date;
|
|
8
9
|
expiresAt?: Date;
|
|
9
10
|
balance?: number;
|
|
11
|
+
physicalBalance?: number;
|
|
12
|
+
virtualBalance?: number;
|
|
13
|
+
balanceMode?: string;
|
|
10
14
|
}
|
|
11
15
|
export declare class UpdateCardDto {
|
|
16
|
+
id: string;
|
|
12
17
|
clientId?: string;
|
|
13
18
|
accountId?: string;
|
|
14
19
|
cardType?: string;
|
|
15
20
|
cardStatus?: string;
|
|
21
|
+
phoneNumber?: string;
|
|
16
22
|
expiresAt?: Date;
|
|
17
23
|
balance?: number;
|
|
24
|
+
physicalBalance?: number;
|
|
25
|
+
virtualBalance?: number;
|
|
26
|
+
balanceMode?: string;
|
|
18
27
|
}
|
package/dist/dto/card.dto.js
CHANGED
|
@@ -39,6 +39,11 @@ __decorate([
|
|
|
39
39
|
(0, class_validator_1.IsString)(),
|
|
40
40
|
__metadata("design:type", String)
|
|
41
41
|
], CreateCardDto.prototype, "cardStatus", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], CreateCardDto.prototype, "phoneNumber", void 0);
|
|
42
47
|
__decorate([
|
|
43
48
|
(0, class_validator_1.IsOptional)(),
|
|
44
49
|
(0, class_transformer_1.Type)(() => Date),
|
|
@@ -56,9 +61,29 @@ __decorate([
|
|
|
56
61
|
(0, class_validator_1.IsNumber)(),
|
|
57
62
|
__metadata("design:type", Number)
|
|
58
63
|
], CreateCardDto.prototype, "balance", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_validator_1.IsOptional)(),
|
|
66
|
+
(0, class_validator_1.IsNumber)(),
|
|
67
|
+
__metadata("design:type", Number)
|
|
68
|
+
], CreateCardDto.prototype, "physicalBalance", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_validator_1.IsOptional)(),
|
|
71
|
+
(0, class_validator_1.IsNumber)(),
|
|
72
|
+
__metadata("design:type", Number)
|
|
73
|
+
], CreateCardDto.prototype, "virtualBalance", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_validator_1.IsOptional)(),
|
|
76
|
+
(0, class_validator_1.IsString)(),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], CreateCardDto.prototype, "balanceMode", void 0);
|
|
59
79
|
class UpdateCardDto {
|
|
60
80
|
}
|
|
61
81
|
exports.UpdateCardDto = UpdateCardDto;
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_validator_1.IsOptional)(),
|
|
84
|
+
(0, class_validator_1.IsString)(),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], UpdateCardDto.prototype, "id", void 0);
|
|
62
87
|
__decorate([
|
|
63
88
|
(0, class_validator_1.IsOptional)(),
|
|
64
89
|
(0, class_validator_1.IsString)(),
|
|
@@ -79,6 +104,11 @@ __decorate([
|
|
|
79
104
|
(0, class_validator_1.IsString)(),
|
|
80
105
|
__metadata("design:type", String)
|
|
81
106
|
], UpdateCardDto.prototype, "cardStatus", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, class_validator_1.IsOptional)(),
|
|
109
|
+
(0, class_validator_1.IsString)(),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], UpdateCardDto.prototype, "phoneNumber", void 0);
|
|
82
112
|
__decorate([
|
|
83
113
|
(0, class_validator_1.IsOptional)(),
|
|
84
114
|
(0, class_transformer_1.Type)(() => Date),
|
|
@@ -90,4 +120,19 @@ __decorate([
|
|
|
90
120
|
(0, class_validator_1.IsNumber)(),
|
|
91
121
|
__metadata("design:type", Number)
|
|
92
122
|
], UpdateCardDto.prototype, "balance", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, class_validator_1.IsOptional)(),
|
|
125
|
+
(0, class_validator_1.IsNumber)(),
|
|
126
|
+
__metadata("design:type", Number)
|
|
127
|
+
], UpdateCardDto.prototype, "physicalBalance", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, class_validator_1.IsOptional)(),
|
|
130
|
+
(0, class_validator_1.IsNumber)(),
|
|
131
|
+
__metadata("design:type", Number)
|
|
132
|
+
], UpdateCardDto.prototype, "virtualBalance", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, class_validator_1.IsOptional)(),
|
|
135
|
+
(0, class_validator_1.IsString)(),
|
|
136
|
+
__metadata("design:type", String)
|
|
137
|
+
], UpdateCardDto.prototype, "balanceMode", void 0);
|
|
93
138
|
//# sourceMappingURL=card.dto.js.map
|
package/dist/dto/card.dto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.dto.js","sourceRoot":"","sources":["../../src/dto/card.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AACzE,yDAAyC;
|
|
1
|
+
{"version":3,"file":"card.dto.js","sourceRoot":"","sources":["../../src/dto/card.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AACzE,yDAAyC;AAGzC,MAAa,aAAa;CAiDzB;AAjDD,sCAiDC;AA/CG;IADC,IAAA,0BAAQ,GAAE;;iDACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACU;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;8BACE,IAAI;+CAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;8BACG,IAAI;gDAAC;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACM;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACc;AAIzB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACa;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACU;AAGzB,MAAa,aAAa;CA6CzB;AA7CD,sCA6CC;AA1CG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yCACC;AAIZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACU;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;8BACG,IAAI;gDAAC;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACM;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACc;AAIzB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACa;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACU"}
|
package/dist/dto/partner.dto.js
CHANGED
|
@@ -29,6 +29,11 @@ __decorate([
|
|
|
29
29
|
(0, class_validator_1.IsBoolean)(),
|
|
30
30
|
__metadata("design:type", Boolean)
|
|
31
31
|
], PartnerDto.prototype, "isActive", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], PartnerDto.prototype, "status", void 0);
|
|
32
37
|
__decorate([
|
|
33
38
|
(0, class_validator_1.IsObject)(),
|
|
34
39
|
(0, class_transformer_1.Type)(() => auth_dto_1.RegisterDto),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partner.dto.js","sourceRoot":"","sources":["../../src/dto/partner.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4F;AAC5F,yDAAyC;AACzC,yCAAyC;AAEzC,MAAa,UAAU;
|
|
1
|
+
{"version":3,"file":"partner.dto.js","sourceRoot":"","sources":["../../src/dto/partner.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4F;AAC5F,yDAAyC;AACzC,yCAAyC;AAEzC,MAAa,UAAU;CAiBtB;AAjBD,gCAiBC;AAfG;IADC,IAAA,0BAAQ,GAAE;;wCACG;AAGd;IADC,IAAA,0BAAQ,GAAE;;wCACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;4CACO;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0CACK;AAGhB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAW,CAAC;8BACZ,sBAAW;6CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ProcessingMode } from '../enums/transaction.enum';
|
|
1
2
|
import type { JsonValue } from '../types/common.types';
|
|
2
3
|
export declare class CreateTransactionDto {
|
|
3
4
|
externalId?: string;
|
|
@@ -10,6 +11,10 @@ export declare class CreateTransactionDto {
|
|
|
10
11
|
id?: string;
|
|
11
12
|
transactionDate?: Date;
|
|
12
13
|
metadata?: any;
|
|
14
|
+
processingMode?: ProcessingMode;
|
|
15
|
+
source?: string;
|
|
16
|
+
terminalTxId?: string;
|
|
17
|
+
posId?: string;
|
|
13
18
|
}
|
|
14
19
|
export declare class UpdateTransactionDto {
|
|
15
20
|
status?: string;
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.UpdateTransactionDto = exports.CreateTransactionDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const transaction_enum_1 = require("../enums/transaction.enum");
|
|
15
16
|
class CreateTransactionDto {
|
|
16
17
|
}
|
|
17
18
|
exports.CreateTransactionDto = CreateTransactionDto;
|
|
@@ -63,6 +64,26 @@ __decorate([
|
|
|
63
64
|
(0, class_validator_1.IsOptional)(),
|
|
64
65
|
__metadata("design:type", Object)
|
|
65
66
|
], CreateTransactionDto.prototype, "metadata", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
(0, class_validator_1.IsString)(),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], CreateTransactionDto.prototype, "processingMode", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
|
74
|
+
(0, class_validator_1.IsString)(),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], CreateTransactionDto.prototype, "source", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
(0, class_validator_1.IsString)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], CreateTransactionDto.prototype, "terminalTxId", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_validator_1.IsOptional)(),
|
|
84
|
+
(0, class_validator_1.IsString)(),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], CreateTransactionDto.prototype, "posId", void 0);
|
|
66
87
|
class UpdateTransactionDto {
|
|
67
88
|
}
|
|
68
89
|
exports.UpdateTransactionDto = UpdateTransactionDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.dto.js","sourceRoot":"","sources":["../../src/dto/transaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAC9E,yDAAyC;
|
|
1
|
+
{"version":3,"file":"transaction.dto.js","sourceRoot":"","sources":["../../src/dto/transaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAC9E,yDAAyC;AACzC,gEAA2D;AAG3D,MAAa,oBAAoB;CAsDhC;AAtDD,oDAsDC;AAnDG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACS;AAGpB;IADC,IAAA,0BAAQ,GAAE;;oDACK;AAIhB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;;oDACS;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;gDACG;AAIZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACC,IAAI;6DAAC;AAGvB;IADC,IAAA,4BAAU,GAAE;;sDACE;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACqB;AAIhC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACW;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACI;AAGnB,MAAa,oBAAoB;CAOhC;AAPD,oDAOC;AAJG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACK;AAGhB;IADC,IAAA,4BAAU,GAAE;;sDACQ"}
|
package/dist/dto/user.dto.d.ts
CHANGED
|
@@ -1,11 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class
|
|
3
|
-
|
|
1
|
+
import { UserType, UserStatus } from '../enums/user.enum';
|
|
2
|
+
export declare class CreateUserDto {
|
|
3
|
+
identityId: string;
|
|
4
|
+
userType: UserType;
|
|
5
|
+
}
|
|
6
|
+
export declare class UpdateUserStatusDto {
|
|
7
|
+
status: UserStatus;
|
|
8
|
+
}
|
|
9
|
+
export declare class CreateEmployeeProfileDto {
|
|
10
|
+
fullName: string;
|
|
11
|
+
shortName?: string;
|
|
4
12
|
email: string;
|
|
13
|
+
workPhone?: string;
|
|
14
|
+
mobilePhone?: string;
|
|
15
|
+
position?: string;
|
|
16
|
+
department?: string;
|
|
17
|
+
fax?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare class UpdateEmployeeProfileDto {
|
|
20
|
+
fullName?: string;
|
|
21
|
+
shortName?: string;
|
|
22
|
+
workPhone?: string;
|
|
23
|
+
mobilePhone?: string;
|
|
24
|
+
position?: string;
|
|
25
|
+
department?: string;
|
|
26
|
+
fax?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare class CreatePublicProfileDto {
|
|
29
|
+
firstName?: string;
|
|
30
|
+
lastName?: string;
|
|
31
|
+
username: string;
|
|
32
|
+
phone?: string;
|
|
33
|
+
email?: string;
|
|
34
|
+
}
|
|
35
|
+
export declare class UpdatePublicProfileDto {
|
|
5
36
|
firstName?: string;
|
|
6
37
|
lastName?: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
createdAt: Date;
|
|
10
|
-
updatedAt: Date;
|
|
38
|
+
phone?: string;
|
|
39
|
+
email?: string;
|
|
11
40
|
}
|
package/dist/dto/user.dto.js
CHANGED
|
@@ -9,37 +9,154 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.UpdatePublicProfileDto = exports.CreatePublicProfileDto = exports.UpdateEmployeeProfileDto = exports.CreateEmployeeProfileDto = exports.UpdateUserStatusDto = exports.CreateUserDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const
|
|
15
|
-
class
|
|
14
|
+
const user_enum_1 = require("../enums/user.enum");
|
|
15
|
+
class CreateUserDto {
|
|
16
16
|
}
|
|
17
|
-
exports.
|
|
17
|
+
exports.CreateUserDto = CreateUserDto;
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, class_validator_1.IsUUID)(),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
|
-
],
|
|
21
|
+
], CreateUserDto.prototype, "identityId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsEnum)(user_enum_1.UserType),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CreateUserDto.prototype, "userType", void 0);
|
|
26
|
+
class UpdateUserStatusDto {
|
|
27
|
+
}
|
|
28
|
+
exports.UpdateUserStatusDto = UpdateUserStatusDto;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsEnum)(user_enum_1.UserStatus),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], UpdateUserStatusDto.prototype, "status", void 0);
|
|
33
|
+
class CreateEmployeeProfileDto {
|
|
34
|
+
}
|
|
35
|
+
exports.CreateEmployeeProfileDto = CreateEmployeeProfileDto;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsString)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CreateEmployeeProfileDto.prototype, "fullName", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CreateEmployeeProfileDto.prototype, "shortName", void 0);
|
|
22
45
|
__decorate([
|
|
23
46
|
(0, class_validator_1.IsEmail)(),
|
|
24
47
|
__metadata("design:type", String)
|
|
25
|
-
],
|
|
48
|
+
], CreateEmployeeProfileDto.prototype, "email", void 0);
|
|
26
49
|
__decorate([
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
51
|
(0, class_validator_1.IsString)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], CreateEmployeeProfileDto.prototype, "workPhone", void 0);
|
|
54
|
+
__decorate([
|
|
28
55
|
(0, class_validator_1.IsOptional)(),
|
|
56
|
+
(0, class_validator_1.IsString)(),
|
|
29
57
|
__metadata("design:type", String)
|
|
30
|
-
],
|
|
58
|
+
], CreateEmployeeProfileDto.prototype, "mobilePhone", void 0);
|
|
31
59
|
__decorate([
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
61
|
(0, class_validator_1.IsString)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], CreateEmployeeProfileDto.prototype, "position", void 0);
|
|
64
|
+
__decorate([
|
|
33
65
|
(0, class_validator_1.IsOptional)(),
|
|
66
|
+
(0, class_validator_1.IsString)(),
|
|
34
67
|
__metadata("design:type", String)
|
|
35
|
-
],
|
|
68
|
+
], CreateEmployeeProfileDto.prototype, "department", void 0);
|
|
36
69
|
__decorate([
|
|
37
|
-
(0, class_validator_1.
|
|
70
|
+
(0, class_validator_1.IsOptional)(),
|
|
71
|
+
(0, class_validator_1.IsString)(),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], CreateEmployeeProfileDto.prototype, "fax", void 0);
|
|
74
|
+
class UpdateEmployeeProfileDto {
|
|
75
|
+
}
|
|
76
|
+
exports.UpdateEmployeeProfileDto = UpdateEmployeeProfileDto;
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
(0, class_validator_1.IsString)(),
|
|
38
80
|
__metadata("design:type", String)
|
|
39
|
-
],
|
|
81
|
+
], UpdateEmployeeProfileDto.prototype, "fullName", void 0);
|
|
40
82
|
__decorate([
|
|
83
|
+
(0, class_validator_1.IsOptional)(),
|
|
84
|
+
(0, class_validator_1.IsString)(),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], UpdateEmployeeProfileDto.prototype, "shortName", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
89
|
(0, class_validator_1.IsString)(),
|
|
90
|
+
__metadata("design:type", String)
|
|
91
|
+
], UpdateEmployeeProfileDto.prototype, "workPhone", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, class_validator_1.IsOptional)(),
|
|
94
|
+
(0, class_validator_1.IsString)(),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], UpdateEmployeeProfileDto.prototype, "mobilePhone", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_validator_1.IsOptional)(),
|
|
99
|
+
(0, class_validator_1.IsString)(),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], UpdateEmployeeProfileDto.prototype, "position", void 0);
|
|
102
|
+
__decorate([
|
|
42
103
|
(0, class_validator_1.IsOptional)(),
|
|
104
|
+
(0, class_validator_1.IsString)(),
|
|
105
|
+
__metadata("design:type", String)
|
|
106
|
+
], UpdateEmployeeProfileDto.prototype, "department", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, class_validator_1.IsOptional)(),
|
|
109
|
+
(0, class_validator_1.IsString)(),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], UpdateEmployeeProfileDto.prototype, "fax", void 0);
|
|
112
|
+
class CreatePublicProfileDto {
|
|
113
|
+
}
|
|
114
|
+
exports.CreatePublicProfileDto = CreatePublicProfileDto;
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, class_validator_1.IsOptional)(),
|
|
117
|
+
(0, class_validator_1.IsString)(),
|
|
118
|
+
__metadata("design:type", String)
|
|
119
|
+
], CreatePublicProfileDto.prototype, "firstName", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, class_validator_1.IsOptional)(),
|
|
122
|
+
(0, class_validator_1.IsString)(),
|
|
123
|
+
__metadata("design:type", String)
|
|
124
|
+
], CreatePublicProfileDto.prototype, "lastName", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, class_validator_1.IsString)(),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], CreatePublicProfileDto.prototype, "username", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, class_validator_1.IsOptional)(),
|
|
131
|
+
(0, class_validator_1.IsString)(),
|
|
132
|
+
__metadata("design:type", String)
|
|
133
|
+
], CreatePublicProfileDto.prototype, "phone", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, class_validator_1.IsOptional)(),
|
|
136
|
+
(0, class_validator_1.IsEmail)(),
|
|
137
|
+
__metadata("design:type", String)
|
|
138
|
+
], CreatePublicProfileDto.prototype, "email", void 0);
|
|
139
|
+
class UpdatePublicProfileDto {
|
|
140
|
+
}
|
|
141
|
+
exports.UpdatePublicProfileDto = UpdatePublicProfileDto;
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, class_validator_1.IsOptional)(),
|
|
144
|
+
(0, class_validator_1.IsString)(),
|
|
145
|
+
__metadata("design:type", String)
|
|
146
|
+
], UpdatePublicProfileDto.prototype, "firstName", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
(0, class_validator_1.IsOptional)(),
|
|
149
|
+
(0, class_validator_1.IsString)(),
|
|
150
|
+
__metadata("design:type", String)
|
|
151
|
+
], UpdatePublicProfileDto.prototype, "lastName", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, class_validator_1.IsOptional)(),
|
|
154
|
+
(0, class_validator_1.IsString)(),
|
|
155
|
+
__metadata("design:type", String)
|
|
156
|
+
], UpdatePublicProfileDto.prototype, "phone", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, class_validator_1.IsOptional)(),
|
|
159
|
+
(0, class_validator_1.IsEmail)(),
|
|
43
160
|
__metadata("design:type", String)
|
|
44
|
-
],
|
|
161
|
+
], UpdatePublicProfileDto.prototype, "email", void 0);
|
|
45
162
|
//# sourceMappingURL=user.dto.js.map
|
package/dist/dto/user.dto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../src/dto/user.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,
|
|
1
|
+
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../src/dto/user.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,kDAA0D;AAE1D,MAAa,aAAa;CAMzB;AAND,sCAMC;AAJG;IADC,IAAA,wBAAM,GAAE;;iDACW;AAGpB;IADC,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;+CACG;AAGxB,MAAa,mBAAmB;CAG/B;AAHD,kDAGC;AADG;IADC,IAAA,wBAAM,EAAC,sBAAU,CAAC;;mDACC;AAGxB,MAAa,wBAAwB;CA8BpC;AA9BD,4DA8BC;AA5BG;IADC,IAAA,0BAAQ,GAAE;;0DACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACQ;AAGnB;IADC,IAAA,yBAAO,GAAE;;uDACK;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6DACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACE;AAGjB,MAAa,wBAAwB;CA4BpC;AA5BD,4DA4BC;AAzBG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6DACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACE;AAGjB,MAAa,sBAAsB;CAmBlC;AAnBD,wDAmBC;AAhBG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACO;AAGlB;IADC,IAAA,0BAAQ,GAAE;;wDACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;qDACK;AAGnB,MAAa,sBAAsB;CAgBlC;AAhBD,wDAgBC;AAbG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;qDACK"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CardType = void 0;
|
|
4
|
+
var CardType;
|
|
5
|
+
(function (CardType) {
|
|
6
|
+
CardType["PHYSICAL"] = "PHYSICAL";
|
|
7
|
+
CardType["VIRTUAL"] = "VIRTUAL";
|
|
8
|
+
})(CardType || (exports.CardType = CardType = {}));
|
|
9
|
+
//# sourceMappingURL=card.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.enum.js","sourceRoot":"","sources":["../../src/enums/card.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAGX;AAHD,WAAY,QAAQ;IAChB,iCAAqB,CAAA;IACrB,+BAAmB,CAAA;AACvB,CAAC,EAHW,QAAQ,wBAAR,QAAQ,QAGnB"}
|
package/dist/enums/iam.enum.d.ts
CHANGED
package/dist/enums/iam.enum.js
CHANGED
|
@@ -15,6 +15,8 @@ var IdentifierType;
|
|
|
15
15
|
var IdentityStatus;
|
|
16
16
|
(function (IdentityStatus) {
|
|
17
17
|
IdentityStatus["ACTIVE"] = "ACTIVE";
|
|
18
|
+
IdentityStatus["SUSPENDED"] = "SUSPENDED";
|
|
19
|
+
IdentityStatus["LOCKED"] = "LOCKED";
|
|
18
20
|
IdentityStatus["BLOCKED"] = "BLOCKED";
|
|
19
21
|
IdentityStatus["DELETED"] = "DELETED";
|
|
20
22
|
})(IdentityStatus || (exports.IdentityStatus = IdentityStatus = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iam.enum.js","sourceRoot":"","sources":["../../src/enums/iam.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;AACvB,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB;AAGD,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,iCAAe,CAAA;IACf,uCAAqB,CAAA;AACzB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAGD,IAAY,
|
|
1
|
+
{"version":3,"file":"iam.enum.js","sourceRoot":"","sources":["../../src/enums/iam.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;AACvB,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB;AAGD,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,iCAAe,CAAA;IACf,uCAAqB,CAAA;AACzB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAGD,IAAY,cAMX;AAND,WAAY,cAAc;IACtB,mCAAiB,CAAA;IACjB,yCAAuB,CAAA;IACvB,mCAAiB,CAAA;IACjB,qCAAmB,CAAA;IACnB,qCAAmB,CAAA;AACvB,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB"}
|
package/dist/enums/index.d.ts
CHANGED
package/dist/enums/index.js
CHANGED
|
@@ -24,4 +24,8 @@ __exportStar(require("./error.enum"), exports);
|
|
|
24
24
|
__exportStar(require("./auth.enum"), exports);
|
|
25
25
|
__exportStar(require("./permission.enum"), exports);
|
|
26
26
|
__exportStar(require("./events.enum"), exports);
|
|
27
|
+
__exportStar(require("./card.enum"), exports);
|
|
28
|
+
__exportStar(require("./transaction.enum"), exports);
|
|
29
|
+
__exportStar(require("./saga.enum"), exports);
|
|
30
|
+
__exportStar(require("./job.enum"), exports);
|
|
27
31
|
//# sourceMappingURL=index.js.map
|
package/dist/enums/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,iDAA+B;AAC/B,sDAAoC;AACpC,+CAA6B;AAC7B,8CAA4B;AAC5B,oDAAkC;AAClC,gDAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,iDAA+B;AAC/B,sDAAoC;AACpC,+CAA6B;AAC7B,8CAA4B;AAC5B,oDAAkC;AAClC,gDAA8B;AAC9B,8CAA4B;AAC5B,qDAAmC;AACnC,8CAA4B;AAC5B,6CAA2B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum JobStatus {
|
|
2
|
+
PENDING = "PENDING",
|
|
3
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
4
|
+
COMPLETED = "COMPLETED",
|
|
5
|
+
FAILED = "FAILED",
|
|
6
|
+
SKIPPED = "SKIPPED"
|
|
7
|
+
}
|
|
8
|
+
export declare enum JobType {
|
|
9
|
+
WALLET_ALLOCATION = "WALLET_ALLOCATION",
|
|
10
|
+
SYSTEM_CLEANUP = "SYSTEM_CLEANUP",
|
|
11
|
+
NOTIFICATION_RETRY = "NOTIFICATION_RETRY",
|
|
12
|
+
DBF_SYNC = "DBF_SYNC"
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.JobType = exports.JobStatus = void 0;
|
|
4
|
+
var JobStatus;
|
|
5
|
+
(function (JobStatus) {
|
|
6
|
+
JobStatus["PENDING"] = "PENDING";
|
|
7
|
+
JobStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
8
|
+
JobStatus["COMPLETED"] = "COMPLETED";
|
|
9
|
+
JobStatus["FAILED"] = "FAILED";
|
|
10
|
+
JobStatus["SKIPPED"] = "SKIPPED";
|
|
11
|
+
})(JobStatus || (exports.JobStatus = JobStatus = {}));
|
|
12
|
+
var JobType;
|
|
13
|
+
(function (JobType) {
|
|
14
|
+
JobType["WALLET_ALLOCATION"] = "WALLET_ALLOCATION";
|
|
15
|
+
JobType["SYSTEM_CLEANUP"] = "SYSTEM_CLEANUP";
|
|
16
|
+
JobType["NOTIFICATION_RETRY"] = "NOTIFICATION_RETRY";
|
|
17
|
+
JobType["DBF_SYNC"] = "DBF_SYNC";
|
|
18
|
+
})(JobType || (exports.JobType = JobType = {}));
|
|
19
|
+
//# sourceMappingURL=job.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"job.enum.js","sourceRoot":"","sources":["../../src/enums/job.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAMX;AAND,WAAY,SAAS;IACjB,gCAAmB,CAAA;IACnB,wCAA2B,CAAA;IAC3B,oCAAuB,CAAA;IACvB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;AACvB,CAAC,EANW,SAAS,yBAAT,SAAS,QAMpB;AAED,IAAY,OAKX;AALD,WAAY,OAAO;IACf,kDAAuC,CAAA;IACvC,4CAAiC,CAAA;IACjC,oDAAyC,CAAA;IACzC,gCAAqB,CAAA;AACzB,CAAC,EALW,OAAO,uBAAP,OAAO,QAKlB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SagaStatus = void 0;
|
|
4
|
+
var SagaStatus;
|
|
5
|
+
(function (SagaStatus) {
|
|
6
|
+
SagaStatus["PENDING"] = "PENDING";
|
|
7
|
+
SagaStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
8
|
+
SagaStatus["COMPLETED"] = "COMPLETED";
|
|
9
|
+
SagaStatus["FAILED"] = "FAILED";
|
|
10
|
+
SagaStatus["COMPENSATING"] = "COMPENSATING";
|
|
11
|
+
SagaStatus["COMPENSATED"] = "COMPENSATED";
|
|
12
|
+
})(SagaStatus || (exports.SagaStatus = SagaStatus = {}));
|
|
13
|
+
//# sourceMappingURL=saga.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saga.enum.js","sourceRoot":"","sources":["../../src/enums/saga.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,iCAAmB,CAAA;IACnB,yCAA2B,CAAA;IAC3B,qCAAuB,CAAA;IACvB,+BAAiB,CAAA;IACjB,2CAA6B,CAAA;IAC7B,yCAA2B,CAAA;AAC/B,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProcessingMode = void 0;
|
|
4
|
+
var ProcessingMode;
|
|
5
|
+
(function (ProcessingMode) {
|
|
6
|
+
ProcessingMode["OFFLINE"] = "OFFLINE";
|
|
7
|
+
ProcessingMode["ONLINE"] = "ONLINE";
|
|
8
|
+
})(ProcessingMode || (exports.ProcessingMode = ProcessingMode = {}));
|
|
9
|
+
//# sourceMappingURL=transaction.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction.enum.js","sourceRoot":"","sources":["../../src/enums/transaction.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;AACrB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB"}
|
|
@@ -11,7 +11,13 @@ export declare enum UserStatus {
|
|
|
11
11
|
INACTIVE = "INACTIVE",
|
|
12
12
|
PENDING = "PENDING",
|
|
13
13
|
SUSPENDED = "SUSPENDED",
|
|
14
|
-
BLOCKED = "BLOCKED"
|
|
14
|
+
BLOCKED = "BLOCKED",
|
|
15
|
+
DELETED = "DELETED"
|
|
16
|
+
}
|
|
17
|
+
export declare enum UserType {
|
|
18
|
+
EMPLOYEE = "EMPLOYEE",
|
|
19
|
+
CLIENT = "CLIENT",
|
|
20
|
+
PARTNER = "PARTNER"
|
|
15
21
|
}
|
|
16
22
|
export declare enum UserScope {
|
|
17
23
|
READ = "READ",
|
package/dist/enums/user.enum.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserScope = exports.UserStatus = exports.UserRole = void 0;
|
|
3
|
+
exports.UserScope = exports.UserType = exports.UserStatus = exports.UserRole = void 0;
|
|
4
4
|
var UserRole;
|
|
5
5
|
(function (UserRole) {
|
|
6
6
|
UserRole["SUPER_ADMIN"] = "SUPER_ADMIN";
|
|
@@ -17,7 +17,14 @@ var UserStatus;
|
|
|
17
17
|
UserStatus["PENDING"] = "PENDING";
|
|
18
18
|
UserStatus["SUSPENDED"] = "SUSPENDED";
|
|
19
19
|
UserStatus["BLOCKED"] = "BLOCKED";
|
|
20
|
+
UserStatus["DELETED"] = "DELETED";
|
|
20
21
|
})(UserStatus || (exports.UserStatus = UserStatus = {}));
|
|
22
|
+
var UserType;
|
|
23
|
+
(function (UserType) {
|
|
24
|
+
UserType["EMPLOYEE"] = "EMPLOYEE";
|
|
25
|
+
UserType["CLIENT"] = "CLIENT";
|
|
26
|
+
UserType["PARTNER"] = "PARTNER";
|
|
27
|
+
})(UserType || (exports.UserType = UserType = {}));
|
|
21
28
|
var UserScope;
|
|
22
29
|
(function (UserScope) {
|
|
23
30
|
UserScope["READ"] = "READ";
|