cecon-interfaces 1.0.89 → 1.0.91

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/dist/app/entities/app.entity.d.ts +1 -1
  2. package/dist/app/entities/app.entity.js +1 -1
  3. package/dist/app/interfaces/i-app.d.ts +1 -1
  4. package/dist/esm2022/app/entities/app.entity.mjs +2 -2
  5. package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
  6. package/dist/esm2022/invite/entities/invite.entity.mjs +2 -2
  7. package/dist/esm2022/invite/interfaces/i-invite.mjs +1 -1
  8. package/dist/esm2022/invoice/enums/invoices-status.enum.mjs +11 -10
  9. package/dist/esm2022/iugu/enums/index.mjs +2 -1
  10. package/dist/esm2022/iugu/enums/iugu-status-invoice.enum.mjs +15 -0
  11. package/dist/esm2022/notification/entities/notification.entity.mjs +2 -2
  12. package/dist/esm2022/notification/interfaces/i-notification.mjs +1 -1
  13. package/dist/esm2022/partner/entities/partner.entity.mjs +3 -3
  14. package/dist/esm2022/partner/interfaces/i-partner.mjs +1 -1
  15. package/dist/fesm2022/cecon-interfaces.mjs +31 -15
  16. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  17. package/dist/invite/entities/invite.entity.d.ts +1 -1
  18. package/dist/invite/entities/invite.entity.js +1 -1
  19. package/dist/invite/interfaces/i-invite.d.ts +1 -1
  20. package/dist/invoice/enums/invoices-status.enum.d.ts +10 -9
  21. package/dist/invoice/enums/invoices-status.enum.js +10 -9
  22. package/dist/iugu/enums/index.d.ts +1 -0
  23. package/dist/iugu/enums/index.js +3 -1
  24. package/dist/iugu/enums/iugu-status-invoice.enum.d.ts +13 -0
  25. package/dist/iugu/enums/iugu-status-invoice.enum.js +17 -0
  26. package/dist/notification/entities/notification.entity.d.ts +1 -1
  27. package/dist/notification/entities/notification.entity.js +1 -1
  28. package/dist/notification/interfaces/i-notification.d.ts +1 -1
  29. package/dist/package.json +1 -1
  30. package/dist/partner/entities/partner.entity.d.ts +2 -2
  31. package/dist/partner/entities/partner.entity.js +2 -2
  32. package/dist/partner/interfaces/i-partner.d.ts +2 -2
  33. package/package.json +1 -1
@@ -15,7 +15,7 @@ export declare class InviteEntity implements IInvite {
15
15
  internationalCode: string;
16
16
  name: string;
17
17
  phoneNumber: string;
18
- photoURL: string;
18
+ photoUrl: string;
19
19
  status: InviteStatusEnum;
20
20
  uid: string;
21
21
  updatedAt: Date;
@@ -21,7 +21,7 @@ var InviteEntity = /** @class */ (function () {
21
21
  this.internationalCode = '+55';
22
22
  this.name = '';
23
23
  this.phoneNumber = '';
24
- this.photoURL = '';
24
+ this.photoUrl = '';
25
25
  this.status = enums_1.InviteStatusEnum.PENDING;
26
26
  this.uid = '';
27
27
  this.updatedAt = new Date();
@@ -14,7 +14,7 @@ export interface IInvite {
14
14
  internationalCode: string;
15
15
  name: string;
16
16
  phoneNumber: string;
17
- photoURL: string;
17
+ photoUrl: string;
18
18
  status: InviteStatusEnum;
19
19
  uid: string;
20
20
  updatedAt: Date;
@@ -1,12 +1,13 @@
1
1
  export declare enum InvoiceStatusEnum {
2
- ACTIVE = "ACTIVE",
3
- CANCELLED = "CANCELLED",
4
- EXPIRED = "EXPIRED",
5
2
  PENDING = "PENDING",
6
- PENDING_PAYMENT = "PENDING_PAYMENT",
7
- PENDING_RENEWAL = "PENDING_RENEWAL",
8
- TRIAL = "TRIAL",
9
- FREE = "FREE",
10
- FREE_TRIAL = "FREE_TRIAL",
11
- FREE_TRIAL_EXPIRED = "FREE_TRIAL_EXPIRED"
3
+ PAID = "PAID",
4
+ CANCELED = "CANCELED",
5
+ IN_ANALYSIS = "IN_ANALYSIS",
6
+ DRAFT = "DRAFT",
7
+ PARTIALLY_PAID = "PARTIALLY_PAID",
8
+ REFUNDED = "REFUNDED",
9
+ EXPIRED = "EXPIRED",
10
+ IN_PROTEST = "IN_PROTEST",
11
+ CHARGEBACK = "CHARGEBACK",
12
+ EXTERNALLY_PAID = "EXTERNALLY_PAID"
12
13
  }
@@ -3,14 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InvoiceStatusEnum = void 0;
4
4
  var InvoiceStatusEnum;
5
5
  (function (InvoiceStatusEnum) {
6
- InvoiceStatusEnum["ACTIVE"] = "ACTIVE";
7
- InvoiceStatusEnum["CANCELLED"] = "CANCELLED";
8
- InvoiceStatusEnum["EXPIRED"] = "EXPIRED";
9
6
  InvoiceStatusEnum["PENDING"] = "PENDING";
10
- InvoiceStatusEnum["PENDING_PAYMENT"] = "PENDING_PAYMENT";
11
- InvoiceStatusEnum["PENDING_RENEWAL"] = "PENDING_RENEWAL";
12
- InvoiceStatusEnum["TRIAL"] = "TRIAL";
13
- InvoiceStatusEnum["FREE"] = "FREE";
14
- InvoiceStatusEnum["FREE_TRIAL"] = "FREE_TRIAL";
15
- InvoiceStatusEnum["FREE_TRIAL_EXPIRED"] = "FREE_TRIAL_EXPIRED";
7
+ InvoiceStatusEnum["PAID"] = "PAID";
8
+ InvoiceStatusEnum["CANCELED"] = "CANCELED";
9
+ InvoiceStatusEnum["IN_ANALYSIS"] = "IN_ANALYSIS";
10
+ InvoiceStatusEnum["DRAFT"] = "DRAFT";
11
+ InvoiceStatusEnum["PARTIALLY_PAID"] = "PARTIALLY_PAID";
12
+ InvoiceStatusEnum["REFUNDED"] = "REFUNDED";
13
+ InvoiceStatusEnum["EXPIRED"] = "EXPIRED";
14
+ InvoiceStatusEnum["IN_PROTEST"] = "IN_PROTEST";
15
+ InvoiceStatusEnum["CHARGEBACK"] = "CHARGEBACK";
16
+ InvoiceStatusEnum["EXTERNALLY_PAID"] = "EXTERNALLY_PAID";
16
17
  })(InvoiceStatusEnum || (exports.InvoiceStatusEnum = InvoiceStatusEnum = {}));
@@ -1,2 +1,3 @@
1
1
  export { IuguAutoAdvanceEnum } from './iugu-auto-advance.enum';
2
2
  export { IuguBankEnum } from './iugu-bank.enum';
3
+ export { IuguInvoiceStatusEnum } from './iugu-status-invoice.enum';
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IuguBankEnum = exports.IuguAutoAdvanceEnum = void 0;
3
+ exports.IuguInvoiceStatusEnum = exports.IuguBankEnum = exports.IuguAutoAdvanceEnum = void 0;
4
4
  var iugu_auto_advance_enum_1 = require("./iugu-auto-advance.enum");
5
5
  Object.defineProperty(exports, "IuguAutoAdvanceEnum", { enumerable: true, get: function () { return iugu_auto_advance_enum_1.IuguAutoAdvanceEnum; } });
6
6
  var iugu_bank_enum_1 = require("./iugu-bank.enum");
7
7
  Object.defineProperty(exports, "IuguBankEnum", { enumerable: true, get: function () { return iugu_bank_enum_1.IuguBankEnum; } });
8
+ var iugu_status_invoice_enum_1 = require("./iugu-status-invoice.enum");
9
+ Object.defineProperty(exports, "IuguInvoiceStatusEnum", { enumerable: true, get: function () { return iugu_status_invoice_enum_1.IuguInvoiceStatusEnum; } });
@@ -0,0 +1,13 @@
1
+ export declare enum IuguInvoiceStatusEnum {
2
+ PENDING = "PENDING",
3
+ PAID = "PAID",
4
+ CANCELED = "CANCELED",
5
+ IN_ANALYSIS = "IN_ANALYSIS",
6
+ DRAFT = "DRAFT",
7
+ PARTIALLY_PAID = "PARTIALLY_PAID",
8
+ REFUNDED = "REFUNDED",
9
+ EXPIRED = "EXPIRED",
10
+ IN_PROTEST = "IN_PROTEST",
11
+ CHARGEBACK = "CHARGEBACK",
12
+ EXTERNALLY_PAID = "EXTERNALLY_PAID"
13
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IuguInvoiceStatusEnum = void 0;
4
+ var IuguInvoiceStatusEnum;
5
+ (function (IuguInvoiceStatusEnum) {
6
+ IuguInvoiceStatusEnum["PENDING"] = "PENDING";
7
+ IuguInvoiceStatusEnum["PAID"] = "PAID";
8
+ IuguInvoiceStatusEnum["CANCELED"] = "CANCELED";
9
+ IuguInvoiceStatusEnum["IN_ANALYSIS"] = "IN_ANALYSIS";
10
+ IuguInvoiceStatusEnum["DRAFT"] = "DRAFT";
11
+ IuguInvoiceStatusEnum["PARTIALLY_PAID"] = "PARTIALLY_PAID";
12
+ IuguInvoiceStatusEnum["REFUNDED"] = "REFUNDED";
13
+ IuguInvoiceStatusEnum["EXPIRED"] = "EXPIRED";
14
+ IuguInvoiceStatusEnum["IN_PROTEST"] = "IN_PROTEST";
15
+ IuguInvoiceStatusEnum["CHARGEBACK"] = "CHARGEBACK";
16
+ IuguInvoiceStatusEnum["EXTERNALLY_PAID"] = "EXTERNALLY_PAID";
17
+ })(IuguInvoiceStatusEnum || (exports.IuguInvoiceStatusEnum = IuguInvoiceStatusEnum = {}));
@@ -10,7 +10,7 @@ export declare class NotificationEntity implements INotification {
10
10
  title: string;
11
11
  description: string;
12
12
  id: string;
13
- imageURL: string;
13
+ imageUrl: string;
14
14
  priority: NotificationPriorityEnum;
15
15
  sound: boolean;
16
16
  status: NotificationStatusEnum;
@@ -16,7 +16,7 @@ var NotificationEntity = /** @class */ (function () {
16
16
  this.title = '';
17
17
  this.description = '';
18
18
  this.id = '';
19
- this.imageURL = '';
19
+ this.imageUrl = '';
20
20
  this.priority = enums_1.NotificationPriorityEnum.HIGH;
21
21
  this.sound = true;
22
22
  this.status = enums_1.NotificationStatusEnum.DELIVERED;
@@ -9,7 +9,7 @@ export interface INotification {
9
9
  description: string;
10
10
  expirationTime: number;
11
11
  status: NotificationStatusEnum;
12
- imageURL: string;
12
+ imageUrl: string;
13
13
  sound: boolean;
14
14
  id: string;
15
15
  data: string;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.0.89",
3
+ "version": "1.0.91",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,9 +9,9 @@ export declare class PartnerEntity implements IPartner {
9
9
  email: string;
10
10
  fullName: string;
11
11
  id: string;
12
- imageURL?: string;
12
+ imageUrl?: string;
13
13
  internationalCode: string;
14
- logoURL?: string;
14
+ logoUrl?: string;
15
15
  name: string;
16
16
  paymentProvider: PaymentProviderEntity;
17
17
  paymentsMethods: PaymentMethodEntity[];
@@ -15,9 +15,9 @@ var PartnerEntity = /** @class */ (function () {
15
15
  this.email = '';
16
16
  this.fullName = '';
17
17
  this.id = '';
18
- this.imageURL = '';
18
+ this.imageUrl = '';
19
19
  this.internationalCode = '';
20
- this.logoURL = '';
20
+ this.logoUrl = '';
21
21
  this.name = '';
22
22
  this.paymentProvider = new general_1.PaymentProviderEntity();
23
23
  this.paymentsMethods = [];
@@ -8,9 +8,9 @@ export interface IPartner {
8
8
  email: string;
9
9
  fullName: string;
10
10
  id: string;
11
- imageURL?: string;
11
+ imageUrl?: string;
12
12
  internationalCode: string;
13
- logoURL?: string;
13
+ logoUrl?: string;
14
14
  name: string;
15
15
  paymentProvider: IPaymentProvider;
16
16
  paymentsMethods: IPaymentMethod[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.0.89",
3
+ "version": "1.0.91",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",