@opencx/mcp 1.11.85 → 1.11.86

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/schema.d.ts CHANGED
@@ -1392,6 +1392,26 @@ export interface paths {
1392
1392
  patch?: never;
1393
1393
  trace?: never;
1394
1394
  };
1395
+ "/impact-report/sankey": {
1396
+ parameters: {
1397
+ query?: never;
1398
+ header?: never;
1399
+ path?: never;
1400
+ cookie?: never;
1401
+ };
1402
+ /**
1403
+ * Get conversation-flow Sankey
1404
+ * @description Get a Sankey breakdown of how conversations flow through the chosen dimensions. Pass an ordered, comma-separated list of dimension keys (e.g. "replied_by,outcome" or "integration_source,channel"). Returns nodes and links describing the flow.
1405
+ */
1406
+ get: operations["getConversationSankey"];
1407
+ put?: never;
1408
+ post?: never;
1409
+ delete?: never;
1410
+ options?: never;
1411
+ head?: never;
1412
+ patch?: never;
1413
+ trace?: never;
1414
+ };
1395
1415
  "/office-hours": {
1396
1416
  parameters: {
1397
1417
  query?: never;
@@ -5749,6 +5769,21 @@ export interface components {
5749
5769
  ended_at: string | null;
5750
5770
  status: components["schemas"]["SequenceStatus"] | null;
5751
5771
  };
5772
+ SankeyReportResDto: {
5773
+ nodes: {
5774
+ id: string;
5775
+ /** @enum {string} */
5776
+ dimensionKey: "replied_by" | "outcome" | "handoff" | "channel" | "integration_source" | "assist_mode" | "contact_custom_data" | "sentiment" | "status" | "assigned_team" | "contact_source";
5777
+ dimensionLabel: string;
5778
+ bucket: string;
5779
+ count: number;
5780
+ }[];
5781
+ links: {
5782
+ source: string;
5783
+ target: string;
5784
+ value: number;
5785
+ }[];
5786
+ };
5752
5787
  EmailTemplateActivityItemDto: {
5753
5788
  id: string;
5754
5789
  from_email: string;
@@ -10829,6 +10864,44 @@ export interface operations {
10829
10864
  };
10830
10865
  };
10831
10866
  };
10867
+ getConversationSankey: {
10868
+ parameters: {
10869
+ query: {
10870
+ /** @description Comma-separated dimension keys, e.g. "replied_by,outcome". 1–6 allowed. */
10871
+ dimensions: string;
10872
+ /** @description Contact custom_data key to read when the contact_custom_data dimension is used. */
10873
+ custom_data_key?: string;
10874
+ /** @description Start date in ISO 8601 format (defaults to 30 days ago) */
10875
+ start_date?: string;
10876
+ /** @description End date in ISO 8601 format (defaults to now) */
10877
+ end_date?: string;
10878
+ };
10879
+ header?: never;
10880
+ path?: never;
10881
+ cookie?: never;
10882
+ };
10883
+ requestBody?: never;
10884
+ responses: {
10885
+ /** @description Default Response */
10886
+ 200: {
10887
+ headers: {
10888
+ [name: string]: unknown;
10889
+ };
10890
+ content: {
10891
+ "application/json": components["schemas"]["SankeyReportResDto"];
10892
+ };
10893
+ };
10894
+ /** @description Internal Server Error */
10895
+ 500: {
10896
+ headers: {
10897
+ [name: string]: unknown;
10898
+ };
10899
+ content: {
10900
+ "application/json": components["schemas"]["ErrorDto"];
10901
+ };
10902
+ };
10903
+ };
10904
+ };
10832
10905
  listOfficeHours: {
10833
10906
  parameters: {
10834
10907
  query?: never;