cecon-interfaces 1.4.23 → 1.4.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/campaign/enums/rule-types.enum.d.ts +0 -1
- package/dist/campaign/enums/rule-types.enum.js +0 -1
- package/dist/esm2022/campaign/enums/rule-types.enum.mjs +1 -2
- 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 +3 -1
- package/dist/esm2022/mobyo/mobyo-customer-mobyo/interfaces/i-customer-mobyo.mjs +1 -1
- package/dist/esm2022/mobyo/mobyo-customer-mobyo/interfaces/i-used-voucher.mjs +2 -0
- package/dist/esm2022/mobyo/mobyo-customer-mobyo/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/mobyo/mobyo-api/interfaces/i-order-customer-v3.d.ts +3 -0
- package/dist/mobyo/mobyo-customer-mobyo/entities/customer-mobyo.entity.d.ts +3 -0
- package/dist/mobyo/mobyo-customer-mobyo/entities/customer-mobyo.entity.js +2 -0
- package/dist/mobyo/mobyo-customer-mobyo/interfaces/i-customer-mobyo.d.ts +3 -0
- package/dist/mobyo/mobyo-customer-mobyo/interfaces/i-used-voucher.d.ts +6 -0
- package/dist/mobyo/mobyo-customer-mobyo/interfaces/i-used-voucher.js +2 -0
- package/dist/mobyo/mobyo-customer-mobyo/interfaces/index.d.ts +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,3 +1,4 @@
|
|
1
|
+
import { IUsedVoucher } from "../../mobyo-customer-mobyo";
|
1
2
|
export interface IOrdersCustomerPhone {
|
2
3
|
description: String;
|
3
4
|
localizer: String;
|
@@ -12,4 +13,6 @@ export interface IOrderCustomerV3 {
|
|
12
13
|
ordersCountOnMerchant: number;
|
13
14
|
phone: IOrdersCustomerPhone;
|
14
15
|
picture: string;
|
16
|
+
usedVouchers: IUsedVoucher[];
|
17
|
+
birthday: Date | null;
|
15
18
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { CustomerEntity } from '../../../customer';
|
2
2
|
import { IAddress } from '../../../general';
|
3
|
+
import { IUsedVoucher } from '../interfaces';
|
3
4
|
import { ICustomerMobyo } from '../interfaces/i-customer-mobyo';
|
4
5
|
export declare class CustomerMobyoEntity extends CustomerEntity implements ICustomerMobyo {
|
5
6
|
active: boolean;
|
@@ -11,5 +12,7 @@ export declare class CustomerMobyoEntity extends CustomerEntity implements ICust
|
|
11
12
|
ordersCountOnRestaurant: number;
|
12
13
|
uid: string;
|
13
14
|
version: string;
|
15
|
+
usedVouchers: IUsedVoucher[];
|
16
|
+
birthday: Date | null;
|
14
17
|
constructor(data?: Partial<CustomerMobyoEntity>);
|
15
18
|
}
|
@@ -33,6 +33,8 @@ var CustomerMobyoEntity = /** @class */ (function (_super) {
|
|
33
33
|
_this.ordersCountOnRestaurant = 0;
|
34
34
|
_this.uid = '';
|
35
35
|
_this.version = '1.0.2';
|
36
|
+
_this.usedVouchers = [];
|
37
|
+
_this.birthday = null;
|
36
38
|
if (data) {
|
37
39
|
for (var key in data) {
|
38
40
|
if (data.hasOwnProperty(key) && key in _this) {
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { ICustomer } from '../../../customer';
|
2
2
|
import { IAddress } from '../../../general';
|
3
|
+
import { IUsedVoucher } from './i-used-voucher';
|
3
4
|
export interface ICustomerMobyo extends ICustomer {
|
4
5
|
active: boolean;
|
5
6
|
addresses: IAddress[];
|
@@ -10,4 +11,6 @@ export interface ICustomerMobyo extends ICustomer {
|
|
10
11
|
ordersCountOnRestaurant: number;
|
11
12
|
uid: string;
|
12
13
|
version: string;
|
14
|
+
usedVouchers: IUsedVoucher[];
|
15
|
+
birthday: Date | null;
|
13
16
|
}
|
package/dist/package.json
CHANGED