@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.
@@ -857,6 +857,22 @@ export declare const automationQueueContract: {
857
857
  }>;
858
858
  };
859
859
  path: "/automation-queue";
860
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
861
+ 'x-tenant': z.ZodString;
862
+ authorization: z.ZodString;
863
+ 'x-code': z.ZodOptional<z.ZodString>;
864
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
865
+ }, "strip", z.ZodTypeAny, {
866
+ 'x-tenant': string;
867
+ authorization: string;
868
+ 'x-client-timezone': string;
869
+ 'x-code'?: string | undefined;
870
+ }, {
871
+ 'x-tenant': string;
872
+ authorization: string;
873
+ 'x-code'?: string | undefined;
874
+ 'x-client-timezone'?: string | undefined;
875
+ }>>>;
860
876
  };
861
877
  duplicateAutomationQueue: {
862
878
  body: null;
@@ -1691,6 +1707,22 @@ export declare const automationQueueContract: {
1691
1707
  }>;
1692
1708
  };
1693
1709
  path: "/automation-queue/:id/duplicate";
1710
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1711
+ 'x-tenant': z.ZodString;
1712
+ authorization: z.ZodString;
1713
+ 'x-code': z.ZodOptional<z.ZodString>;
1714
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
1715
+ }, "strip", z.ZodTypeAny, {
1716
+ 'x-tenant': string;
1717
+ authorization: string;
1718
+ 'x-client-timezone': string;
1719
+ 'x-code'?: string | undefined;
1720
+ }, {
1721
+ 'x-tenant': string;
1722
+ authorization: string;
1723
+ 'x-code'?: string | undefined;
1724
+ 'x-client-timezone'?: string | undefined;
1725
+ }>>>;
1694
1726
  };
1695
1727
  getAutomationQueues: {
1696
1728
  method: "GET";
@@ -2524,6 +2556,22 @@ export declare const automationQueueContract: {
2524
2556
  }>;
2525
2557
  };
2526
2558
  path: "/automation-queue";
2559
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2560
+ 'x-tenant': z.ZodString;
2561
+ authorization: z.ZodString;
2562
+ 'x-code': z.ZodOptional<z.ZodString>;
2563
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
2564
+ }, "strip", z.ZodTypeAny, {
2565
+ 'x-tenant': string;
2566
+ authorization: string;
2567
+ 'x-client-timezone': string;
2568
+ 'x-code'?: string | undefined;
2569
+ }, {
2570
+ 'x-tenant': string;
2571
+ authorization: string;
2572
+ 'x-code'?: string | undefined;
2573
+ 'x-client-timezone'?: string | undefined;
2574
+ }>>>;
2527
2575
  };
2528
2576
  getAutomationQueueById: {
2529
2577
  method: "GET";
@@ -3357,6 +3405,22 @@ export declare const automationQueueContract: {
3357
3405
  }>;
3358
3406
  };
3359
3407
  path: "/automation-queue/:id";
3408
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3409
+ 'x-tenant': z.ZodString;
3410
+ authorization: z.ZodString;
3411
+ 'x-code': z.ZodOptional<z.ZodString>;
3412
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
3413
+ }, "strip", z.ZodTypeAny, {
3414
+ 'x-tenant': string;
3415
+ authorization: string;
3416
+ 'x-client-timezone': string;
3417
+ 'x-code'?: string | undefined;
3418
+ }, {
3419
+ 'x-tenant': string;
3420
+ authorization: string;
3421
+ 'x-code'?: string | undefined;
3422
+ 'x-client-timezone'?: string | undefined;
3423
+ }>>>;
3360
3424
  };
3361
3425
  updateAutomationQueue: {
3362
3426
  body: z.ZodObject<{
@@ -4215,6 +4279,22 @@ export declare const automationQueueContract: {
4215
4279
  }>;
4216
4280
  };
4217
4281
  path: "/automation-queue/:id";
4282
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4283
+ 'x-tenant': z.ZodString;
4284
+ authorization: z.ZodString;
4285
+ 'x-code': z.ZodOptional<z.ZodString>;
4286
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
4287
+ }, "strip", z.ZodTypeAny, {
4288
+ 'x-tenant': string;
4289
+ authorization: string;
4290
+ 'x-client-timezone': string;
4291
+ 'x-code'?: string | undefined;
4292
+ }, {
4293
+ 'x-tenant': string;
4294
+ authorization: string;
4295
+ 'x-code'?: string | undefined;
4296
+ 'x-client-timezone'?: string | undefined;
4297
+ }>>>;
4218
4298
  };
4219
4299
  deleteAutomationQueue: {
4220
4300
  body: null;
@@ -4239,6 +4319,22 @@ export declare const automationQueueContract: {
4239
4319
  }>;
4240
4320
  };
4241
4321
  path: "/automation-queue/:id";
4322
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4323
+ 'x-tenant': z.ZodString;
4324
+ authorization: z.ZodString;
4325
+ 'x-code': z.ZodOptional<z.ZodString>;
4326
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
4327
+ }, "strip", z.ZodTypeAny, {
4328
+ 'x-tenant': string;
4329
+ authorization: string;
4330
+ 'x-client-timezone': string;
4331
+ 'x-code'?: string | undefined;
4332
+ }, {
4333
+ 'x-tenant': string;
4334
+ authorization: string;
4335
+ 'x-code'?: string | undefined;
4336
+ 'x-client-timezone'?: string | undefined;
4337
+ }>>>;
4242
4338
  };
4243
4339
  checkHasAssignedRoom: {
4244
4340
  body: z.ZodObject<{
@@ -4275,6 +4371,22 @@ export declare const automationQueueContract: {
4275
4371
  }>;
4276
4372
  };
4277
4373
  path: "/automation-queue/check-has-assigned-room";
4374
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4375
+ 'x-tenant': z.ZodString;
4376
+ authorization: z.ZodString;
4377
+ 'x-code': z.ZodOptional<z.ZodString>;
4378
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
4379
+ }, "strip", z.ZodTypeAny, {
4380
+ 'x-tenant': string;
4381
+ authorization: string;
4382
+ 'x-client-timezone': string;
4383
+ 'x-code'?: string | undefined;
4384
+ }, {
4385
+ 'x-tenant': string;
4386
+ authorization: string;
4387
+ 'x-code'?: string | undefined;
4388
+ 'x-client-timezone'?: string | undefined;
4389
+ }>>>;
4278
4390
  };
4279
4391
  };
4280
4392
  //# sourceMappingURL=index.d.ts.map
@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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FnC,CAAC"}
@@ -0,0 +1,115 @@
1
+ import z from 'zod';
2
+ export declare const cxIntelligenceContract: {
3
+ toggle: {
4
+ body: z.ZodObject<{
5
+ enabled: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ enabled: boolean;
8
+ }, {
9
+ enabled: boolean;
10
+ }>;
11
+ summary: "Toggle Cx Intelligence";
12
+ method: "POST";
13
+ responses: {
14
+ 200: z.ZodObject<{
15
+ requestId: z.ZodString;
16
+ message: z.ZodString;
17
+ }, "strip", z.ZodTypeAny, {
18
+ message: string;
19
+ requestId: string;
20
+ }, {
21
+ message: string;
22
+ requestId: string;
23
+ }>;
24
+ 500: z.ZodObject<{
25
+ message: z.ZodString;
26
+ error: z.ZodAny;
27
+ }, "strip", z.ZodTypeAny, {
28
+ message: string;
29
+ error?: any;
30
+ }, {
31
+ message: string;
32
+ error?: any;
33
+ }>;
34
+ };
35
+ path: "cx-intelligence/toggle";
36
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
37
+ 'x-tenant': z.ZodString;
38
+ authorization: z.ZodString;
39
+ 'x-code': z.ZodOptional<z.ZodString>;
40
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ 'x-tenant': string;
43
+ authorization: string;
44
+ 'x-client-timezone': string;
45
+ 'x-code'?: string | undefined;
46
+ }, {
47
+ 'x-tenant': string;
48
+ authorization: string;
49
+ 'x-code'?: string | undefined;
50
+ 'x-client-timezone'?: string | undefined;
51
+ }>>>;
52
+ };
53
+ };
54
+ export declare const settingCxIntelligenceContract: {
55
+ checkStatus: {
56
+ summary: "Check Cx Intelligence status";
57
+ method: "GET";
58
+ responses: {
59
+ 200: z.ZodObject<{
60
+ requestId: z.ZodString;
61
+ message: z.ZodString;
62
+ status: z.ZodBoolean;
63
+ }, "strip", z.ZodTypeAny, {
64
+ message: string;
65
+ status: boolean;
66
+ requestId: string;
67
+ }, {
68
+ message: string;
69
+ status: boolean;
70
+ requestId: string;
71
+ }>;
72
+ 422: z.ZodObject<{
73
+ requestId: z.ZodString;
74
+ message: z.ZodString;
75
+ status: z.ZodBoolean;
76
+ }, "strip", z.ZodTypeAny, {
77
+ message: string;
78
+ status: boolean;
79
+ requestId: string;
80
+ }, {
81
+ message: string;
82
+ status: boolean;
83
+ requestId: string;
84
+ }>;
85
+ 500: z.ZodObject<{
86
+ message: z.ZodString;
87
+ error: z.ZodAny;
88
+ }, "strip", z.ZodTypeAny, {
89
+ message: string;
90
+ error?: any;
91
+ }, {
92
+ message: string;
93
+ error?: any;
94
+ }>;
95
+ };
96
+ path: "settings/cx-intelligence/status";
97
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
98
+ 'x-tenant': z.ZodString;
99
+ authorization: z.ZodString;
100
+ 'x-code': z.ZodOptional<z.ZodString>;
101
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ 'x-tenant': string;
104
+ authorization: string;
105
+ 'x-client-timezone': string;
106
+ 'x-code'?: string | undefined;
107
+ }, {
108
+ 'x-tenant': string;
109
+ authorization: string;
110
+ 'x-code'?: string | undefined;
111
+ 'x-client-timezone'?: string | undefined;
112
+ }>>>;
113
+ };
114
+ };
115
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/cx-intelligence/index.ts"],"names":[],"mappings":"AAMA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBlC,CAAC;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBzC,CAAC"}
@@ -30,4 +30,5 @@ export * from './hold-label';
30
30
  export * from './subscription';
31
31
  export * from './subscription';
32
32
  export * from './botpress';
33
+ export * from './cx-intelligence';
33
34
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,c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c,4BAA4B,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC"}
package/dist/index.js CHANGED
@@ -53,6 +53,7 @@ __export(src_exports, {
53
53
  contactContract: () => contactContract2,
54
54
  contactLabelSettingContract: () => contactLabelSettingContract,
55
55
  contactSettingContract: () => contactSettingContract,
56
+ cxIntelligenceContract: () => cxIntelligenceContract,
56
57
  cxLogContract: () => cxLogContract,
57
58
  dashboardContract: () => dashboardContract,
58
59
  evaluateFormContract: () => evaluateFormContract,
@@ -84,6 +85,7 @@ __export(src_exports, {
84
85
  publicApiContract: () => publicApiContract2,
85
86
  receiveMessageContract: () => receiveMessageContract,
86
87
  roleSettingContract: () => roleSettingContract,
88
+ settingCxIntelligenceContract: () => settingCxIntelligenceContract,
87
89
  smsSettingContract: () => smsSettingContract,
88
90
  snippetContract: () => snippetContract,
89
91
  snippetSettingContract: () => snippetSettingContract,
@@ -8816,7 +8818,10 @@ var automationQueueContract = (0, import_core45.initContract)().router(
8816
8818
  }
8817
8819
  }
8818
8820
  },
8819
- { pathPrefix: "/automation-queue" }
8821
+ {
8822
+ baseHeaders: DefaultHeaderSchema,
8823
+ pathPrefix: "/automation-queue"
8824
+ }
8820
8825
  );
8821
8826
 
8822
8827
  // src/mail/mail-contract.ts
@@ -10155,6 +10160,53 @@ var subscriptionContract = (0, import_core53.initContract)().router(
10155
10160
  pathPrefix: "subscriptions"
10156
10161
  }
10157
10162
  );
10163
+
10164
+ // src/cx-intelligence/index.ts
10165
+ var import_core54 = require("@ts-rest/core");
10166
+ var import_zod139 = __toESM(require("zod"));
10167
+ var cxIntelligenceContract = (0, import_core54.initContract)().router(
10168
+ {
10169
+ toggle: {
10170
+ method: "POST",
10171
+ path: "/toggle",
10172
+ headers: DefaultHeaderSchema,
10173
+ body: import_zod139.default.object({
10174
+ enabled: import_zod139.default.union([import_zod139.default.literal(true), import_zod139.default.literal(false)])
10175
+ }),
10176
+ responses: {
10177
+ 200: DefaultSuccessResponseSchema.extend({
10178
+ message: import_zod139.default.string()
10179
+ }),
10180
+ 500: DefaultErrorResponseSchema
10181
+ },
10182
+ summary: "Toggle Cx Intelligence"
10183
+ }
10184
+ },
10185
+ { pathPrefix: "cx-intelligence" }
10186
+ );
10187
+ var settingCxIntelligenceContract = (0, import_core54.initContract)().router(
10188
+ {
10189
+ checkStatus: {
10190
+ method: "GET",
10191
+ path: "/status",
10192
+ headers: DefaultHeaderSchema,
10193
+ responses: {
10194
+ 200: DefaultSuccessResponseSchema.extend({
10195
+ message: import_zod139.default.string(),
10196
+ status: import_zod139.default.boolean()
10197
+ }),
10198
+ 422: import_zod139.default.object({
10199
+ requestId: import_zod139.default.string(),
10200
+ message: import_zod139.default.string(),
10201
+ status: import_zod139.default.boolean()
10202
+ }),
10203
+ 500: DefaultErrorResponseSchema
10204
+ },
10205
+ summary: "Check Cx Intelligence status"
10206
+ }
10207
+ },
10208
+ { pathPrefix: "settings/cx-intelligence" }
10209
+ );
10158
10210
  // Annotate the CommonJS export names for ESM import in node:
10159
10211
  0 && (module.exports = {
10160
10212
  activityLogContract,
@@ -10180,6 +10232,7 @@ var subscriptionContract = (0, import_core53.initContract)().router(
10180
10232
  contactContract,
10181
10233
  contactLabelSettingContract,
10182
10234
  contactSettingContract,
10235
+ cxIntelligenceContract,
10183
10236
  cxLogContract,
10184
10237
  dashboardContract,
10185
10238
  evaluateFormContract,
@@ -10211,6 +10264,7 @@ var subscriptionContract = (0, import_core53.initContract)().router(
10211
10264
  publicApiContract,
10212
10265
  receiveMessageContract,
10213
10266
  roleSettingContract,
10267
+ settingCxIntelligenceContract,
10214
10268
  smsSettingContract,
10215
10269
  snippetContract,
10216
10270
  snippetSettingContract,