@opencx/mcp 1.15.7 → 1.15.9

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
@@ -4767,9 +4767,26 @@ export interface components {
4767
4767
  * @description How often the same session may be surveyed: once_per_session (default, one survey ever), once_per_close (one per closure, so a reopened session can be surveyed again), or once_until_answered (re-ask after resend_after_days until the customer scores it)
4768
4768
  * @enum {string}
4769
4769
  */
4770
- resend_policy?: "once_per_close" | "once_per_session" | "once_until_answered";
4770
+ resend_policy?: "always" | "once_per_close" | "once_per_session" | "once_until_answered";
4771
4771
  /** @description Days to wait before re-asking an unanswered survey. Only used when resend_policy is once_until_answered */
4772
4772
  resend_after_days?: number;
4773
+ /** @description Per-channel overrides keyed by channel (e.g. { "whatsapp": { "rating_style": "emoji" } }). Replaces the whole map, so send the channels you want to keep */
4774
+ channel_config?: {
4775
+ [key: string]: {
4776
+ /**
4777
+ * @description How the 1-5 scale is drawn on channels that render it in-conversation
4778
+ * @enum {string}
4779
+ */
4780
+ rating_style?: "stars" | "emoji" | "numbers";
4781
+ /**
4782
+ * @description Whether the scale is listed best-first (desc, default) or worst-first (asc)
4783
+ * @enum {string}
4784
+ */
4785
+ rating_order?: "desc" | "asc";
4786
+ /** @description Survey question for this channel. Falls back to the org-wide custom_message */
4787
+ custom_message?: string;
4788
+ };
4789
+ };
4773
4790
  /** @description Full-HTML template for the public CSAT feedback page. Null/empty clears it (default page). */
4774
4791
  web_template_html?: string | null;
4775
4792
  /** @description Full-HTML template for the CSAT request email. Null/empty clears it (default email). */
@@ -7058,9 +7075,26 @@ export interface components {
7058
7075
  * @description How often the same session may be surveyed: once_per_session, once_per_close, or once_until_answered
7059
7076
  * @enum {string}
7060
7077
  */
7061
- resend_policy: "once_per_close" | "once_per_session" | "once_until_answered";
7078
+ resend_policy: "always" | "once_per_close" | "once_per_session" | "once_until_answered";
7062
7079
  /** @description Days to wait before re-asking an unanswered survey (only used when resend_policy is once_until_answered) */
7063
7080
  resend_after_days: number;
7081
+ /** @description Per-channel overrides keyed by channel; an absent channel inherits the org-wide settings */
7082
+ channel_config: {
7083
+ [key: string]: {
7084
+ /**
7085
+ * @description How the 1-5 scale is drawn on channels that render it in-conversation
7086
+ * @enum {string}
7087
+ */
7088
+ rating_style?: "stars" | "emoji" | "numbers";
7089
+ /**
7090
+ * @description Whether the scale is listed best-first (desc, default) or worst-first (asc)
7091
+ * @enum {string}
7092
+ */
7093
+ rating_order?: "desc" | "asc";
7094
+ /** @description Survey question for this channel. Falls back to the org-wide custom_message */
7095
+ custom_message?: string;
7096
+ };
7097
+ };
7064
7098
  /** @description Full-HTML template for the public CSAT feedback page (null = default page) */
7065
7099
  web_template_html: string | null;
7066
7100
  /** @description Full-HTML template for the CSAT request email (null = default email) */