@kl1/contracts 1.2.87-uat → 1.2.89-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) 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 +3 -3
  3. package/dist/api-contracts/src/attribute/index.d.ts +7 -7
  4. package/dist/api-contracts/src/auth/index.d.ts +4 -4
  5. package/dist/api-contracts/src/automation-queue/index.d.ts +40 -37
  6. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/automation-queue/schema.d.ts +6 -6
  8. package/dist/api-contracts/src/aws/index.d.ts +2 -2
  9. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  10. package/dist/api-contracts/src/business-calendar/index.d.ts +4 -4
  11. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/category/index.d.ts +7 -7
  13. package/dist/api-contracts/src/channel/index.d.ts +4760 -3019
  14. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/channel/schema.d.ts +36 -0
  16. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/channel/validation.d.ts +23 -0
  18. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  19. package/dist/api-contracts/src/chat/index.d.ts +2458 -2091
  20. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/chat/schema.d.ts +572 -493
  22. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  23. package/dist/api-contracts/src/chat/validation.d.ts +517 -406
  24. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  25. package/dist/api-contracts/src/comment/index.d.ts +401 -401
  26. package/dist/api-contracts/src/comment/schema.d.ts +103 -103
  27. package/dist/api-contracts/src/contract.d.ts +41943 -35516
  28. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  29. package/dist/api-contracts/src/cx-log/index.d.ts +99 -88
  30. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  31. package/dist/api-contracts/src/cx-log/schema.d.ts +113 -104
  32. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  33. package/dist/api-contracts/src/dashboard/index.d.ts +750 -49
  34. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/dashboard/schema.d.ts +164 -9
  36. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  37. package/dist/api-contracts/src/dashboard/validation.d.ts +30 -1
  38. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  39. package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -1
  40. package/dist/api-contracts/src/extension/index.d.ts +7 -7
  41. package/dist/api-contracts/src/facebook-feed/index.d.ts +403 -281
  42. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/facebook-feed/schema.d.ts +13 -6
  44. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  45. package/dist/api-contracts/src/facebook-feed/validation.d.ts +5 -0
  46. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  47. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  48. package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
  49. package/dist/api-contracts/src/instagram/index.d.ts +370 -271
  50. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/line/index.d.ts +369 -278
  52. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/line/validation.d.ts +14 -5
  54. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  55. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
  56. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  57. package/dist/api-contracts/src/mail/mail-contract.d.ts +240 -240
  58. package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
  59. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
  60. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
  61. package/dist/api-contracts/src/messenger/index.d.ts +370 -271
  62. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  63. package/dist/api-contracts/src/messenger/validation.d.ts +5 -0
  64. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  65. package/dist/api-contracts/src/notification/index.d.ts +13 -13
  66. package/dist/api-contracts/src/notification/schema.d.ts +9 -9
  67. package/dist/api-contracts/src/notification/validation.d.ts +3 -3
  68. package/dist/api-contracts/src/permission/index.d.ts +1 -1
  69. package/dist/api-contracts/src/presence-status/index.d.ts +127 -55
  70. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/presence-status/schema.d.ts +16 -10
  72. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  73. package/dist/api-contracts/src/presence-status/validation.d.ts +30 -12
  74. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  75. package/dist/api-contracts/src/role/index.d.ts +5 -5
  76. package/dist/api-contracts/src/sms/index.d.ts +42 -5
  77. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/snippet/index.d.ts +8 -8
  79. package/dist/api-contracts/src/subscription/index.d.ts +5 -5
  80. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  81. package/dist/api-contracts/src/tag/index.d.ts +4 -4
  82. package/dist/api-contracts/src/telegram/index.d.ts +348 -271
  83. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +68 -447
  85. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  86. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +28 -16
  87. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  88. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  89. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  90. package/dist/api-contracts/src/telephony-cdr/index.d.ts +44 -44
  91. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +18 -18
  92. package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
  93. package/dist/api-contracts/src/ticket/index.d.ts +709 -709
  94. package/dist/api-contracts/src/ticket/schema.d.ts +53 -53
  95. package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
  96. package/dist/api-contracts/src/upload/index.d.ts +2 -2
  97. package/dist/api-contracts/src/user/index.d.ts +148 -18
  98. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  99. package/dist/api-contracts/src/user/schema.d.ts +38 -1
  100. package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
  101. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +42 -18
  102. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  103. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +53 -23
  104. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  105. package/dist/api-contracts/src/viber/index.d.ts +348 -271
  106. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  107. package/dist/api-contracts/src/webchat/index.d.ts +353 -276
  108. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  109. package/dist/api-contracts/src/whatsapp/index.d.ts +365 -272
  110. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  111. package/dist/api-contracts/src/widget/index.d.ts +822 -48
  112. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  113. package/dist/api-contracts/src/widget/schema.d.ts +98 -4
  114. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  115. package/dist/api-contracts/src/widget/validation.d.ts +171 -12
  116. package/dist/api-contracts/src/widget/validation.d.ts.map +1 -1
  117. package/dist/api-contracts/src/workflow-rule/index.d.ts +331 -285
  118. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  119. package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
  120. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
  121. package/dist/entities/src/enums/chat.d.ts +12 -0
  122. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  123. package/dist/index.js +2086 -1753
  124. package/dist/index.js.map +1 -1
  125. package/dist/index.mjs +2086 -1753
  126. package/dist/index.mjs.map +1 -1
  127. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import z from 'zod';
2
- import { PresenceStatusDesEnum, PresenceStatusSchema } from './schema';
2
+ import { PresenceStatusSchema, TPresenceStatusOption } 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 PresenceStatusOption = z.infer<typeof TPresenceStatusOption>;
8
8
  export declare const presenceStatusContract: {
9
9
  getAllStatus: {
10
10
  summary: "Get all presence status list.";
@@ -17,46 +17,61 @@ 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
+ systemName: z.ZodString;
21
+ displayName: z.ZodString;
22
+ description: z.ZodNullable<z.ZodString>;
22
23
  position: z.ZodNumber;
24
+ emoji: z.ZodNullable<z.ZodString>;
25
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
23
26
  }, "strip", z.ZodTypeAny, {
27
+ emoji: string | null;
24
28
  id: string;
25
29
  position: number;
26
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
27
- status: string;
30
+ description: string | null;
28
31
  createdAt: Date;
29
32
  updatedAt: Date;
30
33
  deletedAt: Date | null;
34
+ systemName: string;
35
+ displayName: string;
36
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
31
37
  }, {
38
+ emoji: string | null;
32
39
  id: string;
33
40
  position: number;
34
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
35
- status: string;
41
+ description: string | null;
36
42
  createdAt: Date;
37
43
  updatedAt: Date;
38
44
  deletedAt: Date | null;
45
+ systemName: string;
46
+ displayName: string;
47
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
39
48
  }>, "many">;
40
49
  }, "strip", z.ZodTypeAny, {
41
50
  data: {
51
+ emoji: string | null;
42
52
  id: string;
43
53
  position: number;
44
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
45
- status: string;
54
+ description: string | null;
46
55
  createdAt: Date;
47
56
  updatedAt: Date;
48
57
  deletedAt: Date | null;
58
+ systemName: string;
59
+ displayName: string;
60
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
49
61
  }[];
50
62
  total: number;
51
63
  }, {
52
64
  data: {
65
+ emoji: string | null;
53
66
  id: string;
54
67
  position: number;
55
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
56
- status: string;
68
+ description: string | null;
57
69
  createdAt: Date;
58
70
  updatedAt: Date;
59
71
  deletedAt: Date | null;
72
+ systemName: string;
73
+ displayName: string;
74
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
60
75
  }[];
61
76
  total: number;
62
77
  }>;
@@ -88,7 +103,7 @@ export declare const presenceStatusContract: {
88
103
  error?: any;
89
104
  }>;
90
105
  };
91
- path: "presence_status";
106
+ path: "ms/presence_status";
92
107
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
93
108
  'x-tenant': z.ZodString;
94
109
  'x-service-token': z.ZodString;
@@ -108,17 +123,26 @@ export declare const presenceStatusContract: {
108
123
  };
109
124
  createPresenceStatus: {
110
125
  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."]>;
126
+ systemName: z.ZodString;
127
+ displayName: z.ZodString;
128
+ description: z.ZodOptional<z.ZodString>;
113
129
  position: z.ZodNumber;
130
+ emoji: z.ZodString;
131
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
114
132
  }, "strip", z.ZodTypeAny, {
133
+ emoji: string;
115
134
  position: number;
116
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
117
- status: string;
135
+ systemName: string;
136
+ displayName: string;
137
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
138
+ description?: string | undefined;
118
139
  }, {
140
+ emoji: string;
119
141
  position: number;
120
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
121
- status: string;
142
+ systemName: string;
143
+ displayName: string;
144
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
145
+ description?: string | undefined;
122
146
  }>;
123
147
  summary: "Create a new presence status.";
124
148
  method: "POST";
@@ -130,47 +154,62 @@ export declare const presenceStatusContract: {
130
154
  createdAt: z.ZodDate;
131
155
  updatedAt: z.ZodDate;
132
156
  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."]>;
157
+ systemName: z.ZodString;
158
+ displayName: z.ZodString;
159
+ description: z.ZodNullable<z.ZodString>;
135
160
  position: z.ZodNumber;
161
+ emoji: z.ZodNullable<z.ZodString>;
162
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
136
163
  }, "strip", z.ZodTypeAny, {
164
+ emoji: string | null;
137
165
  id: string;
138
166
  position: number;
139
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
140
- status: string;
167
+ description: string | null;
141
168
  createdAt: Date;
142
169
  updatedAt: Date;
143
170
  deletedAt: Date | null;
171
+ systemName: string;
172
+ displayName: string;
173
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
144
174
  }, {
175
+ emoji: string | null;
145
176
  id: string;
146
177
  position: number;
147
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
148
- status: string;
178
+ description: string | null;
149
179
  createdAt: Date;
150
180
  updatedAt: Date;
151
181
  deletedAt: Date | null;
182
+ systemName: string;
183
+ displayName: string;
184
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
152
185
  }>;
153
186
  }, "strip", z.ZodTypeAny, {
154
187
  requestId: string;
155
188
  presenceStatus: {
189
+ emoji: string | null;
156
190
  id: string;
157
191
  position: number;
158
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
159
- status: string;
192
+ description: string | null;
160
193
  createdAt: Date;
161
194
  updatedAt: Date;
162
195
  deletedAt: Date | null;
196
+ systemName: string;
197
+ displayName: string;
198
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
163
199
  };
164
200
  }, {
165
201
  requestId: string;
166
202
  presenceStatus: {
203
+ emoji: string | null;
167
204
  id: string;
168
205
  position: number;
169
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
170
- status: string;
206
+ description: string | null;
171
207
  createdAt: Date;
172
208
  updatedAt: Date;
173
209
  deletedAt: Date | null;
210
+ systemName: string;
211
+ displayName: string;
212
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
174
213
  };
175
214
  }>;
176
215
  400: z.ZodObject<{
@@ -221,7 +260,7 @@ export declare const presenceStatusContract: {
221
260
  error?: any;
222
261
  }>;
223
262
  };
224
- path: "presence_status";
263
+ path: "ms/presence_status";
225
264
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
226
265
  'x-tenant': z.ZodString;
227
266
  'x-service-token': z.ZodString;
@@ -255,25 +294,34 @@ export declare const presenceStatusContract: {
255
294
  createdAt: z.ZodDate;
256
295
  updatedAt: z.ZodDate;
257
296
  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."]>;
297
+ systemName: z.ZodString;
298
+ displayName: z.ZodString;
299
+ description: z.ZodNullable<z.ZodString>;
260
300
  position: z.ZodNumber;
301
+ emoji: z.ZodNullable<z.ZodString>;
302
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
261
303
  }, "strip", z.ZodTypeAny, {
304
+ emoji: string | null;
262
305
  id: string;
263
306
  position: number;
264
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
265
- status: string;
307
+ description: string | null;
266
308
  createdAt: Date;
267
309
  updatedAt: Date;
268
310
  deletedAt: Date | null;
311
+ systemName: string;
312
+ displayName: string;
313
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
269
314
  }, {
315
+ emoji: string | null;
270
316
  id: string;
271
317
  position: number;
272
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
273
- status: string;
318
+ description: string | null;
274
319
  createdAt: Date;
275
320
  updatedAt: Date;
276
321
  deletedAt: Date | null;
322
+ systemName: string;
323
+ displayName: string;
324
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
277
325
  }>;
278
326
  400: z.ZodObject<{
279
327
  message: z.ZodString;
@@ -323,7 +371,7 @@ export declare const presenceStatusContract: {
323
371
  error?: any;
324
372
  }>;
325
373
  };
326
- path: "presence_status/:id";
374
+ path: "ms/presence_status/:id";
327
375
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
328
376
  'x-tenant': z.ZodString;
329
377
  'x-service-token': z.ZodString;
@@ -343,17 +391,26 @@ export declare const presenceStatusContract: {
343
391
  };
344
392
  updatePresenceStatus: {
345
393
  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."]>;
394
+ systemName: z.ZodString;
395
+ displayName: z.ZodString;
396
+ description: z.ZodOptional<z.ZodString>;
348
397
  position: z.ZodNumber;
398
+ emoji: z.ZodString;
399
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
349
400
  }, "strip", z.ZodTypeAny, {
401
+ emoji: string;
350
402
  position: number;
351
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
352
- status: string;
403
+ systemName: string;
404
+ displayName: string;
405
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
406
+ description?: string | undefined;
353
407
  }, {
408
+ emoji: string;
354
409
  position: number;
355
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
356
- status: string;
410
+ systemName: string;
411
+ displayName: string;
412
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
413
+ description?: string | undefined;
357
414
  }>;
358
415
  summary: "Update a presence status.";
359
416
  method: "PATCH";
@@ -372,47 +429,62 @@ export declare const presenceStatusContract: {
372
429
  createdAt: z.ZodDate;
373
430
  updatedAt: z.ZodDate;
374
431
  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."]>;
432
+ systemName: z.ZodString;
433
+ displayName: z.ZodString;
434
+ description: z.ZodNullable<z.ZodString>;
377
435
  position: z.ZodNumber;
436
+ emoji: z.ZodNullable<z.ZodString>;
437
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
378
438
  }, "strip", z.ZodTypeAny, {
439
+ emoji: string | null;
379
440
  id: string;
380
441
  position: number;
381
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
382
- status: string;
442
+ description: string | null;
383
443
  createdAt: Date;
384
444
  updatedAt: Date;
385
445
  deletedAt: Date | null;
446
+ systemName: string;
447
+ displayName: string;
448
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
386
449
  }, {
450
+ emoji: string | null;
387
451
  id: string;
388
452
  position: number;
389
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
390
- status: string;
453
+ description: string | null;
391
454
  createdAt: Date;
392
455
  updatedAt: Date;
393
456
  deletedAt: Date | null;
457
+ systemName: string;
458
+ displayName: string;
459
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
394
460
  }>;
395
461
  }, "strip", z.ZodTypeAny, {
396
462
  requestId: string;
397
463
  presenceStatus: {
464
+ emoji: string | null;
398
465
  id: string;
399
466
  position: number;
400
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
401
- status: string;
467
+ description: string | null;
402
468
  createdAt: Date;
403
469
  updatedAt: Date;
404
470
  deletedAt: Date | null;
471
+ systemName: string;
472
+ displayName: string;
473
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
405
474
  };
406
475
  }, {
407
476
  requestId: string;
408
477
  presenceStatus: {
478
+ emoji: string | null;
409
479
  id: string;
410
480
  position: number;
411
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
412
- status: string;
481
+ description: string | null;
413
482
  createdAt: Date;
414
483
  updatedAt: Date;
415
484
  deletedAt: Date | null;
485
+ systemName: string;
486
+ displayName: string;
487
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
416
488
  };
417
489
  }>;
418
490
  400: z.ZodObject<{
@@ -463,7 +535,7 @@ export declare const presenceStatusContract: {
463
535
  error?: any;
464
536
  }>;
465
537
  };
466
- path: "presence_status/:id";
538
+ path: "ms/presence_status/:id";
467
539
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
468
540
  'x-tenant': z.ZodString;
469
541
  'x-service-token': z.ZodString;
@@ -534,7 +606,7 @@ export declare const presenceStatusContract: {
534
606
  error?: any;
535
607
  }>;
536
608
  };
537
- path: "presence_status/:id";
609
+ path: "ms/presence_status/:id";
538
610
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
539
611
  'x-tenant': z.ZodString;
540
612
  'x-service-token': z.ZodString;
@@ -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,EAA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;;;;;;;;;;;;;;;;CA+FlC,CAAC"}
@@ -1,31 +1,37 @@
1
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."]>;
2
+ export declare const TPresenceStatusOption: z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>;
6
3
  export declare const PresenceStatusSchema: z.ZodObject<{
7
4
  id: z.ZodString;
8
5
  createdAt: z.ZodDate;
9
6
  updatedAt: z.ZodDate;
10
7
  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."]>;
8
+ systemName: z.ZodString;
9
+ displayName: z.ZodString;
10
+ description: z.ZodNullable<z.ZodString>;
13
11
  position: z.ZodNumber;
12
+ emoji: z.ZodNullable<z.ZodString>;
13
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
14
14
  }, "strip", z.ZodTypeAny, {
15
+ emoji: string | null;
15
16
  id: string;
16
17
  position: number;
17
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
18
- status: string;
18
+ description: string | null;
19
19
  createdAt: Date;
20
20
  updatedAt: Date;
21
21
  deletedAt: Date | null;
22
+ systemName: string;
23
+ displayName: string;
24
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
22
25
  }, {
26
+ emoji: string | null;
23
27
  id: string;
24
28
  position: number;
25
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
26
- status: string;
29
+ description: string | null;
27
30
  createdAt: Date;
28
31
  updatedAt: Date;
29
32
  deletedAt: Date | null;
33
+ systemName: string;
34
+ displayName: string;
35
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
30
36
  }>;
31
37
  //# 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,eAAO,MAAM,qBAAqB,oKAKhC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW/B,CAAC"}
@@ -1,28 +1,46 @@
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
+ systemName: z.ZodString;
4
+ displayName: z.ZodString;
5
+ description: z.ZodOptional<z.ZodString>;
5
6
  position: z.ZodNumber;
7
+ emoji: z.ZodString;
8
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
6
9
  }, "strip", z.ZodTypeAny, {
10
+ emoji: string;
7
11
  position: number;
8
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
9
- status: string;
12
+ systemName: string;
13
+ displayName: string;
14
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
15
+ description?: string | undefined;
10
16
  }, {
17
+ emoji: string;
11
18
  position: number;
12
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
13
- status: string;
19
+ systemName: string;
20
+ displayName: string;
21
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
22
+ description?: string | undefined;
14
23
  }>;
15
24
  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."]>;
25
+ systemName: z.ZodString;
26
+ displayName: z.ZodString;
27
+ description: z.ZodOptional<z.ZodString>;
18
28
  position: z.ZodNumber;
29
+ emoji: z.ZodString;
30
+ presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
19
31
  }, "strip", z.ZodTypeAny, {
32
+ emoji: string;
20
33
  position: number;
21
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
22
- status: string;
34
+ systemName: string;
35
+ displayName: string;
36
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37
+ description?: string | undefined;
23
38
  }, {
39
+ emoji: string;
24
40
  position: number;
25
- description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
26
- status: string;
41
+ systemName: string;
42
+ displayName: string;
43
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
44
+ description?: string | undefined;
27
45
  }>;
28
46
  //# 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;;;;;;;;;;;;;;;;;;;;;EAOrC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAC"}
@@ -162,7 +162,7 @@ export declare const roleContract: {
162
162
  error?: any;
163
163
  }>;
164
164
  };
165
- path: "role";
165
+ path: "ms/role";
166
166
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
167
167
  'x-tenant': z.ZodString;
168
168
  'x-service-token': z.ZodString;
@@ -332,7 +332,7 @@ export declare const roleContract: {
332
332
  error?: any;
333
333
  }>;
334
334
  };
335
- path: "role";
335
+ path: "ms/role";
336
336
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
337
337
  'x-tenant': z.ZodString;
338
338
  'x-service-token': z.ZodString;
@@ -516,7 +516,7 @@ export declare const roleContract: {
516
516
  error?: any;
517
517
  }>;
518
518
  };
519
- path: "role/:id";
519
+ path: "ms/role/:id";
520
520
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
521
521
  'x-tenant': z.ZodString;
522
522
  'x-service-token': z.ZodString;
@@ -567,7 +567,7 @@ export declare const roleContract: {
567
567
  error?: any;
568
568
  }>;
569
569
  };
570
- path: "role/:id";
570
+ path: "ms/role/:id";
571
571
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
572
572
  'x-tenant': z.ZodString;
573
573
  'x-service-token': z.ZodString;
@@ -692,7 +692,7 @@ export declare const roleContract: {
692
692
  error?: any;
693
693
  }>;
694
694
  };
695
- path: "role/:id";
695
+ path: "ms/role/:id";
696
696
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
697
697
  'x-tenant': z.ZodString;
698
698
  'x-service-token': z.ZodString;