cecon-interfaces 1.0.5 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/dist/esm2022/general/enums/payment-type.enum.mjs +2 -1
  2. package/dist/fesm2022/cecon-interfaces.mjs +1 -0
  3. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  4. package/dist/general/enums/payment-type.enum.d.ts +1 -0
  5. package/dist/package.json +1 -1
  6. package/package.json +1 -1
  7. package/tsconfig.json +1 -1
  8. package/path-to-declarations/company/enums/keys.enum.d.ts +0 -7
  9. package/path-to-declarations/company/enums/message-type.enum.d.ts +0 -5
  10. package/path-to-declarations/company/index.d.ts +0 -3
  11. package/path-to-declarations/company/interfaces/i-company.d.ts +0 -29
  12. package/path-to-declarations/device/enums/device-mode.enum.d.ts +0 -8
  13. package/path-to-declarations/device/index.d.ts +0 -3
  14. package/path-to-declarations/device/interfaces/i-device-metadata.d.ts +0 -8
  15. package/path-to-declarations/device/interfaces/i-device.d.ts +0 -16
  16. package/path-to-declarations/general/enums/doc-type.enum.d.ts +0 -4
  17. package/path-to-declarations/general/enums/lead-origin.enum.d.ts +0 -9
  18. package/path-to-declarations/general/enums/payment-channel.enum.d.ts +0 -10
  19. package/path-to-declarations/general/enums/payment-mode.enum.d.ts +0 -5
  20. package/path-to-declarations/general/enums/payment-type.enum.d.ts +0 -18
  21. package/path-to-declarations/general/index.d.ts +0 -17
  22. package/path-to-declarations/general/interfaces/i-address.d.ts +0 -9
  23. package/path-to-declarations/general/interfaces/i-coords.d.ts +0 -4
  24. package/path-to-declarations/general/interfaces/i-delivery-area-fixed.d.ts +0 -7
  25. package/path-to-declarations/general/interfaces/i-delivery-area.d.ts +0 -11
  26. package/path-to-declarations/general/interfaces/i-messager-channel.d.ts +0 -5
  27. package/path-to-declarations/general/interfaces/i-mobyo-server-api.d.ts +0 -8
  28. package/path-to-declarations/general/interfaces/i-origin.d.ts +0 -9
  29. package/path-to-declarations/general/interfaces/i-payment-method.d.ts +0 -18
  30. package/path-to-declarations/general/interfaces/i-payment-provider-agent.d.ts +0 -4
  31. package/path-to-declarations/general/interfaces/i-payment-provider.d.ts +0 -17
  32. package/path-to-declarations/general/interfaces/i-payment-tokens-data.d.ts +0 -9
  33. package/path-to-declarations/general/interfaces/i-payment-tokens.d.ts +0 -8
  34. package/path-to-declarations/index.d.ts +0 -3
@@ -3,6 +3,7 @@ export var PaymentTypeEnum;
3
3
  PaymentTypeEnum["CREDIT_CARD"] = "CREDIT_CARD";
4
4
  PaymentTypeEnum["DEBIT_CARD"] = "DEBIT_CARD";
5
5
  PaymentTypeEnum["CASH"] = "CASH";
6
+ PaymentTypeEnum["PIX"] = "PIX";
6
7
  PaymentTypeEnum["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
7
8
  PaymentTypeEnum["CHECK"] = "CHECK";
8
9
  PaymentTypeEnum["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
@@ -17,4 +18,4 @@ export var PaymentTypeEnum;
17
18
  PaymentTypeEnum["VOUCHER"] = "VOUCHER";
18
19
  PaymentTypeEnum["BILLING"] = "BILLING";
19
20
  })(PaymentTypeEnum || (PaymentTypeEnum = {}));
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnVtcy9wYXltZW50LXR5cGUuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxlQWlCWDtBQWpCRCxXQUFZLGVBQWU7SUFDdkIsOENBQTJCLENBQUE7SUFDM0IsNENBQXlCLENBQUE7SUFDekIsZ0NBQWEsQ0FBQTtJQUNiLG9EQUFpQyxDQUFBO0lBQ2pDLGtDQUFlLENBQUE7SUFDZixvREFBaUMsQ0FBQTtJQUNqQyw0REFBeUMsQ0FBQTtJQUN6Qyw4Q0FBM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SUNfQkFOS0lORycsXG4gICAgTU9ORVlfT1JERVIgPSAnTU9ORVlfT1JERVInLFxuICAgIFBSRVBBSURfQ0FSRCA9ICdQUkVQQUlEX0NBUkQnLFxuICAgIEVfV0FMTEVUID0gJ0VfV0FMTEVUJyxcbiAgICBESVJFQ1RfREVCSVQgPSAnRElSRUNUX0RFQklUJyxcbiAgICBQQVlQQUwgPSAnUEFZUEFMJyxcbiAgICBXSVJFX1RSQU5TRkVSID0gJ1dJUkVfVFJBTlNGRVInLFxuICAgIEdJRlRfQ0FSRCA9ICdHSUZUX0NBUkQnLFxuICAgIFZPVUNIRVIgPSAnVk9VQ0hFUicsXG4gICAgQklMTElORyA9ICdCSUxMSU5HJyxcbn0iXX0=
@@ -69,6 +69,7 @@ var PaymentTypeEnum;
69
69
  PaymentTypeEnum["CREDIT_CARD"] = "CREDIT_CARD";
70
70
  PaymentTypeEnum["DEBIT_CARD"] = "DEBIT_CARD";
71
71
  PaymentTypeEnum["CASH"] = "CASH";
72
+ PaymentTypeEnum["PIX"] = "PIX";
72
73
  PaymentTypeEnum["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
73
74
  PaymentTypeEnum["CHECK"] = "CHECK";
74
75
  PaymentTypeEnum["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
@@ -1 +1 @@
1
- {"version":3,"file":"cecon-interfaces.mjs","sources":["../../src/company/enums/keys.enum.ts","../../src/company/enums/message-type.enum.ts","../../src/company/index.ts","../../src/device/enums/device-mode.enum.ts","../../src/device/index.ts","../../src/general/enums/doc-type.enum.ts","../../src/general/enums/lead-origin.enum.ts","../../src/general/enums/payment-channel.enum.ts","../../src/general/enums/payment-mode.enum.ts","../../src/general/enums/payment-type.enum.ts","../../src/general/index.ts","../../src/index.ts","../../src/cecon-interfaces.ts"],"sourcesContent":["export enum CompanyKeysEnum {\r\n google = 'GOOGLE',\r\n loggi = 'LOGGI',\r\n desenfila = 'DESENFILA',\r\n mottu = 'MOTTU',\r\n algolia = 'ALGOLIA',\r\n}\r\n","export enum CompanyMessageTypeEnum {\r\n whatsapp = 'WHATSAPP',\r\n instagram = 'INSTAGRAM',\r\n sms = 'SMS',\r\n}\r\n","// index.ts\n\nexport { CompanyKeysEnum } from './enums/keys.enum';\nexport { CompanyMessageTypeEnum } from './enums/message-type.enum';\nexport { ICompany } from './interfaces/i-company';\n\n","export enum DeviceModeEnum {\r\n app = 'APP',\r\n checkout = 'CHECKOUT',\r\n screen = 'SCREEN',\r\n natigo = 'NATIGO',\r\n satManager = 'SAT-MANAGER',\r\n pdvNati = 'PDV-NATI',\r\n}\r\n","// index.ts\n\nexport { DeviceModeEnum } from './enums/device-mode.enum';\nexport { IDevice } from './interfaces/i-device';\nexport { IDeviceMetadata } from './interfaces/i-device-metadata';\n\n","export enum DocTypeEnum {\n CPF = 'CPF',\n CNPJ = 'CNPJ',\n}","export enum LeadOriginEnum {\n FACEBOOK_ADS = 'Facebook Ads',\n GOOGLE_ADS = 'Google Ads',\n EMAIL_MARKETING = 'Email Marketing',\n REFERRED_BY_FRIEND = 'Indicação de amigo',\n ORGANIC_SEARCH = 'Busca orgânica',\n DIRECT_VISIT = 'Visita Direta',\n OTHERS = 'Outros',\n}","export enum PaymentChannelEnum {\n APP = 'APP',\n DELIVERY = 'DELIVERY',\n AUTOMATION = 'AUTOMATION',\n PHONE = 'PHONE',\n MAIL = 'MAIL',\n KIOSK = 'KIOSK',\n QR_CODE = 'QR_CODE',\n WEBSITE = 'WEBSITE',\n}","export enum PaymentModeEnum {\n ELECTRONIC = 'ELECTRONIC',\n MANUAL = 'MANUAL',\n DIGITAL = 'DIGITAL',\n}","export enum PaymentTypeEnum {\n CREDIT_CARD = 'CREDIT_CARD',\n DEBIT_CARD = 'DEBIT_CARD',\n CASH = 'CASH',\n MOBILE_PAYMENT = 'MOBILE_PAYMENT',\n CHECK = 'CHECK',\n CRYPTOCURRENCY = 'CRYPTOCURRENCY',\n ELECTRONIC_BANKING = 'ELECTRONIC_BANKING',\n MONEY_ORDER = 'MONEY_ORDER',\n PREPAID_CARD = 'PREPAID_CARD',\n E_WALLET = 'E_WALLET',\n DIRECT_DEBIT = 'DIRECT_DEBIT',\n PAYPAL = 'PAYPAL',\n WIRE_TRANSFER = 'WIRE_TRANSFER',\n GIFT_CARD = 'GIFT_CARD',\n VOUCHER = 'VOUCHER',\n BILLING = 'BILLING',\n}","// index.ts\n\nexport { DocTypeEnum } from './enums/doc-type.enum';\nexport { LeadOriginEnum } from './enums/lead-origin.enum';\nexport { PaymentChannelEnum } from './enums/payment-channel.enum';\nexport { PaymentModeEnum } from './enums/payment-mode.enum';\nexport { PaymentTypeEnum } from './enums/payment-type.enum';\nexport { IAddress } from './interfaces/i-address';\nexport { ICoords } from './interfaces/i-coords';\nexport { IDeliveryArea } from './interfaces/i-delivery-area';\nexport { IDeliveryAreaFixed } from './interfaces/i-delivery-area-fixed';\nexport { IMessagerChannel } from './interfaces/i-messager-channel';\nexport { IMobyoApiConfig } from './interfaces/i-mobyo-server-api';\nexport { IOrigin } from './interfaces/i-origin';\nexport { IPaymentMethod } from './interfaces/i-payment-method';\nexport { IPaymentProvider } from './interfaces/i-payment-provider';\nexport { IPaymentProviderAgent } from './interfaces/i-payment-provider-agent';\nexport { IPaymentToken } from './interfaces/i-payment-tokens';\nexport { IPaymentTokenData } from './interfaces/i-payment-tokens-data';\n\n","// index.ts\n\nexport * from './company';\nexport * from './device';\nexport * from './general';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"IAAY,gBAMX;AAND,CAAA,UAAY,eAAe,EAAA;AACvB,IAAA,eAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,eAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,eAAA,CAAA,WAAA,CAAA,GAAA,WAAuB,CAAA;AACvB,IAAA,eAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,eAAA,CAAA,SAAA,CAA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AA,eAAA,CAAA,YAAA,CAAA,GAAA,YAAyB,CAAA;AACzB,IAAA,eAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,gBAAiC,CAAA;AACjC,IAAA,eAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,gBAAiC,CAAA;AACjC,IAAA,eAAA,CAAA,oBAAA,CAAA,GAAA,oBAAyC,CAAA;AACzC,IAAA,eAAA,CAAA,aAAA,CAAA,GAAA,aAA2B,CAAA;AAC3B,IAAA,eAAA,CAAA,cAAA,CAAA,GAAA,cAA6B,CAAA;AAC7B,IAAA,eAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,eAAA,CAAA,cAAA,CAAA,GAAA,cAA6B,CAAA;AAC7B,IAAA,eAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,eAAA,CAAA,eAAA,CAAA,GAAA,eAA+B,CAAA;AAC/B,IAAA,eAAA,CAAA,WAAA,CAAA,GAAA,WAAuB,CAAA;AACvB,IAAA,eAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,eAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACvB,CAAC,EAjBW,eAAe,KAAf,eAAe,GAiB1B,EAAA,CAAA,CAAA;;ACjBD;;ACAA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"cecon-interfaces.mjs","sources":["../../src/company/enums/keys.enum.ts","../../src/company/enums/message-type.enum.ts","../../src/company/index.ts","../../src/device/enums/device-mode.enum.ts","../../src/device/index.ts","../../src/general/enums/doc-type.enum.ts","../../src/general/enums/lead-origin.enum.ts","../../src/general/enums/payment-channel.enum.ts","../../src/general/enums/payment-mode.enum.ts","../../src/general/enums/payment-type.enum.ts","../../src/general/index.ts","../../src/index.ts","../../src/cecon-interfaces.ts"],"sourcesContent":["export enum CompanyKeysEnum {\r\n google = 'GOOGLE',\r\n loggi = 'LOGGI',\r\n desenfila = 'DESENFILA',\r\n mottu = 'MOTTU',\r\n algolia = 'ALGOLIA',\r\n}\r\n","export enum CompanyMessageTypeEnum {\r\n whatsapp = 'WHATSAPP',\r\n instagram = 'INSTAGRAM',\r\n sms = 'SMS',\r\n}\r\n","// index.ts\n\nexport { CompanyKeysEnum } from './enums/keys.enum';\nexport { CompanyMessageTypeEnum } from './enums/message-type.enum';\nexport { ICompany } from './interfaces/i-company';\n\n","export enum DeviceModeEnum {\r\n app = 'APP',\r\n checkout = 'CHECKOUT',\r\n screen = 'SCREEN',\r\n natigo = 'NATIGO',\r\n satManager = 'SAT-MANAGER',\r\n pdvNati = 'PDV-NATI',\r\n}\r\n","// index.ts\n\nexport { DeviceModeEnum } from './enums/device-mode.enum';\nexport { IDevice } from './interfaces/i-device';\nexport { IDeviceMetadata } from './interfaces/i-device-metadata';\n\n","export enum DocTypeEnum {\n CPF = 'CPF',\n CNPJ = 'CNPJ',\n}","export enum LeadOriginEnum {\n FACEBOOK_ADS = 'Facebook Ads',\n GOOGLE_ADS = 'Google Ads',\n EMAIL_MARKETING = 'Email Marketing',\n REFERRED_BY_FRIEND = 'Indicação de amigo',\n ORGANIC_SEARCH = 'Busca orgânica',\n DIRECT_VISIT = 'Visita Direta',\n OTHERS = 'Outros',\n}","export enum PaymentChannelEnum {\n APP = 'APP',\n DELIVERY = 'DELIVERY',\n AUTOMATION = 'AUTOMATION',\n PHONE = 'PHONE',\n MAIL = 'MAIL',\n KIOSK = 'KIOSK',\n QR_CODE = 'QR_CODE',\n WEBSITE = 'WEBSITE',\n}","export enum PaymentModeEnum {\n ELECTRONIC = 'ELECTRONIC',\n MANUAL = 'MANUAL',\n DIGITAL = 'DIGITAL',\n}","export enum PaymentTypeEnum {\n CREDIT_CARD = 'CREDIT_CARD',\n DEBIT_CARD = 'DEBIT_CARD',\n CASH = 'CASH',\n PIX = 'PIX',\n MOBILE_PAYMENT = 'MOBILE_PAYMENT',\n CHECK = 'CHECK',\n CRYPTOCURRENCY = 'CRYPTOCURRENCY',\n ELECTRONIC_BANKING = 'ELECTRONIC_BANKING',\n MONEY_ORDER = 'MONEY_ORDER',\n PREPAID_CARD = 'PREPAID_CARD',\n E_WALLET = 'E_WALLET',\n DIRECT_DEBIT = 'DIRECT_DEBIT',\n PAYPAL = 'PAYPAL',\n WIRE_TRANSFER = 'WIRE_TRANSFER',\n GIFT_CARD = 'GIFT_CARD',\n VOUCHER = 'VOUCHER',\n BILLING = 'BILLING',\n}","// index.ts\n\nexport { DocTypeEnum } from './enums/doc-type.enum';\nexport { LeadOriginEnum } from './enums/lead-origin.enum';\nexport { PaymentChannelEnum } from './enums/payment-channel.enum';\nexport { PaymentModeEnum } from './enums/payment-mode.enum';\nexport { PaymentTypeEnum } from './enums/payment-type.enum';\nexport { IAddress } from './interfaces/i-address';\nexport { ICoords } from './interfaces/i-coords';\nexport { IDeliveryArea } from './interfaces/i-delivery-area';\nexport { IDeliveryAreaFixed } from './interfaces/i-delivery-area-fixed';\nexport { IMessagerChannel } from './interfaces/i-messager-channel';\nexport { IMobyoApiConfig } from './interfaces/i-mobyo-server-api';\nexport { IOrigin } from './interfaces/i-origin';\nexport { IPaymentMethod } from './interfaces/i-payment-method';\nexport { IPaymentProvider } from './interfaces/i-payment-provider';\nexport { IPaymentProviderAgent } from './interfaces/i-payment-provider-agent';\nexport { IPaymentToken } from './interfaces/i-payment-tokens';\nexport { IPaymentTokenData } from './interfaces/i-payment-tokens-data';\n\n","// index.ts\n\nexport * from './company';\nexport * from './device';\nexport * from './general';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"IAAY,gBAMX;AAND,CAAA,UAAY,eAAe,EAAA;AACvB,IAAA,eAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,eAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IA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CASH",
5
+ PIX = "PIX",
5
6
  MOBILE_PAYMENT = "MOBILE_PAYMENT",
6
7
  CHECK = "CHECK",
7
8
  CRYPTOCURRENCY = "CRYPTOCURRENCY",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "dependencies": {},
6
6
  "peerDependencies": {
package/tsconfig.json CHANGED
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "target": "es5",
17
17
  "declaration": true,
18
- "declarationDir": "./path-to-declarations",
18
+ "declarationDir": "./dist",
19
19
  "experimentalDecorators": true,
20
20
  "esModuleInterop": true,
21
21
  "outDir": "./dist",
@@ -1,7 +0,0 @@
1
- export declare enum CompanyKeysEnum {
2
- google = "GOOGLE",
3
- loggi = "LOGGI",
4
- desenfila = "DESENFILA",
5
- mottu = "MOTTU",
6
- algolia = "ALGOLIA"
7
- }
@@ -1,5 +0,0 @@
1
- export declare enum CompanyMessageTypeEnum {
2
- whatsapp = "WHATSAPP",
3
- instagram = "INSTAGRAM",
4
- sms = "SMS"
5
- }
@@ -1,3 +0,0 @@
1
- export { CompanyKeysEnum } from './enums/keys.enum';
2
- export { CompanyMessageTypeEnum } from './enums/message-type.enum';
3
- export { ICompany } from './interfaces/i-company';
@@ -1,29 +0,0 @@
1
- import { DocTypeEnum, IAddress, IDeliveryArea, IDeliveryAreaFixed, IMessagerChannel, IMobyoApiConfig, IOrigin, IPaymentMethod, IPaymentProvider } from '../../general';
2
- export interface ICompany {
3
- active: boolean;
4
- address: IAddress;
5
- bgImageURL?: string;
6
- containerId: string;
7
- createdAt: Date;
8
- deliveryArea: IDeliveryArea[];
9
- deliveryAreaFixed?: IDeliveryAreaFixed;
10
- doc: string;
11
- docType: DocTypeEnum;
12
- email: string;
13
- id: string;
14
- imageURL?: string;
15
- logoURL?: string;
16
- internationalCode: string;
17
- messagerChannels: IMessagerChannel[];
18
- config: IMobyoApiConfig;
19
- name: string;
20
- origin: IOrigin;
21
- paymentProvider: IPaymentProvider;
22
- paymentsMethods: IPaymentMethod[];
23
- phoneNumber: string;
24
- pubsubTopic: string;
25
- fullName: string;
26
- sandbox: boolean;
27
- updatedAt: number;
28
- version: string;
29
- }
@@ -1,8 +0,0 @@
1
- export declare enum DeviceModeEnum {
2
- app = "APP",
3
- checkout = "CHECKOUT",
4
- screen = "SCREEN",
5
- natigo = "NATIGO",
6
- satManager = "SAT-MANAGER",
7
- pdvNati = "PDV-NATI"
8
- }
@@ -1,3 +0,0 @@
1
- export { DeviceModeEnum } from './enums/device-mode.enum';
2
- export { IDevice } from './interfaces/i-device';
3
- export { IDeviceMetadata } from './interfaces/i-device-metadata';
@@ -1,8 +0,0 @@
1
- export interface IDeviceMetadata {
2
- app?: any;
3
- checkout?: any;
4
- screen?: any;
5
- natigo?: any;
6
- satManager?: any;
7
- pdvNati?: any;
8
- }
@@ -1,16 +0,0 @@
1
- import { DeviceModeEnum } from '../enums/device-mode.enum';
2
- import { IDeviceMetadata } from './i-device-metadata';
3
- export interface IDevice {
4
- active: boolean;
5
- companyId: string;
6
- containerId: string;
7
- createdAt: number;
8
- deviceId: string;
9
- metadata: IDeviceMetadata;
10
- id: string;
11
- key: string;
12
- lastAccess: Date;
13
- mode: DeviceModeEnum;
14
- name: string;
15
- updatedAt: number;
16
- }
@@ -1,4 +0,0 @@
1
- export declare enum DocTypeEnum {
2
- CPF = "CPF",
3
- CNPJ = "CNPJ"
4
- }
@@ -1,9 +0,0 @@
1
- export declare enum LeadOriginEnum {
2
- FACEBOOK_ADS = "Facebook Ads",
3
- GOOGLE_ADS = "Google Ads",
4
- EMAIL_MARKETING = "Email Marketing",
5
- REFERRED_BY_FRIEND = "Indica\u00E7\u00E3o de amigo",
6
- ORGANIC_SEARCH = "Busca org\u00E2nica",
7
- DIRECT_VISIT = "Visita Direta",
8
- OTHERS = "Outros"
9
- }
@@ -1,10 +0,0 @@
1
- export declare enum PaymentChannelEnum {
2
- APP = "APP",
3
- DELIVERY = "DELIVERY",
4
- AUTOMATION = "AUTOMATION",
5
- PHONE = "PHONE",
6
- MAIL = "MAIL",
7
- KIOSK = "KIOSK",
8
- QR_CODE = "QR_CODE",
9
- WEBSITE = "WEBSITE"
10
- }
@@ -1,5 +0,0 @@
1
- export declare enum PaymentModeEnum {
2
- ELECTRONIC = "ELECTRONIC",
3
- MANUAL = "MANUAL",
4
- DIGITAL = "DIGITAL"
5
- }
@@ -1,18 +0,0 @@
1
- export declare enum PaymentTypeEnum {
2
- CREDIT_CARD = "CREDIT_CARD",
3
- DEBIT_CARD = "DEBIT_CARD",
4
- CASH = "CASH",
5
- MOBILE_PAYMENT = "MOBILE_PAYMENT",
6
- CHECK = "CHECK",
7
- CRYPTOCURRENCY = "CRYPTOCURRENCY",
8
- ELECTRONIC_BANKING = "ELECTRONIC_BANKING",
9
- MONEY_ORDER = "MONEY_ORDER",
10
- PREPAID_CARD = "PREPAID_CARD",
11
- E_WALLET = "E_WALLET",
12
- DIRECT_DEBIT = "DIRECT_DEBIT",
13
- PAYPAL = "PAYPAL",
14
- WIRE_TRANSFER = "WIRE_TRANSFER",
15
- GIFT_CARD = "GIFT_CARD",
16
- VOUCHER = "VOUCHER",
17
- BILLING = "BILLING"
18
- }
@@ -1,17 +0,0 @@
1
- export { DocTypeEnum } from './enums/doc-type.enum';
2
- export { LeadOriginEnum } from './enums/lead-origin.enum';
3
- export { PaymentChannelEnum } from './enums/payment-channel.enum';
4
- export { PaymentModeEnum } from './enums/payment-mode.enum';
5
- export { PaymentTypeEnum } from './enums/payment-type.enum';
6
- export { IAddress } from './interfaces/i-address';
7
- export { ICoords } from './interfaces/i-coords';
8
- export { IDeliveryArea } from './interfaces/i-delivery-area';
9
- export { IDeliveryAreaFixed } from './interfaces/i-delivery-area-fixed';
10
- export { IMessagerChannel } from './interfaces/i-messager-channel';
11
- export { IMobyoApiConfig } from './interfaces/i-mobyo-server-api';
12
- export { IOrigin } from './interfaces/i-origin';
13
- export { IPaymentMethod } from './interfaces/i-payment-method';
14
- export { IPaymentProvider } from './interfaces/i-payment-provider';
15
- export { IPaymentProviderAgent } from './interfaces/i-payment-provider-agent';
16
- export { IPaymentToken } from './interfaces/i-payment-tokens';
17
- export { IPaymentTokenData } from './interfaces/i-payment-tokens-data';
@@ -1,9 +0,0 @@
1
- export interface IAddress {
2
- city: string;
3
- complement?: string;
4
- neighborhood: string;
5
- postalCode: string;
6
- state: string;
7
- streetName: string;
8
- streetNumber: string;
9
- }
@@ -1,4 +0,0 @@
1
- export interface ICoords {
2
- latitude: number;
3
- longitude: number;
4
- }
@@ -1,7 +0,0 @@
1
- export interface IDeliveryAreaFixed {
2
- active: boolean;
3
- deliveryFee: number;
4
- maxTime: number;
5
- minTime: number;
6
- minimumOrderValue: number;
7
- }
@@ -1,11 +0,0 @@
1
- import { ICoords } from './i-coords';
2
- export interface IDeliveryArea {
3
- deliveryFee: number;
4
- id: string;
5
- latlngs: ICoords[];
6
- maxTime: number;
7
- minTime: number;
8
- minimumOrderValue: number;
9
- name: string;
10
- sequence: number;
11
- }
@@ -1,5 +0,0 @@
1
- export interface IMessagerChannel {
2
- channelId: string;
3
- type: string;
4
- id: string;
5
- }
@@ -1,8 +0,0 @@
1
- export interface IMobyoApiConfig {
2
- hasIntegration: boolean;
3
- hasPrint: boolean;
4
- integrationUrl: string;
5
- printCols: number;
6
- printInterface: string;
7
- printType: string;
8
- }
@@ -1,9 +0,0 @@
1
- import { LeadOriginEnum } from '../enums/lead-origin.enum';
2
- export interface IOrigin {
3
- campaign?: string;
4
- contactPoint?: string;
5
- date: Number;
6
- details?: string;
7
- referrer?: string;
8
- type: LeadOriginEnum;
9
- }
@@ -1,18 +0,0 @@
1
- import { PaymentChannelEnum } from '../enums/payment-channel.enum';
2
- import { PaymentModeEnum } from '../enums/payment-mode.enum';
3
- import { PaymentTypeEnum } from '../enums/payment-type.enum';
4
- export interface IPaymentMethod {
5
- active: boolean;
6
- channel: PaymentChannelEnum;
7
- createdAt: number;
8
- fee: number;
9
- id: string;
10
- index: number;
11
- maxAmount: number;
12
- minAmount: number;
13
- mode: PaymentModeEnum;
14
- name: string;
15
- token: string;
16
- type: PaymentTypeEnum;
17
- updatedAt: number;
18
- }
@@ -1,4 +0,0 @@
1
- export interface IPaymentProviderAgent {
2
- accountId: string;
3
- name?: string;
4
- }
@@ -1,17 +0,0 @@
1
- import { IPaymentProviderAgent } from './i-payment-provider-agent';
2
- import { IPaymentToken } from './i-payment-tokens';
3
- export interface IPaymentProvider {
4
- accountId: string;
5
- active: boolean;
6
- agent: IPaymentProviderAgent;
7
- customerId: string;
8
- liveApiToken: string;
9
- name: string;
10
- paymentTokens: IPaymentToken[];
11
- subscriptionId: string;
12
- subscriptions?: string;
13
- testApiToken: string;
14
- userApiToken: string;
15
- verified: boolean;
16
- verifiedAt: number;
17
- }
@@ -1,9 +0,0 @@
1
- export interface IPaymentTokenData {
2
- bin: string;
3
- brand: string;
4
- displayNumber: string;
5
- firstDigits: string;
6
- maskedNumber: string;
7
- month: number;
8
- year: number;
9
- }
@@ -1,8 +0,0 @@
1
- import { IPaymentTokenData } from './i-payment-tokens-data';
2
- export interface IPaymentToken {
3
- customerId: string;
4
- data: IPaymentTokenData;
5
- description: string;
6
- id: string;
7
- itemType: string;
8
- }
@@ -1,3 +0,0 @@
1
- export * from './company';
2
- export * from './device';
3
- export * from './general';