@kl1/contracts 1.0.9 → 1.0.10
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 +554 -553
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +554 -553
- package/dist/index.mjs.map +1 -1
- package/dist/src/auth/index.d.ts +82 -0
- package/dist/src/auth/index.d.ts.map +1 -1
- package/dist/src/call-log/schema.d.ts +2 -2
- package/dist/src/chat/index.d.ts +3671 -5
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +434 -0
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +164 -0
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +4212 -194
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +2 -2
- package/dist/src/line/validation.d.ts +2 -2
- package/dist/src/telephony-cdr/schema.d.ts +2 -2
- package/dist/src/user/index.d.ts +270 -0
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/schema.d.ts +58 -0
- package/dist/src/user/schema.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/chat/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAOpB;;GAEG;AACH,eAAO,MAAM,iBAAiB,iNAS5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,0BAA0B,0FAIrC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,uBAAuB,gDAGlC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB,4aAkB5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,uBAAuB,0EAIlC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAerB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcxB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;EAGvC,CAAC"}
|
@@ -99,6 +99,40 @@ export declare const ConnectChannelSchema: z.ZodObject<{
|
|
99
99
|
displayName: string;
|
100
100
|
}[];
|
101
101
|
}>, "many">;
|
102
|
+
extension: z.ZodObject<{
|
103
|
+
id: z.ZodString;
|
104
|
+
createdAt: z.ZodDate;
|
105
|
+
updatedAt: z.ZodDate;
|
106
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
107
|
+
userId: z.ZodNullable<z.ZodString>;
|
108
|
+
sipServerUrl: z.ZodString;
|
109
|
+
sipUserName: z.ZodString;
|
110
|
+
extensionId: z.ZodNullable<z.ZodNumber>;
|
111
|
+
extensionName: z.ZodNullable<z.ZodString>;
|
112
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
113
|
+
}, "strip", z.ZodTypeAny, {
|
114
|
+
id: string;
|
115
|
+
createdAt: Date;
|
116
|
+
updatedAt: Date;
|
117
|
+
deletedAt: Date | null;
|
118
|
+
userId: string | null;
|
119
|
+
sipServerUrl: string;
|
120
|
+
sipUserName: string;
|
121
|
+
extensionId: number | null;
|
122
|
+
extensionName: string | null;
|
123
|
+
telephonySignature: string | null;
|
124
|
+
}, {
|
125
|
+
id: string;
|
126
|
+
createdAt: Date;
|
127
|
+
updatedAt: Date;
|
128
|
+
deletedAt: Date | null;
|
129
|
+
userId: string | null;
|
130
|
+
sipServerUrl: string;
|
131
|
+
sipUserName: string;
|
132
|
+
extensionId: number | null;
|
133
|
+
extensionName: string | null;
|
134
|
+
telephonySignature: string | null;
|
135
|
+
}>;
|
102
136
|
}, "strip", z.ZodTypeAny, {
|
103
137
|
id: string;
|
104
138
|
address: string | null;
|
@@ -127,6 +161,18 @@ export declare const ConnectChannelSchema: z.ZodObject<{
|
|
127
161
|
displayName: string;
|
128
162
|
}[];
|
129
163
|
}[];
|
164
|
+
extension: {
|
165
|
+
id: string;
|
166
|
+
createdAt: Date;
|
167
|
+
updatedAt: Date;
|
168
|
+
deletedAt: Date | null;
|
169
|
+
userId: string | null;
|
170
|
+
sipServerUrl: string;
|
171
|
+
sipUserName: string;
|
172
|
+
extensionId: number | null;
|
173
|
+
extensionName: string | null;
|
174
|
+
telephonySignature: string | null;
|
175
|
+
};
|
130
176
|
}, {
|
131
177
|
id: string;
|
132
178
|
address: string | null;
|
@@ -155,6 +201,18 @@ export declare const ConnectChannelSchema: z.ZodObject<{
|
|
155
201
|
displayName: string;
|
156
202
|
}[];
|
157
203
|
}[];
|
204
|
+
extension: {
|
205
|
+
id: string;
|
206
|
+
createdAt: Date;
|
207
|
+
updatedAt: Date;
|
208
|
+
deletedAt: Date | null;
|
209
|
+
userId: string | null;
|
210
|
+
sipServerUrl: string;
|
211
|
+
sipUserName: string;
|
212
|
+
extensionId: number | null;
|
213
|
+
extensionName: string | null;
|
214
|
+
telephonySignature: string | null;
|
215
|
+
};
|
158
216
|
}>;
|
159
217
|
}, "strip", z.ZodTypeAny, {
|
160
218
|
type: "line" | "messenger" | "viber" | "lazada" | "shopee" | "whatsapp" | "telegram" | "kakao";
|
@@ -196,6 +254,18 @@ export declare const ConnectChannelSchema: z.ZodObject<{
|
|
196
254
|
displayName: string;
|
197
255
|
}[];
|
198
256
|
}[];
|
257
|
+
extension: {
|
258
|
+
id: string;
|
259
|
+
createdAt: Date;
|
260
|
+
updatedAt: Date;
|
261
|
+
deletedAt: Date | null;
|
262
|
+
userId: string | null;
|
263
|
+
sipServerUrl: string;
|
264
|
+
sipUserName: string;
|
265
|
+
extensionId: number | null;
|
266
|
+
extensionName: string | null;
|
267
|
+
telephonySignature: string | null;
|
268
|
+
};
|
199
269
|
};
|
200
270
|
}, {
|
201
271
|
type: "line" | "messenger" | "viber" | "lazada" | "shopee" | "whatsapp" | "telegram" | "kakao";
|
@@ -237,6 +307,18 @@ export declare const ConnectChannelSchema: z.ZodObject<{
|
|
237
307
|
displayName: string;
|
238
308
|
}[];
|
239
309
|
}[];
|
310
|
+
extension: {
|
311
|
+
id: string;
|
312
|
+
createdAt: Date;
|
313
|
+
updatedAt: Date;
|
314
|
+
deletedAt: Date | null;
|
315
|
+
userId: string | null;
|
316
|
+
sipServerUrl: string;
|
317
|
+
sipUserName: string;
|
318
|
+
extensionId: number | null;
|
319
|
+
extensionName: string | null;
|
320
|
+
telephonySignature: string | null;
|
321
|
+
};
|
240
322
|
};
|
241
323
|
}>;
|
242
324
|
export declare const GetRoomsSchema: z.ZodObject<{
|
@@ -512,6 +594,40 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
512
594
|
displayName: string;
|
513
595
|
}[];
|
514
596
|
}>, "many">;
|
597
|
+
extension: z.ZodObject<{
|
598
|
+
id: z.ZodString;
|
599
|
+
createdAt: z.ZodDate;
|
600
|
+
updatedAt: z.ZodDate;
|
601
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
602
|
+
userId: z.ZodNullable<z.ZodString>;
|
603
|
+
sipServerUrl: z.ZodString;
|
604
|
+
sipUserName: z.ZodString;
|
605
|
+
extensionId: z.ZodNullable<z.ZodNumber>;
|
606
|
+
extensionName: z.ZodNullable<z.ZodString>;
|
607
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
608
|
+
}, "strip", z.ZodTypeAny, {
|
609
|
+
id: string;
|
610
|
+
createdAt: Date;
|
611
|
+
updatedAt: Date;
|
612
|
+
deletedAt: Date | null;
|
613
|
+
userId: string | null;
|
614
|
+
sipServerUrl: string;
|
615
|
+
sipUserName: string;
|
616
|
+
extensionId: number | null;
|
617
|
+
extensionName: string | null;
|
618
|
+
telephonySignature: string | null;
|
619
|
+
}, {
|
620
|
+
id: string;
|
621
|
+
createdAt: Date;
|
622
|
+
updatedAt: Date;
|
623
|
+
deletedAt: Date | null;
|
624
|
+
userId: string | null;
|
625
|
+
sipServerUrl: string;
|
626
|
+
sipUserName: string;
|
627
|
+
extensionId: number | null;
|
628
|
+
extensionName: string | null;
|
629
|
+
telephonySignature: string | null;
|
630
|
+
}>;
|
515
631
|
}, "strip", z.ZodTypeAny, {
|
516
632
|
id: string;
|
517
633
|
address: string | null;
|
@@ -540,6 +656,18 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
540
656
|
displayName: string;
|
541
657
|
}[];
|
542
658
|
}[];
|
659
|
+
extension: {
|
660
|
+
id: string;
|
661
|
+
createdAt: Date;
|
662
|
+
updatedAt: Date;
|
663
|
+
deletedAt: Date | null;
|
664
|
+
userId: string | null;
|
665
|
+
sipServerUrl: string;
|
666
|
+
sipUserName: string;
|
667
|
+
extensionId: number | null;
|
668
|
+
extensionName: string | null;
|
669
|
+
telephonySignature: string | null;
|
670
|
+
};
|
543
671
|
}, {
|
544
672
|
id: string;
|
545
673
|
address: string | null;
|
@@ -568,6 +696,18 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
568
696
|
displayName: string;
|
569
697
|
}[];
|
570
698
|
}[];
|
699
|
+
extension: {
|
700
|
+
id: string;
|
701
|
+
createdAt: Date;
|
702
|
+
updatedAt: Date;
|
703
|
+
deletedAt: Date | null;
|
704
|
+
userId: string | null;
|
705
|
+
sipServerUrl: string;
|
706
|
+
sipUserName: string;
|
707
|
+
extensionId: number | null;
|
708
|
+
extensionName: string | null;
|
709
|
+
telephonySignature: string | null;
|
710
|
+
};
|
571
711
|
}>>;
|
572
712
|
packageId: z.ZodOptional<z.ZodNumber>;
|
573
713
|
stickerId: z.ZodOptional<z.ZodNumber>;
|
@@ -614,6 +754,18 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
614
754
|
displayName: string;
|
615
755
|
}[];
|
616
756
|
}[];
|
757
|
+
extension: {
|
758
|
+
id: string;
|
759
|
+
createdAt: Date;
|
760
|
+
updatedAt: Date;
|
761
|
+
deletedAt: Date | null;
|
762
|
+
userId: string | null;
|
763
|
+
sipServerUrl: string;
|
764
|
+
sipUserName: string;
|
765
|
+
extensionId: number | null;
|
766
|
+
extensionName: string | null;
|
767
|
+
telephonySignature: string | null;
|
768
|
+
};
|
617
769
|
} | undefined;
|
618
770
|
packageId?: number | undefined;
|
619
771
|
stickerId?: number | undefined;
|
@@ -660,6 +812,18 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
660
812
|
displayName: string;
|
661
813
|
}[];
|
662
814
|
}[];
|
815
|
+
extension: {
|
816
|
+
id: string;
|
817
|
+
createdAt: Date;
|
818
|
+
updatedAt: Date;
|
819
|
+
deletedAt: Date | null;
|
820
|
+
userId: string | null;
|
821
|
+
sipServerUrl: string;
|
822
|
+
sipUserName: string;
|
823
|
+
extensionId: number | null;
|
824
|
+
extensionName: string | null;
|
825
|
+
telephonySignature: string | null;
|
826
|
+
};
|
663
827
|
} | undefined;
|
664
828
|
packageId?: number | undefined;
|
665
829
|
stickerId?: number | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/chat/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,eAAO,MAAM,oBAAoB
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/chat/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBzB,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;EAGvC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAErC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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