cecon-interfaces 1.0.9 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/company/enums/keys.enum.js +11 -0
- package/dist/company/enums/message-type.enum.js +9 -0
- package/dist/company/index.js +8 -0
- package/dist/company/interfaces/i-company.js +2 -0
- package/dist/device/enums/device-mode.enum.js +12 -0
- package/dist/device/index.js +6 -0
- package/dist/device/interfaces/i-device-metadata.js +2 -0
- package/dist/device/interfaces/i-device.js +2 -0
- package/dist/general/enums/doc-type.enum.js +8 -0
- package/dist/general/enums/lead-origin.enum.js +13 -0
- package/dist/general/enums/payment-channel.enum.js +14 -0
- package/dist/general/enums/payment-mode.enum.js +9 -0
- package/dist/general/enums/payment-type.enum.js +23 -0
- package/dist/general/index.js +14 -0
- package/dist/general/interfaces/i-address.js +2 -0
- package/dist/general/interfaces/i-coords.js +2 -0
- package/dist/general/interfaces/i-delivery-area-fixed.js +2 -0
- package/dist/general/interfaces/i-delivery-area.js +2 -0
- package/dist/general/interfaces/i-messager-channel.js +2 -0
- package/dist/general/interfaces/i-mobyo-server-api.js +2 -0
- package/dist/general/interfaces/i-origin.js +2 -0
- package/dist/general/interfaces/i-payment-method.js +2 -0
- package/dist/general/interfaces/i-payment-provider-agent.js +2 -0
- package/dist/general/interfaces/i-payment-provider.js +2 -0
- package/dist/general/interfaces/i-payment-tokens-data.js +3 -0
- package/dist/general/interfaces/i-payment-tokens.js +3 -0
- package/dist/index.js +20 -0
- package/dist/package.json +1 -1
- package/package.json +2 -1
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CompanyKeysEnum = void 0;
|
4
|
+
var CompanyKeysEnum;
|
5
|
+
(function (CompanyKeysEnum) {
|
6
|
+
CompanyKeysEnum["google"] = "GOOGLE";
|
7
|
+
CompanyKeysEnum["loggi"] = "LOGGI";
|
8
|
+
CompanyKeysEnum["desenfila"] = "DESENFILA";
|
9
|
+
CompanyKeysEnum["mottu"] = "MOTTU";
|
10
|
+
CompanyKeysEnum["algolia"] = "ALGOLIA";
|
11
|
+
})(CompanyKeysEnum || (exports.CompanyKeysEnum = CompanyKeysEnum = {}));
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CompanyMessageTypeEnum = void 0;
|
4
|
+
var CompanyMessageTypeEnum;
|
5
|
+
(function (CompanyMessageTypeEnum) {
|
6
|
+
CompanyMessageTypeEnum["whatsapp"] = "WHATSAPP";
|
7
|
+
CompanyMessageTypeEnum["instagram"] = "INSTAGRAM";
|
8
|
+
CompanyMessageTypeEnum["sms"] = "SMS";
|
9
|
+
})(CompanyMessageTypeEnum || (exports.CompanyMessageTypeEnum = CompanyMessageTypeEnum = {}));
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
// index.ts
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
exports.CompanyMessageTypeEnum = exports.CompanyKeysEnum = void 0;
|
5
|
+
var keys_enum_1 = require("./enums/keys.enum");
|
6
|
+
Object.defineProperty(exports, "CompanyKeysEnum", { enumerable: true, get: function () { return keys_enum_1.CompanyKeysEnum; } });
|
7
|
+
var message_type_enum_1 = require("./enums/message-type.enum");
|
8
|
+
Object.defineProperty(exports, "CompanyMessageTypeEnum", { enumerable: true, get: function () { return message_type_enum_1.CompanyMessageTypeEnum; } });
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeviceModeEnum = void 0;
|
4
|
+
var DeviceModeEnum;
|
5
|
+
(function (DeviceModeEnum) {
|
6
|
+
DeviceModeEnum["app"] = "APP";
|
7
|
+
DeviceModeEnum["checkout"] = "CHECKOUT";
|
8
|
+
DeviceModeEnum["screen"] = "SCREEN";
|
9
|
+
DeviceModeEnum["natigo"] = "NATIGO";
|
10
|
+
DeviceModeEnum["satManager"] = "SAT-MANAGER";
|
11
|
+
DeviceModeEnum["pdvNati"] = "PDV-NATI";
|
12
|
+
})(DeviceModeEnum || (exports.DeviceModeEnum = DeviceModeEnum = {}));
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
// index.ts
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
exports.DeviceModeEnum = void 0;
|
5
|
+
var device_mode_enum_1 = require("./enums/device-mode.enum");
|
6
|
+
Object.defineProperty(exports, "DeviceModeEnum", { enumerable: true, get: function () { return device_mode_enum_1.DeviceModeEnum; } });
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DocTypeEnum = void 0;
|
4
|
+
var DocTypeEnum;
|
5
|
+
(function (DocTypeEnum) {
|
6
|
+
DocTypeEnum["CPF"] = "CPF";
|
7
|
+
DocTypeEnum["CNPJ"] = "CNPJ";
|
8
|
+
})(DocTypeEnum || (exports.DocTypeEnum = DocTypeEnum = {}));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LeadOriginEnum = void 0;
|
4
|
+
var LeadOriginEnum;
|
5
|
+
(function (LeadOriginEnum) {
|
6
|
+
LeadOriginEnum["FACEBOOK_ADS"] = "Facebook Ads";
|
7
|
+
LeadOriginEnum["GOOGLE_ADS"] = "Google Ads";
|
8
|
+
LeadOriginEnum["EMAIL_MARKETING"] = "Email Marketing";
|
9
|
+
LeadOriginEnum["REFERRED_BY_FRIEND"] = "Indica\u00E7\u00E3o de amigo";
|
10
|
+
LeadOriginEnum["ORGANIC_SEARCH"] = "Busca org\u00E2nica";
|
11
|
+
LeadOriginEnum["DIRECT_VISIT"] = "Visita Direta";
|
12
|
+
LeadOriginEnum["OTHERS"] = "Outros";
|
13
|
+
})(LeadOriginEnum || (exports.LeadOriginEnum = LeadOriginEnum = {}));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentChannelEnum = void 0;
|
4
|
+
var PaymentChannelEnum;
|
5
|
+
(function (PaymentChannelEnum) {
|
6
|
+
PaymentChannelEnum["APP"] = "APP";
|
7
|
+
PaymentChannelEnum["DELIVERY"] = "DELIVERY";
|
8
|
+
PaymentChannelEnum["AUTOMATION"] = "AUTOMATION";
|
9
|
+
PaymentChannelEnum["PHONE"] = "PHONE";
|
10
|
+
PaymentChannelEnum["MAIL"] = "MAIL";
|
11
|
+
PaymentChannelEnum["KIOSK"] = "KIOSK";
|
12
|
+
PaymentChannelEnum["QR_CODE"] = "QR_CODE";
|
13
|
+
PaymentChannelEnum["WEBSITE"] = "WEBSITE";
|
14
|
+
})(PaymentChannelEnum || (exports.PaymentChannelEnum = PaymentChannelEnum = {}));
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentModeEnum = void 0;
|
4
|
+
var PaymentModeEnum;
|
5
|
+
(function (PaymentModeEnum) {
|
6
|
+
PaymentModeEnum["ELECTRONIC"] = "ELECTRONIC";
|
7
|
+
PaymentModeEnum["MANUAL"] = "MANUAL";
|
8
|
+
PaymentModeEnum["DIGITAL"] = "DIGITAL";
|
9
|
+
})(PaymentModeEnum || (exports.PaymentModeEnum = PaymentModeEnum = {}));
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentTypeEnum = void 0;
|
4
|
+
var PaymentTypeEnum;
|
5
|
+
(function (PaymentTypeEnum) {
|
6
|
+
PaymentTypeEnum["CREDIT_CARD"] = "CREDIT_CARD";
|
7
|
+
PaymentTypeEnum["DEBIT_CARD"] = "DEBIT_CARD";
|
8
|
+
PaymentTypeEnum["CASH"] = "CASH";
|
9
|
+
PaymentTypeEnum["PIX"] = "PIX";
|
10
|
+
PaymentTypeEnum["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
|
11
|
+
PaymentTypeEnum["CHECK"] = "CHECK";
|
12
|
+
PaymentTypeEnum["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
|
13
|
+
PaymentTypeEnum["ELECTRONIC_BANKING"] = "ELECTRONIC_BANKING";
|
14
|
+
PaymentTypeEnum["MONEY_ORDER"] = "MONEY_ORDER";
|
15
|
+
PaymentTypeEnum["PREPAID_CARD"] = "PREPAID_CARD";
|
16
|
+
PaymentTypeEnum["E_WALLET"] = "E_WALLET";
|
17
|
+
PaymentTypeEnum["DIRECT_DEBIT"] = "DIRECT_DEBIT";
|
18
|
+
PaymentTypeEnum["PAYPAL"] = "PAYPAL";
|
19
|
+
PaymentTypeEnum["WIRE_TRANSFER"] = "WIRE_TRANSFER";
|
20
|
+
PaymentTypeEnum["GIFT_CARD"] = "GIFT_CARD";
|
21
|
+
PaymentTypeEnum["VOUCHER"] = "VOUCHER";
|
22
|
+
PaymentTypeEnum["BILLING"] = "BILLING";
|
23
|
+
})(PaymentTypeEnum || (exports.PaymentTypeEnum = PaymentTypeEnum = {}));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
// index.ts
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
exports.PaymentTypeEnum = exports.PaymentModeEnum = exports.PaymentChannelEnum = exports.LeadOriginEnum = exports.DocTypeEnum = void 0;
|
5
|
+
var doc_type_enum_1 = require("./enums/doc-type.enum");
|
6
|
+
Object.defineProperty(exports, "DocTypeEnum", { enumerable: true, get: function () { return doc_type_enum_1.DocTypeEnum; } });
|
7
|
+
var lead_origin_enum_1 = require("./enums/lead-origin.enum");
|
8
|
+
Object.defineProperty(exports, "LeadOriginEnum", { enumerable: true, get: function () { return lead_origin_enum_1.LeadOriginEnum; } });
|
9
|
+
var payment_channel_enum_1 = require("./enums/payment-channel.enum");
|
10
|
+
Object.defineProperty(exports, "PaymentChannelEnum", { enumerable: true, get: function () { return payment_channel_enum_1.PaymentChannelEnum; } });
|
11
|
+
var payment_mode_enum_1 = require("./enums/payment-mode.enum");
|
12
|
+
Object.defineProperty(exports, "PaymentModeEnum", { enumerable: true, get: function () { return payment_mode_enum_1.PaymentModeEnum; } });
|
13
|
+
var payment_type_enum_1 = require("./enums/payment-type.enum");
|
14
|
+
Object.defineProperty(exports, "PaymentTypeEnum", { enumerable: true, get: function () { return payment_type_enum_1.PaymentTypeEnum; } });
|
package/dist/index.js
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
// index.ts
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
4
|
+
if (k2 === undefined) k2 = k;
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
8
|
+
}
|
9
|
+
Object.defineProperty(o, k2, desc);
|
10
|
+
}) : (function(o, m, k, k2) {
|
11
|
+
if (k2 === undefined) k2 = k;
|
12
|
+
o[k2] = m[k];
|
13
|
+
}));
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
16
|
+
};
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
__exportStar(require("./company"), exports);
|
19
|
+
__exportStar(require("./device"), exports);
|
20
|
+
__exportStar(require("./general"), exports);
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cecon-interfaces",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.11",
|
4
4
|
"description": "Interfaces de Projetos Cecon",
|
5
5
|
"dependencies": {},
|
6
6
|
"peerDependencies": {},
|
@@ -8,6 +8,7 @@
|
|
8
8
|
"types": "dist/index.d.ts",
|
9
9
|
"private": false,
|
10
10
|
"scripts": {
|
11
|
+
"packagr": "ng-packagr -p ng-package.json",
|
11
12
|
"build": "tsc src/index.ts --outDir dist",
|
12
13
|
"test": "echo \"Error: no test specified\" && exit 1"
|
13
14
|
},
|