@kl1/contracts 1.0.11 → 1.0.12
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/index.js +747 -607
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +746 -607
- package/dist/index.mjs.map +1 -1
- package/dist/src/category/index.d.ts +3 -3
- package/dist/src/chat/index.d.ts +15806 -6953
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +4400 -467
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +5135 -495
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/company/schema.d.ts +9 -9
- package/dist/src/contact/index.d.ts +170 -42
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contact/schema.d.ts +107 -15
- package/dist/src/contact/schema.d.ts.map +1 -1
- package/dist/src/contact/validation.d.ts +63 -15
- package/dist/src/contact/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +35440 -19287
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/extension/index.d.ts +12 -12
- package/dist/src/extension/schema.d.ts.map +1 -1
- package/dist/src/extension/validation.d.ts +6 -6
- package/dist/src/mail/mail-contract.d.ts +6 -6
- package/dist/src/mail/room-contract.d.ts +6 -6
- package/dist/src/mail/schemas/room-validation.schema.d.ts +6 -6
- package/dist/src/messenger/index.d.ts +5287 -647
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/permission/schema.d.ts.map +1 -1
- package/dist/src/role/index.d.ts +3 -3
- package/dist/src/role/schema.d.ts.map +1 -1
- package/dist/src/telephony-agent-presence-status/index.d.ts +17 -17
- package/dist/src/telephony-agent-presence-status/schema.d.ts +3 -3
- package/dist/src/telephony-agent-presence-status/validation.d.ts +6 -6
- package/dist/src/user/index.d.ts +9 -9
- package/dist/src/user/schema.d.ts.map +1 -1
- package/dist/src/user/validation.d.ts +6 -6
- package/dist/src/user-presence-status-log/index.d.ts +3 -3
- package/dist/src/widget/index.d.ts +3 -3
- package/dist/src/wrap-up-form/index.d.ts +27 -27
- package/dist/src/wrap-up-form/validation.d.ts +24 -24
- package/dist/utils.d.ts +6 -6
- package/package.json +46 -46
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messenger/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messenger/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAW5B,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/permission/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/permission/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;EAQ3B,CAAC"}
|
package/dist/src/role/index.d.ts
CHANGED
@@ -192,7 +192,7 @@ export declare const roleContract: {
|
|
192
192
|
total: z.ZodNumber;
|
193
193
|
page: z.ZodDefault<z.ZodNumber>;
|
194
194
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
195
|
-
lastPage: z.ZodOptional<z.ZodNumber
|
195
|
+
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
196
196
|
data: z.ZodArray<z.ZodType<{
|
197
197
|
id: string;
|
198
198
|
description: string | null;
|
@@ -250,7 +250,7 @@ export declare const roleContract: {
|
|
250
250
|
total: number;
|
251
251
|
page: number;
|
252
252
|
pageSize: number;
|
253
|
-
lastPage?: number | undefined;
|
253
|
+
lastPage?: number | null | undefined;
|
254
254
|
}, {
|
255
255
|
data: {
|
256
256
|
id: string;
|
@@ -273,7 +273,7 @@ export declare const roleContract: {
|
|
273
273
|
total: number;
|
274
274
|
page?: number | undefined;
|
275
275
|
pageSize?: number | undefined;
|
276
|
-
lastPage?: number | undefined;
|
276
|
+
lastPage?: number | null | undefined;
|
277
277
|
}>;
|
278
278
|
400: z.ZodObject<{
|
279
279
|
message: z.ZodString;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/role/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/role/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASrB,CAAC"}
|
@@ -298,7 +298,7 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
298
298
|
updatedAt: Date;
|
299
299
|
deletedAt: Date | null;
|
300
300
|
}>;
|
301
|
-
customPresenceStatus: z.ZodOptional<z.ZodString
|
301
|
+
customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
302
302
|
}, "strip", z.ZodTypeAny, {
|
303
303
|
id: string;
|
304
304
|
user: {
|
@@ -355,7 +355,7 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
355
355
|
updatedAt: Date;
|
356
356
|
deletedAt: Date | null;
|
357
357
|
};
|
358
|
-
customPresenceStatus?: string | undefined;
|
358
|
+
customPresenceStatus?: string | null | undefined;
|
359
359
|
}, {
|
360
360
|
id: string;
|
361
361
|
user: {
|
@@ -412,7 +412,7 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
412
412
|
updatedAt: Date;
|
413
413
|
deletedAt: Date | null;
|
414
414
|
};
|
415
|
-
customPresenceStatus?: string | undefined;
|
415
|
+
customPresenceStatus?: string | null | undefined;
|
416
416
|
}>, "many">;
|
417
417
|
400: z.ZodObject<{
|
418
418
|
message: z.ZodString;
|
@@ -691,7 +691,7 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
691
691
|
updatedAt: Date;
|
692
692
|
deletedAt: Date | null;
|
693
693
|
}>;
|
694
|
-
customPresenceStatus: z.ZodOptional<z.ZodString
|
694
|
+
customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
695
695
|
}, "strip", z.ZodTypeAny, {
|
696
696
|
id: string;
|
697
697
|
user: {
|
@@ -748,7 +748,7 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
748
748
|
updatedAt: Date;
|
749
749
|
deletedAt: Date | null;
|
750
750
|
};
|
751
|
-
customPresenceStatus?: string | undefined;
|
751
|
+
customPresenceStatus?: string | null | undefined;
|
752
752
|
}, {
|
753
753
|
id: string;
|
754
754
|
user: {
|
@@ -805,7 +805,7 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
805
805
|
updatedAt: Date;
|
806
806
|
deletedAt: Date | null;
|
807
807
|
};
|
808
|
-
customPresenceStatus?: string | undefined;
|
808
|
+
customPresenceStatus?: string | null | undefined;
|
809
809
|
}>;
|
810
810
|
400: z.ZodObject<{
|
811
811
|
message: z.ZodString;
|
@@ -850,19 +850,19 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
850
850
|
updateUserStatus: {
|
851
851
|
body: z.ZodObject<{
|
852
852
|
userId: z.ZodString;
|
853
|
-
presenceStatusId: z.ZodOptional<z.ZodString
|
854
|
-
customPreseneStatus: z.ZodOptional<z.ZodString
|
853
|
+
presenceStatusId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
854
|
+
customPreseneStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
855
855
|
reason: z.ZodString;
|
856
856
|
}, "strip", z.ZodTypeAny, {
|
857
857
|
reason: string;
|
858
858
|
userId: string;
|
859
|
-
presenceStatusId?: string | undefined;
|
860
|
-
customPreseneStatus?: string | undefined;
|
859
|
+
presenceStatusId?: string | null | undefined;
|
860
|
+
customPreseneStatus?: string | null | undefined;
|
861
861
|
}, {
|
862
862
|
reason: string;
|
863
863
|
userId: string;
|
864
|
-
presenceStatusId?: string | undefined;
|
865
|
-
customPreseneStatus?: string | undefined;
|
864
|
+
presenceStatusId?: string | null | undefined;
|
865
|
+
customPreseneStatus?: string | null | undefined;
|
866
866
|
}>;
|
867
867
|
summary: "Update presence status";
|
868
868
|
method: "POST";
|
@@ -1095,7 +1095,7 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
1095
1095
|
updatedAt: Date;
|
1096
1096
|
deletedAt: Date | null;
|
1097
1097
|
}>;
|
1098
|
-
customPresenceStatus: z.ZodOptional<z.ZodString
|
1098
|
+
customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1099
1099
|
}, "strip", z.ZodTypeAny, {
|
1100
1100
|
id: string;
|
1101
1101
|
user: {
|
@@ -1152,7 +1152,7 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
1152
1152
|
updatedAt: Date;
|
1153
1153
|
deletedAt: Date | null;
|
1154
1154
|
};
|
1155
|
-
customPresenceStatus?: string | undefined;
|
1155
|
+
customPresenceStatus?: string | null | undefined;
|
1156
1156
|
}, {
|
1157
1157
|
id: string;
|
1158
1158
|
user: {
|
@@ -1209,7 +1209,7 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
1209
1209
|
updatedAt: Date;
|
1210
1210
|
deletedAt: Date | null;
|
1211
1211
|
};
|
1212
|
-
customPresenceStatus?: string | undefined;
|
1212
|
+
customPresenceStatus?: string | null | undefined;
|
1213
1213
|
}>;
|
1214
1214
|
}, "strip", z.ZodTypeAny, {
|
1215
1215
|
requestId: string;
|
@@ -1269,7 +1269,7 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
1269
1269
|
updatedAt: Date;
|
1270
1270
|
deletedAt: Date | null;
|
1271
1271
|
};
|
1272
|
-
customPresenceStatus?: string | undefined;
|
1272
|
+
customPresenceStatus?: string | null | undefined;
|
1273
1273
|
};
|
1274
1274
|
}, {
|
1275
1275
|
requestId: string;
|
@@ -1329,7 +1329,7 @@ export declare const telephonyAgentPresenceStatusContract: {
|
|
1329
1329
|
updatedAt: Date;
|
1330
1330
|
deletedAt: Date | null;
|
1331
1331
|
};
|
1332
|
-
customPresenceStatus?: string | undefined;
|
1332
|
+
customPresenceStatus?: string | null | undefined;
|
1333
1333
|
};
|
1334
1334
|
}>;
|
1335
1335
|
400: z.ZodObject<{
|
@@ -247,7 +247,7 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
|
|
247
247
|
updatedAt: Date;
|
248
248
|
deletedAt: Date | null;
|
249
249
|
}>;
|
250
|
-
customPresenceStatus: z.ZodOptional<z.ZodString
|
250
|
+
customPresenceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
251
251
|
}, "strip", z.ZodTypeAny, {
|
252
252
|
id: string;
|
253
253
|
user: {
|
@@ -304,7 +304,7 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
|
|
304
304
|
updatedAt: Date;
|
305
305
|
deletedAt: Date | null;
|
306
306
|
};
|
307
|
-
customPresenceStatus?: string | undefined;
|
307
|
+
customPresenceStatus?: string | null | undefined;
|
308
308
|
}, {
|
309
309
|
id: string;
|
310
310
|
user: {
|
@@ -361,6 +361,6 @@ export declare const UserPresenceStatusSchema: z.ZodObject<{
|
|
361
361
|
updatedAt: Date;
|
362
362
|
deletedAt: Date | null;
|
363
363
|
};
|
364
|
-
customPresenceStatus?: string | undefined;
|
364
|
+
customPresenceStatus?: string | null | undefined;
|
365
365
|
}>;
|
366
366
|
//# sourceMappingURL=schema.d.ts.map
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
export declare const UpdateUserStatusSchema: z.ZodObject<{
|
3
3
|
userId: z.ZodString;
|
4
|
-
presenceStatusId: z.ZodOptional<z.ZodString
|
5
|
-
customPreseneStatus: z.ZodOptional<z.ZodString
|
4
|
+
presenceStatusId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5
|
+
customPreseneStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6
6
|
reason: z.ZodString;
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
8
8
|
reason: string;
|
9
9
|
userId: string;
|
10
|
-
presenceStatusId?: string | undefined;
|
11
|
-
customPreseneStatus?: string | undefined;
|
10
|
+
presenceStatusId?: string | null | undefined;
|
11
|
+
customPreseneStatus?: string | null | undefined;
|
12
12
|
}, {
|
13
13
|
reason: string;
|
14
14
|
userId: string;
|
15
|
-
presenceStatusId?: string | undefined;
|
16
|
-
customPreseneStatus?: string | undefined;
|
15
|
+
presenceStatusId?: string | null | undefined;
|
16
|
+
customPreseneStatus?: string | null | undefined;
|
17
17
|
}>;
|
18
18
|
//# sourceMappingURL=validation.d.ts.map
|
package/dist/src/user/index.d.ts
CHANGED
@@ -10,7 +10,7 @@ export declare const userContract: {
|
|
10
10
|
address: z.ZodNullable<z.ZodString>;
|
11
11
|
phone: z.ZodNullable<z.ZodString>;
|
12
12
|
password: z.ZodString;
|
13
|
-
notificationCount: z.ZodOptional<z.ZodNumber
|
13
|
+
notificationCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
14
14
|
roles: z.ZodArray<z.ZodString, "many">;
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
16
16
|
address: string | null;
|
@@ -19,7 +19,7 @@ export declare const userContract: {
|
|
19
19
|
password: string;
|
20
20
|
phone: string | null;
|
21
21
|
roles: string[];
|
22
|
-
notificationCount?: number | undefined;
|
22
|
+
notificationCount?: number | null | undefined;
|
23
23
|
}, {
|
24
24
|
address: string | null;
|
25
25
|
name: string;
|
@@ -27,7 +27,7 @@ export declare const userContract: {
|
|
27
27
|
password: string;
|
28
28
|
phone: string | null;
|
29
29
|
roles: string[];
|
30
|
-
notificationCount?: number | undefined;
|
30
|
+
notificationCount?: number | null | undefined;
|
31
31
|
}>;
|
32
32
|
summary: "Create a user.";
|
33
33
|
method: "POST";
|
@@ -375,7 +375,7 @@ export declare const userContract: {
|
|
375
375
|
total: z.ZodNumber;
|
376
376
|
page: z.ZodDefault<z.ZodNumber>;
|
377
377
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
378
|
-
lastPage: z.ZodOptional<z.ZodNumber
|
378
|
+
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
379
379
|
data: z.ZodArray<z.ZodType<{
|
380
380
|
id: string;
|
381
381
|
address: string | null;
|
@@ -508,7 +508,7 @@ export declare const userContract: {
|
|
508
508
|
total: number;
|
509
509
|
page: number;
|
510
510
|
pageSize: number;
|
511
|
-
lastPage?: number | undefined;
|
511
|
+
lastPage?: number | null | undefined;
|
512
512
|
}, {
|
513
513
|
data: {
|
514
514
|
id: string;
|
@@ -556,7 +556,7 @@ export declare const userContract: {
|
|
556
556
|
total: number;
|
557
557
|
page?: number | undefined;
|
558
558
|
pageSize?: number | undefined;
|
559
|
-
lastPage?: number | undefined;
|
559
|
+
lastPage?: number | null | undefined;
|
560
560
|
}>;
|
561
561
|
400: z.ZodObject<{
|
562
562
|
message: z.ZodString;
|
@@ -845,7 +845,7 @@ export declare const userContract: {
|
|
845
845
|
email: z.ZodString;
|
846
846
|
password: z.ZodString;
|
847
847
|
phone: z.ZodNullable<z.ZodString>;
|
848
|
-
notificationCount: z.ZodOptional<z.ZodNumber
|
848
|
+
notificationCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
849
849
|
roles: z.ZodArray<z.ZodString, "many">;
|
850
850
|
newPassword: z.ZodString;
|
851
851
|
}, "strip", z.ZodTypeAny, {
|
@@ -856,7 +856,7 @@ export declare const userContract: {
|
|
856
856
|
phone: string | null;
|
857
857
|
roles: string[];
|
858
858
|
newPassword: string;
|
859
|
-
notificationCount?: number | undefined;
|
859
|
+
notificationCount?: number | null | undefined;
|
860
860
|
}, {
|
861
861
|
address: string | null;
|
862
862
|
name: string;
|
@@ -865,7 +865,7 @@ export declare const userContract: {
|
|
865
865
|
phone: string | null;
|
866
866
|
roles: string[];
|
867
867
|
newPassword: string;
|
868
|
-
notificationCount?: number | undefined;
|
868
|
+
notificationCount?: number | null | undefined;
|
869
869
|
}>;
|
870
870
|
summary: "Update a user.";
|
871
871
|
method: "PATCH";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/user/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/user/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcrB,CAAC"}
|
@@ -5,7 +5,7 @@ export declare const CreateUserSchema: z.ZodObject<{
|
|
5
5
|
address: z.ZodNullable<z.ZodString>;
|
6
6
|
phone: z.ZodNullable<z.ZodString>;
|
7
7
|
password: z.ZodString;
|
8
|
-
notificationCount: z.ZodOptional<z.ZodNumber
|
8
|
+
notificationCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
9
9
|
roles: z.ZodArray<z.ZodString, "many">;
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
11
11
|
address: string | null;
|
@@ -14,7 +14,7 @@ export declare const CreateUserSchema: z.ZodObject<{
|
|
14
14
|
password: string;
|
15
15
|
phone: string | null;
|
16
16
|
roles: string[];
|
17
|
-
notificationCount?: number | undefined;
|
17
|
+
notificationCount?: number | null | undefined;
|
18
18
|
}, {
|
19
19
|
address: string | null;
|
20
20
|
name: string;
|
@@ -22,7 +22,7 @@ export declare const CreateUserSchema: z.ZodObject<{
|
|
22
22
|
password: string;
|
23
23
|
phone: string | null;
|
24
24
|
roles: string[];
|
25
|
-
notificationCount?: number | undefined;
|
25
|
+
notificationCount?: number | null | undefined;
|
26
26
|
}>;
|
27
27
|
export declare const UpdateUserSchema: z.ZodObject<{
|
28
28
|
address: z.ZodNullable<z.ZodString>;
|
@@ -30,7 +30,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
30
30
|
email: z.ZodString;
|
31
31
|
password: z.ZodString;
|
32
32
|
phone: z.ZodNullable<z.ZodString>;
|
33
|
-
notificationCount: z.ZodOptional<z.ZodNumber
|
33
|
+
notificationCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
34
34
|
roles: z.ZodArray<z.ZodString, "many">;
|
35
35
|
newPassword: z.ZodString;
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
@@ -41,7 +41,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
41
41
|
phone: string | null;
|
42
42
|
roles: string[];
|
43
43
|
newPassword: string;
|
44
|
-
notificationCount?: number | undefined;
|
44
|
+
notificationCount?: number | null | undefined;
|
45
45
|
}, {
|
46
46
|
address: string | null;
|
47
47
|
name: string;
|
@@ -50,6 +50,6 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
50
50
|
phone: string | null;
|
51
51
|
roles: string[];
|
52
52
|
newPassword: string;
|
53
|
-
notificationCount?: number | undefined;
|
53
|
+
notificationCount?: number | null | undefined;
|
54
54
|
}>;
|
55
55
|
//# sourceMappingURL=validation.d.ts.map
|
@@ -23,7 +23,7 @@ export declare const userPresenceStatusLogContract: {
|
|
23
23
|
total: z.ZodNumber;
|
24
24
|
page: z.ZodDefault<z.ZodNumber>;
|
25
25
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
26
|
-
lastPage: z.ZodOptional<z.ZodNumber
|
26
|
+
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
27
27
|
data: z.ZodArray<z.ZodType<{
|
28
28
|
reason: string;
|
29
29
|
id: string;
|
@@ -225,7 +225,7 @@ export declare const userPresenceStatusLogContract: {
|
|
225
225
|
total: number;
|
226
226
|
page: number;
|
227
227
|
pageSize: number;
|
228
|
-
lastPage?: number | undefined;
|
228
|
+
lastPage?: number | null | undefined;
|
229
229
|
}, {
|
230
230
|
data: {
|
231
231
|
reason: string;
|
@@ -296,7 +296,7 @@ export declare const userPresenceStatusLogContract: {
|
|
296
296
|
total: number;
|
297
297
|
page?: number | undefined;
|
298
298
|
pageSize?: number | undefined;
|
299
|
-
lastPage?: number | undefined;
|
299
|
+
lastPage?: number | null | undefined;
|
300
300
|
}>;
|
301
301
|
400: z.ZodObject<{
|
302
302
|
message: z.ZodString;
|
@@ -173,7 +173,7 @@ export declare const widgetContract: {
|
|
173
173
|
total: z.ZodNumber;
|
174
174
|
page: z.ZodDefault<z.ZodNumber>;
|
175
175
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
176
|
-
lastPage: z.ZodOptional<z.ZodNumber
|
176
|
+
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
177
177
|
data: z.ZodArray<z.ZodType<{
|
178
178
|
id: string;
|
179
179
|
url: string;
|
@@ -216,7 +216,7 @@ export declare const widgetContract: {
|
|
216
216
|
total: number;
|
217
217
|
page: number;
|
218
218
|
pageSize: number;
|
219
|
-
lastPage?: number | undefined;
|
219
|
+
lastPage?: number | null | undefined;
|
220
220
|
}, {
|
221
221
|
data: {
|
222
222
|
id: string;
|
@@ -234,7 +234,7 @@ export declare const widgetContract: {
|
|
234
234
|
total: number;
|
235
235
|
page?: number | undefined;
|
236
236
|
pageSize?: number | undefined;
|
237
|
-
lastPage?: number | undefined;
|
237
|
+
lastPage?: number | null | undefined;
|
238
238
|
}>;
|
239
239
|
500: z.ZodObject<{
|
240
240
|
message: z.ZodString;
|
@@ -5,20 +5,20 @@ export type UpdateWrapUpFormRequest = z.infer<typeof UpdateWrapUpFormSchema>;
|
|
5
5
|
export declare const wrapUpFormContract: {
|
6
6
|
createWrapUpForm: {
|
7
7
|
body: z.ZodObject<{
|
8
|
-
note: z.ZodOptional<z.ZodString
|
9
|
-
disposition: z.ZodOptional<z.ZodString
|
10
|
-
callFrom: z.ZodOptional<z.ZodString
|
11
|
-
callTo: z.ZodOptional<z.ZodString
|
8
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
9
|
+
disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
10
|
+
callFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
11
|
+
callTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
13
|
-
note?: string | undefined;
|
14
|
-
disposition?: string | undefined;
|
15
|
-
callFrom?: string | undefined;
|
16
|
-
callTo?: string | undefined;
|
13
|
+
note?: string | null | undefined;
|
14
|
+
disposition?: string | null | undefined;
|
15
|
+
callFrom?: string | null | undefined;
|
16
|
+
callTo?: string | null | undefined;
|
17
17
|
}, {
|
18
|
-
note?: string | undefined;
|
19
|
-
disposition?: string | undefined;
|
20
|
-
callFrom?: string | undefined;
|
21
|
-
callTo?: string | undefined;
|
18
|
+
note?: string | null | undefined;
|
19
|
+
disposition?: string | null | undefined;
|
20
|
+
callFrom?: string | null | undefined;
|
21
|
+
callTo?: string | null | undefined;
|
22
22
|
}>;
|
23
23
|
summary: "Create a wrap up form.";
|
24
24
|
method: "POST";
|
@@ -183,7 +183,7 @@ export declare const wrapUpFormContract: {
|
|
183
183
|
total: z.ZodNumber;
|
184
184
|
page: z.ZodDefault<z.ZodNumber>;
|
185
185
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
186
|
-
lastPage: z.ZodOptional<z.ZodNumber
|
186
|
+
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
187
187
|
data: z.ZodArray<z.ZodType<{
|
188
188
|
id: string;
|
189
189
|
disposition: string | null;
|
@@ -238,7 +238,7 @@ export declare const wrapUpFormContract: {
|
|
238
238
|
total: number;
|
239
239
|
page: number;
|
240
240
|
pageSize: number;
|
241
|
-
lastPage?: number | undefined;
|
241
|
+
lastPage?: number | null | undefined;
|
242
242
|
}, {
|
243
243
|
data: {
|
244
244
|
id: string;
|
@@ -260,7 +260,7 @@ export declare const wrapUpFormContract: {
|
|
260
260
|
total: number;
|
261
261
|
page?: number | undefined;
|
262
262
|
pageSize?: number | undefined;
|
263
|
-
lastPage?: number | undefined;
|
263
|
+
lastPage?: number | null | undefined;
|
264
264
|
}>;
|
265
265
|
400: z.ZodObject<{
|
266
266
|
message: z.ZodString;
|
@@ -304,22 +304,22 @@ export declare const wrapUpFormContract: {
|
|
304
304
|
};
|
305
305
|
updateWrapUpForm: {
|
306
306
|
body: z.ZodObject<{
|
307
|
-
disposition: z.ZodOptional<z.ZodString
|
308
|
-
note: z.ZodOptional<z.ZodString
|
309
|
-
callFrom: z.ZodOptional<z.ZodString
|
310
|
-
callTo: z.ZodOptional<z.ZodString
|
307
|
+
disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
308
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
309
|
+
callFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
310
|
+
callTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
311
311
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
312
312
|
}, "strip", z.ZodTypeAny, {
|
313
|
-
disposition?: string | undefined;
|
314
|
-
note?: string | undefined;
|
315
|
-
callFrom?: string | undefined;
|
316
|
-
callTo?: string | undefined;
|
313
|
+
disposition?: string | null | undefined;
|
314
|
+
note?: string | null | undefined;
|
315
|
+
callFrom?: string | null | undefined;
|
316
|
+
callTo?: string | null | undefined;
|
317
317
|
tags?: string[] | undefined;
|
318
318
|
}, {
|
319
|
-
disposition?: string | undefined;
|
320
|
-
note?: string | undefined;
|
321
|
-
callFrom?: string | undefined;
|
322
|
-
callTo?: string | undefined;
|
319
|
+
disposition?: string | null | undefined;
|
320
|
+
note?: string | null | undefined;
|
321
|
+
callFrom?: string | null | undefined;
|
322
|
+
callTo?: string | null | undefined;
|
323
323
|
tags?: string[] | undefined;
|
324
324
|
}>;
|
325
325
|
summary: "Update a wrap up form.";
|
@@ -1,37 +1,37 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
export declare const CreateWrapUpFormSchema: z.ZodObject<{
|
3
|
-
note: z.ZodOptional<z.ZodString
|
4
|
-
disposition: z.ZodOptional<z.ZodString
|
5
|
-
callFrom: z.ZodOptional<z.ZodString
|
6
|
-
callTo: z.ZodOptional<z.ZodString
|
3
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4
|
+
disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5
|
+
callFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6
|
+
callTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
8
|
-
note?: string | undefined;
|
9
|
-
disposition?: string | undefined;
|
10
|
-
callFrom?: string | undefined;
|
11
|
-
callTo?: string | undefined;
|
8
|
+
note?: string | null | undefined;
|
9
|
+
disposition?: string | null | undefined;
|
10
|
+
callFrom?: string | null | undefined;
|
11
|
+
callTo?: string | null | undefined;
|
12
12
|
}, {
|
13
|
-
note?: string | undefined;
|
14
|
-
disposition?: string | undefined;
|
15
|
-
callFrom?: string | undefined;
|
16
|
-
callTo?: string | undefined;
|
13
|
+
note?: string | null | undefined;
|
14
|
+
disposition?: string | null | undefined;
|
15
|
+
callFrom?: string | null | undefined;
|
16
|
+
callTo?: string | null | undefined;
|
17
17
|
}>;
|
18
18
|
export declare const UpdateWrapUpFormSchema: z.ZodObject<{
|
19
|
-
disposition: z.ZodOptional<z.ZodString
|
20
|
-
note: z.ZodOptional<z.ZodString
|
21
|
-
callFrom: z.ZodOptional<z.ZodString
|
22
|
-
callTo: z.ZodOptional<z.ZodString
|
19
|
+
disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
20
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
21
|
+
callFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
22
|
+
callTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
23
23
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
25
|
-
disposition?: string | undefined;
|
26
|
-
note?: string | undefined;
|
27
|
-
callFrom?: string | undefined;
|
28
|
-
callTo?: string | undefined;
|
25
|
+
disposition?: string | null | undefined;
|
26
|
+
note?: string | null | undefined;
|
27
|
+
callFrom?: string | null | undefined;
|
28
|
+
callTo?: string | null | undefined;
|
29
29
|
tags?: string[] | undefined;
|
30
30
|
}, {
|
31
|
-
disposition?: string | undefined;
|
32
|
-
note?: string | undefined;
|
33
|
-
callFrom?: string | undefined;
|
34
|
-
callTo?: string | undefined;
|
31
|
+
disposition?: string | null | undefined;
|
32
|
+
note?: string | null | undefined;
|
33
|
+
callFrom?: string | null | undefined;
|
34
|
+
callTo?: string | null | undefined;
|
35
35
|
tags?: string[] | undefined;
|
36
36
|
}>;
|
37
37
|
//# sourceMappingURL=validation.d.ts.map
|
package/dist/utils.d.ts
CHANGED
@@ -3,35 +3,35 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
3
3
|
page: z.ZodDefault<z.ZodNumber>;
|
4
4
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
5
5
|
total: z.ZodNumber;
|
6
|
-
lastPage: z.ZodOptional<z.ZodNumber
|
6
|
+
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
8
8
|
total: number;
|
9
9
|
page: number;
|
10
10
|
pageSize: number;
|
11
|
-
lastPage?: number | undefined;
|
11
|
+
lastPage?: number | null | undefined;
|
12
12
|
}, {
|
13
13
|
total: number;
|
14
14
|
page?: number | undefined;
|
15
15
|
pageSize?: number | undefined;
|
16
|
-
lastPage?: number | undefined;
|
16
|
+
lastPage?: number | null | undefined;
|
17
17
|
}>;
|
18
18
|
export declare const WithPagination: <T>(dataSchema: z.ZodType<T, z.ZodTypeDef, T>) => z.ZodObject<{
|
19
19
|
total: z.ZodNumber;
|
20
20
|
page: z.ZodDefault<z.ZodNumber>;
|
21
21
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
22
|
-
lastPage: z.ZodOptional<z.ZodNumber
|
22
|
+
lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
23
23
|
data: z.ZodArray<z.ZodType<T, z.ZodTypeDef, T>, "many">;
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
25
25
|
data: T[];
|
26
26
|
total: number;
|
27
27
|
page: number;
|
28
28
|
pageSize: number;
|
29
|
-
lastPage?: number | undefined;
|
29
|
+
lastPage?: number | null | undefined;
|
30
30
|
}, {
|
31
31
|
data: T[];
|
32
32
|
total: number;
|
33
33
|
page?: number | undefined;
|
34
34
|
pageSize?: number | undefined;
|
35
|
-
lastPage?: number | undefined;
|
35
|
+
lastPage?: number | null | undefined;
|
36
36
|
}>;
|
37
37
|
//# sourceMappingURL=utils.d.ts.map
|