evo360-types 1.3.374 → 1.3.376

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 (28) hide show
  1. package/dist/apps/evo-hub-ia/v1/zod-schemas.d.ts +1191 -135
  2. package/dist/apps/evo-hub-ia/v1/zod-schemas.js +31 -4
  3. package/dist/apps/evo-hub-ia/v1/zod-schemas.ts +31 -4
  4. package/dist/types/evo-chat/call-session/index.d.ts +41 -0
  5. package/dist/types/evo-chat/call-session/index.js +2 -0
  6. package/dist/types/evo-chat/call-session/index.ts +81 -0
  7. package/dist/types/evo-chat/channel/index.d.ts +18 -0
  8. package/dist/types/evo-chat/channel/index.ts +20 -0
  9. package/dist/types/evo-chat/fb_collections.d.ts +1 -0
  10. package/dist/types/evo-chat/fb_collections.js +2 -1
  11. package/dist/types/evo-chat/fb_collections.ts +1 -0
  12. package/dist/types/evo-chat/index.d.ts +1 -0
  13. package/dist/types/evo-chat/index.js +1 -0
  14. package/dist/types/evo-chat/index.ts +1 -0
  15. package/dist/types/evo-chat/thread-message/index.d.ts +3 -1
  16. package/dist/types/evo-chat/thread-message/index.ts +6 -1
  17. package/dist/types/evo-finops/fb_collections.d.ts +1 -0
  18. package/dist/types/evo-finops/fb_collections.js +2 -1
  19. package/dist/types/evo-finops/fb_collections.ts +1 -0
  20. package/dist/types/evo-finops/payment-links/index.d.ts +12 -0
  21. package/dist/types/evo-finops/payment-links/index.js +12 -2
  22. package/dist/types/evo-finops/payment-links/index.ts +18 -1
  23. package/dist/types/evo-hub-ia/v1/index.d.ts +16 -7
  24. package/dist/types/evo-hub-ia/v1/index.js +1 -1
  25. package/dist/types/evo-hub-ia/v1/index.ts +17 -8
  26. package/dist/types/evo-med/appointment/index.d.ts +15 -0
  27. package/dist/types/evo-med/appointment/index.ts +16 -0
  28. package/package.json +1 -1
@@ -111,6 +111,16 @@ export interface IAppointmentPaymentInvoiceRef {
111
111
  evo_chat_sent?: boolean;
112
112
  }
113
113
 
114
+ /** Origem da quitação do pagamento (ex.: link de pagamento Asaas via webhook). */
115
+ export interface IAppointmentPaymentPaidVia {
116
+ kind: "payment_link" | "manual" | "pix" | "boleto";
117
+ payment_link_id?: string;
118
+ asaas_payment_id?: string;
119
+ event?: string;
120
+ received_at?: string;
121
+ raw_status?: string;
122
+ }
123
+
114
124
  // Interface para pagamento
115
125
  export interface IAppointmentPayment {
116
126
  total?: number | null;
@@ -120,6 +130,12 @@ export interface IAppointmentPayment {
120
130
  payment_type: PaymentType;
121
131
  /** Correspondência com invoices do evo-finops (NFSe) vinculadas a este pagamento */
122
132
  invoices?: IAppointmentPaymentInvoiceRef[];
133
+ /** Quando o pagamento foi marcado como pago (ISO 8601 ou Date). */
134
+ paid_at?: string | Date;
135
+ /** Origem da quitação (payment_link Asaas, manual, etc.). */
136
+ paid_via?: IAppointmentPaymentPaidVia | null;
137
+ /** Método/canal de pagamento livre (ex.: 'payment_link', 'cash', 'card_terminal'). */
138
+ payment_method?: string;
123
139
  metadata?: Record<string, unknown>;
124
140
  [key: string]: unknown;
125
141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.374",
3
+ "version": "1.3.376",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",