cecon-interfaces 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/cecon-interfaces.mjs +5 -0
- package/index.d.ts +5 -0
- package/package.json +1 -1
- package/dist/enums/company-keys.enum.d.ts +0 -7
- package/dist/enums/company-keys.enum.js +0 -11
- package/dist/enums/company-message-type.enum.d.ts +0 -5
- package/dist/enums/company-message-type.enum.js +0 -9
- package/dist/enums/doc-type.enum.d.ts +0 -4
- package/dist/enums/doc-type.enum.js +0 -8
- package/dist/enums/lead-origin.enum.d.ts +0 -9
- package/dist/enums/lead-origin.enum.js +0 -13
- package/dist/enums/payment-channel.enum.d.ts +0 -10
- package/dist/enums/payment-channel.enum.js +0 -14
- package/dist/enums/payment-mode.enum.d.ts +0 -5
- package/dist/enums/payment-mode.enum.js +0 -9
- package/dist/enums/payment-type.enum.d.ts +0 -18
- package/dist/enums/payment-type.enum.js +0 -22
- package/dist/index.d.ts +0 -13
- package/dist/index.js +0 -3
- package/dist/interfaces/i-address.d.ts +0 -9
- package/dist/interfaces/i-address.js +0 -2
- package/dist/interfaces/i-company.d.ts +0 -37
- package/dist/interfaces/i-company.js +0 -2
- package/dist/interfaces/i-coords.d.ts +0 -4
- package/dist/interfaces/i-coords.js +0 -2
- package/dist/interfaces/i-delivery-area-fixed.d.ts +0 -7
- package/dist/interfaces/i-delivery-area-fixed.js +0 -2
- package/dist/interfaces/i-delivery-area.d.ts +0 -11
- package/dist/interfaces/i-delivery-area.js +0 -2
- package/dist/interfaces/i-messager-channel.d.ts +0 -5
- package/dist/interfaces/i-messager-channel.js +0 -2
- package/dist/interfaces/i-mobyo-server-api.d.ts +0 -8
- package/dist/interfaces/i-mobyo-server-api.js +0 -2
- package/dist/interfaces/i-origin.d.ts +0 -9
- package/dist/interfaces/i-origin.js +0 -2
- package/dist/interfaces/i-payment-method.d.ts +0 -18
- package/dist/interfaces/i-payment-method.js +0 -2
- package/dist/interfaces/i-payment-provider-agent.d.ts +0 -4
- package/dist/interfaces/i-payment-provider-agent.js +0 -2
- package/dist/interfaces/i-payment-provider.d.ts +0 -17
- package/dist/interfaces/i-payment-provider.js +0 -2
- package/dist/interfaces/i-payment-tokens-data.d.ts +0 -9
- package/dist/interfaces/i-payment-tokens-data.js +0 -3
- package/dist/interfaces/i-payment-tokens.d.ts +0 -8
- package/dist/interfaces/i-payment-tokens.js +0 -3
- package/ng-package.json +0 -6
- package/readme.md +0 -9
- package/src/enums/company-keys.enum.ts +0 -7
- package/src/enums/company-message-type.enum.ts +0 -5
- package/src/enums/doc-type.enum.ts +0 -4
- package/src/enums/lead-origin.enum.ts +0 -9
- package/src/enums/payment-channel.enum.ts +0 -10
- package/src/enums/payment-mode.enum.ts +0 -5
- package/src/enums/payment-type.enum.ts +0 -18
- package/src/index.ts +0 -16
- package/src/interfaces/i-address.ts +0 -13
- package/src/interfaces/i-company.ts +0 -42
- package/src/interfaces/i-coords.ts +0 -8
- package/src/interfaces/i-delivery-area-fixed.ts +0 -11
- package/src/interfaces/i-delivery-area.ts +0 -16
- package/src/interfaces/i-messager-channel.ts +0 -7
- package/src/interfaces/i-mobyo-server-api.ts +0 -8
- package/src/interfaces/i-origin.ts +0 -14
- package/src/interfaces/i-payment-method.ts +0 -23
- package/src/interfaces/i-payment-provider-agent.ts +0 -8
- package/src/interfaces/i-payment-provider.ts +0 -22
- package/src/interfaces/i-payment-tokens-data.ts +0 -15
- package/src/interfaces/i-payment-tokens.ts +0 -16
- package/tsconfig.json +0 -12
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public-api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2Vjb24taW50ZXJmYWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jZWNvbi1pbnRlcmZhY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
|
package/index.d.ts
ADDED
package/package.json
CHANGED
@@ -1,11 +0,0 @@
|
|
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 || (exports.CompanyKeysEnum = {}));
|
@@ -1,9 +0,0 @@
|
|
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 || (exports.CompanyMessageTypeEnum = {}));
|
@@ -1,8 +0,0 @@
|
|
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 || (exports.DocTypeEnum = {}));
|
@@ -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,13 +0,0 @@
|
|
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 || (exports.LeadOriginEnum = {}));
|
@@ -1,14 +0,0 @@
|
|
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 || (exports.PaymentChannelEnum = {}));
|
@@ -1,9 +0,0 @@
|
|
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 || (exports.PaymentModeEnum = {}));
|
@@ -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,22 +0,0 @@
|
|
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["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
|
10
|
-
PaymentTypeEnum["CHECK"] = "CHECK";
|
11
|
-
PaymentTypeEnum["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
|
12
|
-
PaymentTypeEnum["ELECTRONIC_BANKING"] = "ELECTRONIC_BANKING";
|
13
|
-
PaymentTypeEnum["MONEY_ORDER"] = "MONEY_ORDER";
|
14
|
-
PaymentTypeEnum["PREPAID_CARD"] = "PREPAID_CARD";
|
15
|
-
PaymentTypeEnum["E_WALLET"] = "E_WALLET";
|
16
|
-
PaymentTypeEnum["DIRECT_DEBIT"] = "DIRECT_DEBIT";
|
17
|
-
PaymentTypeEnum["PAYPAL"] = "PAYPAL";
|
18
|
-
PaymentTypeEnum["WIRE_TRANSFER"] = "WIRE_TRANSFER";
|
19
|
-
PaymentTypeEnum["GIFT_CARD"] = "GIFT_CARD";
|
20
|
-
PaymentTypeEnum["VOUCHER"] = "VOUCHER";
|
21
|
-
PaymentTypeEnum["BILLING"] = "BILLING";
|
22
|
-
})(PaymentTypeEnum = exports.PaymentTypeEnum || (exports.PaymentTypeEnum = {}));
|
package/dist/index.d.ts
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
export { IAddress } from './interfaces/i-address';
|
2
|
-
export { ICompany } from './interfaces/i-company';
|
3
|
-
export { ICoords } from './interfaces/i-coords';
|
4
|
-
export { IDeliveryArea } from './interfaces/i-delivery-area';
|
5
|
-
export { IDeliveryAreaFixed } from './interfaces/i-delivery-area-fixed';
|
6
|
-
export { IMessagerChannel } from './interfaces/i-messager-channel';
|
7
|
-
export { IMobyoApiConfig } from './interfaces/i-mobyo-server-api';
|
8
|
-
export { IOrigin } from './interfaces/i-origin';
|
9
|
-
export { IPaymentMethod } from './interfaces/i-payment-method';
|
10
|
-
export { IPaymentProvider } from './interfaces/i-payment-provider';
|
11
|
-
export { IPaymentProviderAgent } from './interfaces/i-payment-provider-agent';
|
12
|
-
export { IPaymentToken } from './interfaces/i-payment-tokens';
|
13
|
-
export { IPaymentTokenData } from './interfaces/i-payment-tokens-data';
|
package/dist/index.js
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
import { DocTypeEnum } from '../enums/doc-type.enum';
|
2
|
-
import { IAddress } from './i-address';
|
3
|
-
import { IDeliveryArea } from './i-delivery-area';
|
4
|
-
import { IDeliveryAreaFixed } from './i-delivery-area-fixed';
|
5
|
-
import { IMessagerChannel } from './i-messager-channel';
|
6
|
-
import { IMobyoApiConfig } from './i-mobyo-server-api';
|
7
|
-
import { IOrigin } from './i-origin';
|
8
|
-
import { IPaymentMethod } from './i-payment-method';
|
9
|
-
import { IPaymentProvider } from './i-payment-provider';
|
10
|
-
export interface ICompany {
|
11
|
-
active: boolean;
|
12
|
-
address: IAddress;
|
13
|
-
bgImageURL?: string;
|
14
|
-
containerId: string;
|
15
|
-
createdAt: Date;
|
16
|
-
deliveryArea: IDeliveryArea[];
|
17
|
-
deliveryAreaFixed?: IDeliveryAreaFixed;
|
18
|
-
doc: string;
|
19
|
-
docType: DocTypeEnum;
|
20
|
-
email: string;
|
21
|
-
id: string;
|
22
|
-
imageURL?: string;
|
23
|
-
logoURL?: string;
|
24
|
-
internationalCode: string;
|
25
|
-
messagerChannels: IMessagerChannel[];
|
26
|
-
config: IMobyoApiConfig;
|
27
|
-
name: string;
|
28
|
-
origin: IOrigin;
|
29
|
-
paymentProvider: IPaymentProvider;
|
30
|
-
paymentsMethods: IPaymentMethod[];
|
31
|
-
phoneNumber: string;
|
32
|
-
pubsubTopic: string;
|
33
|
-
fullName: string;
|
34
|
-
sandbox: boolean;
|
35
|
-
updatedAt: number;
|
36
|
-
version: string;
|
37
|
-
}
|
@@ -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,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
|
-
}
|
package/ng-package.json
DELETED
package/readme.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
export enum LeadOriginEnum {
|
2
|
-
FACEBOOK_ADS = 'Facebook Ads',
|
3
|
-
GOOGLE_ADS = 'Google Ads',
|
4
|
-
EMAIL_MARKETING = 'Email Marketing',
|
5
|
-
REFERRED_BY_FRIEND = 'Indicação de amigo',
|
6
|
-
ORGANIC_SEARCH = 'Busca orgânica',
|
7
|
-
DIRECT_VISIT = 'Visita Direta',
|
8
|
-
OTHERS = 'Outros',
|
9
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
export 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
|
-
}
|
package/src/index.ts
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
// index.ts
|
2
|
-
|
3
|
-
export { IAddress } from './interfaces/i-address';
|
4
|
-
export { ICompany } from './interfaces/i-company';
|
5
|
-
export { ICoords } from './interfaces/i-coords';
|
6
|
-
export { IDeliveryArea } from './interfaces/i-delivery-area';
|
7
|
-
export { IDeliveryAreaFixed } from './interfaces/i-delivery-area-fixed';
|
8
|
-
export { IMessagerChannel } from './interfaces/i-messager-channel';
|
9
|
-
export { IMobyoApiConfig } from './interfaces/i-mobyo-server-api';
|
10
|
-
export { IOrigin } from './interfaces/i-origin';
|
11
|
-
export { IPaymentMethod } from './interfaces/i-payment-method';
|
12
|
-
export { IPaymentProvider } from './interfaces/i-payment-provider';
|
13
|
-
export { IPaymentProviderAgent } from './interfaces/i-payment-provider-agent';
|
14
|
-
export { IPaymentToken } from './interfaces/i-payment-tokens';
|
15
|
-
export { IPaymentTokenData } from './interfaces/i-payment-tokens-data';
|
16
|
-
|
@@ -1,42 +0,0 @@
|
|
1
|
-
import { DocTypeEnum } from '../enums/doc-type.enum';
|
2
|
-
import { IAddress } from './i-address';
|
3
|
-
import { IDeliveryArea } from './i-delivery-area';
|
4
|
-
import { IDeliveryAreaFixed } from './i-delivery-area-fixed';
|
5
|
-
import { IMessagerChannel } from './i-messager-channel';
|
6
|
-
import { IMobyoApiConfig } from './i-mobyo-server-api';
|
7
|
-
import { IOrigin } from './i-origin';
|
8
|
-
import { IPaymentMethod } from './i-payment-method';
|
9
|
-
import { IPaymentProvider } from './i-payment-provider';
|
10
|
-
|
11
|
-
export interface ICompany {
|
12
|
-
// #region Properties (27)
|
13
|
-
|
14
|
-
active: boolean;
|
15
|
-
address: IAddress;
|
16
|
-
bgImageURL?: string;
|
17
|
-
containerId: string;
|
18
|
-
createdAt: Date;
|
19
|
-
deliveryArea: IDeliveryArea[];
|
20
|
-
deliveryAreaFixed?: IDeliveryAreaFixed;
|
21
|
-
doc: string;
|
22
|
-
docType: DocTypeEnum;
|
23
|
-
email: string;
|
24
|
-
id: string;
|
25
|
-
imageURL?: string;
|
26
|
-
logoURL?: string;
|
27
|
-
internationalCode: string;
|
28
|
-
messagerChannels: IMessagerChannel[];
|
29
|
-
config: IMobyoApiConfig;
|
30
|
-
name: string;
|
31
|
-
origin: IOrigin;
|
32
|
-
paymentProvider: IPaymentProvider;
|
33
|
-
paymentsMethods: IPaymentMethod[];
|
34
|
-
phoneNumber: string;
|
35
|
-
pubsubTopic: string;
|
36
|
-
fullName: string;
|
37
|
-
sandbox: boolean;
|
38
|
-
updatedAt: number;
|
39
|
-
version: string;
|
40
|
-
|
41
|
-
// #endregion Properties (27)
|
42
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { ICoords } from './i-coords';
|
2
|
-
|
3
|
-
export interface IDeliveryArea {
|
4
|
-
// #region Properties (8)
|
5
|
-
|
6
|
-
deliveryFee: number;
|
7
|
-
id: string;
|
8
|
-
latlngs: ICoords[];
|
9
|
-
maxTime: number;
|
10
|
-
minTime: number;
|
11
|
-
minimumOrderValue: number;
|
12
|
-
name: string;
|
13
|
-
sequence: number;
|
14
|
-
|
15
|
-
// #endregion Properties (8)
|
16
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { LeadOriginEnum } from '../enums/lead-origin.enum';
|
2
|
-
|
3
|
-
export interface IOrigin {
|
4
|
-
// #region Properties (6)
|
5
|
-
|
6
|
-
campaign?: string;
|
7
|
-
contactPoint?: string;
|
8
|
-
date: Number;
|
9
|
-
details?: string;
|
10
|
-
referrer?: string;
|
11
|
-
type: LeadOriginEnum;
|
12
|
-
|
13
|
-
// #endregion Properties (6)
|
14
|
-
}
|
@@ -1,23 +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
|
-
|
5
|
-
export interface IPaymentMethod {
|
6
|
-
// #region Properties (13)
|
7
|
-
|
8
|
-
active: boolean;
|
9
|
-
channel: PaymentChannelEnum;
|
10
|
-
createdAt: number;
|
11
|
-
fee: number;
|
12
|
-
id: string;
|
13
|
-
index: number;
|
14
|
-
maxAmount: number;
|
15
|
-
minAmount: number;
|
16
|
-
mode: PaymentModeEnum;
|
17
|
-
name: string;
|
18
|
-
token: string;
|
19
|
-
type: PaymentTypeEnum;
|
20
|
-
updatedAt: number;
|
21
|
-
|
22
|
-
// #endregion Properties (13)
|
23
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { IPaymentProviderAgent } from './i-payment-provider-agent';
|
2
|
-
import { IPaymentToken } from './i-payment-tokens';
|
3
|
-
|
4
|
-
export interface IPaymentProvider {
|
5
|
-
// #region Properties (13)
|
6
|
-
|
7
|
-
accountId: string;
|
8
|
-
active: boolean;
|
9
|
-
agent: IPaymentProviderAgent;
|
10
|
-
customerId: string;
|
11
|
-
liveApiToken: string;
|
12
|
-
name: string;
|
13
|
-
paymentTokens: IPaymentToken;
|
14
|
-
subscriptionId: string;
|
15
|
-
subscriptions?: string;
|
16
|
-
testApiToken: string;
|
17
|
-
userApiToken: string;
|
18
|
-
verified: boolean;
|
19
|
-
verifiedAt: number;
|
20
|
-
|
21
|
-
// #endregion Properties (13)
|
22
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
// src/models/base.entity.ts
|
2
|
-
|
3
|
-
export interface IPaymentTokenData {
|
4
|
-
// #region Properties (7)
|
5
|
-
|
6
|
-
bin: string;
|
7
|
-
brand: string;
|
8
|
-
displayNumber: string;
|
9
|
-
firstDigits: string;
|
10
|
-
maskedNumber: string;
|
11
|
-
month: number;
|
12
|
-
year: number;
|
13
|
-
|
14
|
-
// #endregion Properties (7)
|
15
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
// src/models/base.entity.ts
|
2
|
-
|
3
|
-
import { IPaymentTokenData } from './i-payment-tokens-data';
|
4
|
-
|
5
|
-
|
6
|
-
export interface IPaymentToken {
|
7
|
-
// #region Properties (5)
|
8
|
-
|
9
|
-
customerId: string;
|
10
|
-
data: IPaymentTokenData;
|
11
|
-
description: string;
|
12
|
-
id: string;
|
13
|
-
itemType: string;
|
14
|
-
|
15
|
-
// #endregion Properties (5)
|
16
|
-
}
|