cecon-interfaces 1.2.44 → 1.2.46
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/index.mjs +2 -1
- package/dist/esm2022/mottu/entities/address.entity.mjs +22 -0
- package/dist/esm2022/mottu/entities/event-delivery-man.entity.mjs +17 -0
- package/dist/esm2022/mottu/entities/event-requested-by.entity.mjs +17 -0
- package/dist/esm2022/mottu/entities/event.entity.mjs +24 -0
- package/dist/esm2022/mottu/entities/index.mjs +13 -0
- package/dist/esm2022/mottu/entities/order-deliverer.entity.mjs +30 -0
- package/dist/esm2022/mottu/entities/order-deliverery-man.entity.mjs +24 -0
- package/dist/esm2022/mottu/entities/order-preview.entity.mjs +27 -0
- package/dist/esm2022/mottu/entities/order-store.entity.mjs +16 -0
- package/dist/esm2022/mottu/entities/order.entity.mjs +32 -0
- package/dist/esm2022/mottu/entities/store-matrix.entity.mjs +16 -0
- package/dist/esm2022/mottu/entities/store-responsible.entity.mjs +17 -0
- package/dist/esm2022/mottu/entities/store.entity.mjs +27 -0
- package/dist/esm2022/mottu/index.mjs +3 -0
- package/dist/esm2022/mottu/interfaces/i-address.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/i-event-delivery-man.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/i-event-requested-by.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/i-event.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/i-order-deliverer.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/i-order-delivery-man.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/i-order-preview.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/i-order-store.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/i-order.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/i-store-matrix.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/i-store-responsible.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/i-store.mjs +2 -0
- package/dist/esm2022/mottu/interfaces/index.mjs +2 -0
- package/dist/esm2022/verifier-token/entities/verifier-token.entity.mjs +4 -3
- package/dist/esm2022/verifier-token/interfaces/i-verifier-token.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +264 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/mottu/entities/address.entity.d.ts +11 -0
- package/dist/mottu/entities/address.entity.js +26 -0
- package/dist/mottu/entities/event-delivery-man.entity.d.ts +6 -0
- package/dist/mottu/entities/event-delivery-man.entity.js +21 -0
- package/dist/mottu/entities/event-requested-by.entity.d.ts +6 -0
- package/dist/mottu/entities/event-requested-by.entity.js +21 -0
- package/dist/mottu/entities/event.entity.d.ts +11 -0
- package/dist/mottu/entities/event.entity.js +28 -0
- package/dist/mottu/entities/index.d.ts +12 -0
- package/dist/mottu/entities/index.js +27 -0
- package/dist/mottu/entities/order-deliverer.entity.d.ts +18 -0
- package/dist/mottu/entities/order-deliverer.entity.js +34 -0
- package/dist/mottu/entities/order-deliverery-man.entity.d.ts +13 -0
- package/dist/mottu/entities/order-deliverery-man.entity.js +28 -0
- package/dist/mottu/entities/order-preview.entity.d.ts +14 -0
- package/dist/mottu/entities/order-preview.entity.js +31 -0
- package/dist/mottu/entities/order-store.entity.d.ts +5 -0
- package/dist/mottu/entities/order-store.entity.js +20 -0
- package/dist/mottu/entities/order.entity.d.ts +20 -0
- package/dist/mottu/entities/order.entity.js +36 -0
- package/dist/mottu/entities/store-matrix.entity.d.ts +5 -0
- package/dist/mottu/entities/store-matrix.entity.js +20 -0
- package/dist/mottu/entities/store-responsible.entity.d.ts +6 -0
- package/dist/mottu/entities/store-responsible.entity.js +21 -0
- package/dist/mottu/entities/store.entity.d.ts +13 -0
- package/dist/mottu/entities/store.entity.js +31 -0
- package/dist/mottu/index.d.ts +2 -0
- package/dist/mottu/index.js +18 -0
- package/dist/mottu/interfaces/i-address.d.ts +9 -0
- package/dist/mottu/interfaces/i-address.js +2 -0
- package/dist/mottu/interfaces/i-event-delivery-man.d.ts +4 -0
- package/dist/mottu/interfaces/i-event-delivery-man.js +2 -0
- package/dist/mottu/interfaces/i-event-requested-by.d.ts +4 -0
- package/dist/mottu/interfaces/i-event-requested-by.js +2 -0
- package/dist/mottu/interfaces/i-event.d.ts +11 -0
- package/dist/mottu/interfaces/i-event.js +2 -0
- package/dist/mottu/interfaces/i-order-deliverer.d.ts +17 -0
- package/dist/mottu/interfaces/i-order-deliverer.js +2 -0
- package/dist/mottu/interfaces/i-order-delivery-man.d.ts +11 -0
- package/dist/mottu/interfaces/i-order-delivery-man.js +2 -0
- package/dist/mottu/interfaces/i-order-preview.d.ts +14 -0
- package/dist/mottu/interfaces/i-order-preview.js +2 -0
- package/dist/mottu/interfaces/i-order-store.d.ts +3 -0
- package/dist/mottu/interfaces/i-order-store.js +2 -0
- package/dist/mottu/interfaces/i-order.d.ts +20 -0
- package/dist/mottu/interfaces/i-order.js +2 -0
- package/dist/mottu/interfaces/i-store-matrix.d.ts +3 -0
- package/dist/mottu/interfaces/i-store-matrix.js +2 -0
- package/dist/mottu/interfaces/i-store-responsible.d.ts +4 -0
- package/dist/mottu/interfaces/i-store-responsible.js +2 -0
- package/dist/mottu/interfaces/i-store.d.ts +14 -0
- package/dist/mottu/interfaces/i-store.js +2 -0
- package/dist/mottu/interfaces/index.d.ts +12 -0
- package/dist/mottu/interfaces/index.js +2 -0
- package/dist/package.json +1 -1
- package/dist/verifier-token/entities/verifier-token.entity.d.ts +1 -0
- package/dist/verifier-token/entities/verifier-token.entity.js +3 -2
- package/dist/verifier-token/interfaces/i-verifier-token.d.ts +1 -0
- package/package.json +1 -1
@@ -0,0 +1,14 @@
|
|
1
|
+
import { IMottuAddress } from './i-address';
|
2
|
+
import { IMottuOrderStore } from './i-order-store';
|
3
|
+
export interface IMottuOrderPreview {
|
4
|
+
deliveries: IMottuAddress[];
|
5
|
+
deliveryFee: number;
|
6
|
+
expectedDelivery: Date;
|
7
|
+
expectedPickup: Date;
|
8
|
+
onlinePayment: boolean;
|
9
|
+
pickupAddress: IMottuAddress;
|
10
|
+
previewDeliveryTime: boolean;
|
11
|
+
sortByBestRoute: boolean;
|
12
|
+
store: IMottuOrderStore;
|
13
|
+
totalDistance: number;
|
14
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { IMottuEvent } from './i-event';
|
2
|
+
import { IMottuOrderDeliveryMan } from './i-order-delivery-man';
|
3
|
+
export interface IMottuOrder {
|
4
|
+
code: string;
|
5
|
+
createdAt: Date;
|
6
|
+
deliveryFee: number;
|
7
|
+
deliveryMan: IMottuOrderDeliveryMan;
|
8
|
+
events: IMottuEvent[];
|
9
|
+
expectedDelivery: Date;
|
10
|
+
expectedPickup: Date;
|
11
|
+
fullCode: string;
|
12
|
+
id: number;
|
13
|
+
origin: string;
|
14
|
+
pickupCode: string;
|
15
|
+
preparationTime: number;
|
16
|
+
returnCode: string;
|
17
|
+
situation: number;
|
18
|
+
storeId: number;
|
19
|
+
totalDistance: number;
|
20
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { IMottuAddress } from './i-address';
|
2
|
+
import { IMottuStoreMatrix } from './i-store-matrix';
|
3
|
+
import { IMottuStoreResponsible } from './i-store-responsible';
|
4
|
+
export interface IMottuStore {
|
5
|
+
address: IMottuAddress;
|
6
|
+
balance: number;
|
7
|
+
cnpj: string;
|
8
|
+
email: string;
|
9
|
+
id: number;
|
10
|
+
marketplaceBranchId: number;
|
11
|
+
matrix: IMottuStoreMatrix;
|
12
|
+
name: string;
|
13
|
+
responsible: IMottuStoreResponsible;
|
14
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export { IMottuAddress } from './i-address';
|
2
|
+
export { IMottuEvent } from './i-event';
|
3
|
+
export { IMottuEventDeliveryMan } from './i-event-delivery-man';
|
4
|
+
export { IMottuEventRequestedBy } from './i-event-requested-by';
|
5
|
+
export { IMottuOrder } from './i-order';
|
6
|
+
export { IMottuOrderDeliverer } from './i-order-deliverer';
|
7
|
+
export { IMottuOrderDeliveryMan } from './i-order-delivery-man';
|
8
|
+
export { IMottuOrderPreview } from './i-order-preview';
|
9
|
+
export { IMottuOrderStore } from './i-order-store';
|
10
|
+
export { IMottuStore } from './i-store';
|
11
|
+
export { IMottuStoreMatrix } from './i-store-matrix';
|
12
|
+
export { IMottuStoreResponsible } from './i-store-responsible';
|
package/dist/package.json
CHANGED
@@ -2,14 +2,15 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.VerifierTokenEntity = void 0;
|
4
4
|
var VerifierTokenEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (9)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function VerifierTokenEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (9)
|
9
9
|
this.appId = null;
|
10
10
|
this.createdAt = Date.now();
|
11
11
|
this.expiresAt = Date.now() + 1000 * 60 * 30;
|
12
12
|
this.id = '';
|
13
|
+
this.message = '';
|
13
14
|
this.receiver = '';
|
14
15
|
this.value = '';
|
15
16
|
this.verified = false;
|