@kl1/contracts 1.2.57-uat → 1.2.58-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +5 -62
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/contract.d.ts +150 -863
  4. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  5. package/dist/api-contracts/src/dashboard/index.d.ts +0 -187
  6. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/dashboard/schema.d.ts +0 -37
  8. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/line/index.d.ts +2 -2
  10. package/dist/api-contracts/src/presence-status/index.d.ts +74 -50
  11. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/presence-status/schema.d.ts +11 -8
  13. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  14. package/dist/api-contracts/src/presence-status/validation.d.ts +18 -12
  15. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  16. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +36 -439
  17. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +15 -13
  19. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  21. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  22. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +24 -16
  23. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +30 -20
  25. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/whatsapp/index.d.ts +6 -47
  27. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  28. package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -3
  29. package/dist/index.js +1486 -1575
  30. package/dist/index.js.map +1 -1
  31. package/dist/index.mjs +1486 -1575
  32. package/dist/index.mjs.map +1 -1
  33. package/package.json +1 -1
@@ -1,31 +1,34 @@
1
1
  import z from 'zod';
2
2
  /**
3
- * Channel Types Enum
3
+ * Zod Enum Schema based on EPresenceStatusDesType
4
4
  */
5
- export declare const PresenceStatusDesEnum: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
5
+ export declare const PresenceStatusEnum: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
6
6
  export declare const PresenceStatusSchema: z.ZodObject<{
7
7
  id: z.ZodString;
8
8
  createdAt: z.ZodDate;
9
9
  updatedAt: z.ZodDate;
10
10
  deletedAt: z.ZodNullable<z.ZodDate>;
11
- status: z.ZodString;
12
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
11
+ status: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
12
+ statusName: z.ZodString;
13
13
  position: z.ZodNumber;
14
+ emoji: z.ZodString;
14
15
  }, "strip", z.ZodTypeAny, {
16
+ emoji: string;
15
17
  id: string;
16
18
  position: number;
17
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
18
- status: string;
19
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
19
20
  createdAt: Date;
20
21
  updatedAt: Date;
21
22
  deletedAt: Date | null;
23
+ statusName: string;
22
24
  }, {
25
+ emoji: string;
23
26
  id: string;
24
27
  position: number;
25
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
26
- status: string;
28
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
27
29
  createdAt: Date;
28
30
  updatedAt: Date;
29
31
  deletedAt: Date | null;
32
+ statusName: string;
30
33
  }>;
31
34
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB;;GAEG;AACH,eAAO,MAAM,qBAAqB,iHAIhC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB;;GAEG;AACH,eAAO,MAAM,kBAAkB,yEAI7B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS/B,CAAC"}
@@ -1,28 +1,34 @@
1
1
  import { z } from 'zod';
2
2
  export declare const CreatePresenceStatusSchema: z.ZodObject<{
3
- status: z.ZodString;
4
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
3
+ status: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
4
+ statusName: z.ZodString;
5
5
  position: z.ZodNumber;
6
+ emoji: z.ZodString;
6
7
  }, "strip", z.ZodTypeAny, {
8
+ emoji: string;
7
9
  position: number;
8
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
9
- status: string;
10
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
11
+ statusName: string;
10
12
  }, {
13
+ emoji: string;
11
14
  position: number;
12
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
13
- status: string;
15
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
16
+ statusName: string;
14
17
  }>;
15
18
  export declare const UpdatePresenceStatusSchema: z.ZodObject<{
16
- status: z.ZodString;
17
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
19
+ status: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
20
+ statusName: z.ZodString;
18
21
  position: z.ZodNumber;
22
+ emoji: z.ZodString;
19
23
  }, "strip", z.ZodTypeAny, {
24
+ emoji: string;
20
25
  position: number;
21
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
22
- status: string;
26
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
27
+ statusName: string;
23
28
  }, {
29
+ emoji: string;
24
30
  position: number;
25
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
26
- status: string;
31
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
32
+ statusName: string;
27
33
  }>;
28
34
  //# sourceMappingURL=validation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAA6B,CAAC"}
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAKrC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAA6B,CAAC"}