@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
@@ -1477,17 +1477,14 @@ export declare const dashboardContract: {
1477
1477
  closed: z.ZodNullable<z.ZodNumber>;
1478
1478
  unassignedOpen: z.ZodNullable<z.ZodNumber>;
1479
1479
  assignedOpen: z.ZodNullable<z.ZodNumber>;
1480
- hold: z.ZodNumber;
1481
1480
  }, "strip", z.ZodTypeAny, {
1482
1481
  total: number | null;
1483
1482
  closed: number | null;
1484
- hold: number;
1485
1483
  unassignedOpen: number | null;
1486
1484
  assignedOpen: number | null;
1487
1485
  }, {
1488
1486
  total: number | null;
1489
1487
  closed: number | null;
1490
- hold: number;
1491
1488
  unassignedOpen: number | null;
1492
1489
  assignedOpen: number | null;
1493
1490
  }>;
@@ -1496,7 +1493,6 @@ export declare const dashboardContract: {
1496
1493
  roomStatusCountByStatus: {
1497
1494
  total: number | null;
1498
1495
  closed: number | null;
1499
- hold: number;
1500
1496
  unassignedOpen: number | null;
1501
1497
  assignedOpen: number | null;
1502
1498
  };
@@ -1505,7 +1501,6 @@ export declare const dashboardContract: {
1505
1501
  roomStatusCountByStatus: {
1506
1502
  total: number | null;
1507
1503
  closed: number | null;
1508
- hold: number;
1509
1504
  unassignedOpen: number | null;
1510
1505
  assignedOpen: number | null;
1511
1506
  };
@@ -2041,187 +2036,5 @@ export declare const dashboardContract: {
2041
2036
  };
2042
2037
  path: "dashboard/call-counts";
2043
2038
  };
2044
- getAllQueueSLA: {
2045
- method: "GET";
2046
- query: z.ZodObject<{
2047
- selectedDate: z.ZodString;
2048
- }, "strip", z.ZodTypeAny, {
2049
- selectedDate: string;
2050
- }, {
2051
- selectedDate: string;
2052
- }>;
2053
- responses: {
2054
- 200: z.ZodObject<{
2055
- requestId: z.ZodString;
2056
- allQueueSLA: z.ZodNumber;
2057
- }, "strip", z.ZodTypeAny, {
2058
- requestId: string;
2059
- allQueueSLA: number;
2060
- }, {
2061
- requestId: string;
2062
- allQueueSLA: number;
2063
- }>;
2064
- };
2065
- path: "dashboard/all-queue-sla";
2066
- };
2067
- getAllMessageQueueData: {
2068
- method: "GET";
2069
- query: z.ZodObject<{
2070
- selectedDate: z.ZodString;
2071
- }, "strip", z.ZodTypeAny, {
2072
- selectedDate: string;
2073
- }, {
2074
- selectedDate: string;
2075
- }>;
2076
- responses: {
2077
- 200: z.ZodObject<{
2078
- requestId: z.ZodString;
2079
- allMessageQueueData: z.ZodArray<z.ZodObject<{
2080
- id: z.ZodNullable<z.ZodString>;
2081
- name: z.ZodString;
2082
- sla: z.ZodNumber;
2083
- newContactCount: z.ZodNumber;
2084
- existingContactCount: z.ZodNumber;
2085
- totalRoomCount: z.ZodNumber;
2086
- closedRoomCount: z.ZodNumber;
2087
- unassignedRoomCount: z.ZodNumber;
2088
- assignedRoomCount: z.ZodNumber;
2089
- holdRoomCount: z.ZodNumber;
2090
- }, "strip", z.ZodTypeAny, {
2091
- name: string;
2092
- id: string | null;
2093
- sla: number;
2094
- newContactCount: number;
2095
- existingContactCount: number;
2096
- totalRoomCount: number;
2097
- closedRoomCount: number;
2098
- unassignedRoomCount: number;
2099
- assignedRoomCount: number;
2100
- holdRoomCount: number;
2101
- }, {
2102
- name: string;
2103
- id: string | null;
2104
- sla: number;
2105
- newContactCount: number;
2106
- existingContactCount: number;
2107
- totalRoomCount: number;
2108
- closedRoomCount: number;
2109
- unassignedRoomCount: number;
2110
- assignedRoomCount: number;
2111
- holdRoomCount: number;
2112
- }>, "many">;
2113
- }, "strip", z.ZodTypeAny, {
2114
- requestId: string;
2115
- allMessageQueueData: {
2116
- name: string;
2117
- id: string | null;
2118
- sla: number;
2119
- newContactCount: number;
2120
- existingContactCount: number;
2121
- totalRoomCount: number;
2122
- closedRoomCount: number;
2123
- unassignedRoomCount: number;
2124
- assignedRoomCount: number;
2125
- holdRoomCount: number;
2126
- }[];
2127
- }, {
2128
- requestId: string;
2129
- allMessageQueueData: {
2130
- name: string;
2131
- id: string | null;
2132
- sla: number;
2133
- newContactCount: number;
2134
- existingContactCount: number;
2135
- totalRoomCount: number;
2136
- closedRoomCount: number;
2137
- unassignedRoomCount: number;
2138
- assignedRoomCount: number;
2139
- holdRoomCount: number;
2140
- }[];
2141
- }>;
2142
- };
2143
- path: "dashboard/all-message-queue-data";
2144
- };
2145
- getMessageQueueData: {
2146
- method: "GET";
2147
- query: z.ZodObject<{
2148
- automationQueueId: z.ZodOptional<z.ZodString>;
2149
- selectedDate: z.ZodString;
2150
- }, "strip", z.ZodTypeAny, {
2151
- selectedDate: string;
2152
- automationQueueId?: string | undefined;
2153
- }, {
2154
- selectedDate: string;
2155
- automationQueueId?: string | undefined;
2156
- }>;
2157
- responses: {
2158
- 200: z.ZodObject<{
2159
- requestId: z.ZodString;
2160
- messageQueueData: z.ZodObject<{
2161
- id: z.ZodNullable<z.ZodString>;
2162
- name: z.ZodString;
2163
- sla: z.ZodNumber;
2164
- newContactCount: z.ZodNumber;
2165
- existingContactCount: z.ZodNumber;
2166
- totalRoomCount: z.ZodNumber;
2167
- closedRoomCount: z.ZodNumber;
2168
- unassignedRoomCount: z.ZodNumber;
2169
- assignedRoomCount: z.ZodNumber;
2170
- holdRoomCount: z.ZodNumber;
2171
- }, "strip", z.ZodTypeAny, {
2172
- name: string;
2173
- id: string | null;
2174
- sla: number;
2175
- newContactCount: number;
2176
- existingContactCount: number;
2177
- totalRoomCount: number;
2178
- closedRoomCount: number;
2179
- unassignedRoomCount: number;
2180
- assignedRoomCount: number;
2181
- holdRoomCount: number;
2182
- }, {
2183
- name: string;
2184
- id: string | null;
2185
- sla: number;
2186
- newContactCount: number;
2187
- existingContactCount: number;
2188
- totalRoomCount: number;
2189
- closedRoomCount: number;
2190
- unassignedRoomCount: number;
2191
- assignedRoomCount: number;
2192
- holdRoomCount: number;
2193
- }>;
2194
- }, "strip", z.ZodTypeAny, {
2195
- requestId: string;
2196
- messageQueueData: {
2197
- name: string;
2198
- id: string | null;
2199
- sla: number;
2200
- newContactCount: number;
2201
- existingContactCount: number;
2202
- totalRoomCount: number;
2203
- closedRoomCount: number;
2204
- unassignedRoomCount: number;
2205
- assignedRoomCount: number;
2206
- holdRoomCount: number;
2207
- };
2208
- }, {
2209
- requestId: string;
2210
- messageQueueData: {
2211
- name: string;
2212
- id: string | null;
2213
- sla: number;
2214
- newContactCount: number;
2215
- existingContactCount: number;
2216
- totalRoomCount: number;
2217
- closedRoomCount: number;
2218
- unassignedRoomCount: number;
2219
- assignedRoomCount: number;
2220
- holdRoomCount: number;
2221
- };
2222
- }>;
2223
- };
2224
- path: "dashboard/message-queue-data";
2225
- };
2226
2039
  };
2227
2040
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,kCAAkC,EAClC,mCAAmC,EACnC,6BAA6B,EAC7B,kCAAkC,EAClC,0BAA0B,EAC3B,MAAM,cAAc,CAAC;AACtB,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,4BAA4B,EAC5B,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,mBAAmB,EACnB,oBAAoB,EACpB,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,8BAA8B,EAC9B,iCAAiC,EACjC,sCAAsC,EACtC,8CAA8C,EAC9C,8BAA8B,EAC9B,8BAA8B,EAC9B,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,cAAc,EAGf,MAAM,UAAU,CAAC;AAGlB,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwQ7B,CAAC"}
@@ -898,17 +898,14 @@ export declare const MessageStatusSchema: z.ZodObject<{
898
898
  closed: z.ZodNullable<z.ZodNumber>;
899
899
  unassignedOpen: z.ZodNullable<z.ZodNumber>;
900
900
  assignedOpen: z.ZodNullable<z.ZodNumber>;
901
- hold: z.ZodNumber;
902
901
  }, "strip", z.ZodTypeAny, {
903
902
  total: number | null;
904
903
  closed: number | null;
905
- hold: number;
906
904
  unassignedOpen: number | null;
907
905
  assignedOpen: number | null;
908
906
  }, {
909
907
  total: number | null;
910
908
  closed: number | null;
911
- hold: number;
912
909
  unassignedOpen: number | null;
913
910
  assignedOpen: number | null;
914
911
  }>;
@@ -1040,38 +1037,4 @@ export declare const CallCountsSchema: z.ZodObject<{
1040
1037
  busyCallCount: number;
1041
1038
  failedCallCount: number;
1042
1039
  }>;
1043
- export declare const MessageQueueDataSchema: z.ZodObject<{
1044
- id: z.ZodNullable<z.ZodString>;
1045
- name: z.ZodString;
1046
- sla: z.ZodNumber;
1047
- newContactCount: z.ZodNumber;
1048
- existingContactCount: z.ZodNumber;
1049
- totalRoomCount: z.ZodNumber;
1050
- closedRoomCount: z.ZodNumber;
1051
- unassignedRoomCount: z.ZodNumber;
1052
- assignedRoomCount: z.ZodNumber;
1053
- holdRoomCount: z.ZodNumber;
1054
- }, "strip", z.ZodTypeAny, {
1055
- name: string;
1056
- id: string | null;
1057
- sla: number;
1058
- newContactCount: number;
1059
- existingContactCount: number;
1060
- totalRoomCount: number;
1061
- closedRoomCount: number;
1062
- unassignedRoomCount: number;
1063
- assignedRoomCount: number;
1064
- holdRoomCount: number;
1065
- }, {
1066
- name: string;
1067
- id: string | null;
1068
- sla: number;
1069
- newContactCount: number;
1070
- existingContactCount: number;
1071
- totalRoomCount: number;
1072
- closedRoomCount: number;
1073
- unassignedRoomCount: number;
1074
- assignedRoomCount: number;
1075
- holdRoomCount: number;
1076
- }>;
1077
1040
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAmBpB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;EAGxC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;EAGxC,CAAC;AAiBH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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MAAM,iBAAiB;;;;;;;;;;;;WAA0B,CAAC;AACzD,eAAO,MAAM,+BAA+B;;;;;;;;;YAO3C,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;aAMnB,CAAC;AACd,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;EAK9B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyB/B,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;EAIvC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;WAMrC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;YAE1C,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;EAM3B,CAAC"}
@@ -2236,7 +2236,7 @@ export declare const lineContract: {
2236
2236
  }>;
2237
2237
  method: "POST";
2238
2238
  responses: {
2239
- 200: z.ZodObject<{
2239
+ 200: z.ZodUnion<[z.ZodObject<{
2240
2240
  requestId: z.ZodString;
2241
2241
  data: z.ZodObject<{
2242
2242
  type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
@@ -20118,7 +20118,7 @@ export declare const lineContract: {
20118
20118
  } | null | undefined;
20119
20119
  };
20120
20120
  requestId: string;
20121
- }>;
20121
+ }>, z.ZodLiteral<"TALK TO AGENT">]>;
20122
20122
  500: z.ZodObject<{
20123
20123
  message: z.ZodString;
20124
20124
  error: z.ZodAny;
@@ -1,10 +1,10 @@
1
1
  import z from 'zod';
2
- import { PresenceStatusDesEnum, PresenceStatusSchema } from './schema';
2
+ import { PresenceStatusEnum, PresenceStatusSchema } from './schema';
3
3
  import { CreatePresenceStatusSchema, UpdatePresenceStatusSchema } from './validation';
4
4
  export type CreatePresenceStatusRequest = z.infer<typeof CreatePresenceStatusSchema>;
5
5
  export type UpdatePresenceStatusRequest = z.infer<typeof UpdatePresenceStatusSchema>;
6
6
  export type GetPresenceStatusRequest = z.infer<typeof PresenceStatusSchema>;
7
- export type PresenceStatusDesEnum = z.infer<typeof PresenceStatusDesEnum>;
7
+ export type PresenceStatusEnum = z.infer<typeof PresenceStatusEnum>;
8
8
  export declare const presenceStatusContract: {
9
9
  getAllStatus: {
10
10
  summary: "Get all presence status list.";
@@ -17,46 +17,51 @@ export declare const presenceStatusContract: {
17
17
  createdAt: z.ZodDate;
18
18
  updatedAt: z.ZodDate;
19
19
  deletedAt: z.ZodNullable<z.ZodDate>;
20
- status: z.ZodString;
21
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
20
+ status: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
21
+ statusName: z.ZodString;
22
22
  position: z.ZodNumber;
23
+ emoji: z.ZodString;
23
24
  }, "strip", z.ZodTypeAny, {
25
+ emoji: string;
24
26
  id: string;
25
27
  position: number;
26
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
27
- status: string;
28
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
28
29
  createdAt: Date;
29
30
  updatedAt: Date;
30
31
  deletedAt: Date | null;
32
+ statusName: string;
31
33
  }, {
34
+ emoji: string;
32
35
  id: string;
33
36
  position: number;
34
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35
- status: string;
37
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
36
38
  createdAt: Date;
37
39
  updatedAt: Date;
38
40
  deletedAt: Date | null;
41
+ statusName: string;
39
42
  }>, "many">;
40
43
  }, "strip", z.ZodTypeAny, {
41
44
  data: {
45
+ emoji: string;
42
46
  id: string;
43
47
  position: number;
44
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
45
- status: string;
48
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
46
49
  createdAt: Date;
47
50
  updatedAt: Date;
48
51
  deletedAt: Date | null;
52
+ statusName: string;
49
53
  }[];
50
54
  total: number;
51
55
  }, {
52
56
  data: {
57
+ emoji: string;
53
58
  id: string;
54
59
  position: number;
55
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
56
- status: string;
60
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
57
61
  createdAt: Date;
58
62
  updatedAt: Date;
59
63
  deletedAt: Date | null;
64
+ statusName: string;
60
65
  }[];
61
66
  total: number;
62
67
  }>;
@@ -108,17 +113,20 @@ export declare const presenceStatusContract: {
108
113
  };
109
114
  createPresenceStatus: {
110
115
  body: z.ZodObject<{
111
- status: z.ZodString;
112
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
116
+ status: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
117
+ statusName: z.ZodString;
113
118
  position: z.ZodNumber;
119
+ emoji: z.ZodString;
114
120
  }, "strip", z.ZodTypeAny, {
121
+ emoji: string;
115
122
  position: number;
116
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
117
- status: string;
123
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
124
+ statusName: string;
118
125
  }, {
126
+ emoji: string;
119
127
  position: number;
120
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
121
- status: string;
128
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
129
+ statusName: string;
122
130
  }>;
123
131
  summary: "Create a new presence status.";
124
132
  method: "POST";
@@ -130,47 +138,52 @@ export declare const presenceStatusContract: {
130
138
  createdAt: z.ZodDate;
131
139
  updatedAt: z.ZodDate;
132
140
  deletedAt: z.ZodNullable<z.ZodDate>;
133
- status: z.ZodString;
134
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
141
+ status: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
142
+ statusName: z.ZodString;
135
143
  position: z.ZodNumber;
144
+ emoji: z.ZodString;
136
145
  }, "strip", z.ZodTypeAny, {
146
+ emoji: string;
137
147
  id: string;
138
148
  position: number;
139
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
140
- status: string;
149
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
141
150
  createdAt: Date;
142
151
  updatedAt: Date;
143
152
  deletedAt: Date | null;
153
+ statusName: string;
144
154
  }, {
155
+ emoji: string;
145
156
  id: string;
146
157
  position: number;
147
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
148
- status: string;
158
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
149
159
  createdAt: Date;
150
160
  updatedAt: Date;
151
161
  deletedAt: Date | null;
162
+ statusName: string;
152
163
  }>;
153
164
  }, "strip", z.ZodTypeAny, {
154
165
  requestId: string;
155
166
  presenceStatus: {
167
+ emoji: string;
156
168
  id: string;
157
169
  position: number;
158
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
159
- status: string;
170
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
160
171
  createdAt: Date;
161
172
  updatedAt: Date;
162
173
  deletedAt: Date | null;
174
+ statusName: string;
163
175
  };
164
176
  }, {
165
177
  requestId: string;
166
178
  presenceStatus: {
179
+ emoji: string;
167
180
  id: string;
168
181
  position: number;
169
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
170
- status: string;
182
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
171
183
  createdAt: Date;
172
184
  updatedAt: Date;
173
185
  deletedAt: Date | null;
186
+ statusName: string;
174
187
  };
175
188
  }>;
176
189
  400: z.ZodObject<{
@@ -255,25 +268,28 @@ export declare const presenceStatusContract: {
255
268
  createdAt: z.ZodDate;
256
269
  updatedAt: z.ZodDate;
257
270
  deletedAt: z.ZodNullable<z.ZodDate>;
258
- status: z.ZodString;
259
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
271
+ status: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
272
+ statusName: z.ZodString;
260
273
  position: z.ZodNumber;
274
+ emoji: z.ZodString;
261
275
  }, "strip", z.ZodTypeAny, {
276
+ emoji: string;
262
277
  id: string;
263
278
  position: number;
264
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
265
- status: string;
279
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
266
280
  createdAt: Date;
267
281
  updatedAt: Date;
268
282
  deletedAt: Date | null;
283
+ statusName: string;
269
284
  }, {
285
+ emoji: string;
270
286
  id: string;
271
287
  position: number;
272
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
273
- status: string;
288
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
274
289
  createdAt: Date;
275
290
  updatedAt: Date;
276
291
  deletedAt: Date | null;
292
+ statusName: string;
277
293
  }>;
278
294
  400: z.ZodObject<{
279
295
  message: z.ZodString;
@@ -343,17 +359,20 @@ export declare const presenceStatusContract: {
343
359
  };
344
360
  updatePresenceStatus: {
345
361
  body: z.ZodObject<{
346
- status: z.ZodString;
347
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
362
+ status: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
363
+ statusName: z.ZodString;
348
364
  position: z.ZodNumber;
365
+ emoji: z.ZodString;
349
366
  }, "strip", z.ZodTypeAny, {
367
+ emoji: string;
350
368
  position: number;
351
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
352
- status: string;
369
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
370
+ statusName: string;
353
371
  }, {
372
+ emoji: string;
354
373
  position: number;
355
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
356
- status: string;
374
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
375
+ statusName: string;
357
376
  }>;
358
377
  summary: "Update a presence status.";
359
378
  method: "PATCH";
@@ -372,47 +391,52 @@ export declare const presenceStatusContract: {
372
391
  createdAt: z.ZodDate;
373
392
  updatedAt: z.ZodDate;
374
393
  deletedAt: z.ZodNullable<z.ZodDate>;
375
- status: z.ZodString;
376
- description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
394
+ status: z.ZodEnum<["receive_call_noti", "do_not_receive_call_noti", "default"]>;
395
+ statusName: z.ZodString;
377
396
  position: z.ZodNumber;
397
+ emoji: z.ZodString;
378
398
  }, "strip", z.ZodTypeAny, {
399
+ emoji: string;
379
400
  id: string;
380
401
  position: number;
381
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
382
- status: string;
402
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
383
403
  createdAt: Date;
384
404
  updatedAt: Date;
385
405
  deletedAt: Date | null;
406
+ statusName: string;
386
407
  }, {
408
+ emoji: string;
387
409
  id: string;
388
410
  position: number;
389
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
390
- status: string;
411
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
391
412
  createdAt: Date;
392
413
  updatedAt: Date;
393
414
  deletedAt: Date | null;
415
+ statusName: string;
394
416
  }>;
395
417
  }, "strip", z.ZodTypeAny, {
396
418
  requestId: string;
397
419
  presenceStatus: {
420
+ emoji: string;
398
421
  id: string;
399
422
  position: number;
400
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
401
- status: string;
423
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
402
424
  createdAt: Date;
403
425
  updatedAt: Date;
404
426
  deletedAt: Date | null;
427
+ statusName: string;
405
428
  };
406
429
  }, {
407
430
  requestId: string;
408
431
  presenceStatus: {
432
+ emoji: string;
409
433
  id: string;
410
434
  position: number;
411
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
412
- status: string;
435
+ status: "default" | "receive_call_noti" | "do_not_receive_call_noti";
413
436
  createdAt: Date;
414
437
  updatedAt: Date;
415
438
  deletedAt: Date | null;
439
+ statusName: string;
416
440
  };
417
441
  }>;
418
442
  400: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE5E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE1E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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