@kl1/contracts 1.1.31-uat → 1.1.33-uat
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 +2466 -2396
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2465 -2396
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +786 -0
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +177 -18
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +140 -0
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +9362 -581
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +140 -0
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +140 -0
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +124 -124
- package/dist/src/mail/message-contract.d.ts +28 -28
- package/dist/src/mail/room-contract.d.ts +96 -96
- package/dist/src/mail/schemas/message.schema.d.ts +4 -4
- package/dist/src/mail/schemas/room-validation.schema.d.ts +32 -32
- package/dist/src/mail/schemas/room.schema.d.ts +28 -28
- package/dist/src/messenger/index.d.ts +140 -0
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/call-report.schema.d.ts +26 -52
- package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +140 -0
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +140 -0
- package/dist/src/webchat/index.d.ts.map +1 -1
- package/dist/src/workflow-rule/index.d.ts +7295 -0
- package/dist/src/workflow-rule/index.d.ts.map +1 -0
- package/dist/src/workflow-rule/schema.d.ts +27 -0
- package/dist/src/workflow-rule/schema.d.ts.map +1 -0
- package/package.json +1 -1
@@ -348,7 +348,7 @@ export declare const messageContract: {
|
|
348
348
|
sendAt: z.ZodDate;
|
349
349
|
starred: z.ZodBoolean;
|
350
350
|
seemsLikeNew: z.ZodBoolean;
|
351
|
-
from: z.ZodObject<{
|
351
|
+
from: z.ZodArray<z.ZodObject<{
|
352
352
|
id: z.ZodString;
|
353
353
|
createdAt: z.ZodDate;
|
354
354
|
updatedAt: z.ZodDate;
|
@@ -502,7 +502,7 @@ export declare const messageContract: {
|
|
502
502
|
contactId: string;
|
503
503
|
isNewContact: boolean;
|
504
504
|
};
|
505
|
-
}>;
|
505
|
+
}>, "many">;
|
506
506
|
to: z.ZodArray<z.ZodObject<{
|
507
507
|
id: z.ZodString;
|
508
508
|
createdAt: z.ZodDate;
|
@@ -1110,7 +1110,7 @@ export declare const messageContract: {
|
|
1110
1110
|
contactId: string;
|
1111
1111
|
isNewContact: boolean;
|
1112
1112
|
};
|
1113
|
-
};
|
1113
|
+
}[];
|
1114
1114
|
to: {
|
1115
1115
|
id: string;
|
1116
1116
|
createdAt: Date;
|
@@ -1278,7 +1278,7 @@ export declare const messageContract: {
|
|
1278
1278
|
contactId: string;
|
1279
1279
|
isNewContact: boolean;
|
1280
1280
|
};
|
1281
|
-
};
|
1281
|
+
}[];
|
1282
1282
|
to: {
|
1283
1283
|
id: string;
|
1284
1284
|
createdAt: Date;
|
@@ -1448,7 +1448,7 @@ export declare const messageContract: {
|
|
1448
1448
|
contactId: string;
|
1449
1449
|
isNewContact: boolean;
|
1450
1450
|
};
|
1451
|
-
};
|
1451
|
+
}[];
|
1452
1452
|
to: {
|
1453
1453
|
id: string;
|
1454
1454
|
createdAt: Date;
|
@@ -1619,7 +1619,7 @@ export declare const messageContract: {
|
|
1619
1619
|
contactId: string;
|
1620
1620
|
isNewContact: boolean;
|
1621
1621
|
};
|
1622
|
-
};
|
1622
|
+
}[];
|
1623
1623
|
to: {
|
1624
1624
|
id: string;
|
1625
1625
|
createdAt: Date;
|
@@ -1764,7 +1764,7 @@ export declare const messageContract: {
|
|
1764
1764
|
sendAt: z.ZodOptional<z.ZodDate>;
|
1765
1765
|
starred: z.ZodOptional<z.ZodBoolean>;
|
1766
1766
|
seemsLikeNew: z.ZodOptional<z.ZodBoolean>;
|
1767
|
-
from: z.ZodOptional<z.ZodObject<{
|
1767
|
+
from: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1768
1768
|
id: z.ZodString;
|
1769
1769
|
createdAt: z.ZodDate;
|
1770
1770
|
updatedAt: z.ZodDate;
|
@@ -1918,7 +1918,7 @@ export declare const messageContract: {
|
|
1918
1918
|
contactId: string;
|
1919
1919
|
isNewContact: boolean;
|
1920
1920
|
};
|
1921
|
-
}>>;
|
1921
|
+
}>, "many">>;
|
1922
1922
|
to: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1923
1923
|
id: z.ZodString;
|
1924
1924
|
createdAt: z.ZodDate;
|
@@ -2526,7 +2526,7 @@ export declare const messageContract: {
|
|
2526
2526
|
contactId: string;
|
2527
2527
|
isNewContact: boolean;
|
2528
2528
|
};
|
2529
|
-
} | undefined;
|
2529
|
+
}[] | undefined;
|
2530
2530
|
to?: {
|
2531
2531
|
id: string;
|
2532
2532
|
createdAt: Date;
|
@@ -2694,7 +2694,7 @@ export declare const messageContract: {
|
|
2694
2694
|
contactId: string;
|
2695
2695
|
isNewContact: boolean;
|
2696
2696
|
};
|
2697
|
-
} | undefined;
|
2697
|
+
}[] | undefined;
|
2698
2698
|
to?: {
|
2699
2699
|
id: string;
|
2700
2700
|
createdAt: Date;
|
@@ -2875,7 +2875,7 @@ export declare const messageContract: {
|
|
2875
2875
|
sendAt: z.ZodDate;
|
2876
2876
|
starred: z.ZodBoolean;
|
2877
2877
|
seemsLikeNew: z.ZodBoolean;
|
2878
|
-
from: z.ZodObject<{
|
2878
|
+
from: z.ZodArray<z.ZodObject<{
|
2879
2879
|
id: z.ZodString;
|
2880
2880
|
createdAt: z.ZodDate;
|
2881
2881
|
updatedAt: z.ZodDate;
|
@@ -3029,7 +3029,7 @@ export declare const messageContract: {
|
|
3029
3029
|
contactId: string;
|
3030
3030
|
isNewContact: boolean;
|
3031
3031
|
};
|
3032
|
-
}>;
|
3032
|
+
}>, "many">;
|
3033
3033
|
to: z.ZodArray<z.ZodObject<{
|
3034
3034
|
id: z.ZodString;
|
3035
3035
|
createdAt: z.ZodDate;
|
@@ -3637,7 +3637,7 @@ export declare const messageContract: {
|
|
3637
3637
|
contactId: string;
|
3638
3638
|
isNewContact: boolean;
|
3639
3639
|
};
|
3640
|
-
};
|
3640
|
+
}[];
|
3641
3641
|
to: {
|
3642
3642
|
id: string;
|
3643
3643
|
createdAt: Date;
|
@@ -3805,7 +3805,7 @@ export declare const messageContract: {
|
|
3805
3805
|
contactId: string;
|
3806
3806
|
isNewContact: boolean;
|
3807
3807
|
};
|
3808
|
-
};
|
3808
|
+
}[];
|
3809
3809
|
to: {
|
3810
3810
|
id: string;
|
3811
3811
|
createdAt: Date;
|
@@ -3975,7 +3975,7 @@ export declare const messageContract: {
|
|
3975
3975
|
contactId: string;
|
3976
3976
|
isNewContact: boolean;
|
3977
3977
|
};
|
3978
|
-
};
|
3978
|
+
}[];
|
3979
3979
|
to: {
|
3980
3980
|
id: string;
|
3981
3981
|
createdAt: Date;
|
@@ -4146,7 +4146,7 @@ export declare const messageContract: {
|
|
4146
4146
|
contactId: string;
|
4147
4147
|
isNewContact: boolean;
|
4148
4148
|
};
|
4149
|
-
};
|
4149
|
+
}[];
|
4150
4150
|
to: {
|
4151
4151
|
id: string;
|
4152
4152
|
createdAt: Date;
|
@@ -4334,7 +4334,7 @@ export declare const messageContract: {
|
|
4334
4334
|
sendAt: z.ZodDate;
|
4335
4335
|
starred: z.ZodBoolean;
|
4336
4336
|
seemsLikeNew: z.ZodBoolean;
|
4337
|
-
from: z.ZodObject<{
|
4337
|
+
from: z.ZodArray<z.ZodObject<{
|
4338
4338
|
id: z.ZodString;
|
4339
4339
|
createdAt: z.ZodDate;
|
4340
4340
|
updatedAt: z.ZodDate;
|
@@ -4488,7 +4488,7 @@ export declare const messageContract: {
|
|
4488
4488
|
contactId: string;
|
4489
4489
|
isNewContact: boolean;
|
4490
4490
|
};
|
4491
|
-
}>;
|
4491
|
+
}>, "many">;
|
4492
4492
|
to: z.ZodArray<z.ZodObject<{
|
4493
4493
|
id: z.ZodString;
|
4494
4494
|
createdAt: z.ZodDate;
|
@@ -5096,7 +5096,7 @@ export declare const messageContract: {
|
|
5096
5096
|
contactId: string;
|
5097
5097
|
isNewContact: boolean;
|
5098
5098
|
};
|
5099
|
-
};
|
5099
|
+
}[];
|
5100
5100
|
to: {
|
5101
5101
|
id: string;
|
5102
5102
|
createdAt: Date;
|
@@ -5264,7 +5264,7 @@ export declare const messageContract: {
|
|
5264
5264
|
contactId: string;
|
5265
5265
|
isNewContact: boolean;
|
5266
5266
|
};
|
5267
|
-
};
|
5267
|
+
}[];
|
5268
5268
|
to: {
|
5269
5269
|
id: string;
|
5270
5270
|
createdAt: Date;
|
@@ -5434,7 +5434,7 @@ export declare const messageContract: {
|
|
5434
5434
|
contactId: string;
|
5435
5435
|
isNewContact: boolean;
|
5436
5436
|
};
|
5437
|
-
};
|
5437
|
+
}[];
|
5438
5438
|
to: {
|
5439
5439
|
id: string;
|
5440
5440
|
createdAt: Date;
|
@@ -5605,7 +5605,7 @@ export declare const messageContract: {
|
|
5605
5605
|
contactId: string;
|
5606
5606
|
isNewContact: boolean;
|
5607
5607
|
};
|
5608
|
-
};
|
5608
|
+
}[];
|
5609
5609
|
to: {
|
5610
5610
|
id: string;
|
5611
5611
|
createdAt: Date;
|
@@ -5793,7 +5793,7 @@ export declare const messageContract: {
|
|
5793
5793
|
sendAt: z.ZodDate;
|
5794
5794
|
starred: z.ZodBoolean;
|
5795
5795
|
seemsLikeNew: z.ZodBoolean;
|
5796
|
-
from: z.ZodObject<{
|
5796
|
+
from: z.ZodArray<z.ZodObject<{
|
5797
5797
|
id: z.ZodString;
|
5798
5798
|
createdAt: z.ZodDate;
|
5799
5799
|
updatedAt: z.ZodDate;
|
@@ -5947,7 +5947,7 @@ export declare const messageContract: {
|
|
5947
5947
|
contactId: string;
|
5948
5948
|
isNewContact: boolean;
|
5949
5949
|
};
|
5950
|
-
}>;
|
5950
|
+
}>, "many">;
|
5951
5951
|
to: z.ZodArray<z.ZodObject<{
|
5952
5952
|
id: z.ZodString;
|
5953
5953
|
createdAt: z.ZodDate;
|
@@ -6555,7 +6555,7 @@ export declare const messageContract: {
|
|
6555
6555
|
contactId: string;
|
6556
6556
|
isNewContact: boolean;
|
6557
6557
|
};
|
6558
|
-
};
|
6558
|
+
}[];
|
6559
6559
|
to: {
|
6560
6560
|
id: string;
|
6561
6561
|
createdAt: Date;
|
@@ -6723,7 +6723,7 @@ export declare const messageContract: {
|
|
6723
6723
|
contactId: string;
|
6724
6724
|
isNewContact: boolean;
|
6725
6725
|
};
|
6726
|
-
};
|
6726
|
+
}[];
|
6727
6727
|
to: {
|
6728
6728
|
id: string;
|
6729
6729
|
createdAt: Date;
|
@@ -6893,7 +6893,7 @@ export declare const messageContract: {
|
|
6893
6893
|
contactId: string;
|
6894
6894
|
isNewContact: boolean;
|
6895
6895
|
};
|
6896
|
-
};
|
6896
|
+
}[];
|
6897
6897
|
to: {
|
6898
6898
|
id: string;
|
6899
6899
|
createdAt: Date;
|
@@ -7064,7 +7064,7 @@ export declare const messageContract: {
|
|
7064
7064
|
contactId: string;
|
7065
7065
|
isNewContact: boolean;
|
7066
7066
|
};
|
7067
|
-
};
|
7067
|
+
}[];
|
7068
7068
|
to: {
|
7069
7069
|
id: string;
|
7070
7070
|
createdAt: Date;
|