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.
- package/dist/apps/evo-hub-ia/v1/zod-schemas.d.ts +1191 -135
- package/dist/apps/evo-hub-ia/v1/zod-schemas.js +31 -4
- package/dist/apps/evo-hub-ia/v1/zod-schemas.ts +31 -4
- package/dist/types/evo-chat/call-session/index.d.ts +41 -0
- package/dist/types/evo-chat/call-session/index.js +2 -0
- package/dist/types/evo-chat/call-session/index.ts +81 -0
- package/dist/types/evo-chat/channel/index.d.ts +18 -0
- package/dist/types/evo-chat/channel/index.ts +20 -0
- package/dist/types/evo-chat/fb_collections.d.ts +1 -0
- package/dist/types/evo-chat/fb_collections.js +2 -1
- package/dist/types/evo-chat/fb_collections.ts +1 -0
- package/dist/types/evo-chat/index.d.ts +1 -0
- package/dist/types/evo-chat/index.js +1 -0
- package/dist/types/evo-chat/index.ts +1 -0
- package/dist/types/evo-chat/thread-message/index.d.ts +3 -1
- package/dist/types/evo-chat/thread-message/index.ts +6 -1
- package/dist/types/evo-finops/fb_collections.d.ts +1 -0
- package/dist/types/evo-finops/fb_collections.js +2 -1
- package/dist/types/evo-finops/fb_collections.ts +1 -0
- package/dist/types/evo-finops/payment-links/index.d.ts +12 -0
- package/dist/types/evo-finops/payment-links/index.js +12 -2
- package/dist/types/evo-finops/payment-links/index.ts +18 -1
- package/dist/types/evo-hub-ia/v1/index.d.ts +16 -7
- package/dist/types/evo-hub-ia/v1/index.js +1 -1
- package/dist/types/evo-hub-ia/v1/index.ts +17 -8
- package/dist/types/evo-med/appointment/index.d.ts +15 -0
- package/dist/types/evo-med/appointment/index.ts +16 -0
- 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
|
}
|