cecon-interfaces 1.2.98 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.98",
3
+ "version": "1.3.00",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,3 +1,2 @@
1
1
  export * from './entities';
2
2
  export * from './interfaces';
3
- export * from './enums';
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./entities"), exports);
18
18
  __exportStar(require("./interfaces"), exports);
19
- __exportStar(require("./enums"), exports);
@@ -1,5 +1,5 @@
1
1
  import { EDiscountType } from '../../general';
2
- import { ESponsorIdentifier } from '../enums/sponsor-identifier.enum';
2
+ import { ESponsorIdentifier } from '../../transaction';
3
3
  export interface ISponsorFee {
4
4
  type: EDiscountType;
5
5
  amount: number;
@@ -3,5 +3,6 @@ export { ETransactionStatus } from './transaction-status.enum';
3
3
  export { EMpStatus } from './mp-status.enum';
4
4
  export { EMpStatusDetail } from './mp-status-detail.enum';
5
5
  export { EOperationType } from './operation-type.enum';
6
+ export { ESponsorIdentifier } from './operation-type.enum';
6
7
  export { EPaymentMethodId } from './payment-method-id.enum';
7
8
  export { EPaymentTypeId } from './payment-type-id.enum';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EPaymentTypeId = exports.EPaymentMethodId = exports.EOperationType = exports.EMpStatusDetail = exports.EMpStatus = exports.ETransactionStatus = exports.EReleaseStatus = void 0;
3
+ exports.EPaymentTypeId = exports.EPaymentMethodId = exports.ESponsorIdentifier = exports.EOperationType = exports.EMpStatusDetail = exports.EMpStatus = exports.ETransactionStatus = exports.EReleaseStatus = void 0;
4
4
  var release_status_enum_1 = require("./release-status.enum");
5
5
  Object.defineProperty(exports, "EReleaseStatus", { enumerable: true, get: function () { return release_status_enum_1.EReleaseStatus; } });
6
6
  var transaction_status_enum_1 = require("./transaction-status.enum");
@@ -11,6 +11,8 @@ var mp_status_detail_enum_1 = require("./mp-status-detail.enum");
11
11
  Object.defineProperty(exports, "EMpStatusDetail", { enumerable: true, get: function () { return mp_status_detail_enum_1.EMpStatusDetail; } });
12
12
  var operation_type_enum_1 = require("./operation-type.enum");
13
13
  Object.defineProperty(exports, "EOperationType", { enumerable: true, get: function () { return operation_type_enum_1.EOperationType; } });
14
+ var operation_type_enum_2 = require("./operation-type.enum");
15
+ Object.defineProperty(exports, "ESponsorIdentifier", { enumerable: true, get: function () { return operation_type_enum_2.ESponsorIdentifier; } });
14
16
  var payment_method_id_enum_1 = require("./payment-method-id.enum");
15
17
  Object.defineProperty(exports, "EPaymentMethodId", { enumerable: true, get: function () { return payment_method_id_enum_1.EPaymentMethodId; } });
16
18
  var payment_type_id_enum_1 = require("./payment-type-id.enum");
@@ -9,9 +9,10 @@ export declare enum EOperationType {
9
9
  POS_PAYMENT = "pos_payment",
10
10
  MONEY_EXCHANGE = "money_exchange",
11
11
  FEE_SHIPPING = "Taxa de Entrega",
12
- FEE_CONVENIENCE = "Taxa de Conveni\u00EAncia",
12
+ FEE_CONVENIENCE = "Taxa de Conveniencia",
13
13
  NATI_PAY = "Nati Pay",
14
14
  GOLIVE = "Go Live",
15
15
  FIN_TAX = "Taxa Financeira",
16
16
  WITHDRAW = "Saque em Conta"
17
17
  }
18
+ export { EOperationType as ESponsorIdentifier };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EOperationType = void 0;
3
+ exports.ESponsorIdentifier = exports.EOperationType = void 0;
4
4
  var EOperationType;
5
5
  (function (EOperationType) {
6
6
  // mp enums :
@@ -15,12 +15,12 @@ var EOperationType;
15
15
  EOperationType["MONEY_EXCHANGE"] = "money_exchange";
16
16
  // arcnet enums :
17
17
  EOperationType["FEE_SHIPPING"] = "Taxa de Entrega";
18
- EOperationType["FEE_CONVENIENCE"] = "Taxa de Conveni\u00EAncia";
18
+ EOperationType["FEE_CONVENIENCE"] = "Taxa de Conveniencia";
19
19
  EOperationType["NATI_PAY"] = "Nati Pay";
20
20
  EOperationType["GOLIVE"] = "Go Live";
21
21
  EOperationType["FIN_TAX"] = "Taxa Financeira";
22
22
  EOperationType["WITHDRAW"] = "Saque em Conta";
23
- })(EOperationType || (exports.EOperationType = EOperationType = {}));
23
+ })(EOperationType || (exports.ESponsorIdentifier = exports.EOperationType = EOperationType = {}));
24
24
  // É o tipo de pagamento. Os tipos disponíveis são os seguintes.
25
25
  // investment: When money is put into an investment, such as CDB, in the Mercado Pago application;
26
26
  // regular_payment: Typification by default of a purchase being paid using Mercado Pago.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.98",
3
+ "version": "1.3.00",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,2 +0,0 @@
1
- export { ESponsorIdentifier } from './sponsor-identifier.enum';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3BvbnNvci9lbnVtcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEVTcG9uc29ySWRlbnRpZmllciB9IGZyb20gJy4vc3BvbnNvci1pZGVudGlmaWVyLmVudW0nO1xuIl19
@@ -1,6 +0,0 @@
1
- export var ESponsorIdentifier;
2
- (function (ESponsorIdentifier) {
3
- ESponsorIdentifier["DEFAULT_PERCENT"] = "DEFAULT_PERCENT";
4
- ESponsorIdentifier["DEFAULT_FIXED_AMOUNT"] = "DEFAULT_FIXED_AMOUNT";
5
- })(ESponsorIdentifier || (ESponsorIdentifier = {}));
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BvbnNvci1pZGVudGlmaWVyLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3BvbnNvci9lbnVtcy9zcG9uc29yLWlkZW50aWZpZXIuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxrQkFHWDtBQUhELFdBQVksa0JBQWtCO0lBQzVCLHlEQUFtQyxDQUFBO0lBQ25DLG1FQUE2QyxDQUFBO0FBQy9DLENBQUMsRUFIVyxrQkFBa0IsS0FBbEIsa0JBQWtCLFFBRzdCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRVNwb25zb3JJZGVudGlmaWVyIHtcclxuICBERUZBVUxUX1BFUkNFTlQgPSAnREVGQVVMVF9QRVJDRU5UJyxcclxuICBERUZBVUxUX0ZJWEVEX0FNT1VOVCA9ICdERUZBVUxUX0ZJWEVEX0FNT1VOVCcsXHJcbn1cclxuIl19
@@ -1 +0,0 @@
1
- export { ESponsorIdentifier } from './sponsor-identifier.enum';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ESponsorIdentifier = void 0;
4
- var sponsor_identifier_enum_1 = require("./sponsor-identifier.enum");
5
- Object.defineProperty(exports, "ESponsorIdentifier", { enumerable: true, get: function () { return sponsor_identifier_enum_1.ESponsorIdentifier; } });
@@ -1,4 +0,0 @@
1
- export declare enum ESponsorIdentifier {
2
- DEFAULT_PERCENT = "DEFAULT_PERCENT",
3
- DEFAULT_FIXED_AMOUNT = "DEFAULT_FIXED_AMOUNT"
4
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ESponsorIdentifier = void 0;
4
- var ESponsorIdentifier;
5
- (function (ESponsorIdentifier) {
6
- ESponsorIdentifier["DEFAULT_PERCENT"] = "DEFAULT_PERCENT";
7
- ESponsorIdentifier["DEFAULT_FIXED_AMOUNT"] = "DEFAULT_FIXED_AMOUNT";
8
- })(ESponsorIdentifier || (exports.ESponsorIdentifier = ESponsorIdentifier = {}));