@kl1/contracts 1.1.99-uat → 1.2.1-uat

Sign up to get free protection for your applications and to get access to all the features.
@@ -9524,11 +9524,11 @@ export declare const telephonyCdrContract: {
9524
9524
  id: string;
9525
9525
  trunkName: string;
9526
9526
  }>, "many">;
9527
- status: z.ZodArray<z.ZodEnum<["ANSWERED", "NO ANSWER", "FAILED"]>, "many">;
9527
+ status: z.ZodArray<z.ZodEnum<["ANSWERED", "NO ANSWER", "BUSY", "FAILED"]>, "many">;
9528
9528
  type: z.ZodArray<z.ZodEnum<["Inbound", "Outbound", "Internal"]>, "many">;
9529
9529
  }, "strip", z.ZodTypeAny, {
9530
9530
  type: ("Inbound" | "Outbound" | "Internal")[];
9531
- status: ("ANSWERED" | "NO ANSWER" | "FAILED")[];
9531
+ status: ("ANSWERED" | "NO ANSWER" | "BUSY" | "FAILED")[];
9532
9532
  requestId: string;
9533
9533
  trunks: {
9534
9534
  id: string;
@@ -9536,7 +9536,7 @@ export declare const telephonyCdrContract: {
9536
9536
  }[];
9537
9537
  }, {
9538
9538
  type: ("Inbound" | "Outbound" | "Internal")[];
9539
- status: ("ANSWERED" | "NO ANSWER" | "FAILED")[];
9539
+ status: ("ANSWERED" | "NO ANSWER" | "BUSY" | "FAILED")[];
9540
9540
  requestId: string;
9541
9541
  trunks: {
9542
9542
  id: string;
@@ -3114,18 +3114,18 @@ export declare const TelephonyDropdownListSchema: z.ZodObject<{
3114
3114
  id: string;
3115
3115
  trunkName: string;
3116
3116
  }>, "many">;
3117
- status: z.ZodArray<z.ZodEnum<["ANSWERED", "NO ANSWER", "FAILED"]>, "many">;
3117
+ status: z.ZodArray<z.ZodEnum<["ANSWERED", "NO ANSWER", "BUSY", "FAILED"]>, "many">;
3118
3118
  type: z.ZodArray<z.ZodEnum<["Inbound", "Outbound", "Internal"]>, "many">;
3119
3119
  }, "strip", z.ZodTypeAny, {
3120
3120
  type: ("Inbound" | "Outbound" | "Internal")[];
3121
- status: ("ANSWERED" | "NO ANSWER" | "FAILED")[];
3121
+ status: ("ANSWERED" | "NO ANSWER" | "BUSY" | "FAILED")[];
3122
3122
  trunks: {
3123
3123
  id: string;
3124
3124
  trunkName: string;
3125
3125
  }[];
3126
3126
  }, {
3127
3127
  type: ("Inbound" | "Outbound" | "Internal")[];
3128
- status: ("ANSWERED" | "NO ANSWER" | "FAILED")[];
3128
+ status: ("ANSWERED" | "NO ANSWER" | "BUSY" | "FAILED")[];
3129
3129
  trunks: {
3130
3130
  id: string;
3131
3131
  trunkName: string;
@@ -5,14 +5,17 @@ export declare const chatContract: {
5
5
  assigneeId: z.ZodString;
6
6
  roomId: z.ZodString;
7
7
  workflowId: z.ZodString;
8
+ queueId: z.ZodOptional<z.ZodString>;
8
9
  }, "strip", z.ZodTypeAny, {
9
10
  assigneeId: string;
10
11
  roomId: string;
11
12
  workflowId: string;
13
+ queueId?: string | undefined;
12
14
  }, {
13
15
  assigneeId: string;
14
16
  roomId: string;
15
17
  workflowId: string;
18
+ queueId?: string | undefined;
16
19
  }>;
17
20
  summary: "Update room assignee";
18
21
  method: "POST";
@@ -7913,5 +7916,56 @@ export declare const chatContract: {
7913
7916
  'x-code'?: string | undefined;
7914
7917
  }>;
7915
7918
  };
7919
+ emitMessage: {
7920
+ body: z.ZodObject<{
7921
+ messageId: z.ZodString;
7922
+ }, "strip", z.ZodTypeAny, {
7923
+ messageId: string;
7924
+ }, {
7925
+ messageId: string;
7926
+ }>;
7927
+ summary: "Get message by ID";
7928
+ method: "POST";
7929
+ responses: {
7930
+ 200: z.ZodObject<{
7931
+ requestId: z.ZodString;
7932
+ }, "strip", z.ZodTypeAny, {
7933
+ requestId: string;
7934
+ }, {
7935
+ requestId: string;
7936
+ }>;
7937
+ 403: z.ZodObject<{
7938
+ message: z.ZodString;
7939
+ error: z.ZodAny;
7940
+ }, "strip", z.ZodTypeAny, {
7941
+ message: string;
7942
+ error?: any;
7943
+ }, {
7944
+ message: string;
7945
+ error?: any;
7946
+ }>;
7947
+ 404: z.ZodObject<{
7948
+ message: z.ZodString;
7949
+ error: z.ZodAny;
7950
+ }, "strip", z.ZodTypeAny, {
7951
+ message: string;
7952
+ error?: any;
7953
+ }, {
7954
+ message: string;
7955
+ error?: any;
7956
+ }>;
7957
+ };
7958
+ path: "chat/message/emit";
7959
+ headers: z.ZodObject<{
7960
+ 'x-tenant': z.ZodString;
7961
+ 'x-code': z.ZodOptional<z.ZodString>;
7962
+ }, "strip", z.ZodTypeAny, {
7963
+ 'x-tenant': string;
7964
+ 'x-code'?: string | undefined;
7965
+ }, {
7966
+ 'x-tenant': string;
7967
+ 'x-code'?: string | undefined;
7968
+ }>;
7969
+ };
7916
7970
  };
7917
7971
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/workflow-rule/index.ts"],"names":[],"mappings":"AAMA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DxB,CAAC"}
package/dist/index.js CHANGED
@@ -1199,7 +1199,7 @@ var TelephonyDropdownListSchema = import_zod25.default.object({
1199
1199
  trunkName: import_zod25.default.string()
1200
1200
  })
1201
1201
  ),
1202
- status: import_zod25.default.array(import_zod25.default.enum(["ANSWERED", "NO ANSWER", "FAILED"])),
1202
+ status: import_zod25.default.array(import_zod25.default.enum(["ANSWERED", "NO ANSWER", "BUSY", "FAILED"])),
1203
1203
  type: import_zod25.default.array(import_zod25.default.enum(["Inbound", "Outbound", "Internal"]))
1204
1204
  });
1205
1205
  var TelephonyRedirectSettingSchema = import_zod25.default.object({
@@ -2686,6 +2686,15 @@ var mainChatContract = (0, import_core7.initContract)().router(
2686
2686
  500: DefaultErrorResponseSchema
2687
2687
  }
2688
2688
  },
2689
+ getUnreadCounts: {
2690
+ method: "GET",
2691
+ path: "/rooms/unread-count",
2692
+ responses: {
2693
+ 200: DefaultSuccessResponseSchema.extend({
2694
+ unreadCountsByAssignee: import_zod37.default.array(UnreadCountsByAssigneeSchema)
2695
+ })
2696
+ }
2697
+ },
2689
2698
  getRoomsByPlatformContactId: {
2690
2699
  method: "GET",
2691
2700
  path: "/rooms/:platformContactId",
@@ -7845,7 +7854,8 @@ var chatContract = (0, import_core38.initContract)().router(
7845
7854
  body: import_zod106.default.object({
7846
7855
  assigneeId: import_zod106.default.string().uuid(),
7847
7856
  roomId: import_zod106.default.string().uuid(),
7848
- workflowId: import_zod106.default.string().uuid()
7857
+ workflowId: import_zod106.default.string().uuid(),
7858
+ queueId: import_zod106.default.string().uuid().optional()
7849
7859
  }),
7850
7860
  responses: {
7851
7861
  200: DefaultSuccessResponseSchema.extend({
@@ -7873,6 +7883,19 @@ var chatContract = (0, import_core38.initContract)().router(
7873
7883
  409: DefaultErrorResponseSchema
7874
7884
  },
7875
7885
  summary: "Solve room"
7886
+ },
7887
+ emitMessage: {
7888
+ method: "POST",
7889
+ path: "/message/emit",
7890
+ body: import_zod106.default.object({
7891
+ messageId: import_zod106.default.string().uuid()
7892
+ }),
7893
+ responses: {
7894
+ 200: DefaultSuccessResponseSchema,
7895
+ 403: DefaultErrorResponseSchema,
7896
+ 404: DefaultErrorResponseSchema
7897
+ },
7898
+ summary: "Get message by ID"
7876
7899
  }
7877
7900
  },
7878
7901
  {
@@ -8369,7 +8392,7 @@ var automationQueueContract = (0, import_core43.initContract)().router(
8369
8392
  getAutomationQueues: {
8370
8393
  method: "GET",
8371
8394
  path: "",
8372
- pathParams: import_zod114.z.object({
8395
+ query: import_zod114.z.object({
8373
8396
  userId: import_zod114.z.string().uuid().optional()
8374
8397
  }).optional(),
8375
8398
  responses: {