cecon-interfaces 1.6.96 → 1.6.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/esm2022/envelope/interfaces/factory-envelope-array-pag.functions.mjs +1 -1
  2. package/dist/esm2022/envelope/interfaces/factory-envelope-array.functions.mjs +1 -1
  3. package/dist/esm2022/envelope/interfaces/factory-envelope.functions.mjs +1 -1
  4. package/dist/esm2022/mobyo/mobyo-customer-mobyo/entities/customer-mobyo.entity.mjs +1 -3
  5. package/dist/esm2022/mobyo/mobyo-customer-mobyo/entities/index.mjs +1 -2
  6. package/dist/esm2022/mobyo/mobyo-customer-mobyo/interfaces/i-customer-mobyo.mjs +1 -1
  7. package/dist/esm2022/mobyo/mobyo-customer-mobyo/interfaces/index.mjs +1 -1
  8. package/dist/esm2022/payio/orders-queue/entities/order-queue.entity.mjs +2 -2
  9. package/dist/esm2022/payio/orders-queue/interfaces/i-order-queue.mjs +1 -1
  10. package/dist/fesm2022/cecon-interfaces.mjs +2 -24
  11. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  12. package/dist/mobyo/mobyo-customer-mobyo/entities/customer-mobyo.entity.d.ts +0 -2
  13. package/dist/mobyo/mobyo-customer-mobyo/entities/customer-mobyo.entity.js +0 -2
  14. package/dist/mobyo/mobyo-customer-mobyo/entities/index.d.ts +0 -1
  15. package/dist/mobyo/mobyo-customer-mobyo/entities/index.js +1 -3
  16. package/dist/mobyo/mobyo-customer-mobyo/interfaces/i-customer-mobyo.d.ts +0 -2
  17. package/dist/mobyo/mobyo-customer-mobyo/interfaces/index.d.ts +0 -1
  18. package/dist/payio/orders-queue/entities/order-queue.entity.d.ts +1 -0
  19. package/dist/payio/orders-queue/entities/order-queue.entity.js +1 -2
  20. package/dist/payio/orders-queue/interfaces/i-order-queue.d.ts +1 -0
  21. package/package.json +2 -3
  22. package/dist/esm2022/mobyo/mobyo-customer-mobyo/entities/customer-privacy.entity.mjs +0 -21
  23. package/dist/esm2022/mobyo/mobyo-customer-mobyo/interfaces/i-customer-privacy.mjs +0 -2
  24. package/dist/mobyo/mobyo-customer-mobyo/entities/customer-privacy.entity.d.ts +0 -10
  25. package/dist/mobyo/mobyo-customer-mobyo/entities/customer-privacy.entity.js +0 -25
  26. package/dist/mobyo/mobyo-customer-mobyo/interfaces/i-customer-privacy.d.ts +0 -8
  27. package/dist/mobyo/mobyo-customer-mobyo/interfaces/i-customer-privacy.js +0 -2
@@ -1,7 +1,6 @@
1
1
  import { CustomerEntity } from '../../../customer';
2
2
  import { IAddress } from '../../../general';
3
3
  import { ICustomerMobyo } from '../interfaces/i-customer-mobyo';
4
- import { IPrivacySetting } from '../interfaces/i-customer-privacy';
5
4
  export declare class CustomerMobyoEntity extends CustomerEntity implements ICustomerMobyo {
6
5
  active: boolean;
7
6
  addresses: IAddress[];
@@ -13,6 +12,5 @@ export declare class CustomerMobyoEntity extends CustomerEntity implements ICust
13
12
  uid: string;
14
13
  version: string;
15
14
  birthday: Date | null;
16
- privacySettings: IPrivacySetting;
17
15
  constructor(data?: Partial<CustomerMobyoEntity>);
18
16
  }
@@ -17,7 +17,6 @@ var __extends = (this && this.__extends) || (function () {
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.CustomerMobyoEntity = void 0;
19
19
  var customer_1 = require("../../../customer");
20
- var customer_privacy_entity_1 = require("./customer-privacy.entity");
21
20
  var CustomerMobyoEntity = /** @class */ (function (_super) {
22
21
  __extends(CustomerMobyoEntity, _super);
23
22
  // #endregion Properties (9)
@@ -35,7 +34,6 @@ var CustomerMobyoEntity = /** @class */ (function (_super) {
35
34
  _this.uid = '';
36
35
  _this.version = '1.0.2';
37
36
  _this.birthday = null;
38
- _this.privacySettings = new customer_privacy_entity_1.PrivacySettingEntity();
39
37
  if (data) {
40
38
  for (var key in data) {
41
39
  if (data.hasOwnProperty(key) && key in _this) {
@@ -1,2 +1 @@
1
1
  export { CustomerMobyoEntity } from './customer-mobyo.entity';
2
- export { PrivacySettingEntity } from './customer-privacy.entity';
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PrivacySettingEntity = exports.CustomerMobyoEntity = void 0;
3
+ exports.CustomerMobyoEntity = void 0;
4
4
  var customer_mobyo_entity_1 = require("./customer-mobyo.entity");
5
5
  Object.defineProperty(exports, "CustomerMobyoEntity", { enumerable: true, get: function () { return customer_mobyo_entity_1.CustomerMobyoEntity; } });
6
- var customer_privacy_entity_1 = require("./customer-privacy.entity");
7
- Object.defineProperty(exports, "PrivacySettingEntity", { enumerable: true, get: function () { return customer_privacy_entity_1.PrivacySettingEntity; } });
@@ -1,6 +1,5 @@
1
1
  import { ICustomer } from '../../../customer';
2
2
  import { IAddress } from '../../../general';
3
- import { IPrivacySetting } from './i-customer-privacy';
4
3
  export interface ICustomerMobyo extends ICustomer {
5
4
  active: boolean;
6
5
  addresses: IAddress[];
@@ -12,5 +11,4 @@ export interface ICustomerMobyo extends ICustomer {
12
11
  uid: string;
13
12
  version: string;
14
13
  birthday: Date | null;
15
- privacySettings: IPrivacySetting;
16
14
  }
@@ -1,3 +1,2 @@
1
1
  export { ICustomerMobyo } from './i-customer-mobyo';
2
2
  export { IUsedVoucher } from './i-used-voucher';
3
- export { IPrivacySetting } from './i-customer-privacy';
@@ -4,6 +4,7 @@ export declare class PayioOrderQueueEntity implements IPayioOrderQueue {
4
4
  appId: string;
5
5
  attempts: number;
6
6
  companyId: string;
7
+ companyName: string;
7
8
  createdAt: Date;
8
9
  data: string;
9
10
  error: string;
@@ -4,10 +4,10 @@ exports.PayioOrderQueueEntity = void 0;
4
4
  var enums_1 = require("../enums");
5
5
  var PayioOrderQueueEntity = /** @class */ (function () {
6
6
  function PayioOrderQueueEntity() {
7
- // #region Properties (10)
8
7
  this.appId = '';
9
8
  this.attempts = 0;
10
9
  this.companyId = '';
10
+ this.companyName = '';
11
11
  this.createdAt = new Date();
12
12
  this.data = '';
13
13
  this.error = '';
@@ -15,7 +15,6 @@ var PayioOrderQueueEntity = /** @class */ (function () {
15
15
  this.lastAttemptAt = new Date();
16
16
  this.reference = '';
17
17
  this.status = enums_1.PayioOrderQueueStatusEnum.pending;
18
- // #endregion Properties (10)
19
18
  }
20
19
  return PayioOrderQueueEntity;
21
20
  }());
@@ -4,6 +4,7 @@ export interface IPayioOrderQueue {
4
4
  createdAt: Date;
5
5
  reference: string;
6
6
  companyId: string;
7
+ companyName: string;
7
8
  appId: string;
8
9
  error: string;
9
10
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.96",
3
+ "version": "1.6.97",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,8 +8,7 @@
8
8
  "scripts": {
9
9
  "packagr": "ng-packagr -p ng-package.json",
10
10
  "build": "tsc src/index.ts --outDir dist",
11
- "test": "echo \"Error: no test specified\" && exit 1",
12
- "deploy": "npm run packagr && npm run build && npm publish"
11
+ "test": "echo \"Error: no test specified\" && exit 1"
13
12
  },
14
13
  "repository": {
15
14
  "type": "git",
@@ -1,21 +0,0 @@
1
- export class PrivacySettingEntity {
2
- // #region Properties (9)
3
- orderNotifications = false;
4
- pushNotificationsPromo = false;
5
- emailNotificationsPromo = false;
6
- whatsAppNotificationsPromo = false;
7
- smsNotificationsPromo = false;
8
- acceptPrivayAndPolicyTerm = false;
9
- // #endregion Properties (9)
10
- // #region Constructors (1)
11
- constructor(data) {
12
- if (data) {
13
- for (let key in data) {
14
- if (data.hasOwnProperty(key) && key in this) {
15
- this[key] = data[key];
16
- }
17
- }
18
- }
19
- }
20
- }
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tZXItcHJpdmFjeS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8u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bHNlO1xyXG4gIHB1YmxpYyBwdXNoTm90aWZpY2F0aW9uc1Byb21vOiBib29sZWFuID0gZmFsc2U7XHJcbiAgcHVibGljIGVtYWlsTm90aWZpY2F0aW9uc1Byb21vOiBib29sZWFuID0gZmFsc2U7XHJcbiAgcHVibGljIHdoYXRzQXBwTm90aWZpY2F0aW9uc1Byb21vOiBib29sZWFuID0gZmFsc2U7XHJcbiAgcHVibGljIHNtc05vdGlmaWNhdGlvbnNQcm9tbzogYm9vbGVhbiA9IGZhbHNlO1xyXG4gIHB1YmxpYyBhY2NlcHRQcml2YXlBbmRQb2xpY3lUZXJtOiBib29sZWFuID0gZmFsc2U7XHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg5KVxyXG5cclxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxuXHJcbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8UHJpdmFjeVNldHRpbmdFbnRpdHk+KSB7XHJcbiAgICBpZiAoZGF0YSkge1xyXG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcclxuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG59XHJcbiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jdXN0b21lci1wcml2YWN5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL21vYnlvL21vYnlvLWN1c3RvbWVyLW1vYnlvL2ludGVyZmFjZXMvaS1jdXN0b21lci1wcml2YWN5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElQcml2YWN5U2V0dGluZyB7XHJcbiAgb3JkZXJOb3RpZmljYXRpb25zOiBib29sZWFuLFxyXG4gIHB1c2hOb3RpZmljYXRpb25zUHJvbW86IGJvb2xlYW4sXHJcbiAgZW1haWxOb3RpZmljYXRpb25zUHJvbW86IGJvb2xlYW4sXHJcbiAgd2hhdHNBcHBOb3RpZmljYXRpb25zUHJvbW86IGJvb2xlYW4sXHJcbiAgc21zTm90aWZpY2F0aW9uc1Byb21vOiBib29sZWFuLFxyXG4gIGFjY2VwdFByaXZheUFuZFBvbGljeVRlcm06IGJvb2xlYW5cclxufVxyXG4iXX0=
@@ -1,10 +0,0 @@
1
- import { IPrivacySetting } from '../interfaces/i-customer-privacy';
2
- export declare class PrivacySettingEntity implements IPrivacySetting {
3
- orderNotifications: boolean;
4
- pushNotificationsPromo: boolean;
5
- emailNotificationsPromo: boolean;
6
- whatsAppNotificationsPromo: boolean;
7
- smsNotificationsPromo: boolean;
8
- acceptPrivayAndPolicyTerm: boolean;
9
- constructor(data?: Partial<PrivacySettingEntity>);
10
- }
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PrivacySettingEntity = void 0;
4
- var PrivacySettingEntity = /** @class */ (function () {
5
- // #endregion Properties (9)
6
- // #region Constructors (1)
7
- function PrivacySettingEntity(data) {
8
- // #region Properties (9)
9
- this.orderNotifications = false;
10
- this.pushNotificationsPromo = false;
11
- this.emailNotificationsPromo = false;
12
- this.whatsAppNotificationsPromo = false;
13
- this.smsNotificationsPromo = false;
14
- this.acceptPrivayAndPolicyTerm = false;
15
- if (data) {
16
- for (var key in data) {
17
- if (data.hasOwnProperty(key) && key in this) {
18
- this[key] = data[key];
19
- }
20
- }
21
- }
22
- }
23
- return PrivacySettingEntity;
24
- }());
25
- exports.PrivacySettingEntity = PrivacySettingEntity;
@@ -1,8 +0,0 @@
1
- export interface IPrivacySetting {
2
- orderNotifications: boolean;
3
- pushNotificationsPromo: boolean;
4
- emailNotificationsPromo: boolean;
5
- whatsAppNotificationsPromo: boolean;
6
- smsNotificationsPromo: boolean;
7
- acceptPrivayAndPolicyTerm: boolean;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });