cecon-interfaces 1.4.25 → 1.4.27
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/campaign/entities/campaign.entity.d.ts +1 -0
- package/dist/campaign/entities/campaign.entity.js +1 -0
- package/dist/campaign/interfaces/i-campaign-customer.d.ts +15 -0
- package/dist/campaign/interfaces/i-campaign-customer.js +2 -0
- package/dist/campaign/interfaces/i-campaign.d.ts +1 -0
- package/dist/campaign/interfaces/index.d.ts +1 -0
- package/dist/esm2022/campaign/entities/campaign.entity.mjs +2 -1
- package/dist/esm2022/campaign/interfaces/i-campaign-customer.mjs +2 -0
- package/dist/esm2022/campaign/interfaces/i-campaign.mjs +1 -1
- package/dist/esm2022/campaign/interfaces/index.mjs +1 -1
- package/dist/esm2022/mobyo/index.mjs +2 -1
- package/dist/esm2022/mobyo/mobyo-api/interfaces/i-order-benefits-v3.mjs +1 -1
- package/dist/esm2022/mobyo/mobyo-api/interfaces/i-order-customer-v3.mjs +1 -1
- package/dist/esm2022/mobyo/mobyo-customer-mobyo/entities/customer-mobyo.entity.mjs +1 -2
- package/dist/esm2022/mobyo/mobyo-customer-mobyo/interfaces/i-customer-mobyo.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/index.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/vouchers/index.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume-voucher-item.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume-voucher.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/vouchers/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/mobyo/index.d.ts +1 -0
- package/dist/mobyo/index.js +1 -0
- package/dist/mobyo/mobyo-api/interfaces/i-order-benefits-v3.d.ts +2 -1
- package/dist/mobyo/mobyo-api/interfaces/i-order-customer-v3.d.ts +0 -2
- package/dist/mobyo/mobyo-customer-mobyo/entities/customer-mobyo.entity.d.ts +0 -2
- package/dist/mobyo/mobyo-customer-mobyo/entities/customer-mobyo.entity.js +0 -1
- package/dist/mobyo/mobyo-customer-mobyo/interfaces/i-customer-mobyo.d.ts +0 -2
- package/dist/mobyo/resumes/index.d.ts +1 -0
- package/dist/mobyo/resumes/index.js +17 -0
- package/dist/mobyo/resumes/vouchers/index.d.ts +1 -0
- package/dist/mobyo/resumes/vouchers/index.js +17 -0
- package/dist/mobyo/resumes/vouchers/interfaces/i-resume-voucher-item.d.ts +12 -0
- package/dist/mobyo/resumes/vouchers/interfaces/i-resume-voucher-item.js +2 -0
- package/dist/mobyo/resumes/vouchers/interfaces/i-resume-voucher.d.ts +18 -0
- package/dist/mobyo/resumes/vouchers/interfaces/i-resume-voucher.js +2 -0
- package/dist/mobyo/resumes/vouchers/interfaces/index.d.ts +2 -0
- package/dist/mobyo/resumes/vouchers/interfaces/index.js +2 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/mobyo/index.d.ts
CHANGED
package/dist/mobyo/index.js
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
+
import { ECampaignTargetTypes } from "../../../campaign";
|
1
2
|
export interface ISponsorshipValues {
|
2
3
|
name: string;
|
3
4
|
value: number;
|
4
5
|
}
|
5
6
|
export interface IOrderBenefitsV3 {
|
6
7
|
sponsorshipValues?: ISponsorshipValues[];
|
7
|
-
target:
|
8
|
+
target: ECampaignTargetTypes;
|
8
9
|
value: number;
|
9
10
|
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { IUsedVoucher } from "../../mobyo-customer-mobyo";
|
2
1
|
export interface IOrdersCustomerPhone {
|
3
2
|
description: String;
|
4
3
|
localizer: String;
|
@@ -13,6 +12,5 @@ export interface IOrderCustomerV3 {
|
|
13
12
|
ordersCountOnMerchant: number;
|
14
13
|
phone: IOrdersCustomerPhone;
|
15
14
|
picture: string;
|
16
|
-
usedVouchers: IUsedVoucher[];
|
17
15
|
birthday: Date | null;
|
18
16
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { CustomerEntity } from '../../../customer';
|
2
2
|
import { IAddress } from '../../../general';
|
3
|
-
import { IUsedVoucher } from '../interfaces';
|
4
3
|
import { ICustomerMobyo } from '../interfaces/i-customer-mobyo';
|
5
4
|
export declare class CustomerMobyoEntity extends CustomerEntity implements ICustomerMobyo {
|
6
5
|
active: boolean;
|
@@ -12,7 +11,6 @@ export declare class CustomerMobyoEntity extends CustomerEntity implements ICust
|
|
12
11
|
ordersCountOnRestaurant: number;
|
13
12
|
uid: string;
|
14
13
|
version: string;
|
15
|
-
usedVouchers: IUsedVoucher[];
|
16
14
|
birthday: Date | null;
|
17
15
|
constructor(data?: Partial<CustomerMobyoEntity>);
|
18
16
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { ICustomer } from '../../../customer';
|
2
2
|
import { IAddress } from '../../../general';
|
3
|
-
import { IUsedVoucher } from './i-used-voucher';
|
4
3
|
export interface ICustomerMobyo extends ICustomer {
|
5
4
|
active: boolean;
|
6
5
|
addresses: IAddress[];
|
@@ -11,6 +10,5 @@ export interface ICustomerMobyo extends ICustomer {
|
|
11
10
|
ordersCountOnRestaurant: number;
|
12
11
|
uid: string;
|
13
12
|
version: string;
|
14
|
-
usedVouchers: IUsedVoucher[];
|
15
13
|
birthday: Date | null;
|
16
14
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './vouchers';
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./vouchers"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './interfaces';
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ICoords } from '../../../../general';
|
2
|
+
export interface IResumeVoucherItem {
|
3
|
+
confirmed: IResumeVoucherItemDetail;
|
4
|
+
cancelled: IResumeVoucherItemDetail;
|
5
|
+
}
|
6
|
+
export interface IResumeVoucherItemDetail {
|
7
|
+
cords: ICoords[];
|
8
|
+
count: number;
|
9
|
+
orderItemsCount: number;
|
10
|
+
totalAmount: number;
|
11
|
+
totalDiscount: number;
|
12
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { ECampaignTargetTypes } from '../../../../campaign';
|
2
|
+
import { IMobyoInfo, INatiInfo } from '../../../../general';
|
3
|
+
import { IResumeVoucherItem } from './i-resume-voucher-item';
|
4
|
+
export interface IResumeVoucher {
|
5
|
+
id: string;
|
6
|
+
createdAt: Date;
|
7
|
+
updatedAt: Date;
|
8
|
+
item: IResumeVoucherItem;
|
9
|
+
items: {
|
10
|
+
id: string;
|
11
|
+
item: IResumeVoucherItem;
|
12
|
+
}[];
|
13
|
+
targetType: {
|
14
|
+
id: ECampaignTargetTypes;
|
15
|
+
item: IResumeVoucherItem;
|
16
|
+
}[];
|
17
|
+
info: IMobyoInfo | INatiInfo;
|
18
|
+
}
|
package/dist/package.json
CHANGED