cecon-interfaces 1.0.12 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/README.md +1 -1
- package/dist/device/index.d.ts +1 -0
- package/dist/device/interfaces/i-natigo.d.ts +6 -0
- package/dist/device/interfaces/i-natigo.js +2 -0
- package/dist/esm2022/device/index.mjs +1 -1
- package/dist/esm2022/device/interfaces/i-natigo.mjs +2 -0
- package/dist/esm2022/general/enums/order-satus.enum.mjs +40 -0
- package/dist/esm2022/general/enums/providers.enum.mjs +10 -0
- package/dist/esm2022/index.mjs +2 -1
- package/dist/esm2022/purchases/index.mjs +3 -0
- package/dist/esm2022/purchases/interfaces/i-app-info.mjs +2 -0
- package/dist/esm2022/purchases/interfaces/i-payment-details.mjs +2 -0
- package/dist/esm2022/purchases/interfaces/i-purchase.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/enums/order-satus.enum.d.ts +37 -0
- package/dist/general/enums/order-satus.enum.js +42 -0
- package/dist/general/enums/providers.enum.d.ts +8 -0
- package/dist/general/enums/providers.enum.js +12 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/package.json +1 -1
- package/dist/purchases/index.d.ts +3 -0
- package/dist/purchases/index.js +3 -0
- package/dist/purchases/interfaces/i-app-info.d.ts +11 -0
- package/dist/purchases/interfaces/i-app-info.js +2 -0
- package/dist/purchases/interfaces/i-payment-details.d.ts +17 -0
- package/dist/purchases/interfaces/i-payment-details.js +2 -0
- package/dist/purchases/interfaces/i-purchase.d.ts +26 -0
- package/dist/purchases/interfaces/i-purchase.js +2 -0
- package/package.json +1 -1
- package/readme.md +1 -1
package/dist/README.md
CHANGED
package/dist/device/index.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
// index.ts
|
2
2
|
export { DeviceModeEnum } from './enums/device-mode.enum';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
3
|
+
//# sourceMappingURL=data:application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+
/* eslint-disable @typescript-eslint/naming-convention */
|
2
|
+
export var OrderStatusEnum;
|
3
|
+
(function (OrderStatusEnum) {
|
4
|
+
OrderStatusEnum["PLACED"] = "PLACED";
|
5
|
+
OrderStatusEnum["INTEGRATED"] = "INTEGRATED";
|
6
|
+
OrderStatusEnum["CONFIRMED"] = "CONFIRMED";
|
7
|
+
OrderStatusEnum["PENDING"] = "PENDING";
|
8
|
+
OrderStatusEnum["CANCELLATION_REQUESTED"] = "CANCELLATION_REQUESTED";
|
9
|
+
OrderStatusEnum["CANCELLATION_REQUEST_FAILED"] = "CANCELLATION_REQUEST_FAILED";
|
10
|
+
OrderStatusEnum["CANCELLED"] = "CANCELLED";
|
11
|
+
OrderStatusEnum["GOING_TO_ORIGIN"] = "GOING_TO_ORIGIN";
|
12
|
+
OrderStatusEnum["ARRIVED_AT_ORIGIN"] = "ARRIVED_AT_ORIGIN";
|
13
|
+
OrderStatusEnum["ARRIVED_AT_DESTINATION"] = "ARRIVED_AT_DESTINATION";
|
14
|
+
OrderStatusEnum["READY_TO_PICKUP"] = "READY_TO_PICKUP";
|
15
|
+
OrderStatusEnum["COLLECTED"] = "COLLECTED";
|
16
|
+
OrderStatusEnum["DISPATCHED"] = "DISPATCHED";
|
17
|
+
OrderStatusEnum["DELIVERED"] = "DELIVERED";
|
18
|
+
OrderStatusEnum["CONCLUDED"] = "CONCLUDED";
|
19
|
+
OrderStatusEnum["PICKUP_AREA_ASSIGNED"] = "PICKUP_AREA_ASSIGNED";
|
20
|
+
OrderStatusEnum["DELAY_NOTIFICATION"] = "DELAY_NOTIFICATION";
|
21
|
+
OrderStatusEnum["CHANGE_PREPARATION_TIME"] = "CHANGE_PREPARATION_TIME";
|
22
|
+
OrderStatusEnum["REQUEST_DRIVER_AVAILABILITY"] = "REQUEST_DRIVER_AVAILABILITY";
|
23
|
+
OrderStatusEnum["REQUEST_DRIVER"] = "REQUEST_DRIVER";
|
24
|
+
OrderStatusEnum["REQUEST_DRIVER_SUCCESS"] = "REQUEST_DRIVER_SUCCESS";
|
25
|
+
OrderStatusEnum["REQUEST_DRIVER_FAILED"] = "REQUEST_DRIVER_FAILED";
|
26
|
+
OrderStatusEnum["ASSIGN_DRIVER"] = "ASSIGN_DRIVER";
|
27
|
+
OrderStatusEnum["CONSUMER_CANCELLATION_REQUESTED"] = "CONSUMER_CANCELLATION_REQUESTED";
|
28
|
+
OrderStatusEnum["CONSUMER_CANCELLATION_ACCEPTED"] = "CONSUMER_CANCELLATION_ACCEPTED";
|
29
|
+
OrderStatusEnum["CONSUMER_CANCELLATION_DENIED"] = "CONSUMER_CANCELLATION_DENIED";
|
30
|
+
OrderStatusEnum["ADDED_TO_GROUP"] = "ADDED_TO_GROUP";
|
31
|
+
OrderStatusEnum["EXECUTED_WITH_GROUP"] = "EXECUTED_WITH_GROUP";
|
32
|
+
OrderStatusEnum["CANCELLED_WITH_GROUP"] = "CANCELLED_WITH_GROUP";
|
33
|
+
OrderStatusEnum["COLLECTED_IN_GROUP"] = "COLLECTED_IN_GROUP";
|
34
|
+
OrderStatusEnum["ASSIGNED_WITH_GROUP"] = "ASSIGNED_WITH_GROUP";
|
35
|
+
OrderStatusEnum["UPDATE_REQUESTED"] = "UPDATE_REQUESTED";
|
36
|
+
OrderStatusEnum["UPDATE_DENIED"] = "UPDATE_DENIED";
|
37
|
+
OrderStatusEnum["UPDATED"] = "UPDATED";
|
38
|
+
OrderStatusEnum["BOX_ASSIGNED"] = "BOX_ASSIGNED";
|
39
|
+
})(OrderStatusEnum || (OrderStatusEnum = {}));
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2F0dXMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudW1zL29yZGVyLXNhdHVzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FB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YX0FTU0lHTkVEID0gJ0JPWF9BU1NJR05FRCcsXG59XG4iXX0=
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export var PaymentProviderEnum;
|
2
|
+
(function (PaymentProviderEnum) {
|
3
|
+
PaymentProviderEnum["iugu"] = "IUGU";
|
4
|
+
PaymentProviderEnum["desenfila"] = "DESENFILA";
|
5
|
+
PaymentProviderEnum["mercadoPago"] = "MERCADO PAGO";
|
6
|
+
PaymentProviderEnum["stripe"] = "STRIPE";
|
7
|
+
PaymentProviderEnum["payPal"] = "PAYPAL";
|
8
|
+
PaymentProviderEnum["other"] = "OTHER";
|
9
|
+
})(PaymentProviderEnum || (PaymentProviderEnum = {}));
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnVtcy9wcm92aWRlcnMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxtQkFPWDtBQVBELFdBQVksbUJBQW1CO0lBQzNCLG9DQUFhLENBQUE7SUFDYiw4Q0FBdUIsQ0FBQTtJQUN2QixtREFBNEIsQ0FBQTtJQUM1Qix3Q0FBaUIsQ0FBQTtJQUNqQix3Q0FBaUIsQ0FBQTtJQUNqQixzQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFQVyxtQkFBbUIsS0FBbkIsbUJBQW1CLFFBTzlCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gUGF5bWVudFByb3ZpZGVyRW51bSB7XG4gICAgaXVndSA9ICdJVUdVJyxcbiAgICBkZXNlbmZpbGEgPSAnREVTRU5GSUxBJyxcbiAgICBtZXJjYWRvUGFnbyA9ICdNRVJDQURPIFBBR08nLFxuICAgIHN0cmlwZSA9ICdTVFJJUEUnLFxuICAgIHBheVBhbCA9ICdQQVlQQUwnLFxuICAgIG90aGVyID0gJ09USEVSJ1xufSJdfQ==
|
package/dist/esm2022/index.mjs
CHANGED
@@ -2,4 +2,5 @@
|
|
2
2
|
export * from './company';
|
3
3
|
export * from './device';
|
4
4
|
export * from './general';
|
5
|
-
|
5
|
+
export * from './purchases';
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsV0FBVztBQUVYLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsYUFBYSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gaW5kZXgudHNcblxuZXhwb3J0ICogZnJvbSAnLi9jb21wYW55JztcbmV4cG9ydCAqIGZyb20gJy4vZGV2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vZ2VuZXJhbCc7XG5leHBvcnQgKiBmcm9tICcuL3B1cmNoYXNlcyc7XG5cbiJdfQ==
|
@@ -0,0 +1,3 @@
|
|
1
|
+
// index.ts
|
2
|
+
export {};
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcHVyY2hhc2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFdBQVciLCJzb3VyY2VzQ29udGVudCI6WyIvLyBpbmRleC50c1xuXG5leHBvcnQgeyBJQXBwSW5mbyB9IGZyb20gJy4vaW50ZXJmYWNlcy9pLWFwcC1pbmZvJztcbmV4cG9ydCB7IElQYXltZW50RGV0YWlscyB9IGZyb20gJy4vaW50ZXJmYWNlcy9pLXBheW1lbnQtZGV0YWlscyc7XG5leHBvcnQgeyBJUHVyY2hhc2UgfSBmcm9tICcuL2ludGVyZmFjZXMvaS1wdXJjaGFzZSc7XG5cbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1hcHAtaW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wdXJjaGFzZXMvaW50ZXJmYWNlcy9pLWFwcC1pbmZvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJlcHJlc2VudGEgaW5mb3JtYcOnw7VlcyBiw6FzaWNhcyBzb2JyZSB1bSBhcGxpY2F0aXZvIG91IG3Ds2R1bG8gZGVudHJvIGRvIHNpc3RlbWEuXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgSUFwcEluZm8ge1xuICAgIC8qKiBJZGVudGlmaWNhZG9yIMO6bmljbyBkbyBhcGxpY2F0aXZvIG91IG3Ds2R1bG8uICovXG4gICAgYXBwSWQ6IHN0cmluZztcblxuICAgIC8qKiBOb21lIGFtaWfDoXZlbCBvdSB0w610dWxvIGRvIGFwbGljYXRpdm8uICovXG4gICAgbmFtZTogc3RyaW5nO1xuXG4gICAgLyoqIFZlcnPDo28gZG8gYXBsaWNhdGl2byBvdSBtw7NkdWxvLiAqL1xuICAgIHZlcnNpb246IHN0cmluZztcbn1cbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LWRldGFpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHVyY2hhc2V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Zm9pIGF0aXZhZG8uICovXG4gICAgZGV2aWNlVWlkOiBzdHJpbmc7XG5cbiAgICAvKiogSW5mb3JtYcOnw7VlcyBzb2JyZSBvIGFwbGljYXRpdm8gb3UgbcOzZHVsbyBhdGl2YWRvLiAqL1xuICAgIGFwcEluZm86IElBcHBJbmZvO1xuXG4gICAgLyoqIERhdGEgZSBob3JhIGRhIGNvbXByYS4gKi9cbiAgICBwdXJjaGFzZURhdGU6IERhdGU7XG5cbiAgICAvKiogSWRlbnRpZmljYcOnw6NvIGRhIG9yaWdlbSBkbyBwYWdhbWVudG8gZXg6IERFU0VORklMQSAqL1xuICAgIHByb3ZpZGVyOiBQYXltZW50UHJvdmlkZXJFbnVtO1xuXG4gICAgLyoqIERldGFsaGVzIGVzcGVjw61maWNvcyBkbyBwYWdhbWVudG8uICovXG4gICAgcGF5bWVudERldGFpbHM6IElQYXltZW50RGV0YWlscztcblxuICAgIC8qKiBRdWFscXVlciBpbmZvcm1hw6fDo28gYWRpY2lvbmFsIG91IG5vdGFzIHJlbGFjaW9uYWRhcyDDoCBjb21wcmEuICovXG4gICAgYWRkaXRpb25hbE5vdGVzPzogc3RyaW5nO1xufVxuIl19
|
@@ -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 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,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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yB,CAAA;AACzB,IAAA,eAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,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,EAlBW,eAAe,KAAf,eAAe,GAkB1B,EAAA,CAAA,CAAA;;AClBD;;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/purchases/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';\nexport { INatigo } from './interfaces/i-natigo';\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 { IAppInfo } from './interfaces/i-app-info';\nexport { IPaymentDetails } from './interfaces/i-payment-details';\nexport { IPurchase } from './interfaces/i-purchase';\n\n","// index.ts\n\nexport * from './company';\nexport * from './device';\nexport * from './general';\nexport * from './purchases';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\n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eAAe,GAkB1B,EAAA,CAAA,CAAA;;AClBD;;ACAA;;ACAA;;ACAA;;AAEG;;;;"}
|
@@ -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,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrderStatusEnum = void 0;
|
4
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
5
|
+
var OrderStatusEnum;
|
6
|
+
(function (OrderStatusEnum) {
|
7
|
+
OrderStatusEnum["PLACED"] = "PLACED";
|
8
|
+
OrderStatusEnum["INTEGRATED"] = "INTEGRATED";
|
9
|
+
OrderStatusEnum["CONFIRMED"] = "CONFIRMED";
|
10
|
+
OrderStatusEnum["PENDING"] = "PENDING";
|
11
|
+
OrderStatusEnum["CANCELLATION_REQUESTED"] = "CANCELLATION_REQUESTED";
|
12
|
+
OrderStatusEnum["CANCELLATION_REQUEST_FAILED"] = "CANCELLATION_REQUEST_FAILED";
|
13
|
+
OrderStatusEnum["CANCELLED"] = "CANCELLED";
|
14
|
+
OrderStatusEnum["GOING_TO_ORIGIN"] = "GOING_TO_ORIGIN";
|
15
|
+
OrderStatusEnum["ARRIVED_AT_ORIGIN"] = "ARRIVED_AT_ORIGIN";
|
16
|
+
OrderStatusEnum["ARRIVED_AT_DESTINATION"] = "ARRIVED_AT_DESTINATION";
|
17
|
+
OrderStatusEnum["READY_TO_PICKUP"] = "READY_TO_PICKUP";
|
18
|
+
OrderStatusEnum["COLLECTED"] = "COLLECTED";
|
19
|
+
OrderStatusEnum["DISPATCHED"] = "DISPATCHED";
|
20
|
+
OrderStatusEnum["DELIVERED"] = "DELIVERED";
|
21
|
+
OrderStatusEnum["CONCLUDED"] = "CONCLUDED";
|
22
|
+
OrderStatusEnum["PICKUP_AREA_ASSIGNED"] = "PICKUP_AREA_ASSIGNED";
|
23
|
+
OrderStatusEnum["DELAY_NOTIFICATION"] = "DELAY_NOTIFICATION";
|
24
|
+
OrderStatusEnum["CHANGE_PREPARATION_TIME"] = "CHANGE_PREPARATION_TIME";
|
25
|
+
OrderStatusEnum["REQUEST_DRIVER_AVAILABILITY"] = "REQUEST_DRIVER_AVAILABILITY";
|
26
|
+
OrderStatusEnum["REQUEST_DRIVER"] = "REQUEST_DRIVER";
|
27
|
+
OrderStatusEnum["REQUEST_DRIVER_SUCCESS"] = "REQUEST_DRIVER_SUCCESS";
|
28
|
+
OrderStatusEnum["REQUEST_DRIVER_FAILED"] = "REQUEST_DRIVER_FAILED";
|
29
|
+
OrderStatusEnum["ASSIGN_DRIVER"] = "ASSIGN_DRIVER";
|
30
|
+
OrderStatusEnum["CONSUMER_CANCELLATION_REQUESTED"] = "CONSUMER_CANCELLATION_REQUESTED";
|
31
|
+
OrderStatusEnum["CONSUMER_CANCELLATION_ACCEPTED"] = "CONSUMER_CANCELLATION_ACCEPTED";
|
32
|
+
OrderStatusEnum["CONSUMER_CANCELLATION_DENIED"] = "CONSUMER_CANCELLATION_DENIED";
|
33
|
+
OrderStatusEnum["ADDED_TO_GROUP"] = "ADDED_TO_GROUP";
|
34
|
+
OrderStatusEnum["EXECUTED_WITH_GROUP"] = "EXECUTED_WITH_GROUP";
|
35
|
+
OrderStatusEnum["CANCELLED_WITH_GROUP"] = "CANCELLED_WITH_GROUP";
|
36
|
+
OrderStatusEnum["COLLECTED_IN_GROUP"] = "COLLECTED_IN_GROUP";
|
37
|
+
OrderStatusEnum["ASSIGNED_WITH_GROUP"] = "ASSIGNED_WITH_GROUP";
|
38
|
+
OrderStatusEnum["UPDATE_REQUESTED"] = "UPDATE_REQUESTED";
|
39
|
+
OrderStatusEnum["UPDATE_DENIED"] = "UPDATE_DENIED";
|
40
|
+
OrderStatusEnum["UPDATED"] = "UPDATED";
|
41
|
+
OrderStatusEnum["BOX_ASSIGNED"] = "BOX_ASSIGNED";
|
42
|
+
})(OrderStatusEnum || (exports.OrderStatusEnum = OrderStatusEnum = {}));
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PaymentProviderEnum = void 0;
|
4
|
+
var PaymentProviderEnum;
|
5
|
+
(function (PaymentProviderEnum) {
|
6
|
+
PaymentProviderEnum["iugu"] = "IUGU";
|
7
|
+
PaymentProviderEnum["desenfila"] = "DESENFILA";
|
8
|
+
PaymentProviderEnum["mercadoPago"] = "MERCADO PAGO";
|
9
|
+
PaymentProviderEnum["stripe"] = "STRIPE";
|
10
|
+
PaymentProviderEnum["payPal"] = "PAYPAL";
|
11
|
+
PaymentProviderEnum["other"] = "OTHER";
|
12
|
+
})(PaymentProviderEnum || (exports.PaymentProviderEnum = PaymentProviderEnum = {}));
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/package.json
CHANGED
@@ -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
|
+
deviceUid: 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
|
+
}
|
package/package.json
CHANGED
package/readme.md
CHANGED