@kl1/contracts 1.1.51 → 1.1.52
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.
- package/dist/api-contracts/src/channel/index.d.ts +811 -0
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +8 -0
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +5 -0
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +230 -0
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +60 -24
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +79 -0
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +2230 -0
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +11 -0
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +9 -0
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +106 -0
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +7 -0
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +5 -0
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +83 -0
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +75 -0
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +9 -0
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +186 -0
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/schema.d.ts +230 -1
- package/dist/api-contracts/src/messenger/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +42 -0
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +16 -0
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +61 -0
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +61 -0
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +40 -0
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +18 -0
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/index.js +2224 -2154
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2224 -2154
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +0 -315
- package/dist/api-contracts/src/hold-label/index.d.ts.map +0 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +0 -24
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +0 -1
- package/dist/api-contracts/src/hold-label/validation.d.ts +0 -24
- package/dist/api-contracts/src/hold-label/validation.d.ts.map +0 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +0 -556
- package/dist/api-contracts/src/presence-status/index.d.ts.map +0 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +0 -31
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +0 -1
- package/dist/api-contracts/src/presence-status/validation.d.ts +0 -28
- package/dist/api-contracts/src/presence-status/validation.d.ts.map +0 -1
- package/dist/api-contracts/src/subscription/index.d.ts +0 -1900
- package/dist/api-contracts/src/subscription/index.d.ts.map +0 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +0 -2059
- package/dist/api-contracts/src/subscription/schema.d.ts.map +0 -1
- package/dist/api-contracts/src/subscription/validation.d.ts +0 -37
- package/dist/api-contracts/src/subscription/validation.d.ts.map +0 -1
@@ -1,556 +0,0 @@
|
|
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
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1,31 +0,0 @@
|
|
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
|
@@ -1 +0,0 @@
|
|
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,28 +0,0 @@
|
|
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
|
@@ -1 +0,0 @@
|
|
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"}
|