@wrcb/cb-common 1.0.906 → 1.0.907

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.
@@ -135,6 +135,7 @@ export interface ClinicaMetaAdAccountOption {
135
135
  id: string;
136
136
  name: string;
137
137
  currency: string;
138
+ businessName?: string | null;
138
139
  }
139
140
  export declare enum ClinicaCommentPlatform {
140
141
  Instagram = "Instagram",
@@ -231,10 +232,38 @@ export interface ClinicaCreativeRankingItem {
231
232
  export interface ClinicaAdReferral {
232
233
  adId: string;
233
234
  campaignId: string | null;
235
+ adName?: string | null;
236
+ adsetName?: string | null;
237
+ campaignName?: string | null;
234
238
  headline: string | null;
235
239
  sourceUrl: string | null;
236
240
  receivedAt: Date;
237
241
  }
242
+ /** Opção do filtro "Anúncio" no funil. */
243
+ export interface ClinicaAdFilterOption {
244
+ adId: string;
245
+ name: string;
246
+ total: number;
247
+ }
248
+ /** Resultado de um anúncio no período: gasto da Meta, contatos e agendamentos do Pacientto. */
249
+ export interface ClinicaAdMetrics {
250
+ adId: string;
251
+ name: string;
252
+ adsetName: string | null;
253
+ campaignName: string | null;
254
+ status: string | null;
255
+ spendCents: number;
256
+ conversations: number;
257
+ leads: number;
258
+ appointments: number;
259
+ stages: {
260
+ key: string;
261
+ label: string;
262
+ total: number;
263
+ }[];
264
+ costPerLeadCents: number | null;
265
+ costPerAppointmentCents: number | null;
266
+ }
238
267
  export declare enum ClinicaAssistantActionType {
239
268
  RequestReschedule = "RequestReschedule",
240
269
  MoveAppointment = "MoveAppointment",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrcb/cb-common",
3
- "version": "1.0.906",
3
+ "version": "1.0.907",
4
4
  "description": "Common resources between services",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",