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