cecon-interfaces 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/general/enums/payment-type.enum.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs +1 -0
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/enums/payment-type.enum.d.ts +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/path-to-declarations/general/enums/order-satus.enum.d.ts +37 -0
- package/path-to-declarations/general/enums/payment-type.enum.d.ts +1 -0
- package/path-to-declarations/general/enums/providers.enum.d.ts +8 -0
- package/path-to-declarations/purchases/interfaces/i-app-info.d.ts +11 -0
- package/path-to-declarations/purchases/interfaces/i-payment-details.d.ts +17 -0
- package/path-to-declarations/purchases/interfaces/i-purchase.d.ts +26 -0
@@ -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,
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ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kQnLFxuICAgIEVfV0FMTEVUID0gJ0VfV0FMTEVUJyxcbiAgICBESVJFQ1RfREVCSVQgPSAnRElSRUNUX0RFQklUJyxcbiAgICBQQVlQQUwgPSAnUEFZUEFMJyxcbiAgICBXSVJFX1RSQU5TRkVSID0gJ1dJUkVfVFJBTlNGRVInLFxuICAgIEdJRlRfQ0FSRCA9ICdHSUZUX0NBUkQnLFxuICAgIFZPVUNIRVIgPSAnVk9VQ0hFUicsXG4gICAgQklMTElORyA9ICdCSUxMSU5HJyxcbn0iXX0=
|
@@ -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,CAAA,GAAA,SAAmB,CAAA;AACvB,CAAC,EANW,eAAe,KAAf,eAAe,GAM1B,EAAA,CAAA,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cAAA,CAAA,gBAAA,CAAA,GAAA,qBAAiC,CAAA;AACjC,IAAA,cAAA,CAAA,cAAA,CAAA,GAAA,eAA8B,CAAA;AAC9B,IAAA,cAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACrB,CAAC,EARW,cAAc,KAAd,cAAc,GAQzB,EAAA,CAAA,CAAA;;ICRW,mBASX;AATD,CAAA,UAAY,kBAAkB,EAAA;AAC1B,IAAA,kBAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,kBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,kBAAA,CAAA,YAAA,CAAA,GAAA,YAAyB,CAAA;AACzB,IAAA,kBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,kBAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,kBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,kBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,kBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACvB,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,GAS7B,EAAA,CAAA,CAAA;;ICTW,gBAIX;AAJD,CAAA,UAAY,eAAe,EAAA;AACvB,IAAA,eAAA,CAAA,YAAA,CAAA,GAAA,YAAyB,CAAA;AACzB,IAAA,eAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,eAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACvB,CAAC,EAJW,eAAe,KAAf,eAAe,GAI1B,EAAA,CAAA,CAAA;;ICJW,
|
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,e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EG;;;;"}
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
@@ -0,0 +1,37 @@
|
|
1
|
+
export declare enum OrderStatusEnum {
|
2
|
+
PLACED = "PLACED",
|
3
|
+
INTEGRATED = "INTEGRATED",
|
4
|
+
CONFIRMED = "CONFIRMED",
|
5
|
+
PENDING = "PENDING",
|
6
|
+
CANCELLATION_REQUESTED = "CANCELLATION_REQUESTED",
|
7
|
+
CANCELLATION_REQUEST_FAILED = "CANCELLATION_REQUEST_FAILED",
|
8
|
+
CANCELLED = "CANCELLED",
|
9
|
+
GOING_TO_ORIGIN = "GOING_TO_ORIGIN",
|
10
|
+
ARRIVED_AT_ORIGIN = "ARRIVED_AT_ORIGIN",
|
11
|
+
ARRIVED_AT_DESTINATION = "ARRIVED_AT_DESTINATION",
|
12
|
+
READY_TO_PICKUP = "READY_TO_PICKUP",
|
13
|
+
COLLECTED = "COLLECTED",
|
14
|
+
DISPATCHED = "DISPATCHED",
|
15
|
+
DELIVERED = "DELIVERED",
|
16
|
+
CONCLUDED = "CONCLUDED",
|
17
|
+
PICKUP_AREA_ASSIGNED = "PICKUP_AREA_ASSIGNED",
|
18
|
+
DELAY_NOTIFICATION = "DELAY_NOTIFICATION",
|
19
|
+
CHANGE_PREPARATION_TIME = "CHANGE_PREPARATION_TIME",
|
20
|
+
REQUEST_DRIVER_AVAILABILITY = "REQUEST_DRIVER_AVAILABILITY",
|
21
|
+
REQUEST_DRIVER = "REQUEST_DRIVER",
|
22
|
+
REQUEST_DRIVER_SUCCESS = "REQUEST_DRIVER_SUCCESS",
|
23
|
+
REQUEST_DRIVER_FAILED = "REQUEST_DRIVER_FAILED",
|
24
|
+
ASSIGN_DRIVER = "ASSIGN_DRIVER",
|
25
|
+
CONSUMER_CANCELLATION_REQUESTED = "CONSUMER_CANCELLATION_REQUESTED",
|
26
|
+
CONSUMER_CANCELLATION_ACCEPTED = "CONSUMER_CANCELLATION_ACCEPTED",
|
27
|
+
CONSUMER_CANCELLATION_DENIED = "CONSUMER_CANCELLATION_DENIED",
|
28
|
+
ADDED_TO_GROUP = "ADDED_TO_GROUP",
|
29
|
+
EXECUTED_WITH_GROUP = "EXECUTED_WITH_GROUP",
|
30
|
+
CANCELLED_WITH_GROUP = "CANCELLED_WITH_GROUP",
|
31
|
+
COLLECTED_IN_GROUP = "COLLECTED_IN_GROUP",
|
32
|
+
ASSIGNED_WITH_GROUP = "ASSIGNED_WITH_GROUP",
|
33
|
+
UPDATE_REQUESTED = "UPDATE_REQUESTED",
|
34
|
+
UPDATE_DENIED = "UPDATE_DENIED",
|
35
|
+
UPDATED = "UPDATED",
|
36
|
+
BOX_ASSIGNED = "BOX_ASSIGNED"
|
37
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* Representa informações básicas sobre um aplicativo ou módulo dentro do sistema.
|
3
|
+
*/
|
4
|
+
export interface IAppInfo {
|
5
|
+
/** Identificador único do aplicativo ou módulo. */
|
6
|
+
appId: string;
|
7
|
+
/** Nome amigável ou título do aplicativo. */
|
8
|
+
name: string;
|
9
|
+
/** Versão do aplicativo ou módulo. */
|
10
|
+
version: string;
|
11
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { PaymentTypeEnum } from '../../general';
|
2
|
+
import { OrderStatusEnum } from '../../general/enums/order-satus.enum';
|
3
|
+
/**
|
4
|
+
* Representa os detalhes específicos do pagamento de uma compra.
|
5
|
+
*/
|
6
|
+
export interface IPaymentDetails {
|
7
|
+
/** Tipo de método de pagamento usado (por exemplo, cartão de crédito, PayPal). */
|
8
|
+
method: PaymentTypeEnum;
|
9
|
+
/** Identificador único para a transação de pagamento. */
|
10
|
+
transactionId: string;
|
11
|
+
/** Montante total pago. */
|
12
|
+
amount: number;
|
13
|
+
/** Moeda na qual o pagamento foi realizado (por exemplo: 'USD', 'BRL'). */
|
14
|
+
currency: string;
|
15
|
+
/** Estado atual da transação (por exemplo, pendente, concluído). */
|
16
|
+
status: OrderStatusEnum;
|
17
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { PaymentProviderEnum } from '../../general/enums/providers.enum';
|
2
|
+
import { IAppInfo } from './i-app-info';
|
3
|
+
import { IPaymentDetails } from './i-payment-details';
|
4
|
+
/**
|
5
|
+
* Representa uma compra dentro do sistema.
|
6
|
+
* Esta interface fornece uma separação clara de diferentes aspectos da compra,
|
7
|
+
* como detalhes do pagamento e informações sobre o aplicativo.
|
8
|
+
*/
|
9
|
+
export interface IPurchase {
|
10
|
+
/** Identificador único para a compra. */
|
11
|
+
purchaseId: string;
|
12
|
+
/** ID da empresa associada à compra. */
|
13
|
+
companyId: string;
|
14
|
+
/** ID do dispositivo para o qual o aplicativo foi ativado. */
|
15
|
+
deviceId: string;
|
16
|
+
/** Informações sobre o aplicativo ou módulo ativado. */
|
17
|
+
appInfo: IAppInfo;
|
18
|
+
/** Data e hora da compra. */
|
19
|
+
purchaseDate: Date;
|
20
|
+
/** Identificação da origem do pagamento ex: DESENFILA */
|
21
|
+
provider: PaymentProviderEnum;
|
22
|
+
/** Detalhes específicos do pagamento. */
|
23
|
+
paymentDetails: IPaymentDetails;
|
24
|
+
/** Qualquer informação adicional ou notas relacionadas à compra. */
|
25
|
+
additionalNotes?: string;
|
26
|
+
}
|