@opencx/mcp 1.11.63 → 1.11.74

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
@@ -2691,6 +2691,46 @@ export interface paths {
2691
2691
  patch?: never;
2692
2692
  trace?: never;
2693
2693
  };
2694
+ "/insights/{id}/archive": {
2695
+ parameters: {
2696
+ query?: never;
2697
+ header?: never;
2698
+ path?: never;
2699
+ cookie?: never;
2700
+ };
2701
+ get?: never;
2702
+ put?: never;
2703
+ /**
2704
+ * Archive a customer insight
2705
+ * @description Archives an insight with a resurface policy (until_escalating, until_count, or forever). Forever requires a reason.
2706
+ */
2707
+ post: operations["archiveInsight"];
2708
+ delete?: never;
2709
+ options?: never;
2710
+ head?: never;
2711
+ patch?: never;
2712
+ trace?: never;
2713
+ };
2714
+ "/insights/{id}/unarchive": {
2715
+ parameters: {
2716
+ query?: never;
2717
+ header?: never;
2718
+ path?: never;
2719
+ cookie?: never;
2720
+ };
2721
+ get?: never;
2722
+ put?: never;
2723
+ /**
2724
+ * Unarchive a customer insight
2725
+ * @description Removes archive state so the insight appears in active views again.
2726
+ */
2727
+ post: operations["unarchiveInsight"];
2728
+ delete?: never;
2729
+ options?: never;
2730
+ head?: never;
2731
+ patch?: never;
2732
+ trace?: never;
2733
+ };
2694
2734
  "/insights/{id}/resolve": {
2695
2735
  parameters: {
2696
2736
  query?: never;
@@ -3805,6 +3845,16 @@ export interface components {
3805
3845
  /** @default 1 */
3806
3846
  page: number;
3807
3847
  };
3848
+ ArchiveInsightDto: {
3849
+ /**
3850
+ * @description When the insight should resurface after archiving
3851
+ * @default until_escalating
3852
+ * @enum {string}
3853
+ */
3854
+ policy: "forever" | "until_count" | "until_escalating";
3855
+ /** @description Reason for archiving */
3856
+ reason?: string;
3857
+ };
3808
3858
  FileUploadDto: {
3809
3859
  /**
3810
3860
  * Format: binary
@@ -6802,6 +6852,11 @@ export interface components {
6802
6852
  reason: string | null;
6803
6853
  } | null;
6804
6854
  archived_at: string | null;
6855
+ archive_policy: ("forever" | "until_count" | "until_escalating") | null;
6856
+ resurface_progress: {
6857
+ current: number;
6858
+ target: number;
6859
+ } | null;
6805
6860
  deep_research: string | null;
6806
6861
  deep_research_completed_at: string | null;
6807
6862
  /** Format: date-time */
@@ -12943,6 +12998,72 @@ export interface operations {
12943
12998
  };
12944
12999
  };
12945
13000
  };
13001
+ archiveInsight: {
13002
+ parameters: {
13003
+ query?: never;
13004
+ header?: never;
13005
+ path: {
13006
+ id: string;
13007
+ };
13008
+ cookie?: never;
13009
+ };
13010
+ requestBody: {
13011
+ content: {
13012
+ "application/json": components["schemas"]["ArchiveInsightDto"];
13013
+ };
13014
+ };
13015
+ responses: {
13016
+ /** @description Default Response */
13017
+ 200: {
13018
+ headers: {
13019
+ [name: string]: unknown;
13020
+ };
13021
+ content: {
13022
+ "application/json": components["schemas"]["PublicInsight"];
13023
+ };
13024
+ };
13025
+ /** @description Internal Server Error */
13026
+ 500: {
13027
+ headers: {
13028
+ [name: string]: unknown;
13029
+ };
13030
+ content: {
13031
+ "application/json": components["schemas"]["ErrorDto"];
13032
+ };
13033
+ };
13034
+ };
13035
+ };
13036
+ unarchiveInsight: {
13037
+ parameters: {
13038
+ query?: never;
13039
+ header?: never;
13040
+ path: {
13041
+ id: string;
13042
+ };
13043
+ cookie?: never;
13044
+ };
13045
+ requestBody?: never;
13046
+ responses: {
13047
+ /** @description Default Response */
13048
+ 200: {
13049
+ headers: {
13050
+ [name: string]: unknown;
13051
+ };
13052
+ content: {
13053
+ "application/json": components["schemas"]["PublicInsight"];
13054
+ };
13055
+ };
13056
+ /** @description Internal Server Error */
13057
+ 500: {
13058
+ headers: {
13059
+ [name: string]: unknown;
13060
+ };
13061
+ content: {
13062
+ "application/json": components["schemas"]["ErrorDto"];
13063
+ };
13064
+ };
13065
+ };
13066
+ };
12946
13067
  resolveInsight: {
12947
13068
  parameters: {
12948
13069
  query?: never;