cecon-interfaces 1.9.41 → 1.9.43
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-cards-transactions.entity.mjs +18 -0
- package/dist/esm2022/payio/activation-key/entities/activation-key.entity.mjs +2 -3
- package/dist/esm2022/payio/activation-key/entities/index.mjs +2 -1
- package/dist/esm2022/payio/activation-key/interfaces/i-activation-key-cards-transactions.mjs +2 -0
- package/dist/esm2022/payio/activation-key/interfaces/i-activation-key.mjs +1 -1
- package/dist/esm2022/payio/activation-key/interfaces/index.mjs +1 -1
- package/dist/esm2022/payio/cards/entities/card.entity.mjs +7 -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.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 +42 -41
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/activation-key/entities/activation-key-cards-transactions.entity.d.ts +10 -0
- package/dist/payio/activation-key/entities/activation-key-cards-transactions.entity.js +22 -0
- package/dist/payio/activation-key/entities/activation-key.entity.d.ts +7 -1
- package/dist/payio/activation-key/entities/activation-key.entity.js +0 -2
- package/dist/payio/activation-key/entities/index.d.ts +1 -0
- package/dist/payio/activation-key/entities/index.js +3 -1
- package/dist/payio/activation-key/interfaces/i-activation-key-cards-transactions.d.ts +8 -0
- package/dist/payio/activation-key/interfaces/i-activation-key.d.ts +9 -3
- package/dist/payio/activation-key/interfaces/index.d.ts +1 -0
- package/dist/payio/cards/entities/card.entity.d.ts +5 -2
- package/dist/payio/cards/entities/card.entity.js +6 -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.d.ts +9 -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 → activation-key/interfaces/i-activation-key-cards-transactions.js} +0 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
import { IPayioActivationKeyCardsTransactions } from '../interfaces/i-activation-key-cards-transactions';
|
2
|
+
export declare class PayioActivationKeyCardsTransactionsEntity implements IPayioActivationKeyCardsTransactions {
|
3
|
+
amount: number;
|
4
|
+
count: number;
|
5
|
+
lastTransactionAt: Date | null;
|
6
|
+
limit: number;
|
7
|
+
providerReferenceId: string;
|
8
|
+
status: string;
|
9
|
+
constructor(data?: Partial<PayioActivationKeyCardsTransactionsEntity>);
|
10
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioActivationKeyCardsTransactionsEntity = void 0;
|
4
|
+
var PayioActivationKeyCardsTransactionsEntity = /** @class */ (function () {
|
5
|
+
function PayioActivationKeyCardsTransactionsEntity(data) {
|
6
|
+
this.amount = 0;
|
7
|
+
this.count = 0;
|
8
|
+
this.lastTransactionAt = null;
|
9
|
+
this.limit = 0;
|
10
|
+
this.providerReferenceId = '';
|
11
|
+
this.status = 'PENDING';
|
12
|
+
if (data) {
|
13
|
+
for (var key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
return PayioActivationKeyCardsTransactionsEntity;
|
21
|
+
}());
|
22
|
+
exports.PayioActivationKeyCardsTransactionsEntity = PayioActivationKeyCardsTransactionsEntity;
|
@@ -6,7 +6,13 @@ export declare class PayioActivationKeyEntity implements IPayioActivationKey {
|
|
6
6
|
appId: string | null;
|
7
7
|
appSlug: string | null;
|
8
8
|
batchId: string;
|
9
|
-
|
9
|
+
cardsTransactions: {
|
10
|
+
count: number;
|
11
|
+
limit: number;
|
12
|
+
providerReferenceId: string;
|
13
|
+
lastTransactionAt: Date | null;
|
14
|
+
amount: number;
|
15
|
+
};
|
10
16
|
companyId: string | null;
|
11
17
|
companyName: string | null;
|
12
18
|
confirmationKey: boolean;
|
@@ -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;
|
@@ -1,5 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioActivationKeyEntity = void 0;
|
3
|
+
exports.PayioActivationKeyEntity = exports.PayioActivationKeyCardsTransactionsEntity = void 0;
|
4
|
+
var activation_key_cards_transactions_entity_1 = require("./activation-key-cards-transactions.entity");
|
5
|
+
Object.defineProperty(exports, "PayioActivationKeyCardsTransactionsEntity", { enumerable: true, get: function () { return activation_key_cards_transactions_entity_1.PayioActivationKeyCardsTransactionsEntity; } });
|
4
6
|
var activation_key_entity_1 = require("./activation-key.entity");
|
5
7
|
Object.defineProperty(exports, "PayioActivationKeyEntity", { enumerable: true, get: function () { return activation_key_entity_1.PayioActivationKeyEntity; } });
|
@@ -1,11 +1,10 @@
|
|
1
|
-
import { EPayioActivationKeyStatus } from
|
2
|
-
import { EPayioLicenseType } from
|
1
|
+
import { EPayioActivationKeyStatus } from '../enums/activation-key-status.enum';
|
2
|
+
import { EPayioLicenseType } from '../enums/license-type.enum';
|
3
3
|
export interface IPayioActivationKey {
|
4
4
|
activationAt: Date | null;
|
5
5
|
appId: string | null;
|
6
6
|
appSlug: string | null;
|
7
7
|
batchId: string;
|
8
|
-
cardId: string | null;
|
9
8
|
companyId: string | null;
|
10
9
|
companyName: string | null;
|
11
10
|
confirmationKey: boolean;
|
@@ -18,6 +17,13 @@ export interface IPayioActivationKey {
|
|
18
17
|
hardwareFingerprint: string | null;
|
19
18
|
id: string;
|
20
19
|
installationAt: Date | null;
|
20
|
+
cardsTransactions: {
|
21
|
+
count: number;
|
22
|
+
limit: number;
|
23
|
+
providerReferenceId: string;
|
24
|
+
lastTransactionAt: Date | null;
|
25
|
+
amount: number;
|
26
|
+
};
|
21
27
|
key: string | null;
|
22
28
|
licenseType: EPayioLicenseType;
|
23
29
|
logs: string[];
|
@@ -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;
|
@@ -17,11 +17,14 @@ export declare class PayioCardEntity implements IPayioCard {
|
|
17
17
|
createdAt: Date;
|
18
18
|
data: PayioCardDataEntity;
|
19
19
|
id: string;
|
20
|
+
key: string | null;
|
20
21
|
label: string;
|
21
22
|
logs: string[];
|
22
23
|
mode: ECardMode;
|
23
24
|
status: EPayioCardStatus;
|
25
|
+
statusProduction: EPayioCardStatusProduction;
|
24
26
|
tags: string[];
|
27
|
+
type: EPayioCardType;
|
25
28
|
updatedAt: Date;
|
26
29
|
constructor(data?: Partial<PayioCardEntity>);
|
27
30
|
}
|
@@ -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();
|
@@ -20,11 +20,14 @@ var PayioCardEntity = /** @class */ (function () {
|
|
20
20
|
this.createdAt = new Date();
|
21
21
|
this.data = new card_data_entity_1.PayioCardDataEntity();
|
22
22
|
this.id = '';
|
23
|
+
this.key = null;
|
23
24
|
this.label = '';
|
24
25
|
this.logs = [];
|
25
26
|
this.mode = enums_1.ECardMode.HYBRID;
|
26
|
-
this.status = enums_1.EPayioCardStatus.
|
27
|
+
this.status = enums_1.EPayioCardStatus.BLOCKED;
|
28
|
+
this.statusProduction = status_production_enum_1.EPayioCardStatusProduction.PENDING;
|
27
29
|
this.tags = [];
|
30
|
+
this.type = type_enum_1.EPayioCardType.VIRTUAL;
|
28
31
|
this.updatedAt = new Date();
|
29
32
|
if (data) {
|
30
33
|
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,25 +1,26 @@
|
|
1
|
-
import { ECardMode, EPayioCardStatus } from
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
1
|
+
import { ECardMode, EPayioCardStatus } from "../enums";
|
2
|
+
import { EPayioCardType } from "../enums/type.enum";
|
3
|
+
import { IPayioCardAccountProvider } from "./i-card-account-provider";
|
4
|
+
import { IPayioCardConfig } from "./i-card-config";
|
5
|
+
import { IPayioCardData } from "./i-card-data";
|
5
6
|
export interface IPayioCard {
|
6
7
|
accountProvider: IPayioCardAccountProvider;
|
7
|
-
activationId: string | null;
|
8
|
-
activationKey: string | null;
|
9
8
|
active: boolean;
|
10
9
|
companyId: string;
|
10
|
+
config: IPayioCardConfig;
|
11
|
+
consumerExternalReference: string | null;
|
11
12
|
consumerId: string | null;
|
12
13
|
consumerMetadata: string | null;
|
13
|
-
consumerExternalReference: string | null;
|
14
14
|
containerId: string | null;
|
15
|
-
config: IPayioCardConfig;
|
16
15
|
createdAt: Date;
|
17
16
|
data: IPayioCardData;
|
18
17
|
id: string;
|
18
|
+
key: string | null;
|
19
19
|
label: string;
|
20
20
|
logs: string[];
|
21
21
|
mode: ECardMode;
|
22
22
|
status: EPayioCardStatus;
|
23
23
|
tags: string[];
|
24
|
+
type: EPayioCardType;
|
24
25
|
updatedAt: Date;
|
25
26
|
}
|
@@ -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;
|