@kl1/contracts 1.0.53 → 1.0.55
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 +104 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +103 -14
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +1033 -1033
- package/dist/src/chat/schema.d.ts +180 -180
- package/dist/src/chat/validation.d.ts +192 -192
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +3026 -1010
- package/dist/src/comment/index.d.ts.map +1 -1
- package/dist/src/comment/schema.d.ts +780 -188
- package/dist/src/comment/schema.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +296 -296
- package/dist/src/contact/schema.d.ts +20 -20
- package/dist/src/contact/validation.d.ts +150 -150
- package/dist/src/contract.d.ts +8513 -3217
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +240 -240
- package/dist/src/cx-log/schema.d.ts +180 -180
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +100 -100
- package/dist/src/messenger/index.d.ts +100 -100
- package/dist/src/telephony-cdr/index.d.ts +180 -180
- package/dist/src/telephony-cdr/schema.d.ts +40 -40
- package/dist/src/ticket/index.d.ts +3980 -892
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +512 -40
- package/dist/src/ticket/schema.d.ts.map +1 -1
- package/dist/src/upload/index.d.ts +197 -0
- package/dist/src/upload/index.d.ts.map +1 -0
- package/dist/src/upload/schema.d.ts +14 -0
- package/dist/src/upload/schema.d.ts.map +1 -1
- package/dist/src/upload/validation.d.ts +2 -0
- package/dist/src/upload/validation.d.ts.map +1 -0
- package/package.json +1 -1
@@ -1945,16 +1945,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1945
1945
|
};
|
1946
1946
|
}[];
|
1947
1947
|
}[];
|
1948
|
-
notes: string | null;
|
1949
|
-
contactProfile: string | null;
|
1950
|
-
socialProfileUrl: string | null;
|
1951
|
-
tags: {
|
1952
|
-
id: string;
|
1953
|
-
name: string;
|
1954
|
-
createdAt: Date;
|
1955
|
-
updatedAt: Date;
|
1956
|
-
deletedAt: Date | null;
|
1957
|
-
}[];
|
1958
1948
|
company: {
|
1959
1949
|
id: string;
|
1960
1950
|
createdAt: Date;
|
@@ -1965,6 +1955,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1965
1955
|
phone?: string | null | undefined;
|
1966
1956
|
industry?: string | null | undefined;
|
1967
1957
|
} | null;
|
1958
|
+
notes: string | null;
|
1959
|
+
contactProfile: string | null;
|
1960
|
+
socialProfileUrl: string | null;
|
1961
|
+
tags: {
|
1962
|
+
id: string;
|
1963
|
+
name: string;
|
1964
|
+
createdAt: Date;
|
1965
|
+
updatedAt: Date;
|
1966
|
+
deletedAt: Date | null;
|
1967
|
+
}[];
|
1968
1968
|
contactEmails: {
|
1969
1969
|
id: string;
|
1970
1970
|
isPrimary: boolean;
|
@@ -2048,16 +2048,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2048
2048
|
};
|
2049
2049
|
}[];
|
2050
2050
|
}[];
|
2051
|
-
notes: string | null;
|
2052
|
-
contactProfile: string | null;
|
2053
|
-
socialProfileUrl: string | null;
|
2054
|
-
tags: {
|
2055
|
-
id: string;
|
2056
|
-
name: string;
|
2057
|
-
createdAt: Date;
|
2058
|
-
updatedAt: Date;
|
2059
|
-
deletedAt: Date | null;
|
2060
|
-
}[];
|
2061
2051
|
company: {
|
2062
2052
|
id: string;
|
2063
2053
|
createdAt: Date;
|
@@ -2068,6 +2058,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2068
2058
|
phone?: string | null | undefined;
|
2069
2059
|
industry?: string | null | undefined;
|
2070
2060
|
} | null;
|
2061
|
+
notes: string | null;
|
2062
|
+
contactProfile: string | null;
|
2063
|
+
socialProfileUrl: string | null;
|
2064
|
+
tags: {
|
2065
|
+
id: string;
|
2066
|
+
name: string;
|
2067
|
+
createdAt: Date;
|
2068
|
+
updatedAt: Date;
|
2069
|
+
deletedAt: Date | null;
|
2070
|
+
}[];
|
2071
2071
|
contactEmails: {
|
2072
2072
|
id: string;
|
2073
2073
|
isPrimary: boolean;
|
@@ -2165,16 +2165,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2165
2165
|
};
|
2166
2166
|
}[];
|
2167
2167
|
}[];
|
2168
|
-
notes: string | null;
|
2169
|
-
contactProfile: string | null;
|
2170
|
-
socialProfileUrl: string | null;
|
2171
|
-
tags: {
|
2172
|
-
id: string;
|
2173
|
-
name: string;
|
2174
|
-
createdAt: Date;
|
2175
|
-
updatedAt: Date;
|
2176
|
-
deletedAt: Date | null;
|
2177
|
-
}[];
|
2178
2168
|
company: {
|
2179
2169
|
id: string;
|
2180
2170
|
createdAt: Date;
|
@@ -2185,6 +2175,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2185
2175
|
phone?: string | null | undefined;
|
2186
2176
|
industry?: string | null | undefined;
|
2187
2177
|
} | null;
|
2178
|
+
notes: string | null;
|
2179
|
+
contactProfile: string | null;
|
2180
|
+
socialProfileUrl: string | null;
|
2181
|
+
tags: {
|
2182
|
+
id: string;
|
2183
|
+
name: string;
|
2184
|
+
createdAt: Date;
|
2185
|
+
updatedAt: Date;
|
2186
|
+
deletedAt: Date | null;
|
2187
|
+
}[];
|
2188
2188
|
contactEmails: {
|
2189
2189
|
id: string;
|
2190
2190
|
isPrimary: boolean;
|
@@ -2283,16 +2283,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2283
2283
|
};
|
2284
2284
|
}[];
|
2285
2285
|
}[];
|
2286
|
-
notes: string | null;
|
2287
|
-
contactProfile: string | null;
|
2288
|
-
socialProfileUrl: string | null;
|
2289
|
-
tags: {
|
2290
|
-
id: string;
|
2291
|
-
name: string;
|
2292
|
-
createdAt: Date;
|
2293
|
-
updatedAt: Date;
|
2294
|
-
deletedAt: Date | null;
|
2295
|
-
}[];
|
2296
2286
|
company: {
|
2297
2287
|
id: string;
|
2298
2288
|
createdAt: Date;
|
@@ -2303,6 +2293,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2303
2293
|
phone?: string | null | undefined;
|
2304
2294
|
industry?: string | null | undefined;
|
2305
2295
|
} | null;
|
2296
|
+
notes: string | null;
|
2297
|
+
contactProfile: string | null;
|
2298
|
+
socialProfileUrl: string | null;
|
2299
|
+
tags: {
|
2300
|
+
id: string;
|
2301
|
+
name: string;
|
2302
|
+
createdAt: Date;
|
2303
|
+
updatedAt: Date;
|
2304
|
+
deletedAt: Date | null;
|
2305
|
+
}[];
|
2306
2306
|
contactEmails: {
|
2307
2307
|
id: string;
|
2308
2308
|
isPrimary: boolean;
|
@@ -3374,16 +3374,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3374
3374
|
};
|
3375
3375
|
}[];
|
3376
3376
|
}[];
|
3377
|
-
notes: string | null;
|
3378
|
-
contactProfile: string | null;
|
3379
|
-
socialProfileUrl: string | null;
|
3380
|
-
tags: {
|
3381
|
-
id: string;
|
3382
|
-
name: string;
|
3383
|
-
createdAt: Date;
|
3384
|
-
updatedAt: Date;
|
3385
|
-
deletedAt: Date | null;
|
3386
|
-
}[];
|
3387
3377
|
company: {
|
3388
3378
|
id: string;
|
3389
3379
|
createdAt: Date;
|
@@ -3394,6 +3384,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3394
3384
|
phone?: string | null | undefined;
|
3395
3385
|
industry?: string | null | undefined;
|
3396
3386
|
} | null;
|
3387
|
+
notes: string | null;
|
3388
|
+
contactProfile: string | null;
|
3389
|
+
socialProfileUrl: string | null;
|
3390
|
+
tags: {
|
3391
|
+
id: string;
|
3392
|
+
name: string;
|
3393
|
+
createdAt: Date;
|
3394
|
+
updatedAt: Date;
|
3395
|
+
deletedAt: Date | null;
|
3396
|
+
}[];
|
3397
3397
|
contactEmails: {
|
3398
3398
|
id: string;
|
3399
3399
|
isPrimary: boolean;
|
@@ -3693,16 +3693,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3693
3693
|
};
|
3694
3694
|
}[];
|
3695
3695
|
}[];
|
3696
|
-
notes: string | null;
|
3697
|
-
contactProfile: string | null;
|
3698
|
-
socialProfileUrl: string | null;
|
3699
|
-
tags: {
|
3700
|
-
id: string;
|
3701
|
-
name: string;
|
3702
|
-
createdAt: Date;
|
3703
|
-
updatedAt: Date;
|
3704
|
-
deletedAt: Date | null;
|
3705
|
-
}[];
|
3706
3696
|
company: {
|
3707
3697
|
id: string;
|
3708
3698
|
createdAt: Date;
|
@@ -3713,6 +3703,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3713
3703
|
phone?: string | null | undefined;
|
3714
3704
|
industry?: string | null | undefined;
|
3715
3705
|
} | null;
|
3706
|
+
notes: string | null;
|
3707
|
+
contactProfile: string | null;
|
3708
|
+
socialProfileUrl: string | null;
|
3709
|
+
tags: {
|
3710
|
+
id: string;
|
3711
|
+
name: string;
|
3712
|
+
createdAt: Date;
|
3713
|
+
updatedAt: Date;
|
3714
|
+
deletedAt: Date | null;
|
3715
|
+
}[];
|
3716
3716
|
contactEmails: {
|
3717
3717
|
id: string;
|
3718
3718
|
isPrimary: boolean;
|
@@ -4769,16 +4769,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4769
4769
|
};
|
4770
4770
|
}[];
|
4771
4771
|
}[];
|
4772
|
-
notes: string | null;
|
4773
|
-
contactProfile: string | null;
|
4774
|
-
socialProfileUrl: string | null;
|
4775
|
-
tags: {
|
4776
|
-
id: string;
|
4777
|
-
name: string;
|
4778
|
-
createdAt: Date;
|
4779
|
-
updatedAt: Date;
|
4780
|
-
deletedAt: Date | null;
|
4781
|
-
}[];
|
4782
4772
|
company: {
|
4783
4773
|
id: string;
|
4784
4774
|
createdAt: Date;
|
@@ -4789,6 +4779,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4789
4779
|
phone?: string | null | undefined;
|
4790
4780
|
industry?: string | null | undefined;
|
4791
4781
|
} | null;
|
4782
|
+
notes: string | null;
|
4783
|
+
contactProfile: string | null;
|
4784
|
+
socialProfileUrl: string | null;
|
4785
|
+
tags: {
|
4786
|
+
id: string;
|
4787
|
+
name: string;
|
4788
|
+
createdAt: Date;
|
4789
|
+
updatedAt: Date;
|
4790
|
+
deletedAt: Date | null;
|
4791
|
+
}[];
|
4792
4792
|
contactEmails: {
|
4793
4793
|
id: string;
|
4794
4794
|
isPrimary: boolean;
|
@@ -5251,16 +5251,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5251
5251
|
};
|
5252
5252
|
}[];
|
5253
5253
|
}[];
|
5254
|
-
notes: string | null;
|
5255
|
-
contactProfile: string | null;
|
5256
|
-
socialProfileUrl: string | null;
|
5257
|
-
tags: {
|
5258
|
-
id: string;
|
5259
|
-
name: string;
|
5260
|
-
createdAt: Date;
|
5261
|
-
updatedAt: Date;
|
5262
|
-
deletedAt: Date | null;
|
5263
|
-
}[];
|
5264
5254
|
company: {
|
5265
5255
|
id: string;
|
5266
5256
|
createdAt: Date;
|
@@ -5271,6 +5261,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5271
5261
|
phone?: string | null | undefined;
|
5272
5262
|
industry?: string | null | undefined;
|
5273
5263
|
} | null;
|
5264
|
+
notes: string | null;
|
5265
|
+
contactProfile: string | null;
|
5266
|
+
socialProfileUrl: string | null;
|
5267
|
+
tags: {
|
5268
|
+
id: string;
|
5269
|
+
name: string;
|
5270
|
+
createdAt: Date;
|
5271
|
+
updatedAt: Date;
|
5272
|
+
deletedAt: Date | null;
|
5273
|
+
}[];
|
5274
5274
|
contactEmails: {
|
5275
5275
|
id: string;
|
5276
5276
|
isPrimary: boolean;
|
@@ -5735,16 +5735,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5735
5735
|
};
|
5736
5736
|
}[];
|
5737
5737
|
}[];
|
5738
|
-
notes: string | null;
|
5739
|
-
contactProfile: string | null;
|
5740
|
-
socialProfileUrl: string | null;
|
5741
|
-
tags: {
|
5742
|
-
id: string;
|
5743
|
-
name: string;
|
5744
|
-
createdAt: Date;
|
5745
|
-
updatedAt: Date;
|
5746
|
-
deletedAt: Date | null;
|
5747
|
-
}[];
|
5748
5738
|
company: {
|
5749
5739
|
id: string;
|
5750
5740
|
createdAt: Date;
|
@@ -5755,6 +5745,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5755
5745
|
phone?: string | null | undefined;
|
5756
5746
|
industry?: string | null | undefined;
|
5757
5747
|
} | null;
|
5748
|
+
notes: string | null;
|
5749
|
+
contactProfile: string | null;
|
5750
|
+
socialProfileUrl: string | null;
|
5751
|
+
tags: {
|
5752
|
+
id: string;
|
5753
|
+
name: string;
|
5754
|
+
createdAt: Date;
|
5755
|
+
updatedAt: Date;
|
5756
|
+
deletedAt: Date | null;
|
5757
|
+
}[];
|
5758
5758
|
contactEmails: {
|
5759
5759
|
id: string;
|
5760
5760
|
isPrimary: boolean;
|
@@ -6220,16 +6220,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6220
6220
|
};
|
6221
6221
|
}[];
|
6222
6222
|
}[];
|
6223
|
-
notes: string | null;
|
6224
|
-
contactProfile: string | null;
|
6225
|
-
socialProfileUrl: string | null;
|
6226
|
-
tags: {
|
6227
|
-
id: string;
|
6228
|
-
name: string;
|
6229
|
-
createdAt: Date;
|
6230
|
-
updatedAt: Date;
|
6231
|
-
deletedAt: Date | null;
|
6232
|
-
}[];
|
6233
6223
|
company: {
|
6234
6224
|
id: string;
|
6235
6225
|
createdAt: Date;
|
@@ -6240,6 +6230,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6240
6230
|
phone?: string | null | undefined;
|
6241
6231
|
industry?: string | null | undefined;
|
6242
6232
|
} | null;
|
6233
|
+
notes: string | null;
|
6234
|
+
contactProfile: string | null;
|
6235
|
+
socialProfileUrl: string | null;
|
6236
|
+
tags: {
|
6237
|
+
id: string;
|
6238
|
+
name: string;
|
6239
|
+
createdAt: Date;
|
6240
|
+
updatedAt: Date;
|
6241
|
+
deletedAt: Date | null;
|
6242
|
+
}[];
|
6243
6243
|
contactEmails: {
|
6244
6244
|
id: string;
|
6245
6245
|
isPrimary: boolean;
|
@@ -6613,7 +6613,7 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6613
6613
|
}>;
|
6614
6614
|
export declare const ReceiveMessageSchema: z.ZodObject<{
|
6615
6615
|
message: z.ZodObject<{
|
6616
|
-
message: z.ZodString
|
6616
|
+
message: z.ZodOptional<z.ZodString>;
|
6617
6617
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6618
6618
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
|
6619
6619
|
metadata: z.ZodAny;
|
@@ -7207,9 +7207,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7207
7207
|
channel: string | null;
|
7208
7208
|
address: string | null;
|
7209
7209
|
name: string;
|
7210
|
-
notes: string | null;
|
7211
|
-
contactProfile: string | null;
|
7212
|
-
socialProfileUrl: string | null;
|
7213
7210
|
company: {
|
7214
7211
|
id: string;
|
7215
7212
|
createdAt: Date;
|
@@ -7220,6 +7217,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7220
7217
|
phone?: string | null | undefined;
|
7221
7218
|
industry?: string | null | undefined;
|
7222
7219
|
} | null;
|
7220
|
+
notes: string | null;
|
7221
|
+
contactProfile: string | null;
|
7222
|
+
socialProfileUrl: string | null;
|
7223
7223
|
tags?: {
|
7224
7224
|
id: string;
|
7225
7225
|
name: string;
|
@@ -7307,9 +7307,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7307
7307
|
channel: string | null;
|
7308
7308
|
address: string | null;
|
7309
7309
|
name: string;
|
7310
|
-
notes: string | null;
|
7311
|
-
contactProfile: string | null;
|
7312
|
-
socialProfileUrl: string | null;
|
7313
7310
|
company: {
|
7314
7311
|
id: string;
|
7315
7312
|
createdAt: Date;
|
@@ -7320,6 +7317,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7320
7317
|
phone?: string | null | undefined;
|
7321
7318
|
industry?: string | null | undefined;
|
7322
7319
|
} | null;
|
7320
|
+
notes: string | null;
|
7321
|
+
contactProfile: string | null;
|
7322
|
+
socialProfileUrl: string | null;
|
7323
7323
|
tags?: {
|
7324
7324
|
id: string;
|
7325
7325
|
name: string;
|
@@ -7417,9 +7417,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7417
7417
|
channel: string | null;
|
7418
7418
|
address: string | null;
|
7419
7419
|
name: string;
|
7420
|
-
notes: string | null;
|
7421
|
-
contactProfile: string | null;
|
7422
|
-
socialProfileUrl: string | null;
|
7423
7420
|
company: {
|
7424
7421
|
id: string;
|
7425
7422
|
createdAt: Date;
|
@@ -7430,6 +7427,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7430
7427
|
phone?: string | null | undefined;
|
7431
7428
|
industry?: string | null | undefined;
|
7432
7429
|
} | null;
|
7430
|
+
notes: string | null;
|
7431
|
+
contactProfile: string | null;
|
7432
|
+
socialProfileUrl: string | null;
|
7433
7433
|
tags?: {
|
7434
7434
|
id: string;
|
7435
7435
|
name: string;
|
@@ -7528,9 +7528,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7528
7528
|
channel: string | null;
|
7529
7529
|
address: string | null;
|
7530
7530
|
name: string;
|
7531
|
-
notes: string | null;
|
7532
|
-
contactProfile: string | null;
|
7533
|
-
socialProfileUrl: string | null;
|
7534
7531
|
company: {
|
7535
7532
|
id: string;
|
7536
7533
|
createdAt: Date;
|
@@ -7541,6 +7538,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7541
7538
|
phone?: string | null | undefined;
|
7542
7539
|
industry?: string | null | undefined;
|
7543
7540
|
} | null;
|
7541
|
+
notes: string | null;
|
7542
|
+
contactProfile: string | null;
|
7543
|
+
socialProfileUrl: string | null;
|
7544
7544
|
tags?: {
|
7545
7545
|
id: string;
|
7546
7546
|
name: string;
|
@@ -8290,9 +8290,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8290
8290
|
channel: string | null;
|
8291
8291
|
address: string | null;
|
8292
8292
|
name: string;
|
8293
|
-
notes: string | null;
|
8294
|
-
contactProfile: string | null;
|
8295
|
-
socialProfileUrl: string | null;
|
8296
8293
|
company: {
|
8297
8294
|
id: string;
|
8298
8295
|
createdAt: Date;
|
@@ -8303,6 +8300,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8303
8300
|
phone?: string | null | undefined;
|
8304
8301
|
industry?: string | null | undefined;
|
8305
8302
|
} | null;
|
8303
|
+
notes: string | null;
|
8304
|
+
contactProfile: string | null;
|
8305
|
+
socialProfileUrl: string | null;
|
8306
8306
|
tags?: {
|
8307
8307
|
id: string;
|
8308
8308
|
name: string;
|
@@ -8556,9 +8556,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8556
8556
|
channel: string | null;
|
8557
8557
|
address: string | null;
|
8558
8558
|
name: string;
|
8559
|
-
notes: string | null;
|
8560
|
-
contactProfile: string | null;
|
8561
|
-
socialProfileUrl: string | null;
|
8562
8559
|
company: {
|
8563
8560
|
id: string;
|
8564
8561
|
createdAt: Date;
|
@@ -8569,6 +8566,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8569
8566
|
phone?: string | null | undefined;
|
8570
8567
|
industry?: string | null | undefined;
|
8571
8568
|
} | null;
|
8569
|
+
notes: string | null;
|
8570
|
+
contactProfile: string | null;
|
8571
|
+
socialProfileUrl: string | null;
|
8572
8572
|
tags?: {
|
8573
8573
|
id: string;
|
8574
8574
|
name: string;
|
@@ -8801,37 +8801,37 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8801
8801
|
} | undefined;
|
8802
8802
|
}>;
|
8803
8803
|
upload: z.ZodOptional<z.ZodObject<{
|
8804
|
-
|
8805
|
-
|
8806
|
-
|
8807
|
-
|
8808
|
-
|
8809
|
-
fileName: z.ZodString;
|
8810
|
-
fileSize: z.ZodNumber;
|
8811
|
-
fileKey: z.ZodString;
|
8812
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
8804
|
+
bucketName: z.ZodNullable<z.ZodString>;
|
8805
|
+
fileName: z.ZodNullable<z.ZodString>;
|
8806
|
+
fileSize: z.ZodNullable<z.ZodNumber>;
|
8807
|
+
fileKey: z.ZodNullable<z.ZodString>;
|
8808
|
+
fileUrl: z.ZodOptional<z.ZodString>;
|
8813
8809
|
status: z.ZodOptional<z.ZodString>;
|
8810
|
+
id: z.ZodString;
|
8811
|
+
createdAt: z.ZodString;
|
8812
|
+
updatedAt: z.ZodString;
|
8813
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
8814
8814
|
}, "strip", z.ZodTypeAny, {
|
8815
8815
|
id: string;
|
8816
|
-
createdAt:
|
8817
|
-
updatedAt:
|
8818
|
-
deletedAt:
|
8819
|
-
fileName: string;
|
8820
|
-
fileKey: string;
|
8821
|
-
bucketName: string;
|
8822
|
-
fileSize: number;
|
8823
|
-
fileUrl
|
8816
|
+
createdAt: string;
|
8817
|
+
updatedAt: string;
|
8818
|
+
deletedAt: string | null;
|
8819
|
+
fileName: string | null;
|
8820
|
+
fileKey: string | null;
|
8821
|
+
bucketName: string | null;
|
8822
|
+
fileSize: number | null;
|
8823
|
+
fileUrl?: string | undefined;
|
8824
8824
|
status?: string | undefined;
|
8825
8825
|
}, {
|
8826
8826
|
id: string;
|
8827
|
-
createdAt:
|
8828
|
-
updatedAt:
|
8829
|
-
deletedAt:
|
8830
|
-
fileName: string;
|
8831
|
-
fileKey: string;
|
8832
|
-
bucketName: string;
|
8833
|
-
fileSize: number;
|
8834
|
-
fileUrl
|
8827
|
+
createdAt: string;
|
8828
|
+
updatedAt: string;
|
8829
|
+
deletedAt: string | null;
|
8830
|
+
fileName: string | null;
|
8831
|
+
fileKey: string | null;
|
8832
|
+
bucketName: string | null;
|
8833
|
+
fileSize: number | null;
|
8834
|
+
fileUrl?: string | undefined;
|
8835
8835
|
status?: string | undefined;
|
8836
8836
|
}>>;
|
8837
8837
|
actor: z.ZodOptional<z.ZodObject<{
|
@@ -9448,7 +9448,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9448
9448
|
}>>;
|
9449
9449
|
}, "strip", z.ZodTypeAny, {
|
9450
9450
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
9451
|
-
message: string;
|
9452
9451
|
direction: "incoming" | "outgoing" | "system";
|
9453
9452
|
platformId: string;
|
9454
9453
|
room: {
|
@@ -9474,9 +9473,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9474
9473
|
channel: string | null;
|
9475
9474
|
address: string | null;
|
9476
9475
|
name: string;
|
9477
|
-
notes: string | null;
|
9478
|
-
contactProfile: string | null;
|
9479
|
-
socialProfileUrl: string | null;
|
9480
9476
|
company: {
|
9481
9477
|
id: string;
|
9482
9478
|
createdAt: Date;
|
@@ -9487,6 +9483,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9487
9483
|
phone?: string | null | undefined;
|
9488
9484
|
industry?: string | null | undefined;
|
9489
9485
|
} | null;
|
9486
|
+
notes: string | null;
|
9487
|
+
contactProfile: string | null;
|
9488
|
+
socialProfileUrl: string | null;
|
9490
9489
|
tags?: {
|
9491
9490
|
id: string;
|
9492
9491
|
name: string;
|
@@ -9720,6 +9719,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9720
9719
|
};
|
9721
9720
|
platformMessageId: string;
|
9722
9721
|
locale: "" | "th" | "mm" | "en" | null;
|
9722
|
+
message?: string | undefined;
|
9723
9723
|
metadata?: any;
|
9724
9724
|
replyPlatformMessageId?: string | undefined;
|
9725
9725
|
template?: any;
|
@@ -9728,14 +9728,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9728
9728
|
imageSetId?: string | undefined;
|
9729
9729
|
upload?: {
|
9730
9730
|
id: string;
|
9731
|
-
createdAt:
|
9732
|
-
updatedAt:
|
9733
|
-
deletedAt:
|
9734
|
-
fileName: string;
|
9735
|
-
fileKey: string;
|
9736
|
-
bucketName: string;
|
9737
|
-
fileSize: number;
|
9738
|
-
fileUrl
|
9731
|
+
createdAt: string;
|
9732
|
+
updatedAt: string;
|
9733
|
+
deletedAt: string | null;
|
9734
|
+
fileName: string | null;
|
9735
|
+
fileKey: string | null;
|
9736
|
+
bucketName: string | null;
|
9737
|
+
fileSize: number | null;
|
9738
|
+
fileUrl?: string | undefined;
|
9739
9739
|
status?: string | undefined;
|
9740
9740
|
} | undefined;
|
9741
9741
|
actor?: {
|
@@ -9872,7 +9872,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9872
9872
|
} | undefined;
|
9873
9873
|
}, {
|
9874
9874
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
9875
|
-
message: string;
|
9876
9875
|
direction: "incoming" | "outgoing" | "system";
|
9877
9876
|
platformId: string;
|
9878
9877
|
room: {
|
@@ -9898,9 +9897,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9898
9897
|
channel: string | null;
|
9899
9898
|
address: string | null;
|
9900
9899
|
name: string;
|
9901
|
-
notes: string | null;
|
9902
|
-
contactProfile: string | null;
|
9903
|
-
socialProfileUrl: string | null;
|
9904
9900
|
company: {
|
9905
9901
|
id: string;
|
9906
9902
|
createdAt: Date;
|
@@ -9911,6 +9907,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9911
9907
|
phone?: string | null | undefined;
|
9912
9908
|
industry?: string | null | undefined;
|
9913
9909
|
} | null;
|
9910
|
+
notes: string | null;
|
9911
|
+
contactProfile: string | null;
|
9912
|
+
socialProfileUrl: string | null;
|
9914
9913
|
tags?: {
|
9915
9914
|
id: string;
|
9916
9915
|
name: string;
|
@@ -10144,6 +10143,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10144
10143
|
};
|
10145
10144
|
platformMessageId: string;
|
10146
10145
|
locale: "" | "th" | "mm" | "en" | null;
|
10146
|
+
message?: string | undefined;
|
10147
10147
|
metadata?: any;
|
10148
10148
|
replyPlatformMessageId?: string | undefined;
|
10149
10149
|
template?: any;
|
@@ -10152,14 +10152,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10152
10152
|
imageSetId?: string | undefined;
|
10153
10153
|
upload?: {
|
10154
10154
|
id: string;
|
10155
|
-
createdAt:
|
10156
|
-
updatedAt:
|
10157
|
-
deletedAt:
|
10158
|
-
fileName: string;
|
10159
|
-
fileKey: string;
|
10160
|
-
bucketName: string;
|
10161
|
-
fileSize: number;
|
10162
|
-
fileUrl
|
10155
|
+
createdAt: string;
|
10156
|
+
updatedAt: string;
|
10157
|
+
deletedAt: string | null;
|
10158
|
+
fileName: string | null;
|
10159
|
+
fileKey: string | null;
|
10160
|
+
bucketName: string | null;
|
10161
|
+
fileSize: number | null;
|
10162
|
+
fileUrl?: string | undefined;
|
10163
10163
|
status?: string | undefined;
|
10164
10164
|
} | undefined;
|
10165
10165
|
actor?: {
|
@@ -10298,7 +10298,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10298
10298
|
}, "strip", z.ZodTypeAny, {
|
10299
10299
|
message: {
|
10300
10300
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
10301
|
-
message: string;
|
10302
10301
|
direction: "incoming" | "outgoing" | "system";
|
10303
10302
|
platformId: string;
|
10304
10303
|
room: {
|
@@ -10324,9 +10323,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10324
10323
|
channel: string | null;
|
10325
10324
|
address: string | null;
|
10326
10325
|
name: string;
|
10327
|
-
notes: string | null;
|
10328
|
-
contactProfile: string | null;
|
10329
|
-
socialProfileUrl: string | null;
|
10330
10326
|
company: {
|
10331
10327
|
id: string;
|
10332
10328
|
createdAt: Date;
|
@@ -10337,6 +10333,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10337
10333
|
phone?: string | null | undefined;
|
10338
10334
|
industry?: string | null | undefined;
|
10339
10335
|
} | null;
|
10336
|
+
notes: string | null;
|
10337
|
+
contactProfile: string | null;
|
10338
|
+
socialProfileUrl: string | null;
|
10340
10339
|
tags?: {
|
10341
10340
|
id: string;
|
10342
10341
|
name: string;
|
@@ -10570,6 +10569,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10570
10569
|
};
|
10571
10570
|
platformMessageId: string;
|
10572
10571
|
locale: "" | "th" | "mm" | "en" | null;
|
10572
|
+
message?: string | undefined;
|
10573
10573
|
metadata?: any;
|
10574
10574
|
replyPlatformMessageId?: string | undefined;
|
10575
10575
|
template?: any;
|
@@ -10578,14 +10578,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10578
10578
|
imageSetId?: string | undefined;
|
10579
10579
|
upload?: {
|
10580
10580
|
id: string;
|
10581
|
-
createdAt:
|
10582
|
-
updatedAt:
|
10583
|
-
deletedAt:
|
10584
|
-
fileName: string;
|
10585
|
-
fileKey: string;
|
10586
|
-
bucketName: string;
|
10587
|
-
fileSize: number;
|
10588
|
-
fileUrl
|
10581
|
+
createdAt: string;
|
10582
|
+
updatedAt: string;
|
10583
|
+
deletedAt: string | null;
|
10584
|
+
fileName: string | null;
|
10585
|
+
fileKey: string | null;
|
10586
|
+
bucketName: string | null;
|
10587
|
+
fileSize: number | null;
|
10588
|
+
fileUrl?: string | undefined;
|
10589
10589
|
status?: string | undefined;
|
10590
10590
|
} | undefined;
|
10591
10591
|
actor?: {
|
@@ -10724,7 +10724,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10724
10724
|
}, {
|
10725
10725
|
message: {
|
10726
10726
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
10727
|
-
message: string;
|
10728
10727
|
direction: "incoming" | "outgoing" | "system";
|
10729
10728
|
platformId: string;
|
10730
10729
|
room: {
|
@@ -10750,9 +10749,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10750
10749
|
channel: string | null;
|
10751
10750
|
address: string | null;
|
10752
10751
|
name: string;
|
10753
|
-
notes: string | null;
|
10754
|
-
contactProfile: string | null;
|
10755
|
-
socialProfileUrl: string | null;
|
10756
10752
|
company: {
|
10757
10753
|
id: string;
|
10758
10754
|
createdAt: Date;
|
@@ -10763,6 +10759,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10763
10759
|
phone?: string | null | undefined;
|
10764
10760
|
industry?: string | null | undefined;
|
10765
10761
|
} | null;
|
10762
|
+
notes: string | null;
|
10763
|
+
contactProfile: string | null;
|
10764
|
+
socialProfileUrl: string | null;
|
10766
10765
|
tags?: {
|
10767
10766
|
id: string;
|
10768
10767
|
name: string;
|
@@ -10996,6 +10995,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10996
10995
|
};
|
10997
10996
|
platformMessageId: string;
|
10998
10997
|
locale: "" | "th" | "mm" | "en" | null;
|
10998
|
+
message?: string | undefined;
|
10999
10999
|
metadata?: any;
|
11000
11000
|
replyPlatformMessageId?: string | undefined;
|
11001
11001
|
template?: any;
|
@@ -11004,14 +11004,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11004
11004
|
imageSetId?: string | undefined;
|
11005
11005
|
upload?: {
|
11006
11006
|
id: string;
|
11007
|
-
createdAt:
|
11008
|
-
updatedAt:
|
11009
|
-
deletedAt:
|
11010
|
-
fileName: string;
|
11011
|
-
fileKey: string;
|
11012
|
-
bucketName: string;
|
11013
|
-
fileSize: number;
|
11014
|
-
fileUrl
|
11007
|
+
createdAt: string;
|
11008
|
+
updatedAt: string;
|
11009
|
+
deletedAt: string | null;
|
11010
|
+
fileName: string | null;
|
11011
|
+
fileKey: string | null;
|
11012
|
+
bucketName: string | null;
|
11013
|
+
fileSize: number | null;
|
11014
|
+
fileUrl?: string | undefined;
|
11015
11015
|
status?: string | undefined;
|
11016
11016
|
} | undefined;
|
11017
11017
|
actor?: {
|