cecon-interfaces 1.2.44 → 1.2.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. package/dist/esm2022/index.mjs +2 -1
  2. package/dist/esm2022/mottu/entities/address.entity.mjs +22 -0
  3. package/dist/esm2022/mottu/entities/event-delivery-man.entity.mjs +17 -0
  4. package/dist/esm2022/mottu/entities/event-requested-by.entity.mjs +17 -0
  5. package/dist/esm2022/mottu/entities/event.entity.mjs +24 -0
  6. package/dist/esm2022/mottu/entities/index.mjs +13 -0
  7. package/dist/esm2022/mottu/entities/order-deliverer.entity.mjs +30 -0
  8. package/dist/esm2022/mottu/entities/order-deliverery-man.entity.mjs +24 -0
  9. package/dist/esm2022/mottu/entities/order-preview.entity.mjs +27 -0
  10. package/dist/esm2022/mottu/entities/order-store.entity.mjs +16 -0
  11. package/dist/esm2022/mottu/entities/order.entity.mjs +32 -0
  12. package/dist/esm2022/mottu/entities/store-matrix.entity.mjs +16 -0
  13. package/dist/esm2022/mottu/entities/store-responsible.entity.mjs +17 -0
  14. package/dist/esm2022/mottu/entities/store.entity.mjs +27 -0
  15. package/dist/esm2022/mottu/index.mjs +3 -0
  16. package/dist/esm2022/mottu/interfaces/i-address.mjs +2 -0
  17. package/dist/esm2022/mottu/interfaces/i-event-delivery-man.mjs +2 -0
  18. package/dist/esm2022/mottu/interfaces/i-event-requested-by.mjs +2 -0
  19. package/dist/esm2022/mottu/interfaces/i-event.mjs +2 -0
  20. package/dist/esm2022/mottu/interfaces/i-order-deliverer.mjs +2 -0
  21. package/dist/esm2022/mottu/interfaces/i-order-delivery-man.mjs +2 -0
  22. package/dist/esm2022/mottu/interfaces/i-order-preview.mjs +2 -0
  23. package/dist/esm2022/mottu/interfaces/i-order-store.mjs +2 -0
  24. package/dist/esm2022/mottu/interfaces/i-order.mjs +2 -0
  25. package/dist/esm2022/mottu/interfaces/i-store-matrix.mjs +2 -0
  26. package/dist/esm2022/mottu/interfaces/i-store-responsible.mjs +2 -0
  27. package/dist/esm2022/mottu/interfaces/i-store.mjs +2 -0
  28. package/dist/esm2022/mottu/interfaces/index.mjs +2 -0
  29. package/dist/esm2022/verifier-token/entities/verifier-token.entity.mjs +4 -3
  30. package/dist/esm2022/verifier-token/interfaces/i-verifier-token.mjs +1 -1
  31. package/dist/fesm2022/cecon-interfaces.mjs +264 -3
  32. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  33. package/dist/index.d.ts +1 -0
  34. package/dist/index.js +1 -0
  35. package/dist/mottu/entities/address.entity.d.ts +11 -0
  36. package/dist/mottu/entities/address.entity.js +26 -0
  37. package/dist/mottu/entities/event-delivery-man.entity.d.ts +6 -0
  38. package/dist/mottu/entities/event-delivery-man.entity.js +21 -0
  39. package/dist/mottu/entities/event-requested-by.entity.d.ts +6 -0
  40. package/dist/mottu/entities/event-requested-by.entity.js +21 -0
  41. package/dist/mottu/entities/event.entity.d.ts +11 -0
  42. package/dist/mottu/entities/event.entity.js +28 -0
  43. package/dist/mottu/entities/index.d.ts +12 -0
  44. package/dist/mottu/entities/index.js +27 -0
  45. package/dist/mottu/entities/order-deliverer.entity.d.ts +18 -0
  46. package/dist/mottu/entities/order-deliverer.entity.js +34 -0
  47. package/dist/mottu/entities/order-deliverery-man.entity.d.ts +13 -0
  48. package/dist/mottu/entities/order-deliverery-man.entity.js +28 -0
  49. package/dist/mottu/entities/order-preview.entity.d.ts +14 -0
  50. package/dist/mottu/entities/order-preview.entity.js +31 -0
  51. package/dist/mottu/entities/order-store.entity.d.ts +5 -0
  52. package/dist/mottu/entities/order-store.entity.js +20 -0
  53. package/dist/mottu/entities/order.entity.d.ts +20 -0
  54. package/dist/mottu/entities/order.entity.js +36 -0
  55. package/dist/mottu/entities/store-matrix.entity.d.ts +5 -0
  56. package/dist/mottu/entities/store-matrix.entity.js +20 -0
  57. package/dist/mottu/entities/store-responsible.entity.d.ts +6 -0
  58. package/dist/mottu/entities/store-responsible.entity.js +21 -0
  59. package/dist/mottu/entities/store.entity.d.ts +13 -0
  60. package/dist/mottu/entities/store.entity.js +31 -0
  61. package/dist/mottu/index.d.ts +2 -0
  62. package/dist/mottu/index.js +18 -0
  63. package/dist/mottu/interfaces/i-address.d.ts +9 -0
  64. package/dist/mottu/interfaces/i-address.js +2 -0
  65. package/dist/mottu/interfaces/i-event-delivery-man.d.ts +4 -0
  66. package/dist/mottu/interfaces/i-event-delivery-man.js +2 -0
  67. package/dist/mottu/interfaces/i-event-requested-by.d.ts +4 -0
  68. package/dist/mottu/interfaces/i-event-requested-by.js +2 -0
  69. package/dist/mottu/interfaces/i-event.d.ts +11 -0
  70. package/dist/mottu/interfaces/i-event.js +2 -0
  71. package/dist/mottu/interfaces/i-order-deliverer.d.ts +17 -0
  72. package/dist/mottu/interfaces/i-order-deliverer.js +2 -0
  73. package/dist/mottu/interfaces/i-order-delivery-man.d.ts +11 -0
  74. package/dist/mottu/interfaces/i-order-delivery-man.js +2 -0
  75. package/dist/mottu/interfaces/i-order-preview.d.ts +14 -0
  76. package/dist/mottu/interfaces/i-order-preview.js +2 -0
  77. package/dist/mottu/interfaces/i-order-store.d.ts +3 -0
  78. package/dist/mottu/interfaces/i-order-store.js +2 -0
  79. package/dist/mottu/interfaces/i-order.d.ts +20 -0
  80. package/dist/mottu/interfaces/i-order.js +2 -0
  81. package/dist/mottu/interfaces/i-store-matrix.d.ts +3 -0
  82. package/dist/mottu/interfaces/i-store-matrix.js +2 -0
  83. package/dist/mottu/interfaces/i-store-responsible.d.ts +4 -0
  84. package/dist/mottu/interfaces/i-store-responsible.js +2 -0
  85. package/dist/mottu/interfaces/i-store.d.ts +14 -0
  86. package/dist/mottu/interfaces/i-store.js +2 -0
  87. package/dist/mottu/interfaces/index.d.ts +12 -0
  88. package/dist/mottu/interfaces/index.js +2 -0
  89. package/dist/package.json +1 -1
  90. package/dist/verifier-token/entities/verifier-token.entity.d.ts +1 -0
  91. package/dist/verifier-token/entities/verifier-token.entity.js +3 -2
  92. package/dist/verifier-token/interfaces/i-verifier-token.d.ts +1 -0
  93. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ export interface IMottuOrderDeliveryMan {
2
+ ddd: string;
3
+ document: string;
4
+ email: string;
5
+ id: number;
6
+ latitude: number;
7
+ longitude: number;
8
+ name: string;
9
+ phone: string;
10
+ profileId: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface IMottuOrderStore {
2
+ userMottuId: number;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface IMottuStoreMatrix {
2
+ id: number;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface IMottuStoreResponsible {
2
+ phone: string;
3
+ name: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.44",
3
+ "version": "1.2.47",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -4,6 +4,7 @@ export declare class VerifierTokenEntity implements IVerifierToken {
4
4
  createdAt: number;
5
5
  expiresAt: number;
6
6
  id: string;
7
+ message: string;
7
8
  receiver: string;
8
9
  value: string;
9
10
  verified: boolean;
@@ -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 (8)
5
+ // #endregion Properties (9)
6
6
  // #region Constructors (1)
7
7
  function VerifierTokenEntity(data) {
8
- // #region Properties (8)
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;
@@ -3,6 +3,7 @@ export interface IVerifierToken {
3
3
  expiresAt: number;
4
4
  id: string;
5
5
  receiver: string;
6
+ message: string;
6
7
  value: string;
7
8
  verified: boolean;
8
9
  verifiedAt: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.44",
3
+ "version": "1.2.47",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",