evo360-types 1.3.355 → 1.3.358

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.
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from "./types/firebase/pubsub-sync";
3
3
  export * from "./types/evo-core";
4
4
  export * from "./types/evo-tenant";
5
5
  export * from "./types/evo-activity";
6
+ export * from "./types/evo-billing";
6
7
  export * from "./types/evo-log";
7
8
  export * from "./types/evo-people";
8
9
  export * from "./types/evo-crm/dic";
package/dist/index.js CHANGED
@@ -20,6 +20,7 @@ __exportStar(require("./types/firebase/pubsub-sync"), exports);
20
20
  __exportStar(require("./types/evo-core"), exports);
21
21
  __exportStar(require("./types/evo-tenant"), exports);
22
22
  __exportStar(require("./types/evo-activity"), exports);
23
+ __exportStar(require("./types/evo-billing"), exports);
23
24
  __exportStar(require("./types/evo-log"), exports);
24
25
  __exportStar(require("./types/evo-people"), exports);
25
26
  __exportStar(require("./types/evo-crm/dic"), exports);
package/dist/index.ts CHANGED
@@ -4,6 +4,7 @@ export * from "./types/firebase/pubsub-sync";
4
4
  export * from "./types/evo-core";
5
5
  export * from "./types/evo-tenant";
6
6
  export * from "./types/evo-activity";
7
+ export * from "./types/evo-billing";
7
8
  export * from "./types/evo-log";
8
9
  export * from "./types/evo-people";
9
10
  export * from "./types/evo-crm/dic";
@@ -0,0 +1,7 @@
1
+ export declare const EvoBillingPermissions: {
2
+ readonly List: "evo_billing_admin";
3
+ readonly Get: "evo_billing_admin";
4
+ readonly Update: "evo_billing_admin";
5
+ readonly Admin: "evo_billing_admin";
6
+ };
7
+ export type EvoBillingPermissions = (typeof EvoBillingPermissions)[keyof typeof EvoBillingPermissions];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EvoBillingPermissions = void 0;
4
+ // Permissões para o portal financeiro tenant-side (irmão tenant-side de nex-finops).
5
+ exports.EvoBillingPermissions = {
6
+ List: "evo_billing_admin",
7
+ Get: "evo_billing_admin",
8
+ Update: "evo_billing_admin",
9
+ Admin: "evo_billing_admin",
10
+ };
@@ -0,0 +1,10 @@
1
+ // Permissões para o portal financeiro tenant-side (irmão tenant-side de nex-finops).
2
+ export const EvoBillingPermissions = {
3
+ List: "evo_billing_admin",
4
+ Get: "evo_billing_admin",
5
+ Update: "evo_billing_admin",
6
+ Admin: "evo_billing_admin",
7
+ } as const;
8
+
9
+ export type EvoBillingPermissions =
10
+ (typeof EvoBillingPermissions)[keyof typeof EvoBillingPermissions];
@@ -25,8 +25,10 @@ export interface INexCustomer extends IFireGlobalDoc {
25
25
  document_number: string;
26
26
  status: NexCustomerStatus;
27
27
  tenant_refs: INexCustomerTenantRef[];
28
+ contact_name?: string | null;
28
29
  email?: string | null;
29
30
  phone?: string | null;
31
+ payer_aliases?: string[];
30
32
  address?: INexCustomerAddress | null;
31
33
  fiscal_data?: INexCustomerFiscalData | null;
32
34
  notes?: string | null;
@@ -43,9 +43,15 @@ export interface INexCustomer extends IFireGlobalDoc {
43
43
  tenant_refs: INexCustomerTenantRef[];
44
44
 
45
45
  // Contact
46
+ contact_name?: string | null;
46
47
  email?: string | null;
47
48
  phone?: string | null;
48
49
 
50
+ // Identificadores alternativos do pagador no extrato bancário.
51
+ // Cobre casos em que o nome no extrato difere do nome do cliente
52
+ // (ex.: pagamentos vindos de entidades distintas).
53
+ payer_aliases?: string[];
54
+
49
55
  // Address
50
56
  address?: INexCustomerAddress | null;
51
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.355",
3
+ "version": "1.3.358",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",