cecon-interfaces 1.9.41 → 1.9.44
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/activation-key/entities/activation-key.entity.mjs +1 -3
- package/dist/esm2022/payio/activation-key/interfaces/i-activation-key.mjs +1 -1
- package/dist/esm2022/payio/cards/entities/card-config.entity.mjs +2 -1
- package/dist/esm2022/payio/cards/entities/card.entity.mjs +8 -4
- package/dist/esm2022/payio/cards/enums/status-production.enum.mjs +9 -0
- package/dist/esm2022/payio/cards/enums/status.enum.mjs +1 -6
- package/dist/esm2022/payio/cards/enums/type.enum.mjs +6 -0
- package/dist/esm2022/payio/cards/interfaces/i-card-config.mjs +1 -1
- package/dist/esm2022/payio/cards/interfaces/i-card.mjs +1 -1
- package/dist/esm2022/payio/cards-transactions/entities/card-transaction.entity.mjs +4 -10
- package/dist/esm2022/payio/cards-transactions/entities/index.mjs +1 -2
- package/dist/esm2022/payio/cards-transactions/interfaces/i-card-transaction.mjs +1 -1
- package/dist/esm2022/payio/cards-transactions/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +25 -41
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/activation-key/entities/activation-key.entity.d.ts +0 -1
- package/dist/payio/activation-key/entities/activation-key.entity.js +0 -2
- package/dist/payio/activation-key/interfaces/i-activation-key.d.ts +0 -1
- package/dist/payio/cards/entities/card-config.entity.d.ts +1 -0
- package/dist/payio/cards/entities/card-config.entity.js +1 -0
- package/dist/payio/cards/entities/card.entity.d.ts +6 -2
- package/dist/payio/cards/entities/card.entity.js +7 -3
- package/dist/payio/cards/enums/status-production.enum.d.ts +7 -0
- package/dist/payio/cards/enums/status-production.enum.js +11 -0
- package/dist/payio/cards/enums/status.enum.d.ts +1 -6
- package/dist/payio/cards/enums/status.enum.js +0 -5
- package/dist/payio/cards/enums/type.enum.d.ts +4 -0
- package/dist/payio/cards/enums/type.enum.js +8 -0
- package/dist/payio/cards/interfaces/i-card-config.d.ts +4 -3
- package/dist/payio/cards/interfaces/i-card.d.ts +12 -8
- package/dist/payio/cards-transactions/entities/card-transaction.entity.d.ts +3 -9
- package/dist/payio/cards-transactions/entities/card-transaction.entity.js +3 -9
- package/dist/payio/cards-transactions/entities/index.d.ts +0 -1
- package/dist/payio/cards-transactions/entities/index.js +1 -3
- package/dist/payio/cards-transactions/interfaces/i-card-transaction.d.ts +3 -10
- package/dist/payio/cards-transactions/interfaces/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/esm2022/payio/cards-transactions/entities/card-transaction-payment.entity.mjs +0 -22
- package/dist/esm2022/payio/cards-transactions/interfaces/i-card-payment.mjs +0 -2
- package/dist/payio/cards-transactions/entities/card-transaction-payment.entity.d.ts +0 -14
- package/dist/payio/cards-transactions/entities/card-transaction-payment.entity.js +0 -26
- package/dist/payio/cards-transactions/interfaces/i-card-payment.d.ts +0 -12
- package/dist/payio/cards-transactions/interfaces/i-card-payment.js +0 -2
@@ -16,8 +16,6 @@ var PayioActivationKeyEntity = /** @class */ (function () {
|
|
16
16
|
// === REFERÊNCIA AO LOTE (fonte das configurações) ===
|
17
17
|
// ID do lote que gerou esta licença
|
18
18
|
this.batchId = '';
|
19
|
-
// ID do cartão (preenchido na ativação)
|
20
|
-
this.cardId = null;
|
21
19
|
// ID da empresa (preenchido na ativação)
|
22
20
|
this.companyId = null;
|
23
21
|
this.companyName = null;
|
@@ -13,6 +13,7 @@ export declare class PayioCardConfigEntity implements IPayioCardConfig {
|
|
13
13
|
discountAmountType: EAmountMode;
|
14
14
|
dueDate: Date;
|
15
15
|
invoiceLogs: string[];
|
16
|
+
key: string | null;
|
16
17
|
password: string | null;
|
17
18
|
webhookUrls: string[];
|
18
19
|
constructor(data?: Partial<PayioCardConfigEntity>);
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { ECardMode, EPayioCardStatus } from '../enums';
|
2
|
+
import { EPayioCardStatusProduction } from '../enums/status-production.enum';
|
3
|
+
import { EPayioCardType } from '../enums/type.enum';
|
2
4
|
import { IPayioCardConfig } from '../interfaces';
|
3
5
|
import { IPayioCard } from '../interfaces/i-card';
|
4
6
|
import { PayioCardAccountProviderEntity } from './card-account-provider.entity';
|
5
7
|
import { PayioCardDataEntity } from './card-data.entity';
|
6
8
|
export declare class PayioCardEntity implements IPayioCard {
|
7
9
|
accountProvider: PayioCardAccountProviderEntity;
|
8
|
-
activationId: string | null;
|
9
|
-
activationKey: string | null;
|
10
10
|
active: boolean;
|
11
11
|
companyId: string;
|
12
12
|
config: IPayioCardConfig;
|
@@ -21,7 +21,11 @@ export declare class PayioCardEntity implements IPayioCard {
|
|
21
21
|
logs: string[];
|
22
22
|
mode: ECardMode;
|
23
23
|
status: EPayioCardStatus;
|
24
|
+
statusProduction: EPayioCardStatusProduction;
|
24
25
|
tags: string[];
|
26
|
+
type: EPayioCardType;
|
27
|
+
unblockCode: string | null;
|
28
|
+
unblockedAt: Date | null;
|
25
29
|
updatedAt: Date;
|
26
30
|
constructor(data?: Partial<PayioCardEntity>);
|
27
31
|
}
|
@@ -2,14 +2,14 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioCardEntity = void 0;
|
4
4
|
var enums_1 = require("../enums");
|
5
|
+
var status_production_enum_1 = require("../enums/status-production.enum");
|
6
|
+
var type_enum_1 = require("../enums/type.enum");
|
5
7
|
var card_account_provider_entity_1 = require("./card-account-provider.entity");
|
6
8
|
var card_config_entity_1 = require("./card-config.entity");
|
7
9
|
var card_data_entity_1 = require("./card-data.entity");
|
8
10
|
var PayioCardEntity = /** @class */ (function () {
|
9
11
|
function PayioCardEntity(data) {
|
10
12
|
this.accountProvider = new card_account_provider_entity_1.PayioCardAccountProviderEntity();
|
11
|
-
this.activationId = null;
|
12
|
-
this.activationKey = null;
|
13
13
|
this.active = false;
|
14
14
|
this.companyId = '';
|
15
15
|
this.config = new card_config_entity_1.PayioCardConfigEntity();
|
@@ -23,8 +23,12 @@ var PayioCardEntity = /** @class */ (function () {
|
|
23
23
|
this.label = '';
|
24
24
|
this.logs = [];
|
25
25
|
this.mode = enums_1.ECardMode.HYBRID;
|
26
|
-
this.status = enums_1.EPayioCardStatus.
|
26
|
+
this.status = enums_1.EPayioCardStatus.BLOCKED;
|
27
|
+
this.statusProduction = status_production_enum_1.EPayioCardStatusProduction.PENDING;
|
27
28
|
this.tags = [];
|
29
|
+
this.type = type_enum_1.EPayioCardType.VIRTUAL;
|
30
|
+
this.unblockCode = null;
|
31
|
+
this.unblockedAt = null;
|
28
32
|
this.updatedAt = new Date();
|
29
33
|
if (data) {
|
30
34
|
for (var key in data) {
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayioCardStatusProduction = void 0;
|
4
|
+
var EPayioCardStatusProduction;
|
5
|
+
(function (EPayioCardStatusProduction) {
|
6
|
+
EPayioCardStatusProduction["READY"] = "READY";
|
7
|
+
EPayioCardStatusProduction["DISPATCHED"] = "DISPATCHED";
|
8
|
+
EPayioCardStatusProduction["DELIVERED"] = "DELIVERED";
|
9
|
+
EPayioCardStatusProduction["PENDING"] = "PENDING";
|
10
|
+
EPayioCardStatusProduction["IN_PRODUCTION"] = "IN_PRODUCTION";
|
11
|
+
})(EPayioCardStatusProduction || (exports.EPayioCardStatusProduction = EPayioCardStatusProduction = {}));
|
@@ -2,12 +2,7 @@ export declare enum EPayioCardStatus {
|
|
2
2
|
ACTIVE = "ACTIVE",
|
3
3
|
REVOKED = "REVOKED",
|
4
4
|
INACTIVE = "INACTIVE",
|
5
|
-
READY = "READY",
|
6
|
-
DISPATCHED = "DISPATCHED",
|
7
5
|
CANCELLED = "CANCELLED",
|
8
|
-
DELIVERED = "DELIVERED",
|
9
|
-
PENDING = "PENDING",
|
10
6
|
BLOCKED = "BLOCKED",
|
11
|
-
SUSPENDED = "SUSPENDED"
|
12
|
-
IN_PRODUCTION = "IN_PRODUCTION"
|
7
|
+
SUSPENDED = "SUSPENDED"
|
13
8
|
}
|
@@ -6,12 +6,7 @@ var EPayioCardStatus;
|
|
6
6
|
EPayioCardStatus["ACTIVE"] = "ACTIVE";
|
7
7
|
EPayioCardStatus["REVOKED"] = "REVOKED";
|
8
8
|
EPayioCardStatus["INACTIVE"] = "INACTIVE";
|
9
|
-
EPayioCardStatus["READY"] = "READY";
|
10
|
-
EPayioCardStatus["DISPATCHED"] = "DISPATCHED";
|
11
9
|
EPayioCardStatus["CANCELLED"] = "CANCELLED";
|
12
|
-
EPayioCardStatus["DELIVERED"] = "DELIVERED";
|
13
|
-
EPayioCardStatus["PENDING"] = "PENDING";
|
14
10
|
EPayioCardStatus["BLOCKED"] = "BLOCKED";
|
15
11
|
EPayioCardStatus["SUSPENDED"] = "SUSPENDED";
|
16
|
-
EPayioCardStatus["IN_PRODUCTION"] = "IN_PRODUCTION";
|
17
12
|
})(EPayioCardStatus || (exports.EPayioCardStatus = EPayioCardStatus = {}));
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayioCardType = void 0;
|
4
|
+
var EPayioCardType;
|
5
|
+
(function (EPayioCardType) {
|
6
|
+
EPayioCardType["VIRTUAL"] = "VIRTUAL";
|
7
|
+
EPayioCardType["PHYSICAL"] = "PHYSICAL";
|
8
|
+
})(EPayioCardType || (exports.EPayioCardType = EPayioCardType = {}));
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { EAmountMode, ECycle } from
|
2
|
-
import { IPayioCardApplicableItem } from
|
3
|
-
import { IPayioCardAuth } from
|
1
|
+
import { EAmountMode, ECycle } from "../../../general";
|
2
|
+
import { IPayioCardApplicableItem } from "./i-card-aplicable-item";
|
3
|
+
import { IPayioCardAuth } from "./i-card-auth";
|
4
4
|
export interface IPayioCardConfig {
|
5
5
|
appIds: string[];
|
6
6
|
applicableItems?: IPayioCardApplicableItem[];
|
@@ -14,6 +14,7 @@ export interface IPayioCardConfig {
|
|
14
14
|
discountAmountType: EAmountMode;
|
15
15
|
dueDate: Date;
|
16
16
|
invoiceLogs: string[];
|
17
|
+
key: string | null;
|
17
18
|
password: string | null;
|
18
19
|
webhookUrls: string[];
|
19
20
|
}
|
@@ -1,18 +1,18 @@
|
|
1
|
-
import { ECardMode, EPayioCardStatus } from
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
1
|
+
import { ECardMode, EPayioCardStatus } from "../enums";
|
2
|
+
import { EPayioCardStatusProduction } from "../enums/status-production.enum";
|
3
|
+
import { EPayioCardType } from "../enums/type.enum";
|
4
|
+
import { IPayioCardAccountProvider } from "./i-card-account-provider";
|
5
|
+
import { IPayioCardConfig } from "./i-card-config";
|
6
|
+
import { IPayioCardData } from "./i-card-data";
|
5
7
|
export interface IPayioCard {
|
6
8
|
accountProvider: IPayioCardAccountProvider;
|
7
|
-
activationId: string | null;
|
8
|
-
activationKey: string | null;
|
9
9
|
active: boolean;
|
10
10
|
companyId: string;
|
11
|
+
config: IPayioCardConfig;
|
12
|
+
consumerExternalReference: string | null;
|
11
13
|
consumerId: string | null;
|
12
14
|
consumerMetadata: string | null;
|
13
|
-
consumerExternalReference: string | null;
|
14
15
|
containerId: string | null;
|
15
|
-
config: IPayioCardConfig;
|
16
16
|
createdAt: Date;
|
17
17
|
data: IPayioCardData;
|
18
18
|
id: string;
|
@@ -20,6 +20,10 @@ export interface IPayioCard {
|
|
20
20
|
logs: string[];
|
21
21
|
mode: ECardMode;
|
22
22
|
status: EPayioCardStatus;
|
23
|
+
statusProduction: EPayioCardStatusProduction;
|
23
24
|
tags: string[];
|
25
|
+
type: EPayioCardType;
|
26
|
+
unblockCode: string | null;
|
27
|
+
unblockedAt: Date | null;
|
24
28
|
updatedAt: Date;
|
25
29
|
}
|
@@ -1,22 +1,16 @@
|
|
1
|
-
import { EAmountMode } from '../../../general';
|
2
1
|
import { EPayioTransactionType } from '../enums';
|
3
|
-
import { IPayioCardTransaction
|
2
|
+
import { IPayioCardTransaction } from '../interfaces';
|
4
3
|
export declare class PayioCardTransactionEntity implements IPayioCardTransaction {
|
5
4
|
active: boolean;
|
6
|
-
|
7
|
-
beforeBalance: number;
|
5
|
+
amount: number;
|
8
6
|
cardId: string;
|
7
|
+
reference: string;
|
9
8
|
createdAt: Date;
|
10
|
-
discountAmount: number;
|
11
|
-
discountAmountType: EAmountMode;
|
12
|
-
externalReference: string;
|
13
9
|
finalCompanyId: string;
|
14
10
|
finalContainerId: string | null;
|
15
11
|
id: string;
|
16
12
|
metadata?: string | null | undefined;
|
17
|
-
paymentTransaction: IPayioCardTransactionPayment;
|
18
13
|
sandbox: boolean;
|
19
|
-
tags: string[];
|
20
14
|
type: EPayioTransactionType;
|
21
15
|
updatedAt: Date;
|
22
16
|
constructor(data?: Partial<PayioCardTransactionEntity>);
|
@@ -1,24 +1,18 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioCardTransactionEntity = void 0;
|
4
|
-
var general_1 = require("../../../general");
|
5
4
|
var enums_1 = require("../enums");
|
6
5
|
var PayioCardTransactionEntity = /** @class */ (function () {
|
7
6
|
function PayioCardTransactionEntity(data) {
|
8
|
-
this.active =
|
9
|
-
this.
|
10
|
-
this.beforeBalance = 0;
|
7
|
+
this.active = true;
|
8
|
+
this.amount = 0;
|
11
9
|
this.cardId = '';
|
10
|
+
this.reference = '';
|
12
11
|
this.createdAt = new Date();
|
13
|
-
this.discountAmount = 0;
|
14
|
-
this.discountAmountType = general_1.EAmountMode.FIXED;
|
15
|
-
this.externalReference = '';
|
16
12
|
this.finalCompanyId = '';
|
17
13
|
this.finalContainerId = null;
|
18
14
|
this.id = '';
|
19
|
-
this.paymentTransaction = {};
|
20
15
|
this.sandbox = false;
|
21
|
-
this.tags = [];
|
22
16
|
this.type = enums_1.EPayioTransactionType.DISCOUNT;
|
23
17
|
this.updatedAt = new Date();
|
24
18
|
if (data) {
|
@@ -1,7 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioCardTransactionEntity =
|
4
|
-
var card_transaction_payment_entity_1 = require("./card-transaction-payment.entity");
|
5
|
-
Object.defineProperty(exports, "PayioCardTransactionPaymentEntity", { enumerable: true, get: function () { return card_transaction_payment_entity_1.PayioCardTransactionPaymentEntity; } });
|
3
|
+
exports.PayioCardTransactionEntity = void 0;
|
6
4
|
var card_transaction_entity_1 = require("./card-transaction.entity");
|
7
5
|
Object.defineProperty(exports, "PayioCardTransactionEntity", { enumerable: true, get: function () { return card_transaction_entity_1.PayioCardTransactionEntity; } });
|
@@ -1,22 +1,15 @@
|
|
1
|
-
import {
|
2
|
-
import { EPayioTransactionType } from "../enums";
|
3
|
-
import { IPayioCardTransactionPayment } from "./i-card-payment";
|
1
|
+
import { EPayioTransactionType } from '../enums';
|
4
2
|
export interface IPayioCardTransaction {
|
5
3
|
active: boolean;
|
6
|
-
afterBalance: number;
|
7
|
-
beforeBalance: number;
|
8
4
|
cardId: string;
|
9
5
|
createdAt: Date;
|
10
|
-
|
11
|
-
|
12
|
-
externalReference: string;
|
6
|
+
amount: number;
|
7
|
+
reference: string;
|
13
8
|
finalCompanyId: string;
|
14
9
|
finalContainerId: string | null;
|
15
10
|
id: string;
|
16
11
|
metadata?: string | null;
|
17
|
-
paymentTransaction: IPayioCardTransactionPayment;
|
18
12
|
sandbox: boolean;
|
19
|
-
tags: string[];
|
20
13
|
type: EPayioTransactionType;
|
21
14
|
updatedAt: Date;
|
22
15
|
}
|
package/package.json
CHANGED
@@ -1,22 +0,0 @@
|
|
1
|
-
export class PayioCardTransactionPaymentEntity {
|
2
|
-
amount = 0;
|
3
|
-
createdAt = new Date();
|
4
|
-
id = '';
|
5
|
-
metadata = null;
|
6
|
-
pixKey = '';
|
7
|
-
pixProvider = '';
|
8
|
-
status = '';
|
9
|
-
transactionId = '';
|
10
|
-
type = '';
|
11
|
-
updatedAt = new Date();
|
12
|
-
constructor(data) {
|
13
|
-
if (data) {
|
14
|
-
for (let key in data) {
|
15
|
-
if (data.hasOwnProperty(key) && key in this) {
|
16
|
-
this[key] = data[key];
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC10cmFuc2FjdGlvbi1wYXltZW50LmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9wYXlpby9jYXJkcy10cmFuc2FjdGlvbnMvZW50aXRpZXMvY2FyZC10cmFuc2FjdGlvbi1wYXltZW50LmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8saUNBQWlDO0lBQ3JDLE1BQU0sR0FBVyxDQUFDLENBQUM7SUFDbkIsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFDN0IsRUFBRSxHQUFXLEVBQUUsQ0FBQztJQUNoQixRQUFRLEdBQStCLElBQUksQ0FBQztJQUM1QyxNQUFNLEdBQVcsRUFBRSxDQUFDO0lBQ3BCLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFDekIsTUFBTSxHQUFXLEVBQUUsQ0FBQztJQUNwQixhQUFhLEdBQVcsRUFBRSxDQUFDO0lBQzNCLElBQUksR0FBVyxFQUFFLENBQUM7SUFDbEIsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFFcEMsWUFBWSxJQUFpRDtRQUMzRCxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDMUMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDekM7YUFDRjtTQUNGO0lBQ0gsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVBheWlvQ2FyZFRyYW5zYWN0aW9uUGF5bWVudCB9IGZyb20gJy4uL2ludGVyZmFjZXMnO1xyXG5cclxuZXhwb3J0IGNsYXNzIFBheWlvQ2FyZFRyYW5zYWN0aW9uUGF5bWVudEVudGl0eSBpbXBsZW1lbnRzIElQYXlpb0NhcmRUcmFuc2FjdGlvblBheW1lbnQge1xyXG4gIHB1YmxpYyBhbW91bnQ6IG51bWJlciA9IDA7XHJcbiAgcHVibGljIGNyZWF0ZWRBdDogRGF0ZSA9IG5ldyBEYXRlKCk7XHJcbiAgcHVibGljIGlkOiBzdHJpbmcgPSAnJztcclxuICBwdWJsaWMgbWV0YWRhdGE/OiBzdHJpbmcgfCBudWxsIHwgdW5kZWZpbmVkID0gbnVsbDtcclxuICBwdWJsaWMgcGl4S2V5OiBzdHJpbmcgPSAnJztcclxuICBwdWJsaWMgcGl4UHJvdmlkZXI6IHN0cmluZyA9ICcnO1xyXG4gIHB1YmxpYyBzdGF0dXM6IHN0cmluZyA9ICcnO1xyXG4gIHB1YmxpYyB0cmFuc2FjdGlvbklkOiBzdHJpbmcgPSAnJztcclxuICBwdWJsaWMgdHlwZTogc3RyaW5nID0gJyc7XHJcbiAgcHVibGljIHVwZGF0ZWRBdDogRGF0ZSA9IG5ldyBEYXRlKCk7XHJcblxyXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPFBheWlvQ2FyZFRyYW5zYWN0aW9uUGF5bWVudEVudGl0eT4pIHtcclxuICAgIGlmIChkYXRhKSB7XHJcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XHJcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jYXJkLXBheW1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcGF5aW8vY2FyZHMtdHJhbnNhY3Rpb25zL2ludGVyZmFjZXMvaS1jYXJkLXBheW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVBheWlvQ2FyZFRyYW5zYWN0aW9uUGF5bWVudCB7XHJcbiAgY3JlYXRlZEF0OiBEYXRlO1xyXG4gIGlkOiBzdHJpbmc7XHJcbiAgbWV0YWRhdGE/OiBzdHJpbmcgfCBudWxsOyAvLyBBZGRpdGlvbmFsIGNvbnRleHRcclxuICB1cGRhdGVkQXQ6IERhdGU7XHJcbiAgYW1vdW50OiBudW1iZXI7XHJcbiAgdHlwZTogc3RyaW5nO1xyXG4gIHBpeEtleTogc3RyaW5nO1xyXG4gIHBpeFByb3ZpZGVyOiBzdHJpbmc7XHJcbiAgc3RhdHVzOiBzdHJpbmc7XHJcbiAgdHJhbnNhY3Rpb25JZDogc3RyaW5nO1xyXG59XHJcbiJdfQ==
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { IPayioCardTransactionPayment } from '../interfaces';
|
2
|
-
export declare class PayioCardTransactionPaymentEntity implements IPayioCardTransactionPayment {
|
3
|
-
amount: number;
|
4
|
-
createdAt: Date;
|
5
|
-
id: string;
|
6
|
-
metadata?: string | null | undefined;
|
7
|
-
pixKey: string;
|
8
|
-
pixProvider: string;
|
9
|
-
status: string;
|
10
|
-
transactionId: string;
|
11
|
-
type: string;
|
12
|
-
updatedAt: Date;
|
13
|
-
constructor(data?: Partial<PayioCardTransactionPaymentEntity>);
|
14
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioCardTransactionPaymentEntity = void 0;
|
4
|
-
var PayioCardTransactionPaymentEntity = /** @class */ (function () {
|
5
|
-
function PayioCardTransactionPaymentEntity(data) {
|
6
|
-
this.amount = 0;
|
7
|
-
this.createdAt = new Date();
|
8
|
-
this.id = '';
|
9
|
-
this.metadata = null;
|
10
|
-
this.pixKey = '';
|
11
|
-
this.pixProvider = '';
|
12
|
-
this.status = '';
|
13
|
-
this.transactionId = '';
|
14
|
-
this.type = '';
|
15
|
-
this.updatedAt = new Date();
|
16
|
-
if (data) {
|
17
|
-
for (var key in data) {
|
18
|
-
if (data.hasOwnProperty(key) && key in this) {
|
19
|
-
this[key] = data[key];
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
return PayioCardTransactionPaymentEntity;
|
25
|
-
}());
|
26
|
-
exports.PayioCardTransactionPaymentEntity = PayioCardTransactionPaymentEntity;
|