@kl1/contracts 1.2.35-uat → 1.2.37-uat

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -8711,7 +8711,10 @@ var automationQueueContract = initContract45().router(
8711
8711
  }
8712
8712
  }
8713
8713
  },
8714
- { pathPrefix: "/automation-queue" }
8714
+ {
8715
+ baseHeaders: DefaultHeaderSchema,
8716
+ pathPrefix: "/automation-queue"
8717
+ }
8715
8718
  );
8716
8719
 
8717
8720
  // src/mail/mail-contract.ts
@@ -10050,6 +10053,53 @@ var subscriptionContract = initContract53().router(
10050
10053
  pathPrefix: "subscriptions"
10051
10054
  }
10052
10055
  );
10056
+
10057
+ // src/cx-intelligence/index.ts
10058
+ import { initContract as initContract54 } from "@ts-rest/core";
10059
+ import z139 from "zod";
10060
+ var cxIntelligenceContract = initContract54().router(
10061
+ {
10062
+ toggle: {
10063
+ method: "POST",
10064
+ path: "/toggle",
10065
+ headers: DefaultHeaderSchema,
10066
+ body: z139.object({
10067
+ enabled: z139.union([z139.literal(true), z139.literal(false)])
10068
+ }),
10069
+ responses: {
10070
+ 200: DefaultSuccessResponseSchema.extend({
10071
+ message: z139.string()
10072
+ }),
10073
+ 500: DefaultErrorResponseSchema
10074
+ },
10075
+ summary: "Toggle Cx Intelligence"
10076
+ }
10077
+ },
10078
+ { pathPrefix: "cx-intelligence" }
10079
+ );
10080
+ var settingCxIntelligenceContract = initContract54().router(
10081
+ {
10082
+ checkStatus: {
10083
+ method: "GET",
10084
+ path: "/status",
10085
+ headers: DefaultHeaderSchema,
10086
+ responses: {
10087
+ 200: DefaultSuccessResponseSchema.extend({
10088
+ message: z139.string(),
10089
+ status: z139.boolean()
10090
+ }),
10091
+ 422: z139.object({
10092
+ requestId: z139.string(),
10093
+ message: z139.string(),
10094
+ status: z139.boolean()
10095
+ }),
10096
+ 500: DefaultErrorResponseSchema
10097
+ },
10098
+ summary: "Check Cx Intelligence status"
10099
+ }
10100
+ },
10101
+ { pathPrefix: "settings/cx-intelligence" }
10102
+ );
10053
10103
  export {
10054
10104
  activityLogContract,
10055
10105
  apiContract,
@@ -10074,6 +10124,7 @@ export {
10074
10124
  contactContract2 as contactContract,
10075
10125
  contactLabelSettingContract,
10076
10126
  contactSettingContract,
10127
+ cxIntelligenceContract,
10077
10128
  cxLogContract,
10078
10129
  dashboardContract,
10079
10130
  evaluateFormContract,
@@ -10105,6 +10156,7 @@ export {
10105
10156
  publicApiContract2 as publicApiContract,
10106
10157
  receiveMessageContract,
10107
10158
  roleSettingContract,
10159
+ settingCxIntelligenceContract,
10108
10160
  smsSettingContract,
10109
10161
  snippetContract,
10110
10162
  snippetSettingContract,