@kl1/contracts 1.1.52 → 1.1.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
  2. package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
  3. package/dist/api-contracts/src/attribute/index.d.ts +4 -4
  4. package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
  5. package/dist/api-contracts/src/auth/index.d.ts +4 -4
  6. package/dist/api-contracts/src/automation-queue/index.d.ts +80 -80
  7. package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
  8. package/dist/api-contracts/src/botpress/index.d.ts +28 -28
  9. package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
  10. package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
  11. package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
  12. package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
  13. package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
  14. package/dist/api-contracts/src/category/index.d.ts +12 -12
  15. package/dist/api-contracts/src/category/schema.d.ts +2 -2
  16. package/dist/api-contracts/src/channel/index.d.ts +439 -439
  17. package/dist/api-contracts/src/channel/schema.d.ts +16 -16
  18. package/dist/api-contracts/src/channel/validation.d.ts +14 -14
  19. package/dist/api-contracts/src/chat/index.d.ts +3728 -3728
  20. package/dist/api-contracts/src/chat/schema.d.ts +844 -862
  21. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  22. package/dist/api-contracts/src/chat/validation.d.ts +707 -707
  23. package/dist/api-contracts/src/comment/index.d.ts +244 -244
  24. package/dist/api-contracts/src/comment/schema.d.ts +68 -68
  25. package/dist/api-contracts/src/company/index.d.ts +4 -4
  26. package/dist/api-contracts/src/company/validation.d.ts +4 -4
  27. package/dist/api-contracts/src/contact/index.d.ts +246 -246
  28. package/dist/api-contracts/src/contact/schema.d.ts +26 -26
  29. package/dist/api-contracts/src/contact/validation.d.ts +134 -134
  30. package/dist/api-contracts/src/contract.d.ts +8211 -8077
  31. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  32. package/dist/api-contracts/src/cx-log/index.d.ts +248 -248
  33. package/dist/api-contracts/src/cx-log/schema.d.ts +198 -198
  34. package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
  35. package/dist/api-contracts/src/dashboard/index.d.ts +40 -40
  36. package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
  37. package/dist/api-contracts/src/extension/index.d.ts +4 -4
  38. package/dist/api-contracts/src/facebook-feed/index.d.ts +682 -682
  39. package/dist/api-contracts/src/facebook-feed/schema.d.ts +64 -64
  40. package/dist/api-contracts/src/facebook-feed/validation.d.ts +66 -66
  41. package/dist/api-contracts/src/hold-label/index.d.ts +315 -0
  42. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -0
  43. package/dist/api-contracts/src/hold-label/schema.d.ts +24 -0
  44. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -0
  45. package/dist/api-contracts/src/hold-label/validation.d.ts +24 -0
  46. package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -0
  47. package/dist/api-contracts/src/instagram/index.d.ts +570 -570
  48. package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
  49. package/dist/api-contracts/src/line/index.d.ts +582 -582
  50. package/dist/api-contracts/src/line/schema.d.ts +4 -4
  51. package/dist/api-contracts/src/line/validation.d.ts +50 -50
  52. package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
  53. package/dist/api-contracts/src/mail/mail-contract.d.ts +2254 -2254
  54. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +26 -26
  55. package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
  56. package/dist/api-contracts/src/mail/room-contract.d.ts +1444 -1444
  57. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
  58. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +10 -10
  59. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
  60. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +468 -468
  61. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +458 -458
  62. package/dist/api-contracts/src/messenger/index.d.ts +573 -573
  63. package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
  64. package/dist/api-contracts/src/messenger/validation.d.ts +62 -62
  65. package/dist/api-contracts/src/notification/index.d.ts +26 -26
  66. package/dist/api-contracts/src/notification/schema.d.ts +18 -18
  67. package/dist/api-contracts/src/notification/validation.d.ts +10 -10
  68. package/dist/api-contracts/src/presence-status/index.d.ts +556 -0
  69. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -0
  70. package/dist/api-contracts/src/presence-status/schema.d.ts +31 -0
  71. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -0
  72. package/dist/api-contracts/src/presence-status/validation.d.ts +28 -0
  73. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -0
  74. package/dist/api-contracts/src/public-api/index.d.ts +84 -84
  75. package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
  76. package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
  77. package/dist/api-contracts/src/sms/index.d.ts +86 -86
  78. package/dist/api-contracts/src/sms/schema.d.ts +8 -8
  79. package/dist/api-contracts/src/sms/validation.d.ts +2 -2
  80. package/dist/api-contracts/src/snippet/index.d.ts +42 -42
  81. package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
  82. package/dist/api-contracts/src/subscription/index.d.ts +1934 -0
  83. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -0
  84. package/dist/api-contracts/src/subscription/schema.d.ts +2059 -0
  85. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -0
  86. package/dist/api-contracts/src/subscription/validation.d.ts +37 -0
  87. package/dist/api-contracts/src/subscription/validation.d.ts.map +1 -0
  88. package/dist/api-contracts/src/tag/index.d.ts +12 -12
  89. package/dist/api-contracts/src/tag/schema.d.ts +2 -2
  90. package/dist/api-contracts/src/telegram/index.d.ts +530 -530
  91. package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
  92. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
  93. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
  94. package/dist/api-contracts/src/telephony-cdr/index.d.ts +320 -186
  95. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  96. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +68 -58
  97. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  98. package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
  99. package/dist/api-contracts/src/ticket/index.d.ts +328 -328
  100. package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
  101. package/dist/api-contracts/src/user/index.d.ts +23 -23
  102. package/dist/api-contracts/src/user/schema.d.ts +2 -2
  103. package/dist/api-contracts/src/user/validation.d.ts +5 -5
  104. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
  105. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
  106. package/dist/api-contracts/src/viber/index.d.ts +542 -542
  107. package/dist/api-contracts/src/viber/validation.d.ts +4 -4
  108. package/dist/api-contracts/src/webchat/index.d.ts +488 -488
  109. package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
  110. package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
  111. package/dist/api-contracts/src/whatsapp/index.d.ts +19983 -0
  112. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -0
  113. package/dist/api-contracts/src/whatsapp/schema.d.ts +2 -0
  114. package/dist/api-contracts/src/whatsapp/schema.d.ts.map +1 -0
  115. package/dist/api-contracts/src/whatsapp/validation.d.ts +76 -0
  116. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -0
  117. package/dist/api-contracts/src/widget/index.d.ts +24 -24
  118. package/dist/api-contracts/src/widget/schema.d.ts +2 -2
  119. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  120. package/dist/api-contracts/src/workflow-rule/index.d.ts +212 -212
  121. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
  122. package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
  123. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
  124. package/dist/api-contracts/utils.d.ts +1 -1
  125. package/dist/api-contracts/utils.d.ts.map +1 -1
  126. package/dist/index.js +37 -0
  127. package/dist/index.js.map +1 -1
  128. package/dist/index.mjs +37 -0
  129. package/dist/index.mjs.map +1 -1
  130. package/package.json +1 -1
@@ -0,0 +1,556 @@
1
+ import z from 'zod';
2
+ import { PresenceStatusDesEnum, PresenceStatusSchema } from './schema';
3
+ import { CreatePresenceStatusSchema, UpdatePresenceStatusSchema } from './validation';
4
+ export type CreatePresenceStatusRequest = z.infer<typeof CreatePresenceStatusSchema>;
5
+ export type UpdatePresenceStatusRequest = z.infer<typeof UpdatePresenceStatusSchema>;
6
+ export type GetPresenceStatusRequest = z.infer<typeof PresenceStatusSchema>;
7
+ export type PresenceStatusDesEnum = z.infer<typeof PresenceStatusDesEnum>;
8
+ export declare const presenceStatusContract: {
9
+ getAllStatus: {
10
+ summary: "Get all presence status list.";
11
+ method: "GET";
12
+ responses: {
13
+ 200: z.ZodObject<{
14
+ total: z.ZodNumber;
15
+ data: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodString;
17
+ createdAt: z.ZodDate;
18
+ updatedAt: z.ZodDate;
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."]>;
22
+ position: z.ZodNumber;
23
+ }, "strip", z.ZodTypeAny, {
24
+ id: string;
25
+ position: number;
26
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
27
+ status: string;
28
+ createdAt: Date;
29
+ updatedAt: Date;
30
+ deletedAt: Date | null;
31
+ }, {
32
+ id: string;
33
+ position: number;
34
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35
+ status: string;
36
+ createdAt: Date;
37
+ updatedAt: Date;
38
+ deletedAt: Date | null;
39
+ }>, "many">;
40
+ }, "strip", z.ZodTypeAny, {
41
+ data: {
42
+ id: string;
43
+ position: number;
44
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
45
+ status: string;
46
+ createdAt: Date;
47
+ updatedAt: Date;
48
+ deletedAt: Date | null;
49
+ }[];
50
+ total: number;
51
+ }, {
52
+ data: {
53
+ id: string;
54
+ position: number;
55
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
56
+ status: string;
57
+ createdAt: Date;
58
+ updatedAt: Date;
59
+ deletedAt: Date | null;
60
+ }[];
61
+ total: number;
62
+ }>;
63
+ 400: z.ZodObject<{
64
+ message: z.ZodString;
65
+ }, "strip", z.ZodTypeAny, {
66
+ message: string;
67
+ }, {
68
+ message: string;
69
+ }>;
70
+ 401: z.ZodObject<{
71
+ message: z.ZodString;
72
+ error: z.ZodAny;
73
+ }, "strip", z.ZodTypeAny, {
74
+ message: string;
75
+ error?: any;
76
+ }, {
77
+ message: string;
78
+ error?: any;
79
+ }>;
80
+ 500: z.ZodObject<{
81
+ message: z.ZodString;
82
+ error: z.ZodAny;
83
+ }, "strip", z.ZodTypeAny, {
84
+ message: string;
85
+ error?: any;
86
+ }, {
87
+ message: string;
88
+ error?: any;
89
+ }>;
90
+ };
91
+ path: "presence_status";
92
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
93
+ 'x-tenant': z.ZodString;
94
+ authorization: z.ZodString;
95
+ 'x-code': z.ZodOptional<z.ZodString>;
96
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ 'x-tenant': string;
99
+ authorization: string;
100
+ 'x-client-timezone': string;
101
+ 'x-code'?: string | undefined;
102
+ }, {
103
+ 'x-tenant': string;
104
+ authorization: string;
105
+ 'x-code'?: string | undefined;
106
+ 'x-client-timezone'?: string | undefined;
107
+ }>>>;
108
+ };
109
+ createPresenceStatus: {
110
+ 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."]>;
113
+ position: z.ZodNumber;
114
+ }, "strip", z.ZodTypeAny, {
115
+ position: number;
116
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
117
+ status: string;
118
+ }, {
119
+ position: number;
120
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
121
+ status: string;
122
+ }>;
123
+ summary: "Create a new presence status.";
124
+ method: "POST";
125
+ responses: {
126
+ 201: z.ZodObject<{
127
+ requestId: z.ZodString;
128
+ presenceStatus: z.ZodObject<{
129
+ id: z.ZodString;
130
+ createdAt: z.ZodDate;
131
+ updatedAt: z.ZodDate;
132
+ 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."]>;
135
+ position: z.ZodNumber;
136
+ }, "strip", z.ZodTypeAny, {
137
+ id: string;
138
+ position: number;
139
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
140
+ status: string;
141
+ createdAt: Date;
142
+ updatedAt: Date;
143
+ deletedAt: Date | null;
144
+ }, {
145
+ id: string;
146
+ position: number;
147
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
148
+ status: string;
149
+ createdAt: Date;
150
+ updatedAt: Date;
151
+ deletedAt: Date | null;
152
+ }>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ requestId: string;
155
+ presenceStatus: {
156
+ id: string;
157
+ position: number;
158
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
159
+ status: string;
160
+ createdAt: Date;
161
+ updatedAt: Date;
162
+ deletedAt: Date | null;
163
+ };
164
+ }, {
165
+ requestId: string;
166
+ presenceStatus: {
167
+ id: string;
168
+ position: number;
169
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
170
+ status: string;
171
+ createdAt: Date;
172
+ updatedAt: Date;
173
+ deletedAt: Date | null;
174
+ };
175
+ }>;
176
+ 400: z.ZodObject<{
177
+ message: z.ZodString;
178
+ }, "strip", z.ZodTypeAny, {
179
+ message: string;
180
+ }, {
181
+ message: string;
182
+ }>;
183
+ 401: z.ZodObject<{
184
+ message: z.ZodString;
185
+ error: z.ZodAny;
186
+ }, "strip", z.ZodTypeAny, {
187
+ message: string;
188
+ error?: any;
189
+ }, {
190
+ message: string;
191
+ error?: any;
192
+ }>;
193
+ 404: z.ZodObject<{
194
+ message: z.ZodString;
195
+ error: z.ZodAny;
196
+ }, "strip", z.ZodTypeAny, {
197
+ message: string;
198
+ error?: any;
199
+ }, {
200
+ message: string;
201
+ error?: any;
202
+ }>;
203
+ 422: z.ZodObject<{
204
+ message: z.ZodString;
205
+ error: z.ZodAny;
206
+ }, "strip", z.ZodTypeAny, {
207
+ message: string;
208
+ error?: any;
209
+ }, {
210
+ message: string;
211
+ error?: any;
212
+ }>;
213
+ 500: z.ZodObject<{
214
+ message: z.ZodString;
215
+ error: z.ZodAny;
216
+ }, "strip", z.ZodTypeAny, {
217
+ message: string;
218
+ error?: any;
219
+ }, {
220
+ message: string;
221
+ error?: any;
222
+ }>;
223
+ };
224
+ path: "presence_status";
225
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
226
+ 'x-tenant': z.ZodString;
227
+ authorization: z.ZodString;
228
+ 'x-code': z.ZodOptional<z.ZodString>;
229
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
230
+ }, "strip", z.ZodTypeAny, {
231
+ 'x-tenant': string;
232
+ authorization: string;
233
+ 'x-client-timezone': string;
234
+ 'x-code'?: string | undefined;
235
+ }, {
236
+ 'x-tenant': string;
237
+ authorization: string;
238
+ 'x-code'?: string | undefined;
239
+ 'x-client-timezone'?: string | undefined;
240
+ }>>>;
241
+ };
242
+ getPresenceStatusById: {
243
+ summary: "Get presence status by id";
244
+ method: "GET";
245
+ pathParams: z.ZodObject<{
246
+ id: z.ZodString;
247
+ }, "strip", z.ZodTypeAny, {
248
+ id: string;
249
+ }, {
250
+ id: string;
251
+ }>;
252
+ responses: {
253
+ 200: z.ZodObject<{
254
+ id: z.ZodString;
255
+ createdAt: z.ZodDate;
256
+ updatedAt: z.ZodDate;
257
+ 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."]>;
260
+ position: z.ZodNumber;
261
+ }, "strip", z.ZodTypeAny, {
262
+ id: string;
263
+ position: number;
264
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
265
+ status: string;
266
+ createdAt: Date;
267
+ updatedAt: Date;
268
+ deletedAt: Date | null;
269
+ }, {
270
+ id: string;
271
+ position: number;
272
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
273
+ status: string;
274
+ createdAt: Date;
275
+ updatedAt: Date;
276
+ deletedAt: Date | null;
277
+ }>;
278
+ 400: z.ZodObject<{
279
+ message: z.ZodString;
280
+ }, "strip", z.ZodTypeAny, {
281
+ message: string;
282
+ }, {
283
+ message: string;
284
+ }>;
285
+ 401: z.ZodObject<{
286
+ message: z.ZodString;
287
+ error: z.ZodAny;
288
+ }, "strip", z.ZodTypeAny, {
289
+ message: string;
290
+ error?: any;
291
+ }, {
292
+ message: string;
293
+ error?: any;
294
+ }>;
295
+ 404: z.ZodObject<{
296
+ message: z.ZodString;
297
+ error: z.ZodAny;
298
+ }, "strip", z.ZodTypeAny, {
299
+ message: string;
300
+ error?: any;
301
+ }, {
302
+ message: string;
303
+ error?: any;
304
+ }>;
305
+ 422: z.ZodObject<{
306
+ message: z.ZodString;
307
+ error: z.ZodAny;
308
+ }, "strip", z.ZodTypeAny, {
309
+ message: string;
310
+ error?: any;
311
+ }, {
312
+ message: string;
313
+ error?: any;
314
+ }>;
315
+ 500: z.ZodObject<{
316
+ message: z.ZodString;
317
+ error: z.ZodAny;
318
+ }, "strip", z.ZodTypeAny, {
319
+ message: string;
320
+ error?: any;
321
+ }, {
322
+ message: string;
323
+ error?: any;
324
+ }>;
325
+ };
326
+ path: "presence_status/:id";
327
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
328
+ 'x-tenant': z.ZodString;
329
+ authorization: z.ZodString;
330
+ 'x-code': z.ZodOptional<z.ZodString>;
331
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ 'x-tenant': string;
334
+ authorization: string;
335
+ 'x-client-timezone': string;
336
+ 'x-code'?: string | undefined;
337
+ }, {
338
+ 'x-tenant': string;
339
+ authorization: string;
340
+ 'x-code'?: string | undefined;
341
+ 'x-client-timezone'?: string | undefined;
342
+ }>>>;
343
+ };
344
+ updatePresenceStatus: {
345
+ 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."]>;
348
+ position: z.ZodNumber;
349
+ }, "strip", z.ZodTypeAny, {
350
+ position: number;
351
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
352
+ status: string;
353
+ }, {
354
+ position: number;
355
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
356
+ status: string;
357
+ }>;
358
+ summary: "Update a presence status.";
359
+ method: "PATCH";
360
+ pathParams: z.ZodObject<{
361
+ id: z.ZodString;
362
+ }, "strip", z.ZodTypeAny, {
363
+ id: string;
364
+ }, {
365
+ id: string;
366
+ }>;
367
+ responses: {
368
+ 201: z.ZodObject<{
369
+ requestId: z.ZodString;
370
+ presenceStatus: z.ZodObject<{
371
+ id: z.ZodString;
372
+ createdAt: z.ZodDate;
373
+ updatedAt: z.ZodDate;
374
+ 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."]>;
377
+ position: z.ZodNumber;
378
+ }, "strip", z.ZodTypeAny, {
379
+ id: string;
380
+ position: number;
381
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
382
+ status: string;
383
+ createdAt: Date;
384
+ updatedAt: Date;
385
+ deletedAt: Date | null;
386
+ }, {
387
+ id: string;
388
+ position: number;
389
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
390
+ status: string;
391
+ createdAt: Date;
392
+ updatedAt: Date;
393
+ deletedAt: Date | null;
394
+ }>;
395
+ }, "strip", z.ZodTypeAny, {
396
+ requestId: string;
397
+ presenceStatus: {
398
+ id: string;
399
+ position: number;
400
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
401
+ status: string;
402
+ createdAt: Date;
403
+ updatedAt: Date;
404
+ deletedAt: Date | null;
405
+ };
406
+ }, {
407
+ requestId: string;
408
+ presenceStatus: {
409
+ id: string;
410
+ position: number;
411
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
412
+ status: string;
413
+ createdAt: Date;
414
+ updatedAt: Date;
415
+ deletedAt: Date | null;
416
+ };
417
+ }>;
418
+ 400: z.ZodObject<{
419
+ message: z.ZodString;
420
+ }, "strip", z.ZodTypeAny, {
421
+ message: string;
422
+ }, {
423
+ message: string;
424
+ }>;
425
+ 401: z.ZodObject<{
426
+ message: z.ZodString;
427
+ error: z.ZodAny;
428
+ }, "strip", z.ZodTypeAny, {
429
+ message: string;
430
+ error?: any;
431
+ }, {
432
+ message: string;
433
+ error?: any;
434
+ }>;
435
+ 404: z.ZodObject<{
436
+ message: z.ZodString;
437
+ error: z.ZodAny;
438
+ }, "strip", z.ZodTypeAny, {
439
+ message: string;
440
+ error?: any;
441
+ }, {
442
+ message: string;
443
+ error?: any;
444
+ }>;
445
+ 422: z.ZodObject<{
446
+ message: z.ZodString;
447
+ error: z.ZodAny;
448
+ }, "strip", z.ZodTypeAny, {
449
+ message: string;
450
+ error?: any;
451
+ }, {
452
+ message: string;
453
+ error?: any;
454
+ }>;
455
+ 500: z.ZodObject<{
456
+ message: z.ZodString;
457
+ error: z.ZodAny;
458
+ }, "strip", z.ZodTypeAny, {
459
+ message: string;
460
+ error?: any;
461
+ }, {
462
+ message: string;
463
+ error?: any;
464
+ }>;
465
+ };
466
+ path: "presence_status/:id";
467
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
468
+ 'x-tenant': z.ZodString;
469
+ authorization: z.ZodString;
470
+ 'x-code': z.ZodOptional<z.ZodString>;
471
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
472
+ }, "strip", z.ZodTypeAny, {
473
+ 'x-tenant': string;
474
+ authorization: string;
475
+ 'x-client-timezone': string;
476
+ 'x-code'?: string | undefined;
477
+ }, {
478
+ 'x-tenant': string;
479
+ authorization: string;
480
+ 'x-code'?: string | undefined;
481
+ 'x-client-timezone'?: string | undefined;
482
+ }>>>;
483
+ };
484
+ deletePresenceStatus: {
485
+ body: null;
486
+ summary: "Delete a presence status.";
487
+ method: "DELETE";
488
+ pathParams: z.ZodObject<{
489
+ id: z.ZodString;
490
+ }, "strip", z.ZodTypeAny, {
491
+ id: string;
492
+ }, {
493
+ id: string;
494
+ }>;
495
+ responses: {
496
+ 200: z.ZodObject<{
497
+ requestId: z.ZodString;
498
+ message: z.ZodString;
499
+ }, "strip", z.ZodTypeAny, {
500
+ message: string;
501
+ requestId: string;
502
+ }, {
503
+ message: string;
504
+ requestId: string;
505
+ }>;
506
+ 404: z.ZodObject<{
507
+ message: z.ZodString;
508
+ error: z.ZodAny;
509
+ }, "strip", z.ZodTypeAny, {
510
+ message: string;
511
+ error?: any;
512
+ }, {
513
+ message: string;
514
+ error?: any;
515
+ }>;
516
+ 422: z.ZodObject<{
517
+ message: z.ZodString;
518
+ error: z.ZodAny;
519
+ }, "strip", z.ZodTypeAny, {
520
+ message: string;
521
+ error?: any;
522
+ }, {
523
+ message: string;
524
+ error?: any;
525
+ }>;
526
+ 500: z.ZodObject<{
527
+ message: z.ZodString;
528
+ error: z.ZodAny;
529
+ }, "strip", z.ZodTypeAny, {
530
+ message: string;
531
+ error?: any;
532
+ }, {
533
+ message: string;
534
+ error?: any;
535
+ }>;
536
+ };
537
+ path: "presence_status/:id";
538
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
539
+ 'x-tenant': z.ZodString;
540
+ authorization: z.ZodString;
541
+ 'x-code': z.ZodOptional<z.ZodString>;
542
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
543
+ }, "strip", z.ZodTypeAny, {
544
+ 'x-tenant': string;
545
+ authorization: string;
546
+ 'x-client-timezone': string;
547
+ 'x-code'?: string | undefined;
548
+ }, {
549
+ 'x-tenant': string;
550
+ authorization: string;
551
+ 'x-code'?: string | undefined;
552
+ 'x-client-timezone'?: string | undefined;
553
+ }>>>;
554
+ };
555
+ };
556
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FlC,CAAC"}
@@ -0,0 +1,31 @@
1
+ import z from 'zod';
2
+ /**
3
+ * Channel Types Enum
4
+ */
5
+ export declare const PresenceStatusDesEnum: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
6
+ export declare const PresenceStatusSchema: z.ZodObject<{
7
+ id: z.ZodString;
8
+ createdAt: z.ZodDate;
9
+ updatedAt: z.ZodDate;
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."]>;
13
+ position: z.ZodNumber;
14
+ }, "strip", z.ZodTypeAny, {
15
+ id: string;
16
+ position: number;
17
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
18
+ status: string;
19
+ createdAt: Date;
20
+ updatedAt: Date;
21
+ deletedAt: Date | null;
22
+ }, {
23
+ id: string;
24
+ position: number;
25
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
26
+ status: string;
27
+ createdAt: Date;
28
+ updatedAt: Date;
29
+ deletedAt: Date | null;
30
+ }>;
31
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
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."]>;
5
+ position: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ position: number;
8
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
9
+ status: string;
10
+ }, {
11
+ position: number;
12
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
13
+ status: string;
14
+ }>;
15
+ 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."]>;
18
+ position: z.ZodNumber;
19
+ }, "strip", z.ZodTypeAny, {
20
+ position: number;
21
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
22
+ status: string;
23
+ }, {
24
+ position: number;
25
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
26
+ status: string;
27
+ }>;
28
+ //# sourceMappingURL=validation.d.ts.map
@@ -0,0 +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"}