evo360-types 1.3.373 → 1.3.374

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.
@@ -35,6 +35,14 @@ export interface INexFinopsBillingAttachment {
35
35
  /** Categoria do anexo. Quando ausente em registros legados, frontend trata como 'other'. */
36
36
  category?: NexFinopsBillingAttachmentCategory;
37
37
  }
38
+ export interface INexFinopsBillingPaidVia {
39
+ kind: 'payment_link' | 'manual' | 'pix' | 'boleto';
40
+ payment_link_id?: string | null;
41
+ asaas_payment_id?: string | null;
42
+ event?: string | null;
43
+ received_at?: string | null;
44
+ raw_status?: string | null;
45
+ }
38
46
  export interface INexFinopsBilling extends IFireGlobalDoc {
39
47
  customer_id: string;
40
48
  customer_ref?: string | null;
@@ -53,6 +61,7 @@ export interface INexFinopsBilling extends IFireGlobalDoc {
53
61
  pix?: string | null;
54
62
  paid_at?: string | null;
55
63
  payment_method?: string | null;
64
+ paid_via?: INexFinopsBillingPaidVia | null;
56
65
  payment_options?: INexFinopsBillingPaymentOption[];
57
66
  attachments?: INexFinopsBillingAttachment[];
58
67
  competency?: INexFinopsBillingCompetency | null;
@@ -51,6 +51,15 @@ export interface INexFinopsBillingAttachment {
51
51
  category?: NexFinopsBillingAttachmentCategory;
52
52
  }
53
53
 
54
+ export interface INexFinopsBillingPaidVia {
55
+ kind: 'payment_link' | 'manual' | 'pix' | 'boleto';
56
+ payment_link_id?: string | null;
57
+ asaas_payment_id?: string | null;
58
+ event?: string | null;
59
+ received_at?: string | null;
60
+ raw_status?: string | null;
61
+ }
62
+
54
63
  // ── Main Document ──
55
64
 
56
65
  export interface INexFinopsBilling extends IFireGlobalDoc {
@@ -88,6 +97,7 @@ export interface INexFinopsBilling extends IFireGlobalDoc {
88
97
  // Pagamento
89
98
  paid_at?: string | null;
90
99
  payment_method?: string | null;
100
+ paid_via?: INexFinopsBillingPaidVia | null;
91
101
 
92
102
  // Formas de pagamento emitidas
93
103
  payment_options?: INexFinopsBillingPaymentOption[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.373",
3
+ "version": "1.3.374",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",