@kl1/contracts 1.0.79 → 1.0.81
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 +21 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -4
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +240 -240
- package/dist/src/chat/schema.d.ts +96 -96
- package/dist/src/chat/validation.d.ts +120 -120
- package/dist/src/contract.d.ts +3759 -1797
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +106 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +82 -0
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +120 -120
- package/dist/src/line/index.d.ts +120 -120
- package/dist/src/messenger/index.d.ts +120 -120
- package/dist/src/notification/index.d.ts +1619 -5
- package/dist/src/notification/index.d.ts.map +1 -1
- package/dist/src/notification/schema.d.ts +1307 -7
- package/dist/src/notification/schema.d.ts.map +1 -1
- package/dist/src/notification/validation.d.ts +805 -0
- package/dist/src/notification/validation.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +246 -0
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +58 -0
- package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +120 -120
- package/package.json +1 -1
@@ -3838,6 +3838,18 @@ export declare const messengerContract: {
|
|
3838
3838
|
};
|
3839
3839
|
};
|
3840
3840
|
platformId: string;
|
3841
|
+
upload: {
|
3842
|
+
id: string;
|
3843
|
+
createdAt: Date;
|
3844
|
+
updatedAt: Date;
|
3845
|
+
deletedAt: Date | null;
|
3846
|
+
fileName: string;
|
3847
|
+
fileKey: string;
|
3848
|
+
bucketName: string;
|
3849
|
+
fileSize: number;
|
3850
|
+
fileUrl: string | null;
|
3851
|
+
status?: string | undefined;
|
3852
|
+
};
|
3841
3853
|
assignee: {
|
3842
3854
|
id: string;
|
3843
3855
|
address: string | null;
|
@@ -3888,18 +3900,6 @@ export declare const messengerContract: {
|
|
3888
3900
|
locale: "" | "th" | "mm" | "en";
|
3889
3901
|
previewUrl: string;
|
3890
3902
|
imageSetId: string;
|
3891
|
-
upload: {
|
3892
|
-
id: string;
|
3893
|
-
createdAt: Date;
|
3894
|
-
updatedAt: Date;
|
3895
|
-
deletedAt: Date | null;
|
3896
|
-
fileName: string;
|
3897
|
-
fileKey: string;
|
3898
|
-
bucketName: string;
|
3899
|
-
fileSize: number;
|
3900
|
-
fileUrl: string | null;
|
3901
|
-
status?: string | undefined;
|
3902
|
-
};
|
3903
3903
|
sender: {
|
3904
3904
|
id: string;
|
3905
3905
|
address: string | null;
|
@@ -4000,6 +4000,18 @@ export declare const messengerContract: {
|
|
4000
4000
|
};
|
4001
4001
|
};
|
4002
4002
|
platformId: string;
|
4003
|
+
upload: {
|
4004
|
+
id: string;
|
4005
|
+
createdAt: Date;
|
4006
|
+
updatedAt: Date;
|
4007
|
+
deletedAt: Date | null;
|
4008
|
+
fileName: string;
|
4009
|
+
fileKey: string;
|
4010
|
+
bucketName: string;
|
4011
|
+
fileSize: number;
|
4012
|
+
fileUrl: string | null;
|
4013
|
+
status?: string | undefined;
|
4014
|
+
};
|
4003
4015
|
assignee: {
|
4004
4016
|
id: string;
|
4005
4017
|
address: string | null;
|
@@ -4050,18 +4062,6 @@ export declare const messengerContract: {
|
|
4050
4062
|
locale: "" | "th" | "mm" | "en";
|
4051
4063
|
previewUrl: string;
|
4052
4064
|
imageSetId: string;
|
4053
|
-
upload: {
|
4054
|
-
id: string;
|
4055
|
-
createdAt: Date;
|
4056
|
-
updatedAt: Date;
|
4057
|
-
deletedAt: Date | null;
|
4058
|
-
fileName: string;
|
4059
|
-
fileKey: string;
|
4060
|
-
bucketName: string;
|
4061
|
-
fileSize: number;
|
4062
|
-
fileUrl: string | null;
|
4063
|
-
status?: string | undefined;
|
4064
|
-
};
|
4065
4065
|
sender: {
|
4066
4066
|
id: string;
|
4067
4067
|
address: string | null;
|
@@ -4775,6 +4775,18 @@ export declare const messengerContract: {
|
|
4775
4775
|
};
|
4776
4776
|
};
|
4777
4777
|
platformId: string;
|
4778
|
+
upload: {
|
4779
|
+
id: string;
|
4780
|
+
createdAt: Date;
|
4781
|
+
updatedAt: Date;
|
4782
|
+
deletedAt: Date | null;
|
4783
|
+
fileName: string;
|
4784
|
+
fileKey: string;
|
4785
|
+
bucketName: string;
|
4786
|
+
fileSize: number;
|
4787
|
+
fileUrl: string | null;
|
4788
|
+
status?: string | undefined;
|
4789
|
+
};
|
4778
4790
|
assignee: {
|
4779
4791
|
id: string;
|
4780
4792
|
address: string | null;
|
@@ -5138,18 +5150,6 @@ export declare const messengerContract: {
|
|
5138
5150
|
locale: "" | "th" | "mm" | "en";
|
5139
5151
|
previewUrl: string;
|
5140
5152
|
imageSetId: string;
|
5141
|
-
upload: {
|
5142
|
-
id: string;
|
5143
|
-
createdAt: Date;
|
5144
|
-
updatedAt: Date;
|
5145
|
-
deletedAt: Date | null;
|
5146
|
-
fileName: string;
|
5147
|
-
fileKey: string;
|
5148
|
-
bucketName: string;
|
5149
|
-
fileSize: number;
|
5150
|
-
fileUrl: string | null;
|
5151
|
-
status?: string | undefined;
|
5152
|
-
};
|
5153
5153
|
repliedMessage: {
|
5154
5154
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
5155
5155
|
message: string;
|
@@ -5204,6 +5204,18 @@ export declare const messengerContract: {
|
|
5204
5204
|
};
|
5205
5205
|
};
|
5206
5206
|
platformId: string;
|
5207
|
+
upload: {
|
5208
|
+
id: string;
|
5209
|
+
createdAt: Date;
|
5210
|
+
updatedAt: Date;
|
5211
|
+
deletedAt: Date | null;
|
5212
|
+
fileName: string;
|
5213
|
+
fileKey: string;
|
5214
|
+
bucketName: string;
|
5215
|
+
fileSize: number;
|
5216
|
+
fileUrl: string | null;
|
5217
|
+
status?: string | undefined;
|
5218
|
+
};
|
5207
5219
|
assignee: {
|
5208
5220
|
id: string;
|
5209
5221
|
address: string | null;
|
@@ -5254,18 +5266,6 @@ export declare const messengerContract: {
|
|
5254
5266
|
locale: "" | "th" | "mm" | "en";
|
5255
5267
|
previewUrl: string;
|
5256
5268
|
imageSetId: string;
|
5257
|
-
upload: {
|
5258
|
-
id: string;
|
5259
|
-
createdAt: Date;
|
5260
|
-
updatedAt: Date;
|
5261
|
-
deletedAt: Date | null;
|
5262
|
-
fileName: string;
|
5263
|
-
fileKey: string;
|
5264
|
-
bucketName: string;
|
5265
|
-
fileSize: number;
|
5266
|
-
fileUrl: string | null;
|
5267
|
-
status?: string | undefined;
|
5268
|
-
};
|
5269
5269
|
sender: {
|
5270
5270
|
id: string;
|
5271
5271
|
address: string | null;
|
@@ -5413,6 +5413,18 @@ export declare const messengerContract: {
|
|
5413
5413
|
};
|
5414
5414
|
};
|
5415
5415
|
platformId: string;
|
5416
|
+
upload: {
|
5417
|
+
id: string;
|
5418
|
+
createdAt: Date;
|
5419
|
+
updatedAt: Date;
|
5420
|
+
deletedAt: Date | null;
|
5421
|
+
fileName: string;
|
5422
|
+
fileKey: string;
|
5423
|
+
bucketName: string;
|
5424
|
+
fileSize: number;
|
5425
|
+
fileUrl: string | null;
|
5426
|
+
status?: string | undefined;
|
5427
|
+
};
|
5416
5428
|
assignee: {
|
5417
5429
|
id: string;
|
5418
5430
|
address: string | null;
|
@@ -5776,18 +5788,6 @@ export declare const messengerContract: {
|
|
5776
5788
|
locale: "" | "th" | "mm" | "en";
|
5777
5789
|
previewUrl: string;
|
5778
5790
|
imageSetId: string;
|
5779
|
-
upload: {
|
5780
|
-
id: string;
|
5781
|
-
createdAt: Date;
|
5782
|
-
updatedAt: Date;
|
5783
|
-
deletedAt: Date | null;
|
5784
|
-
fileName: string;
|
5785
|
-
fileKey: string;
|
5786
|
-
bucketName: string;
|
5787
|
-
fileSize: number;
|
5788
|
-
fileUrl: string | null;
|
5789
|
-
status?: string | undefined;
|
5790
|
-
};
|
5791
5791
|
repliedMessage: {
|
5792
5792
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
5793
5793
|
message: string;
|
@@ -5842,6 +5842,18 @@ export declare const messengerContract: {
|
|
5842
5842
|
};
|
5843
5843
|
};
|
5844
5844
|
platformId: string;
|
5845
|
+
upload: {
|
5846
|
+
id: string;
|
5847
|
+
createdAt: Date;
|
5848
|
+
updatedAt: Date;
|
5849
|
+
deletedAt: Date | null;
|
5850
|
+
fileName: string;
|
5851
|
+
fileKey: string;
|
5852
|
+
bucketName: string;
|
5853
|
+
fileSize: number;
|
5854
|
+
fileUrl: string | null;
|
5855
|
+
status?: string | undefined;
|
5856
|
+
};
|
5845
5857
|
assignee: {
|
5846
5858
|
id: string;
|
5847
5859
|
address: string | null;
|
@@ -5892,18 +5904,6 @@ export declare const messengerContract: {
|
|
5892
5904
|
locale: "" | "th" | "mm" | "en";
|
5893
5905
|
previewUrl: string;
|
5894
5906
|
imageSetId: string;
|
5895
|
-
upload: {
|
5896
|
-
id: string;
|
5897
|
-
createdAt: Date;
|
5898
|
-
updatedAt: Date;
|
5899
|
-
deletedAt: Date | null;
|
5900
|
-
fileName: string;
|
5901
|
-
fileKey: string;
|
5902
|
-
bucketName: string;
|
5903
|
-
fileSize: number;
|
5904
|
-
fileUrl: string | null;
|
5905
|
-
status?: string | undefined;
|
5906
|
-
};
|
5907
5907
|
sender: {
|
5908
5908
|
id: string;
|
5909
5909
|
address: string | null;
|
@@ -6053,6 +6053,18 @@ export declare const messengerContract: {
|
|
6053
6053
|
};
|
6054
6054
|
};
|
6055
6055
|
platformId: string;
|
6056
|
+
upload: {
|
6057
|
+
id: string;
|
6058
|
+
createdAt: Date;
|
6059
|
+
updatedAt: Date;
|
6060
|
+
deletedAt: Date | null;
|
6061
|
+
fileName: string;
|
6062
|
+
fileKey: string;
|
6063
|
+
bucketName: string;
|
6064
|
+
fileSize: number;
|
6065
|
+
fileUrl: string | null;
|
6066
|
+
status?: string | undefined;
|
6067
|
+
};
|
6056
6068
|
assignee: {
|
6057
6069
|
id: string;
|
6058
6070
|
address: string | null;
|
@@ -6416,18 +6428,6 @@ export declare const messengerContract: {
|
|
6416
6428
|
locale: "" | "th" | "mm" | "en";
|
6417
6429
|
previewUrl: string;
|
6418
6430
|
imageSetId: string;
|
6419
|
-
upload: {
|
6420
|
-
id: string;
|
6421
|
-
createdAt: Date;
|
6422
|
-
updatedAt: Date;
|
6423
|
-
deletedAt: Date | null;
|
6424
|
-
fileName: string;
|
6425
|
-
fileKey: string;
|
6426
|
-
bucketName: string;
|
6427
|
-
fileSize: number;
|
6428
|
-
fileUrl: string | null;
|
6429
|
-
status?: string | undefined;
|
6430
|
-
};
|
6431
6431
|
repliedMessage: {
|
6432
6432
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
6433
6433
|
message: string;
|
@@ -6482,6 +6482,18 @@ export declare const messengerContract: {
|
|
6482
6482
|
};
|
6483
6483
|
};
|
6484
6484
|
platformId: string;
|
6485
|
+
upload: {
|
6486
|
+
id: string;
|
6487
|
+
createdAt: Date;
|
6488
|
+
updatedAt: Date;
|
6489
|
+
deletedAt: Date | null;
|
6490
|
+
fileName: string;
|
6491
|
+
fileKey: string;
|
6492
|
+
bucketName: string;
|
6493
|
+
fileSize: number;
|
6494
|
+
fileUrl: string | null;
|
6495
|
+
status?: string | undefined;
|
6496
|
+
};
|
6485
6497
|
assignee: {
|
6486
6498
|
id: string;
|
6487
6499
|
address: string | null;
|
@@ -6532,18 +6544,6 @@ export declare const messengerContract: {
|
|
6532
6544
|
locale: "" | "th" | "mm" | "en";
|
6533
6545
|
previewUrl: string;
|
6534
6546
|
imageSetId: string;
|
6535
|
-
upload: {
|
6536
|
-
id: string;
|
6537
|
-
createdAt: Date;
|
6538
|
-
updatedAt: Date;
|
6539
|
-
deletedAt: Date | null;
|
6540
|
-
fileName: string;
|
6541
|
-
fileKey: string;
|
6542
|
-
bucketName: string;
|
6543
|
-
fileSize: number;
|
6544
|
-
fileUrl: string | null;
|
6545
|
-
status?: string | undefined;
|
6546
|
-
};
|
6547
6547
|
sender: {
|
6548
6548
|
id: string;
|
6549
6549
|
address: string | null;
|
@@ -6694,6 +6694,18 @@ export declare const messengerContract: {
|
|
6694
6694
|
};
|
6695
6695
|
};
|
6696
6696
|
platformId: string;
|
6697
|
+
upload: {
|
6698
|
+
id: string;
|
6699
|
+
createdAt: Date;
|
6700
|
+
updatedAt: Date;
|
6701
|
+
deletedAt: Date | null;
|
6702
|
+
fileName: string;
|
6703
|
+
fileKey: string;
|
6704
|
+
bucketName: string;
|
6705
|
+
fileSize: number;
|
6706
|
+
fileUrl: string | null;
|
6707
|
+
status?: string | undefined;
|
6708
|
+
};
|
6697
6709
|
assignee: {
|
6698
6710
|
id: string;
|
6699
6711
|
address: string | null;
|
@@ -7057,18 +7069,6 @@ export declare const messengerContract: {
|
|
7057
7069
|
locale: "" | "th" | "mm" | "en";
|
7058
7070
|
previewUrl: string;
|
7059
7071
|
imageSetId: string;
|
7060
|
-
upload: {
|
7061
|
-
id: string;
|
7062
|
-
createdAt: Date;
|
7063
|
-
updatedAt: Date;
|
7064
|
-
deletedAt: Date | null;
|
7065
|
-
fileName: string;
|
7066
|
-
fileKey: string;
|
7067
|
-
bucketName: string;
|
7068
|
-
fileSize: number;
|
7069
|
-
fileUrl: string | null;
|
7070
|
-
status?: string | undefined;
|
7071
|
-
};
|
7072
7072
|
repliedMessage: {
|
7073
7073
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
7074
7074
|
message: string;
|
@@ -7123,6 +7123,18 @@ export declare const messengerContract: {
|
|
7123
7123
|
};
|
7124
7124
|
};
|
7125
7125
|
platformId: string;
|
7126
|
+
upload: {
|
7127
|
+
id: string;
|
7128
|
+
createdAt: Date;
|
7129
|
+
updatedAt: Date;
|
7130
|
+
deletedAt: Date | null;
|
7131
|
+
fileName: string;
|
7132
|
+
fileKey: string;
|
7133
|
+
bucketName: string;
|
7134
|
+
fileSize: number;
|
7135
|
+
fileUrl: string | null;
|
7136
|
+
status?: string | undefined;
|
7137
|
+
};
|
7126
7138
|
assignee: {
|
7127
7139
|
id: string;
|
7128
7140
|
address: string | null;
|
@@ -7173,18 +7185,6 @@ export declare const messengerContract: {
|
|
7173
7185
|
locale: "" | "th" | "mm" | "en";
|
7174
7186
|
previewUrl: string;
|
7175
7187
|
imageSetId: string;
|
7176
|
-
upload: {
|
7177
|
-
id: string;
|
7178
|
-
createdAt: Date;
|
7179
|
-
updatedAt: Date;
|
7180
|
-
deletedAt: Date | null;
|
7181
|
-
fileName: string;
|
7182
|
-
fileKey: string;
|
7183
|
-
bucketName: string;
|
7184
|
-
fileSize: number;
|
7185
|
-
fileUrl: string | null;
|
7186
|
-
status?: string | undefined;
|
7187
|
-
};
|
7188
7188
|
sender: {
|
7189
7189
|
id: string;
|
7190
7190
|
address: string | null;
|