cecon-interfaces 1.9.56 → 1.9.57
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/esm2022/payio/cards/entities/card-config.entity.mjs +2 -2
- package/dist/esm2022/payio/cards/enums/key-type.enum.mjs +3 -2
- package/dist/esm2022/payio/user/entities/user-sessions.entity.mjs +2 -1
- package/dist/esm2022/payio/user/interfaces/i-user-sessions.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +4 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/cards/entities/card-config.entity.js +1 -1
- package/dist/payio/cards/enums/key-type.enum.d.ts +2 -1
- package/dist/payio/cards/enums/key-type.enum.js +2 -1
- package/dist/payio/index.js +0 -1
- package/dist/payio/user/entities/user-sessions.entity.d.ts +1 -0
- package/dist/payio/user/entities/user-sessions.entity.js +1 -0
- package/dist/payio/user/interfaces/i-user-sessions.d.ts +1 -0
- package/package.json +1 -1
- package/dist/payio/cards-transactions/entities/card-transaction.entity.js +0 -28
- package/dist/payio/cards-transactions/entities/index.js +0 -5
- package/dist/payio/cards-transactions/enums/index.js +0 -5
- package/dist/payio/cards-transactions/enums/transaction-type.enum.js +0 -11
- package/dist/payio/cards-transactions/index.js +0 -19
- package/dist/payio/cards-transactions/interfaces/i-card-transaction.js +0 -2
- package/dist/payio/cards-transactions/interfaces/index.js +0 -2
@@ -12,7 +12,7 @@ var PayioCardConfigEntity = /** @class */ (function () {
|
|
12
12
|
this.discountAmountType = general_1.EAmountMode.PERCENTAGE;
|
13
13
|
this.items = [];
|
14
14
|
this.key = null;
|
15
|
-
this.keyType = __1.EPayioCardKeyType.
|
15
|
+
this.keyType = __1.EPayioCardKeyType.CPF;
|
16
16
|
this.password = null;
|
17
17
|
if (data) {
|
18
18
|
for (var key in data) {
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EPayioCardKeyType = void 0;
|
4
4
|
var EPayioCardKeyType;
|
5
5
|
(function (EPayioCardKeyType) {
|
6
|
-
EPayioCardKeyType["
|
6
|
+
EPayioCardKeyType["CPF"] = "CPF";
|
7
|
+
EPayioCardKeyType["CNPJ"] = "CNPJ";
|
7
8
|
EPayioCardKeyType["PHONE"] = "PHONE";
|
8
9
|
EPayioCardKeyType["EMAIL"] = "EMAIL";
|
9
10
|
})(EPayioCardKeyType || (exports.EPayioCardKeyType = EPayioCardKeyType = {}));
|
package/dist/payio/index.js
CHANGED
@@ -43,4 +43,3 @@ __exportStar(require("./big-chef-config"), exports);
|
|
43
43
|
__exportStar(require("./activation-batch"), exports);
|
44
44
|
__exportStar(require("./preparation-place"), exports);
|
45
45
|
__exportStar(require("./cards"), exports);
|
46
|
-
__exportStar(require("./cards-transactions"), exports);
|
package/package.json
CHANGED
@@ -1,28 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioCardTransactionEntity = void 0;
|
4
|
-
var enums_1 = require("../enums");
|
5
|
-
var PayioCardTransactionEntity = /** @class */ (function () {
|
6
|
-
function PayioCardTransactionEntity(data) {
|
7
|
-
this.active = true;
|
8
|
-
this.amount = 0;
|
9
|
-
this.cardId = '';
|
10
|
-
this.reference = '';
|
11
|
-
this.createdAt = new Date();
|
12
|
-
this.finalCompanyId = '';
|
13
|
-
this.finalContainerId = null;
|
14
|
-
this.id = '';
|
15
|
-
this.sandbox = false;
|
16
|
-
this.type = enums_1.EPayioTransactionType.DISCOUNT;
|
17
|
-
this.updatedAt = new Date();
|
18
|
-
if (data) {
|
19
|
-
for (var key in data) {
|
20
|
-
if (data.hasOwnProperty(key) && key in this) {
|
21
|
-
this[key] = data[key];
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
26
|
-
return PayioCardTransactionEntity;
|
27
|
-
}());
|
28
|
-
exports.PayioCardTransactionEntity = PayioCardTransactionEntity;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioCardTransactionEntity = void 0;
|
4
|
-
var card_transaction_entity_1 = require("./card-transaction.entity");
|
5
|
-
Object.defineProperty(exports, "PayioCardTransactionEntity", { enumerable: true, get: function () { return card_transaction_entity_1.PayioCardTransactionEntity; } });
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EPayioTransactionType = void 0;
|
4
|
-
var transaction_type_enum_1 = require("./transaction-type.enum");
|
5
|
-
Object.defineProperty(exports, "EPayioTransactionType", { enumerable: true, get: function () { return transaction_type_enum_1.EPayioTransactionType; } });
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EPayioTransactionType = void 0;
|
4
|
-
var EPayioTransactionType;
|
5
|
-
(function (EPayioTransactionType) {
|
6
|
-
EPayioTransactionType["DISCOUNT"] = "DISCOUNT";
|
7
|
-
EPayioTransactionType["MANAGER_ACTION"] = "MANAGER_ACTION";
|
8
|
-
EPayioTransactionType["DEPOSIT"] = "DEPOSIT";
|
9
|
-
EPayioTransactionType["WITHDRAW"] = "WITHDRAW";
|
10
|
-
EPayioTransactionType["PAYMENT"] = "PAYMENT";
|
11
|
-
})(EPayioTransactionType || (exports.EPayioTransactionType = EPayioTransactionType = {}));
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./entities"), exports);
|
18
|
-
__exportStar(require("./enums"), exports);
|
19
|
-
__exportStar(require("./interfaces"), exports);
|